diff --git a/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json b/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json index 873de76ffce3..58866fcb33ac 100644 --- a/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json +++ b/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json @@ -1,428 +1,428 @@ { "clientLibrary": { - "name": "cloud.google.com/go/accessapproval/apiv1", - "version": "1.8.8", - "language": "GO", "apis": [ { "id": "google.cloud.accessapproval.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/accessapproval/apiv1", + "version": "1.8.8" }, "snippets": [ { - "regionTag": "accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_sync", - "title": "accessapproval ApproveApprovalRequest Sample", - "description": "ApproveApprovalRequest approves a request and returns the updated ApprovalRequest.\n\nReturns NOT_FOUND if the request does not exist. Returns\nFAILED_PRECONDITION if the request exists but is not in a pending state.", - "file": "Client/ApproveApprovalRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveApprovalRequest", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.ApproveApprovalRequest", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.ApproveApprovalRequest", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "ApproveApprovalRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.ApproveApprovalRequestMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.ApproveApprovalRequestMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.ApprovalRequest", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "ApproveApprovalRequest", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.ApproveApprovalRequest", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "ApproveApprovalRequest" }, + "description": "ApproveApprovalRequest approves a request and returns the updated ApprovalRequest.\n\nReturns NOT_FOUND if the request does not exist. Returns\nFAILED_PRECONDITION if the request exists but is not in a pending state.", + "file": "Client/ApproveApprovalRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval ApproveApprovalRequest Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_sync", - "title": "accessapproval DeleteAccessApprovalSettings Sample", - "description": "DeleteAccessApprovalSettings deletes the settings associated with a project, folder, or organization.\nThis will have the effect of disabling Access Approval for the project,\nfolder, or organization, but only if all ancestors also have Access\nApproval disabled. If Access Approval is enabled at a higher level of the\nhierarchy, then Access Approval will still be enabled at this level as\nthe settings are inherited.", - "file": "Client/DeleteAccessApprovalSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccessApprovalSettings", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.DeleteAccessApprovalSettings", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.DeleteAccessApprovalSettings", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "DeleteAccessApprovalSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.DeleteAccessApprovalSettingsMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.DeleteAccessApprovalSettingsMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "DeleteAccessApprovalSettings", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.DeleteAccessApprovalSettings", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "DeleteAccessApprovalSettings" }, + "description": "DeleteAccessApprovalSettings deletes the settings associated with a project, folder, or organization.\nThis will have the effect of disabling Access Approval for the project,\nfolder, or organization, but only if all ancestors also have Access\nApproval disabled. If Access Approval is enabled at a higher level of the\nhierarchy, then Access Approval will still be enabled at this level as\nthe settings are inherited.", + "file": "Client/DeleteAccessApprovalSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval DeleteAccessApprovalSettings Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_sync", - "title": "accessapproval DismissApprovalRequest Sample", - "description": "DismissApprovalRequest dismisses a request. Returns the updated ApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It is equivalent in effect to ignoring the request\naltogether.\n\nReturns NOT_FOUND if the request does not exist.\n\nReturns FAILED_PRECONDITION if the request exists but is not in a pending\nstate.", - "file": "Client/DismissApprovalRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "DismissApprovalRequest", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.DismissApprovalRequest", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.DismissApprovalRequest", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "DismissApprovalRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.DismissApprovalRequestMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.DismissApprovalRequestMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.ApprovalRequest", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "DismissApprovalRequest", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.DismissApprovalRequest", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "DismissApprovalRequest" }, + "description": "DismissApprovalRequest dismisses a request. Returns the updated ApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It is equivalent in effect to ignoring the request\naltogether.\n\nReturns NOT_FOUND if the request does not exist.\n\nReturns FAILED_PRECONDITION if the request exists but is not in a pending\nstate.", + "file": "Client/DismissApprovalRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval DismissApprovalRequest Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_GetAccessApprovalServiceAccount_sync", - "title": "accessapproval GetAccessApprovalServiceAccount Sample", - "description": "GetAccessApprovalServiceAccount retrieves the service account that is used by Access Approval to access KMS\nkeys for signing approved approval requests.", - "file": "Client/GetAccessApprovalServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccessApprovalServiceAccount", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.GetAccessApprovalServiceAccount", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetAccessApprovalServiceAccount", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "GetAccessApprovalServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.GetAccessApprovalServiceAccountMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.GetAccessApprovalServiceAccountMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.AccessApprovalServiceAccount", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "GetAccessApprovalServiceAccount", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetAccessApprovalServiceAccount", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "GetAccessApprovalServiceAccount" }, + "description": "GetAccessApprovalServiceAccount retrieves the service account that is used by Access Approval to access KMS\nkeys for signing approved approval requests.", + "file": "Client/GetAccessApprovalServiceAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_GetAccessApprovalServiceAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval GetAccessApprovalServiceAccount Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_sync", - "title": "accessapproval GetAccessApprovalSettings Sample", - "description": "GetAccessApprovalSettings gets the settings associated with a project, folder, or organization.", - "file": "Client/GetAccessApprovalSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccessApprovalSettings", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.GetAccessApprovalSettings", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetAccessApprovalSettings", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "GetAccessApprovalSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.GetAccessApprovalSettingsMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.GetAccessApprovalSettingsMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.AccessApprovalSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "GetAccessApprovalSettings", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetAccessApprovalSettings", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "GetAccessApprovalSettings" }, + "description": "GetAccessApprovalSettings gets the settings associated with a project, folder, or organization.", + "file": "Client/GetAccessApprovalSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval GetAccessApprovalSettings Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_GetApprovalRequest_sync", - "title": "accessapproval GetApprovalRequest Sample", - "description": "GetApprovalRequest gets an approval request. Returns NOT_FOUND if the request does not exist.", - "file": "Client/GetApprovalRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApprovalRequest", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.GetApprovalRequest", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetApprovalRequest", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "GetApprovalRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.GetApprovalRequestMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.GetApprovalRequestMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.ApprovalRequest", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "GetApprovalRequest", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetApprovalRequest", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "GetApprovalRequest" }, + "description": "GetApprovalRequest gets an approval request. Returns NOT_FOUND if the request does not exist.", + "file": "Client/GetApprovalRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_GetApprovalRequest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval GetApprovalRequest Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_InvalidateApprovalRequest_sync", - "title": "accessapproval InvalidateApprovalRequest Sample", - "description": "InvalidateApprovalRequest invalidates an existing ApprovalRequest. Returns the updated\nApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It only invalidates a single approval.\n\nReturns FAILED_PRECONDITION if the request exists but is not in an approved\nstate.", - "file": "Client/InvalidateApprovalRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "InvalidateApprovalRequest", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.InvalidateApprovalRequest", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.InvalidateApprovalRequest", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "InvalidateApprovalRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.InvalidateApprovalRequestMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.InvalidateApprovalRequestMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.ApprovalRequest", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "InvalidateApprovalRequest", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.InvalidateApprovalRequest", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "InvalidateApprovalRequest" }, + "description": "InvalidateApprovalRequest invalidates an existing ApprovalRequest. Returns the updated\nApprovalRequest.\n\nNOTE: This does not deny access to the resource if another request has been\nmade and approved. It only invalidates a single approval.\n\nReturns FAILED_PRECONDITION if the request exists but is not in an approved\nstate.", + "file": "Client/InvalidateApprovalRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_InvalidateApprovalRequest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval InvalidateApprovalRequest Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_ListApprovalRequests_sync", - "title": "accessapproval ListApprovalRequests Sample", - "description": "ListApprovalRequests lists approval requests associated with a project, folder, or organization.\nApproval requests can be filtered by state (pending, active, dismissed).\nThe order is reverse chronological.", - "file": "Client/ListApprovalRequests/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApprovalRequests", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.ListApprovalRequests", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.ListApprovalRequests", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "ListApprovalRequests" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.ListApprovalRequestsMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.ListApprovalRequestsMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApprovalRequestIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "ListApprovalRequests", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.ListApprovalRequests", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "ListApprovalRequests" }, + "description": "ListApprovalRequests lists approval requests associated with a project, folder, or organization.\nApproval requests can be filtered by state (pending, active, dismissed).\nThe order is reverse chronological.", + "file": "Client/ListApprovalRequests/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_ListApprovalRequests_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval ListApprovalRequests Sample" }, { - "regionTag": "accessapproval_v1_generated_AccessApproval_UpdateAccessApprovalSettings_sync", - "title": "accessapproval UpdateAccessApprovalSettings Sample", - "description": "UpdateAccessApprovalSettings updates the settings associated with a project, folder, or organization.\nSettings to update are determined by the value of field_mask.", - "file": "Client/UpdateAccessApprovalSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccessApprovalSettings", + "client": { + "fullName": "google.cloud.accessapproval.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.accessapproval.v1.Client.UpdateAccessApprovalSettings", + "method": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval.UpdateAccessApprovalSettings", + "service": { + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "shortName": "AccessApproval" + }, + "shortName": "UpdateAccessApprovalSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accessapprovalpb.UpdateAccessApprovalSettingsMessage", - "name": "req" + "name": "req", + "type": "accessapprovalpb.UpdateAccessApprovalSettingsMessage" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accessapprovalpb.AccessApprovalSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.accessapproval.v1.Client" - }, - "method": { - "shortName": "UpdateAccessApprovalSettings", - "fullName": "google.cloud.accessapproval.v1.AccessApproval.UpdateAccessApprovalSettings", - "service": { - "shortName": "AccessApproval", - "fullName": "google.cloud.accessapproval.v1.AccessApproval" - } - } + "shortName": "UpdateAccessApprovalSettings" }, + "description": "UpdateAccessApprovalSettings updates the settings associated with a project, folder, or organization.\nSettings to update are determined by the value of field_mask.", + "file": "Client/UpdateAccessApprovalSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accessapproval_v1_generated_AccessApproval_UpdateAccessApprovalSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accessapproval UpdateAccessApprovalSettings Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json b/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json index 79de45e16b9e..441426f059c0 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json +++ b/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json @@ -1,1257 +1,1257 @@ { "clientLibrary": { - "name": "cloud.google.com/go/accesscontextmanager/apiv1", - "version": "1.9.7", - "language": "GO", "apis": [ { "id": "google.identity.accesscontextmanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/accesscontextmanager/apiv1", + "version": "1.9.7" }, "snippets": [ { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CommitServicePerimeters_sync", - "title": "accesscontextmanager CommitServicePerimeters Sample", - "description": "CommitServicePerimeters commits the dry-run specification for all the [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] in an\n[access policy][google.identity.accesscontextmanager.v1.AccessPolicy].\nA commit operation on a service perimeter involves copying its `spec` field\nto the `status` field of the service perimeter. Only [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] with\n`use_explicit_dry_run_spec` field set to true are affected by a commit\noperation. The long-running operation from this RPC has a successful\nstatus after the dry-run specifications for all the [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] have been\ncommitted. If a commit fails, it causes the long-running operation to\nreturn an error response and the entire commit operation is cancelled.\nWhen successful, the Operation.response field contains\nCommitServicePerimetersResponse. The `dry_run` and the `spec` fields are\ncleared after a successful commit operation.", - "file": "Client/CommitServicePerimeters/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitServicePerimeters", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.CommitServicePerimeters", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CommitServicePerimeters", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "CommitServicePerimeters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.CommitServicePerimetersRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.CommitServicePerimetersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitServicePerimetersOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "CommitServicePerimeters", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CommitServicePerimeters", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "CommitServicePerimeters" }, + "description": "CommitServicePerimeters commits the dry-run specification for all the [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] in an\n[access policy][google.identity.accesscontextmanager.v1.AccessPolicy].\nA commit operation on a service perimeter involves copying its `spec` field\nto the `status` field of the service perimeter. Only [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] with\n`use_explicit_dry_run_spec` field set to true are affected by a commit\noperation. The long-running operation from this RPC has a successful\nstatus after the dry-run specifications for all the [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] have been\ncommitted. If a commit fails, it causes the long-running operation to\nreturn an error response and the entire commit operation is cancelled.\nWhen successful, the Operation.response field contains\nCommitServicePerimetersResponse. The `dry_run` and the `spec` fields are\ncleared after a successful commit operation.", + "file": "Client/CommitServicePerimeters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CommitServicePerimeters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager CommitServicePerimeters Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateAccessLevel_sync", - "title": "accesscontextmanager CreateAccessLevel Sample", - "description": "CreateAccessLevel creates an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel]. The long-running\noperation from this RPC has a successful status after the [access\nlevel] [google.identity.accesscontextmanager.v1.AccessLevel]\npropagates to long-lasting storage. If [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] contain\nerrors, an error response is returned for the first error encountered.", - "file": "Client/CreateAccessLevel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAccessLevel", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.CreateAccessLevel", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateAccessLevel", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "CreateAccessLevel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.CreateAccessLevelRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.CreateAccessLevelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAccessLevelOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "CreateAccessLevel", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateAccessLevel", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "CreateAccessLevel" }, + "description": "CreateAccessLevel creates an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel]. The long-running\noperation from this RPC has a successful status after the [access\nlevel] [google.identity.accesscontextmanager.v1.AccessLevel]\npropagates to long-lasting storage. If [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] contain\nerrors, an error response is returned for the first error encountered.", + "file": "Client/CreateAccessLevel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateAccessLevel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager CreateAccessLevel Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateAccessPolicy_sync", - "title": "accesscontextmanager CreateAccessPolicy Sample", - "description": "CreateAccessPolicy creates an access policy. This method fails if the organization already has\nan access policy. The long-running operation has a successful status\nafter the access policy propagates to long-lasting storage.\nSyntactic and basic semantic errors are returned in `metadata` as a\nBadRequest proto.", - "file": "Client/CreateAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAccessPolicy", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.CreateAccessPolicy", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateAccessPolicy", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "CreateAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.AccessPolicy", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.AccessPolicy" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAccessPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "CreateAccessPolicy", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateAccessPolicy", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "CreateAccessPolicy" }, + "description": "CreateAccessPolicy creates an access policy. This method fails if the organization already has\nan access policy. The long-running operation has a successful status\nafter the access policy propagates to long-lasting storage.\nSyntactic and basic semantic errors are returned in `metadata` as a\nBadRequest proto.", + "file": "Client/CreateAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateAccessPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager CreateAccessPolicy Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateGcpUserAccessBinding_sync", - "title": "accesscontextmanager CreateGcpUserAccessBinding Sample", - "description": "CreateGcpUserAccessBinding creates a [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the\nclient specifies a [name]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name],\nthe server ignores it. Fails if a resource already exists with the same\n[group_key]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key].\nCompletion of this long-running operation does not necessarily signify that\nthe new binding is deployed onto all affected users, which may take more\ntime.", - "file": "Client/CreateGcpUserAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGcpUserAccessBinding", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.CreateGcpUserAccessBinding", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateGcpUserAccessBinding", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "CreateGcpUserAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.CreateGcpUserAccessBindingRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.CreateGcpUserAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGcpUserAccessBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "CreateGcpUserAccessBinding", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateGcpUserAccessBinding", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "CreateGcpUserAccessBinding" }, + "description": "CreateGcpUserAccessBinding creates a [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the\nclient specifies a [name]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name],\nthe server ignores it. Fails if a resource already exists with the same\n[group_key]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key].\nCompletion of this long-running operation does not necessarily signify that\nthe new binding is deployed onto all affected users, which may take more\ntime.", + "file": "Client/CreateGcpUserAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateGcpUserAccessBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager CreateGcpUserAccessBinding Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateServicePerimeter_sync", - "title": "accesscontextmanager CreateServicePerimeter Sample", - "description": "CreateServicePerimeter creates a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]. The\nlong-running operation from this RPC has a successful status after the\n[service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]\npropagates to long-lasting storage. If a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] contains\nerrors, an error response is returned for the first error encountered.", - "file": "Client/CreateServicePerimeter/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServicePerimeter", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.CreateServicePerimeter", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateServicePerimeter", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "CreateServicePerimeter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.CreateServicePerimeterRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.CreateServicePerimeterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServicePerimeterOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "CreateServicePerimeter", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.CreateServicePerimeter", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "CreateServicePerimeter" }, + "description": "CreateServicePerimeter creates a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]. The\nlong-running operation from this RPC has a successful status after the\n[service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]\npropagates to long-lasting storage. If a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] contains\nerrors, an error response is returned for the first error encountered.", + "file": "Client/CreateServicePerimeter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_CreateServicePerimeter_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager CreateServicePerimeter Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteAccessLevel_sync", - "title": "accesscontextmanager DeleteAccessLevel Sample", - "description": "DeleteAccessLevel deletes an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] based on the resource\nname. The long-running operation from this RPC has a successful status\nafter the [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] has been removed\nfrom long-lasting storage.", - "file": "Client/DeleteAccessLevel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccessLevel", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.DeleteAccessLevel", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteAccessLevel", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "DeleteAccessLevel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.DeleteAccessLevelRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.DeleteAccessLevelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAccessLevelOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "DeleteAccessLevel", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteAccessLevel", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "DeleteAccessLevel" }, + "description": "DeleteAccessLevel deletes an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] based on the resource\nname. The long-running operation from this RPC has a successful status\nafter the [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] has been removed\nfrom long-lasting storage.", + "file": "Client/DeleteAccessLevel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteAccessLevel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager DeleteAccessLevel Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteAccessPolicy_sync", - "title": "accesscontextmanager DeleteAccessPolicy Sample", - "description": "DeleteAccessPolicy deletes an [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy] based on the\nresource name. The long-running operation has a successful status after the\n[access policy] [google.identity.accesscontextmanager.v1.AccessPolicy]\nis removed from long-lasting storage.", - "file": "Client/DeleteAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccessPolicy", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.DeleteAccessPolicy", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteAccessPolicy", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "DeleteAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.DeleteAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.DeleteAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAccessPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "DeleteAccessPolicy", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteAccessPolicy", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "DeleteAccessPolicy" }, + "description": "DeleteAccessPolicy deletes an [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy] based on the\nresource name. The long-running operation has a successful status after the\n[access policy] [google.identity.accesscontextmanager.v1.AccessPolicy]\nis removed from long-lasting storage.", + "file": "Client/DeleteAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteAccessPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager DeleteAccessPolicy Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteGcpUserAccessBinding_sync", - "title": "accesscontextmanager DeleteGcpUserAccessBinding Sample", - "description": "DeleteGcpUserAccessBinding deletes a [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding].\nCompletion of this long-running operation does not necessarily signify that\nthe binding deletion is deployed onto all affected users, which may take\nmore time.", - "file": "Client/DeleteGcpUserAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGcpUserAccessBinding", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.DeleteGcpUserAccessBinding", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteGcpUserAccessBinding", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "DeleteGcpUserAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.DeleteGcpUserAccessBindingRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.DeleteGcpUserAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGcpUserAccessBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "DeleteGcpUserAccessBinding", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteGcpUserAccessBinding", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "DeleteGcpUserAccessBinding" }, + "description": "DeleteGcpUserAccessBinding deletes a [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding].\nCompletion of this long-running operation does not necessarily signify that\nthe binding deletion is deployed onto all affected users, which may take\nmore time.", + "file": "Client/DeleteGcpUserAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteGcpUserAccessBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager DeleteGcpUserAccessBinding Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteServicePerimeter_sync", - "title": "accesscontextmanager DeleteServicePerimeter Sample", - "description": "DeleteServicePerimeter deletes a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] based on the\nresource name. The long-running operation from this RPC has a successful\nstatus after the [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] is removed from\nlong-lasting storage.", - "file": "Client/DeleteServicePerimeter/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServicePerimeter", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.DeleteServicePerimeter", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteServicePerimeter", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "DeleteServicePerimeter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.DeleteServicePerimeterRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.DeleteServicePerimeterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServicePerimeterOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "DeleteServicePerimeter", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.DeleteServicePerimeter", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "DeleteServicePerimeter" }, + "description": "DeleteServicePerimeter deletes a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] based on the\nresource name. The long-running operation from this RPC has a successful\nstatus after the [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] is removed from\nlong-lasting storage.", + "file": "Client/DeleteServicePerimeter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_DeleteServicePerimeter_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager DeleteServicePerimeter Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetAccessLevel_sync", - "title": "accesscontextmanager GetAccessLevel Sample", - "description": "GetAccessLevel gets an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] based on the resource\nname.", - "file": "Client/GetAccessLevel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccessLevel", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.GetAccessLevel", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetAccessLevel", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "GetAccessLevel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.GetAccessLevelRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.GetAccessLevelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accesscontextmanagerpb.AccessLevel", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "GetAccessLevel", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetAccessLevel", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "GetAccessLevel" }, + "description": "GetAccessLevel gets an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] based on the resource\nname.", + "file": "Client/GetAccessLevel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetAccessLevel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager GetAccessLevel Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetAccessPolicy_sync", - "title": "accesscontextmanager GetAccessPolicy Sample", - "description": "GetAccessPolicy returns an [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy] based on the name.", - "file": "Client/GetAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccessPolicy", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.GetAccessPolicy", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetAccessPolicy", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "GetAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.GetAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.GetAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accesscontextmanagerpb.AccessPolicy", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "GetAccessPolicy", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetAccessPolicy", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "GetAccessPolicy" }, + "description": "GetAccessPolicy returns an [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy] based on the name.", + "file": "Client/GetAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetAccessPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager GetAccessPolicy Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetGcpUserAccessBinding_sync", - "title": "accesscontextmanager GetGcpUserAccessBinding Sample", - "description": "GetGcpUserAccessBinding gets the [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with\nthe given name.", - "file": "Client/GetGcpUserAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGcpUserAccessBinding", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.GetGcpUserAccessBinding", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetGcpUserAccessBinding", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "GetGcpUserAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.GetGcpUserAccessBindingRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.GetGcpUserAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accesscontextmanagerpb.GcpUserAccessBinding", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "GetGcpUserAccessBinding", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetGcpUserAccessBinding", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "GetGcpUserAccessBinding" }, + "description": "GetGcpUserAccessBinding gets the [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with\nthe given name.", + "file": "Client/GetGcpUserAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetGcpUserAccessBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager GetGcpUserAccessBinding Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetIamPolicy_sync", - "title": "accesscontextmanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for the specified Access Context Manager\n[access policy][google.identity.accesscontextmanager.v1.AccessPolicy].", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetIamPolicy", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetIamPolicy", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for the specified Access Context Manager\n[access policy][google.identity.accesscontextmanager.v1.AccessPolicy].", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager GetIamPolicy Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetOperation_sync", - "title": "accesscontextmanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager GetOperation Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetServicePerimeter_sync", - "title": "accesscontextmanager GetServicePerimeter Sample", - "description": "GetServicePerimeter gets a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] based on the\nresource name.", - "file": "Client/GetServicePerimeter/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServicePerimeter", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.GetServicePerimeter", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetServicePerimeter", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "GetServicePerimeter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.GetServicePerimeterRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.GetServicePerimeterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accesscontextmanagerpb.ServicePerimeter", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "GetServicePerimeter", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.GetServicePerimeter", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "GetServicePerimeter" }, + "description": "GetServicePerimeter gets a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] based on the\nresource name.", + "file": "Client/GetServicePerimeter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_GetServicePerimeter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager GetServicePerimeter Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListAccessLevels_sync", - "title": "accesscontextmanager ListAccessLevels Sample", - "description": "ListAccessLevels lists all [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] for an access\npolicy.", - "file": "Client/ListAccessLevels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccessLevels", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.ListAccessLevels", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListAccessLevels", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "ListAccessLevels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.ListAccessLevelsRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.ListAccessLevelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccessLevelIterator", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "ListAccessLevels", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListAccessLevels", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "ListAccessLevels" }, + "description": "ListAccessLevels lists all [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] for an access\npolicy.", + "file": "Client/ListAccessLevels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListAccessLevels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager ListAccessLevels Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListAccessPolicies_sync", - "title": "accesscontextmanager ListAccessPolicies Sample", - "description": "ListAccessPolicies lists all [access policies]\n[google.identity.accesscontextmanager.v1.AccessPolicy] in an\norganization.", - "file": "Client/ListAccessPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccessPolicies", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.ListAccessPolicies", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListAccessPolicies", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "ListAccessPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.ListAccessPoliciesRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.ListAccessPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccessPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "ListAccessPolicies", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListAccessPolicies", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "ListAccessPolicies" }, + "description": "ListAccessPolicies lists all [access policies]\n[google.identity.accesscontextmanager.v1.AccessPolicy] in an\norganization.", + "file": "Client/ListAccessPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListAccessPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager ListAccessPolicies Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListGcpUserAccessBindings_sync", - "title": "accesscontextmanager ListGcpUserAccessBindings Sample", - "description": "ListGcpUserAccessBindings lists all [GcpUserAccessBindings]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a\nGoogle Cloud organization.", - "file": "Client/ListGcpUserAccessBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGcpUserAccessBindings", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.ListGcpUserAccessBindings", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListGcpUserAccessBindings", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "ListGcpUserAccessBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.ListGcpUserAccessBindingsRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.ListGcpUserAccessBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GcpUserAccessBindingIterator", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "ListGcpUserAccessBindings", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListGcpUserAccessBindings", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "ListGcpUserAccessBindings" }, + "description": "ListGcpUserAccessBindings lists all [GcpUserAccessBindings]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a\nGoogle Cloud organization.", + "file": "Client/ListGcpUserAccessBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListGcpUserAccessBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager ListGcpUserAccessBindings Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListServicePerimeters_sync", - "title": "accesscontextmanager ListServicePerimeters Sample", - "description": "ListServicePerimeters lists all [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] for an\naccess policy.", - "file": "Client/ListServicePerimeters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServicePerimeters", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.ListServicePerimeters", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListServicePerimeters", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "ListServicePerimeters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.ListServicePerimetersRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.ListServicePerimetersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServicePerimeterIterator", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "ListServicePerimeters", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ListServicePerimeters", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "ListServicePerimeters" }, + "description": "ListServicePerimeters lists all [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] for an\naccess policy.", + "file": "Client/ListServicePerimeters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ListServicePerimeters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager ListServicePerimeters Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ReplaceAccessLevels_sync", - "title": "accesscontextmanager ReplaceAccessLevels Sample", - "description": "ReplaceAccessLevels replaces all existing [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] in an [access\npolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] with\nthe [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] provided. This\nis done atomically. The long-running operation from this RPC has a\nsuccessful status after all replacements propagate to long-lasting\nstorage. If the replacement contains errors, an error response is returned\nfor the first error encountered. Upon error, the replacement is cancelled,\nand existing [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] are not\naffected. The Operation.response field contains\nReplaceAccessLevelsResponse. Removing [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] contained in existing\n[service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] result in an\nerror.", - "file": "Client/ReplaceAccessLevels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceAccessLevels", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.ReplaceAccessLevels", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ReplaceAccessLevels", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "ReplaceAccessLevels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.ReplaceAccessLevelsRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.ReplaceAccessLevelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReplaceAccessLevelsOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "ReplaceAccessLevels", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ReplaceAccessLevels", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "ReplaceAccessLevels" }, + "description": "ReplaceAccessLevels replaces all existing [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] in an [access\npolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] with\nthe [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] provided. This\nis done atomically. The long-running operation from this RPC has a\nsuccessful status after all replacements propagate to long-lasting\nstorage. If the replacement contains errors, an error response is returned\nfor the first error encountered. Upon error, the replacement is cancelled,\nand existing [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] are not\naffected. The Operation.response field contains\nReplaceAccessLevelsResponse. Removing [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] contained in existing\n[service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] result in an\nerror.", + "file": "Client/ReplaceAccessLevels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ReplaceAccessLevels_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager ReplaceAccessLevels Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ReplaceServicePerimeters_sync", - "title": "accesscontextmanager ReplaceServicePerimeters Sample", - "description": "ReplaceServicePerimeters replace all existing [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] in an [access\npolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the\n[service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This\nis done atomically. The long-running operation from this RPC has a\nsuccessful status after all replacements propagate to long-lasting storage.\nReplacements containing errors result in an error response for the first\nerror encountered. Upon an error, replacement are cancelled and existing\n[service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] are not\naffected. The Operation.response field contains\nReplaceServicePerimetersResponse.", - "file": "Client/ReplaceServicePerimeters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceServicePerimeters", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.ReplaceServicePerimeters", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ReplaceServicePerimeters", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "ReplaceServicePerimeters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.ReplaceServicePerimetersRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.ReplaceServicePerimetersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReplaceServicePerimetersOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "ReplaceServicePerimeters", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.ReplaceServicePerimeters", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "ReplaceServicePerimeters" }, + "description": "ReplaceServicePerimeters replace all existing [service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] in an [access\npolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the\n[service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This\nis done atomically. The long-running operation from this RPC has a\nsuccessful status after all replacements propagate to long-lasting storage.\nReplacements containing errors result in an error response for the first\nerror encountered. Upon an error, replacement are cancelled and existing\n[service perimeters]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] are not\naffected. The Operation.response field contains\nReplaceServicePerimetersResponse.", + "file": "Client/ReplaceServicePerimeters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_ReplaceServicePerimeters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager ReplaceServicePerimeters Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_SetIamPolicy_sync", - "title": "accesscontextmanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for the specified Access Context Manager\n[access policy][google.identity.accesscontextmanager.v1.AccessPolicy].\nThis method replaces the existing IAM policy on the access policy. The IAM\npolicy controls the set of users who can perform specific operations on the\nAccess Context Manager [access\npolicy][google.identity.accesscontextmanager.v1.AccessPolicy].", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.SetIamPolicy", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.SetIamPolicy", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for the specified Access Context Manager\n[access policy][google.identity.accesscontextmanager.v1.AccessPolicy].\nThis method replaces the existing IAM policy on the access policy. The IAM\npolicy controls the set of users who can perform specific operations on the\nAccess Context Manager [access\npolicy][google.identity.accesscontextmanager.v1.AccessPolicy].", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager SetIamPolicy Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_TestIamPermissions_sync", - "title": "accesscontextmanager TestIamPermissions Sample", - "description": "TestIamPermissions returns the IAM permissions that the caller has on the specified Access\nContext Manager resource. The resource can be an\n[AccessPolicy][google.identity.accesscontextmanager.v1.AccessPolicy],\n[AccessLevel][google.identity.accesscontextmanager.v1.AccessLevel], or\n[ServicePerimeter][google.identity.accesscontextmanager.v1.ServicePerimeter\n]. This method does not support other resources.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.TestIamPermissions", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.TestIamPermissions", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the IAM permissions that the caller has on the specified Access\nContext Manager resource. The resource can be an\n[AccessPolicy][google.identity.accesscontextmanager.v1.AccessPolicy],\n[AccessLevel][google.identity.accesscontextmanager.v1.AccessLevel], or\n[ServicePerimeter][google.identity.accesscontextmanager.v1.ServicePerimeter\n]. This method does not support other resources.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager TestIamPermissions Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateAccessLevel_sync", - "title": "accesscontextmanager UpdateAccessLevel Sample", - "description": "UpdateAccessLevel updates an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel]. The long-running\noperation from this RPC has a successful status after the changes to\nthe [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] propagate\nto long-lasting storage. If [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] contain\nerrors, an error response is returned for the first error encountered.", - "file": "Client/UpdateAccessLevel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccessLevel", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.UpdateAccessLevel", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateAccessLevel", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "UpdateAccessLevel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.UpdateAccessLevelRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.UpdateAccessLevelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAccessLevelOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "UpdateAccessLevel", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateAccessLevel", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "UpdateAccessLevel" }, + "description": "UpdateAccessLevel updates an [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel]. The long-running\noperation from this RPC has a successful status after the changes to\nthe [access level]\n[google.identity.accesscontextmanager.v1.AccessLevel] propagate\nto long-lasting storage. If [access levels]\n[google.identity.accesscontextmanager.v1.AccessLevel] contain\nerrors, an error response is returned for the first error encountered.", + "file": "Client/UpdateAccessLevel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateAccessLevel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager UpdateAccessLevel Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateAccessPolicy_sync", - "title": "accesscontextmanager UpdateAccessPolicy Sample", - "description": "UpdateAccessPolicy updates an [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy]. The\nlong-running operation from this RPC has a successful status after the\nchanges to the [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy] propagate\nto long-lasting storage.", - "file": "Client/UpdateAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccessPolicy", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.UpdateAccessPolicy", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateAccessPolicy", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "UpdateAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.UpdateAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.UpdateAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAccessPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "UpdateAccessPolicy", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateAccessPolicy", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "UpdateAccessPolicy" }, + "description": "UpdateAccessPolicy updates an [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy]. The\nlong-running operation from this RPC has a successful status after the\nchanges to the [access policy]\n[google.identity.accesscontextmanager.v1.AccessPolicy] propagate\nto long-lasting storage.", + "file": "Client/UpdateAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateAccessPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager UpdateAccessPolicy Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateGcpUserAccessBinding_sync", - "title": "accesscontextmanager UpdateGcpUserAccessBinding Sample", - "description": "UpdateGcpUserAccessBinding updates a [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding].\nCompletion of this long-running operation does not necessarily signify that\nthe changed binding is deployed onto all affected users, which may take\nmore time.", - "file": "Client/UpdateGcpUserAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGcpUserAccessBinding", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.UpdateGcpUserAccessBinding", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateGcpUserAccessBinding", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "UpdateGcpUserAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.UpdateGcpUserAccessBindingRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.UpdateGcpUserAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGcpUserAccessBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "UpdateGcpUserAccessBinding", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateGcpUserAccessBinding", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "UpdateGcpUserAccessBinding" }, + "description": "UpdateGcpUserAccessBinding updates a [GcpUserAccessBinding]\n[google.identity.accesscontextmanager.v1.GcpUserAccessBinding].\nCompletion of this long-running operation does not necessarily signify that\nthe changed binding is deployed onto all affected users, which may take\nmore time.", + "file": "Client/UpdateGcpUserAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateGcpUserAccessBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager UpdateGcpUserAccessBinding Sample" }, { - "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateServicePerimeter_sync", - "title": "accesscontextmanager UpdateServicePerimeter Sample", - "description": "UpdateServicePerimeter updates a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]. The\nlong-running operation from this RPC has a successful status after the\n[service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]\npropagates to long-lasting storage. If a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] contains\nerrors, an error response is returned for the first error encountered.", - "file": "Client/UpdateServicePerimeter/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServicePerimeter", + "client": { + "fullName": "google.identity.accesscontextmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.identity.accesscontextmanager.v1.Client.UpdateServicePerimeter", + "method": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateServicePerimeter", + "service": { + "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager", + "shortName": "AccessContextManager" + }, + "shortName": "UpdateServicePerimeter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accesscontextmanagerpb.UpdateServicePerimeterRequest", - "name": "req" + "name": "req", + "type": "accesscontextmanagerpb.UpdateServicePerimeterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServicePerimeterOperation", - "client": { - "shortName": "Client", - "fullName": "google.identity.accesscontextmanager.v1.Client" - }, - "method": { - "shortName": "UpdateServicePerimeter", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager.UpdateServicePerimeter", - "service": { - "shortName": "AccessContextManager", - "fullName": "google.identity.accesscontextmanager.v1.AccessContextManager" - } - } + "shortName": "UpdateServicePerimeter" }, + "description": "UpdateServicePerimeter updates a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]. The\nlong-running operation from this RPC has a successful status after the\n[service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter]\npropagates to long-lasting storage. If a [service perimeter]\n[google.identity.accesscontextmanager.v1.ServicePerimeter] contains\nerrors, an error response is returned for the first error encountered.", + "file": "Client/UpdateServicePerimeter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "accesscontextmanager_v1_generated_AccessContextManager_UpdateServicePerimeter_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "accesscontextmanager UpdateServicePerimeter Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json b/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json index 61a8b9699f69..d5b66cd18ffb 100644 --- a/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json +++ b/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/advisorynotifications/apiv1", - "version": "1.5.6", - "language": "GO", "apis": [ { "id": "google.cloud.advisorynotifications.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/advisorynotifications/apiv1", + "version": "1.5.6" }, "snippets": [ { - "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetNotification_sync", - "title": "advisorynotifications GetNotification Sample", - "description": "GetNotification gets a notification.", - "file": "Client/GetNotification/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotification", + "client": { + "fullName": "google.cloud.advisorynotifications.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.advisorynotifications.v1.Client.GetNotification", + "method": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification", + "service": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService", + "shortName": "AdvisoryNotificationsService" + }, + "shortName": "GetNotification" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "advisorynotificationspb.GetNotificationRequest", - "name": "req" + "name": "req", + "type": "advisorynotificationspb.GetNotificationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*advisorynotificationspb.Notification", - "client": { - "shortName": "Client", - "fullName": "google.cloud.advisorynotifications.v1.Client" - }, - "method": { - "shortName": "GetNotification", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification", - "service": { - "shortName": "AdvisoryNotificationsService", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService" - } - } + "shortName": "GetNotification" }, + "description": "GetNotification gets a notification.", + "file": "Client/GetNotification/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetNotification_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "advisorynotifications GetNotification Sample" }, { - "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetSettings_sync", - "title": "advisorynotifications GetSettings Sample", - "description": "GetSettings get notification settings.", - "file": "Client/GetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSettings", + "client": { + "fullName": "google.cloud.advisorynotifications.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.advisorynotifications.v1.Client.GetSettings", + "method": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings", + "service": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService", + "shortName": "AdvisoryNotificationsService" + }, + "shortName": "GetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "advisorynotificationspb.GetSettingsRequest", - "name": "req" + "name": "req", + "type": "advisorynotificationspb.GetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*advisorynotificationspb.Settings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.advisorynotifications.v1.Client" - }, - "method": { - "shortName": "GetSettings", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings", - "service": { - "shortName": "AdvisoryNotificationsService", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService" - } - } + "shortName": "GetSettings" }, + "description": "GetSettings get notification settings.", + "file": "Client/GetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_GetSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "advisorynotifications GetSettings Sample" }, { - "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_ListNotifications_sync", - "title": "advisorynotifications ListNotifications Sample", - "description": "ListNotifications lists notifications under a given parent.", - "file": "Client/ListNotifications/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotifications", + "client": { + "fullName": "google.cloud.advisorynotifications.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.advisorynotifications.v1.Client.ListNotifications", + "method": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications", + "service": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService", + "shortName": "AdvisoryNotificationsService" + }, + "shortName": "ListNotifications" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "advisorynotificationspb.ListNotificationsRequest", - "name": "req" + "name": "req", + "type": "advisorynotificationspb.ListNotificationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.advisorynotifications.v1.Client" - }, - "method": { - "shortName": "ListNotifications", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications", - "service": { - "shortName": "AdvisoryNotificationsService", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService" - } - } + "shortName": "ListNotifications" }, + "description": "ListNotifications lists notifications under a given parent.", + "file": "Client/ListNotifications/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_ListNotifications_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "advisorynotifications ListNotifications Sample" }, { - "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_UpdateSettings_sync", - "title": "advisorynotifications UpdateSettings Sample", - "description": "UpdateSettings update notification settings.", - "file": "Client/UpdateSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSettings", + "client": { + "fullName": "google.cloud.advisorynotifications.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.advisorynotifications.v1.Client.UpdateSettings", + "method": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.UpdateSettings", + "service": { + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService", + "shortName": "AdvisoryNotificationsService" + }, + "shortName": "UpdateSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "advisorynotificationspb.UpdateSettingsRequest", - "name": "req" + "name": "req", + "type": "advisorynotificationspb.UpdateSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*advisorynotificationspb.Settings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.advisorynotifications.v1.Client" - }, - "method": { - "shortName": "UpdateSettings", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.UpdateSettings", - "service": { - "shortName": "AdvisoryNotificationsService", - "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService" - } - } + "shortName": "UpdateSettings" }, + "description": "UpdateSettings update notification settings.", + "file": "Client/UpdateSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "advisorynotifications_v1_generated_AdvisoryNotificationsService_UpdateSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "advisorynotifications UpdateSettings Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json b/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json index e31c0690df3f..472d5db22964 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json @@ -1,655 +1,655 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ai/generativelanguage/apiv1", - "version": "0.15.0", - "language": "GO", "apis": [ { "id": "google.ai.generativelanguage.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ai/generativelanguage/apiv1", + "version": "0.15.0" }, "snippets": [ { - "regionTag": "generativelanguage_v1_generated_GenerativeService_BatchEmbedContents_sync", - "title": "generativelanguage BatchEmbedContents Sample", - "description": "BatchEmbedContents generates multiple embedding vectors from the input `Content` which\nconsists of a batch of strings represented as `EmbedContentRequest`\nobjects.", - "file": "GenerativeClient/BatchEmbedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchEmbedContents", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.BatchEmbedContents", + "method": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService.BatchEmbedContents", + "service": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "BatchEmbedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchEmbedContentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchEmbedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchEmbedContentsResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "BatchEmbedContents", - "fullName": "google.ai.generativelanguage.v1.GenerativeService.BatchEmbedContents", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1.GenerativeService" - } - } + "shortName": "BatchEmbedContents" }, + "description": "BatchEmbedContents generates multiple embedding vectors from the input `Content` which\nconsists of a batch of strings represented as `EmbedContentRequest`\nobjects.", + "file": "GenerativeClient/BatchEmbedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_BatchEmbedContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchEmbedContents Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_CountTokens_sync", - "title": "generativelanguage CountTokens Sample", - "description": "CountTokens runs a model's tokenizer on input `Content` and returns the token count.\nRefer to the [tokens guide](https: //ai.google.dev/gemini-api/docs/tokens)\nto learn more about tokens.", - "file": "GenerativeClient/CountTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.CountTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService.CountTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "CountTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountTokensResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "CountTokens", - "fullName": "google.ai.generativelanguage.v1.GenerativeService.CountTokens", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1.GenerativeService" - } - } + "shortName": "CountTokens" }, + "description": "CountTokens runs a model's tokenizer on input `Content` and returns the token count.\nRefer to the [tokens guide](https: //ai.google.dev/gemini-api/docs/tokens)\nto learn more about tokens.", + "file": "GenerativeClient/CountTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_CountTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountTokens Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_EmbedContent_sync", - "title": "generativelanguage EmbedContent Sample", - "description": "EmbedContent generates a text embedding vector from the input `Content` using the\nspecified [Gemini Embedding\nmodel](https: //ai.google.dev/gemini-api/docs/models/gemini#text-embedding).", - "file": "GenerativeClient/EmbedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.EmbedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService.EmbedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "EmbedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.EmbedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.EmbedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.EmbedContentResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "EmbedContent", - "fullName": "google.ai.generativelanguage.v1.GenerativeService.EmbedContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1.GenerativeService" - } - } + "shortName": "EmbedContent" }, + "description": "EmbedContent generates a text embedding vector from the input `Content` using the\nspecified [Gemini Embedding\nmodel](https: //ai.google.dev/gemini-api/docs/models/gemini#text-embedding).", + "file": "GenerativeClient/EmbedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_EmbedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage EmbedContent Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_GenerateContent_sync", - "title": "generativelanguage GenerateContent Sample", - "description": "GenerateContent generates a model response given an input `GenerateContentRequest`.\nRefer to the [text generation\nguide](https: //ai.google.dev/gemini-api/docs/text-generation) for detailed\nusage information. Input capabilities differ between models, including\ntuned models. Refer to the [model\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) and [tuning\nguide](https: //ai.google.dev/gemini-api/docs/model-tuning) for details.", - "file": "GenerativeClient/GenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateContent", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.GenerateContent", + "method": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService.GenerateContent", + "service": { + "fullName": "google.ai.generativelanguage.v1.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "GenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateContentResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "GenerateContent", - "fullName": "google.ai.generativelanguage.v1.GenerativeService.GenerateContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1.GenerativeService" - } - } + "shortName": "GenerateContent" }, + "description": "GenerateContent generates a model response given an input `GenerateContentRequest`.\nRefer to the [text generation\nguide](https: //ai.google.dev/gemini-api/docs/text-generation) for detailed\nusage information. Input capabilities differ between models, including\ntuned models. Refer to the [model\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) and [tuning\nguide](https: //ai.google.dev/gemini-api/docs/model-tuning) for details.", + "file": "GenerativeClient/GenerateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_GenerateContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateContent Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1_generated_GenerativeService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1.GenerativeClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1.GenerativeClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_GenerativeService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1_generated_ModelService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1.ModelClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1.ModelClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_ModelService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1_generated_ModelService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1.ModelClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1.ModelClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_ModelService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1_generated_ModelService_GetModel_sync", - "title": "generativelanguage GetModel Sample", - "description": "GetModel gets information about a specific `Model` such as its version number, token\nlimits,\n[parameters](https: //ai.google.dev/gemini-api/docs/models/generative-models#model-parameters)\nand other metadata. Refer to the [Gemini models\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) for detailed\nmodel information.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.ai.generativelanguage.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1.ModelClient.GetModel", + "method": { + "fullName": "google.ai.generativelanguage.v1.ModelService.GetModel", + "service": { + "fullName": "google.ai.generativelanguage.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.ai.generativelanguage.v1.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets information about a specific `Model` such as its version number, token\nlimits,\n[parameters](https: //ai.google.dev/gemini-api/docs/models/generative-models#model-parameters)\nand other metadata. Refer to the [Gemini models\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) for detailed\nmodel information.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetModel Sample" }, { - "regionTag": "generativelanguage_v1_generated_ModelService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1_generated_ModelService_ListModels_sync", - "title": "generativelanguage ListModels Sample", - "description": "ListModels lists the [`Model`s](https: //ai.google.dev/gemini-api/docs/models/gemini)\navailable through the Gemini API.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.ai.generativelanguage.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1.ModelClient.ListModels", + "method": { + "fullName": "google.ai.generativelanguage.v1.ModelService.ListModels", + "service": { + "fullName": "google.ai.generativelanguage.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.ai.generativelanguage.v1.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists the [`Model`s](https: //ai.google.dev/gemini-api/docs/models/gemini)\navailable through the Gemini API.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListModels Sample" }, { - "regionTag": "generativelanguage_v1_generated_ModelService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1alpha/snippet_metadata.google.ai.generativelanguage.v1alpha.json b/internal/generated/snippets/ai/generativelanguage/apiv1alpha/snippet_metadata.google.ai.generativelanguage.v1alpha.json index 19d918f9fdd4..922f16db36fd 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1alpha/snippet_metadata.google.ai.generativelanguage.v1alpha.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1alpha/snippet_metadata.google.ai.generativelanguage.v1alpha.json @@ -1,3361 +1,3361 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ai/generativelanguage/apiv1alpha", - "version": "0.15.0", - "language": "GO", "apis": [ { "id": "google.ai.generativelanguage.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ai/generativelanguage/apiv1alpha", + "version": "0.15.0" }, "snippets": [ { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_CreateCachedContent_sync", - "title": "generativelanguage CreateCachedContent Sample", - "description": "CreateCachedContent creates CachedContent resource.", - "file": "CacheClient/CreateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.CreateCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService.CreateCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService", + "shortName": "CacheService" + }, + "shortName": "CreateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CachedContent", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "CreateCachedContent", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService.CreateCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService" - } - } + "shortName": "CreateCachedContent" }, + "description": "CreateCachedContent creates CachedContent resource.", + "file": "CacheClient/CreateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_CreateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateCachedContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_DeleteCachedContent_sync", - "title": "generativelanguage DeleteCachedContent Sample", - "description": "DeleteCachedContent deletes CachedContent resource.", - "file": "CacheClient/DeleteCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.DeleteCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService.DeleteCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService", + "shortName": "CacheService" + }, + "shortName": "DeleteCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "DeleteCachedContent", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService.DeleteCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService" - } - } + "shortName": "DeleteCachedContent" }, + "description": "DeleteCachedContent deletes CachedContent resource.", + "file": "CacheClient/DeleteCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_DeleteCachedContent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteCachedContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_GetCachedContent_sync", - "title": "generativelanguage GetCachedContent Sample", - "description": "GetCachedContent reads CachedContent resource.", - "file": "CacheClient/GetCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.GetCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService.GetCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService", + "shortName": "CacheService" + }, + "shortName": "GetCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CachedContent", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "GetCachedContent", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService.GetCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService" - } - } + "shortName": "GetCachedContent" }, + "description": "GetCachedContent reads CachedContent resource.", + "file": "CacheClient/GetCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_GetCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetCachedContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CacheClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CacheClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_ListCachedContents_sync", - "title": "generativelanguage ListCachedContents Sample", - "description": "ListCachedContents lists CachedContents.", - "file": "CacheClient/ListCachedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCachedContents", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.ListCachedContents", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService.ListCachedContents", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService", + "shortName": "CacheService" + }, + "shortName": "ListCachedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListCachedContentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListCachedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CachedContentIterator", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "ListCachedContents", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService.ListCachedContents", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService" - } - } + "shortName": "ListCachedContents" }, + "description": "ListCachedContents lists CachedContents.", + "file": "CacheClient/ListCachedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_ListCachedContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListCachedContents Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CacheClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CacheClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_CacheService_UpdateCachedContent_sync", - "title": "generativelanguage UpdateCachedContent Sample", - "description": "UpdateCachedContent updates CachedContent resource (only expiration is updatable).", - "file": "CacheClient/UpdateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.CacheClient.UpdateCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService.UpdateCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.CacheService", + "shortName": "CacheService" + }, + "shortName": "UpdateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CachedContent", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1alpha.CacheClient" - }, - "method": { - "shortName": "UpdateCachedContent", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService.UpdateCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1alpha.CacheService" - } - } + "shortName": "UpdateCachedContent" }, + "description": "UpdateCachedContent updates CachedContent resource (only expiration is updatable).", + "file": "CacheClient/UpdateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_CacheService_UpdateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateCachedContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_DiscussService_CountMessageTokens_sync", - "title": "generativelanguage CountMessageTokens Sample", - "description": "CountMessageTokens runs a model's tokenizer on a string and returns the token count.", - "file": "DiscussClient/CountMessageTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountMessageTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient.CountMessageTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussService.CountMessageTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussService", + "shortName": "DiscussService" + }, + "shortName": "CountMessageTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountMessageTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountMessageTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountMessageTokensResponse", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient" - }, - "method": { - "shortName": "CountMessageTokens", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussService.CountMessageTokens", - "service": { - "shortName": "DiscussService", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussService" - } - } + "shortName": "CountMessageTokens" }, + "description": "CountMessageTokens runs a model's tokenizer on a string and returns the token count.", + "file": "DiscussClient/CountMessageTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_DiscussService_CountMessageTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountMessageTokens Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_DiscussService_GenerateMessage_sync", - "title": "generativelanguage GenerateMessage Sample", - "description": "GenerateMessage generates a response from the model given an input `MessagePrompt`.", - "file": "DiscussClient/GenerateMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateMessage", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient.GenerateMessage", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussService.GenerateMessage", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussService", + "shortName": "DiscussService" + }, + "shortName": "GenerateMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateMessageRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateMessageResponse", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient" - }, - "method": { - "shortName": "GenerateMessage", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussService.GenerateMessage", - "service": { - "shortName": "DiscussService", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussService" - } - } + "shortName": "GenerateMessage" }, + "description": "GenerateMessage generates a response from the model given an input `MessagePrompt`.", + "file": "DiscussClient/GenerateMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_DiscussService_GenerateMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateMessage Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_DiscussService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DiscussClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DiscussClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_DiscussService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_DiscussService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DiscussClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1alpha.DiscussClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DiscussClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_DiscussService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_FileService_CreateFile_sync", - "title": "generativelanguage CreateFile Sample", - "description": "CreateFile creates a `File`.", - "file": "FileClient/CreateFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFile", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.FileClient.CreateFile", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService.CreateFile", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService", + "shortName": "FileService" + }, + "shortName": "CreateFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CreateFileResponse", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1alpha.FileClient" - }, - "method": { - "shortName": "CreateFile", - "fullName": "google.ai.generativelanguage.v1alpha.FileService.CreateFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1alpha.FileService" - } - } + "shortName": "CreateFile" }, + "description": "CreateFile creates a `File`.", + "file": "FileClient/CreateFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_FileService_CreateFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateFile Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_FileService_DeleteFile_sync", - "title": "generativelanguage DeleteFile Sample", - "description": "DeleteFile deletes the `File`.", - "file": "FileClient/DeleteFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFile", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.FileClient.DeleteFile", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService.DeleteFile", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService", + "shortName": "FileService" + }, + "shortName": "DeleteFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1alpha.FileClient" - }, - "method": { - "shortName": "DeleteFile", - "fullName": "google.ai.generativelanguage.v1alpha.FileService.DeleteFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1alpha.FileService" - } - } + "shortName": "DeleteFile" }, + "description": "DeleteFile deletes the `File`.", + "file": "FileClient/DeleteFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_FileService_DeleteFile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteFile Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_FileService_GetFile_sync", - "title": "generativelanguage GetFile Sample", - "description": "GetFile gets the metadata for the given `File`.", - "file": "FileClient/GetFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFile", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.FileClient.GetFile", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService.GetFile", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService", + "shortName": "FileService" + }, + "shortName": "GetFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.File", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1alpha.FileClient" - }, - "method": { - "shortName": "GetFile", - "fullName": "google.ai.generativelanguage.v1alpha.FileService.GetFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1alpha.FileService" - } - } + "shortName": "GetFile" }, + "description": "GetFile gets the metadata for the given `File`.", + "file": "FileClient/GetFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_FileService_GetFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetFile Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_FileService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FileClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.FileClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1alpha.FileClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FileClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_FileService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_FileService_ListFiles_sync", - "title": "generativelanguage ListFiles Sample", - "description": "ListFiles lists the metadata for `File`s owned by the requesting project.", - "file": "FileClient/ListFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFiles", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.FileClient.ListFiles", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService.ListFiles", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.FileService", + "shortName": "FileService" + }, + "shortName": "ListFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListFilesRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileIterator", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1alpha.FileClient" - }, - "method": { - "shortName": "ListFiles", - "fullName": "google.ai.generativelanguage.v1alpha.FileService.ListFiles", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1alpha.FileService" - } - } + "shortName": "ListFiles" }, + "description": "ListFiles lists the metadata for `File`s owned by the requesting project.", + "file": "FileClient/ListFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_FileService_ListFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListFiles Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_FileService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FileClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.FileClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1alpha.FileClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FileClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_FileService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_BatchEmbedContents_sync", - "title": "generativelanguage BatchEmbedContents Sample", - "description": "BatchEmbedContents generates multiple embedding vectors from the input `Content` which\nconsists of a batch of strings represented as `EmbedContentRequest`\nobjects.", - "file": "GenerativeClient/BatchEmbedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchEmbedContents", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.BatchEmbedContents", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.BatchEmbedContents", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "BatchEmbedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchEmbedContentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchEmbedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchEmbedContentsResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "BatchEmbedContents", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.BatchEmbedContents", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService" - } - } + "shortName": "BatchEmbedContents" }, + "description": "BatchEmbedContents generates multiple embedding vectors from the input `Content` which\nconsists of a batch of strings represented as `EmbedContentRequest`\nobjects.", + "file": "GenerativeClient/BatchEmbedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_BatchEmbedContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchEmbedContents Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_BidiGenerateContent_sync", - "title": "generativelanguage BidiGenerateContent Sample", - "description": "BidiGenerateContent low-Latency bidirectional streaming API that supports audio and video\nstreaming inputs can produce multimodal output streams (audio and text).\n\n\nThis method is not supported for the REST transport.", - "file": "GenerativeClient/BidiGenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "BidiGenerateContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.BidiGenerateContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.BidiGenerateContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "BidiGenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "generativelanguagepb.GenerativeService_BidiGenerateContentClient", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "BidiGenerateContent", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.BidiGenerateContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService" - } - } + "shortName": "BidiGenerateContent" }, + "description": "BidiGenerateContent low-Latency bidirectional streaming API that supports audio and video\nstreaming inputs can produce multimodal output streams (audio and text).\n\n\nThis method is not supported for the REST transport.", + "file": "GenerativeClient/BidiGenerateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_BidiGenerateContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BidiGenerateContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_CountTokens_sync", - "title": "generativelanguage CountTokens Sample", - "description": "CountTokens runs a model's tokenizer on input `Content` and returns the token count.\nRefer to the [tokens guide](https: //ai.google.dev/gemini-api/docs/tokens)\nto learn more about tokens.", - "file": "GenerativeClient/CountTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.CountTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.CountTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "CountTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountTokensResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "CountTokens", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.CountTokens", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService" - } - } + "shortName": "CountTokens" }, + "description": "CountTokens runs a model's tokenizer on input `Content` and returns the token count.\nRefer to the [tokens guide](https: //ai.google.dev/gemini-api/docs/tokens)\nto learn more about tokens.", + "file": "GenerativeClient/CountTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_CountTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountTokens Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_EmbedContent_sync", - "title": "generativelanguage EmbedContent Sample", - "description": "EmbedContent generates a text embedding vector from the input `Content` using the\nspecified [Gemini Embedding\nmodel](https: //ai.google.dev/gemini-api/docs/models/gemini#text-embedding).", - "file": "GenerativeClient/EmbedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.EmbedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.EmbedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "EmbedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.EmbedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.EmbedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.EmbedContentResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "EmbedContent", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.EmbedContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService" - } - } + "shortName": "EmbedContent" }, + "description": "EmbedContent generates a text embedding vector from the input `Content` using the\nspecified [Gemini Embedding\nmodel](https: //ai.google.dev/gemini-api/docs/models/gemini#text-embedding).", + "file": "GenerativeClient/EmbedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_EmbedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage EmbedContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_GenerateAnswer_sync", - "title": "generativelanguage GenerateAnswer Sample", - "description": "GenerateAnswer generates a grounded answer from the model given an input\n`GenerateAnswerRequest`.", - "file": "GenerativeClient/GenerateAnswer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAnswer", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.GenerateAnswer", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.GenerateAnswer", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "GenerateAnswer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateAnswerRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateAnswerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateAnswerResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "GenerateAnswer", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.GenerateAnswer", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService" - } - } + "shortName": "GenerateAnswer" }, + "description": "GenerateAnswer generates a grounded answer from the model given an input\n`GenerateAnswerRequest`.", + "file": "GenerativeClient/GenerateAnswer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_GenerateAnswer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateAnswer Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_GenerateContent_sync", - "title": "generativelanguage GenerateContent Sample", - "description": "GenerateContent generates a model response given an input `GenerateContentRequest`.\nRefer to the [text generation\nguide](https: //ai.google.dev/gemini-api/docs/text-generation) for detailed\nusage information. Input capabilities differ between models, including\ntuned models. Refer to the [model\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) and [tuning\nguide](https: //ai.google.dev/gemini-api/docs/model-tuning) for details.", - "file": "GenerativeClient/GenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateContent", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.GenerateContent", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.GenerateContent", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "GenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateContentResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "GenerateContent", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService.GenerateContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeService" - } - } + "shortName": "GenerateContent" }, + "description": "GenerateContent generates a model response given an input `GenerateContentRequest`.\nRefer to the [text generation\nguide](https: //ai.google.dev/gemini-api/docs/text-generation) for detailed\nusage information. Input capabilities differ between models, including\ntuned models. Refer to the [model\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) and [tuning\nguide](https: //ai.google.dev/gemini-api/docs/model-tuning) for details.", + "file": "GenerativeClient/GenerateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_GenerateContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateContent Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1alpha.GenerativeClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_GenerativeService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_CreateTunedModel_sync", - "title": "generativelanguage CreateTunedModel Sample", - "description": "CreateTunedModel creates a tuned model.\nCheck intermediate tuning progress (if any) through the\n[google.longrunning.Operations] service.\n\nAccess status and results through the Operations service.\nExample: \nGET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222", - "file": "ModelClient/CreateTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.CreateTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.CreateTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "CreateTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTunedModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "CreateTunedModel", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.CreateTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" - } - } + "shortName": "CreateTunedModel" }, + "description": "CreateTunedModel creates a tuned model.\nCheck intermediate tuning progress (if any) through the\n[google.longrunning.Operations] service.\n\nAccess status and results through the Operations service.\nExample: \nGET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222", + "file": "ModelClient/CreateTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_CreateTunedModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateTunedModel Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_DeleteTunedModel_sync", - "title": "generativelanguage DeleteTunedModel Sample", - "description": "DeleteTunedModel deletes a tuned model.", - "file": "ModelClient/DeleteTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.DeleteTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.DeleteTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "DeleteTunedModel", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.DeleteTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" - } - } + "shortName": "DeleteTunedModel" }, + "description": "DeleteTunedModel deletes a tuned model.", + "file": "ModelClient/DeleteTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_DeleteTunedModel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteTunedModel Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_GetModel_sync", - "title": "generativelanguage GetModel Sample", - "description": "GetModel gets information about a specific `Model` such as its version number, token\nlimits,\n[parameters](https: //ai.google.dev/gemini-api/docs/models/generative-models#model-parameters)\nand other metadata. Refer to the [Gemini models\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) for detailed\nmodel information.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.GetModel", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.GetModel", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets information about a specific `Model` such as its version number, token\nlimits,\n[parameters](https: //ai.google.dev/gemini-api/docs/models/generative-models#model-parameters)\nand other metadata. Refer to the [Gemini models\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) for detailed\nmodel information.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetModel Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_GetTunedModel_sync", - "title": "generativelanguage GetTunedModel Sample", - "description": "GetTunedModel gets information about a specific TunedModel.", - "file": "ModelClient/GetTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.GetTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.GetTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.TunedModel", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "GetTunedModel", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.GetTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" - } - } + "shortName": "GetTunedModel" }, + "description": "GetTunedModel gets information about a specific TunedModel.", + "file": "ModelClient/GetTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_GetTunedModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetTunedModel Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_ListModels_sync", - "title": "generativelanguage ListModels Sample", - "description": "ListModels lists the [`Model`s](https: //ai.google.dev/gemini-api/docs/models/gemini)\navailable through the Gemini API.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.ListModels", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.ListModels", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListModelsRequest" }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ModelIterator", + "shortName": "ListModels" }, + "description": "ListModels lists the [`Model`s](https: //ai.google.dev/gemini-api/docs/models/gemini)\navailable through the Gemini API.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListModels Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_ListTunedModels_sync", - "title": "generativelanguage ListTunedModels Sample", - "description": "ListTunedModels lists created tuned models.", - "file": "ModelClient/ListTunedModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTunedModels", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.ListTunedModels", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.ListTunedModels", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListTunedModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListTunedModelsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListTunedModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TunedModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "ListTunedModels", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.ListTunedModels", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" - } - } + "shortName": "ListTunedModels" }, + "description": "ListTunedModels lists created tuned models.", + "file": "ModelClient/ListTunedModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_ListTunedModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListTunedModels Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_ModelService_UpdateTunedModel_sync", - "title": "generativelanguage UpdateTunedModel Sample", - "description": "UpdateTunedModel updates a tuned model.", - "file": "ModelClient/UpdateTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.ModelClient.UpdateTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService.UpdateTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.TunedModel", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1alpha.ModelClient" - }, - "method": { - "shortName": "UpdateTunedModel", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService.UpdateTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1alpha.ModelService" - } - } + "shortName": "UpdateTunedModel" }, + "description": "UpdateTunedModel updates a tuned model.", + "file": "ModelClient/UpdateTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_ModelService_UpdateTunedModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateTunedModel Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_CreatePermission_sync", - "title": "generativelanguage CreatePermission Sample", - "description": "CreatePermission create a permission to a specific resource.", - "file": "PermissionClient/CreatePermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePermission", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.CreatePermission", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.CreatePermission", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "CreatePermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreatePermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreatePermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Permission", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "CreatePermission", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.CreatePermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService" - } - } + "shortName": "CreatePermission" }, + "description": "CreatePermission create a permission to a specific resource.", + "file": "PermissionClient/CreatePermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_CreatePermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreatePermission Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_DeletePermission_sync", - "title": "generativelanguage DeletePermission Sample", - "description": "DeletePermission deletes the permission.", - "file": "PermissionClient/DeletePermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePermission", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.DeletePermission", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.DeletePermission", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "DeletePermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeletePermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeletePermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "DeletePermission", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.DeletePermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService" - } - } + "shortName": "DeletePermission" }, + "description": "DeletePermission deletes the permission.", + "file": "PermissionClient/DeletePermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_DeletePermission_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeletePermission Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PermissionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PermissionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_GetPermission_sync", - "title": "generativelanguage GetPermission Sample", - "description": "GetPermission gets information about a specific Permission.", - "file": "PermissionClient/GetPermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPermission", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.GetPermission", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.GetPermission", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "GetPermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetPermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetPermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Permission", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "GetPermission", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.GetPermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService" - } - } + "shortName": "GetPermission" }, + "description": "GetPermission gets information about a specific Permission.", + "file": "PermissionClient/GetPermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_GetPermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetPermission Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PermissionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PermissionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_ListPermissions_sync", - "title": "generativelanguage ListPermissions Sample", - "description": "ListPermissions lists permissions for the specific resource.", - "file": "PermissionClient/ListPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPermissions", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.ListPermissions", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.ListPermissions", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "ListPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListPermissionsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PermissionIterator", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "ListPermissions", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.ListPermissions", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService" - } - } + "shortName": "ListPermissions" }, + "description": "ListPermissions lists permissions for the specific resource.", + "file": "PermissionClient/ListPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_ListPermissions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListPermissions Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_TransferOwnership_sync", - "title": "generativelanguage TransferOwnership Sample", - "description": "TransferOwnership transfers ownership of the tuned model.\nThis is the only way to change ownership of the tuned model.\nThe current owner will be downgraded to writer role.", - "file": "PermissionClient/TransferOwnership/main.go", - "language": "GO", "clientMethod": { - "shortName": "TransferOwnership", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.TransferOwnership", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.TransferOwnership", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "TransferOwnership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.TransferOwnershipRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.TransferOwnershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.TransferOwnershipResponse", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "TransferOwnership", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.TransferOwnership", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService" - } - } + "shortName": "TransferOwnership" }, + "description": "TransferOwnership transfers ownership of the tuned model.\nThis is the only way to change ownership of the tuned model.\nThe current owner will be downgraded to writer role.", + "file": "PermissionClient/TransferOwnership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_TransferOwnership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "generativelanguage_v1alpha_generated_PermissionService_UpdatePermission_sync", - "title": "generativelanguage UpdatePermission Sample", - "description": "UpdatePermission updates the permission.", - "file": "PermissionClient/UpdatePermission/main.go", - "language": "GO", + ], + "title": "generativelanguage TransferOwnership Sample" + }, + { "clientMethod": { - "shortName": "UpdatePermission", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient.UpdatePermission", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.UpdatePermission", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "UpdatePermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdatePermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdatePermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Permission", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionClient" - }, - "method": { - "shortName": "UpdatePermission", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService.UpdatePermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1alpha.PermissionService" - } - } + "shortName": "UpdatePermission" }, + "description": "UpdatePermission updates the permission.", + "file": "PermissionClient/UpdatePermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PermissionService_UpdatePermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdatePermission Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PredictionService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PredictionService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_PredictionService_Predict_sync", - "title": "generativelanguage Predict Sample", - "description": "Predict performs a prediction request.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient.Predict", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.PredictionService.Predict", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.PredictRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1alpha.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.ai.generativelanguage.v1alpha.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.ai.generativelanguage.v1alpha.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict performs a prediction request.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage Predict Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_BatchCreateChunks_sync", - "title": "generativelanguage BatchCreateChunks Sample", - "description": "BatchCreateChunks batch create `Chunk`s.", - "file": "RetrieverClient/BatchCreateChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.BatchCreateChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.BatchCreateChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "BatchCreateChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchCreateChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchCreateChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchCreateChunksResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "BatchCreateChunks", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.BatchCreateChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "BatchCreateChunks" }, + "description": "BatchCreateChunks batch create `Chunk`s.", + "file": "RetrieverClient/BatchCreateChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_BatchCreateChunks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchCreateChunks Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_BatchDeleteChunks_sync", - "title": "generativelanguage BatchDeleteChunks Sample", - "description": "BatchDeleteChunks batch delete `Chunk`s.", - "file": "RetrieverClient/BatchDeleteChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.BatchDeleteChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.BatchDeleteChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "BatchDeleteChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchDeleteChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchDeleteChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "BatchDeleteChunks", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.BatchDeleteChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "BatchDeleteChunks" }, + "description": "BatchDeleteChunks batch delete `Chunk`s.", + "file": "RetrieverClient/BatchDeleteChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_BatchDeleteChunks_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchDeleteChunks Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_BatchUpdateChunks_sync", - "title": "generativelanguage BatchUpdateChunks Sample", - "description": "BatchUpdateChunks batch update `Chunk`s.", - "file": "RetrieverClient/BatchUpdateChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.BatchUpdateChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.BatchUpdateChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "BatchUpdateChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchUpdateChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchUpdateChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchUpdateChunksResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "BatchUpdateChunks", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.BatchUpdateChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "BatchUpdateChunks" }, + "description": "BatchUpdateChunks batch update `Chunk`s.", + "file": "RetrieverClient/BatchUpdateChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_BatchUpdateChunks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchUpdateChunks Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_CreateChunk_sync", - "title": "generativelanguage CreateChunk Sample", - "description": "CreateChunk creates a `Chunk`.", - "file": "RetrieverClient/CreateChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.CreateChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.CreateChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "CreateChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Chunk", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "CreateChunk", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.CreateChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "CreateChunk" }, + "description": "CreateChunk creates a `Chunk`.", + "file": "RetrieverClient/CreateChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_CreateChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateChunk Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_CreateCorpus_sync", - "title": "generativelanguage CreateCorpus Sample", - "description": "CreateCorpus creates an empty `Corpus`.", - "file": "RetrieverClient/CreateCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.CreateCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.CreateCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "CreateCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Corpus", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "CreateCorpus", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.CreateCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "CreateCorpus" }, + "description": "CreateCorpus creates an empty `Corpus`.", + "file": "RetrieverClient/CreateCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_CreateCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateCorpus Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_CreateDocument_sync", - "title": "generativelanguage CreateDocument Sample", - "description": "CreateDocument creates an empty `Document`.", - "file": "RetrieverClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.CreateDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.CreateDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Document", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.CreateDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates an empty `Document`.", + "file": "RetrieverClient/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_CreateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateDocument Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_DeleteChunk_sync", - "title": "generativelanguage DeleteChunk Sample", - "description": "DeleteChunk deletes a `Chunk`.", - "file": "RetrieverClient/DeleteChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.DeleteChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.DeleteChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "DeleteChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "DeleteChunk", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.DeleteChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteChunk" }, + "description": "DeleteChunk deletes a `Chunk`.", + "file": "RetrieverClient/DeleteChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_DeleteChunk_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteChunk Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_DeleteCorpus_sync", - "title": "generativelanguage DeleteCorpus Sample", - "description": "DeleteCorpus deletes a `Corpus`.", - "file": "RetrieverClient/DeleteCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.DeleteCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.DeleteCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "DeleteCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "DeleteCorpus", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.DeleteCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "DeleteCorpus" }, + "description": "DeleteCorpus deletes a `Corpus`.", + "file": "RetrieverClient/DeleteCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_DeleteCorpus_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteCorpus Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_DeleteDocument_sync", - "title": "generativelanguage DeleteDocument Sample", - "description": "DeleteDocument deletes a `Document`.", - "file": "RetrieverClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.DeleteDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.DeleteDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.DeleteDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes a `Document`.", + "file": "RetrieverClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteDocument Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetChunk_sync", - "title": "generativelanguage GetChunk Sample", - "description": "GetChunk gets information about a specific `Chunk`.", - "file": "RetrieverClient/GetChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.GetChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.GetChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "GetChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Chunk", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "GetChunk", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.GetChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "GetChunk" }, + "description": "GetChunk gets information about a specific `Chunk`.", + "file": "RetrieverClient/GetChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetChunk Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetCorpus_sync", - "title": "generativelanguage GetCorpus Sample", - "description": "GetCorpus gets information about a specific `Corpus`.", - "file": "RetrieverClient/GetCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.GetCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.GetCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "GetCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Corpus", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "GetCorpus", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.GetCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "GetCorpus" }, + "description": "GetCorpus gets information about a specific `Corpus`.", + "file": "RetrieverClient/GetCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetCorpus Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetDocument_sync", - "title": "generativelanguage GetDocument Sample", - "description": "GetDocument gets information about a specific `Document`.", - "file": "RetrieverClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.GetDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.GetDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Document", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.GetDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument gets information about a specific `Document`.", + "file": "RetrieverClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetDocument Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RetrieverClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RetrieverClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListChunks_sync", - "title": "generativelanguage ListChunks Sample", - "description": "ListChunks lists all `Chunk`s in a `Document`.", - "file": "RetrieverClient/ListChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.ListChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.ListChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "ListChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChunkIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "ListChunks", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.ListChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "ListChunks" }, + "description": "ListChunks lists all `Chunk`s in a `Document`.", + "file": "RetrieverClient/ListChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListChunks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListChunks Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListCorpora_sync", - "title": "generativelanguage ListCorpora Sample", - "description": "ListCorpora lists all `Corpora` owned by the user.", - "file": "RetrieverClient/ListCorpora/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCorpora", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.ListCorpora", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.ListCorpora", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "ListCorpora" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListCorporaRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListCorporaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CorpusIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "ListCorpora", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.ListCorpora", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "ListCorpora" }, + "description": "ListCorpora lists all `Corpora` owned by the user.", + "file": "RetrieverClient/ListCorpora/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListCorpora_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListCorpora Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListDocuments_sync", - "title": "generativelanguage ListDocuments Sample", - "description": "ListDocuments lists all `Document`s in a `Corpus`.", - "file": "RetrieverClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.ListDocuments", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.ListDocuments", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.ListDocuments", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments lists all `Document`s in a `Corpus`.", + "file": "RetrieverClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListDocuments Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RetrieverClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RetrieverClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_QueryCorpus_sync", - "title": "generativelanguage QueryCorpus Sample", - "description": "QueryCorpus performs semantic search over a `Corpus`.", - "file": "RetrieverClient/QueryCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.QueryCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.QueryCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "QueryCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.QueryCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.QueryCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.QueryCorpusResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "QueryCorpus", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.QueryCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "QueryCorpus" }, + "description": "QueryCorpus performs semantic search over a `Corpus`.", + "file": "RetrieverClient/QueryCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_QueryCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage QueryCorpus Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_QueryDocument_sync", - "title": "generativelanguage QueryDocument Sample", - "description": "QueryDocument performs semantic search over a `Document`.", - "file": "RetrieverClient/QueryDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.QueryDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.QueryDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "QueryDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.QueryDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.QueryDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.QueryDocumentResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "QueryDocument", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.QueryDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "QueryDocument" }, + "description": "QueryDocument performs semantic search over a `Document`.", + "file": "RetrieverClient/QueryDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_QueryDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage QueryDocument Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_UpdateChunk_sync", - "title": "generativelanguage UpdateChunk Sample", - "description": "UpdateChunk updates a `Chunk`.", - "file": "RetrieverClient/UpdateChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.UpdateChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.UpdateChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "UpdateChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Chunk", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "UpdateChunk", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.UpdateChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "UpdateChunk" }, + "description": "UpdateChunk updates a `Chunk`.", + "file": "RetrieverClient/UpdateChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_UpdateChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateChunk Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_UpdateCorpus_sync", - "title": "generativelanguage UpdateCorpus Sample", - "description": "UpdateCorpus updates a `Corpus`.", - "file": "RetrieverClient/UpdateCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.UpdateCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.UpdateCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "UpdateCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Corpus", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "UpdateCorpus", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.UpdateCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "UpdateCorpus" }, + "description": "UpdateCorpus updates a `Corpus`.", + "file": "RetrieverClient/UpdateCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_UpdateCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateCorpus Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_UpdateDocument_sync", - "title": "generativelanguage UpdateDocument Sample", - "description": "UpdateDocument updates a `Document`.", - "file": "RetrieverClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient.UpdateDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.UpdateDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Document", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService.UpdateDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1alpha.RetrieverService" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates a `Document`.", + "file": "RetrieverClient/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_RetrieverService_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateDocument Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_TextService_BatchEmbedText_sync", - "title": "generativelanguage BatchEmbedText Sample", - "description": "BatchEmbedText generates multiple embeddings from the model given input text in a\nsynchronous call.", - "file": "TextClient/BatchEmbedText/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchEmbedText", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.TextClient.BatchEmbedText", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService.BatchEmbedText", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService", + "shortName": "TextService" + }, + "shortName": "BatchEmbedText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchEmbedTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchEmbedTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchEmbedTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1alpha.TextClient" - }, - "method": { - "shortName": "BatchEmbedText", - "fullName": "google.ai.generativelanguage.v1alpha.TextService.BatchEmbedText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1alpha.TextService" - } - } + "shortName": "BatchEmbedText" }, + "description": "BatchEmbedText generates multiple embeddings from the model given input text in a\nsynchronous call.", + "file": "TextClient/BatchEmbedText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_TextService_BatchEmbedText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchEmbedText Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_TextService_CountTextTokens_sync", - "title": "generativelanguage CountTextTokens Sample", - "description": "CountTextTokens runs a model's tokenizer on a text and returns the token count.", - "file": "TextClient/CountTextTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTextTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.TextClient.CountTextTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService.CountTextTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService", + "shortName": "TextService" + }, + "shortName": "CountTextTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountTextTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountTextTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountTextTokensResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1alpha.TextClient" - }, - "method": { - "shortName": "CountTextTokens", - "fullName": "google.ai.generativelanguage.v1alpha.TextService.CountTextTokens", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1alpha.TextService" - } - } + "shortName": "CountTextTokens" }, + "description": "CountTextTokens runs a model's tokenizer on a text and returns the token count.", + "file": "TextClient/CountTextTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_TextService_CountTextTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountTextTokens Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_TextService_EmbedText_sync", - "title": "generativelanguage EmbedText Sample", - "description": "EmbedText generates an embedding from the model given an input message.", - "file": "TextClient/EmbedText/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedText", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.TextClient.EmbedText", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService.EmbedText", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService", + "shortName": "TextService" + }, + "shortName": "EmbedText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.EmbedTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.EmbedTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.EmbedTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1alpha.TextClient" - }, - "method": { - "shortName": "EmbedText", - "fullName": "google.ai.generativelanguage.v1alpha.TextService.EmbedText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1alpha.TextService" - } - } + "shortName": "EmbedText" }, + "description": "EmbedText generates an embedding from the model given an input message.", + "file": "TextClient/EmbedText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_TextService_EmbedText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage EmbedText Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_TextService_GenerateText_sync", - "title": "generativelanguage GenerateText Sample", - "description": "GenerateText generates a response from the model given an input message.", - "file": "TextClient/GenerateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateText", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.TextClient.GenerateText", + "method": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService.GenerateText", + "service": { + "fullName": "google.ai.generativelanguage.v1alpha.TextService", + "shortName": "TextService" + }, + "shortName": "GenerateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1alpha.TextClient" - }, - "method": { - "shortName": "GenerateText", - "fullName": "google.ai.generativelanguage.v1alpha.TextService.GenerateText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1alpha.TextService" - } - } + "shortName": "GenerateText" }, + "description": "GenerateText generates a response from the model given an input message.", + "file": "TextClient/GenerateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_TextService_GenerateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateText Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_TextService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TextClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.TextClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1alpha.TextClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TextClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_TextService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1alpha_generated_TextService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TextClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1alpha.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1alpha.TextClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1alpha.TextClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TextClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1alpha_generated_TextService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json b/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json index 094c26cc3618..21af5989f5c7 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json @@ -1,4263 +1,4263 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta", - "version": "0.15.0", - "language": "GO", "apis": [ { "id": "google.ai.generativelanguage.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta", + "version": "0.15.0" }, "snippets": [ { - "regionTag": "generativelanguage_v1beta_generated_CacheService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CacheClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CacheClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_CreateCachedContent_sync", - "title": "generativelanguage CreateCachedContent Sample", - "description": "CreateCachedContent creates CachedContent resource.", - "file": "CacheClient/CreateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.CreateCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService.CreateCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService", + "shortName": "CacheService" + }, + "shortName": "CreateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CachedContent", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "CreateCachedContent", - "fullName": "google.ai.generativelanguage.v1beta.CacheService.CreateCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1beta.CacheService" - } - } + "shortName": "CreateCachedContent" }, + "description": "CreateCachedContent creates CachedContent resource.", + "file": "CacheClient/CreateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_CreateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateCachedContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_DeleteCachedContent_sync", - "title": "generativelanguage DeleteCachedContent Sample", - "description": "DeleteCachedContent deletes CachedContent resource.", - "file": "CacheClient/DeleteCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.DeleteCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService.DeleteCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService", + "shortName": "CacheService" + }, + "shortName": "DeleteCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "DeleteCachedContent", - "fullName": "google.ai.generativelanguage.v1beta.CacheService.DeleteCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1beta.CacheService" - } - } + "shortName": "DeleteCachedContent" }, + "description": "DeleteCachedContent deletes CachedContent resource.", + "file": "CacheClient/DeleteCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_DeleteCachedContent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteCachedContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CacheClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CacheClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_GetCachedContent_sync", - "title": "generativelanguage GetCachedContent Sample", - "description": "GetCachedContent reads CachedContent resource.", - "file": "CacheClient/GetCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.GetCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService.GetCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService", + "shortName": "CacheService" + }, + "shortName": "GetCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CachedContent", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "GetCachedContent", - "fullName": "google.ai.generativelanguage.v1beta.CacheService.GetCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1beta.CacheService" - } - } + "shortName": "GetCachedContent" }, + "description": "GetCachedContent reads CachedContent resource.", + "file": "CacheClient/GetCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_GetCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetCachedContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CacheClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CacheClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_ListCachedContents_sync", - "title": "generativelanguage ListCachedContents Sample", - "description": "ListCachedContents lists CachedContents.", - "file": "CacheClient/ListCachedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCachedContents", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.ListCachedContents", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService.ListCachedContents", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService", + "shortName": "CacheService" + }, + "shortName": "ListCachedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListCachedContentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListCachedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CachedContentIterator", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "ListCachedContents", - "fullName": "google.ai.generativelanguage.v1beta.CacheService.ListCachedContents", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1beta.CacheService" - } - } + "shortName": "ListCachedContents" }, + "description": "ListCachedContents lists CachedContents.", + "file": "CacheClient/ListCachedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_ListCachedContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListCachedContents Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CacheClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CacheClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_CacheService_UpdateCachedContent_sync", - "title": "generativelanguage UpdateCachedContent Sample", - "description": "UpdateCachedContent updates CachedContent resource (only expiration is updatable).", - "file": "CacheClient/UpdateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCachedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.CacheClient", + "shortName": "CacheClient" + }, "fullName": "google.ai.generativelanguage.v1beta.CacheClient.UpdateCachedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService.UpdateCachedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.CacheService", + "shortName": "CacheService" + }, + "shortName": "UpdateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateCachedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CachedContent", - "client": { - "shortName": "CacheClient", - "fullName": "google.ai.generativelanguage.v1beta.CacheClient" - }, - "method": { - "shortName": "UpdateCachedContent", - "fullName": "google.ai.generativelanguage.v1beta.CacheService.UpdateCachedContent", - "service": { - "shortName": "CacheService", - "fullName": "google.ai.generativelanguage.v1beta.CacheService" - } - } + "shortName": "UpdateCachedContent" }, + "description": "UpdateCachedContent updates CachedContent resource (only expiration is updatable).", + "file": "CacheClient/UpdateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_CacheService_UpdateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateCachedContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_DiscussService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DiscussClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta.DiscussClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta.DiscussClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DiscussClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_DiscussService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_DiscussService_CountMessageTokens_sync", - "title": "generativelanguage CountMessageTokens Sample", - "description": "CountMessageTokens runs a model's tokenizer on a string and returns the token count.", - "file": "DiscussClient/CountMessageTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountMessageTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta.DiscussClient.CountMessageTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussService.CountMessageTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussService", + "shortName": "DiscussService" + }, + "shortName": "CountMessageTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountMessageTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountMessageTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountMessageTokensResponse", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta.DiscussClient" - }, - "method": { - "shortName": "CountMessageTokens", - "fullName": "google.ai.generativelanguage.v1beta.DiscussService.CountMessageTokens", - "service": { - "shortName": "DiscussService", - "fullName": "google.ai.generativelanguage.v1beta.DiscussService" - } - } + "shortName": "CountMessageTokens" }, + "description": "CountMessageTokens runs a model's tokenizer on a string and returns the token count.", + "file": "DiscussClient/CountMessageTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_DiscussService_CountMessageTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountMessageTokens Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_DiscussService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DiscussClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta.DiscussClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta.DiscussClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DiscussClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_DiscussService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_DiscussService_GenerateMessage_sync", - "title": "generativelanguage GenerateMessage Sample", - "description": "GenerateMessage generates a response from the model given an input `MessagePrompt`.", - "file": "DiscussClient/GenerateMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateMessage", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta.DiscussClient.GenerateMessage", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussService.GenerateMessage", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussService", + "shortName": "DiscussService" + }, + "shortName": "GenerateMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateMessageRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateMessageResponse", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta.DiscussClient" - }, - "method": { - "shortName": "GenerateMessage", - "fullName": "google.ai.generativelanguage.v1beta.DiscussService.GenerateMessage", - "service": { - "shortName": "DiscussService", - "fullName": "google.ai.generativelanguage.v1beta.DiscussService" - } - } + "shortName": "GenerateMessage" }, + "description": "GenerateMessage generates a response from the model given an input `MessagePrompt`.", + "file": "DiscussClient/GenerateMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_DiscussService_GenerateMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateMessage Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_DiscussService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DiscussClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta.DiscussClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta.DiscussClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DiscussClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_DiscussService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_DiscussService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DiscussClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta.DiscussClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta.DiscussClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DiscussClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_DiscussService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FileClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FileClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_CreateFile_sync", - "title": "generativelanguage CreateFile Sample", - "description": "CreateFile creates a `File`.", - "file": "FileClient/CreateFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFile", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.CreateFile", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.FileService.CreateFile", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.FileService", + "shortName": "FileService" + }, + "shortName": "CreateFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CreateFileResponse", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "CreateFile", - "fullName": "google.ai.generativelanguage.v1beta.FileService.CreateFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1beta.FileService" - } - } + "shortName": "CreateFile" }, + "description": "CreateFile creates a `File`.", + "file": "FileClient/CreateFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_CreateFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateFile Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_DeleteFile_sync", - "title": "generativelanguage DeleteFile Sample", - "description": "DeleteFile deletes the `File`.", - "file": "FileClient/DeleteFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFile", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.DeleteFile", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.FileService.DeleteFile", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.FileService", + "shortName": "FileService" + }, + "shortName": "DeleteFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "DeleteFile", - "fullName": "google.ai.generativelanguage.v1beta.FileService.DeleteFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1beta.FileService" - } - } + "shortName": "DeleteFile" }, + "description": "DeleteFile deletes the `File`.", + "file": "FileClient/DeleteFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_DeleteFile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteFile Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FileClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FileClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_DownloadFile_sync", - "title": "generativelanguage DownloadFile Sample", - "description": "DownloadFile download the `File`.", - "file": "FileClient/DownloadFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DownloadFile", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.DownloadFile", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.FileService.DownloadFile", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.FileService", + "shortName": "FileService" + }, + "shortName": "DownloadFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DownloadFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DownloadFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.DownloadFileResponse", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "DownloadFile", - "fullName": "google.ai.generativelanguage.v1beta.FileService.DownloadFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1beta.FileService" - } - } + "shortName": "DownloadFile" }, + "description": "DownloadFile download the `File`.", + "file": "FileClient/DownloadFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_DownloadFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DownloadFile Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_GetFile_sync", - "title": "generativelanguage GetFile Sample", - "description": "GetFile gets the metadata for the given `File`.", - "file": "FileClient/GetFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFile", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.GetFile", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.FileService.GetFile", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.FileService", + "shortName": "FileService" + }, + "shortName": "GetFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetFileRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.File", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "GetFile", - "fullName": "google.ai.generativelanguage.v1beta.FileService.GetFile", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1beta.FileService" - } - } + "shortName": "GetFile" }, + "description": "GetFile gets the metadata for the given `File`.", + "file": "FileClient/GetFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_GetFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetFile Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FileClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FileClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_ListFiles_sync", - "title": "generativelanguage ListFiles Sample", - "description": "ListFiles lists the metadata for `File`s owned by the requesting project.", - "file": "FileClient/ListFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFiles", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.ListFiles", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.FileService.ListFiles", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.FileService", + "shortName": "FileService" + }, + "shortName": "ListFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListFilesRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileIterator", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "ListFiles", - "fullName": "google.ai.generativelanguage.v1beta.FileService.ListFiles", - "service": { - "shortName": "FileService", - "fullName": "google.ai.generativelanguage.v1beta.FileService" - } - } + "shortName": "ListFiles" }, + "description": "ListFiles lists the metadata for `File`s owned by the requesting project.", + "file": "FileClient/ListFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_ListFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListFiles Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_FileService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FileClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.FileClient", + "shortName": "FileClient" + }, "fullName": "google.ai.generativelanguage.v1beta.FileClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FileClient", - "fullName": "google.ai.generativelanguage.v1beta.FileClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FileClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_FileService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_BatchEmbedContents_sync", - "title": "generativelanguage BatchEmbedContents Sample", - "description": "BatchEmbedContents generates multiple embedding vectors from the input `Content` which\nconsists of a batch of strings represented as `EmbedContentRequest`\nobjects.", - "file": "GenerativeClient/BatchEmbedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchEmbedContents", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.BatchEmbedContents", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.BatchEmbedContents", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "BatchEmbedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchEmbedContentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchEmbedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchEmbedContentsResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "BatchEmbedContents", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.BatchEmbedContents", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService" - } - } + "shortName": "BatchEmbedContents" }, + "description": "BatchEmbedContents generates multiple embedding vectors from the input `Content` which\nconsists of a batch of strings represented as `EmbedContentRequest`\nobjects.", + "file": "GenerativeClient/BatchEmbedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_BatchEmbedContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchEmbedContents Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_BidiGenerateContent_sync", - "title": "generativelanguage BidiGenerateContent Sample", - "description": "BidiGenerateContent low-Latency bidirectional streaming API that supports audio and video\nstreaming inputs can produce multimodal output streams (audio and text).\n\n\nThis method is not supported for the REST transport.", - "file": "GenerativeClient/BidiGenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "BidiGenerateContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.BidiGenerateContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "BidiGenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "generativelanguagepb.GenerativeService_BidiGenerateContentClient", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "BidiGenerateContent", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService" - } - } + "shortName": "BidiGenerateContent" }, + "description": "BidiGenerateContent low-Latency bidirectional streaming API that supports audio and video\nstreaming inputs can produce multimodal output streams (audio and text).\n\n\nThis method is not supported for the REST transport.", + "file": "GenerativeClient/BidiGenerateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_BidiGenerateContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BidiGenerateContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_CountTokens_sync", - "title": "generativelanguage CountTokens Sample", - "description": "CountTokens runs a model's tokenizer on input `Content` and returns the token count.\nRefer to the [tokens guide](https: //ai.google.dev/gemini-api/docs/tokens)\nto learn more about tokens.", - "file": "GenerativeClient/CountTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.CountTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.CountTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "CountTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountTokensResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "CountTokens", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.CountTokens", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService" - } - } + "shortName": "CountTokens" }, + "description": "CountTokens runs a model's tokenizer on input `Content` and returns the token count.\nRefer to the [tokens guide](https: //ai.google.dev/gemini-api/docs/tokens)\nto learn more about tokens.", + "file": "GenerativeClient/CountTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_CountTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountTokens Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_EmbedContent_sync", - "title": "generativelanguage EmbedContent Sample", - "description": "EmbedContent generates a text embedding vector from the input `Content` using the\nspecified [Gemini Embedding\nmodel](https: //ai.google.dev/gemini-api/docs/models/gemini#text-embedding).", - "file": "GenerativeClient/EmbedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.EmbedContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.EmbedContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "EmbedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.EmbedContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.EmbedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.EmbedContentResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "EmbedContent", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.EmbedContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService" - } - } + "shortName": "EmbedContent" }, + "description": "EmbedContent generates a text embedding vector from the input `Content` using the\nspecified [Gemini Embedding\nmodel](https: //ai.google.dev/gemini-api/docs/models/gemini#text-embedding).", + "file": "GenerativeClient/EmbedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_EmbedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage EmbedContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_GenerateAnswer_sync", - "title": "generativelanguage GenerateAnswer Sample", - "description": "GenerateAnswer generates a grounded answer from the model given an input\n`GenerateAnswerRequest`.", - "file": "GenerativeClient/GenerateAnswer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAnswer", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.GenerateAnswer", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.GenerateAnswer", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "GenerateAnswer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateAnswerRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateAnswerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateAnswerResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "GenerateAnswer", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.GenerateAnswer", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService" - } - } + "shortName": "GenerateAnswer" }, + "description": "GenerateAnswer generates a grounded answer from the model given an input\n`GenerateAnswerRequest`.", + "file": "GenerativeClient/GenerateAnswer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_GenerateAnswer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateAnswer Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_GenerateContent_sync", - "title": "generativelanguage GenerateContent Sample", - "description": "GenerateContent generates a model response given an input `GenerateContentRequest`.\nRefer to the [text generation\nguide](https: //ai.google.dev/gemini-api/docs/text-generation) for detailed\nusage information. Input capabilities differ between models, including\ntuned models. Refer to the [model\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) and [tuning\nguide](https: //ai.google.dev/gemini-api/docs/model-tuning) for details.", - "file": "GenerativeClient/GenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateContent", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.GenerateContent", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", + "shortName": "GenerativeService" + }, + "shortName": "GenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateContentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateContentResponse", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "GenerateContent", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent", - "service": { - "shortName": "GenerativeService", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeService" - } - } + "shortName": "GenerateContent" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GenerateContent generates a model response given an input `GenerateContentRequest`.\nRefer to the [text generation\nguide](https: //ai.google.dev/gemini-api/docs/text-generation) for detailed\nusage information. Input capabilities differ between models, including\ntuned models. Refer to the [model\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) and [tuning\nguide](https: //ai.google.dev/gemini-api/docs/model-tuning) for details.", + "file": "GenerativeClient/GenerateContent/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_GenerateContent_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateContent Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_GenerativeService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenerativeClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient", + "shortName": "GenerativeClient" + }, "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenerativeClient", - "fullName": "google.ai.generativelanguage.v1beta.GenerativeClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenerativeClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_GenerativeService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_CreateTunedModel_sync", - "title": "generativelanguage CreateTunedModel Sample", - "description": "CreateTunedModel creates a tuned model.\nCheck intermediate tuning progress (if any) through the\n[google.longrunning.Operations] service.\n\nAccess status and results through the Operations service.\nExample: \nGET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222", - "file": "ModelClient/CreateTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.CreateTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.CreateTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "CreateTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTunedModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "CreateTunedModel", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.CreateTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "CreateTunedModel" }, + "description": "CreateTunedModel creates a tuned model.\nCheck intermediate tuning progress (if any) through the\n[google.longrunning.Operations] service.\n\nAccess status and results through the Operations service.\nExample: \nGET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222", + "file": "ModelClient/CreateTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_CreateTunedModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateTunedModel Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_DeleteTunedModel_sync", - "title": "generativelanguage DeleteTunedModel Sample", - "description": "DeleteTunedModel deletes a tuned model.", - "file": "ModelClient/DeleteTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.DeleteTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.DeleteTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "DeleteTunedModel", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.DeleteTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "DeleteTunedModel" }, + "description": "DeleteTunedModel deletes a tuned model.", + "file": "ModelClient/DeleteTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_DeleteTunedModel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteTunedModel Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_GetModel_sync", - "title": "generativelanguage GetModel Sample", - "description": "GetModel gets information about a specific `Model` such as its version number, token\nlimits,\n[parameters](https: //ai.google.dev/gemini-api/docs/models/generative-models#model-parameters)\nand other metadata. Refer to the [Gemini models\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) for detailed\nmodel information.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.GetModel", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.GetModel", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets information about a specific `Model` such as its version number, token\nlimits,\n[parameters](https: //ai.google.dev/gemini-api/docs/models/generative-models#model-parameters)\nand other metadata. Refer to the [Gemini models\nguide](https: //ai.google.dev/gemini-api/docs/models/gemini) for detailed\nmodel information.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetModel Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_GetTunedModel_sync", - "title": "generativelanguage GetTunedModel Sample", - "description": "GetTunedModel gets information about a specific TunedModel.", - "file": "ModelClient/GetTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.GetTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.GetTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.TunedModel", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "GetTunedModel", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.GetTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "GetTunedModel" }, + "description": "GetTunedModel gets information about a specific TunedModel.", + "file": "ModelClient/GetTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_GetTunedModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetTunedModel Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_ListModels_sync", - "title": "generativelanguage ListModels Sample", - "description": "ListModels lists the [`Model`s](https: //ai.google.dev/gemini-api/docs/models/gemini)\navailable through the Gemini API.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.ListModels", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.ListModels", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists the [`Model`s](https: //ai.google.dev/gemini-api/docs/models/gemini)\navailable through the Gemini API.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListModels Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.ListOperations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_ListTunedModels_sync", - "title": "generativelanguage ListTunedModels Sample", - "description": "ListTunedModels lists created tuned models.", - "file": "ModelClient/ListTunedModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTunedModels", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.ListTunedModels", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.ListTunedModels", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListTunedModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListTunedModelsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListTunedModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TunedModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "ListTunedModels", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.ListTunedModels", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "ListTunedModels" }, + "description": "ListTunedModels lists created tuned models.", + "file": "ModelClient/ListTunedModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_ListTunedModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListTunedModels Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_ModelService_UpdateTunedModel_sync", - "title": "generativelanguage UpdateTunedModel Sample", - "description": "UpdateTunedModel updates a tuned model.", - "file": "ModelClient/UpdateTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTunedModel", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta.ModelClient.UpdateTunedModel", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService.UpdateTunedModel", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateTunedModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.TunedModel", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta.ModelClient" - }, - "method": { - "shortName": "UpdateTunedModel", - "fullName": "google.ai.generativelanguage.v1beta.ModelService.UpdateTunedModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta.ModelService" - } - } + "shortName": "UpdateTunedModel" }, + "description": "UpdateTunedModel updates a tuned model.", + "file": "ModelClient/UpdateTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_ModelService_UpdateTunedModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateTunedModel Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PermissionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PermissionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_CreatePermission_sync", - "title": "generativelanguage CreatePermission Sample", - "description": "CreatePermission create a permission to a specific resource.", - "file": "PermissionClient/CreatePermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePermission", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.CreatePermission", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.CreatePermission", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "CreatePermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreatePermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreatePermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Permission", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "CreatePermission", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService.CreatePermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService" - } - } + "shortName": "CreatePermission" }, + "description": "CreatePermission create a permission to a specific resource.", + "file": "PermissionClient/CreatePermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_CreatePermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreatePermission Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PermissionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PermissionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_DeletePermission_sync", - "title": "generativelanguage DeletePermission Sample", - "description": "DeletePermission deletes the permission.", - "file": "PermissionClient/DeletePermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePermission", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.DeletePermission", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.DeletePermission", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "DeletePermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeletePermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeletePermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "DeletePermission", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService.DeletePermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService" - } - } + "shortName": "DeletePermission" }, + "description": "DeletePermission deletes the permission.", + "file": "PermissionClient/DeletePermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_DeletePermission_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeletePermission Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PermissionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PermissionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_GetPermission_sync", - "title": "generativelanguage GetPermission Sample", - "description": "GetPermission gets information about a specific Permission.", - "file": "PermissionClient/GetPermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPermission", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.GetPermission", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.GetPermission", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "GetPermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetPermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetPermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Permission", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "GetPermission", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService.GetPermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService" - } - } + "shortName": "GetPermission" }, + "description": "GetPermission gets information about a specific Permission.", + "file": "PermissionClient/GetPermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_GetPermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetPermission Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PermissionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PermissionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_ListPermissions_sync", - "title": "generativelanguage ListPermissions Sample", - "description": "ListPermissions lists permissions for the specific resource.", - "file": "PermissionClient/ListPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPermissions", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.ListPermissions", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.ListPermissions", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "ListPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListPermissionsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PermissionIterator", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "ListPermissions", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService.ListPermissions", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService" - } - } + "shortName": "ListPermissions" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListPermissions lists permissions for the specific resource.", + "file": "PermissionClient/ListPermissions/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_ListPermissions_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListPermissions Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_TransferOwnership_sync", - "title": "generativelanguage TransferOwnership Sample", - "description": "TransferOwnership transfers ownership of the tuned model.\nThis is the only way to change ownership of the tuned model.\nThe current owner will be downgraded to writer role.", - "file": "PermissionClient/TransferOwnership/main.go", - "language": "GO", "clientMethod": { - "shortName": "TransferOwnership", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.TransferOwnership", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.TransferOwnership", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "TransferOwnership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.TransferOwnershipRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.TransferOwnershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.TransferOwnershipResponse", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "TransferOwnership", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService.TransferOwnership", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService" - } - } + "shortName": "TransferOwnership" }, + "description": "TransferOwnership transfers ownership of the tuned model.\nThis is the only way to change ownership of the tuned model.\nThe current owner will be downgraded to writer role.", + "file": "PermissionClient/TransferOwnership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_TransferOwnership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage TransferOwnership Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PermissionService_UpdatePermission_sync", - "title": "generativelanguage UpdatePermission Sample", - "description": "UpdatePermission updates the permission.", - "file": "PermissionClient/UpdatePermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePermission", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionClient", + "shortName": "PermissionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PermissionClient.UpdatePermission", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.UpdatePermission", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", + "shortName": "PermissionService" + }, + "shortName": "UpdatePermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdatePermissionRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdatePermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Permission", - "client": { - "shortName": "PermissionClient", - "fullName": "google.ai.generativelanguage.v1beta.PermissionClient" - }, - "method": { - "shortName": "UpdatePermission", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService.UpdatePermission", - "service": { - "shortName": "PermissionService", - "fullName": "google.ai.generativelanguage.v1beta.PermissionService" - } - } + "shortName": "UpdatePermission" }, + "description": "UpdatePermission updates the permission.", + "file": "PermissionClient/UpdatePermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PermissionService_UpdatePermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdatePermission Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PredictionService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PredictionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1beta.PredictionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PredictionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PredictionService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PredictionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1beta.PredictionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PredictionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PredictionService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1beta.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PredictionService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1beta.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PredictionService_Predict_sync", - "title": "generativelanguage Predict Sample", - "description": "Predict performs a prediction request.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PredictionClient.Predict", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionService.Predict", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.PredictRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1beta.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.ai.generativelanguage.v1beta.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.ai.generativelanguage.v1beta.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict performs a prediction request.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage Predict Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_PredictionService_PredictLongRunning_sync", - "title": "generativelanguage PredictLongRunning Sample", - "description": "PredictLongRunning same as Predict but returns an LRO.", - "file": "PredictionClient/PredictLongRunning/main.go", - "language": "GO", "clientMethod": { - "shortName": "PredictLongRunning", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.ai.generativelanguage.v1beta.PredictionClient.PredictLongRunning", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionService.PredictLongRunning", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "PredictLongRunning" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.PredictLongRunningRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.PredictLongRunningRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PredictLongRunningOperation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.ai.generativelanguage.v1beta.PredictionClient" - }, - "method": { - "shortName": "PredictLongRunning", - "fullName": "google.ai.generativelanguage.v1beta.PredictionService.PredictLongRunning", - "service": { - "shortName": "PredictionService", - "fullName": "google.ai.generativelanguage.v1beta.PredictionService" - } - } + "shortName": "PredictLongRunning" }, + "description": "PredictLongRunning same as Predict but returns an LRO.", + "file": "PredictionClient/PredictLongRunning/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_PredictionService_PredictLongRunning_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage PredictLongRunning Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_BatchCreateChunks_sync", - "title": "generativelanguage BatchCreateChunks Sample", - "description": "BatchCreateChunks batch create `Chunk`s.", - "file": "RetrieverClient/BatchCreateChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.BatchCreateChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchCreateChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "BatchCreateChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchCreateChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchCreateChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchCreateChunksResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "BatchCreateChunks", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchCreateChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "BatchCreateChunks" }, + "description": "BatchCreateChunks batch create `Chunk`s.", + "file": "RetrieverClient/BatchCreateChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_BatchCreateChunks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchCreateChunks Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_BatchDeleteChunks_sync", - "title": "generativelanguage BatchDeleteChunks Sample", - "description": "BatchDeleteChunks batch delete `Chunk`s.", - "file": "RetrieverClient/BatchDeleteChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.BatchDeleteChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchDeleteChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "BatchDeleteChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchDeleteChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchDeleteChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "BatchDeleteChunks", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchDeleteChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "BatchDeleteChunks" }, + "description": "BatchDeleteChunks batch delete `Chunk`s.", + "file": "RetrieverClient/BatchDeleteChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_BatchDeleteChunks_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchDeleteChunks Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_BatchUpdateChunks_sync", - "title": "generativelanguage BatchUpdateChunks Sample", - "description": "BatchUpdateChunks batch update `Chunk`s.", - "file": "RetrieverClient/BatchUpdateChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.BatchUpdateChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchUpdateChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "BatchUpdateChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchUpdateChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchUpdateChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchUpdateChunksResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "BatchUpdateChunks", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchUpdateChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "BatchUpdateChunks" }, + "description": "BatchUpdateChunks batch update `Chunk`s.", + "file": "RetrieverClient/BatchUpdateChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_BatchUpdateChunks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchUpdateChunks Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RetrieverClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RetrieverClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CreateChunk_sync", - "title": "generativelanguage CreateChunk Sample", - "description": "CreateChunk creates a `Chunk`.", - "file": "RetrieverClient/CreateChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.CreateChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "CreateChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Chunk", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "CreateChunk", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "CreateChunk" }, + "description": "CreateChunk creates a `Chunk`.", + "file": "RetrieverClient/CreateChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CreateChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateChunk Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CreateCorpus_sync", - "title": "generativelanguage CreateCorpus Sample", - "description": "CreateCorpus creates an empty `Corpus`.", - "file": "RetrieverClient/CreateCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.CreateCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "CreateCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Corpus", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "CreateCorpus", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "CreateCorpus" }, + "description": "CreateCorpus creates an empty `Corpus`.", + "file": "RetrieverClient/CreateCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CreateCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateCorpus Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CreateDocument_sync", - "title": "generativelanguage CreateDocument Sample", - "description": "CreateDocument creates an empty `Document`.", - "file": "RetrieverClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.CreateDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Document", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates an empty `Document`.", + "file": "RetrieverClient/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_CreateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CreateDocument Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteChunk_sync", - "title": "generativelanguage DeleteChunk Sample", - "description": "DeleteChunk deletes a `Chunk`.", - "file": "RetrieverClient/DeleteChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.DeleteChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "DeleteChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "DeleteChunk", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "DeleteChunk" }, + "description": "DeleteChunk deletes a `Chunk`.", + "file": "RetrieverClient/DeleteChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteChunk_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteChunk Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteCorpus_sync", - "title": "generativelanguage DeleteCorpus Sample", - "description": "DeleteCorpus deletes a `Corpus`.", - "file": "RetrieverClient/DeleteCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.DeleteCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "DeleteCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "DeleteCorpus", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "DeleteCorpus" }, + "description": "DeleteCorpus deletes a `Corpus`.", + "file": "RetrieverClient/DeleteCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteCorpus_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteCorpus Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteDocument_sync", - "title": "generativelanguage DeleteDocument Sample", - "description": "DeleteDocument deletes a `Document`.", - "file": "RetrieverClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.DeleteDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes a `Document`.", + "file": "RetrieverClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteDocument Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "RetrieverClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "RetrieverClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetChunk_sync", - "title": "generativelanguage GetChunk Sample", - "description": "GetChunk gets information about a specific `Chunk`.", - "file": "RetrieverClient/GetChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.GetChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "GetChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Chunk", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "GetChunk", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "GetChunk" }, + "description": "GetChunk gets information about a specific `Chunk`.", + "file": "RetrieverClient/GetChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetChunk Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetCorpus_sync", - "title": "generativelanguage GetCorpus Sample", - "description": "GetCorpus gets information about a specific `Corpus`.", - "file": "RetrieverClient/GetCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.GetCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "GetCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Corpus", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "GetCorpus", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "GetCorpus" }, + "description": "GetCorpus gets information about a specific `Corpus`.", + "file": "RetrieverClient/GetCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetCorpus Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetDocument_sync", - "title": "generativelanguage GetDocument Sample", - "description": "GetDocument gets information about a specific `Document`.", - "file": "RetrieverClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.GetDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Document", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument gets information about a specific `Document`.", + "file": "RetrieverClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetDocument Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RetrieverClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RetrieverClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListChunks_sync", - "title": "generativelanguage ListChunks Sample", - "description": "ListChunks lists all `Chunk`s in a `Document`.", - "file": "RetrieverClient/ListChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChunks", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.ListChunks", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListChunks", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "ListChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListChunksRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChunkIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "ListChunks", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListChunks", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "ListChunks" }, + "description": "ListChunks lists all `Chunk`s in a `Document`.", + "file": "RetrieverClient/ListChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListChunks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListChunks Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListCorpora_sync", - "title": "generativelanguage ListCorpora Sample", - "description": "ListCorpora lists all `Corpora` owned by the user.", - "file": "RetrieverClient/ListCorpora/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCorpora", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.ListCorpora", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListCorpora", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "ListCorpora" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListCorporaRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListCorporaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CorpusIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "ListCorpora", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListCorpora", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "ListCorpora" }, + "description": "ListCorpora lists all `Corpora` owned by the user.", + "file": "RetrieverClient/ListCorpora/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListCorpora_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListCorpora Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListDocuments_sync", - "title": "generativelanguage ListDocuments Sample", - "description": "ListDocuments lists all `Document`s in a `Corpus`.", - "file": "RetrieverClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.ListDocuments", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListDocuments", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListDocuments", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments lists all `Document`s in a `Corpus`.", + "file": "RetrieverClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListDocuments Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RetrieverClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RetrieverClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_QueryCorpus_sync", - "title": "generativelanguage QueryCorpus Sample", - "description": "QueryCorpus performs semantic search over a `Corpus`.", - "file": "RetrieverClient/QueryCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.QueryCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.QueryCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "QueryCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.QueryCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.QueryCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.QueryCorpusResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "QueryCorpus", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.QueryCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "QueryCorpus" }, + "description": "QueryCorpus performs semantic search over a `Corpus`.", + "file": "RetrieverClient/QueryCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_QueryCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage QueryCorpus Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_QueryDocument_sync", - "title": "generativelanguage QueryDocument Sample", - "description": "QueryDocument performs semantic search over a `Document`.", - "file": "RetrieverClient/QueryDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.QueryDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.QueryDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "QueryDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.QueryDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.QueryDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.QueryDocumentResponse", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "QueryDocument", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.QueryDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "QueryDocument" }, + "description": "QueryDocument performs semantic search over a `Document`.", + "file": "RetrieverClient/QueryDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_QueryDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage QueryDocument Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_UpdateChunk_sync", - "title": "generativelanguage UpdateChunk Sample", - "description": "UpdateChunk updates a `Chunk`.", - "file": "RetrieverClient/UpdateChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateChunk", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.UpdateChunk", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateChunk", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "UpdateChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateChunkRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Chunk", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "UpdateChunk", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateChunk", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "UpdateChunk" }, + "description": "UpdateChunk updates a `Chunk`.", + "file": "RetrieverClient/UpdateChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_UpdateChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateChunk Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_UpdateCorpus_sync", - "title": "generativelanguage UpdateCorpus Sample", - "description": "UpdateCorpus updates a `Corpus`.", - "file": "RetrieverClient/UpdateCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCorpus", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.UpdateCorpus", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateCorpus", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "UpdateCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateCorpusRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Corpus", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "UpdateCorpus", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateCorpus", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "UpdateCorpus" }, + "description": "UpdateCorpus updates a `Corpus`.", + "file": "RetrieverClient/UpdateCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_UpdateCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateCorpus Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_RetrieverService_UpdateDocument_sync", - "title": "generativelanguage UpdateDocument Sample", - "description": "UpdateDocument updates a `Document`.", - "file": "RetrieverClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient", + "shortName": "RetrieverClient" + }, "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient.UpdateDocument", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateDocument", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", + "shortName": "RetrieverService" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Document", - "client": { - "shortName": "RetrieverClient", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateDocument", - "service": { - "shortName": "RetrieverService", - "fullName": "google.ai.generativelanguage.v1beta.RetrieverService" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates a `Document`.", + "file": "RetrieverClient/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_RetrieverService_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage UpdateDocument Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_BatchEmbedText_sync", - "title": "generativelanguage BatchEmbedText Sample", - "description": "BatchEmbedText generates multiple embeddings from the model given input text in a\nsynchronous call.", - "file": "TextClient/BatchEmbedText/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchEmbedText", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.BatchEmbedText", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.TextService.BatchEmbedText", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.TextService", + "shortName": "TextService" + }, + "shortName": "BatchEmbedText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.BatchEmbedTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.BatchEmbedTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.BatchEmbedTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "BatchEmbedText", - "fullName": "google.ai.generativelanguage.v1beta.TextService.BatchEmbedText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1beta.TextService" - } - } + "shortName": "BatchEmbedText" }, + "description": "BatchEmbedText generates multiple embeddings from the model given input text in a\nsynchronous call.", + "file": "TextClient/BatchEmbedText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_BatchEmbedText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage BatchEmbedText Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_CancelOperation_sync", - "title": "generativelanguage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TextClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TextClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CancelOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_CountTextTokens_sync", - "title": "generativelanguage CountTextTokens Sample", - "description": "CountTextTokens runs a model's tokenizer on a text and returns the token count.", - "file": "TextClient/CountTextTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTextTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.CountTextTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.TextService.CountTextTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.TextService", + "shortName": "TextService" + }, + "shortName": "CountTextTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountTextTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountTextTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountTextTokensResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "CountTextTokens", - "fullName": "google.ai.generativelanguage.v1beta.TextService.CountTextTokens", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1beta.TextService" - } - } + "shortName": "CountTextTokens" }, + "description": "CountTextTokens runs a model's tokenizer on a text and returns the token count.", + "file": "TextClient/CountTextTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_CountTextTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountTextTokens Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_DeleteOperation_sync", - "title": "generativelanguage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TextClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TextClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage DeleteOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_EmbedText_sync", - "title": "generativelanguage EmbedText Sample", - "description": "EmbedText generates an embedding from the model given an input message.", - "file": "TextClient/EmbedText/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedText", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.EmbedText", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.TextService.EmbedText", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.TextService", + "shortName": "TextService" + }, + "shortName": "EmbedText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.EmbedTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.EmbedTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.EmbedTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "EmbedText", - "fullName": "google.ai.generativelanguage.v1beta.TextService.EmbedText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1beta.TextService" - } - } + "shortName": "EmbedText" }, + "description": "EmbedText generates an embedding from the model given an input message.", + "file": "TextClient/EmbedText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_EmbedText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage EmbedText Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_GenerateText_sync", - "title": "generativelanguage GenerateText Sample", - "description": "GenerateText generates a response from the model given an input message.", - "file": "TextClient/GenerateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateText", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.GenerateText", + "method": { + "fullName": "google.ai.generativelanguage.v1beta.TextService.GenerateText", + "service": { + "fullName": "google.ai.generativelanguage.v1beta.TextService", + "shortName": "TextService" + }, + "shortName": "GenerateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "GenerateText", - "fullName": "google.ai.generativelanguage.v1beta.TextService.GenerateText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1beta.TextService" - } - } + "shortName": "GenerateText" }, + "description": "GenerateText generates a response from the model given an input message.", + "file": "TextClient/GenerateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_GenerateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateText Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_GetOperation_sync", - "title": "generativelanguage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TextClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TextClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetOperation Sample" }, { - "regionTag": "generativelanguage_v1beta_generated_TextService_ListOperations_sync", - "title": "generativelanguage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TextClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.ai.generativelanguage.v1beta.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta.TextClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta.TextClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TextClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta_generated_TextService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json index be55dd6947e1..5f1727ee21c8 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta2", - "version": "0.15.0", - "language": "GO", "apis": [ { "id": "google.ai.generativelanguage.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ai/generativelanguage/apiv1beta2", + "version": "0.15.0" }, "snippets": [ { - "regionTag": "generativelanguage_v1beta2_generated_DiscussService_CountMessageTokens_sync", - "title": "generativelanguage CountMessageTokens Sample", - "description": "CountMessageTokens runs a model's tokenizer on a string and returns the token count.", - "file": "DiscussClient/CountMessageTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountMessageTokens", + "client": { + "fullName": "google.ai.generativelanguage.v1beta2.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta2.DiscussClient.CountMessageTokens", + "method": { + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService.CountMessageTokens", + "service": { + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService", + "shortName": "DiscussService" + }, + "shortName": "CountMessageTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.CountMessageTokensRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.CountMessageTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.CountMessageTokensResponse", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta2.DiscussClient" - }, - "method": { - "shortName": "CountMessageTokens", - "fullName": "google.ai.generativelanguage.v1beta2.DiscussService.CountMessageTokens", - "service": { - "shortName": "DiscussService", - "fullName": "google.ai.generativelanguage.v1beta2.DiscussService" - } - } + "shortName": "CountMessageTokens" }, + "description": "CountMessageTokens runs a model's tokenizer on a string and returns the token count.", + "file": "DiscussClient/CountMessageTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta2_generated_DiscussService_CountMessageTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage CountMessageTokens Sample" }, { - "regionTag": "generativelanguage_v1beta2_generated_DiscussService_GenerateMessage_sync", - "title": "generativelanguage GenerateMessage Sample", - "description": "GenerateMessage generates a response from the model given an input `MessagePrompt`.", - "file": "DiscussClient/GenerateMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateMessage", + "client": { + "fullName": "google.ai.generativelanguage.v1beta2.DiscussClient", + "shortName": "DiscussClient" + }, "fullName": "google.ai.generativelanguage.v1beta2.DiscussClient.GenerateMessage", + "method": { + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService.GenerateMessage", + "service": { + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService", + "shortName": "DiscussService" + }, + "shortName": "GenerateMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateMessageRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateMessageResponse", - "client": { - "shortName": "DiscussClient", - "fullName": "google.ai.generativelanguage.v1beta2.DiscussClient" - }, - "method": { - "shortName": "GenerateMessage", - "fullName": "google.ai.generativelanguage.v1beta2.DiscussService.GenerateMessage", - "service": { - "shortName": "DiscussService", - "fullName": "google.ai.generativelanguage.v1beta2.DiscussService" - } - } + "shortName": "GenerateMessage" }, + "description": "GenerateMessage generates a response from the model given an input `MessagePrompt`.", + "file": "DiscussClient/GenerateMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta2_generated_DiscussService_GenerateMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateMessage Sample" }, { - "regionTag": "generativelanguage_v1beta2_generated_ModelService_GetModel_sync", - "title": "generativelanguage GetModel Sample", - "description": "GetModel gets information about a specific Model.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.ai.generativelanguage.v1beta2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta2.ModelClient.GetModel", + "method": { + "fullName": "google.ai.generativelanguage.v1beta2.ModelService.GetModel", + "service": { + "fullName": "google.ai.generativelanguage.v1beta2.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GetModelRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta2.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.ai.generativelanguage.v1beta2.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta2.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets information about a specific Model.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta2_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GetModel Sample" }, { - "regionTag": "generativelanguage_v1beta2_generated_ModelService_ListModels_sync", - "title": "generativelanguage ListModels Sample", - "description": "ListModels lists models available through the API.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.ai.generativelanguage.v1beta2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.ai.generativelanguage.v1beta2.ModelClient.ListModels", + "method": { + "fullName": "google.ai.generativelanguage.v1beta2.ModelService.ListModels", + "service": { + "fullName": "google.ai.generativelanguage.v1beta2.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.ai.generativelanguage.v1beta2.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.ai.generativelanguage.v1beta2.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.ai.generativelanguage.v1beta2.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists models available through the API.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta2_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage ListModels Sample" }, { - "regionTag": "generativelanguage_v1beta2_generated_TextService_EmbedText_sync", - "title": "generativelanguage EmbedText Sample", - "description": "EmbedText generates an embedding from the model given an input message.", - "file": "TextClient/EmbedText/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedText", + "client": { + "fullName": "google.ai.generativelanguage.v1beta2.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta2.TextClient.EmbedText", + "method": { + "fullName": "google.ai.generativelanguage.v1beta2.TextService.EmbedText", + "service": { + "fullName": "google.ai.generativelanguage.v1beta2.TextService", + "shortName": "TextService" + }, + "shortName": "EmbedText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.EmbedTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.EmbedTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.EmbedTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta2.TextClient" - }, - "method": { - "shortName": "EmbedText", - "fullName": "google.ai.generativelanguage.v1beta2.TextService.EmbedText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1beta2.TextService" - } - } + "shortName": "EmbedText" }, + "description": "EmbedText generates an embedding from the model given an input message.", + "file": "TextClient/EmbedText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta2_generated_TextService_EmbedText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage EmbedText Sample" }, { - "regionTag": "generativelanguage_v1beta2_generated_TextService_GenerateText_sync", - "title": "generativelanguage GenerateText Sample", - "description": "GenerateText generates a response from the model given an input message.", - "file": "TextClient/GenerateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateText", + "client": { + "fullName": "google.ai.generativelanguage.v1beta2.TextClient", + "shortName": "TextClient" + }, "fullName": "google.ai.generativelanguage.v1beta2.TextClient.GenerateText", + "method": { + "fullName": "google.ai.generativelanguage.v1beta2.TextService.GenerateText", + "service": { + "fullName": "google.ai.generativelanguage.v1beta2.TextService", + "shortName": "TextService" + }, + "shortName": "GenerateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "generativelanguagepb.GenerateTextRequest", - "name": "req" + "name": "req", + "type": "generativelanguagepb.GenerateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*generativelanguagepb.GenerateTextResponse", - "client": { - "shortName": "TextClient", - "fullName": "google.ai.generativelanguage.v1beta2.TextClient" - }, - "method": { - "shortName": "GenerateText", - "fullName": "google.ai.generativelanguage.v1beta2.TextService.GenerateText", - "service": { - "shortName": "TextService", - "fullName": "google.ai.generativelanguage.v1beta2.TextService" - } - } + "shortName": "GenerateText" }, + "description": "GenerateText generates a response from the model given an input message.", + "file": "TextClient/GenerateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "generativelanguage_v1beta2_generated_TextService_GenerateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "generativelanguage GenerateText Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json index 9ef0cf5ba899..223722056654 100644 --- a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json +++ b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json @@ -1,31054 +1,31054 @@ { "clientLibrary": { - "name": "cloud.google.com/go/aiplatform/apiv1", - "version": "1.121.0", - "language": "GO", "apis": [ { "id": "google.cloud.aiplatform.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/aiplatform/apiv1", + "version": "1.121.0" }, "snippets": [ { - "regionTag": "aiplatform_v1_generated_DataFoundryService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataFoundryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataFoundryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataFoundryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataFoundryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_GenerateSyntheticData_sync", - "title": "aiplatform GenerateSyntheticData Sample", - "description": "GenerateSyntheticData generates synthetic data based on the provided configuration.", - "file": "DataFoundryClient/GenerateSyntheticData/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateSyntheticData", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.GenerateSyntheticData", + "method": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryService.GenerateSyntheticData", + "service": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryService", + "shortName": "DataFoundryService" + }, + "shortName": "GenerateSyntheticData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GenerateSyntheticDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GenerateSyntheticDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.GenerateSyntheticDataResponse", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "GenerateSyntheticData", - "fullName": "google.cloud.aiplatform.v1.DataFoundryService.GenerateSyntheticData", - "service": { - "shortName": "DataFoundryService", - "fullName": "google.cloud.aiplatform.v1.DataFoundryService" - } - } + "shortName": "GenerateSyntheticData" }, + "description": "GenerateSyntheticData generates synthetic data based on the provided configuration.", + "file": "DataFoundryClient/GenerateSyntheticData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_GenerateSyntheticData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GenerateSyntheticData Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_GetIamPolicy_sync", - "title": "aiplatform 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": "DataFoundryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataFoundryClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataFoundryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataFoundryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataFoundryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataFoundryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataFoundryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataFoundryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataFoundryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataFoundryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_SetIamPolicy_sync", - "title": "aiplatform 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": "DataFoundryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataFoundryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_TestIamPermissions_sync", - "title": "aiplatform 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": "DataFoundryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataFoundryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_DataFoundryService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "DataFoundryClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DataFoundryClient", + "shortName": "DataFoundryClient" + }, "fullName": "google.cloud.aiplatform.v1.DataFoundryClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataFoundryClient", - "fullName": "google.cloud.aiplatform.v1.DataFoundryClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "DataFoundryClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DataFoundryService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_CreateDataset_sync", - "title": "aiplatform CreateDataset Sample", - "description": "CreateDataset creates a Dataset.", - "file": "DatasetClient/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.CreateDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates a Dataset.", + "file": "DatasetClient/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_CreateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDataset Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_CreateDatasetVersion_sync", - "title": "aiplatform CreateDatasetVersion Sample", - "description": "CreateDatasetVersion create a version from a Dataset.", - "file": "DatasetClient/CreateDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.CreateDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "CreateDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetVersionOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "CreateDatasetVersion", - "fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "CreateDatasetVersion" }, + "description": "CreateDatasetVersion create a version from a Dataset.", + "file": "DatasetClient/CreateDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_CreateDatasetVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_DeleteDataset_sync", - "title": "aiplatform DeleteDataset Sample", - "description": "DeleteDataset deletes a Dataset.", - "file": "DatasetClient/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.DeleteDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a Dataset.", + "file": "DatasetClient/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDataset Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_DeleteDatasetVersion_sync", - "title": "aiplatform DeleteDatasetVersion Sample", - "description": "DeleteDatasetVersion deletes a Dataset version.", - "file": "DatasetClient/DeleteDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.DeleteDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetVersionOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "DeleteDatasetVersion", - "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "DeleteDatasetVersion" }, + "description": "DeleteDatasetVersion deletes a Dataset version.", + "file": "DatasetClient/DeleteDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_DeleteDatasetVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_DeleteSavedQuery_sync", - "title": "aiplatform DeleteSavedQuery Sample", - "description": "DeleteSavedQuery deletes a SavedQuery.", - "file": "DatasetClient/DeleteSavedQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSavedQuery", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.DeleteSavedQuery", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteSavedQuery", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteSavedQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteSavedQueryRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteSavedQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSavedQueryOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "DeleteSavedQuery", - "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteSavedQuery", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "DeleteSavedQuery" }, + "description": "DeleteSavedQuery deletes a SavedQuery.", + "file": "DatasetClient/DeleteSavedQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_DeleteSavedQuery_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSavedQuery Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ExportData_sync", - "title": "aiplatform ExportData Sample", - "description": "ExportData exports data from a Dataset.", - "file": "DatasetClient/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ExportData", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ExportData", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ExportData", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports data from a Dataset.", + "file": "DatasetClient/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ExportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportData Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_GetAnnotationSpec_sync", - "title": "aiplatform GetAnnotationSpec Sample", - "description": "GetAnnotationSpec gets an AnnotationSpec.", - "file": "DatasetClient/GetAnnotationSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotationSpec", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.GetAnnotationSpec", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetAnnotationSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetAnnotationSpecRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetAnnotationSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AnnotationSpec", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "GetAnnotationSpec", - "fullName": "google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "GetAnnotationSpec" }, + "description": "GetAnnotationSpec gets an AnnotationSpec.", + "file": "DatasetClient/GetAnnotationSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_GetAnnotationSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetAnnotationSpec Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_GetDataset_sync", - "title": "aiplatform GetDataset Sample", - "description": "GetDataset gets a Dataset.", - "file": "DatasetClient/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.GetDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.GetDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.aiplatform.v1.DatasetService.GetDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets a Dataset.", + "file": "DatasetClient/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDataset Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_GetDatasetVersion_sync", - "title": "aiplatform GetDatasetVersion Sample", - "description": "GetDatasetVersion gets a Dataset version.", - "file": "DatasetClient/GetDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.GetDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DatasetVersion", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "GetDatasetVersion", - "fullName": "google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "GetDatasetVersion" }, + "description": "GetDatasetVersion gets a Dataset version.", + "file": "DatasetClient/GetDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_GetDatasetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_GetIamPolicy_sync", - "title": "aiplatform 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": "DatasetClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DatasetClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DatasetClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DatasetClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ImportData_sync", - "title": "aiplatform ImportData Sample", - "description": "ImportData imports data into a Dataset.", - "file": "DatasetClient/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ImportData", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ImportData", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ImportData", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ImportData" }, + "description": "ImportData imports data into a Dataset.", + "file": "DatasetClient/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ImportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportData Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListAnnotations_sync", - "title": "aiplatform ListAnnotations Sample", - "description": "ListAnnotations lists Annotations belongs to a dataitem.", - "file": "DatasetClient/ListAnnotations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnnotations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListAnnotations", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListAnnotations", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListAnnotations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListAnnotationsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListAnnotationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotationIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListAnnotations", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ListAnnotations", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ListAnnotations" }, + "description": "ListAnnotations lists Annotations belongs to a dataitem.", + "file": "DatasetClient/ListAnnotations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListAnnotations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListAnnotations Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListDataItems_sync", - "title": "aiplatform ListDataItems Sample", - "description": "ListDataItems lists DataItems in a Dataset.", - "file": "DatasetClient/ListDataItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataItems", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListDataItems", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDataItems", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDataItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDataItemsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDataItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataItemIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListDataItems", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDataItems", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ListDataItems" }, + "description": "ListDataItems lists DataItems in a Dataset.", + "file": "DatasetClient/ListDataItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListDataItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDataItems Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListDatasetVersions_sync", - "title": "aiplatform ListDatasetVersions Sample", - "description": "ListDatasetVersions lists DatasetVersions in a Dataset.", - "file": "DatasetClient/ListDatasetVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasetVersions", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListDatasetVersions", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasetVersions", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDatasetVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDatasetVersionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDatasetVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetVersionIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListDatasetVersions", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasetVersions", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ListDatasetVersions" }, + "description": "ListDatasetVersions lists DatasetVersions in a Dataset.", + "file": "DatasetClient/ListDatasetVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListDatasetVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDatasetVersions Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListDatasets_sync", - "title": "aiplatform ListDatasets Sample", - "description": "ListDatasets lists Datasets in a Location.", - "file": "DatasetClient/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListDatasets", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasets", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasets", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists Datasets in a Location.", + "file": "DatasetClient/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDatasets Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DatasetClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DatasetClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_ListSavedQueries_sync", - "title": "aiplatform ListSavedQueries Sample", - "description": "ListSavedQueries lists SavedQueries in a Dataset.", - "file": "DatasetClient/ListSavedQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSavedQueries", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.ListSavedQueries", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListSavedQueries", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListSavedQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSavedQueriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSavedQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SavedQueryIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "ListSavedQueries", - "fullName": "google.cloud.aiplatform.v1.DatasetService.ListSavedQueries", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "ListSavedQueries" }, + "description": "ListSavedQueries lists SavedQueries in a Dataset.", + "file": "DatasetClient/ListSavedQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_ListSavedQueries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSavedQueries Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_RestoreDatasetVersion_sync", - "title": "aiplatform RestoreDatasetVersion Sample", - "description": "RestoreDatasetVersion restores a dataset version.", - "file": "DatasetClient/RestoreDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.RestoreDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "RestoreDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RestoreDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RestoreDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreDatasetVersionOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "RestoreDatasetVersion", - "fullName": "google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "RestoreDatasetVersion" }, + "description": "RestoreDatasetVersion restores a dataset version.", + "file": "DatasetClient/RestoreDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_RestoreDatasetVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RestoreDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_SearchDataItems_sync", - "title": "aiplatform SearchDataItems Sample", - "description": "SearchDataItems searches DataItems in a Dataset.", - "file": "DatasetClient/SearchDataItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchDataItems", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.SearchDataItems", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.SearchDataItems", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "SearchDataItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchDataItemsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchDataItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataItemViewIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "SearchDataItems", - "fullName": "google.cloud.aiplatform.v1.DatasetService.SearchDataItems", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "SearchDataItems" }, + "description": "SearchDataItems searches DataItems in a Dataset.", + "file": "DatasetClient/SearchDataItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_SearchDataItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchDataItems Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_SetIamPolicy_sync", - "title": "aiplatform 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": "DatasetClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DatasetClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_TestIamPermissions_sync", - "title": "aiplatform 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": "DatasetClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DatasetClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_UpdateDataset_sync", - "title": "aiplatform UpdateDataset Sample", - "description": "UpdateDataset updates a Dataset.", - "file": "DatasetClient/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.UpdateDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.UpdateDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.aiplatform.v1.DatasetService.UpdateDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates a Dataset.", + "file": "DatasetClient/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateDataset Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_UpdateDatasetVersion_sync", - "title": "aiplatform UpdateDatasetVersion Sample", - "description": "UpdateDatasetVersion updates a DatasetVersion.", - "file": "DatasetClient/UpdateDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.UpdateDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1.DatasetService.UpdateDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "UpdateDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DatasetVersion", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "UpdateDatasetVersion", - "fullName": "google.cloud.aiplatform.v1.DatasetService.UpdateDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1.DatasetService" - } - } + "shortName": "UpdateDatasetVersion" }, + "description": "UpdateDatasetVersion updates a DatasetVersion.", + "file": "DatasetClient/UpdateDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_UpdateDatasetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1_generated_DatasetService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1.DatasetClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1.DatasetClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DatasetService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_CreateDeploymentResourcePool_sync", - "title": "aiplatform CreateDeploymentResourcePool Sample", - "description": "CreateDeploymentResourcePool create a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/CreateDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.CreateDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.CreateDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "CreateDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDeploymentResourcePoolOperation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "CreateDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.CreateDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService" - } - } + "shortName": "CreateDeploymentResourcePool" }, + "description": "CreateDeploymentResourcePool create a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/CreateDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_CreateDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_DeleteDeploymentResourcePool_sync", - "title": "aiplatform DeleteDeploymentResourcePool Sample", - "description": "DeleteDeploymentResourcePool delete a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/DeleteDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.DeleteDeploymentResourcePool", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.DeleteDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "DeleteDeploymentResourcePool" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDeploymentResourcePoolOperation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "DeleteDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.DeleteDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService" - } - } + "shortName": "DeleteDeploymentResourcePool" }, + "description": "DeleteDeploymentResourcePool delete a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/DeleteDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_DeleteDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetDeploymentResourcePool_sync", - "title": "aiplatform GetDeploymentResourcePool Sample", - "description": "GetDeploymentResourcePool get a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/GetDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.GetDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.GetDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "GetDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DeploymentResourcePool", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.GetDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService" - } - } + "shortName": "GetDeploymentResourcePool" }, + "description": "GetDeploymentResourcePool get a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/GetDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetIamPolicy_sync", - "title": "aiplatform 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": "DeploymentResourcePoolClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DeploymentResourcePoolClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DeploymentResourcePoolClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DeploymentResourcePoolClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListDeploymentResourcePools_sync", - "title": "aiplatform ListDeploymentResourcePools Sample", - "description": "ListDeploymentResourcePools list DeploymentResourcePools in a location.", - "file": "DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeploymentResourcePools", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.ListDeploymentResourcePools", + "method": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.ListDeploymentResourcePools", + "service": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "ListDeploymentResourcePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDeploymentResourcePoolsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDeploymentResourcePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentResourcePoolIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "ListDeploymentResourcePools", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.ListDeploymentResourcePools", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService" - } - } + "shortName": "ListDeploymentResourcePools" }, + "description": "ListDeploymentResourcePools list DeploymentResourcePools in a location.", + "file": "DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListDeploymentResourcePools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDeploymentResourcePools Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DeploymentResourcePoolClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DeploymentResourcePoolClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_QueryDeployedModels_sync", - "title": "aiplatform QueryDeployedModels Sample", - "description": "QueryDeployedModels list DeployedModels that have been deployed on this DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/QueryDeployedModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDeployedModels", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.QueryDeployedModels", + "method": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.QueryDeployedModels", + "service": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "QueryDeployedModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryDeployedModelsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryDeployedModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployedModelIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "QueryDeployedModels", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.QueryDeployedModels", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService" - } - } + "shortName": "QueryDeployedModels" }, + "description": "QueryDeployedModels list DeployedModels that have been deployed on this DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/QueryDeployedModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_QueryDeployedModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryDeployedModels Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_SetIamPolicy_sync", - "title": "aiplatform 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": "DeploymentResourcePoolClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "DeploymentResourcePoolClient/SetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_SetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_TestIamPermissions_sync", - "title": "aiplatform 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": "DeploymentResourcePoolClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DeploymentResourcePoolClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_UpdateDeploymentResourcePool_sync", - "title": "aiplatform UpdateDeploymentResourcePool Sample", - "description": "UpdateDeploymentResourcePool update a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/UpdateDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.UpdateDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.UpdateDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "UpdateDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDeploymentResourcePoolOperation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "UpdateDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.UpdateDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService" - } - } + "shortName": "UpdateDeploymentResourcePool" }, + "description": "UpdateDeploymentResourcePool update a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/UpdateDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_UpdateDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_CreateEndpoint_sync", - "title": "aiplatform CreateEndpoint Sample", - "description": "CreateEndpoint creates an Endpoint.", - "file": "EndpointClient/CreateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.CreateEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.CreateEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "CreateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEndpointOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.aiplatform.v1.EndpointService.CreateEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "CreateEndpoint" }, + "description": "CreateEndpoint creates an Endpoint.", + "file": "EndpointClient/CreateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_CreateEndpoint_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_DeleteEndpoint_sync", - "title": "aiplatform DeleteEndpoint Sample", - "description": "DeleteEndpoint deletes an Endpoint.", - "file": "EndpointClient/DeleteEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.DeleteEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "DeleteEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEndpointOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "DeleteEndpoint" }, + "description": "DeleteEndpoint deletes an Endpoint.", + "file": "EndpointClient/DeleteEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_DeleteEndpoint_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_DeployModel_sync", - "title": "aiplatform DeployModel Sample", - "description": "DeployModel deploys a Model into this Endpoint, creating a DeployedModel within it.", - "file": "EndpointClient/DeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.DeployModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.DeployModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "DeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployModelOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "DeployModel", - "fullName": "google.cloud.aiplatform.v1.EndpointService.DeployModel", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "DeployModel" }, + "description": "DeployModel deploys a Model into this Endpoint, creating a DeployedModel within it.", + "file": "EndpointClient/DeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_DeployModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeployModel Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_GetEndpoint_sync", - "title": "aiplatform GetEndpoint Sample", - "description": "GetEndpoint gets an Endpoint.", - "file": "EndpointClient/GetEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.GetEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.GetEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "GetEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Endpoint", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "GetEndpoint", - "fullName": "google.cloud.aiplatform.v1.EndpointService.GetEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "GetEndpoint" }, + "description": "GetEndpoint gets an Endpoint.", + "file": "EndpointClient/GetEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_GetEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_GetIamPolicy_sync", - "title": "aiplatform 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": "EndpointClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "EndpointClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EndpointClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EndpointClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_ListEndpoints_sync", - "title": "aiplatform ListEndpoints Sample", - "description": "ListEndpoints lists Endpoints in a Location.", - "file": "EndpointClient/ListEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEndpoints", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.ListEndpoints", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.ListEndpoints", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "ListEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListEndpointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EndpointIterator", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "ListEndpoints", - "fullName": "google.cloud.aiplatform.v1.EndpointService.ListEndpoints", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "ListEndpoints" }, + "description": "ListEndpoints lists Endpoints in a Location.", + "file": "EndpointClient/ListEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_ListEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListEndpoints Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "EndpointClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "EndpointClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_MutateDeployedModel_sync", - "title": "aiplatform MutateDeployedModel Sample", - "description": "MutateDeployedModel updates an existing deployed model. Updatable fields include\n`min_replica_count`, `max_replica_count`, `required_replica_count`,\n`autoscaling_metric_specs`, `disable_container_logging` (v1 only), and\n`enable_container_logging` (v1beta1 only).", - "file": "EndpointClient/MutateDeployedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "MutateDeployedModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.MutateDeployedModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "MutateDeployedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.MutateDeployedModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.MutateDeployedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MutateDeployedModelOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "MutateDeployedModel", - "fullName": "google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "MutateDeployedModel" }, + "description": "MutateDeployedModel updates an existing deployed model. Updatable fields include\n`min_replica_count`, `max_replica_count`, `required_replica_count`,\n`autoscaling_metric_specs`, `disable_container_logging` (v1 only), and\n`enable_container_logging` (v1beta1 only).", + "file": "EndpointClient/MutateDeployedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_MutateDeployedModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform MutateDeployedModel Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_SetIamPolicy_sync", - "title": "aiplatform 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": "EndpointClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "EndpointClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_TestIamPermissions_sync", - "title": "aiplatform 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": "EndpointClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "EndpointClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_UndeployModel_sync", - "title": "aiplatform UndeployModel Sample", - "description": "UndeployModel undeploys a Model from an Endpoint, removing a DeployedModel from it, and\nfreeing all resources it's using.", - "file": "EndpointClient/UndeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.UndeployModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.UndeployModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "UndeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UndeployModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UndeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployModelOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "UndeployModel", - "fullName": "google.cloud.aiplatform.v1.EndpointService.UndeployModel", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "UndeployModel" }, + "description": "UndeployModel undeploys a Model from an Endpoint, removing a DeployedModel from it, and\nfreeing all resources it's using.", + "file": "EndpointClient/UndeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_UndeployModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UndeployModel Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_UpdateEndpoint_sync", - "title": "aiplatform UpdateEndpoint Sample", - "description": "UpdateEndpoint updates an Endpoint.", - "file": "EndpointClient/UpdateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.UpdateEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "UpdateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Endpoint", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "UpdateEndpoint", - "fullName": "google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "UpdateEndpoint" }, + "description": "UpdateEndpoint updates an Endpoint.", + "file": "EndpointClient/UpdateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_UpdateEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_UpdateEndpointLongRunning_sync", - "title": "aiplatform UpdateEndpointLongRunning Sample", - "description": "UpdateEndpointLongRunning updates an Endpoint with a long running operation.", - "file": "EndpointClient/UpdateEndpointLongRunning/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpointLongRunning", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.UpdateEndpointLongRunning", + "method": { + "fullName": "google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning", + "service": { + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "UpdateEndpointLongRunning" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateEndpointLongRunningRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateEndpointLongRunningRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEndpointLongRunningOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "UpdateEndpointLongRunning", - "fullName": "google.cloud.aiplatform.v1.EndpointService.UpdateEndpointLongRunning", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1.EndpointService" - } - } + "shortName": "UpdateEndpointLongRunning" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateEndpointLongRunning updates an Endpoint with a long running operation.", + "file": "EndpointClient/UpdateEndpointLongRunning/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_UpdateEndpointLongRunning_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateEndpointLongRunning Sample" }, { - "regionTag": "aiplatform_v1_generated_EndpointService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.EndpointClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1.EndpointClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EndpointService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_EvaluateInstances_sync", - "title": "aiplatform EvaluateInstances Sample", - "description": "EvaluateInstances evaluates instances based on a given metric.", - "file": "EvaluationClient/EvaluateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvaluateInstances", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.EvaluateInstances", + "method": { + "fullName": "google.cloud.aiplatform.v1.EvaluationService.EvaluateInstances", + "service": { + "fullName": "google.cloud.aiplatform.v1.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "EvaluateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.EvaluateInstancesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.EvaluateInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EvaluateInstancesResponse", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "EvaluateInstances", - "fullName": "google.cloud.aiplatform.v1.EvaluationService.EvaluateInstances", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.aiplatform.v1.EvaluationService" - } - } + "shortName": "EvaluateInstances" }, + "description": "EvaluateInstances evaluates instances based on a given metric.", + "file": "EvaluationClient/EvaluateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_EvaluateInstances_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform EvaluateInstances Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_GetIamPolicy_sync", - "title": "aiplatform 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": "EvaluationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "EvaluationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EvaluationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EvaluationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "EvaluationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "EvaluationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_SetIamPolicy_sync", - "title": "aiplatform 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": "EvaluationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "EvaluationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_TestIamPermissions_sync", - "title": "aiplatform 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": "EvaluationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "EvaluationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_EvaluationService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1.EvaluationClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1.EvaluationClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_EvaluationService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CreateFeatureOnlineStore_sync", - "title": "aiplatform CreateFeatureOnlineStore Sample", - "description": "CreateFeatureOnlineStore creates a new FeatureOnlineStore in a given project and location.", - "file": "FeatureOnlineStoreAdminClient/CreateFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.CreateFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "CreateFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureOnlineStoreOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "CreateFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "CreateFeatureOnlineStore" }, + "description": "CreateFeatureOnlineStore creates a new FeatureOnlineStore in a given project and location.", + "file": "FeatureOnlineStoreAdminClient/CreateFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CreateFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CreateFeatureView_sync", - "title": "aiplatform CreateFeatureView Sample", - "description": "CreateFeatureView creates a new FeatureView in a given FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/CreateFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.CreateFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "CreateFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureViewOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "CreateFeatureView", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "CreateFeatureView" }, + "description": "CreateFeatureView creates a new FeatureView in a given FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/CreateFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CreateFeatureView_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureView Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteFeatureOnlineStore_sync", - "title": "aiplatform DeleteFeatureOnlineStore Sample", - "description": "DeleteFeatureOnlineStore deletes a single FeatureOnlineStore. The FeatureOnlineStore must not\ncontain any FeatureViews.", - "file": "FeatureOnlineStoreAdminClient/DeleteFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.DeleteFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "DeleteFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureOnlineStoreOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "DeleteFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "DeleteFeatureOnlineStore" }, + "description": "DeleteFeatureOnlineStore deletes a single FeatureOnlineStore. The FeatureOnlineStore must not\ncontain any FeatureViews.", + "file": "FeatureOnlineStoreAdminClient/DeleteFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteFeatureView_sync", - "title": "aiplatform DeleteFeatureView Sample", - "description": "DeleteFeatureView deletes a single FeatureView.", - "file": "FeatureOnlineStoreAdminClient/DeleteFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.DeleteFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "DeleteFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureViewOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "DeleteFeatureView", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "DeleteFeatureView" }, + "description": "DeleteFeatureView deletes a single FeatureView.", + "file": "FeatureOnlineStoreAdminClient/DeleteFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteFeatureView_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureView Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureOnlineStore_sync", - "title": "aiplatform GetFeatureOnlineStore Sample", - "description": "GetFeatureOnlineStore gets details of a single FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/GetFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "GetFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureOnlineStore", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "GetFeatureOnlineStore" }, + "description": "GetFeatureOnlineStore gets details of a single FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/GetFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureView_sync", - "title": "aiplatform GetFeatureView Sample", - "description": "GetFeatureView gets details of a single FeatureView.", - "file": "FeatureOnlineStoreAdminClient/GetFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "GetFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureView", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetFeatureView", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "GetFeatureView" }, + "description": "GetFeatureView gets details of a single FeatureView.", + "file": "FeatureOnlineStoreAdminClient/GetFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureView Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureViewSync_sync", - "title": "aiplatform GetFeatureViewSync Sample", - "description": "GetFeatureViewSync gets details of a single FeatureViewSync.", - "file": "FeatureOnlineStoreAdminClient/GetFeatureViewSync/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureViewSync", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetFeatureViewSync", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureViewSync", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "GetFeatureViewSync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureViewSyncRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureViewSyncRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureViewSync", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetFeatureViewSync", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureViewSync", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "GetFeatureViewSync" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetFeatureViewSync gets details of a single FeatureViewSync.", + "file": "FeatureOnlineStoreAdminClient/GetFeatureViewSync/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureViewSync_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureViewSync Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeatureOnlineStoreAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeatureOnlineStoreAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeatureOnlineStoreAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureOnlineStores_sync", - "title": "aiplatform ListFeatureOnlineStores Sample", - "description": "ListFeatureOnlineStores lists FeatureOnlineStores in a given project and location.", - "file": "FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureOnlineStores", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListFeatureOnlineStores", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "ListFeatureOnlineStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureOnlineStoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureOnlineStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureOnlineStoreIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListFeatureOnlineStores", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "ListFeatureOnlineStores" }, + "description": "ListFeatureOnlineStores lists FeatureOnlineStores in a given project and location.", + "file": "FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureOnlineStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureOnlineStores Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureViewSyncs_sync", - "title": "aiplatform ListFeatureViewSyncs Sample", - "description": "ListFeatureViewSyncs lists FeatureViewSyncs in a given FeatureView.", - "file": "FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureViewSyncs", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListFeatureViewSyncs", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "ListFeatureViewSyncs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureViewSyncsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureViewSyncsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureViewSyncIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListFeatureViewSyncs", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "ListFeatureViewSyncs" }, + "description": "ListFeatureViewSyncs lists FeatureViewSyncs in a given FeatureView.", + "file": "FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureViewSyncs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureViewSyncs Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureViews_sync", - "title": "aiplatform ListFeatureViews Sample", - "description": "ListFeatureViews lists FeatureViews in a given FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/ListFeatureViews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureViews", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListFeatureViews", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViews", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "ListFeatureViews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureViewsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureViewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureViewIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListFeatureViews", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViews", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "ListFeatureViews" }, + "description": "ListFeatureViews lists FeatureViews in a given FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/ListFeatureViews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureViews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureViews Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeatureOnlineStoreAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeatureOnlineStoreAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeatureOnlineStoreAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_SyncFeatureView_sync", - "title": "aiplatform SyncFeatureView Sample", - "description": "SyncFeatureView triggers on-demand sync for the FeatureView.", - "file": "FeatureOnlineStoreAdminClient/SyncFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "SyncFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.SyncFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.SyncFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "SyncFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SyncFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SyncFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SyncFeatureViewResponse", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "SyncFeatureView", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.SyncFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "SyncFeatureView" }, + "description": "SyncFeatureView triggers on-demand sync for the FeatureView.", + "file": "FeatureOnlineStoreAdminClient/SyncFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_SyncFeatureView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SyncFeatureView Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeatureOnlineStoreAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeatureOnlineStoreAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_UpdateFeatureOnlineStore_sync", - "title": "aiplatform UpdateFeatureOnlineStore Sample", - "description": "UpdateFeatureOnlineStore updates the parameters of a single FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/UpdateFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.UpdateFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "UpdateFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureOnlineStoreOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "UpdateFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "UpdateFeatureOnlineStore" }, + "description": "UpdateFeatureOnlineStore updates the parameters of a single FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/UpdateFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_UpdateFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_UpdateFeatureView_sync", - "title": "aiplatform UpdateFeatureView Sample", - "description": "UpdateFeatureView updates the parameters of a single FeatureView.", - "file": "FeatureOnlineStoreAdminClient/UpdateFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.UpdateFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "UpdateFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureViewOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "UpdateFeatureView", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService" - } - } + "shortName": "UpdateFeatureView" }, + "description": "UpdateFeatureView updates the parameters of a single FeatureView.", + "file": "FeatureOnlineStoreAdminClient/UpdateFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_UpdateFeatureView_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureView Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_FeatureViewDirectWrite_sync", - "title": "aiplatform FeatureViewDirectWrite Sample", - "description": "FeatureViewDirectWrite bidirectional streaming RPC to directly write to feature values in a\nfeature view. Requests may not have a one-to-one mapping to responses and\nresponses may be returned out-of-order to reduce latency.", - "file": "FeatureOnlineStoreClient/FeatureViewDirectWrite/main.go", - "language": "GO", "clientMethod": { - "shortName": "FeatureViewDirectWrite", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.FeatureViewDirectWrite", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.FeatureViewDirectWrite", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "FeatureViewDirectWrite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.FeatureOnlineStoreService_FeatureViewDirectWriteClient", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "FeatureViewDirectWrite", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.FeatureViewDirectWrite", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService" - } - } + "shortName": "FeatureViewDirectWrite" }, + "description": "FeatureViewDirectWrite bidirectional streaming RPC to directly write to feature values in a\nfeature view. Requests may not have a one-to-one mapping to responses and\nresponses may be returned out-of-order to reduce latency.", + "file": "FeatureOnlineStoreClient/FeatureViewDirectWrite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_FeatureViewDirectWrite_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FeatureViewDirectWrite Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_FetchFeatureValues_sync", - "title": "aiplatform FetchFeatureValues Sample", - "description": "FetchFeatureValues fetch feature values under a FeatureView.", - "file": "FeatureOnlineStoreClient/FetchFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.FetchFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "FetchFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.FetchFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.FetchFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FetchFeatureValuesResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "FetchFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValues", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService" - } - } + "shortName": "FetchFeatureValues" }, + "description": "FetchFeatureValues fetch feature values under a FeatureView.", + "file": "FeatureOnlineStoreClient/FetchFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_FetchFeatureValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FetchFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GenerateFetchAccessToken_sync", - "title": "aiplatform GenerateFetchAccessToken Sample", - "description": "GenerateFetchAccessToken rPC to generate an access token for the given feature view. FeatureViews\nunder the same FeatureOnlineStore share the same access token.", - "file": "FeatureOnlineStoreClient/GenerateFetchAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateFetchAccessToken", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GenerateFetchAccessToken", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.GenerateFetchAccessToken", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "GenerateFetchAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GenerateFetchAccessTokenRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GenerateFetchAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.GenerateFetchAccessTokenResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GenerateFetchAccessToken", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.GenerateFetchAccessToken", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService" - } - } + "shortName": "GenerateFetchAccessToken" }, + "description": "GenerateFetchAccessToken rPC to generate an access token for the given feature view. FeatureViews\nunder the same FeatureOnlineStore share the same access token.", + "file": "FeatureOnlineStoreClient/GenerateFetchAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GenerateFetchAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GenerateFetchAccessToken Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeatureOnlineStoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeatureOnlineStoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetLocation gets information about a location.", + "file": "FeatureOnlineStoreClient/GetLocation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetLocation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeatureOnlineStoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeatureOnlineStoreClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_SearchNearestEntities_sync", - "title": "aiplatform SearchNearestEntities Sample", - "description": "SearchNearestEntities search the nearest entities under a FeatureView.\nSearch only works for indexable feature view; if a feature view isn't\nindexable, returns Invalid argument response.", - "file": "FeatureOnlineStoreClient/SearchNearestEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchNearestEntities", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.SearchNearestEntities", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "SearchNearestEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchNearestEntitiesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchNearestEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SearchNearestEntitiesResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "SearchNearestEntities", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService" - } - } + "shortName": "SearchNearestEntities" }, + "description": "SearchNearestEntities search the nearest entities under a FeatureView.\nSearch only works for indexable feature view; if a feature view isn't\nindexable, returns Invalid argument response.", + "file": "FeatureOnlineStoreClient/SearchNearestEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_SearchNearestEntities_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchNearestEntities Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeatureOnlineStoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeatureOnlineStoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeatureOnlineStoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_BatchCreateFeatures_sync", - "title": "aiplatform BatchCreateFeatures Sample", - "description": "BatchCreateFeatures creates a batch of Features in a given FeatureGroup.", - "file": "FeatureRegistryClient/BatchCreateFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.BatchCreateFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.BatchCreateFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "BatchCreateFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateFeaturesOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "BatchCreateFeatures", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.BatchCreateFeatures", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "BatchCreateFeatures" }, + "description": "BatchCreateFeatures creates a batch of Features in a given FeatureGroup.", + "file": "FeatureRegistryClient/BatchCreateFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_BatchCreateFeatures_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateFeatures Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_CreateFeature_sync", - "title": "aiplatform CreateFeature Sample", - "description": "CreateFeature creates a new Feature in a given FeatureGroup.", - "file": "FeatureRegistryClient/CreateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.CreateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "CreateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "CreateFeature", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "CreateFeature" }, + "description": "CreateFeature creates a new Feature in a given FeatureGroup.", + "file": "FeatureRegistryClient/CreateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_CreateFeature_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_CreateFeatureGroup_sync", - "title": "aiplatform CreateFeatureGroup Sample", - "description": "CreateFeatureGroup creates a new FeatureGroup in a given project and location.", - "file": "FeatureRegistryClient/CreateFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.CreateFeatureGroup", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "CreateFeatureGroup" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureGroupOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "CreateFeatureGroup", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "CreateFeatureGroup" }, + "description": "CreateFeatureGroup creates a new FeatureGroup in a given project and location.", + "file": "FeatureRegistryClient/CreateFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_CreateFeatureGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteFeature_sync", - "title": "aiplatform DeleteFeature Sample", - "description": "DeleteFeature deletes a single Feature.", - "file": "FeatureRegistryClient/DeleteFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.DeleteFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "DeleteFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteFeature", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "DeleteFeature" }, + "description": "DeleteFeature deletes a single Feature.", + "file": "FeatureRegistryClient/DeleteFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteFeature_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteFeatureGroup_sync", - "title": "aiplatform DeleteFeatureGroup Sample", - "description": "DeleteFeatureGroup deletes a single FeatureGroup.", - "file": "FeatureRegistryClient/DeleteFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.DeleteFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "DeleteFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureGroupOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteFeatureGroup", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "DeleteFeatureGroup" }, + "description": "DeleteFeatureGroup deletes a single FeatureGroup.", + "file": "FeatureRegistryClient/DeleteFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteFeatureGroup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetFeature_sync", - "title": "aiplatform GetFeature Sample", - "description": "GetFeature gets details of a single Feature.", - "file": "FeatureRegistryClient/GetFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "GetFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Feature", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetFeature", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "GetFeature" }, + "description": "GetFeature gets details of a single Feature.", + "file": "FeatureRegistryClient/GetFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetFeature_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetFeatureGroup_sync", - "title": "aiplatform GetFeatureGroup Sample", - "description": "GetFeatureGroup gets details of a single FeatureGroup.", - "file": "FeatureRegistryClient/GetFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "GetFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureGroup", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetFeatureGroup", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "GetFeatureGroup" }, + "description": "GetFeatureGroup gets details of a single FeatureGroup.", + "file": "FeatureRegistryClient/GetFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetFeatureGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeatureRegistryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeatureRegistryClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeatureRegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeatureRegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListFeatureGroups_sync", - "title": "aiplatform ListFeatureGroups Sample", - "description": "ListFeatureGroups lists FeatureGroups in a given project and location.", - "file": "FeatureRegistryClient/ListFeatureGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureGroups", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListFeatureGroups", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatureGroups", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "ListFeatureGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureGroupsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureGroupIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListFeatureGroups", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatureGroups", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "ListFeatureGroups" }, + "description": "ListFeatureGroups lists FeatureGroups in a given project and location.", + "file": "FeatureRegistryClient/ListFeatureGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListFeatureGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureGroups Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListFeatures_sync", - "title": "aiplatform ListFeatures Sample", - "description": "ListFeatures lists Features in a given FeatureGroup.", - "file": "FeatureRegistryClient/ListFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "ListFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListFeatures", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "ListFeatures" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListFeatures lists Features in a given FeatureGroup.", + "file": "FeatureRegistryClient/ListFeatures/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListFeatures_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatures Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeatureRegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeatureRegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeatureRegistryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeatureRegistryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeatureRegistryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeatureRegistryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_UpdateFeature_sync", - "title": "aiplatform UpdateFeature Sample", - "description": "UpdateFeature updates the parameters of a single Feature.", - "file": "FeatureRegistryClient/UpdateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.UpdateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "UpdateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "UpdateFeature", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "UpdateFeature" }, + "description": "UpdateFeature updates the parameters of a single Feature.", + "file": "FeatureRegistryClient/UpdateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_UpdateFeature_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_UpdateFeatureGroup_sync", - "title": "aiplatform UpdateFeatureGroup Sample", - "description": "UpdateFeatureGroup updates the parameters of a single FeatureGroup.", - "file": "FeatureRegistryClient/UpdateFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.UpdateFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "UpdateFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureGroupOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "UpdateFeatureGroup", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService" - } - } + "shortName": "UpdateFeatureGroup" }, + "description": "UpdateFeatureGroup updates the parameters of a single FeatureGroup.", + "file": "FeatureRegistryClient/UpdateFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_UpdateFeatureGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1_generated_FeatureRegistryService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeatureRegistryService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreOnlineServingClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeaturestoreOnlineServingClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeaturestoreOnlineServingClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeaturestoreOnlineServingClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeaturestoreOnlineServingClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeaturestoreOnlineServingClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ReadFeatureValues_sync", - "title": "aiplatform ReadFeatureValues Sample", - "description": "ReadFeatureValues reads Feature values of a specific entity of an EntityType. For reading\nfeature values of multiple entities of an EntityType, please use\nStreamingReadFeatureValues.", - "file": "FeaturestoreOnlineServingClient/ReadFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.ReadFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService", + "shortName": "FeaturestoreOnlineServingService" + }, + "shortName": "ReadFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadFeatureValuesResponse", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "ReadFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues", - "service": { - "shortName": "FeaturestoreOnlineServingService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService" - } - } + "shortName": "ReadFeatureValues" }, + "description": "ReadFeatureValues reads Feature values of a specific entity of an EntityType. For reading\nfeature values of multiple entities of an EntityType, please use\nStreamingReadFeatureValues.", + "file": "FeaturestoreOnlineServingClient/ReadFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ReadFeatureValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreOnlineServingClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeaturestoreOnlineServingClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeaturestoreOnlineServingClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeaturestoreOnlineServingClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_WriteFeatureValues_sync", - "title": "aiplatform WriteFeatureValues Sample", - "description": "WriteFeatureValues writes Feature values of one or more entities of an EntityType.\n\nThe Feature values are merged into existing entities if any. The Feature\nvalues to be written must have timestamp within the online storage\nretention.", - "file": "FeaturestoreOnlineServingClient/WriteFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient.WriteFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.WriteFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService", + "shortName": "FeaturestoreOnlineServingService" + }, + "shortName": "WriteFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.WriteFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.WriteFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.WriteFeatureValuesResponse", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "WriteFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.WriteFeatureValues", - "service": { - "shortName": "FeaturestoreOnlineServingService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService" - } - } + "shortName": "WriteFeatureValues" }, + "description": "WriteFeatureValues writes Feature values of one or more entities of an EntityType.\n\nThe Feature values are merged into existing entities if any. The Feature\nvalues to be written must have timestamp within the online storage\nretention.", + "file": "FeaturestoreOnlineServingClient/WriteFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_WriteFeatureValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WriteFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_BatchCreateFeatures_sync", - "title": "aiplatform BatchCreateFeatures Sample", - "description": "BatchCreateFeatures creates a batch of Features in a given EntityType.", - "file": "FeaturestoreClient/BatchCreateFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.BatchCreateFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "BatchCreateFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateFeaturesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "BatchCreateFeatures", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "BatchCreateFeatures" }, + "description": "BatchCreateFeatures creates a batch of Features in a given EntityType.", + "file": "FeaturestoreClient/BatchCreateFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_BatchCreateFeatures_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateFeatures Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_BatchReadFeatureValues_sync", - "title": "aiplatform BatchReadFeatureValues Sample", - "description": "BatchReadFeatureValues batch reads Feature values from a Featurestore.\n\nThis API enables batch reading Feature values, where each read\ninstance in the batch may read Feature values of entities from one or\nmore EntityTypes. Point-in-time correctness is guaranteed for Feature\nvalues of each read instance as of each instance's read timestamp.", - "file": "FeaturestoreClient/BatchReadFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchReadFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.BatchReadFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "BatchReadFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchReadFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchReadFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchReadFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "BatchReadFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "BatchReadFeatureValues" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "BatchReadFeatureValues batch reads Feature values from a Featurestore.\n\nThis API enables batch reading Feature values, where each read\ninstance in the batch may read Feature values of entities from one or\nmore EntityTypes. Point-in-time correctness is guaranteed for Feature\nvalues of each read instance as of each instance's read timestamp.", + "file": "FeaturestoreClient/BatchReadFeatureValues/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_BatchReadFeatureValues_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchReadFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateEntityType_sync", - "title": "aiplatform CreateEntityType Sample", - "description": "CreateEntityType creates a new EntityType in a given Featurestore.", - "file": "FeaturestoreClient/CreateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.CreateEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "CreateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEntityTypeOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "CreateEntityType" }, + "description": "CreateEntityType creates a new EntityType in a given Featurestore.", + "file": "FeaturestoreClient/CreateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateEntityType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateEntityType Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateFeature_sync", - "title": "aiplatform CreateFeature Sample", - "description": "CreateFeature creates a new Feature in a given EntityType.", - "file": "FeaturestoreClient/CreateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.CreateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "CreateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "CreateFeature", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "CreateFeature" }, + "description": "CreateFeature creates a new Feature in a given EntityType.", + "file": "FeaturestoreClient/CreateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateFeature_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateFeaturestore_sync", - "title": "aiplatform CreateFeaturestore Sample", - "description": "CreateFeaturestore creates a new Featurestore in a given project and location.", - "file": "FeaturestoreClient/CreateFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.CreateFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "CreateFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeaturestoreOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "CreateFeaturestore", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "CreateFeaturestore" }, + "description": "CreateFeaturestore creates a new Featurestore in a given project and location.", + "file": "FeaturestoreClient/CreateFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateFeaturestore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeaturestore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteEntityType_sync", - "title": "aiplatform DeleteEntityType Sample", - "description": "DeleteEntityType deletes a single EntityType. The EntityType must not have any Features\nor `force` must be set to true for the request to succeed.", - "file": "FeaturestoreClient/DeleteEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.DeleteEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEntityTypeOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "DeleteEntityType" }, + "description": "DeleteEntityType deletes a single EntityType. The EntityType must not have any Features\nor `force` must be set to true for the request to succeed.", + "file": "FeaturestoreClient/DeleteEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteEntityType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteEntityType Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeature_sync", - "title": "aiplatform DeleteFeature Sample", - "description": "DeleteFeature deletes a single Feature.", - "file": "FeaturestoreClient/DeleteFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.DeleteFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteFeature", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "DeleteFeature" }, + "description": "DeleteFeature deletes a single Feature.", + "file": "FeaturestoreClient/DeleteFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeature_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeatureValues_sync", - "title": "aiplatform DeleteFeatureValues Sample", - "description": "DeleteFeatureValues delete Feature values from Featurestore.\n\nThe progress of the deletion is tracked by the returned operation. The\ndeleted feature values are guaranteed to be invisible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf a delete feature values operation fails, the feature values\nreturned from reads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same delete request again and wait till\nthe new operation returned is marked as successfully done.", - "file": "FeaturestoreClient/DeleteFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.DeleteFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "DeleteFeatureValues" }, + "description": "DeleteFeatureValues delete Feature values from Featurestore.\n\nThe progress of the deletion is tracked by the returned operation. The\ndeleted feature values are guaranteed to be invisible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf a delete feature values operation fails, the feature values\nreturned from reads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same delete request again and wait till\nthe new operation returned is marked as successfully done.", + "file": "FeaturestoreClient/DeleteFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeaturestore_sync", - "title": "aiplatform DeleteFeaturestore Sample", - "description": "DeleteFeaturestore deletes a single Featurestore. The Featurestore must not contain any\nEntityTypes or `force` must be set to true for the request to succeed.", - "file": "FeaturestoreClient/DeleteFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.DeleteFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeaturestoreOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteFeaturestore", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "DeleteFeaturestore" }, + "description": "DeleteFeaturestore deletes a single Featurestore. The Featurestore must not contain any\nEntityTypes or `force` must be set to true for the request to succeed.", + "file": "FeaturestoreClient/DeleteFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeaturestore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeaturestore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ExportFeatureValues_sync", - "title": "aiplatform ExportFeatureValues Sample", - "description": "ExportFeatureValues exports Feature values from all the entities of a target EntityType.", - "file": "FeaturestoreClient/ExportFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ExportFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ExportFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ExportFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "ExportFeatureValues" }, + "description": "ExportFeatureValues exports Feature values from all the entities of a target EntityType.", + "file": "FeaturestoreClient/ExportFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ExportFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetEntityType_sync", - "title": "aiplatform GetEntityType Sample", - "description": "GetEntityType gets details of a single EntityType.", - "file": "FeaturestoreClient/GetEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.GetEntityType", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "GetEntityType" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EntityType", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "GetEntityType" }, + "description": "GetEntityType gets details of a single EntityType.", + "file": "FeaturestoreClient/GetEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetEntityType Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetFeature_sync", - "title": "aiplatform GetFeature Sample", - "description": "GetFeature gets details of a single Feature.", - "file": "FeaturestoreClient/GetFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.GetFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "GetFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Feature", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "GetFeature", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "GetFeature" }, + "description": "GetFeature gets details of a single Feature.", + "file": "FeaturestoreClient/GetFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetFeature_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetFeaturestore_sync", - "title": "aiplatform GetFeaturestore Sample", - "description": "GetFeaturestore gets details of a single Featurestore.", - "file": "FeaturestoreClient/GetFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.GetFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "GetFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Featurestore", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "GetFeaturestore", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "GetFeaturestore" }, + "description": "GetFeaturestore gets details of a single Featurestore.", + "file": "FeaturestoreClient/GetFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetFeaturestore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeaturestore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeaturestoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeaturestoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeaturestoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ImportFeatureValues_sync", - "title": "aiplatform ImportFeatureValues Sample", - "description": "ImportFeatureValues imports Feature values into the Featurestore from a source storage.\n\nThe progress of the import is tracked by the returned operation. The\nimported features are guaranteed to be visible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf an import operation fails, the Feature values returned from\nreads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same import request again and wait till\nthe new operation returned is marked as successfully done.\n\nThere are also scenarios where the caller can cause inconsistency.\n\n- Source data for import contains multiple distinct Feature values for\nthe same entity ID and timestamp.\n- Source is modified during an import. This includes adding, updating, or\nremoving source data and/or metadata. Examples of updating metadata\ninclude but are not limited to changing storage location, storage class,\nor retention policy.\n- Online serving cluster is under-provisioned.", - "file": "FeaturestoreClient/ImportFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ImportFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ImportFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ImportFeatureValues", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "ImportFeatureValues" }, + "description": "ImportFeatureValues imports Feature values into the Featurestore from a source storage.\n\nThe progress of the import is tracked by the returned operation. The\nimported features are guaranteed to be visible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf an import operation fails, the Feature values returned from\nreads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same import request again and wait till\nthe new operation returned is marked as successfully done.\n\nThere are also scenarios where the caller can cause inconsistency.\n\n- Source data for import contains multiple distinct Feature values for\nthe same entity ID and timestamp.\n- Source is modified during an import. This includes adding, updating, or\nremoving source data and/or metadata. Examples of updating metadata\ninclude but are not limited to changing storage location, storage class,\nor retention policy.\n- Online serving cluster is under-provisioned.", + "file": "FeaturestoreClient/ImportFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ImportFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportFeatureValues Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListEntityTypes_sync", - "title": "aiplatform ListEntityTypes Sample", - "description": "ListEntityTypes lists EntityTypes in a given Featurestore.", - "file": "FeaturestoreClient/ListEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntityTypes", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ListEntityTypes", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ListEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListEntityTypesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityTypeIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "ListEntityTypes" }, + "description": "ListEntityTypes lists EntityTypes in a given Featurestore.", + "file": "FeaturestoreClient/ListEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListEntityTypes Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListFeatures_sync", - "title": "aiplatform ListFeatures Sample", - "description": "ListFeatures lists Features in a given EntityType.", - "file": "FeaturestoreClient/ListFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ListFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ListFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ListFeatures", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "ListFeatures" }, + "description": "ListFeatures lists Features in a given EntityType.", + "file": "FeaturestoreClient/ListFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListFeatures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatures Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListFeaturestores_sync", - "title": "aiplatform ListFeaturestores Sample", - "description": "ListFeaturestores lists Featurestores in a given project and location.", - "file": "FeaturestoreClient/ListFeaturestores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeaturestores", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ListFeaturestores", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ListFeaturestores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeaturestoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeaturestoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeaturestoreIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ListFeaturestores", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "ListFeaturestores" }, + "description": "ListFeaturestores lists Featurestores in a given project and location.", + "file": "FeaturestoreClient/ListFeaturestores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListFeaturestores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeaturestores Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeaturestoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeaturestoreClient/ListLocations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListLocations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_SearchFeatures_sync", - "title": "aiplatform SearchFeatures Sample", - "description": "SearchFeatures searches Features matching a query in a given project.", - "file": "FeaturestoreClient/SearchFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.SearchFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "SearchFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "SearchFeatures", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "SearchFeatures" }, + "description": "SearchFeatures searches Features matching a query in a given project.", + "file": "FeaturestoreClient/SearchFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_SearchFeatures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchFeatures Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeaturestoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeaturestoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeaturestoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateEntityType_sync", - "title": "aiplatform UpdateEntityType Sample", - "description": "UpdateEntityType updates the parameters of a single EntityType.", - "file": "FeaturestoreClient/UpdateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.UpdateEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "UpdateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EntityType", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "UpdateEntityType" }, + "description": "UpdateEntityType updates the parameters of a single EntityType.", + "file": "FeaturestoreClient/UpdateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateEntityType Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateFeature_sync", - "title": "aiplatform UpdateFeature Sample", - "description": "UpdateFeature updates the parameters of a single Feature.", - "file": "FeaturestoreClient/UpdateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.UpdateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "UpdateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Feature", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "UpdateFeature", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "UpdateFeature" }, + "description": "UpdateFeature updates the parameters of a single Feature.", + "file": "FeaturestoreClient/UpdateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateFeature_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeature Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateFeaturestore_sync", - "title": "aiplatform UpdateFeaturestore Sample", - "description": "UpdateFeaturestore updates the parameters of a single Featurestore.", - "file": "FeaturestoreClient/UpdateFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.UpdateFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "UpdateFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeaturestoreOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "UpdateFeaturestore", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreService" - } - } + "shortName": "UpdateFeaturestore" }, + "description": "UpdateFeaturestore updates the parameters of a single Featurestore.", + "file": "FeaturestoreClient/UpdateFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateFeaturestore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeaturestore Sample" }, { - "regionTag": "aiplatform_v1_generated_FeaturestoreService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1.FeaturestoreClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_FeaturestoreService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_CreateCachedContent_sync", - "title": "aiplatform CreateCachedContent Sample", - "description": "CreateCachedContent creates cached content, this call will initialize the cached content in the\ndata storage, and users need to pay for the cache data storage.", - "file": "GenAiCacheClient/CreateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.CreateCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.CreateCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "CreateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CachedContent", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "CreateCachedContent", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.CreateCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService" - } - } + "shortName": "CreateCachedContent" }, + "description": "CreateCachedContent creates cached content, this call will initialize the cached content in the\ndata storage, and users need to pay for the cache data storage.", + "file": "GenAiCacheClient/CreateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_CreateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateCachedContent Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_DeleteCachedContent_sync", - "title": "aiplatform DeleteCachedContent Sample", - "description": "DeleteCachedContent deletes cached content", - "file": "GenAiCacheClient/DeleteCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.DeleteCachedContent", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.DeleteCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "DeleteCachedContent" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "DeleteCachedContent", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.DeleteCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService" - } - } + "shortName": "DeleteCachedContent" }, + "description": "DeleteCachedContent deletes cached content", + "file": "GenAiCacheClient/DeleteCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_DeleteCachedContent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteCachedContent Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetCachedContent_sync", - "title": "aiplatform GetCachedContent Sample", - "description": "GetCachedContent gets cached content configurations", - "file": "GenAiCacheClient/GetCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.GetCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.GetCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "GetCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CachedContent", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "GetCachedContent", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.GetCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService" - } - } + "shortName": "GetCachedContent" }, + "description": "GetCachedContent gets cached content configurations", + "file": "GenAiCacheClient/GetCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetCachedContent Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetIamPolicy_sync", - "title": "aiplatform 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": "GenAiCacheClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "GenAiCacheClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GenAiCacheClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GenAiCacheClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_ListCachedContents_sync", - "title": "aiplatform ListCachedContents Sample", - "description": "ListCachedContents lists cached contents in a project", - "file": "GenAiCacheClient/ListCachedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCachedContents", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.ListCachedContents", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.ListCachedContents", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "ListCachedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListCachedContentsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListCachedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CachedContentIterator", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "ListCachedContents", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.ListCachedContents", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService" - } - } + "shortName": "ListCachedContents" }, + "description": "ListCachedContents lists cached contents in a project", + "file": "GenAiCacheClient/ListCachedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_ListCachedContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListCachedContents Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "GenAiCacheClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "GenAiCacheClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_SetIamPolicy_sync", - "title": "aiplatform 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": "GenAiCacheClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "GenAiCacheClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_TestIamPermissions_sync", - "title": "aiplatform 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": "GenAiCacheClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "GenAiCacheClient/TestIamPermissions/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_TestIamPermissions_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_UpdateCachedContent_sync", - "title": "aiplatform UpdateCachedContent Sample", - "description": "UpdateCachedContent updates cached content configurations", - "file": "GenAiCacheClient/UpdateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.UpdateCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.UpdateCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "UpdateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CachedContent", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "UpdateCachedContent", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService.UpdateCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheService" - } - } + "shortName": "UpdateCachedContent" }, + "description": "UpdateCachedContent updates cached content configurations", + "file": "GenAiCacheClient/UpdateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_UpdateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateCachedContent Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiCacheService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1.GenAiCacheClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiCacheService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_CancelTuningJob_sync", - "title": "aiplatform CancelTuningJob Sample", - "description": "CancelTuningJob cancels a TuningJob.\nStarts asynchronous cancellation on the TuningJob. The server makes a best\neffort to cancel the job, but success is not guaranteed. Clients can use\n[GenAiTuningService.GetTuningJob][google.cloud.aiplatform.v1.GenAiTuningService.GetTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation, the\nTuningJob is not deleted; instead it becomes a job with a\n[TuningJob.error][google.cloud.aiplatform.v1.TuningJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[TuningJob.state][google.cloud.aiplatform.v1.TuningJob.state] is set to\n`CANCELLED`.", - "file": "GenAiTuningClient/CancelTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.CancelTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.CancelTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "CancelTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "CancelTuningJob", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.CancelTuningJob", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService" - } - } + "shortName": "CancelTuningJob" }, + "description": "CancelTuningJob cancels a TuningJob.\nStarts asynchronous cancellation on the TuningJob. The server makes a best\neffort to cancel the job, but success is not guaranteed. Clients can use\n[GenAiTuningService.GetTuningJob][google.cloud.aiplatform.v1.GenAiTuningService.GetTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation, the\nTuningJob is not deleted; instead it becomes a job with a\n[TuningJob.error][google.cloud.aiplatform.v1.TuningJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[TuningJob.state][google.cloud.aiplatform.v1.TuningJob.state] is set to\n`CANCELLED`.", + "file": "GenAiTuningClient/CancelTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_CancelTuningJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_CreateTuningJob_sync", - "title": "aiplatform CreateTuningJob Sample", - "description": "CreateTuningJob creates a TuningJob. A created TuningJob right away will be attempted to\nbe run.", - "file": "GenAiTuningClient/CreateTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.CreateTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.CreateTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "CreateTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TuningJob", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "CreateTuningJob", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.CreateTuningJob", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService" - } - } + "shortName": "CreateTuningJob" }, + "description": "CreateTuningJob creates a TuningJob. A created TuningJob right away will be attempted to\nbe run.", + "file": "GenAiTuningClient/CreateTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_CreateTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetIamPolicy_sync", - "title": "aiplatform 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": "GenAiTuningClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "GenAiTuningClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GenAiTuningClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GenAiTuningClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetTuningJob_sync", - "title": "aiplatform GetTuningJob Sample", - "description": "GetTuningJob gets a TuningJob.", - "file": "GenAiTuningClient/GetTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.GetTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.GetTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "GetTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TuningJob", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "GetTuningJob", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.GetTuningJob", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService" - } - } + "shortName": "GetTuningJob" }, + "description": "GetTuningJob gets a TuningJob.", + "file": "GenAiTuningClient/GetTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_GetTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "GenAiTuningClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.ListLocations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "GenAiTuningClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_ListTuningJobs_sync", - "title": "aiplatform ListTuningJobs Sample", - "description": "ListTuningJobs lists TuningJobs in a Location.", - "file": "GenAiTuningClient/ListTuningJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTuningJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.ListTuningJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.ListTuningJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "ListTuningJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTuningJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTuningJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuningJobIterator", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "ListTuningJobs", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.ListTuningJobs", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService" - } - } + "shortName": "ListTuningJobs" }, + "description": "ListTuningJobs lists TuningJobs in a Location.", + "file": "GenAiTuningClient/ListTuningJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_ListTuningJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTuningJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_RebaseTunedModel_sync", - "title": "aiplatform RebaseTunedModel Sample", - "description": "RebaseTunedModel rebase a TunedModel.", - "file": "GenAiTuningClient/RebaseTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "RebaseTunedModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.RebaseTunedModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.RebaseTunedModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "RebaseTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RebaseTunedModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RebaseTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RebaseTunedModelOperation", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "RebaseTunedModel", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService.RebaseTunedModel", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningService" - } - } + "shortName": "RebaseTunedModel" }, + "description": "RebaseTunedModel rebase a TunedModel.", + "file": "GenAiTuningClient/RebaseTunedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_RebaseTunedModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RebaseTunedModel Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_SetIamPolicy_sync", - "title": "aiplatform 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": "GenAiTuningClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "GenAiTuningClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_TestIamPermissions_sync", - "title": "aiplatform 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": "GenAiTuningClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "GenAiTuningClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_GenAiTuningService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1.GenAiTuningClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_GenAiTuningService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_CreateIndexEndpoint_sync", - "title": "aiplatform CreateIndexEndpoint Sample", - "description": "CreateIndexEndpoint creates an IndexEndpoint.", - "file": "IndexEndpointClient/CreateIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.CreateIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "CreateIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexEndpointOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "CreateIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "CreateIndexEndpoint" }, + "description": "CreateIndexEndpoint creates an IndexEndpoint.", + "file": "IndexEndpointClient/CreateIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_CreateIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_DeleteIndexEndpoint_sync", - "title": "aiplatform DeleteIndexEndpoint Sample", - "description": "DeleteIndexEndpoint deletes an IndexEndpoint.", - "file": "IndexEndpointClient/DeleteIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.DeleteIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.DeleteIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "DeleteIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexEndpointOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "DeleteIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.DeleteIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "DeleteIndexEndpoint" }, + "description": "DeleteIndexEndpoint deletes an IndexEndpoint.", + "file": "IndexEndpointClient/DeleteIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_DeleteIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/DeleteOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_DeleteOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_DeployIndex_sync", - "title": "aiplatform DeployIndex Sample", - "description": "DeployIndex deploys an Index into this IndexEndpoint, creating a DeployedIndex within\nit.\nOnly non-empty Indexes can be deployed.", - "file": "IndexEndpointClient/DeployIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.DeployIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "DeployIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployIndexOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "DeployIndex", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "DeployIndex" }, + "description": "DeployIndex deploys an Index into this IndexEndpoint, creating a DeployedIndex within\nit.\nOnly non-empty Indexes can be deployed.", + "file": "IndexEndpointClient/DeployIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_DeployIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeployIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetIamPolicy_sync", - "title": "aiplatform 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": "IndexEndpointClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "IndexEndpointClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetIndexEndpoint_sync", - "title": "aiplatform GetIndexEndpoint Sample", - "description": "GetIndexEndpoint gets an IndexEndpoint.", - "file": "IndexEndpointClient/GetIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.GetIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.GetIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "GetIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.IndexEndpoint", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "GetIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.GetIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "GetIndexEndpoint" }, + "description": "GetIndexEndpoint gets an IndexEndpoint.", + "file": "IndexEndpointClient/GetIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IndexEndpointClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IndexEndpointClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_ListIndexEndpoints_sync", - "title": "aiplatform ListIndexEndpoints Sample", - "description": "ListIndexEndpoints lists IndexEndpoints in a Location.", - "file": "IndexEndpointClient/ListIndexEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexEndpoints", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.ListIndexEndpoints", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "ListIndexEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListIndexEndpointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListIndexEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexEndpointIterator", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "ListIndexEndpoints", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "ListIndexEndpoints" }, + "description": "ListIndexEndpoints lists IndexEndpoints in a Location.", + "file": "IndexEndpointClient/ListIndexEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_ListIndexEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListIndexEndpoints Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "IndexEndpointClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "IndexEndpointClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_MutateDeployedIndex_sync", - "title": "aiplatform MutateDeployedIndex Sample", - "description": "MutateDeployedIndex update an existing DeployedIndex under an IndexEndpoint.", - "file": "IndexEndpointClient/MutateDeployedIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "MutateDeployedIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.MutateDeployedIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "MutateDeployedIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.MutateDeployedIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.MutateDeployedIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MutateDeployedIndexOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "MutateDeployedIndex", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "MutateDeployedIndex" }, + "description": "MutateDeployedIndex update an existing DeployedIndex under an IndexEndpoint.", + "file": "IndexEndpointClient/MutateDeployedIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_MutateDeployedIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform MutateDeployedIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_SetIamPolicy_sync", - "title": "aiplatform 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": "IndexEndpointClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "IndexEndpointClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_TestIamPermissions_sync", - "title": "aiplatform 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": "IndexEndpointClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "IndexEndpointClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_UndeployIndex_sync", - "title": "aiplatform UndeployIndex Sample", - "description": "UndeployIndex undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it,\nand freeing all resources it's using.", - "file": "IndexEndpointClient/UndeployIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.UndeployIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "UndeployIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UndeployIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UndeployIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployIndexOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "UndeployIndex", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "UndeployIndex" }, + "description": "UndeployIndex undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it,\nand freeing all resources it's using.", + "file": "IndexEndpointClient/UndeployIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_UndeployIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UndeployIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_UpdateIndexEndpoint_sync", - "title": "aiplatform UpdateIndexEndpoint Sample", - "description": "UpdateIndexEndpoint updates an IndexEndpoint.", - "file": "IndexEndpointClient/UpdateIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.UpdateIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.UpdateIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "UpdateIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.IndexEndpoint", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "UpdateIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService.UpdateIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointService" - } - } + "shortName": "UpdateIndexEndpoint" }, + "description": "UpdateIndexEndpoint updates an IndexEndpoint.", + "file": "IndexEndpointClient/UpdateIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_UpdateIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexEndpointService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1.IndexEndpointClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexEndpointService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_CreateIndex_sync", - "title": "aiplatform CreateIndex Sample", - "description": "CreateIndex creates an Index.", - "file": "IndexClient/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.CreateIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.CreateIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.cloud.aiplatform.v1.IndexService.CreateIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates an Index.", + "file": "IndexClient/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_DeleteIndex_sync", - "title": "aiplatform DeleteIndex Sample", - "description": "DeleteIndex deletes an Index.\nAn Index can only be deleted when all its\n[DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had\nbeen undeployed.", - "file": "IndexClient/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.DeleteIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.DeleteIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.cloud.aiplatform.v1.IndexService.DeleteIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex deletes an Index.\nAn Index can only be deleted when all its\n[DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had\nbeen undeployed.", + "file": "IndexClient/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_GetIamPolicy_sync", - "title": "aiplatform 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": "IndexClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "IndexClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_GetIndex_sync", - "title": "aiplatform GetIndex Sample", - "description": "GetIndex gets an Index.", - "file": "IndexClient/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.GetIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.GetIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Index", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.cloud.aiplatform.v1.IndexService.GetIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets an Index.", + "file": "IndexClient/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IndexClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetLocation gets information about a location.", + "file": "IndexClient/GetLocation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_GetLocation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_ListIndexes_sync", - "title": "aiplatform ListIndexes Sample", - "description": "ListIndexes lists Indexes in a Location.", - "file": "IndexClient/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.ListIndexes", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.ListIndexes", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexIterator", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.cloud.aiplatform.v1.IndexService.ListIndexes", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "ListIndexes" }, + "description": "ListIndexes lists Indexes in a Location.", + "file": "IndexClient/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListIndexes Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "IndexClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "IndexClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IndexClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IndexClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_RemoveDatapoints_sync", - "title": "aiplatform RemoveDatapoints Sample", - "description": "RemoveDatapoints remove Datapoints from an Index.", - "file": "IndexClient/RemoveDatapoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveDatapoints", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.RemoveDatapoints", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.RemoveDatapoints", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "RemoveDatapoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RemoveDatapointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RemoveDatapointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RemoveDatapointsResponse", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "RemoveDatapoints", - "fullName": "google.cloud.aiplatform.v1.IndexService.RemoveDatapoints", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "RemoveDatapoints" }, + "description": "RemoveDatapoints remove Datapoints from an Index.", + "file": "IndexClient/RemoveDatapoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_RemoveDatapoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RemoveDatapoints Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_SetIamPolicy_sync", - "title": "aiplatform 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": "IndexClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "IndexClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_TestIamPermissions_sync", - "title": "aiplatform 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": "IndexClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "IndexClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_UpdateIndex_sync", - "title": "aiplatform UpdateIndex Sample", - "description": "UpdateIndex updates an Index.", - "file": "IndexClient/UpdateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.UpdateIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.UpdateIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "UpdateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "UpdateIndex", - "fullName": "google.cloud.aiplatform.v1.IndexService.UpdateIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "UpdateIndex" }, + "description": "UpdateIndex updates an Index.", + "file": "IndexClient/UpdateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_UpdateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateIndex Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_UpsertDatapoints_sync", - "title": "aiplatform UpsertDatapoints Sample", - "description": "UpsertDatapoints add/update Datapoints into an Index.", - "file": "IndexClient/UpsertDatapoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpsertDatapoints", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.UpsertDatapoints", + "method": { + "fullName": "google.cloud.aiplatform.v1.IndexService.UpsertDatapoints", + "service": { + "fullName": "google.cloud.aiplatform.v1.IndexService", + "shortName": "IndexService" + }, + "shortName": "UpsertDatapoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpsertDatapointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpsertDatapointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.UpsertDatapointsResponse", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "UpsertDatapoints", - "fullName": "google.cloud.aiplatform.v1.IndexService.UpsertDatapoints", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1.IndexService" - } - } + "shortName": "UpsertDatapoints" }, + "description": "UpsertDatapoints add/update Datapoints into an Index.", + "file": "IndexClient/UpsertDatapoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_UpsertDatapoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpsertDatapoints Sample" }, { - "regionTag": "aiplatform_v1_generated_IndexService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1.IndexClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1.IndexClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_IndexService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CancelBatchPredictionJob_sync", - "title": "aiplatform CancelBatchPredictionJob Sample", - "description": "CancelBatchPredictionJob cancels a BatchPredictionJob.\n\nStarts asynchronous cancellation on the BatchPredictionJob. The server\nmakes the best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On a successful cancellation,\nthe BatchPredictionJob is not deleted;instead its\n[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]\nis set to `CANCELLED`. Any files already outputted by the job are not\ndeleted.", - "file": "JobClient/CancelBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CancelBatchPredictionJob", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CancelBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelBatchPredictionJob" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CancelBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CancelBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CancelBatchPredictionJob" }, + "description": "CancelBatchPredictionJob cancels a BatchPredictionJob.\n\nStarts asynchronous cancellation on the BatchPredictionJob. The server\nmakes the best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On a successful cancellation,\nthe BatchPredictionJob is not deleted;instead its\n[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]\nis set to `CANCELLED`. Any files already outputted by the job are not\ndeleted.", + "file": "JobClient/CancelBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CancelBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CancelCustomJob_sync", - "title": "aiplatform CancelCustomJob Sample", - "description": "CancelCustomJob cancels a CustomJob.\nStarts asynchronous cancellation on the CustomJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe CustomJob is not deleted; instead it becomes a job with\na [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with\na [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to\n`CANCELLED`.", - "file": "JobClient/CancelCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CancelCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CancelCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CancelCustomJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CancelCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CancelCustomJob" }, + "description": "CancelCustomJob cancels a CustomJob.\nStarts asynchronous cancellation on the CustomJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe CustomJob is not deleted; instead it becomes a job with\na [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with\na [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to\n`CANCELLED`.", + "file": "JobClient/CancelCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CancelCustomJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelCustomJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CancelDataLabelingJob_sync", - "title": "aiplatform CancelDataLabelingJob Sample", - "description": "CancelDataLabelingJob cancels a DataLabelingJob. Success of cancellation is not guaranteed.", - "file": "JobClient/CancelDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CancelDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CancelDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CancelDataLabelingJob" }, + "description": "CancelDataLabelingJob cancels a DataLabelingJob. Success of cancellation is not guaranteed.", + "file": "JobClient/CancelDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CancelDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CancelHyperparameterTuningJob_sync", - "title": "aiplatform CancelHyperparameterTuningJob Sample", - "description": "CancelHyperparameterTuningJob cancels a HyperparameterTuningJob.\nStarts asynchronous cancellation on the HyperparameterTuningJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe HyperparameterTuningJob is not deleted; instead it becomes a job with\na\n[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]\nis set to `CANCELLED`.", - "file": "JobClient/CancelHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CancelHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CancelHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CancelHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CancelHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CancelHyperparameterTuningJob" }, + "description": "CancelHyperparameterTuningJob cancels a HyperparameterTuningJob.\nStarts asynchronous cancellation on the HyperparameterTuningJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe HyperparameterTuningJob is not deleted; instead it becomes a job with\na\n[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]\nis set to `CANCELLED`.", + "file": "JobClient/CancelHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CancelHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CancelNasJob_sync", - "title": "aiplatform CancelNasJob Sample", - "description": "CancelNasJob cancels a NasJob.\nStarts asynchronous cancellation on the NasJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or\nother methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe NasJob is not deleted; instead it becomes a job with\na [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to\n`CANCELLED`.", - "file": "JobClient/CancelNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CancelNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CancelNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CancelNasJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CancelNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CancelNasJob" }, + "description": "CancelNasJob cancels a NasJob.\nStarts asynchronous cancellation on the NasJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or\nother methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe NasJob is not deleted; instead it becomes a job with\na [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to\n`CANCELLED`.", + "file": "JobClient/CancelNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CancelNasJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelNasJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CreateBatchPredictionJob_sync", - "title": "aiplatform CreateBatchPredictionJob Sample", - "description": "CreateBatchPredictionJob creates a BatchPredictionJob. A BatchPredictionJob once created will\nright away be attempted to start.", - "file": "JobClient/CreateBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CreateBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchPredictionJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CreateBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CreateBatchPredictionJob" }, + "description": "CreateBatchPredictionJob creates a BatchPredictionJob. A BatchPredictionJob once created will\nright away be attempted to start.", + "file": "JobClient/CreateBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CreateBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CreateCustomJob_sync", - "title": "aiplatform CreateCustomJob Sample", - "description": "CreateCustomJob creates a CustomJob. A created CustomJob right away\nwill be attempted to be run.", - "file": "JobClient/CreateCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CreateCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CreateCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CustomJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CreateCustomJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CreateCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CreateCustomJob" }, + "description": "CreateCustomJob creates a CustomJob. A created CustomJob right away\nwill be attempted to be run.", + "file": "JobClient/CreateCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CreateCustomJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateCustomJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CreateDataLabelingJob_sync", - "title": "aiplatform CreateDataLabelingJob Sample", - "description": "CreateDataLabelingJob creates a DataLabelingJob.", - "file": "JobClient/CreateDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CreateDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DataLabelingJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CreateDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CreateDataLabelingJob" }, + "description": "CreateDataLabelingJob creates a DataLabelingJob.", + "file": "JobClient/CreateDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CreateDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CreateHyperparameterTuningJob_sync", - "title": "aiplatform CreateHyperparameterTuningJob Sample", - "description": "CreateHyperparameterTuningJob creates a HyperparameterTuningJob", - "file": "JobClient/CreateHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CreateHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CreateHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.HyperparameterTuningJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CreateHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CreateHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CreateHyperparameterTuningJob" }, + "description": "CreateHyperparameterTuningJob creates a HyperparameterTuningJob", + "file": "JobClient/CreateHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CreateHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CreateModelDeploymentMonitoringJob_sync", - "title": "aiplatform CreateModelDeploymentMonitoringJob Sample", - "description": "CreateModelDeploymentMonitoringJob creates a ModelDeploymentMonitoringJob. It will run periodically on a\nconfigured interval.", - "file": "JobClient/CreateModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CreateModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelDeploymentMonitoringJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CreateModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CreateModelDeploymentMonitoringJob" }, + "description": "CreateModelDeploymentMonitoringJob creates a ModelDeploymentMonitoringJob. It will run periodically on a\nconfigured interval.", + "file": "JobClient/CreateModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CreateModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_CreateNasJob_sync", - "title": "aiplatform CreateNasJob Sample", - "description": "CreateNasJob creates a NasJob", - "file": "JobClient/CreateNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.CreateNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.CreateNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NasJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "CreateNasJob", - "fullName": "google.cloud.aiplatform.v1.JobService.CreateNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "CreateNasJob" }, + "description": "CreateNasJob creates a NasJob", + "file": "JobClient/CreateNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_CreateNasJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateNasJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteBatchPredictionJob_sync", - "title": "aiplatform DeleteBatchPredictionJob Sample", - "description": "DeleteBatchPredictionJob deletes a BatchPredictionJob. Can only be called on jobs that already\nfinished.", - "file": "JobClient/DeleteBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBatchPredictionJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1.JobService.DeleteBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "DeleteBatchPredictionJob" }, + "description": "DeleteBatchPredictionJob deletes a BatchPredictionJob. Can only be called on jobs that already\nfinished.", + "file": "JobClient/DeleteBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteCustomJob_sync", - "title": "aiplatform DeleteCustomJob Sample", - "description": "DeleteCustomJob deletes a CustomJob.", - "file": "JobClient/DeleteCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCustomJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteCustomJob", - "fullName": "google.cloud.aiplatform.v1.JobService.DeleteCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "DeleteCustomJob" }, + "description": "DeleteCustomJob deletes a CustomJob.", + "file": "JobClient/DeleteCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteCustomJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteCustomJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteDataLabelingJob_sync", - "title": "aiplatform DeleteDataLabelingJob Sample", - "description": "DeleteDataLabelingJob deletes a DataLabelingJob.", - "file": "JobClient/DeleteDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataLabelingJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1.JobService.DeleteDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "DeleteDataLabelingJob" }, + "description": "DeleteDataLabelingJob deletes a DataLabelingJob.", + "file": "JobClient/DeleteDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteHyperparameterTuningJob_sync", - "title": "aiplatform DeleteHyperparameterTuningJob Sample", - "description": "DeleteHyperparameterTuningJob deletes a HyperparameterTuningJob.", - "file": "JobClient/DeleteHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHyperparameterTuningJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1.JobService.DeleteHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "DeleteHyperparameterTuningJob" }, + "description": "DeleteHyperparameterTuningJob deletes a HyperparameterTuningJob.", + "file": "JobClient/DeleteHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteModelDeploymentMonitoringJob_sync", - "title": "aiplatform DeleteModelDeploymentMonitoringJob Sample", - "description": "DeleteModelDeploymentMonitoringJob deletes a ModelDeploymentMonitoringJob.", - "file": "JobClient/DeleteModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelDeploymentMonitoringJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1.JobService.DeleteModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "DeleteModelDeploymentMonitoringJob" }, + "description": "DeleteModelDeploymentMonitoringJob deletes a ModelDeploymentMonitoringJob.", + "file": "JobClient/DeleteModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteNasJob_sync", - "title": "aiplatform DeleteNasJob Sample", - "description": "DeleteNasJob deletes a NasJob.", - "file": "JobClient/DeleteNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNasJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteNasJob", - "fullName": "google.cloud.aiplatform.v1.JobService.DeleteNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "DeleteNasJob" }, + "description": "DeleteNasJob deletes a NasJob.", + "file": "JobClient/DeleteNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteNasJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNasJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetBatchPredictionJob_sync", - "title": "aiplatform GetBatchPredictionJob Sample", - "description": "GetBatchPredictionJob gets a BatchPredictionJob", - "file": "JobClient/GetBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchPredictionJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "GetBatchPredictionJob" }, + "description": "GetBatchPredictionJob gets a BatchPredictionJob", + "file": "JobClient/GetBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetCustomJob_sync", - "title": "aiplatform GetCustomJob Sample", - "description": "GetCustomJob gets a CustomJob.", - "file": "JobClient/GetCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.GetCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CustomJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetCustomJob", - "fullName": "google.cloud.aiplatform.v1.JobService.GetCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "GetCustomJob" }, + "description": "GetCustomJob gets a CustomJob.", + "file": "JobClient/GetCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetCustomJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetCustomJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetDataLabelingJob_sync", - "title": "aiplatform GetDataLabelingJob Sample", - "description": "GetDataLabelingJob gets a DataLabelingJob.", - "file": "JobClient/GetDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.GetDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DataLabelingJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1.JobService.GetDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "GetDataLabelingJob" }, + "description": "GetDataLabelingJob gets a DataLabelingJob.", + "file": "JobClient/GetDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetHyperparameterTuningJob_sync", - "title": "aiplatform GetHyperparameterTuningJob Sample", - "description": "GetHyperparameterTuningJob gets a HyperparameterTuningJob", - "file": "JobClient/GetHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.HyperparameterTuningJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "GetHyperparameterTuningJob" }, + "description": "GetHyperparameterTuningJob gets a HyperparameterTuningJob", + "file": "JobClient/GetHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetIamPolicy_sync", - "title": "aiplatform 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": "JobClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "JobClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "JobClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "JobClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetModelDeploymentMonitoringJob_sync", - "title": "aiplatform GetModelDeploymentMonitoringJob Sample", - "description": "GetModelDeploymentMonitoringJob gets a ModelDeploymentMonitoringJob.", - "file": "JobClient/GetModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1.JobClient.GetModelDeploymentMonitoringJob", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.GetModelDeploymentMonitoringJobRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.ModelDeploymentMonitoringJob", "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" }, + "fullName": "google.cloud.aiplatform.v1.JobClient.GetModelDeploymentMonitoringJob", "method": { - "shortName": "GetModelDeploymentMonitoringJob", "fullName": "google.cloud.aiplatform.v1.JobService.GetModelDeploymentMonitoringJob", "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetModelDeploymentMonitoringJob" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.GetModelDeploymentMonitoringJobRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.ModelDeploymentMonitoringJob", + "shortName": "GetModelDeploymentMonitoringJob" }, + "description": "GetModelDeploymentMonitoringJob gets a ModelDeploymentMonitoringJob.", + "file": "JobClient/GetModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetNasJob_sync", - "title": "aiplatform GetNasJob Sample", - "description": "GetNasJob gets a NasJob", - "file": "JobClient/GetNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.GetNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NasJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetNasJob", - "fullName": "google.cloud.aiplatform.v1.JobService.GetNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "GetNasJob" }, + "description": "GetNasJob gets a NasJob", + "file": "JobClient/GetNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetNasJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNasJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetNasTrialDetail_sync", - "title": "aiplatform GetNasTrialDetail Sample", - "description": "GetNasTrialDetail gets a NasTrialDetail.", - "file": "JobClient/GetNasTrialDetail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNasTrialDetail", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetNasTrialDetail", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.GetNasTrialDetail", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "GetNasTrialDetail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNasTrialDetailRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNasTrialDetailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NasTrialDetail", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetNasTrialDetail", - "fullName": "google.cloud.aiplatform.v1.JobService.GetNasTrialDetail", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "GetNasTrialDetail" }, + "description": "GetNasTrialDetail gets a NasTrialDetail.", + "file": "JobClient/GetNasTrialDetail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetNasTrialDetail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNasTrialDetail Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListBatchPredictionJobs_sync", - "title": "aiplatform ListBatchPredictionJobs Sample", - "description": "ListBatchPredictionJobs lists BatchPredictionJobs in a Location.", - "file": "JobClient/ListBatchPredictionJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBatchPredictionJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListBatchPredictionJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListBatchPredictionJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListBatchPredictionJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListBatchPredictionJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchPredictionJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListBatchPredictionJobs", - "fullName": "google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListBatchPredictionJobs" }, + "description": "ListBatchPredictionJobs lists BatchPredictionJobs in a Location.", + "file": "JobClient/ListBatchPredictionJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListBatchPredictionJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListBatchPredictionJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListCustomJobs_sync", - "title": "aiplatform ListCustomJobs Sample", - "description": "ListCustomJobs lists CustomJobs in a Location.", - "file": "JobClient/ListCustomJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListCustomJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListCustomJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListCustomJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListCustomJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListCustomJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListCustomJobs", - "fullName": "google.cloud.aiplatform.v1.JobService.ListCustomJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListCustomJobs" }, + "description": "ListCustomJobs lists CustomJobs in a Location.", + "file": "JobClient/ListCustomJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListCustomJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListCustomJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListDataLabelingJobs_sync", - "title": "aiplatform ListDataLabelingJobs Sample", - "description": "ListDataLabelingJobs lists DataLabelingJobs in a Location.", - "file": "JobClient/ListDataLabelingJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataLabelingJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListDataLabelingJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListDataLabelingJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDataLabelingJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDataLabelingJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataLabelingJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListDataLabelingJobs", - "fullName": "google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListDataLabelingJobs" }, + "description": "ListDataLabelingJobs lists DataLabelingJobs in a Location.", + "file": "JobClient/ListDataLabelingJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListDataLabelingJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDataLabelingJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListHyperparameterTuningJobs_sync", - "title": "aiplatform ListHyperparameterTuningJobs Sample", - "description": "ListHyperparameterTuningJobs lists HyperparameterTuningJobs in a Location.", - "file": "JobClient/ListHyperparameterTuningJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHyperparameterTuningJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListHyperparameterTuningJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListHyperparameterTuningJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListHyperparameterTuningJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListHyperparameterTuningJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HyperparameterTuningJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListHyperparameterTuningJobs", - "fullName": "google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListHyperparameterTuningJobs" }, + "description": "ListHyperparameterTuningJobs lists HyperparameterTuningJobs in a Location.", + "file": "JobClient/ListHyperparameterTuningJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListHyperparameterTuningJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListHyperparameterTuningJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "JobClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "JobClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListModelDeploymentMonitoringJobs_sync", - "title": "aiplatform ListModelDeploymentMonitoringJobs Sample", - "description": "ListModelDeploymentMonitoringJobs lists ModelDeploymentMonitoringJobs in a Location.", - "file": "JobClient/ListModelDeploymentMonitoringJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelDeploymentMonitoringJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListModelDeploymentMonitoringJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListModelDeploymentMonitoringJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelDeploymentMonitoringJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelDeploymentMonitoringJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelDeploymentMonitoringJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListModelDeploymentMonitoringJobs", - "fullName": "google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListModelDeploymentMonitoringJobs" }, + "description": "ListModelDeploymentMonitoringJobs lists ModelDeploymentMonitoringJobs in a Location.", + "file": "JobClient/ListModelDeploymentMonitoringJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListModelDeploymentMonitoringJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelDeploymentMonitoringJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListNasJobs_sync", - "title": "aiplatform ListNasJobs Sample", - "description": "ListNasJobs lists NasJobs in a Location.", - "file": "JobClient/ListNasJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNasJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListNasJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListNasJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListNasJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNasJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNasJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NasJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListNasJobs", - "fullName": "google.cloud.aiplatform.v1.JobService.ListNasJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListNasJobs" }, + "description": "ListNasJobs lists NasJobs in a Location.", + "file": "JobClient/ListNasJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListNasJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNasJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListNasTrialDetails_sync", - "title": "aiplatform ListNasTrialDetails Sample", - "description": "ListNasTrialDetails list top NasTrialDetails of a NasJob.", - "file": "JobClient/ListNasTrialDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNasTrialDetails", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListNasTrialDetails", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ListNasTrialDetails", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ListNasTrialDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNasTrialDetailsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNasTrialDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NasTrialDetailIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListNasTrialDetails", - "fullName": "google.cloud.aiplatform.v1.JobService.ListNasTrialDetails", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ListNasTrialDetails" }, + "description": "ListNasTrialDetails list top NasTrialDetails of a NasJob.", + "file": "JobClient/ListNasTrialDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListNasTrialDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNasTrialDetails Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "JobClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "JobClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_PauseModelDeploymentMonitoringJob_sync", - "title": "aiplatform PauseModelDeploymentMonitoringJob Sample", - "description": "PauseModelDeploymentMonitoringJob pauses a ModelDeploymentMonitoringJob. If the job is running, the server\nmakes a best effort to cancel the job. Will mark\n[ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]\nto 'PAUSED'.", - "file": "JobClient/PauseModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.PauseModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.PauseModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "PauseModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PauseModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PauseModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "PauseModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1.JobService.PauseModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "PauseModelDeploymentMonitoringJob" }, + "description": "PauseModelDeploymentMonitoringJob pauses a ModelDeploymentMonitoringJob. If the job is running, the server\nmakes a best effort to cancel the job. Will mark\n[ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]\nto 'PAUSED'.", + "file": "JobClient/PauseModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_PauseModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PauseModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_ResumeModelDeploymentMonitoringJob_sync", - "title": "aiplatform ResumeModelDeploymentMonitoringJob Sample", - "description": "ResumeModelDeploymentMonitoringJob resumes a paused ModelDeploymentMonitoringJob. It will start to run from\nnext scheduled time. A deleted ModelDeploymentMonitoringJob can't be\nresumed.", - "file": "JobClient/ResumeModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.ResumeModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.ResumeModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "ResumeModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ResumeModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ResumeModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "ResumeModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1.JobService.ResumeModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "ResumeModelDeploymentMonitoringJob" }, + "description": "ResumeModelDeploymentMonitoringJob resumes a paused ModelDeploymentMonitoringJob. It will start to run from\nnext scheduled time. A deleted ModelDeploymentMonitoringJob can't be\nresumed.", + "file": "JobClient/ResumeModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_ResumeModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ResumeModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_SearchModelDeploymentMonitoringStatsAnomalies_sync", - "title": "aiplatform SearchModelDeploymentMonitoringStatsAnomalies Sample", - "description": "SearchModelDeploymentMonitoringStatsAnomalies searches Model Monitoring Statistics generated within a given time window.", - "file": "JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchModelDeploymentMonitoringStatsAnomalies", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.SearchModelDeploymentMonitoringStatsAnomalies", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "SearchModelDeploymentMonitoringStatsAnomalies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelMonitoringStatsAnomaliesIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "SearchModelDeploymentMonitoringStatsAnomalies", - "fullName": "google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "SearchModelDeploymentMonitoringStatsAnomalies" }, + "description": "SearchModelDeploymentMonitoringStatsAnomalies searches Model Monitoring Statistics generated within a given time window.", + "file": "JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_SearchModelDeploymentMonitoringStatsAnomalies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchModelDeploymentMonitoringStatsAnomalies Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_SetIamPolicy_sync", - "title": "aiplatform 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": "JobClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "JobClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_TestIamPermissions_sync", - "title": "aiplatform 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": "JobClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "JobClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_UpdateModelDeploymentMonitoringJob_sync", - "title": "aiplatform UpdateModelDeploymentMonitoringJob Sample", - "description": "UpdateModelDeploymentMonitoringJob updates a ModelDeploymentMonitoringJob.", - "file": "JobClient/UpdateModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.UpdateModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.JobService", + "shortName": "JobService" + }, + "shortName": "UpdateModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateModelDeploymentMonitoringJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "UpdateModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1.JobService" - } - } + "shortName": "UpdateModelDeploymentMonitoringJob" }, + "description": "UpdateModelDeploymentMonitoringJob updates a ModelDeploymentMonitoringJob.", + "file": "JobClient/UpdateModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_UpdateModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1_generated_JobService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1.JobClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1.JobClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_JobService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_ComputeTokens_sync", - "title": "aiplatform ComputeTokens Sample", - "description": "ComputeTokens return a list of tokens based on the input text.", - "file": "LlmUtilityClient/ComputeTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeTokens", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ComputeTokens", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.ComputeTokensRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.ComputeTokensResponse", "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" }, + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ComputeTokens", "method": { - "shortName": "ComputeTokens", "fullName": "google.cloud.aiplatform.v1.LlmUtilityService.ComputeTokens", "service": { - "shortName": "LlmUtilityService", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityService" + "fullName": "google.cloud.aiplatform.v1.LlmUtilityService", + "shortName": "LlmUtilityService" + }, + "shortName": "ComputeTokens" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.ComputeTokensRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.ComputeTokensResponse", + "shortName": "ComputeTokens" }, + "description": "ComputeTokens return a list of tokens based on the input text.", + "file": "LlmUtilityClient/ComputeTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_ComputeTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ComputeTokens Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_CountTokens_sync", - "title": "aiplatform CountTokens Sample", - "description": "CountTokens perform a token counting.", - "file": "LlmUtilityClient/CountTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTokens", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.CountTokens", + "method": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityService.CountTokens", + "service": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityService", + "shortName": "LlmUtilityService" + }, + "shortName": "CountTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CountTokensRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CountTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CountTokensResponse", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "CountTokens", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityService.CountTokens", - "service": { - "shortName": "LlmUtilityService", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityService" - } - } + "shortName": "CountTokens" }, + "description": "CountTokens perform a token counting.", + "file": "LlmUtilityClient/CountTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_CountTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CountTokens Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_GetIamPolicy_sync", - "title": "aiplatform 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": "LlmUtilityClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "LlmUtilityClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "LlmUtilityClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "LlmUtilityClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "LlmUtilityClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "LlmUtilityClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_SetIamPolicy_sync", - "title": "aiplatform 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": "LlmUtilityClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "LlmUtilityClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_TestIamPermissions_sync", - "title": "aiplatform 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": "LlmUtilityClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "LlmUtilityClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_LlmUtilityService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1.LlmUtilityClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_LlmUtilityService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_FindNeighbors_sync", - "title": "aiplatform FindNeighbors Sample", - "description": "FindNeighbors finds the nearest neighbors of each vector within the request.", - "file": "MatchClient/FindNeighbors/main.go", - "language": "GO", "clientMethod": { - "shortName": "FindNeighbors", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.FindNeighbors", + "method": { + "fullName": "google.cloud.aiplatform.v1.MatchService.FindNeighbors", + "service": { + "fullName": "google.cloud.aiplatform.v1.MatchService", + "shortName": "MatchService" + }, + "shortName": "FindNeighbors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.FindNeighborsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.FindNeighborsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FindNeighborsResponse", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "FindNeighbors", - "fullName": "google.cloud.aiplatform.v1.MatchService.FindNeighbors", - "service": { - "shortName": "MatchService", - "fullName": "google.cloud.aiplatform.v1.MatchService" - } - } + "shortName": "FindNeighbors" }, + "description": "FindNeighbors finds the nearest neighbors of each vector within the request.", + "file": "MatchClient/FindNeighbors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_FindNeighbors_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FindNeighbors Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_GetIamPolicy_sync", - "title": "aiplatform 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": "MatchClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MatchClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MatchClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MatchClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MatchClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MatchClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MatchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MatchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_ReadIndexDatapoints_sync", - "title": "aiplatform ReadIndexDatapoints Sample", - "description": "ReadIndexDatapoints reads the datapoints/vectors of the given IDs.\nA maximum of 1000 datapoints can be retrieved in a batch.", - "file": "MatchClient/ReadIndexDatapoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadIndexDatapoints", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.ReadIndexDatapoints", + "method": { + "fullName": "google.cloud.aiplatform.v1.MatchService.ReadIndexDatapoints", + "service": { + "fullName": "google.cloud.aiplatform.v1.MatchService", + "shortName": "MatchService" + }, + "shortName": "ReadIndexDatapoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadIndexDatapointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadIndexDatapointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadIndexDatapointsResponse", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "ReadIndexDatapoints", - "fullName": "google.cloud.aiplatform.v1.MatchService.ReadIndexDatapoints", - "service": { - "shortName": "MatchService", - "fullName": "google.cloud.aiplatform.v1.MatchService" - } - } + "shortName": "ReadIndexDatapoints" }, + "description": "ReadIndexDatapoints reads the datapoints/vectors of the given IDs.\nA maximum of 1000 datapoints can be retrieved in a batch.", + "file": "MatchClient/ReadIndexDatapoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_ReadIndexDatapoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadIndexDatapoints Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_SetIamPolicy_sync", - "title": "aiplatform 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": "MatchClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MatchClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_TestIamPermissions_sync", - "title": "aiplatform 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": "MatchClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.aiplatform.v1.MatchClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*iampb.TestIamPermissionsResponse", "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" }, + "fullName": "google.cloud.aiplatform.v1.MatchClient.TestIamPermissions", "method": { - "shortName": "TestIamPermissions", "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "iampb.TestIamPermissionsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*iampb.TestIamPermissionsResponse", + "shortName": "TestIamPermissions" }, + "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": "MatchClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_MatchService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1.MatchClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1.MatchClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MatchService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_AddContextArtifactsAndExecutions_sync", - "title": "aiplatform AddContextArtifactsAndExecutions Sample", - "description": "AddContextArtifactsAndExecutions adds a set of Artifacts and Executions to a Context. If any of the\nArtifacts or Executions have already been added to a Context, they are\nsimply skipped.", - "file": "MetadataClient/AddContextArtifactsAndExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddContextArtifactsAndExecutions", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.AddContextArtifactsAndExecutions", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "AddContextArtifactsAndExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddContextArtifactsAndExecutionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddContextArtifactsAndExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AddContextArtifactsAndExecutionsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "AddContextArtifactsAndExecutions", - "fullName": "google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "AddContextArtifactsAndExecutions" }, + "description": "AddContextArtifactsAndExecutions adds a set of Artifacts and Executions to a Context. If any of the\nArtifacts or Executions have already been added to a Context, they are\nsimply skipped.", + "file": "MetadataClient/AddContextArtifactsAndExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_AddContextArtifactsAndExecutions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddContextArtifactsAndExecutions Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_AddContextChildren_sync", - "title": "aiplatform AddContextChildren Sample", - "description": "AddContextChildren adds a set of Contexts as children to a parent Context. If any of the\nchild Contexts have already been added to the parent Context, they are\nsimply skipped. If this call would create a cycle or cause any Context to\nhave more than 10 parents, the request will fail with an INVALID_ARGUMENT\nerror.", - "file": "MetadataClient/AddContextChildren/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddContextChildren", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.AddContextChildren", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.AddContextChildren", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "AddContextChildren" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddContextChildrenRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddContextChildrenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AddContextChildrenResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "AddContextChildren", - "fullName": "google.cloud.aiplatform.v1.MetadataService.AddContextChildren", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "AddContextChildren" }, + "description": "AddContextChildren adds a set of Contexts as children to a parent Context. If any of the\nchild Contexts have already been added to the parent Context, they are\nsimply skipped. If this call would create a cycle or cause any Context to\nhave more than 10 parents, the request will fail with an INVALID_ARGUMENT\nerror.", + "file": "MetadataClient/AddContextChildren/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_AddContextChildren_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddContextChildren Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_AddExecutionEvents_sync", - "title": "aiplatform AddExecutionEvents Sample", - "description": "AddExecutionEvents adds Events to the specified Execution. An Event indicates whether an\nArtifact was used as an input or output for an Execution. If an Event\nalready exists between the Execution and the Artifact, the Event is\nskipped.", - "file": "MetadataClient/AddExecutionEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddExecutionEvents", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.AddExecutionEvents", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "AddExecutionEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddExecutionEventsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddExecutionEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AddExecutionEventsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "AddExecutionEvents", - "fullName": "google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "AddExecutionEvents" }, + "description": "AddExecutionEvents adds Events to the specified Execution. An Event indicates whether an\nArtifact was used as an input or output for an Execution. If an Event\nalready exists between the Execution and the Artifact, the Event is\nskipped.", + "file": "MetadataClient/AddExecutionEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_AddExecutionEvents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddExecutionEvents Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_CreateArtifact_sync", - "title": "aiplatform CreateArtifact Sample", - "description": "CreateArtifact creates an Artifact associated with a MetadataStore.", - "file": "MetadataClient/CreateArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.CreateArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Artifact", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "CreateArtifact", - "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "CreateArtifact" }, + "description": "CreateArtifact creates an Artifact associated with a MetadataStore.", + "file": "MetadataClient/CreateArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_CreateArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateArtifact Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_CreateContext_sync", - "title": "aiplatform CreateContext Sample", - "description": "CreateContext creates a Context associated with a MetadataStore.", - "file": "MetadataClient/CreateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateContext", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.CreateContext", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateContext", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Context", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "CreateContext", - "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "CreateContext" }, + "description": "CreateContext creates a Context associated with a MetadataStore.", + "file": "MetadataClient/CreateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_CreateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateContext Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_CreateExecution_sync", - "title": "aiplatform CreateExecution Sample", - "description": "CreateExecution creates an Execution associated with a MetadataStore.", - "file": "MetadataClient/CreateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.CreateExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Execution", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "CreateExecution", - "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "CreateExecution" }, + "description": "CreateExecution creates an Execution associated with a MetadataStore.", + "file": "MetadataClient/CreateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_CreateExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateExecution Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_CreateMetadataSchema_sync", - "title": "aiplatform CreateMetadataSchema Sample", - "description": "CreateMetadataSchema creates a MetadataSchema.", - "file": "MetadataClient/CreateMetadataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataSchema", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.CreateMetadataSchema", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateMetadataSchema", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateMetadataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateMetadataSchemaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateMetadataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.MetadataSchema", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "CreateMetadataSchema", - "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateMetadataSchema", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "CreateMetadataSchema" }, + "description": "CreateMetadataSchema creates a MetadataSchema.", + "file": "MetadataClient/CreateMetadataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_CreateMetadataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateMetadataSchema Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_CreateMetadataStore_sync", - "title": "aiplatform CreateMetadataStore Sample", - "description": "CreateMetadataStore initializes a MetadataStore, including allocation of resources.", - "file": "MetadataClient/CreateMetadataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.CreateMetadataStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateMetadataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateMetadataStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateMetadataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataStoreOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "CreateMetadataStore", - "fullName": "google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "CreateMetadataStore" }, + "description": "CreateMetadataStore initializes a MetadataStore, including allocation of resources.", + "file": "MetadataClient/CreateMetadataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_CreateMetadataStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateMetadataStore Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_DeleteArtifact_sync", - "title": "aiplatform DeleteArtifact Sample", - "description": "DeleteArtifact deletes an Artifact.", - "file": "MetadataClient/DeleteArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.DeleteArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteArtifactOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteArtifact", - "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "DeleteArtifact" }, + "description": "DeleteArtifact deletes an Artifact.", + "file": "MetadataClient/DeleteArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_DeleteArtifact_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteArtifact Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_DeleteContext_sync", - "title": "aiplatform DeleteContext Sample", - "description": "DeleteContext deletes a stored Context.", - "file": "MetadataClient/DeleteContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteContext", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.DeleteContext", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteContext", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteContextOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteContext", - "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "DeleteContext" }, + "description": "DeleteContext deletes a stored Context.", + "file": "MetadataClient/DeleteContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_DeleteContext_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteContext Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_DeleteExecution_sync", - "title": "aiplatform DeleteExecution Sample", - "description": "DeleteExecution deletes an Execution.", - "file": "MetadataClient/DeleteExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.DeleteExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExecutionOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteExecution", - "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "DeleteExecution" }, + "description": "DeleteExecution deletes an Execution.", + "file": "MetadataClient/DeleteExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_DeleteExecution_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteExecution Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_DeleteMetadataStore_sync", - "title": "aiplatform DeleteMetadataStore Sample", - "description": "DeleteMetadataStore deletes a single MetadataStore and all its child resources (Artifacts,\nExecutions, and Contexts).", - "file": "MetadataClient/DeleteMetadataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMetadataStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.DeleteMetadataStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteMetadataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteMetadataStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteMetadataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMetadataStoreOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteMetadataStore", - "fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "DeleteMetadataStore" }, + "description": "DeleteMetadataStore deletes a single MetadataStore and all its child resources (Artifacts,\nExecutions, and Contexts).", + "file": "MetadataClient/DeleteMetadataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_DeleteMetadataStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteMetadataStore Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetArtifact_sync", - "title": "aiplatform GetArtifact Sample", - "description": "GetArtifact retrieves a specific Artifact.", - "file": "MetadataClient/GetArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.GetArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Artifact", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetArtifact", - "fullName": "google.cloud.aiplatform.v1.MetadataService.GetArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "GetArtifact" }, + "description": "GetArtifact retrieves a specific Artifact.", + "file": "MetadataClient/GetArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetArtifact Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetContext_sync", - "title": "aiplatform GetContext Sample", - "description": "GetContext retrieves a specific Context.", - "file": "MetadataClient/GetContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetContext", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetContext", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.GetContext", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Context", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.aiplatform.v1.MetadataService.GetContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "GetContext" }, + "description": "GetContext retrieves a specific Context.", + "file": "MetadataClient/GetContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetContext Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetExecution_sync", - "title": "aiplatform GetExecution Sample", - "description": "GetExecution retrieves a specific Execution.", - "file": "MetadataClient/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.GetExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Execution", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.aiplatform.v1.MetadataService.GetExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution retrieves a specific Execution.", + "file": "MetadataClient/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetExecution Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetIamPolicy_sync", - "title": "aiplatform 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": "MetadataClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MetadataClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MetadataClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MetadataClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetMetadataSchema_sync", - "title": "aiplatform GetMetadataSchema Sample", - "description": "GetMetadataSchema retrieves a specific MetadataSchema.", - "file": "MetadataClient/GetMetadataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataSchema", - "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetMetadataSchema", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.GetMetadataSchemaRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.MetadataSchema", "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" }, + "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetMetadataSchema", "method": { - "shortName": "GetMetadataSchema", "fullName": "google.cloud.aiplatform.v1.MetadataService.GetMetadataSchema", "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetMetadataSchema" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.GetMetadataSchemaRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.MetadataSchema", + "shortName": "GetMetadataSchema" }, + "description": "GetMetadataSchema retrieves a specific MetadataSchema.", + "file": "MetadataClient/GetMetadataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetMetadataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetMetadataSchema Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetMetadataStore_sync", - "title": "aiplatform GetMetadataStore Sample", - "description": "GetMetadataStore retrieves a specific MetadataStore.", - "file": "MetadataClient/GetMetadataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataStore", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetMetadataStore", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.GetMetadataStore", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetMetadataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetMetadataStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetMetadataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.MetadataStore", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetMetadataStore", - "fullName": "google.cloud.aiplatform.v1.MetadataService.GetMetadataStore", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "GetMetadataStore" }, + "description": "GetMetadataStore retrieves a specific MetadataStore.", + "file": "MetadataClient/GetMetadataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetMetadataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetMetadataStore Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListArtifacts_sync", - "title": "aiplatform ListArtifacts Sample", - "description": "ListArtifacts lists Artifacts in the MetadataStore.", - "file": "MetadataClient/ListArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListArtifacts", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListArtifacts", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.ListArtifacts", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListArtifactsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ArtifactIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListArtifacts", - "fullName": "google.cloud.aiplatform.v1.MetadataService.ListArtifacts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "ListArtifacts" }, + "description": "ListArtifacts lists Artifacts in the MetadataStore.", + "file": "MetadataClient/ListArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListArtifacts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListArtifacts Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListContexts_sync", - "title": "aiplatform ListContexts Sample", - "description": "ListContexts lists Contexts on the MetadataStore.", - "file": "MetadataClient/ListContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.ListContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContextIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.aiplatform.v1.MetadataService.ListContexts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "ListContexts" }, + "description": "ListContexts lists Contexts on the MetadataStore.", + "file": "MetadataClient/ListContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListContexts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListContexts Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListExecutions_sync", - "title": "aiplatform ListExecutions Sample", - "description": "ListExecutions lists Executions in the MetadataStore.", - "file": "MetadataClient/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListExecutions", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.ListExecutions", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.aiplatform.v1.MetadataService.ListExecutions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "ListExecutions" }, + "description": "ListExecutions lists Executions in the MetadataStore.", + "file": "MetadataClient/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListExecutions Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MetadataClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MetadataClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListMetadataSchemas_sync", - "title": "aiplatform ListMetadataSchemas Sample", - "description": "ListMetadataSchemas lists MetadataSchemas.", - "file": "MetadataClient/ListMetadataSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataSchemas", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListMetadataSchemas", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListMetadataSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListMetadataSchemasRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListMetadataSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataSchemaIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListMetadataSchemas", - "fullName": "google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "ListMetadataSchemas" }, + "description": "ListMetadataSchemas lists MetadataSchemas.", + "file": "MetadataClient/ListMetadataSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListMetadataSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListMetadataSchemas Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListMetadataStores_sync", - "title": "aiplatform ListMetadataStores Sample", - "description": "ListMetadataStores lists MetadataStores for a Location.", - "file": "MetadataClient/ListMetadataStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataStores", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListMetadataStores", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.ListMetadataStores", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListMetadataStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListMetadataStoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListMetadataStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataStoreIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListMetadataStores", - "fullName": "google.cloud.aiplatform.v1.MetadataService.ListMetadataStores", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "ListMetadataStores" }, + "description": "ListMetadataStores lists MetadataStores for a Location.", + "file": "MetadataClient/ListMetadataStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListMetadataStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListMetadataStores Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_PurgeArtifacts_sync", - "title": "aiplatform PurgeArtifacts Sample", - "description": "PurgeArtifacts purges Artifacts.", - "file": "MetadataClient/PurgeArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeArtifacts", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.PurgeArtifacts", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "PurgeArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PurgeArtifactsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PurgeArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeArtifactsOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "PurgeArtifacts", - "fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "PurgeArtifacts" }, + "description": "PurgeArtifacts purges Artifacts.", + "file": "MetadataClient/PurgeArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_PurgeArtifacts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PurgeArtifacts Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_PurgeContexts_sync", - "title": "aiplatform PurgeContexts Sample", - "description": "PurgeContexts purges Contexts.", - "file": "MetadataClient/PurgeContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.PurgeContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "PurgeContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PurgeContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PurgeContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeContextsOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "PurgeContexts", - "fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeContexts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "PurgeContexts" }, + "description": "PurgeContexts purges Contexts.", + "file": "MetadataClient/PurgeContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_PurgeContexts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PurgeContexts Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_PurgeExecutions_sync", - "title": "aiplatform PurgeExecutions Sample", - "description": "PurgeExecutions purges Executions.", - "file": "MetadataClient/PurgeExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeExecutions", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.PurgeExecutions", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeExecutions", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "PurgeExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PurgeExecutionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PurgeExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeExecutionsOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "PurgeExecutions", - "fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeExecutions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "PurgeExecutions" }, + "description": "PurgeExecutions purges Executions.", + "file": "MetadataClient/PurgeExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_PurgeExecutions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PurgeExecutions Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_QueryArtifactLineageSubgraph_sync", - "title": "aiplatform QueryArtifactLineageSubgraph Sample", - "description": "QueryArtifactLineageSubgraph retrieves lineage of an Artifact represented through Artifacts and\nExecutions connected by Event edges and returned as a LineageSubgraph.", - "file": "MetadataClient/QueryArtifactLineageSubgraph/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryArtifactLineageSubgraph", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.QueryArtifactLineageSubgraph", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.QueryArtifactLineageSubgraph", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "QueryArtifactLineageSubgraph" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryArtifactLineageSubgraphRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryArtifactLineageSubgraphRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.LineageSubgraph", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "QueryArtifactLineageSubgraph", - "fullName": "google.cloud.aiplatform.v1.MetadataService.QueryArtifactLineageSubgraph", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "QueryArtifactLineageSubgraph" }, + "description": "QueryArtifactLineageSubgraph retrieves lineage of an Artifact represented through Artifacts and\nExecutions connected by Event edges and returned as a LineageSubgraph.", + "file": "MetadataClient/QueryArtifactLineageSubgraph/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_QueryArtifactLineageSubgraph_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryArtifactLineageSubgraph Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_QueryContextLineageSubgraph_sync", - "title": "aiplatform QueryContextLineageSubgraph Sample", - "description": "QueryContextLineageSubgraph retrieves Artifacts and Executions within the specified Context, connected\nby Event edges and returned as a LineageSubgraph.", - "file": "MetadataClient/QueryContextLineageSubgraph/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryContextLineageSubgraph", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.QueryContextLineageSubgraph", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "QueryContextLineageSubgraph" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryContextLineageSubgraphRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryContextLineageSubgraphRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.LineageSubgraph", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "QueryContextLineageSubgraph", - "fullName": "google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "QueryContextLineageSubgraph" }, + "description": "QueryContextLineageSubgraph retrieves Artifacts and Executions within the specified Context, connected\nby Event edges and returned as a LineageSubgraph.", + "file": "MetadataClient/QueryContextLineageSubgraph/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_QueryContextLineageSubgraph_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryContextLineageSubgraph Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_QueryExecutionInputsAndOutputs_sync", - "title": "aiplatform QueryExecutionInputsAndOutputs Sample", - "description": "QueryExecutionInputsAndOutputs obtains the set of input and output Artifacts for this Execution, in the\nform of LineageSubgraph that also contains the Execution and connecting\nEvents.", - "file": "MetadataClient/QueryExecutionInputsAndOutputs/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryExecutionInputsAndOutputs", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.QueryExecutionInputsAndOutputs", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.QueryExecutionInputsAndOutputs", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "QueryExecutionInputsAndOutputs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryExecutionInputsAndOutputsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryExecutionInputsAndOutputsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.LineageSubgraph", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "QueryExecutionInputsAndOutputs", - "fullName": "google.cloud.aiplatform.v1.MetadataService.QueryExecutionInputsAndOutputs", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "QueryExecutionInputsAndOutputs" }, + "description": "QueryExecutionInputsAndOutputs obtains the set of input and output Artifacts for this Execution, in the\nform of LineageSubgraph that also contains the Execution and connecting\nEvents.", + "file": "MetadataClient/QueryExecutionInputsAndOutputs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_QueryExecutionInputsAndOutputs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryExecutionInputsAndOutputs Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_RemoveContextChildren_sync", - "title": "aiplatform RemoveContextChildren Sample", - "description": "RemoveContextChildren remove a set of children contexts from a parent Context. If any of the\nchild Contexts were NOT added to the parent Context, they are\nsimply skipped.", - "file": "MetadataClient/RemoveContextChildren/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveContextChildren", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.RemoveContextChildren", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.RemoveContextChildren", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "RemoveContextChildren" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RemoveContextChildrenRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RemoveContextChildrenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RemoveContextChildrenResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "RemoveContextChildren", - "fullName": "google.cloud.aiplatform.v1.MetadataService.RemoveContextChildren", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "RemoveContextChildren" }, + "description": "RemoveContextChildren remove a set of children contexts from a parent Context. If any of the\nchild Contexts were NOT added to the parent Context, they are\nsimply skipped.", + "file": "MetadataClient/RemoveContextChildren/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_RemoveContextChildren_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RemoveContextChildren Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_SetIamPolicy_sync", - "title": "aiplatform 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": "MetadataClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MetadataClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_TestIamPermissions_sync", - "title": "aiplatform 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": "MetadataClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MetadataClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_UpdateArtifact_sync", - "title": "aiplatform UpdateArtifact Sample", - "description": "UpdateArtifact updates a stored Artifact.", - "file": "MetadataClient/UpdateArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.UpdateArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Artifact", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "UpdateArtifact", - "fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "UpdateArtifact" }, + "description": "UpdateArtifact updates a stored Artifact.", + "file": "MetadataClient/UpdateArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_UpdateArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateArtifact Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_UpdateContext_sync", - "title": "aiplatform UpdateContext Sample", - "description": "UpdateContext updates a stored Context.", - "file": "MetadataClient/UpdateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateContext", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.UpdateContext", + "method": { + "fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateContext", + "service": { + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Context", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "UpdateContext", - "fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" - } - } + "shortName": "UpdateContext" }, + "description": "UpdateContext updates a stored Context.", + "file": "MetadataClient/UpdateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_UpdateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateContext Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_UpdateExecution_sync", - "title": "aiplatform UpdateExecution Sample", - "description": "UpdateExecution updates a stored Execution.", - "file": "MetadataClient/UpdateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExecution", - "fullName": "google.cloud.aiplatform.v1.MetadataClient.UpdateExecution", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.UpdateExecutionRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.Execution", "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" }, + "fullName": "google.cloud.aiplatform.v1.MetadataClient.UpdateExecution", "method": { - "shortName": "UpdateExecution", "fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateExecution", "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1.MetadataService" + "fullName": "google.cloud.aiplatform.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateExecution" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.UpdateExecutionRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.Execution", + "shortName": "UpdateExecution" }, + "description": "UpdateExecution updates a stored Execution.", + "file": "MetadataClient/UpdateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_UpdateExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateExecution Sample" }, { - "regionTag": "aiplatform_v1_generated_MetadataService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1.MetadataClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1.MetadataClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MetadataService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_BatchMigrateResources_sync", - "title": "aiplatform BatchMigrateResources Sample", - "description": "BatchMigrateResources batch migrates resources from ml.googleapis.com, automl.googleapis.com,\nand datalabeling.googleapis.com to Vertex AI.", - "file": "MigrationClient/BatchMigrateResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchMigrateResources", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.BatchMigrateResources", + "method": { + "fullName": "google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources", + "service": { + "fullName": "google.cloud.aiplatform.v1.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "BatchMigrateResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchMigrateResourcesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchMigrateResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchMigrateResourcesOperation", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "BatchMigrateResources", - "fullName": "google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.aiplatform.v1.MigrationService" - } - } + "shortName": "BatchMigrateResources" }, + "description": "BatchMigrateResources batch migrates resources from ml.googleapis.com, automl.googleapis.com,\nand datalabeling.googleapis.com to Vertex AI.", + "file": "MigrationClient/BatchMigrateResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_BatchMigrateResources_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchMigrateResources Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_GetIamPolicy_sync", - "title": "aiplatform 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": "MigrationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MigrationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MigrationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MigrationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MigrationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MigrationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_SearchMigratableResources_sync", - "title": "aiplatform SearchMigratableResources Sample", - "description": "SearchMigratableResources searches all of the resources in automl.googleapis.com,\ndatalabeling.googleapis.com and ml.googleapis.com that can be migrated to\nVertex AI's given location.", - "file": "MigrationClient/SearchMigratableResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchMigratableResources", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.SearchMigratableResources", + "method": { + "fullName": "google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources", + "service": { + "fullName": "google.cloud.aiplatform.v1.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "SearchMigratableResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchMigratableResourcesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchMigratableResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigratableResourceIterator", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "SearchMigratableResources", - "fullName": "google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.aiplatform.v1.MigrationService" - } - } + "shortName": "SearchMigratableResources" }, + "description": "SearchMigratableResources searches all of the resources in automl.googleapis.com,\ndatalabeling.googleapis.com and ml.googleapis.com that can be migrated to\nVertex AI's given location.", + "file": "MigrationClient/SearchMigratableResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_SearchMigratableResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchMigratableResources Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_SetIamPolicy_sync", - "title": "aiplatform 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": "MigrationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MigrationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_TestIamPermissions_sync", - "title": "aiplatform 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": "MigrationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MigrationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_MigrationService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1.MigrationClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1.MigrationClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_MigrationService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_Deploy_sync", - "title": "aiplatform Deploy Sample", - "description": "Deploy deploys a model to a new endpoint.", - "file": "ModelGardenClient/Deploy/main.go", - "language": "GO", "clientMethod": { - "shortName": "Deploy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.Deploy", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenService.Deploy", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "Deploy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployOperation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "Deploy", - "fullName": "google.cloud.aiplatform.v1.ModelGardenService.Deploy", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1.ModelGardenService" - } - } + "shortName": "Deploy" }, + "description": "Deploy deploys a model to a new endpoint.", + "file": "ModelGardenClient/Deploy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_Deploy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform Deploy Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_GetIamPolicy_sync", - "title": "aiplatform 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": "ModelGardenClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ModelGardenClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ModelGardenClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ModelGardenClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_GetPublisherModel_sync", - "title": "aiplatform GetPublisherModel Sample", - "description": "GetPublisherModel gets a Model Garden publisher model.", - "file": "ModelGardenClient/GetPublisherModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPublisherModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetPublisherModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "GetPublisherModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetPublisherModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetPublisherModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PublisherModel", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "GetPublisherModel", - "fullName": "google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModel", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1.ModelGardenService" - } - } + "shortName": "GetPublisherModel" }, + "description": "GetPublisherModel gets a Model Garden publisher model.", + "file": "ModelGardenClient/GetPublisherModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_GetPublisherModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetPublisherModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ModelGardenClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.ListLocations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "locationpb.ListLocationsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "LocationIterator", "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" }, + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.ListLocations", "method": { - "shortName": "ListLocations", "fullName": "google.cloud.location.Locations.ListLocations", "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "locationpb.ListLocationsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "LocationIterator", + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ModelGardenClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_SetIamPolicy_sync", - "title": "aiplatform 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": "ModelGardenClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ModelGardenClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_TestIamPermissions_sync", - "title": "aiplatform 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": "ModelGardenClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ModelGardenClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelGardenService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelGardenClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1.ModelGardenClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelGardenService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_BatchImportEvaluatedAnnotations_sync", - "title": "aiplatform BatchImportEvaluatedAnnotations Sample", - "description": "BatchImportEvaluatedAnnotations imports a list of externally generated EvaluatedAnnotations.", - "file": "ModelClient/BatchImportEvaluatedAnnotations/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchImportEvaluatedAnnotations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.BatchImportEvaluatedAnnotations", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.BatchImportEvaluatedAnnotations", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "BatchImportEvaluatedAnnotations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchImportEvaluatedAnnotationsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchImportEvaluatedAnnotationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchImportEvaluatedAnnotationsResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "BatchImportEvaluatedAnnotations", - "fullName": "google.cloud.aiplatform.v1.ModelService.BatchImportEvaluatedAnnotations", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "BatchImportEvaluatedAnnotations" }, + "description": "BatchImportEvaluatedAnnotations imports a list of externally generated EvaluatedAnnotations.", + "file": "ModelClient/BatchImportEvaluatedAnnotations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_BatchImportEvaluatedAnnotations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchImportEvaluatedAnnotations Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_BatchImportModelEvaluationSlices_sync", - "title": "aiplatform BatchImportModelEvaluationSlices Sample", - "description": "BatchImportModelEvaluationSlices imports a list of externally generated ModelEvaluationSlice.", - "file": "ModelClient/BatchImportModelEvaluationSlices/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchImportModelEvaluationSlices", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.BatchImportModelEvaluationSlices", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "BatchImportModelEvaluationSlices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchImportModelEvaluationSlicesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchImportModelEvaluationSlicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchImportModelEvaluationSlicesResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "BatchImportModelEvaluationSlices", - "fullName": "google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "BatchImportModelEvaluationSlices" }, + "description": "BatchImportModelEvaluationSlices imports a list of externally generated ModelEvaluationSlice.", + "file": "ModelClient/BatchImportModelEvaluationSlices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_BatchImportModelEvaluationSlices_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchImportModelEvaluationSlices Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_CopyModel_sync", - "title": "aiplatform CopyModel Sample", - "description": "CopyModel copies an already existing Vertex AI Model into the specified Location.\nThe source Model must exist in the same Project.\nWhen copying custom Models, the users themselves are responsible for\n[Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be\nregion-agnostic, as well as making sure that any resources (e.g. files) it\ndepends on remain accessible.", - "file": "ModelClient/CopyModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CopyModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.CopyModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.CopyModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "CopyModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CopyModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CopyModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CopyModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "CopyModel", - "fullName": "google.cloud.aiplatform.v1.ModelService.CopyModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "CopyModel" }, + "description": "CopyModel copies an already existing Vertex AI Model into the specified Location.\nThe source Model must exist in the same Project.\nWhen copying custom Models, the users themselves are responsible for\n[Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be\nregion-agnostic, as well as making sure that any resources (e.g. files) it\ndepends on remain accessible.", + "file": "ModelClient/CopyModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_CopyModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CopyModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_DeleteModel_sync", - "title": "aiplatform DeleteModel Sample", - "description": "DeleteModel deletes a Model.\n\nA model cannot be deleted if any\n[Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a\n[DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the\nmodel in its\n[deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models]\nfield.", - "file": "ModelClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.DeleteModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes a Model.\n\nA model cannot be deleted if any\n[Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a\n[DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the\nmodel in its\n[deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models]\nfield.", + "file": "ModelClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_DeleteModelVersion_sync", - "title": "aiplatform DeleteModelVersion Sample", - "description": "DeleteModelVersion deletes a Model version.\n\nModel version can only be deleted if there are no\n[DeployedModels][google.cloud.aiplatform.v1.DeployedModel] created from it.\nDeleting the only version in the Model is not allowed. Use\n[DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for\ndeleting the Model instead.", - "file": "ModelClient/DeleteModelVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModelVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.DeleteModelVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModelVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModelVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelVersionOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "DeleteModelVersion", - "fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModelVersion", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "DeleteModelVersion" }, + "description": "DeleteModelVersion deletes a Model version.\n\nModel version can only be deleted if there are no\n[DeployedModels][google.cloud.aiplatform.v1.DeployedModel] created from it.\nDeleting the only version in the Model is not allowed. Use\n[DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for\ndeleting the Model instead.", + "file": "ModelClient/DeleteModelVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_DeleteModelVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModelVersion Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ExportModel_sync", - "title": "aiplatform ExportModel Sample", - "description": "ExportModel exports a trained, exportable Model to a location specified by the\nuser. A Model is considered to be exportable if it has at least one\n[supported export\nformat][google.cloud.aiplatform.v1.Model.supported_export_formats].", - "file": "ModelClient/ExportModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ExportModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.ExportModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ExportModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ExportModel", - "fullName": "google.cloud.aiplatform.v1.ModelService.ExportModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "ExportModel" }, + "description": "ExportModel exports a trained, exportable Model to a location specified by the\nuser. A Model is considered to be exportable if it has at least one\n[supported export\nformat][google.cloud.aiplatform.v1.Model.supported_export_formats].", + "file": "ModelClient/ExportModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ExportModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_GetIamPolicy_sync", - "title": "aiplatform 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": "ModelClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ModelClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ModelClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ModelClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_GetModel_sync", - "title": "aiplatform GetModel Sample", - "description": "GetModel gets a Model.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.GetModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.GetModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.aiplatform.v1.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a Model.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_GetModelEvaluation_sync", - "title": "aiplatform GetModelEvaluation Sample", - "description": "GetModelEvaluation gets a ModelEvaluation.", - "file": "ModelClient/GetModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelEvaluation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.GetModelEvaluation", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluation", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelEvaluation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "GetModelEvaluation", - "fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluation", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "GetModelEvaluation" }, + "description": "GetModelEvaluation gets a ModelEvaluation.", + "file": "ModelClient/GetModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_GetModelEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelEvaluation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_GetModelEvaluationSlice_sync", - "title": "aiplatform GetModelEvaluationSlice Sample", - "description": "GetModelEvaluationSlice gets a ModelEvaluationSlice.", - "file": "ModelClient/GetModelEvaluationSlice/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelEvaluationSlice", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.GetModelEvaluationSlice", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSlice", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModelEvaluationSlice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelEvaluationSliceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelEvaluationSliceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelEvaluationSlice", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "GetModelEvaluationSlice", - "fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSlice", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "GetModelEvaluationSlice" }, + "description": "GetModelEvaluationSlice gets a ModelEvaluationSlice.", + "file": "ModelClient/GetModelEvaluationSlice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_GetModelEvaluationSlice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelEvaluationSlice Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ImportModelEvaluation_sync", - "title": "aiplatform ImportModelEvaluation Sample", - "description": "ImportModelEvaluation imports an externally generated ModelEvaluation.", - "file": "ModelClient/ImportModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportModelEvaluation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ImportModelEvaluation", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ImportModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelEvaluation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ImportModelEvaluation", - "fullName": "google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "ImportModelEvaluation" }, + "description": "ImportModelEvaluation imports an externally generated ModelEvaluation.", + "file": "ModelClient/ImportModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ImportModelEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportModelEvaluation Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ModelClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ModelClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListModelEvaluationSlices_sync", - "title": "aiplatform ListModelEvaluationSlices Sample", - "description": "ListModelEvaluationSlices lists ModelEvaluationSlices in a ModelEvaluation.", - "file": "ModelClient/ListModelEvaluationSlices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelEvaluationSlices", - "fullName": "google.cloud.aiplatform.v1.ModelClient.ListModelEvaluationSlices", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.ListModelEvaluationSlicesRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ModelEvaluationSliceIterator", "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" }, + "fullName": "google.cloud.aiplatform.v1.ModelClient.ListModelEvaluationSlices", "method": { - "shortName": "ListModelEvaluationSlices", "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices", "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelEvaluationSlices" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.ListModelEvaluationSlicesRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ModelEvaluationSliceIterator", + "shortName": "ListModelEvaluationSlices" }, + "description": "ListModelEvaluationSlices lists ModelEvaluationSlices in a ModelEvaluation.", + "file": "ModelClient/ListModelEvaluationSlices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListModelEvaluationSlices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelEvaluationSlices Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListModelEvaluations_sync", - "title": "aiplatform ListModelEvaluations Sample", - "description": "ListModelEvaluations lists ModelEvaluations in a Model.", - "file": "ModelClient/ListModelEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelEvaluations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ListModelEvaluations", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluations", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelEvaluationsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelEvaluationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ListModelEvaluations", - "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluations", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "ListModelEvaluations" }, + "description": "ListModelEvaluations lists ModelEvaluations in a Model.", + "file": "ModelClient/ListModelEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListModelEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelEvaluations Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListModelVersionCheckpoints_sync", - "title": "aiplatform ListModelVersionCheckpoints Sample", - "description": "ListModelVersionCheckpoints lists checkpoints of the specified model version.", - "file": "ModelClient/ListModelVersionCheckpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelVersionCheckpoints", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ListModelVersionCheckpoints", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelVersionCheckpoints", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelVersionCheckpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelVersionCheckpointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelVersionCheckpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelVersionCheckpointIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ListModelVersionCheckpoints", - "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelVersionCheckpoints", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "ListModelVersionCheckpoints" }, + "description": "ListModelVersionCheckpoints lists checkpoints of the specified model version.", + "file": "ModelClient/ListModelVersionCheckpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListModelVersionCheckpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelVersionCheckpoints Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListModelVersions_sync", - "title": "aiplatform ListModelVersions Sample", - "description": "ListModelVersions lists versions of the specified model.", - "file": "ModelClient/ListModelVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelVersions", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ListModelVersions", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelVersions", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelVersionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ListModelVersions", - "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelVersions", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "ListModelVersions" }, + "description": "ListModelVersions lists versions of the specified model.", + "file": "ModelClient/ListModelVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListModelVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelVersions Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListModels_sync", - "title": "aiplatform ListModels Sample", - "description": "ListModels lists Models in a Location.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ListModels", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModels", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.aiplatform.v1.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists Models in a Location.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModels Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_MergeVersionAliases_sync", - "title": "aiplatform MergeVersionAliases Sample", - "description": "MergeVersionAliases merges a set of aliases for a Model version.", - "file": "ModelClient/MergeVersionAliases/main.go", - "language": "GO", "clientMethod": { - "shortName": "MergeVersionAliases", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.MergeVersionAliases", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.MergeVersionAliases", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "MergeVersionAliases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.MergeVersionAliasesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.MergeVersionAliasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "MergeVersionAliases", - "fullName": "google.cloud.aiplatform.v1.ModelService.MergeVersionAliases", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "MergeVersionAliases" }, + "description": "MergeVersionAliases merges a set of aliases for a Model version.", + "file": "ModelClient/MergeVersionAliases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_MergeVersionAliases_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform MergeVersionAliases Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_SetIamPolicy_sync", - "title": "aiplatform 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": "ModelClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ModelClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_TestIamPermissions_sync", - "title": "aiplatform 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": "ModelClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ModelClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_UpdateExplanationDataset_sync", - "title": "aiplatform UpdateExplanationDataset Sample", - "description": "UpdateExplanationDataset incrementally update the dataset used for an examples model.", - "file": "ModelClient/UpdateExplanationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExplanationDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.UpdateExplanationDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateExplanationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateExplanationDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateExplanationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateExplanationDatasetOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "UpdateExplanationDataset", - "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "UpdateExplanationDataset" }, + "description": "UpdateExplanationDataset incrementally update the dataset used for an examples model.", + "file": "ModelClient/UpdateExplanationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_UpdateExplanationDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateExplanationDataset Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_UpdateModel_sync", - "title": "aiplatform UpdateModel Sample", - "description": "UpdateModel updates a Model.", - "file": "ModelClient/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.UpdateModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "UpdateModel", - "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "UpdateModel" }, + "description": "UpdateModel updates a Model.", + "file": "ModelClient/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_UpdateModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_UploadModel_sync", - "title": "aiplatform UploadModel Sample", - "description": "UploadModel uploads a Model artifact into Vertex AI.", - "file": "ModelClient/UploadModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadModel", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.UploadModel", + "method": { + "fullName": "google.cloud.aiplatform.v1.ModelService.UploadModel", + "service": { + "fullName": "google.cloud.aiplatform.v1.ModelService", + "shortName": "ModelService" + }, + "shortName": "UploadModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UploadModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UploadModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UploadModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "UploadModel", - "fullName": "google.cloud.aiplatform.v1.ModelService.UploadModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1.ModelService" - } - } + "shortName": "UploadModel" }, + "description": "UploadModel uploads a Model artifact into Vertex AI.", + "file": "ModelClient/UploadModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_UploadModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UploadModel Sample" }, { - "regionTag": "aiplatform_v1_generated_ModelService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1.ModelClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1.ModelClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ModelService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_AssignNotebookRuntime_sync", - "title": "aiplatform AssignNotebookRuntime Sample", - "description": "AssignNotebookRuntime assigns a NotebookRuntime to a user for a particular Notebook file. This\nmethod will either returns an existing assignment or generates a new one.", - "file": "NotebookClient/AssignNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "AssignNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.AssignNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.AssignNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "AssignNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AssignNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AssignNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssignNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "AssignNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1.NotebookService.AssignNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "AssignNotebookRuntime" }, + "description": "AssignNotebookRuntime assigns a NotebookRuntime to a user for a particular Notebook file. This\nmethod will either returns an existing assignment or generates a new one.", + "file": "NotebookClient/AssignNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_AssignNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AssignNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_sync", - "title": "aiplatform CreateNotebookExecutionJob Sample", - "description": "CreateNotebookExecutionJob creates a NotebookExecutionJob.", - "file": "NotebookClient/CreateNotebookExecutionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotebookExecutionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.CreateNotebookExecutionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.CreateNotebookExecutionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateNotebookExecutionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateNotebookExecutionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateNotebookExecutionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNotebookExecutionJobOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "CreateNotebookExecutionJob", - "fullName": "google.cloud.aiplatform.v1.NotebookService.CreateNotebookExecutionJob", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "CreateNotebookExecutionJob" }, + "description": "CreateNotebookExecutionJob creates a NotebookExecutionJob.", + "file": "NotebookClient/CreateNotebookExecutionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateNotebookExecutionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_CreateNotebookRuntimeTemplate_sync", - "title": "aiplatform CreateNotebookRuntimeTemplate Sample", - "description": "CreateNotebookRuntimeTemplate creates a NotebookRuntimeTemplate.", - "file": "NotebookClient/CreateNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.CreateNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.CreateNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNotebookRuntimeTemplateOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "CreateNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1.NotebookService.CreateNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "CreateNotebookRuntimeTemplate" }, + "description": "CreateNotebookRuntimeTemplate creates a NotebookRuntimeTemplate.", + "file": "NotebookClient/CreateNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_CreateNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_DeleteNotebookExecutionJob_sync", - "title": "aiplatform DeleteNotebookExecutionJob Sample", - "description": "DeleteNotebookExecutionJob deletes a NotebookExecutionJob.", - "file": "NotebookClient/DeleteNotebookExecutionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotebookExecutionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.DeleteNotebookExecutionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.DeleteNotebookExecutionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteNotebookExecutionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNotebookExecutionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNotebookExecutionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNotebookExecutionJobOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteNotebookExecutionJob", - "fullName": "google.cloud.aiplatform.v1.NotebookService.DeleteNotebookExecutionJob", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "DeleteNotebookExecutionJob" }, + "description": "DeleteNotebookExecutionJob deletes a NotebookExecutionJob.", + "file": "NotebookClient/DeleteNotebookExecutionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_DeleteNotebookExecutionJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNotebookExecutionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_DeleteNotebookRuntime_sync", - "title": "aiplatform DeleteNotebookRuntime Sample", - "description": "DeleteNotebookRuntime deletes a NotebookRuntime.", - "file": "NotebookClient/DeleteNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.DeleteNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.DeleteNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1.NotebookService.DeleteNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "DeleteNotebookRuntime" }, + "description": "DeleteNotebookRuntime deletes a NotebookRuntime.", + "file": "NotebookClient/DeleteNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_DeleteNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_DeleteNotebookRuntimeTemplate_sync", - "title": "aiplatform DeleteNotebookRuntimeTemplate Sample", - "description": "DeleteNotebookRuntimeTemplate deletes a NotebookRuntimeTemplate.", - "file": "NotebookClient/DeleteNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.DeleteNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.DeleteNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNotebookRuntimeTemplateOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1.NotebookService.DeleteNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "DeleteNotebookRuntimeTemplate" }, + "description": "DeleteNotebookRuntimeTemplate deletes a NotebookRuntimeTemplate.", + "file": "NotebookClient/DeleteNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_DeleteNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_GetIamPolicy_sync", - "title": "aiplatform 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": "NotebookClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "iampb.GetIamPolicyRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*iampb.Policy", "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" }, + "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetIamPolicy", "method": { - "shortName": "GetIamPolicy", "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "iampb.GetIamPolicyRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*iampb.Policy", + "shortName": "GetIamPolicy" }, + "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": "NotebookClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "NotebookClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "NotebookClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_GetNotebookExecutionJob_sync", - "title": "aiplatform GetNotebookExecutionJob Sample", - "description": "GetNotebookExecutionJob gets a NotebookExecutionJob.", - "file": "NotebookClient/GetNotebookExecutionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotebookExecutionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetNotebookExecutionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.GetNotebookExecutionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetNotebookExecutionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNotebookExecutionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNotebookExecutionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookExecutionJob", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "GetNotebookExecutionJob", - "fullName": "google.cloud.aiplatform.v1.NotebookService.GetNotebookExecutionJob", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "GetNotebookExecutionJob" }, + "description": "GetNotebookExecutionJob gets a NotebookExecutionJob.", + "file": "NotebookClient/GetNotebookExecutionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_GetNotebookExecutionJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNotebookExecutionJob Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_GetNotebookRuntime_sync", - "title": "aiplatform GetNotebookRuntime Sample", - "description": "GetNotebookRuntime gets a NotebookRuntime.", - "file": "NotebookClient/GetNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.GetNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookRuntime", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "GetNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1.NotebookService.GetNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "GetNotebookRuntime" }, + "description": "GetNotebookRuntime gets a NotebookRuntime.", + "file": "NotebookClient/GetNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_GetNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_GetNotebookRuntimeTemplate_sync", - "title": "aiplatform GetNotebookRuntimeTemplate Sample", - "description": "GetNotebookRuntimeTemplate gets a NotebookRuntimeTemplate.", - "file": "NotebookClient/GetNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.GetNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookRuntimeTemplate", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "GetNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1.NotebookService.GetNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "GetNotebookRuntimeTemplate" }, + "description": "GetNotebookRuntimeTemplate gets a NotebookRuntimeTemplate.", + "file": "NotebookClient/GetNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_GetNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "NotebookClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "NotebookClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_ListNotebookExecutionJobs_sync", - "title": "aiplatform ListNotebookExecutionJobs Sample", - "description": "ListNotebookExecutionJobs lists NotebookExecutionJobs in a Location.", - "file": "NotebookClient/ListNotebookExecutionJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotebookExecutionJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.ListNotebookExecutionJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.ListNotebookExecutionJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListNotebookExecutionJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNotebookExecutionJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNotebookExecutionJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotebookExecutionJobIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "ListNotebookExecutionJobs", - "fullName": "google.cloud.aiplatform.v1.NotebookService.ListNotebookExecutionJobs", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "ListNotebookExecutionJobs" }, + "description": "ListNotebookExecutionJobs lists NotebookExecutionJobs in a Location.", + "file": "NotebookClient/ListNotebookExecutionJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_ListNotebookExecutionJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNotebookExecutionJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_ListNotebookRuntimeTemplates_sync", - "title": "aiplatform ListNotebookRuntimeTemplates Sample", - "description": "ListNotebookRuntimeTemplates lists NotebookRuntimeTemplates in a Location.", - "file": "NotebookClient/ListNotebookRuntimeTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotebookRuntimeTemplates", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.ListNotebookRuntimeTemplates", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.ListNotebookRuntimeTemplates", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListNotebookRuntimeTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNotebookRuntimeTemplatesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNotebookRuntimeTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotebookRuntimeTemplateIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "ListNotebookRuntimeTemplates", - "fullName": "google.cloud.aiplatform.v1.NotebookService.ListNotebookRuntimeTemplates", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "ListNotebookRuntimeTemplates" }, + "description": "ListNotebookRuntimeTemplates lists NotebookRuntimeTemplates in a Location.", + "file": "NotebookClient/ListNotebookRuntimeTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_ListNotebookRuntimeTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNotebookRuntimeTemplates Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_ListNotebookRuntimes_sync", - "title": "aiplatform ListNotebookRuntimes Sample", - "description": "ListNotebookRuntimes lists NotebookRuntimes in a Location.", - "file": "NotebookClient/ListNotebookRuntimes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotebookRuntimes", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.ListNotebookRuntimes", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.ListNotebookRuntimes", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListNotebookRuntimes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNotebookRuntimesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNotebookRuntimesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotebookRuntimeIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "ListNotebookRuntimes", - "fullName": "google.cloud.aiplatform.v1.NotebookService.ListNotebookRuntimes", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "ListNotebookRuntimes" }, + "description": "ListNotebookRuntimes lists NotebookRuntimes in a Location.", + "file": "NotebookClient/ListNotebookRuntimes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_ListNotebookRuntimes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNotebookRuntimes Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_SetIamPolicy_sync", - "title": "aiplatform 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": "NotebookClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "NotebookClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_StartNotebookRuntime_sync", - "title": "aiplatform StartNotebookRuntime Sample", - "description": "StartNotebookRuntime starts a NotebookRuntime.", - "file": "NotebookClient/StartNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.StartNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.StartNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StartNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.StartNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.StartNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "StartNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1.NotebookService.StartNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "StartNotebookRuntime" }, + "description": "StartNotebookRuntime starts a NotebookRuntime.", + "file": "NotebookClient/StartNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_StartNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StartNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_StopNotebookRuntime_sync", - "title": "aiplatform StopNotebookRuntime Sample", - "description": "StopNotebookRuntime stops a NotebookRuntime.", - "file": "NotebookClient/StopNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.StopNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.StopNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StopNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.StopNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.StopNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "StopNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1.NotebookService.StopNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "StopNotebookRuntime" }, + "description": "StopNotebookRuntime stops a NotebookRuntime.", + "file": "NotebookClient/StopNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_StopNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StopNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_TestIamPermissions_sync", - "title": "aiplatform 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": "NotebookClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "NotebookClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_UpdateNotebookRuntimeTemplate_sync", - "title": "aiplatform UpdateNotebookRuntimeTemplate Sample", - "description": "UpdateNotebookRuntimeTemplate updates a NotebookRuntimeTemplate.", - "file": "NotebookClient/UpdateNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.UpdateNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.UpdateNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpdateNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookRuntimeTemplate", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "UpdateNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1.NotebookService.UpdateNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "UpdateNotebookRuntimeTemplate" }, + "description": "UpdateNotebookRuntimeTemplate updates a NotebookRuntimeTemplate.", + "file": "NotebookClient/UpdateNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_UpdateNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_UpgradeNotebookRuntime_sync", - "title": "aiplatform UpgradeNotebookRuntime Sample", - "description": "UpgradeNotebookRuntime upgrades a NotebookRuntime.", - "file": "NotebookClient/UpgradeNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.UpgradeNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1.NotebookService.UpgradeNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpgradeNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpgradeNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "UpgradeNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1.NotebookService.UpgradeNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1.NotebookService" - } - } + "shortName": "UpgradeNotebookRuntime" }, + "description": "UpgradeNotebookRuntime upgrades a NotebookRuntime.", + "file": "NotebookClient/UpgradeNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_UpgradeNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpgradeNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1_generated_NotebookService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1.NotebookClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1.NotebookClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_NotebookService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_CreatePersistentResource_sync", - "title": "aiplatform CreatePersistentResource Sample", - "description": "CreatePersistentResource creates a PersistentResource.", - "file": "PersistentResourceClient/CreatePersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.CreatePersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.CreatePersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "CreatePersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreatePersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreatePersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "CreatePersistentResource", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.CreatePersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService" - } - } + "shortName": "CreatePersistentResource" }, + "description": "CreatePersistentResource creates a PersistentResource.", + "file": "PersistentResourceClient/CreatePersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_CreatePersistentResource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreatePersistentResource Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_DeletePersistentResource_sync", - "title": "aiplatform DeletePersistentResource Sample", - "description": "DeletePersistentResource deletes a PersistentResource.", - "file": "PersistentResourceClient/DeletePersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePersistentResource", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.DeletePersistentResource", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.DeletePersistentResourceRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DeletePersistentResourceOperation", "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" }, + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.DeletePersistentResource", "method": { - "shortName": "DeletePersistentResource", "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.DeletePersistentResource", "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService" + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "DeletePersistentResource" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.DeletePersistentResourceRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DeletePersistentResourceOperation", + "shortName": "DeletePersistentResource" }, + "description": "DeletePersistentResource deletes a PersistentResource.", + "file": "PersistentResourceClient/DeletePersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_DeletePersistentResource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeletePersistentResource Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetIamPolicy_sync", - "title": "aiplatform 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": "PersistentResourceClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PersistentResourceClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PersistentResourceClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PersistentResourceClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetPersistentResource_sync", - "title": "aiplatform GetPersistentResource Sample", - "description": "GetPersistentResource gets a PersistentResource.", - "file": "PersistentResourceClient/GetPersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.GetPersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.GetPersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "GetPersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetPersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetPersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PersistentResource", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "GetPersistentResource", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.GetPersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService" - } - } + "shortName": "GetPersistentResource" }, + "description": "GetPersistentResource gets a PersistentResource.", + "file": "PersistentResourceClient/GetPersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_GetPersistentResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetPersistentResource Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PersistentResourceClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PersistentResourceClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_ListPersistentResources_sync", - "title": "aiplatform ListPersistentResources Sample", - "description": "ListPersistentResources lists PersistentResources in a Location.", - "file": "PersistentResourceClient/ListPersistentResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPersistentResources", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.ListPersistentResources", + "method": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.ListPersistentResources", + "service": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "ListPersistentResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListPersistentResourcesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListPersistentResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PersistentResourceIterator", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "ListPersistentResources", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.ListPersistentResources", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService" - } - } + "shortName": "ListPersistentResources" }, + "description": "ListPersistentResources lists PersistentResources in a Location.", + "file": "PersistentResourceClient/ListPersistentResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_ListPersistentResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListPersistentResources Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_RebootPersistentResource_sync", - "title": "aiplatform RebootPersistentResource Sample", - "description": "RebootPersistentResource reboots a PersistentResource.", - "file": "PersistentResourceClient/RebootPersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "RebootPersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.RebootPersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.RebootPersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "RebootPersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RebootPersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RebootPersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RebootPersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "RebootPersistentResource", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.RebootPersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService" - } - } + "shortName": "RebootPersistentResource" }, + "description": "RebootPersistentResource reboots a PersistentResource.", + "file": "PersistentResourceClient/RebootPersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_RebootPersistentResource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RebootPersistentResource Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_SetIamPolicy_sync", - "title": "aiplatform 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": "PersistentResourceClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PersistentResourceClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_TestIamPermissions_sync", - "title": "aiplatform 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": "PersistentResourceClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PersistentResourceClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_UpdatePersistentResource_sync", - "title": "aiplatform UpdatePersistentResource Sample", - "description": "UpdatePersistentResource updates a PersistentResource.", - "file": "PersistentResourceClient/UpdatePersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.UpdatePersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.UpdatePersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "UpdatePersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdatePersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdatePersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "UpdatePersistentResource", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService.UpdatePersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceService" - } - } + "shortName": "UpdatePersistentResource" }, + "description": "UpdatePersistentResource updates a PersistentResource.", + "file": "PersistentResourceClient/UpdatePersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_UpdatePersistentResource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdatePersistentResource Sample" }, { - "regionTag": "aiplatform_v1_generated_PersistentResourceService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1.PersistentResourceClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PersistentResourceService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_sync", - "title": "aiplatform BatchCancelPipelineJobs Sample", - "description": "BatchCancelPipelineJobs batch cancel PipelineJobs.\nFirstly the server will check if all the jobs are in non-terminal states,\nand skip the jobs that are already terminated.\nIf the operation failed, none of the pipeline jobs are cancelled.\nThe server will poll the states of all the pipeline jobs periodically\nto check the cancellation status.\nThis operation will return an LRO.", - "file": "PipelineClient/BatchCancelPipelineJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCancelPipelineJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.BatchCancelPipelineJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "BatchCancelPipelineJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCancelPipelineJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCancelPipelineJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCancelPipelineJobsOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "BatchCancelPipelineJobs", - "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "BatchCancelPipelineJobs" }, + "description": "BatchCancelPipelineJobs batch cancel PipelineJobs.\nFirstly the server will check if all the jobs are in non-terminal states,\nand skip the jobs that are already terminated.\nIf the operation failed, none of the pipeline jobs are cancelled.\nThe server will poll the states of all the pipeline jobs periodically\nto check the cancellation status.\nThis operation will return an LRO.", + "file": "PipelineClient/BatchCancelPipelineJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCancelPipelineJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_sync", - "title": "aiplatform BatchDeletePipelineJobs Sample", - "description": "BatchDeletePipelineJobs batch deletes PipelineJobs\nThe Operation is atomic. If it fails, none of the PipelineJobs are deleted.\nIf it succeeds, all of the PipelineJobs are deleted.", - "file": "PipelineClient/BatchDeletePipelineJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeletePipelineJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.BatchDeletePipelineJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "BatchDeletePipelineJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchDeletePipelineJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchDeletePipelineJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeletePipelineJobsOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "BatchDeletePipelineJobs", - "fullName": "google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "BatchDeletePipelineJobs" }, + "description": "BatchDeletePipelineJobs batch deletes PipelineJobs\nThe Operation is atomic. If it fails, none of the PipelineJobs are deleted.\nIf it succeeds, all of the PipelineJobs are deleted.", + "file": "PipelineClient/BatchDeletePipelineJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchDeletePipelineJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_CancelPipelineJob_sync", - "title": "aiplatform CancelPipelineJob Sample", - "description": "CancelPipelineJob cancels a PipelineJob.\nStarts asynchronous cancellation on the PipelineJob. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe PipelineJob is not deleted; instead it becomes a pipeline with\na [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to\n`CANCELLED`.", - "file": "PipelineClient/CancelPipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelPipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.CancelPipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.CancelPipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CancelPipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelPipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelPipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "CancelPipelineJob", - "fullName": "google.cloud.aiplatform.v1.PipelineService.CancelPipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "CancelPipelineJob" }, + "description": "CancelPipelineJob cancels a PipelineJob.\nStarts asynchronous cancellation on the PipelineJob. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe PipelineJob is not deleted; instead it becomes a pipeline with\na [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to\n`CANCELLED`.", + "file": "PipelineClient/CancelPipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_CancelPipelineJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelPipelineJob Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_CancelTrainingPipeline_sync", - "title": "aiplatform CancelTrainingPipeline Sample", - "description": "CancelTrainingPipeline cancels a TrainingPipeline.\nStarts asynchronous cancellation on the TrainingPipeline. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe TrainingPipeline is not deleted; instead it becomes a pipeline with\na\n[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]\nis set to `CANCELLED`.", - "file": "PipelineClient/CancelTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.CancelTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.CancelTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CancelTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "CancelTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1.PipelineService.CancelTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "CancelTrainingPipeline" }, + "description": "CancelTrainingPipeline cancels a TrainingPipeline.\nStarts asynchronous cancellation on the TrainingPipeline. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe TrainingPipeline is not deleted; instead it becomes a pipeline with\na\n[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]\nis set to `CANCELLED`.", + "file": "PipelineClient/CancelTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_CancelTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_CreatePipelineJob_sync", - "title": "aiplatform CreatePipelineJob Sample", - "description": "CreatePipelineJob creates a PipelineJob. A PipelineJob will run immediately when created.", - "file": "PipelineClient/CreatePipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.CreatePipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.CreatePipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CreatePipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreatePipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreatePipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PipelineJob", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "CreatePipelineJob", - "fullName": "google.cloud.aiplatform.v1.PipelineService.CreatePipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "CreatePipelineJob" }, + "description": "CreatePipelineJob creates a PipelineJob. A PipelineJob will run immediately when created.", + "file": "PipelineClient/CreatePipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_CreatePipelineJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreatePipelineJob Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_CreateTrainingPipeline_sync", - "title": "aiplatform CreateTrainingPipeline Sample", - "description": "CreateTrainingPipeline creates a TrainingPipeline. A created TrainingPipeline right away will be\nattempted to be run.", - "file": "PipelineClient/CreateTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.CreateTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.CreateTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CreateTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TrainingPipeline", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "CreateTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1.PipelineService.CreateTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "CreateTrainingPipeline" }, + "description": "CreateTrainingPipeline creates a TrainingPipeline. A created TrainingPipeline right away will be\nattempted to be run.", + "file": "PipelineClient/CreateTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_CreateTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_DeletePipelineJob_sync", - "title": "aiplatform DeletePipelineJob Sample", - "description": "DeletePipelineJob deletes a PipelineJob.", - "file": "PipelineClient/DeletePipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePipelineJob", - "fullName": "google.cloud.aiplatform.v1.PipelineClient.DeletePipelineJob", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.DeletePipelineJobRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DeletePipelineJobOperation", "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" }, + "fullName": "google.cloud.aiplatform.v1.PipelineClient.DeletePipelineJob", "method": { - "shortName": "DeletePipelineJob", "fullName": "google.cloud.aiplatform.v1.PipelineService.DeletePipelineJob", "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "DeletePipelineJob" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.DeletePipelineJobRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DeletePipelineJobOperation", + "shortName": "DeletePipelineJob" }, + "description": "DeletePipelineJob deletes a PipelineJob.", + "file": "PipelineClient/DeletePipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_DeletePipelineJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeletePipelineJob Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_DeleteTrainingPipeline_sync", - "title": "aiplatform DeleteTrainingPipeline Sample", - "description": "DeleteTrainingPipeline deletes a TrainingPipeline.", - "file": "PipelineClient/DeleteTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.DeleteTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.DeleteTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "DeleteTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTrainingPipelineOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "DeleteTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1.PipelineService.DeleteTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "DeleteTrainingPipeline" }, + "description": "DeleteTrainingPipeline deletes a TrainingPipeline.", + "file": "PipelineClient/DeleteTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_DeleteTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_GetIamPolicy_sync", - "title": "aiplatform 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": "PipelineClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PipelineClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PipelineClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PipelineClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_GetPipelineJob_sync", - "title": "aiplatform GetPipelineJob Sample", - "description": "GetPipelineJob gets a PipelineJob.", - "file": "PipelineClient/GetPipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.GetPipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.GetPipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "GetPipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetPipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetPipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PipelineJob", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "GetPipelineJob", - "fullName": "google.cloud.aiplatform.v1.PipelineService.GetPipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "GetPipelineJob" }, + "description": "GetPipelineJob gets a PipelineJob.", + "file": "PipelineClient/GetPipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_GetPipelineJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetPipelineJob Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_GetTrainingPipeline_sync", - "title": "aiplatform GetTrainingPipeline Sample", - "description": "GetTrainingPipeline gets a TrainingPipeline.", - "file": "PipelineClient/GetTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.GetTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "GetTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TrainingPipeline", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "GetTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "GetTrainingPipeline" }, + "description": "GetTrainingPipeline gets a TrainingPipeline.", + "file": "PipelineClient/GetTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_GetTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PipelineClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PipelineClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_ListPipelineJobs_sync", - "title": "aiplatform ListPipelineJobs Sample", - "description": "ListPipelineJobs lists PipelineJobs in a Location.", - "file": "PipelineClient/ListPipelineJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPipelineJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.ListPipelineJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.ListPipelineJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "ListPipelineJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListPipelineJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListPipelineJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PipelineJobIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "ListPipelineJobs", - "fullName": "google.cloud.aiplatform.v1.PipelineService.ListPipelineJobs", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "ListPipelineJobs" }, + "description": "ListPipelineJobs lists PipelineJobs in a Location.", + "file": "PipelineClient/ListPipelineJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_ListPipelineJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListPipelineJobs Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_ListTrainingPipelines_sync", - "title": "aiplatform ListTrainingPipelines Sample", - "description": "ListTrainingPipelines lists TrainingPipelines in a Location.", - "file": "PipelineClient/ListTrainingPipelines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTrainingPipelines", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.ListTrainingPipelines", + "method": { + "fullName": "google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines", + "service": { + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "ListTrainingPipelines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTrainingPipelinesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTrainingPipelinesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainingPipelineIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "ListTrainingPipelines", - "fullName": "google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1.PipelineService" - } - } + "shortName": "ListTrainingPipelines" }, + "description": "ListTrainingPipelines lists TrainingPipelines in a Location.", + "file": "PipelineClient/ListTrainingPipelines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_ListTrainingPipelines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTrainingPipelines Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_SetIamPolicy_sync", - "title": "aiplatform 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": "PipelineClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PipelineClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_TestIamPermissions_sync", - "title": "aiplatform 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": "PipelineClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PipelineClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_PipelineService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1.PipelineClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1.PipelineClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PipelineService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_DirectPredict_sync", - "title": "aiplatform DirectPredict Sample", - "description": "DirectPredict perform an unary online prediction request to a gRPC model server for\nVertex first-party products and frameworks.", - "file": "PredictionClient/DirectPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "DirectPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.DirectPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.DirectPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "DirectPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DirectPredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DirectPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DirectPredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "DirectPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.DirectPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "DirectPredict" }, + "description": "DirectPredict perform an unary online prediction request to a gRPC model server for\nVertex first-party products and frameworks.", + "file": "PredictionClient/DirectPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_DirectPredict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DirectPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_DirectRawPredict_sync", - "title": "aiplatform DirectRawPredict Sample", - "description": "DirectRawPredict perform an unary online prediction request to a gRPC model server for\ncustom containers.", - "file": "PredictionClient/DirectRawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "DirectRawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.DirectRawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.DirectRawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "DirectRawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DirectRawPredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DirectRawPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DirectRawPredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "DirectRawPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.DirectRawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "DirectRawPredict" }, + "description": "DirectRawPredict perform an unary online prediction request to a gRPC model server for\ncustom containers.", + "file": "PredictionClient/DirectRawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_DirectRawPredict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DirectRawPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_EmbedContent_sync", - "title": "aiplatform EmbedContent Sample", - "description": "EmbedContent embed content with multimodal inputs.", - "file": "PredictionClient/EmbedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.EmbedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.EmbedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "EmbedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.EmbedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.EmbedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EmbedContentResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "EmbedContent", - "fullName": "google.cloud.aiplatform.v1.PredictionService.EmbedContent", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "EmbedContent" }, + "description": "EmbedContent embed content with multimodal inputs.", + "file": "PredictionClient/EmbedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_EmbedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform EmbedContent Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_Explain_sync", - "title": "aiplatform Explain Sample", - "description": "Explain perform an online explanation.\n\nIf\n[deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]\nis specified, the corresponding DeployModel must have\n[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]\npopulated. If\n[deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]\nis not specified, all DeployedModels must have\n[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]\npopulated.", - "file": "PredictionClient/Explain/main.go", - "language": "GO", "clientMethod": { - "shortName": "Explain", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.Explain", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.Explain", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Explain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExplainRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExplainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ExplainResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "Explain", - "fullName": "google.cloud.aiplatform.v1.PredictionService.Explain", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "Explain" }, + "description": "Explain perform an online explanation.\n\nIf\n[deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]\nis specified, the corresponding DeployModel must have\n[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]\npopulated. If\n[deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]\nis not specified, all DeployedModels must have\n[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]\npopulated.", + "file": "PredictionClient/Explain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_Explain_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform Explain Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_GenerateContent_sync", - "title": "aiplatform GenerateContent Sample", - "description": "GenerateContent generate content with multimodal inputs.", - "file": "PredictionClient/GenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.GenerateContent", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.GenerateContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "GenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GenerateContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GenerateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.GenerateContentResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "GenerateContent", - "fullName": "google.cloud.aiplatform.v1.PredictionService.GenerateContent", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "GenerateContent" }, + "description": "GenerateContent generate content with multimodal inputs.", + "file": "PredictionClient/GenerateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_GenerateContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GenerateContent Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_GetIamPolicy_sync", - "title": "aiplatform 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": "PredictionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.aiplatform.v1.PredictionClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "iampb.GetIamPolicyRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*iampb.Policy", "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" }, + "fullName": "google.cloud.aiplatform.v1.PredictionClient.GetIamPolicy", "method": { - "shortName": "GetIamPolicy", "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "iampb.GetIamPolicyRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*iampb.Policy", + "shortName": "GetIamPolicy" }, + "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": "PredictionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PredictionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PredictionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PredictionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PredictionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_Predict_sync", - "title": "aiplatform Predict Sample", - "description": "Predict perform an online prediction.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.Predict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict perform an online prediction.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform Predict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_RawPredict_sync", - "title": "aiplatform RawPredict Sample", - "description": "RawPredict perform an online prediction with an arbitrary HTTP payload.\n\nThe response includes the following HTTP headers: \n\n* `X-Vertex-AI-Endpoint-Id`: ID of the\n[Endpoint][google.cloud.aiplatform.v1.Endpoint] that served this\nprediction.\n\n* `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's\n[DeployedModel][google.cloud.aiplatform.v1.DeployedModel] that served this\nprediction.", - "file": "PredictionClient/RawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "RawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.RawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.RawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "RawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RawPredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RawPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "RawPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.RawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "RawPredict" }, + "description": "RawPredict perform an online prediction with an arbitrary HTTP payload.\n\nThe response includes the following HTTP headers: \n\n* `X-Vertex-AI-Endpoint-Id`: ID of the\n[Endpoint][google.cloud.aiplatform.v1.Endpoint] that served this\nprediction.\n\n* `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's\n[DeployedModel][google.cloud.aiplatform.v1.DeployedModel] that served this\nprediction.", + "file": "PredictionClient/RawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_RawPredict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RawPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_SetIamPolicy_sync", - "title": "aiplatform 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": "PredictionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PredictionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_StreamDirectPredict_sync", - "title": "aiplatform StreamDirectPredict Sample", - "description": "StreamDirectPredict perform a streaming online prediction request to a gRPC model server for\nVertex first-party products and frameworks.", - "file": "PredictionClient/StreamDirectPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamDirectPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamDirectPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamDirectPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamDirectPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "StreamDirectPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "StreamDirectPredict" }, + "description": "StreamDirectPredict perform a streaming online prediction request to a gRPC model server for\nVertex first-party products and frameworks.", + "file": "PredictionClient/StreamDirectPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_StreamDirectPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamDirectPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_StreamDirectRawPredict_sync", - "title": "aiplatform StreamDirectRawPredict Sample", - "description": "StreamDirectRawPredict perform a streaming online prediction request to a gRPC model server for\ncustom containers.", - "file": "PredictionClient/StreamDirectRawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamDirectRawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamDirectRawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectRawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamDirectRawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamDirectRawPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "StreamDirectRawPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectRawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "StreamDirectRawPredict" }, + "description": "StreamDirectRawPredict perform a streaming online prediction request to a gRPC model server for\ncustom containers.", + "file": "PredictionClient/StreamDirectRawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_StreamDirectRawPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamDirectRawPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_StreamingPredict_sync", - "title": "aiplatform StreamingPredict Sample", - "description": "StreamingPredict perform a streaming online prediction request for Vertex first-party\nproducts and frameworks.", - "file": "PredictionClient/StreamingPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamingPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamingPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamingPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "StreamingPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "StreamingPredict" }, + "description": "StreamingPredict perform a streaming online prediction request for Vertex first-party\nproducts and frameworks.", + "file": "PredictionClient/StreamingPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_StreamingPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamingPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_StreamingRawPredict_sync", - "title": "aiplatform StreamingRawPredict Sample", - "description": "StreamingRawPredict perform a streaming online prediction request through gRPC.", - "file": "PredictionClient/StreamingRawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingRawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamingRawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamingRawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamingRawPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "StreamingRawPredict", - "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1.PredictionService" - } - } + "shortName": "StreamingRawPredict" }, + "description": "StreamingRawPredict perform a streaming online prediction request through gRPC.", + "file": "PredictionClient/StreamingRawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_StreamingRawPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamingRawPredict Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_TestIamPermissions_sync", - "title": "aiplatform 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": "PredictionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PredictionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_PredictionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1.PredictionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1.PredictionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_PredictionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_GetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineExecutionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ReasoningEngineExecutionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ReasoningEngineExecutionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ReasoningEngineExecutionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ReasoningEngineExecutionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ReasoningEngineExecutionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_QueryReasoningEngine_sync", - "title": "aiplatform QueryReasoningEngine Sample", - "description": "QueryReasoningEngine queries using a reasoning engine.", - "file": "ReasoningEngineExecutionClient/QueryReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.QueryReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionService.QueryReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionService", + "shortName": "ReasoningEngineExecutionService" + }, + "shortName": "QueryReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryReasoningEngineRequest" }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.QueryReasoningEngineResponse", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "QueryReasoningEngine", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionService.QueryReasoningEngine", - "service": { - "shortName": "ReasoningEngineExecutionService", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionService" + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.QueryReasoningEngineResponse", + "shortName": "QueryReasoningEngine" }, + "description": "QueryReasoningEngine queries using a reasoning engine.", + "file": "ReasoningEngineExecutionClient/QueryReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_QueryReasoningEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_SetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineExecutionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ReasoningEngineExecutionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_TestIamPermissions_sync", - "title": "aiplatform 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": "ReasoningEngineExecutionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ReasoningEngineExecutionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineExecutionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_CreateReasoningEngine_sync", - "title": "aiplatform CreateReasoningEngine Sample", - "description": "CreateReasoningEngine creates a reasoning engine.", - "file": "ReasoningEngineClient/CreateReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.CreateReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.CreateReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "CreateReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReasoningEngineOperation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "CreateReasoningEngine", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.CreateReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService" - } - } + "shortName": "CreateReasoningEngine" }, + "description": "CreateReasoningEngine creates a reasoning engine.", + "file": "ReasoningEngineClient/CreateReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_CreateReasoningEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_DeleteReasoningEngine_sync", - "title": "aiplatform DeleteReasoningEngine Sample", - "description": "DeleteReasoningEngine deletes a reasoning engine.", - "file": "ReasoningEngineClient/DeleteReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.DeleteReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.DeleteReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "DeleteReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReasoningEngineOperation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "DeleteReasoningEngine", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.DeleteReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService" - } - } + "shortName": "DeleteReasoningEngine" }, + "description": "DeleteReasoningEngine deletes a reasoning engine.", + "file": "ReasoningEngineClient/DeleteReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_DeleteReasoningEngine_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ReasoningEngineClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ReasoningEngineClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ReasoningEngineClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetReasoningEngine_sync", - "title": "aiplatform GetReasoningEngine Sample", - "description": "GetReasoningEngine gets a reasoning engine.", - "file": "ReasoningEngineClient/GetReasoningEngine/main.go", - "language": "GO", + ], + "title": "aiplatform GetOperation Sample" + }, + { "clientMethod": { - "shortName": "GetReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.GetReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.GetReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "GetReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReasoningEngine", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetReasoningEngine", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.GetReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService" - } - } + "shortName": "GetReasoningEngine" }, + "description": "GetReasoningEngine gets a reasoning engine.", + "file": "ReasoningEngineClient/GetReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_GetReasoningEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ReasoningEngineClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ReasoningEngineClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_ListReasoningEngines_sync", - "title": "aiplatform ListReasoningEngines Sample", - "description": "ListReasoningEngines lists reasoning engines in a location.", - "file": "ReasoningEngineClient/ListReasoningEngines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReasoningEngines", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.ListReasoningEngines", + "method": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.ListReasoningEngines", + "service": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "ListReasoningEngines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListReasoningEnginesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListReasoningEnginesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReasoningEngineIterator", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "ListReasoningEngines", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.ListReasoningEngines", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService" - } - } + "shortName": "ListReasoningEngines" }, + "description": "ListReasoningEngines lists reasoning engines in a location.", + "file": "ReasoningEngineClient/ListReasoningEngines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_ListReasoningEngines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListReasoningEngines Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_SetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ReasoningEngineClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_TestIamPermissions_sync", - "title": "aiplatform 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": "ReasoningEngineClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ReasoningEngineClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_UpdateReasoningEngine_sync", - "title": "aiplatform UpdateReasoningEngine Sample", - "description": "UpdateReasoningEngine updates a reasoning engine.", - "file": "ReasoningEngineClient/UpdateReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.UpdateReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.UpdateReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "UpdateReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateReasoningEngineOperation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "UpdateReasoningEngine", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService.UpdateReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineService" - } - } + "shortName": "UpdateReasoningEngine" }, + "description": "UpdateReasoningEngine updates a reasoning engine.", + "file": "ReasoningEngineClient/UpdateReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_UpdateReasoningEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1_generated_ReasoningEngineService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1.ReasoningEngineClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ReasoningEngineService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_CreateSchedule_sync", - "title": "aiplatform CreateSchedule Sample", - "description": "CreateSchedule creates a Schedule.", - "file": "ScheduleClient/CreateSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.CreateSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.CreateSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "CreateSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Schedule", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "CreateSchedule", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.CreateSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "CreateSchedule" }, + "description": "CreateSchedule creates a Schedule.", + "file": "ScheduleClient/CreateSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_CreateSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateSchedule Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient.DeleteOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" }, + "fullName": "google.cloud.aiplatform.v1.ScheduleClient.DeleteOperation", "method": { - "shortName": "DeleteOperation", "fullName": "google.longrunning.Operations.DeleteOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_DeleteSchedule_sync", - "title": "aiplatform DeleteSchedule Sample", - "description": "DeleteSchedule deletes a Schedule.", - "file": "ScheduleClient/DeleteSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.DeleteSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.DeleteSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "DeleteSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteScheduleOperation", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "DeleteSchedule", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.DeleteSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "DeleteSchedule" }, + "description": "DeleteSchedule deletes a Schedule.", + "file": "ScheduleClient/DeleteSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_DeleteSchedule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSchedule Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_GetIamPolicy_sync", - "title": "aiplatform 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": "ScheduleClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ScheduleClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ScheduleClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ScheduleClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_GetSchedule_sync", - "title": "aiplatform GetSchedule Sample", - "description": "GetSchedule gets a Schedule.", - "file": "ScheduleClient/GetSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.GetSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "GetSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Schedule", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "GetSchedule", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.GetSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "GetSchedule" }, + "description": "GetSchedule gets a Schedule.", + "file": "ScheduleClient/GetSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_GetSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetSchedule Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ScheduleClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ScheduleClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_ListSchedules_sync", - "title": "aiplatform ListSchedules Sample", - "description": "ListSchedules lists Schedules in a Location.", - "file": "ScheduleClient/ListSchedules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchedules", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.ListSchedules", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.ListSchedules", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "ListSchedules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSchedulesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSchedulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScheduleIterator", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "ListSchedules", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.ListSchedules", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "ListSchedules" }, + "description": "ListSchedules lists Schedules in a Location.", + "file": "ScheduleClient/ListSchedules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_ListSchedules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSchedules Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_PauseSchedule_sync", - "title": "aiplatform PauseSchedule Sample", - "description": "PauseSchedule pauses a Schedule. Will mark\n[Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'PAUSED'. If\nthe schedule is paused, no new runs will be created. Already created runs\nwill NOT be paused or canceled.", - "file": "ScheduleClient/PauseSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.PauseSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.PauseSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "PauseSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PauseScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PauseScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "PauseSchedule", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.PauseSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "PauseSchedule" }, + "description": "PauseSchedule pauses a Schedule. Will mark\n[Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'PAUSED'. If\nthe schedule is paused, no new runs will be created. Already created runs\nwill NOT be paused or canceled.", + "file": "ScheduleClient/PauseSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_PauseSchedule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PauseSchedule Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_ResumeSchedule_sync", - "title": "aiplatform ResumeSchedule Sample", - "description": "ResumeSchedule resumes a paused Schedule to start scheduling new runs. Will mark\n[Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'ACTIVE'.\nOnly paused Schedule can be resumed.\n\nWhen the Schedule is resumed, new runs will be scheduled starting from the\nnext execution time after the current time based on the time_specification\nin the Schedule. If\n[Schedule.catch_up][google.cloud.aiplatform.v1.Schedule.catch_up] is set up\ntrue, all missed runs will be scheduled for backfill first.", - "file": "ScheduleClient/ResumeSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.ResumeSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.ResumeSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "ResumeSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ResumeScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ResumeScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "ResumeSchedule", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.ResumeSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "ResumeSchedule" }, + "description": "ResumeSchedule resumes a paused Schedule to start scheduling new runs. Will mark\n[Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'ACTIVE'.\nOnly paused Schedule can be resumed.\n\nWhen the Schedule is resumed, new runs will be scheduled starting from the\nnext execution time after the current time based on the time_specification\nin the Schedule. If\n[Schedule.catch_up][google.cloud.aiplatform.v1.Schedule.catch_up] is set up\ntrue, all missed runs will be scheduled for backfill first.", + "file": "ScheduleClient/ResumeSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_ResumeSchedule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ResumeSchedule Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_SetIamPolicy_sync", - "title": "aiplatform 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": "ScheduleClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ScheduleClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_TestIamPermissions_sync", - "title": "aiplatform 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": "ScheduleClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ScheduleClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_UpdateSchedule_sync", - "title": "aiplatform UpdateSchedule Sample", - "description": "UpdateSchedule updates an active or paused Schedule.\n\nWhen the Schedule is updated, new runs will be scheduled starting from the\nupdated next execution time after the update time based on the\ntime_specification in the updated Schedule. All unstarted runs before the\nupdate time will be skipped while already created runs will NOT be paused\nor canceled.", - "file": "ScheduleClient/UpdateSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.UpdateSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService.UpdateSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "UpdateSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Schedule", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "UpdateSchedule", - "fullName": "google.cloud.aiplatform.v1.ScheduleService.UpdateSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1.ScheduleService" - } - } + "shortName": "UpdateSchedule" }, + "description": "UpdateSchedule updates an active or paused Schedule.\n\nWhen the Schedule is updated, new runs will be scheduled starting from the\nupdated next execution time after the update time based on the\ntime_specification in the updated Schedule. All unstarted runs before the\nupdate time will be skipped while already created runs will NOT be paused\nor canceled.", + "file": "ScheduleClient/UpdateSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_UpdateSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateSchedule Sample" }, { - "regionTag": "aiplatform_v1_generated_ScheduleService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1.ScheduleClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1.ScheduleClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_ScheduleService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_AppendEvent_sync", - "title": "aiplatform AppendEvent Sample", - "description": "AppendEvent appends an event to a given session.", - "file": "SessionClient/AppendEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "AppendEvent", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.AppendEvent", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.AppendEvent", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "AppendEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AppendEventRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AppendEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AppendEventResponse", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "AppendEvent", - "fullName": "google.cloud.aiplatform.v1.SessionService.AppendEvent", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "AppendEvent" }, + "description": "AppendEvent appends an event to a given session.", + "file": "SessionClient/AppendEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_AppendEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AppendEvent Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_CreateSession_sync", - "title": "aiplatform CreateSession Sample", - "description": "CreateSession creates a new [Session][google.cloud.aiplatform.v1.Session].", - "file": "SessionClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.CreateSession", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.CreateSession", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSessionOperation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.aiplatform.v1.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a new [Session][google.cloud.aiplatform.v1.Session].", + "file": "SessionClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_CreateSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateSession Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_DeleteSession_sync", - "title": "aiplatform DeleteSession Sample", - "description": "DeleteSession deletes details of the specific\n[Session][google.cloud.aiplatform.v1.Session].", - "file": "SessionClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.DeleteSession", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.DeleteSession", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSessionOperation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.aiplatform.v1.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes details of the specific\n[Session][google.cloud.aiplatform.v1.Session].", + "file": "SessionClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSession Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_GetIamPolicy_sync", - "title": "aiplatform 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": "SessionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SessionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", - "fullName": "google.cloud.aiplatform.v1.SessionClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "locationpb.GetLocationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*locationpb.Location", "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" }, + "fullName": "google.cloud.aiplatform.v1.SessionClient.GetLocation", "method": { - "shortName": "GetLocation", "fullName": "google.cloud.location.Locations.GetLocation", "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "locationpb.GetLocationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*locationpb.Location", + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_GetSession_sync", - "title": "aiplatform GetSession Sample", - "description": "GetSession gets details of the specific [Session][google.cloud.aiplatform.v1.Session].", - "file": "SessionClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.GetSession", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.GetSession", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.aiplatform.v1.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets details of the specific [Session][google.cloud.aiplatform.v1.Session].", + "file": "SessionClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetSession Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_ListEvents_sync", - "title": "aiplatform ListEvents Sample", - "description": "ListEvents lists [Events][google.cloud.aiplatform.v1.Event] in a given session.", - "file": "SessionClient/ListEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvents", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.ListEvents", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.ListEvents", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListEventsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionEventIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "ListEvents", - "fullName": "google.cloud.aiplatform.v1.SessionService.ListEvents", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "ListEvents" }, + "description": "ListEvents lists [Events][google.cloud.aiplatform.v1.Event] in a given session.", + "file": "SessionClient/ListEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_ListEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListEvents Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "SessionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "SessionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_ListSessions_sync", - "title": "aiplatform ListSessions Sample", - "description": "ListSessions lists [Sessions][google.cloud.aiplatform.v1.Session] in a given reasoning\nengine.", - "file": "SessionClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.ListSessions", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.ListSessions", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.aiplatform.v1.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists [Sessions][google.cloud.aiplatform.v1.Session] in a given reasoning\nengine.", + "file": "SessionClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSessions Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_SetIamPolicy_sync", - "title": "aiplatform 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": "SessionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SessionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_TestIamPermissions_sync", - "title": "aiplatform 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": "SessionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SessionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_UpdateSession_sync", - "title": "aiplatform UpdateSession Sample", - "description": "UpdateSession updates the specific [Session][google.cloud.aiplatform.v1.Session].", - "file": "SessionClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.UpdateSession", + "method": { + "fullName": "google.cloud.aiplatform.v1.SessionService.UpdateSession", + "service": { + "fullName": "google.cloud.aiplatform.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.aiplatform.v1.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1.SessionService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates the specific [Session][google.cloud.aiplatform.v1.Session].", + "file": "SessionClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateSession Sample" }, { - "regionTag": "aiplatform_v1_generated_SessionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1.SessionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1.SessionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SessionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_CreateSpecialistPool_sync", - "title": "aiplatform CreateSpecialistPool Sample", - "description": "CreateSpecialistPool creates a SpecialistPool.", - "file": "SpecialistPoolClient/CreateSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.CreateSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.CreateSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "CreateSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSpecialistPoolOperation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "CreateSpecialistPool", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.CreateSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService" - } - } + "shortName": "CreateSpecialistPool" }, + "description": "CreateSpecialistPool creates a SpecialistPool.", + "file": "SpecialistPoolClient/CreateSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_CreateSpecialistPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_DeleteSpecialistPool_sync", - "title": "aiplatform DeleteSpecialistPool Sample", - "description": "DeleteSpecialistPool deletes a SpecialistPool as well as all Specialists in the pool.", - "file": "SpecialistPoolClient/DeleteSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.DeleteSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.DeleteSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "DeleteSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSpecialistPoolOperation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "DeleteSpecialistPool", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.DeleteSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService" - } - } + "shortName": "DeleteSpecialistPool" }, + "description": "DeleteSpecialistPool deletes a SpecialistPool as well as all Specialists in the pool.", + "file": "SpecialistPoolClient/DeleteSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_DeleteSpecialistPool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetIamPolicy_sync", - "title": "aiplatform 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": "SpecialistPoolClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SpecialistPoolClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SpecialistPoolClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SpecialistPoolClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetSpecialistPool_sync", - "title": "aiplatform GetSpecialistPool Sample", - "description": "GetSpecialistPool gets a SpecialistPool.", - "file": "SpecialistPoolClient/GetSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.GetSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.GetSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "GetSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SpecialistPool", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetSpecialistPool", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.GetSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService" - } - } + "shortName": "GetSpecialistPool" }, + "description": "GetSpecialistPool gets a SpecialistPool.", + "file": "SpecialistPoolClient/GetSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetSpecialistPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "SpecialistPoolClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "SpecialistPoolClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListSpecialistPools_sync", - "title": "aiplatform ListSpecialistPools Sample", - "description": "ListSpecialistPools lists SpecialistPools in a Location.", - "file": "SpecialistPoolClient/ListSpecialistPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpecialistPools", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.ListSpecialistPools", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.ListSpecialistPoolsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "SpecialistPoolIterator", "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" }, + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.ListSpecialistPools", "method": { - "shortName": "ListSpecialistPools", "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.ListSpecialistPools", "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService" + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "ListSpecialistPools" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.ListSpecialistPoolsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "SpecialistPoolIterator", + "shortName": "ListSpecialistPools" }, + "description": "ListSpecialistPools lists SpecialistPools in a Location.", + "file": "SpecialistPoolClient/ListSpecialistPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListSpecialistPools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSpecialistPools Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_SetIamPolicy_sync", - "title": "aiplatform 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": "SpecialistPoolClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SpecialistPoolClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_TestIamPermissions_sync", - "title": "aiplatform 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": "SpecialistPoolClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SpecialistPoolClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_UpdateSpecialistPool_sync", - "title": "aiplatform UpdateSpecialistPool Sample", - "description": "UpdateSpecialistPool updates a SpecialistPool.", - "file": "SpecialistPoolClient/UpdateSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.UpdateSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "UpdateSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSpecialistPoolOperation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "UpdateSpecialistPool", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService" - } - } + "shortName": "UpdateSpecialistPool" }, + "description": "UpdateSpecialistPool updates a SpecialistPool.", + "file": "SpecialistPoolClient/UpdateSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_UpdateSpecialistPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1_generated_SpecialistPoolService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_SpecialistPoolService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_BatchCreateTensorboardRuns_sync", - "title": "aiplatform BatchCreateTensorboardRuns Sample", - "description": "BatchCreateTensorboardRuns batch create TensorboardRuns.", - "file": "TensorboardClient/BatchCreateTensorboardRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTensorboardRuns", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.BatchCreateTensorboardRuns", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "BatchCreateTensorboardRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateTensorboardRunsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateTensorboardRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchCreateTensorboardRunsResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "BatchCreateTensorboardRuns", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "BatchCreateTensorboardRuns" }, + "description": "BatchCreateTensorboardRuns batch create TensorboardRuns.", + "file": "TensorboardClient/BatchCreateTensorboardRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_BatchCreateTensorboardRuns_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateTensorboardRuns Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_BatchCreateTensorboardTimeSeries_sync", - "title": "aiplatform BatchCreateTensorboardTimeSeries Sample", - "description": "BatchCreateTensorboardTimeSeries batch create TensorboardTimeSeries that belong to a TensorboardExperiment.", - "file": "TensorboardClient/BatchCreateTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.BatchCreateTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "BatchCreateTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchCreateTensorboardTimeSeriesResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "BatchCreateTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "BatchCreateTensorboardTimeSeries" }, + "description": "BatchCreateTensorboardTimeSeries batch create TensorboardTimeSeries that belong to a TensorboardExperiment.", + "file": "TensorboardClient/BatchCreateTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_BatchCreateTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_BatchReadTensorboardTimeSeriesData_sync", - "title": "aiplatform BatchReadTensorboardTimeSeriesData Sample", - "description": "BatchReadTensorboardTimeSeriesData reads multiple TensorboardTimeSeries' data. The data point number limit is\n1000 for scalars, 100 for tensors and blob references. If the number of\ndata points stored is less than the limit, all data is returned.\nOtherwise, the number limit of data points is randomly selected from\nthis time series and returned.", - "file": "TensorboardClient/BatchReadTensorboardTimeSeriesData/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchReadTensorboardTimeSeriesData", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.BatchReadTensorboardTimeSeriesData", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "BatchReadTensorboardTimeSeriesData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchReadTensorboardTimeSeriesDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchReadTensorboardTimeSeriesDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchReadTensorboardTimeSeriesDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "BatchReadTensorboardTimeSeriesData", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "BatchReadTensorboardTimeSeriesData" }, + "description": "BatchReadTensorboardTimeSeriesData reads multiple TensorboardTimeSeries' data. The data point number limit is\n1000 for scalars, 100 for tensors and blob references. If the number of\ndata points stored is less than the limit, all data is returned.\nOtherwise, the number limit of data points is randomly selected from\nthis time series and returned.", + "file": "TensorboardClient/BatchReadTensorboardTimeSeriesData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_BatchReadTensorboardTimeSeriesData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchReadTensorboardTimeSeriesData Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboard_sync", - "title": "aiplatform CreateTensorboard Sample", - "description": "CreateTensorboard creates a Tensorboard.", - "file": "TensorboardClient/CreateTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.CreateTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTensorboardOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboard", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "CreateTensorboard" }, + "description": "CreateTensorboard creates a Tensorboard.", + "file": "TensorboardClient/CreateTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboard_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboard Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardExperiment_sync", - "title": "aiplatform CreateTensorboardExperiment Sample", - "description": "CreateTensorboardExperiment creates a TensorboardExperiment.", - "file": "TensorboardClient/CreateTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.CreateTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardExperiment", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "CreateTensorboardExperiment" }, + "description": "CreateTensorboardExperiment creates a TensorboardExperiment.", + "file": "TensorboardClient/CreateTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardRun_sync", - "title": "aiplatform CreateTensorboardRun Sample", - "description": "CreateTensorboardRun creates a TensorboardRun.", - "file": "TensorboardClient/CreateTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.CreateTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardRun", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboardRun", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "CreateTensorboardRun" }, + "description": "CreateTensorboardRun creates a TensorboardRun.", + "file": "TensorboardClient/CreateTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardTimeSeries_sync", - "title": "aiplatform CreateTensorboardTimeSeries Sample", - "description": "CreateTensorboardTimeSeries creates a TensorboardTimeSeries.", - "file": "TensorboardClient/CreateTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.CreateTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardTimeSeries", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "CreateTensorboardTimeSeries" }, + "description": "CreateTensorboardTimeSeries creates a TensorboardTimeSeries.", + "file": "TensorboardClient/CreateTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboard_sync", - "title": "aiplatform DeleteTensorboard Sample", - "description": "DeleteTensorboard deletes a Tensorboard.", - "file": "TensorboardClient/DeleteTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.DeleteTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboard", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "DeleteTensorboard" }, + "description": "DeleteTensorboard deletes a Tensorboard.", + "file": "TensorboardClient/DeleteTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboard_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboard Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardExperiment_sync", - "title": "aiplatform DeleteTensorboardExperiment Sample", - "description": "DeleteTensorboardExperiment deletes a TensorboardExperiment.", - "file": "TensorboardClient/DeleteTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.DeleteTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardExperimentOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "DeleteTensorboardExperiment" }, + "description": "DeleteTensorboardExperiment deletes a TensorboardExperiment.", + "file": "TensorboardClient/DeleteTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardRun_sync", - "title": "aiplatform DeleteTensorboardRun Sample", - "description": "DeleteTensorboardRun deletes a TensorboardRun.", - "file": "TensorboardClient/DeleteTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.DeleteTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardRunOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboardRun", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "DeleteTensorboardRun" }, + "description": "DeleteTensorboardRun deletes a TensorboardRun.", + "file": "TensorboardClient/DeleteTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardRun_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardTimeSeries_sync", - "title": "aiplatform DeleteTensorboardTimeSeries Sample", - "description": "DeleteTensorboardTimeSeries deletes a TensorboardTimeSeries.", - "file": "TensorboardClient/DeleteTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.DeleteTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardTimeSeriesOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "DeleteTensorboardTimeSeries" }, + "description": "DeleteTensorboardTimeSeries deletes a TensorboardTimeSeries.", + "file": "TensorboardClient/DeleteTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ExportTensorboardTimeSeriesData_sync", - "title": "aiplatform ExportTensorboardTimeSeriesData Sample", - "description": "ExportTensorboardTimeSeriesData exports a TensorboardTimeSeries' data. Data is returned in paginated\nresponses.", - "file": "TensorboardClient/ExportTensorboardTimeSeriesData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTensorboardTimeSeriesData", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ExportTensorboardTimeSeriesData", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ExportTensorboardTimeSeriesData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportTensorboardTimeSeriesDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportTensorboardTimeSeriesDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TimeSeriesDataPointIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ExportTensorboardTimeSeriesData", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ExportTensorboardTimeSeriesData" }, + "description": "ExportTensorboardTimeSeriesData exports a TensorboardTimeSeries' data. Data is returned in paginated\nresponses.", + "file": "TensorboardClient/ExportTensorboardTimeSeriesData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ExportTensorboardTimeSeriesData_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportTensorboardTimeSeriesData Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetIamPolicy_sync", - "title": "aiplatform 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": "TensorboardClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "TensorboardClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TensorboardClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TensorboardClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.GetOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" }, + "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetOperation", "method": { - "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.GetOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboard_sync", - "title": "aiplatform GetTensorboard Sample", - "description": "GetTensorboard gets a Tensorboard.", - "file": "TensorboardClient/GetTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Tensorboard", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboard", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "GetTensorboard" }, + "description": "GetTensorboard gets a Tensorboard.", + "file": "TensorboardClient/GetTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboard Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardExperiment_sync", - "title": "aiplatform GetTensorboardExperiment Sample", - "description": "GetTensorboardExperiment gets a TensorboardExperiment.", - "file": "TensorboardClient/GetTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardExperiment", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "GetTensorboardExperiment" }, + "description": "GetTensorboardExperiment gets a TensorboardExperiment.", + "file": "TensorboardClient/GetTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardRun_sync", - "title": "aiplatform GetTensorboardRun Sample", - "description": "GetTensorboardRun gets a TensorboardRun.", - "file": "TensorboardClient/GetTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardRun", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboardRun", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "GetTensorboardRun" }, + "description": "GetTensorboardRun gets a TensorboardRun.", + "file": "TensorboardClient/GetTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardTimeSeries_sync", - "title": "aiplatform GetTensorboardTimeSeries Sample", - "description": "GetTensorboardTimeSeries gets a TensorboardTimeSeries.", - "file": "TensorboardClient/GetTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardTimeSeries", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "GetTensorboardTimeSeries" }, + "description": "GetTensorboardTimeSeries gets a TensorboardTimeSeries.", + "file": "TensorboardClient/GetTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "TensorboardClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "TensorboardClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardExperiments_sync", - "title": "aiplatform ListTensorboardExperiments Sample", - "description": "ListTensorboardExperiments lists TensorboardExperiments in a Location.", - "file": "TensorboardClient/ListTensorboardExperiments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboardExperiments", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ListTensorboardExperiments", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboardExperiments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardExperimentsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardExperimentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardExperimentIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboardExperiments", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ListTensorboardExperiments" }, + "description": "ListTensorboardExperiments lists TensorboardExperiments in a Location.", + "file": "TensorboardClient/ListTensorboardExperiments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardExperiments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboardExperiments Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardRuns_sync", - "title": "aiplatform ListTensorboardRuns Sample", - "description": "ListTensorboardRuns lists TensorboardRuns in a Location.", - "file": "TensorboardClient/ListTensorboardRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboardRuns", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ListTensorboardRuns", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboardRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardRunsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardRunIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboardRuns", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ListTensorboardRuns" }, + "description": "ListTensorboardRuns lists TensorboardRuns in a Location.", + "file": "TensorboardClient/ListTensorboardRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboardRuns Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardTimeSeries_sync", - "title": "aiplatform ListTensorboardTimeSeries Sample", - "description": "ListTensorboardTimeSeries lists TensorboardTimeSeries in a Location.", - "file": "TensorboardClient/ListTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ListTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardTimeSeriesIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ListTensorboardTimeSeries" }, + "description": "ListTensorboardTimeSeries lists TensorboardTimeSeries in a Location.", + "file": "TensorboardClient/ListTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboards_sync", - "title": "aiplatform ListTensorboards Sample", - "description": "ListTensorboards lists Tensorboards in a Location.", - "file": "TensorboardClient/ListTensorboards/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboards", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ListTensorboards", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboards", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboards" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboards", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboards", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ListTensorboards" }, + "description": "ListTensorboards lists Tensorboards in a Location.", + "file": "TensorboardClient/ListTensorboards/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboards_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboards Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardSize_sync", - "title": "aiplatform ReadTensorboardSize Sample", - "description": "ReadTensorboardSize returns the storage size for a given TensorBoard instance.", - "file": "TensorboardClient/ReadTensorboardSize/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadTensorboardSize", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ReadTensorboardSize", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ReadTensorboardSize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadTensorboardSizeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadTensorboardSizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadTensorboardSizeResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ReadTensorboardSize", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ReadTensorboardSize" }, + "description": "ReadTensorboardSize returns the storage size for a given TensorBoard instance.", + "file": "TensorboardClient/ReadTensorboardSize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardSize_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadTensorboardSize Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardTimeSeriesData_sync", - "title": "aiplatform ReadTensorboardTimeSeriesData Sample", - "description": "ReadTensorboardTimeSeriesData reads a TensorboardTimeSeries' data. By default, if the number of data\npoints stored is less than 1000, all data is returned. Otherwise, 1000\ndata points is randomly selected from this time series and returned.\nThis value can be changed by changing max_data_points, which can't be\ngreater than 10k.", - "file": "TensorboardClient/ReadTensorboardTimeSeriesData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadTensorboardTimeSeriesData", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ReadTensorboardTimeSeriesData", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ReadTensorboardTimeSeriesData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadTensorboardTimeSeriesDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadTensorboardTimeSeriesDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadTensorboardTimeSeriesDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ReadTensorboardTimeSeriesData", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ReadTensorboardTimeSeriesData" }, + "description": "ReadTensorboardTimeSeriesData reads a TensorboardTimeSeries' data. By default, if the number of data\npoints stored is less than 1000, all data is returned. Otherwise, 1000\ndata points is randomly selected from this time series and returned.\nThis value can be changed by changing max_data_points, which can't be\ngreater than 10k.", + "file": "TensorboardClient/ReadTensorboardTimeSeriesData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardTimeSeriesData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadTensorboardTimeSeriesData Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync", - "title": "aiplatform ReadTensorboardUsage Sample", - "description": "ReadTensorboardUsage returns a list of monthly active users for a given TensorBoard instance.", - "file": "TensorboardClient/ReadTensorboardUsage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadTensorboardUsage", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.ReadTensorboardUsage", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ReadTensorboardUsage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadTensorboardUsageRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadTensorboardUsageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadTensorboardUsageResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "ReadTensorboardUsage", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "ReadTensorboardUsage" }, + "description": "ReadTensorboardUsage returns a list of monthly active users for a given TensorBoard instance.", + "file": "TensorboardClient/ReadTensorboardUsage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadTensorboardUsage Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_SetIamPolicy_sync", - "title": "aiplatform 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": "TensorboardClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "TensorboardClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_TestIamPermissions_sync", - "title": "aiplatform 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": "TensorboardClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "TensorboardClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboard_sync", - "title": "aiplatform UpdateTensorboard Sample", - "description": "UpdateTensorboard updates a Tensorboard.", - "file": "TensorboardClient/UpdateTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.UpdateTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTensorboardOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboard", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "UpdateTensorboard" }, + "description": "UpdateTensorboard updates a Tensorboard.", + "file": "TensorboardClient/UpdateTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboard_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboard Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardExperiment_sync", - "title": "aiplatform UpdateTensorboardExperiment Sample", - "description": "UpdateTensorboardExperiment updates a TensorboardExperiment.", - "file": "TensorboardClient/UpdateTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.UpdateTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardExperiment", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "UpdateTensorboardExperiment" }, + "description": "UpdateTensorboardExperiment updates a TensorboardExperiment.", + "file": "TensorboardClient/UpdateTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardRun_sync", - "title": "aiplatform UpdateTensorboardRun Sample", - "description": "UpdateTensorboardRun updates a TensorboardRun.", - "file": "TensorboardClient/UpdateTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.UpdateTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardRun", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboardRun", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "UpdateTensorboardRun" }, + "description": "UpdateTensorboardRun updates a TensorboardRun.", + "file": "TensorboardClient/UpdateTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardTimeSeries_sync", - "title": "aiplatform UpdateTensorboardTimeSeries Sample", - "description": "UpdateTensorboardTimeSeries updates a TensorboardTimeSeries.", - "file": "TensorboardClient/UpdateTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.UpdateTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardTimeSeries", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "UpdateTensorboardTimeSeries" }, + "description": "UpdateTensorboardTimeSeries updates a TensorboardTimeSeries.", + "file": "TensorboardClient/UpdateTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_WriteTensorboardExperimentData_sync", - "title": "aiplatform WriteTensorboardExperimentData Sample", - "description": "WriteTensorboardExperimentData write time series data points of multiple TensorboardTimeSeries in multiple\nTensorboardRun's. If any data fail to be ingested, an error is returned.", - "file": "TensorboardClient/WriteTensorboardExperimentData/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteTensorboardExperimentData", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient.WriteTensorboardExperimentData", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.WriteTensorboardExperimentDataRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.WriteTensorboardExperimentDataResponse", "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" }, + "fullName": "google.cloud.aiplatform.v1.TensorboardClient.WriteTensorboardExperimentData", "method": { - "shortName": "WriteTensorboardExperimentData", "fullName": "google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData", "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "WriteTensorboardExperimentData" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.WriteTensorboardExperimentDataRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.WriteTensorboardExperimentDataResponse", + "shortName": "WriteTensorboardExperimentData" }, + "description": "WriteTensorboardExperimentData write time series data points of multiple TensorboardTimeSeries in multiple\nTensorboardRun's. If any data fail to be ingested, an error is returned.", + "file": "TensorboardClient/WriteTensorboardExperimentData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_WriteTensorboardExperimentData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WriteTensorboardExperimentData Sample" }, { - "regionTag": "aiplatform_v1_generated_TensorboardService_WriteTensorboardRunData_sync", - "title": "aiplatform WriteTensorboardRunData Sample", - "description": "WriteTensorboardRunData write time series data points into multiple TensorboardTimeSeries under\na TensorboardRun. If any data fail to be ingested, an error is returned.", - "file": "TensorboardClient/WriteTensorboardRunData/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteTensorboardRunData", + "client": { + "fullName": "google.cloud.aiplatform.v1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1.TensorboardClient.WriteTensorboardRunData", + "method": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData", + "service": { + "fullName": "google.cloud.aiplatform.v1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "WriteTensorboardRunData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.WriteTensorboardRunDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.WriteTensorboardRunDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.WriteTensorboardRunDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1.TensorboardClient" - }, - "method": { - "shortName": "WriteTensorboardRunData", - "fullName": "google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1.TensorboardService" - } - } + "shortName": "WriteTensorboardRunData" }, + "description": "WriteTensorboardRunData write time series data points into multiple TensorboardTimeSeries under\na TensorboardRun. If any data fail to be ingested, an error is returned.", + "file": "TensorboardClient/WriteTensorboardRunData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_TensorboardService_WriteTensorboardRunData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WriteTensorboardRunData Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_CreateRagCorpus_sync", - "title": "aiplatform CreateRagCorpus Sample", - "description": "CreateRagCorpus creates a RagCorpus.", - "file": "VertexRagDataClient/CreateRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.CreateRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.CreateRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "CreateRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRagCorpusOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "CreateRagCorpus", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.CreateRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "CreateRagCorpus" }, + "description": "CreateRagCorpus creates a RagCorpus.", + "file": "VertexRagDataClient/CreateRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_CreateRagCorpus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateRagCorpus Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_DeleteRagCorpus_sync", - "title": "aiplatform DeleteRagCorpus Sample", - "description": "DeleteRagCorpus deletes a RagCorpus.", - "file": "VertexRagDataClient/DeleteRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.DeleteRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.DeleteRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "DeleteRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRagCorpusOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteRagCorpus", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.DeleteRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "DeleteRagCorpus" }, + "description": "DeleteRagCorpus deletes a RagCorpus.", + "file": "VertexRagDataClient/DeleteRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_DeleteRagCorpus_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteRagCorpus Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_DeleteRagFile_sync", - "title": "aiplatform DeleteRagFile Sample", - "description": "DeleteRagFile deletes a RagFile.", - "file": "VertexRagDataClient/DeleteRagFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRagFile", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.DeleteRagFile", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.DeleteRagFile", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "DeleteRagFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteRagFileRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteRagFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRagFileOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteRagFile", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.DeleteRagFile", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "DeleteRagFile" }, + "description": "DeleteRagFile deletes a RagFile.", + "file": "VertexRagDataClient/DeleteRagFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_DeleteRagFile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteRagFile Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagDataClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VertexRagDataClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VertexRagDataClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VertexRagDataClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetRagCorpus_sync", - "title": "aiplatform GetRagCorpus Sample", - "description": "GetRagCorpus gets a RagCorpus.", - "file": "VertexRagDataClient/GetRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.GetRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.GetRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagCorpus", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagCorpus", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.GetRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "GetRagCorpus" }, + "description": "GetRagCorpus gets a RagCorpus.", + "file": "VertexRagDataClient/GetRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetRagCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagCorpus Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetRagEngineConfig_sync", - "title": "aiplatform GetRagEngineConfig Sample", - "description": "GetRagEngineConfig gets a RagEngineConfig.", - "file": "VertexRagDataClient/GetRagEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagEngineConfig", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.GetRagEngineConfig", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.GetRagEngineConfig", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagEngineConfigRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagEngineConfig", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagEngineConfig", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.GetRagEngineConfig", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "GetRagEngineConfig" }, + "description": "GetRagEngineConfig gets a RagEngineConfig.", + "file": "VertexRagDataClient/GetRagEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetRagEngineConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagEngineConfig Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetRagFile_sync", - "title": "aiplatform GetRagFile Sample", - "description": "GetRagFile gets a RagFile.", - "file": "VertexRagDataClient/GetRagFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagFile", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.GetRagFile", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.GetRagFile", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagFileRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagFile", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagFile", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.GetRagFile", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "GetRagFile" }, + "description": "GetRagFile gets a RagFile.", + "file": "VertexRagDataClient/GetRagFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_GetRagFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagFile Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_ImportRagFiles_sync", - "title": "aiplatform ImportRagFiles Sample", - "description": "ImportRagFiles import files from Google Cloud Storage or Google Drive into a RagCorpus.", - "file": "VertexRagDataClient/ImportRagFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportRagFiles", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.ImportRagFiles", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ImportRagFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportRagFilesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportRagFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportRagFilesOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "ImportRagFiles", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "ImportRagFiles" }, + "description": "ImportRagFiles import files from Google Cloud Storage or Google Drive into a RagCorpus.", + "file": "VertexRagDataClient/ImportRagFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_ImportRagFiles_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportRagFiles Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "VertexRagDataClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "VertexRagDataClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListRagCorpora_sync", - "title": "aiplatform ListRagCorpora Sample", - "description": "ListRagCorpora lists RagCorpora in a Location.", - "file": "VertexRagDataClient/ListRagCorpora/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRagCorpora", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.ListRagCorpora", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.ListRagCorpora", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ListRagCorpora" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListRagCorporaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListRagCorporaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RagCorpusIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "ListRagCorpora", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.ListRagCorpora", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "ListRagCorpora" }, + "description": "ListRagCorpora lists RagCorpora in a Location.", + "file": "VertexRagDataClient/ListRagCorpora/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListRagCorpora_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListRagCorpora Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListRagFiles_sync", - "title": "aiplatform ListRagFiles Sample", - "description": "ListRagFiles lists RagFiles in a RagCorpus.", - "file": "VertexRagDataClient/ListRagFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRagFiles", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.ListRagFiles", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.ListRagFiles", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ListRagFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListRagFilesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListRagFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RagFileIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "ListRagFiles", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.ListRagFiles", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "ListRagFiles" }, + "description": "ListRagFiles lists RagFiles in a RagCorpus.", + "file": "VertexRagDataClient/ListRagFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_ListRagFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListRagFiles Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_SetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagDataClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VertexRagDataClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_TestIamPermissions_sync", - "title": "aiplatform 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": "VertexRagDataClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VertexRagDataClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_UpdateRagCorpus_sync", - "title": "aiplatform UpdateRagCorpus Sample", - "description": "UpdateRagCorpus updates a RagCorpus.", - "file": "VertexRagDataClient/UpdateRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.UpdateRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.UpdateRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UpdateRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRagCorpusOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "UpdateRagCorpus", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.UpdateRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "UpdateRagCorpus" }, + "description": "UpdateRagCorpus updates a RagCorpus.", + "file": "VertexRagDataClient/UpdateRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_UpdateRagCorpus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateRagCorpus Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_UpdateRagEngineConfig_sync", - "title": "aiplatform UpdateRagEngineConfig Sample", - "description": "UpdateRagEngineConfig updates a RagEngineConfig.", - "file": "VertexRagDataClient/UpdateRagEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRagEngineConfig", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.UpdateRagEngineConfig", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.UpdateRagEngineConfigRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "UpdateRagEngineConfigOperation", "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" }, + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.UpdateRagEngineConfig", "method": { - "shortName": "UpdateRagEngineConfig", "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.UpdateRagEngineConfig", "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UpdateRagEngineConfig" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.UpdateRagEngineConfigRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "UpdateRagEngineConfigOperation", + "shortName": "UpdateRagEngineConfig" }, + "description": "UpdateRagEngineConfig updates a RagEngineConfig.", + "file": "VertexRagDataClient/UpdateRagEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_UpdateRagEngineConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateRagEngineConfig Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_UploadRagFile_sync", - "title": "aiplatform UploadRagFile Sample", - "description": "UploadRagFile upload a file into a RagCorpus.", - "file": "VertexRagDataClient/UploadRagFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadRagFile", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.UploadRagFile", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.UploadRagFile", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UploadRagFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UploadRagFileRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UploadRagFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.UploadRagFileResponse", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "UploadRagFile", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService.UploadRagFile", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataService" - } - } + "shortName": "UploadRagFile" }, + "description": "UploadRagFile upload a file into a RagCorpus.", + "file": "VertexRagDataClient/UploadRagFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_UploadRagFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UploadRagFile Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagDataService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagDataClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagDataService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_AskContexts_sync", - "title": "aiplatform AskContexts Sample", - "description": "AskContexts agentic Retrieval Ask API for RAG.", - "file": "VertexRagClient/AskContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "AskContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.AskContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AskContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "AskContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AskContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AskContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AskContextsResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "AskContexts", - "fullName": "google.cloud.aiplatform.v1.VertexRagService.AskContexts", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1.VertexRagService" - } - } + "shortName": "AskContexts" }, + "description": "AskContexts agentic Retrieval Ask API for RAG.", + "file": "VertexRagClient/AskContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_AskContexts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AskContexts Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_sync", - "title": "aiplatform AsyncRetrieveContexts Sample", - "description": "AsyncRetrieveContexts asynchronous API to retrieves relevant contexts for a query.", - "file": "VertexRagClient/AsyncRetrieveContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "AsyncRetrieveContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.AsyncRetrieveContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "AsyncRetrieveContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AsyncRetrieveContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AsyncRetrieveContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AsyncRetrieveContextsOperation", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "AsyncRetrieveContexts", - "fullName": "google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1.VertexRagService" - } - } + "shortName": "AsyncRetrieveContexts" }, + "description": "AsyncRetrieveContexts asynchronous API to retrieves relevant contexts for a query.", + "file": "VertexRagClient/AsyncRetrieveContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AsyncRetrieveContexts Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_AugmentPrompt_sync", - "title": "aiplatform AugmentPrompt Sample", - "description": "AugmentPrompt given an input prompt, it returns augmented prompt from vertex rag store\nto guide LLM towards generating grounded responses.", - "file": "VertexRagClient/AugmentPrompt/main.go", - "language": "GO", "clientMethod": { - "shortName": "AugmentPrompt", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.AugmentPrompt", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AugmentPrompt", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "AugmentPrompt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AugmentPromptRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AugmentPromptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AugmentPromptResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "AugmentPrompt", - "fullName": "google.cloud.aiplatform.v1.VertexRagService.AugmentPrompt", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1.VertexRagService" - } - } + "shortName": "AugmentPrompt" }, + "description": "AugmentPrompt given an input prompt, it returns augmented prompt from vertex rag store\nto guide LLM towards generating grounded responses.", + "file": "VertexRagClient/AugmentPrompt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_AugmentPrompt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AugmentPrompt Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_CorroborateContent_sync", - "title": "aiplatform CorroborateContent Sample", - "description": "CorroborateContent given an input text, it returns a score that evaluates the factuality of\nthe text. It also extracts and returns claims from the text and provides\nsupporting facts.", - "file": "VertexRagClient/CorroborateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CorroborateContent", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.CorroborateContent", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService.CorroborateContent", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "CorroborateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CorroborateContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CorroborateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CorroborateContentResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "CorroborateContent", - "fullName": "google.cloud.aiplatform.v1.VertexRagService.CorroborateContent", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1.VertexRagService" - } - } + "shortName": "CorroborateContent" }, + "description": "CorroborateContent given an input text, it returns a score that evaluates the factuality of\nthe text. It also extracts and returns claims from the text and provides\nsupporting facts.", + "file": "VertexRagClient/CorroborateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_CorroborateContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CorroborateContent Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_GetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VertexRagClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VertexRagClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VertexRagClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "VertexRagClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "VertexRagClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_RetrieveContexts_sync", - "title": "aiplatform RetrieveContexts Sample", - "description": "RetrieveContexts retrieves relevant contexts for a query.", - "file": "VertexRagClient/RetrieveContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.RetrieveContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "RetrieveContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RetrieveContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RetrieveContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RetrieveContextsResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "RetrieveContexts", - "fullName": "google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1.VertexRagService" - } - } + "shortName": "RetrieveContexts" }, + "description": "RetrieveContexts retrieves relevant contexts for a query.", + "file": "VertexRagClient/RetrieveContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_RetrieveContexts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RetrieveContexts Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_SetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VertexRagClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_TestIamPermissions_sync", - "title": "aiplatform 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": "VertexRagClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VertexRagClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_VertexRagService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1.VertexRagClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1.VertexRagClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VertexRagService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_AddTrialMeasurement_sync", - "title": "aiplatform AddTrialMeasurement Sample", - "description": "AddTrialMeasurement adds a measurement of the objective metrics to a Trial. This measurement\nis assumed to have been taken before the Trial is complete.", - "file": "VizierClient/AddTrialMeasurement/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddTrialMeasurement", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.AddTrialMeasurement", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.AddTrialMeasurement", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "AddTrialMeasurement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddTrialMeasurementRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddTrialMeasurementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "AddTrialMeasurement", - "fullName": "google.cloud.aiplatform.v1.VizierService.AddTrialMeasurement", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "AddTrialMeasurement" }, + "description": "AddTrialMeasurement adds a measurement of the objective metrics to a Trial. This measurement\nis assumed to have been taken before the Trial is complete.", + "file": "VizierClient/AddTrialMeasurement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_AddTrialMeasurement_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddTrialMeasurement Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_CheckTrialEarlyStoppingState_sync", - "title": "aiplatform CheckTrialEarlyStoppingState Sample", - "description": "CheckTrialEarlyStoppingState checks whether a Trial should stop or not. Returns a\nlong-running operation. When the operation is successful,\nit will contain a\n[CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse].", - "file": "VizierClient/CheckTrialEarlyStoppingState/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckTrialEarlyStoppingState", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.CheckTrialEarlyStoppingState", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.CheckTrialEarlyStoppingState", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CheckTrialEarlyStoppingState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CheckTrialEarlyStoppingStateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CheckTrialEarlyStoppingStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CheckTrialEarlyStoppingStateOperation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "CheckTrialEarlyStoppingState", - "fullName": "google.cloud.aiplatform.v1.VizierService.CheckTrialEarlyStoppingState", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "CheckTrialEarlyStoppingState" }, + "description": "CheckTrialEarlyStoppingState checks whether a Trial should stop or not. Returns a\nlong-running operation. When the operation is successful,\nit will contain a\n[CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse].", + "file": "VizierClient/CheckTrialEarlyStoppingState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_CheckTrialEarlyStoppingState_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CheckTrialEarlyStoppingState Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_CompleteTrial_sync", - "title": "aiplatform CompleteTrial Sample", - "description": "CompleteTrial marks a Trial as complete.", - "file": "VizierClient/CompleteTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.CompleteTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.CompleteTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CompleteTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CompleteTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CompleteTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "CompleteTrial", - "fullName": "google.cloud.aiplatform.v1.VizierService.CompleteTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.Trial", + "shortName": "CompleteTrial" }, + "description": "CompleteTrial marks a Trial as complete.", + "file": "VizierClient/CompleteTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_CompleteTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CompleteTrial Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_CreateStudy_sync", - "title": "aiplatform CreateStudy Sample", - "description": "CreateStudy creates a Study. A resource name will be generated after creation of the\nStudy.", - "file": "VizierClient/CreateStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.CreateStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.CreateStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CreateStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Study", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "CreateStudy", - "fullName": "google.cloud.aiplatform.v1.VizierService.CreateStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "CreateStudy" }, + "description": "CreateStudy creates a Study. A resource name will be generated after creation of the\nStudy.", + "file": "VizierClient/CreateStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_CreateStudy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateStudy Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_CreateTrial_sync", - "title": "aiplatform CreateTrial Sample", - "description": "CreateTrial adds a user provided Trial to a Study.", - "file": "VizierClient/CreateTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.CreateTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.CreateTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CreateTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "CreateTrial", - "fullName": "google.cloud.aiplatform.v1.VizierService.CreateTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "CreateTrial" }, + "description": "CreateTrial adds a user provided Trial to a Study.", + "file": "VizierClient/CreateTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_CreateTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTrial Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_DeleteStudy_sync", - "title": "aiplatform DeleteStudy Sample", - "description": "DeleteStudy deletes a Study.", - "file": "VizierClient/DeleteStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.DeleteStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.DeleteStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "DeleteStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "DeleteStudy", - "fullName": "google.cloud.aiplatform.v1.VizierService.DeleteStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "DeleteStudy" }, + "description": "DeleteStudy deletes a Study.", + "file": "VizierClient/DeleteStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_DeleteStudy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteStudy Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_DeleteTrial_sync", - "title": "aiplatform DeleteTrial Sample", - "description": "DeleteTrial deletes a Trial.", - "file": "VizierClient/DeleteTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.DeleteTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.DeleteTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "DeleteTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "DeleteTrial", - "fullName": "google.cloud.aiplatform.v1.VizierService.DeleteTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "DeleteTrial" }, + "description": "DeleteTrial deletes a Trial.", + "file": "VizierClient/DeleteTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_DeleteTrial_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTrial Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_GetIamPolicy_sync", - "title": "aiplatform 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": "VizierClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VizierClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VizierClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VizierClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_GetStudy_sync", - "title": "aiplatform GetStudy Sample", - "description": "GetStudy gets a Study by name.", - "file": "VizierClient/GetStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.GetStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.GetStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "GetStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Study", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "GetStudy", - "fullName": "google.cloud.aiplatform.v1.VizierService.GetStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "GetStudy" }, + "description": "GetStudy gets a Study by name.", + "file": "VizierClient/GetStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_GetStudy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetStudy Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_GetTrial_sync", - "title": "aiplatform GetTrial Sample", - "description": "GetTrial gets a Trial.", - "file": "VizierClient/GetTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.GetTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.GetTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "GetTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "GetTrial", - "fullName": "google.cloud.aiplatform.v1.VizierService.GetTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "GetTrial" }, + "description": "GetTrial gets a Trial.", + "file": "VizierClient/GetTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_GetTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTrial Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "VizierClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "VizierClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VizierClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VizierClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_ListOptimalTrials_sync", - "title": "aiplatform ListOptimalTrials Sample", - "description": "ListOptimalTrials lists the pareto-optimal Trials for multi-objective Study or the\noptimal Trials for single-objective Study. The definition of\npareto-optimal can be checked in wiki page.\nhttps: //en.wikipedia.org/wiki/Pareto_efficiency", - "file": "VizierClient/ListOptimalTrials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOptimalTrials", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.ListOptimalTrials", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.ListOptimalTrials", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "ListOptimalTrials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListOptimalTrialsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListOptimalTrialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ListOptimalTrialsResponse", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "ListOptimalTrials", - "fullName": "google.cloud.aiplatform.v1.VizierService.ListOptimalTrials", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "ListOptimalTrials" }, + "description": "ListOptimalTrials lists the pareto-optimal Trials for multi-objective Study or the\noptimal Trials for single-objective Study. The definition of\npareto-optimal can be checked in wiki page.\nhttps: //en.wikipedia.org/wiki/Pareto_efficiency", + "file": "VizierClient/ListOptimalTrials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_ListOptimalTrials_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOptimalTrials Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_ListStudies_sync", - "title": "aiplatform ListStudies Sample", - "description": "ListStudies lists all the studies in a region for an associated project.", - "file": "VizierClient/ListStudies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStudies", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.ListStudies", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.ListStudies", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "ListStudies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListStudiesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListStudiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StudyIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "ListStudies", - "fullName": "google.cloud.aiplatform.v1.VizierService.ListStudies", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "ListStudies" }, + "description": "ListStudies lists all the studies in a region for an associated project.", + "file": "VizierClient/ListStudies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_ListStudies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListStudies Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_ListTrials_sync", - "title": "aiplatform ListTrials Sample", - "description": "ListTrials lists the Trials associated with a Study.", - "file": "VizierClient/ListTrials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTrials", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.ListTrials", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.ListTrials", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "ListTrials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTrialsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTrialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrialIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "ListTrials", - "fullName": "google.cloud.aiplatform.v1.VizierService.ListTrials", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "ListTrials" }, + "description": "ListTrials lists the Trials associated with a Study.", + "file": "VizierClient/ListTrials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_ListTrials_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTrials Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_LookupStudy_sync", - "title": "aiplatform LookupStudy Sample", - "description": "LookupStudy looks a study up using the user-defined display_name field instead of the\nfully qualified resource name.", - "file": "VizierClient/LookupStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.LookupStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.LookupStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "LookupStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.LookupStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.LookupStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Study", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "LookupStudy", - "fullName": "google.cloud.aiplatform.v1.VizierService.LookupStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "LookupStudy" }, + "description": "LookupStudy looks a study up using the user-defined display_name field instead of the\nfully qualified resource name.", + "file": "VizierClient/LookupStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_LookupStudy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform LookupStudy Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_SetIamPolicy_sync", - "title": "aiplatform 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": "VizierClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VizierClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_StopTrial_sync", - "title": "aiplatform StopTrial Sample", - "description": "StopTrial stops a Trial.", - "file": "VizierClient/StopTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.StopTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.StopTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "StopTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.StopTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.StopTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "StopTrial", - "fullName": "google.cloud.aiplatform.v1.VizierService.StopTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "StopTrial" }, + "description": "StopTrial stops a Trial.", + "file": "VizierClient/StopTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_StopTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StopTrial Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_SuggestTrials_sync", - "title": "aiplatform SuggestTrials Sample", - "description": "SuggestTrials adds one or more Trials to a Study, with parameter values\nsuggested by Vertex AI Vizier. Returns a long-running\noperation associated with the generation of Trial suggestions.\nWhen this long-running operation succeeds, it will contain\na\n[SuggestTrialsResponse][google.cloud.aiplatform.v1.SuggestTrialsResponse].", - "file": "VizierClient/SuggestTrials/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestTrials", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.SuggestTrials", + "method": { + "fullName": "google.cloud.aiplatform.v1.VizierService.SuggestTrials", + "service": { + "fullName": "google.cloud.aiplatform.v1.VizierService", + "shortName": "VizierService" + }, + "shortName": "SuggestTrials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SuggestTrialsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SuggestTrialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SuggestTrialsOperation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "SuggestTrials", - "fullName": "google.cloud.aiplatform.v1.VizierService.SuggestTrials", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1.VizierService" - } - } + "shortName": "SuggestTrials" }, + "description": "SuggestTrials adds one or more Trials to a Study, with parameter values\nsuggested by Vertex AI Vizier. Returns a long-running\noperation associated with the generation of Trial suggestions.\nWhen this long-running operation succeeds, it will contain\na\n[SuggestTrialsResponse][google.cloud.aiplatform.v1.SuggestTrialsResponse].", + "file": "VizierClient/SuggestTrials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_SuggestTrials_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SuggestTrials Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_TestIamPermissions_sync", - "title": "aiplatform 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": "VizierClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VizierClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1_generated_VizierService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1.VizierClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1.VizierClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1_generated_VizierService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json index a65e62cdabc0..5bc3bfacb154 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json +++ b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json @@ -1,35962 +1,35962 @@ { "clientLibrary": { - "name": "cloud.google.com/go/aiplatform/apiv1beta1", - "version": "1.121.0", - "language": "GO", "apis": [ { "id": "google.cloud.aiplatform.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/aiplatform/apiv1beta1", + "version": "1.121.0" }, "snippets": [ { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_AssembleData_sync", - "title": "aiplatform AssembleData Sample", - "description": "AssembleData assembles each row of a multimodal dataset and writes the result into a\nBigQuery table.", - "file": "DatasetClient/AssembleData/main.go", - "language": "GO", "clientMethod": { - "shortName": "AssembleData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.AssembleData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.AssembleData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "AssembleData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AssembleDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AssembleDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssembleDataOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "AssembleData", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.AssembleData", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "AssembleData" }, + "description": "AssembleData assembles each row of a multimodal dataset and writes the result into a\nBigQuery table.", + "file": "DatasetClient/AssembleData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_AssembleData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AssembleData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_AssessData_sync", - "title": "aiplatform AssessData Sample", - "description": "AssessData assesses the state or validity of the dataset with respect to a given use\ncase.", - "file": "DatasetClient/AssessData/main.go", - "language": "GO", "clientMethod": { - "shortName": "AssessData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.AssessData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.AssessData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "AssessData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AssessDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AssessDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssessDataOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "AssessData", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.AssessData", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "AssessData" }, + "description": "AssessData assesses the state or validity of the dataset with respect to a given use\ncase.", + "file": "DatasetClient/AssessData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_AssessData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AssessData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_CreateDataset_sync", - "title": "aiplatform CreateDataset Sample", - "description": "CreateDataset creates a Dataset.", - "file": "DatasetClient/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.CreateDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates a Dataset.", + "file": "DatasetClient/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_CreateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDataset Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_CreateDatasetVersion_sync", - "title": "aiplatform CreateDatasetVersion Sample", - "description": "CreateDatasetVersion create a version from a Dataset.", - "file": "DatasetClient/CreateDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.CreateDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "CreateDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetVersionOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "CreateDatasetVersion", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "CreateDatasetVersion" }, + "description": "CreateDatasetVersion create a version from a Dataset.", + "file": "DatasetClient/CreateDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_CreateDatasetVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteDataset_sync", - "title": "aiplatform DeleteDataset Sample", - "description": "DeleteDataset deletes a Dataset.", - "file": "DatasetClient/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.DeleteDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a Dataset.", + "file": "DatasetClient/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDataset Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteDatasetVersion_sync", - "title": "aiplatform DeleteDatasetVersion Sample", - "description": "DeleteDatasetVersion deletes a Dataset version.", - "file": "DatasetClient/DeleteDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.DeleteDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetVersionOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "DeleteDatasetVersion", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "DeleteDatasetVersion" }, + "description": "DeleteDatasetVersion deletes a Dataset version.", + "file": "DatasetClient/DeleteDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteDatasetVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteSavedQuery_sync", - "title": "aiplatform DeleteSavedQuery Sample", - "description": "DeleteSavedQuery deletes a SavedQuery.", - "file": "DatasetClient/DeleteSavedQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSavedQuery", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.DeleteSavedQuery", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteSavedQuery", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteSavedQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteSavedQueryRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteSavedQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSavedQueryOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "DeleteSavedQuery", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteSavedQuery", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "DeleteSavedQuery" }, + "description": "DeleteSavedQuery deletes a SavedQuery.", + "file": "DatasetClient/DeleteSavedQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_DeleteSavedQuery_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSavedQuery Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ExportData_sync", - "title": "aiplatform ExportData Sample", - "description": "ExportData exports data from a Dataset.", - "file": "DatasetClient/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ExportData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ExportData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ExportData", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports data from a Dataset.", + "file": "DatasetClient/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ExportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetAnnotationSpec_sync", - "title": "aiplatform GetAnnotationSpec Sample", - "description": "GetAnnotationSpec gets an AnnotationSpec.", - "file": "DatasetClient/GetAnnotationSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotationSpec", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetAnnotationSpec", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpec", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetAnnotationSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetAnnotationSpecRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetAnnotationSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AnnotationSpec", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "GetAnnotationSpec", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpec", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "GetAnnotationSpec" }, + "description": "GetAnnotationSpec gets an AnnotationSpec.", + "file": "DatasetClient/GetAnnotationSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetAnnotationSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetAnnotationSpec Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetDataset_sync", - "title": "aiplatform GetDataset Sample", - "description": "GetDataset gets a Dataset.", - "file": "DatasetClient/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets a Dataset.", + "file": "DatasetClient/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDataset Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetDatasetVersion_sync", - "title": "aiplatform GetDatasetVersion Sample", - "description": "GetDatasetVersion gets a Dataset version.", - "file": "DatasetClient/GetDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DatasetVersion", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "GetDatasetVersion", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "GetDatasetVersion" }, + "description": "GetDatasetVersion gets a Dataset version.", + "file": "DatasetClient/GetDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetDatasetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetIamPolicy_sync", - "title": "aiplatform 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": "DatasetClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DatasetClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DatasetClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DatasetClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ImportData_sync", - "title": "aiplatform ImportData Sample", - "description": "ImportData imports data into a Dataset.", - "file": "DatasetClient/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ImportData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ImportData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ImportData", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ImportData" }, + "description": "ImportData imports data into a Dataset.", + "file": "DatasetClient/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ImportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListAnnotations_sync", - "title": "aiplatform ListAnnotations Sample", - "description": "ListAnnotations lists Annotations belongs to a dataitem.", - "file": "DatasetClient/ListAnnotations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnnotations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListAnnotations", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListAnnotations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListAnnotationsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListAnnotationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotationIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListAnnotations", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ListAnnotations" }, + "description": "ListAnnotations lists Annotations belongs to a dataitem.", + "file": "DatasetClient/ListAnnotations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListAnnotations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListAnnotations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListDataItems_sync", - "title": "aiplatform ListDataItems Sample", - "description": "ListDataItems lists DataItems in a Dataset.", - "file": "DatasetClient/ListDataItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataItems", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListDataItems", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDataItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDataItemsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDataItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataItemIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListDataItems", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ListDataItems" }, + "description": "ListDataItems lists DataItems in a Dataset.", + "file": "DatasetClient/ListDataItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListDataItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDataItems Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListDatasetVersions_sync", - "title": "aiplatform ListDatasetVersions Sample", - "description": "ListDatasetVersions lists DatasetVersions in a Dataset.", - "file": "DatasetClient/ListDatasetVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasetVersions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListDatasetVersions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetVersions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDatasetVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDatasetVersionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDatasetVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetVersionIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListDatasetVersions", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetVersions", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ListDatasetVersions" }, + "description": "ListDatasetVersions lists DatasetVersions in a Dataset.", + "file": "DatasetClient/ListDatasetVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListDatasetVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDatasetVersions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListDatasets_sync", - "title": "aiplatform ListDatasets Sample", - "description": "ListDatasets lists Datasets in a Location.", - "file": "DatasetClient/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListDatasets", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists Datasets in a Location.", + "file": "DatasetClient/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDatasets Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DatasetClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DatasetClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListSavedQueries_sync", - "title": "aiplatform ListSavedQueries Sample", - "description": "ListSavedQueries lists SavedQueries in a Dataset.", - "file": "DatasetClient/ListSavedQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSavedQueries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListSavedQueries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListSavedQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSavedQueriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSavedQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SavedQueryIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "ListSavedQueries", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "ListSavedQueries" }, + "description": "ListSavedQueries lists SavedQueries in a Dataset.", + "file": "DatasetClient/ListSavedQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_ListSavedQueries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSavedQueries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_RestoreDatasetVersion_sync", - "title": "aiplatform RestoreDatasetVersion Sample", - "description": "RestoreDatasetVersion restores a dataset version.", - "file": "DatasetClient/RestoreDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.RestoreDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "RestoreDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RestoreDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RestoreDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreDatasetVersionOperation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "RestoreDatasetVersion", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "RestoreDatasetVersion" }, + "description": "RestoreDatasetVersion restores a dataset version.", + "file": "DatasetClient/RestoreDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_RestoreDatasetVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RestoreDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_SearchDataItems_sync", - "title": "aiplatform SearchDataItems Sample", - "description": "SearchDataItems searches DataItems in a Dataset.", - "file": "DatasetClient/SearchDataItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchDataItems", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.SearchDataItems", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.SearchDataItems", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "SearchDataItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchDataItemsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchDataItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataItemViewIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "SearchDataItems", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.SearchDataItems", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "SearchDataItems" }, + "description": "SearchDataItems searches DataItems in a Dataset.", + "file": "DatasetClient/SearchDataItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_SearchDataItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchDataItems Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_SetIamPolicy_sync", - "title": "aiplatform 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": "DatasetClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DatasetClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_TestIamPermissions_sync", - "title": "aiplatform 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": "DatasetClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DatasetClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_UpdateDataset_sync", - "title": "aiplatform UpdateDataset Sample", - "description": "UpdateDataset updates a Dataset.", - "file": "DatasetClient/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.UpdateDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.UpdateDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.UpdateDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates a Dataset.", + "file": "DatasetClient/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateDataset Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_UpdateDatasetVersion_sync", - "title": "aiplatform UpdateDatasetVersion Sample", - "description": "UpdateDatasetVersion updates a DatasetVersion.", - "file": "DatasetClient/UpdateDatasetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatasetVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.UpdateDatasetVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.UpdateDatasetVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "UpdateDatasetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateDatasetVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateDatasetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DatasetVersion", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "UpdateDatasetVersion", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.UpdateDatasetVersion", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetService" - } - } + "shortName": "UpdateDatasetVersion" }, + "description": "UpdateDatasetVersion updates a DatasetVersion.", + "file": "DatasetClient/UpdateDatasetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_UpdateDatasetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateDatasetVersion Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DatasetService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "DatasetClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.aiplatform.v1beta1.DatasetClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "DatasetClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DatasetService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/CancelOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_CancelOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_CreateDeploymentResourcePool_sync", - "title": "aiplatform CreateDeploymentResourcePool Sample", - "description": "CreateDeploymentResourcePool create a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/CreateDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.CreateDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.CreateDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "CreateDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDeploymentResourcePoolOperation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "CreateDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.CreateDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService" - } - } + "shortName": "CreateDeploymentResourcePool" }, + "description": "CreateDeploymentResourcePool create a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/CreateDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_CreateDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_DeleteDeploymentResourcePool_sync", - "title": "aiplatform DeleteDeploymentResourcePool Sample", - "description": "DeleteDeploymentResourcePool delete a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/DeleteDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.DeleteDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.DeleteDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "DeleteDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDeploymentResourcePoolOperation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "DeleteDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.DeleteDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService" - } - } + "shortName": "DeleteDeploymentResourcePool" }, + "description": "DeleteDeploymentResourcePool delete a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/DeleteDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_DeleteDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetDeploymentResourcePool_sync", - "title": "aiplatform GetDeploymentResourcePool Sample", - "description": "GetDeploymentResourcePool get a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/GetDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "GetDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DeploymentResourcePool", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService" - } - } + "shortName": "GetDeploymentResourcePool" }, + "description": "GetDeploymentResourcePool get a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/GetDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetIamPolicy_sync", - "title": "aiplatform 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": "DeploymentResourcePoolClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DeploymentResourcePoolClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DeploymentResourcePoolClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DeploymentResourcePoolClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_ListDeploymentResourcePools_sync", - "title": "aiplatform ListDeploymentResourcePools Sample", - "description": "ListDeploymentResourcePools list DeploymentResourcePools in a location.", - "file": "DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeploymentResourcePools", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.ListDeploymentResourcePools", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.ListDeploymentResourcePools", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "ListDeploymentResourcePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDeploymentResourcePoolsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDeploymentResourcePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentResourcePoolIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "ListDeploymentResourcePools", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.ListDeploymentResourcePools", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService" - } - } + "shortName": "ListDeploymentResourcePools" }, + "description": "ListDeploymentResourcePools list DeploymentResourcePools in a location.", + "file": "DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_ListDeploymentResourcePools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDeploymentResourcePools Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DeploymentResourcePoolClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DeploymentResourcePoolClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_QueryDeployedModels_sync", - "title": "aiplatform QueryDeployedModels Sample", - "description": "QueryDeployedModels list DeployedModels that have been deployed on this DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/QueryDeployedModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDeployedModels", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.QueryDeployedModels", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.QueryDeployedModels", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "QueryDeployedModels" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryDeployedModelsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryDeployedModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployedModelIterator", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "QueryDeployedModels", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.QueryDeployedModels", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService" - } - } + "shortName": "QueryDeployedModels" }, + "description": "QueryDeployedModels list DeployedModels that have been deployed on this DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/QueryDeployedModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_QueryDeployedModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryDeployedModels Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_SetIamPolicy_sync", - "title": "aiplatform 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": "DeploymentResourcePoolClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DeploymentResourcePoolClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_TestIamPermissions_sync", - "title": "aiplatform 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": "DeploymentResourcePoolClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DeploymentResourcePoolClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_UpdateDeploymentResourcePool_sync", - "title": "aiplatform UpdateDeploymentResourcePool Sample", - "description": "UpdateDeploymentResourcePool update a DeploymentResourcePool.", - "file": "DeploymentResourcePoolClient/UpdateDeploymentResourcePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeploymentResourcePool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.UpdateDeploymentResourcePool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.UpdateDeploymentResourcePool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", + "shortName": "DeploymentResourcePoolService" + }, + "shortName": "UpdateDeploymentResourcePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateDeploymentResourcePoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateDeploymentResourcePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDeploymentResourcePoolOperation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "UpdateDeploymentResourcePool", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.UpdateDeploymentResourcePool", - "service": { - "shortName": "DeploymentResourcePoolService", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService" - } - } + "shortName": "UpdateDeploymentResourcePool" }, + "description": "UpdateDeploymentResourcePool update a DeploymentResourcePool.", + "file": "DeploymentResourcePoolClient/UpdateDeploymentResourcePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_UpdateDeploymentResourcePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateDeploymentResourcePool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentResourcePoolClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient", + "shortName": "DeploymentResourcePoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentResourcePoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentResourcePoolClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_DeploymentResourcePoolService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_CreateEndpoint_sync", - "title": "aiplatform CreateEndpoint Sample", - "description": "CreateEndpoint creates an Endpoint.", - "file": "EndpointClient/CreateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.CreateEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "CreateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEndpointOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "CreateEndpoint" }, + "description": "CreateEndpoint creates an Endpoint.", + "file": "EndpointClient/CreateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_CreateEndpoint_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_DeleteEndpoint_sync", - "title": "aiplatform DeleteEndpoint Sample", - "description": "DeleteEndpoint deletes an Endpoint.", - "file": "EndpointClient/DeleteEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.DeleteEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeleteEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "DeleteEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEndpointOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeleteEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "DeleteEndpoint" }, + "description": "DeleteEndpoint deletes an Endpoint.", + "file": "EndpointClient/DeleteEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_DeleteEndpoint_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_DeployModel_sync", - "title": "aiplatform DeployModel Sample", - "description": "DeployModel deploys a Model into this Endpoint, creating a DeployedModel within it.", - "file": "EndpointClient/DeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.DeployModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeployModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "DeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployModelOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "DeployModel", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeployModel", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "DeployModel" }, + "description": "DeployModel deploys a Model into this Endpoint, creating a DeployedModel within it.", + "file": "EndpointClient/DeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_DeployModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeployModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_FetchPublisherModelConfig_sync", - "title": "aiplatform FetchPublisherModelConfig Sample", - "description": "FetchPublisherModelConfig fetches the configs of publisher models.", - "file": "EndpointClient/FetchPublisherModelConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchPublisherModelConfig", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.FetchPublisherModelConfig", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.FetchPublisherModelConfig", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "FetchPublisherModelConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.FetchPublisherModelConfigRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.FetchPublisherModelConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PublisherModelConfig", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "FetchPublisherModelConfig", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.FetchPublisherModelConfig", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "FetchPublisherModelConfig" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "FetchPublisherModelConfig fetches the configs of publisher models.", + "file": "EndpointClient/FetchPublisherModelConfig/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_FetchPublisherModelConfig_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FetchPublisherModelConfig Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetEndpoint_sync", - "title": "aiplatform GetEndpoint Sample", - "description": "GetEndpoint gets an Endpoint.", - "file": "EndpointClient/GetEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.GetEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "GetEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Endpoint", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "GetEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.GetEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "GetEndpoint" }, + "description": "GetEndpoint gets an Endpoint.", + "file": "EndpointClient/GetEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetIamPolicy_sync", - "title": "aiplatform 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": "EndpointClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "EndpointClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EndpointClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EndpointClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_ListEndpoints_sync", - "title": "aiplatform ListEndpoints Sample", - "description": "ListEndpoints lists Endpoints in a Location.", - "file": "EndpointClient/ListEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEndpoints", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.ListEndpoints", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "ListEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListEndpointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EndpointIterator", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "ListEndpoints", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "ListEndpoints" }, + "description": "ListEndpoints lists Endpoints in a Location.", + "file": "EndpointClient/ListEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_ListEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListEndpoints Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "EndpointClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "EndpointClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_MutateDeployedModel_sync", - "title": "aiplatform MutateDeployedModel Sample", - "description": "MutateDeployedModel updates an existing deployed model. Updatable fields include\n`min_replica_count`, `max_replica_count`, `required_replica_count`,\n`autoscaling_metric_specs`, `disable_container_logging` (v1 only), and\n`enable_container_logging` (v1beta1 only).", - "file": "EndpointClient/MutateDeployedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "MutateDeployedModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.MutateDeployedModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "MutateDeployedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.MutateDeployedModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.MutateDeployedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MutateDeployedModelOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "MutateDeployedModel", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModel", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "MutateDeployedModel" }, + "description": "MutateDeployedModel updates an existing deployed model. Updatable fields include\n`min_replica_count`, `max_replica_count`, `required_replica_count`,\n`autoscaling_metric_specs`, `disable_container_logging` (v1 only), and\n`enable_container_logging` (v1beta1 only).", + "file": "EndpointClient/MutateDeployedModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_MutateDeployedModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform MutateDeployedModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_SetIamPolicy_sync", - "title": "aiplatform 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": "EndpointClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "EndpointClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_SetPublisherModelConfig_sync", - "title": "aiplatform SetPublisherModelConfig Sample", - "description": "SetPublisherModelConfig sets (creates or updates) configs of publisher models. For example, sets\nthe request/response logging config.", - "file": "EndpointClient/SetPublisherModelConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetPublisherModelConfig", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.SetPublisherModelConfig", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.SetPublisherModelConfig", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "SetPublisherModelConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SetPublisherModelConfigRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SetPublisherModelConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetPublisherModelConfigOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "SetPublisherModelConfig", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.SetPublisherModelConfig", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "SetPublisherModelConfig" }, + "description": "SetPublisherModelConfig sets (creates or updates) configs of publisher models. For example, sets\nthe request/response logging config.", + "file": "EndpointClient/SetPublisherModelConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_SetPublisherModelConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetPublisherModelConfig Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_TestIamPermissions_sync", - "title": "aiplatform 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": "EndpointClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "EndpointClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_UndeployModel_sync", - "title": "aiplatform UndeployModel Sample", - "description": "UndeployModel undeploys a Model from an Endpoint, removing a DeployedModel from it, and\nfreeing all resources it's using.", - "file": "EndpointClient/UndeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.UndeployModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "UndeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UndeployModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UndeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployModelOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "UndeployModel", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "UndeployModel" }, + "description": "UndeployModel undeploys a Model from an Endpoint, removing a DeployedModel from it, and\nfreeing all resources it's using.", + "file": "EndpointClient/UndeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_UndeployModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UndeployModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_UpdateEndpoint_sync", - "title": "aiplatform UpdateEndpoint Sample", - "description": "UpdateEndpoint updates an Endpoint.", - "file": "EndpointClient/UpdateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.UpdateEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "UpdateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Endpoint", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "UpdateEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "UpdateEndpoint" }, + "description": "UpdateEndpoint updates an Endpoint.", + "file": "EndpointClient/UpdateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_UpdateEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_UpdateEndpointLongRunning_sync", - "title": "aiplatform UpdateEndpointLongRunning Sample", - "description": "UpdateEndpointLongRunning updates an Endpoint with a long running operation.", - "file": "EndpointClient/UpdateEndpointLongRunning/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpointLongRunning", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.UpdateEndpointLongRunning", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpointLongRunning", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "shortName": "EndpointService" + }, + "shortName": "UpdateEndpointLongRunning" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateEndpointLongRunningRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateEndpointLongRunningRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEndpointLongRunningOperation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "UpdateEndpointLongRunning", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpointLongRunning", - "service": { - "shortName": "EndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointService" - } - } + "shortName": "UpdateEndpointLongRunning" }, + "description": "UpdateEndpointLongRunning updates an Endpoint with a long running operation.", + "file": "EndpointClient/UpdateEndpointLongRunning/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_UpdateEndpointLongRunning_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateEndpointLongRunning Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EndpointService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "EndpointClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient", + "shortName": "EndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.EndpointClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "EndpointClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EndpointService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_EvaluateDataset_sync", - "title": "aiplatform EvaluateDataset Sample", - "description": "EvaluateDataset evaluates a dataset based on a set of given metrics.", - "file": "EvaluationClient/EvaluateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvaluateDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.EvaluateDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService.EvaluateDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "EvaluateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.EvaluateDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.EvaluateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluateDatasetOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "EvaluateDataset", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService.EvaluateDataset", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService" - } - } + "shortName": "EvaluateDataset" }, + "description": "EvaluateDataset evaluates a dataset based on a set of given metrics.", + "file": "EvaluationClient/EvaluateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_EvaluateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform EvaluateDataset Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_EvaluateInstances_sync", - "title": "aiplatform EvaluateInstances Sample", - "description": "EvaluateInstances evaluates instances based on a given metric.", - "file": "EvaluationClient/EvaluateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvaluateInstances", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.EvaluateInstances", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService.EvaluateInstances", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "EvaluateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.EvaluateInstancesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.EvaluateInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EvaluateInstancesResponse", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "EvaluateInstances", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService.EvaluateInstances", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationService" - } - } + "shortName": "EvaluateInstances" }, + "description": "EvaluateInstances evaluates instances based on a given metric.", + "file": "EvaluationClient/EvaluateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_EvaluateInstances_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform EvaluateInstances Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_GetIamPolicy_sync", - "title": "aiplatform 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": "EvaluationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "EvaluationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EvaluationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetLocation gets information about a location.", + "file": "EvaluationClient/GetLocation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_GetLocation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "EvaluationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "EvaluationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_SetIamPolicy_sync", - "title": "aiplatform 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": "EvaluationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "EvaluationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_TestIamPermissions_sync", - "title": "aiplatform 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": "EvaluationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "EvaluationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_EvaluationService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.aiplatform.v1beta1.EvaluationClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_EvaluationService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExampleStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExampleStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_CreateExampleStore_sync", - "title": "aiplatform CreateExampleStore Sample", - "description": "CreateExampleStore create an ExampleStore.", - "file": "ExampleStoreClient/CreateExampleStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExampleStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.CreateExampleStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.CreateExampleStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "CreateExampleStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateExampleStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateExampleStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateExampleStoreOperation", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "CreateExampleStore", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.CreateExampleStore", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "CreateExampleStore" }, + "description": "CreateExampleStore create an ExampleStore.", + "file": "ExampleStoreClient/CreateExampleStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_CreateExampleStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateExampleStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_DeleteExampleStore_sync", - "title": "aiplatform DeleteExampleStore Sample", - "description": "DeleteExampleStore delete an ExampleStore.", - "file": "ExampleStoreClient/DeleteExampleStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExampleStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.DeleteExampleStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.DeleteExampleStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "DeleteExampleStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteExampleStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteExampleStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExampleStoreOperation", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "DeleteExampleStore", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.DeleteExampleStore", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "DeleteExampleStore" }, + "description": "DeleteExampleStore delete an ExampleStore.", + "file": "ExampleStoreClient/DeleteExampleStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_DeleteExampleStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteExampleStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ExampleStoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ExampleStoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_FetchExamples_sync", - "title": "aiplatform FetchExamples Sample", - "description": "FetchExamples get Examples from the Example Store.", - "file": "ExampleStoreClient/FetchExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchExamples", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.FetchExamples", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.FetchExamples", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "FetchExamples" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.FetchExamplesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.FetchExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "FetchExamples", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.FetchExamples", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "FetchExamples" }, + "description": "FetchExamples get Examples from the Example Store.", + "file": "ExampleStoreClient/FetchExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_FetchExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FetchExamples Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetExampleStore_sync", - "title": "aiplatform GetExampleStore Sample", - "description": "GetExampleStore get an ExampleStore.", - "file": "ExampleStoreClient/GetExampleStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExampleStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.GetExampleStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.GetExampleStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "GetExampleStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetExampleStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetExampleStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ExampleStore", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "GetExampleStore", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.GetExampleStore", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "GetExampleStore" }, + "description": "GetExampleStore get an ExampleStore.", + "file": "ExampleStoreClient/GetExampleStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetExampleStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetExampleStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetIamPolicy_sync", - "title": "aiplatform 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": "ExampleStoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ExampleStoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExampleStoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExampleStoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExampleStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExampleStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_ListExampleStores_sync", - "title": "aiplatform ListExampleStores Sample", - "description": "ListExampleStores list ExampleStores in a Location.", - "file": "ExampleStoreClient/ListExampleStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExampleStores", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.ListExampleStores", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.ListExampleStores", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "ListExampleStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListExampleStoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListExampleStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleStoreIterator", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "ListExampleStores", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.ListExampleStores", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "ListExampleStores" }, + "description": "ListExampleStores list ExampleStores in a Location.", + "file": "ExampleStoreClient/ListExampleStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_ListExampleStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListExampleStores Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ExampleStoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ExampleStoreClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExampleStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExampleStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_RemoveExamples_sync", - "title": "aiplatform RemoveExamples Sample", - "description": "RemoveExamples remove Examples from the Example Store.", - "file": "ExampleStoreClient/RemoveExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveExamples", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.RemoveExamples", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.RemoveExamples", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "RemoveExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RemoveExamplesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RemoveExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RemoveExamplesResponse", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "RemoveExamples", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.RemoveExamples", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "RemoveExamples" }, + "description": "RemoveExamples remove Examples from the Example Store.", + "file": "ExampleStoreClient/RemoveExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_RemoveExamples_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RemoveExamples Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_SearchExamples_sync", - "title": "aiplatform SearchExamples Sample", - "description": "SearchExamples search for similar Examples for given selection criteria.", - "file": "ExampleStoreClient/SearchExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchExamples", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.SearchExamples", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.SearchExamples", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "SearchExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchExamplesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SearchExamplesResponse", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "SearchExamples", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.SearchExamples", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "SearchExamples" }, + "description": "SearchExamples search for similar Examples for given selection criteria.", + "file": "ExampleStoreClient/SearchExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_SearchExamples_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchExamples Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_SetIamPolicy_sync", - "title": "aiplatform 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": "ExampleStoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "ExampleStoreClient/SetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_SetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_TestIamPermissions_sync", - "title": "aiplatform 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": "ExampleStoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ExampleStoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_UpdateExampleStore_sync", - "title": "aiplatform UpdateExampleStore Sample", - "description": "UpdateExampleStore update an ExampleStore.", - "file": "ExampleStoreClient/UpdateExampleStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExampleStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.UpdateExampleStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.UpdateExampleStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "UpdateExampleStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateExampleStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateExampleStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateExampleStoreOperation", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "UpdateExampleStore", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.UpdateExampleStore", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "UpdateExampleStore" }, + "description": "UpdateExampleStore update an ExampleStore.", + "file": "ExampleStoreClient/UpdateExampleStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_UpdateExampleStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateExampleStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_UpsertExamples_sync", - "title": "aiplatform UpsertExamples Sample", - "description": "UpsertExamples create or update Examples in the Example Store.", - "file": "ExampleStoreClient/UpsertExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpsertExamples", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.UpsertExamples", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.UpsertExamples", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService", + "shortName": "ExampleStoreService" + }, + "shortName": "UpsertExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpsertExamplesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpsertExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.UpsertExamplesResponse", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "UpsertExamples", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService.UpsertExamples", - "service": { - "shortName": "ExampleStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreService" - } - } + "shortName": "UpsertExamples" }, + "description": "UpsertExamples create or update Examples in the Example Store.", + "file": "ExampleStoreClient/UpsertExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_UpsertExamples_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpsertExamples Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ExampleStoreClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient", + "shortName": "ExampleStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExampleStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExampleStoreClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ExampleStoreClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExampleStoreService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionExecutionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionExecutionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionExecutionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionExecutionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_ExecuteExtension_sync", - "title": "aiplatform ExecuteExtension Sample", - "description": "ExecuteExtension executes the request against a given extension.", - "file": "ExtensionExecutionClient/ExecuteExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteExtension", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.ExecuteExtension", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService.ExecuteExtension", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService", + "shortName": "ExtensionExecutionService" + }, + "shortName": "ExecuteExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExecuteExtensionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExecuteExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ExecuteExtensionResponse", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "ExecuteExtension", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService.ExecuteExtension", - "service": { - "shortName": "ExtensionExecutionService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService" - } - } + "shortName": "ExecuteExtension" }, + "description": "ExecuteExtension executes the request against a given extension.", + "file": "ExtensionExecutionClient/ExecuteExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_ExecuteExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExecuteExtension Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_GetIamPolicy_sync", - "title": "aiplatform 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": "ExtensionExecutionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ExtensionExecutionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExtensionExecutionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExtensionExecutionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionExecutionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionExecutionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ExtensionExecutionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.ListLocations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ExtensionExecutionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExtensionExecutionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExtensionExecutionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_QueryExtension_sync", - "title": "aiplatform QueryExtension Sample", - "description": "QueryExtension queries an extension with a default controller.", - "file": "ExtensionExecutionClient/QueryExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryExtension", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.QueryExtension", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService.QueryExtension", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService", + "shortName": "ExtensionExecutionService" + }, + "shortName": "QueryExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryExtensionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.QueryExtensionResponse", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "QueryExtension", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService.QueryExtension", - "service": { - "shortName": "ExtensionExecutionService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionService" - } - } + "shortName": "QueryExtension" }, + "description": "QueryExtension queries an extension with a default controller.", + "file": "ExtensionExecutionClient/QueryExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_QueryExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryExtension Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_SetIamPolicy_sync", - "title": "aiplatform 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": "ExtensionExecutionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ExtensionExecutionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_TestIamPermissions_sync", - "title": "aiplatform 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": "ExtensionExecutionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ExtensionExecutionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionExecutionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient", + "shortName": "ExtensionExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExtensionExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionExecutionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionExecutionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionExecutionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionRegistryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionRegistryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_DeleteExtension_sync", - "title": "aiplatform DeleteExtension Sample", - "description": "DeleteExtension deletes an Extension.", - "file": "ExtensionRegistryClient/DeleteExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExtension", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.DeleteExtension", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.DeleteExtension", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService", + "shortName": "ExtensionRegistryService" + }, + "shortName": "DeleteExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteExtensionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExtensionOperation", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "DeleteExtension", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.DeleteExtension", - "service": { - "shortName": "ExtensionRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService" - } - } + "shortName": "DeleteExtension" }, + "description": "DeleteExtension deletes an Extension.", + "file": "ExtensionRegistryClient/DeleteExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_DeleteExtension_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteExtension Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionRegistryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionRegistryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetExtension_sync", - "title": "aiplatform GetExtension Sample", - "description": "GetExtension gets an Extension.", - "file": "ExtensionRegistryClient/GetExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExtension", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.GetExtension", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.GetExtension", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService", + "shortName": "ExtensionRegistryService" + }, + "shortName": "GetExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetExtensionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Extension", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "GetExtension", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.GetExtension", - "service": { - "shortName": "ExtensionRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService" - } - } + "shortName": "GetExtension" }, + "description": "GetExtension gets an Extension.", + "file": "ExtensionRegistryClient/GetExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetExtension Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetIamPolicy_sync", - "title": "aiplatform 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": "ExtensionRegistryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "ExtensionRegistryClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExtensionRegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExtensionRegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionRegistryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionRegistryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ImportExtension_sync", - "title": "aiplatform ImportExtension Sample", - "description": "ImportExtension imports an Extension.", - "file": "ExtensionRegistryClient/ImportExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportExtension", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.ImportExtension", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.ImportExtension", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService", + "shortName": "ExtensionRegistryService" + }, + "shortName": "ImportExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportExtensionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportExtensionOperation", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "ImportExtension", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.ImportExtension", - "service": { - "shortName": "ExtensionRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService" - } - } + "shortName": "ImportExtension" }, + "description": "ImportExtension imports an Extension.", + "file": "ExtensionRegistryClient/ImportExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ImportExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportExtension Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ListExtensions_sync", - "title": "aiplatform ListExtensions Sample", - "description": "ListExtensions lists Extensions in a location.", - "file": "ExtensionRegistryClient/ListExtensions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExtensions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.ListExtensions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.ListExtensions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService", + "shortName": "ExtensionRegistryService" + }, + "shortName": "ListExtensions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListExtensionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListExtensionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExtensionIterator", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "ListExtensions", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.ListExtensions", - "service": { - "shortName": "ExtensionRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService" - } - } + "shortName": "ListExtensions" }, + "description": "ListExtensions lists Extensions in a location.", + "file": "ExtensionRegistryClient/ListExtensions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ListExtensions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListExtensions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ExtensionRegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ExtensionRegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExtensionRegistryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExtensionRegistryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_SetIamPolicy_sync", - "title": "aiplatform 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": "ExtensionRegistryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ExtensionRegistryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_TestIamPermissions_sync", - "title": "aiplatform 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": "ExtensionRegistryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ExtensionRegistryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_UpdateExtension_sync", - "title": "aiplatform UpdateExtension Sample", - "description": "UpdateExtension updates an Extension.", - "file": "ExtensionRegistryClient/UpdateExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExtension", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.UpdateExtension", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.UpdateExtension", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService", + "shortName": "ExtensionRegistryService" + }, + "shortName": "UpdateExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateExtensionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Extension", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "UpdateExtension", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService.UpdateExtension", - "service": { - "shortName": "ExtensionRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryService" - } - } + "shortName": "UpdateExtension" }, + "description": "UpdateExtension updates an Extension.", + "file": "ExtensionRegistryClient/UpdateExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_UpdateExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateExtension Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ExtensionRegistryClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient", + "shortName": "ExtensionRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExtensionRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.ExtensionRegistryClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ExtensionRegistryClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ExtensionRegistryService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_CreateFeatureOnlineStore_sync", - "title": "aiplatform CreateFeatureOnlineStore Sample", - "description": "CreateFeatureOnlineStore creates a new FeatureOnlineStore in a given project and location.", - "file": "FeatureOnlineStoreAdminClient/CreateFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.CreateFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "CreateFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureOnlineStoreOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "CreateFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "CreateFeatureOnlineStore" }, + "description": "CreateFeatureOnlineStore creates a new FeatureOnlineStore in a given project and location.", + "file": "FeatureOnlineStoreAdminClient/CreateFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_CreateFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_CreateFeatureView_sync", - "title": "aiplatform CreateFeatureView Sample", - "description": "CreateFeatureView creates a new FeatureView in a given FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/CreateFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.CreateFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.CreateFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "CreateFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureViewOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "CreateFeatureView", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.CreateFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "CreateFeatureView" }, + "description": "CreateFeatureView creates a new FeatureView in a given FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/CreateFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_CreateFeatureView_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureView Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_DeleteFeatureOnlineStore_sync", - "title": "aiplatform DeleteFeatureOnlineStore Sample", - "description": "DeleteFeatureOnlineStore deletes a single FeatureOnlineStore. The FeatureOnlineStore must not\ncontain any FeatureViews.", - "file": "FeatureOnlineStoreAdminClient/DeleteFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.DeleteFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "DeleteFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureOnlineStoreOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "DeleteFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "DeleteFeatureOnlineStore" }, + "description": "DeleteFeatureOnlineStore deletes a single FeatureOnlineStore. The FeatureOnlineStore must not\ncontain any FeatureViews.", + "file": "FeatureOnlineStoreAdminClient/DeleteFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_DeleteFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_DeleteFeatureView_sync", - "title": "aiplatform DeleteFeatureView Sample", - "description": "DeleteFeatureView deletes a single FeatureView.", - "file": "FeatureOnlineStoreAdminClient/DeleteFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.DeleteFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.DeleteFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "DeleteFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureViewOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "DeleteFeatureView", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.DeleteFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "DeleteFeatureView" }, + "description": "DeleteFeatureView deletes a single FeatureView.", + "file": "FeatureOnlineStoreAdminClient/DeleteFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_DeleteFeatureView_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureView Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetFeatureOnlineStore_sync", - "title": "aiplatform GetFeatureOnlineStore Sample", - "description": "GetFeatureOnlineStore gets details of a single FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/GetFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.GetFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "GetFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureOnlineStore", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "GetFeatureOnlineStore" }, + "description": "GetFeatureOnlineStore gets details of a single FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/GetFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetFeatureView_sync", - "title": "aiplatform GetFeatureView Sample", - "description": "GetFeatureView gets details of a single FeatureView.", - "file": "FeatureOnlineStoreAdminClient/GetFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.GetFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "GetFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureView", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetFeatureView", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "GetFeatureView" }, + "description": "GetFeatureView gets details of a single FeatureView.", + "file": "FeatureOnlineStoreAdminClient/GetFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetFeatureView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureView Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetFeatureViewSync_sync", - "title": "aiplatform GetFeatureViewSync Sample", - "description": "GetFeatureViewSync gets details of a single FeatureViewSync.", - "file": "FeatureOnlineStoreAdminClient/GetFeatureViewSync/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureViewSync", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.GetFeatureViewSync", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureViewSync", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "GetFeatureViewSync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureViewSyncRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureViewSyncRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureViewSync", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetFeatureViewSync", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureViewSync", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "GetFeatureViewSync" }, + "description": "GetFeatureViewSync gets details of a single FeatureViewSync.", + "file": "FeatureOnlineStoreAdminClient/GetFeatureViewSync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetFeatureViewSync_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureViewSync Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeatureOnlineStoreAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeatureOnlineStoreAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetLocation gets information about a location.", + "file": "FeatureOnlineStoreAdminClient/GetLocation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetLocation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListFeatureOnlineStores_sync", - "title": "aiplatform ListFeatureOnlineStores Sample", - "description": "ListFeatureOnlineStores lists FeatureOnlineStores in a given project and location.", - "file": "FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureOnlineStores", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.ListFeatureOnlineStores", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "ListFeatureOnlineStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureOnlineStoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureOnlineStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureOnlineStoreIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListFeatureOnlineStores", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "ListFeatureOnlineStores" }, + "description": "ListFeatureOnlineStores lists FeatureOnlineStores in a given project and location.", + "file": "FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListFeatureOnlineStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureOnlineStores Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListFeatureViewSyncs_sync", - "title": "aiplatform ListFeatureViewSyncs Sample", - "description": "ListFeatureViewSyncs lists FeatureViewSyncs in a given FeatureView.", - "file": "FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureViewSyncs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.ListFeatureViewSyncs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "ListFeatureViewSyncs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureViewSyncsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureViewSyncsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureViewSyncIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListFeatureViewSyncs", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "ListFeatureViewSyncs" }, + "description": "ListFeatureViewSyncs lists FeatureViewSyncs in a given FeatureView.", + "file": "FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListFeatureViewSyncs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureViewSyncs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListFeatureViews_sync", - "title": "aiplatform ListFeatureViews Sample", - "description": "ListFeatureViews lists FeatureViews in a given FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/ListFeatureViews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureViews", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.ListFeatureViews", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureViews", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "ListFeatureViews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureViewsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureViewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureViewIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListFeatureViews", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureViews", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "ListFeatureViews" }, + "description": "ListFeatureViews lists FeatureViews in a given FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/ListFeatureViews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListFeatureViews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureViews Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeatureOnlineStoreAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeatureOnlineStoreAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeatureOnlineStoreAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_SyncFeatureView_sync", - "title": "aiplatform SyncFeatureView Sample", - "description": "SyncFeatureView triggers on-demand sync for the FeatureView.", - "file": "FeatureOnlineStoreAdminClient/SyncFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "SyncFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.SyncFeatureView", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.SyncFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "SyncFeatureView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SyncFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SyncFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SyncFeatureViewResponse", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "SyncFeatureView", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.SyncFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "SyncFeatureView" }, + "description": "SyncFeatureView triggers on-demand sync for the FeatureView.", + "file": "FeatureOnlineStoreAdminClient/SyncFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_SyncFeatureView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SyncFeatureView Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeatureOnlineStoreAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeatureOnlineStoreAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_UpdateFeatureOnlineStore_sync", - "title": "aiplatform UpdateFeatureOnlineStore Sample", - "description": "UpdateFeatureOnlineStore updates the parameters of a single FeatureOnlineStore.", - "file": "FeatureOnlineStoreAdminClient/UpdateFeatureOnlineStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureOnlineStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.UpdateFeatureOnlineStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "UpdateFeatureOnlineStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureOnlineStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureOnlineStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureOnlineStoreOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "UpdateFeatureOnlineStore", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "UpdateFeatureOnlineStore" }, + "description": "UpdateFeatureOnlineStore updates the parameters of a single FeatureOnlineStore.", + "file": "FeatureOnlineStoreAdminClient/UpdateFeatureOnlineStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_UpdateFeatureOnlineStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureOnlineStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_UpdateFeatureView_sync", - "title": "aiplatform UpdateFeatureView Sample", - "description": "UpdateFeatureView updates the parameters of a single FeatureView.", - "file": "FeatureOnlineStoreAdminClient/UpdateFeatureView/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureView", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.UpdateFeatureView", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.UpdateFeatureView", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "shortName": "FeatureOnlineStoreAdminService" + }, + "shortName": "UpdateFeatureView" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureViewRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureViewOperation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "UpdateFeatureView", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.UpdateFeatureView", - "service": { - "shortName": "FeatureOnlineStoreAdminService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService" - } - } + "shortName": "UpdateFeatureView" }, + "description": "UpdateFeatureView updates the parameters of a single FeatureView.", + "file": "FeatureOnlineStoreAdminClient/UpdateFeatureView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_UpdateFeatureView_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureView Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreAdminClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient", + "shortName": "FeatureOnlineStoreAdminClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreAdminClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreAdminClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreAdminService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_FeatureViewDirectWrite_sync", - "title": "aiplatform FeatureViewDirectWrite Sample", - "description": "FeatureViewDirectWrite bidirectional streaming RPC to directly write to feature values in a\nfeature view. Requests may not have a one-to-one mapping to responses and\nresponses may be returned out-of-order to reduce latency.\n\n\nThis method is not supported for the REST transport.", - "file": "FeatureOnlineStoreClient/FeatureViewDirectWrite/main.go", - "language": "GO", "clientMethod": { - "shortName": "FeatureViewDirectWrite", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.FeatureViewDirectWrite", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.FeatureViewDirectWrite", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "FeatureViewDirectWrite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.FeatureOnlineStoreService_FeatureViewDirectWriteClient", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "FeatureViewDirectWrite", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.FeatureViewDirectWrite", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService" - } - } + "shortName": "FeatureViewDirectWrite" }, + "description": "FeatureViewDirectWrite bidirectional streaming RPC to directly write to feature values in a\nfeature view. Requests may not have a one-to-one mapping to responses and\nresponses may be returned out-of-order to reduce latency.\n\n\nThis method is not supported for the REST transport.", + "file": "FeatureOnlineStoreClient/FeatureViewDirectWrite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_FeatureViewDirectWrite_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FeatureViewDirectWrite Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_FetchFeatureValues_sync", - "title": "aiplatform FetchFeatureValues Sample", - "description": "FetchFeatureValues fetch feature values under a FeatureView.", - "file": "FeatureOnlineStoreClient/FetchFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.FetchFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.FetchFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "FetchFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.FetchFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.FetchFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FetchFeatureValuesResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "FetchFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.FetchFeatureValues", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService" - } - } + "shortName": "FetchFeatureValues" }, + "description": "FetchFeatureValues fetch feature values under a FeatureView.", + "file": "FeatureOnlineStoreClient/FetchFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_FetchFeatureValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FetchFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GenerateFetchAccessToken_sync", - "title": "aiplatform GenerateFetchAccessToken Sample", - "description": "GenerateFetchAccessToken rPC to generate an access token for the given feature view. FeatureViews\nunder the same FeatureOnlineStore share the same access token.", - "file": "FeatureOnlineStoreClient/GenerateFetchAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateFetchAccessToken", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.GenerateFetchAccessToken", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.GenerateFetchAccessToken", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "GenerateFetchAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GenerateFetchAccessTokenRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GenerateFetchAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.GenerateFetchAccessTokenResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GenerateFetchAccessToken", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.GenerateFetchAccessToken", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService" - } - } + "shortName": "GenerateFetchAccessToken" }, + "description": "GenerateFetchAccessToken rPC to generate an access token for the given feature view. FeatureViews\nunder the same FeatureOnlineStore share the same access token.", + "file": "FeatureOnlineStoreClient/GenerateFetchAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GenerateFetchAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GenerateFetchAccessToken Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeatureOnlineStoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeatureOnlineStoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeatureOnlineStoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeatureOnlineStoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeatureOnlineStoreClient/ListLocations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_ListLocations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_SearchNearestEntities_sync", - "title": "aiplatform SearchNearestEntities Sample", - "description": "SearchNearestEntities search the nearest entities under a FeatureView.\nSearch only works for indexable feature view; if a feature view isn't\nindexable, returns Invalid argument response.", - "file": "FeatureOnlineStoreClient/SearchNearestEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchNearestEntities", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.SearchNearestEntities", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "SearchNearestEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchNearestEntitiesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchNearestEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SearchNearestEntitiesResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "SearchNearestEntities", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService" - } - } + "shortName": "SearchNearestEntities" }, + "description": "SearchNearestEntities search the nearest entities under a FeatureView.\nSearch only works for indexable feature view; if a feature view isn't\nindexable, returns Invalid argument response.", + "file": "FeatureOnlineStoreClient/SearchNearestEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_SearchNearestEntities_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchNearestEntities Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeatureOnlineStoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeatureOnlineStoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_StreamingFetchFeatureValues_sync", - "title": "aiplatform StreamingFetchFeatureValues Sample", - "description": "StreamingFetchFeatureValues bidirectional streaming RPC to fetch feature values under a FeatureView.\nRequests may not have a one-to-one mapping to responses and responses may\nbe returned out-of-order to reduce latency.\n\n\nThis method is not supported for the REST transport.", - "file": "FeatureOnlineStoreClient/StreamingFetchFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingFetchFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.StreamingFetchFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.StreamingFetchFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "shortName": "FeatureOnlineStoreService" + }, + "shortName": "StreamingFetchFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.FeatureOnlineStoreService_StreamingFetchFeatureValuesClient", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "StreamingFetchFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.StreamingFetchFeatureValues", - "service": { - "shortName": "FeatureOnlineStoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService" - } - } + "shortName": "StreamingFetchFeatureValues" }, + "description": "StreamingFetchFeatureValues bidirectional streaming RPC to fetch feature values under a FeatureView.\nRequests may not have a one-to-one mapping to responses and responses may\nbe returned out-of-order to reduce latency.\n\n\nThis method is not supported for the REST transport.", + "file": "FeatureOnlineStoreClient/StreamingFetchFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_StreamingFetchFeatureValues_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamingFetchFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeatureOnlineStoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeatureOnlineStoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureOnlineStoreClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient", + "shortName": "FeatureOnlineStoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureOnlineStoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureOnlineStoreClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureOnlineStoreService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_BatchCreateFeatures_sync", - "title": "aiplatform BatchCreateFeatures Sample", - "description": "BatchCreateFeatures creates a batch of Features in a given FeatureGroup.", - "file": "FeatureRegistryClient/BatchCreateFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.BatchCreateFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.BatchCreateFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "BatchCreateFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateFeaturesOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "BatchCreateFeatures", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.BatchCreateFeatures", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "BatchCreateFeatures" }, + "description": "BatchCreateFeatures creates a batch of Features in a given FeatureGroup.", + "file": "FeatureRegistryClient/BatchCreateFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_BatchCreateFeatures_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateFeatures Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeature_sync", - "title": "aiplatform CreateFeature Sample", - "description": "CreateFeature creates a new Feature in a given FeatureGroup.", - "file": "FeatureRegistryClient/CreateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.CreateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "CreateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "CreateFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "CreateFeature" }, + "description": "CreateFeature creates a new Feature in a given FeatureGroup.", + "file": "FeatureRegistryClient/CreateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeature_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeatureGroup_sync", - "title": "aiplatform CreateFeatureGroup Sample", - "description": "CreateFeatureGroup creates a new FeatureGroup in a given project and location.", - "file": "FeatureRegistryClient/CreateFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.CreateFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "CreateFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureGroupOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "CreateFeatureGroup", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "CreateFeatureGroup" }, + "description": "CreateFeatureGroup creates a new FeatureGroup in a given project and location.", + "file": "FeatureRegistryClient/CreateFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeatureGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeatureMonitor_sync", - "title": "aiplatform CreateFeatureMonitor Sample", - "description": "CreateFeatureMonitor creates a new FeatureMonitor in a given project, location and FeatureGroup.", - "file": "FeatureRegistryClient/CreateFeatureMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.CreateFeatureMonitor", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "CreateFeatureMonitor" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureMonitorOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "CreateFeatureMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureMonitor", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "CreateFeatureMonitor" }, + "description": "CreateFeatureMonitor creates a new FeatureMonitor in a given project, location and FeatureGroup.", + "file": "FeatureRegistryClient/CreateFeatureMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeatureMonitor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeatureMonitorJob_sync", - "title": "aiplatform CreateFeatureMonitorJob Sample", - "description": "CreateFeatureMonitorJob creates a new feature monitor job.", - "file": "FeatureRegistryClient/CreateFeatureMonitorJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeatureMonitorJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.CreateFeatureMonitorJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureMonitorJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "CreateFeatureMonitorJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureMonitorJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureMonitorJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureMonitorJob", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "CreateFeatureMonitorJob", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureMonitorJob", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "CreateFeatureMonitorJob" }, + "description": "CreateFeatureMonitorJob creates a new feature monitor job.", + "file": "FeatureRegistryClient/CreateFeatureMonitorJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_CreateFeatureMonitorJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeatureMonitorJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteFeature_sync", - "title": "aiplatform DeleteFeature Sample", - "description": "DeleteFeature deletes a single Feature.", - "file": "FeatureRegistryClient/DeleteFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.DeleteFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "DeleteFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "DeleteFeature" }, + "description": "DeleteFeature deletes a single Feature.", + "file": "FeatureRegistryClient/DeleteFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteFeature_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteFeatureGroup_sync", - "title": "aiplatform DeleteFeatureGroup Sample", - "description": "DeleteFeatureGroup deletes a single FeatureGroup.", - "file": "FeatureRegistryClient/DeleteFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.DeleteFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "DeleteFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureGroupOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteFeatureGroup", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "DeleteFeatureGroup" }, + "description": "DeleteFeatureGroup deletes a single FeatureGroup.", + "file": "FeatureRegistryClient/DeleteFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteFeatureGroup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteFeatureMonitor_sync", - "title": "aiplatform DeleteFeatureMonitor Sample", - "description": "DeleteFeatureMonitor deletes a single FeatureMonitor.", - "file": "FeatureRegistryClient/DeleteFeatureMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.DeleteFeatureMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeatureMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "DeleteFeatureMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureMonitorOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteFeatureMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeatureMonitor", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "DeleteFeatureMonitor" }, + "description": "DeleteFeatureMonitor deletes a single FeatureMonitor.", + "file": "FeatureRegistryClient/DeleteFeatureMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteFeatureMonitor_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeature_sync", - "title": "aiplatform GetFeature Sample", - "description": "GetFeature gets details of a single Feature.", - "file": "FeatureRegistryClient/GetFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "GetFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Feature", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "GetFeature" }, + "description": "GetFeature gets details of a single Feature.", + "file": "FeatureRegistryClient/GetFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeature_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeatureGroup_sync", - "title": "aiplatform GetFeatureGroup Sample", - "description": "GetFeatureGroup gets details of a single FeatureGroup.", - "file": "FeatureRegistryClient/GetFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "GetFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureGroup", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetFeatureGroup", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "GetFeatureGroup" }, + "description": "GetFeatureGroup gets details of a single FeatureGroup.", + "file": "FeatureRegistryClient/GetFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeatureGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeatureMonitor_sync", - "title": "aiplatform GetFeatureMonitor Sample", - "description": "GetFeatureMonitor gets details of a single FeatureMonitor.", - "file": "FeatureRegistryClient/GetFeatureMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetFeatureMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "GetFeatureMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureMonitor", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetFeatureMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureMonitor", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "GetFeatureMonitor" }, + "description": "GetFeatureMonitor gets details of a single FeatureMonitor.", + "file": "FeatureRegistryClient/GetFeatureMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeatureMonitor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeatureMonitorJob_sync", - "title": "aiplatform GetFeatureMonitorJob Sample", - "description": "GetFeatureMonitorJob get a feature monitor job.", - "file": "FeatureRegistryClient/GetFeatureMonitorJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeatureMonitorJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetFeatureMonitorJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureMonitorJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "GetFeatureMonitorJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureMonitorJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureMonitorJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FeatureMonitorJob", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetFeatureMonitorJob", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureMonitorJob", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "GetFeatureMonitorJob" }, + "description": "GetFeatureMonitorJob get a feature monitor job.", + "file": "FeatureRegistryClient/GetFeatureMonitorJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetFeatureMonitorJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeatureMonitorJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeatureRegistryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "FeatureRegistryClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeatureRegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeatureRegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatureGroups_sync", - "title": "aiplatform ListFeatureGroups Sample", - "description": "ListFeatureGroups lists FeatureGroups in a given project and location.", - "file": "FeatureRegistryClient/ListFeatureGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureGroups", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.ListFeatureGroups", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureGroups", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "ListFeatureGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureGroupsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureGroupIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListFeatureGroups", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureGroups", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "ListFeatureGroups" }, + "description": "ListFeatureGroups lists FeatureGroups in a given project and location.", + "file": "FeatureRegistryClient/ListFeatureGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatureGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureGroups Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatureMonitorJobs_sync", - "title": "aiplatform ListFeatureMonitorJobs Sample", - "description": "ListFeatureMonitorJobs list feature monitor jobs.", - "file": "FeatureRegistryClient/ListFeatureMonitorJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureMonitorJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.ListFeatureMonitorJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureMonitorJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "ListFeatureMonitorJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureMonitorJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureMonitorJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureMonitorJobIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListFeatureMonitorJobs", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureMonitorJobs", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "ListFeatureMonitorJobs" }, + "description": "ListFeatureMonitorJobs list feature monitor jobs.", + "file": "FeatureRegistryClient/ListFeatureMonitorJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatureMonitorJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureMonitorJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatureMonitors_sync", - "title": "aiplatform ListFeatureMonitors Sample", - "description": "ListFeatureMonitors lists FeatureGroups in a given project and location.", - "file": "FeatureRegistryClient/ListFeatureMonitors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatureMonitors", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.ListFeatureMonitors", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureMonitors", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "ListFeatureMonitors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeatureMonitorsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeatureMonitorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureMonitorIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListFeatureMonitors", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureMonitors", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "ListFeatureMonitors" }, + "description": "ListFeatureMonitors lists FeatureGroups in a given project and location.", + "file": "FeatureRegistryClient/ListFeatureMonitors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatureMonitors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatureMonitors Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatures_sync", - "title": "aiplatform ListFeatures Sample", - "description": "ListFeatures lists Features in a given FeatureGroup.", - "file": "FeatureRegistryClient/ListFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.ListFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "ListFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListFeatures", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "ListFeatures" }, + "description": "ListFeatures lists Features in a given FeatureGroup.", + "file": "FeatureRegistryClient/ListFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListFeatures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatures Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeatureRegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeatureRegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeatureRegistryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeatureRegistryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeatureRegistryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeatureRegistryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_UpdateFeature_sync", - "title": "aiplatform UpdateFeature Sample", - "description": "UpdateFeature updates the parameters of a single Feature.", - "file": "FeatureRegistryClient/UpdateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.UpdateFeature", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "UpdateFeature" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "UpdateFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeature", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "UpdateFeature" }, + "description": "UpdateFeature updates the parameters of a single Feature.", + "file": "FeatureRegistryClient/UpdateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_UpdateFeature_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_UpdateFeatureGroup_sync", - "title": "aiplatform UpdateFeatureGroup Sample", - "description": "UpdateFeatureGroup updates the parameters of a single FeatureGroup.", - "file": "FeatureRegistryClient/UpdateFeatureGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureGroup", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.UpdateFeatureGroup", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeatureGroup", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "UpdateFeatureGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureGroupRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureGroupOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "UpdateFeatureGroup", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeatureGroup", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "UpdateFeatureGroup" }, + "description": "UpdateFeatureGroup updates the parameters of a single FeatureGroup.", + "file": "FeatureRegistryClient/UpdateFeatureGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_UpdateFeatureGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureGroup Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_UpdateFeatureMonitor_sync", - "title": "aiplatform UpdateFeatureMonitor Sample", - "description": "UpdateFeatureMonitor updates the parameters of a single FeatureMonitor.", - "file": "FeatureRegistryClient/UpdateFeatureMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeatureMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.UpdateFeatureMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeatureMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "shortName": "FeatureRegistryService" + }, + "shortName": "UpdateFeatureMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeatureMonitorOperation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "UpdateFeatureMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeatureMonitor", - "service": { - "shortName": "FeatureRegistryService", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService" - } - } + "shortName": "UpdateFeatureMonitor" }, + "description": "UpdateFeatureMonitor updates the parameters of a single FeatureMonitor.", + "file": "FeatureRegistryClient/UpdateFeatureMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_UpdateFeatureMonitor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeatureMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeatureRegistryClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient", + "shortName": "FeatureRegistryClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeatureRegistryClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeatureRegistryClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeatureRegistryService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreOnlineServingClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FeaturestoreOnlineServingClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeaturestoreOnlineServingClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeaturestoreOnlineServingClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeaturestoreOnlineServingClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeaturestoreOnlineServingClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_ReadFeatureValues_sync", - "title": "aiplatform ReadFeatureValues Sample", - "description": "ReadFeatureValues reads Feature values of a specific entity of an EntityType. For reading\nfeature values of multiple entities of an EntityType, please use\nStreamingReadFeatureValues.", - "file": "FeaturestoreOnlineServingClient/ReadFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.ReadFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService", + "shortName": "FeaturestoreOnlineServingService" + }, + "shortName": "ReadFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadFeatureValuesResponse", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "ReadFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues", - "service": { - "shortName": "FeaturestoreOnlineServingService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService" - } - } + "shortName": "ReadFeatureValues" }, + "description": "ReadFeatureValues reads Feature values of a specific entity of an EntityType. For reading\nfeature values of multiple entities of an EntityType, please use\nStreamingReadFeatureValues.", + "file": "FeaturestoreOnlineServingClient/ReadFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_ReadFeatureValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreOnlineServingClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeaturestoreOnlineServingClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeaturestoreOnlineServingClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeaturestoreOnlineServingClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreOnlineServingClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreOnlineServingClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_WriteFeatureValues_sync", - "title": "aiplatform WriteFeatureValues Sample", - "description": "WriteFeatureValues writes Feature values of one or more entities of an EntityType.\n\nThe Feature values are merged into existing entities if any. The Feature\nvalues to be written must have timestamp within the online storage\nretention.", - "file": "FeaturestoreOnlineServingClient/WriteFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient", + "shortName": "FeaturestoreOnlineServingClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.WriteFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService", + "shortName": "FeaturestoreOnlineServingService" + }, + "shortName": "WriteFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.WriteFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.WriteFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.WriteFeatureValuesResponse", - "client": { - "shortName": "FeaturestoreOnlineServingClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient" - }, - "method": { - "shortName": "WriteFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues", - "service": { - "shortName": "FeaturestoreOnlineServingService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService" - } - } + "shortName": "WriteFeatureValues" }, + "description": "WriteFeatureValues writes Feature values of one or more entities of an EntityType.\n\nThe Feature values are merged into existing entities if any. The Feature\nvalues to be written must have timestamp within the online storage\nretention.", + "file": "FeaturestoreOnlineServingClient/WriteFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_WriteFeatureValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WriteFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_BatchCreateFeatures_sync", - "title": "aiplatform BatchCreateFeatures Sample", - "description": "BatchCreateFeatures creates a batch of Features in a given EntityType.", - "file": "FeaturestoreClient/BatchCreateFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.BatchCreateFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "BatchCreateFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateFeaturesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "BatchCreateFeatures", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "BatchCreateFeatures" }, + "description": "BatchCreateFeatures creates a batch of Features in a given EntityType.", + "file": "FeaturestoreClient/BatchCreateFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_BatchCreateFeatures_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateFeatures Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_BatchReadFeatureValues_sync", - "title": "aiplatform BatchReadFeatureValues Sample", - "description": "BatchReadFeatureValues batch reads Feature values from a Featurestore.\n\nThis API enables batch reading Feature values, where each read\ninstance in the batch may read Feature values of entities from one or\nmore EntityTypes. Point-in-time correctness is guaranteed for Feature\nvalues of each read instance as of each instance's read timestamp.", - "file": "FeaturestoreClient/BatchReadFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchReadFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.BatchReadFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "BatchReadFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchReadFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchReadFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchReadFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "BatchReadFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "BatchReadFeatureValues" }, + "description": "BatchReadFeatureValues batch reads Feature values from a Featurestore.\n\nThis API enables batch reading Feature values, where each read\ninstance in the batch may read Feature values of entities from one or\nmore EntityTypes. Point-in-time correctness is guaranteed for Feature\nvalues of each read instance as of each instance's read timestamp.", + "file": "FeaturestoreClient/BatchReadFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_BatchReadFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchReadFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CreateEntityType_sync", - "title": "aiplatform CreateEntityType Sample", - "description": "CreateEntityType creates a new EntityType in a given Featurestore.", - "file": "FeaturestoreClient/CreateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CreateEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "CreateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEntityTypeOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "CreateEntityType" }, + "description": "CreateEntityType creates a new EntityType in a given Featurestore.", + "file": "FeaturestoreClient/CreateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CreateEntityType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateEntityType Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CreateFeature_sync", - "title": "aiplatform CreateFeature Sample", - "description": "CreateFeature creates a new Feature in a given EntityType.", - "file": "FeaturestoreClient/CreateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CreateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "CreateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeatureOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "CreateFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "CreateFeature" }, + "description": "CreateFeature creates a new Feature in a given EntityType.", + "file": "FeaturestoreClient/CreateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CreateFeature_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CreateFeaturestore_sync", - "title": "aiplatform CreateFeaturestore Sample", - "description": "CreateFeaturestore creates a new Featurestore in a given project and location.", - "file": "FeaturestoreClient/CreateFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CreateFeaturestore", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "CreateFeaturestore" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFeaturestoreOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "CreateFeaturestore", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "CreateFeaturestore" }, + "description": "CreateFeaturestore creates a new Featurestore in a given project and location.", + "file": "FeaturestoreClient/CreateFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_CreateFeaturestore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateFeaturestore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteEntityType_sync", - "title": "aiplatform DeleteEntityType Sample", - "description": "DeleteEntityType deletes a single EntityType. The EntityType must not have any Features\nor `force` must be set to true for the request to succeed.", - "file": "FeaturestoreClient/DeleteEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEntityTypeOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "DeleteEntityType" }, + "description": "DeleteEntityType deletes a single EntityType. The EntityType must not have any Features\nor `force` must be set to true for the request to succeed.", + "file": "FeaturestoreClient/DeleteEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteEntityType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteEntityType Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteFeature_sync", - "title": "aiplatform DeleteFeature Sample", - "description": "DeleteFeature deletes a single Feature.", - "file": "FeaturestoreClient/DeleteFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "DeleteFeature" }, + "description": "DeleteFeature deletes a single Feature.", + "file": "FeaturestoreClient/DeleteFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteFeature_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteFeatureValues_sync", - "title": "aiplatform DeleteFeatureValues Sample", - "description": "DeleteFeatureValues delete Feature values from Featurestore.\n\nThe progress of the deletion is tracked by the returned operation. The\ndeleted feature values are guaranteed to be invisible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf a delete feature values operation fails, the feature values\nreturned from reads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same delete request again and wait till\nthe new operation returned is marked as successfully done.", - "file": "FeaturestoreClient/DeleteFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "DeleteFeatureValues" }, + "description": "DeleteFeatureValues delete Feature values from Featurestore.\n\nThe progress of the deletion is tracked by the returned operation. The\ndeleted feature values are guaranteed to be invisible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf a delete feature values operation fails, the feature values\nreturned from reads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same delete request again and wait till\nthe new operation returned is marked as successfully done.", + "file": "FeaturestoreClient/DeleteFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteFeaturestore_sync", - "title": "aiplatform DeleteFeaturestore Sample", - "description": "DeleteFeaturestore deletes a single Featurestore. The Featurestore must not contain any\nEntityTypes or `force` must be set to true for the request to succeed.", - "file": "FeaturestoreClient/DeleteFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "DeleteFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFeaturestoreOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteFeaturestore", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "DeleteFeaturestore" }, + "description": "DeleteFeaturestore deletes a single Featurestore. The Featurestore must not contain any\nEntityTypes or `force` must be set to true for the request to succeed.", + "file": "FeaturestoreClient/DeleteFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteFeaturestore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteFeaturestore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ExportFeatureValues_sync", - "title": "aiplatform ExportFeatureValues Sample", - "description": "ExportFeatureValues exports Feature values from all the entities of a target EntityType.", - "file": "FeaturestoreClient/ExportFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ExportFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ExportFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ExportFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "ExportFeatureValues" }, + "description": "ExportFeatureValues exports Feature values from all the entities of a target EntityType.", + "file": "FeaturestoreClient/ExportFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ExportFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetEntityType_sync", - "title": "aiplatform GetEntityType Sample", - "description": "GetEntityType gets details of a single EntityType.", - "file": "FeaturestoreClient/GetEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "GetEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EntityType", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "GetEntityType" }, + "description": "GetEntityType gets details of a single EntityType.", + "file": "FeaturestoreClient/GetEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetEntityType Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetFeature_sync", - "title": "aiplatform GetFeature Sample", - "description": "GetFeature gets details of a single Feature.", - "file": "FeaturestoreClient/GetFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "GetFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Feature", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "GetFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "GetFeature" }, + "description": "GetFeature gets details of a single Feature.", + "file": "FeaturestoreClient/GetFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetFeature_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetFeaturestore_sync", - "title": "aiplatform GetFeaturestore Sample", - "description": "GetFeaturestore gets details of a single Featurestore.", - "file": "FeaturestoreClient/GetFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "GetFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Featurestore", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "GetFeaturestore", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "GetFeaturestore" }, + "description": "GetFeaturestore gets details of a single Featurestore.", + "file": "FeaturestoreClient/GetFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetFeaturestore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetFeaturestore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "FeaturestoreClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FeaturestoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FeaturestoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ImportFeatureValues_sync", - "title": "aiplatform ImportFeatureValues Sample", - "description": "ImportFeatureValues imports Feature values into the Featurestore from a source storage.\n\nThe progress of the import is tracked by the returned operation. The\nimported features are guaranteed to be visible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf an import operation fails, the Feature values returned from\nreads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same import request again and wait till\nthe new operation returned is marked as successfully done.\n\nThere are also scenarios where the caller can cause inconsistency.\n\n- Source data for import contains multiple distinct Feature values for\nthe same entity ID and timestamp.\n- Source is modified during an import. This includes adding, updating, or\nremoving source data and/or metadata. Examples of updating metadata\ninclude but are not limited to changing storage location, storage class,\nor retention policy.\n- Online serving cluster is under-provisioned.", - "file": "FeaturestoreClient/ImportFeatureValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportFeatureValues", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ImportFeatureValues", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ImportFeatureValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportFeatureValuesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportFeatureValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportFeatureValuesOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ImportFeatureValues", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "ImportFeatureValues" }, + "description": "ImportFeatureValues imports Feature values into the Featurestore from a source storage.\n\nThe progress of the import is tracked by the returned operation. The\nimported features are guaranteed to be visible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf an import operation fails, the Feature values returned from\nreads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same import request again and wait till\nthe new operation returned is marked as successfully done.\n\nThere are also scenarios where the caller can cause inconsistency.\n\n- Source data for import contains multiple distinct Feature values for\nthe same entity ID and timestamp.\n- Source is modified during an import. This includes adding, updating, or\nremoving source data and/or metadata. Examples of updating metadata\ninclude but are not limited to changing storage location, storage class,\nor retention policy.\n- Online serving cluster is under-provisioned.", + "file": "FeaturestoreClient/ImportFeatureValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ImportFeatureValues_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportFeatureValues Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListEntityTypes_sync", - "title": "aiplatform ListEntityTypes Sample", - "description": "ListEntityTypes lists EntityTypes in a given Featurestore.", - "file": "FeaturestoreClient/ListEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntityTypes", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListEntityTypes", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ListEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListEntityTypesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityTypeIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "ListEntityTypes" }, + "description": "ListEntityTypes lists EntityTypes in a given Featurestore.", + "file": "FeaturestoreClient/ListEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListEntityTypes Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListFeatures_sync", - "title": "aiplatform ListFeatures Sample", - "description": "ListFeatures lists Features in a given EntityType.", - "file": "FeaturestoreClient/ListFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ListFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ListFeatures", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "ListFeatures" }, + "description": "ListFeatures lists Features in a given EntityType.", + "file": "FeaturestoreClient/ListFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListFeatures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeatures Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListFeaturestores_sync", - "title": "aiplatform ListFeaturestores Sample", - "description": "ListFeaturestores lists Featurestores in a given project and location.", - "file": "FeaturestoreClient/ListFeaturestores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeaturestores", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListFeaturestores", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "ListFeaturestores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListFeaturestoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListFeaturestoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeaturestoreIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ListFeaturestores", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "ListFeaturestores" }, + "description": "ListFeaturestores lists Featurestores in a given project and location.", + "file": "FeaturestoreClient/ListFeaturestores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListFeaturestores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListFeaturestores Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FeaturestoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FeaturestoreClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_SearchFeatures_sync", - "title": "aiplatform SearchFeatures Sample", - "description": "SearchFeatures searches Features matching a query in a given project.", - "file": "FeaturestoreClient/SearchFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchFeatures", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.SearchFeatures", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "SearchFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchFeaturesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeatureIterator", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "SearchFeatures", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "SearchFeatures" }, + "description": "SearchFeatures searches Features matching a query in a given project.", + "file": "FeaturestoreClient/SearchFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_SearchFeatures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchFeatures Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_SetIamPolicy_sync", - "title": "aiplatform 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": "FeaturestoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FeaturestoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_TestIamPermissions_sync", - "title": "aiplatform 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": "FeaturestoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FeaturestoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_UpdateEntityType_sync", - "title": "aiplatform UpdateEntityType Sample", - "description": "UpdateEntityType updates the parameters of a single EntityType.", - "file": "FeaturestoreClient/UpdateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntityType", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.UpdateEntityType", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateEntityType", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "UpdateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EntityType", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateEntityType", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "UpdateEntityType" }, + "description": "UpdateEntityType updates the parameters of a single EntityType.", + "file": "FeaturestoreClient/UpdateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_UpdateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateEntityType Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_UpdateFeature_sync", - "title": "aiplatform UpdateFeature Sample", - "description": "UpdateFeature updates the parameters of a single Feature.", - "file": "FeaturestoreClient/UpdateFeature/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeature", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.UpdateFeature", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeature", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "UpdateFeature" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeatureRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Feature", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "UpdateFeature", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeature", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "UpdateFeature" }, + "description": "UpdateFeature updates the parameters of a single Feature.", + "file": "FeaturestoreClient/UpdateFeature/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_UpdateFeature_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeature Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_UpdateFeaturestore_sync", - "title": "aiplatform UpdateFeaturestore Sample", - "description": "UpdateFeaturestore updates the parameters of a single Featurestore.", - "file": "FeaturestoreClient/UpdateFeaturestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeaturestore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.UpdateFeaturestore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeaturestore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "shortName": "FeaturestoreService" + }, + "shortName": "UpdateFeaturestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateFeaturestoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateFeaturestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFeaturestoreOperation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "UpdateFeaturestore", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeaturestore", - "service": { - "shortName": "FeaturestoreService", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService" - } - } + "shortName": "UpdateFeaturestore" }, + "description": "UpdateFeaturestore updates the parameters of a single Featurestore.", + "file": "FeaturestoreClient/UpdateFeaturestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_UpdateFeaturestore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateFeaturestore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "FeaturestoreClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient", + "shortName": "FeaturestoreClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FeaturestoreClient", - "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "FeaturestoreClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_FeaturestoreService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_CreateCachedContent_sync", - "title": "aiplatform CreateCachedContent Sample", - "description": "CreateCachedContent creates cached content, this call will initialize the cached content in the\ndata storage, and users need to pay for the cache data storage.", - "file": "GenAiCacheClient/CreateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.CreateCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.CreateCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "CreateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CachedContent", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "CreateCachedContent", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.CreateCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService" - } - } + "shortName": "CreateCachedContent" }, + "description": "CreateCachedContent creates cached content, this call will initialize the cached content in the\ndata storage, and users need to pay for the cache data storage.", + "file": "GenAiCacheClient/CreateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_CreateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateCachedContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_DeleteCachedContent_sync", - "title": "aiplatform DeleteCachedContent Sample", - "description": "DeleteCachedContent deletes cached content", - "file": "GenAiCacheClient/DeleteCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.DeleteCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.DeleteCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "DeleteCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "DeleteCachedContent", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.DeleteCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService" - } - } + "shortName": "DeleteCachedContent" }, + "description": "DeleteCachedContent deletes cached content", + "file": "GenAiCacheClient/DeleteCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_DeleteCachedContent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteCachedContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetCachedContent_sync", - "title": "aiplatform GetCachedContent Sample", - "description": "GetCachedContent gets cached content configurations", - "file": "GenAiCacheClient/GetCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.GetCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.GetCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "GetCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CachedContent", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "GetCachedContent", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.GetCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService" - } - } + "shortName": "GetCachedContent" }, + "description": "GetCachedContent gets cached content configurations", + "file": "GenAiCacheClient/GetCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetCachedContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetIamPolicy_sync", - "title": "aiplatform 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": "GenAiCacheClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "GenAiCacheClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GenAiCacheClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GenAiCacheClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_ListCachedContents_sync", - "title": "aiplatform ListCachedContents Sample", - "description": "ListCachedContents lists cached contents in a project", - "file": "GenAiCacheClient/ListCachedContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCachedContents", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.ListCachedContents", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.ListCachedContents", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "ListCachedContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListCachedContentsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListCachedContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CachedContentIterator", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "ListCachedContents", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.ListCachedContents", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService" - } - } + "shortName": "ListCachedContents" }, + "description": "ListCachedContents lists cached contents in a project", + "file": "GenAiCacheClient/ListCachedContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_ListCachedContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListCachedContents Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "GenAiCacheClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "GenAiCacheClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_SetIamPolicy_sync", - "title": "aiplatform 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": "GenAiCacheClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "GenAiCacheClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_TestIamPermissions_sync", - "title": "aiplatform 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": "GenAiCacheClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "GenAiCacheClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_UpdateCachedContent_sync", - "title": "aiplatform UpdateCachedContent Sample", - "description": "UpdateCachedContent updates cached content configurations", - "file": "GenAiCacheClient/UpdateCachedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCachedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.UpdateCachedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.UpdateCachedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService", + "shortName": "GenAiCacheService" + }, + "shortName": "UpdateCachedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateCachedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateCachedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CachedContent", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "UpdateCachedContent", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService.UpdateCachedContent", - "service": { - "shortName": "GenAiCacheService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheService" - } - } + "shortName": "UpdateCachedContent" }, + "description": "UpdateCachedContent updates cached content configurations", + "file": "GenAiCacheClient/UpdateCachedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_UpdateCachedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateCachedContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiCacheClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient", + "shortName": "GenAiCacheClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiCacheClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiCacheClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiCacheClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiCacheService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_CancelTuningJob_sync", - "title": "aiplatform CancelTuningJob Sample", - "description": "CancelTuningJob cancels a TuningJob.\nStarts asynchronous cancellation on the TuningJob. The server makes a best\neffort to cancel the job, but success is not guaranteed. Clients can use\n[GenAiTuningService.GetTuningJob][google.cloud.aiplatform.v1beta1.GenAiTuningService.GetTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation, the\nTuningJob is not deleted; instead it becomes a job with a\n[TuningJob.error][google.cloud.aiplatform.v1beta1.TuningJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[TuningJob.state][google.cloud.aiplatform.v1beta1.TuningJob.state] is set\nto `CANCELLED`.", - "file": "GenAiTuningClient/CancelTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.CancelTuningJob", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.CancelTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "CancelTuningJob" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "CancelTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.CancelTuningJob", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService" - } - } + "shortName": "CancelTuningJob" }, + "description": "CancelTuningJob cancels a TuningJob.\nStarts asynchronous cancellation on the TuningJob. The server makes a best\neffort to cancel the job, but success is not guaranteed. Clients can use\n[GenAiTuningService.GetTuningJob][google.cloud.aiplatform.v1beta1.GenAiTuningService.GetTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation, the\nTuningJob is not deleted; instead it becomes a job with a\n[TuningJob.error][google.cloud.aiplatform.v1beta1.TuningJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[TuningJob.state][google.cloud.aiplatform.v1beta1.TuningJob.state] is set\nto `CANCELLED`.", + "file": "GenAiTuningClient/CancelTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_CancelTuningJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_CreateTuningJob_sync", - "title": "aiplatform CreateTuningJob Sample", - "description": "CreateTuningJob creates a TuningJob. A created TuningJob right away will be attempted to\nbe run.", - "file": "GenAiTuningClient/CreateTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.CreateTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.CreateTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "CreateTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TuningJob", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "CreateTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.CreateTuningJob", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService" - } - } + "shortName": "CreateTuningJob" }, + "description": "CreateTuningJob creates a TuningJob. A created TuningJob right away will be attempted to\nbe run.", + "file": "GenAiTuningClient/CreateTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_CreateTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetIamPolicy_sync", - "title": "aiplatform 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": "GenAiTuningClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "GenAiTuningClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GenAiTuningClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GenAiTuningClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetTuningJob_sync", - "title": "aiplatform GetTuningJob Sample", - "description": "GetTuningJob gets a TuningJob.", - "file": "GenAiTuningClient/GetTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.GetTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.GetTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "GetTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TuningJob", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "GetTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.GetTuningJob", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService" - } - } + "shortName": "GetTuningJob" }, + "description": "GetTuningJob gets a TuningJob.", + "file": "GenAiTuningClient/GetTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_GetTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "GenAiTuningClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "GenAiTuningClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_ListTuningJobs_sync", - "title": "aiplatform ListTuningJobs Sample", - "description": "ListTuningJobs lists TuningJobs in a Location.", - "file": "GenAiTuningClient/ListTuningJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTuningJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.ListTuningJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.ListTuningJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "ListTuningJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTuningJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTuningJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuningJobIterator", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "ListTuningJobs", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.ListTuningJobs", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService" - } - } + "shortName": "ListTuningJobs" }, + "description": "ListTuningJobs lists TuningJobs in a Location.", + "file": "GenAiTuningClient/ListTuningJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_ListTuningJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTuningJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_RebaseTunedModel_sync", - "title": "aiplatform RebaseTunedModel Sample", - "description": "RebaseTunedModel rebase a TunedModel.\nCreates a LongRunningOperation that takes a legacy Tuned GenAI model\nReference and creates a TuningJob based on newly available model.", - "file": "GenAiTuningClient/RebaseTunedModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "RebaseTunedModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.RebaseTunedModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.RebaseTunedModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService", + "shortName": "GenAiTuningService" + }, + "shortName": "RebaseTunedModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RebaseTunedModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RebaseTunedModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RebaseTunedModelOperation", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "RebaseTunedModel", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService.RebaseTunedModel", - "service": { - "shortName": "GenAiTuningService", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningService" - } - } + "shortName": "RebaseTunedModel" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "RebaseTunedModel rebase a TunedModel.\nCreates a LongRunningOperation that takes a legacy Tuned GenAI model\nReference and creates a TuningJob based on newly available model.", + "file": "GenAiTuningClient/RebaseTunedModel/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_RebaseTunedModel_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RebaseTunedModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_SetIamPolicy_sync", - "title": "aiplatform 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": "GenAiTuningClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "GenAiTuningClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_TestIamPermissions_sync", - "title": "aiplatform 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": "GenAiTuningClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "GenAiTuningClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "GenAiTuningClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient", + "shortName": "GenAiTuningClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenAiTuningClient", - "fullName": "google.cloud.aiplatform.v1beta1.GenAiTuningClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "GenAiTuningClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_GenAiTuningService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_CreateIndexEndpoint_sync", - "title": "aiplatform CreateIndexEndpoint Sample", - "description": "CreateIndexEndpoint creates an IndexEndpoint.", - "file": "IndexEndpointClient/CreateIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.CreateIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "CreateIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexEndpointOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "CreateIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "CreateIndexEndpoint" }, + "description": "CreateIndexEndpoint creates an IndexEndpoint.", + "file": "IndexEndpointClient/CreateIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_CreateIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_DeleteIndexEndpoint_sync", - "title": "aiplatform DeleteIndexEndpoint Sample", - "description": "DeleteIndexEndpoint deletes an IndexEndpoint.", - "file": "IndexEndpointClient/DeleteIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.DeleteIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "DeleteIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexEndpointOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "DeleteIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "DeleteIndexEndpoint" }, + "description": "DeleteIndexEndpoint deletes an IndexEndpoint.", + "file": "IndexEndpointClient/DeleteIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_DeleteIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_DeployIndex_sync", - "title": "aiplatform DeployIndex Sample", - "description": "DeployIndex deploys an Index into this IndexEndpoint, creating a DeployedIndex within\nit.\nOnly non-empty Indexes can be deployed.", - "file": "IndexEndpointClient/DeployIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.DeployIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "DeployIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployIndexOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "DeployIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "DeployIndex" }, + "description": "DeployIndex deploys an Index into this IndexEndpoint, creating a DeployedIndex within\nit.\nOnly non-empty Indexes can be deployed.", + "file": "IndexEndpointClient/DeployIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_DeployIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeployIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetIamPolicy_sync", - "title": "aiplatform 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": "IndexEndpointClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "IndexEndpointClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetIndexEndpoint_sync", - "title": "aiplatform GetIndexEndpoint Sample", - "description": "GetIndexEndpoint gets an IndexEndpoint.", - "file": "IndexEndpointClient/GetIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "GetIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.IndexEndpoint", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "GetIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "GetIndexEndpoint" }, + "description": "GetIndexEndpoint gets an IndexEndpoint.", + "file": "IndexEndpointClient/GetIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IndexEndpointClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IndexEndpointClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_ListIndexEndpoints_sync", - "title": "aiplatform ListIndexEndpoints Sample", - "description": "ListIndexEndpoints lists IndexEndpoints in a Location.", - "file": "IndexEndpointClient/ListIndexEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexEndpoints", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.ListIndexEndpoints", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "ListIndexEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListIndexEndpointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListIndexEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexEndpointIterator", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "ListIndexEndpoints", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "ListIndexEndpoints" }, + "description": "ListIndexEndpoints lists IndexEndpoints in a Location.", + "file": "IndexEndpointClient/ListIndexEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_ListIndexEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListIndexEndpoints Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "IndexEndpointClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "IndexEndpointClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_MutateDeployedIndex_sync", - "title": "aiplatform MutateDeployedIndex Sample", - "description": "MutateDeployedIndex update an existing DeployedIndex under an IndexEndpoint.", - "file": "IndexEndpointClient/MutateDeployedIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "MutateDeployedIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.MutateDeployedIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "MutateDeployedIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.MutateDeployedIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.MutateDeployedIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MutateDeployedIndexOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "MutateDeployedIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "MutateDeployedIndex" }, + "description": "MutateDeployedIndex update an existing DeployedIndex under an IndexEndpoint.", + "file": "IndexEndpointClient/MutateDeployedIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_MutateDeployedIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform MutateDeployedIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_SetIamPolicy_sync", - "title": "aiplatform 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": "IndexEndpointClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "IndexEndpointClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_TestIamPermissions_sync", - "title": "aiplatform 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": "IndexEndpointClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "IndexEndpointClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_UndeployIndex_sync", - "title": "aiplatform UndeployIndex Sample", - "description": "UndeployIndex undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it,\nand freeing all resources it's using.", - "file": "IndexEndpointClient/UndeployIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.UndeployIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "UndeployIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UndeployIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UndeployIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployIndexOperation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "UndeployIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "UndeployIndex" }, + "description": "UndeployIndex undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it,\nand freeing all resources it's using.", + "file": "IndexEndpointClient/UndeployIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_UndeployIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UndeployIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_UpdateIndexEndpoint_sync", - "title": "aiplatform UpdateIndexEndpoint Sample", - "description": "UpdateIndexEndpoint updates an IndexEndpoint.", - "file": "IndexEndpointClient/UpdateIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIndexEndpoint", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.UpdateIndexEndpoint", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.UpdateIndexEndpoint", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "shortName": "IndexEndpointService" + }, + "shortName": "UpdateIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.IndexEndpoint", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "UpdateIndexEndpoint", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.UpdateIndexEndpoint", - "service": { - "shortName": "IndexEndpointService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService" - } - } + "shortName": "UpdateIndexEndpoint" }, + "description": "UpdateIndexEndpoint updates an IndexEndpoint.", + "file": "IndexEndpointClient/UpdateIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_UpdateIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateIndexEndpoint Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "IndexEndpointClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient", + "shortName": "IndexEndpointClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexEndpointClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "IndexEndpointClient/WaitOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexEndpointService_WaitOperation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_CreateIndex_sync", - "title": "aiplatform CreateIndex Sample", - "description": "CreateIndex creates an Index.", - "file": "IndexClient/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.CreateIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.CreateIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.CreateIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates an Index.", + "file": "IndexClient/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_DeleteIndex_sync", - "title": "aiplatform DeleteIndex Sample", - "description": "DeleteIndex deletes an Index.\nAn Index can only be deleted when all its\n[DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes]\nhad been undeployed.", - "file": "IndexClient/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.DeleteIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex deletes an Index.\nAn Index can only be deleted when all its\n[DeployedIndexes][google.cloud.aiplatform.v1beta1.Index.deployed_indexes]\nhad been undeployed.", + "file": "IndexClient/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_GetIamPolicy_sync", - "title": "aiplatform 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": "IndexClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "IndexClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_GetIndex_sync", - "title": "aiplatform GetIndex Sample", - "description": "GetIndex gets an Index.", - "file": "IndexClient/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.GetIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Index", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.GetIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets an Index.", + "file": "IndexClient/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IndexClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IndexClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_ImportIndex_sync", - "title": "aiplatform ImportIndex Sample", - "description": "ImportIndex imports an Index from an external source (e.g., BigQuery).", - "file": "IndexClient/ImportIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ImportIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.ImportIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "ImportIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "ImportIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.ImportIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "ImportIndex" }, + "description": "ImportIndex imports an Index from an external source (e.g., BigQuery).", + "file": "IndexClient/ImportIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_ImportIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_ListIndexes_sync", - "title": "aiplatform ListIndexes Sample", - "description": "ListIndexes lists Indexes in a Location.", - "file": "IndexClient/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ListIndexes", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.ListIndexes", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexIterator", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.ListIndexes", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "ListIndexes" }, + "description": "ListIndexes lists Indexes in a Location.", + "file": "IndexClient/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListIndexes Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "IndexClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ListLocations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "IndexClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IndexClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IndexClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_RemoveDatapoints_sync", - "title": "aiplatform RemoveDatapoints Sample", - "description": "RemoveDatapoints remove Datapoints from an Index.", - "file": "IndexClient/RemoveDatapoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveDatapoints", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.RemoveDatapoints", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "RemoveDatapoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RemoveDatapointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RemoveDatapointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RemoveDatapointsResponse", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "RemoveDatapoints", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "RemoveDatapoints" }, + "description": "RemoveDatapoints remove Datapoints from an Index.", + "file": "IndexClient/RemoveDatapoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_RemoveDatapoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RemoveDatapoints Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_SetIamPolicy_sync", - "title": "aiplatform 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": "IndexClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "IndexClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_TestIamPermissions_sync", - "title": "aiplatform 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": "IndexClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "IndexClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_UpdateIndex_sync", - "title": "aiplatform UpdateIndex Sample", - "description": "UpdateIndex updates an Index.", - "file": "IndexClient/UpdateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIndex", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.UpdateIndex", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "UpdateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateIndexRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateIndexOperation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "UpdateIndex", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "UpdateIndex" }, + "description": "UpdateIndex updates an Index.", + "file": "IndexClient/UpdateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_UpdateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateIndex Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_UpsertDatapoints_sync", - "title": "aiplatform UpsertDatapoints Sample", - "description": "UpsertDatapoints add/update Datapoints into an Index.", - "file": "IndexClient/UpsertDatapoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpsertDatapoints", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.UpsertDatapoints", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "shortName": "IndexService" + }, + "shortName": "UpsertDatapoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpsertDatapointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpsertDatapointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.UpsertDatapointsResponse", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "UpsertDatapoints", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints", - "service": { - "shortName": "IndexService", - "fullName": "google.cloud.aiplatform.v1beta1.IndexService" - } - } + "shortName": "UpsertDatapoints" }, + "description": "UpsertDatapoints add/update Datapoints into an Index.", + "file": "IndexClient/UpsertDatapoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_UpsertDatapoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpsertDatapoints Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_IndexService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "IndexClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.IndexClient", + "shortName": "IndexClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.IndexClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IndexClient", - "fullName": "google.cloud.aiplatform.v1beta1.IndexClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "IndexClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_IndexService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CancelBatchPredictionJob_sync", - "title": "aiplatform CancelBatchPredictionJob Sample", - "description": "CancelBatchPredictionJob cancels a BatchPredictionJob.\n\nStarts asynchronous cancellation on the BatchPredictionJob. The server\nmakes the best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On a successful cancellation,\nthe BatchPredictionJob is not deleted;instead its\n[BatchPredictionJob.state][google.cloud.aiplatform.v1beta1.BatchPredictionJob.state]\nis set to `CANCELLED`. Any files already outputted by the job are not\ndeleted.", - "file": "JobClient/CancelBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CancelBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CancelBatchPredictionJob" }, + "description": "CancelBatchPredictionJob cancels a BatchPredictionJob.\n\nStarts asynchronous cancellation on the BatchPredictionJob. The server\nmakes the best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On a successful cancellation,\nthe BatchPredictionJob is not deleted;instead its\n[BatchPredictionJob.state][google.cloud.aiplatform.v1beta1.BatchPredictionJob.state]\nis set to `CANCELLED`. Any files already outputted by the job are not\ndeleted.", + "file": "JobClient/CancelBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CancelBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CancelCustomJob_sync", - "title": "aiplatform CancelCustomJob Sample", - "description": "CancelCustomJob cancels a CustomJob.\nStarts asynchronous cancellation on the CustomJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe CustomJob is not deleted; instead it becomes a job with\na [CustomJob.error][google.cloud.aiplatform.v1beta1.CustomJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[CustomJob.state][google.cloud.aiplatform.v1beta1.CustomJob.state] is set\nto `CANCELLED`.", - "file": "JobClient/CancelCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CancelCustomJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CancelCustomJob" }, + "description": "CancelCustomJob cancels a CustomJob.\nStarts asynchronous cancellation on the CustomJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe CustomJob is not deleted; instead it becomes a job with\na [CustomJob.error][google.cloud.aiplatform.v1beta1.CustomJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[CustomJob.state][google.cloud.aiplatform.v1beta1.CustomJob.state] is set\nto `CANCELLED`.", + "file": "JobClient/CancelCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CancelCustomJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelCustomJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CancelDataLabelingJob_sync", - "title": "aiplatform CancelDataLabelingJob Sample", - "description": "CancelDataLabelingJob cancels a DataLabelingJob. Success of cancellation is not guaranteed.", - "file": "JobClient/CancelDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CancelDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CancelDataLabelingJob" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelDataLabelingJob cancels a DataLabelingJob. Success of cancellation is not guaranteed.", + "file": "JobClient/CancelDataLabelingJob/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CancelDataLabelingJob_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CancelHyperparameterTuningJob_sync", - "title": "aiplatform CancelHyperparameterTuningJob Sample", - "description": "CancelHyperparameterTuningJob cancels a HyperparameterTuningJob.\nStarts asynchronous cancellation on the HyperparameterTuningJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe HyperparameterTuningJob is not deleted; instead it becomes a job with\na\n[HyperparameterTuningJob.error][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[HyperparameterTuningJob.state][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.state]\nis set to `CANCELLED`.", - "file": "JobClient/CancelHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CancelHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CancelHyperparameterTuningJob" }, + "description": "CancelHyperparameterTuningJob cancels a HyperparameterTuningJob.\nStarts asynchronous cancellation on the HyperparameterTuningJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe HyperparameterTuningJob is not deleted; instead it becomes a job with\na\n[HyperparameterTuningJob.error][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[HyperparameterTuningJob.state][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.state]\nis set to `CANCELLED`.", + "file": "JobClient/CancelHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CancelHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CancelNasJob_sync", - "title": "aiplatform CancelNasJob Sample", - "description": "CancelNasJob cancels a NasJob.\nStarts asynchronous cancellation on the NasJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe NasJob is not deleted; instead it becomes a job with\na [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to\n`CANCELLED`.", - "file": "JobClient/CancelNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CancelNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CancelNasJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CancelNasJob" }, + "description": "CancelNasJob cancels a NasJob.\nStarts asynchronous cancellation on the NasJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe NasJob is not deleted; instead it becomes a job with\na [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to\n`CANCELLED`.", + "file": "JobClient/CancelNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CancelNasJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelNasJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CreateBatchPredictionJob_sync", - "title": "aiplatform CreateBatchPredictionJob Sample", - "description": "CreateBatchPredictionJob creates a BatchPredictionJob. A BatchPredictionJob once created will\nright away be attempted to start.", - "file": "JobClient/CreateBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchPredictionJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CreateBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CreateBatchPredictionJob" }, + "description": "CreateBatchPredictionJob creates a BatchPredictionJob. A BatchPredictionJob once created will\nright away be attempted to start.", + "file": "JobClient/CreateBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CreateBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CreateCustomJob_sync", - "title": "aiplatform CreateCustomJob Sample", - "description": "CreateCustomJob creates a CustomJob. A created CustomJob right away\nwill be attempted to be run.", - "file": "JobClient/CreateCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CustomJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CreateCustomJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CreateCustomJob" }, + "description": "CreateCustomJob creates a CustomJob. A created CustomJob right away\nwill be attempted to be run.", + "file": "JobClient/CreateCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CreateCustomJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateCustomJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CreateDataLabelingJob_sync", - "title": "aiplatform CreateDataLabelingJob Sample", - "description": "CreateDataLabelingJob creates a DataLabelingJob.", - "file": "JobClient/CreateDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DataLabelingJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CreateDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CreateDataLabelingJob" }, + "description": "CreateDataLabelingJob creates a DataLabelingJob.", + "file": "JobClient/CreateDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CreateDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CreateHyperparameterTuningJob_sync", - "title": "aiplatform CreateHyperparameterTuningJob Sample", - "description": "CreateHyperparameterTuningJob creates a HyperparameterTuningJob", - "file": "JobClient/CreateHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.HyperparameterTuningJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CreateHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CreateHyperparameterTuningJob" }, + "description": "CreateHyperparameterTuningJob creates a HyperparameterTuningJob", + "file": "JobClient/CreateHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CreateHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CreateModelDeploymentMonitoringJob_sync", - "title": "aiplatform CreateModelDeploymentMonitoringJob Sample", - "description": "CreateModelDeploymentMonitoringJob creates a ModelDeploymentMonitoringJob. It will run periodically on a\nconfigured interval.", - "file": "JobClient/CreateModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelDeploymentMonitoringJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CreateModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CreateModelDeploymentMonitoringJob" }, + "description": "CreateModelDeploymentMonitoringJob creates a ModelDeploymentMonitoringJob. It will run periodically on a\nconfigured interval.", + "file": "JobClient/CreateModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CreateModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_CreateNasJob_sync", - "title": "aiplatform CreateNasJob Sample", - "description": "CreateNasJob creates a NasJob", - "file": "JobClient/CreateNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NasJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "CreateNasJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "CreateNasJob" }, + "description": "CreateNasJob creates a NasJob", + "file": "JobClient/CreateNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_CreateNasJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateNasJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteBatchPredictionJob_sync", - "title": "aiplatform DeleteBatchPredictionJob Sample", - "description": "DeleteBatchPredictionJob deletes a BatchPredictionJob. Can only be called on jobs that already\nfinished.", - "file": "JobClient/DeleteBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBatchPredictionJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "DeleteBatchPredictionJob" }, + "description": "DeleteBatchPredictionJob deletes a BatchPredictionJob. Can only be called on jobs that already\nfinished.", + "file": "JobClient/DeleteBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteCustomJob_sync", - "title": "aiplatform DeleteCustomJob Sample", - "description": "DeleteCustomJob deletes a CustomJob.", - "file": "JobClient/DeleteCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteCustomJob", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteCustomJob" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCustomJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteCustomJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "DeleteCustomJob" }, + "description": "DeleteCustomJob deletes a CustomJob.", + "file": "JobClient/DeleteCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteCustomJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteCustomJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteDataLabelingJob_sync", - "title": "aiplatform DeleteDataLabelingJob Sample", - "description": "DeleteDataLabelingJob deletes a DataLabelingJob.", - "file": "JobClient/DeleteDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataLabelingJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "DeleteDataLabelingJob" }, + "description": "DeleteDataLabelingJob deletes a DataLabelingJob.", + "file": "JobClient/DeleteDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteHyperparameterTuningJob_sync", - "title": "aiplatform DeleteHyperparameterTuningJob Sample", - "description": "DeleteHyperparameterTuningJob deletes a HyperparameterTuningJob.", - "file": "JobClient/DeleteHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHyperparameterTuningJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "DeleteHyperparameterTuningJob" }, + "description": "DeleteHyperparameterTuningJob deletes a HyperparameterTuningJob.", + "file": "JobClient/DeleteHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteModelDeploymentMonitoringJob_sync", - "title": "aiplatform DeleteModelDeploymentMonitoringJob Sample", - "description": "DeleteModelDeploymentMonitoringJob deletes a ModelDeploymentMonitoringJob.", - "file": "JobClient/DeleteModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelDeploymentMonitoringJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "DeleteModelDeploymentMonitoringJob" }, + "description": "DeleteModelDeploymentMonitoringJob deletes a ModelDeploymentMonitoringJob.", + "file": "JobClient/DeleteModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteNasJob_sync", - "title": "aiplatform DeleteNasJob Sample", - "description": "DeleteNasJob deletes a NasJob.", - "file": "JobClient/DeleteNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNasJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteNasJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "DeleteNasJob" }, + "description": "DeleteNasJob deletes a NasJob.", + "file": "JobClient/DeleteNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteNasJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNasJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetBatchPredictionJob_sync", - "title": "aiplatform GetBatchPredictionJob Sample", - "description": "GetBatchPredictionJob gets a BatchPredictionJob", - "file": "JobClient/GetBatchPredictionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBatchPredictionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetBatchPredictionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetBatchPredictionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetBatchPredictionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetBatchPredictionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchPredictionJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetBatchPredictionJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetBatchPredictionJob" }, + "description": "GetBatchPredictionJob gets a BatchPredictionJob", + "file": "JobClient/GetBatchPredictionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetBatchPredictionJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetBatchPredictionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetCustomJob_sync", - "title": "aiplatform GetCustomJob Sample", - "description": "GetCustomJob gets a CustomJob.", - "file": "JobClient/GetCustomJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetCustomJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetCustomJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetCustomJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetCustomJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetCustomJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CustomJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetCustomJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetCustomJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetCustomJob" }, + "description": "GetCustomJob gets a CustomJob.", + "file": "JobClient/GetCustomJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetCustomJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetCustomJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetDataLabelingJob_sync", - "title": "aiplatform GetDataLabelingJob Sample", - "description": "GetDataLabelingJob gets a DataLabelingJob.", - "file": "JobClient/GetDataLabelingJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataLabelingJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetDataLabelingJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetDataLabelingJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetDataLabelingJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetDataLabelingJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetDataLabelingJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DataLabelingJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetDataLabelingJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetDataLabelingJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetDataLabelingJob" }, + "description": "GetDataLabelingJob gets a DataLabelingJob.", + "file": "JobClient/GetDataLabelingJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetDataLabelingJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetDataLabelingJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetHyperparameterTuningJob_sync", - "title": "aiplatform GetHyperparameterTuningJob Sample", - "description": "GetHyperparameterTuningJob gets a HyperparameterTuningJob", - "file": "JobClient/GetHyperparameterTuningJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHyperparameterTuningJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetHyperparameterTuningJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetHyperparameterTuningJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetHyperparameterTuningJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetHyperparameterTuningJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.HyperparameterTuningJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetHyperparameterTuningJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetHyperparameterTuningJob" }, + "description": "GetHyperparameterTuningJob gets a HyperparameterTuningJob", + "file": "JobClient/GetHyperparameterTuningJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetHyperparameterTuningJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetHyperparameterTuningJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetIamPolicy_sync", - "title": "aiplatform 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": "JobClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "JobClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "JobClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "JobClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetModelDeploymentMonitoringJob_sync", - "title": "aiplatform GetModelDeploymentMonitoringJob Sample", - "description": "GetModelDeploymentMonitoringJob gets a ModelDeploymentMonitoringJob.", - "file": "JobClient/GetModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelDeploymentMonitoringJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetModelDeploymentMonitoringJob" }, + "description": "GetModelDeploymentMonitoringJob gets a ModelDeploymentMonitoringJob.", + "file": "JobClient/GetModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetNasJob_sync", - "title": "aiplatform GetNasJob Sample", - "description": "GetNasJob gets a NasJob", - "file": "JobClient/GetNasJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNasJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetNasJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetNasJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetNasJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNasJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNasJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NasJob", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetNasJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetNasJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetNasJob" }, + "description": "GetNasJob gets a NasJob", + "file": "JobClient/GetNasJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetNasJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNasJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetNasTrialDetail_sync", - "title": "aiplatform GetNasTrialDetail Sample", - "description": "GetNasTrialDetail gets a NasTrialDetail.", - "file": "JobClient/GetNasTrialDetail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNasTrialDetail", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetNasTrialDetail", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetNasTrialDetail", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetNasTrialDetail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNasTrialDetailRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNasTrialDetailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NasTrialDetail", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetNasTrialDetail", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetNasTrialDetail", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "GetNasTrialDetail" }, + "description": "GetNasTrialDetail gets a NasTrialDetail.", + "file": "JobClient/GetNasTrialDetail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetNasTrialDetail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNasTrialDetail Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListBatchPredictionJobs_sync", - "title": "aiplatform ListBatchPredictionJobs Sample", - "description": "ListBatchPredictionJobs lists BatchPredictionJobs in a Location.", - "file": "JobClient/ListBatchPredictionJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBatchPredictionJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListBatchPredictionJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListBatchPredictionJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListBatchPredictionJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListBatchPredictionJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchPredictionJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListBatchPredictionJobs", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListBatchPredictionJobs" }, + "description": "ListBatchPredictionJobs lists BatchPredictionJobs in a Location.", + "file": "JobClient/ListBatchPredictionJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListBatchPredictionJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListBatchPredictionJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListCustomJobs_sync", - "title": "aiplatform ListCustomJobs Sample", - "description": "ListCustomJobs lists CustomJobs in a Location.", - "file": "JobClient/ListCustomJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListCustomJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListCustomJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListCustomJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListCustomJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListCustomJobs", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListCustomJobs" }, + "description": "ListCustomJobs lists CustomJobs in a Location.", + "file": "JobClient/ListCustomJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListCustomJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListCustomJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListDataLabelingJobs_sync", - "title": "aiplatform ListDataLabelingJobs Sample", - "description": "ListDataLabelingJobs lists DataLabelingJobs in a Location.", - "file": "JobClient/ListDataLabelingJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataLabelingJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListDataLabelingJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListDataLabelingJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListDataLabelingJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListDataLabelingJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataLabelingJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListDataLabelingJobs", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListDataLabelingJobs" }, + "description": "ListDataLabelingJobs lists DataLabelingJobs in a Location.", + "file": "JobClient/ListDataLabelingJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListDataLabelingJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListDataLabelingJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListHyperparameterTuningJobs_sync", - "title": "aiplatform ListHyperparameterTuningJobs Sample", - "description": "ListHyperparameterTuningJobs lists HyperparameterTuningJobs in a Location.", - "file": "JobClient/ListHyperparameterTuningJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHyperparameterTuningJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListHyperparameterTuningJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListHyperparameterTuningJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListHyperparameterTuningJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListHyperparameterTuningJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HyperparameterTuningJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListHyperparameterTuningJobs", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListHyperparameterTuningJobs" }, + "description": "ListHyperparameterTuningJobs lists HyperparameterTuningJobs in a Location.", + "file": "JobClient/ListHyperparameterTuningJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListHyperparameterTuningJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListHyperparameterTuningJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "JobClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "JobClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListModelDeploymentMonitoringJobs_sync", - "title": "aiplatform ListModelDeploymentMonitoringJobs Sample", - "description": "ListModelDeploymentMonitoringJobs lists ModelDeploymentMonitoringJobs in a Location.", - "file": "JobClient/ListModelDeploymentMonitoringJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelDeploymentMonitoringJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListModelDeploymentMonitoringJobs", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListModelDeploymentMonitoringJobs" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelDeploymentMonitoringJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelDeploymentMonitoringJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelDeploymentMonitoringJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListModelDeploymentMonitoringJobs", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListModelDeploymentMonitoringJobs" }, + "description": "ListModelDeploymentMonitoringJobs lists ModelDeploymentMonitoringJobs in a Location.", + "file": "JobClient/ListModelDeploymentMonitoringJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListModelDeploymentMonitoringJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelDeploymentMonitoringJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListNasJobs_sync", - "title": "aiplatform ListNasJobs Sample", - "description": "ListNasJobs lists NasJobs in a Location.", - "file": "JobClient/ListNasJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNasJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListNasJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListNasJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListNasJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNasJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNasJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NasJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListNasJobs", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListNasJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListNasJobs" }, + "description": "ListNasJobs lists NasJobs in a Location.", + "file": "JobClient/ListNasJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListNasJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNasJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListNasTrialDetails_sync", - "title": "aiplatform ListNasTrialDetails Sample", - "description": "ListNasTrialDetails list top NasTrialDetails of a NasJob.", - "file": "JobClient/ListNasTrialDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNasTrialDetails", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListNasTrialDetails", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListNasTrialDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNasTrialDetailsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNasTrialDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NasTrialDetailIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListNasTrialDetails", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ListNasTrialDetails" }, + "description": "ListNasTrialDetails list top NasTrialDetails of a NasJob.", + "file": "JobClient/ListNasTrialDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListNasTrialDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNasTrialDetails Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "JobClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "JobClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_PauseModelDeploymentMonitoringJob_sync", - "title": "aiplatform PauseModelDeploymentMonitoringJob Sample", - "description": "PauseModelDeploymentMonitoringJob pauses a ModelDeploymentMonitoringJob. If the job is running, the server\nmakes a best effort to cancel the job. Will mark\n[ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.state]\nto 'PAUSED'.", - "file": "JobClient/PauseModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.PauseModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.PauseModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "PauseModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PauseModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PauseModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "PauseModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.PauseModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "PauseModelDeploymentMonitoringJob" }, + "description": "PauseModelDeploymentMonitoringJob pauses a ModelDeploymentMonitoringJob. If the job is running, the server\nmakes a best effort to cancel the job. Will mark\n[ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.state]\nto 'PAUSED'.", + "file": "JobClient/PauseModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_PauseModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PauseModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_ResumeModelDeploymentMonitoringJob_sync", - "title": "aiplatform ResumeModelDeploymentMonitoringJob Sample", - "description": "ResumeModelDeploymentMonitoringJob resumes a paused ModelDeploymentMonitoringJob. It will start to run from\nnext scheduled time. A deleted ModelDeploymentMonitoringJob can't be\nresumed.", - "file": "JobClient/ResumeModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.ResumeModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ResumeModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ResumeModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ResumeModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ResumeModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "ResumeModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.ResumeModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "ResumeModelDeploymentMonitoringJob" }, + "description": "ResumeModelDeploymentMonitoringJob resumes a paused ModelDeploymentMonitoringJob. It will start to run from\nnext scheduled time. A deleted ModelDeploymentMonitoringJob can't be\nresumed.", + "file": "JobClient/ResumeModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_ResumeModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ResumeModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_SearchModelDeploymentMonitoringStatsAnomalies_sync", - "title": "aiplatform SearchModelDeploymentMonitoringStatsAnomalies Sample", - "description": "SearchModelDeploymentMonitoringStatsAnomalies searches Model Monitoring Statistics generated within a given time window.", - "file": "JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchModelDeploymentMonitoringStatsAnomalies", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.SearchModelDeploymentMonitoringStatsAnomalies", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "SearchModelDeploymentMonitoringStatsAnomalies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelMonitoringStatsAnomaliesIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "SearchModelDeploymentMonitoringStatsAnomalies", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "SearchModelDeploymentMonitoringStatsAnomalies" }, + "description": "SearchModelDeploymentMonitoringStatsAnomalies searches Model Monitoring Statistics generated within a given time window.", + "file": "JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_SearchModelDeploymentMonitoringStatsAnomalies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchModelDeploymentMonitoringStatsAnomalies Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_SetIamPolicy_sync", - "title": "aiplatform 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": "JobClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "JobClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_TestIamPermissions_sync", - "title": "aiplatform 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": "JobClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "JobClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_UpdateModelDeploymentMonitoringJob_sync", - "title": "aiplatform UpdateModelDeploymentMonitoringJob Sample", - "description": "UpdateModelDeploymentMonitoringJob updates a ModelDeploymentMonitoringJob.", - "file": "JobClient/UpdateModelDeploymentMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModelDeploymentMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.UpdateModelDeploymentMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "shortName": "JobService" + }, + "shortName": "UpdateModelDeploymentMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateModelDeploymentMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateModelDeploymentMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateModelDeploymentMonitoringJobOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "UpdateModelDeploymentMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.aiplatform.v1beta1.JobService" - } - } + "shortName": "UpdateModelDeploymentMonitoringJob" }, + "description": "UpdateModelDeploymentMonitoringJob updates a ModelDeploymentMonitoringJob.", + "file": "JobClient/UpdateModelDeploymentMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_UpdateModelDeploymentMonitoringJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateModelDeploymentMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_JobService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.JobClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.aiplatform.v1beta1.JobClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/WaitOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_JobService_WaitOperation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_ComputeTokens_sync", - "title": "aiplatform ComputeTokens Sample", - "description": "ComputeTokens return a list of tokens based on the input text.", - "file": "LlmUtilityClient/ComputeTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeTokens", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.ComputeTokens", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityService.ComputeTokens", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityService", + "shortName": "LlmUtilityService" + }, + "shortName": "ComputeTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ComputeTokensRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ComputeTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ComputeTokensResponse", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "ComputeTokens", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityService.ComputeTokens", - "service": { - "shortName": "LlmUtilityService", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityService" - } - } + "shortName": "ComputeTokens" }, + "description": "ComputeTokens return a list of tokens based on the input text.", + "file": "LlmUtilityClient/ComputeTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_ComputeTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ComputeTokens Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_GetIamPolicy_sync", - "title": "aiplatform 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": "LlmUtilityClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "LlmUtilityClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "LlmUtilityClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "LlmUtilityClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "LlmUtilityClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "LlmUtilityClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_SetIamPolicy_sync", - "title": "aiplatform 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": "LlmUtilityClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "LlmUtilityClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_TestIamPermissions_sync", - "title": "aiplatform 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": "LlmUtilityClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "LlmUtilityClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "LlmUtilityClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient", + "shortName": "LlmUtilityClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient.WaitOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LlmUtilityClient", - "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "LlmUtilityClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_LlmUtilityService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_FindNeighbors_sync", - "title": "aiplatform FindNeighbors Sample", - "description": "FindNeighbors finds the nearest neighbors of each vector within the request.", - "file": "MatchClient/FindNeighbors/main.go", - "language": "GO", "clientMethod": { - "shortName": "FindNeighbors", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.FindNeighbors", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchService.FindNeighbors", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchService", + "shortName": "MatchService" + }, + "shortName": "FindNeighbors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.FindNeighborsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.FindNeighborsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.FindNeighborsResponse", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "FindNeighbors", - "fullName": "google.cloud.aiplatform.v1beta1.MatchService.FindNeighbors", - "service": { - "shortName": "MatchService", - "fullName": "google.cloud.aiplatform.v1beta1.MatchService" - } - } + "shortName": "FindNeighbors" }, + "description": "FindNeighbors finds the nearest neighbors of each vector within the request.", + "file": "MatchClient/FindNeighbors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_FindNeighbors_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform FindNeighbors Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_GetIamPolicy_sync", - "title": "aiplatform 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": "MatchClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MatchClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MatchClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MatchClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MatchClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MatchClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MatchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MatchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_ReadIndexDatapoints_sync", - "title": "aiplatform ReadIndexDatapoints Sample", - "description": "ReadIndexDatapoints reads the datapoints/vectors of the given IDs.\nA maximum of 1000 datapoints can be retrieved in a batch.", - "file": "MatchClient/ReadIndexDatapoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadIndexDatapoints", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.ReadIndexDatapoints", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchService.ReadIndexDatapoints", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchService", + "shortName": "MatchService" + }, + "shortName": "ReadIndexDatapoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadIndexDatapointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadIndexDatapointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadIndexDatapointsResponse", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "ReadIndexDatapoints", - "fullName": "google.cloud.aiplatform.v1beta1.MatchService.ReadIndexDatapoints", - "service": { - "shortName": "MatchService", - "fullName": "google.cloud.aiplatform.v1beta1.MatchService" - } - } + "shortName": "ReadIndexDatapoints" }, + "description": "ReadIndexDatapoints reads the datapoints/vectors of the given IDs.\nA maximum of 1000 datapoints can be retrieved in a batch.", + "file": "MatchClient/ReadIndexDatapoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_ReadIndexDatapoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadIndexDatapoints Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_SetIamPolicy_sync", - "title": "aiplatform 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": "MatchClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "MatchClient/SetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_SetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_TestIamPermissions_sync", - "title": "aiplatform 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": "MatchClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MatchClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MatchService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MatchClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MatchClient", + "shortName": "MatchClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MatchClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MatchClient", - "fullName": "google.cloud.aiplatform.v1beta1.MatchClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MatchClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MatchService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MemoryBankClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MemoryBankClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_CreateMemory_sync", - "title": "aiplatform CreateMemory Sample", - "description": "CreateMemory create a Memory.", - "file": "MemoryBankClient/CreateMemory/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMemory", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.CreateMemory", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.CreateMemory", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "CreateMemory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateMemoryRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateMemoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMemoryOperation", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "CreateMemory", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.CreateMemory", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "CreateMemory" }, + "description": "CreateMemory create a Memory.", + "file": "MemoryBankClient/CreateMemory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_CreateMemory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateMemory Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_DeleteMemory_sync", - "title": "aiplatform DeleteMemory Sample", - "description": "DeleteMemory delete a Memory.", - "file": "MemoryBankClient/DeleteMemory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMemory", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.DeleteMemory", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.DeleteMemory", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "DeleteMemory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteMemoryRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteMemoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMemoryOperation", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "DeleteMemory", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.DeleteMemory", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "DeleteMemory" }, + "description": "DeleteMemory delete a Memory.", + "file": "MemoryBankClient/DeleteMemory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_DeleteMemory_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteMemory Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MemoryBankClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MemoryBankClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GenerateMemories_sync", - "title": "aiplatform GenerateMemories Sample", - "description": "GenerateMemories generate memories.", - "file": "MemoryBankClient/GenerateMemories/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateMemories", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.GenerateMemories", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.GenerateMemories", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "GenerateMemories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GenerateMemoriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GenerateMemoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GenerateMemoriesOperation", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "GenerateMemories", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.GenerateMemories", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "GenerateMemories" }, + "description": "GenerateMemories generate memories.", + "file": "MemoryBankClient/GenerateMemories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GenerateMemories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GenerateMemories Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetIamPolicy_sync", - "title": "aiplatform 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": "MemoryBankClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MemoryBankClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MemoryBankClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MemoryBankClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetMemory_sync", - "title": "aiplatform GetMemory Sample", - "description": "GetMemory get a Memory.", - "file": "MemoryBankClient/GetMemory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMemory", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.GetMemory", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.GetMemory", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "GetMemory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetMemoryRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetMemoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Memory", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "GetMemory", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.GetMemory", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "GetMemory" }, + "description": "GetMemory get a Memory.", + "file": "MemoryBankClient/GetMemory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetMemory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetMemory Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MemoryBankClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.GetOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MemoryBankClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MemoryBankClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MemoryBankClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_ListMemories_sync", - "title": "aiplatform ListMemories Sample", - "description": "ListMemories list Memories.", - "file": "MemoryBankClient/ListMemories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMemories", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.ListMemories", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.ListMemories", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "ListMemories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListMemoriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListMemoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MemoryIterator", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "ListMemories", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.ListMemories", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "ListMemories" }, + "description": "ListMemories list Memories.", + "file": "MemoryBankClient/ListMemories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_ListMemories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListMemories Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MemoryBankClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MemoryBankClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_RetrieveMemories_sync", - "title": "aiplatform RetrieveMemories Sample", - "description": "RetrieveMemories retrieve memories.", - "file": "MemoryBankClient/RetrieveMemories/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveMemories", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.RetrieveMemories", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.RetrieveMemories", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "RetrieveMemories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RetrieveMemoriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RetrieveMemoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RetrieveMemoriesResponse", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "RetrieveMemories", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.RetrieveMemories", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "RetrieveMemories" }, + "description": "RetrieveMemories retrieve memories.", + "file": "MemoryBankClient/RetrieveMemories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_RetrieveMemories_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RetrieveMemories Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_SetIamPolicy_sync", - "title": "aiplatform 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": "MemoryBankClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MemoryBankClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_TestIamPermissions_sync", - "title": "aiplatform 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": "MemoryBankClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MemoryBankClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_UpdateMemory_sync", - "title": "aiplatform UpdateMemory Sample", - "description": "UpdateMemory update a Memory.", - "file": "MemoryBankClient/UpdateMemory/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMemory", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.UpdateMemory", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.UpdateMemory", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService", + "shortName": "MemoryBankService" + }, + "shortName": "UpdateMemory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateMemoryRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateMemoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMemoryOperation", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "UpdateMemory", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService.UpdateMemory", - "service": { - "shortName": "MemoryBankService", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankService" - } - } + "shortName": "UpdateMemory" }, + "description": "UpdateMemory update a Memory.", + "file": "MemoryBankClient/UpdateMemory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_UpdateMemory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateMemory Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MemoryBankClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient", + "shortName": "MemoryBankClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MemoryBankClient", - "fullName": "google.cloud.aiplatform.v1beta1.MemoryBankClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MemoryBankClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MemoryBankService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_AddContextArtifactsAndExecutions_sync", - "title": "aiplatform AddContextArtifactsAndExecutions Sample", - "description": "AddContextArtifactsAndExecutions adds a set of Artifacts and Executions to a Context. If any of the\nArtifacts or Executions have already been added to a Context, they are\nsimply skipped.", - "file": "MetadataClient/AddContextArtifactsAndExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddContextArtifactsAndExecutions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.AddContextArtifactsAndExecutions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "AddContextArtifactsAndExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddContextArtifactsAndExecutionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddContextArtifactsAndExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AddContextArtifactsAndExecutionsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "AddContextArtifactsAndExecutions", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "AddContextArtifactsAndExecutions" }, + "description": "AddContextArtifactsAndExecutions adds a set of Artifacts and Executions to a Context. If any of the\nArtifacts or Executions have already been added to a Context, they are\nsimply skipped.", + "file": "MetadataClient/AddContextArtifactsAndExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_AddContextArtifactsAndExecutions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddContextArtifactsAndExecutions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_AddContextChildren_sync", - "title": "aiplatform AddContextChildren Sample", - "description": "AddContextChildren adds a set of Contexts as children to a parent Context. If any of the\nchild Contexts have already been added to the parent Context, they are\nsimply skipped. If this call would create a cycle or cause any Context to\nhave more than 10 parents, the request will fail with an INVALID_ARGUMENT\nerror.", - "file": "MetadataClient/AddContextChildren/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddContextChildren", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.AddContextChildren", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "AddContextChildren" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddContextChildrenRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddContextChildrenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AddContextChildrenResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "AddContextChildren", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "AddContextChildren" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "AddContextChildren adds a set of Contexts as children to a parent Context. If any of the\nchild Contexts have already been added to the parent Context, they are\nsimply skipped. If this call would create a cycle or cause any Context to\nhave more than 10 parents, the request will fail with an INVALID_ARGUMENT\nerror.", + "file": "MetadataClient/AddContextChildren/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_AddContextChildren_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddContextChildren Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_AddExecutionEvents_sync", - "title": "aiplatform AddExecutionEvents Sample", - "description": "AddExecutionEvents adds Events to the specified Execution. An Event indicates whether an\nArtifact was used as an input or output for an Execution. If an Event\nalready exists between the Execution and the Artifact, the Event is\nskipped.", - "file": "MetadataClient/AddExecutionEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddExecutionEvents", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.AddExecutionEvents", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "AddExecutionEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddExecutionEventsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddExecutionEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AddExecutionEventsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "AddExecutionEvents", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "AddExecutionEvents" }, + "description": "AddExecutionEvents adds Events to the specified Execution. An Event indicates whether an\nArtifact was used as an input or output for an Execution. If an Event\nalready exists between the Execution and the Artifact, the Event is\nskipped.", + "file": "MetadataClient/AddExecutionEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_AddExecutionEvents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddExecutionEvents Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateArtifact_sync", - "title": "aiplatform CreateArtifact Sample", - "description": "CreateArtifact creates an Artifact associated with a MetadataStore.", - "file": "MetadataClient/CreateArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Artifact", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "CreateArtifact", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "CreateArtifact" }, + "description": "CreateArtifact creates an Artifact associated with a MetadataStore.", + "file": "MetadataClient/CreateArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateArtifact Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateContext_sync", - "title": "aiplatform CreateContext Sample", - "description": "CreateContext creates a Context associated with a MetadataStore.", - "file": "MetadataClient/CreateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateContext", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateContext", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateContext", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Context", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "CreateContext", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "CreateContext" }, + "description": "CreateContext creates a Context associated with a MetadataStore.", + "file": "MetadataClient/CreateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateContext Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateExecution_sync", - "title": "aiplatform CreateExecution Sample", - "description": "CreateExecution creates an Execution associated with a MetadataStore.", - "file": "MetadataClient/CreateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Execution", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "CreateExecution", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "CreateExecution" }, + "description": "CreateExecution creates an Execution associated with a MetadataStore.", + "file": "MetadataClient/CreateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateExecution Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateMetadataSchema_sync", - "title": "aiplatform CreateMetadataSchema Sample", - "description": "CreateMetadataSchema creates a MetadataSchema.", - "file": "MetadataClient/CreateMetadataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataSchema", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateMetadataSchema", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataSchema", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateMetadataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateMetadataSchemaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateMetadataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.MetadataSchema", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "CreateMetadataSchema", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataSchema", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "CreateMetadataSchema" }, + "description": "CreateMetadataSchema creates a MetadataSchema.", + "file": "MetadataClient/CreateMetadataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateMetadataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateMetadataSchema Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateMetadataStore_sync", - "title": "aiplatform CreateMetadataStore Sample", - "description": "CreateMetadataStore initializes a MetadataStore, including allocation of resources.", - "file": "MetadataClient/CreateMetadataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateMetadataStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateMetadataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateMetadataStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateMetadataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataStoreOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "CreateMetadataStore", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "CreateMetadataStore" }, + "description": "CreateMetadataStore initializes a MetadataStore, including allocation of resources.", + "file": "MetadataClient/CreateMetadataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_CreateMetadataStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateMetadataStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteArtifact_sync", - "title": "aiplatform DeleteArtifact Sample", - "description": "DeleteArtifact deletes an Artifact.", - "file": "MetadataClient/DeleteArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteArtifactOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "DeleteArtifact", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "DeleteArtifact" }, + "description": "DeleteArtifact deletes an Artifact.", + "file": "MetadataClient/DeleteArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteArtifact_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteArtifact Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteContext_sync", - "title": "aiplatform DeleteContext Sample", - "description": "DeleteContext deletes a stored Context.", - "file": "MetadataClient/DeleteContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteContext", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteContext", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteContext", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteContextOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "DeleteContext", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "DeleteContext" }, + "description": "DeleteContext deletes a stored Context.", + "file": "MetadataClient/DeleteContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteContext_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteContext Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteExecution_sync", - "title": "aiplatform DeleteExecution Sample", - "description": "DeleteExecution deletes an Execution.", - "file": "MetadataClient/DeleteExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExecutionOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "DeleteExecution", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "DeleteExecution" }, + "description": "DeleteExecution deletes an Execution.", + "file": "MetadataClient/DeleteExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteExecution_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteExecution Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteMetadataStore_sync", - "title": "aiplatform DeleteMetadataStore Sample", - "description": "DeleteMetadataStore deletes a single MetadataStore and all its child resources (Artifacts,\nExecutions, and Contexts).", - "file": "MetadataClient/DeleteMetadataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMetadataStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteMetadataStore", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteMetadataStore" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteMetadataStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteMetadataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMetadataStoreOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "DeleteMetadataStore", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "DeleteMetadataStore" }, + "description": "DeleteMetadataStore deletes a single MetadataStore and all its child resources (Artifacts,\nExecutions, and Contexts).", + "file": "MetadataClient/DeleteMetadataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteMetadataStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteMetadataStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetArtifact_sync", - "title": "aiplatform GetArtifact Sample", - "description": "GetArtifact retrieves a specific Artifact.", - "file": "MetadataClient/GetArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Artifact", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetArtifact", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "GetArtifact" }, + "description": "GetArtifact retrieves a specific Artifact.", + "file": "MetadataClient/GetArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetArtifact Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetContext_sync", - "title": "aiplatform GetContext Sample", - "description": "GetContext retrieves a specific Context.", - "file": "MetadataClient/GetContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetContext", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetContext", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetContext", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Context", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "GetContext" }, + "description": "GetContext retrieves a specific Context.", + "file": "MetadataClient/GetContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetContext Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetExecution_sync", - "title": "aiplatform GetExecution Sample", - "description": "GetExecution retrieves a specific Execution.", - "file": "MetadataClient/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Execution", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution retrieves a specific Execution.", + "file": "MetadataClient/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetExecution Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetIamPolicy_sync", - "title": "aiplatform 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": "MetadataClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MetadataClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MetadataClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MetadataClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetMetadataSchema_sync", - "title": "aiplatform GetMetadataSchema Sample", - "description": "GetMetadataSchema retrieves a specific MetadataSchema.", - "file": "MetadataClient/GetMetadataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataSchema", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetMetadataSchema", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataSchema", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetMetadataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetMetadataSchemaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetMetadataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.MetadataSchema", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetMetadataSchema", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataSchema", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "GetMetadataSchema" }, + "description": "GetMetadataSchema retrieves a specific MetadataSchema.", + "file": "MetadataClient/GetMetadataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetMetadataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetMetadataSchema Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetMetadataStore_sync", - "title": "aiplatform GetMetadataStore Sample", - "description": "GetMetadataStore retrieves a specific MetadataStore.", - "file": "MetadataClient/GetMetadataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataStore", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetMetadataStore", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataStore", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetMetadataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetMetadataStoreRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetMetadataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.MetadataStore", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetMetadataStore", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataStore", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "GetMetadataStore" }, + "description": "GetMetadataStore retrieves a specific MetadataStore.", + "file": "MetadataClient/GetMetadataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetMetadataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetMetadataStore Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListArtifacts_sync", - "title": "aiplatform ListArtifacts Sample", - "description": "ListArtifacts lists Artifacts in the MetadataStore.", - "file": "MetadataClient/ListArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListArtifacts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListArtifacts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListArtifactsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ArtifactIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListArtifacts", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "ListArtifacts" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListArtifacts lists Artifacts in the MetadataStore.", + "file": "MetadataClient/ListArtifacts/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListArtifacts_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListArtifacts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListContexts_sync", - "title": "aiplatform ListContexts Sample", - "description": "ListContexts lists Contexts on the MetadataStore.", - "file": "MetadataClient/ListContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContextIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListContexts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "ListContexts" }, + "description": "ListContexts lists Contexts on the MetadataStore.", + "file": "MetadataClient/ListContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListContexts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListContexts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListExecutions_sync", - "title": "aiplatform ListExecutions Sample", - "description": "ListExecutions lists Executions in the MetadataStore.", - "file": "MetadataClient/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListExecutions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "ListExecutions" }, + "description": "ListExecutions lists Executions in the MetadataStore.", + "file": "MetadataClient/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListExecutions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MetadataClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MetadataClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListMetadataSchemas_sync", - "title": "aiplatform ListMetadataSchemas Sample", - "description": "ListMetadataSchemas lists MetadataSchemas.", - "file": "MetadataClient/ListMetadataSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataSchemas", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListMetadataSchemas", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListMetadataSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListMetadataSchemasRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListMetadataSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataSchemaIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListMetadataSchemas", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "ListMetadataSchemas" }, + "description": "ListMetadataSchemas lists MetadataSchemas.", + "file": "MetadataClient/ListMetadataSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListMetadataSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListMetadataSchemas Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListMetadataStores_sync", - "title": "aiplatform ListMetadataStores Sample", - "description": "ListMetadataStores lists MetadataStores for a Location.", - "file": "MetadataClient/ListMetadataStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataStores", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListMetadataStores", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListMetadataStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListMetadataStoresRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListMetadataStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataStoreIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListMetadataStores", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "ListMetadataStores" }, + "description": "ListMetadataStores lists MetadataStores for a Location.", + "file": "MetadataClient/ListMetadataStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListMetadataStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListMetadataStores Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_PurgeArtifacts_sync", - "title": "aiplatform PurgeArtifacts Sample", - "description": "PurgeArtifacts purges Artifacts.", - "file": "MetadataClient/PurgeArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeArtifacts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.PurgeArtifacts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "PurgeArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PurgeArtifactsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PurgeArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeArtifactsOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "PurgeArtifacts", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "PurgeArtifacts" }, + "description": "PurgeArtifacts purges Artifacts.", + "file": "MetadataClient/PurgeArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_PurgeArtifacts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PurgeArtifacts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_PurgeContexts_sync", - "title": "aiplatform PurgeContexts Sample", - "description": "PurgeContexts purges Contexts.", - "file": "MetadataClient/PurgeContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.PurgeContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "PurgeContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PurgeContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PurgeContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeContextsOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "PurgeContexts", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "PurgeContexts" }, + "description": "PurgeContexts purges Contexts.", + "file": "MetadataClient/PurgeContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_PurgeContexts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PurgeContexts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_PurgeExecutions_sync", - "title": "aiplatform PurgeExecutions Sample", - "description": "PurgeExecutions purges Executions.", - "file": "MetadataClient/PurgeExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeExecutions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.PurgeExecutions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "PurgeExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PurgeExecutionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PurgeExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeExecutionsOperation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "PurgeExecutions", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "PurgeExecutions" }, + "description": "PurgeExecutions purges Executions.", + "file": "MetadataClient/PurgeExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_PurgeExecutions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PurgeExecutions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_QueryArtifactLineageSubgraph_sync", - "title": "aiplatform QueryArtifactLineageSubgraph Sample", - "description": "QueryArtifactLineageSubgraph retrieves lineage of an Artifact represented through Artifacts and\nExecutions connected by Event edges and returned as a LineageSubgraph.", - "file": "MetadataClient/QueryArtifactLineageSubgraph/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryArtifactLineageSubgraph", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.QueryArtifactLineageSubgraph", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "QueryArtifactLineageSubgraph" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryArtifactLineageSubgraphRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryArtifactLineageSubgraphRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.LineageSubgraph", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "QueryArtifactLineageSubgraph", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "QueryArtifactLineageSubgraph" }, + "description": "QueryArtifactLineageSubgraph retrieves lineage of an Artifact represented through Artifacts and\nExecutions connected by Event edges and returned as a LineageSubgraph.", + "file": "MetadataClient/QueryArtifactLineageSubgraph/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_QueryArtifactLineageSubgraph_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryArtifactLineageSubgraph Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_QueryContextLineageSubgraph_sync", - "title": "aiplatform QueryContextLineageSubgraph Sample", - "description": "QueryContextLineageSubgraph retrieves Artifacts and Executions within the specified Context, connected\nby Event edges and returned as a LineageSubgraph.", - "file": "MetadataClient/QueryContextLineageSubgraph/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryContextLineageSubgraph", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.QueryContextLineageSubgraph", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryContextLineageSubgraph", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "QueryContextLineageSubgraph" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryContextLineageSubgraphRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryContextLineageSubgraphRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.LineageSubgraph", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "QueryContextLineageSubgraph", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryContextLineageSubgraph", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "QueryContextLineageSubgraph" }, + "description": "QueryContextLineageSubgraph retrieves Artifacts and Executions within the specified Context, connected\nby Event edges and returned as a LineageSubgraph.", + "file": "MetadataClient/QueryContextLineageSubgraph/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_QueryContextLineageSubgraph_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryContextLineageSubgraph Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_QueryExecutionInputsAndOutputs_sync", - "title": "aiplatform QueryExecutionInputsAndOutputs Sample", - "description": "QueryExecutionInputsAndOutputs obtains the set of input and output Artifacts for this Execution, in the\nform of LineageSubgraph that also contains the Execution and connecting\nEvents.", - "file": "MetadataClient/QueryExecutionInputsAndOutputs/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryExecutionInputsAndOutputs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.QueryExecutionInputsAndOutputs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryExecutionInputsAndOutputs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "QueryExecutionInputsAndOutputs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryExecutionInputsAndOutputsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryExecutionInputsAndOutputsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.LineageSubgraph", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "QueryExecutionInputsAndOutputs", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryExecutionInputsAndOutputs", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "QueryExecutionInputsAndOutputs" }, + "description": "QueryExecutionInputsAndOutputs obtains the set of input and output Artifacts for this Execution, in the\nform of LineageSubgraph that also contains the Execution and connecting\nEvents.", + "file": "MetadataClient/QueryExecutionInputsAndOutputs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_QueryExecutionInputsAndOutputs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryExecutionInputsAndOutputs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_RemoveContextChildren_sync", - "title": "aiplatform RemoveContextChildren Sample", - "description": "RemoveContextChildren remove a set of children contexts from a parent Context. If any of the\nchild Contexts were NOT added to the parent Context, they are\nsimply skipped.", - "file": "MetadataClient/RemoveContextChildren/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveContextChildren", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.RemoveContextChildren", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.RemoveContextChildren", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "RemoveContextChildren" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RemoveContextChildrenRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RemoveContextChildrenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RemoveContextChildrenResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "RemoveContextChildren", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.RemoveContextChildren", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "RemoveContextChildren" }, + "description": "RemoveContextChildren remove a set of children contexts from a parent Context. If any of the\nchild Contexts were NOT added to the parent Context, they are\nsimply skipped.", + "file": "MetadataClient/RemoveContextChildren/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_RemoveContextChildren_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RemoveContextChildren Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_SetIamPolicy_sync", - "title": "aiplatform 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": "MetadataClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MetadataClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_TestIamPermissions_sync", - "title": "aiplatform 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": "MetadataClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MetadataClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_UpdateArtifact_sync", - "title": "aiplatform UpdateArtifact Sample", - "description": "UpdateArtifact updates a stored Artifact.", - "file": "MetadataClient/UpdateArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateArtifact", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.UpdateArtifact", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateArtifact", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateArtifactRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Artifact", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "UpdateArtifact", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateArtifact", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "UpdateArtifact" }, + "description": "UpdateArtifact updates a stored Artifact.", + "file": "MetadataClient/UpdateArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_UpdateArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateArtifact Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_UpdateContext_sync", - "title": "aiplatform UpdateContext Sample", - "description": "UpdateContext updates a stored Context.", - "file": "MetadataClient/UpdateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateContext", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.UpdateContext", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateContext", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateContextRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Context", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "UpdateContext", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateContext", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "UpdateContext" }, + "description": "UpdateContext updates a stored Context.", + "file": "MetadataClient/UpdateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_UpdateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateContext Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_UpdateExecution_sync", - "title": "aiplatform UpdateExecution Sample", - "description": "UpdateExecution updates a stored Execution.", - "file": "MetadataClient/UpdateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExecution", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.UpdateExecution", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateExecution", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateExecutionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Execution", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "UpdateExecution", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateExecution", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataService" - } - } + "shortName": "UpdateExecution" }, + "description": "UpdateExecution updates a stored Execution.", + "file": "MetadataClient/UpdateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_UpdateExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateExecution Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MetadataService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.aiplatform.v1beta1.MetadataClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MetadataService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_BatchMigrateResources_sync", - "title": "aiplatform BatchMigrateResources Sample", - "description": "BatchMigrateResources batch migrates resources from ml.googleapis.com, automl.googleapis.com,\nand datalabeling.googleapis.com to Vertex AI.", - "file": "MigrationClient/BatchMigrateResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchMigrateResources", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.BatchMigrateResources", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "BatchMigrateResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchMigrateResourcesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchMigrateResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchMigrateResourcesOperation", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "BatchMigrateResources", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationService" - } - } + "shortName": "BatchMigrateResources" }, + "description": "BatchMigrateResources batch migrates resources from ml.googleapis.com, automl.googleapis.com,\nand datalabeling.googleapis.com to Vertex AI.", + "file": "MigrationClient/BatchMigrateResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_BatchMigrateResources_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchMigrateResources Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/CancelOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_CancelOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_GetIamPolicy_sync", - "title": "aiplatform 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": "MigrationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MigrationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MigrationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MigrationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MigrationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MigrationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_SearchMigratableResources_sync", - "title": "aiplatform SearchMigratableResources Sample", - "description": "SearchMigratableResources searches all of the resources in automl.googleapis.com,\ndatalabeling.googleapis.com and ml.googleapis.com that can be migrated to\nVertex AI's given location.", - "file": "MigrationClient/SearchMigratableResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchMigratableResources", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.SearchMigratableResources", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "SearchMigratableResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchMigratableResourcesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchMigratableResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigratableResourceIterator", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "SearchMigratableResources", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationService" - } - } + "shortName": "SearchMigratableResources" }, + "description": "SearchMigratableResources searches all of the resources in automl.googleapis.com,\ndatalabeling.googleapis.com and ml.googleapis.com that can be migrated to\nVertex AI's given location.", + "file": "MigrationClient/SearchMigratableResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_SearchMigratableResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchMigratableResources Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_SetIamPolicy_sync", - "title": "aiplatform 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": "MigrationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MigrationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_TestIamPermissions_sync", - "title": "aiplatform 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": "MigrationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MigrationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_MigrationService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "MigrationClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient", + "shortName": "MigrationClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MigrationClient", - "fullName": "google.cloud.aiplatform.v1beta1.MigrationClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "MigrationClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_MigrationService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_AcceptPublisherModelEula_sync", - "title": "aiplatform AcceptPublisherModelEula Sample", - "description": "AcceptPublisherModelEula accepts the EULA acceptance status of a publisher model.", - "file": "ModelGardenClient/AcceptPublisherModelEula/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptPublisherModelEula", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.AcceptPublisherModelEula", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.AcceptPublisherModelEula", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "AcceptPublisherModelEula" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AcceptPublisherModelEulaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AcceptPublisherModelEulaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PublisherModelEulaAcceptance", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "AcceptPublisherModelEula", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.AcceptPublisherModelEula", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "AcceptPublisherModelEula" }, + "description": "AcceptPublisherModelEula accepts the EULA acceptance status of a publisher model.", + "file": "ModelGardenClient/AcceptPublisherModelEula/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_AcceptPublisherModelEula_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AcceptPublisherModelEula Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_CheckPublisherModelEulaAcceptance_sync", - "title": "aiplatform CheckPublisherModelEulaAcceptance Sample", - "description": "CheckPublisherModelEulaAcceptance checks the EULA acceptance status of a publisher model.", - "file": "ModelGardenClient/CheckPublisherModelEulaAcceptance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckPublisherModelEulaAcceptance", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.CheckPublisherModelEulaAcceptance", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.CheckPublisherModelEulaAcceptance", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "CheckPublisherModelEulaAcceptance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CheckPublisherModelEulaAcceptanceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CheckPublisherModelEulaAcceptanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PublisherModelEulaAcceptance", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "CheckPublisherModelEulaAcceptance", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.CheckPublisherModelEulaAcceptance", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "CheckPublisherModelEulaAcceptance" }, + "description": "CheckPublisherModelEulaAcceptance checks the EULA acceptance status of a publisher model.", + "file": "ModelGardenClient/CheckPublisherModelEulaAcceptance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_CheckPublisherModelEulaAcceptance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CheckPublisherModelEulaAcceptance Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_Deploy_sync", - "title": "aiplatform Deploy Sample", - "description": "Deploy deploys a model to a new endpoint.", - "file": "ModelGardenClient/Deploy/main.go", - "language": "GO", "clientMethod": { - "shortName": "Deploy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.Deploy", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.Deploy", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "Deploy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployOperation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "Deploy", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.Deploy", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "Deploy" }, + "description": "Deploy deploys a model to a new endpoint.", + "file": "ModelGardenClient/Deploy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_Deploy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform Deploy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_DeployPublisherModel_sync", - "title": "aiplatform DeployPublisherModel Sample", - "description": "DeployPublisherModel deploys publisher models.\n\n\nDeprecated: DeployPublisherModel may be removed in a future version.", - "file": "ModelGardenClient/DeployPublisherModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployPublisherModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.DeployPublisherModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "DeployPublisherModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeployPublisherModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeployPublisherModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployPublisherModelOperation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "DeployPublisherModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.DeployPublisherModel", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "DeployPublisherModel" }, + "description": "DeployPublisherModel deploys publisher models.\n\n\nDeprecated: DeployPublisherModel may be removed in a future version.", + "file": "ModelGardenClient/DeployPublisherModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_DeployPublisherModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeployPublisherModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ExportPublisherModel_sync", - "title": "aiplatform ExportPublisherModel Sample", - "description": "ExportPublisherModel exports a publisher model to a user provided Google Cloud Storage bucket.", - "file": "ModelGardenClient/ExportPublisherModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportPublisherModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.ExportPublisherModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.ExportPublisherModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "ExportPublisherModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportPublisherModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportPublisherModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportPublisherModelOperation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "ExportPublisherModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.ExportPublisherModel", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "ExportPublisherModel" }, + "description": "ExportPublisherModel exports a publisher model to a user provided Google Cloud Storage bucket.", + "file": "ModelGardenClient/ExportPublisherModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ExportPublisherModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportPublisherModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetIamPolicy_sync", - "title": "aiplatform 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": "ModelGardenClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ModelGardenClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ModelGardenClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ModelGardenClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetPublisherModel_sync", - "title": "aiplatform GetPublisherModel Sample", - "description": "GetPublisherModel gets a Model Garden publisher model.", - "file": "ModelGardenClient/GetPublisherModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPublisherModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.GetPublisherModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.GetPublisherModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "GetPublisherModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetPublisherModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetPublisherModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PublisherModel", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "GetPublisherModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.GetPublisherModel", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "GetPublisherModel" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetPublisherModel gets a Model Garden publisher model.", + "file": "ModelGardenClient/GetPublisherModel/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_GetPublisherModel_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetPublisherModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ModelGardenClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ModelGardenClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ListPublisherModels_sync", - "title": "aiplatform ListPublisherModels Sample", - "description": "ListPublisherModels lists publisher models in Model Garden.", - "file": "ModelGardenClient/ListPublisherModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPublisherModels", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.ListPublisherModels", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModels", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "shortName": "ModelGardenService" + }, + "shortName": "ListPublisherModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListPublisherModelsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListPublisherModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublisherModelIterator", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "ListPublisherModels", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModels", - "service": { - "shortName": "ModelGardenService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService" - } - } + "shortName": "ListPublisherModels" }, + "description": "ListPublisherModels lists publisher models in Model Garden.", + "file": "ModelGardenClient/ListPublisherModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_ListPublisherModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListPublisherModels Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_SetIamPolicy_sync", - "title": "aiplatform 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": "ModelGardenClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ModelGardenClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_TestIamPermissions_sync", - "title": "aiplatform 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": "ModelGardenClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ModelGardenClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ModelGardenClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient", + "shortName": "ModelGardenClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelGardenClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ModelGardenClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelGardenService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelMonitoringClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelMonitoringClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_CreateModelMonitor_sync", - "title": "aiplatform CreateModelMonitor Sample", - "description": "CreateModelMonitor creates a ModelMonitor.", - "file": "ModelMonitoringClient/CreateModelMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModelMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.CreateModelMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.CreateModelMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "CreateModelMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateModelMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateModelMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelMonitorOperation", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "CreateModelMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.CreateModelMonitor", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "CreateModelMonitor" }, + "description": "CreateModelMonitor creates a ModelMonitor.", + "file": "ModelMonitoringClient/CreateModelMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_CreateModelMonitor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateModelMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_CreateModelMonitoringJob_sync", - "title": "aiplatform CreateModelMonitoringJob Sample", - "description": "CreateModelMonitoringJob creates a ModelMonitoringJob.", - "file": "ModelMonitoringClient/CreateModelMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModelMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.CreateModelMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.CreateModelMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "CreateModelMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateModelMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateModelMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelMonitoringJob", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "CreateModelMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.CreateModelMonitoringJob", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "CreateModelMonitoringJob" }, + "description": "CreateModelMonitoringJob creates a ModelMonitoringJob.", + "file": "ModelMonitoringClient/CreateModelMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_CreateModelMonitoringJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateModelMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_DeleteModelMonitor_sync", - "title": "aiplatform DeleteModelMonitor Sample", - "description": "DeleteModelMonitor deletes a ModelMonitor.", - "file": "ModelMonitoringClient/DeleteModelMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModelMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.DeleteModelMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.DeleteModelMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "DeleteModelMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelMonitorOperation", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "DeleteModelMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.DeleteModelMonitor", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "DeleteModelMonitor" }, + "description": "DeleteModelMonitor deletes a ModelMonitor.", + "file": "ModelMonitoringClient/DeleteModelMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_DeleteModelMonitor_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModelMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_DeleteModelMonitoringJob_sync", - "title": "aiplatform DeleteModelMonitoringJob Sample", - "description": "DeleteModelMonitoringJob deletes a ModelMonitoringJob.", - "file": "ModelMonitoringClient/DeleteModelMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModelMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.DeleteModelMonitoringJob", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.DeleteModelMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "DeleteModelMonitoringJob" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelMonitoringJobOperation", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "DeleteModelMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.DeleteModelMonitoringJob", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "DeleteModelMonitoringJob" }, + "description": "DeleteModelMonitoringJob deletes a ModelMonitoringJob.", + "file": "ModelMonitoringClient/DeleteModelMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_DeleteModelMonitoringJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModelMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelMonitoringClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelMonitoringClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetIamPolicy_sync", - "title": "aiplatform 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": "ModelMonitoringClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ModelMonitoringClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ModelMonitoringClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ModelMonitoringClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetModelMonitor_sync", - "title": "aiplatform GetModelMonitor Sample", - "description": "GetModelMonitor gets a ModelMonitor.", - "file": "ModelMonitoringClient/GetModelMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.GetModelMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.GetModelMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "GetModelMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelMonitor", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "GetModelMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.GetModelMonitor", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "GetModelMonitor" }, + "description": "GetModelMonitor gets a ModelMonitor.", + "file": "ModelMonitoringClient/GetModelMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetModelMonitor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetModelMonitoringJob_sync", - "title": "aiplatform GetModelMonitoringJob Sample", - "description": "GetModelMonitoringJob gets a ModelMonitoringJob.", - "file": "ModelMonitoringClient/GetModelMonitoringJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelMonitoringJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.GetModelMonitoringJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.GetModelMonitoringJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "GetModelMonitoringJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelMonitoringJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelMonitoringJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelMonitoringJob", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "GetModelMonitoringJob", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.GetModelMonitoringJob", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "GetModelMonitoringJob" }, + "description": "GetModelMonitoringJob gets a ModelMonitoringJob.", + "file": "ModelMonitoringClient/GetModelMonitoringJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetModelMonitoringJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelMonitoringJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelMonitoringClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelMonitoringClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ModelMonitoringClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ModelMonitoringClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListModelMonitoringJobs_sync", - "title": "aiplatform ListModelMonitoringJobs Sample", - "description": "ListModelMonitoringJobs lists ModelMonitoringJobs.\nCallers may choose to read across multiple Monitors as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of modelMonitor id in the\nparent. Format\n`projects/{project_id}/locations/{location}/moodelMonitors/-/modelMonitoringJobs`", - "file": "ModelMonitoringClient/ListModelMonitoringJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelMonitoringJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.ListModelMonitoringJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.ListModelMonitoringJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "ListModelMonitoringJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelMonitoringJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelMonitoringJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelMonitoringJobIterator", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "ListModelMonitoringJobs", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.ListModelMonitoringJobs", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "ListModelMonitoringJobs" }, + "description": "ListModelMonitoringJobs lists ModelMonitoringJobs.\nCallers may choose to read across multiple Monitors as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of modelMonitor id in the\nparent. Format\n`projects/{project_id}/locations/{location}/moodelMonitors/-/modelMonitoringJobs`", + "file": "ModelMonitoringClient/ListModelMonitoringJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListModelMonitoringJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelMonitoringJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListModelMonitors_sync", - "title": "aiplatform ListModelMonitors Sample", - "description": "ListModelMonitors lists ModelMonitors in a Location.", - "file": "ModelMonitoringClient/ListModelMonitors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelMonitors", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.ListModelMonitors", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.ListModelMonitors", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "ListModelMonitors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelMonitorsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelMonitorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelMonitorIterator", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "ListModelMonitors", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.ListModelMonitors", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "ListModelMonitors" }, + "description": "ListModelMonitors lists ModelMonitors in a Location.", + "file": "ModelMonitoringClient/ListModelMonitors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListModelMonitors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelMonitors Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelMonitoringClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelMonitoringClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_SearchModelMonitoringAlerts_sync", - "title": "aiplatform SearchModelMonitoringAlerts Sample", - "description": "SearchModelMonitoringAlerts returns the Model Monitoring alerts.", - "file": "ModelMonitoringClient/SearchModelMonitoringAlerts/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchModelMonitoringAlerts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.SearchModelMonitoringAlerts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "SearchModelMonitoringAlerts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchModelMonitoringAlertsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchModelMonitoringAlertsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelMonitoringAlertIterator", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "SearchModelMonitoringAlerts", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringAlerts", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "SearchModelMonitoringAlerts" }, + "description": "SearchModelMonitoringAlerts returns the Model Monitoring alerts.", + "file": "ModelMonitoringClient/SearchModelMonitoringAlerts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_SearchModelMonitoringAlerts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchModelMonitoringAlerts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_SearchModelMonitoringStats_sync", - "title": "aiplatform SearchModelMonitoringStats Sample", - "description": "SearchModelMonitoringStats searches Model Monitoring Stats generated within a given time window.", - "file": "ModelMonitoringClient/SearchModelMonitoringStats/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchModelMonitoringStats", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.SearchModelMonitoringStats", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringStats", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "SearchModelMonitoringStats" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SearchModelMonitoringStatsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SearchModelMonitoringStatsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelMonitoringStatsIterator", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "SearchModelMonitoringStats", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.SearchModelMonitoringStats", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "SearchModelMonitoringStats" }, + "description": "SearchModelMonitoringStats searches Model Monitoring Stats generated within a given time window.", + "file": "ModelMonitoringClient/SearchModelMonitoringStats/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_SearchModelMonitoringStats_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SearchModelMonitoringStats Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_SetIamPolicy_sync", - "title": "aiplatform 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": "ModelMonitoringClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ModelMonitoringClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_TestIamPermissions_sync", - "title": "aiplatform 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": "ModelMonitoringClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ModelMonitoringClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_UpdateModelMonitor_sync", - "title": "aiplatform UpdateModelMonitor Sample", - "description": "UpdateModelMonitor updates a ModelMonitor.", - "file": "ModelMonitoringClient/UpdateModelMonitor/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModelMonitor", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.UpdateModelMonitor", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.UpdateModelMonitor", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService", + "shortName": "ModelMonitoringService" + }, + "shortName": "UpdateModelMonitor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateModelMonitorRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateModelMonitorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateModelMonitorOperation", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "UpdateModelMonitor", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService.UpdateModelMonitor", - "service": { - "shortName": "ModelMonitoringService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringService" - } - } + "shortName": "UpdateModelMonitor" }, + "description": "UpdateModelMonitor updates a ModelMonitor.", + "file": "ModelMonitoringClient/UpdateModelMonitor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_UpdateModelMonitor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateModelMonitor Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ModelMonitoringClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient", + "shortName": "ModelMonitoringClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelMonitoringClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelMonitoringClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ModelMonitoringClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelMonitoringService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_BatchImportEvaluatedAnnotations_sync", - "title": "aiplatform BatchImportEvaluatedAnnotations Sample", - "description": "BatchImportEvaluatedAnnotations imports a list of externally generated EvaluatedAnnotations.", - "file": "ModelClient/BatchImportEvaluatedAnnotations/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchImportEvaluatedAnnotations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.BatchImportEvaluatedAnnotations", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.BatchImportEvaluatedAnnotations", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "BatchImportEvaluatedAnnotations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchImportEvaluatedAnnotationsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchImportEvaluatedAnnotationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchImportEvaluatedAnnotationsResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "BatchImportEvaluatedAnnotations", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.BatchImportEvaluatedAnnotations", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "BatchImportEvaluatedAnnotations" }, + "description": "BatchImportEvaluatedAnnotations imports a list of externally generated EvaluatedAnnotations.", + "file": "ModelClient/BatchImportEvaluatedAnnotations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_BatchImportEvaluatedAnnotations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchImportEvaluatedAnnotations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_BatchImportModelEvaluationSlices_sync", - "title": "aiplatform BatchImportModelEvaluationSlices Sample", - "description": "BatchImportModelEvaluationSlices imports a list of externally generated ModelEvaluationSlice.", - "file": "ModelClient/BatchImportModelEvaluationSlices/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchImportModelEvaluationSlices", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.BatchImportModelEvaluationSlices", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.BatchImportModelEvaluationSlices", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "BatchImportModelEvaluationSlices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchImportModelEvaluationSlicesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchImportModelEvaluationSlicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchImportModelEvaluationSlicesResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "BatchImportModelEvaluationSlices", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.BatchImportModelEvaluationSlices", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "BatchImportModelEvaluationSlices" }, + "description": "BatchImportModelEvaluationSlices imports a list of externally generated ModelEvaluationSlice.", + "file": "ModelClient/BatchImportModelEvaluationSlices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_BatchImportModelEvaluationSlices_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchImportModelEvaluationSlices Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_CopyModel_sync", - "title": "aiplatform CopyModel Sample", - "description": "CopyModel copies an already existing Vertex AI Model into the specified Location.\nThe source Model must exist in the same Project.\nWhen copying custom Models, the users themselves are responsible for\n[Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to\nbe region-agnostic, as well as making sure that any resources (e.g. files)\nit depends on remain accessible.", - "file": "ModelClient/CopyModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CopyModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.CopyModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.CopyModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "CopyModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CopyModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CopyModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CopyModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "CopyModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.CopyModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "CopyModel" }, + "description": "CopyModel copies an already existing Vertex AI Model into the specified Location.\nThe source Model must exist in the same Project.\nWhen copying custom Models, the users themselves are responsible for\n[Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to\nbe region-agnostic, as well as making sure that any resources (e.g. files)\nit depends on remain accessible.", + "file": "ModelClient/CopyModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_CopyModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CopyModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteModel_sync", - "title": "aiplatform DeleteModel Sample", - "description": "DeleteModel deletes a Model.\n\nA model cannot be deleted if any\n[Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] resource has a\n[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] based on the\nmodel in its\n[deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models]\nfield.", - "file": "ModelClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.DeleteModel", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.DeleteModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModel" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.DeleteModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes a Model.\n\nA model cannot be deleted if any\n[Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] resource has a\n[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] based on the\nmodel in its\n[deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models]\nfield.", + "file": "ModelClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteModelVersion_sync", - "title": "aiplatform DeleteModelVersion Sample", - "description": "DeleteModelVersion deletes a Model version.\n\nModel version can only be deleted if there are no\n[DeployedModels][google.cloud.aiplatform.v1beta1.DeployedModel] created\nfrom it. Deleting the only version in the Model is not allowed. Use\n[DeleteModel][google.cloud.aiplatform.v1beta1.ModelService.DeleteModel] for\ndeleting the Model instead.", - "file": "ModelClient/DeleteModelVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModelVersion", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.DeleteModelVersion", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.DeleteModelVersion", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModelVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteModelVersionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteModelVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelVersionOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "DeleteModelVersion", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.DeleteModelVersion", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "DeleteModelVersion" }, + "description": "DeleteModelVersion deletes a Model version.\n\nModel version can only be deleted if there are no\n[DeployedModels][google.cloud.aiplatform.v1beta1.DeployedModel] created\nfrom it. Deleting the only version in the Model is not allowed. Use\n[DeleteModel][google.cloud.aiplatform.v1beta1.ModelService.DeleteModel] for\ndeleting the Model instead.", + "file": "ModelClient/DeleteModelVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteModelVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteModelVersion Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ExportModel_sync", - "title": "aiplatform ExportModel Sample", - "description": "ExportModel exports a trained, exportable Model to a location specified by the\nuser. A Model is considered to be exportable if it has at least one\n[supported export\nformat][google.cloud.aiplatform.v1beta1.Model.supported_export_formats].", - "file": "ModelClient/ExportModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ExportModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ExportModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ExportModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ExportModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ExportModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ExportModel" }, + "description": "ExportModel exports a trained, exportable Model to a location specified by the\nuser. A Model is considered to be exportable if it has at least one\n[supported export\nformat][google.cloud.aiplatform.v1beta1.Model.supported_export_formats].", + "file": "ModelClient/ExportModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ExportModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_GetIamPolicy_sync", - "title": "aiplatform 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": "ModelClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ModelClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ModelClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ModelClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_GetModel_sync", - "title": "aiplatform GetModel Sample", - "description": "GetModel gets a Model.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a Model.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_GetModelEvaluation_sync", - "title": "aiplatform GetModelEvaluation Sample", - "description": "GetModelEvaluation gets a ModelEvaluation.", - "file": "ModelClient/GetModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelEvaluation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetModelEvaluation", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluation", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelEvaluation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "GetModelEvaluation", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluation", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "GetModelEvaluation" }, + "description": "GetModelEvaluation gets a ModelEvaluation.", + "file": "ModelClient/GetModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_GetModelEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelEvaluation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_GetModelEvaluationSlice_sync", - "title": "aiplatform GetModelEvaluationSlice Sample", - "description": "GetModelEvaluationSlice gets a ModelEvaluationSlice.", - "file": "ModelClient/GetModelEvaluationSlice/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelEvaluationSlice", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetModelEvaluationSlice", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSlice", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModelEvaluationSlice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetModelEvaluationSliceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetModelEvaluationSliceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelEvaluationSlice", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "GetModelEvaluationSlice", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSlice", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "GetModelEvaluationSlice" }, + "description": "GetModelEvaluationSlice gets a ModelEvaluationSlice.", + "file": "ModelClient/GetModelEvaluationSlice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_GetModelEvaluationSlice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetModelEvaluationSlice Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ImportModelEvaluation_sync", - "title": "aiplatform ImportModelEvaluation Sample", - "description": "ImportModelEvaluation imports an externally generated ModelEvaluation.", - "file": "ModelClient/ImportModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportModelEvaluation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ImportModelEvaluation", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ImportModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ModelEvaluation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ImportModelEvaluation", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ImportModelEvaluation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ImportModelEvaluation imports an externally generated ModelEvaluation.", + "file": "ModelClient/ImportModelEvaluation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ImportModelEvaluation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportModelEvaluation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ModelClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ModelClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelEvaluationSlices_sync", - "title": "aiplatform ListModelEvaluationSlices Sample", - "description": "ListModelEvaluationSlices lists ModelEvaluationSlices in a ModelEvaluation.", - "file": "ModelClient/ListModelEvaluationSlices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelEvaluationSlices", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModelEvaluationSlices", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelEvaluationSlices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelEvaluationSlicesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelEvaluationSlicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelEvaluationSliceIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListModelEvaluationSlices", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ListModelEvaluationSlices" }, + "description": "ListModelEvaluationSlices lists ModelEvaluationSlices in a ModelEvaluation.", + "file": "ModelClient/ListModelEvaluationSlices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelEvaluationSlices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelEvaluationSlices Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelEvaluations_sync", - "title": "aiplatform ListModelEvaluations Sample", - "description": "ListModelEvaluations lists ModelEvaluations in a Model.", - "file": "ModelClient/ListModelEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelEvaluations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModelEvaluations", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelEvaluationsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelEvaluationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListModelEvaluations", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ListModelEvaluations" }, + "description": "ListModelEvaluations lists ModelEvaluations in a Model.", + "file": "ModelClient/ListModelEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelEvaluations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelVersionCheckpoints_sync", - "title": "aiplatform ListModelVersionCheckpoints Sample", - "description": "ListModelVersionCheckpoints lists checkpoints of the specified model version.", - "file": "ModelClient/ListModelVersionCheckpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelVersionCheckpoints", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModelVersionCheckpoints", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelVersionCheckpoints", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelVersionCheckpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelVersionCheckpointsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelVersionCheckpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelVersionCheckpointIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListModelVersionCheckpoints", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelVersionCheckpoints", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ListModelVersionCheckpoints" }, + "description": "ListModelVersionCheckpoints lists checkpoints of the specified model version.", + "file": "ModelClient/ListModelVersionCheckpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelVersionCheckpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelVersionCheckpoints Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelVersions_sync", - "title": "aiplatform ListModelVersions Sample", - "description": "ListModelVersions lists versions of the specified model.", - "file": "ModelClient/ListModelVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelVersions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModelVersions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModelVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelVersionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListModelVersions", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ListModelVersions" }, + "description": "ListModelVersions lists versions of the specified model.", + "file": "ModelClient/ListModelVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModelVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModelVersions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModels_sync", - "title": "aiplatform ListModels Sample", - "description": "ListModels lists Models in a Location.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModels", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModels", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists Models in a Location.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListModels Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_MergeVersionAliases_sync", - "title": "aiplatform MergeVersionAliases Sample", - "description": "MergeVersionAliases merges a set of aliases for a Model version.", - "file": "ModelClient/MergeVersionAliases/main.go", - "language": "GO", "clientMethod": { - "shortName": "MergeVersionAliases", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.MergeVersionAliases", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "MergeVersionAliases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.MergeVersionAliasesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.MergeVersionAliasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "MergeVersionAliases", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "MergeVersionAliases" }, + "description": "MergeVersionAliases merges a set of aliases for a Model version.", + "file": "ModelClient/MergeVersionAliases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_MergeVersionAliases_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform MergeVersionAliases Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_RecommendSpec_sync", - "title": "aiplatform RecommendSpec Sample", - "description": "RecommendSpec gets a Model's spec recommendations.", - "file": "ModelClient/RecommendSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecommendSpec", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.RecommendSpec", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.RecommendSpec", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "RecommendSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RecommendSpecRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RecommendSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RecommendSpecResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "RecommendSpec", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.RecommendSpec", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "RecommendSpec" }, + "description": "RecommendSpec gets a Model's spec recommendations.", + "file": "ModelClient/RecommendSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_RecommendSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RecommendSpec Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_SetIamPolicy_sync", - "title": "aiplatform 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": "ModelClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ModelClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_TestIamPermissions_sync", - "title": "aiplatform 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": "ModelClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ModelClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_UpdateExplanationDataset_sync", - "title": "aiplatform UpdateExplanationDataset Sample", - "description": "UpdateExplanationDataset incrementally update the dataset used for an examples model.", - "file": "ModelClient/UpdateExplanationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExplanationDataset", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.UpdateExplanationDataset", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateExplanationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateExplanationDatasetRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateExplanationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateExplanationDatasetOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "UpdateExplanationDataset", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "UpdateExplanationDataset" }, + "description": "UpdateExplanationDataset incrementally update the dataset used for an examples model.", + "file": "ModelClient/UpdateExplanationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_UpdateExplanationDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateExplanationDataset Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_UpdateModel_sync", - "title": "aiplatform UpdateModel Sample", - "description": "UpdateModel updates a Model.", - "file": "ModelClient/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.UpdateModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UpdateModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "UpdateModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UpdateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "UpdateModel" }, + "description": "UpdateModel updates a Model.", + "file": "ModelClient/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_UpdateModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_UploadModel_sync", - "title": "aiplatform UploadModel Sample", - "description": "UploadModel uploads a Model artifact into Vertex AI.", - "file": "ModelClient/UploadModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadModel", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.UploadModel", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UploadModel", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "shortName": "ModelService" + }, + "shortName": "UploadModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UploadModelRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UploadModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UploadModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "UploadModel", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UploadModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.aiplatform.v1beta1.ModelService" - } - } + "shortName": "UploadModel" }, + "description": "UploadModel uploads a Model artifact into Vertex AI.", + "file": "ModelClient/UploadModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_UploadModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UploadModel Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ModelService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ModelClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.aiplatform.v1beta1.ModelClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ModelService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_AssignNotebookRuntime_sync", - "title": "aiplatform AssignNotebookRuntime Sample", - "description": "AssignNotebookRuntime assigns a NotebookRuntime to a user for a particular Notebook file. This\nmethod will either returns an existing assignment or generates a new one.", - "file": "NotebookClient/AssignNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "AssignNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.AssignNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.AssignNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "AssignNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AssignNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AssignNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssignNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "AssignNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.AssignNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "AssignNotebookRuntime" }, + "description": "AssignNotebookRuntime assigns a NotebookRuntime to a user for a particular Notebook file. This\nmethod will either returns an existing assignment or generates a new one.", + "file": "NotebookClient/AssignNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_AssignNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AssignNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_CreateNotebookExecutionJob_sync", - "title": "aiplatform CreateNotebookExecutionJob Sample", - "description": "CreateNotebookExecutionJob creates a NotebookExecutionJob.", - "file": "NotebookClient/CreateNotebookExecutionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotebookExecutionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.CreateNotebookExecutionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.CreateNotebookExecutionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateNotebookExecutionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateNotebookExecutionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateNotebookExecutionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNotebookExecutionJobOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "CreateNotebookExecutionJob", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.CreateNotebookExecutionJob", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "CreateNotebookExecutionJob" }, + "description": "CreateNotebookExecutionJob creates a NotebookExecutionJob.", + "file": "NotebookClient/CreateNotebookExecutionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_CreateNotebookExecutionJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateNotebookExecutionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_CreateNotebookRuntimeTemplate_sync", - "title": "aiplatform CreateNotebookRuntimeTemplate Sample", - "description": "CreateNotebookRuntimeTemplate creates a NotebookRuntimeTemplate.", - "file": "NotebookClient/CreateNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.CreateNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.CreateNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNotebookRuntimeTemplateOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "CreateNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.CreateNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "CreateNotebookRuntimeTemplate" }, + "description": "CreateNotebookRuntimeTemplate creates a NotebookRuntimeTemplate.", + "file": "NotebookClient/CreateNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_CreateNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_sync", - "title": "aiplatform DeleteNotebookExecutionJob Sample", - "description": "DeleteNotebookExecutionJob deletes a NotebookExecutionJob.", - "file": "NotebookClient/DeleteNotebookExecutionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotebookExecutionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.DeleteNotebookExecutionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.DeleteNotebookExecutionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteNotebookExecutionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNotebookExecutionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNotebookExecutionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNotebookExecutionJobOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteNotebookExecutionJob", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.DeleteNotebookExecutionJob", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "DeleteNotebookExecutionJob" }, + "description": "DeleteNotebookExecutionJob deletes a NotebookExecutionJob.", + "file": "NotebookClient/DeleteNotebookExecutionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNotebookExecutionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteNotebookRuntime_sync", - "title": "aiplatform DeleteNotebookRuntime Sample", - "description": "DeleteNotebookRuntime deletes a NotebookRuntime.", - "file": "NotebookClient/DeleteNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.DeleteNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.DeleteNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.DeleteNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "DeleteNotebookRuntime" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteNotebookRuntime deletes a NotebookRuntime.", + "file": "NotebookClient/DeleteNotebookRuntime/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteNotebookRuntime_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteNotebookRuntimeTemplate_sync", - "title": "aiplatform DeleteNotebookRuntimeTemplate Sample", - "description": "DeleteNotebookRuntimeTemplate deletes a NotebookRuntimeTemplate.", - "file": "NotebookClient/DeleteNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.DeleteNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.DeleteNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNotebookRuntimeTemplateOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.DeleteNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "DeleteNotebookRuntimeTemplate" }, + "description": "DeleteNotebookRuntimeTemplate deletes a NotebookRuntimeTemplate.", + "file": "NotebookClient/DeleteNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetIamPolicy_sync", - "title": "aiplatform 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": "NotebookClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "NotebookClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "NotebookClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "NotebookClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_sync", - "title": "aiplatform GetNotebookExecutionJob Sample", - "description": "GetNotebookExecutionJob gets a NotebookExecutionJob.", - "file": "NotebookClient/GetNotebookExecutionJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotebookExecutionJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.GetNotebookExecutionJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.GetNotebookExecutionJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetNotebookExecutionJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNotebookExecutionJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNotebookExecutionJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookExecutionJob", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetNotebookExecutionJob", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.GetNotebookExecutionJob", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "GetNotebookExecutionJob" }, + "description": "GetNotebookExecutionJob gets a NotebookExecutionJob.", + "file": "NotebookClient/GetNotebookExecutionJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNotebookExecutionJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetNotebookRuntime_sync", - "title": "aiplatform GetNotebookRuntime Sample", - "description": "GetNotebookRuntime gets a NotebookRuntime.", - "file": "NotebookClient/GetNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.GetNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.GetNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookRuntime", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.GetNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "GetNotebookRuntime" }, + "description": "GetNotebookRuntime gets a NotebookRuntime.", + "file": "NotebookClient/GetNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetNotebookRuntimeTemplate_sync", - "title": "aiplatform GetNotebookRuntimeTemplate Sample", - "description": "GetNotebookRuntimeTemplate gets a NotebookRuntimeTemplate.", - "file": "NotebookClient/GetNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.GetNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.GetNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookRuntimeTemplate", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.GetNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "GetNotebookRuntimeTemplate" }, + "description": "GetNotebookRuntimeTemplate gets a NotebookRuntimeTemplate.", + "file": "NotebookClient/GetNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "NotebookClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "NotebookClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_sync", - "title": "aiplatform ListNotebookExecutionJobs Sample", - "description": "ListNotebookExecutionJobs lists NotebookExecutionJobs in a Location.", - "file": "NotebookClient/ListNotebookExecutionJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotebookExecutionJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.ListNotebookExecutionJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListNotebookExecutionJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNotebookExecutionJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNotebookExecutionJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotebookExecutionJobIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListNotebookExecutionJobs", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "ListNotebookExecutionJobs" }, + "description": "ListNotebookExecutionJobs lists NotebookExecutionJobs in a Location.", + "file": "NotebookClient/ListNotebookExecutionJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNotebookExecutionJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListNotebookRuntimeTemplates_sync", - "title": "aiplatform ListNotebookRuntimeTemplates Sample", - "description": "ListNotebookRuntimeTemplates lists NotebookRuntimeTemplates in a Location.", - "file": "NotebookClient/ListNotebookRuntimeTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotebookRuntimeTemplates", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.ListNotebookRuntimeTemplates", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookRuntimeTemplates", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListNotebookRuntimeTemplates" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNotebookRuntimeTemplatesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNotebookRuntimeTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotebookRuntimeTemplateIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListNotebookRuntimeTemplates", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookRuntimeTemplates", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "ListNotebookRuntimeTemplates" }, + "description": "ListNotebookRuntimeTemplates lists NotebookRuntimeTemplates in a Location.", + "file": "NotebookClient/ListNotebookRuntimeTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListNotebookRuntimeTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNotebookRuntimeTemplates Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListNotebookRuntimes_sync", - "title": "aiplatform ListNotebookRuntimes Sample", - "description": "ListNotebookRuntimes lists NotebookRuntimes in a Location.", - "file": "NotebookClient/ListNotebookRuntimes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotebookRuntimes", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.ListNotebookRuntimes", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookRuntimes", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListNotebookRuntimes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListNotebookRuntimesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListNotebookRuntimesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotebookRuntimeIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListNotebookRuntimes", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookRuntimes", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "ListNotebookRuntimes" }, + "description": "ListNotebookRuntimes lists NotebookRuntimes in a Location.", + "file": "NotebookClient/ListNotebookRuntimes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListNotebookRuntimes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListNotebookRuntimes Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_SetIamPolicy_sync", - "title": "aiplatform 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": "NotebookClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "NotebookClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_StartNotebookRuntime_sync", - "title": "aiplatform StartNotebookRuntime Sample", - "description": "StartNotebookRuntime starts a NotebookRuntime.", - "file": "NotebookClient/StartNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.StartNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.StartNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StartNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.StartNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.StartNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "StartNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.StartNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "StartNotebookRuntime" }, + "description": "StartNotebookRuntime starts a NotebookRuntime.", + "file": "NotebookClient/StartNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_StartNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StartNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_StopNotebookRuntime_sync", - "title": "aiplatform StopNotebookRuntime Sample", - "description": "StopNotebookRuntime stops a NotebookRuntime.", - "file": "NotebookClient/StopNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.StopNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.StopNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StopNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.StopNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.StopNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "StopNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.StopNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "StopNotebookRuntime" }, + "description": "StopNotebookRuntime stops a NotebookRuntime.", + "file": "NotebookClient/StopNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_StopNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StopNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_TestIamPermissions_sync", - "title": "aiplatform 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": "NotebookClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "NotebookClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_UpdateNotebookRuntimeTemplate_sync", - "title": "aiplatform UpdateNotebookRuntimeTemplate Sample", - "description": "UpdateNotebookRuntimeTemplate updates a NotebookRuntimeTemplate.", - "file": "NotebookClient/UpdateNotebookRuntimeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotebookRuntimeTemplate", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.UpdateNotebookRuntimeTemplate", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.UpdateNotebookRuntimeTemplate", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpdateNotebookRuntimeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateNotebookRuntimeTemplateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateNotebookRuntimeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.NotebookRuntimeTemplate", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "UpdateNotebookRuntimeTemplate", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.UpdateNotebookRuntimeTemplate", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "UpdateNotebookRuntimeTemplate" }, + "description": "UpdateNotebookRuntimeTemplate updates a NotebookRuntimeTemplate.", + "file": "NotebookClient/UpdateNotebookRuntimeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_UpdateNotebookRuntimeTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateNotebookRuntimeTemplate Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_UpgradeNotebookRuntime_sync", - "title": "aiplatform UpgradeNotebookRuntime Sample", - "description": "UpgradeNotebookRuntime upgrades a NotebookRuntime.", - "file": "NotebookClient/UpgradeNotebookRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeNotebookRuntime", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.UpgradeNotebookRuntime", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.UpgradeNotebookRuntime", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeNotebookRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpgradeNotebookRuntimeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpgradeNotebookRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeNotebookRuntimeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "UpgradeNotebookRuntime", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService.UpgradeNotebookRuntime", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookService" - } - } + "shortName": "UpgradeNotebookRuntime" }, + "description": "UpgradeNotebookRuntime upgrades a NotebookRuntime.", + "file": "NotebookClient/UpgradeNotebookRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_UpgradeNotebookRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpgradeNotebookRuntime Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_NotebookService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.aiplatform.v1beta1.NotebookClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_NotebookService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/CancelOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_CancelOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_CreatePersistentResource_sync", - "title": "aiplatform CreatePersistentResource Sample", - "description": "CreatePersistentResource creates a PersistentResource.", - "file": "PersistentResourceClient/CreatePersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.CreatePersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.CreatePersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "CreatePersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreatePersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreatePersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "CreatePersistentResource", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.CreatePersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService" - } - } + "shortName": "CreatePersistentResource" }, + "description": "CreatePersistentResource creates a PersistentResource.", + "file": "PersistentResourceClient/CreatePersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_CreatePersistentResource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreatePersistentResource Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_DeletePersistentResource_sync", - "title": "aiplatform DeletePersistentResource Sample", - "description": "DeletePersistentResource deletes a PersistentResource.", - "file": "PersistentResourceClient/DeletePersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.DeletePersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.DeletePersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "DeletePersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeletePersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeletePersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "DeletePersistentResource", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.DeletePersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService" - } - } + "shortName": "DeletePersistentResource" }, + "description": "DeletePersistentResource deletes a PersistentResource.", + "file": "PersistentResourceClient/DeletePersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_DeletePersistentResource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeletePersistentResource Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetIamPolicy_sync", - "title": "aiplatform 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": "PersistentResourceClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PersistentResourceClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PersistentResourceClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PersistentResourceClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetPersistentResource_sync", - "title": "aiplatform GetPersistentResource Sample", - "description": "GetPersistentResource gets a PersistentResource.", - "file": "PersistentResourceClient/GetPersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.GetPersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.GetPersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "GetPersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetPersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetPersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PersistentResource", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "GetPersistentResource", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.GetPersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService" - } - } + "shortName": "GetPersistentResource" }, + "description": "GetPersistentResource gets a PersistentResource.", + "file": "PersistentResourceClient/GetPersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_GetPersistentResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetPersistentResource Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PersistentResourceClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PersistentResourceClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_ListPersistentResources_sync", - "title": "aiplatform ListPersistentResources Sample", - "description": "ListPersistentResources lists PersistentResources in a Location.", - "file": "PersistentResourceClient/ListPersistentResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPersistentResources", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.ListPersistentResources", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.ListPersistentResources", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "ListPersistentResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListPersistentResourcesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListPersistentResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PersistentResourceIterator", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "ListPersistentResources", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.ListPersistentResources", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService" - } - } + "shortName": "ListPersistentResources" }, + "description": "ListPersistentResources lists PersistentResources in a Location.", + "file": "PersistentResourceClient/ListPersistentResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_ListPersistentResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListPersistentResources Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_RebootPersistentResource_sync", - "title": "aiplatform RebootPersistentResource Sample", - "description": "RebootPersistentResource reboots a PersistentResource.", - "file": "PersistentResourceClient/RebootPersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "RebootPersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.RebootPersistentResource", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.RebootPersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "RebootPersistentResource" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RebootPersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RebootPersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RebootPersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "RebootPersistentResource", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.RebootPersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService" - } - } + "shortName": "RebootPersistentResource" }, + "description": "RebootPersistentResource reboots a PersistentResource.", + "file": "PersistentResourceClient/RebootPersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_RebootPersistentResource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RebootPersistentResource Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_SetIamPolicy_sync", - "title": "aiplatform 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": "PersistentResourceClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PersistentResourceClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_TestIamPermissions_sync", - "title": "aiplatform 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": "PersistentResourceClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PersistentResourceClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_UpdatePersistentResource_sync", - "title": "aiplatform UpdatePersistentResource Sample", - "description": "UpdatePersistentResource updates a PersistentResource.", - "file": "PersistentResourceClient/UpdatePersistentResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePersistentResource", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.UpdatePersistentResource", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.UpdatePersistentResource", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "shortName": "PersistentResourceService" + }, + "shortName": "UpdatePersistentResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdatePersistentResourceRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdatePersistentResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePersistentResourceOperation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "UpdatePersistentResource", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.UpdatePersistentResource", - "service": { - "shortName": "PersistentResourceService", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService" - } - } + "shortName": "UpdatePersistentResource" }, + "description": "UpdatePersistentResource updates a PersistentResource.", + "file": "PersistentResourceClient/UpdatePersistentResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_UpdatePersistentResource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdatePersistentResource Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "PersistentResourceClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient", + "shortName": "PersistentResourceClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PersistentResourceClient", - "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "PersistentResourceClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PersistentResourceService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_BatchCancelPipelineJobs_sync", - "title": "aiplatform BatchCancelPipelineJobs Sample", - "description": "BatchCancelPipelineJobs batch cancel PipelineJobs.\nFirstly the server will check if all the jobs are in non-terminal states,\nand skip the jobs that are already terminated.\nIf the operation failed, none of the pipeline jobs are cancelled.\nThe server will poll the states of all the pipeline jobs periodically\nto check the cancellation status.\nThis operation will return an LRO.", - "file": "PipelineClient/BatchCancelPipelineJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCancelPipelineJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.BatchCancelPipelineJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.BatchCancelPipelineJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "BatchCancelPipelineJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCancelPipelineJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCancelPipelineJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCancelPipelineJobsOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "BatchCancelPipelineJobs", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.BatchCancelPipelineJobs", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "BatchCancelPipelineJobs" }, + "description": "BatchCancelPipelineJobs batch cancel PipelineJobs.\nFirstly the server will check if all the jobs are in non-terminal states,\nand skip the jobs that are already terminated.\nIf the operation failed, none of the pipeline jobs are cancelled.\nThe server will poll the states of all the pipeline jobs periodically\nto check the cancellation status.\nThis operation will return an LRO.", + "file": "PipelineClient/BatchCancelPipelineJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_BatchCancelPipelineJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCancelPipelineJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_BatchDeletePipelineJobs_sync", - "title": "aiplatform BatchDeletePipelineJobs Sample", - "description": "BatchDeletePipelineJobs batch deletes PipelineJobs\nThe Operation is atomic. If it fails, none of the PipelineJobs are deleted.\nIf it succeeds, all of the PipelineJobs are deleted.", - "file": "PipelineClient/BatchDeletePipelineJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeletePipelineJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.BatchDeletePipelineJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.BatchDeletePipelineJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "BatchDeletePipelineJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchDeletePipelineJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchDeletePipelineJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeletePipelineJobsOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "BatchDeletePipelineJobs", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.BatchDeletePipelineJobs", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "BatchDeletePipelineJobs" }, + "description": "BatchDeletePipelineJobs batch deletes PipelineJobs\nThe Operation is atomic. If it fails, none of the PipelineJobs are deleted.\nIf it succeeds, all of the PipelineJobs are deleted.", + "file": "PipelineClient/BatchDeletePipelineJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_BatchDeletePipelineJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchDeletePipelineJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_CancelPipelineJob_sync", - "title": "aiplatform CancelPipelineJob Sample", - "description": "CancelPipelineJob cancels a PipelineJob.\nStarts asynchronous cancellation on the PipelineJob. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1beta1.PipelineService.GetPipelineJob]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe PipelineJob is not deleted; instead it becomes a pipeline with\na [PipelineJob.error][google.cloud.aiplatform.v1beta1.PipelineJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[PipelineJob.state][google.cloud.aiplatform.v1beta1.PipelineJob.state] is\nset to `CANCELLED`.", - "file": "PipelineClient/CancelPipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelPipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CancelPipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelPipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CancelPipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelPipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelPipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "CancelPipelineJob", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelPipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "CancelPipelineJob" }, + "description": "CancelPipelineJob cancels a PipelineJob.\nStarts asynchronous cancellation on the PipelineJob. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1beta1.PipelineService.GetPipelineJob]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe PipelineJob is not deleted; instead it becomes a pipeline with\na [PipelineJob.error][google.cloud.aiplatform.v1beta1.PipelineJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[PipelineJob.state][google.cloud.aiplatform.v1beta1.PipelineJob.state] is\nset to `CANCELLED`.", + "file": "PipelineClient/CancelPipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_CancelPipelineJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelPipelineJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_CancelTrainingPipeline_sync", - "title": "aiplatform CancelTrainingPipeline Sample", - "description": "CancelTrainingPipeline cancels a TrainingPipeline.\nStarts asynchronous cancellation on the TrainingPipeline. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1beta1.PipelineService.GetTrainingPipeline]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe TrainingPipeline is not deleted; instead it becomes a pipeline with\na\n[TrainingPipeline.error][google.cloud.aiplatform.v1beta1.TrainingPipeline.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[TrainingPipeline.state][google.cloud.aiplatform.v1beta1.TrainingPipeline.state]\nis set to `CANCELLED`.", - "file": "PipelineClient/CancelTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CancelTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CancelTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CancelTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CancelTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "CancelTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "CancelTrainingPipeline" }, + "description": "CancelTrainingPipeline cancels a TrainingPipeline.\nStarts asynchronous cancellation on the TrainingPipeline. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1beta1.PipelineService.GetTrainingPipeline]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe TrainingPipeline is not deleted; instead it becomes a pipeline with\na\n[TrainingPipeline.error][google.cloud.aiplatform.v1beta1.TrainingPipeline.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[TrainingPipeline.state][google.cloud.aiplatform.v1beta1.TrainingPipeline.state]\nis set to `CANCELLED`.", + "file": "PipelineClient/CancelTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_CancelTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_CreatePipelineJob_sync", - "title": "aiplatform CreatePipelineJob Sample", - "description": "CreatePipelineJob creates a PipelineJob. A PipelineJob will run immediately when created.", - "file": "PipelineClient/CreatePipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CreatePipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CreatePipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CreatePipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreatePipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreatePipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PipelineJob", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "CreatePipelineJob", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CreatePipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "CreatePipelineJob" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreatePipelineJob creates a PipelineJob. A PipelineJob will run immediately when created.", + "file": "PipelineClient/CreatePipelineJob/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_CreatePipelineJob_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreatePipelineJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_CreateTrainingPipeline_sync", - "title": "aiplatform CreateTrainingPipeline Sample", - "description": "CreateTrainingPipeline creates a TrainingPipeline. A created TrainingPipeline right away will be\nattempted to be run.", - "file": "PipelineClient/CreateTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CreateTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CreateTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "CreateTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TrainingPipeline", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "CreateTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CreateTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "CreateTrainingPipeline" }, + "description": "CreateTrainingPipeline creates a TrainingPipeline. A created TrainingPipeline right away will be\nattempted to be run.", + "file": "PipelineClient/CreateTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_CreateTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_DeletePipelineJob_sync", - "title": "aiplatform DeletePipelineJob Sample", - "description": "DeletePipelineJob deletes a PipelineJob.", - "file": "PipelineClient/DeletePipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.DeletePipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeletePipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "DeletePipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeletePipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeletePipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePipelineJobOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "DeletePipelineJob", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeletePipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "DeletePipelineJob" }, + "description": "DeletePipelineJob deletes a PipelineJob.", + "file": "PipelineClient/DeletePipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_DeletePipelineJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeletePipelineJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_DeleteTrainingPipeline_sync", - "title": "aiplatform DeleteTrainingPipeline Sample", - "description": "DeleteTrainingPipeline deletes a TrainingPipeline.", - "file": "PipelineClient/DeleteTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.DeleteTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeleteTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "DeleteTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTrainingPipelineOperation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "DeleteTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeleteTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "DeleteTrainingPipeline" }, + "description": "DeleteTrainingPipeline deletes a TrainingPipeline.", + "file": "PipelineClient/DeleteTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_DeleteTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetIamPolicy_sync", - "title": "aiplatform 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": "PipelineClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PipelineClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PipelineClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PipelineClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetPipelineJob_sync", - "title": "aiplatform GetPipelineJob Sample", - "description": "GetPipelineJob gets a PipelineJob.", - "file": "PipelineClient/GetPipelineJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPipelineJob", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetPipelineJob", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetPipelineJob", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "GetPipelineJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetPipelineJobRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetPipelineJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PipelineJob", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "GetPipelineJob", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetPipelineJob", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "GetPipelineJob" }, + "description": "GetPipelineJob gets a PipelineJob.", + "file": "PipelineClient/GetPipelineJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetPipelineJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetPipelineJob Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetTrainingPipeline_sync", - "title": "aiplatform GetTrainingPipeline Sample", - "description": "GetTrainingPipeline gets a TrainingPipeline.", - "file": "PipelineClient/GetTrainingPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrainingPipeline", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetTrainingPipeline", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetTrainingPipeline", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "GetTrainingPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTrainingPipelineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTrainingPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TrainingPipeline", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "GetTrainingPipeline", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetTrainingPipeline", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "GetTrainingPipeline" }, + "description": "GetTrainingPipeline gets a TrainingPipeline.", + "file": "PipelineClient/GetTrainingPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_GetTrainingPipeline_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTrainingPipeline Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PipelineClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PipelineClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListOperations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListPipelineJobs_sync", - "title": "aiplatform ListPipelineJobs Sample", - "description": "ListPipelineJobs lists PipelineJobs in a Location.", - "file": "PipelineClient/ListPipelineJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPipelineJobs", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListPipelineJobs", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListPipelineJobs", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "ListPipelineJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListPipelineJobsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListPipelineJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PipelineJobIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "ListPipelineJobs", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListPipelineJobs", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "ListPipelineJobs" }, + "description": "ListPipelineJobs lists PipelineJobs in a Location.", + "file": "PipelineClient/ListPipelineJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListPipelineJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListPipelineJobs Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListTrainingPipelines_sync", - "title": "aiplatform ListTrainingPipelines Sample", - "description": "ListTrainingPipelines lists TrainingPipelines in a Location.", - "file": "PipelineClient/ListTrainingPipelines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTrainingPipelines", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListTrainingPipelines", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListTrainingPipelines", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "shortName": "PipelineService" + }, + "shortName": "ListTrainingPipelines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTrainingPipelinesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTrainingPipelinesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainingPipelineIterator", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "ListTrainingPipelines", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListTrainingPipelines", - "service": { - "shortName": "PipelineService", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineService" - } - } + "shortName": "ListTrainingPipelines" }, + "description": "ListTrainingPipelines lists TrainingPipelines in a Location.", + "file": "PipelineClient/ListTrainingPipelines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_ListTrainingPipelines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTrainingPipelines Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_SetIamPolicy_sync", - "title": "aiplatform 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": "PipelineClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PipelineClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_TestIamPermissions_sync", - "title": "aiplatform 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": "PipelineClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PipelineClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PipelineService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "PipelineClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient", + "shortName": "PipelineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PipelineClient", - "fullName": "google.cloud.aiplatform.v1beta1.PipelineClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "PipelineClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PipelineService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_CountTokens_sync", - "title": "aiplatform CountTokens Sample", - "description": "CountTokens perform a token counting.", - "file": "PredictionClient/CountTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "CountTokens", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.CountTokens", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.CountTokens", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "CountTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CountTokensRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CountTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CountTokensResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "CountTokens", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.CountTokens", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "CountTokens" }, + "description": "CountTokens perform a token counting.", + "file": "PredictionClient/CountTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_CountTokens_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CountTokens Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_DirectPredict_sync", - "title": "aiplatform DirectPredict Sample", - "description": "DirectPredict perform an unary online prediction request to a gRPC model server for\nVertex first-party products and frameworks.", - "file": "PredictionClient/DirectPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "DirectPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.DirectPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DirectPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "DirectPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DirectPredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DirectPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DirectPredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "DirectPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DirectPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "DirectPredict" }, + "description": "DirectPredict perform an unary online prediction request to a gRPC model server for\nVertex first-party products and frameworks.", + "file": "PredictionClient/DirectPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_DirectPredict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DirectPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_DirectRawPredict_sync", - "title": "aiplatform DirectRawPredict Sample", - "description": "DirectRawPredict perform an unary online prediction request to a gRPC model server for\ncustom containers.", - "file": "PredictionClient/DirectRawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "DirectRawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.DirectRawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DirectRawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "DirectRawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DirectRawPredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DirectRawPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.DirectRawPredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "DirectRawPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DirectRawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "DirectRawPredict" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DirectRawPredict perform an unary online prediction request to a gRPC model server for\ncustom containers.", + "file": "PredictionClient/DirectRawPredict/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_DirectRawPredict_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DirectRawPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_EmbedContent_sync", - "title": "aiplatform EmbedContent Sample", - "description": "EmbedContent embed content with multimodal inputs.", - "file": "PredictionClient/EmbedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "EmbedContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.EmbedContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.EmbedContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "EmbedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.EmbedContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.EmbedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.EmbedContentResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "EmbedContent", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.EmbedContent", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "EmbedContent" }, + "description": "EmbedContent embed content with multimodal inputs.", + "file": "PredictionClient/EmbedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_EmbedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform EmbedContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_Explain_sync", - "title": "aiplatform Explain Sample", - "description": "Explain perform an online explanation.\n\nIf\n[deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id]\nis specified, the corresponding DeployModel must have\n[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]\npopulated. If\n[deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id]\nis not specified, all DeployedModels must have\n[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]\npopulated.", - "file": "PredictionClient/Explain/main.go", - "language": "GO", "clientMethod": { - "shortName": "Explain", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.Explain", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Explain", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Explain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExplainRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExplainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ExplainResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "Explain", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Explain", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "Explain" }, + "description": "Explain perform an online explanation.\n\nIf\n[deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id]\nis specified, the corresponding DeployModel must have\n[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]\npopulated. If\n[deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id]\nis not specified, all DeployedModels must have\n[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]\npopulated.", + "file": "PredictionClient/Explain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_Explain_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform Explain Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_GenerateContent_sync", - "title": "aiplatform GenerateContent Sample", - "description": "GenerateContent generate content with multimodal inputs.", - "file": "PredictionClient/GenerateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.GenerateContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.GenerateContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "GenerateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GenerateContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GenerateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.GenerateContentResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "GenerateContent", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.GenerateContent", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "GenerateContent" }, + "description": "GenerateContent generate content with multimodal inputs.", + "file": "PredictionClient/GenerateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_GenerateContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GenerateContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_GetIamPolicy_sync", - "title": "aiplatform 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": "PredictionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PredictionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PredictionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PredictionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PredictionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PredictionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_Predict_sync", - "title": "aiplatform Predict Sample", - "description": "Predict perform an online prediction.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Predict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict perform an online prediction.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform Predict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_RawPredict_sync", - "title": "aiplatform RawPredict Sample", - "description": "RawPredict perform an online prediction with an arbitrary HTTP payload.\n\nThe response includes the following HTTP headers: \n\n* `X-Vertex-AI-Endpoint-Id`: ID of the\n[Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] that served this\nprediction.\n\n* `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's\n[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] that served\nthis prediction.", - "file": "PredictionClient/RawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "RawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.RawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.RawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "RawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RawPredictRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RawPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "RawPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.RawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "RawPredict" }, + "description": "RawPredict perform an online prediction with an arbitrary HTTP payload.\n\nThe response includes the following HTTP headers: \n\n* `X-Vertex-AI-Endpoint-Id`: ID of the\n[Endpoint][google.cloud.aiplatform.v1beta1.Endpoint] that served this\nprediction.\n\n* `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's\n[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel] that served\nthis prediction.", + "file": "PredictionClient/RawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_RawPredict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RawPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_SetIamPolicy_sync", - "title": "aiplatform 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": "PredictionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.SetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PredictionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamDirectPredict_sync", - "title": "aiplatform StreamDirectPredict Sample", - "description": "StreamDirectPredict perform a streaming online prediction request to a gRPC model server for\nVertex first-party products and frameworks.\n\n\nThis method is not supported for the REST transport.", - "file": "PredictionClient/StreamDirectPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamDirectPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.StreamDirectPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamDirectPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamDirectPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "StreamDirectPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "StreamDirectPredict" }, + "description": "StreamDirectPredict perform a streaming online prediction request to a gRPC model server for\nVertex first-party products and frameworks.\n\n\nThis method is not supported for the REST transport.", + "file": "PredictionClient/StreamDirectPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamDirectPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamDirectPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamDirectRawPredict_sync", - "title": "aiplatform StreamDirectRawPredict Sample", - "description": "StreamDirectRawPredict perform a streaming online prediction request to a gRPC model server for\ncustom containers.\n\n\nThis method is not supported for the REST transport.", - "file": "PredictionClient/StreamDirectRawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamDirectRawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.StreamDirectRawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectRawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamDirectRawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamDirectRawPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "StreamDirectRawPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectRawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "StreamDirectRawPredict" }, + "description": "StreamDirectRawPredict perform a streaming online prediction request to a gRPC model server for\ncustom containers.\n\n\nThis method is not supported for the REST transport.", + "file": "PredictionClient/StreamDirectRawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamDirectRawPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamDirectRawPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamingPredict_sync", - "title": "aiplatform StreamingPredict Sample", - "description": "StreamingPredict perform a streaming online prediction request for Vertex first-party\nproducts and frameworks.\n\n\nThis method is not supported for the REST transport.", - "file": "PredictionClient/StreamingPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.StreamingPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamingPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamingPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamingPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "StreamingPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamingPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "StreamingPredict" }, + "description": "StreamingPredict perform a streaming online prediction request for Vertex first-party\nproducts and frameworks.\n\n\nThis method is not supported for the REST transport.", + "file": "PredictionClient/StreamingPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamingPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamingPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamingRawPredict_sync", - "title": "aiplatform StreamingRawPredict Sample", - "description": "StreamingRawPredict perform a streaming online prediction request through gRPC.\n\n\nThis method is not supported for the REST transport.", - "file": "PredictionClient/StreamingRawPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingRawPredict", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.StreamingRawPredict", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamingRawPredict", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "StreamingRawPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "aiplatformpb.PredictionService_StreamingRawPredictClient", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "StreamingRawPredict", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamingRawPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionService" - } - } + "shortName": "StreamingRawPredict" }, + "description": "StreamingRawPredict perform a streaming online prediction request through gRPC.\n\n\nThis method is not supported for the REST transport.", + "file": "PredictionClient/StreamingRawPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_StreamingRawPredict_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StreamingRawPredict Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_TestIamPermissions_sync", - "title": "aiplatform 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": "PredictionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PredictionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_PredictionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.aiplatform.v1beta1.PredictionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_PredictionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_GetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineExecutionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ReasoningEngineExecutionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ReasoningEngineExecutionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ReasoningEngineExecutionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ReasoningEngineExecutionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ReasoningEngineExecutionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_QueryReasoningEngine_sync", - "title": "aiplatform QueryReasoningEngine Sample", - "description": "QueryReasoningEngine queries using a reasoning engine.", - "file": "ReasoningEngineExecutionClient/QueryReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.QueryReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService.QueryReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService", + "shortName": "ReasoningEngineExecutionService" + }, + "shortName": "QueryReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.QueryReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.QueryReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.QueryReasoningEngineResponse", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "QueryReasoningEngine", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService.QueryReasoningEngine", - "service": { - "shortName": "ReasoningEngineExecutionService", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionService" - } - } + "shortName": "QueryReasoningEngine" }, + "description": "QueryReasoningEngine queries using a reasoning engine.", + "file": "ReasoningEngineExecutionClient/QueryReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_QueryReasoningEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform QueryReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_SetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineExecutionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ReasoningEngineExecutionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_TestIamPermissions_sync", - "title": "aiplatform 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": "ReasoningEngineExecutionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ReasoningEngineExecutionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineExecutionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient", + "shortName": "ReasoningEngineExecutionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineExecutionClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineExecutionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineExecutionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineExecutionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_CreateReasoningEngine_sync", - "title": "aiplatform CreateReasoningEngine Sample", - "description": "CreateReasoningEngine creates a reasoning engine.", - "file": "ReasoningEngineClient/CreateReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.CreateReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.CreateReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "CreateReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReasoningEngineOperation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "CreateReasoningEngine", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.CreateReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService" - } - } + "shortName": "CreateReasoningEngine" }, + "description": "CreateReasoningEngine creates a reasoning engine.", + "file": "ReasoningEngineClient/CreateReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_CreateReasoningEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_DeleteReasoningEngine_sync", - "title": "aiplatform DeleteReasoningEngine Sample", - "description": "DeleteReasoningEngine deletes a reasoning engine.", - "file": "ReasoningEngineClient/DeleteReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.DeleteReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.DeleteReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "DeleteReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReasoningEngineOperation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "DeleteReasoningEngine", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.DeleteReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService" - } - } + "shortName": "DeleteReasoningEngine" }, + "description": "DeleteReasoningEngine deletes a reasoning engine.", + "file": "ReasoningEngineClient/DeleteReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_DeleteReasoningEngine_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ReasoningEngineClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ReasoningEngineClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ReasoningEngineClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetReasoningEngine_sync", - "title": "aiplatform GetReasoningEngine Sample", - "description": "GetReasoningEngine gets a reasoning engine.", - "file": "ReasoningEngineClient/GetReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.GetReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.GetReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "GetReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReasoningEngine", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "GetReasoningEngine", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.GetReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService" - } - } + "shortName": "GetReasoningEngine" }, + "description": "GetReasoningEngine gets a reasoning engine.", + "file": "ReasoningEngineClient/GetReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_GetReasoningEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ReasoningEngineClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ReasoningEngineClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.ListOperations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "OperationIterator", "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.ListOperations", "method": { - "shortName": "ListOperations", "fullName": "google.longrunning.Operations.ListOperations", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.ListOperationsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "OperationIterator", + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_ListReasoningEngines_sync", - "title": "aiplatform ListReasoningEngines Sample", - "description": "ListReasoningEngines lists reasoning engines in a location.", - "file": "ReasoningEngineClient/ListReasoningEngines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReasoningEngines", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.ListReasoningEngines", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.ListReasoningEngines", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "ListReasoningEngines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListReasoningEnginesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListReasoningEnginesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReasoningEngineIterator", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "ListReasoningEngines", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.ListReasoningEngines", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService" - } - } + "shortName": "ListReasoningEngines" }, + "description": "ListReasoningEngines lists reasoning engines in a location.", + "file": "ReasoningEngineClient/ListReasoningEngines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_ListReasoningEngines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListReasoningEngines Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_SetIamPolicy_sync", - "title": "aiplatform 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": "ReasoningEngineClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ReasoningEngineClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_TestIamPermissions_sync", - "title": "aiplatform 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": "ReasoningEngineClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ReasoningEngineClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_UpdateReasoningEngine_sync", - "title": "aiplatform UpdateReasoningEngine Sample", - "description": "UpdateReasoningEngine updates a reasoning engine.", - "file": "ReasoningEngineClient/UpdateReasoningEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReasoningEngine", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.UpdateReasoningEngine", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.UpdateReasoningEngine", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService", + "shortName": "ReasoningEngineService" + }, + "shortName": "UpdateReasoningEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateReasoningEngineRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateReasoningEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateReasoningEngineOperation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "UpdateReasoningEngine", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService.UpdateReasoningEngine", - "service": { - "shortName": "ReasoningEngineService", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineService" - } - } + "shortName": "UpdateReasoningEngine" }, + "description": "UpdateReasoningEngine updates a reasoning engine.", + "file": "ReasoningEngineClient/UpdateReasoningEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_UpdateReasoningEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateReasoningEngine Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ReasoningEngineClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient", + "shortName": "ReasoningEngineClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReasoningEngineClient", - "fullName": "google.cloud.aiplatform.v1beta1.ReasoningEngineClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ReasoningEngineClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ReasoningEngineService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_CreateSchedule_sync", - "title": "aiplatform CreateSchedule Sample", - "description": "CreateSchedule creates a Schedule.", - "file": "ScheduleClient/CreateSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.CreateSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.CreateSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "CreateSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Schedule", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "CreateSchedule", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.CreateSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" - } - } + "shortName": "CreateSchedule" }, + "description": "CreateSchedule creates a Schedule.", + "file": "ScheduleClient/CreateSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_CreateSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateSchedule Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_DeleteSchedule_sync", - "title": "aiplatform DeleteSchedule Sample", - "description": "DeleteSchedule deletes a Schedule.", - "file": "ScheduleClient/DeleteSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.DeleteSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.DeleteSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "DeleteSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteScheduleOperation", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "DeleteSchedule", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.DeleteSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" - } - } + "shortName": "DeleteSchedule" }, + "description": "DeleteSchedule deletes a Schedule.", + "file": "ScheduleClient/DeleteSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_DeleteSchedule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSchedule Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetIamPolicy_sync", - "title": "aiplatform 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": "ScheduleClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ScheduleClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ScheduleClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ScheduleClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetSchedule_sync", - "title": "aiplatform GetSchedule Sample", - "description": "GetSchedule gets a Schedule.", - "file": "ScheduleClient/GetSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.GetSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.GetSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "GetSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Schedule", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "GetSchedule", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.GetSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" - } - } + "shortName": "GetSchedule" }, + "description": "GetSchedule gets a Schedule.", + "file": "ScheduleClient/GetSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_GetSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetSchedule Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ScheduleClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ScheduleClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ListSchedules_sync", - "title": "aiplatform ListSchedules Sample", - "description": "ListSchedules lists Schedules in a Location.", - "file": "ScheduleClient/ListSchedules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchedules", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.ListSchedules", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.ListSchedules", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "ListSchedules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSchedulesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSchedulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScheduleIterator", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "ListSchedules", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.ListSchedules", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" - } - } + "shortName": "ListSchedules" }, + "description": "ListSchedules lists Schedules in a Location.", + "file": "ScheduleClient/ListSchedules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ListSchedules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSchedules Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_PauseSchedule_sync", - "title": "aiplatform PauseSchedule Sample", - "description": "PauseSchedule pauses a Schedule. Will mark\n[Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to\n'PAUSED'. If the schedule is paused, no new runs will be created. Already\ncreated runs will NOT be paused or canceled.", - "file": "ScheduleClient/PauseSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.PauseSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.PauseSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "PauseSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.PauseScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.PauseScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "PauseSchedule", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.PauseSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" - } - } + "shortName": "PauseSchedule" }, + "description": "PauseSchedule pauses a Schedule. Will mark\n[Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to\n'PAUSED'. If the schedule is paused, no new runs will be created. Already\ncreated runs will NOT be paused or canceled.", + "file": "ScheduleClient/PauseSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_PauseSchedule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform PauseSchedule Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ResumeSchedule_sync", - "title": "aiplatform ResumeSchedule Sample", - "description": "ResumeSchedule resumes a paused Schedule to start scheduling new runs. Will mark\n[Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to\n'ACTIVE'. Only paused Schedule can be resumed.\n\nWhen the Schedule is resumed, new runs will be scheduled starting from the\nnext execution time after the current time based on the time_specification\nin the Schedule. If [Schedule.catchUp][] is set up true, all\nmissed runs will be scheduled for backfill first.", - "file": "ScheduleClient/ResumeSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeSchedule", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.ResumeSchedule", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.ResumeSchedule", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "ResumeSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ResumeScheduleRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ResumeScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "ResumeSchedule", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.ResumeSchedule", - "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" - } - } + "shortName": "ResumeSchedule" }, + "description": "ResumeSchedule resumes a paused Schedule to start scheduling new runs. Will mark\n[Schedule.state][google.cloud.aiplatform.v1beta1.Schedule.state] to\n'ACTIVE'. Only paused Schedule can be resumed.\n\nWhen the Schedule is resumed, new runs will be scheduled starting from the\nnext execution time after the current time based on the time_specification\nin the Schedule. If [Schedule.catchUp][] is set up true, all\nmissed runs will be scheduled for backfill first.", + "file": "ScheduleClient/ResumeSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_ResumeSchedule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ResumeSchedule Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_SetIamPolicy_sync", - "title": "aiplatform 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": "ScheduleClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ScheduleClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_TestIamPermissions_sync", - "title": "aiplatform 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": "ScheduleClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ScheduleClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_UpdateSchedule_sync", - "title": "aiplatform UpdateSchedule Sample", - "description": "UpdateSchedule updates an active or paused Schedule.\n\nWhen the Schedule is updated, new runs will be scheduled starting from the\nupdated next execution time after the update time based on the\ntime_specification in the updated Schedule. All unstarted runs before the\nupdate time will be skipped while already created runs will NOT be paused\nor canceled.", - "file": "ScheduleClient/UpdateSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchedule", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.UpdateSchedule", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.UpdateScheduleRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.Schedule", "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.UpdateSchedule", "method": { - "shortName": "UpdateSchedule", "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.UpdateSchedule", "service": { - "shortName": "ScheduleService", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService" + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "shortName": "ScheduleService" + }, + "shortName": "UpdateSchedule" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.UpdateScheduleRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.Schedule", + "shortName": "UpdateSchedule" }, + "description": "UpdateSchedule updates an active or paused Schedule.\n\nWhen the Schedule is updated, new runs will be scheduled starting from the\nupdated next execution time after the update time based on the\ntime_specification in the updated Schedule. All unstarted runs before the\nupdate time will be skipped while already created runs will NOT be paused\nor canceled.", + "file": "ScheduleClient/UpdateSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_UpdateSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateSchedule Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_ScheduleService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ScheduleClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient", + "shortName": "ScheduleClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ScheduleClient", - "fullName": "google.cloud.aiplatform.v1beta1.ScheduleClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ScheduleClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_ScheduleService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_AppendEvent_sync", - "title": "aiplatform AppendEvent Sample", - "description": "AppendEvent appends an event to a given session.", - "file": "SessionClient/AppendEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "AppendEvent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.AppendEvent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.AppendEvent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "AppendEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AppendEventRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AppendEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AppendEventResponse", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "AppendEvent", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.AppendEvent", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "AppendEvent" }, + "description": "AppendEvent appends an event to a given session.", + "file": "SessionClient/AppendEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_AppendEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AppendEvent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_CreateSession_sync", - "title": "aiplatform CreateSession Sample", - "description": "CreateSession creates a new [Session][google.cloud.aiplatform.v1beta1.Session].", - "file": "SessionClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.CreateSession", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.CreateSession", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSessionOperation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a new [Session][google.cloud.aiplatform.v1beta1.Session].", + "file": "SessionClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_CreateSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateSession Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_DeleteSession_sync", - "title": "aiplatform DeleteSession Sample", - "description": "DeleteSession deletes details of the specific\n[Session][google.cloud.aiplatform.v1beta1.Session].", - "file": "SessionClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.DeleteSession", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.DeleteSession", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSessionOperation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes details of the specific\n[Session][google.cloud.aiplatform.v1beta1.Session].", + "file": "SessionClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSession Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_GetIamPolicy_sync", - "title": "aiplatform 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": "SessionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SessionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_GetSession_sync", - "title": "aiplatform GetSession Sample", - "description": "GetSession gets details of the specific\n[Session][google.cloud.aiplatform.v1beta1.Session].", - "file": "SessionClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.GetSession", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.GetSession", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets details of the specific\n[Session][google.cloud.aiplatform.v1beta1.Session].", + "file": "SessionClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetSession Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_ListEvents_sync", - "title": "aiplatform ListEvents Sample", - "description": "ListEvents lists [Events][google.cloud.aiplatform.v1beta1.Event] in a given session.", - "file": "SessionClient/ListEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvents", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.ListEvents", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.ListEvents", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListEventsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionEventIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "ListEvents", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.ListEvents", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "ListEvents" }, + "description": "ListEvents lists [Events][google.cloud.aiplatform.v1beta1.Event] in a given session.", + "file": "SessionClient/ListEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_ListEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListEvents Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "SessionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "SessionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_ListSessions_sync", - "title": "aiplatform ListSessions Sample", - "description": "ListSessions lists [Sessions][google.cloud.aiplatform.v1beta1.Session] in a given\nreasoning engine.", - "file": "SessionClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.ListSessions", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.ListSessions", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists [Sessions][google.cloud.aiplatform.v1beta1.Session] in a given\nreasoning engine.", + "file": "SessionClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSessions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_SetIamPolicy_sync", - "title": "aiplatform 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": "SessionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SessionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_TestIamPermissions_sync", - "title": "aiplatform 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": "SessionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SessionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_UpdateSession_sync", - "title": "aiplatform UpdateSession Sample", - "description": "UpdateSession updates the specific [Session][google.cloud.aiplatform.v1beta1.Session].", - "file": "SessionClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.UpdateSession", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService.UpdateSession", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionService", + "shortName": "SessionService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.aiplatform.v1beta1.SessionService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates the specific [Session][google.cloud.aiplatform.v1beta1.Session].", + "file": "SessionClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateSession Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SessionService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SessionClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.aiplatform.v1beta1.SessionClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SessionService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_CreateSpecialistPool_sync", - "title": "aiplatform CreateSpecialistPool Sample", - "description": "CreateSpecialistPool creates a SpecialistPool.", - "file": "SpecialistPoolClient/CreateSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.CreateSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.CreateSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "CreateSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSpecialistPoolOperation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "CreateSpecialistPool", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.CreateSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService" - } - } + "shortName": "CreateSpecialistPool" }, + "description": "CreateSpecialistPool creates a SpecialistPool.", + "file": "SpecialistPoolClient/CreateSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_CreateSpecialistPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.DeleteOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.DeleteOperation", "method": { - "shortName": "DeleteOperation", "fullName": "google.longrunning.Operations.DeleteOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_DeleteSpecialistPool_sync", - "title": "aiplatform DeleteSpecialistPool Sample", - "description": "DeleteSpecialistPool deletes a SpecialistPool as well as all Specialists in the pool.", - "file": "SpecialistPoolClient/DeleteSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.DeleteSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.DeleteSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "DeleteSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSpecialistPoolOperation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "DeleteSpecialistPool", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.DeleteSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService" - } - } + "shortName": "DeleteSpecialistPool" }, + "description": "DeleteSpecialistPool deletes a SpecialistPool as well as all Specialists in the pool.", + "file": "SpecialistPoolClient/DeleteSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_DeleteSpecialistPool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetIamPolicy_sync", - "title": "aiplatform 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": "SpecialistPoolClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SpecialistPoolClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SpecialistPoolClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SpecialistPoolClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetSpecialistPool_sync", - "title": "aiplatform GetSpecialistPool Sample", - "description": "GetSpecialistPool gets a SpecialistPool.", - "file": "SpecialistPoolClient/GetSpecialistPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.GetSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "GetSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.SpecialistPool", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "GetSpecialistPool", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.GetSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService" - } - } + "shortName": "GetSpecialistPool" }, + "description": "GetSpecialistPool gets a SpecialistPool.", + "file": "SpecialistPoolClient/GetSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_GetSpecialistPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "SpecialistPoolClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "SpecialistPoolClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_ListSpecialistPools_sync", - "title": "aiplatform ListSpecialistPools Sample", - "description": "ListSpecialistPools lists SpecialistPools in a Location.", - "file": "SpecialistPoolClient/ListSpecialistPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpecialistPools", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.ListSpecialistPools", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.ListSpecialistPools", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "ListSpecialistPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListSpecialistPoolsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListSpecialistPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpecialistPoolIterator", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "ListSpecialistPools", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.ListSpecialistPools", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService" - } - } + "shortName": "ListSpecialistPools" }, + "description": "ListSpecialistPools lists SpecialistPools in a Location.", + "file": "SpecialistPoolClient/ListSpecialistPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_ListSpecialistPools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListSpecialistPools Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_SetIamPolicy_sync", - "title": "aiplatform 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": "SpecialistPoolClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SpecialistPoolClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_TestIamPermissions_sync", - "title": "aiplatform 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": "SpecialistPoolClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SpecialistPoolClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_UpdateSpecialistPool_sync", - "title": "aiplatform UpdateSpecialistPool Sample", - "description": "UpdateSpecialistPool updates a SpecialistPool.", - "file": "SpecialistPoolClient/UpdateSpecialistPool/main.go", - "language": "GO", + ], + "title": "aiplatform TestIamPermissions Sample" + }, + { "clientMethod": { - "shortName": "UpdateSpecialistPool", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.UpdateSpecialistPool", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.UpdateSpecialistPool", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "shortName": "SpecialistPoolService" + }, + "shortName": "UpdateSpecialistPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateSpecialistPoolRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateSpecialistPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSpecialistPoolOperation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "UpdateSpecialistPool", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.UpdateSpecialistPool", - "service": { - "shortName": "SpecialistPoolService", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService" - } - } + "shortName": "UpdateSpecialistPool" }, + "description": "UpdateSpecialistPool updates a SpecialistPool.", + "file": "SpecialistPoolClient/UpdateSpecialistPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_UpdateSpecialistPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateSpecialistPool Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "SpecialistPoolClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient", + "shortName": "SpecialistPoolClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SpecialistPoolClient", - "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "SpecialistPoolClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_SpecialistPoolService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_BatchCreateTensorboardRuns_sync", - "title": "aiplatform BatchCreateTensorboardRuns Sample", - "description": "BatchCreateTensorboardRuns batch create TensorboardRuns.", - "file": "TensorboardClient/BatchCreateTensorboardRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTensorboardRuns", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.BatchCreateTensorboardRuns", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.BatchCreateTensorboardRuns", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "BatchCreateTensorboardRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateTensorboardRunsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateTensorboardRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchCreateTensorboardRunsResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "BatchCreateTensorboardRuns", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.BatchCreateTensorboardRuns", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "BatchCreateTensorboardRuns" }, + "description": "BatchCreateTensorboardRuns batch create TensorboardRuns.", + "file": "TensorboardClient/BatchCreateTensorboardRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_BatchCreateTensorboardRuns_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateTensorboardRuns Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_BatchCreateTensorboardTimeSeries_sync", - "title": "aiplatform BatchCreateTensorboardTimeSeries Sample", - "description": "BatchCreateTensorboardTimeSeries batch create TensorboardTimeSeries that belong to a TensorboardExperiment.", - "file": "TensorboardClient/BatchCreateTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.BatchCreateTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.BatchCreateTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "BatchCreateTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchCreateTensorboardTimeSeriesResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "BatchCreateTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.BatchCreateTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "BatchCreateTensorboardTimeSeries" }, + "description": "BatchCreateTensorboardTimeSeries batch create TensorboardTimeSeries that belong to a TensorboardExperiment.", + "file": "TensorboardClient/BatchCreateTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_BatchCreateTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_BatchReadTensorboardTimeSeriesData_sync", - "title": "aiplatform BatchReadTensorboardTimeSeriesData Sample", - "description": "BatchReadTensorboardTimeSeriesData reads multiple TensorboardTimeSeries' data. The data point number limit is\n1000 for scalars, 100 for tensors and blob references. If the number of\ndata points stored is less than the limit, all data is returned.\nOtherwise, the number limit of data points is randomly selected from\nthis time series and returned.", - "file": "TensorboardClient/BatchReadTensorboardTimeSeriesData/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchReadTensorboardTimeSeriesData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.BatchReadTensorboardTimeSeriesData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.BatchReadTensorboardTimeSeriesData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "BatchReadTensorboardTimeSeriesData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchReadTensorboardTimeSeriesDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchReadTensorboardTimeSeriesDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.BatchReadTensorboardTimeSeriesDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "BatchReadTensorboardTimeSeriesData", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.BatchReadTensorboardTimeSeriesData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "BatchReadTensorboardTimeSeriesData" }, + "description": "BatchReadTensorboardTimeSeriesData reads multiple TensorboardTimeSeries' data. The data point number limit is\n1000 for scalars, 100 for tensors and blob references. If the number of\ndata points stored is less than the limit, all data is returned.\nOtherwise, the number limit of data points is randomly selected from\nthis time series and returned.", + "file": "TensorboardClient/BatchReadTensorboardTimeSeriesData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_BatchReadTensorboardTimeSeriesData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchReadTensorboardTimeSeriesData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboard_sync", - "title": "aiplatform CreateTensorboard Sample", - "description": "CreateTensorboard creates a Tensorboard.", - "file": "TensorboardClient/CreateTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTensorboardOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboard", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "CreateTensorboard" }, + "description": "CreateTensorboard creates a Tensorboard.", + "file": "TensorboardClient/CreateTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboard_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboard Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboardExperiment_sync", - "title": "aiplatform CreateTensorboardExperiment Sample", - "description": "CreateTensorboardExperiment creates a TensorboardExperiment.", - "file": "TensorboardClient/CreateTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardExperiment", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "CreateTensorboardExperiment" }, + "description": "CreateTensorboardExperiment creates a TensorboardExperiment.", + "file": "TensorboardClient/CreateTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboardRun_sync", - "title": "aiplatform CreateTensorboardRun Sample", - "description": "CreateTensorboardRun creates a TensorboardRun.", - "file": "TensorboardClient/CreateTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardRun", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboardRun", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "CreateTensorboardRun" }, + "description": "CreateTensorboardRun creates a TensorboardRun.", + "file": "TensorboardClient/CreateTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboardRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboardTimeSeries_sync", - "title": "aiplatform CreateTensorboardTimeSeries Sample", - "description": "CreateTensorboardTimeSeries creates a TensorboardTimeSeries.", - "file": "TensorboardClient/CreateTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "CreateTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardTimeSeries", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "CreateTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "CreateTensorboardTimeSeries" }, + "description": "CreateTensorboardTimeSeries creates a TensorboardTimeSeries.", + "file": "TensorboardClient/CreateTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_CreateTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteOperation", "method": { - "shortName": "DeleteOperation", "fullName": "google.longrunning.Operations.DeleteOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboard_sync", - "title": "aiplatform DeleteTensorboard Sample", - "description": "DeleteTensorboard deletes a Tensorboard.", - "file": "TensorboardClient/DeleteTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboard", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "DeleteTensorboard" }, + "description": "DeleteTensorboard deletes a Tensorboard.", + "file": "TensorboardClient/DeleteTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboard_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboard Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboardExperiment_sync", - "title": "aiplatform DeleteTensorboardExperiment Sample", - "description": "DeleteTensorboardExperiment deletes a TensorboardExperiment.", - "file": "TensorboardClient/DeleteTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardExperimentOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "DeleteTensorboardExperiment" }, + "description": "DeleteTensorboardExperiment deletes a TensorboardExperiment.", + "file": "TensorboardClient/DeleteTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboardRun_sync", - "title": "aiplatform DeleteTensorboardRun Sample", - "description": "DeleteTensorboardRun deletes a TensorboardRun.", - "file": "TensorboardClient/DeleteTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardRunOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboardRun", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "DeleteTensorboardRun" }, + "description": "DeleteTensorboardRun deletes a TensorboardRun.", + "file": "TensorboardClient/DeleteTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboardRun_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboardTimeSeries_sync", - "title": "aiplatform DeleteTensorboardTimeSeries Sample", - "description": "DeleteTensorboardTimeSeries deletes a TensorboardTimeSeries.", - "file": "TensorboardClient/DeleteTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "DeleteTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTensorboardTimeSeriesOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "DeleteTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "DeleteTensorboardTimeSeries" }, + "description": "DeleteTensorboardTimeSeries deletes a TensorboardTimeSeries.", + "file": "TensorboardClient/DeleteTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_DeleteTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ExportTensorboardTimeSeriesData_sync", - "title": "aiplatform ExportTensorboardTimeSeriesData Sample", - "description": "ExportTensorboardTimeSeriesData exports a TensorboardTimeSeries' data. Data is returned in paginated\nresponses.", - "file": "TensorboardClient/ExportTensorboardTimeSeriesData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTensorboardTimeSeriesData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ExportTensorboardTimeSeriesData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ExportTensorboardTimeSeriesData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ExportTensorboardTimeSeriesData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ExportTensorboardTimeSeriesDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ExportTensorboardTimeSeriesDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TimeSeriesDataPointIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ExportTensorboardTimeSeriesData", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ExportTensorboardTimeSeriesData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ExportTensorboardTimeSeriesData" }, + "description": "ExportTensorboardTimeSeriesData exports a TensorboardTimeSeries' data. Data is returned in paginated\nresponses.", + "file": "TensorboardClient/ExportTensorboardTimeSeriesData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ExportTensorboardTimeSeriesData_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ExportTensorboardTimeSeriesData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetIamPolicy_sync", - "title": "aiplatform 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": "TensorboardClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "TensorboardClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TensorboardClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TensorboardClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboard_sync", - "title": "aiplatform GetTensorboard Sample", - "description": "GetTensorboard gets a Tensorboard.", - "file": "TensorboardClient/GetTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Tensorboard", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboard", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "GetTensorboard" }, + "description": "GetTensorboard gets a Tensorboard.", + "file": "TensorboardClient/GetTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboard Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboardExperiment_sync", - "title": "aiplatform GetTensorboardExperiment Sample", - "description": "GetTensorboardExperiment gets a TensorboardExperiment.", - "file": "TensorboardClient/GetTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardExperiment", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "GetTensorboardExperiment" }, + "description": "GetTensorboardExperiment gets a TensorboardExperiment.", + "file": "TensorboardClient/GetTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboardRun_sync", - "title": "aiplatform GetTensorboardRun Sample", - "description": "GetTensorboardRun gets a TensorboardRun.", - "file": "TensorboardClient/GetTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardRun", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboardRun", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "GetTensorboardRun" }, + "description": "GetTensorboardRun gets a TensorboardRun.", + "file": "TensorboardClient/GetTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboardRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboardTimeSeries_sync", - "title": "aiplatform GetTensorboardTimeSeries Sample", - "description": "GetTensorboardTimeSeries gets a TensorboardTimeSeries.", - "file": "TensorboardClient/GetTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "GetTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardTimeSeries", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "GetTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "GetTensorboardTimeSeries" }, + "description": "GetTensorboardTimeSeries gets a TensorboardTimeSeries.", + "file": "TensorboardClient/GetTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_GetTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "TensorboardClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "TensorboardClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboardExperiments_sync", - "title": "aiplatform ListTensorboardExperiments Sample", - "description": "ListTensorboardExperiments lists TensorboardExperiments in a Location.", - "file": "TensorboardClient/ListTensorboardExperiments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboardExperiments", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboardExperiments", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardExperiments", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboardExperiments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardExperimentsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardExperimentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardExperimentIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboardExperiments", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardExperiments", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ListTensorboardExperiments" }, + "description": "ListTensorboardExperiments lists TensorboardExperiments in a Location.", + "file": "TensorboardClient/ListTensorboardExperiments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboardExperiments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboardExperiments Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboardRuns_sync", - "title": "aiplatform ListTensorboardRuns Sample", - "description": "ListTensorboardRuns lists TensorboardRuns in a Location.", - "file": "TensorboardClient/ListTensorboardRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboardRuns", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboardRuns", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardRuns", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboardRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardRunsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardRunIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboardRuns", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardRuns", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ListTensorboardRuns" }, + "description": "ListTensorboardRuns lists TensorboardRuns in a Location.", + "file": "TensorboardClient/ListTensorboardRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboardRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboardRuns Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboardTimeSeries_sync", - "title": "aiplatform ListTensorboardTimeSeries Sample", - "description": "ListTensorboardTimeSeries lists TensorboardTimeSeries in a Location.", - "file": "TensorboardClient/ListTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardTimeSeriesIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ListTensorboardTimeSeries" }, + "description": "ListTensorboardTimeSeries lists TensorboardTimeSeries in a Location.", + "file": "TensorboardClient/ListTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboards_sync", - "title": "aiplatform ListTensorboards Sample", - "description": "ListTensorboards lists Tensorboards in a Location.", - "file": "TensorboardClient/ListTensorboards/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorboards", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboards", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboards", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ListTensorboards" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTensorboardsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTensorboardsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorboardIterator", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ListTensorboards", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboards", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ListTensorboards" }, + "description": "ListTensorboards lists Tensorboards in a Location.", + "file": "TensorboardClient/ListTensorboards/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ListTensorboards_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTensorboards Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardSize_sync", - "title": "aiplatform ReadTensorboardSize Sample", - "description": "ReadTensorboardSize returns the storage size for a given TensorBoard instance.", - "file": "TensorboardClient/ReadTensorboardSize/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadTensorboardSize", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ReadTensorboardSize", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardSize", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ReadTensorboardSize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadTensorboardSizeRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadTensorboardSizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadTensorboardSizeResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ReadTensorboardSize", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardSize", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ReadTensorboardSize" }, + "description": "ReadTensorboardSize returns the storage size for a given TensorBoard instance.", + "file": "TensorboardClient/ReadTensorboardSize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardSize_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadTensorboardSize Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardTimeSeriesData_sync", - "title": "aiplatform ReadTensorboardTimeSeriesData Sample", - "description": "ReadTensorboardTimeSeriesData reads a TensorboardTimeSeries' data. By default, if the number of data\npoints stored is less than 1000, all data is returned. Otherwise, 1000\ndata points is randomly selected from this time series and returned.\nThis value can be changed by changing max_data_points, which can't be\ngreater than 10k.", - "file": "TensorboardClient/ReadTensorboardTimeSeriesData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadTensorboardTimeSeriesData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ReadTensorboardTimeSeriesData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardTimeSeriesData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ReadTensorboardTimeSeriesData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ReadTensorboardTimeSeriesDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ReadTensorboardTimeSeriesDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ReadTensorboardTimeSeriesDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "ReadTensorboardTimeSeriesData", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardTimeSeriesData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "ReadTensorboardTimeSeriesData" }, + "description": "ReadTensorboardTimeSeriesData reads a TensorboardTimeSeries' data. By default, if the number of data\npoints stored is less than 1000, all data is returned. Otherwise, 1000\ndata points is randomly selected from this time series and returned.\nThis value can be changed by changing max_data_points, which can't be\ngreater than 10k.", + "file": "TensorboardClient/ReadTensorboardTimeSeriesData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardTimeSeriesData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadTensorboardTimeSeriesData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardUsage_sync", - "title": "aiplatform ReadTensorboardUsage Sample", - "description": "ReadTensorboardUsage returns a list of monthly active users for a given TensorBoard instance.", - "file": "TensorboardClient/ReadTensorboardUsage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadTensorboardUsage", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ReadTensorboardUsage", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.ReadTensorboardUsageRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.ReadTensorboardUsageResponse", "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ReadTensorboardUsage", "method": { - "shortName": "ReadTensorboardUsage", "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardUsage", "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "ReadTensorboardUsage" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.ReadTensorboardUsageRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.ReadTensorboardUsageResponse", + "shortName": "ReadTensorboardUsage" }, + "description": "ReadTensorboardUsage returns a list of monthly active users for a given TensorBoard instance.", + "file": "TensorboardClient/ReadTensorboardUsage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardUsage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ReadTensorboardUsage Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_SetIamPolicy_sync", - "title": "aiplatform 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": "TensorboardClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "TensorboardClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_TestIamPermissions_sync", - "title": "aiplatform 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": "TensorboardClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "TensorboardClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboard_sync", - "title": "aiplatform UpdateTensorboard Sample", - "description": "UpdateTensorboard updates a Tensorboard.", - "file": "TensorboardClient/UpdateTensorboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboard", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboard", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboard", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTensorboardOperation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboard", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboard", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "UpdateTensorboard" }, + "description": "UpdateTensorboard updates a Tensorboard.", + "file": "TensorboardClient/UpdateTensorboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboard_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboard Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboardExperiment_sync", - "title": "aiplatform UpdateTensorboardExperiment Sample", - "description": "UpdateTensorboardExperiment updates a TensorboardExperiment.", - "file": "TensorboardClient/UpdateTensorboardExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboardExperiment", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboardExperiment", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardExperiment", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboardExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardExperimentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardExperiment", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboardExperiment", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardExperiment", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "UpdateTensorboardExperiment" }, + "description": "UpdateTensorboardExperiment updates a TensorboardExperiment.", + "file": "TensorboardClient/UpdateTensorboardExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboardExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboardExperiment Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboardRun_sync", - "title": "aiplatform UpdateTensorboardRun Sample", - "description": "UpdateTensorboardRun updates a TensorboardRun.", - "file": "TensorboardClient/UpdateTensorboardRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboardRun", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboardRun", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardRun", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboardRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardRunRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardRun", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboardRun", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardRun", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "UpdateTensorboardRun" }, + "description": "UpdateTensorboardRun updates a TensorboardRun.", + "file": "TensorboardClient/UpdateTensorboardRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboardRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboardRun Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboardTimeSeries_sync", - "title": "aiplatform UpdateTensorboardTimeSeries Sample", - "description": "UpdateTensorboardTimeSeries updates a TensorboardTimeSeries.", - "file": "TensorboardClient/UpdateTensorboardTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTensorboardTimeSeries", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboardTimeSeries", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardTimeSeries", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "UpdateTensorboardTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateTensorboardTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateTensorboardTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.TensorboardTimeSeries", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "UpdateTensorboardTimeSeries", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardTimeSeries", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "UpdateTensorboardTimeSeries" }, + "description": "UpdateTensorboardTimeSeries updates a TensorboardTimeSeries.", + "file": "TensorboardClient/UpdateTensorboardTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_UpdateTensorboardTimeSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateTensorboardTimeSeries Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "TensorboardClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "TensorboardClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_WriteTensorboardExperimentData_sync", - "title": "aiplatform WriteTensorboardExperimentData Sample", - "description": "WriteTensorboardExperimentData write time series data points of multiple TensorboardTimeSeries in multiple\nTensorboardRun's. If any data fail to be ingested, an error is returned.", - "file": "TensorboardClient/WriteTensorboardExperimentData/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteTensorboardExperimentData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.WriteTensorboardExperimentData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WriteTensorboardExperimentData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "WriteTensorboardExperimentData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.WriteTensorboardExperimentDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.WriteTensorboardExperimentDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.WriteTensorboardExperimentDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "WriteTensorboardExperimentData", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WriteTensorboardExperimentData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "WriteTensorboardExperimentData" }, + "description": "WriteTensorboardExperimentData write time series data points of multiple TensorboardTimeSeries in multiple\nTensorboardRun's. If any data fail to be ingested, an error is returned.", + "file": "TensorboardClient/WriteTensorboardExperimentData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_WriteTensorboardExperimentData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WriteTensorboardExperimentData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_TensorboardService_WriteTensorboardRunData_sync", - "title": "aiplatform WriteTensorboardRunData Sample", - "description": "WriteTensorboardRunData write time series data points into multiple TensorboardTimeSeries under\na TensorboardRun. If any data fail to be ingested, an error is returned.", - "file": "TensorboardClient/WriteTensorboardRunData/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteTensorboardRunData", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient", + "shortName": "TensorboardClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.WriteTensorboardRunData", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WriteTensorboardRunData", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "shortName": "TensorboardService" + }, + "shortName": "WriteTensorboardRunData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.WriteTensorboardRunDataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.WriteTensorboardRunDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.WriteTensorboardRunDataResponse", - "client": { - "shortName": "TensorboardClient", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient" - }, - "method": { - "shortName": "WriteTensorboardRunData", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WriteTensorboardRunData", - "service": { - "shortName": "TensorboardService", - "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService" - } - } + "shortName": "WriteTensorboardRunData" }, + "description": "WriteTensorboardRunData write time series data points into multiple TensorboardTimeSeries under\na TensorboardRun. If any data fail to be ingested, an error is returned.", + "file": "TensorboardClient/WriteTensorboardRunData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_TensorboardService_WriteTensorboardRunData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WriteTensorboardRunData Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchCreateRagDataSchemas_sync", - "title": "aiplatform BatchCreateRagDataSchemas Sample", - "description": "BatchCreateRagDataSchemas batch Create one or more RagDataSchemas", - "file": "VertexRagDataClient/BatchCreateRagDataSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateRagDataSchemas", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.BatchCreateRagDataSchemas", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchCreateRagDataSchemas", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "BatchCreateRagDataSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateRagDataSchemasRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateRagDataSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateRagDataSchemasOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "BatchCreateRagDataSchemas", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchCreateRagDataSchemas", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "BatchCreateRagDataSchemas" }, + "description": "BatchCreateRagDataSchemas batch Create one or more RagDataSchemas", + "file": "VertexRagDataClient/BatchCreateRagDataSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchCreateRagDataSchemas_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateRagDataSchemas Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchCreateRagMetadata_sync", - "title": "aiplatform BatchCreateRagMetadata Sample", - "description": "BatchCreateRagMetadata batch Create one or more RagMetadatas", - "file": "VertexRagDataClient/BatchCreateRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateRagMetadata", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.BatchCreateRagMetadata", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchCreateRagMetadata", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "BatchCreateRagMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchCreateRagMetadataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchCreateRagMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateRagMetadataOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "BatchCreateRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchCreateRagMetadata", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "BatchCreateRagMetadata" }, + "description": "BatchCreateRagMetadata batch Create one or more RagMetadatas", + "file": "VertexRagDataClient/BatchCreateRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchCreateRagMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchCreateRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchDeleteRagDataSchemas_sync", - "title": "aiplatform BatchDeleteRagDataSchemas Sample", - "description": "BatchDeleteRagDataSchemas batch Deletes one or more RagDataSchemas", - "file": "VertexRagDataClient/BatchDeleteRagDataSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteRagDataSchemas", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.BatchDeleteRagDataSchemas", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchDeleteRagDataSchemas", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "BatchDeleteRagDataSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchDeleteRagDataSchemasRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchDeleteRagDataSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteRagDataSchemasOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "BatchDeleteRagDataSchemas", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchDeleteRagDataSchemas", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "BatchDeleteRagDataSchemas" }, + "description": "BatchDeleteRagDataSchemas batch Deletes one or more RagDataSchemas", + "file": "VertexRagDataClient/BatchDeleteRagDataSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchDeleteRagDataSchemas_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchDeleteRagDataSchemas Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchDeleteRagMetadata_sync", - "title": "aiplatform BatchDeleteRagMetadata Sample", - "description": "BatchDeleteRagMetadata batch Deletes one or more RagMetadata.", - "file": "VertexRagDataClient/BatchDeleteRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteRagMetadata", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.BatchDeleteRagMetadata", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchDeleteRagMetadata", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "BatchDeleteRagMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.BatchDeleteRagMetadataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.BatchDeleteRagMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteRagMetadataOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "BatchDeleteRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.BatchDeleteRagMetadata", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "BatchDeleteRagMetadata" }, + "description": "BatchDeleteRagMetadata batch Deletes one or more RagMetadata.", + "file": "VertexRagDataClient/BatchDeleteRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_BatchDeleteRagMetadata_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform BatchDeleteRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CreateRagCorpus_sync", - "title": "aiplatform CreateRagCorpus Sample", - "description": "CreateRagCorpus creates a RagCorpus.", - "file": "VertexRagDataClient/CreateRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.CreateRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "CreateRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRagCorpusOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "CreateRagCorpus", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "CreateRagCorpus" }, + "description": "CreateRagCorpus creates a RagCorpus.", + "file": "VertexRagDataClient/CreateRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CreateRagCorpus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateRagCorpus Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CreateRagDataSchema_sync", - "title": "aiplatform CreateRagDataSchema Sample", - "description": "CreateRagDataSchema creates a RagDataSchema.", - "file": "VertexRagDataClient/CreateRagDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRagDataSchema", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.CreateRagDataSchema", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "CreateRagDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateRagDataSchemaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateRagDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagDataSchema", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "CreateRagDataSchema", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagDataSchema", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "CreateRagDataSchema" }, + "description": "CreateRagDataSchema creates a RagDataSchema.", + "file": "VertexRagDataClient/CreateRagDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CreateRagDataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateRagDataSchema Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CreateRagMetadata_sync", - "title": "aiplatform CreateRagMetadata Sample", - "description": "CreateRagMetadata creates a RagMetadata.", - "file": "VertexRagDataClient/CreateRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRagMetadata", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.CreateRagMetadata", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagMetadata", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "CreateRagMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateRagMetadataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateRagMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagMetadata", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "CreateRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.CreateRagMetadata", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "CreateRagMetadata" }, + "description": "CreateRagMetadata creates a RagMetadata.", + "file": "VertexRagDataClient/CreateRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_CreateRagMetadata_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagCorpus_sync", - "title": "aiplatform DeleteRagCorpus Sample", - "description": "DeleteRagCorpus deletes a RagCorpus.", - "file": "VertexRagDataClient/DeleteRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.DeleteRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "DeleteRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRagCorpusOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteRagCorpus", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "DeleteRagCorpus" }, + "description": "DeleteRagCorpus deletes a RagCorpus.", + "file": "VertexRagDataClient/DeleteRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagCorpus_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteRagCorpus Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagDataSchema_sync", - "title": "aiplatform DeleteRagDataSchema Sample", - "description": "DeleteRagDataSchema deletes a RagDataSchema.", - "file": "VertexRagDataClient/DeleteRagDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRagDataSchema", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.DeleteRagDataSchema", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagDataSchema", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "DeleteRagDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteRagDataSchemaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteRagDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteRagDataSchema", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagDataSchema", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "DeleteRagDataSchema" }, + "description": "DeleteRagDataSchema deletes a RagDataSchema.", + "file": "VertexRagDataClient/DeleteRagDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagDataSchema_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteRagDataSchema Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagFile_sync", - "title": "aiplatform DeleteRagFile Sample", - "description": "DeleteRagFile deletes a RagFile.", - "file": "VertexRagDataClient/DeleteRagFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRagFile", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.DeleteRagFile", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.DeleteRagFileRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DeleteRagFileOperation", "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.DeleteRagFile", "method": { - "shortName": "DeleteRagFile", "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagFile", "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "DeleteRagFile" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.DeleteRagFileRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DeleteRagFileOperation", + "shortName": "DeleteRagFile" }, + "description": "DeleteRagFile deletes a RagFile.", + "file": "VertexRagDataClient/DeleteRagFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagFile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteRagFile Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagMetadata_sync", - "title": "aiplatform DeleteRagMetadata Sample", - "description": "DeleteRagMetadata deletes a RagMetadata.", - "file": "VertexRagDataClient/DeleteRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRagMetadata", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.DeleteRagMetadata", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagMetadata", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "DeleteRagMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteRagMetadataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteRagMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "DeleteRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagMetadata", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "DeleteRagMetadata" }, + "description": "DeleteRagMetadata deletes a RagMetadata.", + "file": "VertexRagDataClient/DeleteRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_DeleteRagMetadata_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagDataClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VertexRagDataClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VertexRagDataClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VertexRagDataClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagCorpus_sync", - "title": "aiplatform GetRagCorpus Sample", - "description": "GetRagCorpus gets a RagCorpus.", - "file": "VertexRagDataClient/GetRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagCorpus", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagCorpus", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "GetRagCorpus" }, + "description": "GetRagCorpus gets a RagCorpus.", + "file": "VertexRagDataClient/GetRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagCorpus Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagDataSchema_sync", - "title": "aiplatform GetRagDataSchema Sample", - "description": "GetRagDataSchema gets a RagDataSchema.", - "file": "VertexRagDataClient/GetRagDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagDataSchema", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetRagDataSchema", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagDataSchema", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagDataSchemaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagDataSchema", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagDataSchema", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagDataSchema", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "GetRagDataSchema" }, + "description": "GetRagDataSchema gets a RagDataSchema.", + "file": "VertexRagDataClient/GetRagDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagDataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagDataSchema Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagEngineConfig_sync", - "title": "aiplatform GetRagEngineConfig Sample", - "description": "GetRagEngineConfig gets a RagEngineConfig.", - "file": "VertexRagDataClient/GetRagEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagEngineConfig", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetRagEngineConfig", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagEngineConfig", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagEngineConfigRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagEngineConfig", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagEngineConfig", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagEngineConfig", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "GetRagEngineConfig" }, + "description": "GetRagEngineConfig gets a RagEngineConfig.", + "file": "VertexRagDataClient/GetRagEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagEngineConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagEngineConfig Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagFile_sync", - "title": "aiplatform GetRagFile Sample", - "description": "GetRagFile gets a RagFile.", - "file": "VertexRagDataClient/GetRagFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagFile", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetRagFile", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagFile", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagFileRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagFile", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagFile", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagFile", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "GetRagFile" }, + "description": "GetRagFile gets a RagFile.", + "file": "VertexRagDataClient/GetRagFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagFile Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagMetadata_sync", - "title": "aiplatform GetRagMetadata Sample", - "description": "GetRagMetadata gets a RagMetadata.", - "file": "VertexRagDataClient/GetRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRagMetadata", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.GetRagMetadata", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagMetadata", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "GetRagMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetRagMetadataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetRagMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RagMetadata", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "GetRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.GetRagMetadata", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "GetRagMetadata" }, + "description": "GetRagMetadata gets a RagMetadata.", + "file": "VertexRagDataClient/GetRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_GetRagMetadata_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ImportRagFiles_sync", - "title": "aiplatform ImportRagFiles Sample", - "description": "ImportRagFiles import files from Google Cloud Storage or Google Drive into a RagCorpus.", - "file": "VertexRagDataClient/ImportRagFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportRagFiles", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ImportRagFiles", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ImportRagFiles", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ImportRagFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ImportRagFilesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ImportRagFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportRagFilesOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ImportRagFiles", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ImportRagFiles", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "ImportRagFiles" }, + "description": "ImportRagFiles import files from Google Cloud Storage or Google Drive into a RagCorpus.", + "file": "VertexRagDataClient/ImportRagFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ImportRagFiles_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ImportRagFiles Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "VertexRagDataClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "VertexRagDataClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagCorpora_sync", - "title": "aiplatform ListRagCorpora Sample", - "description": "ListRagCorpora lists RagCorpora in a Location.", - "file": "VertexRagDataClient/ListRagCorpora/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRagCorpora", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ListRagCorpora", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagCorpora", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ListRagCorpora" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListRagCorporaRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListRagCorporaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RagCorpusIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ListRagCorpora", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagCorpora", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "ListRagCorpora" }, + "description": "ListRagCorpora lists RagCorpora in a Location.", + "file": "VertexRagDataClient/ListRagCorpora/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagCorpora_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListRagCorpora Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagDataSchemas_sync", - "title": "aiplatform ListRagDataSchemas Sample", - "description": "ListRagDataSchemas lists RagDataSchemas in a Location.", - "file": "VertexRagDataClient/ListRagDataSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRagDataSchemas", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ListRagDataSchemas", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagDataSchemas", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ListRagDataSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListRagDataSchemasRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListRagDataSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RagDataSchemaIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ListRagDataSchemas", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagDataSchemas", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "ListRagDataSchemas" }, + "description": "ListRagDataSchemas lists RagDataSchemas in a Location.", + "file": "VertexRagDataClient/ListRagDataSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagDataSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListRagDataSchemas Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagFiles_sync", - "title": "aiplatform ListRagFiles Sample", - "description": "ListRagFiles lists RagFiles in a RagCorpus.", - "file": "VertexRagDataClient/ListRagFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRagFiles", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ListRagFiles", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagFiles", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ListRagFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListRagFilesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListRagFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RagFileIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ListRagFiles", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagFiles", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "ListRagFiles" }, + "description": "ListRagFiles lists RagFiles in a RagCorpus.", + "file": "VertexRagDataClient/ListRagFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListRagFiles Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagMetadata_sync", - "title": "aiplatform ListRagMetadata Sample", - "description": "ListRagMetadata lists RagMetadata in a RagFile.", - "file": "VertexRagDataClient/ListRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRagMetadata", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.ListRagMetadata", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagMetadata", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "ListRagMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListRagMetadataRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListRagMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RagMetadataIterator", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "ListRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagMetadata", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "ListRagMetadata" }, + "description": "ListRagMetadata lists RagMetadata in a RagFile.", + "file": "VertexRagDataClient/ListRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_ListRagMetadata_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_SetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagDataClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VertexRagDataClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_TestIamPermissions_sync", - "title": "aiplatform 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": "VertexRagDataClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VertexRagDataClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UpdateRagCorpus_sync", - "title": "aiplatform UpdateRagCorpus Sample", - "description": "UpdateRagCorpus updates a RagCorpus.", - "file": "VertexRagDataClient/UpdateRagCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRagCorpus", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.UpdateRagCorpus", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UpdateRagCorpus", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UpdateRagCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateRagCorpusRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateRagCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRagCorpusOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "UpdateRagCorpus", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UpdateRagCorpus", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "UpdateRagCorpus" }, + "description": "UpdateRagCorpus updates a RagCorpus.", + "file": "VertexRagDataClient/UpdateRagCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UpdateRagCorpus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateRagCorpus Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UpdateRagEngineConfig_sync", - "title": "aiplatform UpdateRagEngineConfig Sample", - "description": "UpdateRagEngineConfig updates a RagEngineConfig.", - "file": "VertexRagDataClient/UpdateRagEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRagEngineConfig", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.UpdateRagEngineConfig", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UpdateRagEngineConfig", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UpdateRagEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UpdateRagEngineConfigRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UpdateRagEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRagEngineConfigOperation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "UpdateRagEngineConfig", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UpdateRagEngineConfig", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "UpdateRagEngineConfig" }, + "description": "UpdateRagEngineConfig updates a RagEngineConfig.", + "file": "VertexRagDataClient/UpdateRagEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UpdateRagEngineConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateRagEngineConfig Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UpdateRagMetadata_sync", - "title": "aiplatform UpdateRagMetadata Sample", - "description": "UpdateRagMetadata updates a RagMetadata.", - "file": "VertexRagDataClient/UpdateRagMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRagMetadata", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.UpdateRagMetadata", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "aiplatformpb.UpdateRagMetadataRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.RagMetadata", "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" }, + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.UpdateRagMetadata", "method": { - "shortName": "UpdateRagMetadata", "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UpdateRagMetadata", "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UpdateRagMetadata" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "aiplatformpb.UpdateRagMetadataRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.RagMetadata", + "shortName": "UpdateRagMetadata" }, + "description": "UpdateRagMetadata updates a RagMetadata.", + "file": "VertexRagDataClient/UpdateRagMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UpdateRagMetadata_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UpdateRagMetadata Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UploadRagFile_sync", - "title": "aiplatform UploadRagFile Sample", - "description": "UploadRagFile upload a file into a RagCorpus.", - "file": "VertexRagDataClient/UploadRagFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadRagFile", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.UploadRagFile", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UploadRagFile", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService", + "shortName": "VertexRagDataService" + }, + "shortName": "UploadRagFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.UploadRagFileRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.UploadRagFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.UploadRagFileResponse", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "UploadRagFile", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService.UploadRagFile", - "service": { - "shortName": "VertexRagDataService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataService" - } - } + "shortName": "UploadRagFile" }, + "description": "UploadRagFile upload a file into a RagCorpus.", + "file": "VertexRagDataClient/UploadRagFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_UploadRagFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform UploadRagFile Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagDataClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient", + "shortName": "VertexRagDataClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagDataClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagDataClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagDataClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagDataService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AskContexts_sync", - "title": "aiplatform AskContexts Sample", - "description": "AskContexts agentic Retrieval Ask API for RAG.", - "file": "VertexRagClient/AskContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "AskContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.AskContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AskContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "AskContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AskContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AskContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AskContextsResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "AskContexts", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AskContexts", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" - } - } + "shortName": "AskContexts" }, + "description": "AskContexts agentic Retrieval Ask API for RAG.", + "file": "VertexRagClient/AskContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AskContexts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AskContexts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_sync", - "title": "aiplatform AsyncRetrieveContexts Sample", - "description": "AsyncRetrieveContexts asynchronous API to retrieves relevant contexts for a query.", - "file": "VertexRagClient/AsyncRetrieveContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "AsyncRetrieveContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.AsyncRetrieveContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "AsyncRetrieveContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AsyncRetrieveContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AsyncRetrieveContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AsyncRetrieveContextsOperation", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "AsyncRetrieveContexts", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContexts", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" - } - } + "shortName": "AsyncRetrieveContexts" }, + "description": "AsyncRetrieveContexts asynchronous API to retrieves relevant contexts for a query.", + "file": "VertexRagClient/AsyncRetrieveContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AsyncRetrieveContexts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AugmentPrompt_sync", - "title": "aiplatform AugmentPrompt Sample", - "description": "AugmentPrompt given an input prompt, it returns augmented prompt from vertex rag store\nto guide LLM towards generating grounded responses.", - "file": "VertexRagClient/AugmentPrompt/main.go", - "language": "GO", "clientMethod": { - "shortName": "AugmentPrompt", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.AugmentPrompt", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AugmentPrompt", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "AugmentPrompt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AugmentPromptRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AugmentPromptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.AugmentPromptResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "AugmentPrompt", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AugmentPrompt", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" - } - } + "shortName": "AugmentPrompt" }, + "description": "AugmentPrompt given an input prompt, it returns augmented prompt from vertex rag store\nto guide LLM towards generating grounded responses.", + "file": "VertexRagClient/AugmentPrompt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AugmentPrompt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AugmentPrompt Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_CorroborateContent_sync", - "title": "aiplatform CorroborateContent Sample", - "description": "CorroborateContent given an input text, it returns a score that evaluates the factuality of\nthe text. It also extracts and returns claims from the text and provides\nsupporting facts.", - "file": "VertexRagClient/CorroborateContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CorroborateContent", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.CorroborateContent", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.CorroborateContent", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "CorroborateContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CorroborateContentRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CorroborateContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.CorroborateContentResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "CorroborateContent", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.CorroborateContent", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" - } - } + "shortName": "CorroborateContent" }, + "description": "CorroborateContent given an input text, it returns a score that evaluates the factuality of\nthe text. It also extracts and returns claims from the text and provides\nsupporting facts.", + "file": "VertexRagClient/CorroborateContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_CorroborateContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CorroborateContent Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_GetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VertexRagClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VertexRagClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VertexRagClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "VertexRagClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "VertexRagClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_RetrieveContexts_sync", - "title": "aiplatform RetrieveContexts Sample", - "description": "RetrieveContexts retrieves relevant contexts for a query.", - "file": "VertexRagClient/RetrieveContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveContexts", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.RetrieveContexts", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.RetrieveContexts", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService", + "shortName": "VertexRagService" + }, + "shortName": "RetrieveContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.RetrieveContextsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.RetrieveContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.RetrieveContextsResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "RetrieveContexts", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.RetrieveContexts", - "service": { - "shortName": "VertexRagService", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" - } - } + "shortName": "RetrieveContexts" }, + "description": "RetrieveContexts retrieves relevant contexts for a query.", + "file": "VertexRagClient/RetrieveContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_RetrieveContexts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform RetrieveContexts Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_SetIamPolicy_sync", - "title": "aiplatform 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": "VertexRagClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VertexRagClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_TestIamPermissions_sync", - "title": "aiplatform 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": "VertexRagClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VertexRagClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VertexRagService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "VertexRagClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient", + "shortName": "VertexRagClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VertexRagClient", - "fullName": "google.cloud.aiplatform.v1beta1.VertexRagClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "VertexRagClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_AddTrialMeasurement_sync", - "title": "aiplatform AddTrialMeasurement Sample", - "description": "AddTrialMeasurement adds a measurement of the objective metrics to a Trial. This measurement\nis assumed to have been taken before the Trial is complete.", - "file": "VizierClient/AddTrialMeasurement/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddTrialMeasurement", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.AddTrialMeasurement", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.AddTrialMeasurement", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "AddTrialMeasurement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.AddTrialMeasurementRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.AddTrialMeasurementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "AddTrialMeasurement", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.AddTrialMeasurement", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "AddTrialMeasurement" }, + "description": "AddTrialMeasurement adds a measurement of the objective metrics to a Trial. This measurement\nis assumed to have been taken before the Trial is complete.", + "file": "VizierClient/AddTrialMeasurement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_AddTrialMeasurement_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform AddTrialMeasurement Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_CancelOperation_sync", - "title": "aiplatform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CancelOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_CheckTrialEarlyStoppingState_sync", - "title": "aiplatform CheckTrialEarlyStoppingState Sample", - "description": "CheckTrialEarlyStoppingState checks whether a Trial should stop or not. Returns a\nlong-running operation. When the operation is successful,\nit will contain a\n[CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1beta1.CheckTrialEarlyStoppingStateResponse].", - "file": "VizierClient/CheckTrialEarlyStoppingState/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckTrialEarlyStoppingState", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CheckTrialEarlyStoppingState", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CheckTrialEarlyStoppingState", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CheckTrialEarlyStoppingState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CheckTrialEarlyStoppingStateRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CheckTrialEarlyStoppingStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CheckTrialEarlyStoppingStateOperation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "CheckTrialEarlyStoppingState", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CheckTrialEarlyStoppingState", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "CheckTrialEarlyStoppingState" }, + "description": "CheckTrialEarlyStoppingState checks whether a Trial should stop or not. Returns a\nlong-running operation. When the operation is successful,\nit will contain a\n[CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1beta1.CheckTrialEarlyStoppingStateResponse].", + "file": "VizierClient/CheckTrialEarlyStoppingState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_CheckTrialEarlyStoppingState_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CheckTrialEarlyStoppingState Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_CompleteTrial_sync", - "title": "aiplatform CompleteTrial Sample", - "description": "CompleteTrial marks a Trial as complete.", - "file": "VizierClient/CompleteTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CompleteTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CompleteTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CompleteTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CompleteTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CompleteTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "CompleteTrial", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CompleteTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*aiplatformpb.Trial", + "shortName": "CompleteTrial" }, + "description": "CompleteTrial marks a Trial as complete.", + "file": "VizierClient/CompleteTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_CompleteTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CompleteTrial Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_CreateStudy_sync", - "title": "aiplatform CreateStudy Sample", - "description": "CreateStudy creates a Study. A resource name will be generated after creation of the\nStudy.", - "file": "VizierClient/CreateStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CreateStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CreateStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CreateStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Study", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "CreateStudy", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CreateStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "CreateStudy" }, + "description": "CreateStudy creates a Study. A resource name will be generated after creation of the\nStudy.", + "file": "VizierClient/CreateStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_CreateStudy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateStudy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_CreateTrial_sync", - "title": "aiplatform CreateTrial Sample", - "description": "CreateTrial adds a user provided Trial to a Study.", - "file": "VizierClient/CreateTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CreateTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CreateTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "CreateTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.CreateTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.CreateTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "CreateTrial", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CreateTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "CreateTrial" }, + "description": "CreateTrial adds a user provided Trial to a Study.", + "file": "VizierClient/CreateTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_CreateTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform CreateTrial Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_DeleteOperation_sync", - "title": "aiplatform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_DeleteStudy_sync", - "title": "aiplatform DeleteStudy Sample", - "description": "DeleteStudy deletes a Study.", - "file": "VizierClient/DeleteStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.DeleteStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "DeleteStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "DeleteStudy", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "DeleteStudy" }, + "description": "DeleteStudy deletes a Study.", + "file": "VizierClient/DeleteStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_DeleteStudy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteStudy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_DeleteTrial_sync", - "title": "aiplatform DeleteTrial Sample", - "description": "DeleteTrial deletes a Trial.", - "file": "VizierClient/DeleteTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.DeleteTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "DeleteTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.DeleteTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.DeleteTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "DeleteTrial", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "DeleteTrial" }, + "description": "DeleteTrial deletes a Trial.", + "file": "VizierClient/DeleteTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_DeleteTrial_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform DeleteTrial Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_GetIamPolicy_sync", - "title": "aiplatform 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": "VizierClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VizierClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_GetLocation_sync", - "title": "aiplatform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VizierClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VizierClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetLocation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_GetOperation_sync", - "title": "aiplatform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetOperation Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_GetStudy_sync", - "title": "aiplatform GetStudy Sample", - "description": "GetStudy gets a Study by name.", - "file": "VizierClient/GetStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "GetStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Study", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "GetStudy", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "GetStudy" }, + "description": "GetStudy gets a Study by name.", + "file": "VizierClient/GetStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_GetStudy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetStudy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_GetTrial_sync", - "title": "aiplatform GetTrial Sample", - "description": "GetTrial gets a Trial.", - "file": "VizierClient/GetTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "GetTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.GetTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.GetTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "GetTrial", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "GetTrial" }, + "description": "GetTrial gets a Trial.", + "file": "VizierClient/GetTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_GetTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform GetTrial Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_ListLocations_sync", - "title": "aiplatform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "VizierClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "VizierClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListLocations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_ListOperations_sync", - "title": "aiplatform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VizierClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VizierClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOperations Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_ListOptimalTrials_sync", - "title": "aiplatform ListOptimalTrials Sample", - "description": "ListOptimalTrials lists the pareto-optimal Trials for multi-objective Study or the\noptimal Trials for single-objective Study. The definition of\npareto-optimal can be checked in wiki page.\nhttps: //en.wikipedia.org/wiki/Pareto_efficiency", - "file": "VizierClient/ListOptimalTrials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOptimalTrials", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListOptimalTrials", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListOptimalTrials", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "ListOptimalTrials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListOptimalTrialsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListOptimalTrialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.ListOptimalTrialsResponse", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "ListOptimalTrials", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListOptimalTrials", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "ListOptimalTrials" }, + "description": "ListOptimalTrials lists the pareto-optimal Trials for multi-objective Study or the\noptimal Trials for single-objective Study. The definition of\npareto-optimal can be checked in wiki page.\nhttps: //en.wikipedia.org/wiki/Pareto_efficiency", + "file": "VizierClient/ListOptimalTrials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_ListOptimalTrials_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListOptimalTrials Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_ListStudies_sync", - "title": "aiplatform ListStudies Sample", - "description": "ListStudies lists all the studies in a region for an associated project.", - "file": "VizierClient/ListStudies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStudies", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListStudies", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListStudies", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "ListStudies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListStudiesRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListStudiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StudyIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "ListStudies", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListStudies", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "ListStudies" }, + "description": "ListStudies lists all the studies in a region for an associated project.", + "file": "VizierClient/ListStudies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_ListStudies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListStudies Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_ListTrials_sync", - "title": "aiplatform ListTrials Sample", - "description": "ListTrials lists the Trials associated with a Study.", - "file": "VizierClient/ListTrials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTrials", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListTrials", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListTrials", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "ListTrials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.ListTrialsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.ListTrialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrialIterator", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "ListTrials", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListTrials", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "ListTrials" }, + "description": "ListTrials lists the Trials associated with a Study.", + "file": "VizierClient/ListTrials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_ListTrials_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform ListTrials Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_LookupStudy_sync", - "title": "aiplatform LookupStudy Sample", - "description": "LookupStudy looks a study up using the user-defined display_name field instead of the\nfully qualified resource name.", - "file": "VizierClient/LookupStudy/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupStudy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.LookupStudy", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.LookupStudy", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "LookupStudy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.LookupStudyRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.LookupStudyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Study", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "LookupStudy", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.LookupStudy", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "LookupStudy" }, + "description": "LookupStudy looks a study up using the user-defined display_name field instead of the\nfully qualified resource name.", + "file": "VizierClient/LookupStudy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_LookupStudy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform LookupStudy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_SetIamPolicy_sync", - "title": "aiplatform 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": "VizierClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VizierClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SetIamPolicy Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_StopTrial_sync", - "title": "aiplatform StopTrial Sample", - "description": "StopTrial stops a Trial.", - "file": "VizierClient/StopTrial/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopTrial", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.StopTrial", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.StopTrial", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "StopTrial" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.StopTrialRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.StopTrialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*aiplatformpb.Trial", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "StopTrial", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.StopTrial", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "StopTrial" }, + "description": "StopTrial stops a Trial.", + "file": "VizierClient/StopTrial/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_StopTrial_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform StopTrial Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_SuggestTrials_sync", - "title": "aiplatform SuggestTrials Sample", - "description": "SuggestTrials adds one or more Trials to a Study, with parameter values\nsuggested by Vertex AI Vizier. Returns a long-running\noperation associated with the generation of Trial suggestions.\nWhen this long-running operation succeeds, it will contain\na\n[SuggestTrialsResponse][google.cloud.aiplatform.v1beta1.SuggestTrialsResponse].", - "file": "VizierClient/SuggestTrials/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestTrials", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.SuggestTrials", + "method": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.SuggestTrials", + "service": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "shortName": "VizierService" + }, + "shortName": "SuggestTrials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "aiplatformpb.SuggestTrialsRequest", - "name": "req" + "name": "req", + "type": "aiplatformpb.SuggestTrialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SuggestTrialsOperation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "SuggestTrials", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService.SuggestTrials", - "service": { - "shortName": "VizierService", - "fullName": "google.cloud.aiplatform.v1beta1.VizierService" - } - } + "shortName": "SuggestTrials" }, + "description": "SuggestTrials adds one or more Trials to a Study, with parameter values\nsuggested by Vertex AI Vizier. Returns a long-running\noperation associated with the generation of Trial suggestions.\nWhen this long-running operation succeeds, it will contain\na\n[SuggestTrialsResponse][google.cloud.aiplatform.v1beta1.SuggestTrialsResponse].", + "file": "VizierClient/SuggestTrials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_SuggestTrials_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform SuggestTrials Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_TestIamPermissions_sync", - "title": "aiplatform 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": "VizierClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VizierClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform TestIamPermissions Sample" }, { - "regionTag": "aiplatform_v1beta1_generated_VizierService_WaitOperation_sync", - "title": "aiplatform WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "VizierClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.aiplatform.v1beta1.VizierClient", + "shortName": "VizierClient" + }, "fullName": "google.cloud.aiplatform.v1beta1.VizierClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VizierClient", - "fullName": "google.cloud.aiplatform.v1beta1.VizierClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "VizierClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "aiplatform_v1beta1_generated_VizierService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "aiplatform WaitOperation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json b/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json index 2bcfa7d35470..6d12dfb07b8c 100644 --- a/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json +++ b/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json @@ -1,2310 +1,2310 @@ { "clientLibrary": { - "name": "cloud.google.com/go/alloydb/apiv1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.alloydb.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/alloydb/apiv1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_BatchCreateInstances_sync", - "title": "alloydb BatchCreateInstances Sample", - "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.", - "file": "AlloyDBAdminClient/BatchCreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateInstances", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.BatchCreateInstances", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.BatchCreateInstances", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "BatchCreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.BatchCreateInstancesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.BatchCreateInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateInstancesOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "BatchCreateInstances", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.BatchCreateInstances", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "BatchCreateInstances" }, + "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.", + "file": "AlloyDBAdminClient/BatchCreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_BatchCreateInstances_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb BatchCreateInstances Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CancelOperation_sync", - "title": "alloydb CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CancelOperation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateBackup_sync", - "title": "alloydb CreateBackup Sample", - "description": "CreateBackup creates a new Backup in a given project and location.", - "file": "AlloyDBAdminClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CreateBackup", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateBackup", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a new Backup in a given project and location.", + "file": "AlloyDBAdminClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateBackup Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateCluster_sync", - "title": "alloydb CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "AlloyDBAdminClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CreateCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "AlloyDBAdminClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateInstance_sync", - "title": "alloydb CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "AlloyDBAdminClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CreateInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "AlloyDBAdminClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateSecondaryCluster_sync", - "title": "alloydb CreateSecondaryCluster Sample", - "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.", - "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecondaryCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CreateSecondaryCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateSecondaryCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateSecondaryClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateSecondaryClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSecondaryClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateSecondaryCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "CreateSecondaryCluster" }, + "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.", + "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateSecondaryCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateSecondaryCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateSecondaryInstance_sync", - "title": "alloydb CreateSecondaryInstance Sample", - "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.", - "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecondaryInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CreateSecondaryInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateSecondaryInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateSecondaryInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateSecondaryInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSecondaryInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateSecondaryInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "CreateSecondaryInstance" }, + "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.", + "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateSecondaryInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateSecondaryInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateUser_sync", - "title": "alloydb CreateUser Sample", - "description": "CreateUser creates a new User in a given project, location, and cluster.", - "file": "AlloyDBAdminClient/CreateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUser", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.CreateUser", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateUser", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateUser", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "CreateUser" }, + "description": "CreateUser creates a new User in a given project, location, and cluster.", + "file": "AlloyDBAdminClient/CreateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_CreateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateUser Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteBackup_sync", - "title": "alloydb DeleteBackup Sample", - "description": "DeleteBackup deletes a single Backup.", - "file": "AlloyDBAdminClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.DeleteBackup", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteBackup", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a single Backup.", + "file": "AlloyDBAdminClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteBackup Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteCluster_sync", - "title": "alloydb DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "AlloyDBAdminClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.DeleteCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "AlloyDBAdminClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteInstance_sync", - "title": "alloydb DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "AlloyDBAdminClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.DeleteInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "AlloyDBAdminClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteOperation_sync", - "title": "alloydb DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteOperation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteUser_sync", - "title": "alloydb DeleteUser Sample", - "description": "DeleteUser deletes a single User.", - "file": "AlloyDBAdminClient/DeleteUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUser", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.DeleteUser", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUser", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "DeleteUser" }, + "description": "DeleteUser deletes a single User.", + "file": "AlloyDBAdminClient/DeleteUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_DeleteUser_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteUser Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ExecuteSql_sync", - "title": "alloydb ExecuteSql Sample", - "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.", - "file": "AlloyDBAdminClient/ExecuteSql/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteSql", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ExecuteSql", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ExecuteSql", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ExecuteSql" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ExecuteSqlRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ExecuteSqlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.ExecuteSqlResponse", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ExecuteSql", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ExecuteSql", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ExecuteSql" }, + "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.", + "file": "AlloyDBAdminClient/ExecuteSql/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ExecuteSql_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ExecuteSql Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ExportCluster_sync", - "title": "alloydb ExportCluster Sample", - "description": "ExportCluster exports data from the cluster.\nImperative only.", - "file": "AlloyDBAdminClient/ExportCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ExportCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ExportCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ExportCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ExportClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ExportClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ExportCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ExportCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ExportCluster" }, + "description": "ExportCluster exports data from the cluster.\nImperative only.", + "file": "AlloyDBAdminClient/ExportCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ExportCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ExportCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_FailoverInstance_sync", - "title": "alloydb FailoverInstance Sample", - "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.", - "file": "AlloyDBAdminClient/FailoverInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.FailoverInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.FailoverInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "FailoverInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.FailoverInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.FailoverInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FailoverInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "FailoverInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.FailoverInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "FailoverInstance" }, + "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.", + "file": "AlloyDBAdminClient/FailoverInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_FailoverInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb FailoverInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GenerateClientCertificate_sync", - "title": "alloydb GenerateClientCertificate Sample", - "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.", - "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateClientCertificate", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GenerateClientCertificate", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GenerateClientCertificate", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GenerateClientCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GenerateClientCertificateRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GenerateClientCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.GenerateClientCertificateResponse", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GenerateClientCertificate", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GenerateClientCertificate", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "GenerateClientCertificate" }, + "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.", + "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GenerateClientCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GenerateClientCertificate Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetBackup_sync", - "title": "alloydb GetBackup Sample", - "description": "GetBackup gets details of a single Backup.", - "file": "AlloyDBAdminClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetBackup", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetBackup", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Backup", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a single Backup.", + "file": "AlloyDBAdminClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetBackup Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetCluster_sync", - "title": "alloydb GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "AlloyDBAdminClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Cluster", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "AlloyDBAdminClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetConnectionInfo_sync", - "title": "alloydb GetConnectionInfo Sample", - "description": "GetConnectionInfo get instance metadata used for a connection.", - "file": "AlloyDBAdminClient/GetConnectionInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectionInfo", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetConnectionInfo", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetConnectionInfo", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetConnectionInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetConnectionInfoRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetConnectionInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.ConnectionInfo", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetConnectionInfo", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetConnectionInfo", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "GetConnectionInfo" }, + "description": "GetConnectionInfo get instance metadata used for a connection.", + "file": "AlloyDBAdminClient/GetConnectionInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetConnectionInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetConnectionInfo Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetInstance_sync", - "title": "alloydb GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "AlloyDBAdminClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Instance", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "AlloyDBAdminClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetLocation_sync", - "title": "alloydb GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AlloyDBAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AlloyDBAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetLocation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetOperation_sync", - "title": "alloydb GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetOperation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetUser_sync", - "title": "alloydb GetUser Sample", - "description": "GetUser gets details of a single User.", - "file": "AlloyDBAdminClient/GetUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUser", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.GetUser", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetUser", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetUser", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "GetUser" }, + "description": "GetUser gets details of a single User.", + "file": "AlloyDBAdminClient/GetUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_GetUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetUser Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ImportCluster_sync", - "title": "alloydb ImportCluster Sample", - "description": "ImportCluster imports data to the cluster.\nImperative only.", - "file": "AlloyDBAdminClient/ImportCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ImportCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ImportCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ImportCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ImportClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ImportClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ImportCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ImportCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ImportCluster" }, + "description": "ImportCluster imports data to the cluster.\nImperative only.", + "file": "AlloyDBAdminClient/ImportCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ImportCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ImportCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_InjectFault_sync", - "title": "alloydb InjectFault Sample", - "description": "InjectFault injects fault in an instance.\nImperative only.", - "file": "AlloyDBAdminClient/InjectFault/main.go", - "language": "GO", "clientMethod": { - "shortName": "InjectFault", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.InjectFault", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.InjectFault", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "InjectFault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.InjectFaultRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.InjectFaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InjectFaultOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "InjectFault", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.InjectFault", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "InjectFault" }, + "description": "InjectFault injects fault in an instance.\nImperative only.", + "file": "AlloyDBAdminClient/InjectFault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_InjectFault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb InjectFault Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListBackups_sync", - "title": "alloydb ListBackups Sample", - "description": "ListBackups lists Backups in a given project and location.", - "file": "AlloyDBAdminClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListBackups", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListBackups", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListBackups", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists Backups in a given project and location.", + "file": "AlloyDBAdminClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListBackups Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListClusters_sync", - "title": "alloydb ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "AlloyDBAdminClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListClusters", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListClusters", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListClusters", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "AlloyDBAdminClient/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListClusters Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListDatabases_sync", - "title": "alloydb ListDatabases Sample", - "description": "ListDatabases lists Databases in a given project and location.", - "file": "AlloyDBAdminClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListDatabases", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListDatabases", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "DatabaseIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListDatabases", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + ], + "resultType": "DatabaseIterator", + "shortName": "ListDatabases" }, + "description": "ListDatabases lists Databases in a given project and location.", + "file": "AlloyDBAdminClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListDatabases Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListInstances_sync", - "title": "alloydb ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "AlloyDBAdminClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListInstances", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListInstances", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListInstances", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "AlloyDBAdminClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListInstances Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListLocations_sync", - "title": "alloydb ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AlloyDBAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AlloyDBAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListLocations Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListOperations_sync", - "title": "alloydb ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListOperations Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync", - "title": "alloydb ListSupportedDatabaseFlags Sample", - "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.", - "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSupportedDatabaseFlags", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListSupportedDatabaseFlags", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListSupportedDatabaseFlags", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListSupportedDatabaseFlags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListSupportedDatabaseFlagsRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListSupportedDatabaseFlagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SupportedDatabaseFlagIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListSupportedDatabaseFlags", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListSupportedDatabaseFlags", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ListSupportedDatabaseFlags" }, + "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.", + "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListSupportedDatabaseFlags Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListUsers_sync", - "title": "alloydb ListUsers Sample", - "description": "ListUsers lists Users in a given project and location.", - "file": "AlloyDBAdminClient/ListUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsers", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.ListUsers", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListUsers", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListUsersRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListUsers", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "ListUsers" }, + "description": "ListUsers lists Users in a given project and location.", + "file": "AlloyDBAdminClient/ListUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_ListUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListUsers Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_PromoteCluster_sync", - "title": "alloydb PromoteCluster Sample", - "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.", - "file": "AlloyDBAdminClient/PromoteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "PromoteCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.PromoteCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.PromoteCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "PromoteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.PromoteClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.PromoteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromoteClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "PromoteCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.PromoteCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "PromoteCluster" }, + "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.", + "file": "AlloyDBAdminClient/PromoteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_PromoteCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb PromoteCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_RestartInstance_sync", - "title": "alloydb RestartInstance Sample", - "description": "RestartInstance restart an Instance in a cluster.\nImperative only.", - "file": "AlloyDBAdminClient/RestartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.RestartInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "RestartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestartInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestartInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "RestartInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "RestartInstance" }, + "description": "RestartInstance restart an Instance in a cluster.\nImperative only.", + "file": "AlloyDBAdminClient/RestartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_RestartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestartInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_RestoreCluster_sync", - "title": "alloydb RestoreCluster Sample", - "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.", - "file": "AlloyDBAdminClient/RestoreCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.RestoreCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.RestoreCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "RestoreCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestoreClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestoreClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "RestoreCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.RestoreCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "RestoreCluster" }, + "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.", + "file": "AlloyDBAdminClient/RestoreCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_RestoreCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestoreCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_SwitchoverCluster_sync", - "title": "alloydb SwitchoverCluster Sample", - "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.", - "file": "AlloyDBAdminClient/SwitchoverCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchoverCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.SwitchoverCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.SwitchoverCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "SwitchoverCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.SwitchoverClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.SwitchoverClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SwitchoverClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "SwitchoverCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.SwitchoverCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "SwitchoverCluster" }, + "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.", + "file": "AlloyDBAdminClient/SwitchoverCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_SwitchoverCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb SwitchoverCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateBackup_sync", - "title": "alloydb UpdateBackup Sample", - "description": "UpdateBackup updates the parameters of a single Backup.", - "file": "AlloyDBAdminClient/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.UpdateBackup", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateBackup", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup updates the parameters of a single Backup.", + "file": "AlloyDBAdminClient/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateBackup Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateCluster_sync", - "title": "alloydb UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "AlloyDBAdminClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.UpdateCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "AlloyDBAdminClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateInstance_sync", - "title": "alloydb UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single Instance.", - "file": "AlloyDBAdminClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.UpdateInstance", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateInstance", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single Instance.", + "file": "AlloyDBAdminClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateInstance Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateUser_sync", - "title": "alloydb UpdateUser Sample", - "description": "UpdateUser updates the parameters of a single User.", - "file": "AlloyDBAdminClient/UpdateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUser", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.UpdateUser", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUser", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateUser", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "UpdateUser" }, + "description": "UpdateUser updates the parameters of a single User.", + "file": "AlloyDBAdminClient/UpdateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpdateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateUser Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpgradeCluster_sync", - "title": "alloydb UpgradeCluster Sample", - "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.", - "file": "AlloyDBAdminClient/UpgradeCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeCluster", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient.UpgradeCluster", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpgradeCluster", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpgradeCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpgradeClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpgradeClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpgradeCluster", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpgradeCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin" - } - } + "shortName": "UpgradeCluster" }, + "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.", + "file": "AlloyDBAdminClient/UpgradeCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBAdmin_UpgradeCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpgradeCluster Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_CancelOperation_sync", - "title": "alloydb CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CancelOperation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_DeleteOperation_sync", - "title": "alloydb DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteOperation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_GetLocation_sync", - "title": "alloydb GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AlloyDBCSQLAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AlloyDBCSQLAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetLocation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_GetOperation_sync", - "title": "alloydb GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetOperation Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_ListLocations_sync", - "title": "alloydb ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AlloyDBCSQLAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AlloyDBCSQLAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListLocations Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_ListOperations_sync", - "title": "alloydb ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListOperations Sample" }, { - "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync", - "title": "alloydb RestoreFromCloudSQL Sample", - "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.", - "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreFromCloudSQL", + "client": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient.RestoreFromCloudSQL", + "method": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdmin.RestoreFromCloudSQL", + "service": { + "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdmin", + "shortName": "AlloyDBCSQLAdmin" + }, + "shortName": "RestoreFromCloudSQL" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestoreFromCloudSQLRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestoreFromCloudSQLRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreFromCloudSQLOperation", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "RestoreFromCloudSQL", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdmin.RestoreFromCloudSQL", - "service": { - "shortName": "AlloyDBCSQLAdmin", - "fullName": "google.cloud.alloydb.v1.AlloyDBCSQLAdmin" - } - } + "shortName": "RestoreFromCloudSQL" }, + "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.", + "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestoreFromCloudSQL Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json b/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json index 65222be0f1f1..390207134450 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json +++ b/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json @@ -1,2356 +1,2356 @@ { "clientLibrary": { - "name": "cloud.google.com/go/alloydb/apiv1alpha", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.alloydb.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/alloydb/apiv1alpha", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_BatchCreateInstances_sync", - "title": "alloydb BatchCreateInstances Sample", - "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.", - "file": "AlloyDBAdminClient/BatchCreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateInstances", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.BatchCreateInstances", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.BatchCreateInstances", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "BatchCreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.BatchCreateInstancesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.BatchCreateInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateInstancesOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "BatchCreateInstances", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.BatchCreateInstances", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "BatchCreateInstances" }, + "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.", + "file": "AlloyDBAdminClient/BatchCreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_BatchCreateInstances_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb BatchCreateInstances Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CancelOperation_sync", - "title": "alloydb CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CancelOperation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateBackup_sync", - "title": "alloydb CreateBackup Sample", - "description": "CreateBackup creates a new Backup in a given project and location.", - "file": "AlloyDBAdminClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateBackup", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackup", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a new Backup in a given project and location.", + "file": "AlloyDBAdminClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateBackup Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateCluster_sync", - "title": "alloydb CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "AlloyDBAdminClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "AlloyDBAdminClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_sync", - "title": "alloydb CreateDatabase Sample", - "description": "CreateDatabase creates a new Database in a given project, location, and cluster.", - "file": "AlloyDBAdminClient/CreateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatabase", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateDatabase", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateDatabase", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateDatabaseRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Database", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateDatabase", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateDatabase", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateDatabase" }, + "description": "CreateDatabase creates a new Database in a given project, location, and cluster.", + "file": "AlloyDBAdminClient/CreateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateDatabase Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateInstance_sync", - "title": "alloydb CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "AlloyDBAdminClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "AlloyDBAdminClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateSecondaryCluster_sync", - "title": "alloydb CreateSecondaryCluster Sample", - "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.", - "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecondaryCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateSecondaryCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateSecondaryCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateSecondaryClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateSecondaryClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSecondaryClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateSecondaryCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateSecondaryCluster" }, + "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.", + "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateSecondaryCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateSecondaryCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateSecondaryInstance_sync", - "title": "alloydb CreateSecondaryInstance Sample", - "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.", - "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecondaryInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateSecondaryInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateSecondaryInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateSecondaryInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateSecondaryInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSecondaryInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateSecondaryInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateSecondaryInstance" }, + "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.", + "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateSecondaryInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateSecondaryInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateUser_sync", - "title": "alloydb CreateUser Sample", - "description": "CreateUser creates a new User in a given project, location, and cluster.", - "file": "AlloyDBAdminClient/CreateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUser", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.CreateUser", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateUser", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateUser", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "CreateUser" }, + "description": "CreateUser creates a new User in a given project, location, and cluster.", + "file": "AlloyDBAdminClient/CreateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_CreateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateUser Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteBackup_sync", - "title": "alloydb DeleteBackup Sample", - "description": "DeleteBackup deletes a single Backup.", - "file": "AlloyDBAdminClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.DeleteBackup", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackup", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a single Backup.", + "file": "AlloyDBAdminClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteBackup Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteCluster_sync", - "title": "alloydb DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "AlloyDBAdminClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.DeleteCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "AlloyDBAdminClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteInstance_sync", - "title": "alloydb DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "AlloyDBAdminClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.DeleteInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "AlloyDBAdminClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteOperation_sync", - "title": "alloydb DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteOperation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteUser_sync", - "title": "alloydb DeleteUser Sample", - "description": "DeleteUser deletes a single User.", - "file": "AlloyDBAdminClient/DeleteUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUser", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.DeleteUser", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteUser", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "DeleteUser" }, + "description": "DeleteUser deletes a single User.", + "file": "AlloyDBAdminClient/DeleteUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_DeleteUser_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteUser Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ExecuteSql_sync", - "title": "alloydb ExecuteSql Sample", - "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.", - "file": "AlloyDBAdminClient/ExecuteSql/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteSql", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ExecuteSql", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExecuteSql", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ExecuteSql" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ExecuteSqlRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ExecuteSqlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.ExecuteSqlResponse", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ExecuteSql", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExecuteSql", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ExecuteSql" }, + "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.", + "file": "AlloyDBAdminClient/ExecuteSql/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ExecuteSql_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ExecuteSql Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ExportCluster_sync", - "title": "alloydb ExportCluster Sample", - "description": "ExportCluster exports data from the cluster.\nImperative only.", - "file": "AlloyDBAdminClient/ExportCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ExportCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExportCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ExportCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ExportClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ExportClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ExportCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ExportCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ExportCluster" }, + "description": "ExportCluster exports data from the cluster.\nImperative only.", + "file": "AlloyDBAdminClient/ExportCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ExportCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ExportCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_FailoverInstance_sync", - "title": "alloydb FailoverInstance Sample", - "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.", - "file": "AlloyDBAdminClient/FailoverInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.FailoverInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.FailoverInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "FailoverInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.FailoverInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.FailoverInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FailoverInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "FailoverInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.FailoverInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "FailoverInstance" }, + "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.", + "file": "AlloyDBAdminClient/FailoverInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_FailoverInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb FailoverInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GenerateClientCertificate_sync", - "title": "alloydb GenerateClientCertificate Sample", - "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.", - "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateClientCertificate", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GenerateClientCertificate", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificate", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GenerateClientCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GenerateClientCertificateRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GenerateClientCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.GenerateClientCertificateResponse", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GenerateClientCertificate", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificate", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "GenerateClientCertificate" }, + "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.", + "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GenerateClientCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GenerateClientCertificate Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetBackup_sync", - "title": "alloydb GetBackup Sample", - "description": "GetBackup gets details of a single Backup.", - "file": "AlloyDBAdminClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetBackup", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetBackup", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Backup", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a single Backup.", + "file": "AlloyDBAdminClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetBackup Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetCluster_sync", - "title": "alloydb GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "AlloyDBAdminClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Cluster", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "AlloyDBAdminClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetConnectionInfo_sync", - "title": "alloydb GetConnectionInfo Sample", - "description": "GetConnectionInfo get instance metadata used for a connection.", - "file": "AlloyDBAdminClient/GetConnectionInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectionInfo", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetConnectionInfo", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetConnectionInfo", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetConnectionInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetConnectionInfoRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetConnectionInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.ConnectionInfo", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetConnectionInfo", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetConnectionInfo", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "GetConnectionInfo" }, + "description": "GetConnectionInfo get instance metadata used for a connection.", + "file": "AlloyDBAdminClient/GetConnectionInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetConnectionInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetConnectionInfo Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetInstance_sync", - "title": "alloydb GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "AlloyDBAdminClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Instance", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "AlloyDBAdminClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetLocation_sync", - "title": "alloydb GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AlloyDBAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AlloyDBAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetLocation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetOperation_sync", - "title": "alloydb GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetOperation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetUser_sync", - "title": "alloydb GetUser Sample", - "description": "GetUser gets details of a single User.", - "file": "AlloyDBAdminClient/GetUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUser", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.GetUser", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetUser", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetUser", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "GetUser" }, + "description": "GetUser gets details of a single User.", + "file": "AlloyDBAdminClient/GetUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_GetUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetUser Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ImportCluster_sync", - "title": "alloydb ImportCluster Sample", - "description": "ImportCluster imports data to the cluster.\nImperative only.", - "file": "AlloyDBAdminClient/ImportCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ImportCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ImportCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ImportCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ImportClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ImportClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ImportCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ImportCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ImportCluster" }, + "description": "ImportCluster imports data to the cluster.\nImperative only.", + "file": "AlloyDBAdminClient/ImportCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ImportCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ImportCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_InjectFault_sync", - "title": "alloydb InjectFault Sample", - "description": "InjectFault injects fault in an instance.\nImperative only.", - "file": "AlloyDBAdminClient/InjectFault/main.go", - "language": "GO", "clientMethod": { - "shortName": "InjectFault", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.InjectFault", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.InjectFault", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "InjectFault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.InjectFaultRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.InjectFaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InjectFaultOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "InjectFault", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.InjectFault", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "InjectFault" }, + "description": "InjectFault injects fault in an instance.\nImperative only.", + "file": "AlloyDBAdminClient/InjectFault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_InjectFault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb InjectFault Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListBackups_sync", - "title": "alloydb ListBackups Sample", - "description": "ListBackups lists Backups in a given project and location.", - "file": "AlloyDBAdminClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListBackups", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackups", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackups", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists Backups in a given project and location.", + "file": "AlloyDBAdminClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListBackups Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListClusters_sync", - "title": "alloydb ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "AlloyDBAdminClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListClusters", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClusters", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClusters", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "AlloyDBAdminClient/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListClusters Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListDatabases_sync", - "title": "alloydb ListDatabases Sample", - "description": "ListDatabases lists Databases in a given project and location.", - "file": "AlloyDBAdminClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListDatabases", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListDatabases", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DatabaseIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListDatabases", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DatabaseIterator", + "shortName": "ListDatabases" }, + "description": "ListDatabases lists Databases in a given project and location.", + "file": "AlloyDBAdminClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListDatabases Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListInstances_sync", - "title": "alloydb ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "AlloyDBAdminClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListInstances", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstances", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstances", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "AlloyDBAdminClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListInstances Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListLocations_sync", - "title": "alloydb ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AlloyDBAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AlloyDBAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListLocations Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListOperations_sync", - "title": "alloydb ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListOperations Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync", - "title": "alloydb ListSupportedDatabaseFlags Sample", - "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.", - "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSupportedDatabaseFlags", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListSupportedDatabaseFlags", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListSupportedDatabaseFlags", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListSupportedDatabaseFlags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListSupportedDatabaseFlagsRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListSupportedDatabaseFlagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SupportedDatabaseFlagIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListSupportedDatabaseFlags", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListSupportedDatabaseFlags", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ListSupportedDatabaseFlags" }, + "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.", + "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListSupportedDatabaseFlags Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListUsers_sync", - "title": "alloydb ListUsers Sample", - "description": "ListUsers lists Users in a given project and location.", - "file": "AlloyDBAdminClient/ListUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsers", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.ListUsers", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListUsers", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListUsersRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListUsers", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "ListUsers" }, + "description": "ListUsers lists Users in a given project and location.", + "file": "AlloyDBAdminClient/ListUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_ListUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListUsers Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_PromoteCluster_sync", - "title": "alloydb PromoteCluster Sample", - "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.", - "file": "AlloyDBAdminClient/PromoteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "PromoteCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.PromoteCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.PromoteCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "PromoteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.PromoteClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.PromoteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromoteClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "PromoteCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.PromoteCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "PromoteCluster" }, + "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.", + "file": "AlloyDBAdminClient/PromoteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_PromoteCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb PromoteCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_RestartInstance_sync", - "title": "alloydb RestartInstance Sample", - "description": "RestartInstance restart an Instance in a cluster.\nImperative only.", - "file": "AlloyDBAdminClient/RestartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.RestartInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "RestartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestartInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestartInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "RestartInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "RestartInstance" }, + "description": "RestartInstance restart an Instance in a cluster.\nImperative only.", + "file": "AlloyDBAdminClient/RestartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_RestartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestartInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_RestoreCluster_sync", - "title": "alloydb RestoreCluster Sample", - "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.", - "file": "AlloyDBAdminClient/RestoreCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.RestoreCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestoreCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "RestoreCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestoreClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestoreClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "RestoreCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestoreCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "RestoreCluster" }, + "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.", + "file": "AlloyDBAdminClient/RestoreCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_RestoreCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestoreCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_SwitchoverCluster_sync", - "title": "alloydb SwitchoverCluster Sample", - "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.", - "file": "AlloyDBAdminClient/SwitchoverCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchoverCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.SwitchoverCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.SwitchoverCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "SwitchoverCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.SwitchoverClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.SwitchoverClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SwitchoverClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "SwitchoverCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.SwitchoverCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "SwitchoverCluster" }, + "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.", + "file": "AlloyDBAdminClient/SwitchoverCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_SwitchoverCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb SwitchoverCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateBackup_sync", - "title": "alloydb UpdateBackup Sample", - "description": "UpdateBackup updates the parameters of a single Backup.", - "file": "AlloyDBAdminClient/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.UpdateBackup", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateBackup", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup updates the parameters of a single Backup.", + "file": "AlloyDBAdminClient/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateBackup Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateCluster_sync", - "title": "alloydb UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "AlloyDBAdminClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.UpdateCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "AlloyDBAdminClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateInstance_sync", - "title": "alloydb UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single Instance.", - "file": "AlloyDBAdminClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.UpdateInstance", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstance", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single Instance.", + "file": "AlloyDBAdminClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateInstance Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateUser_sync", - "title": "alloydb UpdateUser Sample", - "description": "UpdateUser updates the parameters of a single User.", - "file": "AlloyDBAdminClient/UpdateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUser", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.UpdateUser", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateUser", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateUser", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "UpdateUser" }, + "description": "UpdateUser updates the parameters of a single User.", + "file": "AlloyDBAdminClient/UpdateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpdateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateUser Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpgradeCluster_sync", - "title": "alloydb UpgradeCluster Sample", - "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.", - "file": "AlloyDBAdminClient/UpgradeCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeCluster", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient.UpgradeCluster", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpgradeCluster", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpgradeCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpgradeClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpgradeClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpgradeCluster", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpgradeCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin" - } - } + "shortName": "UpgradeCluster" }, + "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.", + "file": "AlloyDBAdminClient/UpgradeCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBAdmin_UpgradeCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpgradeCluster Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_CancelOperation_sync", - "title": "alloydb CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CancelOperation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_DeleteOperation_sync", - "title": "alloydb DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteOperation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_GetLocation_sync", - "title": "alloydb GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AlloyDBCSQLAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AlloyDBCSQLAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetLocation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_GetOperation_sync", - "title": "alloydb GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetOperation Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_ListLocations_sync", - "title": "alloydb ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AlloyDBCSQLAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AlloyDBCSQLAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListLocations Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_ListOperations_sync", - "title": "alloydb ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListOperations Sample" }, { - "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync", - "title": "alloydb RestoreFromCloudSQL Sample", - "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.", - "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreFromCloudSQL", + "client": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient.RestoreFromCloudSQL", + "method": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdmin.RestoreFromCloudSQL", + "service": { + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdmin", + "shortName": "AlloyDBCSQLAdmin" + }, + "shortName": "RestoreFromCloudSQL" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestoreFromCloudSQLRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestoreFromCloudSQLRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreFromCloudSQLOperation", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "RestoreFromCloudSQL", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdmin.RestoreFromCloudSQL", - "service": { - "shortName": "AlloyDBCSQLAdmin", - "fullName": "google.cloud.alloydb.v1alpha.AlloyDBCSQLAdmin" - } - } + "shortName": "RestoreFromCloudSQL" }, + "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.", + "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1alpha_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestoreFromCloudSQL Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json b/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json index 171e2ac39cab..62f75344e9ef 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json +++ b/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json @@ -1,2356 +1,2356 @@ { "clientLibrary": { - "name": "cloud.google.com/go/alloydb/apiv1beta", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.alloydb.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/alloydb/apiv1beta", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_BatchCreateInstances_sync", - "title": "alloydb BatchCreateInstances Sample", - "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.", - "file": "AlloyDBAdminClient/BatchCreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateInstances", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.BatchCreateInstances", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.BatchCreateInstances", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "BatchCreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.BatchCreateInstancesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.BatchCreateInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateInstancesOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "BatchCreateInstances", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.BatchCreateInstances", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "BatchCreateInstances" }, + "description": "BatchCreateInstances creates new instances under the given project, location and cluster.\nThere can be only one primary instance in a cluster. If the primary\ninstance exists in the cluster as well as this request, then API will\nthrow an error.\nThe primary instance should exist before any read pool instance is\ncreated. If the primary instance is a part of the request payload, then\nthe API will take care of creating instances in the correct order.\nThis method is here to support Google-internal use cases, and is not meant\nfor external customers to consume. Please do not start relying on it; its\nbehavior is subject to change without notice.", + "file": "AlloyDBAdminClient/BatchCreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_BatchCreateInstances_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb BatchCreateInstances Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CancelOperation_sync", - "title": "alloydb CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CancelOperation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateBackup_sync", - "title": "alloydb CreateBackup Sample", - "description": "CreateBackup creates a new Backup in a given project and location.", - "file": "AlloyDBAdminClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateBackup", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateBackup", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a new Backup in a given project and location.", + "file": "AlloyDBAdminClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateBackup Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateCluster_sync", - "title": "alloydb CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "AlloyDBAdminClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "AlloyDBAdminClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_sync", - "title": "alloydb CreateDatabase Sample", - "description": "CreateDatabase creates a new Database in a given project, location, and cluster.", - "file": "AlloyDBAdminClient/CreateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatabase", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateDatabase", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateDatabase", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateDatabaseRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Database", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateDatabase", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateDatabase", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateDatabase" }, + "description": "CreateDatabase creates a new Database in a given project, location, and cluster.", + "file": "AlloyDBAdminClient/CreateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateDatabase Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateInstance_sync", - "title": "alloydb CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "AlloyDBAdminClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "AlloyDBAdminClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateSecondaryCluster_sync", - "title": "alloydb CreateSecondaryCluster Sample", - "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.", - "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecondaryCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateSecondaryCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateSecondaryCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateSecondaryClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateSecondaryClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSecondaryClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateSecondaryCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateSecondaryCluster" }, + "description": "CreateSecondaryCluster creates a cluster of type SECONDARY in the given location using\nthe primary cluster as the source.", + "file": "AlloyDBAdminClient/CreateSecondaryCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateSecondaryCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateSecondaryCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateSecondaryInstance_sync", - "title": "alloydb CreateSecondaryInstance Sample", - "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.", - "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecondaryInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateSecondaryInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateSecondaryInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateSecondaryInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateSecondaryInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSecondaryInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateSecondaryInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateSecondaryInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateSecondaryInstance" }, + "description": "CreateSecondaryInstance creates a new SECONDARY Instance in a given project and location.", + "file": "AlloyDBAdminClient/CreateSecondaryInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateSecondaryInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateSecondaryInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateUser_sync", - "title": "alloydb CreateUser Sample", - "description": "CreateUser creates a new User in a given project, location, and cluster.", - "file": "AlloyDBAdminClient/CreateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUser", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.CreateUser", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "CreateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.CreateUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.CreateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "CreateUser", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "CreateUser" }, + "description": "CreateUser creates a new User in a given project, location, and cluster.", + "file": "AlloyDBAdminClient/CreateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_CreateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CreateUser Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteBackup_sync", - "title": "alloydb DeleteBackup Sample", - "description": "DeleteBackup deletes a single Backup.", - "file": "AlloyDBAdminClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteBackup", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a single Backup.", + "file": "AlloyDBAdminClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteBackup Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteCluster_sync", - "title": "alloydb DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "AlloyDBAdminClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "AlloyDBAdminClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteInstance_sync", - "title": "alloydb DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "AlloyDBAdminClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "AlloyDBAdminClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteOperation_sync", - "title": "alloydb DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteOperation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteUser_sync", - "title": "alloydb DeleteUser Sample", - "description": "DeleteUser deletes a single User.", - "file": "AlloyDBAdminClient/DeleteUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUser", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.DeleteUser", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "DeleteUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.DeleteUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.DeleteUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "DeleteUser" }, + "description": "DeleteUser deletes a single User.", + "file": "AlloyDBAdminClient/DeleteUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_DeleteUser_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteUser Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ExecuteSql_sync", - "title": "alloydb ExecuteSql Sample", - "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.", - "file": "AlloyDBAdminClient/ExecuteSql/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteSql", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ExecuteSql", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ExecuteSql", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ExecuteSql" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ExecuteSqlRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ExecuteSqlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.ExecuteSqlResponse", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ExecuteSql", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ExecuteSql", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ExecuteSql" }, + "description": "ExecuteSql executes a SQL statement in a database inside an AlloyDB instance.", + "file": "AlloyDBAdminClient/ExecuteSql/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ExecuteSql_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ExecuteSql Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ExportCluster_sync", - "title": "alloydb ExportCluster Sample", - "description": "ExportCluster exports data from the cluster.\nImperative only.", - "file": "AlloyDBAdminClient/ExportCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ExportCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ExportCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ExportCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ExportClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ExportClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ExportCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ExportCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ExportCluster" }, + "description": "ExportCluster exports data from the cluster.\nImperative only.", + "file": "AlloyDBAdminClient/ExportCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ExportCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ExportCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_FailoverInstance_sync", - "title": "alloydb FailoverInstance Sample", - "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.", - "file": "AlloyDBAdminClient/FailoverInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.FailoverInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "FailoverInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.FailoverInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.FailoverInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FailoverInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "FailoverInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "FailoverInstance" }, + "description": "FailoverInstance forces a Failover for a highly available instance.\nFailover promotes the HA standby instance as the new primary.\nImperative only.", + "file": "AlloyDBAdminClient/FailoverInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_FailoverInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb FailoverInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GenerateClientCertificate_sync", - "title": "alloydb GenerateClientCertificate Sample", - "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.", - "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateClientCertificate", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GenerateClientCertificate", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GenerateClientCertificate", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GenerateClientCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GenerateClientCertificateRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GenerateClientCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.GenerateClientCertificateResponse", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GenerateClientCertificate", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GenerateClientCertificate", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "GenerateClientCertificate" }, + "description": "GenerateClientCertificate generate a client certificate signed by a Cluster CA.\nThe sole purpose of this endpoint is to support AlloyDB connectors and the\nAuth Proxy client. The endpoint's behavior is subject to change without\nnotice, so do not rely on its behavior remaining constant. Future changes\nwill not break AlloyDB connectors or the Auth Proxy client.", + "file": "AlloyDBAdminClient/GenerateClientCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GenerateClientCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GenerateClientCertificate Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetBackup_sync", - "title": "alloydb GetBackup Sample", - "description": "GetBackup gets details of a single Backup.", - "file": "AlloyDBAdminClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetBackup", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetBackup", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Backup", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a single Backup.", + "file": "AlloyDBAdminClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetBackup Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetCluster_sync", - "title": "alloydb GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "AlloyDBAdminClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Cluster", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "AlloyDBAdminClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetConnectionInfo_sync", - "title": "alloydb GetConnectionInfo Sample", - "description": "GetConnectionInfo get instance metadata used for a connection.", - "file": "AlloyDBAdminClient/GetConnectionInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectionInfo", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetConnectionInfo", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetConnectionInfo", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetConnectionInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetConnectionInfoRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetConnectionInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.ConnectionInfo", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetConnectionInfo", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetConnectionInfo", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "GetConnectionInfo" }, + "description": "GetConnectionInfo get instance metadata used for a connection.", + "file": "AlloyDBAdminClient/GetConnectionInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetConnectionInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetConnectionInfo Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetInstance_sync", - "title": "alloydb GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "AlloyDBAdminClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.Instance", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "AlloyDBAdminClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetLocation_sync", - "title": "alloydb GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AlloyDBAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AlloyDBAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetLocation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetOperation_sync", - "title": "alloydb GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetOperation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetUser_sync", - "title": "alloydb GetUser Sample", - "description": "GetUser gets details of a single User.", - "file": "AlloyDBAdminClient/GetUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUser", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.GetUser", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "GetUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.GetUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.GetUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "GetUser", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "GetUser" }, + "description": "GetUser gets details of a single User.", + "file": "AlloyDBAdminClient/GetUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_GetUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetUser Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ImportCluster_sync", - "title": "alloydb ImportCluster Sample", - "description": "ImportCluster imports data to the cluster.\nImperative only.", - "file": "AlloyDBAdminClient/ImportCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ImportCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ImportCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ImportCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ImportClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ImportClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ImportCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ImportCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ImportCluster" }, + "description": "ImportCluster imports data to the cluster.\nImperative only.", + "file": "AlloyDBAdminClient/ImportCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ImportCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ImportCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_InjectFault_sync", - "title": "alloydb InjectFault Sample", - "description": "InjectFault injects fault in an instance.\nImperative only.", - "file": "AlloyDBAdminClient/InjectFault/main.go", - "language": "GO", "clientMethod": { - "shortName": "InjectFault", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.InjectFault", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.InjectFault", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "InjectFault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.InjectFaultRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.InjectFaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InjectFaultOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "InjectFault", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.InjectFault", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "InjectFault" }, + "description": "InjectFault injects fault in an instance.\nImperative only.", + "file": "AlloyDBAdminClient/InjectFault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_InjectFault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb InjectFault Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListBackups_sync", - "title": "alloydb ListBackups Sample", - "description": "ListBackups lists Backups in a given project and location.", - "file": "AlloyDBAdminClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListBackups", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists Backups in a given project and location.", + "file": "AlloyDBAdminClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListBackups Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListClusters_sync", - "title": "alloydb ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "AlloyDBAdminClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListClusters", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListClusters", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListClusters", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "AlloyDBAdminClient/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListClusters Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListDatabases_sync", - "title": "alloydb ListDatabases Sample", - "description": "ListDatabases lists Databases in a given project and location.", - "file": "AlloyDBAdminClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListDatabases", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListDatabases", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DatabaseIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListDatabases", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DatabaseIterator", + "shortName": "ListDatabases" }, + "description": "ListDatabases lists Databases in a given project and location.", + "file": "AlloyDBAdminClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListDatabases Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListInstances_sync", - "title": "alloydb ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "AlloyDBAdminClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListInstances", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListInstances", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListInstances", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "AlloyDBAdminClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListInstances Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListLocations_sync", - "title": "alloydb ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AlloyDBAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AlloyDBAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListLocations Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListOperations_sync", - "title": "alloydb ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AlloyDBAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AlloyDBAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListOperations Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync", - "title": "alloydb ListSupportedDatabaseFlags Sample", - "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.", - "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSupportedDatabaseFlags", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListSupportedDatabaseFlags", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListSupportedDatabaseFlags", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListSupportedDatabaseFlags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListSupportedDatabaseFlagsRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListSupportedDatabaseFlagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SupportedDatabaseFlagIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListSupportedDatabaseFlags", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListSupportedDatabaseFlags", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ListSupportedDatabaseFlags" }, + "description": "ListSupportedDatabaseFlags lists SupportedDatabaseFlags for a given project and location.", + "file": "AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListSupportedDatabaseFlags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListSupportedDatabaseFlags Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListUsers_sync", - "title": "alloydb ListUsers Sample", - "description": "ListUsers lists Users in a given project and location.", - "file": "AlloyDBAdminClient/ListUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsers", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.ListUsers", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "ListUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.ListUsersRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.ListUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserIterator", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "ListUsers" }, + "description": "ListUsers lists Users in a given project and location.", + "file": "AlloyDBAdminClient/ListUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_ListUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListUsers Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_PromoteCluster_sync", - "title": "alloydb PromoteCluster Sample", - "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.", - "file": "AlloyDBAdminClient/PromoteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "PromoteCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.PromoteCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "PromoteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.PromoteClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.PromoteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromoteClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "PromoteCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "PromoteCluster" }, + "description": "PromoteCluster promotes a SECONDARY cluster. This turns down replication\nfrom the PRIMARY cluster and promotes a secondary cluster\ninto its own standalone cluster.\nImperative only.", + "file": "AlloyDBAdminClient/PromoteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_PromoteCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb PromoteCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_RestartInstance_sync", - "title": "alloydb RestartInstance Sample", - "description": "RestartInstance restart an Instance in a cluster.\nImperative only.", - "file": "AlloyDBAdminClient/RestartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.RestartInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.RestartInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "RestartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestartInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestartInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "RestartInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.RestartInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "RestartInstance" }, + "description": "RestartInstance restart an Instance in a cluster.\nImperative only.", + "file": "AlloyDBAdminClient/RestartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_RestartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestartInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_RestoreCluster_sync", - "title": "alloydb RestoreCluster Sample", - "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.", - "file": "AlloyDBAdminClient/RestoreCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.RestoreCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.RestoreCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "RestoreCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestoreClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestoreClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "RestoreCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.RestoreCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "RestoreCluster" }, + "description": "RestoreCluster creates a new Cluster in a given project and location, with a volume\nrestored from the provided source, either a backup ID or a point-in-time\nand a source cluster.", + "file": "AlloyDBAdminClient/RestoreCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_RestoreCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestoreCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_SwitchoverCluster_sync", - "title": "alloydb SwitchoverCluster Sample", - "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.", - "file": "AlloyDBAdminClient/SwitchoverCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchoverCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.SwitchoverCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.SwitchoverCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "SwitchoverCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.SwitchoverClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.SwitchoverClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SwitchoverClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "SwitchoverCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.SwitchoverCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "SwitchoverCluster" }, + "description": "SwitchoverCluster switches the roles of PRIMARY and SECONDARY clusters without any data loss.\nThis promotes the SECONDARY cluster to PRIMARY and sets up the original\nPRIMARY cluster to replicate from this newly promoted cluster.", + "file": "AlloyDBAdminClient/SwitchoverCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_SwitchoverCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb SwitchoverCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateBackup_sync", - "title": "alloydb UpdateBackup Sample", - "description": "UpdateBackup updates the parameters of a single Backup.", - "file": "AlloyDBAdminClient/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateBackup", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateBackup", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateBackup", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup updates the parameters of a single Backup.", + "file": "AlloyDBAdminClient/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateBackup Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateCluster_sync", - "title": "alloydb UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "AlloyDBAdminClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "AlloyDBAdminClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateInstance_sync", - "title": "alloydb UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single Instance.", - "file": "AlloyDBAdminClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateInstance", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateInstance", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateInstance", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single Instance.", + "file": "AlloyDBAdminClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateInstance Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateUser_sync", - "title": "alloydb UpdateUser Sample", - "description": "UpdateUser updates the parameters of a single User.", - "file": "AlloyDBAdminClient/UpdateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUser", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpdateUser", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpdateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpdateUserRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpdateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*alloydbpb.User", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpdateUser", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "UpdateUser" }, + "description": "UpdateUser updates the parameters of a single User.", + "file": "AlloyDBAdminClient/UpdateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpdateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpdateUser Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpgradeCluster_sync", - "title": "alloydb UpgradeCluster Sample", - "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.", - "file": "AlloyDBAdminClient/UpgradeCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeCluster", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient", + "shortName": "AlloyDBAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient.UpgradeCluster", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpgradeCluster", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin", + "shortName": "AlloyDBAdmin" + }, + "shortName": "UpgradeCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.UpgradeClusterRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.UpgradeClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeClusterOperation", - "client": { - "shortName": "AlloyDBAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdminClient" - }, - "method": { - "shortName": "UpgradeCluster", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpgradeCluster", - "service": { - "shortName": "AlloyDBAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin" - } - } + "shortName": "UpgradeCluster" }, + "description": "UpgradeCluster upgrades a single Cluster.\nImperative only.", + "file": "AlloyDBAdminClient/UpgradeCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBAdmin_UpgradeCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb UpgradeCluster Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_CancelOperation_sync", - "title": "alloydb CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb CancelOperation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_DeleteOperation_sync", - "title": "alloydb DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb DeleteOperation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_GetLocation_sync", - "title": "alloydb GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AlloyDBCSQLAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AlloyDBCSQLAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetLocation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_GetOperation_sync", - "title": "alloydb GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb GetOperation Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_ListLocations_sync", - "title": "alloydb ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AlloyDBCSQLAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AlloyDBCSQLAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListLocations Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_ListOperations_sync", - "title": "alloydb ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AlloyDBCSQLAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AlloyDBCSQLAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb ListOperations Sample" }, { - "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync", - "title": "alloydb RestoreFromCloudSQL Sample", - "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.", - "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreFromCloudSQL", + "client": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient", + "shortName": "AlloyDBCSQLAdminClient" + }, "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient.RestoreFromCloudSQL", + "method": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdmin.RestoreFromCloudSQL", + "service": { + "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdmin", + "shortName": "AlloyDBCSQLAdmin" + }, + "shortName": "RestoreFromCloudSQL" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "alloydbpb.RestoreFromCloudSQLRequest", - "name": "req" + "name": "req", + "type": "alloydbpb.RestoreFromCloudSQLRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreFromCloudSQLOperation", - "client": { - "shortName": "AlloyDBCSQLAdminClient", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdminClient" - }, - "method": { - "shortName": "RestoreFromCloudSQL", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdmin.RestoreFromCloudSQL", - "service": { - "shortName": "AlloyDBCSQLAdmin", - "fullName": "google.cloud.alloydb.v1beta.AlloyDBCSQLAdmin" - } - } + "shortName": "RestoreFromCloudSQL" }, + "description": "RestoreFromCloudSQL restores an AlloyDB cluster from a CloudSQL resource.", + "file": "AlloyDBCSQLAdminClient/RestoreFromCloudSQL/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "alloydb_v1beta_generated_AlloyDBCSQLAdmin_RestoreFromCloudSQL_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "alloydb RestoreFromCloudSQL Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json index f00b4827ab53..e3f05da63327 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json @@ -1,7072 +1,7072 @@ { "clientLibrary": { - "name": "cloud.google.com/go/analytics/admin/apiv1alpha", - "version": "0.30.1", - "language": "GO", "apis": [ { "id": "google.analytics.admin.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/analytics/admin/apiv1alpha", + "version": "0.30.1" }, "snippets": [ { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_AcknowledgeUserDataCollection_sync", - "title": "analyticsadmin AcknowledgeUserDataCollection Sample", - "description": "AcknowledgeUserDataCollection acknowledges the terms of user data collection for the specified property.\n\nThis acknowledgement must be completed (either in the Google Analytics UI\nor through this API) before MeasurementProtocolSecret resources may be\ncreated.", - "file": "AnalyticsAdminClient/AcknowledgeUserDataCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcknowledgeUserDataCollection", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.AcknowledgeUserDataCollection", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.AcknowledgeUserDataCollection", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "AcknowledgeUserDataCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.AcknowledgeUserDataCollectionRequest", - "name": "req" + "name": "req", + "type": "adminpb.AcknowledgeUserDataCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AcknowledgeUserDataCollectionResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "AcknowledgeUserDataCollection", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.AcknowledgeUserDataCollection", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "AcknowledgeUserDataCollection" }, + "description": "AcknowledgeUserDataCollection acknowledges the terms of user data collection for the specified property.\n\nThis acknowledgement must be completed (either in the Google Analytics UI\nor through this API) before MeasurementProtocolSecret resources may be\ncreated.", + "file": "AnalyticsAdminClient/AcknowledgeUserDataCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_AcknowledgeUserDataCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin AcknowledgeUserDataCollection Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_sync", - "title": "analyticsadmin ApproveDisplayVideo360AdvertiserLinkProposal Sample", - "description": "ApproveDisplayVideo360AdvertiserLinkProposal approves a DisplayVideo360AdvertiserLinkProposal.\nThe DisplayVideo360AdvertiserLinkProposal will be deleted and a new\nDisplayVideo360AdvertiserLink will be created.", - "file": "AnalyticsAdminClient/ApproveDisplayVideo360AdvertiserLinkProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveDisplayVideo360AdvertiserLinkProposal", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ApproveDisplayVideo360AdvertiserLinkProposal", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ApproveDisplayVideo360AdvertiserLinkProposal", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ApproveDisplayVideo360AdvertiserLinkProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ApproveDisplayVideo360AdvertiserLinkProposalRequest", - "name": "req" + "name": "req", + "type": "adminpb.ApproveDisplayVideo360AdvertiserLinkProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ApproveDisplayVideo360AdvertiserLinkProposalResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ApproveDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ApproveDisplayVideo360AdvertiserLinkProposal", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ApproveDisplayVideo360AdvertiserLinkProposal" }, + "description": "ApproveDisplayVideo360AdvertiserLinkProposal approves a DisplayVideo360AdvertiserLinkProposal.\nThe DisplayVideo360AdvertiserLinkProposal will be deleted and a new\nDisplayVideo360AdvertiserLink will be created.", + "file": "AnalyticsAdminClient/ApproveDisplayVideo360AdvertiserLinkProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ApproveDisplayVideo360AdvertiserLinkProposal Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveAudience_sync", - "title": "analyticsadmin ArchiveAudience Sample", - "description": "ArchiveAudience archives an Audience on a property.", - "file": "AnalyticsAdminClient/ArchiveAudience/main.go", - "language": "GO", "clientMethod": { - "shortName": "ArchiveAudience", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ArchiveAudience", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveAudience", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ArchiveAudience" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ArchiveAudienceRequest", - "name": "req" + "name": "req", + "type": "adminpb.ArchiveAudienceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ArchiveAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveAudience", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ArchiveAudience" }, + "description": "ArchiveAudience archives an Audience on a property.", + "file": "AnalyticsAdminClient/ArchiveAudience/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveAudience_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ArchiveAudience Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomDimension_sync", - "title": "analyticsadmin ArchiveCustomDimension Sample", - "description": "ArchiveCustomDimension archives a CustomDimension on a property.", - "file": "AnalyticsAdminClient/ArchiveCustomDimension/main.go", - "language": "GO", "clientMethod": { - "shortName": "ArchiveCustomDimension", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ArchiveCustomDimension", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomDimension", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ArchiveCustomDimension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ArchiveCustomDimensionRequest", - "name": "req" + "name": "req", + "type": "adminpb.ArchiveCustomDimensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ArchiveCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomDimension", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ArchiveCustomDimension" }, + "description": "ArchiveCustomDimension archives a CustomDimension on a property.", + "file": "AnalyticsAdminClient/ArchiveCustomDimension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomDimension_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ArchiveCustomDimension Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomMetric_sync", - "title": "analyticsadmin ArchiveCustomMetric Sample", - "description": "ArchiveCustomMetric archives a CustomMetric on a property.", - "file": "AnalyticsAdminClient/ArchiveCustomMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "ArchiveCustomMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ArchiveCustomMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ArchiveCustomMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ArchiveCustomMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.ArchiveCustomMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ArchiveCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ArchiveCustomMetric" }, + "description": "ArchiveCustomMetric archives a CustomMetric on a property.", + "file": "AnalyticsAdminClient/ArchiveCustomMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomMetric_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ArchiveCustomMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchCreateAccessBindings_sync", - "title": "analyticsadmin BatchCreateAccessBindings Sample", - "description": "BatchCreateAccessBindings creates information about multiple access bindings to an account or\nproperty.\n\nThis method is transactional. If any AccessBinding cannot be created, none\nof the AccessBindings will be created.", - "file": "AnalyticsAdminClient/BatchCreateAccessBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateAccessBindings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.BatchCreateAccessBindings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateAccessBindings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "BatchCreateAccessBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.BatchCreateAccessBindingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.BatchCreateAccessBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BatchCreateAccessBindingsResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "BatchCreateAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateAccessBindings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "BatchCreateAccessBindings" }, + "description": "BatchCreateAccessBindings creates information about multiple access bindings to an account or\nproperty.\n\nThis method is transactional. If any AccessBinding cannot be created, none\nof the AccessBindings will be created.", + "file": "AnalyticsAdminClient/BatchCreateAccessBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchCreateAccessBindings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin BatchCreateAccessBindings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchDeleteAccessBindings_sync", - "title": "analyticsadmin BatchDeleteAccessBindings Sample", - "description": "BatchDeleteAccessBindings deletes information about multiple users' links to an account or property.", - "file": "AnalyticsAdminClient/BatchDeleteAccessBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteAccessBindings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.BatchDeleteAccessBindings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteAccessBindings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "BatchDeleteAccessBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.BatchDeleteAccessBindingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.BatchDeleteAccessBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "BatchDeleteAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteAccessBindings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "BatchDeleteAccessBindings" }, + "description": "BatchDeleteAccessBindings deletes information about multiple users' links to an account or property.", + "file": "AnalyticsAdminClient/BatchDeleteAccessBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchDeleteAccessBindings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin BatchDeleteAccessBindings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchGetAccessBindings_sync", - "title": "analyticsadmin BatchGetAccessBindings Sample", - "description": "BatchGetAccessBindings gets information about multiple access bindings to an account or property.", - "file": "AnalyticsAdminClient/BatchGetAccessBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetAccessBindings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.BatchGetAccessBindings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetAccessBindings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "BatchGetAccessBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.BatchGetAccessBindingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.BatchGetAccessBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BatchGetAccessBindingsResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "BatchGetAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetAccessBindings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "BatchGetAccessBindings" }, + "description": "BatchGetAccessBindings gets information about multiple access bindings to an account or property.", + "file": "AnalyticsAdminClient/BatchGetAccessBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchGetAccessBindings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin BatchGetAccessBindings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchUpdateAccessBindings_sync", - "title": "analyticsadmin BatchUpdateAccessBindings Sample", - "description": "BatchUpdateAccessBindings updates information about multiple access bindings to an account or\nproperty.", - "file": "AnalyticsAdminClient/BatchUpdateAccessBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateAccessBindings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.BatchUpdateAccessBindings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateAccessBindings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "BatchUpdateAccessBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.BatchUpdateAccessBindingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.BatchUpdateAccessBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BatchUpdateAccessBindingsResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "BatchUpdateAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateAccessBindings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "BatchUpdateAccessBindings" }, + "description": "BatchUpdateAccessBindings updates information about multiple access bindings to an account or\nproperty.", + "file": "AnalyticsAdminClient/BatchUpdateAccessBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchUpdateAccessBindings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin BatchUpdateAccessBindings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CancelDisplayVideo360AdvertiserLinkProposal_sync", - "title": "analyticsadmin CancelDisplayVideo360AdvertiserLinkProposal Sample", - "description": "CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal.\nCancelling can mean either: \n- Declining a proposal initiated from Display & Video 360\n- Withdrawing a proposal initiated from Google Analytics\nAfter being cancelled, a proposal will eventually be deleted automatically.", - "file": "AnalyticsAdminClient/CancelDisplayVideo360AdvertiserLinkProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelDisplayVideo360AdvertiserLinkProposal", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CancelDisplayVideo360AdvertiserLinkProposal", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CancelDisplayVideo360AdvertiserLinkProposal", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CancelDisplayVideo360AdvertiserLinkProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest", - "name": "req" + "name": "req", + "type": "adminpb.CancelDisplayVideo360AdvertiserLinkProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DisplayVideo360AdvertiserLinkProposal", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CancelDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CancelDisplayVideo360AdvertiserLinkProposal", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CancelDisplayVideo360AdvertiserLinkProposal" }, + "description": "CancelDisplayVideo360AdvertiserLinkProposal cancels a DisplayVideo360AdvertiserLinkProposal.\nCancelling can mean either: \n- Declining a proposal initiated from Display & Video 360\n- Withdrawing a proposal initiated from Google Analytics\nAfter being cancelled, a proposal will eventually be deleted automatically.", + "file": "AnalyticsAdminClient/CancelDisplayVideo360AdvertiserLinkProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CancelDisplayVideo360AdvertiserLinkProposal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CancelDisplayVideo360AdvertiserLinkProposal Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAccessBinding_sync", - "title": "analyticsadmin CreateAccessBinding Sample", - "description": "CreateAccessBinding creates an access binding on an account or property.", - "file": "AnalyticsAdminClient/CreateAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAccessBinding", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateAccessBinding", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAccessBinding", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateAccessBindingRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AccessBinding", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAccessBinding", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateAccessBinding" }, + "description": "CreateAccessBinding creates an access binding on an account or property.", + "file": "AnalyticsAdminClient/CreateAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAccessBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateAccessBinding Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAdSenseLink_sync", - "title": "analyticsadmin CreateAdSenseLink Sample", - "description": "CreateAdSenseLink creates an AdSenseLink.", - "file": "AnalyticsAdminClient/CreateAdSenseLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAdSenseLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateAdSenseLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAdSenseLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateAdSenseLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateAdSenseLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateAdSenseLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AdSenseLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateAdSenseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAdSenseLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateAdSenseLink" }, + "description": "CreateAdSenseLink creates an AdSenseLink.", + "file": "AnalyticsAdminClient/CreateAdSenseLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAdSenseLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateAdSenseLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAudience_sync", - "title": "analyticsadmin CreateAudience Sample", - "description": "CreateAudience creates an Audience.", - "file": "AnalyticsAdminClient/CreateAudience/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAudience", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateAudience", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAudience", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateAudience" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateAudienceRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateAudienceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Audience", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAudience", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateAudience" }, + "description": "CreateAudience creates an Audience.", + "file": "AnalyticsAdminClient/CreateAudience/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAudience_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateAudience Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateBigQueryLink_sync", - "title": "analyticsadmin CreateBigQueryLink Sample", - "description": "CreateBigQueryLink creates a BigQueryLink.", - "file": "AnalyticsAdminClient/CreateBigQueryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBigQueryLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateBigQueryLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateBigQueryLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateBigQueryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateBigQueryLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateBigQueryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BigQueryLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateBigQueryLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateBigQueryLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateBigQueryLink" }, + "description": "CreateBigQueryLink creates a BigQueryLink.", + "file": "AnalyticsAdminClient/CreateBigQueryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateBigQueryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateBigQueryLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCalculatedMetric_sync", - "title": "analyticsadmin CreateCalculatedMetric Sample", - "description": "CreateCalculatedMetric creates a CalculatedMetric.", - "file": "AnalyticsAdminClient/CreateCalculatedMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCalculatedMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateCalculatedMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCalculatedMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateCalculatedMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateCalculatedMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateCalculatedMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CalculatedMetric", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateCalculatedMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCalculatedMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateCalculatedMetric" }, + "description": "CreateCalculatedMetric creates a CalculatedMetric.", + "file": "AnalyticsAdminClient/CreateCalculatedMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCalculatedMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateCalculatedMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateChannelGroup_sync", - "title": "analyticsadmin CreateChannelGroup Sample", - "description": "CreateChannelGroup creates a ChannelGroup.", - "file": "AnalyticsAdminClient/CreateChannelGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChannelGroup", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateChannelGroup", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateChannelGroup", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateChannelGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateChannelGroupRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateChannelGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ChannelGroup", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateChannelGroup", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateChannelGroup", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateChannelGroup" }, + "description": "CreateChannelGroup creates a ChannelGroup.", + "file": "AnalyticsAdminClient/CreateChannelGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateChannelGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateChannelGroup Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateConversionEvent_sync", - "title": "analyticsadmin CreateConversionEvent Sample", - "description": "CreateConversionEvent deprecated: Use `CreateKeyEvent` instead.\nCreates a conversion event with the specified attributes.\n\n\nDeprecated: CreateConversionEvent may be removed in a future version.", - "file": "AnalyticsAdminClient/CreateConversionEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversionEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateConversionEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateConversionEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateConversionEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateConversionEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateConversionEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ConversionEvent", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateConversionEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateConversionEvent" }, + "description": "CreateConversionEvent deprecated: Use `CreateKeyEvent` instead.\nCreates a conversion event with the specified attributes.\n\n\nDeprecated: CreateConversionEvent may be removed in a future version.", + "file": "AnalyticsAdminClient/CreateConversionEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateConversionEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateConversionEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomDimension_sync", - "title": "analyticsadmin CreateCustomDimension Sample", - "description": "CreateCustomDimension creates a CustomDimension.", - "file": "AnalyticsAdminClient/CreateCustomDimension/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomDimension", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateCustomDimension", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomDimension", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateCustomDimension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateCustomDimensionRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateCustomDimensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CustomDimension", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomDimension", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateCustomDimension" }, + "description": "CreateCustomDimension creates a CustomDimension.", + "file": "AnalyticsAdminClient/CreateCustomDimension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomDimension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateCustomDimension Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomMetric_sync", - "title": "analyticsadmin CreateCustomMetric Sample", - "description": "CreateCustomMetric creates a CustomMetric.", - "file": "AnalyticsAdminClient/CreateCustomMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateCustomMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateCustomMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateCustomMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateCustomMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CustomMetric", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateCustomMetric" }, + "description": "CreateCustomMetric creates a CustomMetric.", + "file": "AnalyticsAdminClient/CreateCustomMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateCustomMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDataStream_sync", - "title": "analyticsadmin CreateDataStream Sample", - "description": "CreateDataStream creates a DataStream.", - "file": "AnalyticsAdminClient/CreateDataStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataStream", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateDataStream", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDataStream", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateDataStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateDataStreamRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateDataStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataStream", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDataStream", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateDataStream" }, + "description": "CreateDataStream creates a DataStream.", + "file": "AnalyticsAdminClient/CreateDataStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDataStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateDataStream Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLink_sync", - "title": "analyticsadmin CreateDisplayVideo360AdvertiserLink Sample", - "description": "CreateDisplayVideo360AdvertiserLink creates a DisplayVideo360AdvertiserLink.\nThis can only be utilized by users who have proper authorization both on\nthe Google Analytics property and on the Display & Video 360 advertiser.\nUsers who do not have access to the Display & Video 360 advertiser should\ninstead seek to create a DisplayVideo360LinkProposal.", - "file": "AnalyticsAdminClient/CreateDisplayVideo360AdvertiserLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDisplayVideo360AdvertiserLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateDisplayVideo360AdvertiserLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateDisplayVideo360AdvertiserLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateDisplayVideo360AdvertiserLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateDisplayVideo360AdvertiserLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DisplayVideo360AdvertiserLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateDisplayVideo360AdvertiserLink" }, + "description": "CreateDisplayVideo360AdvertiserLink creates a DisplayVideo360AdvertiserLink.\nThis can only be utilized by users who have proper authorization both on\nthe Google Analytics property and on the Display & Video 360 advertiser.\nUsers who do not have access to the Display & Video 360 advertiser should\ninstead seek to create a DisplayVideo360LinkProposal.", + "file": "AnalyticsAdminClient/CreateDisplayVideo360AdvertiserLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateDisplayVideo360AdvertiserLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLinkProposal_sync", - "title": "analyticsadmin CreateDisplayVideo360AdvertiserLinkProposal Sample", - "description": "CreateDisplayVideo360AdvertiserLinkProposal creates a DisplayVideo360AdvertiserLinkProposal.", - "file": "AnalyticsAdminClient/CreateDisplayVideo360AdvertiserLinkProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDisplayVideo360AdvertiserLinkProposal", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateDisplayVideo360AdvertiserLinkProposal", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLinkProposal", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateDisplayVideo360AdvertiserLinkProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateDisplayVideo360AdvertiserLinkProposalRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateDisplayVideo360AdvertiserLinkProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DisplayVideo360AdvertiserLinkProposal", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLinkProposal", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateDisplayVideo360AdvertiserLinkProposal" }, + "description": "CreateDisplayVideo360AdvertiserLinkProposal creates a DisplayVideo360AdvertiserLinkProposal.", + "file": "AnalyticsAdminClient/CreateDisplayVideo360AdvertiserLinkProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLinkProposal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateDisplayVideo360AdvertiserLinkProposal Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventCreateRule_sync", - "title": "analyticsadmin CreateEventCreateRule Sample", - "description": "CreateEventCreateRule creates an EventCreateRule.", - "file": "AnalyticsAdminClient/CreateEventCreateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEventCreateRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateEventCreateRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateEventCreateRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateEventCreateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateEventCreateRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateEventCreateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EventCreateRule", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateEventCreateRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateEventCreateRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateEventCreateRule" }, + "description": "CreateEventCreateRule creates an EventCreateRule.", + "file": "AnalyticsAdminClient/CreateEventCreateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventCreateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateEventCreateRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventEditRule_sync", - "title": "analyticsadmin CreateEventEditRule Sample", - "description": "CreateEventEditRule creates an EventEditRule.", - "file": "AnalyticsAdminClient/CreateEventEditRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEventEditRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateEventEditRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateEventEditRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateEventEditRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateEventEditRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateEventEditRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EventEditRule", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateEventEditRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateEventEditRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateEventEditRule" }, + "description": "CreateEventEditRule creates an EventEditRule.", + "file": "AnalyticsAdminClient/CreateEventEditRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventEditRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateEventEditRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateExpandedDataSet_sync", - "title": "analyticsadmin CreateExpandedDataSet Sample", - "description": "CreateExpandedDataSet creates a ExpandedDataSet.", - "file": "AnalyticsAdminClient/CreateExpandedDataSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExpandedDataSet", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateExpandedDataSet", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateExpandedDataSet", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateExpandedDataSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateExpandedDataSetRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateExpandedDataSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ExpandedDataSet", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateExpandedDataSet", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateExpandedDataSet" }, + "description": "CreateExpandedDataSet creates a ExpandedDataSet.", + "file": "AnalyticsAdminClient/CreateExpandedDataSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateExpandedDataSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateExpandedDataSet Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateFirebaseLink_sync", - "title": "analyticsadmin CreateFirebaseLink Sample", - "description": "CreateFirebaseLink creates a FirebaseLink.\n\nProperties can have at most one FirebaseLink.", - "file": "AnalyticsAdminClient/CreateFirebaseLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFirebaseLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateFirebaseLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateFirebaseLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateFirebaseLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateFirebaseLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateFirebaseLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.FirebaseLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateFirebaseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateFirebaseLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateFirebaseLink" }, + "description": "CreateFirebaseLink creates a FirebaseLink.\n\nProperties can have at most one FirebaseLink.", + "file": "AnalyticsAdminClient/CreateFirebaseLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateFirebaseLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateFirebaseLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateGoogleAdsLink_sync", - "title": "analyticsadmin CreateGoogleAdsLink Sample", - "description": "CreateGoogleAdsLink creates a GoogleAdsLink.", - "file": "AnalyticsAdminClient/CreateGoogleAdsLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGoogleAdsLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateGoogleAdsLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateGoogleAdsLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateGoogleAdsLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateGoogleAdsLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateGoogleAdsLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.GoogleAdsLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateGoogleAdsLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateGoogleAdsLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateGoogleAdsLink" }, + "description": "CreateGoogleAdsLink creates a GoogleAdsLink.", + "file": "AnalyticsAdminClient/CreateGoogleAdsLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateGoogleAdsLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateGoogleAdsLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateKeyEvent_sync", - "title": "analyticsadmin CreateKeyEvent Sample", - "description": "CreateKeyEvent creates a Key Event.", - "file": "AnalyticsAdminClient/CreateKeyEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKeyEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateKeyEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateKeyEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateKeyEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateKeyEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateKeyEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.KeyEvent", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateKeyEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateKeyEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateKeyEvent" }, + "description": "CreateKeyEvent creates a Key Event.", + "file": "AnalyticsAdminClient/CreateKeyEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateKeyEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateKeyEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateMeasurementProtocolSecret_sync", - "title": "analyticsadmin CreateMeasurementProtocolSecret Sample", - "description": "CreateMeasurementProtocolSecret creates a measurement protocol secret.", - "file": "AnalyticsAdminClient/CreateMeasurementProtocolSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMeasurementProtocolSecret", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateMeasurementProtocolSecret", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateMeasurementProtocolSecret", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateMeasurementProtocolSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateMeasurementProtocolSecretRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateMeasurementProtocolSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.MeasurementProtocolSecret", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateMeasurementProtocolSecret", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateMeasurementProtocolSecret" }, + "description": "CreateMeasurementProtocolSecret creates a measurement protocol secret.", + "file": "AnalyticsAdminClient/CreateMeasurementProtocolSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateMeasurementProtocolSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateMeasurementProtocolSecret Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateProperty_sync", - "title": "analyticsadmin CreateProperty Sample", - "description": "CreateProperty creates a Google Analytics property with the specified location and\nattributes.", - "file": "AnalyticsAdminClient/CreateProperty/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProperty", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateProperty", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateProperty", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateProperty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreatePropertyRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreatePropertyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Property", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateProperty", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateProperty" }, + "description": "CreateProperty creates a Google Analytics property with the specified location and\nattributes.", + "file": "AnalyticsAdminClient/CreateProperty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateProperty_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateProperty Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateReportingDataAnnotation_sync", - "title": "analyticsadmin CreateReportingDataAnnotation Sample", - "description": "CreateReportingDataAnnotation creates a Reporting Data Annotation.", - "file": "AnalyticsAdminClient/CreateReportingDataAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReportingDataAnnotation", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateReportingDataAnnotation", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateReportingDataAnnotation", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateReportingDataAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateReportingDataAnnotationRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateReportingDataAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ReportingDataAnnotation", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateReportingDataAnnotation", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateReportingDataAnnotation", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateReportingDataAnnotation" }, + "description": "CreateReportingDataAnnotation creates a Reporting Data Annotation.", + "file": "AnalyticsAdminClient/CreateReportingDataAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateReportingDataAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateReportingDataAnnotation Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupProperty_sync", - "title": "analyticsadmin CreateRollupProperty Sample", - "description": "CreateRollupProperty create a roll-up property and all roll-up property source links.", - "file": "AnalyticsAdminClient/CreateRollupProperty/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRollupProperty", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateRollupProperty", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateRollupProperty", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateRollupProperty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateRollupPropertyRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateRollupPropertyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CreateRollupPropertyResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateRollupProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateRollupProperty", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateRollupProperty" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateRollupProperty create a roll-up property and all roll-up property source links.", + "file": "AnalyticsAdminClient/CreateRollupProperty/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupProperty_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateRollupProperty Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupPropertySourceLink_sync", - "title": "analyticsadmin CreateRollupPropertySourceLink Sample", - "description": "CreateRollupPropertySourceLink creates a roll-up property source link.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", - "file": "AnalyticsAdminClient/CreateRollupPropertySourceLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRollupPropertySourceLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateRollupPropertySourceLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateRollupPropertySourceLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateRollupPropertySourceLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateRollupPropertySourceLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateRollupPropertySourceLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.RollupPropertySourceLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateRollupPropertySourceLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateRollupPropertySourceLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateRollupPropertySourceLink" }, + "description": "CreateRollupPropertySourceLink creates a roll-up property source link.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", + "file": "AnalyticsAdminClient/CreateRollupPropertySourceLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupPropertySourceLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateRollupPropertySourceLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSKAdNetworkConversionValueSchema_sync", - "title": "analyticsadmin CreateSKAdNetworkConversionValueSchema Sample", - "description": "CreateSKAdNetworkConversionValueSchema creates a SKAdNetworkConversionValueSchema.", - "file": "AnalyticsAdminClient/CreateSKAdNetworkConversionValueSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSKAdNetworkConversionValueSchema", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateSKAdNetworkConversionValueSchema", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSKAdNetworkConversionValueSchema", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateSKAdNetworkConversionValueSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateSKAdNetworkConversionValueSchemaRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateSKAdNetworkConversionValueSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SKAdNetworkConversionValueSchema", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateSKAdNetworkConversionValueSchema", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSKAdNetworkConversionValueSchema", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateSKAdNetworkConversionValueSchema" }, + "description": "CreateSKAdNetworkConversionValueSchema creates a SKAdNetworkConversionValueSchema.", + "file": "AnalyticsAdminClient/CreateSKAdNetworkConversionValueSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSKAdNetworkConversionValueSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateSKAdNetworkConversionValueSchema Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync", - "title": "analyticsadmin CreateSearchAds360Link Sample", - "description": "CreateSearchAds360Link creates a SearchAds360Link.", - "file": "AnalyticsAdminClient/CreateSearchAds360Link/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSearchAds360Link", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateSearchAds360Link", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSearchAds360Link", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateSearchAds360Link" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateSearchAds360LinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateSearchAds360LinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SearchAds360Link", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSearchAds360Link", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateSearchAds360Link" }, + "description": "CreateSearchAds360Link creates a SearchAds360Link.", + "file": "AnalyticsAdminClient/CreateSearchAds360Link/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateSearchAds360Link Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSubpropertyEventFilter_sync", - "title": "analyticsadmin CreateSubpropertyEventFilter Sample", - "description": "CreateSubpropertyEventFilter creates a subproperty Event Filter.", - "file": "AnalyticsAdminClient/CreateSubpropertyEventFilter/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubpropertyEventFilter", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.CreateSubpropertyEventFilter", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSubpropertyEventFilter", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "CreateSubpropertyEventFilter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateSubpropertyEventFilterRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateSubpropertyEventFilterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SubpropertyEventFilter", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "CreateSubpropertyEventFilter", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSubpropertyEventFilter", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "CreateSubpropertyEventFilter" }, + "description": "CreateSubpropertyEventFilter creates a subproperty Event Filter.", + "file": "AnalyticsAdminClient/CreateSubpropertyEventFilter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSubpropertyEventFilter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin CreateSubpropertyEventFilter Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccessBinding_sync", - "title": "analyticsadmin DeleteAccessBinding Sample", - "description": "DeleteAccessBinding deletes an access binding on an account or property.", - "file": "AnalyticsAdminClient/DeleteAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccessBinding", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteAccessBinding", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccessBinding", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteAccessBindingRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccessBinding", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteAccessBinding" }, + "description": "DeleteAccessBinding deletes an access binding on an account or property.", + "file": "AnalyticsAdminClient/DeleteAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccessBinding_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteAccessBinding Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccount_sync", - "title": "analyticsadmin DeleteAccount Sample", - "description": "DeleteAccount marks target Account as soft-deleted (ie: \"trashed\") and returns it.\n\nThis API does not have a method to restore soft-deleted accounts.\nHowever, they can be restored using the Trash Can UI.\n\nIf the accounts are not restored before the expiration time, the account\nand all child resources (eg: Properties, GoogleAdsLinks, Streams,\nAccessBindings) will be permanently purged.\nhttps: //support.google.com/analytics/answer/6154772\n\nReturns an error if the target is not found.", - "file": "AnalyticsAdminClient/DeleteAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccount", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteAccount", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccount", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteAccountRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteAccount", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccount", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteAccount" }, + "description": "DeleteAccount marks target Account as soft-deleted (ie: \"trashed\") and returns it.\n\nThis API does not have a method to restore soft-deleted accounts.\nHowever, they can be restored using the Trash Can UI.\n\nIf the accounts are not restored before the expiration time, the account\nand all child resources (eg: Properties, GoogleAdsLinks, Streams,\nAccessBindings) will be permanently purged.\nhttps: //support.google.com/analytics/answer/6154772\n\nReturns an error if the target is not found.", + "file": "AnalyticsAdminClient/DeleteAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccount_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteAccount Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAdSenseLink_sync", - "title": "analyticsadmin DeleteAdSenseLink Sample", - "description": "DeleteAdSenseLink deletes an AdSenseLink.", - "file": "AnalyticsAdminClient/DeleteAdSenseLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAdSenseLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteAdSenseLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAdSenseLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteAdSenseLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteAdSenseLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteAdSenseLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteAdSenseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAdSenseLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteAdSenseLink" }, + "description": "DeleteAdSenseLink deletes an AdSenseLink.", + "file": "AnalyticsAdminClient/DeleteAdSenseLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAdSenseLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteAdSenseLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteBigQueryLink_sync", - "title": "analyticsadmin DeleteBigQueryLink Sample", - "description": "DeleteBigQueryLink deletes a BigQueryLink on a property.", - "file": "AnalyticsAdminClient/DeleteBigQueryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBigQueryLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteBigQueryLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteBigQueryLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteBigQueryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteBigQueryLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteBigQueryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteBigQueryLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteBigQueryLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteBigQueryLink" }, + "description": "DeleteBigQueryLink deletes a BigQueryLink on a property.", + "file": "AnalyticsAdminClient/DeleteBigQueryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteBigQueryLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteBigQueryLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteCalculatedMetric_sync", - "title": "analyticsadmin DeleteCalculatedMetric Sample", - "description": "DeleteCalculatedMetric deletes a CalculatedMetric on a property.", - "file": "AnalyticsAdminClient/DeleteCalculatedMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCalculatedMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteCalculatedMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteCalculatedMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteCalculatedMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteCalculatedMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteCalculatedMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteCalculatedMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteCalculatedMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteCalculatedMetric" }, + "description": "DeleteCalculatedMetric deletes a CalculatedMetric on a property.", + "file": "AnalyticsAdminClient/DeleteCalculatedMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteCalculatedMetric_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteCalculatedMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteChannelGroup_sync", - "title": "analyticsadmin DeleteChannelGroup Sample", - "description": "DeleteChannelGroup deletes a ChannelGroup on a property.", - "file": "AnalyticsAdminClient/DeleteChannelGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteChannelGroup", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteChannelGroup", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteChannelGroup", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteChannelGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteChannelGroupRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteChannelGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteChannelGroup", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteChannelGroup", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteChannelGroup" }, + "description": "DeleteChannelGroup deletes a ChannelGroup on a property.", + "file": "AnalyticsAdminClient/DeleteChannelGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteChannelGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteChannelGroup Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteConversionEvent_sync", - "title": "analyticsadmin DeleteConversionEvent Sample", - "description": "DeleteConversionEvent deprecated: Use `DeleteKeyEvent` instead.\nDeletes a conversion event in a property.\n\n\nDeprecated: DeleteConversionEvent may be removed in a future version.", - "file": "AnalyticsAdminClient/DeleteConversionEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversionEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteConversionEvent", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteConversionEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteConversionEvent" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteConversionEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteConversionEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteConversionEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteConversionEvent" }, + "description": "DeleteConversionEvent deprecated: Use `DeleteKeyEvent` instead.\nDeletes a conversion event in a property.\n\n\nDeprecated: DeleteConversionEvent may be removed in a future version.", + "file": "AnalyticsAdminClient/DeleteConversionEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteConversionEvent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteConversionEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDataStream_sync", - "title": "analyticsadmin DeleteDataStream Sample", - "description": "DeleteDataStream deletes a DataStream on a property.", - "file": "AnalyticsAdminClient/DeleteDataStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataStream", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteDataStream", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDataStream", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteDataStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteDataStreamRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteDataStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDataStream", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteDataStream" }, + "description": "DeleteDataStream deletes a DataStream on a property.", + "file": "AnalyticsAdminClient/DeleteDataStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDataStream_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteDataStream Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLink_sync", - "title": "analyticsadmin DeleteDisplayVideo360AdvertiserLink Sample", - "description": "DeleteDisplayVideo360AdvertiserLink deletes a DisplayVideo360AdvertiserLink on a property.", - "file": "AnalyticsAdminClient/DeleteDisplayVideo360AdvertiserLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDisplayVideo360AdvertiserLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteDisplayVideo360AdvertiserLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteDisplayVideo360AdvertiserLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteDisplayVideo360AdvertiserLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteDisplayVideo360AdvertiserLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteDisplayVideo360AdvertiserLink" }, + "description": "DeleteDisplayVideo360AdvertiserLink deletes a DisplayVideo360AdvertiserLink on a property.", + "file": "AnalyticsAdminClient/DeleteDisplayVideo360AdvertiserLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteDisplayVideo360AdvertiserLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLinkProposal_sync", - "title": "analyticsadmin DeleteDisplayVideo360AdvertiserLinkProposal Sample", - "description": "DeleteDisplayVideo360AdvertiserLinkProposal deletes a DisplayVideo360AdvertiserLinkProposal on a property.\nThis can only be used on cancelled proposals.", - "file": "AnalyticsAdminClient/DeleteDisplayVideo360AdvertiserLinkProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDisplayVideo360AdvertiserLinkProposal", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteDisplayVideo360AdvertiserLinkProposal", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLinkProposal", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteDisplayVideo360AdvertiserLinkProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteDisplayVideo360AdvertiserLinkProposalRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteDisplayVideo360AdvertiserLinkProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLinkProposal", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteDisplayVideo360AdvertiserLinkProposal" }, + "description": "DeleteDisplayVideo360AdvertiserLinkProposal deletes a DisplayVideo360AdvertiserLinkProposal on a property.\nThis can only be used on cancelled proposals.", + "file": "AnalyticsAdminClient/DeleteDisplayVideo360AdvertiserLinkProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLinkProposal_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteDisplayVideo360AdvertiserLinkProposal Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventCreateRule_sync", - "title": "analyticsadmin DeleteEventCreateRule Sample", - "description": "DeleteEventCreateRule deletes an EventCreateRule.", - "file": "AnalyticsAdminClient/DeleteEventCreateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEventCreateRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteEventCreateRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteEventCreateRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteEventCreateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteEventCreateRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteEventCreateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteEventCreateRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteEventCreateRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteEventCreateRule" }, + "description": "DeleteEventCreateRule deletes an EventCreateRule.", + "file": "AnalyticsAdminClient/DeleteEventCreateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventCreateRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteEventCreateRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventEditRule_sync", - "title": "analyticsadmin DeleteEventEditRule Sample", - "description": "DeleteEventEditRule deletes an EventEditRule.", - "file": "AnalyticsAdminClient/DeleteEventEditRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEventEditRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteEventEditRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteEventEditRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteEventEditRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteEventEditRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteEventEditRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteEventEditRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteEventEditRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteEventEditRule" }, + "description": "DeleteEventEditRule deletes an EventEditRule.", + "file": "AnalyticsAdminClient/DeleteEventEditRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventEditRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteEventEditRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteExpandedDataSet_sync", - "title": "analyticsadmin DeleteExpandedDataSet Sample", - "description": "DeleteExpandedDataSet deletes a ExpandedDataSet on a property.", - "file": "AnalyticsAdminClient/DeleteExpandedDataSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExpandedDataSet", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteExpandedDataSet", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteExpandedDataSet", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteExpandedDataSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteExpandedDataSetRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteExpandedDataSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteExpandedDataSet", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteExpandedDataSet" }, + "description": "DeleteExpandedDataSet deletes a ExpandedDataSet on a property.", + "file": "AnalyticsAdminClient/DeleteExpandedDataSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteExpandedDataSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteExpandedDataSet Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteFirebaseLink_sync", - "title": "analyticsadmin DeleteFirebaseLink Sample", - "description": "DeleteFirebaseLink deletes a FirebaseLink on a property", - "file": "AnalyticsAdminClient/DeleteFirebaseLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFirebaseLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteFirebaseLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteFirebaseLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteFirebaseLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteFirebaseLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteFirebaseLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteFirebaseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteFirebaseLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteFirebaseLink" }, + "description": "DeleteFirebaseLink deletes a FirebaseLink on a property", + "file": "AnalyticsAdminClient/DeleteFirebaseLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteFirebaseLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteFirebaseLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteGoogleAdsLink_sync", - "title": "analyticsadmin DeleteGoogleAdsLink Sample", - "description": "DeleteGoogleAdsLink deletes a GoogleAdsLink on a property", - "file": "AnalyticsAdminClient/DeleteGoogleAdsLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGoogleAdsLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteGoogleAdsLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteGoogleAdsLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteGoogleAdsLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteGoogleAdsLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteGoogleAdsLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteGoogleAdsLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteGoogleAdsLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteGoogleAdsLink" }, + "description": "DeleteGoogleAdsLink deletes a GoogleAdsLink on a property", + "file": "AnalyticsAdminClient/DeleteGoogleAdsLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteGoogleAdsLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteGoogleAdsLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteKeyEvent_sync", - "title": "analyticsadmin DeleteKeyEvent Sample", - "description": "DeleteKeyEvent deletes a Key Event.", - "file": "AnalyticsAdminClient/DeleteKeyEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteKeyEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteKeyEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteKeyEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteKeyEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteKeyEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteKeyEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteKeyEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteKeyEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteKeyEvent" }, + "description": "DeleteKeyEvent deletes a Key Event.", + "file": "AnalyticsAdminClient/DeleteKeyEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteKeyEvent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteKeyEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteMeasurementProtocolSecret_sync", - "title": "analyticsadmin DeleteMeasurementProtocolSecret Sample", - "description": "DeleteMeasurementProtocolSecret deletes target MeasurementProtocolSecret.", - "file": "AnalyticsAdminClient/DeleteMeasurementProtocolSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMeasurementProtocolSecret", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteMeasurementProtocolSecret", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteMeasurementProtocolSecret", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteMeasurementProtocolSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteMeasurementProtocolSecretRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteMeasurementProtocolSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteMeasurementProtocolSecret", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteMeasurementProtocolSecret" }, + "description": "DeleteMeasurementProtocolSecret deletes target MeasurementProtocolSecret.", + "file": "AnalyticsAdminClient/DeleteMeasurementProtocolSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteMeasurementProtocolSecret_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteMeasurementProtocolSecret Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteProperty_sync", - "title": "analyticsadmin DeleteProperty Sample", - "description": "DeleteProperty marks target Property as soft-deleted (ie: \"trashed\") and returns it.\n\nThis API does not have a method to restore soft-deleted properties.\nHowever, they can be restored using the Trash Can UI.\n\nIf the properties are not restored before the expiration time, the Property\nand all child resources (eg: GoogleAdsLinks, Streams, AccessBindings)\nwill be permanently purged.\nhttps: //support.google.com/analytics/answer/6154772\n\nReturns an error if the target is not found.", - "file": "AnalyticsAdminClient/DeleteProperty/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProperty", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteProperty", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteProperty", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteProperty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeletePropertyRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeletePropertyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Property", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteProperty", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteProperty" }, + "description": "DeleteProperty marks target Property as soft-deleted (ie: \"trashed\") and returns it.\n\nThis API does not have a method to restore soft-deleted properties.\nHowever, they can be restored using the Trash Can UI.\n\nIf the properties are not restored before the expiration time, the Property\nand all child resources (eg: GoogleAdsLinks, Streams, AccessBindings)\nwill be permanently purged.\nhttps: //support.google.com/analytics/answer/6154772\n\nReturns an error if the target is not found.", + "file": "AnalyticsAdminClient/DeleteProperty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteProperty_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteProperty Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteReportingDataAnnotation_sync", - "title": "analyticsadmin DeleteReportingDataAnnotation Sample", - "description": "DeleteReportingDataAnnotation deletes a Reporting Data Annotation.", - "file": "AnalyticsAdminClient/DeleteReportingDataAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReportingDataAnnotation", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteReportingDataAnnotation", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteReportingDataAnnotation", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteReportingDataAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteReportingDataAnnotationRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteReportingDataAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteReportingDataAnnotation", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteReportingDataAnnotation", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteReportingDataAnnotation" }, + "description": "DeleteReportingDataAnnotation deletes a Reporting Data Annotation.", + "file": "AnalyticsAdminClient/DeleteReportingDataAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteReportingDataAnnotation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteReportingDataAnnotation Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteRollupPropertySourceLink_sync", - "title": "analyticsadmin DeleteRollupPropertySourceLink Sample", - "description": "DeleteRollupPropertySourceLink deletes a roll-up property source link.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", - "file": "AnalyticsAdminClient/DeleteRollupPropertySourceLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRollupPropertySourceLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteRollupPropertySourceLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteRollupPropertySourceLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteRollupPropertySourceLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteRollupPropertySourceLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteRollupPropertySourceLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteRollupPropertySourceLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteRollupPropertySourceLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteRollupPropertySourceLink" }, + "description": "DeleteRollupPropertySourceLink deletes a roll-up property source link.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", + "file": "AnalyticsAdminClient/DeleteRollupPropertySourceLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteRollupPropertySourceLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteRollupPropertySourceLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSKAdNetworkConversionValueSchema_sync", - "title": "analyticsadmin DeleteSKAdNetworkConversionValueSchema Sample", - "description": "DeleteSKAdNetworkConversionValueSchema deletes target SKAdNetworkConversionValueSchema.", - "file": "AnalyticsAdminClient/DeleteSKAdNetworkConversionValueSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSKAdNetworkConversionValueSchema", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteSKAdNetworkConversionValueSchema", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSKAdNetworkConversionValueSchema", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteSKAdNetworkConversionValueSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteSKAdNetworkConversionValueSchemaRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteSKAdNetworkConversionValueSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteSKAdNetworkConversionValueSchema", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSKAdNetworkConversionValueSchema", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteSKAdNetworkConversionValueSchema" }, + "description": "DeleteSKAdNetworkConversionValueSchema deletes target SKAdNetworkConversionValueSchema.", + "file": "AnalyticsAdminClient/DeleteSKAdNetworkConversionValueSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSKAdNetworkConversionValueSchema_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteSKAdNetworkConversionValueSchema Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_sync", - "title": "analyticsadmin DeleteSearchAds360Link Sample", - "description": "DeleteSearchAds360Link deletes a SearchAds360Link on a property.", - "file": "AnalyticsAdminClient/DeleteSearchAds360Link/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSearchAds360Link", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteSearchAds360Link", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSearchAds360Link", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteSearchAds360Link" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteSearchAds360LinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteSearchAds360LinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSearchAds360Link", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteSearchAds360Link" }, + "description": "DeleteSearchAds360Link deletes a SearchAds360Link on a property.", + "file": "AnalyticsAdminClient/DeleteSearchAds360Link/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteSearchAds360Link Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSubpropertyEventFilter_sync", - "title": "analyticsadmin DeleteSubpropertyEventFilter Sample", - "description": "DeleteSubpropertyEventFilter deletes a subproperty event filter.", - "file": "AnalyticsAdminClient/DeleteSubpropertyEventFilter/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubpropertyEventFilter", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.DeleteSubpropertyEventFilter", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSubpropertyEventFilter", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "DeleteSubpropertyEventFilter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteSubpropertyEventFilterRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteSubpropertyEventFilterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "DeleteSubpropertyEventFilter", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSubpropertyEventFilter", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "DeleteSubpropertyEventFilter" }, + "description": "DeleteSubpropertyEventFilter deletes a subproperty event filter.", + "file": "AnalyticsAdminClient/DeleteSubpropertyEventFilter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSubpropertyEventFilter_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin DeleteSubpropertyEventFilter Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccessBinding_sync", - "title": "analyticsadmin GetAccessBinding Sample", - "description": "GetAccessBinding gets information about an access binding.", - "file": "AnalyticsAdminClient/GetAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccessBinding", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetAccessBinding", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccessBinding", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetAccessBindingRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AccessBinding", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccessBinding", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetAccessBinding" }, + "description": "GetAccessBinding gets information about an access binding.", + "file": "AnalyticsAdminClient/GetAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccessBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetAccessBinding Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccount_sync", - "title": "analyticsadmin GetAccount Sample", - "description": "GetAccount lookup for a single Account.", - "file": "AnalyticsAdminClient/GetAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccount", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetAccount", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccount", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetAccountRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Account", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetAccount", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccount", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetAccount" }, + "description": "GetAccount lookup for a single Account.", + "file": "AnalyticsAdminClient/GetAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetAccount Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAdSenseLink_sync", - "title": "analyticsadmin GetAdSenseLink Sample", - "description": "GetAdSenseLink looks up a single AdSenseLink.", - "file": "AnalyticsAdminClient/GetAdSenseLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAdSenseLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetAdSenseLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAdSenseLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetAdSenseLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetAdSenseLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetAdSenseLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AdSenseLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetAdSenseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAdSenseLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetAdSenseLink" }, + "description": "GetAdSenseLink looks up a single AdSenseLink.", + "file": "AnalyticsAdminClient/GetAdSenseLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAdSenseLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetAdSenseLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAttributionSettings_sync", - "title": "analyticsadmin GetAttributionSettings Sample", - "description": "GetAttributionSettings lookup for a AttributionSettings singleton.", - "file": "AnalyticsAdminClient/GetAttributionSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttributionSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetAttributionSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAttributionSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetAttributionSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetAttributionSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetAttributionSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AttributionSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetAttributionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAttributionSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetAttributionSettings" }, + "description": "GetAttributionSettings lookup for a AttributionSettings singleton.", + "file": "AnalyticsAdminClient/GetAttributionSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAttributionSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetAttributionSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAudience_sync", - "title": "analyticsadmin GetAudience Sample", - "description": "GetAudience lookup for a single Audience.\nAudiences created before 2020 may not be supported.\nDefault audiences will not show filter definitions.", - "file": "AnalyticsAdminClient/GetAudience/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAudience", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetAudience", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAudience", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetAudience" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetAudienceRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetAudienceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Audience", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAudience", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetAudience" }, + "description": "GetAudience lookup for a single Audience.\nAudiences created before 2020 may not be supported.\nDefault audiences will not show filter definitions.", + "file": "AnalyticsAdminClient/GetAudience/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAudience_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetAudience Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync", - "title": "analyticsadmin GetBigQueryLink Sample", - "description": "GetBigQueryLink lookup for a single BigQuery Link.", - "file": "AnalyticsAdminClient/GetBigQueryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBigQueryLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetBigQueryLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetBigQueryLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetBigQueryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetBigQueryLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetBigQueryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BigQueryLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetBigQueryLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetBigQueryLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetBigQueryLink" }, + "description": "GetBigQueryLink lookup for a single BigQuery Link.", + "file": "AnalyticsAdminClient/GetBigQueryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetBigQueryLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCalculatedMetric_sync", - "title": "analyticsadmin GetCalculatedMetric Sample", - "description": "GetCalculatedMetric lookup for a single CalculatedMetric.", - "file": "AnalyticsAdminClient/GetCalculatedMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCalculatedMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetCalculatedMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCalculatedMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetCalculatedMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetCalculatedMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetCalculatedMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CalculatedMetric", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetCalculatedMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCalculatedMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetCalculatedMetric" }, + "description": "GetCalculatedMetric lookup for a single CalculatedMetric.", + "file": "AnalyticsAdminClient/GetCalculatedMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCalculatedMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetCalculatedMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetChannelGroup_sync", - "title": "analyticsadmin GetChannelGroup Sample", - "description": "GetChannelGroup lookup for a single ChannelGroup.", - "file": "AnalyticsAdminClient/GetChannelGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChannelGroup", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetChannelGroup", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetChannelGroup", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetChannelGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetChannelGroupRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetChannelGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ChannelGroup", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetChannelGroup", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetChannelGroup", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetChannelGroup" }, + "description": "GetChannelGroup lookup for a single ChannelGroup.", + "file": "AnalyticsAdminClient/GetChannelGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetChannelGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetChannelGroup Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetConversionEvent_sync", - "title": "analyticsadmin GetConversionEvent Sample", - "description": "GetConversionEvent deprecated: Use `GetKeyEvent` instead.\nRetrieve a single conversion event.\n\n\nDeprecated: GetConversionEvent may be removed in a future version.", - "file": "AnalyticsAdminClient/GetConversionEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversionEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetConversionEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetConversionEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetConversionEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetConversionEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ConversionEvent", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetConversionEvent" }, + "description": "GetConversionEvent deprecated: Use `GetKeyEvent` instead.\nRetrieve a single conversion event.\n\n\nDeprecated: GetConversionEvent may be removed in a future version.", + "file": "AnalyticsAdminClient/GetConversionEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetConversionEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetConversionEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomDimension_sync", - "title": "analyticsadmin GetCustomDimension Sample", - "description": "GetCustomDimension lookup for a single CustomDimension.", - "file": "AnalyticsAdminClient/GetCustomDimension/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomDimension", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetCustomDimension", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomDimension", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetCustomDimension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetCustomDimensionRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetCustomDimensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CustomDimension", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomDimension", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetCustomDimension" }, + "description": "GetCustomDimension lookup for a single CustomDimension.", + "file": "AnalyticsAdminClient/GetCustomDimension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomDimension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetCustomDimension Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomMetric_sync", - "title": "analyticsadmin GetCustomMetric Sample", - "description": "GetCustomMetric lookup for a single CustomMetric.", - "file": "AnalyticsAdminClient/GetCustomMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetCustomMetric", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "adminpb.GetCustomMetricRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*adminpb.CustomMetric", "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" }, + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetCustomMetric", "method": { - "shortName": "GetCustomMetric", "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomMetric", "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetCustomMetric" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "adminpb.GetCustomMetricRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*adminpb.CustomMetric", + "shortName": "GetCustomMetric" }, + "description": "GetCustomMetric lookup for a single CustomMetric.", + "file": "AnalyticsAdminClient/GetCustomMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetCustomMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRedactionSettings_sync", - "title": "analyticsadmin GetDataRedactionSettings Sample", - "description": "GetDataRedactionSettings lookup for a single DataRedactionSettings.", - "file": "AnalyticsAdminClient/GetDataRedactionSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataRedactionSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetDataRedactionSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRedactionSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetDataRedactionSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDataRedactionSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDataRedactionSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataRedactionSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetDataRedactionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRedactionSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetDataRedactionSettings" }, + "description": "GetDataRedactionSettings lookup for a single DataRedactionSettings.", + "file": "AnalyticsAdminClient/GetDataRedactionSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRedactionSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetDataRedactionSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRetentionSettings_sync", - "title": "analyticsadmin GetDataRetentionSettings Sample", - "description": "GetDataRetentionSettings returns the singleton data retention settings for this property.", - "file": "AnalyticsAdminClient/GetDataRetentionSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataRetentionSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetDataRetentionSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRetentionSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetDataRetentionSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDataRetentionSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDataRetentionSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataRetentionSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetDataRetentionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRetentionSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetDataRetentionSettings" }, + "description": "GetDataRetentionSettings returns the singleton data retention settings for this property.", + "file": "AnalyticsAdminClient/GetDataRetentionSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRetentionSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetDataRetentionSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataSharingSettings_sync", - "title": "analyticsadmin GetDataSharingSettings Sample", - "description": "GetDataSharingSettings get data sharing settings on an account.\nData sharing settings are singletons.", - "file": "AnalyticsAdminClient/GetDataSharingSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSharingSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetDataSharingSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataSharingSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetDataSharingSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDataSharingSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDataSharingSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataSharingSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetDataSharingSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataSharingSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetDataSharingSettings" }, + "description": "GetDataSharingSettings get data sharing settings on an account.\nData sharing settings are singletons.", + "file": "AnalyticsAdminClient/GetDataSharingSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataSharingSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetDataSharingSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataStream_sync", - "title": "analyticsadmin GetDataStream Sample", - "description": "GetDataStream lookup for a single DataStream.", - "file": "AnalyticsAdminClient/GetDataStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataStream", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetDataStream", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataStream", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetDataStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDataStreamRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDataStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataStream", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataStream", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetDataStream" }, + "description": "GetDataStream lookup for a single DataStream.", + "file": "AnalyticsAdminClient/GetDataStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetDataStream Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLink_sync", - "title": "analyticsadmin GetDisplayVideo360AdvertiserLink Sample", - "description": "GetDisplayVideo360AdvertiserLink look up a single DisplayVideo360AdvertiserLink", - "file": "AnalyticsAdminClient/GetDisplayVideo360AdvertiserLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDisplayVideo360AdvertiserLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetDisplayVideo360AdvertiserLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetDisplayVideo360AdvertiserLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDisplayVideo360AdvertiserLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDisplayVideo360AdvertiserLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DisplayVideo360AdvertiserLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetDisplayVideo360AdvertiserLink" }, + "description": "GetDisplayVideo360AdvertiserLink look up a single DisplayVideo360AdvertiserLink", + "file": "AnalyticsAdminClient/GetDisplayVideo360AdvertiserLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetDisplayVideo360AdvertiserLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLinkProposal_sync", - "title": "analyticsadmin GetDisplayVideo360AdvertiserLinkProposal Sample", - "description": "GetDisplayVideo360AdvertiserLinkProposal lookup for a single DisplayVideo360AdvertiserLinkProposal.", - "file": "AnalyticsAdminClient/GetDisplayVideo360AdvertiserLinkProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDisplayVideo360AdvertiserLinkProposal", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetDisplayVideo360AdvertiserLinkProposal", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLinkProposal", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetDisplayVideo360AdvertiserLinkProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDisplayVideo360AdvertiserLinkProposalRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDisplayVideo360AdvertiserLinkProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DisplayVideo360AdvertiserLinkProposal", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLinkProposal", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetDisplayVideo360AdvertiserLinkProposal" }, + "description": "GetDisplayVideo360AdvertiserLinkProposal lookup for a single DisplayVideo360AdvertiserLinkProposal.", + "file": "AnalyticsAdminClient/GetDisplayVideo360AdvertiserLinkProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLinkProposal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetDisplayVideo360AdvertiserLinkProposal Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEnhancedMeasurementSettings_sync", - "title": "analyticsadmin GetEnhancedMeasurementSettings Sample", - "description": "GetEnhancedMeasurementSettings returns the enhanced measurement settings for this data stream.\nNote that the stream must enable enhanced measurement for these settings to\ntake effect.", - "file": "AnalyticsAdminClient/GetEnhancedMeasurementSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnhancedMeasurementSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetEnhancedMeasurementSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEnhancedMeasurementSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetEnhancedMeasurementSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetEnhancedMeasurementSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetEnhancedMeasurementSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EnhancedMeasurementSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetEnhancedMeasurementSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEnhancedMeasurementSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetEnhancedMeasurementSettings" }, + "description": "GetEnhancedMeasurementSettings returns the enhanced measurement settings for this data stream.\nNote that the stream must enable enhanced measurement for these settings to\ntake effect.", + "file": "AnalyticsAdminClient/GetEnhancedMeasurementSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEnhancedMeasurementSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetEnhancedMeasurementSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventCreateRule_sync", - "title": "analyticsadmin GetEventCreateRule Sample", - "description": "GetEventCreateRule lookup for a single EventCreateRule.", - "file": "AnalyticsAdminClient/GetEventCreateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEventCreateRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetEventCreateRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEventCreateRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetEventCreateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetEventCreateRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetEventCreateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EventCreateRule", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetEventCreateRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEventCreateRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetEventCreateRule" }, + "description": "GetEventCreateRule lookup for a single EventCreateRule.", + "file": "AnalyticsAdminClient/GetEventCreateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventCreateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetEventCreateRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventEditRule_sync", - "title": "analyticsadmin GetEventEditRule Sample", - "description": "GetEventEditRule lookup for a single EventEditRule.", - "file": "AnalyticsAdminClient/GetEventEditRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEventEditRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetEventEditRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEventEditRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetEventEditRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetEventEditRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetEventEditRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EventEditRule", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetEventEditRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEventEditRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetEventEditRule" }, + "description": "GetEventEditRule lookup for a single EventEditRule.", + "file": "AnalyticsAdminClient/GetEventEditRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventEditRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetEventEditRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetExpandedDataSet_sync", - "title": "analyticsadmin GetExpandedDataSet Sample", - "description": "GetExpandedDataSet lookup for a single ExpandedDataSet.", - "file": "AnalyticsAdminClient/GetExpandedDataSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExpandedDataSet", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetExpandedDataSet", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetExpandedDataSet", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetExpandedDataSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetExpandedDataSetRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetExpandedDataSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ExpandedDataSet", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetExpandedDataSet", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetExpandedDataSet" }, + "description": "GetExpandedDataSet lookup for a single ExpandedDataSet.", + "file": "AnalyticsAdminClient/GetExpandedDataSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetExpandedDataSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetExpandedDataSet Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGlobalSiteTag_sync", - "title": "analyticsadmin GetGlobalSiteTag Sample", - "description": "GetGlobalSiteTag returns the Site Tag for the specified web stream.\nSite Tags are immutable singletons.", - "file": "AnalyticsAdminClient/GetGlobalSiteTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGlobalSiteTag", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetGlobalSiteTag", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGlobalSiteTag", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetGlobalSiteTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetGlobalSiteTagRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetGlobalSiteTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.GlobalSiteTag", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetGlobalSiteTag", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGlobalSiteTag", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetGlobalSiteTag" }, + "description": "GetGlobalSiteTag returns the Site Tag for the specified web stream.\nSite Tags are immutable singletons.", + "file": "AnalyticsAdminClient/GetGlobalSiteTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGlobalSiteTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetGlobalSiteTag Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGoogleSignalsSettings_sync", - "title": "analyticsadmin GetGoogleSignalsSettings Sample", - "description": "GetGoogleSignalsSettings lookup for Google Signals settings for a property.", - "file": "AnalyticsAdminClient/GetGoogleSignalsSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGoogleSignalsSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetGoogleSignalsSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGoogleSignalsSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetGoogleSignalsSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetGoogleSignalsSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetGoogleSignalsSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.GoogleSignalsSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetGoogleSignalsSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGoogleSignalsSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetGoogleSignalsSettings" }, + "description": "GetGoogleSignalsSettings lookup for Google Signals settings for a property.", + "file": "AnalyticsAdminClient/GetGoogleSignalsSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGoogleSignalsSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetGoogleSignalsSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetKeyEvent_sync", - "title": "analyticsadmin GetKeyEvent Sample", - "description": "GetKeyEvent retrieve a single Key Event.", - "file": "AnalyticsAdminClient/GetKeyEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKeyEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetKeyEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetKeyEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetKeyEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetKeyEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetKeyEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.KeyEvent", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetKeyEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetKeyEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetKeyEvent" }, + "description": "GetKeyEvent retrieve a single Key Event.", + "file": "AnalyticsAdminClient/GetKeyEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetKeyEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetKeyEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetMeasurementProtocolSecret_sync", - "title": "analyticsadmin GetMeasurementProtocolSecret Sample", - "description": "GetMeasurementProtocolSecret lookup for a single MeasurementProtocolSecret.", - "file": "AnalyticsAdminClient/GetMeasurementProtocolSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMeasurementProtocolSecret", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetMeasurementProtocolSecret", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetMeasurementProtocolSecret", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetMeasurementProtocolSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetMeasurementProtocolSecretRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetMeasurementProtocolSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.MeasurementProtocolSecret", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetMeasurementProtocolSecret", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetMeasurementProtocolSecret" }, + "description": "GetMeasurementProtocolSecret lookup for a single MeasurementProtocolSecret.", + "file": "AnalyticsAdminClient/GetMeasurementProtocolSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetMeasurementProtocolSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetMeasurementProtocolSecret Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetProperty_sync", - "title": "analyticsadmin GetProperty Sample", - "description": "GetProperty lookup for a single GA Property.", - "file": "AnalyticsAdminClient/GetProperty/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProperty", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetProperty", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetProperty", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetProperty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetPropertyRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetPropertyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Property", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetProperty", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetProperty" }, + "description": "GetProperty lookup for a single GA Property.", + "file": "AnalyticsAdminClient/GetProperty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetProperty_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetProperty Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingDataAnnotation_sync", - "title": "analyticsadmin GetReportingDataAnnotation Sample", - "description": "GetReportingDataAnnotation lookup a single Reporting Data Annotation.", - "file": "AnalyticsAdminClient/GetReportingDataAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReportingDataAnnotation", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetReportingDataAnnotation", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetReportingDataAnnotation", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetReportingDataAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetReportingDataAnnotationRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetReportingDataAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ReportingDataAnnotation", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetReportingDataAnnotation", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetReportingDataAnnotation", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetReportingDataAnnotation" }, + "description": "GetReportingDataAnnotation lookup a single Reporting Data Annotation.", + "file": "AnalyticsAdminClient/GetReportingDataAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingDataAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetReportingDataAnnotation Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingIdentitySettings_sync", - "title": "analyticsadmin GetReportingIdentitySettings Sample", - "description": "GetReportingIdentitySettings returns the singleton data retention settings for this property.", - "file": "AnalyticsAdminClient/GetReportingIdentitySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReportingIdentitySettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetReportingIdentitySettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetReportingIdentitySettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetReportingIdentitySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetReportingIdentitySettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetReportingIdentitySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ReportingIdentitySettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetReportingIdentitySettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetReportingIdentitySettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetReportingIdentitySettings" }, + "description": "GetReportingIdentitySettings returns the singleton data retention settings for this property.", + "file": "AnalyticsAdminClient/GetReportingIdentitySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingIdentitySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetReportingIdentitySettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetRollupPropertySourceLink_sync", - "title": "analyticsadmin GetRollupPropertySourceLink Sample", - "description": "GetRollupPropertySourceLink lookup for a single roll-up property source Link.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", - "file": "AnalyticsAdminClient/GetRollupPropertySourceLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRollupPropertySourceLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetRollupPropertySourceLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetRollupPropertySourceLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetRollupPropertySourceLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetRollupPropertySourceLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetRollupPropertySourceLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.RollupPropertySourceLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetRollupPropertySourceLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetRollupPropertySourceLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetRollupPropertySourceLink" }, + "description": "GetRollupPropertySourceLink lookup for a single roll-up property source Link.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", + "file": "AnalyticsAdminClient/GetRollupPropertySourceLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetRollupPropertySourceLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetRollupPropertySourceLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSKAdNetworkConversionValueSchema_sync", - "title": "analyticsadmin GetSKAdNetworkConversionValueSchema Sample", - "description": "GetSKAdNetworkConversionValueSchema looks up a single SKAdNetworkConversionValueSchema.", - "file": "AnalyticsAdminClient/GetSKAdNetworkConversionValueSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSKAdNetworkConversionValueSchema", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetSKAdNetworkConversionValueSchema", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSKAdNetworkConversionValueSchema", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetSKAdNetworkConversionValueSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetSKAdNetworkConversionValueSchemaRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetSKAdNetworkConversionValueSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SKAdNetworkConversionValueSchema", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetSKAdNetworkConversionValueSchema", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSKAdNetworkConversionValueSchema", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetSKAdNetworkConversionValueSchema" }, + "description": "GetSKAdNetworkConversionValueSchema looks up a single SKAdNetworkConversionValueSchema.", + "file": "AnalyticsAdminClient/GetSKAdNetworkConversionValueSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSKAdNetworkConversionValueSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetSKAdNetworkConversionValueSchema Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync", - "title": "analyticsadmin GetSearchAds360Link Sample", - "description": "GetSearchAds360Link look up a single SearchAds360Link", - "file": "AnalyticsAdminClient/GetSearchAds360Link/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSearchAds360Link", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetSearchAds360Link", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSearchAds360Link", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetSearchAds360Link" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetSearchAds360LinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetSearchAds360LinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SearchAds360Link", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSearchAds360Link", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetSearchAds360Link" }, + "description": "GetSearchAds360Link look up a single SearchAds360Link", + "file": "AnalyticsAdminClient/GetSearchAds360Link/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetSearchAds360Link Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertyEventFilter_sync", - "title": "analyticsadmin GetSubpropertyEventFilter Sample", - "description": "GetSubpropertyEventFilter lookup for a single subproperty Event Filter.", - "file": "AnalyticsAdminClient/GetSubpropertyEventFilter/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubpropertyEventFilter", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetSubpropertyEventFilter", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "adminpb.GetSubpropertyEventFilterRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*adminpb.SubpropertyEventFilter", "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" }, + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetSubpropertyEventFilter", "method": { - "shortName": "GetSubpropertyEventFilter", "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSubpropertyEventFilter", "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetSubpropertyEventFilter" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "adminpb.GetSubpropertyEventFilterRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*adminpb.SubpropertyEventFilter", + "shortName": "GetSubpropertyEventFilter" }, + "description": "GetSubpropertyEventFilter lookup for a single subproperty Event Filter.", + "file": "AnalyticsAdminClient/GetSubpropertyEventFilter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertyEventFilter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetSubpropertyEventFilter Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertySyncConfig_sync", - "title": "analyticsadmin GetSubpropertySyncConfig Sample", - "description": "GetSubpropertySyncConfig lookup for a single `SubpropertySyncConfig`.", - "file": "AnalyticsAdminClient/GetSubpropertySyncConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubpropertySyncConfig", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.GetSubpropertySyncConfig", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSubpropertySyncConfig", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "GetSubpropertySyncConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetSubpropertySyncConfigRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetSubpropertySyncConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SubpropertySyncConfig", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "GetSubpropertySyncConfig", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSubpropertySyncConfig", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "GetSubpropertySyncConfig" }, + "description": "GetSubpropertySyncConfig lookup for a single `SubpropertySyncConfig`.", + "file": "AnalyticsAdminClient/GetSubpropertySyncConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertySyncConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin GetSubpropertySyncConfig Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccessBindings_sync", - "title": "analyticsadmin ListAccessBindings Sample", - "description": "ListAccessBindings lists all access bindings on an account or property.", - "file": "AnalyticsAdminClient/ListAccessBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccessBindings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListAccessBindings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccessBindings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListAccessBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListAccessBindingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListAccessBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccessBindingIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccessBindings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListAccessBindings" }, + "description": "ListAccessBindings lists all access bindings on an account or property.", + "file": "AnalyticsAdminClient/ListAccessBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccessBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListAccessBindings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccountSummaries_sync", - "title": "analyticsadmin ListAccountSummaries Sample", - "description": "ListAccountSummaries returns summaries of all accounts accessible by the caller.", - "file": "AnalyticsAdminClient/ListAccountSummaries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountSummaries", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListAccountSummaries", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccountSummaries", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListAccountSummaries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListAccountSummariesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListAccountSummariesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountSummaryIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListAccountSummaries", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccountSummaries", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListAccountSummaries" }, + "description": "ListAccountSummaries returns summaries of all accounts accessible by the caller.", + "file": "AnalyticsAdminClient/ListAccountSummaries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccountSummaries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListAccountSummaries Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccounts_sync", - "title": "analyticsadmin ListAccounts Sample", - "description": "ListAccounts returns all accounts accessible by the caller.\n\nNote that these accounts might not currently have GA properties.\nSoft-deleted (ie: \"trashed\") accounts are excluded by default.\nReturns an empty list if no relevant accounts are found.", - "file": "AnalyticsAdminClient/ListAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccounts", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListAccounts", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccounts", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListAccountsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListAccounts", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccounts", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListAccounts" }, + "description": "ListAccounts returns all accounts accessible by the caller.\n\nNote that these accounts might not currently have GA properties.\nSoft-deleted (ie: \"trashed\") accounts are excluded by default.\nReturns an empty list if no relevant accounts are found.", + "file": "AnalyticsAdminClient/ListAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListAccounts Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAdSenseLinks_sync", - "title": "analyticsadmin ListAdSenseLinks Sample", - "description": "ListAdSenseLinks lists AdSenseLinks on a property.", - "file": "AnalyticsAdminClient/ListAdSenseLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAdSenseLinks", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListAdSenseLinks", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAdSenseLinks", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListAdSenseLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListAdSenseLinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListAdSenseLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AdSenseLinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListAdSenseLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAdSenseLinks", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListAdSenseLinks" }, + "description": "ListAdSenseLinks lists AdSenseLinks on a property.", + "file": "AnalyticsAdminClient/ListAdSenseLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAdSenseLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListAdSenseLinks Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAudiences_sync", - "title": "analyticsadmin ListAudiences Sample", - "description": "ListAudiences lists Audiences on a property.\nAudiences created before 2020 may not be supported.\nDefault audiences will not show filter definitions.", - "file": "AnalyticsAdminClient/ListAudiences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAudiences", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListAudiences", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAudiences", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListAudiences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListAudiencesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListAudiencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AudienceIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListAudiences", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAudiences", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListAudiences" }, + "description": "ListAudiences lists Audiences on a property.\nAudiences created before 2020 may not be supported.\nDefault audiences will not show filter definitions.", + "file": "AnalyticsAdminClient/ListAudiences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAudiences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListAudiences Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_sync", - "title": "analyticsadmin ListBigQueryLinks Sample", - "description": "ListBigQueryLinks lists BigQuery Links on a property.", - "file": "AnalyticsAdminClient/ListBigQueryLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBigQueryLinks", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListBigQueryLinks", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListBigQueryLinks", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListBigQueryLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListBigQueryLinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListBigQueryLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BigQueryLinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListBigQueryLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListBigQueryLinks", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListBigQueryLinks" }, + "description": "ListBigQueryLinks lists BigQuery Links on a property.", + "file": "AnalyticsAdminClient/ListBigQueryLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListBigQueryLinks Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCalculatedMetrics_sync", - "title": "analyticsadmin ListCalculatedMetrics Sample", - "description": "ListCalculatedMetrics lists CalculatedMetrics on a property.", - "file": "AnalyticsAdminClient/ListCalculatedMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCalculatedMetrics", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListCalculatedMetrics", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCalculatedMetrics", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListCalculatedMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListCalculatedMetricsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListCalculatedMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CalculatedMetricIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListCalculatedMetrics", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCalculatedMetrics", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListCalculatedMetrics" }, + "description": "ListCalculatedMetrics lists CalculatedMetrics on a property.", + "file": "AnalyticsAdminClient/ListCalculatedMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCalculatedMetrics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListCalculatedMetrics Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListChannelGroups_sync", - "title": "analyticsadmin ListChannelGroups Sample", - "description": "ListChannelGroups lists ChannelGroups on a property.", - "file": "AnalyticsAdminClient/ListChannelGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChannelGroups", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListChannelGroups", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListChannelGroups", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListChannelGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListChannelGroupsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListChannelGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChannelGroupIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListChannelGroups", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListChannelGroups", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListChannelGroups" }, + "description": "ListChannelGroups lists ChannelGroups on a property.", + "file": "AnalyticsAdminClient/ListChannelGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListChannelGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListChannelGroups Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListConversionEvents_sync", - "title": "analyticsadmin ListConversionEvents Sample", - "description": "ListConversionEvents deprecated: Use `ListKeyEvents` instead.\nReturns a list of conversion events in the specified parent property.\n\nReturns an empty list if no conversion events are found.\n\n\nDeprecated: ListConversionEvents may be removed in a future version.", - "file": "AnalyticsAdminClient/ListConversionEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversionEvents", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListConversionEvents", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListConversionEvents", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListConversionEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListConversionEventsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListConversionEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversionEventIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListConversionEvents", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListConversionEvents", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListConversionEvents" }, + "description": "ListConversionEvents deprecated: Use `ListKeyEvents` instead.\nReturns a list of conversion events in the specified parent property.\n\nReturns an empty list if no conversion events are found.\n\n\nDeprecated: ListConversionEvents may be removed in a future version.", + "file": "AnalyticsAdminClient/ListConversionEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListConversionEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListConversionEvents Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomDimensions_sync", - "title": "analyticsadmin ListCustomDimensions Sample", - "description": "ListCustomDimensions lists CustomDimensions on a property.", - "file": "AnalyticsAdminClient/ListCustomDimensions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomDimensions", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListCustomDimensions", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomDimensions", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListCustomDimensions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListCustomDimensionsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListCustomDimensionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomDimensionIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListCustomDimensions", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomDimensions", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListCustomDimensions" }, + "description": "ListCustomDimensions lists CustomDimensions on a property.", + "file": "AnalyticsAdminClient/ListCustomDimensions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomDimensions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListCustomDimensions Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomMetrics_sync", - "title": "analyticsadmin ListCustomMetrics Sample", - "description": "ListCustomMetrics lists CustomMetrics on a property.", - "file": "AnalyticsAdminClient/ListCustomMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomMetrics", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListCustomMetrics", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomMetrics", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListCustomMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListCustomMetricsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListCustomMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomMetricIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListCustomMetrics", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomMetrics", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListCustomMetrics" }, + "description": "ListCustomMetrics lists CustomMetrics on a property.", + "file": "AnalyticsAdminClient/ListCustomMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomMetrics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListCustomMetrics Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDataStreams_sync", - "title": "analyticsadmin ListDataStreams Sample", - "description": "ListDataStreams lists DataStreams on a property.", - "file": "AnalyticsAdminClient/ListDataStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataStreams", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListDataStreams", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDataStreams", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListDataStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListDataStreamsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListDataStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataStreamIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListDataStreams", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDataStreams", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListDataStreams" }, + "description": "ListDataStreams lists DataStreams on a property.", + "file": "AnalyticsAdminClient/ListDataStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDataStreams_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListDataStreams Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinkProposals_sync", - "title": "analyticsadmin ListDisplayVideo360AdvertiserLinkProposals Sample", - "description": "ListDisplayVideo360AdvertiserLinkProposals lists DisplayVideo360AdvertiserLinkProposals on a property.", - "file": "AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinkProposals/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDisplayVideo360AdvertiserLinkProposals", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListDisplayVideo360AdvertiserLinkProposals", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinkProposals", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListDisplayVideo360AdvertiserLinkProposals" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListDisplayVideo360AdvertiserLinkProposalsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListDisplayVideo360AdvertiserLinkProposalsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisplayVideo360AdvertiserLinkProposalIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListDisplayVideo360AdvertiserLinkProposals", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinkProposals", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListDisplayVideo360AdvertiserLinkProposals" }, + "description": "ListDisplayVideo360AdvertiserLinkProposals lists DisplayVideo360AdvertiserLinkProposals on a property.", + "file": "AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinkProposals/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinkProposals_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListDisplayVideo360AdvertiserLinkProposals Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinks_sync", - "title": "analyticsadmin ListDisplayVideo360AdvertiserLinks Sample", - "description": "ListDisplayVideo360AdvertiserLinks lists all DisplayVideo360AdvertiserLinks on a property.", - "file": "AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDisplayVideo360AdvertiserLinks", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListDisplayVideo360AdvertiserLinks", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinks", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListDisplayVideo360AdvertiserLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListDisplayVideo360AdvertiserLinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListDisplayVideo360AdvertiserLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisplayVideo360AdvertiserLinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListDisplayVideo360AdvertiserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinks", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListDisplayVideo360AdvertiserLinks" }, + "description": "ListDisplayVideo360AdvertiserLinks lists all DisplayVideo360AdvertiserLinks on a property.", + "file": "AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListDisplayVideo360AdvertiserLinks Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventCreateRules_sync", - "title": "analyticsadmin ListEventCreateRules Sample", - "description": "ListEventCreateRules lists EventCreateRules on a web data stream.", - "file": "AnalyticsAdminClient/ListEventCreateRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEventCreateRules", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListEventCreateRules", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListEventCreateRules", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListEventCreateRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListEventCreateRulesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListEventCreateRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventCreateRuleIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListEventCreateRules", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListEventCreateRules", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListEventCreateRules" }, + "description": "ListEventCreateRules lists EventCreateRules on a web data stream.", + "file": "AnalyticsAdminClient/ListEventCreateRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventCreateRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListEventCreateRules Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventEditRules_sync", - "title": "analyticsadmin ListEventEditRules Sample", - "description": "ListEventEditRules lists EventEditRules on a web data stream.", - "file": "AnalyticsAdminClient/ListEventEditRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEventEditRules", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListEventEditRules", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListEventEditRules", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListEventEditRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListEventEditRulesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListEventEditRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventEditRuleIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListEventEditRules", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListEventEditRules", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListEventEditRules" }, + "description": "ListEventEditRules lists EventEditRules on a web data stream.", + "file": "AnalyticsAdminClient/ListEventEditRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventEditRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListEventEditRules Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListExpandedDataSets_sync", - "title": "analyticsadmin ListExpandedDataSets Sample", - "description": "ListExpandedDataSets lists ExpandedDataSets on a property.", - "file": "AnalyticsAdminClient/ListExpandedDataSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExpandedDataSets", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListExpandedDataSets", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListExpandedDataSets", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListExpandedDataSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListExpandedDataSetsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListExpandedDataSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExpandedDataSetIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListExpandedDataSets", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListExpandedDataSets", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListExpandedDataSets" }, + "description": "ListExpandedDataSets lists ExpandedDataSets on a property.", + "file": "AnalyticsAdminClient/ListExpandedDataSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListExpandedDataSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListExpandedDataSets Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListFirebaseLinks_sync", - "title": "analyticsadmin ListFirebaseLinks Sample", - "description": "ListFirebaseLinks lists FirebaseLinks on a property.\nProperties can have at most one FirebaseLink.", - "file": "AnalyticsAdminClient/ListFirebaseLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFirebaseLinks", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListFirebaseLinks", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListFirebaseLinks", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListFirebaseLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListFirebaseLinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListFirebaseLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirebaseLinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListFirebaseLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListFirebaseLinks", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListFirebaseLinks" }, + "description": "ListFirebaseLinks lists FirebaseLinks on a property.\nProperties can have at most one FirebaseLink.", + "file": "AnalyticsAdminClient/ListFirebaseLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListFirebaseLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListFirebaseLinks Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListGoogleAdsLinks_sync", - "title": "analyticsadmin ListGoogleAdsLinks Sample", - "description": "ListGoogleAdsLinks lists GoogleAdsLinks on a property.", - "file": "AnalyticsAdminClient/ListGoogleAdsLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGoogleAdsLinks", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListGoogleAdsLinks", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListGoogleAdsLinks", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListGoogleAdsLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListGoogleAdsLinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListGoogleAdsLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GoogleAdsLinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListGoogleAdsLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListGoogleAdsLinks", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListGoogleAdsLinks" }, + "description": "ListGoogleAdsLinks lists GoogleAdsLinks on a property.", + "file": "AnalyticsAdminClient/ListGoogleAdsLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListGoogleAdsLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListGoogleAdsLinks Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListKeyEvents_sync", - "title": "analyticsadmin ListKeyEvents Sample", - "description": "ListKeyEvents returns a list of Key Events in the specified parent property.\nReturns an empty list if no Key Events are found.", - "file": "AnalyticsAdminClient/ListKeyEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKeyEvents", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListKeyEvents", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "adminpb.ListKeyEventsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "KeyEventIterator", "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" }, + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListKeyEvents", "method": { - "shortName": "ListKeyEvents", "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListKeyEvents", "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListKeyEvents" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "adminpb.ListKeyEventsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "KeyEventIterator", + "shortName": "ListKeyEvents" }, + "description": "ListKeyEvents returns a list of Key Events in the specified parent property.\nReturns an empty list if no Key Events are found.", + "file": "AnalyticsAdminClient/ListKeyEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListKeyEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListKeyEvents Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListMeasurementProtocolSecrets_sync", - "title": "analyticsadmin ListMeasurementProtocolSecrets Sample", - "description": "ListMeasurementProtocolSecrets returns child MeasurementProtocolSecrets under the specified parent\nProperty.", - "file": "AnalyticsAdminClient/ListMeasurementProtocolSecrets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMeasurementProtocolSecrets", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListMeasurementProtocolSecrets", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListMeasurementProtocolSecrets", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListMeasurementProtocolSecrets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListMeasurementProtocolSecretsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListMeasurementProtocolSecretsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MeasurementProtocolSecretIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListMeasurementProtocolSecrets", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListMeasurementProtocolSecrets", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListMeasurementProtocolSecrets" }, + "description": "ListMeasurementProtocolSecrets returns child MeasurementProtocolSecrets under the specified parent\nProperty.", + "file": "AnalyticsAdminClient/ListMeasurementProtocolSecrets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListMeasurementProtocolSecrets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListMeasurementProtocolSecrets Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListProperties_sync", - "title": "analyticsadmin ListProperties Sample", - "description": "ListProperties returns child Properties under the specified parent Account.\n\nProperties will be excluded if the caller does not have access.\nSoft-deleted (ie: \"trashed\") properties are excluded by default.\nReturns an empty list if no relevant properties are found.", - "file": "AnalyticsAdminClient/ListProperties/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProperties", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListProperties", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListProperties", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListProperties" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListPropertiesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListPropertiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PropertyIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListProperties", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListProperties", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListProperties" }, + "description": "ListProperties returns child Properties under the specified parent Account.\n\nProperties will be excluded if the caller does not have access.\nSoft-deleted (ie: \"trashed\") properties are excluded by default.\nReturns an empty list if no relevant properties are found.", + "file": "AnalyticsAdminClient/ListProperties/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListProperties_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListProperties Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListReportingDataAnnotations_sync", - "title": "analyticsadmin ListReportingDataAnnotations Sample", - "description": "ListReportingDataAnnotations list all Reporting Data Annotations on a property.", - "file": "AnalyticsAdminClient/ListReportingDataAnnotations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReportingDataAnnotations", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListReportingDataAnnotations", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListReportingDataAnnotations", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListReportingDataAnnotations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListReportingDataAnnotationsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListReportingDataAnnotationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportingDataAnnotationIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListReportingDataAnnotations", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListReportingDataAnnotations", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListReportingDataAnnotations" }, + "description": "ListReportingDataAnnotations list all Reporting Data Annotations on a property.", + "file": "AnalyticsAdminClient/ListReportingDataAnnotations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListReportingDataAnnotations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListReportingDataAnnotations Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListRollupPropertySourceLinks_sync", - "title": "analyticsadmin ListRollupPropertySourceLinks Sample", - "description": "ListRollupPropertySourceLinks lists roll-up property source Links on a property.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", - "file": "AnalyticsAdminClient/ListRollupPropertySourceLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRollupPropertySourceLinks", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListRollupPropertySourceLinks", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListRollupPropertySourceLinks", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListRollupPropertySourceLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListRollupPropertySourceLinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListRollupPropertySourceLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RollupPropertySourceLinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListRollupPropertySourceLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListRollupPropertySourceLinks", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListRollupPropertySourceLinks" }, + "description": "ListRollupPropertySourceLinks lists roll-up property source Links on a property.\nOnly roll-up properties can have source links, so this method will throw an\nerror if used on other types of properties.", + "file": "AnalyticsAdminClient/ListRollupPropertySourceLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListRollupPropertySourceLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListRollupPropertySourceLinks Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSKAdNetworkConversionValueSchemas_sync", - "title": "analyticsadmin ListSKAdNetworkConversionValueSchemas Sample", - "description": "ListSKAdNetworkConversionValueSchemas lists SKAdNetworkConversionValueSchema on a stream.\nProperties can have at most one SKAdNetworkConversionValueSchema.", - "file": "AnalyticsAdminClient/ListSKAdNetworkConversionValueSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSKAdNetworkConversionValueSchemas", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListSKAdNetworkConversionValueSchemas", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSKAdNetworkConversionValueSchemas", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListSKAdNetworkConversionValueSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListSKAdNetworkConversionValueSchemasRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListSKAdNetworkConversionValueSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SKAdNetworkConversionValueSchemaIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListSKAdNetworkConversionValueSchemas", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSKAdNetworkConversionValueSchemas", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListSKAdNetworkConversionValueSchemas" }, + "description": "ListSKAdNetworkConversionValueSchemas lists SKAdNetworkConversionValueSchema on a stream.\nProperties can have at most one SKAdNetworkConversionValueSchema.", + "file": "AnalyticsAdminClient/ListSKAdNetworkConversionValueSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSKAdNetworkConversionValueSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListSKAdNetworkConversionValueSchemas Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_sync", - "title": "analyticsadmin ListSearchAds360Links Sample", - "description": "ListSearchAds360Links lists all SearchAds360Links on a property.", - "file": "AnalyticsAdminClient/ListSearchAds360Links/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSearchAds360Links", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListSearchAds360Links", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSearchAds360Links", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListSearchAds360Links" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListSearchAds360LinksRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListSearchAds360LinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchAds360LinkIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListSearchAds360Links", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSearchAds360Links", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListSearchAds360Links" }, + "description": "ListSearchAds360Links lists all SearchAds360Links on a property.", + "file": "AnalyticsAdminClient/ListSearchAds360Links/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListSearchAds360Links Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertyEventFilters_sync", - "title": "analyticsadmin ListSubpropertyEventFilters Sample", - "description": "ListSubpropertyEventFilters list all subproperty Event Filters on a property.", - "file": "AnalyticsAdminClient/ListSubpropertyEventFilters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubpropertyEventFilters", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListSubpropertyEventFilters", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSubpropertyEventFilters", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListSubpropertyEventFilters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListSubpropertyEventFiltersRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListSubpropertyEventFiltersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubpropertyEventFilterIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListSubpropertyEventFilters", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSubpropertyEventFilters", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListSubpropertyEventFilters" }, + "description": "ListSubpropertyEventFilters list all subproperty Event Filters on a property.", + "file": "AnalyticsAdminClient/ListSubpropertyEventFilters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertyEventFilters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListSubpropertyEventFilters Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertySyncConfigs_sync", - "title": "analyticsadmin ListSubpropertySyncConfigs Sample", - "description": "ListSubpropertySyncConfigs list all `SubpropertySyncConfig` resources for a property.", - "file": "AnalyticsAdminClient/ListSubpropertySyncConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubpropertySyncConfigs", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ListSubpropertySyncConfigs", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSubpropertySyncConfigs", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ListSubpropertySyncConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListSubpropertySyncConfigsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListSubpropertySyncConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubpropertySyncConfigIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ListSubpropertySyncConfigs", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSubpropertySyncConfigs", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ListSubpropertySyncConfigs" }, + "description": "ListSubpropertySyncConfigs list all `SubpropertySyncConfig` resources for a property.", + "file": "AnalyticsAdminClient/ListSubpropertySyncConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertySyncConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ListSubpropertySyncConfigs Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionAccountTicket_sync", - "title": "analyticsadmin ProvisionAccountTicket Sample", - "description": "ProvisionAccountTicket requests a ticket for creating an account.", - "file": "AnalyticsAdminClient/ProvisionAccountTicket/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvisionAccountTicket", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ProvisionAccountTicket", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionAccountTicket", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ProvisionAccountTicket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ProvisionAccountTicketRequest", - "name": "req" + "name": "req", + "type": "adminpb.ProvisionAccountTicketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ProvisionAccountTicketResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ProvisionAccountTicket", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionAccountTicket", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ProvisionAccountTicket" }, + "description": "ProvisionAccountTicket requests a ticket for creating an account.", + "file": "AnalyticsAdminClient/ProvisionAccountTicket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionAccountTicket_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ProvisionAccountTicket Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionSubproperty_sync", - "title": "analyticsadmin ProvisionSubproperty Sample", - "description": "ProvisionSubproperty create a subproperty and a subproperty event filter that applies to the\ncreated subproperty.", - "file": "AnalyticsAdminClient/ProvisionSubproperty/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvisionSubproperty", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ProvisionSubproperty", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionSubproperty", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ProvisionSubproperty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ProvisionSubpropertyRequest", - "name": "req" + "name": "req", + "type": "adminpb.ProvisionSubpropertyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ProvisionSubpropertyResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ProvisionSubproperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionSubproperty", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ProvisionSubproperty" }, + "description": "ProvisionSubproperty create a subproperty and a subproperty event filter that applies to the\ncreated subproperty.", + "file": "AnalyticsAdminClient/ProvisionSubproperty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionSubproperty_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ProvisionSubproperty Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ReorderEventEditRules_sync", - "title": "analyticsadmin ReorderEventEditRules Sample", - "description": "ReorderEventEditRules changes the processing order of event edit rules on the specified stream.", - "file": "AnalyticsAdminClient/ReorderEventEditRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReorderEventEditRules", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.ReorderEventEditRules", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ReorderEventEditRules", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "ReorderEventEditRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ReorderEventEditRulesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ReorderEventEditRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "ReorderEventEditRules", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ReorderEventEditRules", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "ReorderEventEditRules" }, + "description": "ReorderEventEditRules changes the processing order of event edit rules on the specified stream.", + "file": "AnalyticsAdminClient/ReorderEventEditRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_ReorderEventEditRules_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin ReorderEventEditRules Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_RunAccessReport_sync", - "title": "analyticsadmin RunAccessReport Sample", - "description": "RunAccessReport returns a customized report of data access records. The report provides\nrecords of each time a user reads Google Analytics reporting data. Access\nrecords are retained for up to 2 years.\n\nData Access Reports can be requested for a property. Reports may be\nrequested for any property, but dimensions that aren't related to quota can\nonly be requested on Google Analytics 360 properties. This method is only\navailable to Administrators.\n\nThese data access records include GA UI Reporting, GA UI Explorations,\nGA Data API, and other products like Firebase & Admob that can retrieve\ndata from Google Analytics through a linkage. These records don't include\nproperty configuration changes like adding a stream or changing a\nproperty's time zone. For configuration change history, see\n[searchChangeHistoryEvents](https: //developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).\n\nTo give your feedback on this API, complete the [Google Analytics Access\nReports\nfeedback](https: //docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform)\nform.", - "file": "AnalyticsAdminClient/RunAccessReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunAccessReport", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.RunAccessReport", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.RunAccessReport", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "RunAccessReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.RunAccessReportRequest", - "name": "req" + "name": "req", + "type": "adminpb.RunAccessReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.RunAccessReportResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "RunAccessReport", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.RunAccessReport", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "RunAccessReport" }, + "description": "RunAccessReport returns a customized report of data access records. The report provides\nrecords of each time a user reads Google Analytics reporting data. Access\nrecords are retained for up to 2 years.\n\nData Access Reports can be requested for a property. Reports may be\nrequested for any property, but dimensions that aren't related to quota can\nonly be requested on Google Analytics 360 properties. This method is only\navailable to Administrators.\n\nThese data access records include GA UI Reporting, GA UI Explorations,\nGA Data API, and other products like Firebase & Admob that can retrieve\ndata from Google Analytics through a linkage. These records don't include\nproperty configuration changes like adding a stream or changing a\nproperty's time zone. For configuration change history, see\n[searchChangeHistoryEvents](https: //developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).\n\nTo give your feedback on this API, complete the [Google Analytics Access\nReports\nfeedback](https: //docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform)\nform.", + "file": "AnalyticsAdminClient/RunAccessReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_RunAccessReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin RunAccessReport Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_SearchChangeHistoryEvents_sync", - "title": "analyticsadmin SearchChangeHistoryEvents Sample", - "description": "SearchChangeHistoryEvents searches through all changes to an account or its children given the\nspecified set of filters.\n\nOnly returns the subset of changes supported by the API. The UI may return\nadditional changes.", - "file": "AnalyticsAdminClient/SearchChangeHistoryEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchChangeHistoryEvents", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.SearchChangeHistoryEvents", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SearchChangeHistoryEvents", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "SearchChangeHistoryEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.SearchChangeHistoryEventsRequest", - "name": "req" + "name": "req", + "type": "adminpb.SearchChangeHistoryEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangeHistoryEventIterator", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "SearchChangeHistoryEvents", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SearchChangeHistoryEvents", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "SearchChangeHistoryEvents" }, + "description": "SearchChangeHistoryEvents searches through all changes to an account or its children given the\nspecified set of filters.\n\nOnly returns the subset of changes supported by the API. The UI may return\nadditional changes.", + "file": "AnalyticsAdminClient/SearchChangeHistoryEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_SearchChangeHistoryEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin SearchChangeHistoryEvents Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_SubmitUserDeletion_sync", - "title": "analyticsadmin SubmitUserDeletion Sample", - "description": "SubmitUserDeletion submits a request for user deletion for a property.", - "file": "AnalyticsAdminClient/SubmitUserDeletion/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitUserDeletion", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.SubmitUserDeletion", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SubmitUserDeletion", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "SubmitUserDeletion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.SubmitUserDeletionRequest", - "name": "req" + "name": "req", + "type": "adminpb.SubmitUserDeletionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SubmitUserDeletionResponse", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "SubmitUserDeletion", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SubmitUserDeletion", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "SubmitUserDeletion" }, + "description": "SubmitUserDeletion submits a request for user deletion for a property.", + "file": "AnalyticsAdminClient/SubmitUserDeletion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_SubmitUserDeletion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin SubmitUserDeletion Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccessBinding_sync", - "title": "analyticsadmin UpdateAccessBinding Sample", - "description": "UpdateAccessBinding updates an access binding on an account or property.", - "file": "AnalyticsAdminClient/UpdateAccessBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccessBinding", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateAccessBinding", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccessBinding", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateAccessBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateAccessBindingRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateAccessBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AccessBinding", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccessBinding", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateAccessBinding" }, + "description": "UpdateAccessBinding updates an access binding on an account or property.", + "file": "AnalyticsAdminClient/UpdateAccessBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccessBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateAccessBinding Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccount_sync", - "title": "analyticsadmin UpdateAccount Sample", - "description": "UpdateAccount updates an account.", - "file": "AnalyticsAdminClient/UpdateAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccount", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateAccount", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccount", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateAccountRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Account", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateAccount", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccount", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateAccount" }, + "description": "UpdateAccount updates an account.", + "file": "AnalyticsAdminClient/UpdateAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateAccount Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAttributionSettings_sync", - "title": "analyticsadmin UpdateAttributionSettings Sample", - "description": "UpdateAttributionSettings updates attribution settings on a property.", - "file": "AnalyticsAdminClient/UpdateAttributionSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttributionSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateAttributionSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAttributionSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateAttributionSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateAttributionSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateAttributionSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.AttributionSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateAttributionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAttributionSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateAttributionSettings" }, + "description": "UpdateAttributionSettings updates attribution settings on a property.", + "file": "AnalyticsAdminClient/UpdateAttributionSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAttributionSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateAttributionSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAudience_sync", - "title": "analyticsadmin UpdateAudience Sample", - "description": "UpdateAudience updates an Audience on a property.", - "file": "AnalyticsAdminClient/UpdateAudience/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAudience", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateAudience", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAudience", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateAudience" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateAudienceRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateAudienceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Audience", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAudience", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateAudience" }, + "description": "UpdateAudience updates an Audience on a property.", + "file": "AnalyticsAdminClient/UpdateAudience/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAudience_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateAudience Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateBigQueryLink_sync", - "title": "analyticsadmin UpdateBigQueryLink Sample", - "description": "UpdateBigQueryLink updates a BigQueryLink.", - "file": "AnalyticsAdminClient/UpdateBigQueryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBigQueryLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateBigQueryLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateBigQueryLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateBigQueryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateBigQueryLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateBigQueryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BigQueryLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateBigQueryLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateBigQueryLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateBigQueryLink" }, + "description": "UpdateBigQueryLink updates a BigQueryLink.", + "file": "AnalyticsAdminClient/UpdateBigQueryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateBigQueryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateBigQueryLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCalculatedMetric_sync", - "title": "analyticsadmin UpdateCalculatedMetric Sample", - "description": "UpdateCalculatedMetric updates a CalculatedMetric on a property.", - "file": "AnalyticsAdminClient/UpdateCalculatedMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCalculatedMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateCalculatedMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCalculatedMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateCalculatedMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateCalculatedMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateCalculatedMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CalculatedMetric", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateCalculatedMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCalculatedMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateCalculatedMetric" }, + "description": "UpdateCalculatedMetric updates a CalculatedMetric on a property.", + "file": "AnalyticsAdminClient/UpdateCalculatedMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCalculatedMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateCalculatedMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateChannelGroup_sync", - "title": "analyticsadmin UpdateChannelGroup Sample", - "description": "UpdateChannelGroup updates a ChannelGroup.", - "file": "AnalyticsAdminClient/UpdateChannelGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateChannelGroup", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateChannelGroup", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateChannelGroup", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateChannelGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateChannelGroupRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateChannelGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*adminpb.ChannelGroup", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateChannelGroup", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateChannelGroup", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*adminpb.ChannelGroup", + "shortName": "UpdateChannelGroup" }, + "description": "UpdateChannelGroup updates a ChannelGroup.", + "file": "AnalyticsAdminClient/UpdateChannelGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateChannelGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateChannelGroup Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateConversionEvent_sync", - "title": "analyticsadmin UpdateConversionEvent Sample", - "description": "UpdateConversionEvent deprecated: Use `UpdateKeyEvent` instead.\nUpdates a conversion event with the specified attributes.\n\n\nDeprecated: UpdateConversionEvent may be removed in a future version.", - "file": "AnalyticsAdminClient/UpdateConversionEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversionEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateConversionEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateConversionEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateConversionEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateConversionEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateConversionEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ConversionEvent", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateConversionEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateConversionEvent" }, + "description": "UpdateConversionEvent deprecated: Use `UpdateKeyEvent` instead.\nUpdates a conversion event with the specified attributes.\n\n\nDeprecated: UpdateConversionEvent may be removed in a future version.", + "file": "AnalyticsAdminClient/UpdateConversionEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateConversionEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateConversionEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomDimension_sync", - "title": "analyticsadmin UpdateCustomDimension Sample", - "description": "UpdateCustomDimension updates a CustomDimension on a property.", - "file": "AnalyticsAdminClient/UpdateCustomDimension/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomDimension", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateCustomDimension", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomDimension", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateCustomDimension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateCustomDimensionRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateCustomDimensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CustomDimension", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomDimension", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateCustomDimension" }, + "description": "UpdateCustomDimension updates a CustomDimension on a property.", + "file": "AnalyticsAdminClient/UpdateCustomDimension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomDimension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateCustomDimension Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomMetric_sync", - "title": "analyticsadmin UpdateCustomMetric Sample", - "description": "UpdateCustomMetric updates a CustomMetric on a property.", - "file": "AnalyticsAdminClient/UpdateCustomMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomMetric", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateCustomMetric", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomMetric", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateCustomMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateCustomMetricRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateCustomMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.CustomMetric", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomMetric", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateCustomMetric" }, + "description": "UpdateCustomMetric updates a CustomMetric on a property.", + "file": "AnalyticsAdminClient/UpdateCustomMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateCustomMetric Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRedactionSettings_sync", - "title": "analyticsadmin UpdateDataRedactionSettings Sample", - "description": "UpdateDataRedactionSettings updates a DataRedactionSettings on a property.", - "file": "AnalyticsAdminClient/UpdateDataRedactionSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataRedactionSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateDataRedactionSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRedactionSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateDataRedactionSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateDataRedactionSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateDataRedactionSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataRedactionSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateDataRedactionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRedactionSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateDataRedactionSettings" }, + "description": "UpdateDataRedactionSettings updates a DataRedactionSettings on a property.", + "file": "AnalyticsAdminClient/UpdateDataRedactionSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRedactionSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateDataRedactionSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRetentionSettings_sync", - "title": "analyticsadmin UpdateDataRetentionSettings Sample", - "description": "UpdateDataRetentionSettings updates the singleton data retention settings for this property.", - "file": "AnalyticsAdminClient/UpdateDataRetentionSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataRetentionSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateDataRetentionSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRetentionSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateDataRetentionSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateDataRetentionSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateDataRetentionSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataRetentionSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateDataRetentionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRetentionSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateDataRetentionSettings" }, + "description": "UpdateDataRetentionSettings updates the singleton data retention settings for this property.", + "file": "AnalyticsAdminClient/UpdateDataRetentionSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRetentionSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateDataRetentionSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataStream_sync", - "title": "analyticsadmin UpdateDataStream Sample", - "description": "UpdateDataStream updates a DataStream on a property.", - "file": "AnalyticsAdminClient/UpdateDataStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataStream", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateDataStream", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataStream", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateDataStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateDataStreamRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateDataStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DataStream", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataStream", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateDataStream" }, + "description": "UpdateDataStream updates a DataStream on a property.", + "file": "AnalyticsAdminClient/UpdateDataStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateDataStream Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDisplayVideo360AdvertiserLink_sync", - "title": "analyticsadmin UpdateDisplayVideo360AdvertiserLink Sample", - "description": "UpdateDisplayVideo360AdvertiserLink updates a DisplayVideo360AdvertiserLink on a property.", - "file": "AnalyticsAdminClient/UpdateDisplayVideo360AdvertiserLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDisplayVideo360AdvertiserLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateDisplayVideo360AdvertiserLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDisplayVideo360AdvertiserLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateDisplayVideo360AdvertiserLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateDisplayVideo360AdvertiserLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateDisplayVideo360AdvertiserLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.DisplayVideo360AdvertiserLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDisplayVideo360AdvertiserLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateDisplayVideo360AdvertiserLink" }, + "description": "UpdateDisplayVideo360AdvertiserLink updates a DisplayVideo360AdvertiserLink on a property.", + "file": "AnalyticsAdminClient/UpdateDisplayVideo360AdvertiserLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDisplayVideo360AdvertiserLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateDisplayVideo360AdvertiserLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEnhancedMeasurementSettings_sync", - "title": "analyticsadmin UpdateEnhancedMeasurementSettings Sample", - "description": "UpdateEnhancedMeasurementSettings updates the enhanced measurement settings for this data stream.\nNote that the stream must enable enhanced measurement for these settings to\ntake effect.", - "file": "AnalyticsAdminClient/UpdateEnhancedMeasurementSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEnhancedMeasurementSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateEnhancedMeasurementSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEnhancedMeasurementSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateEnhancedMeasurementSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateEnhancedMeasurementSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateEnhancedMeasurementSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EnhancedMeasurementSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateEnhancedMeasurementSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEnhancedMeasurementSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateEnhancedMeasurementSettings" }, + "description": "UpdateEnhancedMeasurementSettings updates the enhanced measurement settings for this data stream.\nNote that the stream must enable enhanced measurement for these settings to\ntake effect.", + "file": "AnalyticsAdminClient/UpdateEnhancedMeasurementSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEnhancedMeasurementSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateEnhancedMeasurementSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventCreateRule_sync", - "title": "analyticsadmin UpdateEventCreateRule Sample", - "description": "UpdateEventCreateRule updates an EventCreateRule.", - "file": "AnalyticsAdminClient/UpdateEventCreateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEventCreateRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateEventCreateRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEventCreateRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateEventCreateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateEventCreateRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateEventCreateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EventCreateRule", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateEventCreateRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEventCreateRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateEventCreateRule" }, + "description": "UpdateEventCreateRule updates an EventCreateRule.", + "file": "AnalyticsAdminClient/UpdateEventCreateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventCreateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateEventCreateRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventEditRule_sync", - "title": "analyticsadmin UpdateEventEditRule Sample", - "description": "UpdateEventEditRule updates an EventEditRule.", - "file": "AnalyticsAdminClient/UpdateEventEditRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEventEditRule", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateEventEditRule", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEventEditRule", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateEventEditRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateEventEditRuleRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateEventEditRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.EventEditRule", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateEventEditRule", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEventEditRule", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateEventEditRule" }, + "description": "UpdateEventEditRule updates an EventEditRule.", + "file": "AnalyticsAdminClient/UpdateEventEditRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventEditRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateEventEditRule Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateExpandedDataSet_sync", - "title": "analyticsadmin UpdateExpandedDataSet Sample", - "description": "UpdateExpandedDataSet updates a ExpandedDataSet on a property.", - "file": "AnalyticsAdminClient/UpdateExpandedDataSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExpandedDataSet", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateExpandedDataSet", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateExpandedDataSet", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateExpandedDataSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateExpandedDataSetRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateExpandedDataSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ExpandedDataSet", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateExpandedDataSet", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateExpandedDataSet" }, + "description": "UpdateExpandedDataSet updates a ExpandedDataSet on a property.", + "file": "AnalyticsAdminClient/UpdateExpandedDataSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateExpandedDataSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateExpandedDataSet Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleAdsLink_sync", - "title": "analyticsadmin UpdateGoogleAdsLink Sample", - "description": "UpdateGoogleAdsLink updates a GoogleAdsLink on a property", - "file": "AnalyticsAdminClient/UpdateGoogleAdsLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGoogleAdsLink", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateGoogleAdsLink", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleAdsLink", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateGoogleAdsLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateGoogleAdsLinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateGoogleAdsLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.GoogleAdsLink", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateGoogleAdsLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleAdsLink", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateGoogleAdsLink" }, + "description": "UpdateGoogleAdsLink updates a GoogleAdsLink on a property", + "file": "AnalyticsAdminClient/UpdateGoogleAdsLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleAdsLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateGoogleAdsLink Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleSignalsSettings_sync", - "title": "analyticsadmin UpdateGoogleSignalsSettings Sample", - "description": "UpdateGoogleSignalsSettings updates Google Signals settings for a property.", - "file": "AnalyticsAdminClient/UpdateGoogleSignalsSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGoogleSignalsSettings", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateGoogleSignalsSettings", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleSignalsSettings", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateGoogleSignalsSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateGoogleSignalsSettingsRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateGoogleSignalsSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.GoogleSignalsSettings", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateGoogleSignalsSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleSignalsSettings", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateGoogleSignalsSettings" }, + "description": "UpdateGoogleSignalsSettings updates Google Signals settings for a property.", + "file": "AnalyticsAdminClient/UpdateGoogleSignalsSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleSignalsSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateGoogleSignalsSettings Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateKeyEvent_sync", - "title": "analyticsadmin UpdateKeyEvent Sample", - "description": "UpdateKeyEvent updates a Key Event.", - "file": "AnalyticsAdminClient/UpdateKeyEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateKeyEvent", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateKeyEvent", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateKeyEvent", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateKeyEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateKeyEventRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateKeyEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.KeyEvent", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateKeyEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateKeyEvent", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateKeyEvent" }, + "description": "UpdateKeyEvent updates a Key Event.", + "file": "AnalyticsAdminClient/UpdateKeyEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateKeyEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateKeyEvent Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateMeasurementProtocolSecret_sync", - "title": "analyticsadmin UpdateMeasurementProtocolSecret Sample", - "description": "UpdateMeasurementProtocolSecret updates a measurement protocol secret.", - "file": "AnalyticsAdminClient/UpdateMeasurementProtocolSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMeasurementProtocolSecret", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateMeasurementProtocolSecret", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateMeasurementProtocolSecret", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateMeasurementProtocolSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateMeasurementProtocolSecretRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateMeasurementProtocolSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.MeasurementProtocolSecret", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateMeasurementProtocolSecret", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateMeasurementProtocolSecret" }, + "description": "UpdateMeasurementProtocolSecret updates a measurement protocol secret.", + "file": "AnalyticsAdminClient/UpdateMeasurementProtocolSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateMeasurementProtocolSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateMeasurementProtocolSecret Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateProperty_sync", - "title": "analyticsadmin UpdateProperty Sample", - "description": "UpdateProperty updates a property.", - "file": "AnalyticsAdminClient/UpdateProperty/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProperty", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateProperty", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateProperty", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateProperty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdatePropertyRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdatePropertyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Property", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateProperty", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateProperty" }, + "description": "UpdateProperty updates a property.", + "file": "AnalyticsAdminClient/UpdateProperty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateProperty_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateProperty Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateReportingDataAnnotation_sync", - "title": "analyticsadmin UpdateReportingDataAnnotation Sample", - "description": "UpdateReportingDataAnnotation updates a Reporting Data Annotation.", - "file": "AnalyticsAdminClient/UpdateReportingDataAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReportingDataAnnotation", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateReportingDataAnnotation", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateReportingDataAnnotation", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateReportingDataAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateReportingDataAnnotationRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateReportingDataAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ReportingDataAnnotation", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateReportingDataAnnotation", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateReportingDataAnnotation", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateReportingDataAnnotation" }, + "description": "UpdateReportingDataAnnotation updates a Reporting Data Annotation.", + "file": "AnalyticsAdminClient/UpdateReportingDataAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateReportingDataAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateReportingDataAnnotation Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSKAdNetworkConversionValueSchema_sync", - "title": "analyticsadmin UpdateSKAdNetworkConversionValueSchema Sample", - "description": "UpdateSKAdNetworkConversionValueSchema updates a SKAdNetworkConversionValueSchema.", - "file": "AnalyticsAdminClient/UpdateSKAdNetworkConversionValueSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSKAdNetworkConversionValueSchema", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateSKAdNetworkConversionValueSchema", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSKAdNetworkConversionValueSchema", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateSKAdNetworkConversionValueSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateSKAdNetworkConversionValueSchemaRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateSKAdNetworkConversionValueSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SKAdNetworkConversionValueSchema", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateSKAdNetworkConversionValueSchema", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSKAdNetworkConversionValueSchema", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateSKAdNetworkConversionValueSchema" }, + "description": "UpdateSKAdNetworkConversionValueSchema updates a SKAdNetworkConversionValueSchema.", + "file": "AnalyticsAdminClient/UpdateSKAdNetworkConversionValueSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSKAdNetworkConversionValueSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateSKAdNetworkConversionValueSchema Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_sync", - "title": "analyticsadmin UpdateSearchAds360Link Sample", - "description": "UpdateSearchAds360Link updates a SearchAds360Link on a property.", - "file": "AnalyticsAdminClient/UpdateSearchAds360Link/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSearchAds360Link", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateSearchAds360Link", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSearchAds360Link", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateSearchAds360Link" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateSearchAds360LinkRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateSearchAds360LinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SearchAds360Link", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSearchAds360Link", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateSearchAds360Link" }, + "description": "UpdateSearchAds360Link updates a SearchAds360Link on a property.", + "file": "AnalyticsAdminClient/UpdateSearchAds360Link/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateSearchAds360Link Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertyEventFilter_sync", - "title": "analyticsadmin UpdateSubpropertyEventFilter Sample", - "description": "UpdateSubpropertyEventFilter updates a subproperty Event Filter.", - "file": "AnalyticsAdminClient/UpdateSubpropertyEventFilter/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubpropertyEventFilter", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateSubpropertyEventFilter", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSubpropertyEventFilter", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateSubpropertyEventFilter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateSubpropertyEventFilterRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateSubpropertyEventFilterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SubpropertyEventFilter", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateSubpropertyEventFilter", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSubpropertyEventFilter", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateSubpropertyEventFilter" }, + "description": "UpdateSubpropertyEventFilter updates a subproperty Event Filter.", + "file": "AnalyticsAdminClient/UpdateSubpropertyEventFilter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertyEventFilter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateSubpropertyEventFilter Sample" }, { - "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertySyncConfig_sync", - "title": "analyticsadmin UpdateSubpropertySyncConfig Sample", - "description": "UpdateSubpropertySyncConfig updates a `SubpropertySyncConfig`.", - "file": "AnalyticsAdminClient/UpdateSubpropertySyncConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubpropertySyncConfig", + "client": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient", + "shortName": "AnalyticsAdminClient" + }, "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient.UpdateSubpropertySyncConfig", + "method": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSubpropertySyncConfig", + "service": { + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "shortName": "AnalyticsAdminService" + }, + "shortName": "UpdateSubpropertySyncConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateSubpropertySyncConfigRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateSubpropertySyncConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.SubpropertySyncConfig", - "client": { - "shortName": "AnalyticsAdminClient", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminClient" - }, - "method": { - "shortName": "UpdateSubpropertySyncConfig", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSubpropertySyncConfig", - "service": { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService" - } - } + "shortName": "UpdateSubpropertySyncConfig" }, + "description": "UpdateSubpropertySyncConfig updates a `SubpropertySyncConfig`.", + "file": "AnalyticsAdminClient/UpdateSubpropertySyncConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertySyncConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticsadmin UpdateSubpropertySyncConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json b/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json index 7a382e03ec7b..900d956f0bef 100644 --- a/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json +++ b/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json @@ -1,705 +1,705 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apigateway/apiv1", - "version": "1.7.7", - "language": "GO", "apis": [ { "id": "google.cloud.apigateway.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apigateway/apiv1", + "version": "1.7.7" }, "snippets": [ { - "regionTag": "apigateway_v1_generated_ApiGatewayService_CreateApi_sync", - "title": "apigateway CreateApi Sample", - "description": "CreateApi creates a new Api in a given project and location.", - "file": "Client/CreateApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApi", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.CreateApi", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateApi", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "CreateApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.CreateApiRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.CreateApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApiOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "CreateApi", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateApi", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "CreateApi" }, + "description": "CreateApi creates a new Api in a given project and location.", + "file": "Client/CreateApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_CreateApi_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway CreateApi Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_CreateApiConfig_sync", - "title": "apigateway CreateApiConfig Sample", - "description": "CreateApiConfig creates a new ApiConfig in a given project and location.", - "file": "Client/CreateApiConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApiConfig", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.CreateApiConfig", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateApiConfig", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "CreateApiConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.CreateApiConfigRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.CreateApiConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApiConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "CreateApiConfig", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateApiConfig", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "CreateApiConfig" }, + "description": "CreateApiConfig creates a new ApiConfig in a given project and location.", + "file": "Client/CreateApiConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_CreateApiConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway CreateApiConfig Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_CreateGateway_sync", - "title": "apigateway CreateGateway Sample", - "description": "CreateGateway creates a new Gateway in a given project and location.", - "file": "Client/CreateGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGateway", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.CreateGateway", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateGateway", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "CreateGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.CreateGatewayRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.CreateGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "CreateGateway", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateGateway", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "CreateGateway" }, + "description": "CreateGateway creates a new Gateway in a given project and location.", + "file": "Client/CreateGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_CreateGateway_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway CreateGateway Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_DeleteApi_sync", - "title": "apigateway DeleteApi Sample", - "description": "DeleteApi deletes a single Api.", - "file": "Client/DeleteApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApi", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.DeleteApi", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteApi", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "DeleteApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.DeleteApiRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.DeleteApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteApiOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "DeleteApi", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteApi", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "DeleteApi" }, + "description": "DeleteApi deletes a single Api.", + "file": "Client/DeleteApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_DeleteApi_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway DeleteApi Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_DeleteApiConfig_sync", - "title": "apigateway DeleteApiConfig Sample", - "description": "DeleteApiConfig deletes a single ApiConfig.", - "file": "Client/DeleteApiConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiConfig", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.DeleteApiConfig", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteApiConfig", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "DeleteApiConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.DeleteApiConfigRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.DeleteApiConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteApiConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "DeleteApiConfig", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteApiConfig", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "DeleteApiConfig" }, + "description": "DeleteApiConfig deletes a single ApiConfig.", + "file": "Client/DeleteApiConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_DeleteApiConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway DeleteApiConfig Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_DeleteGateway_sync", - "title": "apigateway DeleteGateway Sample", - "description": "DeleteGateway deletes a single Gateway.", - "file": "Client/DeleteGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGateway", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.DeleteGateway", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteGateway", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "DeleteGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.DeleteGatewayRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.DeleteGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "DeleteGateway", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteGateway", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "DeleteGateway" }, + "description": "DeleteGateway deletes a single Gateway.", + "file": "Client/DeleteGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_DeleteGateway_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway DeleteGateway Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_GetApi_sync", - "title": "apigateway GetApi Sample", - "description": "GetApi gets details of a single Api.", - "file": "Client/GetApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApi", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.GetApi", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetApi", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "GetApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.GetApiRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.GetApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigatewaypb.Api", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "GetApi", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetApi", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "GetApi" }, + "description": "GetApi gets details of a single Api.", + "file": "Client/GetApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_GetApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway GetApi Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_GetApiConfig_sync", - "title": "apigateway GetApiConfig Sample", - "description": "GetApiConfig gets details of a single ApiConfig.", - "file": "Client/GetApiConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiConfig", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.GetApiConfig", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetApiConfig", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "GetApiConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.GetApiConfigRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.GetApiConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigatewaypb.ApiConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "GetApiConfig", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetApiConfig", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "GetApiConfig" }, + "description": "GetApiConfig gets details of a single ApiConfig.", + "file": "Client/GetApiConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_GetApiConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway GetApiConfig Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_GetGateway_sync", - "title": "apigateway GetGateway Sample", - "description": "GetGateway gets details of a single Gateway.", - "file": "Client/GetGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGateway", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.GetGateway", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetGateway", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "GetGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.GetGatewayRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.GetGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigatewaypb.Gateway", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "GetGateway", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetGateway", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "GetGateway" }, + "description": "GetGateway gets details of a single Gateway.", + "file": "Client/GetGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_GetGateway_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway GetGateway Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_ListApiConfigs_sync", - "title": "apigateway ListApiConfigs Sample", - "description": "ListApiConfigs lists ApiConfigs in a given project and location.", - "file": "Client/ListApiConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiConfigs", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.ListApiConfigs", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListApiConfigs", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "ListApiConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.ListApiConfigsRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.ListApiConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "ListApiConfigs", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListApiConfigs", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "ListApiConfigs" }, + "description": "ListApiConfigs lists ApiConfigs in a given project and location.", + "file": "Client/ListApiConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_ListApiConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway ListApiConfigs Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_ListApis_sync", - "title": "apigateway ListApis Sample", - "description": "ListApis lists Apis in a given project and location.", - "file": "Client/ListApis/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApis", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.ListApis", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListApis", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "ListApis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.ListApisRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.ListApisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "ListApis", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListApis", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "ListApis" }, + "description": "ListApis lists Apis in a given project and location.", + "file": "Client/ListApis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_ListApis_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway ListApis Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_ListGateways_sync", - "title": "apigateway ListGateways Sample", - "description": "ListGateways lists Gateways in a given project and location.", - "file": "Client/ListGateways/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGateways", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.ListGateways", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListGateways", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "ListGateways" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.ListGatewaysRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.ListGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GatewayIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "ListGateways", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListGateways", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "ListGateways" }, + "description": "ListGateways lists Gateways in a given project and location.", + "file": "Client/ListGateways/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_ListGateways_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway ListGateways Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_UpdateApi_sync", - "title": "apigateway UpdateApi Sample", - "description": "UpdateApi updates the parameters of a single Api.", - "file": "Client/UpdateApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApi", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.UpdateApi", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateApi", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "UpdateApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.UpdateApiRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.UpdateApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApiOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "UpdateApi", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateApi", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "UpdateApi" }, + "description": "UpdateApi updates the parameters of a single Api.", + "file": "Client/UpdateApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_UpdateApi_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway UpdateApi Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_UpdateApiConfig_sync", - "title": "apigateway UpdateApiConfig Sample", - "description": "UpdateApiConfig updates the parameters of a single ApiConfig.", - "file": "Client/UpdateApiConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApiConfig", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.UpdateApiConfig", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateApiConfig", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "UpdateApiConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.UpdateApiConfigRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.UpdateApiConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApiConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "UpdateApiConfig", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateApiConfig", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "UpdateApiConfig" }, + "description": "UpdateApiConfig updates the parameters of a single ApiConfig.", + "file": "Client/UpdateApiConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_UpdateApiConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway UpdateApiConfig Sample" }, { - "regionTag": "apigateway_v1_generated_ApiGatewayService_UpdateGateway_sync", - "title": "apigateway UpdateGateway Sample", - "description": "UpdateGateway updates the parameters of a single Gateway.", - "file": "Client/UpdateGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGateway", + "client": { + "fullName": "google.cloud.apigateway.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apigateway.v1.Client.UpdateGateway", + "method": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateGateway", + "service": { + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "shortName": "ApiGatewayService" + }, + "shortName": "UpdateGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigatewaypb.UpdateGatewayRequest", - "name": "req" + "name": "req", + "type": "apigatewaypb.UpdateGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apigateway.v1.Client" - }, - "method": { - "shortName": "UpdateGateway", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateGateway", - "service": { - "shortName": "ApiGatewayService", - "fullName": "google.cloud.apigateway.v1.ApiGatewayService" - } - } + "shortName": "UpdateGateway" }, + "description": "UpdateGateway updates the parameters of a single Gateway.", + "file": "Client/UpdateGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigateway_v1_generated_ApiGatewayService_UpdateGateway_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigateway UpdateGateway Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json b/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json index 0f818945d668..445897994254 100644 --- a/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json +++ b/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json @@ -1,103 +1,103 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apigeeconnect/apiv1", - "version": "1.7.7", - "language": "GO", "apis": [ { "id": "google.cloud.apigeeconnect.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apigeeconnect/apiv1", + "version": "1.7.7" }, "snippets": [ { - "regionTag": "apigeeconnect_v1_generated_ConnectionService_ListConnections_sync", - "title": "apigeeconnect ListConnections Sample", - "description": "ListConnections lists connections that are currently active for the given Apigee Connect\nendpoint.", - "file": "ConnectionClient/ListConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnections", + "client": { + "fullName": "google.cloud.apigeeconnect.v1.ConnectionClient", + "shortName": "ConnectionClient" + }, "fullName": "google.cloud.apigeeconnect.v1.ConnectionClient.ListConnections", + "method": { + "fullName": "google.cloud.apigeeconnect.v1.ConnectionService.ListConnections", + "service": { + "fullName": "google.cloud.apigeeconnect.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "ListConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeconnectpb.ListConnectionsRequest", - "name": "req" + "name": "req", + "type": "apigeeconnectpb.ListConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionIterator", - "client": { - "shortName": "ConnectionClient", - "fullName": "google.cloud.apigeeconnect.v1.ConnectionClient" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.cloud.apigeeconnect.v1.ConnectionService.ListConnections", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.apigeeconnect.v1.ConnectionService" - } - } + "shortName": "ListConnections" }, + "description": "ListConnections lists connections that are currently active for the given Apigee Connect\nendpoint.", + "file": "ConnectionClient/ListConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeconnect_v1_generated_ConnectionService_ListConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeconnect ListConnections Sample" }, { - "regionTag": "apigeeconnect_v1_generated_Tether_Egress_sync", - "title": "apigeeconnect Egress Sample", - "description": "Egress egress streams egress requests and responses. Logically, this is not\nactually a streaming request, but uses streaming as a mechanism to flip\nthe client-server relationship of gRPC so that the server can act as a\nclient.\nThe listener, the RPC server, accepts connections from the dialer,\nthe RPC client.\nThe listener streams http requests and the dialer streams http responses.", - "file": "TetherClient/Egress/main.go", - "language": "GO", "clientMethod": { - "shortName": "Egress", + "client": { + "fullName": "google.cloud.apigeeconnect.v1.TetherClient", + "shortName": "TetherClient" + }, "fullName": "google.cloud.apigeeconnect.v1.TetherClient.Egress", + "method": { + "fullName": "google.cloud.apigeeconnect.v1.Tether.Egress", + "service": { + "fullName": "google.cloud.apigeeconnect.v1.Tether", + "shortName": "Tether" + }, + "shortName": "Egress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "apigeeconnectpb.Tether_EgressClient", - "client": { - "shortName": "TetherClient", - "fullName": "google.cloud.apigeeconnect.v1.TetherClient" - }, - "method": { - "shortName": "Egress", - "fullName": "google.cloud.apigeeconnect.v1.Tether.Egress", - "service": { - "shortName": "Tether", - "fullName": "google.cloud.apigeeconnect.v1.Tether" - } - } + "shortName": "Egress" }, + "description": "Egress egress streams egress requests and responses. Logically, this is not\nactually a streaming request, but uses streaming as a mechanism to flip\nthe client-server relationship of gRPC so that the server can act as a\nclient.\nThe listener, the RPC server, accepts connections from the dialer,\nthe RPC client.\nThe listener streams http requests and the dialer streams http responses.", + "file": "TetherClient/Egress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeconnect_v1_generated_Tether_Egress_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeconnect Egress Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json b/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json index 73d33d3fec64..89a13deb0d77 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json +++ b/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json @@ -1,2582 +1,2582 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apigeeregistry/apiv1", - "version": "0.10.0", - "language": "GO", "apis": [ { "id": "google.cloud.apigeeregistry.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apigeeregistry/apiv1", + "version": "0.10.0" }, "snippets": [ { - "regionTag": "apigeeregistry_v1_generated_Provisioning_CancelOperation_sync", - "title": "apigeeregistry CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CancelOperation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_CreateInstance_sync", - "title": "apigeeregistry CreateInstance Sample", - "description": "CreateInstance provisions instance resources for the Registry.", - "file": "ProvisioningClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.CreateInstance", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Provisioning.CreateInstance", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.apigeeregistry.v1.Provisioning.CreateInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apigeeregistry.v1.Provisioning" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance provisions instance resources for the Registry.", + "file": "ProvisioningClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CreateInstance Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync", - "title": "apigeeregistry DeleteInstance Sample", - "description": "DeleteInstance deletes the Registry instance.", - "file": "ProvisioningClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.DeleteInstance", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Provisioning.DeleteInstance", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.apigeeregistry.v1.Provisioning.DeleteInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apigeeregistry.v1.Provisioning" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes the Registry instance.", + "file": "ProvisioningClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteInstance Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteOperation_sync", - "title": "apigeeregistry DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteOperation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_GetIamPolicy_sync", - "title": "apigeeregistry 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": "ProvisioningClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ProvisioningClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetIamPolicy Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_GetInstance_sync", - "title": "apigeeregistry GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "ProvisioningClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetInstance", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Provisioning.GetInstance", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Instance", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.apigeeregistry.v1.Provisioning.GetInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apigeeregistry.v1.Provisioning" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "ProvisioningClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetInstance Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_GetLocation_sync", - "title": "apigeeregistry GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ProvisioningClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ProvisioningClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetLocation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_GetOperation_sync", - "title": "apigeeregistry GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetOperation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_ListLocations_sync", - "title": "apigeeregistry ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ProvisioningClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ProvisioningClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListLocations Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_ListOperations_sync", - "title": "apigeeregistry ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListOperations Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_SetIamPolicy_sync", - "title": "apigeeregistry 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": "ProvisioningClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ProvisioningClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry SetIamPolicy Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Provisioning_TestIamPermissions_sync", - "title": "apigeeregistry 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": "ProvisioningClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apigeeregistry.v1.ProvisioningClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ProvisioningClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Provisioning_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry TestIamPermissions Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_CancelOperation_sync", - "title": "apigeeregistry CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RegistryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RegistryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CancelOperation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_sync", - "title": "apigeeregistry CreateApi Sample", - "description": "CreateApi creates a specified API.", - "file": "RegistryClient/CreateApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApi", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApi", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "CreateApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.CreateApiRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.CreateApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Api", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "CreateApi", - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApi", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "CreateApi" }, + "description": "CreateApi creates a specified API.", + "file": "RegistryClient/CreateApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CreateApi Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync", - "title": "apigeeregistry CreateApiDeployment Sample", - "description": "CreateApiDeployment creates a specified deployment.", - "file": "RegistryClient/CreateApiDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApiDeployment", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApiDeployment", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "CreateApiDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.CreateApiDeploymentRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.CreateApiDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiDeployment", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "CreateApiDeployment", - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiDeployment", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "CreateApiDeployment" }, + "description": "CreateApiDeployment creates a specified deployment.", + "file": "RegistryClient/CreateApiDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CreateApiDeployment Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_sync", - "title": "apigeeregistry CreateApiSpec Sample", - "description": "CreateApiSpec creates a specified spec.", - "file": "RegistryClient/CreateApiSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApiSpec", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApiSpec", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "CreateApiSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.CreateApiSpecRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.CreateApiSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiSpec", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "CreateApiSpec", - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiSpec", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "CreateApiSpec" }, + "description": "CreateApiSpec creates a specified spec.", + "file": "RegistryClient/CreateApiSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CreateApiSpec Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_sync", - "title": "apigeeregistry CreateApiVersion Sample", - "description": "CreateApiVersion creates a specified version.", - "file": "RegistryClient/CreateApiVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApiVersion", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateApiVersion", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "CreateApiVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.CreateApiVersionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.CreateApiVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiVersion", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "CreateApiVersion", - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateApiVersion", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "CreateApiVersion" }, + "description": "CreateApiVersion creates a specified version.", + "file": "RegistryClient/CreateApiVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateApiVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CreateApiVersion Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_sync", - "title": "apigeeregistry CreateArtifact Sample", - "description": "CreateArtifact creates a specified artifact.", - "file": "RegistryClient/CreateArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateArtifact", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.CreateArtifact", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "CreateArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.CreateArtifactRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.CreateArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Artifact", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "CreateArtifact", - "fullName": "google.cloud.apigeeregistry.v1.Registry.CreateArtifact", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "CreateArtifact" }, + "description": "CreateArtifact creates a specified artifact.", + "file": "RegistryClient/CreateArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_CreateArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry CreateArtifact Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_sync", - "title": "apigeeregistry DeleteApi Sample", - "description": "DeleteApi removes a specified API and all of the resources that it\nowns.", - "file": "RegistryClient/DeleteApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApi", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApi", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteApiRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteApi", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApi", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteApi" }, + "description": "DeleteApi removes a specified API and all of the resources that it\nowns.", + "file": "RegistryClient/DeleteApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApi_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteApi Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync", - "title": "apigeeregistry DeleteApiDeployment Sample", - "description": "DeleteApiDeployment removes a specified deployment, all revisions, and all\nchild resources (e.g., artifacts).", - "file": "RegistryClient/DeleteApiDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiDeployment", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiDeployment", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteApiDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteApiDeploymentRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteApiDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteApiDeployment", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeployment", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteApiDeployment" }, + "description": "DeleteApiDeployment removes a specified deployment, all revisions, and all\nchild resources (e.g., artifacts).", + "file": "RegistryClient/DeleteApiDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteApiDeployment Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync", - "title": "apigeeregistry DeleteApiDeploymentRevision Sample", - "description": "DeleteApiDeploymentRevision deletes a revision of a deployment.", - "file": "RegistryClient/DeleteApiDeploymentRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiDeploymentRevision", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiDeploymentRevision", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteApiDeploymentRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteApiDeploymentRevisionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteApiDeploymentRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiDeployment", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteApiDeploymentRevision", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevision", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteApiDeploymentRevision" }, + "description": "DeleteApiDeploymentRevision deletes a revision of a deployment.", + "file": "RegistryClient/DeleteApiDeploymentRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiDeploymentRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteApiDeploymentRevision Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync", - "title": "apigeeregistry DeleteApiSpec Sample", - "description": "DeleteApiSpec removes a specified spec, all revisions, and all child\nresources (e.g., artifacts).", - "file": "RegistryClient/DeleteApiSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiSpec", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiSpec", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteApiSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteApiSpecRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteApiSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteApiSpec", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpec", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteApiSpec" }, + "description": "DeleteApiSpec removes a specified spec, all revisions, and all child\nresources (e.g., artifacts).", + "file": "RegistryClient/DeleteApiSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpec_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteApiSpec Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync", - "title": "apigeeregistry DeleteApiSpecRevision Sample", - "description": "DeleteApiSpecRevision deletes a revision of a spec.", - "file": "RegistryClient/DeleteApiSpecRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiSpecRevision", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiSpecRevision", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteApiSpecRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteApiSpecRevisionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteApiSpecRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiSpec", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteApiSpecRevision", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevision", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteApiSpecRevision" }, + "description": "DeleteApiSpecRevision deletes a revision of a spec.", + "file": "RegistryClient/DeleteApiSpecRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiSpecRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteApiSpecRevision Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync", - "title": "apigeeregistry DeleteApiVersion Sample", - "description": "DeleteApiVersion removes a specified version and all of the resources that\nit owns.", - "file": "RegistryClient/DeleteApiVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiVersion", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteApiVersion", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteApiVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteApiVersionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteApiVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteApiVersion", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteApiVersion", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteApiVersion" }, + "description": "DeleteApiVersion removes a specified version and all of the resources that\nit owns.", + "file": "RegistryClient/DeleteApiVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteApiVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteApiVersion Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_sync", - "title": "apigeeregistry DeleteArtifact Sample", - "description": "DeleteArtifact removes a specified artifact.", - "file": "RegistryClient/DeleteArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteArtifact", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteArtifact", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "DeleteArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.DeleteArtifactRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.DeleteArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteArtifact", - "fullName": "google.cloud.apigeeregistry.v1.Registry.DeleteArtifact", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "DeleteArtifact" }, + "description": "DeleteArtifact removes a specified artifact.", + "file": "RegistryClient/DeleteArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteArtifact_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteArtifact Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_DeleteOperation_sync", - "title": "apigeeregistry DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "RegistryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "RegistryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry DeleteOperation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_sync", - "title": "apigeeregistry GetApi Sample", - "description": "GetApi returns a specified API.", - "file": "RegistryClient/GetApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApi", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApi", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetApiRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Api", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetApi", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApi", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetApi" }, + "description": "GetApi returns a specified API.", + "file": "RegistryClient/GetApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetApi Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_sync", - "title": "apigeeregistry GetApiDeployment Sample", - "description": "GetApiDeployment returns a specified deployment.", - "file": "RegistryClient/GetApiDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiDeployment", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiDeployment", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetApiDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetApiDeploymentRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetApiDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiDeployment", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetApiDeployment", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiDeployment", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetApiDeployment" }, + "description": "GetApiDeployment returns a specified deployment.", + "file": "RegistryClient/GetApiDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetApiDeployment Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_sync", - "title": "apigeeregistry GetApiSpec Sample", - "description": "GetApiSpec returns a specified spec.", - "file": "RegistryClient/GetApiSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiSpec", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiSpec", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetApiSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetApiSpecRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetApiSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiSpec", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetApiSpec", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpec", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetApiSpec" }, + "description": "GetApiSpec returns a specified spec.", + "file": "RegistryClient/GetApiSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetApiSpec Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync", - "title": "apigeeregistry GetApiSpecContents Sample", - "description": "GetApiSpecContents returns the contents of a specified spec.\nIf specs are stored with GZip compression, the default behavior\nis to return the spec uncompressed (the mime_type response field\nindicates the exact format returned).", - "file": "RegistryClient/GetApiSpecContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiSpecContents", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiSpecContents", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetApiSpecContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetApiSpecContentsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetApiSpecContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetApiSpecContents", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiSpecContents", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetApiSpecContents" }, + "description": "GetApiSpecContents returns the contents of a specified spec.\nIf specs are stored with GZip compression, the default behavior\nis to return the spec uncompressed (the mime_type response field\nindicates the exact format returned).", + "file": "RegistryClient/GetApiSpecContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiSpecContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetApiSpecContents Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_sync", - "title": "apigeeregistry GetApiVersion Sample", - "description": "GetApiVersion returns a specified version.", - "file": "RegistryClient/GetApiVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiVersion", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetApiVersion", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetApiVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetApiVersionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetApiVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiVersion", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetApiVersion", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetApiVersion", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetApiVersion" }, + "description": "GetApiVersion returns a specified version.", + "file": "RegistryClient/GetApiVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetApiVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetApiVersion Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_sync", - "title": "apigeeregistry GetArtifact Sample", - "description": "GetArtifact returns a specified artifact.", - "file": "RegistryClient/GetArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetArtifact", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetArtifact", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetArtifactRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Artifact", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetArtifact", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifact", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetArtifact" }, + "description": "GetArtifact returns a specified artifact.", + "file": "RegistryClient/GetArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetArtifact Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_sync", - "title": "apigeeregistry GetArtifactContents Sample", - "description": "GetArtifactContents returns the contents of a specified artifact.\nIf artifacts are stored with GZip compression, the default behavior\nis to return the artifact uncompressed (the mime_type response field\nindicates the exact format returned).", - "file": "RegistryClient/GetArtifactContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetArtifactContents", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetArtifactContents", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "GetArtifactContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.GetArtifactContentsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.GetArtifactContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetArtifactContents", - "fullName": "google.cloud.apigeeregistry.v1.Registry.GetArtifactContents", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "GetArtifactContents" }, + "description": "GetArtifactContents returns the contents of a specified artifact.\nIf artifacts are stored with GZip compression, the default behavior\nis to return the artifact uncompressed (the mime_type response field\nindicates the exact format returned).", + "file": "RegistryClient/GetArtifactContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetArtifactContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetArtifactContents Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetIamPolicy_sync", - "title": "apigeeregistry 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": "RegistryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "RegistryClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetIamPolicy Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetLocation_sync", - "title": "apigeeregistry GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "RegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*locationpb.Location", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*locationpb.Location", + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "RegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetLocation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_GetOperation_sync", - "title": "apigeeregistry GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RegistryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RegistryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry GetOperation Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync", - "title": "apigeeregistry ListApiDeploymentRevisions Sample", - "description": "ListApiDeploymentRevisions lists all revisions of a deployment.\nRevisions are returned in descending order of revision creation time.", - "file": "RegistryClient/ListApiDeploymentRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiDeploymentRevisions", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiDeploymentRevisions", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListApiDeploymentRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListApiDeploymentRevisionsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListApiDeploymentRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiDeploymentIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListApiDeploymentRevisions", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisions", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListApiDeploymentRevisions" }, + "description": "ListApiDeploymentRevisions lists all revisions of a deployment.\nRevisions are returned in descending order of revision creation time.", + "file": "RegistryClient/ListApiDeploymentRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeploymentRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListApiDeploymentRevisions Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_sync", - "title": "apigeeregistry ListApiDeployments Sample", - "description": "ListApiDeployments returns matching deployments.", - "file": "RegistryClient/ListApiDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiDeployments", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiDeployments", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListApiDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListApiDeploymentsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListApiDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiDeploymentIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListApiDeployments", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiDeployments", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListApiDeployments" }, + "description": "ListApiDeployments returns matching deployments.", + "file": "RegistryClient/ListApiDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListApiDeployments Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync", - "title": "apigeeregistry ListApiSpecRevisions Sample", - "description": "ListApiSpecRevisions lists all revisions of a spec.\nRevisions are returned in descending order of revision creation time.", - "file": "RegistryClient/ListApiSpecRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiSpecRevisions", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiSpecRevisions", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListApiSpecRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListApiSpecRevisionsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListApiSpecRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiSpecIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListApiSpecRevisions", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisions", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListApiSpecRevisions" }, + "description": "ListApiSpecRevisions lists all revisions of a spec.\nRevisions are returned in descending order of revision creation time.", + "file": "RegistryClient/ListApiSpecRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListApiSpecRevisions Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_sync", - "title": "apigeeregistry ListApiSpecs Sample", - "description": "ListApiSpecs returns matching specs.", - "file": "RegistryClient/ListApiSpecs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiSpecs", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiSpecs", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListApiSpecs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListApiSpecsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListApiSpecsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiSpecIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListApiSpecs", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiSpecs", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListApiSpecs" }, + "description": "ListApiSpecs returns matching specs.", + "file": "RegistryClient/ListApiSpecs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiSpecs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListApiSpecs Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_sync", - "title": "apigeeregistry ListApiVersions Sample", - "description": "ListApiVersions returns matching versions.", - "file": "RegistryClient/ListApiVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiVersions", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApiVersions", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListApiVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListApiVersionsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListApiVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiVersionIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListApiVersions", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApiVersions", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListApiVersions" }, + "description": "ListApiVersions returns matching versions.", + "file": "RegistryClient/ListApiVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApiVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListApiVersions Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_sync", - "title": "apigeeregistry ListApis Sample", - "description": "ListApis returns matching APIs.", - "file": "RegistryClient/ListApis/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApis", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListApis", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListApis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListApisRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListApisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListApis", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListApis", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListApis" }, + "description": "ListApis returns matching APIs.", + "file": "RegistryClient/ListApis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListApis_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListApis Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_sync", - "title": "apigeeregistry ListArtifacts Sample", - "description": "ListArtifacts returns matching artifacts.", - "file": "RegistryClient/ListArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListArtifacts", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListArtifacts", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ListArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ListArtifactsRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ListArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ArtifactIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListArtifacts", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ListArtifacts", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ListArtifacts" }, + "description": "ListArtifacts returns matching artifacts.", + "file": "RegistryClient/ListArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListArtifacts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListArtifacts Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListLocations_sync", - "title": "apigeeregistry ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "RegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "RegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListLocations Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ListOperations_sync", - "title": "apigeeregistry ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RegistryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RegistryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ListOperations Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync", - "title": "apigeeregistry ReplaceArtifact Sample", - "description": "ReplaceArtifact used to replace a specified artifact.", - "file": "RegistryClient/ReplaceArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceArtifact", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.ReplaceArtifact", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "ReplaceArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.ReplaceArtifactRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.ReplaceArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Artifact", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "ReplaceArtifact", - "fullName": "google.cloud.apigeeregistry.v1.Registry.ReplaceArtifact", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "ReplaceArtifact" }, + "description": "ReplaceArtifact used to replace a specified artifact.", + "file": "RegistryClient/ReplaceArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_ReplaceArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry ReplaceArtifact Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync", - "title": "apigeeregistry RollbackApiDeployment Sample", - "description": "RollbackApiDeployment sets the current revision to a specified prior\nrevision. Note that this creates a new revision with a new revision ID.", - "file": "RegistryClient/RollbackApiDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackApiDeployment", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.RollbackApiDeployment", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "RollbackApiDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.RollbackApiDeploymentRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.RollbackApiDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiDeployment", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "RollbackApiDeployment", - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiDeployment", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "RollbackApiDeployment" }, + "description": "RollbackApiDeployment sets the current revision to a specified prior\nrevision. Note that this creates a new revision with a new revision ID.", + "file": "RegistryClient/RollbackApiDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry RollbackApiDeployment Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync", - "title": "apigeeregistry RollbackApiSpec Sample", - "description": "RollbackApiSpec sets the current revision to a specified prior revision.\nNote that this creates a new revision with a new revision ID.", - "file": "RegistryClient/RollbackApiSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackApiSpec", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.RollbackApiSpec", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "RollbackApiSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.RollbackApiSpecRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.RollbackApiSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiSpec", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "RollbackApiSpec", - "fullName": "google.cloud.apigeeregistry.v1.Registry.RollbackApiSpec", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "RollbackApiSpec" }, + "description": "RollbackApiSpec sets the current revision to a specified prior revision.\nNote that this creates a new revision with a new revision ID.", + "file": "RegistryClient/RollbackApiSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_RollbackApiSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry RollbackApiSpec Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_SetIamPolicy_sync", - "title": "apigeeregistry 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": "RegistryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "RegistryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry SetIamPolicy Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync", - "title": "apigeeregistry TagApiDeploymentRevision Sample", - "description": "TagApiDeploymentRevision adds a tag to a specified revision of a\ndeployment.", - "file": "RegistryClient/TagApiDeploymentRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "TagApiDeploymentRevision", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.TagApiDeploymentRevision", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "TagApiDeploymentRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.TagApiDeploymentRevisionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.TagApiDeploymentRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiDeployment", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "TagApiDeploymentRevision", - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevision", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "TagApiDeploymentRevision" }, + "description": "TagApiDeploymentRevision adds a tag to a specified revision of a\ndeployment.", + "file": "RegistryClient/TagApiDeploymentRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_TagApiDeploymentRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry TagApiDeploymentRevision Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync", - "title": "apigeeregistry TagApiSpecRevision Sample", - "description": "TagApiSpecRevision adds a tag to a specified revision of a spec.", - "file": "RegistryClient/TagApiSpecRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "TagApiSpecRevision", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.TagApiSpecRevision", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "TagApiSpecRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.TagApiSpecRevisionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.TagApiSpecRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiSpec", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "TagApiSpecRevision", - "fullName": "google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevision", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "TagApiSpecRevision" }, + "description": "TagApiSpecRevision adds a tag to a specified revision of a spec.", + "file": "RegistryClient/TagApiSpecRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_TagApiSpecRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry TagApiSpecRevision Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_TestIamPermissions_sync", - "title": "apigeeregistry 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": "RegistryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "RegistryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry TestIamPermissions Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_sync", - "title": "apigeeregistry UpdateApi Sample", - "description": "UpdateApi used to modify a specified API.", - "file": "RegistryClient/UpdateApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApi", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApi", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApi", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "UpdateApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.UpdateApiRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.UpdateApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.Api", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "UpdateApi", - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApi", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "UpdateApi" }, + "description": "UpdateApi used to modify a specified API.", + "file": "RegistryClient/UpdateApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry UpdateApi Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync", - "title": "apigeeregistry UpdateApiDeployment Sample", - "description": "UpdateApiDeployment used to modify a specified deployment.", - "file": "RegistryClient/UpdateApiDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApiDeployment", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApiDeployment", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "UpdateApiDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.UpdateApiDeploymentRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.UpdateApiDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiDeployment", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "UpdateApiDeployment", - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiDeployment", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "UpdateApiDeployment" }, + "description": "UpdateApiDeployment used to modify a specified deployment.", + "file": "RegistryClient/UpdateApiDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry UpdateApiDeployment Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync", - "title": "apigeeregistry UpdateApiSpec Sample", - "description": "UpdateApiSpec used to modify a specified spec.", - "file": "RegistryClient/UpdateApiSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApiSpec", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApiSpec", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "UpdateApiSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.UpdateApiSpecRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.UpdateApiSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiSpec", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "UpdateApiSpec", - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiSpec", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "UpdateApiSpec" }, + "description": "UpdateApiSpec used to modify a specified spec.", + "file": "RegistryClient/UpdateApiSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry UpdateApiSpec Sample" }, { - "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync", - "title": "apigeeregistry UpdateApiVersion Sample", - "description": "UpdateApiVersion used to modify a specified version.", - "file": "RegistryClient/UpdateApiVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApiVersion", + "client": { + "fullName": "google.cloud.apigeeregistry.v1.RegistryClient", + "shortName": "RegistryClient" + }, "fullName": "google.cloud.apigeeregistry.v1.RegistryClient.UpdateApiVersion", + "method": { + "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion", + "service": { + "fullName": "google.cloud.apigeeregistry.v1.Registry", + "shortName": "Registry" + }, + "shortName": "UpdateApiVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apigeeregistrypb.UpdateApiVersionRequest", - "name": "req" + "name": "req", + "type": "apigeeregistrypb.UpdateApiVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apigeeregistrypb.ApiVersion", - "client": { - "shortName": "RegistryClient", - "fullName": "google.cloud.apigeeregistry.v1.RegistryClient" - }, - "method": { - "shortName": "UpdateApiVersion", - "fullName": "google.cloud.apigeeregistry.v1.Registry.UpdateApiVersion", - "service": { - "shortName": "Registry", - "fullName": "google.cloud.apigeeregistry.v1.Registry" - } - } + "shortName": "UpdateApiVersion" }, + "description": "UpdateApiVersion used to modify a specified version.", + "file": "RegistryClient/UpdateApiVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apigeeregistry_v1_generated_Registry_UpdateApiVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apigeeregistry UpdateApiVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json b/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json index 74c57ac23c23..038f10780961 100644 --- a/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json +++ b/internal/generated/snippets/apihub/apiv1/snippet_metadata.google.cloud.apihub.v1.json @@ -1,6562 +1,6562 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apihub/apiv1", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.apihub.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apihub/apiv1", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "apihub_v1_generated_ApiHub_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateApi_sync", - "title": "apihub CreateApi Sample", - "description": "CreateApi create an API resource in the API hub.\nOnce an API resource is created, versions can be added to it.", - "file": "Client/CreateApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Api", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateApi", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateApi" }, + "description": "CreateApi create an API resource in the API hub.\nOnce an API resource is created, versions can be added to it.", + "file": "Client/CreateApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateApiOperation_sync", - "title": "apihub CreateApiOperation Sample", - "description": "CreateApiOperation create an apiOperation in an API version.\nAn apiOperation can be created only if the version has no apiOperations\nwhich were created by parsing a spec.", - "file": "Client/CreateApiOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApiOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateApiOperation", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateApiOperation", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateApiOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateApiOperationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateApiOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ApiOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateApiOperation", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateApiOperation", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateApiOperation" }, + "description": "CreateApiOperation create an apiOperation in an API version.\nAn apiOperation can be created only if the version has no apiOperations\nwhich were created by parsing a spec.", + "file": "Client/CreateApiOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateApiOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateApiOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateAttribute_sync", - "title": "apihub CreateAttribute Sample", - "description": "CreateAttribute create a user defined attribute.\n\nCertain pre defined attributes are already created by the API hub. These\nattributes will have type as `SYSTEM_DEFINED` and can be listed via\n[ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.\nAllowed values for the same can be updated via\n[UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.", - "file": "Client/CreateAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAttribute", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateAttribute", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateAttribute", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateAttributeRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Attribute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateAttribute", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateAttribute", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateAttribute" }, + "description": "CreateAttribute create a user defined attribute.\n\nCertain pre defined attributes are already created by the API hub. These\nattributes will have type as `SYSTEM_DEFINED` and can be listed via\n[ListAttributes][google.cloud.apihub.v1.ApiHub.ListAttributes] method.\nAllowed values for the same can be updated via\n[UpdateAttribute][google.cloud.apihub.v1.ApiHub.UpdateAttribute] method.", + "file": "Client/CreateAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateAttribute Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateDeployment_sync", - "title": "apihub CreateDeployment Sample", - "description": "CreateDeployment create a deployment resource in the API hub.\nOnce a deployment resource is created, it can be associated with API\nversions.", - "file": "Client/CreateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployment", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateDeployment", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateDeployment", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateDeploymentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateDeployment", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateDeployment", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateDeployment" }, + "description": "CreateDeployment create a deployment resource in the API hub.\nOnce a deployment resource is created, it can be associated with API\nversions.", + "file": "Client/CreateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateDeployment Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateExternalApi_sync", - "title": "apihub CreateExternalApi Sample", - "description": "CreateExternalApi create an External API resource in the API hub.", - "file": "Client/CreateExternalApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExternalApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateExternalApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateExternalApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateExternalApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateExternalApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateExternalApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ExternalApi", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateExternalApi", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateExternalApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateExternalApi" }, + "description": "CreateExternalApi create an External API resource in the API hub.", + "file": "Client/CreateExternalApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateExternalApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateExternalApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateSpec_sync", - "title": "apihub CreateSpec Sample", - "description": "CreateSpec add a spec to an API version in the API hub.\nMultiple specs can be added to an API version.\nNote, while adding a spec, at least one of `contents` or `source_uri` must\nbe provided. If `contents` is provided, then `spec_type` must also be\nprovided.\n\nOn adding a spec with contents to the version, the operations present in it\nwill be added to the version.Note that the file contents in the spec should\nbe of the same type as defined in the\n`projects/{project}/locations/{location}/attributes/system-spec-type`\nattribute associated with spec resource. Note that specs of various types\ncan be uploaded, however parsing of details is supported for OpenAPI spec\ncurrently.\n\nIn order to access the information parsed from the spec, use the\n[GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.\nIn order to access the raw contents for a particular spec, use the\n[GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.\nIn order to access the operations parsed from the spec, use the\n[ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]\nmethod.", - "file": "Client/CreateSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpec", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateSpec", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateSpec", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateSpecRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Spec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateSpec", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateSpec", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateSpec" }, + "description": "CreateSpec add a spec to an API version in the API hub.\nMultiple specs can be added to an API version.\nNote, while adding a spec, at least one of `contents` or `source_uri` must\nbe provided. If `contents` is provided, then `spec_type` must also be\nprovided.\n\nOn adding a spec with contents to the version, the operations present in it\nwill be added to the version.Note that the file contents in the spec should\nbe of the same type as defined in the\n`projects/{project}/locations/{location}/attributes/system-spec-type`\nattribute associated with spec resource. Note that specs of various types\ncan be uploaded, however parsing of details is supported for OpenAPI spec\ncurrently.\n\nIn order to access the information parsed from the spec, use the\n[GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method.\nIn order to access the raw contents for a particular spec, use the\n[GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method.\nIn order to access the operations parsed from the spec, use the\n[ListAPIOperations][google.cloud.apihub.v1.ApiHub.ListApiOperations]\nmethod.", + "file": "Client/CreateSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateSpec Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_CreateVersion_sync", - "title": "apihub CreateVersion Sample", - "description": "CreateVersion create an API version for an API resource in the API hub.", - "file": "Client/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.CreateVersion", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.CreateVersion", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Version", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.apihub.v1.ApiHub.CreateVersion", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion create an API version for an API resource in the API hub.", + "file": "Client/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_CreateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateVersion Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteApi_sync", - "title": "apihub DeleteApi Sample", - "description": "DeleteApi delete an API resource in the API hub. API can only be deleted if all\nunderlying versions are deleted.", - "file": "Client/DeleteApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteApi", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteApi" }, + "description": "DeleteApi delete an API resource in the API hub. API can only be deleted if all\nunderlying versions are deleted.", + "file": "Client/DeleteApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteApi_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteApiOperation_sync", - "title": "apihub DeleteApiOperation Sample", - "description": "DeleteApiOperation delete an operation in an API version and we can delete only the\noperations created via create API. If the operation was created by parsing\nthe spec, then it can be deleted by editing or deleting the spec.", - "file": "Client/DeleteApiOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteApiOperation", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteApiOperation", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteApiOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteApiOperationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteApiOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteApiOperation", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteApiOperation", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteApiOperation" }, + "description": "DeleteApiOperation delete an operation in an API version and we can delete only the\noperations created via create API. If the operation was created by parsing\nthe spec, then it can be deleted by editing or deleting the spec.", + "file": "Client/DeleteApiOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteApiOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteApiOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteAttribute_sync", - "title": "apihub DeleteAttribute Sample", - "description": "DeleteAttribute delete an attribute.\n\nNote: System defined attributes cannot be deleted. All\nassociations of the attribute being deleted with any API hub resource will\nalso get deleted.", - "file": "Client/DeleteAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAttribute", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteAttribute", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteAttribute", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteAttributeRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteAttribute", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteAttribute", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteAttribute" }, + "description": "DeleteAttribute delete an attribute.\n\nNote: System defined attributes cannot be deleted. All\nassociations of the attribute being deleted with any API hub resource will\nalso get deleted.", + "file": "Client/DeleteAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteAttribute_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteAttribute Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteDeployment_sync", - "title": "apihub DeleteDeployment Sample", - "description": "DeleteDeployment delete a deployment resource in the API hub.", - "file": "Client/DeleteDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeployment", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteDeployment", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteDeployment", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteDeploymentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteDeployment", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteDeployment", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteDeployment" }, + "description": "DeleteDeployment delete a deployment resource in the API hub.", + "file": "Client/DeleteDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteDeployment Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteExternalApi_sync", - "title": "apihub DeleteExternalApi Sample", - "description": "DeleteExternalApi delete an External API resource in the API hub.", - "file": "Client/DeleteExternalApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExternalApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteExternalApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteExternalApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteExternalApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteExternalApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteExternalApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteExternalApi", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteExternalApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteExternalApi" }, + "description": "DeleteExternalApi delete an External API resource in the API hub.", + "file": "Client/DeleteExternalApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteExternalApi_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteExternalApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteSpec_sync", - "title": "apihub DeleteSpec Sample", - "description": "DeleteSpec delete a spec.\nDeleting a spec will also delete the associated operations from the\nversion.", - "file": "Client/DeleteSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpec", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteSpec", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteSpec", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteSpecRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteSpec", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteSpec", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteSpec" }, + "description": "DeleteSpec delete a spec.\nDeleting a spec will also delete the associated operations from the\nversion.", + "file": "Client/DeleteSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteSpec_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteSpec Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_DeleteVersion_sync", - "title": "apihub DeleteVersion Sample", - "description": "DeleteVersion delete an API version. Version can only be deleted if all underlying specs,\noperations, definitions and linked deployments are deleted.", - "file": "Client/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.DeleteVersion", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.DeleteVersion", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.apihub.v1.ApiHub.DeleteVersion", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion delete an API version. Version can only be deleted if all underlying specs,\noperations, definitions and linked deployments are deleted.", + "file": "Client/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteVersion Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetApi_sync", - "title": "apihub GetApi Sample", - "description": "GetApi get API resource details including the API versions contained in it.", - "file": "Client/GetApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Api", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetApi", - "fullName": "google.cloud.apihub.v1.ApiHub.GetApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetApi" }, + "description": "GetApi get API resource details including the API versions contained in it.", + "file": "Client/GetApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetApiOperation_sync", - "title": "apihub GetApiOperation Sample", - "description": "GetApiOperation get details about a particular operation in API version.", - "file": "Client/GetApiOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetApiOperation", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetApiOperation", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetApiOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetApiOperationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetApiOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ApiOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetApiOperation", - "fullName": "google.cloud.apihub.v1.ApiHub.GetApiOperation", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetApiOperation" }, + "description": "GetApiOperation get details about a particular operation in API version.", + "file": "Client/GetApiOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetApiOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetApiOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetAttribute_sync", - "title": "apihub GetAttribute Sample", - "description": "GetAttribute get details about the attribute.", - "file": "Client/GetAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttribute", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetAttribute", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetAttribute", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetAttributeRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Attribute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetAttribute", - "fullName": "google.cloud.apihub.v1.ApiHub.GetAttribute", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetAttribute" }, + "description": "GetAttribute get details about the attribute.", + "file": "Client/GetAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetAttribute Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetDefinition_sync", - "title": "apihub GetDefinition Sample", - "description": "GetDefinition get details about a definition in an API version.", - "file": "Client/GetDefinition/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDefinition", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetDefinition", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetDefinition", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetDefinition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetDefinitionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetDefinitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Definition", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetDefinition", - "fullName": "google.cloud.apihub.v1.ApiHub.GetDefinition", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetDefinition" }, + "description": "GetDefinition get details about a definition in an API version.", + "file": "Client/GetDefinition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetDefinition_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetDefinition Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetDeployment_sync", - "title": "apihub GetDeployment Sample", - "description": "GetDeployment get details about a deployment and the API versions linked to it.", - "file": "Client/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetDeployment", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetDeployment", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.apihub.v1.ApiHub.GetDeployment", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment get details about a deployment and the API versions linked to it.", + "file": "Client/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetDeployment Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetExternalApi_sync", - "title": "apihub GetExternalApi Sample", - "description": "GetExternalApi get details about an External API resource in the API hub.", - "file": "Client/GetExternalApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExternalApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetExternalApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetExternalApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetExternalApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetExternalApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetExternalApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ExternalApi", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetExternalApi", - "fullName": "google.cloud.apihub.v1.ApiHub.GetExternalApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetExternalApi" }, + "description": "GetExternalApi get details about an External API resource in the API hub.", + "file": "Client/GetExternalApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetExternalApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetExternalApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetSpec_sync", - "title": "apihub GetSpec Sample", - "description": "GetSpec get details about the information parsed from a spec.\nNote that this method does not return the raw spec contents.\nUse [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method\nto retrieve the same.", - "file": "Client/GetSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpec", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetSpec", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetSpec", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetSpecRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Spec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetSpec", - "fullName": "google.cloud.apihub.v1.ApiHub.GetSpec", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetSpec" }, + "description": "GetSpec get details about the information parsed from a spec.\nNote that this method does not return the raw spec contents.\nUse [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method\nto retrieve the same.", + "file": "Client/GetSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetSpec Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetSpecContents_sync", - "title": "apihub GetSpecContents Sample", - "description": "GetSpecContents get spec contents.", - "file": "Client/GetSpecContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpecContents", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetSpecContents", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetSpecContents", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetSpecContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetSpecContentsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetSpecContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.SpecContents", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetSpecContents", - "fullName": "google.cloud.apihub.v1.ApiHub.GetSpecContents", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetSpecContents" }, + "description": "GetSpecContents get spec contents.", + "file": "Client/GetSpecContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetSpecContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetSpecContents Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_GetVersion_sync", - "title": "apihub GetVersion Sample", - "description": "GetVersion get details about the API version of an API resource. This will include\ninformation about the specs and operations present in the API\nversion as well as the deployments linked to it.", - "file": "Client/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.GetVersion", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.GetVersion", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Version", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.apihub.v1.ApiHub.GetVersion", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion get details about the API version of an API resource. This will include\ninformation about the specs and operations present in the API\nversion as well as the deployments linked to it.", + "file": "Client/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetVersion Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListApiOperations_sync", - "title": "apihub ListApiOperations Sample", - "description": "ListApiOperations list operations in an API version.", - "file": "Client/ListApiOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApiOperations", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListApiOperations", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListApiOperations", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListApiOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListApiOperationsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListApiOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiOperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListApiOperations", - "fullName": "google.cloud.apihub.v1.ApiHub.ListApiOperations", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListApiOperations" }, + "description": "ListApiOperations list operations in an API version.", + "file": "Client/ListApiOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListApiOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListApiOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListApis_sync", - "title": "apihub ListApis Sample", - "description": "ListApis list API resources in the API hub.", - "file": "Client/ListApis/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApis", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListApis", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListApis", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListApis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListApisRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListApisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApiIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListApis", - "fullName": "google.cloud.apihub.v1.ApiHub.ListApis", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListApis" }, + "description": "ListApis list API resources in the API hub.", + "file": "Client/ListApis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListApis_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListApis Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListAttributes_sync", - "title": "apihub ListAttributes Sample", - "description": "ListAttributes list all attributes.", - "file": "Client/ListAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttributes", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListAttributes", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListAttributes", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListAttributesRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListAttributesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttributeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListAttributes", - "fullName": "google.cloud.apihub.v1.ApiHub.ListAttributes", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListAttributes" }, + "description": "ListAttributes list all attributes.", + "file": "Client/ListAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListAttributes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListAttributes Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListDeployments_sync", - "title": "apihub ListDeployments Sample", - "description": "ListDeployments list deployment resources in the API hub.", - "file": "Client/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListDeployments", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListDeployments", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.apihub.v1.ApiHub.ListDeployments", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments list deployment resources in the API hub.", + "file": "Client/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListDeployments Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListExternalApis_sync", - "title": "apihub ListExternalApis Sample", - "description": "ListExternalApis list External API resources in the API hub.", - "file": "Client/ListExternalApis/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExternalApis", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListExternalApis", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListExternalApis", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListExternalApis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListExternalApisRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListExternalApisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExternalApiIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListExternalApis", - "fullName": "google.cloud.apihub.v1.ApiHub.ListExternalApis", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListExternalApis" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListExternalApis list External API resources in the API hub.", + "file": "Client/ListExternalApis/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListExternalApis_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListExternalApis Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListSpecs_sync", - "title": "apihub ListSpecs Sample", - "description": "ListSpecs list specs corresponding to a particular API resource.", - "file": "Client/ListSpecs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpecs", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListSpecs", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListSpecs", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListSpecs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListSpecsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListSpecsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpecIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListSpecs", - "fullName": "google.cloud.apihub.v1.ApiHub.ListSpecs", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListSpecs" }, + "description": "ListSpecs list specs corresponding to a particular API resource.", + "file": "Client/ListSpecs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListSpecs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListSpecs Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_ListVersions_sync", - "title": "apihub ListVersions Sample", - "description": "ListVersions list API versions of an API resource in the API hub.", - "file": "Client/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.ListVersions", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.ListVersions", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.apihub.v1.ApiHub.ListVersions", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions list API versions of an API resource in the API hub.", + "file": "Client/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListVersions Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_SearchResources_sync", - "title": "apihub SearchResources Sample", - "description": "SearchResources search across API-Hub resources.", - "file": "Client/SearchResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchResources", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.SearchResources", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.SearchResources", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "SearchResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.SearchResourcesRequest", - "name": "req" + "name": "req", + "type": "apihubpb.SearchResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "SearchResources", - "fullName": "google.cloud.apihub.v1.ApiHub.SearchResources", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "SearchResources" }, + "description": "SearchResources search across API-Hub resources.", + "file": "Client/SearchResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_SearchResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub SearchResources Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateApi_sync", - "title": "apihub UpdateApi Sample", - "description": "UpdateApi update an API resource in the API hub. The following fields in the\n[API][google.cloud.apihub.v1.Api] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Api.display_name]\n* [description][google.cloud.apihub.v1.Api.description]\n* [owner][google.cloud.apihub.v1.Api.owner]\n* [documentation][google.cloud.apihub.v1.Api.documentation]\n* [target_user][google.cloud.apihub.v1.Api.target_user]\n* [team][google.cloud.apihub.v1.Api.team]\n* [business_unit][google.cloud.apihub.v1.Api.business_unit]\n* [maturity_level][google.cloud.apihub.v1.Api.maturity_level]\n* [api_style][google.cloud.apihub.v1.Api.api_style]\n* [attributes][google.cloud.apihub.v1.Api.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]\nshould be used to specify the fields being updated.\n\nUpdating the owner field requires complete owner message\nand updates both owner and email fields.", - "file": "Client/UpdateApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Api", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateApi", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateApi" }, + "description": "UpdateApi update an API resource in the API hub. The following fields in the\n[API][google.cloud.apihub.v1.Api] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Api.display_name]\n* [description][google.cloud.apihub.v1.Api.description]\n* [owner][google.cloud.apihub.v1.Api.owner]\n* [documentation][google.cloud.apihub.v1.Api.documentation]\n* [target_user][google.cloud.apihub.v1.Api.target_user]\n* [team][google.cloud.apihub.v1.Api.team]\n* [business_unit][google.cloud.apihub.v1.Api.business_unit]\n* [maturity_level][google.cloud.apihub.v1.Api.maturity_level]\n* [api_style][google.cloud.apihub.v1.Api.api_style]\n* [attributes][google.cloud.apihub.v1.Api.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]\nshould be used to specify the fields being updated.\n\nUpdating the owner field requires complete owner message\nand updates both owner and email fields.", + "file": "Client/UpdateApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateApiOperation_sync", - "title": "apihub UpdateApiOperation Sample", - "description": "UpdateApiOperation update an operation in an API version. The following fields in the\n[ApiOperation resource][google.cloud.apihub.v1.ApiOperation] can be\nupdated: \n\n* [details.description][ApiOperation.details.description]\n* [details.documentation][ApiOperation.details.documentation]\n* [details.http_operation.path][ApiOperation.details.http_operation.path.path]\n* [details.http_operation.method][ApiOperation.details.http_operation.method]\n* [details.deprecated][ApiOperation.details.deprecated]\n* [attributes][google.cloud.apihub.v1.ApiOperation.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiOperationRequest.update_mask]\nshould be used to specify the fields being updated.\n\nAn operation can be updated only if the operation was created via\n[CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.\nIf the operation was created by parsing the spec, then it can be edited by\nupdating the spec.", - "file": "Client/UpdateApiOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApiOperation", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateApiOperation", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateApiOperation", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateApiOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateApiOperationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateApiOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ApiOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateApiOperation", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateApiOperation", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateApiOperation" }, + "description": "UpdateApiOperation update an operation in an API version. The following fields in the\n[ApiOperation resource][google.cloud.apihub.v1.ApiOperation] can be\nupdated: \n\n* [details.description][ApiOperation.details.description]\n* [details.documentation][ApiOperation.details.documentation]\n* [details.http_operation.path][ApiOperation.details.http_operation.path.path]\n* [details.http_operation.method][ApiOperation.details.http_operation.method]\n* [details.deprecated][ApiOperation.details.deprecated]\n* [attributes][google.cloud.apihub.v1.ApiOperation.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiOperationRequest.update_mask]\nshould be used to specify the fields being updated.\n\nAn operation can be updated only if the operation was created via\n[CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API.\nIf the operation was created by parsing the spec, then it can be edited by\nupdating the spec.", + "file": "Client/UpdateApiOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateApiOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateApiOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateAttribute_sync", - "title": "apihub UpdateAttribute Sample", - "description": "UpdateAttribute update the attribute. The following fields in the\n[Attribute resource][google.cloud.apihub.v1.Attribute] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Attribute.display_name]\nThe display name can be updated for user defined attributes only.\n* [description][google.cloud.apihub.v1.Attribute.description]\nThe description can be updated for user defined attributes only.\n* [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]\nTo update the list of allowed values, clients need to use the fetched list\nof allowed values and add or remove values to or from the same list.\nThe mutable allowed values can be updated for both user defined and System\ndefined attributes. The immutable allowed values cannot be updated or\ndeleted. The updated list of allowed values cannot be empty. If an allowed\nvalue that is already used by some resource's attribute is deleted, then\nthe association between the resource and the attribute value will also be\ndeleted.\n* [cardinality][google.cloud.apihub.v1.Attribute.cardinality]\nThe cardinality can be updated for user defined attributes only.\nCardinality can only be increased during an update.\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]\nshould be used to specify the fields being updated.", - "file": "Client/UpdateAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttribute", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateAttribute", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateAttribute", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateAttributeRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Attribute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateAttribute", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateAttribute", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateAttribute" }, + "description": "UpdateAttribute update the attribute. The following fields in the\n[Attribute resource][google.cloud.apihub.v1.Attribute] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Attribute.display_name]\nThe display name can be updated for user defined attributes only.\n* [description][google.cloud.apihub.v1.Attribute.description]\nThe description can be updated for user defined attributes only.\n* [allowed_values][google.cloud.apihub.v1.Attribute.allowed_values]\nTo update the list of allowed values, clients need to use the fetched list\nof allowed values and add or remove values to or from the same list.\nThe mutable allowed values can be updated for both user defined and System\ndefined attributes. The immutable allowed values cannot be updated or\ndeleted. The updated list of allowed values cannot be empty. If an allowed\nvalue that is already used by some resource's attribute is deleted, then\nthe association between the resource and the attribute value will also be\ndeleted.\n* [cardinality][google.cloud.apihub.v1.Attribute.cardinality]\nThe cardinality can be updated for user defined attributes only.\nCardinality can only be increased during an update.\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateAttributeRequest.update_mask]\nshould be used to specify the fields being updated.", + "file": "Client/UpdateAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateAttribute Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateDeployment_sync", - "title": "apihub UpdateDeployment Sample", - "description": "UpdateDeployment update a deployment resource in the API hub. The following fields in the\n[deployment resource][google.cloud.apihub.v1.Deployment] can be\nupdated: \n\n* [display_name][google.cloud.apihub.v1.Deployment.display_name]\n* [description][google.cloud.apihub.v1.Deployment.description]\n* [documentation][google.cloud.apihub.v1.Deployment.documentation]\n* [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]\n* [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]\n* [endpoints][google.cloud.apihub.v1.Deployment.endpoints]\n* [slo][google.cloud.apihub.v1.Deployment.slo]\n* [environment][google.cloud.apihub.v1.Deployment.environment]\n* [attributes][google.cloud.apihub.v1.Deployment.attributes]\n* [source_project] [google.cloud.apihub.v1.Deployment.source_project]\n* [source_environment]\n[google.cloud.apihub.v1.Deployment.source_environment]\n* [management_url][google.cloud.apihub.v1.Deployment.management_url]\n* [source_uri][google.cloud.apihub.v1.Deployment.source_uri]\nThe\n[update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]\nshould be used to specify the fields being updated.", - "file": "Client/UpdateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeployment", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateDeployment", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateDeployment", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateDeploymentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateDeployment", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateDeployment", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateDeployment" }, + "description": "UpdateDeployment update a deployment resource in the API hub. The following fields in the\n[deployment resource][google.cloud.apihub.v1.Deployment] can be\nupdated: \n\n* [display_name][google.cloud.apihub.v1.Deployment.display_name]\n* [description][google.cloud.apihub.v1.Deployment.description]\n* [documentation][google.cloud.apihub.v1.Deployment.documentation]\n* [deployment_type][google.cloud.apihub.v1.Deployment.deployment_type]\n* [resource_uri][google.cloud.apihub.v1.Deployment.resource_uri]\n* [endpoints][google.cloud.apihub.v1.Deployment.endpoints]\n* [slo][google.cloud.apihub.v1.Deployment.slo]\n* [environment][google.cloud.apihub.v1.Deployment.environment]\n* [attributes][google.cloud.apihub.v1.Deployment.attributes]\n* [source_project] [google.cloud.apihub.v1.Deployment.source_project]\n* [source_environment]\n[google.cloud.apihub.v1.Deployment.source_environment]\n* [management_url][google.cloud.apihub.v1.Deployment.management_url]\n* [source_uri][google.cloud.apihub.v1.Deployment.source_uri]\nThe\n[update_mask][google.cloud.apihub.v1.UpdateDeploymentRequest.update_mask]\nshould be used to specify the fields being updated.", + "file": "Client/UpdateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateDeployment Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateExternalApi_sync", - "title": "apihub UpdateExternalApi Sample", - "description": "UpdateExternalApi update an External API resource in the API hub. The following fields can be\nupdated: \n\n* [display_name][google.cloud.apihub.v1.ExternalApi.display_name]\n* [description][google.cloud.apihub.v1.ExternalApi.description]\n* [documentation][google.cloud.apihub.v1.ExternalApi.documentation]\n* [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]\n* [paths][google.cloud.apihub.v1.ExternalApi.paths]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]\nshould be used to specify the fields being updated.", - "file": "Client/UpdateExternalApi/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExternalApi", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateExternalApi", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateExternalApi", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateExternalApi" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateExternalApiRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateExternalApiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ExternalApi", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateExternalApi", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateExternalApi", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateExternalApi" }, + "description": "UpdateExternalApi update an External API resource in the API hub. The following fields can be\nupdated: \n\n* [display_name][google.cloud.apihub.v1.ExternalApi.display_name]\n* [description][google.cloud.apihub.v1.ExternalApi.description]\n* [documentation][google.cloud.apihub.v1.ExternalApi.documentation]\n* [endpoints][google.cloud.apihub.v1.ExternalApi.endpoints]\n* [paths][google.cloud.apihub.v1.ExternalApi.paths]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateExternalApiRequest.update_mask]\nshould be used to specify the fields being updated.", + "file": "Client/UpdateExternalApi/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateExternalApi_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateExternalApi Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateSpec_sync", - "title": "apihub UpdateSpec Sample", - "description": "UpdateSpec update spec. The following fields in the\n[spec][google.cloud.apihub.v1.Spec] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Spec.display_name]\n* [source_uri][google.cloud.apihub.v1.Spec.source_uri]\n* [lint_response][google.cloud.apihub.v1.Spec.lint_response]\n* [attributes][google.cloud.apihub.v1.Spec.attributes]\n* [contents][google.cloud.apihub.v1.Spec.contents]\n* [spec_type][google.cloud.apihub.v1.Spec.spec_type]\n\nIn case of an OAS spec, updating spec contents can lead to: \n1. Creation, deletion and update of operations.\n2. Creation, deletion and update of definitions.\n3. Update of other info parsed out from the new spec.\n\nIn case of contents or source_uri being present in update mask, spec_type\nmust also be present. Also, spec_type can not be present in update mask if\ncontents or source_uri is not present.\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]\nshould be used to specify the fields being updated.", - "file": "Client/UpdateSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpec", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateSpec", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateSpec", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateSpec" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateSpecRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Spec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateSpec", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateSpec", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateSpec" }, + "description": "UpdateSpec update spec. The following fields in the\n[spec][google.cloud.apihub.v1.Spec] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Spec.display_name]\n* [source_uri][google.cloud.apihub.v1.Spec.source_uri]\n* [lint_response][google.cloud.apihub.v1.Spec.lint_response]\n* [attributes][google.cloud.apihub.v1.Spec.attributes]\n* [contents][google.cloud.apihub.v1.Spec.contents]\n* [spec_type][google.cloud.apihub.v1.Spec.spec_type]\n\nIn case of an OAS spec, updating spec contents can lead to: \n1. Creation, deletion and update of operations.\n2. Creation, deletion and update of definitions.\n3. Update of other info parsed out from the new spec.\n\nIn case of contents or source_uri being present in update mask, spec_type\nmust also be present. Also, spec_type can not be present in update mask if\ncontents or source_uri is not present.\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateSpecRequest.update_mask]\nshould be used to specify the fields being updated.", + "file": "Client/UpdateSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateSpec Sample" }, { - "regionTag": "apihub_v1_generated_ApiHub_UpdateVersion_sync", - "title": "apihub UpdateVersion Sample", - "description": "UpdateVersion update API version. The following fields in the\n[version][google.cloud.apihub.v1.Version] can be updated currently: \n\n* [display_name][google.cloud.apihub.v1.Version.display_name]\n* [description][google.cloud.apihub.v1.Version.description]\n* [documentation][google.cloud.apihub.v1.Version.documentation]\n* [deployments][google.cloud.apihub.v1.Version.deployments]\n* [lifecycle][google.cloud.apihub.v1.Version.lifecycle]\n* [compliance][google.cloud.apihub.v1.Version.compliance]\n* [accreditation][google.cloud.apihub.v1.Version.accreditation]\n* [attributes][google.cloud.apihub.v1.Version.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]\nshould be used to specify the fields being updated.", - "file": "Client/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.cloud.apihub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apihub.v1.Client.UpdateVersion", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHub.UpdateVersion", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHub", + "shortName": "ApiHub" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Version", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apihub.v1.Client" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.apihub.v1.ApiHub.UpdateVersion", - "service": { - "shortName": "ApiHub", - "fullName": "google.cloud.apihub.v1.ApiHub" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion update API version. The following fields in the\n[version][google.cloud.apihub.v1.Version] can be updated currently: \n\n* [display_name][google.cloud.apihub.v1.Version.display_name]\n* [description][google.cloud.apihub.v1.Version.description]\n* [documentation][google.cloud.apihub.v1.Version.documentation]\n* [deployments][google.cloud.apihub.v1.Version.deployments]\n* [lifecycle][google.cloud.apihub.v1.Version.lifecycle]\n* [compliance][google.cloud.apihub.v1.Version.compliance]\n* [accreditation][google.cloud.apihub.v1.Version.accreditation]\n* [attributes][google.cloud.apihub.v1.Version.attributes]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateVersionRequest.update_mask]\nshould be used to specify the fields being updated.", + "file": "Client/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHub_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateVersion Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubCollectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubCollectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_CollectApiData_sync", - "title": "apihub CollectApiData Sample", - "description": "CollectApiData collect API data from a source and push it to Hub's collect layer.", - "file": "ApiHubCollectClient/CollectApiData/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectApiData", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.CollectApiData", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubCollect.CollectApiData", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubCollect", + "shortName": "ApiHubCollect" + }, + "shortName": "CollectApiData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CollectApiDataRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CollectApiDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CollectApiDataOperation", - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "CollectApiData", - "fullName": "google.cloud.apihub.v1.ApiHubCollect.CollectApiData", - "service": { - "shortName": "ApiHubCollect", - "fullName": "google.cloud.apihub.v1.ApiHubCollect" - } - } + "shortName": "CollectApiData" }, + "description": "CollectApiData collect API data from a source and push it to Hub's collect layer.", + "file": "ApiHubCollectClient/CollectApiData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_CollectApiData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CollectApiData Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubCollectClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubCollectClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ApiHubCollectClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ApiHubCollectClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubCollectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubCollectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ApiHubCollectClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ApiHubCollectClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCollect_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ApiHubCollectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCollectClient", + "shortName": "ApiHubCollectClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCollectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ApiHubCollectClient", - "fullName": "google.cloud.apihub.v1.ApiHubCollectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ApiHubCollectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCollect_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubCurateClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubCurateClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_CreateCuration_sync", - "title": "apihub CreateCuration Sample", - "description": "CreateCuration create a curation resource in the API hub.\nOnce a curation resource is created, plugin instances can start using it.", - "file": "ApiHubCurateClient/CreateCuration/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCuration", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.CreateCuration", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate.CreateCuration", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate", + "shortName": "ApiHubCurate" + }, + "shortName": "CreateCuration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateCurationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateCurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Curation", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "CreateCuration", - "fullName": "google.cloud.apihub.v1.ApiHubCurate.CreateCuration", - "service": { - "shortName": "ApiHubCurate", - "fullName": "google.cloud.apihub.v1.ApiHubCurate" - } - } + "shortName": "CreateCuration" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateCuration create a curation resource in the API hub.\nOnce a curation resource is created, plugin instances can start using it.", + "file": "ApiHubCurateClient/CreateCuration/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_CreateCuration_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateCuration Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_DeleteCuration_sync", - "title": "apihub DeleteCuration Sample", - "description": "DeleteCuration delete a curation resource in the API hub. A curation can only be deleted\nif it's not being used by any plugin instance.", - "file": "ApiHubCurateClient/DeleteCuration/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCuration", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.DeleteCuration", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate.DeleteCuration", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate", + "shortName": "ApiHubCurate" + }, + "shortName": "DeleteCuration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteCurationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteCurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "DeleteCuration", - "fullName": "google.cloud.apihub.v1.ApiHubCurate.DeleteCuration", - "service": { - "shortName": "ApiHubCurate", - "fullName": "google.cloud.apihub.v1.ApiHubCurate" - } - } + "shortName": "DeleteCuration" }, + "description": "DeleteCuration delete a curation resource in the API hub. A curation can only be deleted\nif it's not being used by any plugin instance.", + "file": "ApiHubCurateClient/DeleteCuration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_DeleteCuration_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteCuration Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubCurateClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubCurateClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_GetCuration_sync", - "title": "apihub GetCuration Sample", - "description": "GetCuration get curation resource details.", - "file": "ApiHubCurateClient/GetCuration/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCuration", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.GetCuration", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate.GetCuration", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate", + "shortName": "ApiHubCurate" + }, + "shortName": "GetCuration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetCurationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetCurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Curation", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "GetCuration", - "fullName": "google.cloud.apihub.v1.ApiHubCurate.GetCuration", - "service": { - "shortName": "ApiHubCurate", - "fullName": "google.cloud.apihub.v1.ApiHubCurate" - } - } + "shortName": "GetCuration" }, + "description": "GetCuration get curation resource details.", + "file": "ApiHubCurateClient/GetCuration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_GetCuration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetCuration Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ApiHubCurateClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ApiHubCurateClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubCurateClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubCurateClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_ListCurations_sync", - "title": "apihub ListCurations Sample", - "description": "ListCurations list curation resources in the API hub.", - "file": "ApiHubCurateClient/ListCurations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCurations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.ListCurations", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate.ListCurations", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate", + "shortName": "ApiHubCurate" + }, + "shortName": "ListCurations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListCurationsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListCurationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CurationIterator", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "ListCurations", - "fullName": "google.cloud.apihub.v1.ApiHubCurate.ListCurations", - "service": { - "shortName": "ApiHubCurate", - "fullName": "google.cloud.apihub.v1.ApiHubCurate" - } - } + "shortName": "ListCurations" }, + "description": "ListCurations list curation resources in the API hub.", + "file": "ApiHubCurateClient/ListCurations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_ListCurations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListCurations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ApiHubCurateClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ApiHubCurateClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ApiHubCurateClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ApiHubCurateClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubCurate_UpdateCuration_sync", - "title": "apihub UpdateCuration Sample", - "description": "UpdateCuration update a curation resource in the API hub. The following fields in the\n[curation][google.cloud.apihub.v1.Curation] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Curation.display_name]\n* [description][google.cloud.apihub.v1.Curation.description]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]\nshould be used to specify the fields being updated.", - "file": "ApiHubCurateClient/UpdateCuration/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCuration", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubCurateClient", + "shortName": "ApiHubCurateClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubCurateClient.UpdateCuration", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate.UpdateCuration", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubCurate", + "shortName": "ApiHubCurate" + }, + "shortName": "UpdateCuration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateCurationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateCurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Curation", - "client": { - "shortName": "ApiHubCurateClient", - "fullName": "google.cloud.apihub.v1.ApiHubCurateClient" - }, - "method": { - "shortName": "UpdateCuration", - "fullName": "google.cloud.apihub.v1.ApiHubCurate.UpdateCuration", - "service": { - "shortName": "ApiHubCurate", - "fullName": "google.cloud.apihub.v1.ApiHubCurate" - } - } + "shortName": "UpdateCuration" }, + "description": "UpdateCuration update a curation resource in the API hub. The following fields in the\n[curation][google.cloud.apihub.v1.Curation] can be updated: \n\n* [display_name][google.cloud.apihub.v1.Curation.display_name]\n* [description][google.cloud.apihub.v1.Curation.description]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdateApiRequest.update_mask]\nshould be used to specify the fields being updated.", + "file": "ApiHubCurateClient/UpdateCuration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubCurate_UpdateCuration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateCuration Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubDependenciesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubDependenciesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_CreateDependency_sync", - "title": "apihub CreateDependency Sample", - "description": "CreateDependency create a dependency between two entities in the API hub.", - "file": "ApiHubDependenciesClient/CreateDependency/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDependency", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.CreateDependency", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies.CreateDependency", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies", + "shortName": "ApiHubDependencies" + }, + "shortName": "CreateDependency" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateDependencyRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateDependencyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Dependency", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "CreateDependency", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies.CreateDependency", - "service": { - "shortName": "ApiHubDependencies", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies" - } - } + "shortName": "CreateDependency" }, + "description": "CreateDependency create a dependency between two entities in the API hub.", + "file": "ApiHubDependenciesClient/CreateDependency/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_CreateDependency_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateDependency Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_DeleteDependency_sync", - "title": "apihub DeleteDependency Sample", - "description": "DeleteDependency delete the dependency resource.", - "file": "ApiHubDependenciesClient/DeleteDependency/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDependency", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.DeleteDependency", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies.DeleteDependency", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies", + "shortName": "ApiHubDependencies" + }, + "shortName": "DeleteDependency" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteDependencyRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteDependencyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "DeleteDependency", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies.DeleteDependency", - "service": { - "shortName": "ApiHubDependencies", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies" - } - } + "shortName": "DeleteDependency" }, + "description": "DeleteDependency delete the dependency resource.", + "file": "ApiHubDependenciesClient/DeleteDependency/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_DeleteDependency_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteDependency Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubDependenciesClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubDependenciesClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_GetDependency_sync", - "title": "apihub GetDependency Sample", - "description": "GetDependency get details about a dependency resource in the API hub.", - "file": "ApiHubDependenciesClient/GetDependency/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDependency", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.GetDependency", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies.GetDependency", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies", + "shortName": "ApiHubDependencies" + }, + "shortName": "GetDependency" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetDependencyRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetDependencyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Dependency", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "GetDependency", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies.GetDependency", - "service": { - "shortName": "ApiHubDependencies", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies" - } - } + "shortName": "GetDependency" }, + "description": "GetDependency get details about a dependency resource in the API hub.", + "file": "ApiHubDependenciesClient/GetDependency/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_GetDependency_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetDependency Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ApiHubDependenciesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ApiHubDependenciesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubDependenciesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubDependenciesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_ListDependencies_sync", - "title": "apihub ListDependencies Sample", - "description": "ListDependencies list dependencies based on the provided filter and pagination parameters.", - "file": "ApiHubDependenciesClient/ListDependencies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDependencies", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.ListDependencies", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies.ListDependencies", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies", + "shortName": "ApiHubDependencies" + }, + "shortName": "ListDependencies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListDependenciesRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListDependenciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DependencyIterator", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "ListDependencies", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies.ListDependencies", - "service": { - "shortName": "ApiHubDependencies", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies" - } - } + "shortName": "ListDependencies" }, + "description": "ListDependencies list dependencies based on the provided filter and pagination parameters.", + "file": "ApiHubDependenciesClient/ListDependencies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_ListDependencies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListDependencies Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ApiHubDependenciesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ApiHubDependenciesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ApiHubDependenciesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ApiHubDependenciesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDependencies_UpdateDependency_sync", - "title": "apihub UpdateDependency Sample", - "description": "UpdateDependency update a dependency based on the\n[update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]\nprovided in the request.\n\nThe following fields in the [dependency][google.cloud.apihub.v1.Dependency]\ncan be updated: \n* [description][google.cloud.apihub.v1.Dependency.description]", - "file": "ApiHubDependenciesClient/UpdateDependency/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDependency", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient", + "shortName": "ApiHubDependenciesClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient.UpdateDependency", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies.UpdateDependency", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDependencies", + "shortName": "ApiHubDependencies" + }, + "shortName": "UpdateDependency" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateDependencyRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateDependencyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Dependency", - "client": { - "shortName": "ApiHubDependenciesClient", - "fullName": "google.cloud.apihub.v1.ApiHubDependenciesClient" - }, - "method": { - "shortName": "UpdateDependency", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies.UpdateDependency", - "service": { - "shortName": "ApiHubDependencies", - "fullName": "google.cloud.apihub.v1.ApiHubDependencies" - } - } + "shortName": "UpdateDependency" }, + "description": "UpdateDependency update a dependency based on the\n[update_mask][google.cloud.apihub.v1.UpdateDependencyRequest.update_mask]\nprovided in the request.\n\nThe following fields in the [dependency][google.cloud.apihub.v1.Dependency]\ncan be updated: \n* [description][google.cloud.apihub.v1.Dependency.description]", + "file": "ApiHubDependenciesClient/UpdateDependency/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDependencies_UpdateDependency_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateDependency Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubDiscoveryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubDiscoveryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubDiscoveryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubDiscoveryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetDiscoveredApiObservation_sync", - "title": "apihub GetDiscoveredApiObservation Sample", - "description": "GetDiscoveredApiObservation gets a DiscoveredAPIObservation in a given project, location and\nApiObservation.", - "file": "ApiHubDiscoveryClient/GetDiscoveredApiObservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiscoveredApiObservation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetDiscoveredApiObservation", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.GetDiscoveredApiObservation", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery", + "shortName": "ApiHubDiscovery" + }, + "shortName": "GetDiscoveredApiObservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetDiscoveredApiObservationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetDiscoveredApiObservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.DiscoveredApiObservation", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "GetDiscoveredApiObservation", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.GetDiscoveredApiObservation", - "service": { - "shortName": "ApiHubDiscovery", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery" - } - } + "shortName": "GetDiscoveredApiObservation" }, + "description": "GetDiscoveredApiObservation gets a DiscoveredAPIObservation in a given project, location and\nApiObservation.", + "file": "ApiHubDiscoveryClient/GetDiscoveredApiObservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetDiscoveredApiObservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetDiscoveredApiObservation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetDiscoveredApiOperation_sync", - "title": "apihub GetDiscoveredApiOperation Sample", - "description": "GetDiscoveredApiOperation gets a DiscoveredAPIOperation in a given project, location,\nApiObservation and ApiOperation.", - "file": "ApiHubDiscoveryClient/GetDiscoveredApiOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiscoveredApiOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetDiscoveredApiOperation", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.GetDiscoveredApiOperation", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery", + "shortName": "ApiHubDiscovery" + }, + "shortName": "GetDiscoveredApiOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetDiscoveredApiOperationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetDiscoveredApiOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.DiscoveredApiOperation", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "GetDiscoveredApiOperation", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.GetDiscoveredApiOperation", - "service": { - "shortName": "ApiHubDiscovery", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery" - } - } + "shortName": "GetDiscoveredApiOperation" }, + "description": "GetDiscoveredApiOperation gets a DiscoveredAPIOperation in a given project, location,\nApiObservation and ApiOperation.", + "file": "ApiHubDiscoveryClient/GetDiscoveredApiOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetDiscoveredApiOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetDiscoveredApiOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ApiHubDiscoveryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ApiHubDiscoveryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubDiscoveryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubDiscoveryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListDiscoveredApiObservations_sync", - "title": "apihub ListDiscoveredApiObservations Sample", - "description": "ListDiscoveredApiObservations lists all the DiscoveredAPIObservations in a given project and location.", - "file": "ApiHubDiscoveryClient/ListDiscoveredApiObservations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDiscoveredApiObservations", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListDiscoveredApiObservations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "apihubpb.ListDiscoveredApiObservationsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DiscoveredApiObservationIterator", "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" }, + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListDiscoveredApiObservations", "method": { - "shortName": "ListDiscoveredApiObservations", "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.ListDiscoveredApiObservations", "service": { - "shortName": "ApiHubDiscovery", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery" + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery", + "shortName": "ApiHubDiscovery" + }, + "shortName": "ListDiscoveredApiObservations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "apihubpb.ListDiscoveredApiObservationsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DiscoveredApiObservationIterator", + "shortName": "ListDiscoveredApiObservations" }, + "description": "ListDiscoveredApiObservations lists all the DiscoveredAPIObservations in a given project and location.", + "file": "ApiHubDiscoveryClient/ListDiscoveredApiObservations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListDiscoveredApiObservations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListDiscoveredApiObservations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListDiscoveredApiOperations_sync", - "title": "apihub ListDiscoveredApiOperations Sample", - "description": "ListDiscoveredApiOperations lists all the DiscoveredAPIOperations in a given project, location and\nApiObservation.", - "file": "ApiHubDiscoveryClient/ListDiscoveredApiOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDiscoveredApiOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListDiscoveredApiOperations", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.ListDiscoveredApiOperations", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscovery", + "shortName": "ApiHubDiscovery" + }, + "shortName": "ListDiscoveredApiOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListDiscoveredApiOperationsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListDiscoveredApiOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiscoveredApiOperationIterator", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "ListDiscoveredApiOperations", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery.ListDiscoveredApiOperations", - "service": { - "shortName": "ApiHubDiscovery", - "fullName": "google.cloud.apihub.v1.ApiHubDiscovery" - } - } + "shortName": "ListDiscoveredApiOperations" }, + "description": "ListDiscoveredApiOperations lists all the DiscoveredAPIOperations in a given project, location and\nApiObservation.", + "file": "ApiHubDiscoveryClient/ListDiscoveredApiOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListDiscoveredApiOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListDiscoveredApiOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ApiHubDiscoveryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ApiHubDiscoveryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ApiHubDiscoveryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient", + "shortName": "ApiHubDiscoveryClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ApiHubDiscoveryClient", - "fullName": "google.cloud.apihub.v1.ApiHubDiscoveryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ApiHubDiscoveryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubDiscovery_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubPluginClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubPluginClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_CreatePlugin_sync", - "title": "apihub CreatePlugin Sample", - "description": "CreatePlugin create an API Hub plugin resource in the API hub.\nOnce a plugin is created, it can be used to create plugin instances.", - "file": "ApiHubPluginClient/CreatePlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePlugin", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.CreatePlugin", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "CreatePlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreatePluginRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreatePluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Plugin", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "CreatePlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "CreatePlugin" }, + "description": "CreatePlugin create an API Hub plugin resource in the API hub.\nOnce a plugin is created, it can be used to create plugin instances.", + "file": "ApiHubPluginClient/CreatePlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_CreatePlugin_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreatePlugin Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_CreatePluginInstance_sync", - "title": "apihub CreatePluginInstance Sample", - "description": "CreatePluginInstance creates a Plugin instance in the API hub.", - "file": "ApiHubPluginClient/CreatePluginInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePluginInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.CreatePluginInstance", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.CreatePluginInstance", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "CreatePluginInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreatePluginInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreatePluginInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePluginInstanceOperation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "CreatePluginInstance", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.CreatePluginInstance", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "CreatePluginInstance" }, + "description": "CreatePluginInstance creates a Plugin instance in the API hub.", + "file": "ApiHubPluginClient/CreatePluginInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_CreatePluginInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreatePluginInstance Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubPluginClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubPluginClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_DeletePlugin_sync", - "title": "apihub DeletePlugin Sample", - "description": "DeletePlugin delete a Plugin in API hub.\nNote, only user owned plugins can be deleted via this method.", - "file": "ApiHubPluginClient/DeletePlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePlugin", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DeletePlugin", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DeletePlugin", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "DeletePlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeletePluginRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeletePluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePluginOperation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "DeletePlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DeletePlugin", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "DeletePlugin" }, + "description": "DeletePlugin delete a Plugin in API hub.\nNote, only user owned plugins can be deleted via this method.", + "file": "ApiHubPluginClient/DeletePlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_DeletePlugin_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeletePlugin Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_DeletePluginInstance_sync", - "title": "apihub DeletePluginInstance Sample", - "description": "DeletePluginInstance deletes a plugin instance in the API hub.", - "file": "ApiHubPluginClient/DeletePluginInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePluginInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DeletePluginInstance", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DeletePluginInstance", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "DeletePluginInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeletePluginInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeletePluginInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePluginInstanceOperation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "DeletePluginInstance", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DeletePluginInstance", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "DeletePluginInstance" }, + "description": "DeletePluginInstance deletes a plugin instance in the API hub.", + "file": "ApiHubPluginClient/DeletePluginInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_DeletePluginInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeletePluginInstance Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_DisablePlugin_sync", - "title": "apihub DisablePlugin Sample", - "description": "DisablePlugin disables a plugin.\nThe `state` of the plugin after disabling is `DISABLED`", - "file": "ApiHubPluginClient/DisablePlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisablePlugin", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DisablePlugin", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DisablePlugin", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "DisablePlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DisablePluginRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DisablePluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Plugin", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "DisablePlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DisablePlugin", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "DisablePlugin" }, + "description": "DisablePlugin disables a plugin.\nThe `state` of the plugin after disabling is `DISABLED`", + "file": "ApiHubPluginClient/DisablePlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_DisablePlugin_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DisablePlugin Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_DisablePluginInstanceAction_sync", - "title": "apihub DisablePluginInstanceAction Sample", - "description": "DisablePluginInstanceAction disables a plugin instance in the API hub.", - "file": "ApiHubPluginClient/DisablePluginInstanceAction/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisablePluginInstanceAction", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.DisablePluginInstanceAction", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "DisablePluginInstanceAction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DisablePluginInstanceActionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DisablePluginInstanceActionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisablePluginInstanceActionOperation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "DisablePluginInstanceAction", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "DisablePluginInstanceAction" }, + "description": "DisablePluginInstanceAction disables a plugin instance in the API hub.", + "file": "ApiHubPluginClient/DisablePluginInstanceAction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_DisablePluginInstanceAction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DisablePluginInstanceAction Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_EnablePlugin_sync", - "title": "apihub EnablePlugin Sample", - "description": "EnablePlugin enables a plugin.\nThe `state` of the plugin after enabling is `ENABLED`", - "file": "ApiHubPluginClient/EnablePlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnablePlugin", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.EnablePlugin", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.EnablePlugin", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "EnablePlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.EnablePluginRequest", - "name": "req" + "name": "req", + "type": "apihubpb.EnablePluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Plugin", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "EnablePlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.EnablePlugin", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "EnablePlugin" }, + "description": "EnablePlugin enables a plugin.\nThe `state` of the plugin after enabling is `ENABLED`", + "file": "ApiHubPluginClient/EnablePlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_EnablePlugin_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub EnablePlugin Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_EnablePluginInstanceAction_sync", - "title": "apihub EnablePluginInstanceAction Sample", - "description": "EnablePluginInstanceAction enables a plugin instance in the API hub.", - "file": "ApiHubPluginClient/EnablePluginInstanceAction/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnablePluginInstanceAction", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.EnablePluginInstanceAction", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "EnablePluginInstanceAction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.EnablePluginInstanceActionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.EnablePluginInstanceActionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnablePluginInstanceActionOperation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "EnablePluginInstanceAction", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "EnablePluginInstanceAction" }, + "description": "EnablePluginInstanceAction enables a plugin instance in the API hub.", + "file": "ApiHubPluginClient/EnablePluginInstanceAction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_EnablePluginInstanceAction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub EnablePluginInstanceAction Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_ExecutePluginInstanceAction_sync", - "title": "apihub ExecutePluginInstanceAction Sample", - "description": "ExecutePluginInstanceAction executes a plugin instance in the API hub.", - "file": "ApiHubPluginClient/ExecutePluginInstanceAction/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecutePluginInstanceAction", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ExecutePluginInstanceAction", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "ExecutePluginInstanceAction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ExecutePluginInstanceActionRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ExecutePluginInstanceActionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutePluginInstanceActionOperation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "ExecutePluginInstanceAction", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "ExecutePluginInstanceAction" }, + "description": "ExecutePluginInstanceAction executes a plugin instance in the API hub.", + "file": "ApiHubPluginClient/ExecutePluginInstanceAction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_ExecutePluginInstanceAction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ExecutePluginInstanceAction Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ApiHubPluginClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ApiHubPluginClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ApiHubPluginClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ApiHubPluginClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_GetPlugin_sync", - "title": "apihub GetPlugin Sample", - "description": "GetPlugin get an API Hub plugin.", - "file": "ApiHubPluginClient/GetPlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPlugin", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetPlugin", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.GetPlugin", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "GetPlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetPluginRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetPluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.Plugin", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "GetPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.GetPlugin", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "GetPlugin" }, + "description": "GetPlugin get an API Hub plugin.", + "file": "ApiHubPluginClient/GetPlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_GetPlugin_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetPlugin Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_GetPluginInstance_sync", - "title": "apihub GetPluginInstance Sample", - "description": "GetPluginInstance get an API Hub plugin instance.", - "file": "ApiHubPluginClient/GetPluginInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPluginInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.GetPluginInstance", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.GetPluginInstance", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "GetPluginInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetPluginInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetPluginInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.PluginInstance", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "GetPluginInstance", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.GetPluginInstance", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "GetPluginInstance" }, + "description": "GetPluginInstance get an API Hub plugin instance.", + "file": "ApiHubPluginClient/GetPluginInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_GetPluginInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetPluginInstance Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ApiHubPluginClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ApiHubPluginClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ApiHubPluginClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ApiHubPluginClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_ListPluginInstances_sync", - "title": "apihub ListPluginInstances Sample", - "description": "ListPluginInstances list all the plugins in a given project and location.\n`-` can be used as wildcard value for {plugin_id}", - "file": "ApiHubPluginClient/ListPluginInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPluginInstances", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListPluginInstances", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "apihubpb.ListPluginInstancesRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "PluginInstanceIterator", "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" }, + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListPluginInstances", "method": { - "shortName": "ListPluginInstances", "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ListPluginInstances", "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "ListPluginInstances" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "apihubpb.ListPluginInstancesRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "PluginInstanceIterator", + "shortName": "ListPluginInstances" }, + "description": "ListPluginInstances list all the plugins in a given project and location.\n`-` can be used as wildcard value for {plugin_id}", + "file": "ApiHubPluginClient/ListPluginInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_ListPluginInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListPluginInstances Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_ListPlugins_sync", - "title": "apihub ListPlugins Sample", - "description": "ListPlugins list all the plugins in a given project and location.", - "file": "ApiHubPluginClient/ListPlugins/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPlugins", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.ListPlugins", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ListPlugins", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "ListPlugins" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListPluginsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListPluginsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PluginIterator", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "ListPlugins", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.ListPlugins", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "ListPlugins" }, + "description": "ListPlugins list all the plugins in a given project and location.", + "file": "ApiHubPluginClient/ListPlugins/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_ListPlugins_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListPlugins Sample" }, { - "regionTag": "apihub_v1_generated_ApiHubPlugin_UpdatePluginInstance_sync", - "title": "apihub UpdatePluginInstance Sample", - "description": "UpdatePluginInstance updates a plugin instance in the API hub.\nThe following fields in the\n[plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated\ncurrently: \n\n* [display_name][google.cloud.apihub.v1.PluginInstance.display_name]\n* [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]\nshould be used to specify the fields being updated.\n\nTo update the\n[auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and\n[additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]\nof the plugin instance, use the\n[ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]\nmethod.", - "file": "ApiHubPluginClient/UpdatePluginInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePluginInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ApiHubPluginClient", + "shortName": "ApiHubPluginClient" + }, "fullName": "google.cloud.apihub.v1.ApiHubPluginClient.UpdatePluginInstance", + "method": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin.UpdatePluginInstance", + "service": { + "fullName": "google.cloud.apihub.v1.ApiHubPlugin", + "shortName": "ApiHubPlugin" + }, + "shortName": "UpdatePluginInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdatePluginInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdatePluginInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.PluginInstance", - "client": { - "shortName": "ApiHubPluginClient", - "fullName": "google.cloud.apihub.v1.ApiHubPluginClient" - }, - "method": { - "shortName": "UpdatePluginInstance", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin.UpdatePluginInstance", - "service": { - "shortName": "ApiHubPlugin", - "fullName": "google.cloud.apihub.v1.ApiHubPlugin" - } - } + "shortName": "UpdatePluginInstance" }, + "description": "UpdatePluginInstance updates a plugin instance in the API hub.\nThe following fields in the\n[plugin_instance][google.cloud.apihub.v1.PluginInstance] can be updated\ncurrently: \n\n* [display_name][google.cloud.apihub.v1.PluginInstance.display_name]\n* [schedule_cron_expression][PluginInstance.actions.schedule_cron_expression]\n\nThe\n[update_mask][google.cloud.apihub.v1.UpdatePluginInstanceRequest.update_mask]\nshould be used to specify the fields being updated.\n\nTo update the\n[auth_config][google.cloud.apihub.v1.PluginInstance.auth_config] and\n[additional_config][google.cloud.apihub.v1.PluginInstance.additional_config]\nof the plugin instance, use the\n[ApplyPluginInstanceConfig][google.cloud.apihub.v1.ApiHubPlugin.ApplyPluginInstanceConfig]\nmethod.", + "file": "ApiHubPluginClient/UpdatePluginInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_ApiHubPlugin_UpdatePluginInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdatePluginInstance Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "HostProjectRegistrationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "HostProjectRegistrationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_CreateHostProjectRegistration_sync", - "title": "apihub CreateHostProjectRegistration Sample", - "description": "CreateHostProjectRegistration create a host project registration.\nA Google cloud project can be registered as a host project if it is not\nattached as a runtime project to another host project.\nA project can be registered as a host project only once. Subsequent\nregister calls for the same project will fail.", - "file": "HostProjectRegistrationClient/CreateHostProjectRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHostProjectRegistration", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.CreateHostProjectRegistration", + "method": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.CreateHostProjectRegistration", + "service": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService", + "shortName": "HostProjectRegistrationService" + }, + "shortName": "CreateHostProjectRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateHostProjectRegistrationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateHostProjectRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.HostProjectRegistration", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "CreateHostProjectRegistration", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.CreateHostProjectRegistration", - "service": { - "shortName": "HostProjectRegistrationService", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService" - } - } + "shortName": "CreateHostProjectRegistration" }, + "description": "CreateHostProjectRegistration create a host project registration.\nA Google cloud project can be registered as a host project if it is not\nattached as a runtime project to another host project.\nA project can be registered as a host project only once. Subsequent\nregister calls for the same project will fail.", + "file": "HostProjectRegistrationClient/CreateHostProjectRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_CreateHostProjectRegistration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateHostProjectRegistration Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "HostProjectRegistrationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "HostProjectRegistrationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetHostProjectRegistration_sync", - "title": "apihub GetHostProjectRegistration Sample", - "description": "GetHostProjectRegistration get a host project registration.", - "file": "HostProjectRegistrationClient/GetHostProjectRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHostProjectRegistration", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.GetHostProjectRegistration", + "method": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.GetHostProjectRegistration", + "service": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService", + "shortName": "HostProjectRegistrationService" + }, + "shortName": "GetHostProjectRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetHostProjectRegistrationRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetHostProjectRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.HostProjectRegistration", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "GetHostProjectRegistration", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.GetHostProjectRegistration", - "service": { - "shortName": "HostProjectRegistrationService", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService" - } - } + "shortName": "GetHostProjectRegistration" }, + "description": "GetHostProjectRegistration get a host project registration.", + "file": "HostProjectRegistrationClient/GetHostProjectRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetHostProjectRegistration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetHostProjectRegistration Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "HostProjectRegistrationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "HostProjectRegistrationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "HostProjectRegistrationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "HostProjectRegistrationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListHostProjectRegistrations_sync", - "title": "apihub ListHostProjectRegistrations Sample", - "description": "ListHostProjectRegistrations lists host project registrations.", - "file": "HostProjectRegistrationClient/ListHostProjectRegistrations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHostProjectRegistrations", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.ListHostProjectRegistrations", + "method": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.ListHostProjectRegistrations", + "service": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService", + "shortName": "HostProjectRegistrationService" + }, + "shortName": "ListHostProjectRegistrations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListHostProjectRegistrationsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListHostProjectRegistrationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HostProjectRegistrationIterator", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "ListHostProjectRegistrations", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService.ListHostProjectRegistrations", - "service": { - "shortName": "HostProjectRegistrationService", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationService" - } - } + "shortName": "ListHostProjectRegistrations" }, + "description": "ListHostProjectRegistrations lists host project registrations.", + "file": "HostProjectRegistrationClient/ListHostProjectRegistrations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListHostProjectRegistrations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListHostProjectRegistrations Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "HostProjectRegistrationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "HostProjectRegistrationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "HostProjectRegistrationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient", + "shortName": "HostProjectRegistrationClient" + }, "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "HostProjectRegistrationClient", - "fullName": "google.cloud.apihub.v1.HostProjectRegistrationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "HostProjectRegistrationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_HostProjectRegistrationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "LintingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "LintingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "LintingClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "LintingClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "LintingClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "LintingClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "LintingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "LintingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_GetStyleGuide_sync", - "title": "apihub GetStyleGuide Sample", - "description": "GetStyleGuide get the style guide being used for linting.", - "file": "LintingClient/GetStyleGuide/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStyleGuide", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.GetStyleGuide", + "method": { + "fullName": "google.cloud.apihub.v1.LintingService.GetStyleGuide", + "service": { + "fullName": "google.cloud.apihub.v1.LintingService", + "shortName": "LintingService" + }, + "shortName": "GetStyleGuide" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetStyleGuideRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetStyleGuideRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.StyleGuide", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "GetStyleGuide", - "fullName": "google.cloud.apihub.v1.LintingService.GetStyleGuide", - "service": { - "shortName": "LintingService", - "fullName": "google.cloud.apihub.v1.LintingService" - } - } + "shortName": "GetStyleGuide" }, + "description": "GetStyleGuide get the style guide being used for linting.", + "file": "LintingClient/GetStyleGuide/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_GetStyleGuide_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetStyleGuide Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_GetStyleGuideContents_sync", - "title": "apihub GetStyleGuideContents Sample", - "description": "GetStyleGuideContents get the contents of the style guide.", - "file": "LintingClient/GetStyleGuideContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStyleGuideContents", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.GetStyleGuideContents", + "method": { + "fullName": "google.cloud.apihub.v1.LintingService.GetStyleGuideContents", + "service": { + "fullName": "google.cloud.apihub.v1.LintingService", + "shortName": "LintingService" + }, + "shortName": "GetStyleGuideContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetStyleGuideContentsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetStyleGuideContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.StyleGuideContents", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "GetStyleGuideContents", - "fullName": "google.cloud.apihub.v1.LintingService.GetStyleGuideContents", - "service": { - "shortName": "LintingService", - "fullName": "google.cloud.apihub.v1.LintingService" - } - } + "shortName": "GetStyleGuideContents" }, + "description": "GetStyleGuideContents get the contents of the style guide.", + "file": "LintingClient/GetStyleGuideContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_GetStyleGuideContents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetStyleGuideContents Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_LintSpec_sync", - "title": "apihub LintSpec Sample", - "description": "LintSpec lints the requested spec and updates the corresponding API Spec with the\nlint response. This lint response will be available in all subsequent\nGet and List Spec calls to Core service.", - "file": "LintingClient/LintSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "LintSpec", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.LintSpec", + "method": { + "fullName": "google.cloud.apihub.v1.LintingService.LintSpec", + "service": { + "fullName": "google.cloud.apihub.v1.LintingService", + "shortName": "LintingService" + }, + "shortName": "LintSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.LintSpecRequest", - "name": "req" + "name": "req", + "type": "apihubpb.LintSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "LintSpec", - "fullName": "google.cloud.apihub.v1.LintingService.LintSpec", - "service": { - "shortName": "LintingService", - "fullName": "google.cloud.apihub.v1.LintingService" - } - } + "shortName": "LintSpec" }, + "description": "LintSpec lints the requested spec and updates the corresponding API Spec with the\nlint response. This lint response will be available in all subsequent\nGet and List Spec calls to Core service.", + "file": "LintingClient/LintSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_LintSpec_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub LintSpec Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "LintingClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "LintingClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "LintingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "LintingClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_LintingService_UpdateStyleGuide_sync", - "title": "apihub UpdateStyleGuide Sample", - "description": "UpdateStyleGuide update the styleGuide to be used for liniting in by API hub.", - "file": "LintingClient/UpdateStyleGuide/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateStyleGuide", + "client": { + "fullName": "google.cloud.apihub.v1.LintingClient", + "shortName": "LintingClient" + }, "fullName": "google.cloud.apihub.v1.LintingClient.UpdateStyleGuide", + "method": { + "fullName": "google.cloud.apihub.v1.LintingService.UpdateStyleGuide", + "service": { + "fullName": "google.cloud.apihub.v1.LintingService", + "shortName": "LintingService" + }, + "shortName": "UpdateStyleGuide" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.UpdateStyleGuideRequest", - "name": "req" + "name": "req", + "type": "apihubpb.UpdateStyleGuideRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*apihubpb.StyleGuide", - "client": { - "shortName": "LintingClient", - "fullName": "google.cloud.apihub.v1.LintingClient" - }, - "method": { - "shortName": "UpdateStyleGuide", - "fullName": "google.cloud.apihub.v1.LintingService.UpdateStyleGuide", - "service": { - "shortName": "LintingService", - "fullName": "google.cloud.apihub.v1.LintingService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*apihubpb.StyleGuide", + "shortName": "UpdateStyleGuide" }, + "description": "UpdateStyleGuide update the styleGuide to be used for liniting in by API hub.", + "file": "LintingClient/UpdateStyleGuide/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_LintingService_UpdateStyleGuide_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub UpdateStyleGuide Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_CreateApiHubInstance_sync", - "title": "apihub CreateApiHubInstance Sample", - "description": "CreateApiHubInstance provisions instance resources for the API Hub.", - "file": "ProvisioningClient/CreateApiHubInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApiHubInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.CreateApiHubInstance", + "method": { + "fullName": "google.cloud.apihub.v1.Provisioning.CreateApiHubInstance", + "service": { + "fullName": "google.cloud.apihub.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "CreateApiHubInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateApiHubInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateApiHubInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApiHubInstanceOperation", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "CreateApiHubInstance", - "fullName": "google.cloud.apihub.v1.Provisioning.CreateApiHubInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apihub.v1.Provisioning" - } - } + "shortName": "CreateApiHubInstance" }, + "description": "CreateApiHubInstance provisions instance resources for the API Hub.", + "file": "ProvisioningClient/CreateApiHubInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_CreateApiHubInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateApiHubInstance Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_DeleteApiHubInstance_sync", - "title": "apihub DeleteApiHubInstance Sample", - "description": "DeleteApiHubInstance deletes the API hub instance.", - "file": "ProvisioningClient/DeleteApiHubInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApiHubInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.DeleteApiHubInstance", + "method": { + "fullName": "google.cloud.apihub.v1.Provisioning.DeleteApiHubInstance", + "service": { + "fullName": "google.cloud.apihub.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "DeleteApiHubInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteApiHubInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteApiHubInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteApiHubInstanceOperation", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "DeleteApiHubInstance", - "fullName": "google.cloud.apihub.v1.Provisioning.DeleteApiHubInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apihub.v1.Provisioning" - } - } + "shortName": "DeleteApiHubInstance" }, + "description": "DeleteApiHubInstance deletes the API hub instance.", + "file": "ProvisioningClient/DeleteApiHubInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_DeleteApiHubInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteApiHubInstance Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_GetApiHubInstance_sync", - "title": "apihub GetApiHubInstance Sample", - "description": "GetApiHubInstance gets details of a single API Hub instance.", - "file": "ProvisioningClient/GetApiHubInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApiHubInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.GetApiHubInstance", + "method": { + "fullName": "google.cloud.apihub.v1.Provisioning.GetApiHubInstance", + "service": { + "fullName": "google.cloud.apihub.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "GetApiHubInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetApiHubInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetApiHubInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.ApiHubInstance", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetApiHubInstance", - "fullName": "google.cloud.apihub.v1.Provisioning.GetApiHubInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apihub.v1.Provisioning" - } - } + "shortName": "GetApiHubInstance" }, + "description": "GetApiHubInstance gets details of a single API Hub instance.", + "file": "ProvisioningClient/GetApiHubInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_GetApiHubInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetApiHubInstance Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ProvisioningClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ProvisioningClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ProvisioningClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ProvisioningClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProvisioningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProvisioningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_Provisioning_LookupApiHubInstance_sync", - "title": "apihub LookupApiHubInstance Sample", - "description": "LookupApiHubInstance looks up an Api Hub instance in a given GCP project. There will always be\nonly one Api Hub instance for a GCP project across all locations.", - "file": "ProvisioningClient/LookupApiHubInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupApiHubInstance", + "client": { + "fullName": "google.cloud.apihub.v1.ProvisioningClient", + "shortName": "ProvisioningClient" + }, "fullName": "google.cloud.apihub.v1.ProvisioningClient.LookupApiHubInstance", + "method": { + "fullName": "google.cloud.apihub.v1.Provisioning.LookupApiHubInstance", + "service": { + "fullName": "google.cloud.apihub.v1.Provisioning", + "shortName": "Provisioning" + }, + "shortName": "LookupApiHubInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.LookupApiHubInstanceRequest", - "name": "req" + "name": "req", + "type": "apihubpb.LookupApiHubInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.LookupApiHubInstanceResponse", - "client": { - "shortName": "ProvisioningClient", - "fullName": "google.cloud.apihub.v1.ProvisioningClient" - }, - "method": { - "shortName": "LookupApiHubInstance", - "fullName": "google.cloud.apihub.v1.Provisioning.LookupApiHubInstance", - "service": { - "shortName": "Provisioning", - "fullName": "google.cloud.apihub.v1.Provisioning" - } - } + "shortName": "LookupApiHubInstance" }, + "description": "LookupApiHubInstance looks up an Api Hub instance in a given GCP project. There will always be\nonly one Api Hub instance for a GCP project across all locations.", + "file": "ProvisioningClient/LookupApiHubInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_Provisioning_LookupApiHubInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub LookupApiHubInstance Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_CancelOperation_sync", - "title": "apihub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RuntimeProjectAttachmentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RuntimeProjectAttachmentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CancelOperation Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_CreateRuntimeProjectAttachment_sync", - "title": "apihub CreateRuntimeProjectAttachment Sample", - "description": "CreateRuntimeProjectAttachment attaches a runtime project to the host project.", - "file": "RuntimeProjectAttachmentClient/CreateRuntimeProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRuntimeProjectAttachment", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.CreateRuntimeProjectAttachment", + "method": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.CreateRuntimeProjectAttachment", + "service": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService", + "shortName": "RuntimeProjectAttachmentService" + }, + "shortName": "CreateRuntimeProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.CreateRuntimeProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.CreateRuntimeProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.RuntimeProjectAttachment", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "CreateRuntimeProjectAttachment", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.CreateRuntimeProjectAttachment", - "service": { - "shortName": "RuntimeProjectAttachmentService", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService" - } - } + "shortName": "CreateRuntimeProjectAttachment" }, + "description": "CreateRuntimeProjectAttachment attaches a runtime project to the host project.", + "file": "RuntimeProjectAttachmentClient/CreateRuntimeProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_CreateRuntimeProjectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub CreateRuntimeProjectAttachment Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_DeleteOperation_sync", - "title": "apihub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "RuntimeProjectAttachmentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "RuntimeProjectAttachmentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteOperation Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_DeleteRuntimeProjectAttachment_sync", - "title": "apihub DeleteRuntimeProjectAttachment Sample", - "description": "DeleteRuntimeProjectAttachment delete a runtime project attachment in the API Hub. This call will detach\nthe runtime project from the host project.", - "file": "RuntimeProjectAttachmentClient/DeleteRuntimeProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRuntimeProjectAttachment", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.DeleteRuntimeProjectAttachment", + "method": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.DeleteRuntimeProjectAttachment", + "service": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService", + "shortName": "RuntimeProjectAttachmentService" + }, + "shortName": "DeleteRuntimeProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.DeleteRuntimeProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.DeleteRuntimeProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "DeleteRuntimeProjectAttachment", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.DeleteRuntimeProjectAttachment", - "service": { - "shortName": "RuntimeProjectAttachmentService", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService" - } - } + "shortName": "DeleteRuntimeProjectAttachment" }, + "description": "DeleteRuntimeProjectAttachment delete a runtime project attachment in the API Hub. This call will detach\nthe runtime project from the host project.", + "file": "RuntimeProjectAttachmentClient/DeleteRuntimeProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_DeleteRuntimeProjectAttachment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub DeleteRuntimeProjectAttachment Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetLocation_sync", - "title": "apihub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "RuntimeProjectAttachmentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "RuntimeProjectAttachmentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetLocation Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetOperation_sync", - "title": "apihub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RuntimeProjectAttachmentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RuntimeProjectAttachmentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetOperation Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetRuntimeProjectAttachment_sync", - "title": "apihub GetRuntimeProjectAttachment Sample", - "description": "GetRuntimeProjectAttachment gets a runtime project attachment.", - "file": "RuntimeProjectAttachmentClient/GetRuntimeProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRuntimeProjectAttachment", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.GetRuntimeProjectAttachment", + "method": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.GetRuntimeProjectAttachment", + "service": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService", + "shortName": "RuntimeProjectAttachmentService" + }, + "shortName": "GetRuntimeProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.GetRuntimeProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.GetRuntimeProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.RuntimeProjectAttachment", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "GetRuntimeProjectAttachment", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.GetRuntimeProjectAttachment", - "service": { - "shortName": "RuntimeProjectAttachmentService", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService" - } - } + "shortName": "GetRuntimeProjectAttachment" }, + "description": "GetRuntimeProjectAttachment gets a runtime project attachment.", + "file": "RuntimeProjectAttachmentClient/GetRuntimeProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_GetRuntimeProjectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub GetRuntimeProjectAttachment Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListLocations_sync", - "title": "apihub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "RuntimeProjectAttachmentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "RuntimeProjectAttachmentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListLocations Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListOperations_sync", - "title": "apihub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RuntimeProjectAttachmentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RuntimeProjectAttachmentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListOperations Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListRuntimeProjectAttachments_sync", - "title": "apihub ListRuntimeProjectAttachments Sample", - "description": "ListRuntimeProjectAttachments list runtime projects attached to the host project.", - "file": "RuntimeProjectAttachmentClient/ListRuntimeProjectAttachments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuntimeProjectAttachments", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.ListRuntimeProjectAttachments", + "method": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments", + "service": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService", + "shortName": "RuntimeProjectAttachmentService" + }, + "shortName": "ListRuntimeProjectAttachments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.ListRuntimeProjectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "apihubpb.ListRuntimeProjectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RuntimeProjectAttachmentIterator", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "ListRuntimeProjectAttachments", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.ListRuntimeProjectAttachments", - "service": { - "shortName": "RuntimeProjectAttachmentService", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService" - } - } + "shortName": "ListRuntimeProjectAttachments" }, + "description": "ListRuntimeProjectAttachments list runtime projects attached to the host project.", + "file": "RuntimeProjectAttachmentClient/ListRuntimeProjectAttachments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_ListRuntimeProjectAttachments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub ListRuntimeProjectAttachments Sample" }, { - "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_LookupRuntimeProjectAttachment_sync", - "title": "apihub LookupRuntimeProjectAttachment Sample", - "description": "LookupRuntimeProjectAttachment look up a runtime project attachment. This API can be called in the context\nof any project.", - "file": "RuntimeProjectAttachmentClient/LookupRuntimeProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupRuntimeProjectAttachment", + "client": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient", + "shortName": "RuntimeProjectAttachmentClient" + }, "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient.LookupRuntimeProjectAttachment", + "method": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.LookupRuntimeProjectAttachment", + "service": { + "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService", + "shortName": "RuntimeProjectAttachmentService" + }, + "shortName": "LookupRuntimeProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apihubpb.LookupRuntimeProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apihubpb.LookupRuntimeProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apihubpb.LookupRuntimeProjectAttachmentResponse", - "client": { - "shortName": "RuntimeProjectAttachmentClient", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentClient" - }, - "method": { - "shortName": "LookupRuntimeProjectAttachment", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService.LookupRuntimeProjectAttachment", - "service": { - "shortName": "RuntimeProjectAttachmentService", - "fullName": "google.cloud.apihub.v1.RuntimeProjectAttachmentService" - } - } + "shortName": "LookupRuntimeProjectAttachment" }, + "description": "LookupRuntimeProjectAttachment look up a runtime project attachment. This API can be called in the context\nof any project.", + "file": "RuntimeProjectAttachmentClient/LookupRuntimeProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apihub_v1_generated_RuntimeProjectAttachmentService_LookupRuntimeProjectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apihub LookupRuntimeProjectAttachment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json b/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json index 71aa0b6f6ac3..9fb5904dd96d 100644 --- a/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json +++ b/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json @@ -1,429 +1,429 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apikeys/apiv2", - "version": "1.2.7", - "language": "GO", "apis": [ { "id": "google.api.apikeys.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apikeys/apiv2", + "version": "1.2.7" }, "snippets": [ { - "regionTag": "apikeys_v2_generated_ApiKeys_CreateKey_sync", - "title": "apikeys CreateKey Sample", - "description": "CreateKey creates a new API key.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/CreateKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKey", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.CreateKey", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.CreateKey", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "CreateKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.CreateKeyRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.CreateKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateKeyOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "CreateKey", - "fullName": "google.api.apikeys.v2.ApiKeys.CreateKey", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "CreateKey" }, + "description": "CreateKey creates a new API key.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/CreateKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_CreateKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys CreateKey Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_DeleteKey_sync", - "title": "apikeys DeleteKey Sample", - "description": "DeleteKey deletes an API key. Deleted key can be retrieved within 30 days of\ndeletion. Afterward, key will be purged from the project.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/DeleteKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteKey", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.DeleteKey", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.DeleteKey", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "DeleteKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.DeleteKeyRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.DeleteKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteKeyOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "DeleteKey", - "fullName": "google.api.apikeys.v2.ApiKeys.DeleteKey", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "DeleteKey" }, + "description": "DeleteKey deletes an API key. Deleted key can be retrieved within 30 days of\ndeletion. Afterward, key will be purged from the project.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/DeleteKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_DeleteKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys DeleteKey Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_GetKey_sync", - "title": "apikeys GetKey Sample", - "description": "GetKey gets the metadata for an API key. The key string of the API key\nisn't included in the response.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/GetKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKey", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.GetKey", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.GetKey", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "GetKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.GetKeyRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.GetKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apikeyspb.Key", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "GetKey", - "fullName": "google.api.apikeys.v2.ApiKeys.GetKey", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "GetKey" }, + "description": "GetKey gets the metadata for an API key. The key string of the API key\nisn't included in the response.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/GetKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_GetKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys GetKey Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_GetKeyString_sync", - "title": "apikeys GetKeyString Sample", - "description": "GetKeyString get the key string for an API key.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/GetKeyString/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKeyString", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.GetKeyString", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.GetKeyString", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "GetKeyString" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.GetKeyStringRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.GetKeyStringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apikeyspb.GetKeyStringResponse", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "GetKeyString", - "fullName": "google.api.apikeys.v2.ApiKeys.GetKeyString", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "GetKeyString" }, + "description": "GetKeyString get the key string for an API key.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/GetKeyString/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_GetKeyString_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys GetKeyString Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_GetOperation_sync", - "title": "apikeys GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys GetOperation Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_ListKeys_sync", - "title": "apikeys ListKeys Sample", - "description": "ListKeys lists the API keys owned by a project. The key string of the API key\nisn't included in the response.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/ListKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKeys", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.ListKeys", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.ListKeys", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "ListKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.ListKeysRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.ListKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KeyIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "ListKeys", - "fullName": "google.api.apikeys.v2.ApiKeys.ListKeys", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "ListKeys" }, + "description": "ListKeys lists the API keys owned by a project. The key string of the API key\nisn't included in the response.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/ListKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_ListKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys ListKeys Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_LookupKey_sync", - "title": "apikeys LookupKey Sample", - "description": "LookupKey find the parent project and resource name of the API\nkey that matches the key string in the request. If the API key has been\npurged, resource name will not be set.\nThe service account must have the `apikeys.keys.lookup` permission\non the parent project.", - "file": "Client/LookupKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupKey", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.LookupKey", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.LookupKey", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "LookupKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.LookupKeyRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.LookupKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apikeyspb.LookupKeyResponse", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "LookupKey", - "fullName": "google.api.apikeys.v2.ApiKeys.LookupKey", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "LookupKey" }, + "description": "LookupKey find the parent project and resource name of the API\nkey that matches the key string in the request. If the API key has been\npurged, resource name will not be set.\nThe service account must have the `apikeys.keys.lookup` permission\non the parent project.", + "file": "Client/LookupKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_LookupKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys LookupKey Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_UndeleteKey_sync", - "title": "apikeys UndeleteKey Sample", - "description": "UndeleteKey undeletes an API key which was deleted within 30 days.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/UndeleteKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteKey", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.UndeleteKey", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.UndeleteKey", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "UndeleteKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.UndeleteKeyRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.UndeleteKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteKeyOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "UndeleteKey", - "fullName": "google.api.apikeys.v2.ApiKeys.UndeleteKey", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "UndeleteKey" }, + "description": "UndeleteKey undeletes an API key which was deleted within 30 days.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/UndeleteKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_UndeleteKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys UndeleteKey Sample" }, { - "regionTag": "apikeys_v2_generated_ApiKeys_UpdateKey_sync", - "title": "apikeys UpdateKey Sample", - "description": "UpdateKey patches the modifiable fields of an API key.\nThe key string of the API key isn't included in the response.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", - "file": "Client/UpdateKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateKey", + "client": { + "fullName": "google.api.apikeys.v2.Client", + "shortName": "Client" + }, "fullName": "google.api.apikeys.v2.Client.UpdateKey", + "method": { + "fullName": "google.api.apikeys.v2.ApiKeys.UpdateKey", + "service": { + "fullName": "google.api.apikeys.v2.ApiKeys", + "shortName": "ApiKeys" + }, + "shortName": "UpdateKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apikeyspb.UpdateKeyRequest", - "name": "req" + "name": "req", + "type": "apikeyspb.UpdateKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateKeyOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.apikeys.v2.Client" - }, - "method": { - "shortName": "UpdateKey", - "fullName": "google.api.apikeys.v2.ApiKeys.UpdateKey", - "service": { - "shortName": "ApiKeys", - "fullName": "google.api.apikeys.v2.ApiKeys" - } - } + "shortName": "UpdateKey" }, + "description": "UpdateKey patches the modifiable fields of an API key.\nThe key string of the API key isn't included in the response.\n\nNOTE: Key is a global resource; hence the only supported value for\nlocation is `global`.", + "file": "Client/UpdateKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apikeys_v2_generated_ApiKeys_UpdateKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apikeys UpdateKey Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apiregistry/apiv1/snippet_metadata.google.cloud.apiregistry.v1.json b/internal/generated/snippets/apiregistry/apiv1/snippet_metadata.google.cloud.apiregistry.v1.json index 76404bf314e2..f614a6ad8dea 100644 --- a/internal/generated/snippets/apiregistry/apiv1/snippet_metadata.google.cloud.apiregistry.v1.json +++ b/internal/generated/snippets/apiregistry/apiv1/snippet_metadata.google.cloud.apiregistry.v1.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apiregistry/apiv1", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.apiregistry.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apiregistry/apiv1", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_GetLocation_sync", - "title": "cloudapiregistry GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudApiRegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudApiRegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry GetLocation Sample" }, { - "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_GetMcpServer_sync", - "title": "cloudapiregistry GetMcpServer Sample", - "description": "GetMcpServer gets a single McpServer.", - "file": "CloudApiRegistryClient/GetMcpServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMcpServer", + "client": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient.GetMcpServer", + "method": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.GetMcpServer", + "service": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "GetMcpServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.GetMcpServerRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.GetMcpServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apiregistrypb.McpServer", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient" - }, - "method": { - "shortName": "GetMcpServer", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.GetMcpServer", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry" - } - } + "shortName": "GetMcpServer" }, + "description": "GetMcpServer gets a single McpServer.", + "file": "CloudApiRegistryClient/GetMcpServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_GetMcpServer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry GetMcpServer Sample" }, { - "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_GetMcpTool_sync", - "title": "cloudapiregistry GetMcpTool Sample", - "description": "GetMcpTool gets a single McpTool.", - "file": "CloudApiRegistryClient/GetMcpTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMcpTool", + "client": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient.GetMcpTool", + "method": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.GetMcpTool", + "service": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "GetMcpTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.GetMcpToolRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.GetMcpToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apiregistrypb.McpTool", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient" - }, - "method": { - "shortName": "GetMcpTool", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.GetMcpTool", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry" - } - } + "shortName": "GetMcpTool" }, + "description": "GetMcpTool gets a single McpTool.", + "file": "CloudApiRegistryClient/GetMcpTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_GetMcpTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry GetMcpTool Sample" }, { - "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_ListLocations_sync", - "title": "cloudapiregistry ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudApiRegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudApiRegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry ListLocations Sample" }, { - "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_ListMcpServers_sync", - "title": "cloudapiregistry ListMcpServers Sample", - "description": "ListMcpServers lists McpServers in a given Project.", - "file": "CloudApiRegistryClient/ListMcpServers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMcpServers", + "client": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient.ListMcpServers", + "method": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.ListMcpServers", + "service": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "ListMcpServers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.ListMcpServersRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.ListMcpServersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "McpServerIterator", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient" - }, - "method": { - "shortName": "ListMcpServers", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.ListMcpServers", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry" - } - } + "shortName": "ListMcpServers" }, + "description": "ListMcpServers lists McpServers in a given Project.", + "file": "CloudApiRegistryClient/ListMcpServers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_ListMcpServers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry ListMcpServers Sample" }, { - "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_ListMcpTools_sync", - "title": "cloudapiregistry ListMcpTools Sample", - "description": "ListMcpTools lists McpTools in a given McpServer.", - "file": "CloudApiRegistryClient/ListMcpTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMcpTools", + "client": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient.ListMcpTools", + "method": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.ListMcpTools", + "service": { + "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "ListMcpTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.ListMcpToolsRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.ListMcpToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "McpToolIterator", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistryClient" - }, - "method": { - "shortName": "ListMcpTools", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry.ListMcpTools", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1.CloudApiRegistry" - } - } + "shortName": "ListMcpTools" }, + "description": "ListMcpTools lists McpTools in a given McpServer.", + "file": "CloudApiRegistryClient/ListMcpTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1_generated_CloudApiRegistry_ListMcpTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry ListMcpTools Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apiregistry/apiv1beta/snippet_metadata.google.cloud.apiregistry.v1beta.json b/internal/generated/snippets/apiregistry/apiv1beta/snippet_metadata.google.cloud.apiregistry.v1beta.json index e8130aee12df..524e1dcd34f2 100644 --- a/internal/generated/snippets/apiregistry/apiv1beta/snippet_metadata.google.cloud.apiregistry.v1beta.json +++ b/internal/generated/snippets/apiregistry/apiv1beta/snippet_metadata.google.cloud.apiregistry.v1beta.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apiregistry/apiv1beta", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.apiregistry.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apiregistry/apiv1beta", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_GetLocation_sync", - "title": "cloudapiregistry GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudApiRegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudApiRegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry GetLocation Sample" }, { - "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_GetMcpServer_sync", - "title": "cloudapiregistry GetMcpServer Sample", - "description": "GetMcpServer gets a single McpServer.", - "file": "CloudApiRegistryClient/GetMcpServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMcpServer", + "client": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient.GetMcpServer", + "method": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.GetMcpServer", + "service": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "GetMcpServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.GetMcpServerRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.GetMcpServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apiregistrypb.McpServer", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient" - }, - "method": { - "shortName": "GetMcpServer", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.GetMcpServer", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry" - } - } + "shortName": "GetMcpServer" }, + "description": "GetMcpServer gets a single McpServer.", + "file": "CloudApiRegistryClient/GetMcpServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_GetMcpServer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry GetMcpServer Sample" }, { - "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_GetMcpTool_sync", - "title": "cloudapiregistry GetMcpTool Sample", - "description": "GetMcpTool gets a single McpTool.", - "file": "CloudApiRegistryClient/GetMcpTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMcpTool", + "client": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient.GetMcpTool", + "method": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.GetMcpTool", + "service": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "GetMcpTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.GetMcpToolRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.GetMcpToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apiregistrypb.McpTool", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient" - }, - "method": { - "shortName": "GetMcpTool", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.GetMcpTool", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry" - } - } + "shortName": "GetMcpTool" }, + "description": "GetMcpTool gets a single McpTool.", + "file": "CloudApiRegistryClient/GetMcpTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_GetMcpTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry GetMcpTool Sample" }, { - "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_ListLocations_sync", - "title": "cloudapiregistry ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudApiRegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudApiRegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry ListLocations Sample" }, { - "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_ListMcpServers_sync", - "title": "cloudapiregistry ListMcpServers Sample", - "description": "ListMcpServers lists McpServers in a given Project.", - "file": "CloudApiRegistryClient/ListMcpServers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMcpServers", + "client": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient.ListMcpServers", + "method": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.ListMcpServers", + "service": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "ListMcpServers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.ListMcpServersRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.ListMcpServersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "McpServerIterator", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient" - }, - "method": { - "shortName": "ListMcpServers", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.ListMcpServers", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry" - } - } + "shortName": "ListMcpServers" }, + "description": "ListMcpServers lists McpServers in a given Project.", + "file": "CloudApiRegistryClient/ListMcpServers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_ListMcpServers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry ListMcpServers Sample" }, { - "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_ListMcpTools_sync", - "title": "cloudapiregistry ListMcpTools Sample", - "description": "ListMcpTools lists McpTools in a given McpServer.", - "file": "CloudApiRegistryClient/ListMcpTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMcpTools", + "client": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient", + "shortName": "CloudApiRegistryClient" + }, "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient.ListMcpTools", + "method": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.ListMcpTools", + "service": { + "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry", + "shortName": "CloudApiRegistry" + }, + "shortName": "ListMcpTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apiregistrypb.ListMcpToolsRequest", - "name": "req" + "name": "req", + "type": "apiregistrypb.ListMcpToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "McpToolIterator", - "client": { - "shortName": "CloudApiRegistryClient", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistryClient" - }, - "method": { - "shortName": "ListMcpTools", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry.ListMcpTools", - "service": { - "shortName": "CloudApiRegistry", - "fullName": "google.cloud.apiregistry.v1beta.CloudApiRegistry" - } - } + "shortName": "ListMcpTools" }, + "description": "ListMcpTools lists McpTools in a given McpServer.", + "file": "CloudApiRegistryClient/ListMcpTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudapiregistry_v1beta_generated_CloudApiRegistry_ListMcpTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudapiregistry ListMcpTools Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json b/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json index 40afa262da12..2f0fbe29f385 100644 --- a/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json +++ b/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json @@ -1,1577 +1,1577 @@ { "clientLibrary": { - "name": "cloud.google.com/go/appengine/apiv1", - "version": "1.9.7", - "language": "GO", "apis": [ { "id": "google.appengine.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/appengine/apiv1", + "version": "1.9.7" }, "snippets": [ { - "regionTag": "appengine_v1_generated_Applications_CreateApplication_sync", - "title": "appengine CreateApplication Sample", - "description": "CreateApplication creates an App Engine application for a Google Cloud Platform project.\nRequired fields: \n\n* `id` - The ID of the target Cloud Platform project.\n* *location* - The [region](https: //cloud.google.com/appengine/docs/locations) where you want the App Engine application located.\n\nFor more information about App Engine applications, see [Managing Projects, Applications, and Billing](https: //cloud.google.com/appengine/docs/standard/python/console/).", - "file": "ApplicationsClient/CreateApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApplication", + "client": { + "fullName": "google.appengine.v1.ApplicationsClient", + "shortName": "ApplicationsClient" + }, "fullName": "google.appengine.v1.ApplicationsClient.CreateApplication", + "method": { + "fullName": "google.appengine.v1.Applications.CreateApplication", + "service": { + "fullName": "google.appengine.v1.Applications", + "shortName": "Applications" + }, + "shortName": "CreateApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.CreateApplicationRequest", - "name": "req" + "name": "req", + "type": "appenginepb.CreateApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApplicationOperation", - "client": { - "shortName": "ApplicationsClient", - "fullName": "google.appengine.v1.ApplicationsClient" - }, - "method": { - "shortName": "CreateApplication", - "fullName": "google.appengine.v1.Applications.CreateApplication", - "service": { - "shortName": "Applications", - "fullName": "google.appengine.v1.Applications" - } - } + "shortName": "CreateApplication" }, + "description": "CreateApplication creates an App Engine application for a Google Cloud Platform project.\nRequired fields: \n\n* `id` - The ID of the target Cloud Platform project.\n* *location* - The [region](https: //cloud.google.com/appengine/docs/locations) where you want the App Engine application located.\n\nFor more information about App Engine applications, see [Managing Projects, Applications, and Billing](https: //cloud.google.com/appengine/docs/standard/python/console/).", + "file": "ApplicationsClient/CreateApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Applications_CreateApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine CreateApplication Sample" }, { - "regionTag": "appengine_v1_generated_Applications_GetApplication_sync", - "title": "appengine GetApplication Sample", - "description": "GetApplication gets information about an application.", - "file": "ApplicationsClient/GetApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApplication", + "client": { + "fullName": "google.appengine.v1.ApplicationsClient", + "shortName": "ApplicationsClient" + }, "fullName": "google.appengine.v1.ApplicationsClient.GetApplication", + "method": { + "fullName": "google.appengine.v1.Applications.GetApplication", + "service": { + "fullName": "google.appengine.v1.Applications", + "shortName": "Applications" + }, + "shortName": "GetApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetApplicationRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.Application", - "client": { - "shortName": "ApplicationsClient", - "fullName": "google.appengine.v1.ApplicationsClient" - }, - "method": { - "shortName": "GetApplication", - "fullName": "google.appengine.v1.Applications.GetApplication", - "service": { - "shortName": "Applications", - "fullName": "google.appengine.v1.Applications" - } - } + "shortName": "GetApplication" }, + "description": "GetApplication gets information about an application.", + "file": "ApplicationsClient/GetApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Applications_GetApplication_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetApplication Sample" }, { - "regionTag": "appengine_v1_generated_Applications_RepairApplication_sync", - "title": "appengine RepairApplication Sample", - "description": "RepairApplication recreates the required App Engine features for the specified App Engine\napplication, for example a Cloud Storage bucket or App Engine service\naccount.\nUse this method if you receive an error message about a missing feature,\nfor example, *Error retrieving the App Engine service account*.\nIf you have deleted your App Engine service account, this will\nnot be able to recreate it. Instead, you should attempt to use the\nIAM undelete API if possible at https: //cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B\"name\"%3A\"projects%2F-%2FserviceAccounts%2Funique_id\"%2C\"resource\"%3A%7B%7D%7D .\nIf the deletion was recent, the numeric ID can be found in the Cloud\nConsole Activity Log.", - "file": "ApplicationsClient/RepairApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "RepairApplication", + "client": { + "fullName": "google.appengine.v1.ApplicationsClient", + "shortName": "ApplicationsClient" + }, "fullName": "google.appengine.v1.ApplicationsClient.RepairApplication", + "method": { + "fullName": "google.appengine.v1.Applications.RepairApplication", + "service": { + "fullName": "google.appengine.v1.Applications", + "shortName": "Applications" + }, + "shortName": "RepairApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.RepairApplicationRequest", - "name": "req" + "name": "req", + "type": "appenginepb.RepairApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepairApplicationOperation", - "client": { - "shortName": "ApplicationsClient", - "fullName": "google.appengine.v1.ApplicationsClient" - }, - "method": { - "shortName": "RepairApplication", - "fullName": "google.appengine.v1.Applications.RepairApplication", - "service": { - "shortName": "Applications", - "fullName": "google.appengine.v1.Applications" - } - } + "shortName": "RepairApplication" }, + "description": "RepairApplication recreates the required App Engine features for the specified App Engine\napplication, for example a Cloud Storage bucket or App Engine service\naccount.\nUse this method if you receive an error message about a missing feature,\nfor example, *Error retrieving the App Engine service account*.\nIf you have deleted your App Engine service account, this will\nnot be able to recreate it. Instead, you should attempt to use the\nIAM undelete API if possible at https: //cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B\"name\"%3A\"projects%2F-%2FserviceAccounts%2Funique_id\"%2C\"resource\"%3A%7B%7D%7D .\nIf the deletion was recent, the numeric ID can be found in the Cloud\nConsole Activity Log.", + "file": "ApplicationsClient/RepairApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Applications_RepairApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine RepairApplication Sample" }, { - "regionTag": "appengine_v1_generated_Applications_UpdateApplication_sync", - "title": "appengine UpdateApplication Sample", - "description": "UpdateApplication updates the specified Application resource.\nYou can update the following fields: \n\n* `auth_domain` - Google authentication domain for controlling user access to the application.\n* `default_cookie_expiration` - Cookie expiration policy for the application.\n* `iap` - Identity-Aware Proxy properties for the application.", - "file": "ApplicationsClient/UpdateApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApplication", + "client": { + "fullName": "google.appengine.v1.ApplicationsClient", + "shortName": "ApplicationsClient" + }, "fullName": "google.appengine.v1.ApplicationsClient.UpdateApplication", + "method": { + "fullName": "google.appengine.v1.Applications.UpdateApplication", + "service": { + "fullName": "google.appengine.v1.Applications", + "shortName": "Applications" + }, + "shortName": "UpdateApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.UpdateApplicationRequest", - "name": "req" + "name": "req", + "type": "appenginepb.UpdateApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApplicationOperation", - "client": { - "shortName": "ApplicationsClient", - "fullName": "google.appengine.v1.ApplicationsClient" - }, - "method": { - "shortName": "UpdateApplication", - "fullName": "google.appengine.v1.Applications.UpdateApplication", - "service": { - "shortName": "Applications", - "fullName": "google.appengine.v1.Applications" - } - } + "shortName": "UpdateApplication" }, + "description": "UpdateApplication updates the specified Application resource.\nYou can update the following fields: \n\n* `auth_domain` - Google authentication domain for controlling user access to the application.\n* `default_cookie_expiration` - Cookie expiration policy for the application.\n* `iap` - Identity-Aware Proxy properties for the application.", + "file": "ApplicationsClient/UpdateApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Applications_UpdateApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine UpdateApplication Sample" }, { - "regionTag": "appengine_v1_generated_AuthorizedCertificates_CreateAuthorizedCertificate_sync", - "title": "appengine CreateAuthorizedCertificate Sample", - "description": "CreateAuthorizedCertificate uploads the specified SSL certificate.", - "file": "AuthorizedCertificatesClient/CreateAuthorizedCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAuthorizedCertificate", + "client": { + "fullName": "google.appengine.v1.AuthorizedCertificatesClient", + "shortName": "AuthorizedCertificatesClient" + }, "fullName": "google.appengine.v1.AuthorizedCertificatesClient.CreateAuthorizedCertificate", + "method": { + "fullName": "google.appengine.v1.AuthorizedCertificates.CreateAuthorizedCertificate", + "service": { + "fullName": "google.appengine.v1.AuthorizedCertificates", + "shortName": "AuthorizedCertificates" + }, + "shortName": "CreateAuthorizedCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.CreateAuthorizedCertificateRequest", - "name": "req" + "name": "req", + "type": "appenginepb.CreateAuthorizedCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.AuthorizedCertificate", - "client": { - "shortName": "AuthorizedCertificatesClient", - "fullName": "google.appengine.v1.AuthorizedCertificatesClient" - }, - "method": { - "shortName": "CreateAuthorizedCertificate", - "fullName": "google.appengine.v1.AuthorizedCertificates.CreateAuthorizedCertificate", - "service": { - "shortName": "AuthorizedCertificates", - "fullName": "google.appengine.v1.AuthorizedCertificates" - } - } + "shortName": "CreateAuthorizedCertificate" }, + "description": "CreateAuthorizedCertificate uploads the specified SSL certificate.", + "file": "AuthorizedCertificatesClient/CreateAuthorizedCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_AuthorizedCertificates_CreateAuthorizedCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine CreateAuthorizedCertificate Sample" }, { - "regionTag": "appengine_v1_generated_AuthorizedCertificates_DeleteAuthorizedCertificate_sync", - "title": "appengine DeleteAuthorizedCertificate Sample", - "description": "DeleteAuthorizedCertificate deletes the specified SSL certificate.", - "file": "AuthorizedCertificatesClient/DeleteAuthorizedCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAuthorizedCertificate", + "client": { + "fullName": "google.appengine.v1.AuthorizedCertificatesClient", + "shortName": "AuthorizedCertificatesClient" + }, "fullName": "google.appengine.v1.AuthorizedCertificatesClient.DeleteAuthorizedCertificate", + "method": { + "fullName": "google.appengine.v1.AuthorizedCertificates.DeleteAuthorizedCertificate", + "service": { + "fullName": "google.appengine.v1.AuthorizedCertificates", + "shortName": "AuthorizedCertificates" + }, + "shortName": "DeleteAuthorizedCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DeleteAuthorizedCertificateRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DeleteAuthorizedCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AuthorizedCertificatesClient", - "fullName": "google.appengine.v1.AuthorizedCertificatesClient" - }, - "method": { - "shortName": "DeleteAuthorizedCertificate", - "fullName": "google.appengine.v1.AuthorizedCertificates.DeleteAuthorizedCertificate", - "service": { - "shortName": "AuthorizedCertificates", - "fullName": "google.appengine.v1.AuthorizedCertificates" - } - } + "shortName": "DeleteAuthorizedCertificate" }, + "description": "DeleteAuthorizedCertificate deletes the specified SSL certificate.", + "file": "AuthorizedCertificatesClient/DeleteAuthorizedCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_AuthorizedCertificates_DeleteAuthorizedCertificate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DeleteAuthorizedCertificate Sample" }, { - "regionTag": "appengine_v1_generated_AuthorizedCertificates_GetAuthorizedCertificate_sync", - "title": "appengine GetAuthorizedCertificate Sample", - "description": "GetAuthorizedCertificate gets the specified SSL certificate.", - "file": "AuthorizedCertificatesClient/GetAuthorizedCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAuthorizedCertificate", + "client": { + "fullName": "google.appengine.v1.AuthorizedCertificatesClient", + "shortName": "AuthorizedCertificatesClient" + }, "fullName": "google.appengine.v1.AuthorizedCertificatesClient.GetAuthorizedCertificate", + "method": { + "fullName": "google.appengine.v1.AuthorizedCertificates.GetAuthorizedCertificate", + "service": { + "fullName": "google.appengine.v1.AuthorizedCertificates", + "shortName": "AuthorizedCertificates" + }, + "shortName": "GetAuthorizedCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetAuthorizedCertificateRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetAuthorizedCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.AuthorizedCertificate", - "client": { - "shortName": "AuthorizedCertificatesClient", - "fullName": "google.appengine.v1.AuthorizedCertificatesClient" - }, - "method": { - "shortName": "GetAuthorizedCertificate", - "fullName": "google.appengine.v1.AuthorizedCertificates.GetAuthorizedCertificate", - "service": { - "shortName": "AuthorizedCertificates", - "fullName": "google.appengine.v1.AuthorizedCertificates" - } - } + "shortName": "GetAuthorizedCertificate" }, + "description": "GetAuthorizedCertificate gets the specified SSL certificate.", + "file": "AuthorizedCertificatesClient/GetAuthorizedCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_AuthorizedCertificates_GetAuthorizedCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetAuthorizedCertificate Sample" }, { - "regionTag": "appengine_v1_generated_AuthorizedCertificates_ListAuthorizedCertificates_sync", - "title": "appengine ListAuthorizedCertificates Sample", - "description": "ListAuthorizedCertificates lists all SSL certificates the user is authorized to administer.", - "file": "AuthorizedCertificatesClient/ListAuthorizedCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAuthorizedCertificates", + "client": { + "fullName": "google.appengine.v1.AuthorizedCertificatesClient", + "shortName": "AuthorizedCertificatesClient" + }, "fullName": "google.appengine.v1.AuthorizedCertificatesClient.ListAuthorizedCertificates", + "method": { + "fullName": "google.appengine.v1.AuthorizedCertificates.ListAuthorizedCertificates", + "service": { + "fullName": "google.appengine.v1.AuthorizedCertificates", + "shortName": "AuthorizedCertificates" + }, + "shortName": "ListAuthorizedCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListAuthorizedCertificatesRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListAuthorizedCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AuthorizedCertificateIterator", - "client": { - "shortName": "AuthorizedCertificatesClient", - "fullName": "google.appengine.v1.AuthorizedCertificatesClient" - }, - "method": { - "shortName": "ListAuthorizedCertificates", - "fullName": "google.appengine.v1.AuthorizedCertificates.ListAuthorizedCertificates", - "service": { - "shortName": "AuthorizedCertificates", - "fullName": "google.appengine.v1.AuthorizedCertificates" - } - } + "shortName": "ListAuthorizedCertificates" }, + "description": "ListAuthorizedCertificates lists all SSL certificates the user is authorized to administer.", + "file": "AuthorizedCertificatesClient/ListAuthorizedCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_AuthorizedCertificates_ListAuthorizedCertificates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListAuthorizedCertificates Sample" }, { - "regionTag": "appengine_v1_generated_AuthorizedCertificates_UpdateAuthorizedCertificate_sync", - "title": "appengine UpdateAuthorizedCertificate Sample", - "description": "UpdateAuthorizedCertificate updates the specified SSL certificate. To renew a certificate and maintain\nits existing domain mappings, update `certificate_data` with a new\ncertificate. The new certificate must be applicable to the same domains as\nthe original certificate. The certificate `display_name` may also be\nupdated.", - "file": "AuthorizedCertificatesClient/UpdateAuthorizedCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAuthorizedCertificate", + "client": { + "fullName": "google.appengine.v1.AuthorizedCertificatesClient", + "shortName": "AuthorizedCertificatesClient" + }, "fullName": "google.appengine.v1.AuthorizedCertificatesClient.UpdateAuthorizedCertificate", + "method": { + "fullName": "google.appengine.v1.AuthorizedCertificates.UpdateAuthorizedCertificate", + "service": { + "fullName": "google.appengine.v1.AuthorizedCertificates", + "shortName": "AuthorizedCertificates" + }, + "shortName": "UpdateAuthorizedCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.UpdateAuthorizedCertificateRequest", - "name": "req" + "name": "req", + "type": "appenginepb.UpdateAuthorizedCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.AuthorizedCertificate", - "client": { - "shortName": "AuthorizedCertificatesClient", - "fullName": "google.appengine.v1.AuthorizedCertificatesClient" - }, - "method": { - "shortName": "UpdateAuthorizedCertificate", - "fullName": "google.appengine.v1.AuthorizedCertificates.UpdateAuthorizedCertificate", - "service": { - "shortName": "AuthorizedCertificates", - "fullName": "google.appengine.v1.AuthorizedCertificates" - } - } + "shortName": "UpdateAuthorizedCertificate" }, + "description": "UpdateAuthorizedCertificate updates the specified SSL certificate. To renew a certificate and maintain\nits existing domain mappings, update `certificate_data` with a new\ncertificate. The new certificate must be applicable to the same domains as\nthe original certificate. The certificate `display_name` may also be\nupdated.", + "file": "AuthorizedCertificatesClient/UpdateAuthorizedCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_AuthorizedCertificates_UpdateAuthorizedCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine UpdateAuthorizedCertificate Sample" }, { - "regionTag": "appengine_v1_generated_AuthorizedDomains_ListAuthorizedDomains_sync", - "title": "appengine ListAuthorizedDomains Sample", - "description": "ListAuthorizedDomains lists all domains the user is authorized to administer.", - "file": "AuthorizedDomainsClient/ListAuthorizedDomains/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAuthorizedDomains", + "client": { + "fullName": "google.appengine.v1.AuthorizedDomainsClient", + "shortName": "AuthorizedDomainsClient" + }, "fullName": "google.appengine.v1.AuthorizedDomainsClient.ListAuthorizedDomains", + "method": { + "fullName": "google.appengine.v1.AuthorizedDomains.ListAuthorizedDomains", + "service": { + "fullName": "google.appengine.v1.AuthorizedDomains", + "shortName": "AuthorizedDomains" + }, + "shortName": "ListAuthorizedDomains" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListAuthorizedDomainsRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListAuthorizedDomainsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AuthorizedDomainIterator", - "client": { - "shortName": "AuthorizedDomainsClient", - "fullName": "google.appengine.v1.AuthorizedDomainsClient" - }, - "method": { - "shortName": "ListAuthorizedDomains", - "fullName": "google.appengine.v1.AuthorizedDomains.ListAuthorizedDomains", - "service": { - "shortName": "AuthorizedDomains", - "fullName": "google.appengine.v1.AuthorizedDomains" - } - } + "shortName": "ListAuthorizedDomains" }, + "description": "ListAuthorizedDomains lists all domains the user is authorized to administer.", + "file": "AuthorizedDomainsClient/ListAuthorizedDomains/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_AuthorizedDomains_ListAuthorizedDomains_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListAuthorizedDomains Sample" }, { - "regionTag": "appengine_v1_generated_DomainMappings_CreateDomainMapping_sync", - "title": "appengine CreateDomainMapping Sample", - "description": "CreateDomainMapping maps a domain to an application. A user must be authorized to administer a\ndomain in order to map it to an application. For a list of available\nauthorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`]().", - "file": "DomainMappingsClient/CreateDomainMapping/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDomainMapping", + "client": { + "fullName": "google.appengine.v1.DomainMappingsClient", + "shortName": "DomainMappingsClient" + }, "fullName": "google.appengine.v1.DomainMappingsClient.CreateDomainMapping", + "method": { + "fullName": "google.appengine.v1.DomainMappings.CreateDomainMapping", + "service": { + "fullName": "google.appengine.v1.DomainMappings", + "shortName": "DomainMappings" + }, + "shortName": "CreateDomainMapping" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.CreateDomainMappingRequest", - "name": "req" + "name": "req", + "type": "appenginepb.CreateDomainMappingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDomainMappingOperation", - "client": { - "shortName": "DomainMappingsClient", - "fullName": "google.appengine.v1.DomainMappingsClient" - }, - "method": { - "shortName": "CreateDomainMapping", - "fullName": "google.appengine.v1.DomainMappings.CreateDomainMapping", - "service": { - "shortName": "DomainMappings", - "fullName": "google.appengine.v1.DomainMappings" - } - } + "shortName": "CreateDomainMapping" }, + "description": "CreateDomainMapping maps a domain to an application. A user must be authorized to administer a\ndomain in order to map it to an application. For a list of available\nauthorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`]().", + "file": "DomainMappingsClient/CreateDomainMapping/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_DomainMappings_CreateDomainMapping_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine CreateDomainMapping Sample" }, { - "regionTag": "appengine_v1_generated_DomainMappings_DeleteDomainMapping_sync", - "title": "appengine DeleteDomainMapping Sample", - "description": "DeleteDomainMapping deletes the specified domain mapping. A user must be authorized to\nadminister the associated domain in order to delete a `DomainMapping`\nresource.", - "file": "DomainMappingsClient/DeleteDomainMapping/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDomainMapping", + "client": { + "fullName": "google.appengine.v1.DomainMappingsClient", + "shortName": "DomainMappingsClient" + }, "fullName": "google.appengine.v1.DomainMappingsClient.DeleteDomainMapping", + "method": { + "fullName": "google.appengine.v1.DomainMappings.DeleteDomainMapping", + "service": { + "fullName": "google.appengine.v1.DomainMappings", + "shortName": "DomainMappings" + }, + "shortName": "DeleteDomainMapping" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DeleteDomainMappingRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DeleteDomainMappingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDomainMappingOperation", - "client": { - "shortName": "DomainMappingsClient", - "fullName": "google.appengine.v1.DomainMappingsClient" - }, - "method": { - "shortName": "DeleteDomainMapping", - "fullName": "google.appengine.v1.DomainMappings.DeleteDomainMapping", - "service": { - "shortName": "DomainMappings", - "fullName": "google.appengine.v1.DomainMappings" - } - } + "shortName": "DeleteDomainMapping" }, + "description": "DeleteDomainMapping deletes the specified domain mapping. A user must be authorized to\nadminister the associated domain in order to delete a `DomainMapping`\nresource.", + "file": "DomainMappingsClient/DeleteDomainMapping/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_DomainMappings_DeleteDomainMapping_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DeleteDomainMapping Sample" }, { - "regionTag": "appengine_v1_generated_DomainMappings_GetDomainMapping_sync", - "title": "appengine GetDomainMapping Sample", - "description": "GetDomainMapping gets the specified domain mapping.", - "file": "DomainMappingsClient/GetDomainMapping/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDomainMapping", + "client": { + "fullName": "google.appengine.v1.DomainMappingsClient", + "shortName": "DomainMappingsClient" + }, "fullName": "google.appengine.v1.DomainMappingsClient.GetDomainMapping", + "method": { + "fullName": "google.appengine.v1.DomainMappings.GetDomainMapping", + "service": { + "fullName": "google.appengine.v1.DomainMappings", + "shortName": "DomainMappings" + }, + "shortName": "GetDomainMapping" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetDomainMappingRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetDomainMappingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.DomainMapping", - "client": { - "shortName": "DomainMappingsClient", - "fullName": "google.appengine.v1.DomainMappingsClient" - }, - "method": { - "shortName": "GetDomainMapping", - "fullName": "google.appengine.v1.DomainMappings.GetDomainMapping", - "service": { - "shortName": "DomainMappings", - "fullName": "google.appengine.v1.DomainMappings" - } - } + "shortName": "GetDomainMapping" }, + "description": "GetDomainMapping gets the specified domain mapping.", + "file": "DomainMappingsClient/GetDomainMapping/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_DomainMappings_GetDomainMapping_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetDomainMapping Sample" }, { - "regionTag": "appengine_v1_generated_DomainMappings_ListDomainMappings_sync", - "title": "appengine ListDomainMappings Sample", - "description": "ListDomainMappings lists the domain mappings on an application.", - "file": "DomainMappingsClient/ListDomainMappings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDomainMappings", + "client": { + "fullName": "google.appengine.v1.DomainMappingsClient", + "shortName": "DomainMappingsClient" + }, "fullName": "google.appengine.v1.DomainMappingsClient.ListDomainMappings", + "method": { + "fullName": "google.appengine.v1.DomainMappings.ListDomainMappings", + "service": { + "fullName": "google.appengine.v1.DomainMappings", + "shortName": "DomainMappings" + }, + "shortName": "ListDomainMappings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListDomainMappingsRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListDomainMappingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DomainMappingIterator", - "client": { - "shortName": "DomainMappingsClient", - "fullName": "google.appengine.v1.DomainMappingsClient" - }, - "method": { - "shortName": "ListDomainMappings", - "fullName": "google.appengine.v1.DomainMappings.ListDomainMappings", - "service": { - "shortName": "DomainMappings", - "fullName": "google.appengine.v1.DomainMappings" - } - } + "shortName": "ListDomainMappings" }, + "description": "ListDomainMappings lists the domain mappings on an application.", + "file": "DomainMappingsClient/ListDomainMappings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_DomainMappings_ListDomainMappings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListDomainMappings Sample" }, { - "regionTag": "appengine_v1_generated_DomainMappings_UpdateDomainMapping_sync", - "title": "appengine UpdateDomainMapping Sample", - "description": "UpdateDomainMapping updates the specified domain mapping. To map an SSL certificate to a\ndomain mapping, update `certificate_id` to point to an `AuthorizedCertificate`\nresource. A user must be authorized to administer the associated domain\nin order to update a `DomainMapping` resource.", - "file": "DomainMappingsClient/UpdateDomainMapping/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDomainMapping", + "client": { + "fullName": "google.appengine.v1.DomainMappingsClient", + "shortName": "DomainMappingsClient" + }, "fullName": "google.appengine.v1.DomainMappingsClient.UpdateDomainMapping", + "method": { + "fullName": "google.appengine.v1.DomainMappings.UpdateDomainMapping", + "service": { + "fullName": "google.appengine.v1.DomainMappings", + "shortName": "DomainMappings" + }, + "shortName": "UpdateDomainMapping" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.UpdateDomainMappingRequest", - "name": "req" + "name": "req", + "type": "appenginepb.UpdateDomainMappingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDomainMappingOperation", - "client": { - "shortName": "DomainMappingsClient", - "fullName": "google.appengine.v1.DomainMappingsClient" - }, - "method": { - "shortName": "UpdateDomainMapping", - "fullName": "google.appengine.v1.DomainMappings.UpdateDomainMapping", - "service": { - "shortName": "DomainMappings", - "fullName": "google.appengine.v1.DomainMappings" - } - } + "shortName": "UpdateDomainMapping" }, + "description": "UpdateDomainMapping updates the specified domain mapping. To map an SSL certificate to a\ndomain mapping, update `certificate_id` to point to an `AuthorizedCertificate`\nresource. A user must be authorized to administer the associated domain\nin order to update a `DomainMapping` resource.", + "file": "DomainMappingsClient/UpdateDomainMapping/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_DomainMappings_UpdateDomainMapping_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine UpdateDomainMapping Sample" }, { - "regionTag": "appengine_v1_generated_Firewall_BatchUpdateIngressRules_sync", - "title": "appengine BatchUpdateIngressRules Sample", - "description": "BatchUpdateIngressRules replaces the entire firewall ruleset in one bulk operation. This overrides\nand replaces the rules of an existing firewall with the new rules.\n\nIf the final rule does not match traffic with the '*' wildcard IP range,\nthen an \"allow all\" rule is explicitly added to the end of the list.", - "file": "FirewallClient/BatchUpdateIngressRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateIngressRules", + "client": { + "fullName": "google.appengine.v1.FirewallClient", + "shortName": "FirewallClient" + }, "fullName": "google.appengine.v1.FirewallClient.BatchUpdateIngressRules", + "method": { + "fullName": "google.appengine.v1.Firewall.BatchUpdateIngressRules", + "service": { + "fullName": "google.appengine.v1.Firewall", + "shortName": "Firewall" + }, + "shortName": "BatchUpdateIngressRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.BatchUpdateIngressRulesRequest", - "name": "req" + "name": "req", + "type": "appenginepb.BatchUpdateIngressRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.BatchUpdateIngressRulesResponse", - "client": { - "shortName": "FirewallClient", - "fullName": "google.appengine.v1.FirewallClient" - }, - "method": { - "shortName": "BatchUpdateIngressRules", - "fullName": "google.appengine.v1.Firewall.BatchUpdateIngressRules", - "service": { - "shortName": "Firewall", - "fullName": "google.appengine.v1.Firewall" - } - } + "shortName": "BatchUpdateIngressRules" }, + "description": "BatchUpdateIngressRules replaces the entire firewall ruleset in one bulk operation. This overrides\nand replaces the rules of an existing firewall with the new rules.\n\nIf the final rule does not match traffic with the '*' wildcard IP range,\nthen an \"allow all\" rule is explicitly added to the end of the list.", + "file": "FirewallClient/BatchUpdateIngressRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Firewall_BatchUpdateIngressRules_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine BatchUpdateIngressRules Sample" }, { - "regionTag": "appengine_v1_generated_Firewall_CreateIngressRule_sync", - "title": "appengine CreateIngressRule Sample", - "description": "CreateIngressRule creates a firewall rule for the application.", - "file": "FirewallClient/CreateIngressRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIngressRule", + "client": { + "fullName": "google.appengine.v1.FirewallClient", + "shortName": "FirewallClient" + }, "fullName": "google.appengine.v1.FirewallClient.CreateIngressRule", + "method": { + "fullName": "google.appengine.v1.Firewall.CreateIngressRule", + "service": { + "fullName": "google.appengine.v1.Firewall", + "shortName": "Firewall" + }, + "shortName": "CreateIngressRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.CreateIngressRuleRequest", - "name": "req" + "name": "req", + "type": "appenginepb.CreateIngressRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.FirewallRule", - "client": { - "shortName": "FirewallClient", - "fullName": "google.appengine.v1.FirewallClient" - }, - "method": { - "shortName": "CreateIngressRule", - "fullName": "google.appengine.v1.Firewall.CreateIngressRule", - "service": { - "shortName": "Firewall", - "fullName": "google.appengine.v1.Firewall" - } - } + "shortName": "CreateIngressRule" }, + "description": "CreateIngressRule creates a firewall rule for the application.", + "file": "FirewallClient/CreateIngressRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Firewall_CreateIngressRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine CreateIngressRule Sample" }, { - "regionTag": "appengine_v1_generated_Firewall_DeleteIngressRule_sync", - "title": "appengine DeleteIngressRule Sample", - "description": "DeleteIngressRule deletes the specified firewall rule.", - "file": "FirewallClient/DeleteIngressRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIngressRule", + "client": { + "fullName": "google.appengine.v1.FirewallClient", + "shortName": "FirewallClient" + }, "fullName": "google.appengine.v1.FirewallClient.DeleteIngressRule", + "method": { + "fullName": "google.appengine.v1.Firewall.DeleteIngressRule", + "service": { + "fullName": "google.appengine.v1.Firewall", + "shortName": "Firewall" + }, + "shortName": "DeleteIngressRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DeleteIngressRuleRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DeleteIngressRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirewallClient", - "fullName": "google.appengine.v1.FirewallClient" - }, - "method": { - "shortName": "DeleteIngressRule", - "fullName": "google.appengine.v1.Firewall.DeleteIngressRule", - "service": { - "shortName": "Firewall", - "fullName": "google.appengine.v1.Firewall" - } - } + "shortName": "DeleteIngressRule" }, + "description": "DeleteIngressRule deletes the specified firewall rule.", + "file": "FirewallClient/DeleteIngressRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Firewall_DeleteIngressRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DeleteIngressRule Sample" }, { - "regionTag": "appengine_v1_generated_Firewall_GetIngressRule_sync", - "title": "appengine GetIngressRule Sample", - "description": "GetIngressRule gets the specified firewall rule.", - "file": "FirewallClient/GetIngressRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIngressRule", + "client": { + "fullName": "google.appengine.v1.FirewallClient", + "shortName": "FirewallClient" + }, "fullName": "google.appengine.v1.FirewallClient.GetIngressRule", + "method": { + "fullName": "google.appengine.v1.Firewall.GetIngressRule", + "service": { + "fullName": "google.appengine.v1.Firewall", + "shortName": "Firewall" + }, + "shortName": "GetIngressRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetIngressRuleRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetIngressRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.FirewallRule", - "client": { - "shortName": "FirewallClient", - "fullName": "google.appengine.v1.FirewallClient" - }, - "method": { - "shortName": "GetIngressRule", - "fullName": "google.appengine.v1.Firewall.GetIngressRule", - "service": { - "shortName": "Firewall", - "fullName": "google.appengine.v1.Firewall" - } - } + "shortName": "GetIngressRule" }, + "description": "GetIngressRule gets the specified firewall rule.", + "file": "FirewallClient/GetIngressRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Firewall_GetIngressRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetIngressRule Sample" }, { - "regionTag": "appengine_v1_generated_Firewall_ListIngressRules_sync", - "title": "appengine ListIngressRules Sample", - "description": "ListIngressRules lists the firewall rules of an application.", - "file": "FirewallClient/ListIngressRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIngressRules", + "client": { + "fullName": "google.appengine.v1.FirewallClient", + "shortName": "FirewallClient" + }, "fullName": "google.appengine.v1.FirewallClient.ListIngressRules", + "method": { + "fullName": "google.appengine.v1.Firewall.ListIngressRules", + "service": { + "fullName": "google.appengine.v1.Firewall", + "shortName": "Firewall" + }, + "shortName": "ListIngressRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListIngressRulesRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListIngressRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallRuleIterator", - "client": { - "shortName": "FirewallClient", - "fullName": "google.appengine.v1.FirewallClient" - }, - "method": { - "shortName": "ListIngressRules", - "fullName": "google.appengine.v1.Firewall.ListIngressRules", - "service": { - "shortName": "Firewall", - "fullName": "google.appengine.v1.Firewall" - } - } + "shortName": "ListIngressRules" }, + "description": "ListIngressRules lists the firewall rules of an application.", + "file": "FirewallClient/ListIngressRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Firewall_ListIngressRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListIngressRules Sample" }, { - "regionTag": "appengine_v1_generated_Firewall_UpdateIngressRule_sync", - "title": "appengine UpdateIngressRule Sample", - "description": "UpdateIngressRule updates the specified firewall rule.", - "file": "FirewallClient/UpdateIngressRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIngressRule", + "client": { + "fullName": "google.appengine.v1.FirewallClient", + "shortName": "FirewallClient" + }, "fullName": "google.appengine.v1.FirewallClient.UpdateIngressRule", + "method": { + "fullName": "google.appengine.v1.Firewall.UpdateIngressRule", + "service": { + "fullName": "google.appengine.v1.Firewall", + "shortName": "Firewall" + }, + "shortName": "UpdateIngressRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.UpdateIngressRuleRequest", - "name": "req" + "name": "req", + "type": "appenginepb.UpdateIngressRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.FirewallRule", - "client": { - "shortName": "FirewallClient", - "fullName": "google.appengine.v1.FirewallClient" - }, - "method": { - "shortName": "UpdateIngressRule", - "fullName": "google.appengine.v1.Firewall.UpdateIngressRule", - "service": { - "shortName": "Firewall", - "fullName": "google.appengine.v1.Firewall" - } - } + "shortName": "UpdateIngressRule" }, + "description": "UpdateIngressRule updates the specified firewall rule.", + "file": "FirewallClient/UpdateIngressRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Firewall_UpdateIngressRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine UpdateIngressRule Sample" }, { - "regionTag": "appengine_v1_generated_Instances_DebugInstance_sync", - "title": "appengine DebugInstance Sample", - "description": "DebugInstance enables debugging on a VM instance. This allows you to use the SSH\ncommand to connect to the virtual machine where the instance lives.\nWhile in \"debug mode\", the instance continues to serve live traffic.\nYou should delete the instance when you are done debugging and then\nallow the system to take over and determine if another instance\nshould be started.\n\nOnly applicable for instances in App Engine flexible environment.", - "file": "InstancesClient/DebugInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DebugInstance", + "client": { + "fullName": "google.appengine.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.appengine.v1.InstancesClient.DebugInstance", + "method": { + "fullName": "google.appengine.v1.Instances.DebugInstance", + "service": { + "fullName": "google.appengine.v1.Instances", + "shortName": "Instances" + }, + "shortName": "DebugInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DebugInstanceRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DebugInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DebugInstanceOperation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.appengine.v1.InstancesClient" - }, - "method": { - "shortName": "DebugInstance", - "fullName": "google.appengine.v1.Instances.DebugInstance", - "service": { - "shortName": "Instances", - "fullName": "google.appengine.v1.Instances" - } - } + "shortName": "DebugInstance" }, + "description": "DebugInstance enables debugging on a VM instance. This allows you to use the SSH\ncommand to connect to the virtual machine where the instance lives.\nWhile in \"debug mode\", the instance continues to serve live traffic.\nYou should delete the instance when you are done debugging and then\nallow the system to take over and determine if another instance\nshould be started.\n\nOnly applicable for instances in App Engine flexible environment.", + "file": "InstancesClient/DebugInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Instances_DebugInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DebugInstance Sample" }, { - "regionTag": "appengine_v1_generated_Instances_DeleteInstance_sync", - "title": "appengine DeleteInstance Sample", - "description": "DeleteInstance stops a running instance.\n\nThe instance might be automatically recreated based on the scaling settings\nof the version. For more information, see \"How Instances are Managed\"\n([standard environment](https: //cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) |\n[flexible environment](https: //cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).\n\nTo ensure that instances are not re-created and avoid getting billed, you\ncan stop all instances within the target version by changing the serving\nstatus of the version to `STOPPED` with the\n[`apps.services.versions.patch`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch)\nmethod.", - "file": "InstancesClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.appengine.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.appengine.v1.InstancesClient.DeleteInstance", + "method": { + "fullName": "google.appengine.v1.Instances.DeleteInstance", + "service": { + "fullName": "google.appengine.v1.Instances", + "shortName": "Instances" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.appengine.v1.InstancesClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.appengine.v1.Instances.DeleteInstance", - "service": { - "shortName": "Instances", - "fullName": "google.appengine.v1.Instances" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance stops a running instance.\n\nThe instance might be automatically recreated based on the scaling settings\nof the version. For more information, see \"How Instances are Managed\"\n([standard environment](https: //cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) |\n[flexible environment](https: //cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).\n\nTo ensure that instances are not re-created and avoid getting billed, you\ncan stop all instances within the target version by changing the serving\nstatus of the version to `STOPPED` with the\n[`apps.services.versions.patch`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch)\nmethod.", + "file": "InstancesClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Instances_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DeleteInstance Sample" }, { - "regionTag": "appengine_v1_generated_Instances_GetInstance_sync", - "title": "appengine GetInstance Sample", - "description": "GetInstance gets instance information.", - "file": "InstancesClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.appengine.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.appengine.v1.InstancesClient.GetInstance", + "method": { + "fullName": "google.appengine.v1.Instances.GetInstance", + "service": { + "fullName": "google.appengine.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.Instance", - "client": { - "shortName": "InstancesClient", - "fullName": "google.appengine.v1.InstancesClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.appengine.v1.Instances.GetInstance", - "service": { - "shortName": "Instances", - "fullName": "google.appengine.v1.Instances" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets instance information.", + "file": "InstancesClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Instances_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetInstance Sample" }, { - "regionTag": "appengine_v1_generated_Instances_ListInstances_sync", - "title": "appengine ListInstances Sample", - "description": "ListInstances lists the instances of a version.\n\nTip: To aggregate details about instances over time, see the\n[Stackdriver Monitoring API](https: //cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).", - "file": "InstancesClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.appengine.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.appengine.v1.InstancesClient.ListInstances", + "method": { + "fullName": "google.appengine.v1.Instances.ListInstances", + "service": { + "fullName": "google.appengine.v1.Instances", + "shortName": "Instances" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.appengine.v1.InstancesClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.appengine.v1.Instances.ListInstances", - "service": { - "shortName": "Instances", - "fullName": "google.appengine.v1.Instances" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists the instances of a version.\n\nTip: To aggregate details about instances over time, see the\n[Stackdriver Monitoring API](https: //cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).", + "file": "InstancesClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Instances_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListInstances Sample" }, { - "regionTag": "appengine_v1_generated_Services_DeleteService_sync", - "title": "appengine DeleteService Sample", - "description": "DeleteService deletes the specified service and all enclosed versions.", - "file": "ServicesClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.appengine.v1.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.appengine.v1.ServicesClient.DeleteService", + "method": { + "fullName": "google.appengine.v1.Services.DeleteService", + "service": { + "fullName": "google.appengine.v1.Services", + "shortName": "Services" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.appengine.v1.ServicesClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.appengine.v1.Services.DeleteService", - "service": { - "shortName": "Services", - "fullName": "google.appengine.v1.Services" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes the specified service and all enclosed versions.", + "file": "ServicesClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Services_DeleteService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DeleteService Sample" }, { - "regionTag": "appengine_v1_generated_Services_GetService_sync", - "title": "appengine GetService Sample", - "description": "GetService gets the current configuration of the specified service.", - "file": "ServicesClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.appengine.v1.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.appengine.v1.ServicesClient.GetService", + "method": { + "fullName": "google.appengine.v1.Services.GetService", + "service": { + "fullName": "google.appengine.v1.Services", + "shortName": "Services" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.Service", - "client": { - "shortName": "ServicesClient", - "fullName": "google.appengine.v1.ServicesClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.appengine.v1.Services.GetService", - "service": { - "shortName": "Services", - "fullName": "google.appengine.v1.Services" - } - } + "shortName": "GetService" }, + "description": "GetService gets the current configuration of the specified service.", + "file": "ServicesClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Services_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetService Sample" }, { - "regionTag": "appengine_v1_generated_Services_ListServices_sync", - "title": "appengine ListServices Sample", - "description": "ListServices lists all the services in the application.", - "file": "ServicesClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.appengine.v1.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.appengine.v1.ServicesClient.ListServices", + "method": { + "fullName": "google.appengine.v1.Services.ListServices", + "service": { + "fullName": "google.appengine.v1.Services", + "shortName": "Services" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "ServicesClient", - "fullName": "google.appengine.v1.ServicesClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.appengine.v1.Services.ListServices", - "service": { - "shortName": "Services", - "fullName": "google.appengine.v1.Services" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists all the services in the application.", + "file": "ServicesClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Services_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListServices Sample" }, { - "regionTag": "appengine_v1_generated_Services_UpdateService_sync", - "title": "appengine UpdateService Sample", - "description": "UpdateService updates the configuration of the specified service.", - "file": "ServicesClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.appengine.v1.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.appengine.v1.ServicesClient.UpdateService", + "method": { + "fullName": "google.appengine.v1.Services.UpdateService", + "service": { + "fullName": "google.appengine.v1.Services", + "shortName": "Services" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "appenginepb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceOperation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.appengine.v1.ServicesClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.appengine.v1.Services.UpdateService", - "service": { - "shortName": "Services", - "fullName": "google.appengine.v1.Services" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates the configuration of the specified service.", + "file": "ServicesClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Services_UpdateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine UpdateService Sample" }, { - "regionTag": "appengine_v1_generated_Versions_CreateVersion_sync", - "title": "appengine CreateVersion Sample", - "description": "CreateVersion deploys code and resource files to a new version.", - "file": "VersionsClient/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.appengine.v1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.appengine.v1.VersionsClient.CreateVersion", + "method": { + "fullName": "google.appengine.v1.Versions.CreateVersion", + "service": { + "fullName": "google.appengine.v1.Versions", + "shortName": "Versions" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "appenginepb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.appengine.v1.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.appengine.v1.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.appengine.v1.Versions" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion deploys code and resource files to a new version.", + "file": "VersionsClient/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Versions_CreateVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine CreateVersion Sample" }, { - "regionTag": "appengine_v1_generated_Versions_DeleteVersion_sync", - "title": "appengine DeleteVersion Sample", - "description": "DeleteVersion deletes an existing Version resource.", - "file": "VersionsClient/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.appengine.v1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.appengine.v1.VersionsClient.DeleteVersion", + "method": { + "fullName": "google.appengine.v1.Versions.DeleteVersion", + "service": { + "fullName": "google.appengine.v1.Versions", + "shortName": "Versions" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "appenginepb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.appengine.v1.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.appengine.v1.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.appengine.v1.Versions" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion deletes an existing Version resource.", + "file": "VersionsClient/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Versions_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine DeleteVersion Sample" }, { - "regionTag": "appengine_v1_generated_Versions_GetVersion_sync", - "title": "appengine GetVersion Sample", - "description": "GetVersion gets the specified Version resource.\nBy default, only a `BASIC_VIEW` will be returned.\nSpecify the `FULL_VIEW` parameter to get the full resource.", - "file": "VersionsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.appengine.v1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.appengine.v1.VersionsClient.GetVersion", + "method": { + "fullName": "google.appengine.v1.Versions.GetVersion", + "service": { + "fullName": "google.appengine.v1.Versions", + "shortName": "Versions" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "appenginepb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appenginepb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.appengine.v1.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.appengine.v1.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.appengine.v1.Versions" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion gets the specified Version resource.\nBy default, only a `BASIC_VIEW` will be returned.\nSpecify the `FULL_VIEW` parameter to get the full resource.", + "file": "VersionsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Versions_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine GetVersion Sample" }, { - "regionTag": "appengine_v1_generated_Versions_ListVersions_sync", - "title": "appengine ListVersions Sample", - "description": "ListVersions lists the versions of a service.", - "file": "VersionsClient/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.appengine.v1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.appengine.v1.VersionsClient.ListVersions", + "method": { + "fullName": "google.appengine.v1.Versions.ListVersions", + "service": { + "fullName": "google.appengine.v1.Versions", + "shortName": "Versions" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "appenginepb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.appengine.v1.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.appengine.v1.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.appengine.v1.Versions" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions lists the versions of a service.", + "file": "VersionsClient/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Versions_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine ListVersions Sample" }, { - "regionTag": "appengine_v1_generated_Versions_UpdateVersion_sync", - "title": "appengine UpdateVersion Sample", - "description": "UpdateVersion updates the specified Version resource.\nYou can specify the following fields depending on the App Engine\nenvironment and type of scaling that the version resource uses: \n\n**Standard environment**\n\n* [`instance_class`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)\n\n*automatic scaling* in the standard environment: \n\n* [`automatic_scaling.min_idle_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.max_idle_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automaticScaling.standard_scheduler_settings.max_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n* [`automaticScaling.standard_scheduler_settings.min_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n* [`automaticScaling.standard_scheduler_settings.target_cpu_utilization`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n* [`automaticScaling.standard_scheduler_settings.target_throughput_utilization`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n\n*basic scaling* or *manual scaling* in the standard environment: \n\n* [`serving_status`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)\n* [`manual_scaling.instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)\n\n**Flexible environment**\n\n* [`serving_status`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)\n\n*automatic scaling* in the flexible environment: \n\n* [`automatic_scaling.min_total_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.max_total_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.cool_down_period_sec`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.cpu_utilization.target_utilization`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n\n*manual scaling* in the flexible environment: \n\n* [`manual_scaling.instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)", - "file": "VersionsClient/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.appengine.v1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.appengine.v1.VersionsClient.UpdateVersion", + "method": { + "fullName": "google.appengine.v1.Versions.UpdateVersion", + "service": { + "fullName": "google.appengine.v1.Versions", + "shortName": "Versions" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appenginepb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "appenginepb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.appengine.v1.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.appengine.v1.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.appengine.v1.Versions" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion updates the specified Version resource.\nYou can specify the following fields depending on the App Engine\nenvironment and type of scaling that the version resource uses: \n\n**Standard environment**\n\n* [`instance_class`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)\n\n*automatic scaling* in the standard environment: \n\n* [`automatic_scaling.min_idle_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.max_idle_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automaticScaling.standard_scheduler_settings.max_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n* [`automaticScaling.standard_scheduler_settings.min_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n* [`automaticScaling.standard_scheduler_settings.target_cpu_utilization`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n* [`automaticScaling.standard_scheduler_settings.target_throughput_utilization`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\n\n*basic scaling* or *manual scaling* in the standard environment: \n\n* [`serving_status`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)\n* [`manual_scaling.instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)\n\n**Flexible environment**\n\n* [`serving_status`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)\n\n*automatic scaling* in the flexible environment: \n\n* [`automatic_scaling.min_total_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.max_total_instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.cool_down_period_sec`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n* [`automatic_scaling.cpu_utilization.target_utilization`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\n\n*manual scaling* in the flexible environment: \n\n* [`manual_scaling.instances`](https: //cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)", + "file": "VersionsClient/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "appengine_v1_generated_Versions_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "appengine UpdateVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json b/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json index 3c4255ae48f4..edc6eacb4ea8 100644 --- a/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json +++ b/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json @@ -1,1669 +1,1669 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apphub/apiv1", - "version": "0.4.0", - "language": "GO", "apis": [ { "id": "google.cloud.apphub.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apphub/apiv1", + "version": "0.4.0" }, "snippets": [ { - "regionTag": "apphub_v1_generated_AppHub_CancelOperation_sync", - "title": "apphub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub CancelOperation Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_CreateApplication_sync", - "title": "apphub CreateApplication Sample", - "description": "CreateApplication creates an Application in a host project and location.", - "file": "Client/CreateApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApplication", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.CreateApplication", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.CreateApplication", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "CreateApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.CreateApplicationRequest", - "name": "req" + "name": "req", + "type": "apphubpb.CreateApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "CreateApplication", - "fullName": "google.cloud.apphub.v1.AppHub.CreateApplication", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "CreateApplication" }, + "description": "CreateApplication creates an Application in a host project and location.", + "file": "Client/CreateApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_CreateApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub CreateApplication Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_CreateService_sync", - "title": "apphub CreateService Sample", - "description": "CreateService creates a Service in an Application.", - "file": "Client/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.CreateService", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.CreateService", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "apphubpb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.apphub.v1.AppHub.CreateService", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a Service in an Application.", + "file": "Client/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_CreateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub CreateService Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_CreateServiceProjectAttachment_sync", - "title": "apphub CreateServiceProjectAttachment Sample", - "description": "CreateServiceProjectAttachment attaches a service project to the host project.", - "file": "Client/CreateServiceProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceProjectAttachment", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.CreateServiceProjectAttachment", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.CreateServiceProjectAttachment", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "CreateServiceProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.CreateServiceProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apphubpb.CreateServiceProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceProjectAttachmentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "CreateServiceProjectAttachment", - "fullName": "google.cloud.apphub.v1.AppHub.CreateServiceProjectAttachment", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "CreateServiceProjectAttachment" }, + "description": "CreateServiceProjectAttachment attaches a service project to the host project.", + "file": "Client/CreateServiceProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_CreateServiceProjectAttachment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub CreateServiceProjectAttachment Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_CreateWorkload_sync", - "title": "apphub CreateWorkload Sample", - "description": "CreateWorkload creates a Workload in an Application.", - "file": "Client/CreateWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkload", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.CreateWorkload", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.CreateWorkload", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "CreateWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.CreateWorkloadRequest", - "name": "req" + "name": "req", + "type": "apphubpb.CreateWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkloadOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "CreateWorkload", - "fullName": "google.cloud.apphub.v1.AppHub.CreateWorkload", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "CreateWorkload" }, + "description": "CreateWorkload creates a Workload in an Application.", + "file": "Client/CreateWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_CreateWorkload_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub CreateWorkload Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_DeleteApplication_sync", - "title": "apphub DeleteApplication Sample", - "description": "DeleteApplication deletes an Application in a host project and location.", - "file": "Client/DeleteApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApplication", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.DeleteApplication", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.DeleteApplication", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "DeleteApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.DeleteApplicationRequest", - "name": "req" + "name": "req", + "type": "apphubpb.DeleteApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteApplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "DeleteApplication", - "fullName": "google.cloud.apphub.v1.AppHub.DeleteApplication", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "DeleteApplication" }, + "description": "DeleteApplication deletes an Application in a host project and location.", + "file": "Client/DeleteApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_DeleteApplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub DeleteApplication Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_DeleteOperation_sync", - "title": "apphub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub DeleteOperation Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_DeleteService_sync", - "title": "apphub DeleteService Sample", - "description": "DeleteService deletes a Service from an Application.", - "file": "Client/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.DeleteService", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.DeleteService", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "apphubpb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.apphub.v1.AppHub.DeleteService", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a Service from an Application.", + "file": "Client/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_DeleteService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub DeleteService Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_DeleteServiceProjectAttachment_sync", - "title": "apphub DeleteServiceProjectAttachment Sample", - "description": "DeleteServiceProjectAttachment deletes a service project attachment.", - "file": "Client/DeleteServiceProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceProjectAttachment", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.DeleteServiceProjectAttachment", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.DeleteServiceProjectAttachment", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "DeleteServiceProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.DeleteServiceProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apphubpb.DeleteServiceProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceProjectAttachmentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "DeleteServiceProjectAttachment", - "fullName": "google.cloud.apphub.v1.AppHub.DeleteServiceProjectAttachment", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "DeleteServiceProjectAttachment" }, + "description": "DeleteServiceProjectAttachment deletes a service project attachment.", + "file": "Client/DeleteServiceProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_DeleteServiceProjectAttachment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub DeleteServiceProjectAttachment Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_DeleteWorkload_sync", - "title": "apphub DeleteWorkload Sample", - "description": "DeleteWorkload deletes a Workload from an Application.", - "file": "Client/DeleteWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkload", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.DeleteWorkload", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.DeleteWorkload", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "DeleteWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.DeleteWorkloadRequest", - "name": "req" + "name": "req", + "type": "apphubpb.DeleteWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkloadOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "DeleteWorkload", - "fullName": "google.cloud.apphub.v1.AppHub.DeleteWorkload", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "DeleteWorkload" }, + "description": "DeleteWorkload deletes a Workload from an Application.", + "file": "Client/DeleteWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_DeleteWorkload_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub DeleteWorkload Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_DetachServiceProjectAttachment_sync", - "title": "apphub DetachServiceProjectAttachment Sample", - "description": "DetachServiceProjectAttachment detaches a service project from a host project.\nYou can call this API from any service project without needing access to\nthe host project that it is attached to.", - "file": "Client/DetachServiceProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachServiceProjectAttachment", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.DetachServiceProjectAttachment", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.DetachServiceProjectAttachment", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "DetachServiceProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.DetachServiceProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apphubpb.DetachServiceProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.DetachServiceProjectAttachmentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "DetachServiceProjectAttachment", - "fullName": "google.cloud.apphub.v1.AppHub.DetachServiceProjectAttachment", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "DetachServiceProjectAttachment" }, + "description": "DetachServiceProjectAttachment detaches a service project from a host project.\nYou can call this API from any service project without needing access to\nthe host project that it is attached to.", + "file": "Client/DetachServiceProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_DetachServiceProjectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub DetachServiceProjectAttachment Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetApplication_sync", - "title": "apphub GetApplication Sample", - "description": "GetApplication gets an Application in a host project and location.", - "file": "Client/GetApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApplication", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetApplication", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.GetApplication", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "GetApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.GetApplicationRequest", - "name": "req" + "name": "req", + "type": "apphubpb.GetApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.Application", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetApplication", - "fullName": "google.cloud.apphub.v1.AppHub.GetApplication", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "GetApplication" }, + "description": "GetApplication gets an Application in a host project and location.", + "file": "Client/GetApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetApplication_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetApplication Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetDiscoveredService_sync", - "title": "apphub GetDiscoveredService Sample", - "description": "GetDiscoveredService gets a Discovered Service in a host project and location.", - "file": "Client/GetDiscoveredService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiscoveredService", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetDiscoveredService", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.GetDiscoveredService", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "GetDiscoveredService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.GetDiscoveredServiceRequest", - "name": "req" + "name": "req", + "type": "apphubpb.GetDiscoveredServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.DiscoveredService", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetDiscoveredService", - "fullName": "google.cloud.apphub.v1.AppHub.GetDiscoveredService", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "GetDiscoveredService" }, + "description": "GetDiscoveredService gets a Discovered Service in a host project and location.", + "file": "Client/GetDiscoveredService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetDiscoveredService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetDiscoveredService Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetDiscoveredWorkload_sync", - "title": "apphub GetDiscoveredWorkload Sample", - "description": "GetDiscoveredWorkload gets a Discovered Workload in a host project and location.", - "file": "Client/GetDiscoveredWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiscoveredWorkload", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetDiscoveredWorkload", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.GetDiscoveredWorkload", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "GetDiscoveredWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.GetDiscoveredWorkloadRequest", - "name": "req" + "name": "req", + "type": "apphubpb.GetDiscoveredWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.DiscoveredWorkload", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetDiscoveredWorkload", - "fullName": "google.cloud.apphub.v1.AppHub.GetDiscoveredWorkload", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "GetDiscoveredWorkload" }, + "description": "GetDiscoveredWorkload gets a Discovered Workload in a host project and location.", + "file": "Client/GetDiscoveredWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetDiscoveredWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetDiscoveredWorkload Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetIamPolicy_sync", - "title": "apphub 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", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetIamPolicy Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetLocation_sync", - "title": "apphub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetLocation Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetOperation_sync", - "title": "apphub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetOperation Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetService_sync", - "title": "apphub GetService Sample", - "description": "GetService gets a Service in an Application.", - "file": "Client/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetService", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.GetService", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "apphubpb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.Service", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.apphub.v1.AppHub.GetService", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "GetService" }, + "description": "GetService gets a Service in an Application.", + "file": "Client/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetService Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetServiceProjectAttachment_sync", - "title": "apphub GetServiceProjectAttachment Sample", - "description": "GetServiceProjectAttachment gets a service project attachment.", - "file": "Client/GetServiceProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceProjectAttachment", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetServiceProjectAttachment", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.GetServiceProjectAttachment", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "GetServiceProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.GetServiceProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apphubpb.GetServiceProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.ServiceProjectAttachment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetServiceProjectAttachment", - "fullName": "google.cloud.apphub.v1.AppHub.GetServiceProjectAttachment", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "GetServiceProjectAttachment" }, + "description": "GetServiceProjectAttachment gets a service project attachment.", + "file": "Client/GetServiceProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetServiceProjectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetServiceProjectAttachment Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_GetWorkload_sync", - "title": "apphub GetWorkload Sample", - "description": "GetWorkload gets a Workload in an Application.", - "file": "Client/GetWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkload", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.GetWorkload", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.GetWorkload", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "GetWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.GetWorkloadRequest", - "name": "req" + "name": "req", + "type": "apphubpb.GetWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.Workload", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "GetWorkload", - "fullName": "google.cloud.apphub.v1.AppHub.GetWorkload", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "GetWorkload" }, + "description": "GetWorkload gets a Workload in an Application.", + "file": "Client/GetWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_GetWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub GetWorkload Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListApplications_sync", - "title": "apphub ListApplications Sample", - "description": "ListApplications lists Applications in a host project and location.", - "file": "Client/ListApplications/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApplications", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListApplications", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.ListApplications", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "ListApplications" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.ListApplicationsRequest", - "name": "req" + "name": "req", + "type": "apphubpb.ListApplicationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApplicationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListApplications", - "fullName": "google.cloud.apphub.v1.AppHub.ListApplications", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "ListApplications" }, + "description": "ListApplications lists Applications in a host project and location.", + "file": "Client/ListApplications/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListApplications_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListApplications Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListDiscoveredServices_sync", - "title": "apphub ListDiscoveredServices Sample", - "description": "ListDiscoveredServices lists Discovered Services that can be added to an Application in a host\nproject and location.", - "file": "Client/ListDiscoveredServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDiscoveredServices", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListDiscoveredServices", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.ListDiscoveredServices", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "ListDiscoveredServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.ListDiscoveredServicesRequest", - "name": "req" + "name": "req", + "type": "apphubpb.ListDiscoveredServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiscoveredServiceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListDiscoveredServices", - "fullName": "google.cloud.apphub.v1.AppHub.ListDiscoveredServices", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "ListDiscoveredServices" }, + "description": "ListDiscoveredServices lists Discovered Services that can be added to an Application in a host\nproject and location.", + "file": "Client/ListDiscoveredServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListDiscoveredServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListDiscoveredServices Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListDiscoveredWorkloads_sync", - "title": "apphub ListDiscoveredWorkloads Sample", - "description": "ListDiscoveredWorkloads lists Discovered Workloads that can be added to an Application in a host\nproject and location.", - "file": "Client/ListDiscoveredWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDiscoveredWorkloads", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListDiscoveredWorkloads", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.ListDiscoveredWorkloads", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "ListDiscoveredWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.ListDiscoveredWorkloadsRequest", - "name": "req" + "name": "req", + "type": "apphubpb.ListDiscoveredWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiscoveredWorkloadIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListDiscoveredWorkloads", - "fullName": "google.cloud.apphub.v1.AppHub.ListDiscoveredWorkloads", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "ListDiscoveredWorkloads" }, + "description": "ListDiscoveredWorkloads lists Discovered Workloads that can be added to an Application in a host\nproject and location.", + "file": "Client/ListDiscoveredWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListDiscoveredWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListDiscoveredWorkloads Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListLocations_sync", - "title": "apphub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListLocations Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListOperations_sync", - "title": "apphub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListOperations Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListServiceProjectAttachments_sync", - "title": "apphub ListServiceProjectAttachments Sample", - "description": "ListServiceProjectAttachments lists service projects attached to the host project.", - "file": "Client/ListServiceProjectAttachments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceProjectAttachments", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListServiceProjectAttachments", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.ListServiceProjectAttachments", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "ListServiceProjectAttachments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.ListServiceProjectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "apphubpb.ListServiceProjectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceProjectAttachmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListServiceProjectAttachments", - "fullName": "google.cloud.apphub.v1.AppHub.ListServiceProjectAttachments", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "ListServiceProjectAttachments" }, + "description": "ListServiceProjectAttachments lists service projects attached to the host project.", + "file": "Client/ListServiceProjectAttachments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListServiceProjectAttachments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListServiceProjectAttachments Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListServices_sync", - "title": "apphub ListServices Sample", - "description": "ListServices lists Services in an Application.", - "file": "Client/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListServices", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.ListServices", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "apphubpb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.apphub.v1.AppHub.ListServices", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists Services in an Application.", + "file": "Client/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListServices Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_ListWorkloads_sync", - "title": "apphub ListWorkloads Sample", - "description": "ListWorkloads lists Workloads in an Application.", - "file": "Client/ListWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkloads", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.ListWorkloads", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.ListWorkloads", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "ListWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.ListWorkloadsRequest", - "name": "req" + "name": "req", + "type": "apphubpb.ListWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkloadIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "ListWorkloads", - "fullName": "google.cloud.apphub.v1.AppHub.ListWorkloads", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "ListWorkloads" }, + "description": "ListWorkloads lists Workloads in an Application.", + "file": "Client/ListWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_ListWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub ListWorkloads Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_LookupDiscoveredService_sync", - "title": "apphub LookupDiscoveredService Sample", - "description": "LookupDiscoveredService lists a Discovered Service in a host project and location, with a\ngiven resource URI.", - "file": "Client/LookupDiscoveredService/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupDiscoveredService", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.LookupDiscoveredService", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.LookupDiscoveredService", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "LookupDiscoveredService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.LookupDiscoveredServiceRequest", - "name": "req" + "name": "req", + "type": "apphubpb.LookupDiscoveredServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.LookupDiscoveredServiceResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "LookupDiscoveredService", - "fullName": "google.cloud.apphub.v1.AppHub.LookupDiscoveredService", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "LookupDiscoveredService" }, + "description": "LookupDiscoveredService lists a Discovered Service in a host project and location, with a\ngiven resource URI.", + "file": "Client/LookupDiscoveredService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_LookupDiscoveredService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub LookupDiscoveredService Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_LookupDiscoveredWorkload_sync", - "title": "apphub LookupDiscoveredWorkload Sample", - "description": "LookupDiscoveredWorkload lists a Discovered Workload in a host project and location, with a\ngiven resource URI.", - "file": "Client/LookupDiscoveredWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupDiscoveredWorkload", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.LookupDiscoveredWorkload", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.LookupDiscoveredWorkload", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "LookupDiscoveredWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.LookupDiscoveredWorkloadRequest", - "name": "req" + "name": "req", + "type": "apphubpb.LookupDiscoveredWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.LookupDiscoveredWorkloadResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "LookupDiscoveredWorkload", - "fullName": "google.cloud.apphub.v1.AppHub.LookupDiscoveredWorkload", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "LookupDiscoveredWorkload" }, + "description": "LookupDiscoveredWorkload lists a Discovered Workload in a host project and location, with a\ngiven resource URI.", + "file": "Client/LookupDiscoveredWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_LookupDiscoveredWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub LookupDiscoveredWorkload Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_LookupServiceProjectAttachment_sync", - "title": "apphub LookupServiceProjectAttachment Sample", - "description": "LookupServiceProjectAttachment lists a service project attachment for a given service project. You can\ncall this API from any project to find if it is attached to a host project.", - "file": "Client/LookupServiceProjectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupServiceProjectAttachment", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.LookupServiceProjectAttachment", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.LookupServiceProjectAttachment", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "LookupServiceProjectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.LookupServiceProjectAttachmentRequest", - "name": "req" + "name": "req", + "type": "apphubpb.LookupServiceProjectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apphubpb.LookupServiceProjectAttachmentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "LookupServiceProjectAttachment", - "fullName": "google.cloud.apphub.v1.AppHub.LookupServiceProjectAttachment", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "LookupServiceProjectAttachment" }, + "description": "LookupServiceProjectAttachment lists a service project attachment for a given service project. You can\ncall this API from any project to find if it is attached to a host project.", + "file": "Client/LookupServiceProjectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_LookupServiceProjectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub LookupServiceProjectAttachment Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_SetIamPolicy_sync", - "title": "apphub 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", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub SetIamPolicy Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_TestIamPermissions_sync", - "title": "apphub 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", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub TestIamPermissions Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_UpdateApplication_sync", - "title": "apphub UpdateApplication Sample", - "description": "UpdateApplication updates an Application in a host project and location.", - "file": "Client/UpdateApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApplication", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.UpdateApplication", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.UpdateApplication", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "UpdateApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.UpdateApplicationRequest", - "name": "req" + "name": "req", + "type": "apphubpb.UpdateApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "UpdateApplication", - "fullName": "google.cloud.apphub.v1.AppHub.UpdateApplication", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "UpdateApplication" }, + "description": "UpdateApplication updates an Application in a host project and location.", + "file": "Client/UpdateApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_UpdateApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub UpdateApplication Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_UpdateService_sync", - "title": "apphub UpdateService Sample", - "description": "UpdateService updates a Service in an Application.", - "file": "Client/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.UpdateService", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.UpdateService", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "apphubpb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.apphub.v1.AppHub.UpdateService", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates a Service in an Application.", + "file": "Client/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_UpdateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub UpdateService Sample" }, { - "regionTag": "apphub_v1_generated_AppHub_UpdateWorkload_sync", - "title": "apphub UpdateWorkload Sample", - "description": "UpdateWorkload updates a Workload in an Application.", - "file": "Client/UpdateWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkload", + "client": { + "fullName": "google.cloud.apphub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.apphub.v1.Client.UpdateWorkload", + "method": { + "fullName": "google.cloud.apphub.v1.AppHub.UpdateWorkload", + "service": { + "fullName": "google.cloud.apphub.v1.AppHub", + "shortName": "AppHub" + }, + "shortName": "UpdateWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apphubpb.UpdateWorkloadRequest", - "name": "req" + "name": "req", + "type": "apphubpb.UpdateWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkloadOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.apphub.v1.Client" - }, - "method": { - "shortName": "UpdateWorkload", - "fullName": "google.cloud.apphub.v1.AppHub.UpdateWorkload", - "service": { - "shortName": "AppHub", - "fullName": "google.cloud.apphub.v1.AppHub" - } - } + "shortName": "UpdateWorkload" }, + "description": "UpdateWorkload updates a Workload in an Application.", + "file": "Client/UpdateWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "apphub_v1_generated_AppHub_UpdateWorkload_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "apphub UpdateWorkload Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json b/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json index 3d2fcc83cddf..68328b4695b6 100644 --- a/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json +++ b/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json @@ -1,337 +1,337 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apps/events/subscriptions/apiv1", - "version": "0.8.0", - "language": "GO", "apis": [ { "id": "google.apps.events.subscriptions.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apps/events/subscriptions/apiv1", + "version": "0.8.0" }, "snippets": [ { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_CreateSubscription_sync", - "title": "workspaceevents CreateSubscription Sample", - "description": "CreateSubscription creates a Google Workspace subscription. To learn how to use this\nmethod, see [Create a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/create-subscription).", - "file": "Client/CreateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.CreateSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.CreateSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "CreateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.CreateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.CreateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "CreateSubscription", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.CreateSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService" - } - } + "shortName": "CreateSubscription" }, + "description": "CreateSubscription creates a Google Workspace subscription. To learn how to use this\nmethod, see [Create a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/create-subscription).", + "file": "Client/CreateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_CreateSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents CreateSubscription Sample" }, { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_DeleteSubscription_sync", - "title": "workspaceevents DeleteSubscription Sample", - "description": "DeleteSubscription deletes a Google Workspace subscription.\nTo learn how to use this method, see [Delete a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/delete-subscription).", - "file": "Client/DeleteSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.DeleteSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.DeleteSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "DeleteSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.DeleteSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.DeleteSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "DeleteSubscription", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.DeleteSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService" - } - } + "shortName": "DeleteSubscription" }, + "description": "DeleteSubscription deletes a Google Workspace subscription.\nTo learn how to use this method, see [Delete a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/delete-subscription).", + "file": "Client/DeleteSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_DeleteSubscription_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents DeleteSubscription Sample" }, { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_GetOperation_sync", - "title": "workspaceevents GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents GetOperation Sample" }, { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_GetSubscription_sync", - "title": "workspaceevents GetSubscription Sample", - "description": "GetSubscription gets details about a Google Workspace subscription. To learn how to use\nthis method, see [Get details about a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/get-subscription).", - "file": "Client/GetSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.GetSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.GetSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "GetSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.GetSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.GetSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*subscriptionspb.Subscription", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "GetSubscription", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.GetSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService" - } - } + "shortName": "GetSubscription" }, + "description": "GetSubscription gets details about a Google Workspace subscription. To learn how to use\nthis method, see [Get details about a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/get-subscription).", + "file": "Client/GetSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_GetSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents GetSubscription Sample" }, { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_ListSubscriptions_sync", - "title": "workspaceevents ListSubscriptions Sample", - "description": "ListSubscriptions lists Google Workspace subscriptions. To learn how to use this method, see\n[List Google Workspace\nsubscriptions](https: //developers.google.com/workspace/events/guides/list-subscriptions).", - "file": "Client/ListSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubscriptions", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.ListSubscriptions", + "method": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.ListSubscriptions", + "service": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "ListSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.ListSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.ListSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubscriptionIterator", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "ListSubscriptions", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.ListSubscriptions", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService" - } - } + "shortName": "ListSubscriptions" }, + "description": "ListSubscriptions lists Google Workspace subscriptions. To learn how to use this method, see\n[List Google Workspace\nsubscriptions](https: //developers.google.com/workspace/events/guides/list-subscriptions).", + "file": "Client/ListSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_ListSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents ListSubscriptions Sample" }, { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_ReactivateSubscription_sync", - "title": "workspaceevents ReactivateSubscription Sample", - "description": "ReactivateSubscription reactivates a suspended Google Workspace subscription.\n\nThis method resets your subscription's `State` field to `ACTIVE`. Before\nyou use this method, you must fix the error that suspended the\nsubscription. To learn how to use this method, see [Reactivate a Google\nWorkspace\nsubscription](https: //developers.google.com/workspace/events/guides/reactivate-subscription).", - "file": "Client/ReactivateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReactivateSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.ReactivateSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.ReactivateSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "ReactivateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.ReactivateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.ReactivateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReactivateSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "ReactivateSubscription", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.ReactivateSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService" - } - } + "shortName": "ReactivateSubscription" }, + "description": "ReactivateSubscription reactivates a suspended Google Workspace subscription.\n\nThis method resets your subscription's `State` field to `ACTIVE`. Before\nyou use this method, you must fix the error that suspended the\nsubscription. To learn how to use this method, see [Reactivate a Google\nWorkspace\nsubscription](https: //developers.google.com/workspace/events/guides/reactivate-subscription).", + "file": "Client/ReactivateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_ReactivateSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents ReactivateSubscription Sample" }, { - "regionTag": "workspaceevents_v1_generated_SubscriptionsService_UpdateSubscription_sync", - "title": "workspaceevents UpdateSubscription Sample", - "description": "UpdateSubscription updates or renews a Google Workspace subscription. To learn how to use this\nmethod, see [Update or renew a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/update-subscription).", - "file": "Client/UpdateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1.Client.UpdateSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.UpdateSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "UpdateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.UpdateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.UpdateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1.Client" - }, - "method": { - "shortName": "UpdateSubscription", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.UpdateSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService" - } - } + "shortName": "UpdateSubscription" }, + "description": "UpdateSubscription updates or renews a Google Workspace subscription. To learn how to use this\nmethod, see [Update or renew a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/update-subscription).", + "file": "Client/UpdateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1_generated_SubscriptionsService_UpdateSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents UpdateSubscription Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apps/events/subscriptions/apiv1beta/snippet_metadata.google.apps.events.subscriptions.v1beta.json b/internal/generated/snippets/apps/events/subscriptions/apiv1beta/snippet_metadata.google.apps.events.subscriptions.v1beta.json index c13868ae6556..3c3504a9ec00 100644 --- a/internal/generated/snippets/apps/events/subscriptions/apiv1beta/snippet_metadata.google.apps.events.subscriptions.v1beta.json +++ b/internal/generated/snippets/apps/events/subscriptions/apiv1beta/snippet_metadata.google.apps.events.subscriptions.v1beta.json @@ -1,337 +1,337 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apps/events/subscriptions/apiv1beta", - "version": "0.8.0", - "language": "GO", "apis": [ { "id": "google.apps.events.subscriptions.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apps/events/subscriptions/apiv1beta", + "version": "0.8.0" }, "snippets": [ { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_CreateSubscription_sync", - "title": "workspaceevents CreateSubscription Sample", - "description": "CreateSubscription creates a Google Workspace subscription. To learn how to use this\nmethod, see [Create a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/create-subscription).", - "file": "Client/CreateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.CreateSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.CreateSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "CreateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.CreateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.CreateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "CreateSubscription", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.CreateSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService" - } - } + "shortName": "CreateSubscription" }, + "description": "CreateSubscription creates a Google Workspace subscription. To learn how to use this\nmethod, see [Create a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/create-subscription).", + "file": "Client/CreateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_CreateSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents CreateSubscription Sample" }, { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_DeleteSubscription_sync", - "title": "workspaceevents DeleteSubscription Sample", - "description": "DeleteSubscription deletes a Google Workspace subscription.\nTo learn how to use this method, see [Delete a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/delete-subscription).", - "file": "Client/DeleteSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.DeleteSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.DeleteSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "DeleteSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.DeleteSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.DeleteSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "DeleteSubscription", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.DeleteSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService" - } - } + "shortName": "DeleteSubscription" }, + "description": "DeleteSubscription deletes a Google Workspace subscription.\nTo learn how to use this method, see [Delete a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/delete-subscription).", + "file": "Client/DeleteSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_DeleteSubscription_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents DeleteSubscription Sample" }, { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_GetOperation_sync", - "title": "workspaceevents GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents GetOperation Sample" }, { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_GetSubscription_sync", - "title": "workspaceevents GetSubscription Sample", - "description": "GetSubscription gets details about a Google Workspace subscription. To learn how to use\nthis method, see [Get details about a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/get-subscription).", - "file": "Client/GetSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.GetSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.GetSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "GetSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.GetSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.GetSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*subscriptionspb.Subscription", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "GetSubscription", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.GetSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService" - } - } + "shortName": "GetSubscription" }, + "description": "GetSubscription gets details about a Google Workspace subscription. To learn how to use\nthis method, see [Get details about a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/get-subscription).", + "file": "Client/GetSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_GetSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents GetSubscription Sample" }, { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_ListSubscriptions_sync", - "title": "workspaceevents ListSubscriptions Sample", - "description": "ListSubscriptions lists Google Workspace subscriptions. To learn how to use this method, see\n[List Google Workspace\nsubscriptions](https: //developers.google.com/workspace/events/guides/list-subscriptions).", - "file": "Client/ListSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubscriptions", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.ListSubscriptions", + "method": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.ListSubscriptions", + "service": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "ListSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.ListSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.ListSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubscriptionIterator", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "ListSubscriptions", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.ListSubscriptions", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService" - } - } + "shortName": "ListSubscriptions" }, + "description": "ListSubscriptions lists Google Workspace subscriptions. To learn how to use this method, see\n[List Google Workspace\nsubscriptions](https: //developers.google.com/workspace/events/guides/list-subscriptions).", + "file": "Client/ListSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_ListSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents ListSubscriptions Sample" }, { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_ReactivateSubscription_sync", - "title": "workspaceevents ReactivateSubscription Sample", - "description": "ReactivateSubscription reactivates a suspended Google Workspace subscription.\n\nThis method resets your subscription's `State` field to `ACTIVE`. Before\nyou use this method, you must fix the error that suspended the\nsubscription. This method will ignore or reject any subscription that\nisn't currently in a suspended state. To learn how to use this method, see\n[Reactivate a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/reactivate-subscription).", - "file": "Client/ReactivateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReactivateSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.ReactivateSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.ReactivateSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "ReactivateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.ReactivateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.ReactivateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReactivateSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "ReactivateSubscription", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.ReactivateSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService" - } - } + "shortName": "ReactivateSubscription" }, + "description": "ReactivateSubscription reactivates a suspended Google Workspace subscription.\n\nThis method resets your subscription's `State` field to `ACTIVE`. Before\nyou use this method, you must fix the error that suspended the\nsubscription. This method will ignore or reject any subscription that\nisn't currently in a suspended state. To learn how to use this method, see\n[Reactivate a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/reactivate-subscription).", + "file": "Client/ReactivateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_ReactivateSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents ReactivateSubscription Sample" }, { - "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_UpdateSubscription_sync", - "title": "workspaceevents UpdateSubscription Sample", - "description": "UpdateSubscription updates or renews a Google Workspace subscription. To learn how to use this\nmethod, see [Update or renew a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/update-subscription).", - "file": "Client/UpdateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubscription", + "client": { + "fullName": "google.apps.events.subscriptions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.apps.events.subscriptions.v1beta.Client.UpdateSubscription", + "method": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.UpdateSubscription", + "service": { + "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService", + "shortName": "SubscriptionsService" + }, + "shortName": "UpdateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "subscriptionspb.UpdateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "subscriptionspb.UpdateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.apps.events.subscriptions.v1beta.Client" - }, - "method": { - "shortName": "UpdateSubscription", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService.UpdateSubscription", - "service": { - "shortName": "SubscriptionsService", - "fullName": "google.apps.events.subscriptions.v1beta.SubscriptionsService" - } - } + "shortName": "UpdateSubscription" }, + "description": "UpdateSubscription updates or renews a Google Workspace subscription. To learn how to use this\nmethod, see [Update or renew a Google Workspace\nsubscription](https: //developers.google.com/workspace/events/guides/update-subscription).", + "file": "Client/UpdateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workspaceevents_v1beta_generated_SubscriptionsService_UpdateSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workspaceevents UpdateSubscription Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json b/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json index 1c156fd064a1..679adcbde584 100644 --- a/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json +++ b/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json @@ -1,750 +1,750 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apps/meet/apiv2", - "version": "0.8.0", - "language": "GO", "apis": [ { "id": "google.apps.meet.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apps/meet/apiv2", + "version": "0.8.0" }, "snippets": [ { - "regionTag": "meet_v2_generated_ConferenceRecordsService_GetConferenceRecord_sync", - "title": "meet GetConferenceRecord Sample", - "description": "GetConferenceRecord gets a conference record by conference ID.", - "file": "ConferenceRecordsClient/GetConferenceRecord/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConferenceRecord", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.GetConferenceRecord", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetConferenceRecord", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetConferenceRecord" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetConferenceRecordRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetConferenceRecordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.ConferenceRecord", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetConferenceRecord", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetConferenceRecord", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "GetConferenceRecord" }, + "description": "GetConferenceRecord gets a conference record by conference ID.", + "file": "ConferenceRecordsClient/GetConferenceRecord/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_GetConferenceRecord_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetConferenceRecord Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_GetParticipant_sync", - "title": "meet GetParticipant Sample", - "description": "GetParticipant gets a participant by participant ID.", - "file": "ConferenceRecordsClient/GetParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParticipant", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.GetParticipant", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetParticipant", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetParticipantRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Participant", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetParticipant", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetParticipant", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "GetParticipant" }, + "description": "GetParticipant gets a participant by participant ID.", + "file": "ConferenceRecordsClient/GetParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_GetParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetParticipant Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_GetParticipantSession_sync", - "title": "meet GetParticipantSession Sample", - "description": "GetParticipantSession gets a participant session by participant session ID.", - "file": "ConferenceRecordsClient/GetParticipantSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParticipantSession", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.GetParticipantSession", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetParticipantSession", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetParticipantSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetParticipantSessionRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetParticipantSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.ParticipantSession", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetParticipantSession", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetParticipantSession", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "GetParticipantSession" }, + "description": "GetParticipantSession gets a participant session by participant session ID.", + "file": "ConferenceRecordsClient/GetParticipantSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_GetParticipantSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetParticipantSession Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_GetRecording_sync", - "title": "meet GetRecording Sample", - "description": "GetRecording gets a recording by recording ID.", - "file": "ConferenceRecordsClient/GetRecording/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecording", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.GetRecording", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetRecording", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetRecording" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetRecordingRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetRecordingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Recording", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetRecording", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetRecording", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "GetRecording" }, + "description": "GetRecording gets a recording by recording ID.", + "file": "ConferenceRecordsClient/GetRecording/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_GetRecording_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetRecording Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_GetTranscript_sync", - "title": "meet GetTranscript Sample", - "description": "GetTranscript gets a transcript by transcript ID.", - "file": "ConferenceRecordsClient/GetTranscript/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTranscript", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.GetTranscript", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetTranscript", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetTranscript" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetTranscriptRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetTranscriptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Transcript", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetTranscript", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetTranscript", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "GetTranscript" }, + "description": "GetTranscript gets a transcript by transcript ID.", + "file": "ConferenceRecordsClient/GetTranscript/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_GetTranscript_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetTranscript Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_GetTranscriptEntry_sync", - "title": "meet GetTranscriptEntry Sample", - "description": "GetTranscriptEntry gets a `TranscriptEntry` resource by entry ID.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", - "file": "ConferenceRecordsClient/GetTranscriptEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTranscriptEntry", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.GetTranscriptEntry", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetTranscriptEntry", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetTranscriptEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetTranscriptEntryRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetTranscriptEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.TranscriptEntry", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetTranscriptEntry", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetTranscriptEntry", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "GetTranscriptEntry" }, + "description": "GetTranscriptEntry gets a `TranscriptEntry` resource by entry ID.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", + "file": "ConferenceRecordsClient/GetTranscriptEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_GetTranscriptEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetTranscriptEntry Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_ListConferenceRecords_sync", - "title": "meet ListConferenceRecords Sample", - "description": "ListConferenceRecords lists the conference records. By default, ordered by start time and in\ndescending order.", - "file": "ConferenceRecordsClient/ListConferenceRecords/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConferenceRecords", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.ListConferenceRecords", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListConferenceRecords", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListConferenceRecords" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListConferenceRecordsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListConferenceRecordsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConferenceRecordIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListConferenceRecords", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListConferenceRecords", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "ListConferenceRecords" }, + "description": "ListConferenceRecords lists the conference records. By default, ordered by start time and in\ndescending order.", + "file": "ConferenceRecordsClient/ListConferenceRecords/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_ListConferenceRecords_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListConferenceRecords Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_ListParticipantSessions_sync", - "title": "meet ListParticipantSessions Sample", - "description": "ListParticipantSessions lists the participant sessions of a participant in a conference record. By\ndefault, ordered by join time and in descending order. This API supports\n`fields` as standard parameters like every other API. However, when the\n`fields` request parameter is omitted this API defaults to\n`'participantsessions/*, next_page_token'`.", - "file": "ConferenceRecordsClient/ListParticipantSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParticipantSessions", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.ListParticipantSessions", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListParticipantSessions", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListParticipantSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListParticipantSessionsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListParticipantSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParticipantSessionIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListParticipantSessions", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListParticipantSessions", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "ListParticipantSessions" }, + "description": "ListParticipantSessions lists the participant sessions of a participant in a conference record. By\ndefault, ordered by join time and in descending order. This API supports\n`fields` as standard parameters like every other API. However, when the\n`fields` request parameter is omitted this API defaults to\n`'participantsessions/*, next_page_token'`.", + "file": "ConferenceRecordsClient/ListParticipantSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_ListParticipantSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListParticipantSessions Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_ListParticipants_sync", - "title": "meet ListParticipants Sample", - "description": "ListParticipants lists the participants in a conference record. By default, ordered by join\ntime and in descending order. This API supports `fields` as standard\nparameters like every other API. However, when the `fields` request\nparameter is omitted, this API defaults to `'participants/*,\nnext_page_token'`.", - "file": "ConferenceRecordsClient/ListParticipants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParticipants", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.ListParticipants", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListParticipants", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListParticipants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListParticipantsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListParticipantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParticipantIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListParticipants", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListParticipants", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "ListParticipants" }, + "description": "ListParticipants lists the participants in a conference record. By default, ordered by join\ntime and in descending order. This API supports `fields` as standard\nparameters like every other API. However, when the `fields` request\nparameter is omitted, this API defaults to `'participants/*,\nnext_page_token'`.", + "file": "ConferenceRecordsClient/ListParticipants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_ListParticipants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListParticipants Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_ListRecordings_sync", - "title": "meet ListRecordings Sample", - "description": "ListRecordings lists the recording resources from the conference record. By default,\nordered by start time and in ascending order.", - "file": "ConferenceRecordsClient/ListRecordings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRecordings", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.ListRecordings", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListRecordings", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListRecordings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListRecordingsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListRecordingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecordingIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListRecordings", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListRecordings", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "ListRecordings" }, + "description": "ListRecordings lists the recording resources from the conference record. By default,\nordered by start time and in ascending order.", + "file": "ConferenceRecordsClient/ListRecordings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_ListRecordings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListRecordings Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_ListTranscriptEntries_sync", - "title": "meet ListTranscriptEntries Sample", - "description": "ListTranscriptEntries lists the structured transcript entries per transcript. By default, ordered\nby start time and in ascending order.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", - "file": "ConferenceRecordsClient/ListTranscriptEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTranscriptEntries", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.ListTranscriptEntries", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListTranscriptEntries", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListTranscriptEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListTranscriptEntriesRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListTranscriptEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TranscriptEntryIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListTranscriptEntries", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListTranscriptEntries", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "ListTranscriptEntries" }, + "description": "ListTranscriptEntries lists the structured transcript entries per transcript. By default, ordered\nby start time and in ascending order.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", + "file": "ConferenceRecordsClient/ListTranscriptEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_ListTranscriptEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListTranscriptEntries Sample" }, { - "regionTag": "meet_v2_generated_ConferenceRecordsService_ListTranscripts_sync", - "title": "meet ListTranscripts Sample", - "description": "ListTranscripts lists the set of transcripts from the conference record. By default,\nordered by start time and in ascending order.", - "file": "ConferenceRecordsClient/ListTranscripts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTranscripts", + "client": { + "fullName": "google.apps.meet.v2.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2.ConferenceRecordsClient.ListTranscripts", + "method": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListTranscripts", + "service": { + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListTranscripts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListTranscriptsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListTranscriptsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TranscriptIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListTranscripts", - "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListTranscripts", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2.ConferenceRecordsService" - } - } + "shortName": "ListTranscripts" }, + "description": "ListTranscripts lists the set of transcripts from the conference record. By default,\nordered by start time and in ascending order.", + "file": "ConferenceRecordsClient/ListTranscripts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_ConferenceRecordsService_ListTranscripts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListTranscripts Sample" }, { - "regionTag": "meet_v2_generated_SpacesService_CreateSpace_sync", - "title": "meet CreateSpace Sample", - "description": "CreateSpace creates a space.", - "file": "SpacesClient/CreateSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpace", + "client": { + "fullName": "google.apps.meet.v2.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2.SpacesClient.CreateSpace", + "method": { + "fullName": "google.apps.meet.v2.SpacesService.CreateSpace", + "service": { + "fullName": "google.apps.meet.v2.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "CreateSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.CreateSpaceRequest", - "name": "req" + "name": "req", + "type": "meetpb.CreateSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Space", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2.SpacesClient" - }, - "method": { - "shortName": "CreateSpace", - "fullName": "google.apps.meet.v2.SpacesService.CreateSpace", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2.SpacesService" - } - } + "shortName": "CreateSpace" }, + "description": "CreateSpace creates a space.", + "file": "SpacesClient/CreateSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_SpacesService_CreateSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet CreateSpace Sample" }, { - "regionTag": "meet_v2_generated_SpacesService_EndActiveConference_sync", - "title": "meet EndActiveConference Sample", - "description": "EndActiveConference ends an active conference (if there's one).\n\nFor an example, see [End active\nconference](https: //developers.google.com/meet/api/guides/meeting-spaces#end-active-conference).", - "file": "SpacesClient/EndActiveConference/main.go", - "language": "GO", "clientMethod": { - "shortName": "EndActiveConference", + "client": { + "fullName": "google.apps.meet.v2.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2.SpacesClient.EndActiveConference", + "method": { + "fullName": "google.apps.meet.v2.SpacesService.EndActiveConference", + "service": { + "fullName": "google.apps.meet.v2.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "EndActiveConference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.EndActiveConferenceRequest", - "name": "req" + "name": "req", + "type": "meetpb.EndActiveConferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2.SpacesClient" - }, - "method": { - "shortName": "EndActiveConference", - "fullName": "google.apps.meet.v2.SpacesService.EndActiveConference", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2.SpacesService" - } - } + "shortName": "EndActiveConference" }, + "description": "EndActiveConference ends an active conference (if there's one).\n\nFor an example, see [End active\nconference](https: //developers.google.com/meet/api/guides/meeting-spaces#end-active-conference).", + "file": "SpacesClient/EndActiveConference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_SpacesService_EndActiveConference_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet EndActiveConference Sample" }, { - "regionTag": "meet_v2_generated_SpacesService_GetSpace_sync", - "title": "meet GetSpace Sample", - "description": "GetSpace gets details about a meeting space.\n\nFor an example, see [Get a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#get-meeting-space).", - "file": "SpacesClient/GetSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpace", + "client": { + "fullName": "google.apps.meet.v2.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2.SpacesClient.GetSpace", + "method": { + "fullName": "google.apps.meet.v2.SpacesService.GetSpace", + "service": { + "fullName": "google.apps.meet.v2.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "GetSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetSpaceRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Space", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2.SpacesClient" - }, - "method": { - "shortName": "GetSpace", - "fullName": "google.apps.meet.v2.SpacesService.GetSpace", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2.SpacesService" - } - } + "shortName": "GetSpace" }, + "description": "GetSpace gets details about a meeting space.\n\nFor an example, see [Get a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#get-meeting-space).", + "file": "SpacesClient/GetSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_SpacesService_GetSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetSpace Sample" }, { - "regionTag": "meet_v2_generated_SpacesService_UpdateSpace_sync", - "title": "meet UpdateSpace Sample", - "description": "UpdateSpace updates details about a meeting space.\n\nFor an example, see [Update a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#update-meeting-space).", - "file": "SpacesClient/UpdateSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpace", + "client": { + "fullName": "google.apps.meet.v2.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2.SpacesClient.UpdateSpace", + "method": { + "fullName": "google.apps.meet.v2.SpacesService.UpdateSpace", + "service": { + "fullName": "google.apps.meet.v2.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "UpdateSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.UpdateSpaceRequest", - "name": "req" + "name": "req", + "type": "meetpb.UpdateSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Space", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2.SpacesClient" - }, - "method": { - "shortName": "UpdateSpace", - "fullName": "google.apps.meet.v2.SpacesService.UpdateSpace", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2.SpacesService" - } - } + "shortName": "UpdateSpace" }, + "description": "UpdateSpace updates details about a meeting space.\n\nFor an example, see [Update a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#update-meeting-space).", + "file": "SpacesClient/UpdateSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2_generated_SpacesService_UpdateSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet UpdateSpace Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json b/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json index e8d93a6c0065..ba17ac3c3241 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json +++ b/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json @@ -1,979 +1,979 @@ { "clientLibrary": { - "name": "cloud.google.com/go/apps/meet/apiv2beta", - "version": "0.8.0", - "language": "GO", "apis": [ { "id": "google.apps.meet.v2beta", "version": "v2beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/apps/meet/apiv2beta", + "version": "0.8.0" }, "snippets": [ { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_sync", - "title": "meet GetConferenceRecord Sample", - "description": "GetConferenceRecord gets a conference record by conference ID.", - "file": "ConferenceRecordsClient/GetConferenceRecord/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConferenceRecord", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.GetConferenceRecord", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetConferenceRecord", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetConferenceRecord" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetConferenceRecordRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetConferenceRecordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.ConferenceRecord", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetConferenceRecord", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetConferenceRecord", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "GetConferenceRecord" }, + "description": "GetConferenceRecord gets a conference record by conference ID.", + "file": "ConferenceRecordsClient/GetConferenceRecord/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetConferenceRecord_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetConferenceRecord Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetParticipant_sync", - "title": "meet GetParticipant Sample", - "description": "GetParticipant gets a participant by participant ID.", - "file": "ConferenceRecordsClient/GetParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParticipant", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.GetParticipant", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetParticipant", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetParticipantRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Participant", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetParticipant", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetParticipant", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "GetParticipant" }, + "description": "GetParticipant gets a participant by participant ID.", + "file": "ConferenceRecordsClient/GetParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetParticipant Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetParticipantSession_sync", - "title": "meet GetParticipantSession Sample", - "description": "GetParticipantSession gets a participant session by participant session ID.", - "file": "ConferenceRecordsClient/GetParticipantSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParticipantSession", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.GetParticipantSession", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetParticipantSession", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetParticipantSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetParticipantSessionRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetParticipantSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.ParticipantSession", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetParticipantSession", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetParticipantSession", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "GetParticipantSession" }, + "description": "GetParticipantSession gets a participant session by participant session ID.", + "file": "ConferenceRecordsClient/GetParticipantSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetParticipantSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetParticipantSession Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetRecording_sync", - "title": "meet GetRecording Sample", - "description": "GetRecording gets a recording by recording ID.", - "file": "ConferenceRecordsClient/GetRecording/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecording", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.GetRecording", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetRecording", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetRecording" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetRecordingRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetRecordingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Recording", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetRecording", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetRecording", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "GetRecording" }, + "description": "GetRecording gets a recording by recording ID.", + "file": "ConferenceRecordsClient/GetRecording/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetRecording_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetRecording Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetTranscript_sync", - "title": "meet GetTranscript Sample", - "description": "GetTranscript gets a transcript by transcript ID.", - "file": "ConferenceRecordsClient/GetTranscript/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTranscript", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.GetTranscript", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetTranscript", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetTranscript" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetTranscriptRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetTranscriptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Transcript", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetTranscript", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetTranscript", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "GetTranscript" }, + "description": "GetTranscript gets a transcript by transcript ID.", + "file": "ConferenceRecordsClient/GetTranscript/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetTranscript_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetTranscript Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetTranscriptEntry_sync", - "title": "meet GetTranscriptEntry Sample", - "description": "GetTranscriptEntry gets a `TranscriptEntry` resource by entry ID.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", - "file": "ConferenceRecordsClient/GetTranscriptEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTranscriptEntry", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.GetTranscriptEntry", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetTranscriptEntry", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "GetTranscriptEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetTranscriptEntryRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetTranscriptEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.TranscriptEntry", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "GetTranscriptEntry", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetTranscriptEntry", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "GetTranscriptEntry" }, + "description": "GetTranscriptEntry gets a `TranscriptEntry` resource by entry ID.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", + "file": "ConferenceRecordsClient/GetTranscriptEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_GetTranscriptEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetTranscriptEntry Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListConferenceRecords_sync", - "title": "meet ListConferenceRecords Sample", - "description": "ListConferenceRecords lists the conference records. By default, ordered by start time and in\ndescending order.", - "file": "ConferenceRecordsClient/ListConferenceRecords/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConferenceRecords", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.ListConferenceRecords", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListConferenceRecords", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListConferenceRecords" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListConferenceRecordsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListConferenceRecordsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConferenceRecordIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListConferenceRecords", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListConferenceRecords", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "ListConferenceRecords" }, + "description": "ListConferenceRecords lists the conference records. By default, ordered by start time and in\ndescending order.", + "file": "ConferenceRecordsClient/ListConferenceRecords/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListConferenceRecords_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListConferenceRecords Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListParticipantSessions_sync", - "title": "meet ListParticipantSessions Sample", - "description": "ListParticipantSessions lists the participant sessions of a participant in a conference record. By\ndefault, ordered by join time and in descending order. This API supports\n`fields` as standard parameters like every other API. However, when the\n`fields` request parameter is omitted this API defaults to\n`'participantsessions/*, next_page_token'`.", - "file": "ConferenceRecordsClient/ListParticipantSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParticipantSessions", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.ListParticipantSessions", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListParticipantSessions", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListParticipantSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListParticipantSessionsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListParticipantSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParticipantSessionIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListParticipantSessions", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListParticipantSessions", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "ListParticipantSessions" }, + "description": "ListParticipantSessions lists the participant sessions of a participant in a conference record. By\ndefault, ordered by join time and in descending order. This API supports\n`fields` as standard parameters like every other API. However, when the\n`fields` request parameter is omitted this API defaults to\n`'participantsessions/*, next_page_token'`.", + "file": "ConferenceRecordsClient/ListParticipantSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListParticipantSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListParticipantSessions Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListParticipants_sync", - "title": "meet ListParticipants Sample", - "description": "ListParticipants lists the participants in a conference record. By default, ordered by join\ntime and in descending order. This API supports `fields` as standard\nparameters like every other API. However, when the `fields` request\nparameter is omitted, this API defaults to `'participants/*,\nnext_page_token'`.", - "file": "ConferenceRecordsClient/ListParticipants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParticipants", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.ListParticipants", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListParticipants", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListParticipants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListParticipantsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListParticipantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParticipantIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListParticipants", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListParticipants", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "ListParticipants" }, + "description": "ListParticipants lists the participants in a conference record. By default, ordered by join\ntime and in descending order. This API supports `fields` as standard\nparameters like every other API. However, when the `fields` request\nparameter is omitted, this API defaults to `'participants/*,\nnext_page_token'`.", + "file": "ConferenceRecordsClient/ListParticipants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListParticipants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListParticipants Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListRecordings_sync", - "title": "meet ListRecordings Sample", - "description": "ListRecordings lists the recording resources from the conference record. By default,\nordered by start time and in ascending order.", - "file": "ConferenceRecordsClient/ListRecordings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRecordings", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.ListRecordings", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListRecordings", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListRecordings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListRecordingsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListRecordingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecordingIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListRecordings", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListRecordings", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "ListRecordings" }, + "description": "ListRecordings lists the recording resources from the conference record. By default,\nordered by start time and in ascending order.", + "file": "ConferenceRecordsClient/ListRecordings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListRecordings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListRecordings Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListTranscriptEntries_sync", - "title": "meet ListTranscriptEntries Sample", - "description": "ListTranscriptEntries lists the structured transcript entries per transcript. By default, ordered\nby start time and in ascending order.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", - "file": "ConferenceRecordsClient/ListTranscriptEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTranscriptEntries", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.ListTranscriptEntries", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListTranscriptEntries", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListTranscriptEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListTranscriptEntriesRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListTranscriptEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TranscriptEntryIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListTranscriptEntries", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListTranscriptEntries", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "ListTranscriptEntries" }, + "description": "ListTranscriptEntries lists the structured transcript entries per transcript. By default, ordered\nby start time and in ascending order.\n\nNote: The transcript entries returned by the Google Meet API might not\nmatch the transcription found in the Google Docs transcript file. This can\noccur when the Google Docs transcript file is modified after generation.", + "file": "ConferenceRecordsClient/ListTranscriptEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListTranscriptEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListTranscriptEntries Sample" }, { - "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListTranscripts_sync", - "title": "meet ListTranscripts Sample", - "description": "ListTranscripts lists the set of transcripts from the conference record. By default,\nordered by start time and in ascending order.", - "file": "ConferenceRecordsClient/ListTranscripts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTranscripts", + "client": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient", + "shortName": "ConferenceRecordsClient" + }, "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient.ListTranscripts", + "method": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListTranscripts", + "service": { + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "shortName": "ConferenceRecordsService" + }, + "shortName": "ListTranscripts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListTranscriptsRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListTranscriptsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TranscriptIterator", - "client": { - "shortName": "ConferenceRecordsClient", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsClient" - }, - "method": { - "shortName": "ListTranscripts", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListTranscripts", - "service": { - "shortName": "ConferenceRecordsService", - "fullName": "google.apps.meet.v2beta.ConferenceRecordsService" - } - } + "shortName": "ListTranscripts" }, + "description": "ListTranscripts lists the set of transcripts from the conference record. By default,\nordered by start time and in ascending order.", + "file": "ConferenceRecordsClient/ListTranscripts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_ConferenceRecordsService_ListTranscripts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListTranscripts Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_ConnectActiveConference_sync", - "title": "meet ConnectActiveConference Sample", - "description": "ConnectActiveConference [Developer Preview](https: //developers.google.com/workspace/preview): \nBroker a WebRTC connection to the active conference of a space.\n\nOn success, clients must use the resulting SDP (Session Description\nProtocol) answer to establish a WebRTC connection. Once connected,\nadditional functionality is available across WebRTC data channels.\n\nSee [Meet Media API\noverview](https: //developers.google.com/meet/media-api/guides/overview) for\nmore details about this connection.", - "file": "SpacesClient/ConnectActiveConference/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConnectActiveConference", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.ConnectActiveConference", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.ConnectActiveConference", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "ConnectActiveConference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ConnectActiveConferenceRequest", - "name": "req" + "name": "req", + "type": "meetpb.ConnectActiveConferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.ConnectActiveConferenceResponse", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "ConnectActiveConference", - "fullName": "google.apps.meet.v2beta.SpacesService.ConnectActiveConference", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "ConnectActiveConference" }, + "description": "ConnectActiveConference [Developer Preview](https: //developers.google.com/workspace/preview): \nBroker a WebRTC connection to the active conference of a space.\n\nOn success, clients must use the resulting SDP (Session Description\nProtocol) answer to establish a WebRTC connection. Once connected,\nadditional functionality is available across WebRTC data channels.\n\nSee [Meet Media API\noverview](https: //developers.google.com/meet/media-api/guides/overview) for\nmore details about this connection.", + "file": "SpacesClient/ConnectActiveConference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_ConnectActiveConference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ConnectActiveConference Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_CreateMember_sync", - "title": "meet CreateMember Sample", - "description": "CreateMember [Developer Preview](https: //developers.google.com/workspace/preview): \nCreate a member.\n\nThis API supports the `fields` parameter in\n[SystemParameterContext](https: //cloud.google.com/apis/docs/system-parameters).\nWhen the `fields` parameter is omitted, this API response will default to\n\"name,email,role,user\".", - "file": "SpacesClient/CreateMember/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMember", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.CreateMember", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.CreateMember", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "CreateMember" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.CreateMemberRequest", - "name": "req" + "name": "req", + "type": "meetpb.CreateMemberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Member", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "CreateMember", - "fullName": "google.apps.meet.v2beta.SpacesService.CreateMember", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "CreateMember" }, + "description": "CreateMember [Developer Preview](https: //developers.google.com/workspace/preview): \nCreate a member.\n\nThis API supports the `fields` parameter in\n[SystemParameterContext](https: //cloud.google.com/apis/docs/system-parameters).\nWhen the `fields` parameter is omitted, this API response will default to\n\"name,email,role,user\".", + "file": "SpacesClient/CreateMember/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_CreateMember_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet CreateMember Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_CreateSpace_sync", - "title": "meet CreateSpace Sample", - "description": "CreateSpace creates a space.", - "file": "SpacesClient/CreateSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpace", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.CreateSpace", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.CreateSpace", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "CreateSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.CreateSpaceRequest", - "name": "req" + "name": "req", + "type": "meetpb.CreateSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Space", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "CreateSpace", - "fullName": "google.apps.meet.v2beta.SpacesService.CreateSpace", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "CreateSpace" }, + "description": "CreateSpace creates a space.", + "file": "SpacesClient/CreateSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_CreateSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet CreateSpace Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_DeleteMember_sync", - "title": "meet DeleteMember Sample", - "description": "DeleteMember [Developer Preview](https: //developers.google.com/workspace/preview): \nDelete the member who was previously assigned roles in the space.", - "file": "SpacesClient/DeleteMember/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMember", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.DeleteMember", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.DeleteMember", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "DeleteMember" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.DeleteMemberRequest", - "name": "req" + "name": "req", + "type": "meetpb.DeleteMemberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "DeleteMember", - "fullName": "google.apps.meet.v2beta.SpacesService.DeleteMember", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "DeleteMember" }, + "description": "DeleteMember [Developer Preview](https: //developers.google.com/workspace/preview): \nDelete the member who was previously assigned roles in the space.", + "file": "SpacesClient/DeleteMember/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_DeleteMember_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet DeleteMember Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_EndActiveConference_sync", - "title": "meet EndActiveConference Sample", - "description": "EndActiveConference ends an active conference (if there's one).\n\nFor an example, see [End active\nconference](https: //developers.google.com/meet/api/guides/meeting-spaces#end-active-conference).", - "file": "SpacesClient/EndActiveConference/main.go", - "language": "GO", "clientMethod": { - "shortName": "EndActiveConference", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.EndActiveConference", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.EndActiveConference", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "EndActiveConference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.EndActiveConferenceRequest", - "name": "req" + "name": "req", + "type": "meetpb.EndActiveConferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "EndActiveConference", - "fullName": "google.apps.meet.v2beta.SpacesService.EndActiveConference", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "EndActiveConference" }, + "description": "EndActiveConference ends an active conference (if there's one).\n\nFor an example, see [End active\nconference](https: //developers.google.com/meet/api/guides/meeting-spaces#end-active-conference).", + "file": "SpacesClient/EndActiveConference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_EndActiveConference_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet EndActiveConference Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_GetMember_sync", - "title": "meet GetMember Sample", - "description": "GetMember [Developer Preview](https: //developers.google.com/workspace/preview): \nGet a member.\n\nThis API supports the `fields` parameter in\n[SystemParameterContext](https: //cloud.google.com/apis/docs/system-parameters).\nWhen the `fields` parameter is omitted, this API response will default to\n\"name,email,role,user\".", - "file": "SpacesClient/GetMember/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMember", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.GetMember", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.GetMember", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "GetMember" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetMemberRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetMemberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Member", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "GetMember", - "fullName": "google.apps.meet.v2beta.SpacesService.GetMember", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "GetMember" }, + "description": "GetMember [Developer Preview](https: //developers.google.com/workspace/preview): \nGet a member.\n\nThis API supports the `fields` parameter in\n[SystemParameterContext](https: //cloud.google.com/apis/docs/system-parameters).\nWhen the `fields` parameter is omitted, this API response will default to\n\"name,email,role,user\".", + "file": "SpacesClient/GetMember/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_GetMember_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetMember Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_GetSpace_sync", - "title": "meet GetSpace Sample", - "description": "GetSpace gets details about a meeting space.\n\nFor an example, see [Get a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#get-meeting-space).", - "file": "SpacesClient/GetSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpace", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.GetSpace", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.GetSpace", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "GetSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.GetSpaceRequest", - "name": "req" + "name": "req", + "type": "meetpb.GetSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Space", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "GetSpace", - "fullName": "google.apps.meet.v2beta.SpacesService.GetSpace", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "GetSpace" }, + "description": "GetSpace gets details about a meeting space.\n\nFor an example, see [Get a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#get-meeting-space).", + "file": "SpacesClient/GetSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_GetSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet GetSpace Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_ListMembers_sync", - "title": "meet ListMembers Sample", - "description": "ListMembers [Developer Preview](https: //developers.google.com/workspace/preview): \nList members.\n\nThis API supports the `fields` parameter in\n[SystemParameterContext](https: //cloud.google.com/apis/docs/system-parameters).\nWhen the `fields` parameter is omitted this API response will default to\n\"name,email,role,user\".", - "file": "SpacesClient/ListMembers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMembers", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.ListMembers", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.ListMembers", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "ListMembers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.ListMembersRequest", - "name": "req" + "name": "req", + "type": "meetpb.ListMembersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MemberIterator", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "ListMembers", - "fullName": "google.apps.meet.v2beta.SpacesService.ListMembers", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "ListMembers" }, + "description": "ListMembers [Developer Preview](https: //developers.google.com/workspace/preview): \nList members.\n\nThis API supports the `fields` parameter in\n[SystemParameterContext](https: //cloud.google.com/apis/docs/system-parameters).\nWhen the `fields` parameter is omitted this API response will default to\n\"name,email,role,user\".", + "file": "SpacesClient/ListMembers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_ListMembers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet ListMembers Sample" }, { - "regionTag": "meet_v2beta_generated_SpacesService_UpdateSpace_sync", - "title": "meet UpdateSpace Sample", - "description": "UpdateSpace updates details about a meeting space.\n\nFor an example, see [Update a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#update-meeting-space).", - "file": "SpacesClient/UpdateSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpace", + "client": { + "fullName": "google.apps.meet.v2beta.SpacesClient", + "shortName": "SpacesClient" + }, "fullName": "google.apps.meet.v2beta.SpacesClient.UpdateSpace", + "method": { + "fullName": "google.apps.meet.v2beta.SpacesService.UpdateSpace", + "service": { + "fullName": "google.apps.meet.v2beta.SpacesService", + "shortName": "SpacesService" + }, + "shortName": "UpdateSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "meetpb.UpdateSpaceRequest", - "name": "req" + "name": "req", + "type": "meetpb.UpdateSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*meetpb.Space", - "client": { - "shortName": "SpacesClient", - "fullName": "google.apps.meet.v2beta.SpacesClient" - }, - "method": { - "shortName": "UpdateSpace", - "fullName": "google.apps.meet.v2beta.SpacesService.UpdateSpace", - "service": { - "shortName": "SpacesService", - "fullName": "google.apps.meet.v2beta.SpacesService" - } - } + "shortName": "UpdateSpace" }, + "description": "UpdateSpace updates details about a meeting space.\n\nFor an example, see [Update a meeting\nspace](https: //developers.google.com/meet/api/guides/meeting-spaces#update-meeting-space).", + "file": "SpacesClient/UpdateSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "meet_v2beta_generated_SpacesService_UpdateSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "meet UpdateSpace Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json index 314423e02af2..43542387498d 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json @@ -1,565 +1,565 @@ { "clientLibrary": { - "name": "cloud.google.com/go/area120/tables/apiv1alpha1", - "version": "0.10.0", - "language": "GO", "apis": [ { "id": "google.area120.tables.v1alpha1", "version": "v1alpha1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/area120/tables/apiv1alpha1", + "version": "0.10.0" }, "snippets": [ { - "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchCreateRows_sync", - "title": "area120tables BatchCreateRows Sample", - "description": "BatchCreateRows creates multiple rows.", - "file": "Client/BatchCreateRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateRows", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.BatchCreateRows", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.BatchCreateRows", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "BatchCreateRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.BatchCreateRowsRequest", - "name": "req" + "name": "req", + "type": "tablespb.BatchCreateRowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.BatchCreateRowsResponse", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "BatchCreateRows", - "fullName": "google.area120.tables.v1alpha1.TablesService.BatchCreateRows", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "BatchCreateRows" }, + "description": "BatchCreateRows creates multiple rows.", + "file": "Client/BatchCreateRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchCreateRows_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables BatchCreateRows Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_sync", - "title": "area120tables BatchDeleteRows Sample", - "description": "BatchDeleteRows deletes multiple rows.", - "file": "Client/BatchDeleteRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteRows", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.BatchDeleteRows", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.BatchDeleteRows", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "BatchDeleteRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.BatchDeleteRowsRequest", - "name": "req" + "name": "req", + "type": "tablespb.BatchDeleteRowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "BatchDeleteRows", - "fullName": "google.area120.tables.v1alpha1.TablesService.BatchDeleteRows", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "BatchDeleteRows" }, + "description": "BatchDeleteRows deletes multiple rows.", + "file": "Client/BatchDeleteRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchDeleteRows_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables BatchDeleteRows Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_sync", - "title": "area120tables BatchUpdateRows Sample", - "description": "BatchUpdateRows updates multiple rows.", - "file": "Client/BatchUpdateRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateRows", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.BatchUpdateRows", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.BatchUpdateRows", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "BatchUpdateRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.BatchUpdateRowsRequest", - "name": "req" + "name": "req", + "type": "tablespb.BatchUpdateRowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.BatchUpdateRowsResponse", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "BatchUpdateRows", - "fullName": "google.area120.tables.v1alpha1.TablesService.BatchUpdateRows", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "BatchUpdateRows" }, + "description": "BatchUpdateRows updates multiple rows.", + "file": "Client/BatchUpdateRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_BatchUpdateRows_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables BatchUpdateRows Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_CreateRow_sync", - "title": "area120tables CreateRow Sample", - "description": "CreateRow creates a row.", - "file": "Client/CreateRow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRow", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.CreateRow", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.CreateRow", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "CreateRow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.CreateRowRequest", - "name": "req" + "name": "req", + "type": "tablespb.CreateRowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.Row", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "CreateRow", - "fullName": "google.area120.tables.v1alpha1.TablesService.CreateRow", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "CreateRow" }, + "description": "CreateRow creates a row.", + "file": "Client/CreateRow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_CreateRow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables CreateRow Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_DeleteRow_sync", - "title": "area120tables DeleteRow Sample", - "description": "DeleteRow deletes a row.", - "file": "Client/DeleteRow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRow", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.DeleteRow", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.DeleteRow", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "DeleteRow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.DeleteRowRequest", - "name": "req" + "name": "req", + "type": "tablespb.DeleteRowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "DeleteRow", - "fullName": "google.area120.tables.v1alpha1.TablesService.DeleteRow", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "DeleteRow" }, + "description": "DeleteRow deletes a row.", + "file": "Client/DeleteRow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_DeleteRow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables DeleteRow Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_GetRow_sync", - "title": "area120tables GetRow Sample", - "description": "GetRow gets a row. Returns NOT_FOUND if the row does not exist in the table.", - "file": "Client/GetRow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRow", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.GetRow", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.GetRow", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "GetRow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.GetRowRequest", - "name": "req" + "name": "req", + "type": "tablespb.GetRowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.Row", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "GetRow", - "fullName": "google.area120.tables.v1alpha1.TablesService.GetRow", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "GetRow" }, + "description": "GetRow gets a row. Returns NOT_FOUND if the row does not exist in the table.", + "file": "Client/GetRow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_GetRow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables GetRow Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_GetTable_sync", - "title": "area120tables GetTable Sample", - "description": "GetTable gets a table. Returns NOT_FOUND if the table does not exist.", - "file": "Client/GetTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTable", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.GetTable", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.GetTable", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "GetTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.GetTableRequest", - "name": "req" + "name": "req", + "type": "tablespb.GetTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.Table", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "GetTable", - "fullName": "google.area120.tables.v1alpha1.TablesService.GetTable", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "GetTable" }, + "description": "GetTable gets a table. Returns NOT_FOUND if the table does not exist.", + "file": "Client/GetTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_GetTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables GetTable Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_GetWorkspace_sync", - "title": "area120tables GetWorkspace Sample", - "description": "GetWorkspace gets a workspace. Returns NOT_FOUND if the workspace does not exist.", - "file": "Client/GetWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkspace", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.GetWorkspace", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.GetWorkspace", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "GetWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.GetWorkspaceRequest", - "name": "req" + "name": "req", + "type": "tablespb.GetWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.Workspace", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "GetWorkspace", - "fullName": "google.area120.tables.v1alpha1.TablesService.GetWorkspace", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "GetWorkspace" }, + "description": "GetWorkspace gets a workspace. Returns NOT_FOUND if the workspace does not exist.", + "file": "Client/GetWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_GetWorkspace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables GetWorkspace Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_ListRows_sync", - "title": "area120tables ListRows Sample", - "description": "ListRows lists rows in a table. Returns NOT_FOUND if the table does not exist.", - "file": "Client/ListRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRows", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.ListRows", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.ListRows", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "ListRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.ListRowsRequest", - "name": "req" + "name": "req", + "type": "tablespb.ListRowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RowIterator", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "ListRows", - "fullName": "google.area120.tables.v1alpha1.TablesService.ListRows", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "ListRows" }, + "description": "ListRows lists rows in a table. Returns NOT_FOUND if the table does not exist.", + "file": "Client/ListRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_ListRows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables ListRows Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_ListTables_sync", - "title": "area120tables ListTables Sample", - "description": "ListTables lists tables for the user.", - "file": "Client/ListTables/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTables", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.ListTables", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.ListTables", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "ListTables" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.ListTablesRequest", - "name": "req" + "name": "req", + "type": "tablespb.ListTablesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TableIterator", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "ListTables", - "fullName": "google.area120.tables.v1alpha1.TablesService.ListTables", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "ListTables" }, + "description": "ListTables lists tables for the user.", + "file": "Client/ListTables/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_ListTables_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables ListTables Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_ListWorkspaces_sync", - "title": "area120tables ListWorkspaces Sample", - "description": "ListWorkspaces lists workspaces for the user.", - "file": "Client/ListWorkspaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkspaces", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.ListWorkspaces", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.ListWorkspaces", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "ListWorkspaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.ListWorkspacesRequest", - "name": "req" + "name": "req", + "type": "tablespb.ListWorkspacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkspaceIterator", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "ListWorkspaces", - "fullName": "google.area120.tables.v1alpha1.TablesService.ListWorkspaces", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "ListWorkspaces" }, + "description": "ListWorkspaces lists workspaces for the user.", + "file": "Client/ListWorkspaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_ListWorkspaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables ListWorkspaces Sample" }, { - "regionTag": "area120tables_v1alpha1_generated_TablesService_UpdateRow_sync", - "title": "area120tables UpdateRow Sample", - "description": "UpdateRow updates a row.", - "file": "Client/UpdateRow/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRow", + "client": { + "fullName": "google.area120.tables.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.area120.tables.v1alpha1.Client.UpdateRow", + "method": { + "fullName": "google.area120.tables.v1alpha1.TablesService.UpdateRow", + "service": { + "fullName": "google.area120.tables.v1alpha1.TablesService", + "shortName": "TablesService" + }, + "shortName": "UpdateRow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tablespb.UpdateRowRequest", - "name": "req" + "name": "req", + "type": "tablespb.UpdateRowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tablespb.Row", - "client": { - "shortName": "Client", - "fullName": "google.area120.tables.v1alpha1.Client" - }, - "method": { - "shortName": "UpdateRow", - "fullName": "google.area120.tables.v1alpha1.TablesService.UpdateRow", - "service": { - "shortName": "TablesService", - "fullName": "google.area120.tables.v1alpha1.TablesService" - } - } + "shortName": "UpdateRow" }, + "description": "UpdateRow updates a row.", + "file": "Client/UpdateRow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "area120tables_v1alpha1_generated_TablesService_UpdateRow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "area120tables UpdateRow Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json b/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json index d5c82f39690a..db1347256b1d 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json +++ b/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json @@ -1,2451 +1,2451 @@ { "clientLibrary": { - "name": "cloud.google.com/go/artifactregistry/apiv1", - "version": "1.20.0", - "language": "GO", "apis": [ { "id": "google.devtools.artifactregistry.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/artifactregistry/apiv1", + "version": "1.20.0" }, "snippets": [ { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_BatchDeleteVersions_sync", - "title": "artifactregistry BatchDeleteVersions Sample", - "description": "BatchDeleteVersions deletes multiple versions across a repository. The returned operation will\ncomplete once the versions have been deleted.", - "file": "Client/BatchDeleteVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteVersions", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.BatchDeleteVersions", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.BatchDeleteVersions", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "BatchDeleteVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.BatchDeleteVersionsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.BatchDeleteVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteVersionsOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "BatchDeleteVersions", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.BatchDeleteVersions", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "BatchDeleteVersions" }, + "description": "BatchDeleteVersions deletes multiple versions across a repository. The returned operation will\ncomplete once the versions have been deleted.", + "file": "Client/BatchDeleteVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_BatchDeleteVersions_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry BatchDeleteVersions Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateAttachment_sync", - "title": "artifactregistry CreateAttachment Sample", - "description": "CreateAttachment creates an attachment. The returned Operation will finish once the\nattachment has been created. Its response will be the created attachment.", - "file": "Client/CreateAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAttachment", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.CreateAttachment", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateAttachment", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "CreateAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.CreateAttachmentRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.CreateAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAttachmentOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "CreateAttachment", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateAttachment", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "CreateAttachment" }, + "description": "CreateAttachment creates an attachment. The returned Operation will finish once the\nattachment has been created. Its response will be the created attachment.", + "file": "Client/CreateAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateAttachment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry CreateAttachment Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateRepository_sync", - "title": "artifactregistry CreateRepository Sample", - "description": "CreateRepository creates a repository. The returned Operation will finish once the\nrepository has been created. Its response will be the created Repository.", - "file": "Client/CreateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.CreateRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "CreateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.CreateRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.CreateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "CreateRepository", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "CreateRepository" }, + "description": "CreateRepository creates a repository. The returned Operation will finish once the\nrepository has been created. Its response will be the created Repository.", + "file": "Client/CreateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateRepository_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry CreateRepository Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateRule_sync", - "title": "artifactregistry CreateRule Sample", - "description": "CreateRule creates a rule.", - "file": "Client/CreateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRule", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.CreateRule", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRule", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "CreateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.CreateRuleRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.CreateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Rule", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "CreateRule", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRule", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "CreateRule" }, + "description": "CreateRule creates a rule.", + "file": "Client/CreateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry CreateRule Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateTag_sync", - "title": "artifactregistry CreateTag Sample", - "description": "CreateTag creates a tag.", - "file": "Client/CreateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.CreateTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "CreateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.CreateTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.CreateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "CreateTag", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "CreateTag" }, + "description": "CreateTag creates a tag.", + "file": "Client/CreateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_CreateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry CreateTag Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteAttachment_sync", - "title": "artifactregistry DeleteAttachment Sample", - "description": "DeleteAttachment deletes an attachment. The returned Operation will\nfinish once the attachments has been deleted. It will not have any\nOperation metadata and will return a `google.protobuf.Empty` response.", - "file": "Client/DeleteAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAttachment", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeleteAttachment", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteAttachment", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteAttachmentRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAttachmentOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeleteAttachment", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteAttachment", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeleteAttachment" }, + "description": "DeleteAttachment deletes an attachment. The returned Operation will\nfinish once the attachments has been deleted. It will not have any\nOperation metadata and will return a `google.protobuf.Empty` response.", + "file": "Client/DeleteAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteAttachment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteAttachment Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteFile_sync", - "title": "artifactregistry DeleteFile Sample", - "description": "DeleteFile deletes a file and all of its content. It is only allowed on generic\nrepositories. The returned operation will complete once the file has been\ndeleted.", - "file": "Client/DeleteFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFile", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeleteFile", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteFile", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteFileRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFileOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeleteFile", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteFile", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeleteFile" }, + "description": "DeleteFile deletes a file and all of its content. It is only allowed on generic\nrepositories. The returned operation will complete once the file has been\ndeleted.", + "file": "Client/DeleteFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteFile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteFile Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeletePackage_sync", - "title": "artifactregistry DeletePackage Sample", - "description": "DeletePackage deletes a package and all of its versions and tags. The returned operation\nwill complete once the package has been deleted.", - "file": "Client/DeletePackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeletePackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeletePackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeletePackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeletePackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeletePackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeletePackage", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeletePackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeletePackage" }, + "description": "DeletePackage deletes a package and all of its versions and tags. The returned operation\nwill complete once the package has been deleted.", + "file": "Client/DeletePackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeletePackage_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeletePackage Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteRepository_sync", - "title": "artifactregistry DeleteRepository Sample", - "description": "DeleteRepository deletes a repository and all of its contents. The returned Operation will\nfinish once the repository has been deleted. It will not have any Operation\nmetadata and will return a google.protobuf.Empty response.", - "file": "Client/DeleteRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeleteRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeleteRepository", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeleteRepository" }, + "description": "DeleteRepository deletes a repository and all of its contents. The returned Operation will\nfinish once the repository has been deleted. It will not have any Operation\nmetadata and will return a google.protobuf.Empty response.", + "file": "Client/DeleteRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteRepository_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteRepository Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteRule_sync", - "title": "artifactregistry DeleteRule Sample", - "description": "DeleteRule deletes a rule.", - "file": "Client/DeleteRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRule", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeleteRule", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteRule", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteRuleRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeleteRule", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteRule", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeleteRule" }, + "description": "DeleteRule deletes a rule.", + "file": "Client/DeleteRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteRule Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteTag_sync", - "title": "artifactregistry DeleteTag Sample", - "description": "DeleteTag deletes a tag.", - "file": "Client/DeleteTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeleteTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeleteTag", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeleteTag" }, + "description": "DeleteTag deletes a tag.", + "file": "Client/DeleteTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteTag_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteTag Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteVersion_sync", - "title": "artifactregistry DeleteVersion Sample", - "description": "DeleteVersion deletes a version and all of its content. The returned operation will\ncomplete once the version has been deleted.", - "file": "Client/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.DeleteVersion", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteVersion", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVersionOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteVersion", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion deletes a version and all of its content. The returned operation will\ncomplete once the version has been deleted.", + "file": "Client/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteVersion Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ExportArtifact_sync", - "title": "artifactregistry ExportArtifact Sample", - "description": "ExportArtifact exports an artifact to a Cloud Storage bucket.", - "file": "Client/ExportArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportArtifact", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ExportArtifact", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ExportArtifact", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ExportArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ExportArtifactRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ExportArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportArtifactOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ExportArtifact", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ExportArtifact", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ExportArtifact" }, + "description": "ExportArtifact exports an artifact to a Cloud Storage bucket.", + "file": "Client/ExportArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ExportArtifact_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ExportArtifact Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetAttachment_sync", - "title": "artifactregistry GetAttachment Sample", - "description": "GetAttachment gets an attachment.", - "file": "Client/GetAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttachment", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetAttachment", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetAttachment", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetAttachmentRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Attachment", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetAttachment", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetAttachment", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetAttachment" }, + "description": "GetAttachment gets an attachment.", + "file": "Client/GetAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetAttachment Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetDockerImage_sync", - "title": "artifactregistry GetDockerImage Sample", - "description": "GetDockerImage gets a docker image.", - "file": "Client/GetDockerImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDockerImage", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetDockerImage", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetDockerImage", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetDockerImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetDockerImageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetDockerImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.DockerImage", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetDockerImage", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetDockerImage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetDockerImage" }, + "description": "GetDockerImage gets a docker image.", + "file": "Client/GetDockerImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetDockerImage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetDockerImage Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetFile_sync", - "title": "artifactregistry GetFile Sample", - "description": "GetFile gets a file.", - "file": "Client/GetFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFile", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetFile", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetFile", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetFileRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.File", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetFile", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetFile", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetFile" }, + "description": "GetFile gets a file.", + "file": "Client/GetFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetFile Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetIamPolicy_sync", - "title": "artifactregistry GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for a given resource.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetIamPolicy", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetIamPolicy", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for a given resource.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetIamPolicy Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetLocation_sync", - "title": "artifactregistry GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetLocation Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetMavenArtifact_sync", - "title": "artifactregistry GetMavenArtifact Sample", - "description": "GetMavenArtifact gets a maven artifact.", - "file": "Client/GetMavenArtifact/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMavenArtifact", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetMavenArtifact", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetMavenArtifact", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetMavenArtifact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetMavenArtifactRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetMavenArtifactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.MavenArtifact", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetMavenArtifact", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetMavenArtifact", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetMavenArtifact" }, + "description": "GetMavenArtifact gets a maven artifact.", + "file": "Client/GetMavenArtifact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetMavenArtifact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetMavenArtifact Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetNpmPackage_sync", - "title": "artifactregistry GetNpmPackage Sample", - "description": "GetNpmPackage gets a npm package.", - "file": "Client/GetNpmPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNpmPackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetNpmPackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetNpmPackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetNpmPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetNpmPackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetNpmPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.NpmPackage", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetNpmPackage", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetNpmPackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetNpmPackage" }, + "description": "GetNpmPackage gets a npm package.", + "file": "Client/GetNpmPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetNpmPackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetNpmPackage Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetOperation_sync", - "title": "artifactregistry GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetOperation Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetPackage_sync", - "title": "artifactregistry GetPackage Sample", - "description": "GetPackage gets a package.", - "file": "Client/GetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetPackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetPackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetPackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Package", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetPackage", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetPackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetPackage" }, + "description": "GetPackage gets a package.", + "file": "Client/GetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetPackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetPackage Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetProjectSettings_sync", - "title": "artifactregistry GetProjectSettings Sample", - "description": "GetProjectSettings retrieves the Settings for the Project.", - "file": "Client/GetProjectSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProjectSettings", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetProjectSettings", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetProjectSettings", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetProjectSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetProjectSettingsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetProjectSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.ProjectSettings", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetProjectSettings", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetProjectSettings", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetProjectSettings" }, + "description": "GetProjectSettings retrieves the Settings for the Project.", + "file": "Client/GetProjectSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetProjectSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetProjectSettings Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetPythonPackage_sync", - "title": "artifactregistry GetPythonPackage Sample", - "description": "GetPythonPackage gets a python package.", - "file": "Client/GetPythonPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPythonPackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetPythonPackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetPythonPackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetPythonPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetPythonPackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetPythonPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.PythonPackage", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetPythonPackage", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetPythonPackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetPythonPackage" }, + "description": "GetPythonPackage gets a python package.", + "file": "Client/GetPythonPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetPythonPackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetPythonPackage Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetRepository_sync", - "title": "artifactregistry GetRepository Sample", - "description": "GetRepository gets a repository.", - "file": "Client/GetRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetRepository", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetRepository" }, + "description": "GetRepository gets a repository.", + "file": "Client/GetRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetRepository Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetRule_sync", - "title": "artifactregistry GetRule Sample", - "description": "GetRule gets a rule.", - "file": "Client/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetRule", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetRule", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetRuleRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Rule", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetRule", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule.", + "file": "Client/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetRule Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetTag_sync", - "title": "artifactregistry GetTag Sample", - "description": "GetTag gets a tag.", - "file": "Client/GetTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetTag", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetTag" }, + "description": "GetTag gets a tag.", + "file": "Client/GetTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetTag Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetVPCSCConfig_sync", - "title": "artifactregistry GetVPCSCConfig Sample", - "description": "GetVPCSCConfig retrieves the VPCSC Config for the Project.", - "file": "Client/GetVPCSCConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVPCSCConfig", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetVPCSCConfig", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetVPCSCConfig", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetVPCSCConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetVPCSCConfigRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetVPCSCConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.VPCSCConfig", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetVPCSCConfig", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetVPCSCConfig", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetVPCSCConfig" }, + "description": "GetVPCSCConfig retrieves the VPCSC Config for the Project.", + "file": "Client/GetVPCSCConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetVPCSCConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetVPCSCConfig Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetVersion_sync", - "title": "artifactregistry GetVersion Sample", - "description": "GetVersion gets a version", - "file": "Client/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.GetVersion", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetVersion", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Version", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.GetVersion", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion gets a version", + "file": "Client/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetVersion Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ImportAptArtifacts_sync", - "title": "artifactregistry ImportAptArtifacts Sample", - "description": "ImportAptArtifacts imports Apt artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", - "file": "Client/ImportAptArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAptArtifacts", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ImportAptArtifacts", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ImportAptArtifacts", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ImportAptArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ImportAptArtifactsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ImportAptArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAptArtifactsOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ImportAptArtifacts", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ImportAptArtifacts", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ImportAptArtifacts" }, + "description": "ImportAptArtifacts imports Apt artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", + "file": "Client/ImportAptArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ImportAptArtifacts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ImportAptArtifacts Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ImportYumArtifacts_sync", - "title": "artifactregistry ImportYumArtifacts Sample", - "description": "ImportYumArtifacts imports Yum (RPM) artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", - "file": "Client/ImportYumArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportYumArtifacts", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ImportYumArtifacts", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ImportYumArtifacts", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ImportYumArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ImportYumArtifactsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ImportYumArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportYumArtifactsOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ImportYumArtifacts", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ImportYumArtifacts", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ImportYumArtifacts" }, + "description": "ImportYumArtifacts imports Yum (RPM) artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", + "file": "Client/ImportYumArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ImportYumArtifacts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ImportYumArtifacts Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListAttachments_sync", - "title": "artifactregistry ListAttachments Sample", - "description": "ListAttachments lists attachments.", - "file": "Client/ListAttachments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttachments", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListAttachments", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListAttachments", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListAttachments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListAttachmentsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "AttachmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListAttachments", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListAttachments", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "AttachmentIterator", + "shortName": "ListAttachments" }, + "description": "ListAttachments lists attachments.", + "file": "Client/ListAttachments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListAttachments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListAttachments Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListDockerImages_sync", - "title": "artifactregistry ListDockerImages Sample", - "description": "ListDockerImages lists docker images.", - "file": "Client/ListDockerImages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDockerImages", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListDockerImages", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListDockerImages", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListDockerImages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListDockerImagesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListDockerImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DockerImageIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListDockerImages", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListDockerImages", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListDockerImages" }, + "description": "ListDockerImages lists docker images.", + "file": "Client/ListDockerImages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListDockerImages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListDockerImages Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListFiles_sync", - "title": "artifactregistry ListFiles Sample", - "description": "ListFiles lists files.", - "file": "Client/ListFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFiles", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListFiles", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListFiles", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListFilesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListFiles", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListFiles", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListFiles" }, + "description": "ListFiles lists files.", + "file": "Client/ListFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListFiles Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListLocations_sync", - "title": "artifactregistry ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListLocations Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListMavenArtifacts_sync", - "title": "artifactregistry ListMavenArtifacts Sample", - "description": "ListMavenArtifacts lists maven artifacts.", - "file": "Client/ListMavenArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMavenArtifacts", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListMavenArtifacts", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListMavenArtifacts", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListMavenArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListMavenArtifactsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListMavenArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MavenArtifactIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListMavenArtifacts", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListMavenArtifacts", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListMavenArtifacts" }, + "description": "ListMavenArtifacts lists maven artifacts.", + "file": "Client/ListMavenArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListMavenArtifacts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListMavenArtifacts Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListNpmPackages_sync", - "title": "artifactregistry ListNpmPackages Sample", - "description": "ListNpmPackages lists npm packages.", - "file": "Client/ListNpmPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNpmPackages", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListNpmPackages", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListNpmPackages", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListNpmPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListNpmPackagesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListNpmPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NpmPackageIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListNpmPackages", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListNpmPackages", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListNpmPackages" }, + "description": "ListNpmPackages lists npm packages.", + "file": "Client/ListNpmPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListNpmPackages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListNpmPackages Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListPackages_sync", - "title": "artifactregistry ListPackages Sample", - "description": "ListPackages lists packages.", - "file": "Client/ListPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPackages", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListPackages", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListPackages", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListPackagesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PackageIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListPackages", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListPackages", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListPackages" }, + "description": "ListPackages lists packages.", + "file": "Client/ListPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListPackages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListPackages Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListPythonPackages_sync", - "title": "artifactregistry ListPythonPackages Sample", - "description": "ListPythonPackages lists python packages.", - "file": "Client/ListPythonPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPythonPackages", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListPythonPackages", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListPythonPackages", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListPythonPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListPythonPackagesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListPythonPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PythonPackageIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListPythonPackages", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListPythonPackages", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListPythonPackages" }, + "description": "ListPythonPackages lists python packages.", + "file": "Client/ListPythonPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListPythonPackages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListPythonPackages Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListRepositories_sync", - "title": "artifactregistry ListRepositories Sample", - "description": "ListRepositories lists repositories.", - "file": "Client/ListRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRepositories", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListRepositories", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListRepositories", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListRepositoriesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListRepositories", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListRepositories", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListRepositories" }, + "description": "ListRepositories lists repositories.", + "file": "Client/ListRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListRepositories Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListRules_sync", - "title": "artifactregistry ListRules Sample", - "description": "ListRules lists rules.", - "file": "Client/ListRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRules", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListRules", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListRules", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListRulesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListRules", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListRules", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListRules" }, + "description": "ListRules lists rules.", + "file": "Client/ListRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListRules Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListTags_sync", - "title": "artifactregistry ListTags Sample", - "description": "ListTags lists tags.", - "file": "Client/ListTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTags", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListTags", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListTags", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListTagsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListTags", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListTags", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListTags" }, + "description": "ListTags lists tags.", + "file": "Client/ListTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListTags Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListVersions_sync", - "title": "artifactregistry ListVersions Sample", - "description": "ListVersions lists versions.", - "file": "Client/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.ListVersions", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListVersions", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.ListVersions", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions lists versions.", + "file": "Client/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListVersions Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_SetIamPolicy_sync", - "title": "artifactregistry SetIamPolicy Sample", - "description": "SetIamPolicy updates the IAM policy for a given resource.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.SetIamPolicy", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.SetIamPolicy", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy updates the IAM policy for a given resource.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry SetIamPolicy Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_TestIamPermissions_sync", - "title": "artifactregistry TestIamPermissions Sample", - "description": "TestIamPermissions tests if the caller has a list of permissions on a resource.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.TestIamPermissions", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.TestIamPermissions", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests if the caller has a list of permissions on a resource.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry TestIamPermissions Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateFile_sync", - "title": "artifactregistry UpdateFile Sample", - "description": "UpdateFile updates a file.", - "file": "Client/UpdateFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFile", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateFile", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateFile", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateFileRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.File", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateFile", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateFile", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateFile" }, + "description": "UpdateFile updates a file.", + "file": "Client/UpdateFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateFile Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdatePackage_sync", - "title": "artifactregistry UpdatePackage Sample", - "description": "UpdatePackage updates a package.", - "file": "Client/UpdatePackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdatePackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdatePackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdatePackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdatePackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdatePackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Package", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdatePackage", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdatePackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdatePackage" }, + "description": "UpdatePackage updates a package.", + "file": "Client/UpdatePackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdatePackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdatePackage Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateProjectSettings_sync", - "title": "artifactregistry UpdateProjectSettings Sample", - "description": "UpdateProjectSettings updates the Settings for the Project.", - "file": "Client/UpdateProjectSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProjectSettings", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateProjectSettings", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateProjectSettings", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateProjectSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateProjectSettingsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateProjectSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.ProjectSettings", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateProjectSettings", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateProjectSettings", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateProjectSettings" }, + "description": "UpdateProjectSettings updates the Settings for the Project.", + "file": "Client/UpdateProjectSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateProjectSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateProjectSettings Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateRepository_sync", - "title": "artifactregistry UpdateRepository Sample", - "description": "UpdateRepository updates a repository.", - "file": "Client/UpdateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateRepository", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateRepository" }, + "description": "UpdateRepository updates a repository.", + "file": "Client/UpdateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateRepository Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateRule_sync", - "title": "artifactregistry UpdateRule Sample", - "description": "UpdateRule updates a rule.", - "file": "Client/UpdateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRule", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateRule", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateRule", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateRuleRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Rule", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateRule", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateRule", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateRule" }, + "description": "UpdateRule updates a rule.", + "file": "Client/UpdateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateRule Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateTag_sync", - "title": "artifactregistry UpdateTag Sample", - "description": "UpdateTag updates a tag.", - "file": "Client/UpdateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateTag", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateTag" }, + "description": "UpdateTag updates a tag.", + "file": "Client/UpdateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateTag Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateVPCSCConfig_sync", - "title": "artifactregistry UpdateVPCSCConfig Sample", - "description": "UpdateVPCSCConfig updates the VPCSC Config for the Project.", - "file": "Client/UpdateVPCSCConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVPCSCConfig", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateVPCSCConfig", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateVPCSCConfig", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateVPCSCConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateVPCSCConfigRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateVPCSCConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.VPCSCConfig", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateVPCSCConfig", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateVPCSCConfig", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateVPCSCConfig" }, + "description": "UpdateVPCSCConfig updates the VPCSC Config for the Project.", + "file": "Client/UpdateVPCSCConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateVPCSCConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateVPCSCConfig Sample" }, { - "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateVersion_sync", - "title": "artifactregistry UpdateVersion Sample", - "description": "UpdateVersion updates a version.", - "file": "Client/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.devtools.artifactregistry.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1.Client.UpdateVersion", + "method": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateVersion", + "service": { + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Version", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1.Client" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateVersion", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion updates a version.", + "file": "Client/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1_generated_ArtifactRegistry_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json b/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json index 5bb5382210c4..897b176a52e7 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json @@ -1,1256 +1,1256 @@ { "clientLibrary": { - "name": "cloud.google.com/go/artifactregistry/apiv1beta2", - "version": "1.20.0", - "language": "GO", "apis": [ { "id": "google.devtools.artifactregistry.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/artifactregistry/apiv1beta2", + "version": "1.20.0" }, "snippets": [ { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_CreateRepository_sync", - "title": "artifactregistry CreateRepository Sample", - "description": "CreateRepository creates a repository. The returned Operation will finish once the\nrepository has been created. Its response will be the created Repository.", - "file": "Client/CreateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.CreateRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.CreateRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "CreateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.CreateRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.CreateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "CreateRepository", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.CreateRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "CreateRepository" }, + "description": "CreateRepository creates a repository. The returned Operation will finish once the\nrepository has been created. Its response will be the created Repository.", + "file": "Client/CreateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_CreateRepository_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry CreateRepository Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_CreateTag_sync", - "title": "artifactregistry CreateTag Sample", - "description": "CreateTag creates a tag.", - "file": "Client/CreateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.CreateTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.CreateTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "CreateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.CreateTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.CreateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "CreateTag", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.CreateTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "CreateTag" }, + "description": "CreateTag creates a tag.", + "file": "Client/CreateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_CreateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry CreateTag Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeletePackage_sync", - "title": "artifactregistry DeletePackage Sample", - "description": "DeletePackage deletes a package and all of its versions and tags. The returned operation\nwill complete once the package has been deleted.", - "file": "Client/DeletePackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.DeletePackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeletePackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeletePackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeletePackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeletePackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "DeletePackage", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeletePackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "DeletePackage" }, + "description": "DeletePackage deletes a package and all of its versions and tags. The returned operation\nwill complete once the package has been deleted.", + "file": "Client/DeletePackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeletePackage_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeletePackage Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeleteRepository_sync", - "title": "artifactregistry DeleteRepository Sample", - "description": "DeleteRepository deletes a repository and all of its contents. The returned Operation will\nfinish once the repository has been deleted. It will not have any Operation\nmetadata and will return a google.protobuf.Empty response.", - "file": "Client/DeleteRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.DeleteRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "DeleteRepository", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "DeleteRepository" }, + "description": "DeleteRepository deletes a repository and all of its contents. The returned Operation will\nfinish once the repository has been deleted. It will not have any Operation\nmetadata and will return a google.protobuf.Empty response.", + "file": "Client/DeleteRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeleteRepository_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteRepository Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeleteTag_sync", - "title": "artifactregistry DeleteTag Sample", - "description": "DeleteTag deletes a tag.", - "file": "Client/DeleteTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.DeleteTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "DeleteTag", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "DeleteTag" }, + "description": "DeleteTag deletes a tag.", + "file": "Client/DeleteTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeleteTag_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteTag Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeleteVersion_sync", - "title": "artifactregistry DeleteVersion Sample", - "description": "DeleteVersion deletes a version and all of its content. The returned operation will\ncomplete once the version has been deleted.", - "file": "Client/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.DeleteVersion", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteVersion", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVersionOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteVersion", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion deletes a version and all of its content. The returned operation will\ncomplete once the version has been deleted.", + "file": "Client/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry DeleteVersion Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetFile_sync", - "title": "artifactregistry GetFile Sample", - "description": "GetFile gets a file.", - "file": "Client/GetFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFile", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetFile", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetFile", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetFileRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.File", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetFile", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetFile", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetFile" }, + "description": "GetFile gets a file.", + "file": "Client/GetFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetFile Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetIamPolicy_sync", - "title": "artifactregistry GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for a given resource.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetIamPolicy", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetIamPolicy", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetIamPolicy", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for a given resource.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetIamPolicy Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetLocation_sync", - "title": "artifactregistry GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetLocation Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetPackage_sync", - "title": "artifactregistry GetPackage Sample", - "description": "GetPackage gets a package.", - "file": "Client/GetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPackage", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetPackage", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetPackage", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetPackageRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Package", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetPackage", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetPackage", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetPackage" }, + "description": "GetPackage gets a package.", + "file": "Client/GetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetPackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetPackage Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetProjectSettings_sync", - "title": "artifactregistry GetProjectSettings Sample", - "description": "GetProjectSettings retrieves the Settings for the Project.", - "file": "Client/GetProjectSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProjectSettings", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetProjectSettings", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetProjectSettings", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetProjectSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetProjectSettingsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetProjectSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.ProjectSettings", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetProjectSettings", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetProjectSettings", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetProjectSettings" }, + "description": "GetProjectSettings retrieves the Settings for the Project.", + "file": "Client/GetProjectSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetProjectSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetProjectSettings Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetRepository_sync", - "title": "artifactregistry GetRepository Sample", - "description": "GetRepository gets a repository.", - "file": "Client/GetRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetRepository", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetRepository" }, + "description": "GetRepository gets a repository.", + "file": "Client/GetRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetRepository Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetTag_sync", - "title": "artifactregistry GetTag Sample", - "description": "GetTag gets a tag.", - "file": "Client/GetTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetTag", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetTag" }, + "description": "GetTag gets a tag.", + "file": "Client/GetTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetTag Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetVersion_sync", - "title": "artifactregistry GetVersion Sample", - "description": "GetVersion gets a version", - "file": "Client/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.GetVersion", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetVersion", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Version", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetVersion", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion gets a version", + "file": "Client/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry GetVersion Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ImportAptArtifacts_sync", - "title": "artifactregistry ImportAptArtifacts Sample", - "description": "ImportAptArtifacts imports Apt artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", - "file": "Client/ImportAptArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAptArtifacts", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ImportAptArtifacts", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ImportAptArtifacts", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ImportAptArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ImportAptArtifactsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ImportAptArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAptArtifactsOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ImportAptArtifacts", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ImportAptArtifacts", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ImportAptArtifacts" }, + "description": "ImportAptArtifacts imports Apt artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", + "file": "Client/ImportAptArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ImportAptArtifacts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ImportAptArtifacts Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ImportYumArtifacts_sync", - "title": "artifactregistry ImportYumArtifacts Sample", - "description": "ImportYumArtifacts imports Yum (RPM) artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", - "file": "Client/ImportYumArtifacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportYumArtifacts", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ImportYumArtifacts", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ImportYumArtifacts", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ImportYumArtifacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ImportYumArtifactsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ImportYumArtifactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportYumArtifactsOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ImportYumArtifacts", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ImportYumArtifacts", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ImportYumArtifacts" }, + "description": "ImportYumArtifacts imports Yum (RPM) artifacts. The returned Operation will complete once the\nresources are imported. Package, Version, and File resources are created\nbased on the imported artifacts. Imported artifacts that conflict with\nexisting resources are ignored.", + "file": "Client/ImportYumArtifacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ImportYumArtifacts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ImportYumArtifacts Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListFiles_sync", - "title": "artifactregistry ListFiles Sample", - "description": "ListFiles lists files.", - "file": "Client/ListFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFiles", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ListFiles", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListFiles", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListFilesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ListFiles", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListFiles", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ListFiles" }, + "description": "ListFiles lists files.", + "file": "Client/ListFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListFiles Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListLocations_sync", - "title": "artifactregistry ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListLocations Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListPackages_sync", - "title": "artifactregistry ListPackages Sample", - "description": "ListPackages lists packages.", - "file": "Client/ListPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPackages", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ListPackages", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListPackages", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListPackagesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PackageIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ListPackages", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListPackages", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ListPackages" }, + "description": "ListPackages lists packages.", + "file": "Client/ListPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListPackages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListPackages Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListRepositories_sync", - "title": "artifactregistry ListRepositories Sample", - "description": "ListRepositories lists repositories.", - "file": "Client/ListRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRepositories", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ListRepositories", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListRepositories", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListRepositoriesRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ListRepositories", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListRepositories", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ListRepositories" }, + "description": "ListRepositories lists repositories.", + "file": "Client/ListRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListRepositories Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListTags_sync", - "title": "artifactregistry ListTags Sample", - "description": "ListTags lists tags.", - "file": "Client/ListTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTags", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ListTags", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListTags", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListTagsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ListTags", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListTags", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ListTags" }, + "description": "ListTags lists tags.", + "file": "Client/ListTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListTags Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListVersions_sync", - "title": "artifactregistry ListVersions Sample", - "description": "ListVersions lists versions.", - "file": "Client/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.ListVersions", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListVersions", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListVersions", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions lists versions.", + "file": "Client/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry ListVersions Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_SetIamPolicy_sync", - "title": "artifactregistry SetIamPolicy Sample", - "description": "SetIamPolicy updates the IAM policy for a given resource.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.SetIamPolicy", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.SetIamPolicy", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.SetIamPolicy", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy updates the IAM policy for a given resource.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry SetIamPolicy Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_TestIamPermissions_sync", - "title": "artifactregistry TestIamPermissions Sample", - "description": "TestIamPermissions tests if the caller has a list of permissions on a resource.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.TestIamPermissions", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.TestIamPermissions", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.TestIamPermissions", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests if the caller has a list of permissions on a resource.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry TestIamPermissions Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_UpdateProjectSettings_sync", - "title": "artifactregistry UpdateProjectSettings Sample", - "description": "UpdateProjectSettings updates the Settings for the Project.", - "file": "Client/UpdateProjectSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProjectSettings", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.UpdateProjectSettings", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateProjectSettings", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateProjectSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateProjectSettingsRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateProjectSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.ProjectSettings", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "UpdateProjectSettings", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateProjectSettings", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "UpdateProjectSettings" }, + "description": "UpdateProjectSettings updates the Settings for the Project.", + "file": "Client/UpdateProjectSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_UpdateProjectSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateProjectSettings Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_UpdateRepository_sync", - "title": "artifactregistry UpdateRepository Sample", - "description": "UpdateRepository updates a repository.", - "file": "Client/UpdateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRepository", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.UpdateRepository", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateRepository", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateRepositoryRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "UpdateRepository", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateRepository", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "UpdateRepository" }, + "description": "UpdateRepository updates a repository.", + "file": "Client/UpdateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_UpdateRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateRepository Sample" }, { - "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_UpdateTag_sync", - "title": "artifactregistry UpdateTag Sample", - "description": "UpdateTag updates a tag.", - "file": "Client/UpdateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTag", + "client": { + "fullName": "google.devtools.artifactregistry.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.artifactregistry.v1beta2.Client.UpdateTag", + "method": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateTag", + "service": { + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "shortName": "ArtifactRegistry" + }, + "shortName": "UpdateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "artifactregistrypb.UpdateTagRequest", - "name": "req" + "name": "req", + "type": "artifactregistrypb.UpdateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*artifactregistrypb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.devtools.artifactregistry.v1beta2.Client" - }, - "method": { - "shortName": "UpdateTag", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateTag", - "service": { - "shortName": "ArtifactRegistry", - "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry" - } - } + "shortName": "UpdateTag" }, + "description": "UpdateTag updates a tag.", + "file": "Client/UpdateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "artifactregistry_v1beta2_generated_ArtifactRegistry_UpdateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "artifactregistry UpdateTag Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json index 65bbd3467a3c..7be46345e9fd 100644 --- a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json +++ b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json @@ -1,1117 +1,1117 @@ { "clientLibrary": { - "name": "cloud.google.com/go/asset/apiv1", - "version": "1.22.1", - "language": "GO", "apis": [ { "id": "google.cloud.asset.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/asset/apiv1", + "version": "1.22.1" }, "snippets": [ { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync", - "title": "cloudasset AnalyzeIamPolicy Sample", - "description": "AnalyzeIamPolicy analyzes IAM policies to answer which identities have what accesses on\nwhich resources.", - "file": "Client/AnalyzeIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeIamPolicy", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.AnalyzeIamPolicy", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "AnalyzeIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.AnalyzeIamPolicyRequest", - "name": "req" + "name": "req", + "type": "assetpb.AnalyzeIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.AnalyzeIamPolicyResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "AnalyzeIamPolicy", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "AnalyzeIamPolicy" }, + "description": "AnalyzeIamPolicy analyzes IAM policies to answer which identities have what accesses on\nwhich resources.", + "file": "Client/AnalyzeIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset AnalyzeIamPolicy Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync", - "title": "cloudasset AnalyzeIamPolicyLongrunning Sample", - "description": "AnalyzeIamPolicyLongrunning analyzes IAM policies asynchronously to answer which identities have what\naccesses on which resources, and writes the analysis results to a Google\nCloud Storage or a BigQuery destination. For Cloud Storage destination, the\noutput format is the JSON format that represents a\n[AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].\nThis method implements the\n[google.longrunning.Operation][google.longrunning.Operation], which allows\nyou to track the operation status. We recommend intervals of at least 2\nseconds with exponential backoff retry to poll the operation result. The\nmetadata contains the metadata for the long-running operation.", - "file": "Client/AnalyzeIamPolicyLongrunning/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeIamPolicyLongrunning", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.AnalyzeIamPolicyLongrunning", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "AnalyzeIamPolicyLongrunning" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.AnalyzeIamPolicyLongrunningRequest", - "name": "req" + "name": "req", + "type": "assetpb.AnalyzeIamPolicyLongrunningRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalyzeIamPolicyLongrunningOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "AnalyzeIamPolicyLongrunning", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "AnalyzeIamPolicyLongrunning" }, + "description": "AnalyzeIamPolicyLongrunning analyzes IAM policies asynchronously to answer which identities have what\naccesses on which resources, and writes the analysis results to a Google\nCloud Storage or a BigQuery destination. For Cloud Storage destination, the\noutput format is the JSON format that represents a\n[AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].\nThis method implements the\n[google.longrunning.Operation][google.longrunning.Operation], which allows\nyou to track the operation status. We recommend intervals of at least 2\nseconds with exponential backoff retry to poll the operation result. The\nmetadata contains the metadata for the long-running operation.", + "file": "Client/AnalyzeIamPolicyLongrunning/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset AnalyzeIamPolicyLongrunning Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeMove_sync", - "title": "cloudasset AnalyzeMove Sample", - "description": "AnalyzeMove analyze moving a resource to a specified destination without kicking off\nthe actual move. The analysis is best effort depending on the user's\npermissions of viewing different hierarchical policies and configurations.\nThe policies and configuration are subject to change before the actual\nresource migration takes place.", - "file": "Client/AnalyzeMove/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeMove", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.AnalyzeMove", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeMove", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "AnalyzeMove" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.AnalyzeMoveRequest", - "name": "req" + "name": "req", + "type": "assetpb.AnalyzeMoveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.AnalyzeMoveResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "AnalyzeMove", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeMove", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "AnalyzeMove" }, + "description": "AnalyzeMove analyze moving a resource to a specified destination without kicking off\nthe actual move. The analysis is best effort depending on the user's\npermissions of viewing different hierarchical policies and configurations.\nThe policies and configuration are subject to change before the actual\nresource migration takes place.", + "file": "Client/AnalyzeMove/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeMove_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset AnalyzeMove Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicies_sync", - "title": "cloudasset AnalyzeOrgPolicies Sample", - "description": "AnalyzeOrgPolicies analyzes organization policies under a scope.", - "file": "Client/AnalyzeOrgPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeOrgPolicies", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.AnalyzeOrgPolicies", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "AnalyzeOrgPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.AnalyzeOrgPoliciesRequest", - "name": "req" + "name": "req", + "type": "assetpb.AnalyzeOrgPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalyzeOrgPoliciesResponse_OrgPolicyResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "AnalyzeOrgPolicies", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "AnalyzeOrgPolicies" }, + "description": "AnalyzeOrgPolicies analyzes organization policies under a scope.", + "file": "Client/AnalyzeOrgPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset AnalyzeOrgPolicies Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedAssets_sync", - "title": "cloudasset AnalyzeOrgPolicyGovernedAssets Sample", - "description": "AnalyzeOrgPolicyGovernedAssets analyzes organization policies governed assets (Google Cloud resources or\npolicies) under a scope. This RPC supports custom constraints and the\nfollowing canned constraints: \n\n* constraints/ainotebooks.accessMode\n* constraints/ainotebooks.disableFileDownloads\n* constraints/ainotebooks.disableRootAccess\n* constraints/ainotebooks.disableTerminal\n* constraints/ainotebooks.environmentOptions\n* constraints/ainotebooks.requireAutoUpgradeSchedule\n* constraints/ainotebooks.restrictVpcNetworks\n* constraints/compute.disableGuestAttributesAccess\n* constraints/compute.disableInstanceDataAccessApis\n* constraints/compute.disableNestedVirtualization\n* constraints/compute.disableSerialPortAccess\n* constraints/compute.disableSerialPortLogging\n* constraints/compute.disableVpcExternalIpv6\n* constraints/compute.requireOsLogin\n* constraints/compute.requireShieldedVm\n* constraints/compute.restrictLoadBalancerCreationForTypes\n* constraints/compute.restrictProtocolForwardingCreationForTypes\n* constraints/compute.restrictXpnProjectLienRemoval\n* constraints/compute.setNewProjectDefaultToZonalDNSOnly\n* constraints/compute.skipDefaultNetworkCreation\n* constraints/compute.trustedImageProjects\n* constraints/compute.vmCanIpForward\n* constraints/compute.vmExternalIpAccess\n* constraints/gcp.detailedAuditLoggingMode\n* constraints/gcp.resourceLocations\n* constraints/iam.allowedPolicyMemberDomains\n* constraints/iam.automaticIamGrantsForDefaultServiceAccounts\n* constraints/iam.disableServiceAccountCreation\n* constraints/iam.disableServiceAccountKeyCreation\n* constraints/iam.disableServiceAccountKeyUpload\n* constraints/iam.restrictCrossProjectServiceAccountLienRemoval\n* constraints/iam.serviceAccountKeyExpiryHours\n* constraints/resourcemanager.accessBoundaries\n* constraints/resourcemanager.allowedExportDestinations\n* constraints/sql.restrictAuthorizedNetworks\n* constraints/sql.restrictNoncompliantDiagnosticDataAccess\n* constraints/sql.restrictNoncompliantResourceCreation\n* constraints/sql.restrictPublicIp\n* constraints/storage.publicAccessPrevention\n* constraints/storage.restrictAuthTypes\n* constraints/storage.uniformBucketLevelAccess\n\nThis RPC only returns either resources of types [supported by search\nAPIs](https: //cloud.google.com/asset-inventory/docs/supported-asset-types)\nor IAM policies.", - "file": "Client/AnalyzeOrgPolicyGovernedAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeOrgPolicyGovernedAssets", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.AnalyzeOrgPolicyGovernedAssets", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "AnalyzeOrgPolicyGovernedAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.AnalyzeOrgPolicyGovernedAssetsRequest", - "name": "req" + "name": "req", + "type": "assetpb.AnalyzeOrgPolicyGovernedAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAssetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "AnalyzeOrgPolicyGovernedAssets", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "AnalyzeOrgPolicyGovernedAssets" }, + "description": "AnalyzeOrgPolicyGovernedAssets analyzes organization policies governed assets (Google Cloud resources or\npolicies) under a scope. This RPC supports custom constraints and the\nfollowing canned constraints: \n\n* constraints/ainotebooks.accessMode\n* constraints/ainotebooks.disableFileDownloads\n* constraints/ainotebooks.disableRootAccess\n* constraints/ainotebooks.disableTerminal\n* constraints/ainotebooks.environmentOptions\n* constraints/ainotebooks.requireAutoUpgradeSchedule\n* constraints/ainotebooks.restrictVpcNetworks\n* constraints/compute.disableGuestAttributesAccess\n* constraints/compute.disableInstanceDataAccessApis\n* constraints/compute.disableNestedVirtualization\n* constraints/compute.disableSerialPortAccess\n* constraints/compute.disableSerialPortLogging\n* constraints/compute.disableVpcExternalIpv6\n* constraints/compute.requireOsLogin\n* constraints/compute.requireShieldedVm\n* constraints/compute.restrictLoadBalancerCreationForTypes\n* constraints/compute.restrictProtocolForwardingCreationForTypes\n* constraints/compute.restrictXpnProjectLienRemoval\n* constraints/compute.setNewProjectDefaultToZonalDNSOnly\n* constraints/compute.skipDefaultNetworkCreation\n* constraints/compute.trustedImageProjects\n* constraints/compute.vmCanIpForward\n* constraints/compute.vmExternalIpAccess\n* constraints/gcp.detailedAuditLoggingMode\n* constraints/gcp.resourceLocations\n* constraints/iam.allowedPolicyMemberDomains\n* constraints/iam.automaticIamGrantsForDefaultServiceAccounts\n* constraints/iam.disableServiceAccountCreation\n* constraints/iam.disableServiceAccountKeyCreation\n* constraints/iam.disableServiceAccountKeyUpload\n* constraints/iam.restrictCrossProjectServiceAccountLienRemoval\n* constraints/iam.serviceAccountKeyExpiryHours\n* constraints/resourcemanager.accessBoundaries\n* constraints/resourcemanager.allowedExportDestinations\n* constraints/sql.restrictAuthorizedNetworks\n* constraints/sql.restrictNoncompliantDiagnosticDataAccess\n* constraints/sql.restrictNoncompliantResourceCreation\n* constraints/sql.restrictPublicIp\n* constraints/storage.publicAccessPrevention\n* constraints/storage.restrictAuthTypes\n* constraints/storage.uniformBucketLevelAccess\n\nThis RPC only returns either resources of types [supported by search\nAPIs](https: //cloud.google.com/asset-inventory/docs/supported-asset-types)\nor IAM policies.", + "file": "Client/AnalyzeOrgPolicyGovernedAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset AnalyzeOrgPolicyGovernedAssets Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedContainers_sync", - "title": "cloudasset AnalyzeOrgPolicyGovernedContainers Sample", - "description": "AnalyzeOrgPolicyGovernedContainers analyzes organization policies governed containers (projects, folders or\norganization) under a scope.", - "file": "Client/AnalyzeOrgPolicyGovernedContainers/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeOrgPolicyGovernedContainers", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.AnalyzeOrgPolicyGovernedContainers", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "AnalyzeOrgPolicyGovernedContainers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.AnalyzeOrgPolicyGovernedContainersRequest", - "name": "req" + "name": "req", + "type": "assetpb.AnalyzeOrgPolicyGovernedContainersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainerIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "AnalyzeOrgPolicyGovernedContainers", - "fullName": "google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "AnalyzeOrgPolicyGovernedContainers" }, + "description": "AnalyzeOrgPolicyGovernedContainers analyzes organization policies governed containers (projects, folders or\norganization) under a scope.", + "file": "Client/AnalyzeOrgPolicyGovernedContainers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedContainers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset AnalyzeOrgPolicyGovernedContainers Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync", - "title": "cloudasset BatchGetAssetsHistory Sample", - "description": "BatchGetAssetsHistory batch gets the update history of assets that overlap a time window.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nOtherwise, this API outputs history with asset in both non-delete or\ndeleted status.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.", - "file": "Client/BatchGetAssetsHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetAssetsHistory", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.BatchGetAssetsHistory", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "BatchGetAssetsHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.BatchGetAssetsHistoryRequest", - "name": "req" + "name": "req", + "type": "assetpb.BatchGetAssetsHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.BatchGetAssetsHistoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "BatchGetAssetsHistory", - "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "BatchGetAssetsHistory" }, + "description": "BatchGetAssetsHistory batch gets the update history of assets that overlap a time window.\nFor IAM_POLICY content, this API outputs history when the asset and its\nattached IAM POLICY both exist. This can create gaps in the output history.\nOtherwise, this API outputs history with asset in both non-delete or\ndeleted status.\nIf a specified asset does not exist, this API returns an INVALID_ARGUMENT\nerror.", + "file": "Client/BatchGetAssetsHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset BatchGetAssetsHistory Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_sync", - "title": "cloudasset BatchGetEffectiveIamPolicies Sample", - "description": "BatchGetEffectiveIamPolicies gets effective IAM policies for a batch of resources.", - "file": "Client/BatchGetEffectiveIamPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetEffectiveIamPolicies", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.BatchGetEffectiveIamPolicies", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "BatchGetEffectiveIamPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.BatchGetEffectiveIamPoliciesRequest", - "name": "req" + "name": "req", + "type": "assetpb.BatchGetEffectiveIamPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.BatchGetEffectiveIamPoliciesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "BatchGetEffectiveIamPolicies", - "fullName": "google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "BatchGetEffectiveIamPolicies" }, + "description": "BatchGetEffectiveIamPolicies gets effective IAM policies for a batch of resources.", + "file": "Client/BatchGetEffectiveIamPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset BatchGetEffectiveIamPolicies Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_CreateFeed_sync", - "title": "cloudasset CreateFeed Sample", - "description": "CreateFeed creates a feed in a parent project/folder/organization to listen to its\nasset updates.", - "file": "Client/CreateFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeed", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.CreateFeed", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "CreateFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.CreateFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.CreateFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.Feed", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "CreateFeed", - "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "CreateFeed" }, + "description": "CreateFeed creates a feed in a parent project/folder/organization to listen to its\nasset updates.", + "file": "Client/CreateFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_CreateFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset CreateFeed Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_CreateSavedQuery_sync", - "title": "cloudasset CreateSavedQuery Sample", - "description": "CreateSavedQuery creates a saved query in a parent project/folder/organization.", - "file": "Client/CreateSavedQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSavedQuery", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.CreateSavedQuery", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.CreateSavedQuery", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "CreateSavedQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.CreateSavedQueryRequest", - "name": "req" + "name": "req", + "type": "assetpb.CreateSavedQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.SavedQuery", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "CreateSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.CreateSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "CreateSavedQuery" }, + "description": "CreateSavedQuery creates a saved query in a parent project/folder/organization.", + "file": "Client/CreateSavedQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_CreateSavedQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset CreateSavedQuery Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_DeleteFeed_sync", - "title": "cloudasset DeleteFeed Sample", - "description": "DeleteFeed deletes an asset feed.", - "file": "Client/DeleteFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeed", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.DeleteFeed", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "DeleteFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.DeleteFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.DeleteFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "DeleteFeed", - "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "DeleteFeed" }, + "description": "DeleteFeed deletes an asset feed.", + "file": "Client/DeleteFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_DeleteFeed_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset DeleteFeed Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_DeleteSavedQuery_sync", - "title": "cloudasset DeleteSavedQuery Sample", - "description": "DeleteSavedQuery deletes a saved query.", - "file": "Client/DeleteSavedQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSavedQuery", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.DeleteSavedQuery", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.DeleteSavedQuery", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "DeleteSavedQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.DeleteSavedQueryRequest", - "name": "req" + "name": "req", + "type": "assetpb.DeleteSavedQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "DeleteSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.DeleteSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "DeleteSavedQuery" }, + "description": "DeleteSavedQuery deletes a saved query.", + "file": "Client/DeleteSavedQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_DeleteSavedQuery_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset DeleteSavedQuery Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_ExportAssets_sync", - "title": "cloudasset ExportAssets Sample", - "description": "ExportAssets exports assets with time and resource types to a given Cloud Storage\nlocation/BigQuery table. For Cloud Storage location destinations, the\noutput format is newline-delimited JSON. Each line represents a\n[google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON\nformat; for BigQuery table destinations, the output table stores the fields\nin asset Protobuf as columns. This API implements the\n[google.longrunning.Operation][google.longrunning.Operation] API, which\nallows you to keep track of the export. We recommend intervals of at least\n2 seconds with exponential retry to poll the export operation result. For\nregular-size resource parent, the export operation usually finishes within\n5 minutes.", - "file": "Client/ExportAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAssets", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.ExportAssets", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "ExportAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.ExportAssetsRequest", - "name": "req" + "name": "req", + "type": "assetpb.ExportAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAssetsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "ExportAssets", - "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "ExportAssets" }, + "description": "ExportAssets exports assets with time and resource types to a given Cloud Storage\nlocation/BigQuery table. For Cloud Storage location destinations, the\noutput format is newline-delimited JSON. Each line represents a\n[google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON\nformat; for BigQuery table destinations, the output table stores the fields\nin asset Protobuf as columns. This API implements the\n[google.longrunning.Operation][google.longrunning.Operation] API, which\nallows you to keep track of the export. We recommend intervals of at least\n2 seconds with exponential retry to poll the export operation result. For\nregular-size resource parent, the export operation usually finishes within\n5 minutes.", + "file": "Client/ExportAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_ExportAssets_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset ExportAssets Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_GetFeed_sync", - "title": "cloudasset GetFeed Sample", - "description": "GetFeed gets details about an asset feed.", - "file": "Client/GetFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeed", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.GetFeed", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.GetFeed", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "GetFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.GetFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.GetFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.Feed", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "GetFeed", - "fullName": "google.cloud.asset.v1.AssetService.GetFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "GetFeed" }, + "description": "GetFeed gets details about an asset feed.", + "file": "Client/GetFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_GetFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset GetFeed Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_GetOperation_sync", - "title": "cloudasset GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset GetOperation Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_GetSavedQuery_sync", - "title": "cloudasset GetSavedQuery Sample", - "description": "GetSavedQuery gets details about a saved query.", - "file": "Client/GetSavedQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSavedQuery", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.GetSavedQuery", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.GetSavedQuery", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "GetSavedQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.GetSavedQueryRequest", - "name": "req" + "name": "req", + "type": "assetpb.GetSavedQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.SavedQuery", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "GetSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.GetSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "GetSavedQuery" }, + "description": "GetSavedQuery gets details about a saved query.", + "file": "Client/GetSavedQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_GetSavedQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset GetSavedQuery Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_ListAssets_sync", - "title": "cloudasset ListAssets Sample", - "description": "ListAssets lists assets with time and resource types and returns paged results in\nresponse.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.ListAssets", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.ListAssets", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "assetpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.asset.v1.AssetService.ListAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists assets with time and resource types and returns paged results in\nresponse.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset ListAssets Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_ListFeeds_sync", - "title": "cloudasset ListFeeds Sample", - "description": "ListFeeds lists all asset feeds in a parent project/folder/organization.", - "file": "Client/ListFeeds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeeds", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.ListFeeds", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "ListFeeds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.ListFeedsRequest", - "name": "req" + "name": "req", + "type": "assetpb.ListFeedsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.ListFeedsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "ListFeeds", - "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "ListFeeds" }, + "description": "ListFeeds lists all asset feeds in a parent project/folder/organization.", + "file": "Client/ListFeeds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_ListFeeds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset ListFeeds Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_ListSavedQueries_sync", - "title": "cloudasset ListSavedQueries Sample", - "description": "ListSavedQueries lists all saved queries in a parent project/folder/organization.", - "file": "Client/ListSavedQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSavedQueries", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.ListSavedQueries", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.ListSavedQueries", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "ListSavedQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.ListSavedQueriesRequest", - "name": "req" + "name": "req", + "type": "assetpb.ListSavedQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SavedQueryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "ListSavedQueries", - "fullName": "google.cloud.asset.v1.AssetService.ListSavedQueries", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "ListSavedQueries" }, + "description": "ListSavedQueries lists all saved queries in a parent project/folder/organization.", + "file": "Client/ListSavedQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_ListSavedQueries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset ListSavedQueries Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_QueryAssets_sync", - "title": "cloudasset QueryAssets Sample", - "description": "QueryAssets issue a job that queries assets using a SQL statement compatible with\n[BigQuery SQL](https: //cloud.google.com/bigquery/docs/introduction-sql).\n\nIf the query execution finishes within timeout and there's no pagination,\nthe full query results will be returned in the `QueryAssetsResponse`.\n\nOtherwise, full query results can be obtained by issuing extra requests\nwith the `job_reference` from the a previous `QueryAssets` call.\n\nNote, the query result has approximately 10 GB limitation enforced by\n[BigQuery](https: //cloud.google.com/bigquery/docs/best-practices-performance-output).\nQueries return larger results will result in errors.", - "file": "Client/QueryAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryAssets", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.QueryAssets", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.QueryAssets", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "QueryAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.QueryAssetsRequest", - "name": "req" + "name": "req", + "type": "assetpb.QueryAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.QueryAssetsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "QueryAssets", - "fullName": "google.cloud.asset.v1.AssetService.QueryAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "QueryAssets" }, + "description": "QueryAssets issue a job that queries assets using a SQL statement compatible with\n[BigQuery SQL](https: //cloud.google.com/bigquery/docs/introduction-sql).\n\nIf the query execution finishes within timeout and there's no pagination,\nthe full query results will be returned in the `QueryAssetsResponse`.\n\nOtherwise, full query results can be obtained by issuing extra requests\nwith the `job_reference` from the a previous `QueryAssets` call.\n\nNote, the query result has approximately 10 GB limitation enforced by\n[BigQuery](https: //cloud.google.com/bigquery/docs/best-practices-performance-output).\nQueries return larger results will result in errors.", + "file": "Client/QueryAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_QueryAssets_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset QueryAssets Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync", - "title": "cloudasset SearchAllIamPolicies Sample", - "description": "SearchAllIamPolicies searches all IAM policies within the specified scope, such as a project,\nfolder, or organization. The caller must be granted the\n`cloudasset.assets.searchAllIamPolicies` permission on the desired scope,\notherwise the request will be rejected.", - "file": "Client/SearchAllIamPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAllIamPolicies", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.SearchAllIamPolicies", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "SearchAllIamPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.SearchAllIamPoliciesRequest", - "name": "req" + "name": "req", + "type": "assetpb.SearchAllIamPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IamPolicySearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "SearchAllIamPolicies", - "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "SearchAllIamPolicies" }, + "description": "SearchAllIamPolicies searches all IAM policies within the specified scope, such as a project,\nfolder, or organization. The caller must be granted the\n`cloudasset.assets.searchAllIamPolicies` permission on the desired scope,\notherwise the request will be rejected.", + "file": "Client/SearchAllIamPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset SearchAllIamPolicies Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_SearchAllResources_sync", - "title": "cloudasset SearchAllResources Sample", - "description": "SearchAllResources searches all Google Cloud resources within the specified scope, such as a\nproject, folder, or organization. The caller must be granted the\n`cloudasset.assets.searchAllResources` permission on the desired scope,\notherwise the request will be rejected.", - "file": "Client/SearchAllResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAllResources", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.SearchAllResources", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "SearchAllResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.SearchAllResourcesRequest", - "name": "req" + "name": "req", + "type": "assetpb.SearchAllResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceSearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "SearchAllResources", - "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "SearchAllResources" }, + "description": "SearchAllResources searches all Google Cloud resources within the specified scope, such as a\nproject, folder, or organization. The caller must be granted the\n`cloudasset.assets.searchAllResources` permission on the desired scope,\notherwise the request will be rejected.", + "file": "Client/SearchAllResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_SearchAllResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset SearchAllResources Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_UpdateFeed_sync", - "title": "cloudasset UpdateFeed Sample", - "description": "UpdateFeed updates an asset feed configuration.", - "file": "Client/UpdateFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeed", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.UpdateFeed", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "UpdateFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.UpdateFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.UpdateFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.Feed", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "UpdateFeed", - "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "UpdateFeed" }, + "description": "UpdateFeed updates an asset feed configuration.", + "file": "Client/UpdateFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_UpdateFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset UpdateFeed Sample" }, { - "regionTag": "cloudasset_v1_generated_AssetService_UpdateSavedQuery_sync", - "title": "cloudasset UpdateSavedQuery Sample", - "description": "UpdateSavedQuery updates a saved query.", - "file": "Client/UpdateSavedQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSavedQuery", + "client": { + "fullName": "google.cloud.asset.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1.Client.UpdateSavedQuery", + "method": { + "fullName": "google.cloud.asset.v1.AssetService.UpdateSavedQuery", + "service": { + "fullName": "google.cloud.asset.v1.AssetService", + "shortName": "AssetService" + }, + "shortName": "UpdateSavedQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.UpdateSavedQueryRequest", - "name": "req" + "name": "req", + "type": "assetpb.UpdateSavedQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.SavedQuery", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1.Client" - }, - "method": { - "shortName": "UpdateSavedQuery", - "fullName": "google.cloud.asset.v1.AssetService.UpdateSavedQuery", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1.AssetService" - } - } + "shortName": "UpdateSavedQuery" }, + "description": "UpdateSavedQuery updates a saved query.", + "file": "Client/UpdateSavedQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1_generated_AssetService_UpdateSavedQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset UpdateSavedQuery Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json index 2c100ce5118b..6cef660ea0cb 100644 --- a/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json +++ b/internal/generated/snippets/asset/apiv1p2beta1/snippet_metadata.google.cloud.asset.v1p2beta1.json @@ -1,290 +1,290 @@ { "clientLibrary": { - "name": "cloud.google.com/go/asset/apiv1p2beta1", - "version": "1.22.1", - "language": "GO", "apis": [ { "id": "google.cloud.asset.v1p2beta1", "version": "v1p2beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/asset/apiv1p2beta1", + "version": "1.22.1" }, "snippets": [ { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_CreateFeed_sync", - "title": "cloudasset CreateFeed Sample", - "description": "CreateFeed creates a feed in a parent project/folder/organization to listen to its\nasset updates.", - "file": "Client/CreateFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeed", + "client": { + "fullName": "google.cloud.asset.v1p2beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p2beta1.Client.CreateFeed", + "method": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", + "service": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService", + "shortName": "AssetService" + }, + "shortName": "CreateFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.CreateFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.CreateFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.Feed", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p2beta1.Client" - }, - "method": { - "shortName": "CreateFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } + "shortName": "CreateFeed" }, + "description": "CreateFeed creates a feed in a parent project/folder/organization to listen to its\nasset updates.", + "file": "Client/CreateFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_CreateFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset CreateFeed Sample" }, { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_sync", - "title": "cloudasset DeleteFeed Sample", - "description": "DeleteFeed deletes an asset feed.", - "file": "Client/DeleteFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeed", + "client": { + "fullName": "google.cloud.asset.v1p2beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p2beta1.Client.DeleteFeed", + "method": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", + "service": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService", + "shortName": "AssetService" + }, + "shortName": "DeleteFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.DeleteFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.DeleteFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p2beta1.Client" - }, - "method": { - "shortName": "DeleteFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } + "shortName": "DeleteFeed" }, + "description": "DeleteFeed deletes an asset feed.", + "file": "Client/DeleteFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset DeleteFeed Sample" }, { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetFeed_sync", - "title": "cloudasset GetFeed Sample", - "description": "GetFeed gets details about an asset feed.", - "file": "Client/GetFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeed", + "client": { + "fullName": "google.cloud.asset.v1p2beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p2beta1.Client.GetFeed", + "method": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", + "service": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService", + "shortName": "AssetService" + }, + "shortName": "GetFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.GetFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.GetFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.Feed", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p2beta1.Client" - }, - "method": { - "shortName": "GetFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } + "shortName": "GetFeed" }, + "description": "GetFeed gets details about an asset feed.", + "file": "Client/GetFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset GetFeed Sample" }, { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetOperation_sync", - "title": "cloudasset GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.asset.v1p2beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p2beta1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p2beta1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset GetOperation Sample" }, { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_ListFeeds_sync", - "title": "cloudasset ListFeeds Sample", - "description": "ListFeeds lists all asset feeds in a parent project/folder/organization.", - "file": "Client/ListFeeds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeeds", + "client": { + "fullName": "google.cloud.asset.v1p2beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p2beta1.Client.ListFeeds", + "method": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", + "service": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService", + "shortName": "AssetService" + }, + "shortName": "ListFeeds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.ListFeedsRequest", - "name": "req" + "name": "req", + "type": "assetpb.ListFeedsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.ListFeedsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p2beta1.Client" - }, - "method": { - "shortName": "ListFeeds", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } + "shortName": "ListFeeds" }, + "description": "ListFeeds lists all asset feeds in a parent project/folder/organization.", + "file": "Client/ListFeeds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_ListFeeds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset ListFeeds Sample" }, { - "regionTag": "cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_sync", - "title": "cloudasset UpdateFeed Sample", - "description": "UpdateFeed updates an asset feed configuration.", - "file": "Client/UpdateFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeed", + "client": { + "fullName": "google.cloud.asset.v1p2beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p2beta1.Client.UpdateFeed", + "method": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", + "service": { + "fullName": "google.cloud.asset.v1p2beta1.AssetService", + "shortName": "AssetService" + }, + "shortName": "UpdateFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.UpdateFeedRequest", - "name": "req" + "name": "req", + "type": "assetpb.UpdateFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assetpb.Feed", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p2beta1.Client" - }, - "method": { - "shortName": "UpdateFeed", - "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p2beta1.AssetService" - } - } + "shortName": "UpdateFeed" }, + "description": "UpdateFeed updates an asset feed configuration.", + "file": "Client/UpdateFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset UpdateFeed Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json index a4b66ebba6ad..4d2bbc0dda25 100644 --- a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json +++ b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/asset/apiv1p5beta1", - "version": "1.22.1", - "language": "GO", "apis": [ { "id": "google.cloud.asset.v1p5beta1", "version": "v1p5beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/asset/apiv1p5beta1", + "version": "1.22.1" }, "snippets": [ { - "regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_sync", - "title": "cloudasset ListAssets Sample", - "description": "ListAssets lists assets with time and resource types and returns paged results in\nresponse.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.asset.v1p5beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.asset.v1p5beta1.Client.ListAssets", + "method": { + "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", + "service": { + "fullName": "google.cloud.asset.v1p5beta1.AssetService", + "shortName": "AssetService" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assetpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "assetpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.asset.v1p5beta1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", - "service": { - "shortName": "AssetService", - "fullName": "google.cloud.asset.v1p5beta1.AssetService" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists assets with time and resource types and returns paged results in\nresponse.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudasset ListAssets Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json index 3911fc60df7c..08b5ebb421de 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json @@ -1,520 +1,520 @@ { "clientLibrary": { - "name": "cloud.google.com/go/assuredworkloads/apiv1", - "version": "1.13.0", - "language": "GO", "apis": [ { "id": "google.cloud.assuredworkloads.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/assuredworkloads/apiv1", + "version": "1.13.0" }, "snippets": [ { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_AcknowledgeViolation_sync", - "title": "assuredworkloads AcknowledgeViolation Sample", - "description": "AcknowledgeViolation acknowledges an existing violation. By acknowledging a violation, users\nacknowledge the existence of a compliance violation in their workload and\ndecide to ignore it due to a valid business justification. Acknowledgement\nis a permanent operation and it cannot be reverted.", - "file": "Client/AcknowledgeViolation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcknowledgeViolation", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.AcknowledgeViolation", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.AcknowledgeViolation", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "AcknowledgeViolation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.AcknowledgeViolationRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.AcknowledgeViolationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.AcknowledgeViolationResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "AcknowledgeViolation", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.AcknowledgeViolation", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "AcknowledgeViolation" }, + "description": "AcknowledgeViolation acknowledges an existing violation. By acknowledging a violation, users\nacknowledge the existence of a compliance violation in their workload and\ndecide to ignore it due to a valid business justification. Acknowledgement\nis a permanent operation and it cannot be reverted.", + "file": "Client/AcknowledgeViolation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_AcknowledgeViolation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads AcknowledgeViolation Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_sync", - "title": "assuredworkloads CreateWorkload Sample", - "description": "CreateWorkload creates Assured Workload.", - "file": "Client/CreateWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.CreateWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.CreateWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "CreateWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.CreateWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.CreateWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkloadOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "CreateWorkload", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.CreateWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "CreateWorkload" }, + "description": "CreateWorkload creates Assured Workload.", + "file": "Client/CreateWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads CreateWorkload Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_sync", - "title": "assuredworkloads DeleteWorkload Sample", - "description": "DeleteWorkload deletes the workload. Make sure that workload's direct children are already\nin a deleted state, otherwise the request will fail with a\nFAILED_PRECONDITION error.", - "file": "Client/DeleteWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.DeleteWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.DeleteWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "DeleteWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.DeleteWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.DeleteWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "DeleteWorkload", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.DeleteWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "DeleteWorkload" }, + "description": "DeleteWorkload deletes the workload. Make sure that workload's direct children are already\nin a deleted state, otherwise the request will fail with a\nFAILED_PRECONDITION error.", + "file": "Client/DeleteWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads DeleteWorkload Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_GetOperation_sync", - "title": "assuredworkloads GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads GetOperation Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_GetViolation_sync", - "title": "assuredworkloads GetViolation Sample", - "description": "GetViolation retrieves Assured Workload Violation based on ID.", - "file": "Client/GetViolation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetViolation", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.GetViolation", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.GetViolation", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "GetViolation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.GetViolationRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.GetViolationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.Violation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "GetViolation", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.GetViolation", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "GetViolation" }, + "description": "GetViolation retrieves Assured Workload Violation based on ID.", + "file": "Client/GetViolation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_GetViolation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads GetViolation Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_sync", - "title": "assuredworkloads GetWorkload Sample", - "description": "GetWorkload gets Assured Workload associated with a CRM Node", - "file": "Client/GetWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.GetWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.GetWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "GetWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.GetWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.GetWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.Workload", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "GetWorkload", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.GetWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "GetWorkload" }, + "description": "GetWorkload gets Assured Workload associated with a CRM Node", + "file": "Client/GetWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads GetWorkload Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_ListOperations_sync", - "title": "assuredworkloads ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads ListOperations Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_ListViolations_sync", - "title": "assuredworkloads ListViolations Sample", - "description": "ListViolations lists the Violations in the AssuredWorkload Environment.\nCallers may also choose to read across multiple Workloads as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of workload-id in the parent.\nFormat `organizations/{org_id}/locations/{location}/workloads/-`", - "file": "Client/ListViolations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListViolations", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.ListViolations", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.ListViolations", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "ListViolations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.ListViolationsRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.ListViolationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ViolationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "ListViolations", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.ListViolations", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "ListViolations" }, + "description": "ListViolations lists the Violations in the AssuredWorkload Environment.\nCallers may also choose to read across multiple Workloads as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of workload-id in the parent.\nFormat `organizations/{org_id}/locations/{location}/workloads/-`", + "file": "Client/ListViolations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_ListViolations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads ListViolations Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_sync", - "title": "assuredworkloads ListWorkloads Sample", - "description": "ListWorkloads lists Assured Workloads under a CRM Node.", - "file": "Client/ListWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkloads", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.ListWorkloads", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.ListWorkloads", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "ListWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.ListWorkloadsRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.ListWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkloadIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "ListWorkloads", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.ListWorkloads", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "ListWorkloads" }, + "description": "ListWorkloads lists Assured Workloads under a CRM Node.", + "file": "Client/ListWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads ListWorkloads Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync", - "title": "assuredworkloads RestrictAllowedResources Sample", - "description": "RestrictAllowedResources restrict the list of resources allowed in the Workload environment.\nThe current list of allowed products can be found at\nhttps: //cloud.google.com/assured-workloads/docs/supported-products\nIn addition to assuredworkloads.workload.update permission, the user should\nalso have orgpolicy.policy.set permission on the folder resource\nto use this functionality.", - "file": "Client/RestrictAllowedResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestrictAllowedResources", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.RestrictAllowedResources", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.RestrictAllowedResources", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "RestrictAllowedResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.RestrictAllowedResourcesRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.RestrictAllowedResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.RestrictAllowedResourcesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "RestrictAllowedResources", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.RestrictAllowedResources", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "RestrictAllowedResources" }, + "description": "RestrictAllowedResources restrict the list of resources allowed in the Workload environment.\nThe current list of allowed products can be found at\nhttps: //cloud.google.com/assured-workloads/docs/supported-products\nIn addition to assuredworkloads.workload.update permission, the user should\nalso have orgpolicy.policy.set permission on the folder resource\nto use this functionality.", + "file": "Client/RestrictAllowedResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads RestrictAllowedResources Sample" }, { - "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_sync", - "title": "assuredworkloads UpdateWorkload Sample", - "description": "UpdateWorkload updates an existing workload.\nCurrently allows updating of workload display_name and labels.\nFor force updates don't set etag field in the Workload.\nOnly one update operation per workload can be in progress.", - "file": "Client/UpdateWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1.Client.UpdateWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.UpdateWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "UpdateWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.UpdateWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.UpdateWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.Workload", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1.Client" - }, - "method": { - "shortName": "UpdateWorkload", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService.UpdateWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1.AssuredWorkloadsService" - } - } + "shortName": "UpdateWorkload" }, + "description": "UpdateWorkload updates an existing workload.\nCurrently allows updating of workload display_name and labels.\nFor force updates don't set etag field in the Workload.\nOnly one update operation per workload can be in progress.", + "file": "Client/UpdateWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads UpdateWorkload Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json index fc146b45b6b0..4c204f38c128 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json @@ -1,428 +1,428 @@ { "clientLibrary": { - "name": "cloud.google.com/go/assuredworkloads/apiv1beta1", - "version": "1.13.0", - "language": "GO", "apis": [ { "id": "google.cloud.assuredworkloads.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/assuredworkloads/apiv1beta1", + "version": "1.13.0" }, "snippets": [ { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_AnalyzeWorkloadMove_sync", - "title": "assuredworkloads AnalyzeWorkloadMove Sample", - "description": "AnalyzeWorkloadMove analyze if the source Assured Workloads can be moved to the target Assured\nWorkload", - "file": "Client/AnalyzeWorkloadMove/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeWorkloadMove", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.AnalyzeWorkloadMove", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.AnalyzeWorkloadMove", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "AnalyzeWorkloadMove" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.AnalyzeWorkloadMoveRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.AnalyzeWorkloadMoveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.AnalyzeWorkloadMoveResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "AnalyzeWorkloadMove", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.AnalyzeWorkloadMove", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "AnalyzeWorkloadMove" }, + "description": "AnalyzeWorkloadMove analyze if the source Assured Workloads can be moved to the target Assured\nWorkload", + "file": "Client/AnalyzeWorkloadMove/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_AnalyzeWorkloadMove_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads AnalyzeWorkloadMove Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_sync", - "title": "assuredworkloads CreateWorkload Sample", - "description": "CreateWorkload creates Assured Workload.", - "file": "Client/CreateWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.CreateWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.CreateWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "CreateWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.CreateWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.CreateWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkloadOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "CreateWorkload", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.CreateWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "CreateWorkload" }, + "description": "CreateWorkload creates Assured Workload.", + "file": "Client/CreateWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads CreateWorkload Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_sync", - "title": "assuredworkloads DeleteWorkload Sample", - "description": "DeleteWorkload deletes the workload. Make sure that workload's direct children are already\nin a deleted state, otherwise the request will fail with a\nFAILED_PRECONDITION error.\nIn addition to assuredworkloads.workload.delete permission, the user should\nalso have orgpolicy.policy.set permission on the deleted folder to remove\nAssured Workloads OrgPolicies.", - "file": "Client/DeleteWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.DeleteWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.DeleteWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "DeleteWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.DeleteWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.DeleteWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "DeleteWorkload", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.DeleteWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "DeleteWorkload" }, + "description": "DeleteWorkload deletes the workload. Make sure that workload's direct children are already\nin a deleted state, otherwise the request will fail with a\nFAILED_PRECONDITION error.\nIn addition to assuredworkloads.workload.delete permission, the user should\nalso have orgpolicy.policy.set permission on the deleted folder to remove\nAssured Workloads OrgPolicies.", + "file": "Client/DeleteWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads DeleteWorkload Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_GetOperation_sync", - "title": "assuredworkloads GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads GetOperation Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_GetWorkload_sync", - "title": "assuredworkloads GetWorkload Sample", - "description": "GetWorkload gets Assured Workload associated with a CRM Node", - "file": "Client/GetWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.GetWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.GetWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "GetWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.GetWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.GetWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.Workload", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "GetWorkload", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.GetWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "GetWorkload" }, + "description": "GetWorkload gets Assured Workload associated with a CRM Node", + "file": "Client/GetWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_GetWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads GetWorkload Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_ListOperations_sync", - "title": "assuredworkloads ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads ListOperations Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_ListWorkloads_sync", - "title": "assuredworkloads ListWorkloads Sample", - "description": "ListWorkloads lists Assured Workloads under a CRM Node.", - "file": "Client/ListWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkloads", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.ListWorkloads", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.ListWorkloads", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "ListWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.ListWorkloadsRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.ListWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkloadIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "ListWorkloads", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.ListWorkloads", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "ListWorkloads" }, + "description": "ListWorkloads lists Assured Workloads under a CRM Node.", + "file": "Client/ListWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_ListWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads ListWorkloads Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync", - "title": "assuredworkloads RestrictAllowedResources Sample", - "description": "RestrictAllowedResources restrict the list of resources allowed in the Workload environment.\nThe current list of allowed products can be found at\nhttps: //cloud.google.com/assured-workloads/docs/supported-products\nIn addition to assuredworkloads.workload.update permission, the user should\nalso have orgpolicy.policy.set permission on the folder resource\nto use this functionality.", - "file": "Client/RestrictAllowedResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestrictAllowedResources", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.RestrictAllowedResources", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.RestrictAllowedResources", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "RestrictAllowedResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.RestrictAllowedResourcesRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.RestrictAllowedResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.RestrictAllowedResourcesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "RestrictAllowedResources", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.RestrictAllowedResources", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "RestrictAllowedResources" }, + "description": "RestrictAllowedResources restrict the list of resources allowed in the Workload environment.\nThe current list of allowed products can be found at\nhttps: //cloud.google.com/assured-workloads/docs/supported-products\nIn addition to assuredworkloads.workload.update permission, the user should\nalso have orgpolicy.policy.set permission on the folder resource\nto use this functionality.", + "file": "Client/RestrictAllowedResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads RestrictAllowedResources Sample" }, { - "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_UpdateWorkload_sync", - "title": "assuredworkloads UpdateWorkload Sample", - "description": "UpdateWorkload updates an existing workload.\nCurrently allows updating of workload display_name and labels.\nFor force updates don't set etag field in the Workload.\nOnly one update operation per workload can be in progress.", - "file": "Client/UpdateWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkload", + "client": { + "fullName": "google.cloud.assuredworkloads.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.assuredworkloads.v1beta1.Client.UpdateWorkload", + "method": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.UpdateWorkload", + "service": { + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "shortName": "AssuredWorkloadsService" + }, + "shortName": "UpdateWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "assuredworkloadspb.UpdateWorkloadRequest", - "name": "req" + "name": "req", + "type": "assuredworkloadspb.UpdateWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*assuredworkloadspb.Workload", - "client": { - "shortName": "Client", - "fullName": "google.cloud.assuredworkloads.v1beta1.Client" - }, - "method": { - "shortName": "UpdateWorkload", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.UpdateWorkload", - "service": { - "shortName": "AssuredWorkloadsService", - "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService" - } - } + "shortName": "UpdateWorkload" }, + "description": "UpdateWorkload updates an existing workload.\nCurrently allows updating of workload display_name and labels.\nFor force updates don't set etag field in the Workload.\nOnly one update operation per workload can be in progress.", + "file": "Client/UpdateWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "assuredworkloads_v1beta1_generated_AssuredWorkloadsService_UpdateWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "assuredworkloads UpdateWorkload Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/auditmanager/apiv1/snippet_metadata.google.cloud.auditmanager.v1.json b/internal/generated/snippets/auditmanager/apiv1/snippet_metadata.google.cloud.auditmanager.v1.json index 0a8c33d6ecbd..0734416e3511 100644 --- a/internal/generated/snippets/auditmanager/apiv1/snippet_metadata.google.cloud.auditmanager.v1.json +++ b/internal/generated/snippets/auditmanager/apiv1/snippet_metadata.google.cloud.auditmanager.v1.json @@ -1,657 +1,657 @@ { "clientLibrary": { - "name": "cloud.google.com/go/auditmanager/apiv1", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.auditmanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/auditmanager/apiv1", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "auditmanager_v1_generated_AuditManager_CancelOperation_sync", - "title": "auditmanager CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager CancelOperation Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_DeleteOperation_sync", - "title": "auditmanager DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager DeleteOperation Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_EnrollResource_sync", - "title": "auditmanager EnrollResource Sample", - "description": "EnrollResource enrolls the customer resource(folder/project/organization) to the audit\nmanager service by creating the audit managers Service Agent in customers\nworkload and granting required permissions to the Service Agent. Please\nnote that if enrollment request is made on the already enrolled workload\nthen enrollment is executed overriding the existing set of destinations.", - "file": "Client/EnrollResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnrollResource", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.EnrollResource", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.EnrollResource", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "EnrollResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.EnrollResourceRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.EnrollResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*auditmanagerpb.Enrollment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "EnrollResource", - "fullName": "google.cloud.auditmanager.v1.AuditManager.EnrollResource", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "EnrollResource" }, + "description": "EnrollResource enrolls the customer resource(folder/project/organization) to the audit\nmanager service by creating the audit managers Service Agent in customers\nworkload and granting required permissions to the Service Agent. Please\nnote that if enrollment request is made on the already enrolled workload\nthen enrollment is executed overriding the existing set of destinations.", + "file": "Client/EnrollResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_EnrollResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager EnrollResource Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_GenerateAuditReport_sync", - "title": "auditmanager GenerateAuditReport Sample", - "description": "GenerateAuditReport register the Audit Report generation requests and returns the OperationId\nusing which the customer can track the report generation progress.", - "file": "Client/GenerateAuditReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAuditReport", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.GenerateAuditReport", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "GenerateAuditReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.GenerateAuditReportRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.GenerateAuditReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GenerateAuditReportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "GenerateAuditReport", - "fullName": "google.cloud.auditmanager.v1.AuditManager.GenerateAuditReport", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "GenerateAuditReport" }, + "description": "GenerateAuditReport register the Audit Report generation requests and returns the OperationId\nusing which the customer can track the report generation progress.", + "file": "Client/GenerateAuditReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_GenerateAuditReport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager GenerateAuditReport Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_GenerateAuditScopeReport_sync", - "title": "auditmanager GenerateAuditScopeReport Sample", - "description": "GenerateAuditScopeReport generates a demo report highlighting different responsibilities\n(Google/Customer/ shared) required to be fulfilled for the customer's\nworkload to be compliant with the given standard.", - "file": "Client/GenerateAuditScopeReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAuditScopeReport", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.GenerateAuditScopeReport", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.GenerateAuditScopeReport", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "GenerateAuditScopeReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.GenerateAuditScopeReportRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.GenerateAuditScopeReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*auditmanagerpb.AuditScopeReport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "GenerateAuditScopeReport", - "fullName": "google.cloud.auditmanager.v1.AuditManager.GenerateAuditScopeReport", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "GenerateAuditScopeReport" }, + "description": "GenerateAuditScopeReport generates a demo report highlighting different responsibilities\n(Google/Customer/ shared) required to be fulfilled for the customer's\nworkload to be compliant with the given standard.", + "file": "Client/GenerateAuditScopeReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_GenerateAuditScopeReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager GenerateAuditScopeReport Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_GetAuditReport_sync", - "title": "auditmanager GetAuditReport Sample", - "description": "GetAuditReport get the overall audit report", - "file": "Client/GetAuditReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAuditReport", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.GetAuditReport", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.GetAuditReport", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "GetAuditReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.GetAuditReportRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.GetAuditReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*auditmanagerpb.AuditReport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "GetAuditReport", - "fullName": "google.cloud.auditmanager.v1.AuditManager.GetAuditReport", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "GetAuditReport" }, + "description": "GetAuditReport get the overall audit report", + "file": "Client/GetAuditReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_GetAuditReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager GetAuditReport Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_GetLocation_sync", - "title": "auditmanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager GetLocation Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_GetOperation_sync", - "title": "auditmanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager GetOperation Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_GetResourceEnrollmentStatus_sync", - "title": "auditmanager GetResourceEnrollmentStatus Sample", - "description": "GetResourceEnrollmentStatus get a resource along with its enrollment status.", - "file": "Client/GetResourceEnrollmentStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceEnrollmentStatus", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.GetResourceEnrollmentStatus", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.GetResourceEnrollmentStatus", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "GetResourceEnrollmentStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.GetResourceEnrollmentStatusRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.GetResourceEnrollmentStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*auditmanagerpb.ResourceEnrollmentStatus", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "GetResourceEnrollmentStatus", - "fullName": "google.cloud.auditmanager.v1.AuditManager.GetResourceEnrollmentStatus", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "GetResourceEnrollmentStatus" }, + "description": "GetResourceEnrollmentStatus get a resource along with its enrollment status.", + "file": "Client/GetResourceEnrollmentStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_GetResourceEnrollmentStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager GetResourceEnrollmentStatus Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_ListAuditReports_sync", - "title": "auditmanager ListAuditReports Sample", - "description": "ListAuditReports lists audit reports in the selected parent scope", - "file": "Client/ListAuditReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAuditReports", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.ListAuditReports", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.ListAuditReports", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "ListAuditReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.ListAuditReportsRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.ListAuditReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AuditReportIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "ListAuditReports", - "fullName": "google.cloud.auditmanager.v1.AuditManager.ListAuditReports", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "ListAuditReports" }, + "description": "ListAuditReports lists audit reports in the selected parent scope", + "file": "Client/ListAuditReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_ListAuditReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager ListAuditReports Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_ListControls_sync", - "title": "auditmanager ListControls Sample", - "description": "ListControls gets controls needed to be implemented to be compliant to a standard.", - "file": "Client/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.ListControls", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.ListControls", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.auditmanager.v1.AuditManager.ListControls", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "ListControls" }, + "description": "ListControls gets controls needed to be implemented to be compliant to a standard.", + "file": "Client/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager ListControls Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_ListLocations_sync", - "title": "auditmanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager ListLocations Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_ListOperations_sync", - "title": "auditmanager ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager ListOperations Sample" }, { - "regionTag": "auditmanager_v1_generated_AuditManager_ListResourceEnrollmentStatuses_sync", - "title": "auditmanager ListResourceEnrollmentStatuses Sample", - "description": "ListResourceEnrollmentStatuses fetches all resources under the parent along with their enrollment.", - "file": "Client/ListResourceEnrollmentStatuses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceEnrollmentStatuses", + "client": { + "fullName": "google.cloud.auditmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.auditmanager.v1.Client.ListResourceEnrollmentStatuses", + "method": { + "fullName": "google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses", + "service": { + "fullName": "google.cloud.auditmanager.v1.AuditManager", + "shortName": "AuditManager" + }, + "shortName": "ListResourceEnrollmentStatuses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "auditmanagerpb.ListResourceEnrollmentStatusesRequest", - "name": "req" + "name": "req", + "type": "auditmanagerpb.ListResourceEnrollmentStatusesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceEnrollmentStatusIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.auditmanager.v1.Client" - }, - "method": { - "shortName": "ListResourceEnrollmentStatuses", - "fullName": "google.cloud.auditmanager.v1.AuditManager.ListResourceEnrollmentStatuses", - "service": { - "shortName": "AuditManager", - "fullName": "google.cloud.auditmanager.v1.AuditManager" - } - } + "shortName": "ListResourceEnrollmentStatuses" }, + "description": "ListResourceEnrollmentStatuses fetches all resources under the parent along with their enrollment.", + "file": "Client/ListResourceEnrollmentStatuses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "auditmanager_v1_generated_AuditManager_ListResourceEnrollmentStatuses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "auditmanager ListResourceEnrollmentStatuses Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json index 9a2c6823011e..9f02ff676ec5 100644 --- a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json +++ b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json @@ -1,935 +1,935 @@ { "clientLibrary": { - "name": "cloud.google.com/go/automl/apiv1", - "version": "1.15.0", - "language": "GO", "apis": [ { "id": "google.cloud.automl.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/automl/apiv1", + "version": "1.15.0" }, "snippets": [ { - "regionTag": "automl_v1_generated_AutoMl_CreateDataset_sync", - "title": "automl CreateDataset Sample", - "description": "CreateDataset creates a dataset.", - "file": "Client/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.CreateDataset", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.CreateDataset", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.automl.v1.AutoMl.CreateDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates a dataset.", + "file": "Client/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_CreateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl CreateDataset Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_CreateModel_sync", - "title": "automl CreateModel Sample", - "description": "CreateModel creates a model.\nReturns a Model in the [response][google.longrunning.Operation.response]\nfield when it completes.\nWhen you create a model, several model evaluations are created for it: \na global evaluation, and one evaluation for each annotation spec.", - "file": "Client/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.CreateModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.CreateModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.automl.v1.AutoMl.CreateModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a model.\nReturns a Model in the [response][google.longrunning.Operation.response]\nfield when it completes.\nWhen you create a model, several model evaluations are created for it: \na global evaluation, and one evaluation for each annotation spec.", + "file": "Client/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl CreateModel Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_DeleteDataset_sync", - "title": "automl DeleteDataset Sample", - "description": "DeleteDataset deletes a dataset and all of its contents.\nReturns empty response in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", - "file": "Client/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.DeleteDataset", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.DeleteDataset", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.automl.v1.AutoMl.DeleteDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a dataset and all of its contents.\nReturns empty response in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", + "file": "Client/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl DeleteDataset Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_DeleteModel_sync", - "title": "automl DeleteModel Sample", - "description": "DeleteModel deletes a model.\nReturns `google.protobuf.Empty` in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", - "file": "Client/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.DeleteModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.DeleteModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.automl.v1.AutoMl.DeleteModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes a model.\nReturns `google.protobuf.Empty` in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", + "file": "Client/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_DeleteModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl DeleteModel Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_DeployModel_sync", - "title": "automl DeployModel Sample", - "description": "DeployModel deploys a model. If a model is already deployed, deploying it with the\nsame parameters has no effect. Deploying with different parametrs\n(as e.g. changing\n[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number])\nwill reset the deployment state without pausing the model's availability.\n\nOnly applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage\ndeployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/DeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.DeployModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.DeployModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "DeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.DeployModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.DeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "DeployModel", - "fullName": "google.cloud.automl.v1.AutoMl.DeployModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "DeployModel" }, + "description": "DeployModel deploys a model. If a model is already deployed, deploying it with the\nsame parameters has no effect. Deploying with different parametrs\n(as e.g. changing\n[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number])\nwill reset the deployment state without pausing the model's availability.\n\nOnly applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage\ndeployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/DeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_DeployModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl DeployModel Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_ExportData_sync", - "title": "automl ExportData Sample", - "description": "ExportData exports dataset's data to the provided output location.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.ExportData", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.ExportData", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "automlpb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.automl.v1.AutoMl.ExportData", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports dataset's data to the provided output location.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_ExportData_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ExportData Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_ExportModel_sync", - "title": "automl ExportModel Sample", - "description": "ExportModel exports a trained, \"export-able\", model to a user specified Google Cloud\nStorage location. A model is considered export-able if and only if it has\nan export format defined for it in\n[ModelExportOutputConfig][google.cloud.automl.v1.ModelExportOutputConfig].\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ExportModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.ExportModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.ExportModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ExportModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ExportModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.ExportModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "ExportModel", - "fullName": "google.cloud.automl.v1.AutoMl.ExportModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "ExportModel" }, + "description": "ExportModel exports a trained, \"export-able\", model to a user specified Google Cloud\nStorage location. A model is considered export-able if and only if it has\nan export format defined for it in\n[ModelExportOutputConfig][google.cloud.automl.v1.ModelExportOutputConfig].\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ExportModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_ExportModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ExportModel Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_GetAnnotationSpec_sync", - "title": "automl GetAnnotationSpec Sample", - "description": "GetAnnotationSpec gets an annotation spec.", - "file": "Client/GetAnnotationSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotationSpec", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.GetAnnotationSpec", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.GetAnnotationSpec", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetAnnotationSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetAnnotationSpecRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetAnnotationSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.AnnotationSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "GetAnnotationSpec", - "fullName": "google.cloud.automl.v1.AutoMl.GetAnnotationSpec", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "GetAnnotationSpec" }, + "description": "GetAnnotationSpec gets an annotation spec.", + "file": "Client/GetAnnotationSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_GetAnnotationSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetAnnotationSpec Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_GetDataset_sync", - "title": "automl GetDataset Sample", - "description": "GetDataset gets a dataset.", - "file": "Client/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.GetDataset", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.GetDataset", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.automl.v1.AutoMl.GetDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets a dataset.", + "file": "Client/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetDataset Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_GetModel_sync", - "title": "automl GetModel Sample", - "description": "GetModel gets a model.", - "file": "Client/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.GetModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.GetModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Model", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.automl.v1.AutoMl.GetModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "Client/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetModel Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_GetModelEvaluation_sync", - "title": "automl GetModelEvaluation Sample", - "description": "GetModelEvaluation gets a model evaluation.", - "file": "Client/GetModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelEvaluation", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.GetModelEvaluation", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.GetModelEvaluation", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.ModelEvaluation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "GetModelEvaluation", - "fullName": "google.cloud.automl.v1.AutoMl.GetModelEvaluation", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "GetModelEvaluation" }, + "description": "GetModelEvaluation gets a model evaluation.", + "file": "Client/GetModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_GetModelEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetModelEvaluation Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_ImportData_sync", - "title": "automl ImportData Sample", - "description": "ImportData imports data into a dataset.\nFor Tables this method can only be called on an empty Dataset.\n\nFor Tables: \n* A\n[schema_inference_version][google.cloud.automl.v1.InputConfig.params]\nparameter must be explicitly set.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.ImportData", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.ImportData", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "automlpb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.automl.v1.AutoMl.ImportData", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "ImportData" }, + "description": "ImportData imports data into a dataset.\nFor Tables this method can only be called on an empty Dataset.\n\nFor Tables: \n* A\n[schema_inference_version][google.cloud.automl.v1.InputConfig.params]\nparameter must be explicitly set.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_ImportData_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ImportData Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_ListDatasets_sync", - "title": "automl ListDatasets Sample", - "description": "ListDatasets lists datasets in a project.", - "file": "Client/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.ListDatasets", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.ListDatasets", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.automl.v1.AutoMl.ListDatasets", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists datasets in a project.", + "file": "Client/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListDatasets Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_ListModelEvaluations_sync", - "title": "automl ListModelEvaluations Sample", - "description": "ListModelEvaluations lists model evaluations.", - "file": "Client/ListModelEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelEvaluations", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.ListModelEvaluations", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.ListModelEvaluations", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListModelEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListModelEvaluationsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListModelEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelEvaluationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "ListModelEvaluations", - "fullName": "google.cloud.automl.v1.AutoMl.ListModelEvaluations", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "ListModelEvaluations" }, + "description": "ListModelEvaluations lists model evaluations.", + "file": "Client/ListModelEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_ListModelEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListModelEvaluations Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_ListModels_sync", - "title": "automl ListModels Sample", - "description": "ListModels lists models.", - "file": "Client/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.ListModels", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.ListModels", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.automl.v1.AutoMl.ListModels", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists models.", + "file": "Client/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListModels Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_UndeployModel_sync", - "title": "automl UndeployModel Sample", - "description": "UndeployModel undeploys a model. If the model is not deployed this method has no effect.\n\nOnly applicable for Text Classification, Image Object Detection and Tables;\nall other domains manage deployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/UndeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.UndeployModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.UndeployModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UndeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UndeployModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.UndeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "UndeployModel", - "fullName": "google.cloud.automl.v1.AutoMl.UndeployModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "UndeployModel" }, + "description": "UndeployModel undeploys a model. If the model is not deployed this method has no effect.\n\nOnly applicable for Text Classification, Image Object Detection and Tables;\nall other domains manage deployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/UndeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_UndeployModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UndeployModel Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_UpdateDataset_sync", - "title": "automl UpdateDataset Sample", - "description": "UpdateDataset updates a dataset.", - "file": "Client/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.UpdateDataset", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.UpdateDataset", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UpdateDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.UpdateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.automl.v1.AutoMl.UpdateDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates a dataset.", + "file": "Client/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UpdateDataset Sample" }, { - "regionTag": "automl_v1_generated_AutoMl_UpdateModel_sync", - "title": "automl UpdateModel Sample", - "description": "UpdateModel updates a model.", - "file": "Client/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", + "client": { + "fullName": "google.cloud.automl.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1.Client.UpdateModel", + "method": { + "fullName": "google.cloud.automl.v1.AutoMl.UpdateModel", + "service": { + "fullName": "google.cloud.automl.v1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UpdateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UpdateModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.UpdateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Model", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1.Client" - }, - "method": { - "shortName": "UpdateModel", - "fullName": "google.cloud.automl.v1.AutoMl.UpdateModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1.AutoMl" - } - } + "shortName": "UpdateModel" }, + "description": "UpdateModel updates a model.", + "file": "Client/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_AutoMl_UpdateModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UpdateModel Sample" }, { - "regionTag": "automl_v1_generated_PredictionService_BatchPredict_sync", - "title": "automl BatchPredict Sample", - "description": "BatchPredict perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch\nprediction result won't be immediately available in the response. Instead,\na long running operation object is returned. User can poll the operation\nresult via [GetOperation][google.longrunning.Operations.GetOperation]\nmethod. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in\nthe [response][google.longrunning.Operation.response] field.\nAvailable for following ML scenarios: \n\n* AutoML Vision Classification\n* AutoML Vision Object Detection\n* AutoML Video Intelligence Classification\n* AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification\n* AutoML Natural Language Entity Extraction\n* AutoML Natural Language Sentiment Analysis\n* AutoML Tables", - "file": "PredictionClient/BatchPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchPredict", + "client": { + "fullName": "google.cloud.automl.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.automl.v1.PredictionClient.BatchPredict", + "method": { + "fullName": "google.cloud.automl.v1.PredictionService.BatchPredict", + "service": { + "fullName": "google.cloud.automl.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "BatchPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.BatchPredictRequest", - "name": "req" + "name": "req", + "type": "automlpb.BatchPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchPredictOperation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.automl.v1.PredictionClient" - }, - "method": { - "shortName": "BatchPredict", - "fullName": "google.cloud.automl.v1.PredictionService.BatchPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.automl.v1.PredictionService" - } - } + "shortName": "BatchPredict" }, + "description": "BatchPredict perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch\nprediction result won't be immediately available in the response. Instead,\na long running operation object is returned. User can poll the operation\nresult via [GetOperation][google.longrunning.Operations.GetOperation]\nmethod. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in\nthe [response][google.longrunning.Operation.response] field.\nAvailable for following ML scenarios: \n\n* AutoML Vision Classification\n* AutoML Vision Object Detection\n* AutoML Video Intelligence Classification\n* AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification\n* AutoML Natural Language Entity Extraction\n* AutoML Natural Language Sentiment Analysis\n* AutoML Tables", + "file": "PredictionClient/BatchPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_PredictionService_BatchPredict_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl BatchPredict Sample" }, { - "regionTag": "automl_v1_generated_PredictionService_Predict_sync", - "title": "automl Predict Sample", - "description": "Predict perform an online prediction. The prediction result is directly\nreturned in the response.\nAvailable for following ML scenarios, and their expected request payloads: \n\nAutoML Vision Classification\n\n* An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.\n\nAutoML Vision Object Detection\n\n* An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.\n\nAutoML Natural Language Classification\n\n* A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in\n.PDF, .TIF or .TIFF format with size upto 2MB.\n\nAutoML Natural Language Entity Extraction\n\n* A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document\nin .PDF, .TIF or .TIFF format with size upto 20MB.\n\nAutoML Natural Language Sentiment Analysis\n\n* A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in\n.PDF, .TIF or .TIFF format with size upto 2MB.\n\nAutoML Translation\n\n* A TextSnippet up to 25,000 characters, UTF-8 encoded.\n\nAutoML Tables\n\n* A row with column values matching\nthe columns of the model, up to 5MB. Not available for FORECASTING\n`prediction_type`.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.automl.v1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.automl.v1.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.automl.v1.PredictionService.Predict", + "service": { + "fullName": "google.cloud.automl.v1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.PredictRequest", - "name": "req" + "name": "req", + "type": "automlpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.automl.v1.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.automl.v1.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.automl.v1.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict perform an online prediction. The prediction result is directly\nreturned in the response.\nAvailable for following ML scenarios, and their expected request payloads: \n\nAutoML Vision Classification\n\n* An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.\n\nAutoML Vision Object Detection\n\n* An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.\n\nAutoML Natural Language Classification\n\n* A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in\n.PDF, .TIF or .TIFF format with size upto 2MB.\n\nAutoML Natural Language Entity Extraction\n\n* A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document\nin .PDF, .TIF or .TIFF format with size upto 20MB.\n\nAutoML Natural Language Sentiment Analysis\n\n* A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in\n.PDF, .TIF or .TIFF format with size upto 2MB.\n\nAutoML Translation\n\n* A TextSnippet up to 25,000 characters, UTF-8 encoded.\n\nAutoML Tables\n\n* A row with column values matching\nthe columns of the model, up to 5MB. Not available for FORECASTING\n`prediction_type`.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl Predict Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json index e3276b60fda0..93d11818710d 100644 --- a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json +++ b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json @@ -1,1211 +1,1211 @@ { "clientLibrary": { - "name": "cloud.google.com/go/automl/apiv1beta1", - "version": "1.15.0", - "language": "GO", "apis": [ { "id": "google.cloud.automl.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/automl/apiv1beta1", + "version": "1.15.0" }, "snippets": [ { - "regionTag": "automl_v1beta1_generated_AutoMl_CreateDataset_sync", - "title": "automl CreateDataset Sample", - "description": "CreateDataset creates a dataset.", - "file": "Client/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.CreateDataset", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.CreateDataset", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.automl.v1beta1.AutoMl.CreateDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates a dataset.", + "file": "Client/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_CreateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl CreateDataset Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_CreateModel_sync", - "title": "automl CreateModel Sample", - "description": "CreateModel creates a model.\nReturns a Model in the [response][google.longrunning.Operation.response]\nfield when it completes.\nWhen you create a model, several model evaluations are created for it: \na global evaluation, and one evaluation for each annotation spec.", - "file": "Client/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.CreateModel", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.CreateModel", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.automl.v1beta1.AutoMl.CreateModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a model.\nReturns a Model in the [response][google.longrunning.Operation.response]\nfield when it completes.\nWhen you create a model, several model evaluations are created for it: \na global evaluation, and one evaluation for each annotation spec.", + "file": "Client/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl CreateModel Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_DeleteDataset_sync", - "title": "automl DeleteDataset Sample", - "description": "DeleteDataset deletes a dataset and all of its contents.\nReturns empty response in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", - "file": "Client/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.DeleteDataset", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.DeleteDataset", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.automl.v1beta1.AutoMl.DeleteDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a dataset and all of its contents.\nReturns empty response in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", + "file": "Client/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl DeleteDataset Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_DeleteModel_sync", - "title": "automl DeleteModel Sample", - "description": "DeleteModel deletes a model.\nReturns `google.protobuf.Empty` in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", - "file": "Client/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.DeleteModel", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.DeleteModel", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.automl.v1beta1.AutoMl.DeleteModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes a model.\nReturns `google.protobuf.Empty` in the\n[response][google.longrunning.Operation.response] field when it completes,\nand `delete_details` in the\n[metadata][google.longrunning.Operation.metadata] field.", + "file": "Client/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_DeleteModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl DeleteModel Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_DeployModel_sync", - "title": "automl DeployModel Sample", - "description": "DeployModel deploys a model. If a model is already deployed, deploying it with the\nsame parameters has no effect. Deploying with different parametrs\n(as e.g. changing\n\n[node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number])\nwill reset the deployment state without pausing the model's availability.\n\nOnly applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage\ndeployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/DeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployModel", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.DeployModel", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.DeployModel", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "DeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.DeployModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.DeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "DeployModel", - "fullName": "google.cloud.automl.v1beta1.AutoMl.DeployModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "DeployModel" }, + "description": "DeployModel deploys a model. If a model is already deployed, deploying it with the\nsame parameters has no effect. Deploying with different parametrs\n(as e.g. changing\n\n[node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number])\nwill reset the deployment state without pausing the model's availability.\n\nOnly applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage\ndeployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/DeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_DeployModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl DeployModel Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ExportData_sync", - "title": "automl ExportData Sample", - "description": "ExportData exports dataset's data to the provided output location.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ExportData", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportData", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "automlpb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportData", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports dataset's data to the provided output location.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ExportData_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ExportData Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ExportEvaluatedExamples_sync", - "title": "automl ExportEvaluatedExamples Sample", - "description": "ExportEvaluatedExamples exports examples on which the model was evaluated (i.e. which were in the\nTEST set of the dataset the model was created from), together with their\nground truth annotations and the annotations created (predicted) by the\nmodel.\nThe examples, ground truth and predictions are exported in the state\nthey were at the moment the model was evaluated.\n\nThis export is available only for 30 days since the model evaluation is\ncreated.\n\nCurrently only available for Tables.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ExportEvaluatedExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportEvaluatedExamples", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ExportEvaluatedExamples", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ExportEvaluatedExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ExportEvaluatedExamplesRequest", - "name": "req" + "name": "req", + "type": "automlpb.ExportEvaluatedExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportEvaluatedExamplesOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ExportEvaluatedExamples", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ExportEvaluatedExamples" }, + "description": "ExportEvaluatedExamples exports examples on which the model was evaluated (i.e. which were in the\nTEST set of the dataset the model was created from), together with their\nground truth annotations and the annotations created (predicted) by the\nmodel.\nThe examples, ground truth and predictions are exported in the state\nthey were at the moment the model was evaluated.\n\nThis export is available only for 30 days since the model evaluation is\ncreated.\n\nCurrently only available for Tables.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ExportEvaluatedExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ExportEvaluatedExamples_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ExportEvaluatedExamples Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ExportModel_sync", - "title": "automl ExportModel Sample", - "description": "ExportModel exports a trained, \"export-able\", model to a user specified Google Cloud\nStorage location. A model is considered export-able if and only if it has\nan export format defined for it in\n\n[ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig].\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ExportModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportModel", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ExportModel", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportModel", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ExportModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ExportModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.ExportModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ExportModel", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ExportModel" }, + "description": "ExportModel exports a trained, \"export-able\", model to a user specified Google Cloud\nStorage location. A model is considered export-able if and only if it has\nan export format defined for it in\n\n[ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig].\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ExportModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ExportModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ExportModel Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_GetAnnotationSpec_sync", - "title": "automl GetAnnotationSpec Sample", - "description": "GetAnnotationSpec gets an annotation spec.", - "file": "Client/GetAnnotationSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotationSpec", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.GetAnnotationSpec", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetAnnotationSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetAnnotationSpecRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetAnnotationSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.AnnotationSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "GetAnnotationSpec", - "fullName": "google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "GetAnnotationSpec" }, + "description": "GetAnnotationSpec gets an annotation spec.", + "file": "Client/GetAnnotationSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_GetAnnotationSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetAnnotationSpec Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_GetColumnSpec_sync", - "title": "automl GetColumnSpec Sample", - "description": "GetColumnSpec gets a column spec.", - "file": "Client/GetColumnSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetColumnSpec", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.GetColumnSpec", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetColumnSpec", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetColumnSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetColumnSpecRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetColumnSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.ColumnSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "GetColumnSpec", - "fullName": "google.cloud.automl.v1beta1.AutoMl.GetColumnSpec", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "GetColumnSpec" }, + "description": "GetColumnSpec gets a column spec.", + "file": "Client/GetColumnSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_GetColumnSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetColumnSpec Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_GetDataset_sync", - "title": "automl GetDataset Sample", - "description": "GetDataset gets a dataset.", - "file": "Client/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.GetDataset", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetDataset", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.automl.v1beta1.AutoMl.GetDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets a dataset.", + "file": "Client/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetDataset Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_GetModel_sync", - "title": "automl GetModel Sample", - "description": "GetModel gets a model.", - "file": "Client/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.GetModel", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetModel", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Model", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.automl.v1beta1.AutoMl.GetModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "Client/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetModel Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_GetModelEvaluation_sync", - "title": "automl GetModelEvaluation Sample", - "description": "GetModelEvaluation gets a model evaluation.", - "file": "Client/GetModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModelEvaluation", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.GetModelEvaluation", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.ModelEvaluation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "GetModelEvaluation", - "fullName": "google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "GetModelEvaluation" }, + "description": "GetModelEvaluation gets a model evaluation.", + "file": "Client/GetModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_GetModelEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetModelEvaluation Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_GetTableSpec_sync", - "title": "automl GetTableSpec Sample", - "description": "GetTableSpec gets a table spec.", - "file": "Client/GetTableSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTableSpec", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.GetTableSpec", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetTableSpec", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "GetTableSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.GetTableSpecRequest", - "name": "req" + "name": "req", + "type": "automlpb.GetTableSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.TableSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "GetTableSpec", - "fullName": "google.cloud.automl.v1beta1.AutoMl.GetTableSpec", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "GetTableSpec" }, + "description": "GetTableSpec gets a table spec.", + "file": "Client/GetTableSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_GetTableSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl GetTableSpec Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ImportData_sync", - "title": "automl ImportData Sample", - "description": "ImportData imports data into a dataset.\nFor Tables this method can only be called on an empty Dataset.\n\nFor Tables: \n* A\n[schema_inference_version][google.cloud.automl.v1beta1.InputConfig.params]\nparameter must be explicitly set.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ImportData", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ImportData", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "automlpb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ImportData", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ImportData" }, + "description": "ImportData imports data into a dataset.\nFor Tables this method can only be called on an empty Dataset.\n\nFor Tables: \n* A\n[schema_inference_version][google.cloud.automl.v1beta1.InputConfig.params]\nparameter must be explicitly set.\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ImportData_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ImportData Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ListColumnSpecs_sync", - "title": "automl ListColumnSpecs Sample", - "description": "ListColumnSpecs lists column specs in a table spec.", - "file": "Client/ListColumnSpecs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListColumnSpecs", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ListColumnSpecs", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListColumnSpecs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListColumnSpecsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListColumnSpecsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ColumnSpecIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ListColumnSpecs", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ListColumnSpecs" }, + "description": "ListColumnSpecs lists column specs in a table spec.", + "file": "Client/ListColumnSpecs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ListColumnSpecs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListColumnSpecs Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ListDatasets_sync", - "title": "automl ListDatasets Sample", - "description": "ListDatasets lists datasets in a project.", - "file": "Client/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ListDatasets", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListDatasets", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ListDatasets", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists datasets in a project.", + "file": "Client/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListDatasets Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ListModelEvaluations_sync", - "title": "automl ListModelEvaluations Sample", - "description": "ListModelEvaluations lists model evaluations.", - "file": "Client/ListModelEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModelEvaluations", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ListModelEvaluations", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListModelEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListModelEvaluationsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListModelEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelEvaluationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ListModelEvaluations", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ListModelEvaluations" }, + "description": "ListModelEvaluations lists model evaluations.", + "file": "Client/ListModelEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ListModelEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListModelEvaluations Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ListModels_sync", - "title": "automl ListModels Sample", - "description": "ListModels lists models.", - "file": "Client/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ListModels", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListModels", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ListModels", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists models.", + "file": "Client/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListModels Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_ListTableSpecs_sync", - "title": "automl ListTableSpecs Sample", - "description": "ListTableSpecs lists table specs in a dataset.", - "file": "Client/ListTableSpecs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTableSpecs", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.ListTableSpecs", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListTableSpecs", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "ListTableSpecs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.ListTableSpecsRequest", - "name": "req" + "name": "req", + "type": "automlpb.ListTableSpecsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TableSpecIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "ListTableSpecs", - "fullName": "google.cloud.automl.v1beta1.AutoMl.ListTableSpecs", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "ListTableSpecs" }, + "description": "ListTableSpecs lists table specs in a dataset.", + "file": "Client/ListTableSpecs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_ListTableSpecs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl ListTableSpecs Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_UndeployModel_sync", - "title": "automl UndeployModel Sample", - "description": "UndeployModel undeploys a model. If the model is not deployed this method has no effect.\n\nOnly applicable for Text Classification, Image Object Detection and Tables;\nall other domains manage deployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", - "file": "Client/UndeployModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployModel", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.UndeployModel", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.UndeployModel", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UndeployModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UndeployModelRequest", - "name": "req" + "name": "req", + "type": "automlpb.UndeployModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "UndeployModel", - "fullName": "google.cloud.automl.v1beta1.AutoMl.UndeployModel", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "UndeployModel" }, + "description": "UndeployModel undeploys a model. If the model is not deployed this method has no effect.\n\nOnly applicable for Text Classification, Image Object Detection and Tables;\nall other domains manage deployment automatically.\n\nReturns an empty response in the\n[response][google.longrunning.Operation.response] field when it completes.", + "file": "Client/UndeployModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_UndeployModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UndeployModel Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_UpdateColumnSpec_sync", - "title": "automl UpdateColumnSpec Sample", - "description": "UpdateColumnSpec updates a column spec.", - "file": "Client/UpdateColumnSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateColumnSpec", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.UpdateColumnSpec", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UpdateColumnSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UpdateColumnSpecRequest", - "name": "req" + "name": "req", + "type": "automlpb.UpdateColumnSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.ColumnSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "UpdateColumnSpec", - "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "UpdateColumnSpec" }, + "description": "UpdateColumnSpec updates a column spec.", + "file": "Client/UpdateColumnSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_UpdateColumnSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UpdateColumnSpec Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_UpdateDataset_sync", - "title": "automl UpdateDataset Sample", - "description": "UpdateDataset updates a dataset.", - "file": "Client/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.UpdateDataset", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateDataset", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UpdateDatasetRequest", - "name": "req" + "name": "req", + "type": "automlpb.UpdateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateDataset", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates a dataset.", + "file": "Client/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UpdateDataset Sample" }, { - "regionTag": "automl_v1beta1_generated_AutoMl_UpdateTableSpec_sync", - "title": "automl UpdateTableSpec Sample", - "description": "UpdateTableSpec updates a table spec.", - "file": "Client/UpdateTableSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTableSpec", + "client": { + "fullName": "google.cloud.automl.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.automl.v1beta1.Client.UpdateTableSpec", + "method": { + "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec", + "service": { + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "shortName": "AutoMl" + }, + "shortName": "UpdateTableSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.UpdateTableSpecRequest", - "name": "req" + "name": "req", + "type": "automlpb.UpdateTableSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.TableSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.automl.v1beta1.Client" - }, - "method": { - "shortName": "UpdateTableSpec", - "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec", - "service": { - "shortName": "AutoMl", - "fullName": "google.cloud.automl.v1beta1.AutoMl" - } - } + "shortName": "UpdateTableSpec" }, + "description": "UpdateTableSpec updates a table spec.", + "file": "Client/UpdateTableSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_AutoMl_UpdateTableSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl UpdateTableSpec Sample" }, { - "regionTag": "automl_v1beta1_generated_PredictionService_BatchPredict_sync", - "title": "automl BatchPredict Sample", - "description": "BatchPredict perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch\nprediction result won't be immediately available in the response. Instead,\na long running operation object is returned. User can poll the operation\nresult via [GetOperation][google.longrunning.Operations.GetOperation]\nmethod. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in\nthe [response][google.longrunning.Operation.response] field.\nAvailable for following ML problems: \n* Image Classification\n* Image Object Detection\n* Video Classification\n* Video Object Tracking * Text Extraction\n* Tables", - "file": "PredictionClient/BatchPredict/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchPredict", + "client": { + "fullName": "google.cloud.automl.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.automl.v1beta1.PredictionClient.BatchPredict", + "method": { + "fullName": "google.cloud.automl.v1beta1.PredictionService.BatchPredict", + "service": { + "fullName": "google.cloud.automl.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "BatchPredict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.BatchPredictRequest", - "name": "req" + "name": "req", + "type": "automlpb.BatchPredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchPredictOperation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.automl.v1beta1.PredictionClient" - }, - "method": { - "shortName": "BatchPredict", - "fullName": "google.cloud.automl.v1beta1.PredictionService.BatchPredict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.automl.v1beta1.PredictionService" - } - } + "shortName": "BatchPredict" }, + "description": "BatchPredict perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch\nprediction result won't be immediately available in the response. Instead,\na long running operation object is returned. User can poll the operation\nresult via [GetOperation][google.longrunning.Operations.GetOperation]\nmethod. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in\nthe [response][google.longrunning.Operation.response] field.\nAvailable for following ML problems: \n* Image Classification\n* Image Object Detection\n* Video Classification\n* Video Object Tracking * Text Extraction\n* Tables", + "file": "PredictionClient/BatchPredict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_PredictionService_BatchPredict_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl BatchPredict Sample" }, { - "regionTag": "automl_v1beta1_generated_PredictionService_Predict_sync", - "title": "automl Predict Sample", - "description": "Predict perform an online prediction. The prediction result will be directly\nreturned in the response.\nAvailable for following ML problems, and their expected request payloads: \n* Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes\nup to 30MB.\n* Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes\nup to 30MB.\n* Text Classification - TextSnippet, content up to 60,000 characters,\nUTF-8 encoded.\n* Text Extraction - TextSnippet, content up to 30,000 characters,\nUTF-8 NFC encoded.\n* Translation - TextSnippet, content up to 25,000 characters, UTF-8\nencoded.\n* Tables - Row, with column values matching the columns of the model,\nup to 5MB. Not available for FORECASTING\n\n[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].\n* Text Sentiment - TextSnippet, content up 500 characters, UTF-8\nencoded.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.automl.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.automl.v1beta1.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.automl.v1beta1.PredictionService.Predict", + "service": { + "fullName": "google.cloud.automl.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "automlpb.PredictRequest", - "name": "req" + "name": "req", + "type": "automlpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*automlpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.automl.v1beta1.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.automl.v1beta1.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.automl.v1beta1.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict perform an online prediction. The prediction result will be directly\nreturned in the response.\nAvailable for following ML problems, and their expected request payloads: \n* Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes\nup to 30MB.\n* Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes\nup to 30MB.\n* Text Classification - TextSnippet, content up to 60,000 characters,\nUTF-8 encoded.\n* Text Extraction - TextSnippet, content up to 30,000 characters,\nUTF-8 NFC encoded.\n* Translation - TextSnippet, content up to 25,000 characters, UTF-8\nencoded.\n* Tables - Row, with column values matching the columns of the model,\nup to 5MB. Not available for FORECASTING\n\n[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].\n* Text Sentiment - TextSnippet, content up 500 characters, UTF-8\nencoded.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "automl_v1beta1_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "automl Predict Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json b/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json index 7762562928ff..3b3ebd8fcbf6 100644 --- a/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json +++ b/internal/generated/snippets/backupdr/apiv1/snippet_metadata.google.cloud.backupdr.v1.json @@ -1,2587 +1,2587 @@ { "clientLibrary": { - "name": "cloud.google.com/go/backupdr/apiv1", - "version": "1.8.0", - "language": "GO", "apis": [ { "id": "google.cloud.backupdr.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/backupdr/apiv1", + "version": "1.8.0" }, "snippets": [ { - "regionTag": "backupdr_v1_generated_BackupDR_CancelOperation_sync", - "title": "backupdr CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr CancelOperation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_CreateBackupPlan_sync", - "title": "backupdr CreateBackupPlan Sample", - "description": "CreateBackupPlan create a BackupPlan", - "file": "Client/CreateBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupPlan", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.CreateBackupPlan", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.CreateBackupPlan", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "CreateBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.CreateBackupPlanRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.CreateBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupPlanOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "CreateBackupPlan", - "fullName": "google.cloud.backupdr.v1.BackupDR.CreateBackupPlan", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "CreateBackupPlan" }, + "description": "CreateBackupPlan create a BackupPlan", + "file": "Client/CreateBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_CreateBackupPlan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr CreateBackupPlan Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_CreateBackupPlanAssociation_sync", - "title": "backupdr CreateBackupPlanAssociation Sample", - "description": "CreateBackupPlanAssociation create a BackupPlanAssociation", - "file": "Client/CreateBackupPlanAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupPlanAssociation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.CreateBackupPlanAssociation", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.CreateBackupPlanAssociation", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "CreateBackupPlanAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.CreateBackupPlanAssociationRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.CreateBackupPlanAssociationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupPlanAssociationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "CreateBackupPlanAssociation", - "fullName": "google.cloud.backupdr.v1.BackupDR.CreateBackupPlanAssociation", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "CreateBackupPlanAssociation" }, + "description": "CreateBackupPlanAssociation create a BackupPlanAssociation", + "file": "Client/CreateBackupPlanAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_CreateBackupPlanAssociation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr CreateBackupPlanAssociation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_CreateBackupVault_sync", - "title": "backupdr CreateBackupVault Sample", - "description": "CreateBackupVault creates a new BackupVault in a given project and location.", - "file": "Client/CreateBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupVault", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.CreateBackupVault", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.CreateBackupVault", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "CreateBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.CreateBackupVaultRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.CreateBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "CreateBackupVault", - "fullName": "google.cloud.backupdr.v1.BackupDR.CreateBackupVault", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "CreateBackupVault" }, + "description": "CreateBackupVault creates a new BackupVault in a given project and location.", + "file": "Client/CreateBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_CreateBackupVault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr CreateBackupVault Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_CreateManagementServer_sync", - "title": "backupdr CreateManagementServer Sample", - "description": "CreateManagementServer creates a new ManagementServer in a given project and location.", - "file": "Client/CreateManagementServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateManagementServer", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.CreateManagementServer", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.CreateManagementServer", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "CreateManagementServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.CreateManagementServerRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.CreateManagementServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateManagementServerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "CreateManagementServer", - "fullName": "google.cloud.backupdr.v1.BackupDR.CreateManagementServer", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "CreateManagementServer" }, + "description": "CreateManagementServer creates a new ManagementServer in a given project and location.", + "file": "Client/CreateManagementServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_CreateManagementServer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr CreateManagementServer Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackup_sync", - "title": "backupdr DeleteBackup Sample", - "description": "DeleteBackup deletes a Backup.", - "file": "Client/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.DeleteBackup", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackup", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackup", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a Backup.", + "file": "Client/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteBackup Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackupPlan_sync", - "title": "backupdr DeleteBackupPlan Sample", - "description": "DeleteBackupPlan deletes a single BackupPlan.", - "file": "Client/DeleteBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupPlan", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.DeleteBackupPlan", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackupPlan", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "DeleteBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.DeleteBackupPlanRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.DeleteBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupPlanOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "DeleteBackupPlan", - "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackupPlan", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "DeleteBackupPlan" }, + "description": "DeleteBackupPlan deletes a single BackupPlan.", + "file": "Client/DeleteBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackupPlan_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteBackupPlan Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackupPlanAssociation_sync", - "title": "backupdr DeleteBackupPlanAssociation Sample", - "description": "DeleteBackupPlanAssociation deletes a single BackupPlanAssociation.", - "file": "Client/DeleteBackupPlanAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupPlanAssociation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.DeleteBackupPlanAssociation", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackupPlanAssociation", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "DeleteBackupPlanAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.DeleteBackupPlanAssociationRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.DeleteBackupPlanAssociationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupPlanAssociationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "DeleteBackupPlanAssociation", - "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackupPlanAssociation", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "DeleteBackupPlanAssociation" }, + "description": "DeleteBackupPlanAssociation deletes a single BackupPlanAssociation.", + "file": "Client/DeleteBackupPlanAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackupPlanAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteBackupPlanAssociation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackupVault_sync", - "title": "backupdr DeleteBackupVault Sample", - "description": "DeleteBackupVault deletes a BackupVault.", - "file": "Client/DeleteBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupVault", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.DeleteBackupVault", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackupVault", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "DeleteBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.DeleteBackupVaultRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.DeleteBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "DeleteBackupVault", - "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteBackupVault", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "DeleteBackupVault" }, + "description": "DeleteBackupVault deletes a BackupVault.", + "file": "Client/DeleteBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_DeleteBackupVault_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteBackupVault Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_DeleteManagementServer_sync", - "title": "backupdr DeleteManagementServer Sample", - "description": "DeleteManagementServer deletes a single ManagementServer.", - "file": "Client/DeleteManagementServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteManagementServer", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.DeleteManagementServer", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteManagementServer", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "DeleteManagementServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.DeleteManagementServerRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.DeleteManagementServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteManagementServerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "DeleteManagementServer", - "fullName": "google.cloud.backupdr.v1.BackupDR.DeleteManagementServer", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "DeleteManagementServer" }, + "description": "DeleteManagementServer deletes a single ManagementServer.", + "file": "Client/DeleteManagementServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_DeleteManagementServer_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteManagementServer Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_DeleteOperation_sync", - "title": "backupdr DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteOperation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_FetchBackupPlanAssociationsForResourceType_sync", - "title": "backupdr FetchBackupPlanAssociationsForResourceType Sample", - "description": "FetchBackupPlanAssociationsForResourceType list BackupPlanAssociations for a given resource type.", - "file": "Client/FetchBackupPlanAssociationsForResourceType/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchBackupPlanAssociationsForResourceType", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.FetchBackupPlanAssociationsForResourceType", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.FetchBackupPlanAssociationsForResourceType", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "FetchBackupPlanAssociationsForResourceType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.FetchBackupPlanAssociationsForResourceTypeRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.FetchBackupPlanAssociationsForResourceTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPlanAssociationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "FetchBackupPlanAssociationsForResourceType", - "fullName": "google.cloud.backupdr.v1.BackupDR.FetchBackupPlanAssociationsForResourceType", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "FetchBackupPlanAssociationsForResourceType" }, + "description": "FetchBackupPlanAssociationsForResourceType list BackupPlanAssociations for a given resource type.", + "file": "Client/FetchBackupPlanAssociationsForResourceType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_FetchBackupPlanAssociationsForResourceType_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr FetchBackupPlanAssociationsForResourceType Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_FetchBackupsForResourceType_sync", - "title": "backupdr FetchBackupsForResourceType Sample", - "description": "FetchBackupsForResourceType fetch Backups for a given resource type.", - "file": "Client/FetchBackupsForResourceType/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchBackupsForResourceType", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.FetchBackupsForResourceType", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.FetchBackupsForResourceType", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "FetchBackupsForResourceType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.FetchBackupsForResourceTypeRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.FetchBackupsForResourceTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "FetchBackupsForResourceType", - "fullName": "google.cloud.backupdr.v1.BackupDR.FetchBackupsForResourceType", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "FetchBackupsForResourceType" }, + "description": "FetchBackupsForResourceType fetch Backups for a given resource type.", + "file": "Client/FetchBackupsForResourceType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_FetchBackupsForResourceType_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr FetchBackupsForResourceType Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_FetchDataSourceReferencesForResourceType_sync", - "title": "backupdr FetchDataSourceReferencesForResourceType Sample", - "description": "FetchDataSourceReferencesForResourceType fetch DataSourceReferences for a given project, location and resource type.", - "file": "Client/FetchDataSourceReferencesForResourceType/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDataSourceReferencesForResourceType", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.FetchDataSourceReferencesForResourceType", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.FetchDataSourceReferencesForResourceType", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "FetchDataSourceReferencesForResourceType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.FetchDataSourceReferencesForResourceTypeRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.FetchDataSourceReferencesForResourceTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSourceReferenceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "FetchDataSourceReferencesForResourceType", - "fullName": "google.cloud.backupdr.v1.BackupDR.FetchDataSourceReferencesForResourceType", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "FetchDataSourceReferencesForResourceType" }, + "description": "FetchDataSourceReferencesForResourceType fetch DataSourceReferences for a given project, location and resource type.", + "file": "Client/FetchDataSourceReferencesForResourceType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_FetchDataSourceReferencesForResourceType_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr FetchDataSourceReferencesForResourceType Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_FetchUsableBackupVaults_sync", - "title": "backupdr FetchUsableBackupVaults Sample", - "description": "FetchUsableBackupVaults fetchUsableBackupVaults lists usable BackupVaults in a given project and\nlocation. Usable BackupVault are the ones that user has\nbackupdr.backupVaults.get permission.", - "file": "Client/FetchUsableBackupVaults/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchUsableBackupVaults", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.FetchUsableBackupVaults", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.FetchUsableBackupVaults", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "FetchUsableBackupVaults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.FetchUsableBackupVaultsRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.FetchUsableBackupVaultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupVaultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "FetchUsableBackupVaults", - "fullName": "google.cloud.backupdr.v1.BackupDR.FetchUsableBackupVaults", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "FetchUsableBackupVaults" }, + "description": "FetchUsableBackupVaults fetchUsableBackupVaults lists usable BackupVaults in a given project and\nlocation. Usable BackupVault are the ones that user has\nbackupdr.backupVaults.get permission.", + "file": "Client/FetchUsableBackupVaults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_FetchUsableBackupVaults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr FetchUsableBackupVaults Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetBackup_sync", - "title": "backupdr GetBackup Sample", - "description": "GetBackup gets details of a Backup.", - "file": "Client/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetBackup", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackup", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.Backup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackup", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a Backup.", + "file": "Client/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetBackup Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetBackupPlan_sync", - "title": "backupdr GetBackupPlan Sample", - "description": "GetBackupPlan gets details of a single BackupPlan.", - "file": "Client/GetBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupPlan", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetBackupPlan", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupPlan", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetBackupPlanRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.BackupPlan", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetBackupPlan", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupPlan", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetBackupPlan" }, + "description": "GetBackupPlan gets details of a single BackupPlan.", + "file": "Client/GetBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetBackupPlan_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetBackupPlan Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetBackupPlanAssociation_sync", - "title": "backupdr GetBackupPlanAssociation Sample", - "description": "GetBackupPlanAssociation gets details of a single BackupPlanAssociation.", - "file": "Client/GetBackupPlanAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupPlanAssociation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetBackupPlanAssociation", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupPlanAssociation", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetBackupPlanAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetBackupPlanAssociationRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetBackupPlanAssociationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.BackupPlanAssociation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetBackupPlanAssociation", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupPlanAssociation", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetBackupPlanAssociation" }, + "description": "GetBackupPlanAssociation gets details of a single BackupPlanAssociation.", + "file": "Client/GetBackupPlanAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetBackupPlanAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetBackupPlanAssociation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetBackupPlanRevision_sync", - "title": "backupdr GetBackupPlanRevision Sample", - "description": "GetBackupPlanRevision gets details of a single BackupPlanRevision.", - "file": "Client/GetBackupPlanRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupPlanRevision", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetBackupPlanRevision", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupPlanRevision", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetBackupPlanRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetBackupPlanRevisionRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetBackupPlanRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.BackupPlanRevision", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetBackupPlanRevision", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupPlanRevision", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetBackupPlanRevision" }, + "description": "GetBackupPlanRevision gets details of a single BackupPlanRevision.", + "file": "Client/GetBackupPlanRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetBackupPlanRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetBackupPlanRevision Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetBackupVault_sync", - "title": "backupdr GetBackupVault Sample", - "description": "GetBackupVault gets details of a BackupVault.", - "file": "Client/GetBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupVault", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetBackupVault", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupVault", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetBackupVaultRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.BackupVault", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetBackupVault", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetBackupVault", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetBackupVault" }, + "description": "GetBackupVault gets details of a BackupVault.", + "file": "Client/GetBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetBackupVault_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetBackupVault Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetDataSource_sync", - "title": "backupdr GetDataSource Sample", - "description": "GetDataSource gets details of a DataSource.", - "file": "Client/GetDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSource", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetDataSource", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetDataSource", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetDataSourceRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetDataSource", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetDataSource", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetDataSource" }, + "description": "GetDataSource gets details of a DataSource.", + "file": "Client/GetDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetDataSource Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetDataSourceReference_sync", - "title": "backupdr GetDataSourceReference Sample", - "description": "GetDataSourceReference gets details of a single DataSourceReference.", - "file": "Client/GetDataSourceReference/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSourceReference", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetDataSourceReference", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetDataSourceReference", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetDataSourceReference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetDataSourceReferenceRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetDataSourceReferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.DataSourceReference", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetDataSourceReference", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetDataSourceReference", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetDataSourceReference" }, + "description": "GetDataSourceReference gets details of a single DataSourceReference.", + "file": "Client/GetDataSourceReference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetDataSourceReference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetDataSourceReference Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetIamPolicy_sync", - "title": "backupdr 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", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetIamPolicy Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetLocation_sync", - "title": "backupdr GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetLocation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetManagementServer_sync", - "title": "backupdr GetManagementServer Sample", - "description": "GetManagementServer gets details of a single ManagementServer.", - "file": "Client/GetManagementServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetManagementServer", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetManagementServer", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.GetManagementServer", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "GetManagementServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.GetManagementServerRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.GetManagementServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*backupdrpb.ManagementServer", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetManagementServer", - "fullName": "google.cloud.backupdr.v1.BackupDR.GetManagementServer", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "GetManagementServer" }, + "description": "GetManagementServer gets details of a single ManagementServer.", + "file": "Client/GetManagementServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetManagementServer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetManagementServer Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_GetOperation_sync", - "title": "backupdr GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetOperation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_InitializeService_sync", - "title": "backupdr InitializeService Sample", - "description": "InitializeService initializes the service related config for a project.", - "file": "Client/InitializeService/main.go", - "language": "GO", "clientMethod": { - "shortName": "InitializeService", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.InitializeService", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.InitializeService", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "InitializeService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.InitializeServiceRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.InitializeServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InitializeServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "InitializeService", - "fullName": "google.cloud.backupdr.v1.BackupDR.InitializeService", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "InitializeService" }, + "description": "InitializeService initializes the service related config for a project.", + "file": "Client/InitializeService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_InitializeService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr InitializeService Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListBackupPlanAssociations_sync", - "title": "backupdr ListBackupPlanAssociations Sample", - "description": "ListBackupPlanAssociations lists BackupPlanAssociations in a given project and location.", - "file": "Client/ListBackupPlanAssociations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupPlanAssociations", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListBackupPlanAssociations", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupPlanAssociations", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListBackupPlanAssociations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListBackupPlanAssociationsRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListBackupPlanAssociationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPlanAssociationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListBackupPlanAssociations", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupPlanAssociations", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListBackupPlanAssociations" }, + "description": "ListBackupPlanAssociations lists BackupPlanAssociations in a given project and location.", + "file": "Client/ListBackupPlanAssociations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListBackupPlanAssociations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListBackupPlanAssociations Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListBackupPlanRevisions_sync", - "title": "backupdr ListBackupPlanRevisions Sample", - "description": "ListBackupPlanRevisions lists BackupPlanRevisions in a given project and location.", - "file": "Client/ListBackupPlanRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupPlanRevisions", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListBackupPlanRevisions", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupPlanRevisions", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListBackupPlanRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListBackupPlanRevisionsRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListBackupPlanRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPlanRevisionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListBackupPlanRevisions", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupPlanRevisions", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListBackupPlanRevisions" }, + "description": "ListBackupPlanRevisions lists BackupPlanRevisions in a given project and location.", + "file": "Client/ListBackupPlanRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListBackupPlanRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListBackupPlanRevisions Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListBackupPlans_sync", - "title": "backupdr ListBackupPlans Sample", - "description": "ListBackupPlans lists BackupPlans in a given project and location.", - "file": "Client/ListBackupPlans/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupPlans", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListBackupPlans", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupPlans", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListBackupPlans" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListBackupPlansRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListBackupPlansRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPlanIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListBackupPlans", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupPlans", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListBackupPlans" }, + "description": "ListBackupPlans lists BackupPlans in a given project and location.", + "file": "Client/ListBackupPlans/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListBackupPlans_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListBackupPlans Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListBackupVaults_sync", - "title": "backupdr ListBackupVaults Sample", - "description": "ListBackupVaults lists BackupVaults in a given project and location.", - "file": "Client/ListBackupVaults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupVaults", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListBackupVaults", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupVaults", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListBackupVaults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListBackupVaultsRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListBackupVaultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupVaultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListBackupVaults", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackupVaults", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListBackupVaults" }, + "description": "ListBackupVaults lists BackupVaults in a given project and location.", + "file": "Client/ListBackupVaults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListBackupVaults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListBackupVaults Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListBackups_sync", - "title": "backupdr ListBackups Sample", - "description": "ListBackups lists Backups in a given project and location.", - "file": "Client/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListBackups", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackups", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListBackups", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists Backups in a given project and location.", + "file": "Client/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListBackups Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListDataSourceReferences_sync", - "title": "backupdr ListDataSourceReferences Sample", - "description": "ListDataSourceReferences lists DataSourceReferences for a given project and location.", - "file": "Client/ListDataSourceReferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataSourceReferences", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListDataSourceReferences", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListDataSourceReferences", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListDataSourceReferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListDataSourceReferencesRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListDataSourceReferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSourceReferenceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListDataSourceReferences", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListDataSourceReferences", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListDataSourceReferences" }, + "description": "ListDataSourceReferences lists DataSourceReferences for a given project and location.", + "file": "Client/ListDataSourceReferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListDataSourceReferences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListDataSourceReferences Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListDataSources_sync", - "title": "backupdr ListDataSources Sample", - "description": "ListDataSources lists DataSources in a given project and location.", - "file": "Client/ListDataSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataSources", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListDataSources", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListDataSources", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListDataSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListDataSourcesRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListDataSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListDataSources", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListDataSources", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListDataSources" }, + "description": "ListDataSources lists DataSources in a given project and location.", + "file": "Client/ListDataSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListDataSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListDataSources Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListLocations_sync", - "title": "backupdr ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "LocationIterator", + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListLocations Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListManagementServers_sync", - "title": "backupdr ListManagementServers Sample", - "description": "ListManagementServers lists ManagementServers in a given project and location.", - "file": "Client/ListManagementServers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagementServers", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListManagementServers", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.ListManagementServers", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "ListManagementServers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListManagementServersRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListManagementServersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagementServerIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListManagementServers", - "fullName": "google.cloud.backupdr.v1.BackupDR.ListManagementServers", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "ListManagementServers" }, + "description": "ListManagementServers lists ManagementServers in a given project and location.", + "file": "Client/ListManagementServers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListManagementServers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListManagementServers Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_ListOperations_sync", - "title": "backupdr ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListOperations Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_RestoreBackup_sync", - "title": "backupdr RestoreBackup Sample", - "description": "RestoreBackup restore from a Backup", - "file": "Client/RestoreBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreBackup", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.RestoreBackup", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.RestoreBackup", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "RestoreBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.RestoreBackupRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.RestoreBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "RestoreBackup", - "fullName": "google.cloud.backupdr.v1.BackupDR.RestoreBackup", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "RestoreBackup" }, + "description": "RestoreBackup restore from a Backup", + "file": "Client/RestoreBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_RestoreBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr RestoreBackup Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_SetIamPolicy_sync", - "title": "backupdr 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", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr SetIamPolicy Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_TestIamPermissions_sync", - "title": "backupdr 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", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr TestIamPermissions Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_TriggerBackup_sync", - "title": "backupdr TriggerBackup Sample", - "description": "TriggerBackup triggers a new Backup.", - "file": "Client/TriggerBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "TriggerBackup", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.TriggerBackup", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.TriggerBackup", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "TriggerBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.TriggerBackupRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.TriggerBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TriggerBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "TriggerBackup", - "fullName": "google.cloud.backupdr.v1.BackupDR.TriggerBackup", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "TriggerBackup" }, + "description": "TriggerBackup triggers a new Backup.", + "file": "Client/TriggerBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_TriggerBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr TriggerBackup Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackup_sync", - "title": "backupdr UpdateBackup Sample", - "description": "UpdateBackup updates the settings of a Backup.", - "file": "Client/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.UpdateBackup", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackup", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackup", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup updates the settings of a Backup.", + "file": "Client/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr UpdateBackup Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackupPlan_sync", - "title": "backupdr UpdateBackupPlan Sample", - "description": "UpdateBackupPlan update a BackupPlan.", - "file": "Client/UpdateBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupPlan", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.UpdateBackupPlan", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackupPlan", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "UpdateBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.UpdateBackupPlanRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.UpdateBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupPlanOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "UpdateBackupPlan", - "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackupPlan", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "UpdateBackupPlan" }, + "description": "UpdateBackupPlan update a BackupPlan.", + "file": "Client/UpdateBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackupPlan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr UpdateBackupPlan Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackupPlanAssociation_sync", - "title": "backupdr UpdateBackupPlanAssociation Sample", - "description": "UpdateBackupPlanAssociation update a BackupPlanAssociation.", - "file": "Client/UpdateBackupPlanAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupPlanAssociation", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.UpdateBackupPlanAssociation", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackupPlanAssociation", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "UpdateBackupPlanAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.UpdateBackupPlanAssociationRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.UpdateBackupPlanAssociationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupPlanAssociationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "UpdateBackupPlanAssociation", - "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackupPlanAssociation", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "UpdateBackupPlanAssociation" }, + "description": "UpdateBackupPlanAssociation update a BackupPlanAssociation.", + "file": "Client/UpdateBackupPlanAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackupPlanAssociation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr UpdateBackupPlanAssociation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackupVault_sync", - "title": "backupdr UpdateBackupVault Sample", - "description": "UpdateBackupVault updates the settings of a BackupVault.", - "file": "Client/UpdateBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupVault", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.UpdateBackupVault", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackupVault", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "UpdateBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.UpdateBackupVaultRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.UpdateBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "UpdateBackupVault", - "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateBackupVault", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "UpdateBackupVault" }, + "description": "UpdateBackupVault updates the settings of a BackupVault.", + "file": "Client/UpdateBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_UpdateBackupVault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr UpdateBackupVault Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDR_UpdateDataSource_sync", - "title": "backupdr UpdateDataSource Sample", - "description": "UpdateDataSource updates the settings of a DataSource.", - "file": "Client/UpdateDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataSource", + "client": { + "fullName": "google.cloud.backupdr.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.backupdr.v1.Client.UpdateDataSource", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateDataSource", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDR", + "shortName": "BackupDR" + }, + "shortName": "UpdateDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.UpdateDataSourceRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.UpdateDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.backupdr.v1.Client" - }, - "method": { - "shortName": "UpdateDataSource", - "fullName": "google.cloud.backupdr.v1.BackupDR.UpdateDataSource", - "service": { - "shortName": "BackupDR", - "fullName": "google.cloud.backupdr.v1.BackupDR" - } - } + "shortName": "UpdateDataSource" }, + "description": "UpdateDataSource updates the settings of a DataSource.", + "file": "Client/UpdateDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDR_UpdateDataSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr UpdateDataSource Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_CancelOperation_sync", - "title": "backupdr CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "BackupDrProtectionSummaryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "BackupDrProtectionSummaryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr CancelOperation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_DeleteOperation_sync", - "title": "backupdr DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "BackupDrProtectionSummaryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "BackupDrProtectionSummaryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr DeleteOperation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_GetIamPolicy_sync", - "title": "backupdr 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": "BackupDrProtectionSummaryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "BackupDrProtectionSummaryClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetIamPolicy Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_GetLocation_sync", - "title": "backupdr GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "BackupDrProtectionSummaryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "BackupDrProtectionSummaryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetLocation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_GetOperation_sync", - "title": "backupdr GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "BackupDrProtectionSummaryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "BackupDrProtectionSummaryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr GetOperation Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_ListLocations_sync", - "title": "backupdr ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "BackupDrProtectionSummaryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "BackupDrProtectionSummaryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListLocations Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_ListOperations_sync", - "title": "backupdr ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "BackupDrProtectionSummaryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "BackupDrProtectionSummaryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListOperations Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_ListResourceBackupConfigs_sync", - "title": "backupdr ListResourceBackupConfigs Sample", - "description": "ListResourceBackupConfigs lists ResourceBackupConfigs.", - "file": "BackupDrProtectionSummaryClient/ListResourceBackupConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceBackupConfigs", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.ListResourceBackupConfigs", + "method": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummary.ListResourceBackupConfigs", + "service": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummary", + "shortName": "BackupDrProtectionSummary" + }, + "shortName": "ListResourceBackupConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "backupdrpb.ListResourceBackupConfigsRequest", - "name": "req" + "name": "req", + "type": "backupdrpb.ListResourceBackupConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceBackupConfigIterator", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "ListResourceBackupConfigs", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummary.ListResourceBackupConfigs", - "service": { - "shortName": "BackupDrProtectionSummary", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummary" - } - } + "shortName": "ListResourceBackupConfigs" }, + "description": "ListResourceBackupConfigs lists ResourceBackupConfigs.", + "file": "BackupDrProtectionSummaryClient/ListResourceBackupConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_ListResourceBackupConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr ListResourceBackupConfigs Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_SetIamPolicy_sync", - "title": "backupdr 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": "BackupDrProtectionSummaryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "BackupDrProtectionSummaryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr SetIamPolicy Sample" }, { - "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_TestIamPermissions_sync", - "title": "backupdr 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": "BackupDrProtectionSummaryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient", + "shortName": "BackupDrProtectionSummaryClient" + }, "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "BackupDrProtectionSummaryClient", - "fullName": "google.cloud.backupdr.v1.BackupDrProtectionSummaryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "BackupDrProtectionSummaryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "backupdr_v1_generated_BackupDrProtectionSummary_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "backupdr TestIamPermissions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json b/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json index 5bf3555d40e9..9846e1a36c00 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json +++ b/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json @@ -1,2129 +1,2129 @@ { "clientLibrary": { - "name": "cloud.google.com/go/baremetalsolution/apiv2", - "version": "1.4.0", - "language": "GO", "apis": [ { "id": "google.cloud.baremetalsolution.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/baremetalsolution/apiv2", + "version": "1.4.0" }, "snippets": [ { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateNfsShare_sync", - "title": "baremetalsolution CreateNfsShare Sample", - "description": "CreateNfsShare create an NFS share.", - "file": "Client/CreateNfsShare/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNfsShare", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.CreateNfsShare", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateNfsShare", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "CreateNfsShare" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.CreateNfsShareRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.CreateNfsShareRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNfsShareOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "CreateNfsShare", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateNfsShare", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "CreateNfsShare" }, + "description": "CreateNfsShare create an NFS share.", + "file": "Client/CreateNfsShare/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateNfsShare_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution CreateNfsShare Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateProvisioningConfig_sync", - "title": "baremetalsolution CreateProvisioningConfig Sample", - "description": "CreateProvisioningConfig create new ProvisioningConfig.", - "file": "Client/CreateProvisioningConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProvisioningConfig", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.CreateProvisioningConfig", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateProvisioningConfig", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "CreateProvisioningConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.CreateProvisioningConfigRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.CreateProvisioningConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.ProvisioningConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "CreateProvisioningConfig", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateProvisioningConfig", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "CreateProvisioningConfig" }, + "description": "CreateProvisioningConfig create new ProvisioningConfig.", + "file": "Client/CreateProvisioningConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateProvisioningConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution CreateProvisioningConfig Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateSSHKey_sync", - "title": "baremetalsolution CreateSSHKey Sample", - "description": "CreateSSHKey register a public SSH key in the specified project for use with the\ninteractive serial console feature.", - "file": "Client/CreateSSHKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSSHKey", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.CreateSSHKey", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateSSHKey", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "CreateSSHKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.CreateSSHKeyRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.CreateSSHKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.SSHKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "CreateSSHKey", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateSSHKey", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "CreateSSHKey" }, + "description": "CreateSSHKey register a public SSH key in the specified project for use with the\ninteractive serial console feature.", + "file": "Client/CreateSSHKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateSSHKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution CreateSSHKey Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateVolumeSnapshot_sync", - "title": "baremetalsolution CreateVolumeSnapshot Sample", - "description": "CreateVolumeSnapshot takes a snapshot of a boot volume.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", - "file": "Client/CreateVolumeSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVolumeSnapshot", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.CreateVolumeSnapshot", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateVolumeSnapshot", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "CreateVolumeSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.CreateVolumeSnapshotRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.CreateVolumeSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.VolumeSnapshot", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "CreateVolumeSnapshot", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateVolumeSnapshot", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "CreateVolumeSnapshot" }, + "description": "CreateVolumeSnapshot takes a snapshot of a boot volume.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", + "file": "Client/CreateVolumeSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_CreateVolumeSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution CreateVolumeSnapshot Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteNfsShare_sync", - "title": "baremetalsolution DeleteNfsShare Sample", - "description": "DeleteNfsShare delete an NFS share. The underlying volume is automatically deleted.", - "file": "Client/DeleteNfsShare/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNfsShare", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.DeleteNfsShare", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteNfsShare", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "DeleteNfsShare" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.DeleteNfsShareRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.DeleteNfsShareRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNfsShareOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "DeleteNfsShare", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteNfsShare", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "DeleteNfsShare" }, + "description": "DeleteNfsShare delete an NFS share. The underlying volume is automatically deleted.", + "file": "Client/DeleteNfsShare/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteNfsShare_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution DeleteNfsShare Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteSSHKey_sync", - "title": "baremetalsolution DeleteSSHKey Sample", - "description": "DeleteSSHKey deletes a public SSH key registered in the specified project.", - "file": "Client/DeleteSSHKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSSHKey", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.DeleteSSHKey", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteSSHKey", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "DeleteSSHKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.DeleteSSHKeyRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.DeleteSSHKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "DeleteSSHKey", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteSSHKey", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "DeleteSSHKey" }, + "description": "DeleteSSHKey deletes a public SSH key registered in the specified project.", + "file": "Client/DeleteSSHKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteSSHKey_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution DeleteSSHKey Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteVolumeSnapshot_sync", - "title": "baremetalsolution DeleteVolumeSnapshot Sample", - "description": "DeleteVolumeSnapshot deletes a volume snapshot.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", - "file": "Client/DeleteVolumeSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVolumeSnapshot", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.DeleteVolumeSnapshot", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteVolumeSnapshot", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "DeleteVolumeSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.DeleteVolumeSnapshotRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.DeleteVolumeSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "DeleteVolumeSnapshot", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteVolumeSnapshot", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "DeleteVolumeSnapshot" }, + "description": "DeleteVolumeSnapshot deletes a volume snapshot.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", + "file": "Client/DeleteVolumeSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DeleteVolumeSnapshot_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution DeleteVolumeSnapshot Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DetachLun_sync", - "title": "baremetalsolution DetachLun Sample", - "description": "DetachLun detach LUN from Instance.", - "file": "Client/DetachLun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachLun", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.DetachLun", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DetachLun", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "DetachLun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.DetachLunRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.DetachLunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DetachLunOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "DetachLun", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DetachLun", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "DetachLun" }, + "description": "DetachLun detach LUN from Instance.", + "file": "Client/DetachLun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DetachLun_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution DetachLun Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DisableInteractiveSerialConsole_sync", - "title": "baremetalsolution DisableInteractiveSerialConsole Sample", - "description": "DisableInteractiveSerialConsole disable the interactive serial console feature on an instance.", - "file": "Client/DisableInteractiveSerialConsole/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableInteractiveSerialConsole", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.DisableInteractiveSerialConsole", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DisableInteractiveSerialConsole", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "DisableInteractiveSerialConsole" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.DisableInteractiveSerialConsoleRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.DisableInteractiveSerialConsoleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableInteractiveSerialConsoleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "DisableInteractiveSerialConsole", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DisableInteractiveSerialConsole", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "DisableInteractiveSerialConsole" }, + "description": "DisableInteractiveSerialConsole disable the interactive serial console feature on an instance.", + "file": "Client/DisableInteractiveSerialConsole/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_DisableInteractiveSerialConsole_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution DisableInteractiveSerialConsole Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EnableInteractiveSerialConsole_sync", - "title": "baremetalsolution EnableInteractiveSerialConsole Sample", - "description": "EnableInteractiveSerialConsole enable the interactive serial console feature on an instance.", - "file": "Client/EnableInteractiveSerialConsole/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableInteractiveSerialConsole", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.EnableInteractiveSerialConsole", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EnableInteractiveSerialConsole", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "EnableInteractiveSerialConsole" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.EnableInteractiveSerialConsoleRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.EnableInteractiveSerialConsoleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableInteractiveSerialConsoleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "EnableInteractiveSerialConsole", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EnableInteractiveSerialConsole", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "EnableInteractiveSerialConsole" }, + "description": "EnableInteractiveSerialConsole enable the interactive serial console feature on an instance.", + "file": "Client/EnableInteractiveSerialConsole/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EnableInteractiveSerialConsole_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution EnableInteractiveSerialConsole Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EvictLun_sync", - "title": "baremetalsolution EvictLun Sample", - "description": "EvictLun skips lun's cooloff and deletes it now.\nLun must be in cooloff state.", - "file": "Client/EvictLun/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvictLun", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.EvictLun", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictLun", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "EvictLun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.EvictLunRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.EvictLunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvictLunOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "EvictLun", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictLun", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "EvictLun" }, + "description": "EvictLun skips lun's cooloff and deletes it now.\nLun must be in cooloff state.", + "file": "Client/EvictLun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EvictLun_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution EvictLun Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EvictVolume_sync", - "title": "baremetalsolution EvictVolume Sample", - "description": "EvictVolume skips volume's cooloff and deletes it now.\nVolume must be in cooloff state.", - "file": "Client/EvictVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvictVolume", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.EvictVolume", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictVolume", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "EvictVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.EvictVolumeRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.EvictVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvictVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "EvictVolume", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictVolume", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "EvictVolume" }, + "description": "EvictVolume skips volume's cooloff and deletes it now.\nVolume must be in cooloff state.", + "file": "Client/EvictVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_EvictVolume_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution EvictVolume Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetInstance_sync", - "title": "baremetalsolution GetInstance Sample", - "description": "GetInstance get details about a single server.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetInstance", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetInstance", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetInstance", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance get details about a single server.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetInstance Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetLocation_sync", - "title": "baremetalsolution GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetLocation Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetLun_sync", - "title": "baremetalsolution GetLun Sample", - "description": "GetLun get details of a single storage logical unit number(LUN).", - "file": "Client/GetLun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLun", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetLun", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetLun", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetLun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetLunRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetLunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Lun", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetLun", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetLun", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetLun" }, + "description": "GetLun get details of a single storage logical unit number(LUN).", + "file": "Client/GetLun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetLun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetLun Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_sync", - "title": "baremetalsolution GetNetwork Sample", - "description": "GetNetwork get details of a single network.", - "file": "Client/GetNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNetwork", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetNetwork", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetNetwork", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetNetworkRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Network", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetNetwork", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetNetwork", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetNetwork" }, + "description": "GetNetwork get details of a single network.", + "file": "Client/GetNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetNetwork_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetNetwork Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_sync", - "title": "baremetalsolution GetNfsShare Sample", - "description": "GetNfsShare get details of a single NFS share.", - "file": "Client/GetNfsShare/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNfsShare", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetNfsShare", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetNfsShare", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetNfsShare" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetNfsShareRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetNfsShareRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.NfsShare", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetNfsShare", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetNfsShare", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetNfsShare" }, + "description": "GetNfsShare get details of a single NFS share.", + "file": "Client/GetNfsShare/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetNfsShare_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetNfsShare Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetProvisioningConfig_sync", - "title": "baremetalsolution GetProvisioningConfig Sample", - "description": "GetProvisioningConfig get ProvisioningConfig by name.", - "file": "Client/GetProvisioningConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProvisioningConfig", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetProvisioningConfig", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetProvisioningConfig", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetProvisioningConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetProvisioningConfigRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetProvisioningConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.ProvisioningConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetProvisioningConfig", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetProvisioningConfig", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetProvisioningConfig" }, + "description": "GetProvisioningConfig get ProvisioningConfig by name.", + "file": "Client/GetProvisioningConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetProvisioningConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetProvisioningConfig Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetVolume_sync", - "title": "baremetalsolution GetVolume Sample", - "description": "GetVolume get details of a single storage volume.", - "file": "Client/GetVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVolume", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetVolume", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolume", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetVolumeRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Volume", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetVolume", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolume", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetVolume" }, + "description": "GetVolume get details of a single storage volume.", + "file": "Client/GetVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetVolume_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetVolume Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetVolumeSnapshot_sync", - "title": "baremetalsolution GetVolumeSnapshot Sample", - "description": "GetVolumeSnapshot returns the specified snapshot resource.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", - "file": "Client/GetVolumeSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVolumeSnapshot", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.GetVolumeSnapshot", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolumeSnapshot", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "GetVolumeSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.GetVolumeSnapshotRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.GetVolumeSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.VolumeSnapshot", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "GetVolumeSnapshot", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolumeSnapshot", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "GetVolumeSnapshot" }, + "description": "GetVolumeSnapshot returns the specified snapshot resource.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", + "file": "Client/GetVolumeSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_GetVolumeSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution GetVolumeSnapshot Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListInstances_sync", - "title": "baremetalsolution ListInstances Sample", - "description": "ListInstances list servers in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListInstances", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListInstances", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListInstances", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances list servers in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListInstances Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListLocations_sync", - "title": "baremetalsolution ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListLocations Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListLuns_sync", - "title": "baremetalsolution ListLuns Sample", - "description": "ListLuns list storage volume luns for given storage volume.", - "file": "Client/ListLuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLuns", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListLuns", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListLuns", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListLuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListLunsRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListLunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LunIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListLuns", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListLuns", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListLuns" }, + "description": "ListLuns list storage volume luns for given storage volume.", + "file": "Client/ListLuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListLuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListLuns Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNetworkUsage_sync", - "title": "baremetalsolution ListNetworkUsage Sample", - "description": "ListNetworkUsage list all Networks (and used IPs for each Network) in the vendor account\nassociated with the specified project.", - "file": "Client/ListNetworkUsage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkUsage", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListNetworkUsage", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNetworkUsage", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListNetworkUsage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListNetworkUsageRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListNetworkUsageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.ListNetworkUsageResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListNetworkUsage", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNetworkUsage", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListNetworkUsage" }, + "description": "ListNetworkUsage list all Networks (and used IPs for each Network) in the vendor account\nassociated with the specified project.", + "file": "Client/ListNetworkUsage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNetworkUsage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListNetworkUsage Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNetworks_sync", - "title": "baremetalsolution ListNetworks Sample", - "description": "ListNetworks list network in a given project and location.", - "file": "Client/ListNetworks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworks", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListNetworks", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNetworks", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListNetworks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListNetworksRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "NetworkIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListNetworks", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNetworks", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "NetworkIterator", + "shortName": "ListNetworks" }, + "description": "ListNetworks list network in a given project and location.", + "file": "Client/ListNetworks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNetworks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListNetworks Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNfsShares_sync", - "title": "baremetalsolution ListNfsShares Sample", - "description": "ListNfsShares list NFS shares.", - "file": "Client/ListNfsShares/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNfsShares", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListNfsShares", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNfsShares", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListNfsShares" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListNfsSharesRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListNfsSharesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NfsShareIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListNfsShares", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListNfsShares", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListNfsShares" }, + "description": "ListNfsShares list NFS shares.", + "file": "Client/ListNfsShares/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListNfsShares_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListNfsShares Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListOSImages_sync", - "title": "baremetalsolution ListOSImages Sample", - "description": "ListOSImages retrieves the list of OS images which are currently approved.", - "file": "Client/ListOSImages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSImages", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListOSImages", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListOSImages", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListOSImages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListOSImagesRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListOSImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSImageIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListOSImages", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListOSImages", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListOSImages" }, + "description": "ListOSImages retrieves the list of OS images which are currently approved.", + "file": "Client/ListOSImages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListOSImages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListOSImages Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListProvisioningQuotas_sync", - "title": "baremetalsolution ListProvisioningQuotas Sample", - "description": "ListProvisioningQuotas list the budget details to provision resources on a given project.", - "file": "Client/ListProvisioningQuotas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProvisioningQuotas", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListProvisioningQuotas", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListProvisioningQuotas", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListProvisioningQuotas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListProvisioningQuotasRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListProvisioningQuotasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProvisioningQuotaIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListProvisioningQuotas", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListProvisioningQuotas", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListProvisioningQuotas" }, + "description": "ListProvisioningQuotas list the budget details to provision resources on a given project.", + "file": "Client/ListProvisioningQuotas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListProvisioningQuotas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListProvisioningQuotas Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListSSHKeys_sync", - "title": "baremetalsolution ListSSHKeys Sample", - "description": "ListSSHKeys lists the public SSH keys registered for the specified project.\nThese SSH keys are used only for the interactive serial console feature.", - "file": "Client/ListSSHKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSSHKeys", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListSSHKeys", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListSSHKeys", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListSSHKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListSSHKeysRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListSSHKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SSHKeyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListSSHKeys", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListSSHKeys", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListSSHKeys" }, + "description": "ListSSHKeys lists the public SSH keys registered for the specified project.\nThese SSH keys are used only for the interactive serial console feature.", + "file": "Client/ListSSHKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListSSHKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListSSHKeys Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListVolumeSnapshots_sync", - "title": "baremetalsolution ListVolumeSnapshots Sample", - "description": "ListVolumeSnapshots retrieves the list of snapshots for the specified volume.\nReturns a response with an empty list of snapshots if called\nfor a non-boot volume.", - "file": "Client/ListVolumeSnapshots/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVolumeSnapshots", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListVolumeSnapshots", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumeSnapshots", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListVolumeSnapshots" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListVolumeSnapshotsRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListVolumeSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VolumeSnapshotIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListVolumeSnapshots", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumeSnapshots", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListVolumeSnapshots" }, + "description": "ListVolumeSnapshots retrieves the list of snapshots for the specified volume.\nReturns a response with an empty list of snapshots if called\nfor a non-boot volume.", + "file": "Client/ListVolumeSnapshots/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListVolumeSnapshots_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListVolumeSnapshots Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListVolumes_sync", - "title": "baremetalsolution ListVolumes Sample", - "description": "ListVolumes list storage volumes in a given project and location.", - "file": "Client/ListVolumes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVolumes", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ListVolumes", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumes", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ListVolumes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ListVolumesRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ListVolumesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VolumeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ListVolumes", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumes", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ListVolumes" }, + "description": "ListVolumes list storage volumes in a given project and location.", + "file": "Client/ListVolumes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ListVolumes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ListVolumes Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameInstance_sync", - "title": "baremetalsolution RenameInstance Sample", - "description": "RenameInstance renameInstance sets a new name for an instance.\nUse with caution, previous names become immediately invalidated.", - "file": "Client/RenameInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameInstance", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.RenameInstance", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameInstance", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "RenameInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.RenameInstanceRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.RenameInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "RenameInstance", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameInstance", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "RenameInstance" }, + "description": "RenameInstance renameInstance sets a new name for an instance.\nUse with caution, previous names become immediately invalidated.", + "file": "Client/RenameInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution RenameInstance Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameNetwork_sync", - "title": "baremetalsolution RenameNetwork Sample", - "description": "RenameNetwork renameNetwork sets a new name for a network.\nUse with caution, previous names become immediately invalidated.", - "file": "Client/RenameNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameNetwork", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.RenameNetwork", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNetwork", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "RenameNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.RenameNetworkRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.RenameNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Network", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "RenameNetwork", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNetwork", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "RenameNetwork" }, + "description": "RenameNetwork renameNetwork sets a new name for a network.\nUse with caution, previous names become immediately invalidated.", + "file": "Client/RenameNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameNetwork_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution RenameNetwork Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameNfsShare_sync", - "title": "baremetalsolution RenameNfsShare Sample", - "description": "RenameNfsShare renameNfsShare sets a new name for an nfsshare.\nUse with caution, previous names become immediately invalidated.", - "file": "Client/RenameNfsShare/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameNfsShare", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.RenameNfsShare", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNfsShare", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "RenameNfsShare" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.RenameNfsShareRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.RenameNfsShareRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.NfsShare", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "RenameNfsShare", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNfsShare", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "RenameNfsShare" }, + "description": "RenameNfsShare renameNfsShare sets a new name for an nfsshare.\nUse with caution, previous names become immediately invalidated.", + "file": "Client/RenameNfsShare/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameNfsShare_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution RenameNfsShare Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameVolume_sync", - "title": "baremetalsolution RenameVolume Sample", - "description": "RenameVolume renameVolume sets a new name for a volume.\nUse with caution, previous names become immediately invalidated.", - "file": "Client/RenameVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameVolume", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.RenameVolume", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameVolume", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "RenameVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.RenameVolumeRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.RenameVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.Volume", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "RenameVolume", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameVolume", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "RenameVolume" }, + "description": "RenameVolume renameVolume sets a new name for a volume.\nUse with caution, previous names become immediately invalidated.", + "file": "Client/RenameVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RenameVolume_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution RenameVolume Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ResetInstance_sync", - "title": "baremetalsolution ResetInstance Sample", - "description": "ResetInstance perform an ungraceful, hard reset on a server. Equivalent to shutting the\npower off and then turning it back on.", - "file": "Client/ResetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetInstance", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ResetInstance", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResetInstance", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ResetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ResetInstanceRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ResetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ResetInstance", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResetInstance", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ResetInstance" }, + "description": "ResetInstance perform an ungraceful, hard reset on a server. Equivalent to shutting the\npower off and then turning it back on.", + "file": "Client/ResetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ResetInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ResetInstance Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ResizeVolume_sync", - "title": "baremetalsolution ResizeVolume Sample", - "description": "ResizeVolume emergency Volume resize.", - "file": "Client/ResizeVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResizeVolume", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.ResizeVolume", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResizeVolume", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "ResizeVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.ResizeVolumeRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.ResizeVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResizeVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "ResizeVolume", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResizeVolume", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "ResizeVolume" }, + "description": "ResizeVolume emergency Volume resize.", + "file": "Client/ResizeVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_ResizeVolume_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution ResizeVolume Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RestoreVolumeSnapshot_sync", - "title": "baremetalsolution RestoreVolumeSnapshot Sample", - "description": "RestoreVolumeSnapshot uses the specified snapshot to restore its parent volume.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", - "file": "Client/RestoreVolumeSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreVolumeSnapshot", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.RestoreVolumeSnapshot", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RestoreVolumeSnapshot", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "RestoreVolumeSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.RestoreVolumeSnapshotRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.RestoreVolumeSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreVolumeSnapshotOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "RestoreVolumeSnapshot", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RestoreVolumeSnapshot", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "RestoreVolumeSnapshot" }, + "description": "RestoreVolumeSnapshot uses the specified snapshot to restore its parent volume.\nReturns INVALID_ARGUMENT if called for a non-boot volume.", + "file": "Client/RestoreVolumeSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_RestoreVolumeSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution RestoreVolumeSnapshot Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_StartInstance_sync", - "title": "baremetalsolution StartInstance Sample", - "description": "StartInstance starts a server that was shutdown.", - "file": "Client/StartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstance", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.StartInstance", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StartInstance", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "StartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "StartInstance", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StartInstance", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "StartInstance" }, + "description": "StartInstance starts a server that was shutdown.", + "file": "Client/StartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_StartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution StartInstance Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_StopInstance_sync", - "title": "baremetalsolution StopInstance Sample", - "description": "StopInstance stop a running server.", - "file": "Client/StopInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstance", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.StopInstance", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StopInstance", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "StopInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "StopInstance", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StopInstance", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "StopInstance" }, + "description": "StopInstance stop a running server.", + "file": "Client/StopInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_StopInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution StopInstance Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_SubmitProvisioningConfig_sync", - "title": "baremetalsolution SubmitProvisioningConfig Sample", - "description": "SubmitProvisioningConfig submit a provisiong configuration for a given project.", - "file": "Client/SubmitProvisioningConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitProvisioningConfig", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.SubmitProvisioningConfig", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.SubmitProvisioningConfig", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "SubmitProvisioningConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.SubmitProvisioningConfigRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.SubmitProvisioningConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.SubmitProvisioningConfigResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "SubmitProvisioningConfig", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.SubmitProvisioningConfig", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "SubmitProvisioningConfig" }, + "description": "SubmitProvisioningConfig submit a provisiong configuration for a given project.", + "file": "Client/SubmitProvisioningConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_SubmitProvisioningConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution SubmitProvisioningConfig Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateInstance_sync", - "title": "baremetalsolution UpdateInstance Sample", - "description": "UpdateInstance update details of a single server.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateInstance", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateInstance", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance update details of a single server.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution UpdateInstance Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateNetwork_sync", - "title": "baremetalsolution UpdateNetwork Sample", - "description": "UpdateNetwork update details of a single network.", - "file": "Client/UpdateNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNetwork", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.UpdateNetwork", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateNetwork", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "UpdateNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.UpdateNetworkRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.UpdateNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "UpdateNetwork", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateNetwork", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "UpdateNetwork" }, + "description": "UpdateNetwork update details of a single network.", + "file": "Client/UpdateNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateNetwork_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution UpdateNetwork Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateNfsShare_sync", - "title": "baremetalsolution UpdateNfsShare Sample", - "description": "UpdateNfsShare update details of a single NFS share.", - "file": "Client/UpdateNfsShare/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNfsShare", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.UpdateNfsShare", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateNfsShare", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "UpdateNfsShare" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.UpdateNfsShareRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.UpdateNfsShareRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateNfsShareOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "UpdateNfsShare", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateNfsShare", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "UpdateNfsShare" }, + "description": "UpdateNfsShare update details of a single NFS share.", + "file": "Client/UpdateNfsShare/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateNfsShare_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution UpdateNfsShare Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateProvisioningConfig_sync", - "title": "baremetalsolution UpdateProvisioningConfig Sample", - "description": "UpdateProvisioningConfig update existing ProvisioningConfig.", - "file": "Client/UpdateProvisioningConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProvisioningConfig", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.UpdateProvisioningConfig", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateProvisioningConfig", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "UpdateProvisioningConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.UpdateProvisioningConfigRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.UpdateProvisioningConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*baremetalsolutionpb.ProvisioningConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "UpdateProvisioningConfig", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateProvisioningConfig", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "UpdateProvisioningConfig" }, + "description": "UpdateProvisioningConfig update existing ProvisioningConfig.", + "file": "Client/UpdateProvisioningConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateProvisioningConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution UpdateProvisioningConfig Sample" }, { - "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateVolume_sync", - "title": "baremetalsolution UpdateVolume Sample", - "description": "UpdateVolume update details of a single storage volume.", - "file": "Client/UpdateVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVolume", + "client": { + "fullName": "google.cloud.baremetalsolution.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.baremetalsolution.v2.Client.UpdateVolume", + "method": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateVolume", + "service": { + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", + "shortName": "BareMetalSolution" + }, + "shortName": "UpdateVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "baremetalsolutionpb.UpdateVolumeRequest", - "name": "req" + "name": "req", + "type": "baremetalsolutionpb.UpdateVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.baremetalsolution.v2.Client" - }, - "method": { - "shortName": "UpdateVolume", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateVolume", - "service": { - "shortName": "BareMetalSolution", - "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution" - } - } + "shortName": "UpdateVolume" }, + "description": "UpdateVolume update details of a single storage volume.", + "file": "Client/UpdateVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "baremetalsolution_v2_generated_BareMetalSolution_UpdateVolume_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "baremetalsolution UpdateVolume Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json b/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json index fa295a72d43d..ac4c2becb986 100644 --- a/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json +++ b/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/batch/apiv1", - "version": "1.14.0", - "language": "GO", "apis": [ { "id": "google.cloud.batch.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/batch/apiv1", + "version": "1.14.0" }, "snippets": [ { - "regionTag": "batch_v1_generated_BatchService_CancelJob_sync", - "title": "batch CancelJob Sample", - "description": "CancelJob cancel a Job.", - "file": "Client/CancelJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelJob", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.CancelJob", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.CancelJob", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "CancelJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.CancelJobRequest", - "name": "req" + "name": "req", + "type": "batchpb.CancelJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "CancelJob", - "fullName": "google.cloud.batch.v1.BatchService.CancelJob", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "CancelJob" }, + "description": "CancelJob cancel a Job.", + "file": "Client/CancelJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_CancelJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch CancelJob Sample" }, { - "regionTag": "batch_v1_generated_BatchService_CancelOperation_sync", - "title": "batch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch CancelOperation Sample" }, { - "regionTag": "batch_v1_generated_BatchService_CreateJob_sync", - "title": "batch CreateJob Sample", - "description": "CreateJob create a Job.", - "file": "Client/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.CreateJob", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.CreateJob", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "batchpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*batchpb.Job", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.batch.v1.BatchService.CreateJob", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob create a Job.", + "file": "Client/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch CreateJob Sample" }, { - "regionTag": "batch_v1_generated_BatchService_DeleteJob_sync", - "title": "batch DeleteJob Sample", - "description": "DeleteJob delete a Job.", - "file": "Client/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.DeleteJob", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.DeleteJob", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "batchpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.batch.v1.BatchService.DeleteJob", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob delete a Job.", + "file": "Client/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_DeleteJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch DeleteJob Sample" }, { - "regionTag": "batch_v1_generated_BatchService_DeleteOperation_sync", - "title": "batch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch DeleteOperation Sample" }, { - "regionTag": "batch_v1_generated_BatchService_GetJob_sync", - "title": "batch GetJob Sample", - "description": "GetJob get a Job specified by its resource name.", - "file": "Client/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.GetJob", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.GetJob", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "batchpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*batchpb.Job", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.batch.v1.BatchService.GetJob", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "GetJob" }, + "description": "GetJob get a Job specified by its resource name.", + "file": "Client/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch GetJob Sample" }, { - "regionTag": "batch_v1_generated_BatchService_GetLocation_sync", - "title": "batch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch GetLocation Sample" }, { - "regionTag": "batch_v1_generated_BatchService_GetOperation_sync", - "title": "batch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch GetOperation Sample" }, { - "regionTag": "batch_v1_generated_BatchService_GetTask_sync", - "title": "batch GetTask Sample", - "description": "GetTask return a single Task.", - "file": "Client/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.GetTask", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.GetTask", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "batchpb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*batchpb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "GetTask", - "fullName": "google.cloud.batch.v1.BatchService.GetTask", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "GetTask" }, + "description": "GetTask return a single Task.", + "file": "Client/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch GetTask Sample" }, { - "regionTag": "batch_v1_generated_BatchService_ListJobs_sync", - "title": "batch ListJobs Sample", - "description": "ListJobs list all Jobs for a project within a region.", - "file": "Client/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.ListJobs", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.ListJobs", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "batchpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.batch.v1.BatchService.ListJobs", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs list all Jobs for a project within a region.", + "file": "Client/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch ListJobs Sample" }, { - "regionTag": "batch_v1_generated_BatchService_ListLocations_sync", - "title": "batch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch ListLocations Sample" }, { - "regionTag": "batch_v1_generated_BatchService_ListOperations_sync", - "title": "batch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch ListOperations Sample" }, { - "regionTag": "batch_v1_generated_BatchService_ListTasks_sync", - "title": "batch ListTasks Sample", - "description": "ListTasks list Tasks associated with a job.", - "file": "Client/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "google.cloud.batch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.batch.v1.Client.ListTasks", + "method": { + "fullName": "google.cloud.batch.v1.BatchService.ListTasks", + "service": { + "fullName": "google.cloud.batch.v1.BatchService", + "shortName": "BatchService" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "batchpb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "batchpb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.batch.v1.Client" - }, - "method": { - "shortName": "ListTasks", - "fullName": "google.cloud.batch.v1.BatchService.ListTasks", - "service": { - "shortName": "BatchService", - "fullName": "google.cloud.batch.v1.BatchService" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks list Tasks associated with a job.", + "file": "Client/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "batch_v1_generated_BatchService_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "batch ListTasks Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json b/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json index 0ee3fe0f7e5b..f6596d7354fb 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json @@ -1,703 +1,703 @@ { "clientLibrary": { - "name": "cloud.google.com/go/beyondcorp/appconnections/apiv1", - "version": "1.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.beyondcorp.appconnections.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/beyondcorp/appconnections/apiv1", + "version": "1.2.0" }, "snippets": [ { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_CancelOperation_sync", - "title": "beyondcorp CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CancelOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_CreateAppConnection_sync", - "title": "beyondcorp CreateAppConnection Sample", - "description": "CreateAppConnection creates a new AppConnection in a given project and location.", - "file": "Client/CreateAppConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAppConnection", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.CreateAppConnection", + "method": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.CreateAppConnection", + "service": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService", + "shortName": "AppConnectionsService" + }, + "shortName": "CreateAppConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectionspb.CreateAppConnectionRequest", - "name": "req" + "name": "req", + "type": "appconnectionspb.CreateAppConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAppConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "CreateAppConnection", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.CreateAppConnection", - "service": { - "shortName": "AppConnectionsService", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService" - } - } + "shortName": "CreateAppConnection" }, + "description": "CreateAppConnection creates a new AppConnection in a given project and location.", + "file": "Client/CreateAppConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_CreateAppConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CreateAppConnection Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_DeleteAppConnection_sync", - "title": "beyondcorp DeleteAppConnection Sample", - "description": "DeleteAppConnection deletes a single AppConnection.", - "file": "Client/DeleteAppConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAppConnection", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.DeleteAppConnection", + "method": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.DeleteAppConnection", + "service": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService", + "shortName": "AppConnectionsService" + }, + "shortName": "DeleteAppConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectionspb.DeleteAppConnectionRequest", - "name": "req" + "name": "req", + "type": "appconnectionspb.DeleteAppConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAppConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "DeleteAppConnection", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.DeleteAppConnection", - "service": { - "shortName": "AppConnectionsService", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService" - } - } + "shortName": "DeleteAppConnection" }, + "description": "DeleteAppConnection deletes a single AppConnection.", + "file": "Client/DeleteAppConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_DeleteAppConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteAppConnection Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_DeleteOperation_sync", - "title": "beyondcorp DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetAppConnection_sync", - "title": "beyondcorp GetAppConnection Sample", - "description": "GetAppConnection gets details of a single AppConnection.", - "file": "Client/GetAppConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAppConnection", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.GetAppConnection", + "method": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.GetAppConnection", + "service": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService", + "shortName": "AppConnectionsService" + }, + "shortName": "GetAppConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectionspb.GetAppConnectionRequest", - "name": "req" + "name": "req", + "type": "appconnectionspb.GetAppConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appconnectionspb.AppConnection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "GetAppConnection", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.GetAppConnection", - "service": { - "shortName": "AppConnectionsService", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService" - } - } + "shortName": "GetAppConnection" }, + "description": "GetAppConnection gets details of a single AppConnection.", + "file": "Client/GetAppConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetAppConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetAppConnection Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetLocation_sync", - "title": "beyondcorp GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetLocation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetOperation_sync", - "title": "beyondcorp GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ListAppConnections_sync", - "title": "beyondcorp ListAppConnections Sample", - "description": "ListAppConnections lists AppConnections in a given project and location.", - "file": "Client/ListAppConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAppConnections", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ListAppConnections", + "method": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.ListAppConnections", + "service": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService", + "shortName": "AppConnectionsService" + }, + "shortName": "ListAppConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectionspb.ListAppConnectionsRequest", - "name": "req" + "name": "req", + "type": "appconnectionspb.ListAppConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AppConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "ListAppConnections", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.ListAppConnections", - "service": { - "shortName": "AppConnectionsService", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService" - } - } + "shortName": "ListAppConnections" }, + "description": "ListAppConnections lists AppConnections in a given project and location.", + "file": "Client/ListAppConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ListAppConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListAppConnections Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ListLocations_sync", - "title": "beyondcorp ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListLocations Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ListOperations_sync", - "title": "beyondcorp ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListOperations Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ResolveAppConnections_sync", - "title": "beyondcorp ResolveAppConnections Sample", - "description": "ResolveAppConnections resolves AppConnections details for a given AppConnector.\nAn internal method called by a connector to find AppConnections to connect\nto.", - "file": "Client/ResolveAppConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResolveAppConnections", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.ResolveAppConnections", + "method": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.ResolveAppConnections", + "service": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService", + "shortName": "AppConnectionsService" + }, + "shortName": "ResolveAppConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectionspb.ResolveAppConnectionsRequest", - "name": "req" + "name": "req", + "type": "appconnectionspb.ResolveAppConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResolveAppConnectionsResponse_AppConnectionDetailsIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "ResolveAppConnections", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.ResolveAppConnections", - "service": { - "shortName": "AppConnectionsService", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService" - } - } + "shortName": "ResolveAppConnections" }, + "description": "ResolveAppConnections resolves AppConnections details for a given AppConnector.\nAn internal method called by a connector to find AppConnections to connect\nto.", + "file": "Client/ResolveAppConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_ResolveAppConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ResolveAppConnections Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_SetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp SetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_TestIamPermissions_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp TestIamPermissions Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectionsService_UpdateAppConnection_sync", - "title": "beyondcorp UpdateAppConnection Sample", - "description": "UpdateAppConnection updates the parameters of a single AppConnection.", - "file": "Client/UpdateAppConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAppConnection", + "client": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnections.v1.Client.UpdateAppConnection", + "method": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.UpdateAppConnection", + "service": { + "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService", + "shortName": "AppConnectionsService" + }, + "shortName": "UpdateAppConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectionspb.UpdateAppConnectionRequest", - "name": "req" + "name": "req", + "type": "appconnectionspb.UpdateAppConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAppConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnections.v1.Client" - }, - "method": { - "shortName": "UpdateAppConnection", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService.UpdateAppConnection", - "service": { - "shortName": "AppConnectionsService", - "fullName": "google.cloud.beyondcorp.appconnections.v1.AppConnectionsService" - } - } + "shortName": "UpdateAppConnection" }, + "description": "UpdateAppConnection updates the parameters of a single AppConnection.", + "file": "Client/UpdateAppConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectionsService_UpdateAppConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp UpdateAppConnection Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json index c6c40e05a2c6..aa42f3e88f29 100644 --- a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json +++ b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json @@ -1,703 +1,703 @@ { "clientLibrary": { - "name": "cloud.google.com/go/beyondcorp/appconnectors/apiv1", - "version": "1.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.beyondcorp.appconnectors.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/beyondcorp/appconnectors/apiv1", + "version": "1.2.0" }, "snippets": [ { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_CancelOperation_sync", - "title": "beyondcorp CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CancelOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_CreateAppConnector_sync", - "title": "beyondcorp CreateAppConnector Sample", - "description": "CreateAppConnector creates a new AppConnector in a given project and location.", - "file": "Client/CreateAppConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAppConnector", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.CreateAppConnector", + "method": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.CreateAppConnector", + "service": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService", + "shortName": "AppConnectorsService" + }, + "shortName": "CreateAppConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectorspb.CreateAppConnectorRequest", - "name": "req" + "name": "req", + "type": "appconnectorspb.CreateAppConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAppConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "CreateAppConnector", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.CreateAppConnector", - "service": { - "shortName": "AppConnectorsService", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService" - } - } + "shortName": "CreateAppConnector" }, + "description": "CreateAppConnector creates a new AppConnector in a given project and location.", + "file": "Client/CreateAppConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_CreateAppConnector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CreateAppConnector Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_DeleteAppConnector_sync", - "title": "beyondcorp DeleteAppConnector Sample", - "description": "DeleteAppConnector deletes a single AppConnector.", - "file": "Client/DeleteAppConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAppConnector", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.DeleteAppConnector", + "method": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.DeleteAppConnector", + "service": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService", + "shortName": "AppConnectorsService" + }, + "shortName": "DeleteAppConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectorspb.DeleteAppConnectorRequest", - "name": "req" + "name": "req", + "type": "appconnectorspb.DeleteAppConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAppConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "DeleteAppConnector", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.DeleteAppConnector", - "service": { - "shortName": "AppConnectorsService", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService" - } - } + "shortName": "DeleteAppConnector" }, + "description": "DeleteAppConnector deletes a single AppConnector.", + "file": "Client/DeleteAppConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_DeleteAppConnector_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteAppConnector Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_DeleteOperation_sync", - "title": "beyondcorp DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetAppConnector_sync", - "title": "beyondcorp GetAppConnector Sample", - "description": "GetAppConnector gets details of a single AppConnector.", - "file": "Client/GetAppConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAppConnector", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.GetAppConnector", + "method": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.GetAppConnector", + "service": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService", + "shortName": "AppConnectorsService" + }, + "shortName": "GetAppConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectorspb.GetAppConnectorRequest", - "name": "req" + "name": "req", + "type": "appconnectorspb.GetAppConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appconnectorspb.AppConnector", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "GetAppConnector", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.GetAppConnector", - "service": { - "shortName": "AppConnectorsService", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService" - } - } + "shortName": "GetAppConnector" }, + "description": "GetAppConnector gets details of a single AppConnector.", + "file": "Client/GetAppConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetAppConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetAppConnector Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetLocation_sync", - "title": "beyondcorp GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetLocation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetOperation_sync", - "title": "beyondcorp GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ListAppConnectors_sync", - "title": "beyondcorp ListAppConnectors Sample", - "description": "ListAppConnectors lists AppConnectors in a given project and location.", - "file": "Client/ListAppConnectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAppConnectors", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.ListAppConnectors", + "method": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ListAppConnectors", + "service": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService", + "shortName": "AppConnectorsService" + }, + "shortName": "ListAppConnectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectorspb.ListAppConnectorsRequest", - "name": "req" + "name": "req", + "type": "appconnectorspb.ListAppConnectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AppConnectorIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "ListAppConnectors", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ListAppConnectors", - "service": { - "shortName": "AppConnectorsService", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService" - } - } + "shortName": "ListAppConnectors" }, + "description": "ListAppConnectors lists AppConnectors in a given project and location.", + "file": "Client/ListAppConnectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ListAppConnectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListAppConnectors Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ListLocations_sync", - "title": "beyondcorp ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListLocations Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ListOperations_sync", - "title": "beyondcorp ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListOperations Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ReportStatus_sync", - "title": "beyondcorp ReportStatus Sample", - "description": "ReportStatus report status for a given connector.", - "file": "Client/ReportStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportStatus", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.ReportStatus", + "method": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ReportStatus", + "service": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService", + "shortName": "AppConnectorsService" + }, + "shortName": "ReportStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectorspb.ReportStatusRequest", - "name": "req" + "name": "req", + "type": "appconnectorspb.ReportStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportStatusOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "ReportStatus", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.ReportStatus", - "service": { - "shortName": "AppConnectorsService", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService" - } - } + "shortName": "ReportStatus" }, + "description": "ReportStatus report status for a given connector.", + "file": "Client/ReportStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_ReportStatus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ReportStatus Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_SetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp SetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_TestIamPermissions_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp TestIamPermissions Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppConnectorsService_UpdateAppConnector_sync", - "title": "beyondcorp UpdateAppConnector Sample", - "description": "UpdateAppConnector updates the parameters of a single AppConnector.", - "file": "Client/UpdateAppConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAppConnector", + "client": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client.UpdateAppConnector", + "method": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.UpdateAppConnector", + "service": { + "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService", + "shortName": "AppConnectorsService" + }, + "shortName": "UpdateAppConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appconnectorspb.UpdateAppConnectorRequest", - "name": "req" + "name": "req", + "type": "appconnectorspb.UpdateAppConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAppConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.Client" - }, - "method": { - "shortName": "UpdateAppConnector", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService.UpdateAppConnector", - "service": { - "shortName": "AppConnectorsService", - "fullName": "google.cloud.beyondcorp.appconnectors.v1.AppConnectorsService" - } - } + "shortName": "UpdateAppConnector" }, + "description": "UpdateAppConnector updates the parameters of a single AppConnector.", + "file": "Client/UpdateAppConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppConnectorsService_UpdateAppConnector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp UpdateAppConnector Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json b/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json index 4852bcc7b84d..e8944392c996 100644 --- a/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json +++ b/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/beyondcorp/appgateways/apiv1", - "version": "1.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.beyondcorp.appgateways.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/beyondcorp/appgateways/apiv1", + "version": "1.2.0" }, "snippets": [ { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_CancelOperation_sync", - "title": "beyondcorp CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CancelOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_CreateAppGateway_sync", - "title": "beyondcorp CreateAppGateway Sample", - "description": "CreateAppGateway creates a new AppGateway in a given project and location.", - "file": "Client/CreateAppGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAppGateway", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.CreateAppGateway", + "method": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.CreateAppGateway", + "service": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService", + "shortName": "AppGatewaysService" + }, + "shortName": "CreateAppGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appgatewayspb.CreateAppGatewayRequest", - "name": "req" + "name": "req", + "type": "appgatewayspb.CreateAppGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAppGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "CreateAppGateway", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.CreateAppGateway", - "service": { - "shortName": "AppGatewaysService", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService" - } - } + "shortName": "CreateAppGateway" }, + "description": "CreateAppGateway creates a new AppGateway in a given project and location.", + "file": "Client/CreateAppGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_CreateAppGateway_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CreateAppGateway Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_DeleteAppGateway_sync", - "title": "beyondcorp DeleteAppGateway Sample", - "description": "DeleteAppGateway deletes a single AppGateway.", - "file": "Client/DeleteAppGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAppGateway", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.DeleteAppGateway", + "method": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.DeleteAppGateway", + "service": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService", + "shortName": "AppGatewaysService" + }, + "shortName": "DeleteAppGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appgatewayspb.DeleteAppGatewayRequest", - "name": "req" + "name": "req", + "type": "appgatewayspb.DeleteAppGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAppGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "DeleteAppGateway", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.DeleteAppGateway", - "service": { - "shortName": "AppGatewaysService", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService" - } - } + "shortName": "DeleteAppGateway" }, + "description": "DeleteAppGateway deletes a single AppGateway.", + "file": "Client/DeleteAppGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_DeleteAppGateway_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteAppGateway Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_DeleteOperation_sync", - "title": "beyondcorp DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetAppGateway_sync", - "title": "beyondcorp GetAppGateway Sample", - "description": "GetAppGateway gets details of a single AppGateway.", - "file": "Client/GetAppGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAppGateway", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.GetAppGateway", + "method": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.GetAppGateway", + "service": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService", + "shortName": "AppGatewaysService" + }, + "shortName": "GetAppGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appgatewayspb.GetAppGatewayRequest", - "name": "req" + "name": "req", + "type": "appgatewayspb.GetAppGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*appgatewayspb.AppGateway", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "GetAppGateway", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.GetAppGateway", - "service": { - "shortName": "AppGatewaysService", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService" - } - } + "shortName": "GetAppGateway" }, + "description": "GetAppGateway gets details of a single AppGateway.", + "file": "Client/GetAppGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetAppGateway_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetAppGateway Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetLocation_sync", - "title": "beyondcorp GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetLocation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetOperation_sync", - "title": "beyondcorp GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_ListAppGateways_sync", - "title": "beyondcorp ListAppGateways Sample", - "description": "ListAppGateways lists AppGateways in a given project and location.", - "file": "Client/ListAppGateways/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAppGateways", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.ListAppGateways", + "method": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.ListAppGateways", + "service": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService", + "shortName": "AppGatewaysService" + }, + "shortName": "ListAppGateways" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "appgatewayspb.ListAppGatewaysRequest", - "name": "req" + "name": "req", + "type": "appgatewayspb.ListAppGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AppGatewayIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "ListAppGateways", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService.ListAppGateways", - "service": { - "shortName": "AppGatewaysService", - "fullName": "google.cloud.beyondcorp.appgateways.v1.AppGatewaysService" - } - } + "shortName": "ListAppGateways" }, + "description": "ListAppGateways lists AppGateways in a given project and location.", + "file": "Client/ListAppGateways/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_ListAppGateways_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListAppGateways Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_ListLocations_sync", - "title": "beyondcorp ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListLocations Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_ListOperations_sync", - "title": "beyondcorp ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListOperations Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_SetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp SetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_AppGatewaysService_TestIamPermissions_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.appgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.appgateways.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.appgateways.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_AppGatewaysService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp TestIamPermissions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json index 03b6ebc42e18..02883e0ca6f3 100644 --- a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json +++ b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json @@ -1,657 +1,657 @@ { "clientLibrary": { - "name": "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", - "version": "1.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.beyondcorp.clientconnectorservices.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", + "version": "1.2.0" }, "snippets": [ { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_CancelOperation_sync", - "title": "beyondcorp CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CancelOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_CreateClientConnectorService_sync", - "title": "beyondcorp CreateClientConnectorService Sample", - "description": "CreateClientConnectorService creates a new ClientConnectorService in a given project and location.", - "file": "Client/CreateClientConnectorService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateClientConnectorService", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.CreateClientConnectorService", + "method": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.CreateClientConnectorService", + "service": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService", + "shortName": "ClientConnectorServicesService" + }, + "shortName": "CreateClientConnectorService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientconnectorservicespb.CreateClientConnectorServiceRequest", - "name": "req" + "name": "req", + "type": "clientconnectorservicespb.CreateClientConnectorServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClientConnectorServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "CreateClientConnectorService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.CreateClientConnectorService", - "service": { - "shortName": "ClientConnectorServicesService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" - } - } + "shortName": "CreateClientConnectorService" }, + "description": "CreateClientConnectorService creates a new ClientConnectorService in a given project and location.", + "file": "Client/CreateClientConnectorService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_CreateClientConnectorService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CreateClientConnectorService Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_DeleteClientConnectorService_sync", - "title": "beyondcorp DeleteClientConnectorService Sample", - "description": "DeleteClientConnectorService deletes a single ClientConnectorService.", - "file": "Client/DeleteClientConnectorService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteClientConnectorService", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.DeleteClientConnectorService", + "method": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.DeleteClientConnectorService", + "service": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService", + "shortName": "ClientConnectorServicesService" + }, + "shortName": "DeleteClientConnectorService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientconnectorservicespb.DeleteClientConnectorServiceRequest", - "name": "req" + "name": "req", + "type": "clientconnectorservicespb.DeleteClientConnectorServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClientConnectorServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "DeleteClientConnectorService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.DeleteClientConnectorService", - "service": { - "shortName": "ClientConnectorServicesService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" - } - } + "shortName": "DeleteClientConnectorService" }, + "description": "DeleteClientConnectorService deletes a single ClientConnectorService.", + "file": "Client/DeleteClientConnectorService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_DeleteClientConnectorService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteClientConnectorService Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_DeleteOperation_sync", - "title": "beyondcorp DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetClientConnectorService_sync", - "title": "beyondcorp GetClientConnectorService Sample", - "description": "GetClientConnectorService gets details of a single ClientConnectorService.", - "file": "Client/GetClientConnectorService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetClientConnectorService", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetClientConnectorService", + "method": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.GetClientConnectorService", + "service": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService", + "shortName": "ClientConnectorServicesService" + }, + "shortName": "GetClientConnectorService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientconnectorservicespb.GetClientConnectorServiceRequest", - "name": "req" + "name": "req", + "type": "clientconnectorservicespb.GetClientConnectorServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clientconnectorservicespb.ClientConnectorService", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "GetClientConnectorService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.GetClientConnectorService", - "service": { - "shortName": "ClientConnectorServicesService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" - } - } + "shortName": "GetClientConnectorService" }, + "description": "GetClientConnectorService gets details of a single ClientConnectorService.", + "file": "Client/GetClientConnectorService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetClientConnectorService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetClientConnectorService Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetLocation_sync", - "title": "beyondcorp GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetLocation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetOperation_sync", - "title": "beyondcorp GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListClientConnectorServices_sync", - "title": "beyondcorp ListClientConnectorServices Sample", - "description": "ListClientConnectorServices lists ClientConnectorServices in a given project and location.", - "file": "Client/ListClientConnectorServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClientConnectorServices", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.ListClientConnectorServices", + "method": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.ListClientConnectorServices", + "service": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService", + "shortName": "ClientConnectorServicesService" + }, + "shortName": "ListClientConnectorServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientconnectorservicespb.ListClientConnectorServicesRequest", - "name": "req" + "name": "req", + "type": "clientconnectorservicespb.ListClientConnectorServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClientConnectorServiceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "ListClientConnectorServices", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.ListClientConnectorServices", - "service": { - "shortName": "ClientConnectorServicesService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" - } - } + "shortName": "ListClientConnectorServices" }, + "description": "ListClientConnectorServices lists ClientConnectorServices in a given project and location.", + "file": "Client/ListClientConnectorServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListClientConnectorServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListClientConnectorServices Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListLocations_sync", - "title": "beyondcorp ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListLocations Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListOperations_sync", - "title": "beyondcorp ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListOperations Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_SetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp SetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_TestIamPermissions_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp TestIamPermissions Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_UpdateClientConnectorService_sync", - "title": "beyondcorp UpdateClientConnectorService Sample", - "description": "UpdateClientConnectorService updates the parameters of a single ClientConnectorService.", - "file": "Client/UpdateClientConnectorService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateClientConnectorService", + "client": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client.UpdateClientConnectorService", + "method": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.UpdateClientConnectorService", + "service": { + "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService", + "shortName": "ClientConnectorServicesService" + }, + "shortName": "UpdateClientConnectorService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientconnectorservicespb.UpdateClientConnectorServiceRequest", - "name": "req" + "name": "req", + "type": "clientconnectorservicespb.UpdateClientConnectorServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClientConnectorServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.Client" - }, - "method": { - "shortName": "UpdateClientConnectorService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService.UpdateClientConnectorService", - "service": { - "shortName": "ClientConnectorServicesService", - "fullName": "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService" - } - } + "shortName": "UpdateClientConnectorService" }, + "description": "UpdateClientConnectorService updates the parameters of a single ClientConnectorService.", + "file": "Client/UpdateClientConnectorService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientConnectorServicesService_UpdateClientConnectorService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp UpdateClientConnectorService Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json index 64901d4f4a2f..2200949335ac 100644 --- a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json +++ b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/beyondcorp/clientgateways/apiv1", - "version": "1.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.beyondcorp.clientgateways.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/beyondcorp/clientgateways/apiv1", + "version": "1.2.0" }, "snippets": [ { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_CancelOperation_sync", - "title": "beyondcorp CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CancelOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_CreateClientGateway_sync", - "title": "beyondcorp CreateClientGateway Sample", - "description": "CreateClientGateway creates a new ClientGateway in a given project and location.", - "file": "Client/CreateClientGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateClientGateway", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.CreateClientGateway", + "method": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.CreateClientGateway", + "service": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService", + "shortName": "ClientGatewaysService" + }, + "shortName": "CreateClientGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientgatewayspb.CreateClientGatewayRequest", - "name": "req" + "name": "req", + "type": "clientgatewayspb.CreateClientGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClientGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "CreateClientGateway", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.CreateClientGateway", - "service": { - "shortName": "ClientGatewaysService", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService" - } - } + "shortName": "CreateClientGateway" }, + "description": "CreateClientGateway creates a new ClientGateway in a given project and location.", + "file": "Client/CreateClientGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_CreateClientGateway_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp CreateClientGateway Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_DeleteClientGateway_sync", - "title": "beyondcorp DeleteClientGateway Sample", - "description": "DeleteClientGateway deletes a single ClientGateway.", - "file": "Client/DeleteClientGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteClientGateway", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.DeleteClientGateway", + "method": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.DeleteClientGateway", + "service": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService", + "shortName": "ClientGatewaysService" + }, + "shortName": "DeleteClientGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientgatewayspb.DeleteClientGatewayRequest", - "name": "req" + "name": "req", + "type": "clientgatewayspb.DeleteClientGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClientGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "DeleteClientGateway", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.DeleteClientGateway", - "service": { - "shortName": "ClientGatewaysService", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService" - } - } + "shortName": "DeleteClientGateway" }, + "description": "DeleteClientGateway deletes a single ClientGateway.", + "file": "Client/DeleteClientGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_DeleteClientGateway_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteClientGateway Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_DeleteOperation_sync", - "title": "beyondcorp DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp DeleteOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetClientGateway_sync", - "title": "beyondcorp GetClientGateway Sample", - "description": "GetClientGateway gets details of a single ClientGateway.", - "file": "Client/GetClientGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetClientGateway", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.GetClientGateway", + "method": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.GetClientGateway", + "service": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService", + "shortName": "ClientGatewaysService" + }, + "shortName": "GetClientGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientgatewayspb.GetClientGatewayRequest", - "name": "req" + "name": "req", + "type": "clientgatewayspb.GetClientGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clientgatewayspb.ClientGateway", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "GetClientGateway", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.GetClientGateway", - "service": { - "shortName": "ClientGatewaysService", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService" - } - } + "shortName": "GetClientGateway" }, + "description": "GetClientGateway gets details of a single ClientGateway.", + "file": "Client/GetClientGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetClientGateway_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetClientGateway Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetLocation_sync", - "title": "beyondcorp GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetLocation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetOperation_sync", - "title": "beyondcorp GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp GetOperation Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListClientGateways_sync", - "title": "beyondcorp ListClientGateways Sample", - "description": "ListClientGateways lists ClientGateways in a given project and location.", - "file": "Client/ListClientGateways/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClientGateways", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.ListClientGateways", + "method": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.ListClientGateways", + "service": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService", + "shortName": "ClientGatewaysService" + }, + "shortName": "ListClientGateways" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clientgatewayspb.ListClientGatewaysRequest", - "name": "req" + "name": "req", + "type": "clientgatewayspb.ListClientGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClientGatewayIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "ListClientGateways", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService.ListClientGateways", - "service": { - "shortName": "ClientGatewaysService", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.ClientGatewaysService" - } - } + "shortName": "ListClientGateways" }, + "description": "ListClientGateways lists ClientGateways in a given project and location.", + "file": "Client/ListClientGateways/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListClientGateways_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListClientGateways Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListLocations_sync", - "title": "beyondcorp ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListLocations Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListOperations_sync", - "title": "beyondcorp ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp ListOperations Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_SetIamPolicy_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp SetIamPolicy Sample" }, { - "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_TestIamPermissions_sync", - "title": "beyondcorp 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", + "client": { + "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.beyondcorp.clientgateways.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "beyondcorp_v1_generated_ClientGatewaysService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "beyondcorp TestIamPermissions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json b/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json index fd0012993404..53cbf53246f0 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json @@ -1,1346 +1,1346 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/analyticshub/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.analyticshub.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/analyticshub/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ApproveQueryTemplate_sync", - "title": "analyticshub ApproveQueryTemplate Sample", - "description": "ApproveQueryTemplate approves a query template.", - "file": "Client/ApproveQueryTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveQueryTemplate", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ApproveQueryTemplate", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ApproveQueryTemplate", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ApproveQueryTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ApproveQueryTemplateRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ApproveQueryTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.QueryTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ApproveQueryTemplate", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ApproveQueryTemplate", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ApproveQueryTemplate" }, + "description": "ApproveQueryTemplate approves a query template.", + "file": "Client/ApproveQueryTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ApproveQueryTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ApproveQueryTemplate Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_CreateDataExchange_sync", - "title": "analyticshub CreateDataExchange Sample", - "description": "CreateDataExchange creates a new data exchange.", - "file": "Client/CreateDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataExchange", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.CreateDataExchange", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "CreateDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.CreateDataExchangeRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.CreateDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.DataExchange", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "CreateDataExchange", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "CreateDataExchange" }, + "description": "CreateDataExchange creates a new data exchange.", + "file": "Client/CreateDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_CreateDataExchange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub CreateDataExchange Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_CreateListing_sync", - "title": "analyticshub CreateListing Sample", - "description": "CreateListing creates a new listing.", - "file": "Client/CreateListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateListing", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.CreateListing", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "CreateListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.CreateListingRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.CreateListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.Listing", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "CreateListing", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "CreateListing" }, + "description": "CreateListing creates a new listing.", + "file": "Client/CreateListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_CreateListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub CreateListing Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_CreateQueryTemplate_sync", - "title": "analyticshub CreateQueryTemplate Sample", - "description": "CreateQueryTemplate creates a new QueryTemplate", - "file": "Client/CreateQueryTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQueryTemplate", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.CreateQueryTemplate", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateQueryTemplate", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "CreateQueryTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.CreateQueryTemplateRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.CreateQueryTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.QueryTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "CreateQueryTemplate", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.CreateQueryTemplate", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "CreateQueryTemplate" }, + "description": "CreateQueryTemplate creates a new QueryTemplate", + "file": "Client/CreateQueryTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_CreateQueryTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub CreateQueryTemplate Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteDataExchange_sync", - "title": "analyticshub DeleteDataExchange Sample", - "description": "DeleteDataExchange deletes an existing data exchange.", - "file": "Client/DeleteDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataExchange", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.DeleteDataExchange", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "DeleteDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.DeleteDataExchangeRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.DeleteDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "DeleteDataExchange", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "DeleteDataExchange" }, + "description": "DeleteDataExchange deletes an existing data exchange.", + "file": "Client/DeleteDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteDataExchange_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub DeleteDataExchange Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteListing_sync", - "title": "analyticshub DeleteListing Sample", - "description": "DeleteListing deletes a listing.", - "file": "Client/DeleteListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteListing", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.DeleteListing", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "DeleteListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.DeleteListingRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.DeleteListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "DeleteListing", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "DeleteListing" }, + "description": "DeleteListing deletes a listing.", + "file": "Client/DeleteListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteListing_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub DeleteListing Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteQueryTemplate_sync", - "title": "analyticshub DeleteQueryTemplate Sample", - "description": "DeleteQueryTemplate deletes a query template.", - "file": "Client/DeleteQueryTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQueryTemplate", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.DeleteQueryTemplate", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteQueryTemplate", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "DeleteQueryTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.DeleteQueryTemplateRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.DeleteQueryTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "DeleteQueryTemplate", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteQueryTemplate", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "DeleteQueryTemplate" }, + "description": "DeleteQueryTemplate deletes a query template.", + "file": "Client/DeleteQueryTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteQueryTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub DeleteQueryTemplate Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteSubscription_sync", - "title": "analyticshub DeleteSubscription Sample", - "description": "DeleteSubscription deletes a subscription.", - "file": "Client/DeleteSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubscription", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.DeleteSubscription", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "DeleteSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.DeleteSubscriptionRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.DeleteSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "DeleteSubscription", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "DeleteSubscription" }, + "description": "DeleteSubscription deletes a subscription.", + "file": "Client/DeleteSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_DeleteSubscription_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub DeleteSubscription Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetDataExchange_sync", - "title": "analyticshub GetDataExchange Sample", - "description": "GetDataExchange gets the details of a data exchange.", - "file": "Client/GetDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataExchange", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.GetDataExchange", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.GetDataExchangeRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.GetDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.DataExchange", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "GetDataExchange", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "GetDataExchange" }, + "description": "GetDataExchange gets the details of a data exchange.", + "file": "Client/GetDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetDataExchange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetDataExchange Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetIamPolicy_sync", - "title": "analyticshub GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetIamPolicy", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetIamPolicy Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetListing_sync", - "title": "analyticshub GetListing Sample", - "description": "GetListing gets the details of a listing.", - "file": "Client/GetListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetListing", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.GetListing", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.GetListingRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.GetListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.Listing", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "GetListing", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "GetListing" }, + "description": "GetListing gets the details of a listing.", + "file": "Client/GetListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetListing Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetQueryTemplate_sync", - "title": "analyticshub GetQueryTemplate Sample", - "description": "GetQueryTemplate gets a QueryTemplate", - "file": "Client/GetQueryTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQueryTemplate", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.GetQueryTemplate", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetQueryTemplate", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetQueryTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.GetQueryTemplateRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.GetQueryTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.QueryTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "GetQueryTemplate", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetQueryTemplate", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "GetQueryTemplate" }, + "description": "GetQueryTemplate gets a QueryTemplate", + "file": "Client/GetQueryTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetQueryTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetQueryTemplate Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetSubscription_sync", - "title": "analyticshub GetSubscription Sample", - "description": "GetSubscription gets the details of a Subscription.", - "file": "Client/GetSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubscription", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.GetSubscription", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.GetSubscriptionRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.GetSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.Subscription", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "GetSubscription", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "GetSubscription" }, + "description": "GetSubscription gets the details of a Subscription.", + "file": "Client/GetSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_GetSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetSubscription Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListDataExchanges_sync", - "title": "analyticshub ListDataExchanges Sample", - "description": "ListDataExchanges lists all data exchanges in a given project and location.", - "file": "Client/ListDataExchanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataExchanges", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ListDataExchanges", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListDataExchanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ListDataExchangesRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ListDataExchangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataExchangeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ListDataExchanges", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ListDataExchanges" }, + "description": "ListDataExchanges lists all data exchanges in a given project and location.", + "file": "Client/ListDataExchanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListDataExchanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListDataExchanges Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListListings_sync", - "title": "analyticshub ListListings Sample", - "description": "ListListings lists all listings in a given project and location.", - "file": "Client/ListListings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListListings", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ListListings", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListListings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ListListingsRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ListListingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListingIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ListListings", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListListings", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ListListings" }, + "description": "ListListings lists all listings in a given project and location.", + "file": "Client/ListListings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListListings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListListings Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListOrgDataExchanges_sync", - "title": "analyticshub ListOrgDataExchanges Sample", - "description": "ListOrgDataExchanges lists all data exchanges from projects in a given organization and\nlocation.", - "file": "Client/ListOrgDataExchanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrgDataExchanges", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ListOrgDataExchanges", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListOrgDataExchanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ListOrgDataExchangesRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ListOrgDataExchangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataExchangeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ListOrgDataExchanges", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListOrgDataExchanges", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ListOrgDataExchanges" }, + "description": "ListOrgDataExchanges lists all data exchanges from projects in a given organization and\nlocation.", + "file": "Client/ListOrgDataExchanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListOrgDataExchanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListOrgDataExchanges Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListQueryTemplates_sync", - "title": "analyticshub ListQueryTemplates Sample", - "description": "ListQueryTemplates lists all QueryTemplates in a given project and location.", - "file": "Client/ListQueryTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQueryTemplates", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ListQueryTemplates", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListQueryTemplates", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListQueryTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ListQueryTemplatesRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ListQueryTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryTemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ListQueryTemplates", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListQueryTemplates", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ListQueryTemplates" }, + "description": "ListQueryTemplates lists all QueryTemplates in a given project and location.", + "file": "Client/ListQueryTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListQueryTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListQueryTemplates Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListSharedResourceSubscriptions_sync", - "title": "analyticshub ListSharedResourceSubscriptions Sample", - "description": "ListSharedResourceSubscriptions lists all subscriptions on a given Data Exchange or Listing.", - "file": "Client/ListSharedResourceSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSharedResourceSubscriptions", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ListSharedResourceSubscriptions", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListSharedResourceSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ListSharedResourceSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ListSharedResourceSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubscriptionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ListSharedResourceSubscriptions", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ListSharedResourceSubscriptions" }, + "description": "ListSharedResourceSubscriptions lists all subscriptions on a given Data Exchange or Listing.", + "file": "Client/ListSharedResourceSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListSharedResourceSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListSharedResourceSubscriptions Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListSubscriptions_sync", - "title": "analyticshub ListSubscriptions Sample", - "description": "ListSubscriptions lists all subscriptions in a given project and location.", - "file": "Client/ListSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubscriptions", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.ListSubscriptions", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.ListSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.ListSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubscriptionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "ListSubscriptions", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "ListSubscriptions" }, + "description": "ListSubscriptions lists all subscriptions in a given project and location.", + "file": "Client/ListSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_ListSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListSubscriptions Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_RefreshSubscription_sync", - "title": "analyticshub RefreshSubscription Sample", - "description": "RefreshSubscription refreshes a Subscription to a Data Exchange. A Data Exchange can become\nstale when a publisher adds or removes data. This is a long-running\noperation as it may create many linked datasets.", - "file": "Client/RefreshSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "RefreshSubscription", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.RefreshSubscription", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "RefreshSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.RefreshSubscriptionRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.RefreshSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RefreshSubscriptionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "RefreshSubscription", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "RefreshSubscription" }, + "description": "RefreshSubscription refreshes a Subscription to a Data Exchange. A Data Exchange can become\nstale when a publisher adds or removes data. This is a long-running\noperation as it may create many linked datasets.", + "file": "Client/RefreshSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_RefreshSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub RefreshSubscription Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_RevokeSubscription_sync", - "title": "analyticshub RevokeSubscription Sample", - "description": "RevokeSubscription revokes a given subscription.", - "file": "Client/RevokeSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "RevokeSubscription", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.RevokeSubscription", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "RevokeSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.RevokeSubscriptionRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.RevokeSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.RevokeSubscriptionResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "RevokeSubscription", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "RevokeSubscription" }, + "description": "RevokeSubscription revokes a given subscription.", + "file": "Client/RevokeSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_RevokeSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub RevokeSubscription Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SetIamPolicy_sync", - "title": "analyticshub SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub SetIamPolicy Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SubmitQueryTemplate_sync", - "title": "analyticshub SubmitQueryTemplate Sample", - "description": "SubmitQueryTemplate submits a query template for approval.", - "file": "Client/SubmitQueryTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitQueryTemplate", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.SubmitQueryTemplate", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubmitQueryTemplate", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "SubmitQueryTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.SubmitQueryTemplateRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.SubmitQueryTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.QueryTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "SubmitQueryTemplate", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubmitQueryTemplate", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "SubmitQueryTemplate" }, + "description": "SubmitQueryTemplate submits a query template for approval.", + "file": "Client/SubmitQueryTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SubmitQueryTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub SubmitQueryTemplate Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SubscribeDataExchange_sync", - "title": "analyticshub SubscribeDataExchange Sample", - "description": "SubscribeDataExchange creates a Subscription to a Data Clean Room. This is a\nlong-running operation as it will create one or more linked datasets.\nThrows a Bad Request error if the Data Exchange does not contain any\nlistings.", - "file": "Client/SubscribeDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubscribeDataExchange", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.SubscribeDataExchange", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "SubscribeDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.SubscribeDataExchangeRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.SubscribeDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubscribeDataExchangeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "SubscribeDataExchange", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "SubscribeDataExchange" }, + "description": "SubscribeDataExchange creates a Subscription to a Data Clean Room. This is a\nlong-running operation as it will create one or more linked datasets.\nThrows a Bad Request error if the Data Exchange does not contain any\nlistings.", + "file": "Client/SubscribeDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SubscribeDataExchange_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub SubscribeDataExchange Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SubscribeListing_sync", - "title": "analyticshub SubscribeListing Sample", - "description": "SubscribeListing subscribes to a listing.\n\nCurrently, with Analytics Hub, you can create listings that\nreference only BigQuery datasets.\nUpon subscription to a listing for a BigQuery dataset, Analytics Hub\ncreates a linked dataset in the subscriber's project.", - "file": "Client/SubscribeListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubscribeListing", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.SubscribeListing", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "SubscribeListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.SubscribeListingRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.SubscribeListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.SubscribeListingResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "SubscribeListing", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "SubscribeListing" }, + "description": "SubscribeListing subscribes to a listing.\n\nCurrently, with Analytics Hub, you can create listings that\nreference only BigQuery datasets.\nUpon subscription to a listing for a BigQuery dataset, Analytics Hub\ncreates a linked dataset in the subscriber's project.", + "file": "Client/SubscribeListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_SubscribeListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub SubscribeListing Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_TestIamPermissions_sync", - "title": "analyticshub TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.TestIamPermissions", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub TestIamPermissions Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_UpdateDataExchange_sync", - "title": "analyticshub UpdateDataExchange Sample", - "description": "UpdateDataExchange updates an existing data exchange.", - "file": "Client/UpdateDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataExchange", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.UpdateDataExchange", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "UpdateDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.UpdateDataExchangeRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.UpdateDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.DataExchange", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "UpdateDataExchange", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "UpdateDataExchange" }, + "description": "UpdateDataExchange updates an existing data exchange.", + "file": "Client/UpdateDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_UpdateDataExchange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub UpdateDataExchange Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_UpdateListing_sync", - "title": "analyticshub UpdateListing Sample", - "description": "UpdateListing updates an existing listing.", - "file": "Client/UpdateListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateListing", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.UpdateListing", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "UpdateListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.UpdateListingRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.UpdateListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.Listing", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "UpdateListing", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "UpdateListing" }, + "description": "UpdateListing updates an existing listing.", + "file": "Client/UpdateListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_UpdateListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub UpdateListing Sample" }, { - "regionTag": "analyticshub_v1_generated_AnalyticsHubService_UpdateQueryTemplate_sync", - "title": "analyticshub UpdateQueryTemplate Sample", - "description": "UpdateQueryTemplate updates an existing QueryTemplate", - "file": "Client/UpdateQueryTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQueryTemplate", + "client": { + "fullName": "google.cloud.bigquery.analyticshub.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.analyticshub.v1.Client.UpdateQueryTemplate", + "method": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateQueryTemplate", + "service": { + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "UpdateQueryTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "analyticshubpb.UpdateQueryTemplateRequest", - "name": "req" + "name": "req", + "type": "analyticshubpb.UpdateQueryTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*analyticshubpb.QueryTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.analyticshub.v1.Client" - }, - "method": { - "shortName": "UpdateQueryTemplate", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.UpdateQueryTemplate", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" - } - } + "shortName": "UpdateQueryTemplate" }, + "description": "UpdateQueryTemplate updates an existing QueryTemplate", + "file": "Client/UpdateQueryTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1_generated_AnalyticsHubService_UpdateQueryTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub UpdateQueryTemplate Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json b/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json index 9a77b0084a10..5be00194c048 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json +++ b/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json @@ -1,705 +1,705 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/biglake/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.biglake.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/biglake/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "biglake_v1_generated_MetastoreService_CreateCatalog_sync", - "title": "biglake CreateCatalog Sample", - "description": "CreateCatalog creates a new catalog.", - "file": "MetastoreClient/CreateCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCatalog", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.CreateCatalog", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateCatalog", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateCatalogRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Catalog", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "CreateCatalog", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateCatalog", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "CreateCatalog" }, + "description": "CreateCatalog creates a new catalog.", + "file": "MetastoreClient/CreateCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_CreateCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateCatalog Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_CreateDatabase_sync", - "title": "biglake CreateDatabase Sample", - "description": "CreateDatabase creates a new database.", - "file": "MetastoreClient/CreateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.CreateDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "CreateDatabase", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "CreateDatabase" }, + "description": "CreateDatabase creates a new database.", + "file": "MetastoreClient/CreateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_CreateDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateDatabase Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_CreateTable_sync", - "title": "biglake CreateTable Sample", - "description": "CreateTable creates a new table.", - "file": "MetastoreClient/CreateTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.CreateTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "CreateTable", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "CreateTable" }, + "description": "CreateTable creates a new table.", + "file": "MetastoreClient/CreateTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_CreateTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateTable Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_DeleteCatalog_sync", - "title": "biglake DeleteCatalog Sample", - "description": "DeleteCatalog deletes an existing catalog specified by the catalog ID.", - "file": "MetastoreClient/DeleteCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCatalog", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.DeleteCatalog", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteCatalog", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteCatalogRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Catalog", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "DeleteCatalog", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteCatalog", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "DeleteCatalog" }, + "description": "DeleteCatalog deletes an existing catalog specified by the catalog ID.", + "file": "MetastoreClient/DeleteCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_DeleteCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteCatalog Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_DeleteDatabase_sync", - "title": "biglake DeleteDatabase Sample", - "description": "DeleteDatabase deletes an existing database specified by the database ID.", - "file": "MetastoreClient/DeleteDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.DeleteDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "DeleteDatabase", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "DeleteDatabase" }, + "description": "DeleteDatabase deletes an existing database specified by the database ID.", + "file": "MetastoreClient/DeleteDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_DeleteDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteDatabase Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_DeleteTable_sync", - "title": "biglake DeleteTable Sample", - "description": "DeleteTable deletes an existing table specified by the table ID.", - "file": "MetastoreClient/DeleteTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.DeleteTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "DeleteTable", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "DeleteTable" }, + "description": "DeleteTable deletes an existing table specified by the table ID.", + "file": "MetastoreClient/DeleteTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_DeleteTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteTable Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_GetCatalog_sync", - "title": "biglake GetCatalog Sample", - "description": "GetCatalog gets the catalog specified by the resource name.", - "file": "MetastoreClient/GetCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCatalog", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.GetCatalog", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetCatalog", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "GetCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.GetCatalogRequest", - "name": "req" + "name": "req", + "type": "biglakepb.GetCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Catalog", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "GetCatalog", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetCatalog", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "GetCatalog" }, + "description": "GetCatalog gets the catalog specified by the resource name.", + "file": "MetastoreClient/GetCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_GetCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake GetCatalog Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_GetDatabase_sync", - "title": "biglake GetDatabase Sample", - "description": "GetDatabase gets the database specified by the resource name.", - "file": "MetastoreClient/GetDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.GetDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "GetDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.GetDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.GetDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "GetDatabase", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "GetDatabase" }, + "description": "GetDatabase gets the database specified by the resource name.", + "file": "MetastoreClient/GetDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_GetDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake GetDatabase Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_GetTable_sync", - "title": "biglake GetTable Sample", - "description": "GetTable gets the table specified by the resource name.", - "file": "MetastoreClient/GetTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.GetTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "GetTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.GetTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.GetTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "GetTable", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "GetTable" }, + "description": "GetTable gets the table specified by the resource name.", + "file": "MetastoreClient/GetTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_GetTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake GetTable Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_ListCatalogs_sync", - "title": "biglake ListCatalogs Sample", - "description": "ListCatalogs list all catalogs in a specified project.", - "file": "MetastoreClient/ListCatalogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCatalogs", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.ListCatalogs", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListCatalogs", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListCatalogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListCatalogsRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListCatalogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "ListCatalogs", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListCatalogs", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "ListCatalogs" }, + "description": "ListCatalogs list all catalogs in a specified project.", + "file": "MetastoreClient/ListCatalogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_ListCatalogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListCatalogs Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_ListDatabases_sync", - "title": "biglake ListDatabases Sample", - "description": "ListDatabases list all databases in a specified catalog.", - "file": "MetastoreClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.ListDatabases", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListDatabases", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListDatabases", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "ListDatabases" }, + "description": "ListDatabases list all databases in a specified catalog.", + "file": "MetastoreClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListDatabases Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_ListTables_sync", - "title": "biglake ListTables Sample", - "description": "ListTables list all tables in a specified database.", - "file": "MetastoreClient/ListTables/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTables", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.ListTables", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListTables", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListTables" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListTablesRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListTablesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TableIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "ListTables", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListTables", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "ListTables" }, + "description": "ListTables list all tables in a specified database.", + "file": "MetastoreClient/ListTables/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_ListTables_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListTables Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_RenameTable_sync", - "title": "biglake RenameTable Sample", - "description": "RenameTable renames an existing table specified by the table ID.", - "file": "MetastoreClient/RenameTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.RenameTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.RenameTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "RenameTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.RenameTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.RenameTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "RenameTable", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.RenameTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "RenameTable" }, + "description": "RenameTable renames an existing table specified by the table ID.", + "file": "MetastoreClient/RenameTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_RenameTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake RenameTable Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_UpdateDatabase_sync", - "title": "biglake UpdateDatabase Sample", - "description": "UpdateDatabase updates an existing database specified by the database ID.", - "file": "MetastoreClient/UpdateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.UpdateDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.UpdateDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "UpdateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.UpdateDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.UpdateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "UpdateDatabase", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.UpdateDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "UpdateDatabase" }, + "description": "UpdateDatabase updates an existing database specified by the database ID.", + "file": "MetastoreClient/UpdateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_UpdateDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake UpdateDatabase Sample" }, { - "regionTag": "biglake_v1_generated_MetastoreService_UpdateTable_sync", - "title": "biglake UpdateTable Sample", - "description": "UpdateTable updates an existing table specified by the table ID.", - "file": "MetastoreClient/UpdateTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient.UpdateTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.UpdateTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "UpdateTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.UpdateTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.UpdateTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreClient" - }, - "method": { - "shortName": "UpdateTable", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.UpdateTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService" - } - } + "shortName": "UpdateTable" }, + "description": "UpdateTable updates an existing table specified by the table ID.", + "file": "MetastoreClient/UpdateTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1_generated_MetastoreService_UpdateTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake UpdateTable Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json index fced0331a078..ae80a104e50e 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json @@ -1,888 +1,888 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/biglake/apiv1alpha1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.biglake.v1alpha1", "version": "v1alpha1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/biglake/apiv1alpha1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_CheckLock_sync", - "title": "biglake CheckLock Sample", - "description": "CheckLock checks the state of a lock specified by the lock ID.", - "file": "MetastoreClient/CheckLock/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckLock", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.CheckLock", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CheckLock", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CheckLock" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CheckLockRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CheckLockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Lock", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "CheckLock", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CheckLock", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "CheckLock" }, + "description": "CheckLock checks the state of a lock specified by the lock ID.", + "file": "MetastoreClient/CheckLock/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_CheckLock_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CheckLock Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateCatalog_sync", - "title": "biglake CreateCatalog Sample", - "description": "CreateCatalog creates a new catalog.", - "file": "MetastoreClient/CreateCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCatalog", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.CreateCatalog", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateCatalog", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateCatalogRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Catalog", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "CreateCatalog", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateCatalog", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "CreateCatalog" }, + "description": "CreateCatalog creates a new catalog.", + "file": "MetastoreClient/CreateCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateCatalog Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateDatabase_sync", - "title": "biglake CreateDatabase Sample", - "description": "CreateDatabase creates a new database.", - "file": "MetastoreClient/CreateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.CreateDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "CreateDatabase", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "CreateDatabase" }, + "description": "CreateDatabase creates a new database.", + "file": "MetastoreClient/CreateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateDatabase Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateLock_sync", - "title": "biglake CreateLock Sample", - "description": "CreateLock creates a new lock.", - "file": "MetastoreClient/CreateLock/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLock", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.CreateLock", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateLock", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateLock" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateLockRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateLockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Lock", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "CreateLock", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateLock", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "CreateLock" }, + "description": "CreateLock creates a new lock.", + "file": "MetastoreClient/CreateLock/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateLock_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateLock Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateTable_sync", - "title": "biglake CreateTable Sample", - "description": "CreateTable creates a new table.", - "file": "MetastoreClient/CreateTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.CreateTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "CreateTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.CreateTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.CreateTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "CreateTable", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.CreateTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "CreateTable" }, + "description": "CreateTable creates a new table.", + "file": "MetastoreClient/CreateTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_CreateTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake CreateTable Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteCatalog_sync", - "title": "biglake DeleteCatalog Sample", - "description": "DeleteCatalog deletes an existing catalog specified by the catalog ID.", - "file": "MetastoreClient/DeleteCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCatalog", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.DeleteCatalog", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteCatalog", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteCatalogRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Catalog", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "DeleteCatalog", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteCatalog", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "DeleteCatalog" }, + "description": "DeleteCatalog deletes an existing catalog specified by the catalog ID.", + "file": "MetastoreClient/DeleteCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteCatalog Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteDatabase_sync", - "title": "biglake DeleteDatabase Sample", - "description": "DeleteDatabase deletes an existing database specified by the database ID.", - "file": "MetastoreClient/DeleteDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.DeleteDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "DeleteDatabase", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "DeleteDatabase" }, + "description": "DeleteDatabase deletes an existing database specified by the database ID.", + "file": "MetastoreClient/DeleteDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteDatabase Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteLock_sync", - "title": "biglake DeleteLock Sample", - "description": "DeleteLock deletes an existing lock specified by the lock ID.", - "file": "MetastoreClient/DeleteLock/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLock", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.DeleteLock", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteLock", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteLock" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteLockRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteLockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "DeleteLock", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteLock", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "DeleteLock" }, + "description": "DeleteLock deletes an existing lock specified by the lock ID.", + "file": "MetastoreClient/DeleteLock/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteLock_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteLock Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteTable_sync", - "title": "biglake DeleteTable Sample", - "description": "DeleteTable deletes an existing table specified by the table ID.", - "file": "MetastoreClient/DeleteTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.DeleteTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "DeleteTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.DeleteTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.DeleteTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "DeleteTable", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.DeleteTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "DeleteTable" }, + "description": "DeleteTable deletes an existing table specified by the table ID.", + "file": "MetastoreClient/DeleteTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_DeleteTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake DeleteTable Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_GetCatalog_sync", - "title": "biglake GetCatalog Sample", - "description": "GetCatalog gets the catalog specified by the resource name.", - "file": "MetastoreClient/GetCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCatalog", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.GetCatalog", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.GetCatalog", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "GetCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.GetCatalogRequest", - "name": "req" + "name": "req", + "type": "biglakepb.GetCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Catalog", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "GetCatalog", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.GetCatalog", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "GetCatalog" }, + "description": "GetCatalog gets the catalog specified by the resource name.", + "file": "MetastoreClient/GetCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_GetCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake GetCatalog Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_GetDatabase_sync", - "title": "biglake GetDatabase Sample", - "description": "GetDatabase gets the database specified by the resource name.", - "file": "MetastoreClient/GetDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.GetDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.GetDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "GetDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.GetDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.GetDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "GetDatabase", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.GetDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "GetDatabase" }, + "description": "GetDatabase gets the database specified by the resource name.", + "file": "MetastoreClient/GetDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_GetDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake GetDatabase Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_GetTable_sync", - "title": "biglake GetTable Sample", - "description": "GetTable gets the table specified by the resource name.", - "file": "MetastoreClient/GetTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.GetTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.GetTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "GetTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.GetTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.GetTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "GetTable", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.GetTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "GetTable" }, + "description": "GetTable gets the table specified by the resource name.", + "file": "MetastoreClient/GetTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_GetTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake GetTable Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListCatalogs_sync", - "title": "biglake ListCatalogs Sample", - "description": "ListCatalogs list all catalogs in a specified project.", - "file": "MetastoreClient/ListCatalogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCatalogs", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.ListCatalogs", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListCatalogs", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListCatalogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListCatalogsRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListCatalogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "ListCatalogs", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListCatalogs", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "ListCatalogs" }, + "description": "ListCatalogs list all catalogs in a specified project.", + "file": "MetastoreClient/ListCatalogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListCatalogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListCatalogs Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListDatabases_sync", - "title": "biglake ListDatabases Sample", - "description": "ListDatabases list all databases in a specified catalog.", - "file": "MetastoreClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.ListDatabases", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListDatabases", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListDatabases", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "ListDatabases" }, + "description": "ListDatabases list all databases in a specified catalog.", + "file": "MetastoreClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListDatabases Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListLocks_sync", - "title": "biglake ListLocks Sample", - "description": "ListLocks list all locks in a specified database.", - "file": "MetastoreClient/ListLocks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocks", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.ListLocks", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListLocks", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListLocks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListLocksRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListLocksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LockIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "ListLocks", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListLocks", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "ListLocks" }, + "description": "ListLocks list all locks in a specified database.", + "file": "MetastoreClient/ListLocks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListLocks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListLocks Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListTables_sync", - "title": "biglake ListTables Sample", - "description": "ListTables list all tables in a specified database.", - "file": "MetastoreClient/ListTables/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTables", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.ListTables", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListTables", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "ListTables" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.ListTablesRequest", - "name": "req" + "name": "req", + "type": "biglakepb.ListTablesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TableIterator", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "ListTables", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.ListTables", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "ListTables" }, + "description": "ListTables list all tables in a specified database.", + "file": "MetastoreClient/ListTables/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_ListTables_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake ListTables Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_RenameTable_sync", - "title": "biglake RenameTable Sample", - "description": "RenameTable renames an existing table specified by the table ID.", - "file": "MetastoreClient/RenameTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.RenameTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.RenameTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "RenameTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.RenameTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.RenameTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "RenameTable", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.RenameTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "RenameTable" }, + "description": "RenameTable renames an existing table specified by the table ID.", + "file": "MetastoreClient/RenameTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_RenameTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake RenameTable Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_UpdateDatabase_sync", - "title": "biglake UpdateDatabase Sample", - "description": "UpdateDatabase updates an existing database specified by the database ID.", - "file": "MetastoreClient/UpdateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatabase", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.UpdateDatabase", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.UpdateDatabase", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "UpdateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.UpdateDatabaseRequest", - "name": "req" + "name": "req", + "type": "biglakepb.UpdateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Database", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "UpdateDatabase", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.UpdateDatabase", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "UpdateDatabase" }, + "description": "UpdateDatabase updates an existing database specified by the database ID.", + "file": "MetastoreClient/UpdateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_UpdateDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake UpdateDatabase Sample" }, { - "regionTag": "biglake_v1alpha1_generated_MetastoreService_UpdateTable_sync", - "title": "biglake UpdateTable Sample", - "description": "UpdateTable updates an existing table specified by the table ID.", - "file": "MetastoreClient/UpdateTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTable", + "client": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient", + "shortName": "MetastoreClient" + }, "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient.UpdateTable", + "method": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.UpdateTable", + "service": { + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService", + "shortName": "MetastoreService" + }, + "shortName": "UpdateTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "biglakepb.UpdateTableRequest", - "name": "req" + "name": "req", + "type": "biglakepb.UpdateTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*biglakepb.Table", - "client": { - "shortName": "MetastoreClient", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreClient" - }, - "method": { - "shortName": "UpdateTable", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.UpdateTable", - "service": { - "shortName": "MetastoreService", - "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService" - } - } + "shortName": "UpdateTable" }, + "description": "UpdateTable updates an existing table specified by the table ID.", + "file": "MetastoreClient/UpdateTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "biglake_v1alpha1_generated_MetastoreService_UpdateTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "biglake UpdateTable Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json b/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json index 69e46fc97d88..f4f72600f22a 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json +++ b/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json @@ -1,382 +1,382 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/connection/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.connection.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/connection/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_CreateConnection_sync", - "title": "bigqueryconnection CreateConnection Sample", - "description": "CreateConnection creates a new connection.", - "file": "Client/CreateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.CreateConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "CreateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.CreateConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.CreateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "CreateConnection", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "CreateConnection" }, + "description": "CreateConnection creates a new connection.", + "file": "Client/CreateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_CreateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection CreateConnection Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_sync", - "title": "bigqueryconnection DeleteConnection Sample", - "description": "DeleteConnection deletes connection and associated credential.", - "file": "Client/DeleteConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.DeleteConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "DeleteConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.DeleteConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.DeleteConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "DeleteConnection", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "DeleteConnection" }, + "description": "DeleteConnection deletes connection and associated credential.", + "file": "Client/DeleteConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection DeleteConnection Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetConnection_sync", - "title": "bigqueryconnection GetConnection Sample", - "description": "GetConnection returns specified connection.", - "file": "Client/GetConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.GetConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.GetConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "GetConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.GetConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.GetConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "GetConnection", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.GetConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "GetConnection" }, + "description": "GetConnection returns specified connection.", + "file": "Client/GetConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection GetConnection Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_sync", - "title": "bigqueryconnection GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicy", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection GetIamPolicy Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_ListConnections_sync", - "title": "bigqueryconnection ListConnections Sample", - "description": "ListConnections returns a list of connections in the given project.", - "file": "Client/ListConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnections", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.ListConnections", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.ListConnections", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "ListConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.ListConnectionsRequest", - "name": "req" + "name": "req", + "type": "connectionpb.ListConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.ListConnections", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "ListConnections" }, + "description": "ListConnections returns a list of connections in the given project.", + "file": "Client/ListConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_ListConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection ListConnections Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_sync", - "title": "bigqueryconnection SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicy", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection SetIamPolicy Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_sync", - "title": "bigqueryconnection TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissions", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection TestIamPermissions Sample" }, { - "regionTag": "bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_sync", - "title": "bigqueryconnection UpdateConnection Sample", - "description": "UpdateConnection updates the specified connection. For security reasons, also resets\ncredential if connection properties are in the update field mask.", - "file": "Client/UpdateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1.Client.UpdateConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "UpdateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.UpdateConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.UpdateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1.Client" - }, - "method": { - "shortName": "UpdateConnection", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1.ConnectionService" - } - } + "shortName": "UpdateConnection" }, + "description": "UpdateConnection updates the specified connection. For security reasons, also resets\ncredential if connection properties are in the update field mask.", + "file": "Client/UpdateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection UpdateConnection Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json b/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json index 58709130fef9..617a822f0c17 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json +++ b/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json @@ -1,427 +1,427 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/connection/apiv1beta1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.connection.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/connection/apiv1beta1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_CreateConnection_sync", - "title": "bigqueryconnection CreateConnection Sample", - "description": "CreateConnection creates a new connection.", - "file": "Client/CreateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.CreateConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "CreateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.CreateConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.CreateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "CreateConnection", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "CreateConnection" }, + "description": "CreateConnection creates a new connection.", + "file": "Client/CreateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_CreateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection CreateConnection Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_DeleteConnection_sync", - "title": "bigqueryconnection DeleteConnection Sample", - "description": "DeleteConnection deletes connection and associated credential.", - "file": "Client/DeleteConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.DeleteConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.DeleteConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "DeleteConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.DeleteConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.DeleteConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "DeleteConnection", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.DeleteConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "DeleteConnection" }, + "description": "DeleteConnection deletes connection and associated credential.", + "file": "Client/DeleteConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_DeleteConnection_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection DeleteConnection Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_GetConnection_sync", - "title": "bigqueryconnection GetConnection Sample", - "description": "GetConnection returns specified connection.", - "file": "Client/GetConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.GetConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "GetConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.GetConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.GetConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "GetConnection", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "GetConnection" }, + "description": "GetConnection returns specified connection.", + "file": "Client/GetConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_GetConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection GetConnection Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_GetIamPolicy_sync", - "title": "bigqueryconnection GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.GetIamPolicy", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection GetIamPolicy Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_ListConnections_sync", - "title": "bigqueryconnection ListConnections Sample", - "description": "ListConnections returns a list of connections in the given project.", - "file": "Client/ListConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnections", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.ListConnections", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "ListConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.ListConnectionsRequest", - "name": "req" + "name": "req", + "type": "connectionpb.ListConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.ListConnectionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "ListConnections" }, + "description": "ListConnections returns a list of connections in the given project.", + "file": "Client/ListConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_ListConnections_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection ListConnections Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_SetIamPolicy_sync", - "title": "bigqueryconnection SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.SetIamPolicy", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection SetIamPolicy Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_TestIamPermissions_sync", - "title": "bigqueryconnection TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.TestIamPermissions", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection TestIamPermissions Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_UpdateConnection_sync", - "title": "bigqueryconnection UpdateConnection Sample", - "description": "UpdateConnection updates the specified connection. For security reasons, also resets\ncredential if connection properties are in the update field mask.", - "file": "Client/UpdateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnection", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.UpdateConnection", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "UpdateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.UpdateConnectionRequest", - "name": "req" + "name": "req", + "type": "connectionpb.UpdateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*connectionpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "UpdateConnection", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "UpdateConnection" }, + "description": "UpdateConnection updates the specified connection. For security reasons, also resets\ncredential if connection properties are in the update field mask.", + "file": "Client/UpdateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_UpdateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection UpdateConnection Sample" }, { - "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_UpdateConnectionCredential_sync", - "title": "bigqueryconnection UpdateConnectionCredential Sample", - "description": "UpdateConnectionCredential sets the credential for the specified connection.", - "file": "Client/UpdateConnectionCredential/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnectionCredential", + "client": { + "fullName": "google.cloud.bigquery.connection.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.connection.v1beta1.Client.UpdateConnectionCredential", + "method": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential", + "service": { + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "shortName": "ConnectionService" + }, + "shortName": "UpdateConnectionCredential" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "connectionpb.UpdateConnectionCredentialRequest", - "name": "req" + "name": "req", + "type": "connectionpb.UpdateConnectionCredentialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.connection.v1beta1.Client" - }, - "method": { - "shortName": "UpdateConnectionCredential", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential", - "service": { - "shortName": "ConnectionService", - "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService" - } - } + "shortName": "UpdateConnectionCredential" }, + "description": "UpdateConnectionCredential sets the credential for the specified connection.", + "file": "Client/UpdateConnectionCredential/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryconnection_v1beta1_generated_ConnectionService_UpdateConnectionCredential_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryconnection UpdateConnectionCredential Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json index 6e22b1d183b7..30d8e42da1d2 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json @@ -1,795 +1,795 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/dataexchange/apiv1beta1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.dataexchange.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/dataexchange/apiv1beta1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_CreateDataExchange_sync", - "title": "analyticshub CreateDataExchange Sample", - "description": "CreateDataExchange creates a new data exchange.", - "file": "AnalyticsHubClient/CreateDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataExchange", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.CreateDataExchange", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "CreateDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.CreateDataExchangeRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.CreateDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.DataExchange", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "CreateDataExchange", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "CreateDataExchange" }, + "description": "CreateDataExchange creates a new data exchange.", + "file": "AnalyticsHubClient/CreateDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_CreateDataExchange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub CreateDataExchange Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_CreateListing_sync", - "title": "analyticshub CreateListing Sample", - "description": "CreateListing creates a new listing.", - "file": "AnalyticsHubClient/CreateListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateListing", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.CreateListing", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "CreateListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.CreateListingRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.CreateListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.Listing", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "CreateListing", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.CreateListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "CreateListing" }, + "description": "CreateListing creates a new listing.", + "file": "AnalyticsHubClient/CreateListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_CreateListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub CreateListing Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_DeleteDataExchange_sync", - "title": "analyticshub DeleteDataExchange Sample", - "description": "DeleteDataExchange deletes an existing data exchange.", - "file": "AnalyticsHubClient/DeleteDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataExchange", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.DeleteDataExchange", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "DeleteDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.DeleteDataExchangeRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.DeleteDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "DeleteDataExchange", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "DeleteDataExchange" }, + "description": "DeleteDataExchange deletes an existing data exchange.", + "file": "AnalyticsHubClient/DeleteDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_DeleteDataExchange_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub DeleteDataExchange Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_DeleteListing_sync", - "title": "analyticshub DeleteListing Sample", - "description": "DeleteListing deletes a listing.", - "file": "AnalyticsHubClient/DeleteListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteListing", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.DeleteListing", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "DeleteListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.DeleteListingRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.DeleteListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "DeleteListing", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.DeleteListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "DeleteListing" }, + "description": "DeleteListing deletes a listing.", + "file": "AnalyticsHubClient/DeleteListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_DeleteListing_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub DeleteListing Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetDataExchange_sync", - "title": "analyticshub GetDataExchange Sample", - "description": "GetDataExchange gets the details of a data exchange.", - "file": "AnalyticsHubClient/GetDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataExchange", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.GetDataExchange", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.GetDataExchangeRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.GetDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.DataExchange", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "GetDataExchange", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "GetDataExchange" }, + "description": "GetDataExchange gets the details of a data exchange.", + "file": "AnalyticsHubClient/GetDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetDataExchange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetDataExchange Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetIamPolicy_sync", - "title": "analyticshub GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy.", - "file": "AnalyticsHubClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetIamPolicy", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy.", + "file": "AnalyticsHubClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetIamPolicy Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetListing_sync", - "title": "analyticshub GetListing Sample", - "description": "GetListing gets the details of a listing.", - "file": "AnalyticsHubClient/GetListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetListing", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.GetListing", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "GetListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.GetListingRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.GetListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.Listing", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "GetListing", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.GetListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "GetListing" }, + "description": "GetListing gets the details of a listing.", + "file": "AnalyticsHubClient/GetListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetListing Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetLocation_sync", - "title": "analyticshub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AnalyticsHubClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AnalyticsHubClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub GetLocation Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListDataExchanges_sync", - "title": "analyticshub ListDataExchanges Sample", - "description": "ListDataExchanges lists all data exchanges in a given project and location.", - "file": "AnalyticsHubClient/ListDataExchanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataExchanges", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.ListDataExchanges", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListDataExchanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.ListDataExchangesRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.ListDataExchangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataExchangeIterator", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "ListDataExchanges", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListDataExchanges", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "ListDataExchanges" }, + "description": "ListDataExchanges lists all data exchanges in a given project and location.", + "file": "AnalyticsHubClient/ListDataExchanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListDataExchanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListDataExchanges Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListListings_sync", - "title": "analyticshub ListListings Sample", - "description": "ListListings lists all listings in a given project and location.", - "file": "AnalyticsHubClient/ListListings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListListings", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.ListListings", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListListings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.ListListingsRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.ListListingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListingIterator", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "ListListings", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListListings", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "ListListings" }, + "description": "ListListings lists all listings in a given project and location.", + "file": "AnalyticsHubClient/ListListings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListListings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListListings Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListLocations_sync", - "title": "analyticshub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AnalyticsHubClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AnalyticsHubClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListLocations Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListOrgDataExchanges_sync", - "title": "analyticshub ListOrgDataExchanges Sample", - "description": "ListOrgDataExchanges lists all data exchanges from projects in a given organization and\nlocation.", - "file": "AnalyticsHubClient/ListOrgDataExchanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrgDataExchanges", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.ListOrgDataExchanges", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "ListOrgDataExchanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.ListOrgDataExchangesRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.ListOrgDataExchangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataExchangeIterator", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "ListOrgDataExchanges", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.ListOrgDataExchanges", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "ListOrgDataExchanges" }, + "description": "ListOrgDataExchanges lists all data exchanges from projects in a given organization and\nlocation.", + "file": "AnalyticsHubClient/ListOrgDataExchanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_ListOrgDataExchanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub ListOrgDataExchanges Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_SetIamPolicy_sync", - "title": "analyticshub SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy.", - "file": "AnalyticsHubClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SetIamPolicy", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy.", + "file": "AnalyticsHubClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub SetIamPolicy Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_SubscribeListing_sync", - "title": "analyticshub SubscribeListing Sample", - "description": "SubscribeListing subscribes to a listing.\n\nCurrently, with Analytics Hub, you can create listings that\nreference only BigQuery datasets.\nUpon subscription to a listing for a BigQuery dataset, Analytics Hub\ncreates a linked dataset in the subscriber's project.", - "file": "AnalyticsHubClient/SubscribeListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubscribeListing", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.SubscribeListing", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "SubscribeListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.SubscribeListingRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.SubscribeListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.SubscribeListingResponse", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "SubscribeListing", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.SubscribeListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "SubscribeListing" }, + "description": "SubscribeListing subscribes to a listing.\n\nCurrently, with Analytics Hub, you can create listings that\nreference only BigQuery datasets.\nUpon subscription to a listing for a BigQuery dataset, Analytics Hub\ncreates a linked dataset in the subscriber's project.", + "file": "AnalyticsHubClient/SubscribeListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_SubscribeListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub SubscribeListing Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_TestIamPermissions_sync", - "title": "analyticshub TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has.", - "file": "AnalyticsHubClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.TestIamPermissions", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has.", + "file": "AnalyticsHubClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub TestIamPermissions Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_UpdateDataExchange_sync", - "title": "analyticshub UpdateDataExchange Sample", - "description": "UpdateDataExchange updates an existing data exchange.", - "file": "AnalyticsHubClient/UpdateDataExchange/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataExchange", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.UpdateDataExchange", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "UpdateDataExchange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.UpdateDataExchangeRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.UpdateDataExchangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.DataExchange", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "UpdateDataExchange", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateDataExchange", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "UpdateDataExchange" }, + "description": "UpdateDataExchange updates an existing data exchange.", + "file": "AnalyticsHubClient/UpdateDataExchange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_UpdateDataExchange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub UpdateDataExchange Sample" }, { - "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_UpdateListing_sync", - "title": "analyticshub UpdateListing Sample", - "description": "UpdateListing updates an existing listing.", - "file": "AnalyticsHubClient/UpdateListing/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateListing", + "client": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient", + "shortName": "AnalyticsHubClient" + }, "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient.UpdateListing", + "method": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing", + "service": { + "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService", + "shortName": "AnalyticsHubService" + }, + "shortName": "UpdateListing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataexchangepb.UpdateListingRequest", - "name": "req" + "name": "req", + "type": "dataexchangepb.UpdateListingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataexchangepb.Listing", - "client": { - "shortName": "AnalyticsHubClient", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubClient" - }, - "method": { - "shortName": "UpdateListing", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService.UpdateListing", - "service": { - "shortName": "AnalyticsHubService", - "fullName": "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService" - } - } + "shortName": "UpdateListing" }, + "description": "UpdateListing updates an existing listing.", + "file": "AnalyticsHubClient/UpdateListing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "analyticshub_v1beta1_generated_AnalyticsHubService_UpdateListing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "analyticshub UpdateListing Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json b/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json index 8bcd3832a54e..713305b4e26a 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json @@ -1,428 +1,428 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/datapolicies/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.datapolicies.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/datapolicies/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_CreateDataPolicy_sync", - "title": "bigquerydatapolicy CreateDataPolicy Sample", - "description": "CreateDataPolicy creates a new data policy under a project with the given `dataPolicyId`\n(used as the display name), policy tag, and data policy type.", - "file": "DataPolicyClient/CreateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.CreateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.CreateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "CreateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.CreateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.CreateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "CreateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.CreateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "CreateDataPolicy" }, + "description": "CreateDataPolicy creates a new data policy under a project with the given `dataPolicyId`\n(used as the display name), policy tag, and data policy type.", + "file": "DataPolicyClient/CreateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_CreateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy CreateDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_DeleteDataPolicy_sync", - "title": "bigquerydatapolicy DeleteDataPolicy Sample", - "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", - "file": "DataPolicyClient/DeleteDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.DeleteDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.DeleteDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "DeleteDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.DeleteDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.DeleteDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "DeleteDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.DeleteDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "DeleteDataPolicy" }, + "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", + "file": "DataPolicyClient/DeleteDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_DeleteDataPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy DeleteDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_GetDataPolicy_sync", - "title": "bigquerydatapolicy GetDataPolicy Sample", - "description": "GetDataPolicy gets the data policy specified by its resource name.", - "file": "DataPolicyClient/GetDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.GetDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.GetDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.GetDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "GetDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "GetDataPolicy" }, + "description": "GetDataPolicy gets the data policy specified by its resource name.", + "file": "DataPolicyClient/GetDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_GetDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_GetIamPolicy_sync", - "title": "bigquerydatapolicy GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.GetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_ListDataPolicies_sync", - "title": "bigquerydatapolicy ListDataPolicies Sample", - "description": "ListDataPolicies list all of the data policies in the specified parent project.", - "file": "DataPolicyClient/ListDataPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataPolicies", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.ListDataPolicies", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.ListDataPolicies", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "ListDataPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.ListDataPoliciesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.ListDataPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataPolicyIterator", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "ListDataPolicies", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.ListDataPolicies", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "ListDataPolicies" }, + "description": "ListDataPolicies list all of the data policies in the specified parent project.", + "file": "DataPolicyClient/ListDataPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_ListDataPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy ListDataPolicies Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_RenameDataPolicy_sync", - "title": "bigquerydatapolicy RenameDataPolicy Sample", - "description": "RenameDataPolicy renames the id (display name) of the specified data policy.", - "file": "DataPolicyClient/RenameDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.RenameDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.RenameDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "RenameDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.RenameDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.RenameDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "RenameDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.RenameDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "RenameDataPolicy" }, + "description": "RenameDataPolicy renames the id (display name) of the specified data policy.", + "file": "DataPolicyClient/RenameDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_RenameDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy RenameDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_SetIamPolicy_sync", - "title": "bigquerydatapolicy SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.SetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy SetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_TestIamPermissions_sync", - "title": "bigquerydatapolicy TestIamPermissions Sample", - "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", - "file": "DataPolicyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.TestIamPermissions", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", + "file": "DataPolicyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy TestIamPermissions Sample" }, { - "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_UpdateDataPolicy_sync", - "title": "bigquerydatapolicy UpdateDataPolicy Sample", - "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", - "file": "DataPolicyClient/UpdateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient.UpdateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.UpdateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "UpdateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.UpdateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.UpdateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyClient" - }, - "method": { - "shortName": "UpdateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService.UpdateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1.DataPolicyService" - } - } + "shortName": "UpdateDataPolicy" }, + "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", + "file": "DataPolicyClient/UpdateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1_generated_DataPolicyService_UpdateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy UpdateDataPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json index dfba3b468696..8948bccfb893 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json @@ -1,382 +1,382 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/datapolicies/apiv1beta1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.datapolicies.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/datapolicies/apiv1beta1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_CreateDataPolicy_sync", - "title": "bigquerydatapolicy CreateDataPolicy Sample", - "description": "CreateDataPolicy creates a new data policy under a project with the given `dataPolicyId`\n(used as the display name), policy tag, and data policy type.", - "file": "DataPolicyClient/CreateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.CreateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.CreateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "CreateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.CreateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.CreateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "CreateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.CreateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "CreateDataPolicy" }, + "description": "CreateDataPolicy creates a new data policy under a project with the given `dataPolicyId`\n(used as the display name), policy tag, and data policy type.", + "file": "DataPolicyClient/CreateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_CreateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy CreateDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_DeleteDataPolicy_sync", - "title": "bigquerydatapolicy DeleteDataPolicy Sample", - "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", - "file": "DataPolicyClient/DeleteDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.DeleteDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.DeleteDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "DeleteDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.DeleteDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.DeleteDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "DeleteDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.DeleteDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "DeleteDataPolicy" }, + "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", + "file": "DataPolicyClient/DeleteDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_DeleteDataPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy DeleteDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_GetDataPolicy_sync", - "title": "bigquerydatapolicy GetDataPolicy Sample", - "description": "GetDataPolicy gets the data policy specified by its resource name.", - "file": "DataPolicyClient/GetDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.GetDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.GetDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.GetDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.GetDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "GetDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.GetDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "GetDataPolicy" }, + "description": "GetDataPolicy gets the data policy specified by its resource name.", + "file": "DataPolicyClient/GetDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_GetDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_GetIamPolicy_sync", - "title": "bigquerydatapolicy GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.GetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_ListDataPolicies_sync", - "title": "bigquerydatapolicy ListDataPolicies Sample", - "description": "ListDataPolicies list all of the data policies in the specified parent project.", - "file": "DataPolicyClient/ListDataPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataPolicies", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.ListDataPolicies", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.ListDataPolicies", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "ListDataPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.ListDataPoliciesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.ListDataPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataPolicyIterator", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "ListDataPolicies", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.ListDataPolicies", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "ListDataPolicies" }, + "description": "ListDataPolicies list all of the data policies in the specified parent project.", + "file": "DataPolicyClient/ListDataPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_ListDataPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy ListDataPolicies Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_SetIamPolicy_sync", - "title": "bigquerydatapolicy SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.SetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy SetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_TestIamPermissions_sync", - "title": "bigquerydatapolicy TestIamPermissions Sample", - "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", - "file": "DataPolicyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.TestIamPermissions", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", + "file": "DataPolicyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy TestIamPermissions Sample" }, { - "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_UpdateDataPolicy_sync", - "title": "bigquerydatapolicy UpdateDataPolicy Sample", - "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", - "file": "DataPolicyClient/UpdateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient.UpdateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.UpdateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "UpdateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.UpdateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.UpdateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyClient" - }, - "method": { - "shortName": "UpdateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService.UpdateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v1beta1.DataPolicyService" - } - } + "shortName": "UpdateDataPolicy" }, + "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", + "file": "DataPolicyClient/UpdateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v1beta1_generated_DataPolicyService_UpdateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy UpdateDataPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv2/snippet_metadata.google.cloud.bigquery.datapolicies.v2.json b/internal/generated/snippets/bigquery/datapolicies/apiv2/snippet_metadata.google.cloud.bigquery.datapolicies.v2.json index 1a9aa9b04a5c..26157ab1d096 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv2/snippet_metadata.google.cloud.bigquery.datapolicies.v2.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv2/snippet_metadata.google.cloud.bigquery.datapolicies.v2.json @@ -1,474 +1,474 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/datapolicies/apiv2", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.datapolicies.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/datapolicies/apiv2", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_AddGrantees_sync", - "title": "bigquerydatapolicy AddGrantees Sample", - "description": "AddGrantees adds new grantees to a data policy.\nThe new grantees will be added to the existing grantees.\nIf the request contains a duplicate grantee, the grantee will be ignored.\nIf the request contains a grantee that already exists, the grantee will be\nignored.", - "file": "DataPolicyClient/AddGrantees/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddGrantees", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.AddGrantees", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.AddGrantees", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "AddGrantees" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.AddGranteesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.AddGranteesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "AddGrantees", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.AddGrantees", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "AddGrantees" }, + "description": "AddGrantees adds new grantees to a data policy.\nThe new grantees will be added to the existing grantees.\nIf the request contains a duplicate grantee, the grantee will be ignored.\nIf the request contains a grantee that already exists, the grantee will be\nignored.", + "file": "DataPolicyClient/AddGrantees/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_AddGrantees_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy AddGrantees Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_CreateDataPolicy_sync", - "title": "bigquerydatapolicy CreateDataPolicy Sample", - "description": "CreateDataPolicy creates a new data policy under a project with the given `data_policy_id`\n(used as the display name), and data policy type.", - "file": "DataPolicyClient/CreateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.CreateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.CreateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "CreateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.CreateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.CreateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "CreateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.CreateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "CreateDataPolicy" }, + "description": "CreateDataPolicy creates a new data policy under a project with the given `data_policy_id`\n(used as the display name), and data policy type.", + "file": "DataPolicyClient/CreateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_CreateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy CreateDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_DeleteDataPolicy_sync", - "title": "bigquerydatapolicy DeleteDataPolicy Sample", - "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", - "file": "DataPolicyClient/DeleteDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.DeleteDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.DeleteDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "DeleteDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.DeleteDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.DeleteDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "DeleteDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.DeleteDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "DeleteDataPolicy" }, + "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", + "file": "DataPolicyClient/DeleteDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_DeleteDataPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy DeleteDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_GetDataPolicy_sync", - "title": "bigquerydatapolicy GetDataPolicy Sample", - "description": "GetDataPolicy gets the data policy specified by its resource name.", - "file": "DataPolicyClient/GetDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.GetDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.GetDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.GetDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.GetDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "GetDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.GetDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "GetDataPolicy" }, + "description": "GetDataPolicy gets the data policy specified by its resource name.", + "file": "DataPolicyClient/GetDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_GetDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_GetIamPolicy_sync", - "title": "bigquerydatapolicy GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.GetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_ListDataPolicies_sync", - "title": "bigquerydatapolicy ListDataPolicies Sample", - "description": "ListDataPolicies list all of the data policies in the specified parent project.", - "file": "DataPolicyClient/ListDataPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataPolicies", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.ListDataPolicies", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.ListDataPolicies", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "ListDataPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.ListDataPoliciesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.ListDataPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataPolicyIterator", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "ListDataPolicies", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.ListDataPolicies", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "ListDataPolicies" }, + "description": "ListDataPolicies list all of the data policies in the specified parent project.", + "file": "DataPolicyClient/ListDataPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_ListDataPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy ListDataPolicies Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_RemoveGrantees_sync", - "title": "bigquerydatapolicy RemoveGrantees Sample", - "description": "RemoveGrantees removes grantees from a data policy.\nThe grantees will be removed from the existing grantees.\nIf the request contains a grantee that does not exist, the grantee will be\nignored.", - "file": "DataPolicyClient/RemoveGrantees/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveGrantees", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.RemoveGrantees", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.RemoveGrantees", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "RemoveGrantees" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.RemoveGranteesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.RemoveGranteesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "RemoveGrantees", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.RemoveGrantees", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "RemoveGrantees" }, + "description": "RemoveGrantees removes grantees from a data policy.\nThe grantees will be removed from the existing grantees.\nIf the request contains a grantee that does not exist, the grantee will be\nignored.", + "file": "DataPolicyClient/RemoveGrantees/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_RemoveGrantees_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy RemoveGrantees Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_SetIamPolicy_sync", - "title": "bigquerydatapolicy SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.SetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy SetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_TestIamPermissions_sync", - "title": "bigquerydatapolicy TestIamPermissions Sample", - "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", - "file": "DataPolicyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.TestIamPermissions", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", + "file": "DataPolicyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy TestIamPermissions Sample" }, { - "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_UpdateDataPolicy_sync", - "title": "bigquerydatapolicy UpdateDataPolicy Sample", - "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", - "file": "DataPolicyClient/UpdateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient.UpdateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.UpdateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "UpdateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.UpdateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.UpdateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyClient" - }, - "method": { - "shortName": "UpdateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService.UpdateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2.DataPolicyService" - } - } + "shortName": "UpdateDataPolicy" }, + "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", + "file": "DataPolicyClient/UpdateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2_generated_DataPolicyService_UpdateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy UpdateDataPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv2beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v2beta1.json b/internal/generated/snippets/bigquery/datapolicies/apiv2beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v2beta1.json index bdf652c7b23e..efd8b66b7056 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv2beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v2beta1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv2beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v2beta1.json @@ -1,474 +1,474 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/datapolicies/apiv2beta1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.datapolicies.v2beta1", "version": "v2beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/datapolicies/apiv2beta1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_AddGrantees_sync", - "title": "bigquerydatapolicy AddGrantees Sample", - "description": "AddGrantees adds new grantees to a data policy.\nThe new grantees will be added to the existing grantees.\nIf the request contains a duplicate grantee, the grantee will be ignored.\nIf the request contains a grantee that already exists, the grantee will be\nignored.", - "file": "DataPolicyClient/AddGrantees/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddGrantees", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.AddGrantees", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.AddGrantees", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "AddGrantees" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.AddGranteesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.AddGranteesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "AddGrantees", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.AddGrantees", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "AddGrantees" }, + "description": "AddGrantees adds new grantees to a data policy.\nThe new grantees will be added to the existing grantees.\nIf the request contains a duplicate grantee, the grantee will be ignored.\nIf the request contains a grantee that already exists, the grantee will be\nignored.", + "file": "DataPolicyClient/AddGrantees/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_AddGrantees_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy AddGrantees Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_CreateDataPolicy_sync", - "title": "bigquerydatapolicy CreateDataPolicy Sample", - "description": "CreateDataPolicy creates a new data policy under a project with the given `data_policy_id`\n(used as the display name), and data policy type.", - "file": "DataPolicyClient/CreateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.CreateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.CreateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "CreateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.CreateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.CreateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "CreateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.CreateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "CreateDataPolicy" }, + "description": "CreateDataPolicy creates a new data policy under a project with the given `data_policy_id`\n(used as the display name), and data policy type.", + "file": "DataPolicyClient/CreateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_CreateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy CreateDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_DeleteDataPolicy_sync", - "title": "bigquerydatapolicy DeleteDataPolicy Sample", - "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", - "file": "DataPolicyClient/DeleteDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.DeleteDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.DeleteDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "DeleteDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.DeleteDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.DeleteDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "DeleteDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.DeleteDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "DeleteDataPolicy" }, + "description": "DeleteDataPolicy deletes the data policy specified by its resource name.", + "file": "DataPolicyClient/DeleteDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_DeleteDataPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy DeleteDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_GetDataPolicy_sync", - "title": "bigquerydatapolicy GetDataPolicy Sample", - "description": "GetDataPolicy gets the data policy specified by its resource name.", - "file": "DataPolicyClient/GetDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.GetDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.GetDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.GetDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.GetDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "GetDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.GetDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "GetDataPolicy" }, + "description": "GetDataPolicy gets the data policy specified by its resource name.", + "file": "DataPolicyClient/GetDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_GetDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetDataPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_GetIamPolicy_sync", - "title": "bigquerydatapolicy GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.GetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy GetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_ListDataPolicies_sync", - "title": "bigquerydatapolicy ListDataPolicies Sample", - "description": "ListDataPolicies list all of the data policies in the specified parent project.", - "file": "DataPolicyClient/ListDataPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataPolicies", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.ListDataPolicies", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.ListDataPolicies", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "ListDataPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.ListDataPoliciesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.ListDataPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataPolicyIterator", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "ListDataPolicies", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.ListDataPolicies", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "ListDataPolicies" }, + "description": "ListDataPolicies list all of the data policies in the specified parent project.", + "file": "DataPolicyClient/ListDataPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_ListDataPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy ListDataPolicies Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_RemoveGrantees_sync", - "title": "bigquerydatapolicy RemoveGrantees Sample", - "description": "RemoveGrantees removes grantees from a data policy.\nThe grantees will be removed from the existing grantees.\nIf the request contains a grantee that does not exist, the grantee will be\nignored.", - "file": "DataPolicyClient/RemoveGrantees/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveGrantees", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.RemoveGrantees", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.RemoveGrantees", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "RemoveGrantees" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.RemoveGranteesRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.RemoveGranteesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "RemoveGrantees", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.RemoveGrantees", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "RemoveGrantees" }, + "description": "RemoveGrantees removes grantees from a data policy.\nThe grantees will be removed from the existing grantees.\nIf the request contains a grantee that does not exist, the grantee will be\nignored.", + "file": "DataPolicyClient/RemoveGrantees/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_RemoveGrantees_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy RemoveGrantees Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_SetIamPolicy_sync", - "title": "bigquerydatapolicy SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for the specified data policy.", - "file": "DataPolicyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.SetIamPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for the specified data policy.", + "file": "DataPolicyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy SetIamPolicy Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_TestIamPermissions_sync", - "title": "bigquerydatapolicy TestIamPermissions Sample", - "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", - "file": "DataPolicyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.TestIamPermissions", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the caller's permission on the specified data policy resource.", + "file": "DataPolicyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy TestIamPermissions Sample" }, { - "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_UpdateDataPolicy_sync", - "title": "bigquerydatapolicy UpdateDataPolicy Sample", - "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", - "file": "DataPolicyClient/UpdateDataPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataPolicy", + "client": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient", + "shortName": "DataPolicyClient" + }, "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient.UpdateDataPolicy", + "method": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.UpdateDataPolicy", + "service": { + "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService", + "shortName": "DataPolicyService" + }, + "shortName": "UpdateDataPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datapoliciespb.UpdateDataPolicyRequest", - "name": "req" + "name": "req", + "type": "datapoliciespb.UpdateDataPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datapoliciespb.DataPolicy", - "client": { - "shortName": "DataPolicyClient", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyClient" - }, - "method": { - "shortName": "UpdateDataPolicy", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService.UpdateDataPolicy", - "service": { - "shortName": "DataPolicyService", - "fullName": "google.cloud.bigquery.datapolicies.v2beta1.DataPolicyService" - } - } + "shortName": "UpdateDataPolicy" }, + "description": "UpdateDataPolicy updates the metadata for an existing data policy. The target data policy\ncan be specified by the resource name.", + "file": "DataPolicyClient/UpdateDataPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatapolicy_v2beta1_generated_DataPolicyService_UpdateDataPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatapolicy UpdateDataPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json b/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json index 368fdc22ce39..cae4de135eb8 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json @@ -1,839 +1,839 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/datatransfer/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.datatransfer.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/datatransfer/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_sync", - "title": "bigquerydatatransfer CheckValidCreds Sample", - "description": "CheckValidCreds returns true if valid credentials exist for the given data source and\nrequesting user.", - "file": "Client/CheckValidCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckValidCreds", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.CheckValidCreds", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.CheckValidCreds", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "CheckValidCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.CheckValidCredsRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.CheckValidCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.CheckValidCredsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "CheckValidCreds", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.CheckValidCreds", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "CheckValidCreds" }, + "description": "CheckValidCreds returns true if valid credentials exist for the given data source and\nrequesting user.", + "file": "Client/CheckValidCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer CheckValidCreds Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_sync", - "title": "bigquerydatatransfer CreateTransferConfig Sample", - "description": "CreateTransferConfig creates a new data transfer configuration.", - "file": "Client/CreateTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTransferConfig", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.CreateTransferConfig", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.CreateTransferConfig", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "CreateTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.CreateTransferConfigRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.CreateTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.TransferConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "CreateTransferConfig", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.CreateTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "CreateTransferConfig" }, + "description": "CreateTransferConfig creates a new data transfer configuration.", + "file": "Client/CreateTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer CreateTransferConfig Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_sync", - "title": "bigquerydatatransfer DeleteTransferConfig Sample", - "description": "DeleteTransferConfig deletes a data transfer configuration, including any associated transfer\nruns and logs.", - "file": "Client/DeleteTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTransferConfig", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.DeleteTransferConfig", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.DeleteTransferConfig", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "DeleteTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.DeleteTransferConfigRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.DeleteTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "DeleteTransferConfig", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.DeleteTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "DeleteTransferConfig" }, + "description": "DeleteTransferConfig deletes a data transfer configuration, including any associated transfer\nruns and logs.", + "file": "Client/DeleteTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer DeleteTransferConfig Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_sync", - "title": "bigquerydatatransfer DeleteTransferRun Sample", - "description": "DeleteTransferRun deletes the specified transfer run.", - "file": "Client/DeleteTransferRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTransferRun", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.DeleteTransferRun", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.DeleteTransferRun", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "DeleteTransferRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.DeleteTransferRunRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.DeleteTransferRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "DeleteTransferRun", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.DeleteTransferRun", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "DeleteTransferRun" }, + "description": "DeleteTransferRun deletes the specified transfer run.", + "file": "Client/DeleteTransferRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer DeleteTransferRun Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_EnrollDataSources_sync", - "title": "bigquerydatatransfer EnrollDataSources Sample", - "description": "EnrollDataSources enroll data sources in a user project. This allows users to create transfer\nconfigurations for these data sources. They will also appear in the\nListDataSources RPC and as such, will appear in the\n[BigQuery UI](https: //console.cloud.google.com/bigquery), and the documents\ncan be found in the public guide for\n[BigQuery Web UI](https: //cloud.google.com/bigquery/bigquery-web-ui) and\n[Data Transfer\nService](https: //cloud.google.com/bigquery/docs/working-with-transfers).", - "file": "Client/EnrollDataSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnrollDataSources", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.EnrollDataSources", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.EnrollDataSources", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "EnrollDataSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.EnrollDataSourcesRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.EnrollDataSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "EnrollDataSources", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.EnrollDataSources", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "EnrollDataSources" }, + "description": "EnrollDataSources enroll data sources in a user project. This allows users to create transfer\nconfigurations for these data sources. They will also appear in the\nListDataSources RPC and as such, will appear in the\n[BigQuery UI](https: //console.cloud.google.com/bigquery), and the documents\ncan be found in the public guide for\n[BigQuery Web UI](https: //cloud.google.com/bigquery/bigquery-web-ui) and\n[Data Transfer\nService](https: //cloud.google.com/bigquery/docs/working-with-transfers).", + "file": "Client/EnrollDataSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_EnrollDataSources_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer EnrollDataSources Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_sync", - "title": "bigquerydatatransfer GetDataSource Sample", - "description": "GetDataSource retrieves a supported data source and returns its settings.", - "file": "Client/GetDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSource", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.GetDataSource", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetDataSource", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.GetDataSourceRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.GetDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "GetDataSource", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetDataSource", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "GetDataSource" }, + "description": "GetDataSource retrieves a supported data source and returns its settings.", + "file": "Client/GetDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer GetDataSource Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetLocation_sync", - "title": "bigquerydatatransfer GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer GetLocation Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_sync", - "title": "bigquerydatatransfer GetTransferConfig Sample", - "description": "GetTransferConfig returns information about a data transfer config.", - "file": "Client/GetTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTransferConfig", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.GetTransferConfig", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetTransferConfig", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.GetTransferConfigRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.GetTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.TransferConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "GetTransferConfig", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "GetTransferConfig" }, + "description": "GetTransferConfig returns information about a data transfer config.", + "file": "Client/GetTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer GetTransferConfig Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_sync", - "title": "bigquerydatatransfer GetTransferRun Sample", - "description": "GetTransferRun returns information about the particular transfer run.", - "file": "Client/GetTransferRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTransferRun", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.GetTransferRun", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetTransferRun", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetTransferRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.GetTransferRunRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.GetTransferRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.TransferRun", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "GetTransferRun", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetTransferRun", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "GetTransferRun" }, + "description": "GetTransferRun returns information about the particular transfer run.", + "file": "Client/GetTransferRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer GetTransferRun Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_sync", - "title": "bigquerydatatransfer ListDataSources Sample", - "description": "ListDataSources lists supported data sources and returns their settings.", - "file": "Client/ListDataSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataSources", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.ListDataSources", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListDataSources", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListDataSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.ListDataSourcesRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.ListDataSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "ListDataSources", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListDataSources", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "ListDataSources" }, + "description": "ListDataSources lists supported data sources and returns their settings.", + "file": "Client/ListDataSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer ListDataSources Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_sync", - "title": "bigquerydatatransfer ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer ListLocations Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_sync", - "title": "bigquerydatatransfer ListTransferConfigs Sample", - "description": "ListTransferConfigs returns information about all transfer configs owned by a project in the\nspecified location.", - "file": "Client/ListTransferConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransferConfigs", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.ListTransferConfigs", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferConfigs", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListTransferConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.ListTransferConfigsRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.ListTransferConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "ListTransferConfigs", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferConfigs", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "ListTransferConfigs" }, + "description": "ListTransferConfigs returns information about all transfer configs owned by a project in the\nspecified location.", + "file": "Client/ListTransferConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer ListTransferConfigs Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_sync", - "title": "bigquerydatatransfer ListTransferLogs Sample", - "description": "ListTransferLogs returns log messages for the transfer run.", - "file": "Client/ListTransferLogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransferLogs", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.ListTransferLogs", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferLogs", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListTransferLogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.ListTransferLogsRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.ListTransferLogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferMessageIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "ListTransferLogs", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferLogs", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "ListTransferLogs" }, + "description": "ListTransferLogs returns log messages for the transfer run.", + "file": "Client/ListTransferLogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer ListTransferLogs Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_sync", - "title": "bigquerydatatransfer ListTransferRuns Sample", - "description": "ListTransferRuns returns information about running and completed transfer runs.", - "file": "Client/ListTransferRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransferRuns", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.ListTransferRuns", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferRuns", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListTransferRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.ListTransferRunsRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.ListTransferRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferRunIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "ListTransferRuns", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferRuns", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "ListTransferRuns" }, + "description": "ListTransferRuns returns information about running and completed transfer runs.", + "file": "Client/ListTransferRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer ListTransferRuns Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_sync", - "title": "bigquerydatatransfer ScheduleTransferRuns Sample", - "description": "ScheduleTransferRuns creates transfer runs for a time range [start_time, end_time].\nFor each date - or whatever granularity the data source supports - in the\nrange, one transfer run is created.\nNote that runs are created per UTC time in the time range.\nDEPRECATED: use StartManualTransferRuns instead.\n\n\nDeprecated: ScheduleTransferRuns may be removed in a future version.", - "file": "Client/ScheduleTransferRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ScheduleTransferRuns", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.ScheduleTransferRuns", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ScheduleTransferRuns", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ScheduleTransferRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.ScheduleTransferRunsRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.ScheduleTransferRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.ScheduleTransferRunsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "ScheduleTransferRuns", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ScheduleTransferRuns", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "ScheduleTransferRuns" }, + "description": "ScheduleTransferRuns creates transfer runs for a time range [start_time, end_time].\nFor each date - or whatever granularity the data source supports - in the\nrange, one transfer run is created.\nNote that runs are created per UTC time in the time range.\nDEPRECATED: use StartManualTransferRuns instead.\n\n\nDeprecated: ScheduleTransferRuns may be removed in a future version.", + "file": "Client/ScheduleTransferRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer ScheduleTransferRuns Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_StartManualTransferRuns_sync", - "title": "bigquerydatatransfer StartManualTransferRuns Sample", - "description": "StartManualTransferRuns start manual transfer runs to be executed now with schedule_time equal to\ncurrent time. The transfer runs can be created for a time range where the\nrun_time is between start_time (inclusive) and end_time (exclusive), or for\na specific run_time.", - "file": "Client/StartManualTransferRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartManualTransferRuns", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.StartManualTransferRuns", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.StartManualTransferRuns", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "StartManualTransferRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.StartManualTransferRunsRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.StartManualTransferRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.StartManualTransferRunsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "StartManualTransferRuns", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.StartManualTransferRuns", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "StartManualTransferRuns" }, + "description": "StartManualTransferRuns start manual transfer runs to be executed now with schedule_time equal to\ncurrent time. The transfer runs can be created for a time range where the\nrun_time is between start_time (inclusive) and end_time (exclusive), or for\na specific run_time.", + "file": "Client/StartManualTransferRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_StartManualTransferRuns_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer StartManualTransferRuns Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_UnenrollDataSources_sync", - "title": "bigquerydatatransfer UnenrollDataSources Sample", - "description": "UnenrollDataSources unenroll data sources in a user project. This allows users to remove\ntransfer configurations for these data sources. They will no longer appear\nin the ListDataSources RPC and will also no longer appear in the [BigQuery\nUI](https: //console.cloud.google.com/bigquery). Data transfers\nconfigurations of unenrolled data sources will not be scheduled.", - "file": "Client/UnenrollDataSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnenrollDataSources", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.UnenrollDataSources", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UnenrollDataSources", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "UnenrollDataSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.UnenrollDataSourcesRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.UnenrollDataSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "UnenrollDataSources", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UnenrollDataSources", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "UnenrollDataSources" }, + "description": "UnenrollDataSources unenroll data sources in a user project. This allows users to remove\ntransfer configurations for these data sources. They will no longer appear\nin the ListDataSources RPC and will also no longer appear in the [BigQuery\nUI](https: //console.cloud.google.com/bigquery). Data transfers\nconfigurations of unenrolled data sources will not be scheduled.", + "file": "Client/UnenrollDataSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_UnenrollDataSources_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer UnenrollDataSources Sample" }, { - "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_sync", - "title": "bigquerydatatransfer UpdateTransferConfig Sample", - "description": "UpdateTransferConfig updates a data transfer configuration.\nAll fields must be set, even if they are not updated.", - "file": "Client/UpdateTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTransferConfig", + "client": { + "fullName": "google.cloud.bigquery.datatransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.datatransfer.v1.Client.UpdateTransferConfig", + "method": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UpdateTransferConfig", + "service": { + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "UpdateTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datatransferpb.UpdateTransferConfigRequest", - "name": "req" + "name": "req", + "type": "datatransferpb.UpdateTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datatransferpb.TransferConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.datatransfer.v1.Client" - }, - "method": { - "shortName": "UpdateTransferConfig", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UpdateTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService" - } - } + "shortName": "UpdateTransferConfig" }, + "description": "UpdateTransferConfig updates a data transfer configuration.\nAll fields must be set, even if they are not updated.", + "file": "Client/UpdateTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerydatatransfer UpdateTransferConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json b/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json index d61594f355fb..dbdd6c9f42f5 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json +++ b/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json @@ -1,335 +1,335 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/migration/apiv2", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.migration.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/migration/apiv2", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerymigration_v2_generated_MigrationService_CreateMigrationWorkflow_sync", - "title": "bigquerymigration CreateMigrationWorkflow Sample", - "description": "CreateMigrationWorkflow creates a migration workflow.", - "file": "Client/CreateMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.CreateMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.CreateMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "CreateMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.CreateMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.CreateMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.MigrationWorkflow", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "CreateMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.CreateMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "CreateMigrationWorkflow" }, + "description": "CreateMigrationWorkflow creates a migration workflow.", + "file": "Client/CreateMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_CreateMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration CreateMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2_generated_MigrationService_DeleteMigrationWorkflow_sync", - "title": "bigquerymigration DeleteMigrationWorkflow Sample", - "description": "DeleteMigrationWorkflow deletes a migration workflow by name.", - "file": "Client/DeleteMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.DeleteMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.DeleteMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "DeleteMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.DeleteMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.DeleteMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "DeleteMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.DeleteMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "DeleteMigrationWorkflow" }, + "description": "DeleteMigrationWorkflow deletes a migration workflow by name.", + "file": "Client/DeleteMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_DeleteMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration DeleteMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2_generated_MigrationService_GetMigrationSubtask_sync", - "title": "bigquerymigration GetMigrationSubtask Sample", - "description": "GetMigrationSubtask gets a previously created migration subtask.", - "file": "Client/GetMigrationSubtask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMigrationSubtask", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.GetMigrationSubtask", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.GetMigrationSubtask", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "GetMigrationSubtask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.GetMigrationSubtaskRequest", - "name": "req" + "name": "req", + "type": "migrationpb.GetMigrationSubtaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.MigrationSubtask", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "GetMigrationSubtask", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.GetMigrationSubtask", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "GetMigrationSubtask" }, + "description": "GetMigrationSubtask gets a previously created migration subtask.", + "file": "Client/GetMigrationSubtask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_GetMigrationSubtask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration GetMigrationSubtask Sample" }, { - "regionTag": "bigquerymigration_v2_generated_MigrationService_GetMigrationWorkflow_sync", - "title": "bigquerymigration GetMigrationWorkflow Sample", - "description": "GetMigrationWorkflow gets a previously created migration workflow.", - "file": "Client/GetMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.GetMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.GetMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "GetMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.GetMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.GetMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.MigrationWorkflow", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "GetMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.GetMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "GetMigrationWorkflow" }, + "description": "GetMigrationWorkflow gets a previously created migration workflow.", + "file": "Client/GetMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_GetMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration GetMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2_generated_MigrationService_ListMigrationSubtasks_sync", - "title": "bigquerymigration ListMigrationSubtasks Sample", - "description": "ListMigrationSubtasks lists previously created migration subtasks.", - "file": "Client/ListMigrationSubtasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMigrationSubtasks", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.ListMigrationSubtasks", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.ListMigrationSubtasks", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "ListMigrationSubtasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.ListMigrationSubtasksRequest", - "name": "req" + "name": "req", + "type": "migrationpb.ListMigrationSubtasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigrationSubtaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "ListMigrationSubtasks", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.ListMigrationSubtasks", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "ListMigrationSubtasks" }, + "description": "ListMigrationSubtasks lists previously created migration subtasks.", + "file": "Client/ListMigrationSubtasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_ListMigrationSubtasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration ListMigrationSubtasks Sample" }, { - "regionTag": "bigquerymigration_v2_generated_MigrationService_ListMigrationWorkflows_sync", - "title": "bigquerymigration ListMigrationWorkflows Sample", - "description": "ListMigrationWorkflows lists previously created migration workflow.", - "file": "Client/ListMigrationWorkflows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMigrationWorkflows", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.ListMigrationWorkflows", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.ListMigrationWorkflows", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "ListMigrationWorkflows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.ListMigrationWorkflowsRequest", - "name": "req" + "name": "req", + "type": "migrationpb.ListMigrationWorkflowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigrationWorkflowIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "ListMigrationWorkflows", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.ListMigrationWorkflows", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "ListMigrationWorkflows" }, + "description": "ListMigrationWorkflows lists previously created migration workflow.", + "file": "Client/ListMigrationWorkflows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_ListMigrationWorkflows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration ListMigrationWorkflows Sample" }, { - "regionTag": "bigquerymigration_v2_generated_MigrationService_StartMigrationWorkflow_sync", - "title": "bigquerymigration StartMigrationWorkflow Sample", - "description": "StartMigrationWorkflow starts a previously created migration workflow. I.e., the state transitions\nfrom DRAFT to RUNNING. This is a no-op if the state is already RUNNING.\nAn error will be signaled if the state is anything other than DRAFT or\nRUNNING.", - "file": "Client/StartMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2.Client.StartMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService.StartMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "StartMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.StartMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.StartMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2.Client" - }, - "method": { - "shortName": "StartMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService.StartMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2.MigrationService" - } - } + "shortName": "StartMigrationWorkflow" }, + "description": "StartMigrationWorkflow starts a previously created migration workflow. I.e., the state transitions\nfrom DRAFT to RUNNING. This is a no-op if the state is already RUNNING.\nAn error will be signaled if the state is anything other than DRAFT or\nRUNNING.", + "file": "Client/StartMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2_generated_MigrationService_StartMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration StartMigrationWorkflow Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json b/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json index 57cda7cfcfeb..64240bbc5775 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json +++ b/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json @@ -1,381 +1,381 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/migration/apiv2alpha", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.migration.v2alpha", "version": "v2alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/migration/apiv2alpha", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_sync", - "title": "bigquerymigration CreateMigrationWorkflow Sample", - "description": "CreateMigrationWorkflow creates a migration workflow.", - "file": "Client/CreateMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.CreateMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "CreateMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.CreateMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.CreateMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.MigrationWorkflow", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "CreateMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "CreateMigrationWorkflow" }, + "description": "CreateMigrationWorkflow creates a migration workflow.", + "file": "Client/CreateMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_CreateMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration CreateMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_sync", - "title": "bigquerymigration DeleteMigrationWorkflow Sample", - "description": "DeleteMigrationWorkflow deletes a migration workflow by name.", - "file": "Client/DeleteMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.DeleteMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "DeleteMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.DeleteMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.DeleteMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "DeleteMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "DeleteMigrationWorkflow" }, + "description": "DeleteMigrationWorkflow deletes a migration workflow by name.", + "file": "Client/DeleteMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_DeleteMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration DeleteMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_sync", - "title": "bigquerymigration GetMigrationSubtask Sample", - "description": "GetMigrationSubtask gets a previously created migration subtask.", - "file": "Client/GetMigrationSubtask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMigrationSubtask", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.GetMigrationSubtask", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationSubtask", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "GetMigrationSubtask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.GetMigrationSubtaskRequest", - "name": "req" + "name": "req", + "type": "migrationpb.GetMigrationSubtaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.MigrationSubtask", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "GetMigrationSubtask", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationSubtask", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "GetMigrationSubtask" }, + "description": "GetMigrationSubtask gets a previously created migration subtask.", + "file": "Client/GetMigrationSubtask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationSubtask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration GetMigrationSubtask Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_sync", - "title": "bigquerymigration GetMigrationWorkflow Sample", - "description": "GetMigrationWorkflow gets a previously created migration workflow.", - "file": "Client/GetMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.GetMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "GetMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.GetMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.GetMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.MigrationWorkflow", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "GetMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "GetMigrationWorkflow" }, + "description": "GetMigrationWorkflow gets a previously created migration workflow.", + "file": "Client/GetMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_GetMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration GetMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_sync", - "title": "bigquerymigration ListMigrationSubtasks Sample", - "description": "ListMigrationSubtasks lists previously created migration subtasks.", - "file": "Client/ListMigrationSubtasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMigrationSubtasks", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.ListMigrationSubtasks", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasks", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "ListMigrationSubtasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.ListMigrationSubtasksRequest", - "name": "req" + "name": "req", + "type": "migrationpb.ListMigrationSubtasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigrationSubtaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "ListMigrationSubtasks", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasks", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "ListMigrationSubtasks" }, + "description": "ListMigrationSubtasks lists previously created migration subtasks.", + "file": "Client/ListMigrationSubtasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationSubtasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration ListMigrationSubtasks Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_sync", - "title": "bigquerymigration ListMigrationWorkflows Sample", - "description": "ListMigrationWorkflows lists previously created migration workflow.", - "file": "Client/ListMigrationWorkflows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMigrationWorkflows", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.ListMigrationWorkflows", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflows", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "ListMigrationWorkflows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.ListMigrationWorkflowsRequest", - "name": "req" + "name": "req", + "type": "migrationpb.ListMigrationWorkflowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigrationWorkflowIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "ListMigrationWorkflows", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflows", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "ListMigrationWorkflows" }, + "description": "ListMigrationWorkflows lists previously created migration workflow.", + "file": "Client/ListMigrationWorkflows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_ListMigrationWorkflows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration ListMigrationWorkflows Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_sync", - "title": "bigquerymigration StartMigrationWorkflow Sample", - "description": "StartMigrationWorkflow starts a previously created migration workflow. I.e., the state transitions\nfrom DRAFT to RUNNING. This is a no-op if the state is already RUNNING.\nAn error will be signaled if the state is anything other than DRAFT or\nRUNNING.", - "file": "Client/StartMigrationWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartMigrationWorkflow", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.Client.StartMigrationWorkflow", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflow", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "shortName": "MigrationService" + }, + "shortName": "StartMigrationWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.StartMigrationWorkflowRequest", - "name": "req" + "name": "req", + "type": "migrationpb.StartMigrationWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.migration.v2alpha.Client" - }, - "method": { - "shortName": "StartMigrationWorkflow", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflow", - "service": { - "shortName": "MigrationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService" - } - } + "shortName": "StartMigrationWorkflow" }, + "description": "StartMigrationWorkflow starts a previously created migration workflow. I.e., the state transitions\nfrom DRAFT to RUNNING. This is a no-op if the state is already RUNNING.\nAn error will be signaled if the state is anything other than DRAFT or\nRUNNING.", + "file": "Client/StartMigrationWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_MigrationService_StartMigrationWorkflow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration StartMigrationWorkflow Sample" }, { - "regionTag": "bigquerymigration_v2alpha_generated_SqlTranslationService_TranslateQuery_sync", - "title": "bigquerymigration TranslateQuery Sample", - "description": "TranslateQuery translates input queries from source dialects to GoogleSQL.", - "file": "SqlTranslationClient/TranslateQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "TranslateQuery", + "client": { + "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationClient", + "shortName": "SqlTranslationClient" + }, "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationClient.TranslateQuery", + "method": { + "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery", + "service": { + "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationService", + "shortName": "SqlTranslationService" + }, + "shortName": "TranslateQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationpb.TranslateQueryRequest", - "name": "req" + "name": "req", + "type": "migrationpb.TranslateQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationpb.TranslateQueryResponse", - "client": { - "shortName": "SqlTranslationClient", - "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationClient" - }, - "method": { - "shortName": "TranslateQuery", - "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery", - "service": { - "shortName": "SqlTranslationService", - "fullName": "google.cloud.bigquery.migration.v2alpha.SqlTranslationService" - } - } + "shortName": "TranslateQuery" }, + "description": "TranslateQuery translates input queries from source dialects to GoogleSQL.", + "file": "SqlTranslationClient/TranslateQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerymigration_v2alpha_generated_SqlTranslationService_TranslateQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerymigration TranslateQuery Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json b/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json index 7bd4cfc4899c..14a0088f457a 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json +++ b/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json @@ -1,1345 +1,1345 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/reservation/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.reservation.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/reservation/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateAssignment_sync", - "title": "bigqueryreservation CreateAssignment Sample", - "description": "CreateAssignment creates an assignment object which allows the given project to submit jobs\nof a certain type using slots from the specified reservation.\n\nCurrently a\nresource (project, folder, organization) can only have one assignment per\neach (job_type, location) combination, and that reservation will be used\nfor all jobs of the matching type.\n\nDifferent assignments can be created on different levels of the\nprojects, folders or organization hierarchy. During query execution,\nthe assignment is looked up at the project, folder and organization levels\nin that order. The first assignment found is applied to the query.\n\nWhen creating assignments, it does not matter if other assignments exist at\nhigher levels.\n\nExample: \n\n* The organization `organizationA` contains two projects, `project1`\nand `project2`.\n* Assignments for all three entities (`organizationA`, `project1`, and\n`project2`) could all be created and mapped to the same or different\nreservations.\n\n\"None\" assignments represent an absence of the assignment. Projects\nassigned to None use on-demand pricing. To create a \"None\" assignment, use\n\"none\" as a reservation_id in the parent. Example parent: \n`projects/myproject/locations/US/reservations/none`.\n\nReturns `google.rpc.Code.PERMISSION_DENIED` if user does not have\n'bigquery.admin' permissions on the project using the reservation\nand the project that owns this reservation.\n\nReturns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment\ndoes not match location of the reservation.", - "file": "Client/CreateAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAssignment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.CreateAssignment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "CreateAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.CreateAssignmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.CreateAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Assignment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "CreateAssignment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "CreateAssignment" }, + "description": "CreateAssignment creates an assignment object which allows the given project to submit jobs\nof a certain type using slots from the specified reservation.\n\nCurrently a\nresource (project, folder, organization) can only have one assignment per\neach (job_type, location) combination, and that reservation will be used\nfor all jobs of the matching type.\n\nDifferent assignments can be created on different levels of the\nprojects, folders or organization hierarchy. During query execution,\nthe assignment is looked up at the project, folder and organization levels\nin that order. The first assignment found is applied to the query.\n\nWhen creating assignments, it does not matter if other assignments exist at\nhigher levels.\n\nExample: \n\n* The organization `organizationA` contains two projects, `project1`\nand `project2`.\n* Assignments for all three entities (`organizationA`, `project1`, and\n`project2`) could all be created and mapped to the same or different\nreservations.\n\n\"None\" assignments represent an absence of the assignment. Projects\nassigned to None use on-demand pricing. To create a \"None\" assignment, use\n\"none\" as a reservation_id in the parent. Example parent: \n`projects/myproject/locations/US/reservations/none`.\n\nReturns `google.rpc.Code.PERMISSION_DENIED` if user does not have\n'bigquery.admin' permissions on the project using the reservation\nand the project that owns this reservation.\n\nReturns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment\ndoes not match location of the reservation.", + "file": "Client/CreateAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateAssignment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation CreateAssignment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateCapacityCommitment_sync", - "title": "bigqueryreservation CreateCapacityCommitment Sample", - "description": "CreateCapacityCommitment creates a new capacity commitment resource.", - "file": "Client/CreateCapacityCommitment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCapacityCommitment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.CreateCapacityCommitment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "CreateCapacityCommitment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.CreateCapacityCommitmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.CreateCapacityCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.CapacityCommitment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "CreateCapacityCommitment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "CreateCapacityCommitment" }, + "description": "CreateCapacityCommitment creates a new capacity commitment resource.", + "file": "Client/CreateCapacityCommitment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateCapacityCommitment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation CreateCapacityCommitment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateReservation_sync", - "title": "bigqueryreservation CreateReservation Sample", - "description": "CreateReservation creates a new reservation resource.", - "file": "Client/CreateReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.CreateReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "CreateReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.CreateReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.CreateReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Reservation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "CreateReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "CreateReservation" }, + "description": "CreateReservation creates a new reservation resource.", + "file": "Client/CreateReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation CreateReservation Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateReservationGroup_sync", - "title": "bigqueryreservation CreateReservationGroup Sample", - "description": "CreateReservationGroup creates a new reservation group.", - "file": "Client/CreateReservationGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReservationGroup", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.CreateReservationGroup", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservationGroup", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "CreateReservationGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.CreateReservationGroupRequest", - "name": "req" + "name": "req", + "type": "reservationpb.CreateReservationGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.ReservationGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "CreateReservationGroup", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservationGroup", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "CreateReservationGroup" }, + "description": "CreateReservationGroup creates a new reservation group.", + "file": "Client/CreateReservationGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_CreateReservationGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation CreateReservationGroup Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteAssignment_sync", - "title": "bigqueryreservation DeleteAssignment Sample", - "description": "DeleteAssignment deletes a assignment. No expansion will happen.\n\nExample: \n\n* Organization `organizationA` contains two projects, `project1` and\n`project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\nassociations between entities and reservations: ``\nand ``\n\nIn this example, deletion of the `` assignment won't\naffect the other assignment ``. After said deletion,\nqueries from `project1` will still use `res1` while queries from\n`project2` will switch to use on-demand mode.", - "file": "Client/DeleteAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAssignment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.DeleteAssignment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "DeleteAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.DeleteAssignmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.DeleteAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "DeleteAssignment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "DeleteAssignment" }, + "description": "DeleteAssignment deletes a assignment. No expansion will happen.\n\nExample: \n\n* Organization `organizationA` contains two projects, `project1` and\n`project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\nassociations between entities and reservations: ``\nand ``\n\nIn this example, deletion of the `` assignment won't\naffect the other assignment ``. After said deletion,\nqueries from `project1` will still use `res1` while queries from\n`project2` will switch to use on-demand mode.", + "file": "Client/DeleteAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteAssignment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation DeleteAssignment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteCapacityCommitment_sync", - "title": "bigqueryreservation DeleteCapacityCommitment Sample", - "description": "DeleteCapacityCommitment deletes a capacity commitment. Attempting to delete capacity commitment\nbefore its commitment_end_time will fail with the error code\n`google.rpc.Code.FAILED_PRECONDITION`.", - "file": "Client/DeleteCapacityCommitment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCapacityCommitment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.DeleteCapacityCommitment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "DeleteCapacityCommitment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.DeleteCapacityCommitmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.DeleteCapacityCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "DeleteCapacityCommitment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "DeleteCapacityCommitment" }, + "description": "DeleteCapacityCommitment deletes a capacity commitment. Attempting to delete capacity commitment\nbefore its commitment_end_time will fail with the error code\n`google.rpc.Code.FAILED_PRECONDITION`.", + "file": "Client/DeleteCapacityCommitment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteCapacityCommitment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation DeleteCapacityCommitment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteReservation_sync", - "title": "bigqueryreservation DeleteReservation Sample", - "description": "DeleteReservation deletes a reservation.\nReturns `google.rpc.Code.FAILED_PRECONDITION` when reservation has\nassignments.", - "file": "Client/DeleteReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.DeleteReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "DeleteReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.DeleteReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.DeleteReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "DeleteReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "DeleteReservation" }, + "description": "DeleteReservation deletes a reservation.\nReturns `google.rpc.Code.FAILED_PRECONDITION` when reservation has\nassignments.", + "file": "Client/DeleteReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteReservation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation DeleteReservation Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_sync", - "title": "bigqueryreservation DeleteReservationGroup Sample", - "description": "DeleteReservationGroup deletes a reservation.\nReturns `google.rpc.Code.FAILED_PRECONDITION` when reservation has\nassignments.", - "file": "Client/DeleteReservationGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReservationGroup", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.DeleteReservationGroup", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservationGroup", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "DeleteReservationGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.DeleteReservationGroupRequest", - "name": "req" + "name": "req", + "type": "reservationpb.DeleteReservationGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "DeleteReservationGroup", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservationGroup", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "DeleteReservationGroup" }, + "description": "DeleteReservationGroup deletes a reservation.\nReturns `google.rpc.Code.FAILED_PRECONDITION` when reservation has\nassignments.", + "file": "Client/DeleteReservationGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_DeleteReservationGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation DeleteReservationGroup Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_FailoverReservation_sync", - "title": "bigqueryreservation FailoverReservation Sample", - "description": "FailoverReservation fail over a reservation to the secondary location. The operation should be\ndone in the current secondary location, which will be promoted to the\nnew primary location for the reservation.\nAttempting to failover a reservation in the current primary location will\nfail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "file": "Client/FailoverReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.FailoverReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.FailoverReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "FailoverReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.FailoverReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.FailoverReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Reservation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "FailoverReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.FailoverReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "FailoverReservation" }, + "description": "FailoverReservation fail over a reservation to the secondary location. The operation should be\ndone in the current secondary location, which will be promoted to the\nnew primary location for the reservation.\nAttempting to failover a reservation in the current primary location will\nfail with the error code `google.rpc.Code.FAILED_PRECONDITION`.", + "file": "Client/FailoverReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_FailoverReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation FailoverReservation Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetBiReservation_sync", - "title": "bigqueryreservation GetBiReservation Sample", - "description": "GetBiReservation retrieves a BI reservation.", - "file": "Client/GetBiReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBiReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.GetBiReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetBiReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "GetBiReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.GetBiReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.GetBiReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.BiReservation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "GetBiReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetBiReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "GetBiReservation" }, + "description": "GetBiReservation retrieves a BI reservation.", + "file": "Client/GetBiReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetBiReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation GetBiReservation Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetCapacityCommitment_sync", - "title": "bigqueryreservation GetCapacityCommitment Sample", - "description": "GetCapacityCommitment returns information about the capacity commitment.", - "file": "Client/GetCapacityCommitment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCapacityCommitment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.GetCapacityCommitment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "GetCapacityCommitment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.GetCapacityCommitmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.GetCapacityCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.CapacityCommitment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "GetCapacityCommitment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "GetCapacityCommitment" }, + "description": "GetCapacityCommitment returns information about the capacity commitment.", + "file": "Client/GetCapacityCommitment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetCapacityCommitment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation GetCapacityCommitment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_sync", - "title": "bigqueryreservation GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nMay return: \n\n* A`NOT_FOUND` error if the resource doesn't exist or you don't have the\npermission to view it.\n* An empty policy if the resource exists but doesn't have a set policy.\n\nSupported resources are: \n- Reservations\n- ReservationAssignments\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `bigqueryreservation.reservations.getIamPolicy` to get policies on\nreservations.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetIamPolicy", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nMay return: \n\n* A`NOT_FOUND` error if the resource doesn't exist or you don't have the\npermission to view it.\n* An empty policy if the resource exists but doesn't have a set policy.\n\nSupported resources are: \n- Reservations\n- ReservationAssignments\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `bigqueryreservation.reservations.getIamPolicy` to get policies on\nreservations.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation GetIamPolicy Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetReservation_sync", - "title": "bigqueryreservation GetReservation Sample", - "description": "GetReservation returns information about the reservation.", - "file": "Client/GetReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.GetReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "GetReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.GetReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.GetReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Reservation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "GetReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "GetReservation" }, + "description": "GetReservation returns information about the reservation.", + "file": "Client/GetReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation GetReservation Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_sync", - "title": "bigqueryreservation GetReservationGroup Sample", - "description": "GetReservationGroup returns information about the reservation group.", - "file": "Client/GetReservationGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReservationGroup", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.GetReservationGroup", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservationGroup", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "GetReservationGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.GetReservationGroupRequest", - "name": "req" + "name": "req", + "type": "reservationpb.GetReservationGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.ReservationGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "GetReservationGroup", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservationGroup", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "GetReservationGroup" }, + "description": "GetReservationGroup returns information about the reservation group.", + "file": "Client/GetReservationGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_GetReservationGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation GetReservationGroup Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListAssignments_sync", - "title": "bigqueryreservation ListAssignments Sample", - "description": "ListAssignments lists assignments.\n\nOnly explicitly created assignments will be returned.\n\nExample: \n\n* Organization `organizationA` contains two projects, `project1` and\n`project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\nassociations between entities and reservations: ``\nand ``\n\nIn this example, ListAssignments will just return the above two assignments\nfor reservation `res1`, and no expansion/merge will happen.\n\nThe wildcard \"-\" can be used for\nreservations in the request. In that case all assignments belongs to the\nspecified project and location will be listed.\n\n**Note** \"-\" cannot be used for projects nor locations.", - "file": "Client/ListAssignments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssignments", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.ListAssignments", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "ListAssignments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.ListAssignmentsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.ListAssignmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssignmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "ListAssignments", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "ListAssignments" }, + "description": "ListAssignments lists assignments.\n\nOnly explicitly created assignments will be returned.\n\nExample: \n\n* Organization `organizationA` contains two projects, `project1` and\n`project2`.\n* Reservation `res1` exists and was created previously.\n* CreateAssignment was used previously to define the following\nassociations between entities and reservations: ``\nand ``\n\nIn this example, ListAssignments will just return the above two assignments\nfor reservation `res1`, and no expansion/merge will happen.\n\nThe wildcard \"-\" can be used for\nreservations in the request. In that case all assignments belongs to the\nspecified project and location will be listed.\n\n**Note** \"-\" cannot be used for projects nor locations.", + "file": "Client/ListAssignments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListAssignments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation ListAssignments Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListCapacityCommitments_sync", - "title": "bigqueryreservation ListCapacityCommitments Sample", - "description": "ListCapacityCommitments lists all the capacity commitments for the admin project.", - "file": "Client/ListCapacityCommitments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCapacityCommitments", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.ListCapacityCommitments", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "ListCapacityCommitments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.ListCapacityCommitmentsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.ListCapacityCommitmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CapacityCommitmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "ListCapacityCommitments", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "ListCapacityCommitments" }, + "description": "ListCapacityCommitments lists all the capacity commitments for the admin project.", + "file": "Client/ListCapacityCommitments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListCapacityCommitments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation ListCapacityCommitments Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_sync", - "title": "bigqueryreservation ListReservationGroups Sample", - "description": "ListReservationGroups lists all the reservation groups for the project in the specified location.", - "file": "Client/ListReservationGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReservationGroups", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.ListReservationGroups", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "ListReservationGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.ListReservationGroupsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.ListReservationGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "ListReservationGroups", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservationGroups", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "ListReservationGroups" }, + "description": "ListReservationGroups lists all the reservation groups for the project in the specified location.", + "file": "Client/ListReservationGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListReservationGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation ListReservationGroups Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListReservations_sync", - "title": "bigqueryreservation ListReservations Sample", - "description": "ListReservations lists all the reservations for the project in the specified location.", - "file": "Client/ListReservations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReservations", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.ListReservations", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservations", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "ListReservations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.ListReservationsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.ListReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "ListReservations", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservations", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "ListReservations" }, + "description": "ListReservations lists all the reservations for the project in the specified location.", + "file": "Client/ListReservations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_ListReservations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation ListReservations Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_MergeCapacityCommitments_sync", - "title": "bigqueryreservation MergeCapacityCommitments Sample", - "description": "MergeCapacityCommitments merges capacity commitments of the same plan into a single commitment.\n\nThe resulting capacity commitment has the greater commitment_end_time\nout of the to-be-merged capacity commitments.\n\nAttempting to merge capacity commitments of different plan will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "file": "Client/MergeCapacityCommitments/main.go", - "language": "GO", "clientMethod": { - "shortName": "MergeCapacityCommitments", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.MergeCapacityCommitments", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "MergeCapacityCommitments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.MergeCapacityCommitmentsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.MergeCapacityCommitmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.CapacityCommitment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "MergeCapacityCommitments", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "MergeCapacityCommitments" }, + "description": "MergeCapacityCommitments merges capacity commitments of the same plan into a single commitment.\n\nThe resulting capacity commitment has the greater commitment_end_time\nout of the to-be-merged capacity commitments.\n\nAttempting to merge capacity commitments of different plan will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.", + "file": "Client/MergeCapacityCommitments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_MergeCapacityCommitments_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation MergeCapacityCommitments Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_MoveAssignment_sync", - "title": "bigqueryreservation MoveAssignment Sample", - "description": "MoveAssignment moves an assignment under a new reservation.\n\nThis differs from removing an existing assignment and recreating a new one\nby providing a transactional change that ensures an assignee always has an\nassociated reservation.", - "file": "Client/MoveAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveAssignment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.MoveAssignment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "MoveAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.MoveAssignmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.MoveAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Assignment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "MoveAssignment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "MoveAssignment" }, + "description": "MoveAssignment moves an assignment under a new reservation.\n\nThis differs from removing an existing assignment and recreating a new one\nby providing a transactional change that ensures an assignee always has an\nassociated reservation.", + "file": "Client/MoveAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_MoveAssignment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation MoveAssignment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAllAssignments_sync", - "title": "bigqueryreservation SearchAllAssignments Sample", - "description": "SearchAllAssignments looks up assignments for a specified resource for a particular region.\nIf the request is about a project: \n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\nreturned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences: \n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n`projects/*/locations/*reservations/*`.", - "file": "Client/SearchAllAssignments/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAllAssignments", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.SearchAllAssignments", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "SearchAllAssignments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.SearchAllAssignmentsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.SearchAllAssignmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssignmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "SearchAllAssignments", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "SearchAllAssignments" }, + "description": "SearchAllAssignments looks up assignments for a specified resource for a particular region.\nIf the request is about a project: \n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\nreturned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences: \n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n`projects/*/locations/*reservations/*`.", + "file": "Client/SearchAllAssignments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAllAssignments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation SearchAllAssignments Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAssignments_sync", - "title": "bigqueryreservation SearchAssignments Sample", - "description": "SearchAssignments deprecated: Looks up assignments for a specified resource for a particular\nregion. If the request is about a project: \n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\nreturned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences: \n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n`projects/*/locations/*reservations/*`.\n\n**Note** \"-\" cannot be used for projects\nnor locations.\n\n\nDeprecated: SearchAssignments may be removed in a future version.", - "file": "Client/SearchAssignments/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAssignments", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.SearchAssignments", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "SearchAssignments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.SearchAssignmentsRequest", - "name": "req" + "name": "req", + "type": "reservationpb.SearchAssignmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssignmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "SearchAssignments", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "SearchAssignments" }, + "description": "SearchAssignments deprecated: Looks up assignments for a specified resource for a particular\nregion. If the request is about a project: \n\n1. Assignments created on the project will be returned if they exist.\n2. Otherwise assignments created on the closest ancestor will be\nreturned.\n3. Assignments for different JobTypes will all be returned.\n\nThe same logic applies if the request is about a folder.\n\nIf the request is about an organization, then assignments created on the\norganization will be returned (organization doesn't have ancestors).\n\nComparing to ListAssignments, there are some behavior\ndifferences: \n\n1. permission on the assignee will be verified in this API.\n2. Hierarchy lookup (project->folder->organization) happens in this API.\n3. Parent here is `projects/*/locations/*`, instead of\n`projects/*/locations/*reservations/*`.\n\n**Note** \"-\" cannot be used for projects\nnor locations.\n\n\nDeprecated: SearchAssignments may be removed in a future version.", + "file": "Client/SearchAssignments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_SearchAssignments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation SearchAssignments Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_sync", - "title": "bigqueryreservation SetIamPolicy Sample", - "description": "SetIamPolicy sets an access control policy for a resource. Replaces any existing\npolicy.\n\nSupported resources are: \n- Reservations\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `bigqueryreservation.reservations.setIamPolicy` to set policies on\nreservations.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SetIamPolicy", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SetIamPolicy", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets an access control policy for a resource. Replaces any existing\npolicy.\n\nSupported resources are: \n- Reservations\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `bigqueryreservation.reservations.setIamPolicy` to set policies on\nreservations.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation SetIamPolicy Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_SplitCapacityCommitment_sync", - "title": "bigqueryreservation SplitCapacityCommitment Sample", - "description": "SplitCapacityCommitment splits capacity commitment to two commitments of the same plan and\n`commitment_end_time`.\n\nA common use case is to enable downgrading commitments.\n\nFor example, in order to downgrade from 10000 slots to 8000, you might\nsplit a 10000 capacity commitment into commitments of 2000 and 8000. Then,\nyou delete the first one after the commitment end time passes.", - "file": "Client/SplitCapacityCommitment/main.go", - "language": "GO", "clientMethod": { - "shortName": "SplitCapacityCommitment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.SplitCapacityCommitment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "SplitCapacityCommitment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.SplitCapacityCommitmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.SplitCapacityCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.SplitCapacityCommitmentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "SplitCapacityCommitment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "SplitCapacityCommitment" }, + "description": "SplitCapacityCommitment splits capacity commitment to two commitments of the same plan and\n`commitment_end_time`.\n\nA common use case is to enable downgrading commitments.\n\nFor example, in order to downgrade from 10000 slots to 8000, you might\nsplit a 10000 capacity commitment into commitments of 2000 and 8000. Then,\nyou delete the first one after the commitment end time passes.", + "file": "Client/SplitCapacityCommitment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_SplitCapacityCommitment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation SplitCapacityCommitment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_TestIamPermissions_sync", - "title": "bigqueryreservation TestIamPermissions Sample", - "description": "TestIamPermissions gets your permissions on a resource. Returns an empty set of permissions if\nthe resource doesn't exist.\n\nSupported resources are: \n- Reservations\n\nNo Google IAM permissions are required to call this method.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.TestIamPermissions", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.TestIamPermissions", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions gets your permissions on a resource. Returns an empty set of permissions if\nthe resource doesn't exist.\n\nSupported resources are: \n- Reservations\n\nNo Google IAM permissions are required to call this method.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation TestIamPermissions Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateAssignment_sync", - "title": "bigqueryreservation UpdateAssignment Sample", - "description": "UpdateAssignment updates an existing assignment.\n\nOnly the `priority` field can be updated.", - "file": "Client/UpdateAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAssignment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.UpdateAssignment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "UpdateAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.UpdateAssignmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.UpdateAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Assignment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "UpdateAssignment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "UpdateAssignment" }, + "description": "UpdateAssignment updates an existing assignment.\n\nOnly the `priority` field can be updated.", + "file": "Client/UpdateAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateAssignment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation UpdateAssignment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateBiReservation_sync", - "title": "bigqueryreservation UpdateBiReservation Sample", - "description": "UpdateBiReservation updates a BI reservation.\n\nOnly fields specified in the `field_mask` are updated.\n\nA singleton BI reservation always exists with default size 0.\nIn order to reserve BI capacity it needs to be updated to an amount\ngreater than 0. In order to release BI capacity reservation size\nmust be set to 0.", - "file": "Client/UpdateBiReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBiReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.UpdateBiReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateBiReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "UpdateBiReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.UpdateBiReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.UpdateBiReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.BiReservation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "UpdateBiReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateBiReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "UpdateBiReservation" }, + "description": "UpdateBiReservation updates a BI reservation.\n\nOnly fields specified in the `field_mask` are updated.\n\nA singleton BI reservation always exists with default size 0.\nIn order to reserve BI capacity it needs to be updated to an amount\ngreater than 0. In order to release BI capacity reservation size\nmust be set to 0.", + "file": "Client/UpdateBiReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateBiReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation UpdateBiReservation Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateCapacityCommitment_sync", - "title": "bigqueryreservation UpdateCapacityCommitment Sample", - "description": "UpdateCapacityCommitment updates an existing capacity commitment.\n\nOnly `plan` and `renewal_plan` fields can be updated.\n\nPlan can only be changed to a plan of a longer commitment period.\nAttempting to change to a plan with shorter commitment period will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.", - "file": "Client/UpdateCapacityCommitment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCapacityCommitment", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.UpdateCapacityCommitment", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "UpdateCapacityCommitment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.UpdateCapacityCommitmentRequest", - "name": "req" + "name": "req", + "type": "reservationpb.UpdateCapacityCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.CapacityCommitment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "UpdateCapacityCommitment", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "UpdateCapacityCommitment" }, + "description": "UpdateCapacityCommitment updates an existing capacity commitment.\n\nOnly `plan` and `renewal_plan` fields can be updated.\n\nPlan can only be changed to a plan of a longer commitment period.\nAttempting to change to a plan with shorter commitment period will fail\nwith the error code `google.rpc.Code.FAILED_PRECONDITION`.", + "file": "Client/UpdateCapacityCommitment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateCapacityCommitment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation UpdateCapacityCommitment Sample" }, { - "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateReservation_sync", - "title": "bigqueryreservation UpdateReservation Sample", - "description": "UpdateReservation updates an existing reservation resource.", - "file": "Client/UpdateReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReservation", + "client": { + "fullName": "google.cloud.bigquery.reservation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.bigquery.reservation.v1.Client.UpdateReservation", + "method": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation", + "service": { + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "shortName": "ReservationService" + }, + "shortName": "UpdateReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reservationpb.UpdateReservationRequest", - "name": "req" + "name": "req", + "type": "reservationpb.UpdateReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reservationpb.Reservation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.bigquery.reservation.v1.Client" - }, - "method": { - "shortName": "UpdateReservation", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation", - "service": { - "shortName": "ReservationService", - "fullName": "google.cloud.bigquery.reservation.v1.ReservationService" - } - } + "shortName": "UpdateReservation" }, + "description": "UpdateReservation updates an existing reservation resource.", + "file": "Client/UpdateReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigqueryreservation_v1_generated_ReservationService_UpdateReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigqueryreservation UpdateReservation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json b/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json index 81b6df8a0ec3..3023c668bf85 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json +++ b/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json @@ -1,379 +1,379 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/storage/apiv1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.storage.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/storage/apiv1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerystorage_v1_generated_BigQueryRead_CreateReadSession_sync", - "title": "bigquerystorage CreateReadSession Sample", - "description": "CreateReadSession creates a new read session. A read session divides the contents of a\nBigQuery table into one or more streams, which can then be used to read\ndata from the table. The read session also specifies properties of the\ndata to be read, such as a list of columns or a push-down filter describing\nthe rows to be returned.\n\nA particular row can be read by at most one stream. When the caller has\nreached the end of each stream in the session, then all the data in the\ntable has been read.\n\nData is assigned to each stream such that roughly the same number of\nrows can be read from each stream. Because the server-side unit for\nassigning data is collections of rows, the API does not guarantee that\neach stream will return the same number or rows. Additionally, the\nlimits are enforced based on the number of pre-filtered rows, so some\nfilters can lead to lopsided assignments.\n\nRead sessions automatically expire 6 hours after they are created and do\nnot require manual clean-up by the caller.", - "file": "BigQueryReadClient/CreateReadSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReadSession", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryReadClient", + "shortName": "BigQueryReadClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryReadClient.CreateReadSession", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.CreateReadSession", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead", + "shortName": "BigQueryRead" + }, + "shortName": "CreateReadSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.CreateReadSessionRequest", - "name": "req" + "name": "req", + "type": "storagepb.CreateReadSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.ReadSession", - "client": { - "shortName": "BigQueryReadClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryReadClient" - }, - "method": { - "shortName": "CreateReadSession", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.CreateReadSession", - "service": { - "shortName": "BigQueryRead", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead" - } - } + "shortName": "CreateReadSession" }, + "description": "CreateReadSession creates a new read session. A read session divides the contents of a\nBigQuery table into one or more streams, which can then be used to read\ndata from the table. The read session also specifies properties of the\ndata to be read, such as a list of columns or a push-down filter describing\nthe rows to be returned.\n\nA particular row can be read by at most one stream. When the caller has\nreached the end of each stream in the session, then all the data in the\ntable has been read.\n\nData is assigned to each stream such that roughly the same number of\nrows can be read from each stream. Because the server-side unit for\nassigning data is collections of rows, the API does not guarantee that\neach stream will return the same number or rows. Additionally, the\nlimits are enforced based on the number of pre-filtered rows, so some\nfilters can lead to lopsided assignments.\n\nRead sessions automatically expire 6 hours after they are created and do\nnot require manual clean-up by the caller.", + "file": "BigQueryReadClient/CreateReadSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryRead_CreateReadSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage CreateReadSession Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryRead_SplitReadStream_sync", - "title": "bigquerystorage SplitReadStream Sample", - "description": "SplitReadStream splits a given `ReadStream` into two `ReadStream` objects. These\n`ReadStream` objects are referred to as the primary and the residual\nstreams of the split. The original `ReadStream` can still be read from in\nthe same manner as before. Both of the returned `ReadStream` objects can\nalso be read from, and the rows returned by both child streams will be\nthe same as the rows read from the original stream.\n\nMoreover, the two child streams will be allocated back-to-back in the\noriginal `ReadStream`. Concretely, it is guaranteed that for streams\noriginal, primary, and residual, that original[0-j] = primary[0-j] and\noriginal[j-n] = residual[0-m] once the streams have been read to\ncompletion.", - "file": "BigQueryReadClient/SplitReadStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "SplitReadStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryReadClient", + "shortName": "BigQueryReadClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryReadClient.SplitReadStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.SplitReadStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead", + "shortName": "BigQueryRead" + }, + "shortName": "SplitReadStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.SplitReadStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.SplitReadStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.SplitReadStreamResponse", - "client": { - "shortName": "BigQueryReadClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryReadClient" - }, - "method": { - "shortName": "SplitReadStream", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.SplitReadStream", - "service": { - "shortName": "BigQueryRead", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead" - } - } + "shortName": "SplitReadStream" }, + "description": "SplitReadStream splits a given `ReadStream` into two `ReadStream` objects. These\n`ReadStream` objects are referred to as the primary and the residual\nstreams of the split. The original `ReadStream` can still be read from in\nthe same manner as before. Both of the returned `ReadStream` objects can\nalso be read from, and the rows returned by both child streams will be\nthe same as the rows read from the original stream.\n\nMoreover, the two child streams will be allocated back-to-back in the\noriginal `ReadStream`. Concretely, it is guaranteed that for streams\noriginal, primary, and residual, that original[0-j] = primary[0-j] and\noriginal[j-n] = residual[0-m] once the streams have been read to\ncompletion.", + "file": "BigQueryReadClient/SplitReadStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryRead_SplitReadStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage SplitReadStream Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_AppendRows_sync", - "title": "bigquerystorage AppendRows Sample", - "description": "AppendRows appends data to the given stream.\n\nIf `offset` is specified, the `offset` is checked against the end of\nstream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an\nattempt is made to append to an offset beyond the current end of the stream\nor `ALREADY_EXISTS` if user provides an `offset` that has already been\nwritten to. User can retry with adjusted offset within the same RPC\nconnection. If `offset` is not specified, append happens at the end of the\nstream.\n\nThe response contains an optional offset at which the append\nhappened. No offset information will be returned for appends to a\ndefault stream.\n\nResponses are received in the same order in which requests are sent.\nThere will be one response for each successful inserted request. Responses\nmay optionally embed error information if the originating AppendRequest was\nnot successfully processed.\n\nThe specifics of when successfully appended data is made visible to the\ntable are governed by the type of stream: \n\n* For COMMITTED streams (which includes the default stream), data is\nvisible immediately upon successful append.\n\n* For BUFFERED streams, data is made visible via a subsequent `FlushRows`\nrpc which advances a cursor to a newer offset in the stream.\n\n* For PENDING streams, data is not made visible until the stream itself is\nfinalized (via the `FinalizeWriteStream` rpc), and the stream is explicitly\ncommitted via the `BatchCommitWriteStreams` rpc.", - "file": "BigQueryWriteClient/AppendRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "AppendRows", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient.AppendRows", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.AppendRows", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "AppendRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "storagepb.BigQueryWrite_AppendRowsClient", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient" - }, - "method": { - "shortName": "AppendRows", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.AppendRows", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite" - } - } + "shortName": "AppendRows" }, + "description": "AppendRows appends data to the given stream.\n\nIf `offset` is specified, the `offset` is checked against the end of\nstream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an\nattempt is made to append to an offset beyond the current end of the stream\nor `ALREADY_EXISTS` if user provides an `offset` that has already been\nwritten to. User can retry with adjusted offset within the same RPC\nconnection. If `offset` is not specified, append happens at the end of the\nstream.\n\nThe response contains an optional offset at which the append\nhappened. No offset information will be returned for appends to a\ndefault stream.\n\nResponses are received in the same order in which requests are sent.\nThere will be one response for each successful inserted request. Responses\nmay optionally embed error information if the originating AppendRequest was\nnot successfully processed.\n\nThe specifics of when successfully appended data is made visible to the\ntable are governed by the type of stream: \n\n* For COMMITTED streams (which includes the default stream), data is\nvisible immediately upon successful append.\n\n* For BUFFERED streams, data is made visible via a subsequent `FlushRows`\nrpc which advances a cursor to a newer offset in the stream.\n\n* For PENDING streams, data is not made visible until the stream itself is\nfinalized (via the `FinalizeWriteStream` rpc), and the stream is explicitly\ncommitted via the `BatchCommitWriteStreams` rpc.", + "file": "BigQueryWriteClient/AppendRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_AppendRows_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage AppendRows Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_BatchCommitWriteStreams_sync", - "title": "bigquerystorage BatchCommitWriteStreams Sample", - "description": "BatchCommitWriteStreams atomically commits a group of `PENDING` streams that belong to the same\n`parent` table.\n\nStreams must be finalized before commit and cannot be committed multiple\ntimes. Once a stream is committed, data in the stream becomes available\nfor read operations.", - "file": "BigQueryWriteClient/BatchCommitWriteStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCommitWriteStreams", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient.BatchCommitWriteStreams", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.BatchCommitWriteStreams", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "BatchCommitWriteStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchCommitWriteStreamsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchCommitWriteStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchCommitWriteStreamsResponse", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient" - }, - "method": { - "shortName": "BatchCommitWriteStreams", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.BatchCommitWriteStreams", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite" - } - } + "shortName": "BatchCommitWriteStreams" }, + "description": "BatchCommitWriteStreams atomically commits a group of `PENDING` streams that belong to the same\n`parent` table.\n\nStreams must be finalized before commit and cannot be committed multiple\ntimes. Once a stream is committed, data in the stream becomes available\nfor read operations.", + "file": "BigQueryWriteClient/BatchCommitWriteStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_BatchCommitWriteStreams_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchCommitWriteStreams Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_CreateWriteStream_sync", - "title": "bigquerystorage CreateWriteStream Sample", - "description": "CreateWriteStream creates a write stream to the given table.\nAdditionally, every table has a special stream named '_default'\nto which data can be written. This stream doesn't need to be created using\nCreateWriteStream. It is a stream that can be used simultaneously by any\nnumber of clients. Data written to this stream is considered committed as\nsoon as an acknowledgement is received.", - "file": "BigQueryWriteClient/CreateWriteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWriteStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient.CreateWriteStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.CreateWriteStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "CreateWriteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.CreateWriteStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.CreateWriteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.WriteStream", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient" - }, - "method": { - "shortName": "CreateWriteStream", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.CreateWriteStream", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite" - } - } + "shortName": "CreateWriteStream" }, + "description": "CreateWriteStream creates a write stream to the given table.\nAdditionally, every table has a special stream named '_default'\nto which data can be written. This stream doesn't need to be created using\nCreateWriteStream. It is a stream that can be used simultaneously by any\nnumber of clients. Data written to this stream is considered committed as\nsoon as an acknowledgement is received.", + "file": "BigQueryWriteClient/CreateWriteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_CreateWriteStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage CreateWriteStream Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_FinalizeWriteStream_sync", - "title": "bigquerystorage FinalizeWriteStream Sample", - "description": "FinalizeWriteStream finalize a write stream so that no new data can be appended to the\nstream. Finalize is not supported on the '_default' stream.", - "file": "BigQueryWriteClient/FinalizeWriteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinalizeWriteStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient.FinalizeWriteStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.FinalizeWriteStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "FinalizeWriteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.FinalizeWriteStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.FinalizeWriteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.FinalizeWriteStreamResponse", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient" - }, - "method": { - "shortName": "FinalizeWriteStream", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.FinalizeWriteStream", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite" - } - } + "shortName": "FinalizeWriteStream" }, + "description": "FinalizeWriteStream finalize a write stream so that no new data can be appended to the\nstream. Finalize is not supported on the '_default' stream.", + "file": "BigQueryWriteClient/FinalizeWriteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_FinalizeWriteStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage FinalizeWriteStream Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_FlushRows_sync", - "title": "bigquerystorage FlushRows Sample", - "description": "FlushRows flushes rows to a BUFFERED stream.\n\nIf users are appending rows to BUFFERED stream, flush operation is\nrequired in order for the rows to become available for reading. A\nFlush operation flushes up to any previously flushed offset in a BUFFERED\nstream, to the offset specified in the request.\n\nFlush is not supported on the _default stream, since it is not BUFFERED.", - "file": "BigQueryWriteClient/FlushRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "FlushRows", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient.FlushRows", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.FlushRows", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "FlushRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.FlushRowsRequest", - "name": "req" + "name": "req", + "type": "storagepb.FlushRowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.FlushRowsResponse", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient" - }, - "method": { - "shortName": "FlushRows", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.FlushRows", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite" - } - } + "shortName": "FlushRows" }, + "description": "FlushRows flushes rows to a BUFFERED stream.\n\nIf users are appending rows to BUFFERED stream, flush operation is\nrequired in order for the rows to become available for reading. A\nFlush operation flushes up to any previously flushed offset in a BUFFERED\nstream, to the offset specified in the request.\n\nFlush is not supported on the _default stream, since it is not BUFFERED.", + "file": "BigQueryWriteClient/FlushRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_FlushRows_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage FlushRows Sample" }, { - "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_GetWriteStream_sync", - "title": "bigquerystorage GetWriteStream Sample", - "description": "GetWriteStream gets information about a write stream.", - "file": "BigQueryWriteClient/GetWriteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWriteStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient.GetWriteStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.GetWriteStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "GetWriteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.GetWriteStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.GetWriteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.WriteStream", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWriteClient" - }, - "method": { - "shortName": "GetWriteStream", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite.GetWriteStream", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1.BigQueryWrite" - } - } + "shortName": "GetWriteStream" }, + "description": "GetWriteStream gets information about a write stream.", + "file": "BigQueryWriteClient/GetWriteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1_generated_BigQueryWrite_GetWriteStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage GetWriteStream Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json b/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json index 70846f821b1c..513f7ce1f7c2 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json +++ b/internal/generated/snippets/bigquery/storage/apiv1alpha/snippet_metadata.google.cloud.bigquery.storage.v1alpha.json @@ -1,240 +1,240 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/storage/apiv1alpha", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.storage.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/storage/apiv1alpha", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_BatchCreateMetastorePartitions_sync", - "title": "bigquerystorage BatchCreateMetastorePartitions Sample", - "description": "BatchCreateMetastorePartitions adds metastore partitions to a table.", - "file": "MetastorePartitionClient/BatchCreateMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient.BatchCreateMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchCreateMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "BatchCreateMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchCreateMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchCreateMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchCreateMetastorePartitionsResponse", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient" - }, - "method": { - "shortName": "BatchCreateMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchCreateMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService" - } - } + "shortName": "BatchCreateMetastorePartitions" }, + "description": "BatchCreateMetastorePartitions adds metastore partitions to a table.", + "file": "MetastorePartitionClient/BatchCreateMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_BatchCreateMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchCreateMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_BatchDeleteMetastorePartitions_sync", - "title": "bigquerystorage BatchDeleteMetastorePartitions Sample", - "description": "BatchDeleteMetastorePartitions deletes metastore partitions from a table.", - "file": "MetastorePartitionClient/BatchDeleteMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient.BatchDeleteMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchDeleteMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "BatchDeleteMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchDeleteMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchDeleteMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient" - }, - "method": { - "shortName": "BatchDeleteMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchDeleteMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService" - } - } + "shortName": "BatchDeleteMetastorePartitions" }, + "description": "BatchDeleteMetastorePartitions deletes metastore partitions from a table.", + "file": "MetastorePartitionClient/BatchDeleteMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_BatchDeleteMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchDeleteMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_BatchUpdateMetastorePartitions_sync", - "title": "bigquerystorage BatchUpdateMetastorePartitions Sample", - "description": "BatchUpdateMetastorePartitions updates metastore partitions in a table.", - "file": "MetastorePartitionClient/BatchUpdateMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient.BatchUpdateMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchUpdateMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "BatchUpdateMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchUpdateMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchUpdateMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchUpdateMetastorePartitionsResponse", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient" - }, - "method": { - "shortName": "BatchUpdateMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchUpdateMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService" - } - } + "shortName": "BatchUpdateMetastorePartitions" }, + "description": "BatchUpdateMetastorePartitions updates metastore partitions in a table.", + "file": "MetastorePartitionClient/BatchUpdateMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_BatchUpdateMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchUpdateMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_ListMetastorePartitions_sync", - "title": "bigquerystorage ListMetastorePartitions Sample", - "description": "ListMetastorePartitions gets metastore partitions from a table.", - "file": "MetastorePartitionClient/ListMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient.ListMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.ListMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "ListMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.ListMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.ListMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.ListMetastorePartitionsResponse", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient" - }, - "method": { - "shortName": "ListMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.ListMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService" - } - } + "shortName": "ListMetastorePartitions" }, + "description": "ListMetastorePartitions gets metastore partitions from a table.", + "file": "MetastorePartitionClient/ListMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_ListMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage ListMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_StreamMetastorePartitions_sync", - "title": "bigquerystorage StreamMetastorePartitions Sample", - "description": "StreamMetastorePartitions this is a bi-di streaming rpc method that allows the client to send\na stream of partitions and commit all of them atomically at the end.\nIf the commit is successful, the server will return a\nresponse and close the stream. If the commit fails (due to duplicate\npartitions or other reason), the server will close the stream with an\nerror. This method is only available via the gRPC API (not REST).", - "file": "MetastorePartitionClient/StreamMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient.StreamMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.StreamMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "StreamMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "storagepb.MetastorePartitionService_StreamMetastorePartitionsClient", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionClient" - }, - "method": { - "shortName": "StreamMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.StreamMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1alpha.MetastorePartitionService" - } - } + "shortName": "StreamMetastorePartitions" }, + "description": "StreamMetastorePartitions this is a bi-di streaming rpc method that allows the client to send\na stream of partitions and commit all of them atomically at the end.\nIf the commit is successful, the server will return a\nresponse and close the stream. If the commit fails (due to duplicate\npartitions or other reason), the server will close the stream with an\nerror. This method is only available via the gRPC API (not REST).", + "file": "MetastorePartitionClient/StreamMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1alpha_generated_MetastorePartitionService_StreamMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage StreamMetastorePartitions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta/snippet_metadata.google.cloud.bigquery.storage.v1beta.json b/internal/generated/snippets/bigquery/storage/apiv1beta/snippet_metadata.google.cloud.bigquery.storage.v1beta.json index af326eab883a..d8fc20f78d6c 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta/snippet_metadata.google.cloud.bigquery.storage.v1beta.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta/snippet_metadata.google.cloud.bigquery.storage.v1beta.json @@ -1,240 +1,240 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/storage/apiv1beta", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.storage.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/storage/apiv1beta", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_BatchCreateMetastorePartitions_sync", - "title": "bigquerystorage BatchCreateMetastorePartitions Sample", - "description": "BatchCreateMetastorePartitions adds metastore partitions to a table.", - "file": "MetastorePartitionClient/BatchCreateMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient.BatchCreateMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchCreateMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "BatchCreateMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchCreateMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchCreateMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchCreateMetastorePartitionsResponse", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient" - }, - "method": { - "shortName": "BatchCreateMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchCreateMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService" - } - } + "shortName": "BatchCreateMetastorePartitions" }, + "description": "BatchCreateMetastorePartitions adds metastore partitions to a table.", + "file": "MetastorePartitionClient/BatchCreateMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_BatchCreateMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchCreateMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_BatchDeleteMetastorePartitions_sync", - "title": "bigquerystorage BatchDeleteMetastorePartitions Sample", - "description": "BatchDeleteMetastorePartitions deletes metastore partitions from a table.", - "file": "MetastorePartitionClient/BatchDeleteMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient.BatchDeleteMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchDeleteMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "BatchDeleteMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchDeleteMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchDeleteMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient" - }, - "method": { - "shortName": "BatchDeleteMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchDeleteMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService" - } - } + "shortName": "BatchDeleteMetastorePartitions" }, + "description": "BatchDeleteMetastorePartitions deletes metastore partitions from a table.", + "file": "MetastorePartitionClient/BatchDeleteMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_BatchDeleteMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchDeleteMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_BatchUpdateMetastorePartitions_sync", - "title": "bigquerystorage BatchUpdateMetastorePartitions Sample", - "description": "BatchUpdateMetastorePartitions updates metastore partitions in a table.", - "file": "MetastorePartitionClient/BatchUpdateMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient.BatchUpdateMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchUpdateMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "BatchUpdateMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchUpdateMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchUpdateMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchUpdateMetastorePartitionsResponse", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient" - }, - "method": { - "shortName": "BatchUpdateMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchUpdateMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService" - } - } + "shortName": "BatchUpdateMetastorePartitions" }, + "description": "BatchUpdateMetastorePartitions updates metastore partitions in a table.", + "file": "MetastorePartitionClient/BatchUpdateMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_BatchUpdateMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchUpdateMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_ListMetastorePartitions_sync", - "title": "bigquerystorage ListMetastorePartitions Sample", - "description": "ListMetastorePartitions gets metastore partitions from a table.", - "file": "MetastorePartitionClient/ListMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient.ListMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.ListMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "ListMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.ListMetastorePartitionsRequest", - "name": "req" + "name": "req", + "type": "storagepb.ListMetastorePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.ListMetastorePartitionsResponse", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient" - }, - "method": { - "shortName": "ListMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.ListMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService" - } - } + "shortName": "ListMetastorePartitions" }, + "description": "ListMetastorePartitions gets metastore partitions from a table.", + "file": "MetastorePartitionClient/ListMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_ListMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage ListMetastorePartitions Sample" }, { - "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_StreamMetastorePartitions_sync", - "title": "bigquerystorage StreamMetastorePartitions Sample", - "description": "StreamMetastorePartitions this is a bi-di streaming rpc method that allows the client to send\na stream of partitions and commit all of them atomically at the end.\nIf the commit is successful, the server will return a\nresponse and close the stream. If the commit fails (due to duplicate\npartitions or other reason), the server will close the stream with an\nerror. This method is only available via the gRPC API (not REST).", - "file": "MetastorePartitionClient/StreamMetastorePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamMetastorePartitions", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient", + "shortName": "MetastorePartitionClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient.StreamMetastorePartitions", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.StreamMetastorePartitions", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService", + "shortName": "MetastorePartitionService" + }, + "shortName": "StreamMetastorePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "storagepb.MetastorePartitionService_StreamMetastorePartitionsClient", - "client": { - "shortName": "MetastorePartitionClient", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionClient" - }, - "method": { - "shortName": "StreamMetastorePartitions", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService.StreamMetastorePartitions", - "service": { - "shortName": "MetastorePartitionService", - "fullName": "google.cloud.bigquery.storage.v1beta.MetastorePartitionService" - } - } + "shortName": "StreamMetastorePartitions" }, + "description": "StreamMetastorePartitions this is a bi-di streaming rpc method that allows the client to send\na stream of partitions and commit all of them atomically at the end.\nIf the commit is successful, the server will return a\nresponse and close the stream. If the commit fails (due to duplicate\npartitions or other reason), the server will close the stream with an\nerror. This method is only available via the gRPC API (not REST).", + "file": "MetastorePartitionClient/StreamMetastorePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta_generated_MetastorePartitionService_StreamMetastorePartitions_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage StreamMetastorePartitions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json b/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json index bf86d0f1b725..8aa19f4decd5 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json @@ -1,198 +1,198 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/storage/apiv1beta1", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.storage.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/storage/apiv1beta1", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_BatchCreateReadSessionStreams_sync", - "title": "bigquerystorage BatchCreateReadSessionStreams Sample", - "description": "BatchCreateReadSessionStreams creates additional streams for a ReadSession. This API can be used to\ndynamically adjust the parallelism of a batch processing task upwards by\nadding additional workers.", - "file": "BigQueryStorageClient/BatchCreateReadSessionStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateReadSessionStreams", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient", + "shortName": "BigQueryStorageClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient.BatchCreateReadSessionStreams", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.BatchCreateReadSessionStreams", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage", + "shortName": "BigQueryStorage" + }, + "shortName": "BatchCreateReadSessionStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchCreateReadSessionStreamsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchCreateReadSessionStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchCreateReadSessionStreamsResponse", - "client": { - "shortName": "BigQueryStorageClient", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient" - }, - "method": { - "shortName": "BatchCreateReadSessionStreams", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.BatchCreateReadSessionStreams", - "service": { - "shortName": "BigQueryStorage", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage" - } - } + "shortName": "BatchCreateReadSessionStreams" }, + "description": "BatchCreateReadSessionStreams creates additional streams for a ReadSession. This API can be used to\ndynamically adjust the parallelism of a batch processing task upwards by\nadding additional workers.", + "file": "BigQueryStorageClient/BatchCreateReadSessionStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_BatchCreateReadSessionStreams_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchCreateReadSessionStreams Sample" }, { - "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_CreateReadSession_sync", - "title": "bigquerystorage CreateReadSession Sample", - "description": "CreateReadSession creates a new read session. A read session divides the contents of a\nBigQuery table into one or more streams, which can then be used to read\ndata from the table. The read session also specifies properties of the\ndata to be read, such as a list of columns or a push-down filter describing\nthe rows to be returned.\n\nA particular row can be read by at most one stream. When the caller has\nreached the end of each stream in the session, then all the data in the\ntable has been read.\n\nRead sessions automatically expire 6 hours after they are created and do\nnot require manual clean-up by the caller.", - "file": "BigQueryStorageClient/CreateReadSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReadSession", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient", + "shortName": "BigQueryStorageClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient.CreateReadSession", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.CreateReadSession", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage", + "shortName": "BigQueryStorage" + }, + "shortName": "CreateReadSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.CreateReadSessionRequest", - "name": "req" + "name": "req", + "type": "storagepb.CreateReadSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.ReadSession", - "client": { - "shortName": "BigQueryStorageClient", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient" - }, - "method": { - "shortName": "CreateReadSession", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.CreateReadSession", - "service": { - "shortName": "BigQueryStorage", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage" - } - } + "shortName": "CreateReadSession" }, + "description": "CreateReadSession creates a new read session. A read session divides the contents of a\nBigQuery table into one or more streams, which can then be used to read\ndata from the table. The read session also specifies properties of the\ndata to be read, such as a list of columns or a push-down filter describing\nthe rows to be returned.\n\nA particular row can be read by at most one stream. When the caller has\nreached the end of each stream in the session, then all the data in the\ntable has been read.\n\nRead sessions automatically expire 6 hours after they are created and do\nnot require manual clean-up by the caller.", + "file": "BigQueryStorageClient/CreateReadSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_CreateReadSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage CreateReadSession Sample" }, { - "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_FinalizeStream_sync", - "title": "bigquerystorage FinalizeStream Sample", - "description": "FinalizeStream causes a single stream in a ReadSession to gracefully stop. This\nAPI can be used to dynamically adjust the parallelism of a batch processing\ntask downwards without losing data.\n\nThis API does not delete the stream -- it remains visible in the\nReadSession, and any data processed by the stream is not released to other\nstreams. However, no additional data will be assigned to the stream once\nthis call completes. Callers must continue reading data on the stream until\nthe end of the stream is reached so that data which has already been\nassigned to the stream will be processed.\n\nThis method will return an error if there are no other live streams\nin the Session, or if SplitReadStream() has been called on the given\nStream.", - "file": "BigQueryStorageClient/FinalizeStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinalizeStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient", + "shortName": "BigQueryStorageClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient.FinalizeStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.FinalizeStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage", + "shortName": "BigQueryStorage" + }, + "shortName": "FinalizeStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.FinalizeStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.FinalizeStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BigQueryStorageClient", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient" - }, - "method": { - "shortName": "FinalizeStream", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.FinalizeStream", - "service": { - "shortName": "BigQueryStorage", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage" - } - } + "shortName": "FinalizeStream" }, + "description": "FinalizeStream causes a single stream in a ReadSession to gracefully stop. This\nAPI can be used to dynamically adjust the parallelism of a batch processing\ntask downwards without losing data.\n\nThis API does not delete the stream -- it remains visible in the\nReadSession, and any data processed by the stream is not released to other\nstreams. However, no additional data will be assigned to the stream once\nthis call completes. Callers must continue reading data on the stream until\nthe end of the stream is reached so that data which has already been\nassigned to the stream will be processed.\n\nThis method will return an error if there are no other live streams\nin the Session, or if SplitReadStream() has been called on the given\nStream.", + "file": "BigQueryStorageClient/FinalizeStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_FinalizeStream_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage FinalizeStream Sample" }, { - "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_SplitReadStream_sync", - "title": "bigquerystorage SplitReadStream Sample", - "description": "SplitReadStream splits a given read stream into two Streams. These streams are referred to\nas the primary and the residual of the split. The original stream can still\nbe read from in the same manner as before. Both of the returned streams can\nalso be read from, and the total rows return by both child streams will be\nthe same as the rows read from the original stream.\n\nMoreover, the two child streams will be allocated back to back in the\noriginal Stream. Concretely, it is guaranteed that for streams Original,\nPrimary, and Residual, that Original[0-j] = Primary[0-j] and\nOriginal[j-n] = Residual[0-m] once the streams have been read to\ncompletion.\n\nThis method is guaranteed to be idempotent.", - "file": "BigQueryStorageClient/SplitReadStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "SplitReadStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient", + "shortName": "BigQueryStorageClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient.SplitReadStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.SplitReadStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage", + "shortName": "BigQueryStorage" + }, + "shortName": "SplitReadStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.SplitReadStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.SplitReadStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.SplitReadStreamResponse", - "client": { - "shortName": "BigQueryStorageClient", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorageClient" - }, - "method": { - "shortName": "SplitReadStream", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.SplitReadStream", - "service": { - "shortName": "BigQueryStorage", - "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage" - } - } + "shortName": "SplitReadStream" }, + "description": "SplitReadStream splits a given read stream into two Streams. These streams are referred to\nas the primary and the residual of the split. The original stream can still\nbe read from in the same manner as before. Both of the returned streams can\nalso be read from, and the total rows return by both child streams will be\nthe same as the rows read from the original stream.\n\nMoreover, the two child streams will be allocated back to back in the\noriginal Stream. Concretely, it is guaranteed that for streams Original,\nPrimary, and Residual, that Original[0-j] = Primary[0-j] and\nOriginal[j-n] = Residual[0-m] once the streams have been read to\ncompletion.\n\nThis method is guaranteed to be idempotent.", + "file": "BigQueryStorageClient/SplitReadStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta1_generated_BigQueryStorage_SplitReadStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage SplitReadStream Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json b/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json index 07d8f08309dc..62565f715793 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json @@ -1,379 +1,379 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/storage/apiv1beta2", - "version": "1.74.0", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.storage.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/storage/apiv1beta2", + "version": "1.74.0" }, "snippets": [ { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryRead_CreateReadSession_sync", - "title": "bigquerystorage CreateReadSession Sample", - "description": "CreateReadSession creates a new read session. A read session divides the contents of a\nBigQuery table into one or more streams, which can then be used to read\ndata from the table. The read session also specifies properties of the\ndata to be read, such as a list of columns or a push-down filter describing\nthe rows to be returned.\n\nA particular row can be read by at most one stream. When the caller has\nreached the end of each stream in the session, then all the data in the\ntable has been read.\n\nData is assigned to each stream such that roughly the same number of\nrows can be read from each stream. Because the server-side unit for\nassigning data is collections of rows, the API does not guarantee that\neach stream will return the same number or rows. Additionally, the\nlimits are enforced based on the number of pre-filtered rows, so some\nfilters can lead to lopsided assignments.\n\nRead sessions automatically expire 6 hours after they are created and do\nnot require manual clean-up by the caller.", - "file": "BigQueryReadClient/CreateReadSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReadSession", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryReadClient", + "shortName": "BigQueryReadClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryReadClient.CreateReadSession", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.CreateReadSession", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead", + "shortName": "BigQueryRead" + }, + "shortName": "CreateReadSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.CreateReadSessionRequest", - "name": "req" + "name": "req", + "type": "storagepb.CreateReadSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.ReadSession", - "client": { - "shortName": "BigQueryReadClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryReadClient" - }, - "method": { - "shortName": "CreateReadSession", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.CreateReadSession", - "service": { - "shortName": "BigQueryRead", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead" - } - } + "shortName": "CreateReadSession" }, + "description": "CreateReadSession creates a new read session. A read session divides the contents of a\nBigQuery table into one or more streams, which can then be used to read\ndata from the table. The read session also specifies properties of the\ndata to be read, such as a list of columns or a push-down filter describing\nthe rows to be returned.\n\nA particular row can be read by at most one stream. When the caller has\nreached the end of each stream in the session, then all the data in the\ntable has been read.\n\nData is assigned to each stream such that roughly the same number of\nrows can be read from each stream. Because the server-side unit for\nassigning data is collections of rows, the API does not guarantee that\neach stream will return the same number or rows. Additionally, the\nlimits are enforced based on the number of pre-filtered rows, so some\nfilters can lead to lopsided assignments.\n\nRead sessions automatically expire 6 hours after they are created and do\nnot require manual clean-up by the caller.", + "file": "BigQueryReadClient/CreateReadSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryRead_CreateReadSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage CreateReadSession Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryRead_SplitReadStream_sync", - "title": "bigquerystorage SplitReadStream Sample", - "description": "SplitReadStream splits a given `ReadStream` into two `ReadStream` objects. These\n`ReadStream` objects are referred to as the primary and the residual\nstreams of the split. The original `ReadStream` can still be read from in\nthe same manner as before. Both of the returned `ReadStream` objects can\nalso be read from, and the rows returned by both child streams will be\nthe same as the rows read from the original stream.\n\nMoreover, the two child streams will be allocated back-to-back in the\noriginal `ReadStream`. Concretely, it is guaranteed that for streams\noriginal, primary, and residual, that original[0-j] = primary[0-j] and\noriginal[j-n] = residual[0-m] once the streams have been read to\ncompletion.", - "file": "BigQueryReadClient/SplitReadStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "SplitReadStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryReadClient", + "shortName": "BigQueryReadClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryReadClient.SplitReadStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.SplitReadStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead", + "shortName": "BigQueryRead" + }, + "shortName": "SplitReadStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.SplitReadStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.SplitReadStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.SplitReadStreamResponse", - "client": { - "shortName": "BigQueryReadClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryReadClient" - }, - "method": { - "shortName": "SplitReadStream", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.SplitReadStream", - "service": { - "shortName": "BigQueryRead", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead" - } - } + "shortName": "SplitReadStream" }, + "description": "SplitReadStream splits a given `ReadStream` into two `ReadStream` objects. These\n`ReadStream` objects are referred to as the primary and the residual\nstreams of the split. The original `ReadStream` can still be read from in\nthe same manner as before. Both of the returned `ReadStream` objects can\nalso be read from, and the rows returned by both child streams will be\nthe same as the rows read from the original stream.\n\nMoreover, the two child streams will be allocated back-to-back in the\noriginal `ReadStream`. Concretely, it is guaranteed that for streams\noriginal, primary, and residual, that original[0-j] = primary[0-j] and\noriginal[j-n] = residual[0-m] once the streams have been read to\ncompletion.", + "file": "BigQueryReadClient/SplitReadStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryRead_SplitReadStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage SplitReadStream Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_AppendRows_sync", - "title": "bigquerystorage AppendRows Sample", - "description": "AppendRows appends data to the given stream.\n\nIf `offset` is specified, the `offset` is checked against the end of\nstream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an\nattempt is made to append to an offset beyond the current end of the stream\nor `ALREADY_EXISTS` if user provids an `offset` that has already been\nwritten to. User can retry with adjusted offset within the same RPC\nstream. If `offset` is not specified, append happens at the end of the\nstream.\n\nThe response contains the offset at which the append happened. Responses\nare received in the same order in which requests are sent. There will be\none response for each successful request. If the `offset` is not set in\nresponse, it means append didn't happen due to some errors. If one request\nfails, all the subsequent requests will also fail until a success request\nis made again.\n\nIf the stream is of `PENDING` type, data will only be available for read\noperations after the stream is committed.\n\n\nThis method is not supported for the REST transport.\n\nDeprecated: AppendRows may be removed in a future version.", - "file": "BigQueryWriteClient/AppendRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "AppendRows", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient.AppendRows", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.AppendRows", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "AppendRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "storagepb.BigQueryWrite_AppendRowsClient", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient" - }, - "method": { - "shortName": "AppendRows", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.AppendRows", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite" - } - } + "shortName": "AppendRows" }, + "description": "AppendRows appends data to the given stream.\n\nIf `offset` is specified, the `offset` is checked against the end of\nstream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an\nattempt is made to append to an offset beyond the current end of the stream\nor `ALREADY_EXISTS` if user provids an `offset` that has already been\nwritten to. User can retry with adjusted offset within the same RPC\nstream. If `offset` is not specified, append happens at the end of the\nstream.\n\nThe response contains the offset at which the append happened. Responses\nare received in the same order in which requests are sent. There will be\none response for each successful request. If the `offset` is not set in\nresponse, it means append didn't happen due to some errors. If one request\nfails, all the subsequent requests will also fail until a success request\nis made again.\n\nIf the stream is of `PENDING` type, data will only be available for read\noperations after the stream is committed.\n\n\nThis method is not supported for the REST transport.\n\nDeprecated: AppendRows may be removed in a future version.", + "file": "BigQueryWriteClient/AppendRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_AppendRows_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage AppendRows Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_BatchCommitWriteStreams_sync", - "title": "bigquerystorage BatchCommitWriteStreams Sample", - "description": "BatchCommitWriteStreams atomically commits a group of `PENDING` streams that belong to the same\n`parent` table.\nStreams must be finalized before commit and cannot be committed multiple\ntimes. Once a stream is committed, data in the stream becomes available\nfor read operations.\n\n\nDeprecated: BatchCommitWriteStreams may be removed in a future version.", - "file": "BigQueryWriteClient/BatchCommitWriteStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCommitWriteStreams", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient.BatchCommitWriteStreams", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.BatchCommitWriteStreams", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "BatchCommitWriteStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.BatchCommitWriteStreamsRequest", - "name": "req" + "name": "req", + "type": "storagepb.BatchCommitWriteStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.BatchCommitWriteStreamsResponse", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient" - }, - "method": { - "shortName": "BatchCommitWriteStreams", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.BatchCommitWriteStreams", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite" - } - } + "shortName": "BatchCommitWriteStreams" }, + "description": "BatchCommitWriteStreams atomically commits a group of `PENDING` streams that belong to the same\n`parent` table.\nStreams must be finalized before commit and cannot be committed multiple\ntimes. Once a stream is committed, data in the stream becomes available\nfor read operations.\n\n\nDeprecated: BatchCommitWriteStreams may be removed in a future version.", + "file": "BigQueryWriteClient/BatchCommitWriteStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_BatchCommitWriteStreams_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage BatchCommitWriteStreams Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_CreateWriteStream_sync", - "title": "bigquerystorage CreateWriteStream Sample", - "description": "CreateWriteStream creates a write stream to the given table.\nAdditionally, every table has a special COMMITTED stream named '_default'\nto which data can be written. This stream doesn't need to be created using\nCreateWriteStream. It is a stream that can be used simultaneously by any\nnumber of clients. Data written to this stream is considered committed as\nsoon as an acknowledgement is received.\n\n\nDeprecated: CreateWriteStream may be removed in a future version.", - "file": "BigQueryWriteClient/CreateWriteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWriteStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient.CreateWriteStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.CreateWriteStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "CreateWriteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.CreateWriteStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.CreateWriteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.WriteStream", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient" - }, - "method": { - "shortName": "CreateWriteStream", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.CreateWriteStream", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite" - } - } + "shortName": "CreateWriteStream" }, + "description": "CreateWriteStream creates a write stream to the given table.\nAdditionally, every table has a special COMMITTED stream named '_default'\nto which data can be written. This stream doesn't need to be created using\nCreateWriteStream. It is a stream that can be used simultaneously by any\nnumber of clients. Data written to this stream is considered committed as\nsoon as an acknowledgement is received.\n\n\nDeprecated: CreateWriteStream may be removed in a future version.", + "file": "BigQueryWriteClient/CreateWriteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_CreateWriteStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage CreateWriteStream Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_FinalizeWriteStream_sync", - "title": "bigquerystorage FinalizeWriteStream Sample", - "description": "FinalizeWriteStream finalize a write stream so that no new data can be appended to the\nstream. Finalize is not supported on the '_default' stream.\n\n\nDeprecated: FinalizeWriteStream may be removed in a future version.", - "file": "BigQueryWriteClient/FinalizeWriteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinalizeWriteStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient.FinalizeWriteStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.FinalizeWriteStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "FinalizeWriteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.FinalizeWriteStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.FinalizeWriteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.FinalizeWriteStreamResponse", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient" - }, - "method": { - "shortName": "FinalizeWriteStream", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.FinalizeWriteStream", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite" - } - } + "shortName": "FinalizeWriteStream" }, + "description": "FinalizeWriteStream finalize a write stream so that no new data can be appended to the\nstream. Finalize is not supported on the '_default' stream.\n\n\nDeprecated: FinalizeWriteStream may be removed in a future version.", + "file": "BigQueryWriteClient/FinalizeWriteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_FinalizeWriteStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage FinalizeWriteStream Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_FlushRows_sync", - "title": "bigquerystorage FlushRows Sample", - "description": "FlushRows flushes rows to a BUFFERED stream.\nIf users are appending rows to BUFFERED stream, flush operation is\nrequired in order for the rows to become available for reading. A\nFlush operation flushes up to any previously flushed offset in a BUFFERED\nstream, to the offset specified in the request.\nFlush is not supported on the _default stream, since it is not BUFFERED.\n\n\nDeprecated: FlushRows may be removed in a future version.", - "file": "BigQueryWriteClient/FlushRows/main.go", - "language": "GO", "clientMethod": { - "shortName": "FlushRows", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient.FlushRows", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.FlushRows", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "FlushRows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.FlushRowsRequest", - "name": "req" + "name": "req", + "type": "storagepb.FlushRowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.FlushRowsResponse", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient" - }, - "method": { - "shortName": "FlushRows", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.FlushRows", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite" - } - } + "shortName": "FlushRows" }, + "description": "FlushRows flushes rows to a BUFFERED stream.\nIf users are appending rows to BUFFERED stream, flush operation is\nrequired in order for the rows to become available for reading. A\nFlush operation flushes up to any previously flushed offset in a BUFFERED\nstream, to the offset specified in the request.\nFlush is not supported on the _default stream, since it is not BUFFERED.\n\n\nDeprecated: FlushRows may be removed in a future version.", + "file": "BigQueryWriteClient/FlushRows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_FlushRows_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage FlushRows Sample" }, { - "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_GetWriteStream_sync", - "title": "bigquerystorage GetWriteStream Sample", - "description": "GetWriteStream gets a write stream.\n\n\nDeprecated: GetWriteStream may be removed in a future version.", - "file": "BigQueryWriteClient/GetWriteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWriteStream", + "client": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient", + "shortName": "BigQueryWriteClient" + }, "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient.GetWriteStream", + "method": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.GetWriteStream", + "service": { + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "shortName": "BigQueryWrite" + }, + "shortName": "GetWriteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagepb.GetWriteStreamRequest", - "name": "req" + "name": "req", + "type": "storagepb.GetWriteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagepb.WriteStream", - "client": { - "shortName": "BigQueryWriteClient", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWriteClient" - }, - "method": { - "shortName": "GetWriteStream", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.GetWriteStream", - "service": { - "shortName": "BigQueryWrite", - "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite" - } - } + "shortName": "GetWriteStream" }, + "description": "GetWriteStream gets a write stream.\n\n\nDeprecated: GetWriteStream may be removed in a future version.", + "file": "BigQueryWriteClient/GetWriteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquerystorage_v1beta2_generated_BigQueryWrite_GetWriteStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquerystorage GetWriteStream Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/bigquery/v2/apiv2/snippet_metadata.google.cloud.bigquery.v2.json b/internal/generated/snippets/bigquery/v2/apiv2/snippet_metadata.google.cloud.bigquery.v2.json index c2a26e26806b..1211cec003b1 100644 --- a/internal/generated/snippets/bigquery/v2/apiv2/snippet_metadata.google.cloud.bigquery.v2.json +++ b/internal/generated/snippets/bigquery/v2/apiv2/snippet_metadata.google.cloud.bigquery.v2.json @@ -1,1664 +1,1664 @@ { "clientLibrary": { - "name": "cloud.google.com/go/bigquery/v2/apiv2", - "version": "$VERSION", - "language": "GO", "apis": [ { "id": "google.cloud.bigquery.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/bigquery/v2/apiv2", + "version": "$VERSION" }, "snippets": [ { - "regionTag": "bigquery_v2_generated_DatasetService_DeleteDataset_sync", - "title": "bigquery DeleteDataset Sample", - "description": "DeleteDataset deletes the dataset specified by the datasetId value. Before you can delete\na dataset, you must delete all its tables, either manually or by specifying\ndeleteContents. Immediately after deletion, you can create another dataset\nwith the same name.", - "file": "DatasetClient/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.DeleteDataset", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.DeleteDataset", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.bigquery.v2.DatasetService.DeleteDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes the dataset specified by the datasetId value. Before you can delete\na dataset, you must delete all its tables, either manually or by specifying\ndeleteContents. Immediately after deletion, you can create another dataset\nwith the same name.", + "file": "DatasetClient/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery DeleteDataset Sample" }, { - "regionTag": "bigquery_v2_generated_DatasetService_GetDataset_sync", - "title": "bigquery GetDataset Sample", - "description": "GetDataset returns the dataset specified by datasetID.", - "file": "DatasetClient/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.GetDataset", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.GetDataset", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.bigquery.v2.DatasetService.GetDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset returns the dataset specified by datasetID.", + "file": "DatasetClient/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetDataset Sample" }, { - "regionTag": "bigquery_v2_generated_DatasetService_InsertDataset_sync", - "title": "bigquery InsertDataset Sample", - "description": "InsertDataset creates a new empty dataset.", - "file": "DatasetClient/InsertDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertDataset", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.InsertDataset", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.InsertDataset", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "InsertDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.InsertDatasetRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.InsertDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "InsertDataset", - "fullName": "google.cloud.bigquery.v2.DatasetService.InsertDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "InsertDataset" }, + "description": "InsertDataset creates a new empty dataset.", + "file": "DatasetClient/InsertDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_InsertDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery InsertDataset Sample" }, { - "regionTag": "bigquery_v2_generated_DatasetService_ListDatasets_sync", - "title": "bigquery ListDatasets Sample", - "description": "ListDatasets lists all datasets in the specified project to which the user has been\ngranted the READER dataset role.", - "file": "DatasetClient/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.ListDatasets", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.ListDatasets", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListFormatDatasetIterator", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.bigquery.v2.DatasetService.ListDatasets", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists all datasets in the specified project to which the user has been\ngranted the READER dataset role.", + "file": "DatasetClient/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_ListDatasets_sync", "segments": [ { - "start": 18, "end": 67, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery ListDatasets Sample" }, { - "regionTag": "bigquery_v2_generated_DatasetService_PatchDataset_sync", - "title": "bigquery PatchDataset Sample", - "description": "PatchDataset updates information in an existing dataset. The update method replaces the\nentire dataset resource, whereas the patch method only replaces fields that\nare provided in the submitted dataset resource.\nThis method supports RFC5789 patch semantics.", - "file": "DatasetClient/PatchDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchDataset", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.PatchDataset", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.PatchDataset", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "PatchDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UpdateOrPatchDatasetRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UpdateOrPatchDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "PatchDataset", - "fullName": "google.cloud.bigquery.v2.DatasetService.PatchDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "PatchDataset" }, + "description": "PatchDataset updates information in an existing dataset. The update method replaces the\nentire dataset resource, whereas the patch method only replaces fields that\nare provided in the submitted dataset resource.\nThis method supports RFC5789 patch semantics.", + "file": "DatasetClient/PatchDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_PatchDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery PatchDataset Sample" }, { - "regionTag": "bigquery_v2_generated_DatasetService_UndeleteDataset_sync", - "title": "bigquery UndeleteDataset Sample", - "description": "UndeleteDataset undeletes a dataset which is within time travel window based on datasetId.\nIf a time is specified, the dataset version deleted at that time is\nundeleted, else the last live version is undeleted.", - "file": "DatasetClient/UndeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteDataset", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.UndeleteDataset", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.UndeleteDataset", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "UndeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UndeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UndeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "UndeleteDataset", - "fullName": "google.cloud.bigquery.v2.DatasetService.UndeleteDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "UndeleteDataset" }, + "description": "UndeleteDataset undeletes a dataset which is within time travel window based on datasetId.\nIf a time is specified, the dataset version deleted at that time is\nundeleted, else the last live version is undeleted.", + "file": "DatasetClient/UndeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_UndeleteDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery UndeleteDataset Sample" }, { - "regionTag": "bigquery_v2_generated_DatasetService_UpdateDataset_sync", - "title": "bigquery UpdateDataset Sample", - "description": "UpdateDataset updates information in an existing dataset. The update method replaces the\nentire dataset resource, whereas the patch method only replaces fields that\nare provided in the submitted dataset resource.", - "file": "DatasetClient/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.bigquery.v2.DatasetClient", + "shortName": "DatasetClient" + }, "fullName": "google.cloud.bigquery.v2.DatasetClient.UpdateDataset", + "method": { + "fullName": "google.cloud.bigquery.v2.DatasetService.UpdateDataset", + "service": { + "fullName": "google.cloud.bigquery.v2.DatasetService", + "shortName": "DatasetService" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UpdateOrPatchDatasetRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UpdateOrPatchDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Dataset", - "client": { - "shortName": "DatasetClient", - "fullName": "google.cloud.bigquery.v2.DatasetClient" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.bigquery.v2.DatasetService.UpdateDataset", - "service": { - "shortName": "DatasetService", - "fullName": "google.cloud.bigquery.v2.DatasetService" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates information in an existing dataset. The update method replaces the\nentire dataset resource, whereas the patch method only replaces fields that\nare provided in the submitted dataset resource.", + "file": "DatasetClient/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_DatasetService_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery UpdateDataset Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_CancelJob_sync", - "title": "bigquery CancelJob Sample", - "description": "CancelJob requests that a job be cancelled. This call will return immediately, and\nthe client will need to poll for the job status to see if the cancel\ncompleted successfully. Cancelled jobs may still incur costs.", - "file": "JobClient/CancelJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelJob", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.CancelJob", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.CancelJob", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "CancelJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.CancelJobRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.CancelJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.JobCancelResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "CancelJob", - "fullName": "google.cloud.bigquery.v2.JobService.CancelJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "CancelJob" }, + "description": "CancelJob requests that a job be cancelled. This call will return immediately, and\nthe client will need to poll for the job status to see if the cancel\ncompleted successfully. Cancelled jobs may still incur costs.", + "file": "JobClient/CancelJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_CancelJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery CancelJob Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_DeleteJob_sync", - "title": "bigquery DeleteJob Sample", - "description": "DeleteJob requests the deletion of the metadata of a job. This call returns when the\njob's metadata is deleted.", - "file": "JobClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.DeleteJob", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.DeleteJob", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.bigquery.v2.JobService.DeleteJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob requests the deletion of the metadata of a job. This call returns when the\njob's metadata is deleted.", + "file": "JobClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery DeleteJob Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_GetJob_sync", - "title": "bigquery GetJob Sample", - "description": "GetJob returns information about a specific job. Job information is available for\na six month period after creation. Requires that you're the person who ran\nthe job, or have the Is Owner project role.", - "file": "JobClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.GetJob", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.GetJob", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetJobRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.bigquery.v2.JobService.GetJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "GetJob" }, + "description": "GetJob returns information about a specific job. Job information is available for\na six month period after creation. Requires that you're the person who ran\nthe job, or have the Is Owner project role.", + "file": "JobClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetJob Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_GetQueryResults_sync", - "title": "bigquery GetQueryResults Sample", - "description": "GetQueryResults rPC to get the results of a query job.", - "file": "JobClient/GetQueryResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQueryResults", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.GetQueryResults", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.GetQueryResults", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "GetQueryResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetQueryResultsRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetQueryResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.GetQueryResultsResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "GetQueryResults", - "fullName": "google.cloud.bigquery.v2.JobService.GetQueryResults", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "GetQueryResults" }, + "description": "GetQueryResults rPC to get the results of a query job.", + "file": "JobClient/GetQueryResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_GetQueryResults_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetQueryResults Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_InsertJob_sync", - "title": "bigquery InsertJob Sample", - "description": "InsertJob starts a new asynchronous job.\n\nThis API has two different kinds of endpoint URIs, as this method supports\na variety of use cases.\n\n* The *Metadata* URI is used for most interactions, as it accepts the job\nconfiguration directly.\n* The *Upload* URI is ONLY for the case when you're sending both a load job\nconfiguration and a data stream together. In this case, the Upload URI\naccepts the job configuration and the data as two distinct multipart MIME\nparts.", - "file": "JobClient/InsertJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertJob", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.InsertJob", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.InsertJob", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "InsertJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.InsertJobRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.InsertJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "InsertJob", - "fullName": "google.cloud.bigquery.v2.JobService.InsertJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "InsertJob" }, + "description": "InsertJob starts a new asynchronous job.\n\nThis API has two different kinds of endpoint URIs, as this method supports\na variety of use cases.\n\n* The *Metadata* URI is used for most interactions, as it accepts the job\nconfiguration directly.\n* The *Upload* URI is ONLY for the case when you're sending both a load job\nconfiguration and a data stream together. In this case, the Upload URI\naccepts the job configuration and the data as two distinct multipart MIME\nparts.", + "file": "JobClient/InsertJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_InsertJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery InsertJob Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_ListJobs_sync", - "title": "bigquery ListJobs Sample", - "description": "ListJobs lists all jobs that you started in the specified project. Job information\nis available for a six month period after creation. The job list is sorted\nin reverse chronological order, by job creation time. Requires the Can View\nproject role, or the Is Owner project role if you set the allUsers\nproperty.", - "file": "JobClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.ListJobs", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.ListJobs", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListFormatJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.bigquery.v2.JobService.ListJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists all jobs that you started in the specified project. Job information\nis available for a six month period after creation. The job list is sorted\nin reverse chronological order, by job creation time. Requires the Can View\nproject role, or the Is Owner project role if you set the allUsers\nproperty.", + "file": "JobClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_ListJobs_sync", "segments": [ { - "start": 18, "end": 67, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery ListJobs Sample" }, { - "regionTag": "bigquery_v2_generated_JobService_Query_sync", - "title": "bigquery Query Sample", - "description": "Query runs a BigQuery SQL query synchronously and returns query results if the\nquery completes within a specified timeout.", - "file": "JobClient/Query/main.go", - "language": "GO", "clientMethod": { - "shortName": "Query", + "client": { + "fullName": "google.cloud.bigquery.v2.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.bigquery.v2.JobClient.Query", + "method": { + "fullName": "google.cloud.bigquery.v2.JobService.Query", + "service": { + "fullName": "google.cloud.bigquery.v2.JobService", + "shortName": "JobService" + }, + "shortName": "Query" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.PostQueryRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.PostQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.QueryResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.bigquery.v2.JobClient" - }, - "method": { - "shortName": "Query", - "fullName": "google.cloud.bigquery.v2.JobService.Query", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.bigquery.v2.JobService" - } - } + "shortName": "Query" }, + "description": "Query runs a BigQuery SQL query synchronously and returns query results if the\nquery completes within a specified timeout.", + "file": "JobClient/Query/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_JobService_Query_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery Query Sample" }, { - "regionTag": "bigquery_v2_generated_ModelService_DeleteModel_sync", - "title": "bigquery DeleteModel Sample", - "description": "DeleteModel deletes the model specified by modelId from the dataset.", - "file": "ModelClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.bigquery.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.bigquery.v2.ModelClient.DeleteModel", + "method": { + "fullName": "google.cloud.bigquery.v2.ModelService.DeleteModel", + "service": { + "fullName": "google.cloud.bigquery.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.bigquery.v2.ModelClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.bigquery.v2.ModelService.DeleteModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.bigquery.v2.ModelService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes the model specified by modelId from the dataset.", + "file": "ModelClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_ModelService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery DeleteModel Sample" }, { - "regionTag": "bigquery_v2_generated_ModelService_GetModel_sync", - "title": "bigquery GetModel Sample", - "description": "GetModel gets the specified model resource by model ID.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.bigquery.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.bigquery.v2.ModelClient.GetModel", + "method": { + "fullName": "google.cloud.bigquery.v2.ModelService.GetModel", + "service": { + "fullName": "google.cloud.bigquery.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetModelRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.bigquery.v2.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.bigquery.v2.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.bigquery.v2.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets the specified model resource by model ID.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetModel Sample" }, { - "regionTag": "bigquery_v2_generated_ModelService_ListModels_sync", - "title": "bigquery ListModels Sample", - "description": "ListModels lists all models in the specified dataset. Requires the READER dataset\nrole. After retrieving the list of models, you can get information about a\nparticular model by calling the models.get method.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.bigquery.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.bigquery.v2.ModelClient.ListModels", + "method": { + "fullName": "google.cloud.bigquery.v2.ModelService.ListModels", + "service": { + "fullName": "google.cloud.bigquery.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.bigquery.v2.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.bigquery.v2.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.bigquery.v2.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists all models in the specified dataset. Requires the READER dataset\nrole. After retrieving the list of models, you can get information about a\nparticular model by calling the models.get method.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 67, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery ListModels Sample" }, { - "regionTag": "bigquery_v2_generated_ModelService_PatchModel_sync", - "title": "bigquery PatchModel Sample", - "description": "PatchModel patch specific fields in the specified model.", - "file": "ModelClient/PatchModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchModel", + "client": { + "fullName": "google.cloud.bigquery.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.bigquery.v2.ModelClient.PatchModel", + "method": { + "fullName": "google.cloud.bigquery.v2.ModelService.PatchModel", + "service": { + "fullName": "google.cloud.bigquery.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "PatchModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.PatchModelRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.PatchModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.bigquery.v2.ModelClient" - }, - "method": { - "shortName": "PatchModel", - "fullName": "google.cloud.bigquery.v2.ModelService.PatchModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.bigquery.v2.ModelService" - } - } + "shortName": "PatchModel" }, + "description": "PatchModel patch specific fields in the specified model.", + "file": "ModelClient/PatchModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_ModelService_PatchModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery PatchModel Sample" }, { - "regionTag": "bigquery_v2_generated_ProjectService_GetServiceAccount_sync", - "title": "bigquery GetServiceAccount Sample", - "description": "GetServiceAccount rPC to get the service account for a project used for interactions with\nGoogle Cloud KMS", - "file": "ProjectClient/GetServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceAccount", + "client": { + "fullName": "google.cloud.bigquery.v2.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.bigquery.v2.ProjectClient.GetServiceAccount", + "method": { + "fullName": "google.cloud.bigquery.v2.ProjectService.GetServiceAccount", + "service": { + "fullName": "google.cloud.bigquery.v2.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "GetServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetServiceAccountRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetServiceAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.GetServiceAccountResponse", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.bigquery.v2.ProjectClient" - }, - "method": { - "shortName": "GetServiceAccount", - "fullName": "google.cloud.bigquery.v2.ProjectService.GetServiceAccount", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.bigquery.v2.ProjectService" - } - } + "shortName": "GetServiceAccount" }, + "description": "GetServiceAccount rPC to get the service account for a project used for interactions with\nGoogle Cloud KMS", + "file": "ProjectClient/GetServiceAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_ProjectService_GetServiceAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetServiceAccount Sample" }, { - "regionTag": "bigquery_v2_generated_RoutineService_DeleteRoutine_sync", - "title": "bigquery DeleteRoutine Sample", - "description": "DeleteRoutine deletes the routine specified by routineId from the dataset.", - "file": "RoutineClient/DeleteRoutine/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRoutine", + "client": { + "fullName": "google.cloud.bigquery.v2.RoutineClient", + "shortName": "RoutineClient" + }, "fullName": "google.cloud.bigquery.v2.RoutineClient.DeleteRoutine", + "method": { + "fullName": "google.cloud.bigquery.v2.RoutineService.DeleteRoutine", + "service": { + "fullName": "google.cloud.bigquery.v2.RoutineService", + "shortName": "RoutineService" + }, + "shortName": "DeleteRoutine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.DeleteRoutineRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.DeleteRoutineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RoutineClient", - "fullName": "google.cloud.bigquery.v2.RoutineClient" - }, - "method": { - "shortName": "DeleteRoutine", - "fullName": "google.cloud.bigquery.v2.RoutineService.DeleteRoutine", - "service": { - "shortName": "RoutineService", - "fullName": "google.cloud.bigquery.v2.RoutineService" - } - } + "shortName": "DeleteRoutine" }, + "description": "DeleteRoutine deletes the routine specified by routineId from the dataset.", + "file": "RoutineClient/DeleteRoutine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RoutineService_DeleteRoutine_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery DeleteRoutine Sample" }, { - "regionTag": "bigquery_v2_generated_RoutineService_GetRoutine_sync", - "title": "bigquery GetRoutine Sample", - "description": "GetRoutine gets the specified routine resource by routine ID.", - "file": "RoutineClient/GetRoutine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoutine", + "client": { + "fullName": "google.cloud.bigquery.v2.RoutineClient", + "shortName": "RoutineClient" + }, "fullName": "google.cloud.bigquery.v2.RoutineClient.GetRoutine", + "method": { + "fullName": "google.cloud.bigquery.v2.RoutineService.GetRoutine", + "service": { + "fullName": "google.cloud.bigquery.v2.RoutineService", + "shortName": "RoutineService" + }, + "shortName": "GetRoutine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetRoutineRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetRoutineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Routine", - "client": { - "shortName": "RoutineClient", - "fullName": "google.cloud.bigquery.v2.RoutineClient" - }, - "method": { - "shortName": "GetRoutine", - "fullName": "google.cloud.bigquery.v2.RoutineService.GetRoutine", - "service": { - "shortName": "RoutineService", - "fullName": "google.cloud.bigquery.v2.RoutineService" - } - } + "shortName": "GetRoutine" }, + "description": "GetRoutine gets the specified routine resource by routine ID.", + "file": "RoutineClient/GetRoutine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RoutineService_GetRoutine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetRoutine Sample" }, { - "regionTag": "bigquery_v2_generated_RoutineService_InsertRoutine_sync", - "title": "bigquery InsertRoutine Sample", - "description": "InsertRoutine creates a new routine in the dataset.", - "file": "RoutineClient/InsertRoutine/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertRoutine", + "client": { + "fullName": "google.cloud.bigquery.v2.RoutineClient", + "shortName": "RoutineClient" + }, "fullName": "google.cloud.bigquery.v2.RoutineClient.InsertRoutine", + "method": { + "fullName": "google.cloud.bigquery.v2.RoutineService.InsertRoutine", + "service": { + "fullName": "google.cloud.bigquery.v2.RoutineService", + "shortName": "RoutineService" + }, + "shortName": "InsertRoutine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.InsertRoutineRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.InsertRoutineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Routine", - "client": { - "shortName": "RoutineClient", - "fullName": "google.cloud.bigquery.v2.RoutineClient" - }, - "method": { - "shortName": "InsertRoutine", - "fullName": "google.cloud.bigquery.v2.RoutineService.InsertRoutine", - "service": { - "shortName": "RoutineService", - "fullName": "google.cloud.bigquery.v2.RoutineService" - } - } + "shortName": "InsertRoutine" }, + "description": "InsertRoutine creates a new routine in the dataset.", + "file": "RoutineClient/InsertRoutine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RoutineService_InsertRoutine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery InsertRoutine Sample" }, { - "regionTag": "bigquery_v2_generated_RoutineService_ListRoutines_sync", - "title": "bigquery ListRoutines Sample", - "description": "ListRoutines lists all routines in the specified dataset. Requires the READER dataset\nrole.", - "file": "RoutineClient/ListRoutines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutines", + "client": { + "fullName": "google.cloud.bigquery.v2.RoutineClient", + "shortName": "RoutineClient" + }, "fullName": "google.cloud.bigquery.v2.RoutineClient.ListRoutines", + "method": { + "fullName": "google.cloud.bigquery.v2.RoutineService.ListRoutines", + "service": { + "fullName": "google.cloud.bigquery.v2.RoutineService", + "shortName": "RoutineService" + }, + "shortName": "ListRoutines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.ListRoutinesRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.ListRoutinesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RoutineIterator", - "client": { - "shortName": "RoutineClient", - "fullName": "google.cloud.bigquery.v2.RoutineClient" - }, - "method": { - "shortName": "ListRoutines", - "fullName": "google.cloud.bigquery.v2.RoutineService.ListRoutines", - "service": { - "shortName": "RoutineService", - "fullName": "google.cloud.bigquery.v2.RoutineService" - } - } + "shortName": "ListRoutines" }, + "description": "ListRoutines lists all routines in the specified dataset. Requires the READER dataset\nrole.", + "file": "RoutineClient/ListRoutines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RoutineService_ListRoutines_sync", "segments": [ { - "start": 18, "end": 67, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery ListRoutines Sample" }, { - "regionTag": "bigquery_v2_generated_RoutineService_UpdateRoutine_sync", - "title": "bigquery UpdateRoutine Sample", - "description": "UpdateRoutine updates information in an existing routine. The update method replaces the\nentire Routine resource.", - "file": "RoutineClient/UpdateRoutine/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRoutine", + "client": { + "fullName": "google.cloud.bigquery.v2.RoutineClient", + "shortName": "RoutineClient" + }, "fullName": "google.cloud.bigquery.v2.RoutineClient.UpdateRoutine", + "method": { + "fullName": "google.cloud.bigquery.v2.RoutineService.UpdateRoutine", + "service": { + "fullName": "google.cloud.bigquery.v2.RoutineService", + "shortName": "RoutineService" + }, + "shortName": "UpdateRoutine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UpdateRoutineRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UpdateRoutineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Routine", - "client": { - "shortName": "RoutineClient", - "fullName": "google.cloud.bigquery.v2.RoutineClient" - }, - "method": { - "shortName": "UpdateRoutine", - "fullName": "google.cloud.bigquery.v2.RoutineService.UpdateRoutine", - "service": { - "shortName": "RoutineService", - "fullName": "google.cloud.bigquery.v2.RoutineService" - } - } + "shortName": "UpdateRoutine" }, + "description": "UpdateRoutine updates information in an existing routine. The update method replaces the\nentire Routine resource.", + "file": "RoutineClient/UpdateRoutine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RoutineService_UpdateRoutine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery UpdateRoutine Sample" }, { - "regionTag": "bigquery_v2_generated_RowAccessPolicyService_BatchDeleteRowAccessPolicies_sync", - "title": "bigquery BatchDeleteRowAccessPolicies Sample", - "description": "BatchDeleteRowAccessPolicies deletes provided row access policies.", - "file": "RowAccessPolicyClient/BatchDeleteRowAccessPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteRowAccessPolicies", + "client": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient", + "shortName": "RowAccessPolicyClient" + }, "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient.BatchDeleteRowAccessPolicies", + "method": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.BatchDeleteRowAccessPolicies", + "service": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService", + "shortName": "RowAccessPolicyService" + }, + "shortName": "BatchDeleteRowAccessPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.BatchDeleteRowAccessPoliciesRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.BatchDeleteRowAccessPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RowAccessPolicyClient", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient" - }, - "method": { - "shortName": "BatchDeleteRowAccessPolicies", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.BatchDeleteRowAccessPolicies", - "service": { - "shortName": "RowAccessPolicyService", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService" - } - } + "shortName": "BatchDeleteRowAccessPolicies" }, + "description": "BatchDeleteRowAccessPolicies deletes provided row access policies.", + "file": "RowAccessPolicyClient/BatchDeleteRowAccessPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RowAccessPolicyService_BatchDeleteRowAccessPolicies_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery BatchDeleteRowAccessPolicies Sample" }, { - "regionTag": "bigquery_v2_generated_RowAccessPolicyService_CreateRowAccessPolicy_sync", - "title": "bigquery CreateRowAccessPolicy Sample", - "description": "CreateRowAccessPolicy creates a row access policy.", - "file": "RowAccessPolicyClient/CreateRowAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRowAccessPolicy", + "client": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient", + "shortName": "RowAccessPolicyClient" + }, "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient.CreateRowAccessPolicy", + "method": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.CreateRowAccessPolicy", + "service": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService", + "shortName": "RowAccessPolicyService" + }, + "shortName": "CreateRowAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.CreateRowAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.CreateRowAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.RowAccessPolicy", - "client": { - "shortName": "RowAccessPolicyClient", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient" - }, - "method": { - "shortName": "CreateRowAccessPolicy", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.CreateRowAccessPolicy", - "service": { - "shortName": "RowAccessPolicyService", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService" - } - } + "shortName": "CreateRowAccessPolicy" }, + "description": "CreateRowAccessPolicy creates a row access policy.", + "file": "RowAccessPolicyClient/CreateRowAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RowAccessPolicyService_CreateRowAccessPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery CreateRowAccessPolicy Sample" }, { - "regionTag": "bigquery_v2_generated_RowAccessPolicyService_DeleteRowAccessPolicy_sync", - "title": "bigquery DeleteRowAccessPolicy Sample", - "description": "DeleteRowAccessPolicy deletes a row access policy.", - "file": "RowAccessPolicyClient/DeleteRowAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRowAccessPolicy", + "client": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient", + "shortName": "RowAccessPolicyClient" + }, "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient.DeleteRowAccessPolicy", + "method": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.DeleteRowAccessPolicy", + "service": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService", + "shortName": "RowAccessPolicyService" + }, + "shortName": "DeleteRowAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.DeleteRowAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.DeleteRowAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RowAccessPolicyClient", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient" - }, - "method": { - "shortName": "DeleteRowAccessPolicy", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.DeleteRowAccessPolicy", - "service": { - "shortName": "RowAccessPolicyService", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService" - } - } + "shortName": "DeleteRowAccessPolicy" }, + "description": "DeleteRowAccessPolicy deletes a row access policy.", + "file": "RowAccessPolicyClient/DeleteRowAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RowAccessPolicyService_DeleteRowAccessPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery DeleteRowAccessPolicy Sample" }, { - "regionTag": "bigquery_v2_generated_RowAccessPolicyService_GetRowAccessPolicy_sync", - "title": "bigquery GetRowAccessPolicy Sample", - "description": "GetRowAccessPolicy gets the specified row access policy by policy ID.", - "file": "RowAccessPolicyClient/GetRowAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRowAccessPolicy", + "client": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient", + "shortName": "RowAccessPolicyClient" + }, "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient.GetRowAccessPolicy", + "method": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.GetRowAccessPolicy", + "service": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService", + "shortName": "RowAccessPolicyService" + }, + "shortName": "GetRowAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetRowAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetRowAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.RowAccessPolicy", - "client": { - "shortName": "RowAccessPolicyClient", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient" - }, - "method": { - "shortName": "GetRowAccessPolicy", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.GetRowAccessPolicy", - "service": { - "shortName": "RowAccessPolicyService", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService" - } - } + "shortName": "GetRowAccessPolicy" }, + "description": "GetRowAccessPolicy gets the specified row access policy by policy ID.", + "file": "RowAccessPolicyClient/GetRowAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RowAccessPolicyService_GetRowAccessPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetRowAccessPolicy Sample" }, { - "regionTag": "bigquery_v2_generated_RowAccessPolicyService_ListRowAccessPolicies_sync", - "title": "bigquery ListRowAccessPolicies Sample", - "description": "ListRowAccessPolicies lists all row access policies on the specified table.", - "file": "RowAccessPolicyClient/ListRowAccessPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRowAccessPolicies", + "client": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient", + "shortName": "RowAccessPolicyClient" + }, "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient.ListRowAccessPolicies", + "method": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.ListRowAccessPolicies", + "service": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService", + "shortName": "RowAccessPolicyService" + }, + "shortName": "ListRowAccessPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.ListRowAccessPoliciesRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.ListRowAccessPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RowAccessPolicyIterator", - "client": { - "shortName": "RowAccessPolicyClient", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient" - }, - "method": { - "shortName": "ListRowAccessPolicies", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.ListRowAccessPolicies", - "service": { - "shortName": "RowAccessPolicyService", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService" - } - } + "shortName": "ListRowAccessPolicies" }, + "description": "ListRowAccessPolicies lists all row access policies on the specified table.", + "file": "RowAccessPolicyClient/ListRowAccessPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RowAccessPolicyService_ListRowAccessPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery ListRowAccessPolicies Sample" }, { - "regionTag": "bigquery_v2_generated_RowAccessPolicyService_UpdateRowAccessPolicy_sync", - "title": "bigquery UpdateRowAccessPolicy Sample", - "description": "UpdateRowAccessPolicy updates a row access policy.", - "file": "RowAccessPolicyClient/UpdateRowAccessPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRowAccessPolicy", + "client": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient", + "shortName": "RowAccessPolicyClient" + }, "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient.UpdateRowAccessPolicy", + "method": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.UpdateRowAccessPolicy", + "service": { + "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService", + "shortName": "RowAccessPolicyService" + }, + "shortName": "UpdateRowAccessPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UpdateRowAccessPolicyRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UpdateRowAccessPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.RowAccessPolicy", - "client": { - "shortName": "RowAccessPolicyClient", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyClient" - }, - "method": { - "shortName": "UpdateRowAccessPolicy", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService.UpdateRowAccessPolicy", - "service": { - "shortName": "RowAccessPolicyService", - "fullName": "google.cloud.bigquery.v2.RowAccessPolicyService" - } - } + "shortName": "UpdateRowAccessPolicy" }, + "description": "UpdateRowAccessPolicy updates a row access policy.", + "file": "RowAccessPolicyClient/UpdateRowAccessPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_RowAccessPolicyService_UpdateRowAccessPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery UpdateRowAccessPolicy Sample" }, { - "regionTag": "bigquery_v2_generated_TableService_DeleteTable_sync", - "title": "bigquery DeleteTable Sample", - "description": "DeleteTable deletes the table specified by tableId from the dataset.\nIf the table contains data, all the data will be deleted.", - "file": "TableClient/DeleteTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTable", + "client": { + "fullName": "google.cloud.bigquery.v2.TableClient", + "shortName": "TableClient" + }, "fullName": "google.cloud.bigquery.v2.TableClient.DeleteTable", + "method": { + "fullName": "google.cloud.bigquery.v2.TableService.DeleteTable", + "service": { + "fullName": "google.cloud.bigquery.v2.TableService", + "shortName": "TableService" + }, + "shortName": "DeleteTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.DeleteTableRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.DeleteTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TableClient", - "fullName": "google.cloud.bigquery.v2.TableClient" - }, - "method": { - "shortName": "DeleteTable", - "fullName": "google.cloud.bigquery.v2.TableService.DeleteTable", - "service": { - "shortName": "TableService", - "fullName": "google.cloud.bigquery.v2.TableService" - } - } + "shortName": "DeleteTable" }, + "description": "DeleteTable deletes the table specified by tableId from the dataset.\nIf the table contains data, all the data will be deleted.", + "file": "TableClient/DeleteTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_TableService_DeleteTable_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery DeleteTable Sample" }, { - "regionTag": "bigquery_v2_generated_TableService_GetTable_sync", - "title": "bigquery GetTable Sample", - "description": "GetTable gets the specified table resource by table ID.\nThis method does not return the data in the table, it only returns the\ntable resource, which describes the structure of this table.", - "file": "TableClient/GetTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTable", + "client": { + "fullName": "google.cloud.bigquery.v2.TableClient", + "shortName": "TableClient" + }, "fullName": "google.cloud.bigquery.v2.TableClient.GetTable", + "method": { + "fullName": "google.cloud.bigquery.v2.TableService.GetTable", + "service": { + "fullName": "google.cloud.bigquery.v2.TableService", + "shortName": "TableService" + }, + "shortName": "GetTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.GetTableRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.GetTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Table", - "client": { - "shortName": "TableClient", - "fullName": "google.cloud.bigquery.v2.TableClient" - }, - "method": { - "shortName": "GetTable", - "fullName": "google.cloud.bigquery.v2.TableService.GetTable", - "service": { - "shortName": "TableService", - "fullName": "google.cloud.bigquery.v2.TableService" - } - } + "shortName": "GetTable" }, + "description": "GetTable gets the specified table resource by table ID.\nThis method does not return the data in the table, it only returns the\ntable resource, which describes the structure of this table.", + "file": "TableClient/GetTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_TableService_GetTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery GetTable Sample" }, { - "regionTag": "bigquery_v2_generated_TableService_InsertTable_sync", - "title": "bigquery InsertTable Sample", - "description": "InsertTable creates a new, empty table in the dataset.", - "file": "TableClient/InsertTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertTable", + "client": { + "fullName": "google.cloud.bigquery.v2.TableClient", + "shortName": "TableClient" + }, "fullName": "google.cloud.bigquery.v2.TableClient.InsertTable", + "method": { + "fullName": "google.cloud.bigquery.v2.TableService.InsertTable", + "service": { + "fullName": "google.cloud.bigquery.v2.TableService", + "shortName": "TableService" + }, + "shortName": "InsertTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.InsertTableRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.InsertTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Table", - "client": { - "shortName": "TableClient", - "fullName": "google.cloud.bigquery.v2.TableClient" - }, - "method": { - "shortName": "InsertTable", - "fullName": "google.cloud.bigquery.v2.TableService.InsertTable", - "service": { - "shortName": "TableService", - "fullName": "google.cloud.bigquery.v2.TableService" - } - } + "shortName": "InsertTable" }, + "description": "InsertTable creates a new, empty table in the dataset.", + "file": "TableClient/InsertTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_TableService_InsertTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery InsertTable Sample" }, { - "regionTag": "bigquery_v2_generated_TableService_ListTables_sync", - "title": "bigquery ListTables Sample", - "description": "ListTables lists all tables in the specified dataset. Requires the READER dataset\nrole.", - "file": "TableClient/ListTables/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTables", + "client": { + "fullName": "google.cloud.bigquery.v2.TableClient", + "shortName": "TableClient" + }, "fullName": "google.cloud.bigquery.v2.TableClient.ListTables", + "method": { + "fullName": "google.cloud.bigquery.v2.TableService.ListTables", + "service": { + "fullName": "google.cloud.bigquery.v2.TableService", + "shortName": "TableService" + }, + "shortName": "ListTables" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.ListTablesRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.ListTablesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListFormatTableIterator", - "client": { - "shortName": "TableClient", - "fullName": "google.cloud.bigquery.v2.TableClient" - }, - "method": { - "shortName": "ListTables", - "fullName": "google.cloud.bigquery.v2.TableService.ListTables", - "service": { - "shortName": "TableService", - "fullName": "google.cloud.bigquery.v2.TableService" - } - } + "shortName": "ListTables" }, + "description": "ListTables lists all tables in the specified dataset. Requires the READER dataset\nrole.", + "file": "TableClient/ListTables/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_TableService_ListTables_sync", "segments": [ { - "start": 18, "end": 67, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery ListTables Sample" }, { - "regionTag": "bigquery_v2_generated_TableService_PatchTable_sync", - "title": "bigquery PatchTable Sample", - "description": "PatchTable updates information in an existing table. The update method replaces the\nentire table resource, whereas the patch method only replaces fields that\nare provided in the submitted table resource.\nThis method supports RFC5789 patch semantics.", - "file": "TableClient/PatchTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchTable", + "client": { + "fullName": "google.cloud.bigquery.v2.TableClient", + "shortName": "TableClient" + }, "fullName": "google.cloud.bigquery.v2.TableClient.PatchTable", + "method": { + "fullName": "google.cloud.bigquery.v2.TableService.PatchTable", + "service": { + "fullName": "google.cloud.bigquery.v2.TableService", + "shortName": "TableService" + }, + "shortName": "PatchTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UpdateOrPatchTableRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UpdateOrPatchTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Table", - "client": { - "shortName": "TableClient", - "fullName": "google.cloud.bigquery.v2.TableClient" - }, - "method": { - "shortName": "PatchTable", - "fullName": "google.cloud.bigquery.v2.TableService.PatchTable", - "service": { - "shortName": "TableService", - "fullName": "google.cloud.bigquery.v2.TableService" - } - } + "shortName": "PatchTable" }, + "description": "PatchTable updates information in an existing table. The update method replaces the\nentire table resource, whereas the patch method only replaces fields that\nare provided in the submitted table resource.\nThis method supports RFC5789 patch semantics.", + "file": "TableClient/PatchTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_TableService_PatchTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery PatchTable Sample" }, { - "regionTag": "bigquery_v2_generated_TableService_UpdateTable_sync", - "title": "bigquery UpdateTable Sample", - "description": "UpdateTable updates information in an existing table. The update method replaces the\nentire Table resource, whereas the patch method only replaces fields that\nare provided in the submitted Table resource.", - "file": "TableClient/UpdateTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTable", + "client": { + "fullName": "google.cloud.bigquery.v2.TableClient", + "shortName": "TableClient" + }, "fullName": "google.cloud.bigquery.v2.TableClient.UpdateTable", + "method": { + "fullName": "google.cloud.bigquery.v2.TableService.UpdateTable", + "service": { + "fullName": "google.cloud.bigquery.v2.TableService", + "shortName": "TableService" + }, + "shortName": "UpdateTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "bigquerypb.UpdateOrPatchTableRequest", - "name": "req" + "name": "req", + "type": "bigquerypb.UpdateOrPatchTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*bigquerypb.Table", - "client": { - "shortName": "TableClient", - "fullName": "google.cloud.bigquery.v2.TableClient" - }, - "method": { - "shortName": "UpdateTable", - "fullName": "google.cloud.bigquery.v2.TableService.UpdateTable", - "service": { - "shortName": "TableService", - "fullName": "google.cloud.bigquery.v2.TableService" - } - } + "shortName": "UpdateTable" }, + "description": "UpdateTable updates information in an existing table. The update method replaces the\nentire Table resource, whereas the patch method only replaces fields that\nare provided in the submitted Table resource.", + "file": "TableClient/UpdateTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "bigquery_v2_generated_TableService_UpdateTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "bigquery UpdateTable Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json index f171d0ed2588..e2864c5081fb 100644 --- a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json +++ b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json @@ -1,613 +1,613 @@ { "clientLibrary": { - "name": "cloud.google.com/go/billing/apiv1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.billing.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/billing/apiv1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "cloudbilling_v1_generated_CloudBilling_CreateBillingAccount_sync", - "title": "cloudbilling CreateBillingAccount Sample", - "description": "CreateBillingAccount this method creates [billing\nsubaccounts](https: //cloud.google.com/billing/docs/concepts#subaccounts).\n\nGoogle Cloud resellers should use the\nChannel Services APIs,\n[accounts.customers.create](https: //cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create)\nand\n[accounts.customers.entitlements.create](https: //cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create).\n\nWhen creating a subaccount, the current authenticated user must have the\n`billing.accounts.update` IAM permission on the parent account, which is\ntypically given to billing account\n[administrators](https: //cloud.google.com/billing/docs/how-to/billing-access).\nThis method will return an error if the parent account has not been\nprovisioned for subaccounts.", - "file": "CloudBillingClient/CreateBillingAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBillingAccount", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.CreateBillingAccount", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.CreateBillingAccount", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "CreateBillingAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.CreateBillingAccountRequest", - "name": "req" + "name": "req", + "type": "billingpb.CreateBillingAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*billingpb.BillingAccount", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "CreateBillingAccount", - "fullName": "google.cloud.billing.v1.CloudBilling.CreateBillingAccount", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "CreateBillingAccount" }, + "description": "CreateBillingAccount this method creates [billing\nsubaccounts](https: //cloud.google.com/billing/docs/concepts#subaccounts).\n\nGoogle Cloud resellers should use the\nChannel Services APIs,\n[accounts.customers.create](https: //cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create)\nand\n[accounts.customers.entitlements.create](https: //cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create).\n\nWhen creating a subaccount, the current authenticated user must have the\n`billing.accounts.update` IAM permission on the parent account, which is\ntypically given to billing account\n[administrators](https: //cloud.google.com/billing/docs/how-to/billing-access).\nThis method will return an error if the parent account has not been\nprovisioned for subaccounts.", + "file": "CloudBillingClient/CreateBillingAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_CreateBillingAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling CreateBillingAccount Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_GetBillingAccount_sync", - "title": "cloudbilling GetBillingAccount Sample", - "description": "GetBillingAccount gets information about a billing account. The current authenticated user\nmust be a [viewer of the billing\naccount](https: //cloud.google.com/billing/docs/how-to/billing-access).", - "file": "CloudBillingClient/GetBillingAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBillingAccount", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.GetBillingAccount", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.GetBillingAccount", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "GetBillingAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.GetBillingAccountRequest", - "name": "req" + "name": "req", + "type": "billingpb.GetBillingAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*billingpb.BillingAccount", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "GetBillingAccount", - "fullName": "google.cloud.billing.v1.CloudBilling.GetBillingAccount", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "GetBillingAccount" }, + "description": "GetBillingAccount gets information about a billing account. The current authenticated user\nmust be a [viewer of the billing\naccount](https: //cloud.google.com/billing/docs/how-to/billing-access).", + "file": "CloudBillingClient/GetBillingAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_GetBillingAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling GetBillingAccount Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_GetIamPolicy_sync", - "title": "cloudbilling GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a billing account.\nThe caller must have the `billing.accounts.getIamPolicy` permission on the\naccount, which is often given to billing account\n[viewers](https: //cloud.google.com/billing/docs/how-to/billing-access).", - "file": "CloudBillingClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.GetIamPolicy", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.billing.v1.CloudBilling.GetIamPolicy", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a billing account.\nThe caller must have the `billing.accounts.getIamPolicy` permission on the\naccount, which is often given to billing account\n[viewers](https: //cloud.google.com/billing/docs/how-to/billing-access).", + "file": "CloudBillingClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling GetIamPolicy Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_GetProjectBillingInfo_sync", - "title": "cloudbilling GetProjectBillingInfo Sample", - "description": "GetProjectBillingInfo gets the billing information for a project. The current authenticated user\nmust have the `resourcemanager.projects.get` permission for the project,\nwhich can be granted by assigning the [Project\nViewer](https: //cloud.google.com/iam/docs/understanding-roles#predefined_roles)\nrole.", - "file": "CloudBillingClient/GetProjectBillingInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProjectBillingInfo", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.GetProjectBillingInfo", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.GetProjectBillingInfo", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "GetProjectBillingInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.GetProjectBillingInfoRequest", - "name": "req" + "name": "req", + "type": "billingpb.GetProjectBillingInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*billingpb.ProjectBillingInfo", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "GetProjectBillingInfo", - "fullName": "google.cloud.billing.v1.CloudBilling.GetProjectBillingInfo", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "GetProjectBillingInfo" }, + "description": "GetProjectBillingInfo gets the billing information for a project. The current authenticated user\nmust have the `resourcemanager.projects.get` permission for the project,\nwhich can be granted by assigning the [Project\nViewer](https: //cloud.google.com/iam/docs/understanding-roles#predefined_roles)\nrole.", + "file": "CloudBillingClient/GetProjectBillingInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_GetProjectBillingInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling GetProjectBillingInfo Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_ListBillingAccounts_sync", - "title": "cloudbilling ListBillingAccounts Sample", - "description": "ListBillingAccounts lists the billing accounts that the current authenticated user has\npermission to\n[view](https: //cloud.google.com/billing/docs/how-to/billing-access).", - "file": "CloudBillingClient/ListBillingAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBillingAccounts", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.ListBillingAccounts", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.ListBillingAccounts", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "ListBillingAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.ListBillingAccountsRequest", - "name": "req" + "name": "req", + "type": "billingpb.ListBillingAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BillingAccountIterator", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "ListBillingAccounts", - "fullName": "google.cloud.billing.v1.CloudBilling.ListBillingAccounts", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "ListBillingAccounts" }, + "description": "ListBillingAccounts lists the billing accounts that the current authenticated user has\npermission to\n[view](https: //cloud.google.com/billing/docs/how-to/billing-access).", + "file": "CloudBillingClient/ListBillingAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_ListBillingAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling ListBillingAccounts Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_ListProjectBillingInfo_sync", - "title": "cloudbilling ListProjectBillingInfo Sample", - "description": "ListProjectBillingInfo lists the projects associated with a billing account. The current\nauthenticated user must have the `billing.resourceAssociations.list` IAM\npermission, which is often given to billing account\n[viewers](https: //cloud.google.com/billing/docs/how-to/billing-access).", - "file": "CloudBillingClient/ListProjectBillingInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProjectBillingInfo", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.ListProjectBillingInfo", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.ListProjectBillingInfo", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "ListProjectBillingInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.ListProjectBillingInfoRequest", - "name": "req" + "name": "req", + "type": "billingpb.ListProjectBillingInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProjectBillingInfoIterator", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "ListProjectBillingInfo", - "fullName": "google.cloud.billing.v1.CloudBilling.ListProjectBillingInfo", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "ListProjectBillingInfo" }, + "description": "ListProjectBillingInfo lists the projects associated with a billing account. The current\nauthenticated user must have the `billing.resourceAssociations.list` IAM\npermission, which is often given to billing account\n[viewers](https: //cloud.google.com/billing/docs/how-to/billing-access).", + "file": "CloudBillingClient/ListProjectBillingInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_ListProjectBillingInfo_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling ListProjectBillingInfo Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_MoveBillingAccount_sync", - "title": "cloudbilling MoveBillingAccount Sample", - "description": "MoveBillingAccount changes which parent organization a billing account belongs to.", - "file": "CloudBillingClient/MoveBillingAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveBillingAccount", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.MoveBillingAccount", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.MoveBillingAccount", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "MoveBillingAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.MoveBillingAccountRequest", - "name": "req" + "name": "req", + "type": "billingpb.MoveBillingAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*billingpb.BillingAccount", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "MoveBillingAccount", - "fullName": "google.cloud.billing.v1.CloudBilling.MoveBillingAccount", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "MoveBillingAccount" }, + "description": "MoveBillingAccount changes which parent organization a billing account belongs to.", + "file": "CloudBillingClient/MoveBillingAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_MoveBillingAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling MoveBillingAccount Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_SetIamPolicy_sync", - "title": "cloudbilling SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy for a billing account. Replaces any existing\npolicy.\nThe caller must have the `billing.accounts.setIamPolicy` permission on the\naccount, which is often given to billing account\n[administrators](https: //cloud.google.com/billing/docs/how-to/billing-access).", - "file": "CloudBillingClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.SetIamPolicy", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.billing.v1.CloudBilling.SetIamPolicy", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy for a billing account. Replaces any existing\npolicy.\nThe caller must have the `billing.accounts.setIamPolicy` permission on the\naccount, which is often given to billing account\n[administrators](https: //cloud.google.com/billing/docs/how-to/billing-access).", + "file": "CloudBillingClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling SetIamPolicy Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_TestIamPermissions_sync", - "title": "cloudbilling TestIamPermissions Sample", - "description": "TestIamPermissions tests the access control policy for a billing account. This method takes\nthe resource and a set of permissions as input and returns the subset of\nthe input permissions that the caller is allowed for that resource.", - "file": "CloudBillingClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.TestIamPermissions", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.billing.v1.CloudBilling.TestIamPermissions", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests the access control policy for a billing account. This method takes\nthe resource and a set of permissions as input and returns the subset of\nthe input permissions that the caller is allowed for that resource.", + "file": "CloudBillingClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling TestIamPermissions Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_UpdateBillingAccount_sync", - "title": "cloudbilling UpdateBillingAccount Sample", - "description": "UpdateBillingAccount updates a billing account's fields.\nCurrently the only field that can be edited is `display_name`.\nThe current authenticated user must have the `billing.accounts.update`\nIAM permission, which is typically given to the\n[administrator](https: //cloud.google.com/billing/docs/how-to/billing-access)\nof the billing account.", - "file": "CloudBillingClient/UpdateBillingAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBillingAccount", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.UpdateBillingAccount", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.UpdateBillingAccount", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "UpdateBillingAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.UpdateBillingAccountRequest", - "name": "req" + "name": "req", + "type": "billingpb.UpdateBillingAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*billingpb.BillingAccount", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "UpdateBillingAccount", - "fullName": "google.cloud.billing.v1.CloudBilling.UpdateBillingAccount", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "UpdateBillingAccount" }, + "description": "UpdateBillingAccount updates a billing account's fields.\nCurrently the only field that can be edited is `display_name`.\nThe current authenticated user must have the `billing.accounts.update`\nIAM permission, which is typically given to the\n[administrator](https: //cloud.google.com/billing/docs/how-to/billing-access)\nof the billing account.", + "file": "CloudBillingClient/UpdateBillingAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_UpdateBillingAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling UpdateBillingAccount Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudBilling_UpdateProjectBillingInfo_sync", - "title": "cloudbilling UpdateProjectBillingInfo Sample", - "description": "UpdateProjectBillingInfo sets or updates the billing account associated with a project. You specify\nthe new billing account by setting the `billing_account_name` in the\n`ProjectBillingInfo` resource to the resource name of a billing account.\nAssociating a project with an open billing account enables billing on the\nproject and allows charges for resource usage. If the project already had a\nbilling account, this method changes the billing account used for resource\nusage charges.\n\n*Note: * Incurred charges that have not yet been reported in the transaction\nhistory of the Google Cloud Console might be billed to the new billing\naccount, even if the charge occurred before the new billing account was\nassigned to the project.\n\nThe current authenticated user must have ownership privileges for both\nthe\n[project](https: //cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n) and the [billing\naccount](https: //cloud.google.com/billing/docs/how-to/billing-access).\n\nYou can disable billing on the project by setting the\n`billing_account_name` field to empty. This action disassociates the\ncurrent billing account from the project. Any billable activity of your\nin-use services will stop, and your application could stop functioning as\nexpected. Any unbilled charges to date will be billed to the previously\nassociated account. The current authenticated user must be either an owner\nof the project or an owner of the billing account for the project.\n\nNote that associating a project with a *closed* billing account will have\nmuch the same effect as disabling billing on the project: any paid\nresources used by the project will be shut down. Thus, unless you wish to\ndisable billing, you should always call this method with the name of an\n*open* billing account.", - "file": "CloudBillingClient/UpdateProjectBillingInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProjectBillingInfo", + "client": { + "fullName": "google.cloud.billing.v1.CloudBillingClient", + "shortName": "CloudBillingClient" + }, "fullName": "google.cloud.billing.v1.CloudBillingClient.UpdateProjectBillingInfo", + "method": { + "fullName": "google.cloud.billing.v1.CloudBilling.UpdateProjectBillingInfo", + "service": { + "fullName": "google.cloud.billing.v1.CloudBilling", + "shortName": "CloudBilling" + }, + "shortName": "UpdateProjectBillingInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.UpdateProjectBillingInfoRequest", - "name": "req" + "name": "req", + "type": "billingpb.UpdateProjectBillingInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*billingpb.ProjectBillingInfo", - "client": { - "shortName": "CloudBillingClient", - "fullName": "google.cloud.billing.v1.CloudBillingClient" - }, - "method": { - "shortName": "UpdateProjectBillingInfo", - "fullName": "google.cloud.billing.v1.CloudBilling.UpdateProjectBillingInfo", - "service": { - "shortName": "CloudBilling", - "fullName": "google.cloud.billing.v1.CloudBilling" - } - } + "shortName": "UpdateProjectBillingInfo" }, + "description": "UpdateProjectBillingInfo sets or updates the billing account associated with a project. You specify\nthe new billing account by setting the `billing_account_name` in the\n`ProjectBillingInfo` resource to the resource name of a billing account.\nAssociating a project with an open billing account enables billing on the\nproject and allows charges for resource usage. If the project already had a\nbilling account, this method changes the billing account used for resource\nusage charges.\n\n*Note: * Incurred charges that have not yet been reported in the transaction\nhistory of the Google Cloud Console might be billed to the new billing\naccount, even if the charge occurred before the new billing account was\nassigned to the project.\n\nThe current authenticated user must have ownership privileges for both\nthe\n[project](https: //cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo\n) and the [billing\naccount](https: //cloud.google.com/billing/docs/how-to/billing-access).\n\nYou can disable billing on the project by setting the\n`billing_account_name` field to empty. This action disassociates the\ncurrent billing account from the project. Any billable activity of your\nin-use services will stop, and your application could stop functioning as\nexpected. Any unbilled charges to date will be billed to the previously\nassociated account. The current authenticated user must be either an owner\nof the project or an owner of the billing account for the project.\n\nNote that associating a project with a *closed* billing account will have\nmuch the same effect as disabling billing on the project: any paid\nresources used by the project will be shut down. Thus, unless you wish to\ndisable billing, you should always call this method with the name of an\n*open* billing account.", + "file": "CloudBillingClient/UpdateProjectBillingInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudBilling_UpdateProjectBillingInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling UpdateProjectBillingInfo Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudCatalog_ListServices_sync", - "title": "cloudbilling ListServices Sample", - "description": "ListServices lists all public cloud services.", - "file": "CloudCatalogClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.billing.v1.CloudCatalogClient", + "shortName": "CloudCatalogClient" + }, "fullName": "google.cloud.billing.v1.CloudCatalogClient.ListServices", + "method": { + "fullName": "google.cloud.billing.v1.CloudCatalog.ListServices", + "service": { + "fullName": "google.cloud.billing.v1.CloudCatalog", + "shortName": "CloudCatalog" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "billingpb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "CloudCatalogClient", - "fullName": "google.cloud.billing.v1.CloudCatalogClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.billing.v1.CloudCatalog.ListServices", - "service": { - "shortName": "CloudCatalog", - "fullName": "google.cloud.billing.v1.CloudCatalog" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists all public cloud services.", + "file": "CloudCatalogClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudCatalog_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling ListServices Sample" }, { - "regionTag": "cloudbilling_v1_generated_CloudCatalog_ListSkus_sync", - "title": "cloudbilling ListSkus Sample", - "description": "ListSkus lists all publicly available SKUs for a given cloud service.", - "file": "CloudCatalogClient/ListSkus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSkus", + "client": { + "fullName": "google.cloud.billing.v1.CloudCatalogClient", + "shortName": "CloudCatalogClient" + }, "fullName": "google.cloud.billing.v1.CloudCatalogClient.ListSkus", + "method": { + "fullName": "google.cloud.billing.v1.CloudCatalog.ListSkus", + "service": { + "fullName": "google.cloud.billing.v1.CloudCatalog", + "shortName": "CloudCatalog" + }, + "shortName": "ListSkus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "billingpb.ListSkusRequest", - "name": "req" + "name": "req", + "type": "billingpb.ListSkusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SkuIterator", - "client": { - "shortName": "CloudCatalogClient", - "fullName": "google.cloud.billing.v1.CloudCatalogClient" - }, - "method": { - "shortName": "ListSkus", - "fullName": "google.cloud.billing.v1.CloudCatalog.ListSkus", - "service": { - "shortName": "CloudCatalog", - "fullName": "google.cloud.billing.v1.CloudCatalog" - } - } + "shortName": "ListSkus" }, + "description": "ListSkus lists all publicly available SKUs for a given cloud service.", + "file": "CloudCatalogClient/ListSkus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbilling_v1_generated_CloudCatalog_ListSkus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbilling ListSkus Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json index 4acb0b734c66..8f25e52f82bd 100644 --- a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json +++ b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json @@ -1,244 +1,244 @@ { "clientLibrary": { - "name": "cloud.google.com/go/billing/budgets/apiv1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.billing.budgets.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/billing/budgets/apiv1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "billingbudgets_v1_generated_BudgetService_CreateBudget_sync", - "title": "billingbudgets CreateBudget Sample", - "description": "CreateBudget creates a new budget. See\n[Quotas and limits](https: //cloud.google.com/billing/quotas)\nfor more information on the limits of the number of budgets you can create.", - "file": "BudgetClient/CreateBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1.BudgetClient.CreateBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService.CreateBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "CreateBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.CreateBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.CreateBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*budgetspb.Budget", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1.BudgetClient" - }, - "method": { - "shortName": "CreateBudget", - "fullName": "google.cloud.billing.budgets.v1.BudgetService.CreateBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1.BudgetService" - } - } + "shortName": "CreateBudget" }, + "description": "CreateBudget creates a new budget. See\n[Quotas and limits](https: //cloud.google.com/billing/quotas)\nfor more information on the limits of the number of budgets you can create.", + "file": "BudgetClient/CreateBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1_generated_BudgetService_CreateBudget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets CreateBudget Sample" }, { - "regionTag": "billingbudgets_v1_generated_BudgetService_DeleteBudget_sync", - "title": "billingbudgets DeleteBudget Sample", - "description": "DeleteBudget deletes a budget. Returns successfully if already deleted.", - "file": "BudgetClient/DeleteBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1.BudgetClient.DeleteBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService.DeleteBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "DeleteBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.DeleteBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.DeleteBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1.BudgetClient" - }, - "method": { - "shortName": "DeleteBudget", - "fullName": "google.cloud.billing.budgets.v1.BudgetService.DeleteBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1.BudgetService" - } - } + "shortName": "DeleteBudget" }, + "description": "DeleteBudget deletes a budget. Returns successfully if already deleted.", + "file": "BudgetClient/DeleteBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1_generated_BudgetService_DeleteBudget_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets DeleteBudget Sample" }, { - "regionTag": "billingbudgets_v1_generated_BudgetService_GetBudget_sync", - "title": "billingbudgets GetBudget Sample", - "description": "GetBudget returns a budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", - "file": "BudgetClient/GetBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1.BudgetClient.GetBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService.GetBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "GetBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.GetBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.GetBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*budgetspb.Budget", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1.BudgetClient" - }, - "method": { - "shortName": "GetBudget", - "fullName": "google.cloud.billing.budgets.v1.BudgetService.GetBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1.BudgetService" - } - } + "shortName": "GetBudget" }, + "description": "GetBudget returns a budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", + "file": "BudgetClient/GetBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1_generated_BudgetService_GetBudget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets GetBudget Sample" }, { - "regionTag": "billingbudgets_v1_generated_BudgetService_ListBudgets_sync", - "title": "billingbudgets ListBudgets Sample", - "description": "ListBudgets returns a list of budgets for a billing account.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", - "file": "BudgetClient/ListBudgets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBudgets", + "client": { + "fullName": "google.cloud.billing.budgets.v1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1.BudgetClient.ListBudgets", + "method": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService.ListBudgets", + "service": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "ListBudgets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.ListBudgetsRequest", - "name": "req" + "name": "req", + "type": "budgetspb.ListBudgetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BudgetIterator", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1.BudgetClient" - }, - "method": { - "shortName": "ListBudgets", - "fullName": "google.cloud.billing.budgets.v1.BudgetService.ListBudgets", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1.BudgetService" - } - } + "shortName": "ListBudgets" }, + "description": "ListBudgets returns a list of budgets for a billing account.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", + "file": "BudgetClient/ListBudgets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1_generated_BudgetService_ListBudgets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets ListBudgets Sample" }, { - "regionTag": "billingbudgets_v1_generated_BudgetService_UpdateBudget_sync", - "title": "billingbudgets UpdateBudget Sample", - "description": "UpdateBudget updates a budget and returns the updated budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. Budget fields that are not exposed in\nthis API will not be changed by this method.", - "file": "BudgetClient/UpdateBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1.BudgetClient.UpdateBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService.UpdateBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "UpdateBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.UpdateBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.UpdateBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*budgetspb.Budget", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1.BudgetClient" - }, - "method": { - "shortName": "UpdateBudget", - "fullName": "google.cloud.billing.budgets.v1.BudgetService.UpdateBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1.BudgetService" - } - } + "shortName": "UpdateBudget" }, + "description": "UpdateBudget updates a budget and returns the updated budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. Budget fields that are not exposed in\nthis API will not be changed by this method.", + "file": "BudgetClient/UpdateBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1_generated_BudgetService_UpdateBudget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets UpdateBudget Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json index 10abc209695b..a5cf606f8076 100644 --- a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json +++ b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json @@ -1,244 +1,244 @@ { "clientLibrary": { - "name": "cloud.google.com/go/billing/budgets/apiv1beta1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.billing.budgets.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/billing/budgets/apiv1beta1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync", - "title": "billingbudgets CreateBudget Sample", - "description": "CreateBudget creates a new budget. See\n[Quotas and limits](https: //cloud.google.com/billing/quotas)\nfor more information on the limits of the number of budgets you can create.", - "file": "BudgetClient/CreateBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient.CreateBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.CreateBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "CreateBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.CreateBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.CreateBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*budgetspb.Budget", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient" - }, - "method": { - "shortName": "CreateBudget", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.CreateBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService" - } - } + "shortName": "CreateBudget" }, + "description": "CreateBudget creates a new budget. See\n[Quotas and limits](https: //cloud.google.com/billing/quotas)\nfor more information on the limits of the number of budgets you can create.", + "file": "BudgetClient/CreateBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets CreateBudget Sample" }, { - "regionTag": "billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync", - "title": "billingbudgets DeleteBudget Sample", - "description": "DeleteBudget deletes a budget. Returns successfully if already deleted.", - "file": "BudgetClient/DeleteBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient.DeleteBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.DeleteBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "DeleteBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.DeleteBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.DeleteBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient" - }, - "method": { - "shortName": "DeleteBudget", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.DeleteBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService" - } - } + "shortName": "DeleteBudget" }, + "description": "DeleteBudget deletes a budget. Returns successfully if already deleted.", + "file": "BudgetClient/DeleteBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets DeleteBudget Sample" }, { - "regionTag": "billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync", - "title": "billingbudgets GetBudget Sample", - "description": "GetBudget returns a budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", - "file": "BudgetClient/GetBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient.GetBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.GetBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "GetBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.GetBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.GetBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*budgetspb.Budget", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient" - }, - "method": { - "shortName": "GetBudget", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.GetBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService" - } - } + "shortName": "GetBudget" }, + "description": "GetBudget returns a budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", + "file": "BudgetClient/GetBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets GetBudget Sample" }, { - "regionTag": "billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync", - "title": "billingbudgets ListBudgets Sample", - "description": "ListBudgets returns a list of budgets for a billing account.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", - "file": "BudgetClient/ListBudgets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBudgets", + "client": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient.ListBudgets", + "method": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.ListBudgets", + "service": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "ListBudgets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.ListBudgetsRequest", - "name": "req" + "name": "req", + "type": "budgetspb.ListBudgetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BudgetIterator", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient" - }, - "method": { - "shortName": "ListBudgets", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.ListBudgets", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService" - } - } + "shortName": "ListBudgets" }, + "description": "ListBudgets returns a list of budgets for a billing account.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.", + "file": "BudgetClient/ListBudgets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets ListBudgets Sample" }, { - "regionTag": "billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync", - "title": "billingbudgets UpdateBudget Sample", - "description": "UpdateBudget updates a budget and returns the updated budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. Budget fields that are not exposed in\nthis API will not be changed by this method.", - "file": "BudgetClient/UpdateBudget/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBudget", + "client": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient", + "shortName": "BudgetClient" + }, "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient.UpdateBudget", + "method": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.UpdateBudget", + "service": { + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService", + "shortName": "BudgetService" + }, + "shortName": "UpdateBudget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "budgetspb.UpdateBudgetRequest", - "name": "req" + "name": "req", + "type": "budgetspb.UpdateBudgetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*budgetspb.Budget", - "client": { - "shortName": "BudgetClient", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetClient" - }, - "method": { - "shortName": "UpdateBudget", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.UpdateBudget", - "service": { - "shortName": "BudgetService", - "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService" - } - } + "shortName": "UpdateBudget" }, + "description": "UpdateBudget updates a budget and returns the updated budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. Budget fields that are not exposed in\nthis API will not be changed by this method.", + "file": "BudgetClient/UpdateBudget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "billingbudgets UpdateBudget Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json index 4d29c60ab9c0..56efe96fd5e7 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json @@ -1,428 +1,428 @@ { "clientLibrary": { - "name": "cloud.google.com/go/binaryauthorization/apiv1", - "version": "1.10.0", - "language": "GO", "apis": [ { "id": "google.cloud.binaryauthorization.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/binaryauthorization/apiv1", + "version": "1.10.0" }, "snippets": [ { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync", - "title": "binaryauthorization CreateAttestor Sample", - "description": "CreateAttestor creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new\n[attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,\nINVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the\n[attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.", - "file": "BinauthzManagementClient/CreateAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.CreateAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.CreateAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "CreateAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.CreateAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.CreateAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Attestor", - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "CreateAttestor", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.CreateAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "CreateAttestor" }, + "description": "CreateAttestor creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new\n[attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,\nINVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the\n[attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.", + "file": "BinauthzManagementClient/CreateAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization CreateAttestor Sample" }, { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync", - "title": "binaryauthorization DeleteAttestor Sample", - "description": "DeleteAttestor deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the\n[attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.", - "file": "BinauthzManagementClient/DeleteAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.DeleteAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.DeleteAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "DeleteAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.DeleteAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.DeleteAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "DeleteAttestor", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.DeleteAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "DeleteAttestor" }, + "description": "DeleteAttestor deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the\n[attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.", + "file": "BinauthzManagementClient/DeleteAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization DeleteAttestor Sample" }, { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync", - "title": "binaryauthorization GetAttestor Sample", - "description": "GetAttestor gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.", - "file": "BinauthzManagementClient/GetAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.GetAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "GetAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.GetAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.GetAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Attestor", - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "GetAttestor", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "GetAttestor" }, + "description": "GetAttestor gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.", + "file": "BinauthzManagementClient/GetAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization GetAttestor Sample" }, { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync", - "title": "binaryauthorization GetPolicy Sample", - "description": "GetPolicy a [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to\na container image, before the project is allowed to deploy that\nimage. There is at most one policy per project. All image admission\nrequests are permitted if a project has no policy.\n\nGets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default\n[policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.", - "file": "BinauthzManagementClient/GetPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicy", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.GetPolicy", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetPolicy", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "GetPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.GetPolicyRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.GetPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Policy", - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "GetPolicy", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetPolicy", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "GetPolicy" }, + "description": "GetPolicy a [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to\na container image, before the project is allowed to deploy that\nimage. There is at most one policy per project. All image admission\nrequests are permitted if a project has no policy.\n\nGets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default\n[policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.", + "file": "BinauthzManagementClient/GetPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization GetPolicy Sample" }, { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync", - "title": "binaryauthorization ListAttestors Sample", - "description": "ListAttestors lists [attestors][google.cloud.binaryauthorization.v1.Attestor].\nReturns INVALID_ARGUMENT if the project does not exist.", - "file": "BinauthzManagementClient/ListAttestors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttestors", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.ListAttestors", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestors", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "ListAttestors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.ListAttestorsRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.ListAttestorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttestorIterator", - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "ListAttestors", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestors", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "ListAttestors" }, + "description": "ListAttestors lists [attestors][google.cloud.binaryauthorization.v1.Attestor].\nReturns INVALID_ARGUMENT if the project does not exist.", + "file": "BinauthzManagementClient/ListAttestors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization ListAttestors Sample" }, { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync", - "title": "binaryauthorization UpdateAttestor Sample", - "description": "UpdateAttestor updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.", - "file": "BinauthzManagementClient/UpdateAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.UpdateAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdateAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "UpdateAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.UpdateAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.UpdateAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Attestor", - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "UpdateAttestor", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdateAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "UpdateAttestor" }, + "description": "UpdateAttestor updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.", + "file": "BinauthzManagementClient/UpdateAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization UpdateAttestor Sample" }, { - "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync", - "title": "binaryauthorization UpdatePolicy Sample", - "description": "UpdatePolicy creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the\nnew [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race\nconditions with concurrent policy enforcement (or management!)\nrequests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT\nif the request is malformed.", - "file": "BinauthzManagementClient/UpdatePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicy", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient", + "shortName": "BinauthzManagementClient" + }, "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient.UpdatePolicy", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdatePolicy", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1", + "shortName": "BinauthzManagementServiceV1" + }, + "shortName": "UpdatePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.UpdatePolicyRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.UpdatePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Policy", - "client": { - "shortName": "BinauthzManagementClient", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementClient" - }, - "method": { - "shortName": "UpdatePolicy", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdatePolicy", - "service": { - "shortName": "BinauthzManagementServiceV1", - "fullName": "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1" - } - } + "shortName": "UpdatePolicy" }, + "description": "UpdatePolicy creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the\nnew [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race\nconditions with concurrent policy enforcement (or management!)\nrequests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT\nif the request is malformed.", + "file": "BinauthzManagementClient/UpdatePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization UpdatePolicy Sample" }, { - "regionTag": "binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync", - "title": "binaryauthorization GetSystemPolicy Sample", - "description": "GetSystemPolicy gets the current system policy in the specified location.", - "file": "SystemPolicyClient/GetSystemPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSystemPolicy", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyClient", + "shortName": "SystemPolicyClient" + }, "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyClient.GetSystemPolicy", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyV1.GetSystemPolicy", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyV1", + "shortName": "SystemPolicyV1" + }, + "shortName": "GetSystemPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.GetSystemPolicyRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.GetSystemPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Policy", - "client": { - "shortName": "SystemPolicyClient", - "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyClient" - }, - "method": { - "shortName": "GetSystemPolicy", - "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyV1.GetSystemPolicy", - "service": { - "shortName": "SystemPolicyV1", - "fullName": "google.cloud.binaryauthorization.v1.SystemPolicyV1" - } - } + "shortName": "GetSystemPolicy" }, + "description": "GetSystemPolicy gets the current system policy in the specified location.", + "file": "SystemPolicyClient/GetSystemPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization GetSystemPolicy Sample" }, { - "regionTag": "binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync", - "title": "binaryauthorization ValidateAttestationOccurrence Sample", - "description": "ValidateAttestationOccurrence returns whether the given Attestation for the given image URI\nwas signed by the given Attestor", - "file": "ValidationHelperClient/ValidateAttestationOccurrence/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateAttestationOccurrence", + "client": { + "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperClient", + "shortName": "ValidationHelperClient" + }, "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperClient.ValidateAttestationOccurrence", + "method": { + "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence", + "service": { + "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperV1", + "shortName": "ValidationHelperV1" + }, + "shortName": "ValidateAttestationOccurrence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.ValidateAttestationOccurrenceRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.ValidateAttestationOccurrenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.ValidateAttestationOccurrenceResponse", - "client": { - "shortName": "ValidationHelperClient", - "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperClient" - }, - "method": { - "shortName": "ValidateAttestationOccurrence", - "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence", - "service": { - "shortName": "ValidationHelperV1", - "fullName": "google.cloud.binaryauthorization.v1.ValidationHelperV1" - } - } + "shortName": "ValidateAttestationOccurrence" }, + "description": "ValidateAttestationOccurrence returns whether the given Attestation for the given image URI\nwas signed by the given Attestor", + "file": "ValidationHelperClient/ValidateAttestationOccurrence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization ValidateAttestationOccurrence Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json index 852cfc7ed1f8..25ad22932699 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json @@ -1,382 +1,382 @@ { "clientLibrary": { - "name": "cloud.google.com/go/binaryauthorization/apiv1beta1", - "version": "1.10.0", - "language": "GO", "apis": [ { "id": "google.cloud.binaryauthorization.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/binaryauthorization/apiv1beta1", + "version": "1.10.0" }, "snippets": [ { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync", - "title": "binaryauthorization CreateAttestor Sample", - "description": "CreateAttestor creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new\n[attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,\nINVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the\n[attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.", - "file": "BinauthzManagementServiceV1Beta1Client/CreateAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.CreateAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "CreateAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.CreateAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.CreateAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Attestor", - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "CreateAttestor", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "CreateAttestor" }, + "description": "CreateAttestor creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new\n[attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,\nINVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the\n[attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.", + "file": "BinauthzManagementServiceV1Beta1Client/CreateAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization CreateAttestor Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync", - "title": "binaryauthorization DeleteAttestor Sample", - "description": "DeleteAttestor deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the\n[attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.", - "file": "BinauthzManagementServiceV1Beta1Client/DeleteAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.DeleteAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "DeleteAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.DeleteAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.DeleteAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "DeleteAttestor", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "DeleteAttestor" }, + "description": "DeleteAttestor deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the\n[attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.", + "file": "BinauthzManagementServiceV1Beta1Client/DeleteAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization DeleteAttestor Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync", - "title": "binaryauthorization GetAttestor Sample", - "description": "GetAttestor gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.", - "file": "BinauthzManagementServiceV1Beta1Client/GetAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.GetAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "GetAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.GetAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.GetAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Attestor", - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "GetAttestor", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "GetAttestor" }, + "description": "GetAttestor gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.", + "file": "BinauthzManagementServiceV1Beta1Client/GetAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization GetAttestor Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync", - "title": "binaryauthorization GetPolicy Sample", - "description": "GetPolicy a [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to\na container image, before the project is allowed to deploy that\nimage. There is at most one policy per project. All image admission\nrequests are permitted if a project has no policy.\n\nGets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default\n[policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.", - "file": "BinauthzManagementServiceV1Beta1Client/GetPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicy", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.GetPolicy", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "GetPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.GetPolicyRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.GetPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Policy", - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "GetPolicy", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "GetPolicy" }, + "description": "GetPolicy a [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to\na container image, before the project is allowed to deploy that\nimage. There is at most one policy per project. All image admission\nrequests are permitted if a project has no policy.\n\nGets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default\n[policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.", + "file": "BinauthzManagementServiceV1Beta1Client/GetPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization GetPolicy Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync", - "title": "binaryauthorization ListAttestors Sample", - "description": "ListAttestors lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].\nReturns INVALID_ARGUMENT if the project does not exist.", - "file": "BinauthzManagementServiceV1Beta1Client/ListAttestors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttestors", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.ListAttestors", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "ListAttestors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.ListAttestorsRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.ListAttestorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttestorIterator", - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "ListAttestors", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "ListAttestors" }, + "description": "ListAttestors lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].\nReturns INVALID_ARGUMENT if the project does not exist.", + "file": "BinauthzManagementServiceV1Beta1Client/ListAttestors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization ListAttestors Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync", - "title": "binaryauthorization UpdateAttestor Sample", - "description": "UpdateAttestor updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.", - "file": "BinauthzManagementServiceV1Beta1Client/UpdateAttestor/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttestor", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.UpdateAttestor", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "UpdateAttestor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.UpdateAttestorRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.UpdateAttestorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Attestor", - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "UpdateAttestor", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "UpdateAttestor" }, + "description": "UpdateAttestor updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].\nReturns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.", + "file": "BinauthzManagementServiceV1Beta1Client/UpdateAttestor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization UpdateAttestor Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync", - "title": "binaryauthorization UpdatePolicy Sample", - "description": "UpdatePolicy creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the\nnew [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race\nconditions with concurrent policy enforcement (or management!)\nrequests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT\nif the request is malformed.", - "file": "BinauthzManagementServiceV1Beta1Client/UpdatePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicy", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client", + "shortName": "BinauthzManagementServiceV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client.UpdatePolicy", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "shortName": "BinauthzManagementServiceV1Beta1" + }, + "shortName": "UpdatePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.UpdatePolicyRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.UpdatePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Policy", - "client": { - "shortName": "BinauthzManagementServiceV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1Client" - }, - "method": { - "shortName": "UpdatePolicy", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy", - "service": { - "shortName": "BinauthzManagementServiceV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1" - } - } + "shortName": "UpdatePolicy" }, + "description": "UpdatePolicy creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the\nnew [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race\nconditions with concurrent policy enforcement (or management!)\nrequests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT\nif the request is malformed.", + "file": "BinauthzManagementServiceV1Beta1Client/UpdatePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization UpdatePolicy Sample" }, { - "regionTag": "binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync", - "title": "binaryauthorization GetSystemPolicy Sample", - "description": "GetSystemPolicy gets the current system policy in the specified location.", - "file": "SystemPolicyV1Beta1Client/GetSystemPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSystemPolicy", + "client": { + "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client", + "shortName": "SystemPolicyV1Beta1Client" + }, "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client.GetSystemPolicy", + "method": { + "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1.GetSystemPolicy", + "service": { + "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1", + "shortName": "SystemPolicyV1Beta1" + }, + "shortName": "GetSystemPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "binaryauthorizationpb.GetSystemPolicyRequest", - "name": "req" + "name": "req", + "type": "binaryauthorizationpb.GetSystemPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*binaryauthorizationpb.Policy", - "client": { - "shortName": "SystemPolicyV1Beta1Client", - "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1Client" - }, - "method": { - "shortName": "GetSystemPolicy", - "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1.GetSystemPolicy", - "service": { - "shortName": "SystemPolicyV1Beta1", - "fullName": "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1" - } - } + "shortName": "GetSystemPolicy" }, + "description": "GetSystemPolicy gets the current system policy in the specified location.", + "file": "SystemPolicyV1Beta1Client/GetSystemPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "binaryauthorization GetSystemPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/capacityplanner/apiv1beta/snippet_metadata.google.cloud.capacityplanner.v1beta.json b/internal/generated/snippets/capacityplanner/apiv1beta/snippet_metadata.google.cloud.capacityplanner.v1beta.json index 57a45fbc6188..8d2600a876a0 100644 --- a/internal/generated/snippets/capacityplanner/apiv1beta/snippet_metadata.google.cloud.capacityplanner.v1beta.json +++ b/internal/generated/snippets/capacityplanner/apiv1beta/snippet_metadata.google.cloud.capacityplanner.v1beta.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/capacityplanner/apiv1beta", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.capacityplanner.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/capacityplanner/apiv1beta", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "capacityplanner_v1beta_generated_UsageService_ExportForecasts_sync", - "title": "capacityplanner ExportForecasts Sample", - "description": "ExportForecasts exports forecasted usage data requested by user into either an existing\nCloud Storage bucket or a BigQuery table.", - "file": "UsageClient/ExportForecasts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportForecasts", + "client": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageClient", + "shortName": "UsageClient" + }, "fullName": "google.cloud.capacityplanner.v1beta.UsageClient.ExportForecasts", + "method": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService.ExportForecasts", + "service": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService", + "shortName": "UsageService" + }, + "shortName": "ExportForecasts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "capacityplannerpb.ExportForecastsRequest", - "name": "req" + "name": "req", + "type": "capacityplannerpb.ExportForecastsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportForecastsOperation", - "client": { - "shortName": "UsageClient", - "fullName": "google.cloud.capacityplanner.v1beta.UsageClient" - }, - "method": { - "shortName": "ExportForecasts", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService.ExportForecasts", - "service": { - "shortName": "UsageService", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService" - } - } + "shortName": "ExportForecasts" }, + "description": "ExportForecasts exports forecasted usage data requested by user into either an existing\nCloud Storage bucket or a BigQuery table.", + "file": "UsageClient/ExportForecasts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "capacityplanner_v1beta_generated_UsageService_ExportForecasts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "capacityplanner ExportForecasts Sample" }, { - "regionTag": "capacityplanner_v1beta_generated_UsageService_ExportReservationsUsage_sync", - "title": "capacityplanner ExportReservationsUsage Sample", - "description": "ExportReservationsUsage exports reservations usage data requested by user into either an existing\nCloud Storage bucket or a new/existing BigQuery table.", - "file": "UsageClient/ExportReservationsUsage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportReservationsUsage", + "client": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageClient", + "shortName": "UsageClient" + }, "fullName": "google.cloud.capacityplanner.v1beta.UsageClient.ExportReservationsUsage", + "method": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService.ExportReservationsUsage", + "service": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService", + "shortName": "UsageService" + }, + "shortName": "ExportReservationsUsage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "capacityplannerpb.ExportReservationsUsageRequest", - "name": "req" + "name": "req", + "type": "capacityplannerpb.ExportReservationsUsageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportReservationsUsageOperation", - "client": { - "shortName": "UsageClient", - "fullName": "google.cloud.capacityplanner.v1beta.UsageClient" - }, - "method": { - "shortName": "ExportReservationsUsage", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService.ExportReservationsUsage", - "service": { - "shortName": "UsageService", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService" - } - } + "shortName": "ExportReservationsUsage" }, + "description": "ExportReservationsUsage exports reservations usage data requested by user into either an existing\nCloud Storage bucket or a new/existing BigQuery table.", + "file": "UsageClient/ExportReservationsUsage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "capacityplanner_v1beta_generated_UsageService_ExportReservationsUsage_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "capacityplanner ExportReservationsUsage Sample" }, { - "regionTag": "capacityplanner_v1beta_generated_UsageService_ExportUsageHistories_sync", - "title": "capacityplanner ExportUsageHistories Sample", - "description": "ExportUsageHistories exports historical usage data requested by user into either an existing\nCloud Storage bucket or a BigQuery table.", - "file": "UsageClient/ExportUsageHistories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportUsageHistories", + "client": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageClient", + "shortName": "UsageClient" + }, "fullName": "google.cloud.capacityplanner.v1beta.UsageClient.ExportUsageHistories", + "method": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService.ExportUsageHistories", + "service": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService", + "shortName": "UsageService" + }, + "shortName": "ExportUsageHistories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "capacityplannerpb.ExportUsageHistoriesRequest", - "name": "req" + "name": "req", + "type": "capacityplannerpb.ExportUsageHistoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportUsageHistoriesOperation", - "client": { - "shortName": "UsageClient", - "fullName": "google.cloud.capacityplanner.v1beta.UsageClient" - }, - "method": { - "shortName": "ExportUsageHistories", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService.ExportUsageHistories", - "service": { - "shortName": "UsageService", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService" - } - } + "shortName": "ExportUsageHistories" }, + "description": "ExportUsageHistories exports historical usage data requested by user into either an existing\nCloud Storage bucket or a BigQuery table.", + "file": "UsageClient/ExportUsageHistories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "capacityplanner_v1beta_generated_UsageService_ExportUsageHistories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "capacityplanner ExportUsageHistories Sample" }, { - "regionTag": "capacityplanner_v1beta_generated_UsageService_QueryForecasts_sync", - "title": "capacityplanner QueryForecasts Sample", - "description": "QueryForecasts returns a list of the forecasts that are in the parent parameter\nand match your specified filters.", - "file": "UsageClient/QueryForecasts/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryForecasts", + "client": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageClient", + "shortName": "UsageClient" + }, "fullName": "google.cloud.capacityplanner.v1beta.UsageClient.QueryForecasts", + "method": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService.QueryForecasts", + "service": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService", + "shortName": "UsageService" + }, + "shortName": "QueryForecasts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "capacityplannerpb.QueryForecastsRequest", - "name": "req" + "name": "req", + "type": "capacityplannerpb.QueryForecastsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*capacityplannerpb.QueryForecastsResponse", - "client": { - "shortName": "UsageClient", - "fullName": "google.cloud.capacityplanner.v1beta.UsageClient" - }, - "method": { - "shortName": "QueryForecasts", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService.QueryForecasts", - "service": { - "shortName": "UsageService", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService" - } - } + "shortName": "QueryForecasts" }, + "description": "QueryForecasts returns a list of the forecasts that are in the parent parameter\nand match your specified filters.", + "file": "UsageClient/QueryForecasts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "capacityplanner_v1beta_generated_UsageService_QueryForecasts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "capacityplanner QueryForecasts Sample" }, { - "regionTag": "capacityplanner_v1beta_generated_UsageService_QueryReservations_sync", - "title": "capacityplanner QueryReservations Sample", - "description": "QueryReservations returns a list of the reservations that are in the parent parameter\nand match your specified filters.", - "file": "UsageClient/QueryReservations/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryReservations", + "client": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageClient", + "shortName": "UsageClient" + }, "fullName": "google.cloud.capacityplanner.v1beta.UsageClient.QueryReservations", + "method": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService.QueryReservations", + "service": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService", + "shortName": "UsageService" + }, + "shortName": "QueryReservations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "capacityplannerpb.QueryReservationsRequest", - "name": "req" + "name": "req", + "type": "capacityplannerpb.QueryReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*capacityplannerpb.QueryReservationsResponse", - "client": { - "shortName": "UsageClient", - "fullName": "google.cloud.capacityplanner.v1beta.UsageClient" - }, - "method": { - "shortName": "QueryReservations", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService.QueryReservations", - "service": { - "shortName": "UsageService", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService" - } - } + "shortName": "QueryReservations" }, + "description": "QueryReservations returns a list of the reservations that are in the parent parameter\nand match your specified filters.", + "file": "UsageClient/QueryReservations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "capacityplanner_v1beta_generated_UsageService_QueryReservations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "capacityplanner QueryReservations Sample" }, { - "regionTag": "capacityplanner_v1beta_generated_UsageService_QueryUsageHistories_sync", - "title": "capacityplanner QueryUsageHistories Sample", - "description": "QueryUsageHistories returns a list of the usage histories that are in the parent parameter\nand match your specified filters.", - "file": "UsageClient/QueryUsageHistories/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryUsageHistories", + "client": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageClient", + "shortName": "UsageClient" + }, "fullName": "google.cloud.capacityplanner.v1beta.UsageClient.QueryUsageHistories", + "method": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService.QueryUsageHistories", + "service": { + "fullName": "google.cloud.capacityplanner.v1beta.UsageService", + "shortName": "UsageService" + }, + "shortName": "QueryUsageHistories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "capacityplannerpb.QueryUsageHistoriesRequest", - "name": "req" + "name": "req", + "type": "capacityplannerpb.QueryUsageHistoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*capacityplannerpb.QueryUsageHistoriesResponse", - "client": { - "shortName": "UsageClient", - "fullName": "google.cloud.capacityplanner.v1beta.UsageClient" - }, - "method": { - "shortName": "QueryUsageHistories", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService.QueryUsageHistories", - "service": { - "shortName": "UsageService", - "fullName": "google.cloud.capacityplanner.v1beta.UsageService" - } - } + "shortName": "QueryUsageHistories" }, + "description": "QueryUsageHistories returns a list of the usage histories that are in the parent parameter\nand match your specified filters.", + "file": "UsageClient/QueryUsageHistories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "capacityplanner_v1beta_generated_UsageService_QueryUsageHistories_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "capacityplanner QueryUsageHistories Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json index 643b1d0dd6cc..8073d6ef8ed6 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json +++ b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json @@ -1,1623 +1,1623 @@ { "clientLibrary": { - "name": "cloud.google.com/go/certificatemanager/apiv1", - "version": "1.9.6", - "language": "GO", "apis": [ { "id": "google.cloud.certificatemanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/certificatemanager/apiv1", + "version": "1.9.6" }, "snippets": [ { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CancelOperation_sync", - "title": "certificatemanager CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CancelOperation Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificate_sync", - "title": "certificatemanager CreateCertificate Sample", - "description": "CreateCertificate creates a new Certificate in a given project and location.", - "file": "Client/CreateCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificate", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CreateCertificate", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "CreateCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.CreateCertificateRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.CreateCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCertificateOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CreateCertificate", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "CreateCertificate" }, + "description": "CreateCertificate creates a new Certificate in a given project and location.", + "file": "Client/CreateCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CreateCertificate Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificateIssuanceConfig_sync", - "title": "certificatemanager CreateCertificateIssuanceConfig Sample", - "description": "CreateCertificateIssuanceConfig creates a new CertificateIssuanceConfig in a given project and location.", - "file": "Client/CreateCertificateIssuanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificateIssuanceConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CreateCertificateIssuanceConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "CreateCertificateIssuanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.CreateCertificateIssuanceConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.CreateCertificateIssuanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCertificateIssuanceConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CreateCertificateIssuanceConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "CreateCertificateIssuanceConfig" }, + "description": "CreateCertificateIssuanceConfig creates a new CertificateIssuanceConfig in a given project and location.", + "file": "Client/CreateCertificateIssuanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificateIssuanceConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CreateCertificateIssuanceConfig Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificateMap_sync", - "title": "certificatemanager CreateCertificateMap Sample", - "description": "CreateCertificateMap creates a new CertificateMap in a given project and location.", - "file": "Client/CreateCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificateMap", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CreateCertificateMap", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "CreateCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.CreateCertificateMapRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.CreateCertificateMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCertificateMapOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CreateCertificateMap", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "CreateCertificateMap" }, + "description": "CreateCertificateMap creates a new CertificateMap in a given project and location.", + "file": "Client/CreateCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificateMap_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CreateCertificateMap Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificateMapEntry_sync", - "title": "certificatemanager CreateCertificateMapEntry Sample", - "description": "CreateCertificateMapEntry creates a new CertificateMapEntry in a given project and location.", - "file": "Client/CreateCertificateMapEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificateMapEntry", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CreateCertificateMapEntry", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "CreateCertificateMapEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.CreateCertificateMapEntryRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.CreateCertificateMapEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCertificateMapEntryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CreateCertificateMapEntry", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "CreateCertificateMapEntry" }, + "description": "CreateCertificateMapEntry creates a new CertificateMapEntry in a given project and location.", + "file": "Client/CreateCertificateMapEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateCertificateMapEntry_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CreateCertificateMapEntry Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateDnsAuthorization_sync", - "title": "certificatemanager CreateDnsAuthorization Sample", - "description": "CreateDnsAuthorization creates a new DnsAuthorization in a given project and location.", - "file": "Client/CreateDnsAuthorization/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDnsAuthorization", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CreateDnsAuthorization", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "CreateDnsAuthorization" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.CreateDnsAuthorizationRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.CreateDnsAuthorizationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDnsAuthorizationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CreateDnsAuthorization", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "CreateDnsAuthorization" }, + "description": "CreateDnsAuthorization creates a new DnsAuthorization in a given project and location.", + "file": "Client/CreateDnsAuthorization/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateDnsAuthorization_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CreateDnsAuthorization Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateTrustConfig_sync", - "title": "certificatemanager CreateTrustConfig Sample", - "description": "CreateTrustConfig creates a new TrustConfig in a given project and location.", - "file": "Client/CreateTrustConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTrustConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.CreateTrustConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "CreateTrustConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.CreateTrustConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.CreateTrustConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTrustConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "CreateTrustConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "CreateTrustConfig" }, + "description": "CreateTrustConfig creates a new TrustConfig in a given project and location.", + "file": "Client/CreateTrustConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_CreateTrustConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager CreateTrustConfig Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificate_sync", - "title": "certificatemanager DeleteCertificate Sample", - "description": "DeleteCertificate deletes a single Certificate.", - "file": "Client/DeleteCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCertificate", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteCertificate", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "DeleteCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.DeleteCertificateRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.DeleteCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCertificateOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteCertificate", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "DeleteCertificate" }, + "description": "DeleteCertificate deletes a single Certificate.", + "file": "Client/DeleteCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteCertificate Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificateIssuanceConfig_sync", - "title": "certificatemanager DeleteCertificateIssuanceConfig Sample", - "description": "DeleteCertificateIssuanceConfig deletes a single CertificateIssuanceConfig.", - "file": "Client/DeleteCertificateIssuanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCertificateIssuanceConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteCertificateIssuanceConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "DeleteCertificateIssuanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.DeleteCertificateIssuanceConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.DeleteCertificateIssuanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCertificateIssuanceConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteCertificateIssuanceConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "DeleteCertificateIssuanceConfig" }, + "description": "DeleteCertificateIssuanceConfig deletes a single CertificateIssuanceConfig.", + "file": "Client/DeleteCertificateIssuanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificateIssuanceConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteCertificateIssuanceConfig Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificateMap_sync", - "title": "certificatemanager DeleteCertificateMap Sample", - "description": "DeleteCertificateMap deletes a single CertificateMap. A Certificate Map can't be deleted\nif it contains Certificate Map Entries. Remove all the entries from\nthe map before calling this method.", - "file": "Client/DeleteCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCertificateMap", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteCertificateMap", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "DeleteCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.DeleteCertificateMapRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.DeleteCertificateMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCertificateMapOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteCertificateMap", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "DeleteCertificateMap" }, + "description": "DeleteCertificateMap deletes a single CertificateMap. A Certificate Map can't be deleted\nif it contains Certificate Map Entries. Remove all the entries from\nthe map before calling this method.", + "file": "Client/DeleteCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificateMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteCertificateMap Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificateMapEntry_sync", - "title": "certificatemanager DeleteCertificateMapEntry Sample", - "description": "DeleteCertificateMapEntry deletes a single CertificateMapEntry.", - "file": "Client/DeleteCertificateMapEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCertificateMapEntry", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteCertificateMapEntry", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "DeleteCertificateMapEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.DeleteCertificateMapEntryRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.DeleteCertificateMapEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCertificateMapEntryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteCertificateMapEntry", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "DeleteCertificateMapEntry" }, + "description": "DeleteCertificateMapEntry deletes a single CertificateMapEntry.", + "file": "Client/DeleteCertificateMapEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteCertificateMapEntry_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteCertificateMapEntry Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteDnsAuthorization_sync", - "title": "certificatemanager DeleteDnsAuthorization Sample", - "description": "DeleteDnsAuthorization deletes a single DnsAuthorization.", - "file": "Client/DeleteDnsAuthorization/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDnsAuthorization", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteDnsAuthorization", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "DeleteDnsAuthorization" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.DeleteDnsAuthorizationRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.DeleteDnsAuthorizationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDnsAuthorizationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteDnsAuthorization", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "DeleteDnsAuthorization" }, + "description": "DeleteDnsAuthorization deletes a single DnsAuthorization.", + "file": "Client/DeleteDnsAuthorization/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteDnsAuthorization_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteDnsAuthorization Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteOperation_sync", - "title": "certificatemanager DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteOperation Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteTrustConfig_sync", - "title": "certificatemanager DeleteTrustConfig Sample", - "description": "DeleteTrustConfig deletes a single TrustConfig.", - "file": "Client/DeleteTrustConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTrustConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.DeleteTrustConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "DeleteTrustConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.DeleteTrustConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.DeleteTrustConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTrustConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "DeleteTrustConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "DeleteTrustConfig" }, + "description": "DeleteTrustConfig deletes a single TrustConfig.", + "file": "Client/DeleteTrustConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_DeleteTrustConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager DeleteTrustConfig Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificate_sync", - "title": "certificatemanager GetCertificate Sample", - "description": "GetCertificate gets details of a single Certificate.", - "file": "Client/GetCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificate", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetCertificate", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificate", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "GetCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.GetCertificateRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.GetCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*certificatemanagerpb.Certificate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetCertificate", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificate", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "GetCertificate" }, + "description": "GetCertificate gets details of a single Certificate.", + "file": "Client/GetCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetCertificate Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificateIssuanceConfig_sync", - "title": "certificatemanager GetCertificateIssuanceConfig Sample", - "description": "GetCertificateIssuanceConfig gets details of a single CertificateIssuanceConfig.", - "file": "Client/GetCertificateIssuanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateIssuanceConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetCertificateIssuanceConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificateIssuanceConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "GetCertificateIssuanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.GetCertificateIssuanceConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.GetCertificateIssuanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*certificatemanagerpb.CertificateIssuanceConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetCertificateIssuanceConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificateIssuanceConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "GetCertificateIssuanceConfig" }, + "description": "GetCertificateIssuanceConfig gets details of a single CertificateIssuanceConfig.", + "file": "Client/GetCertificateIssuanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificateIssuanceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetCertificateIssuanceConfig Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificateMap_sync", - "title": "certificatemanager GetCertificateMap Sample", - "description": "GetCertificateMap gets details of a single CertificateMap.", - "file": "Client/GetCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateMap", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetCertificateMap", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMap", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "GetCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.GetCertificateMapRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.GetCertificateMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*certificatemanagerpb.CertificateMap", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetCertificateMap", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMap", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "GetCertificateMap" }, + "description": "GetCertificateMap gets details of a single CertificateMap.", + "file": "Client/GetCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificateMap_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetCertificateMap Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificateMapEntry_sync", - "title": "certificatemanager GetCertificateMapEntry Sample", - "description": "GetCertificateMapEntry gets details of a single CertificateMapEntry.", - "file": "Client/GetCertificateMapEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateMapEntry", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetCertificateMapEntry", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapEntry", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "GetCertificateMapEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.GetCertificateMapEntryRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.GetCertificateMapEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*certificatemanagerpb.CertificateMapEntry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetCertificateMapEntry", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapEntry", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "GetCertificateMapEntry" }, + "description": "GetCertificateMapEntry gets details of a single CertificateMapEntry.", + "file": "Client/GetCertificateMapEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetCertificateMapEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetCertificateMapEntry Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetDnsAuthorization_sync", - "title": "certificatemanager GetDnsAuthorization Sample", - "description": "GetDnsAuthorization gets details of a single DnsAuthorization.", - "file": "Client/GetDnsAuthorization/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDnsAuthorization", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetDnsAuthorization", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetDnsAuthorization", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "GetDnsAuthorization" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.GetDnsAuthorizationRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.GetDnsAuthorizationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*certificatemanagerpb.DnsAuthorization", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetDnsAuthorization", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetDnsAuthorization", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "GetDnsAuthorization" }, + "description": "GetDnsAuthorization gets details of a single DnsAuthorization.", + "file": "Client/GetDnsAuthorization/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetDnsAuthorization_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetDnsAuthorization Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetLocation_sync", - "title": "certificatemanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetLocation Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetOperation_sync", - "title": "certificatemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetOperation Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_GetTrustConfig_sync", - "title": "certificatemanager GetTrustConfig Sample", - "description": "GetTrustConfig gets details of a single TrustConfig.", - "file": "Client/GetTrustConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrustConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.GetTrustConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetTrustConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "GetTrustConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.GetTrustConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.GetTrustConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*certificatemanagerpb.TrustConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "GetTrustConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.GetTrustConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "GetTrustConfig" }, + "description": "GetTrustConfig gets details of a single TrustConfig.", + "file": "Client/GetTrustConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_GetTrustConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager GetTrustConfig Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificateIssuanceConfigs_sync", - "title": "certificatemanager ListCertificateIssuanceConfigs Sample", - "description": "ListCertificateIssuanceConfigs lists CertificateIssuanceConfigs in a given project and location.", - "file": "Client/ListCertificateIssuanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificateIssuanceConfigs", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListCertificateIssuanceConfigs", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificateIssuanceConfigs", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "ListCertificateIssuanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.ListCertificateIssuanceConfigsRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.ListCertificateIssuanceConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateIssuanceConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListCertificateIssuanceConfigs", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificateIssuanceConfigs", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "ListCertificateIssuanceConfigs" }, + "description": "ListCertificateIssuanceConfigs lists CertificateIssuanceConfigs in a given project and location.", + "file": "Client/ListCertificateIssuanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificateIssuanceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListCertificateIssuanceConfigs Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificateMapEntries_sync", - "title": "certificatemanager ListCertificateMapEntries Sample", - "description": "ListCertificateMapEntries lists CertificateMapEntries in a given project and location.", - "file": "Client/ListCertificateMapEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificateMapEntries", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListCertificateMapEntries", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapEntries", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "ListCertificateMapEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.ListCertificateMapEntriesRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.ListCertificateMapEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateMapEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListCertificateMapEntries", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapEntries", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "ListCertificateMapEntries" }, + "description": "ListCertificateMapEntries lists CertificateMapEntries in a given project and location.", + "file": "Client/ListCertificateMapEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificateMapEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListCertificateMapEntries Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificateMaps_sync", - "title": "certificatemanager ListCertificateMaps Sample", - "description": "ListCertificateMaps lists CertificateMaps in a given project and location.", - "file": "Client/ListCertificateMaps/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificateMaps", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListCertificateMaps", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMaps", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "ListCertificateMaps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.ListCertificateMapsRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.ListCertificateMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateMapIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListCertificateMaps", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMaps", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "ListCertificateMaps" }, + "description": "ListCertificateMaps lists CertificateMaps in a given project and location.", + "file": "Client/ListCertificateMaps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificateMaps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListCertificateMaps Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificates_sync", - "title": "certificatemanager ListCertificates Sample", - "description": "ListCertificates lists Certificates in a given project and location.", - "file": "Client/ListCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificates", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListCertificates", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificates", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "ListCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.ListCertificatesRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.ListCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListCertificates", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListCertificates", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "ListCertificates" }, + "description": "ListCertificates lists Certificates in a given project and location.", + "file": "Client/ListCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListCertificates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListCertificates Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListDnsAuthorizations_sync", - "title": "certificatemanager ListDnsAuthorizations Sample", - "description": "ListDnsAuthorizations lists DnsAuthorizations in a given project and location.", - "file": "Client/ListDnsAuthorizations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDnsAuthorizations", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListDnsAuthorizations", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListDnsAuthorizations", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "ListDnsAuthorizations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.ListDnsAuthorizationsRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.ListDnsAuthorizationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DnsAuthorizationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListDnsAuthorizations", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListDnsAuthorizations", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "ListDnsAuthorizations" }, + "description": "ListDnsAuthorizations lists DnsAuthorizations in a given project and location.", + "file": "Client/ListDnsAuthorizations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListDnsAuthorizations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListDnsAuthorizations Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListLocations_sync", - "title": "certificatemanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListLocations Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListOperations_sync", - "title": "certificatemanager ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListOperations Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_ListTrustConfigs_sync", - "title": "certificatemanager ListTrustConfigs Sample", - "description": "ListTrustConfigs lists TrustConfigs in a given project and location.", - "file": "Client/ListTrustConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTrustConfigs", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.ListTrustConfigs", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListTrustConfigs", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "ListTrustConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.ListTrustConfigsRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.ListTrustConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrustConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "ListTrustConfigs", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.ListTrustConfigs", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "ListTrustConfigs" }, + "description": "ListTrustConfigs lists TrustConfigs in a given project and location.", + "file": "Client/ListTrustConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_ListTrustConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager ListTrustConfigs Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateCertificate_sync", - "title": "certificatemanager UpdateCertificate Sample", - "description": "UpdateCertificate updates a Certificate.", - "file": "Client/UpdateCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificate", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.UpdateCertificate", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "UpdateCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.UpdateCertificateRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.UpdateCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCertificateOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "UpdateCertificate", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "UpdateCertificate" }, + "description": "UpdateCertificate updates a Certificate.", + "file": "Client/UpdateCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateCertificate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager UpdateCertificate Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateCertificateMap_sync", - "title": "certificatemanager UpdateCertificateMap Sample", - "description": "UpdateCertificateMap updates a CertificateMap.", - "file": "Client/UpdateCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificateMap", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.UpdateCertificateMap", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "UpdateCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.UpdateCertificateMapRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.UpdateCertificateMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCertificateMapOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "UpdateCertificateMap", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "UpdateCertificateMap" }, + "description": "UpdateCertificateMap updates a CertificateMap.", + "file": "Client/UpdateCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateCertificateMap_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager UpdateCertificateMap Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateCertificateMapEntry_sync", - "title": "certificatemanager UpdateCertificateMapEntry Sample", - "description": "UpdateCertificateMapEntry updates a CertificateMapEntry.", - "file": "Client/UpdateCertificateMapEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificateMapEntry", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.UpdateCertificateMapEntry", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "UpdateCertificateMapEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.UpdateCertificateMapEntryRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.UpdateCertificateMapEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCertificateMapEntryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "UpdateCertificateMapEntry", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "UpdateCertificateMapEntry" }, + "description": "UpdateCertificateMapEntry updates a CertificateMapEntry.", + "file": "Client/UpdateCertificateMapEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateCertificateMapEntry_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager UpdateCertificateMapEntry Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateDnsAuthorization_sync", - "title": "certificatemanager UpdateDnsAuthorization Sample", - "description": "UpdateDnsAuthorization updates a DnsAuthorization.", - "file": "Client/UpdateDnsAuthorization/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDnsAuthorization", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.UpdateDnsAuthorization", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "UpdateDnsAuthorization" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.UpdateDnsAuthorizationRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.UpdateDnsAuthorizationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDnsAuthorizationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "UpdateDnsAuthorization", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "UpdateDnsAuthorization" }, + "description": "UpdateDnsAuthorization updates a DnsAuthorization.", + "file": "Client/UpdateDnsAuthorization/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateDnsAuthorization_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager UpdateDnsAuthorization Sample" }, { - "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateTrustConfig_sync", - "title": "certificatemanager UpdateTrustConfig Sample", - "description": "UpdateTrustConfig updates a TrustConfig.", - "file": "Client/UpdateTrustConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTrustConfig", + "client": { + "fullName": "google.cloud.certificatemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.certificatemanager.v1.Client.UpdateTrustConfig", + "method": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig", + "service": { + "fullName": "google.cloud.certificatemanager.v1.CertificateManager", + "shortName": "CertificateManager" + }, + "shortName": "UpdateTrustConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "certificatemanagerpb.UpdateTrustConfigRequest", - "name": "req" + "name": "req", + "type": "certificatemanagerpb.UpdateTrustConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTrustConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.certificatemanager.v1.Client" - }, - "method": { - "shortName": "UpdateTrustConfig", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig", - "service": { - "shortName": "CertificateManager", - "fullName": "google.cloud.certificatemanager.v1.CertificateManager" - } - } + "shortName": "UpdateTrustConfig" }, + "description": "UpdateTrustConfig updates a TrustConfig.", + "file": "Client/UpdateTrustConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "certificatemanager_v1_generated_CertificateManager_UpdateTrustConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "certificatemanager UpdateTrustConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ces/apiv1/snippet_metadata.google.cloud.ces.v1.json b/internal/generated/snippets/ces/apiv1/snippet_metadata.google.cloud.ces.v1.json index f038e3e78fea..de197198133d 100644 --- a/internal/generated/snippets/ces/apiv1/snippet_metadata.google.cloud.ces.v1.json +++ b/internal/generated/snippets/ces/apiv1/snippet_metadata.google.cloud.ces.v1.json @@ -1,3583 +1,3583 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ces/apiv1", - "version": "0.3.0", - "language": "GO", "apis": [ { "id": "google.cloud.ces.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ces/apiv1", + "version": "0.3.0" }, "snippets": [ { - "regionTag": "ces_v1_generated_AgentService_BatchDeleteConversations_sync", - "title": "ces BatchDeleteConversations Sample", - "description": "BatchDeleteConversations batch deletes the specified conversations.", - "file": "AgentClient/BatchDeleteConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteConversations", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.BatchDeleteConversations", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.BatchDeleteConversations", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "BatchDeleteConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.BatchDeleteConversationsRequest", - "name": "req" + "name": "req", + "type": "cespb.BatchDeleteConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteConversationsOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "BatchDeleteConversations", - "fullName": "google.cloud.ces.v1.AgentService.BatchDeleteConversations", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "BatchDeleteConversations" }, + "description": "BatchDeleteConversations batch deletes the specified conversations.", + "file": "AgentClient/BatchDeleteConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_BatchDeleteConversations_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces BatchDeleteConversations Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AgentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AgentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateAgent_sync", - "title": "ces CreateAgent Sample", - "description": "CreateAgent creates a new agent in the given app.", - "file": "AgentClient/CreateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAgent", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateAgent", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateAgent", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Agent", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateAgent", - "fullName": "google.cloud.ces.v1.AgentService.CreateAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateAgent" }, + "description": "CreateAgent creates a new agent in the given app.", + "file": "AgentClient/CreateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateAgent Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateApp_sync", - "title": "ces CreateApp Sample", - "description": "CreateApp creates a new app in the given project and location.", - "file": "AgentClient/CreateApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApp", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateApp", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateApp", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateAppRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateApp", - "fullName": "google.cloud.ces.v1.AgentService.CreateApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateApp" }, + "description": "CreateApp creates a new app in the given project and location.", + "file": "AgentClient/CreateApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateApp_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateApp Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateAppVersion_sync", - "title": "ces CreateAppVersion Sample", - "description": "CreateAppVersion creates a new app version in the given app.", - "file": "AgentClient/CreateAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAppVersion", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateAppVersion", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateAppVersion", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.AppVersion", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateAppVersion", - "fullName": "google.cloud.ces.v1.AgentService.CreateAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateAppVersion" }, + "description": "CreateAppVersion creates a new app version in the given app.", + "file": "AgentClient/CreateAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateAppVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateAppVersion Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateDeployment_sync", - "title": "ces CreateDeployment Sample", - "description": "CreateDeployment creates a new deployment in the given app.", - "file": "AgentClient/CreateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployment", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateDeployment", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateDeployment", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Deployment", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateDeployment", - "fullName": "google.cloud.ces.v1.AgentService.CreateDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateDeployment" }, + "description": "CreateDeployment creates a new deployment in the given app.", + "file": "AgentClient/CreateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateDeployment Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateExample_sync", - "title": "ces CreateExample Sample", - "description": "CreateExample creates a new example in the given app.", - "file": "AgentClient/CreateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExample", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateExample", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateExample", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Example", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateExample", - "fullName": "google.cloud.ces.v1.AgentService.CreateExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateExample" }, + "description": "CreateExample creates a new example in the given app.", + "file": "AgentClient/CreateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateExample Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateGuardrail_sync", - "title": "ces CreateGuardrail Sample", - "description": "CreateGuardrail creates a new guardrail in the given app.", - "file": "AgentClient/CreateGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGuardrail", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateGuardrail", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateGuardrail", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Guardrail", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateGuardrail", - "fullName": "google.cloud.ces.v1.AgentService.CreateGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateGuardrail" }, + "description": "CreateGuardrail creates a new guardrail in the given app.", + "file": "AgentClient/CreateGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateGuardrail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateGuardrail Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateTool_sync", - "title": "ces CreateTool Sample", - "description": "CreateTool creates a new tool in the given app.", - "file": "AgentClient/CreateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTool", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateTool", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateTool", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateToolRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Tool", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.ces.v1.AgentService.CreateTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateTool" }, + "description": "CreateTool creates a new tool in the given app.", + "file": "AgentClient/CreateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateTool Sample" }, { - "regionTag": "ces_v1_generated_AgentService_CreateToolset_sync", - "title": "ces CreateToolset Sample", - "description": "CreateToolset creates a new toolset in the given app.", - "file": "AgentClient/CreateToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateToolset", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.CreateToolset", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.CreateToolset", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Toolset", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "CreateToolset", - "fullName": "google.cloud.ces.v1.AgentService.CreateToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "CreateToolset" }, + "description": "CreateToolset creates a new toolset in the given app.", + "file": "AgentClient/CreateToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_CreateToolset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateToolset Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteAgent_sync", - "title": "ces DeleteAgent Sample", - "description": "DeleteAgent deletes the specified agent.", - "file": "AgentClient/DeleteAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgent", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteAgent", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteAgent", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.ces.v1.AgentService.DeleteAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteAgent" }, + "description": "DeleteAgent deletes the specified agent.", + "file": "AgentClient/DeleteAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteAgent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteAgent Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteApp_sync", - "title": "ces DeleteApp Sample", - "description": "DeleteApp deletes the specified app.", - "file": "AgentClient/DeleteApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApp", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteApp", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteApp", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteAppRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteApp", - "fullName": "google.cloud.ces.v1.AgentService.DeleteApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteApp" }, + "description": "DeleteApp deletes the specified app.", + "file": "AgentClient/DeleteApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteApp_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteApp Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteAppVersion_sync", - "title": "ces DeleteAppVersion Sample", - "description": "DeleteAppVersion deletes the specified app version.", - "file": "AgentClient/DeleteAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAppVersion", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteAppVersion", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteAppVersion", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteAppVersion", - "fullName": "google.cloud.ces.v1.AgentService.DeleteAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteAppVersion" }, + "description": "DeleteAppVersion deletes the specified app version.", + "file": "AgentClient/DeleteAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteAppVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteAppVersion Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteConversation_sync", - "title": "ces DeleteConversation Sample", - "description": "DeleteConversation deletes the specified conversation.", - "file": "AgentClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteConversation", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteConversation", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.ces.v1.AgentService.DeleteConversation", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteConversation" }, + "description": "DeleteConversation deletes the specified conversation.", + "file": "AgentClient/DeleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteConversation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteConversation Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteDeployment_sync", - "title": "ces DeleteDeployment Sample", - "description": "DeleteDeployment deletes the specified deployment.", - "file": "AgentClient/DeleteDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeployment", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteDeployment", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteDeployment", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteDeployment", - "fullName": "google.cloud.ces.v1.AgentService.DeleteDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteDeployment" }, + "description": "DeleteDeployment deletes the specified deployment.", + "file": "AgentClient/DeleteDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteDeployment Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteExample_sync", - "title": "ces DeleteExample Sample", - "description": "DeleteExample deletes the specified example.", - "file": "AgentClient/DeleteExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExample", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteExample", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteExample", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteExample", - "fullName": "google.cloud.ces.v1.AgentService.DeleteExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteExample" }, + "description": "DeleteExample deletes the specified example.", + "file": "AgentClient/DeleteExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteExample_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteExample Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteGuardrail_sync", - "title": "ces DeleteGuardrail Sample", - "description": "DeleteGuardrail deletes the specified guardrail.", - "file": "AgentClient/DeleteGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGuardrail", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteGuardrail", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteGuardrail", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteGuardrail", - "fullName": "google.cloud.ces.v1.AgentService.DeleteGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteGuardrail" }, + "description": "DeleteGuardrail deletes the specified guardrail.", + "file": "AgentClient/DeleteGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteGuardrail_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteGuardrail Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AgentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AgentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteTool_sync", - "title": "ces DeleteTool Sample", - "description": "DeleteTool deletes the specified tool.", - "file": "AgentClient/DeleteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTool", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteTool", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteTool", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteToolRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.ces.v1.AgentService.DeleteTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteTool" }, + "description": "DeleteTool deletes the specified tool.", + "file": "AgentClient/DeleteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteTool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteTool Sample" }, { - "regionTag": "ces_v1_generated_AgentService_DeleteToolset_sync", - "title": "ces DeleteToolset Sample", - "description": "DeleteToolset deletes the specified toolset.", - "file": "AgentClient/DeleteToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteToolset", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.DeleteToolset", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.DeleteToolset", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "DeleteToolset", - "fullName": "google.cloud.ces.v1.AgentService.DeleteToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "DeleteToolset" }, + "description": "DeleteToolset deletes the specified toolset.", + "file": "AgentClient/DeleteToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_DeleteToolset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteToolset Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ExportApp_sync", - "title": "ces ExportApp Sample", - "description": "ExportApp exports the specified app.", - "file": "AgentClient/ExportApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportApp", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ExportApp", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ExportApp", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ExportApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ExportAppRequest", - "name": "req" + "name": "req", + "type": "cespb.ExportAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ExportApp", - "fullName": "google.cloud.ces.v1.AgentService.ExportApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ExportApp" }, + "description": "ExportApp exports the specified app.", + "file": "AgentClient/ExportApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ExportApp_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ExportApp Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetAgent_sync", - "title": "ces GetAgent Sample", - "description": "GetAgent gets details of the specified agent.", - "file": "AgentClient/GetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgent", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetAgent", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetAgent", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.GetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Agent", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.ces.v1.AgentService.GetAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetAgent" }, + "description": "GetAgent gets details of the specified agent.", + "file": "AgentClient/GetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetAgent Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetApp_sync", - "title": "ces GetApp Sample", - "description": "GetApp gets details of the specified app.", - "file": "AgentClient/GetApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApp", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetApp", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetApp", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetAppRequest", - "name": "req" + "name": "req", + "type": "cespb.GetAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.App", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetApp", - "fullName": "google.cloud.ces.v1.AgentService.GetApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetApp" }, + "description": "GetApp gets details of the specified app.", + "file": "AgentClient/GetApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetApp_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetApp Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetAppVersion_sync", - "title": "ces GetAppVersion Sample", - "description": "GetAppVersion gets details of the specified app version.", - "file": "AgentClient/GetAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAppVersion", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetAppVersion", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetAppVersion", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.GetAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.AppVersion", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetAppVersion", - "fullName": "google.cloud.ces.v1.AgentService.GetAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetAppVersion" }, + "description": "GetAppVersion gets details of the specified app version.", + "file": "AgentClient/GetAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetAppVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetAppVersion Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetChangelog_sync", - "title": "ces GetChangelog Sample", - "description": "GetChangelog gets the specified changelog.", - "file": "AgentClient/GetChangelog/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChangelog", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetChangelog", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetChangelog", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetChangelog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetChangelogRequest", - "name": "req" + "name": "req", + "type": "cespb.GetChangelogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Changelog", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetChangelog", - "fullName": "google.cloud.ces.v1.AgentService.GetChangelog", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetChangelog" }, + "description": "GetChangelog gets the specified changelog.", + "file": "AgentClient/GetChangelog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetChangelog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetChangelog Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetConversation_sync", - "title": "ces GetConversation Sample", - "description": "GetConversation gets details of the specified conversation.", - "file": "AgentClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetConversation", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetConversation", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "cespb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Conversation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.ces.v1.AgentService.GetConversation", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation gets details of the specified conversation.", + "file": "AgentClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetConversation Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetDeployment_sync", - "title": "ces GetDeployment Sample", - "description": "GetDeployment gets details of the specified deployment.", - "file": "AgentClient/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetDeployment", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetDeployment", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Deployment", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.ces.v1.AgentService.GetDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment gets details of the specified deployment.", + "file": "AgentClient/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetDeployment Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetExample_sync", - "title": "ces GetExample Sample", - "description": "GetExample gets details of the specified example.", - "file": "AgentClient/GetExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExample", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetExample", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetExample", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.GetExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Example", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetExample", - "fullName": "google.cloud.ces.v1.AgentService.GetExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetExample" }, + "description": "GetExample gets details of the specified example.", + "file": "AgentClient/GetExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetExample Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetGuardrail_sync", - "title": "ces GetGuardrail Sample", - "description": "GetGuardrail gets details of the specified guardrail.", - "file": "AgentClient/GetGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGuardrail", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetGuardrail", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetGuardrail", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.GetGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Guardrail", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetGuardrail", - "fullName": "google.cloud.ces.v1.AgentService.GetGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetGuardrail" }, + "description": "GetGuardrail gets details of the specified guardrail.", + "file": "AgentClient/GetGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetGuardrail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetGuardrail Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AgentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AgentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AgentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AgentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetTool_sync", - "title": "ces GetTool Sample", - "description": "GetTool gets details of the specified tool.", - "file": "AgentClient/GetTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTool", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetTool", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetTool", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetToolRequest", - "name": "req" + "name": "req", + "type": "cespb.GetToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Tool", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetTool", - "fullName": "google.cloud.ces.v1.AgentService.GetTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetTool" }, + "description": "GetTool gets details of the specified tool.", + "file": "AgentClient/GetTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetTool Sample" }, { - "regionTag": "ces_v1_generated_AgentService_GetToolset_sync", - "title": "ces GetToolset Sample", - "description": "GetToolset gets details of the specified toolset.", - "file": "AgentClient/GetToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetToolset", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.GetToolset", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.GetToolset", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.GetToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Toolset", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "GetToolset", - "fullName": "google.cloud.ces.v1.AgentService.GetToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "GetToolset" }, + "description": "GetToolset gets details of the specified toolset.", + "file": "AgentClient/GetToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_GetToolset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetToolset Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ImportApp_sync", - "title": "ces ImportApp Sample", - "description": "ImportApp imports the specified app.", - "file": "AgentClient/ImportApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportApp", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ImportApp", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ImportApp", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ImportApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ImportAppRequest", - "name": "req" + "name": "req", + "type": "cespb.ImportAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ImportApp", - "fullName": "google.cloud.ces.v1.AgentService.ImportApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ImportApp" }, + "description": "ImportApp imports the specified app.", + "file": "AgentClient/ImportApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ImportApp_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ImportApp Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListAgents_sync", - "title": "ces ListAgents Sample", - "description": "ListAgents lists agents in the given app.", - "file": "AgentClient/ListAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAgents", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListAgents", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListAgents", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListAgentsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListAgents", - "fullName": "google.cloud.ces.v1.AgentService.ListAgents", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListAgents" }, + "description": "ListAgents lists agents in the given app.", + "file": "AgentClient/ListAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListAgents Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListAppVersions_sync", - "title": "ces ListAppVersions Sample", - "description": "ListAppVersions lists all app versions in the given app.", - "file": "AgentClient/ListAppVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAppVersions", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListAppVersions", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListAppVersions", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListAppVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListAppVersionsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListAppVersionsRequest" }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "AppVersionIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListAppVersions", - "fullName": "google.cloud.ces.v1.AgentService.ListAppVersions", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "AppVersionIterator", + "shortName": "ListAppVersions" }, + "description": "ListAppVersions lists all app versions in the given app.", + "file": "AgentClient/ListAppVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListAppVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListAppVersions Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListApps_sync", - "title": "ces ListApps Sample", - "description": "ListApps lists apps in the given project and location.", - "file": "AgentClient/ListApps/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApps", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListApps", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListApps", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListApps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListAppsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListAppsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AppIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListApps", - "fullName": "google.cloud.ces.v1.AgentService.ListApps", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListApps" }, + "description": "ListApps lists apps in the given project and location.", + "file": "AgentClient/ListApps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListApps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListApps Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListChangelogs_sync", - "title": "ces ListChangelogs Sample", - "description": "ListChangelogs lists the changelogs of the specified app.", - "file": "AgentClient/ListChangelogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChangelogs", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListChangelogs", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListChangelogs", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListChangelogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListChangelogsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListChangelogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangelogIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.ces.v1.AgentService.ListChangelogs", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListChangelogs" }, + "description": "ListChangelogs lists the changelogs of the specified app.", + "file": "AgentClient/ListChangelogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListChangelogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListChangelogs Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListConversations_sync", - "title": "ces ListConversations Sample", - "description": "ListConversations lists conversations in the given app.", - "file": "AgentClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListConversations", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListConversations", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.ces.v1.AgentService.ListConversations", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists conversations in the given app.", + "file": "AgentClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListConversations Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListDeployments_sync", - "title": "ces ListDeployments Sample", - "description": "ListDeployments lists deployments in the given app.", - "file": "AgentClient/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListDeployments", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListDeployments", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.ces.v1.AgentService.ListDeployments", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments lists deployments in the given app.", + "file": "AgentClient/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListDeployments Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListExamples_sync", - "title": "ces ListExamples Sample", - "description": "ListExamples lists examples in the given app.", - "file": "AgentClient/ListExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExamples", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListExamples", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListExamples", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListExamplesRequest", - "name": "req" + "name": "req", + "type": "cespb.ListExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.ces.v1.AgentService.ListExamples", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListExamples" }, + "description": "ListExamples lists examples in the given app.", + "file": "AgentClient/ListExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListExamples Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListGuardrails_sync", - "title": "ces ListGuardrails Sample", - "description": "ListGuardrails lists guardrails in the given app.", - "file": "AgentClient/ListGuardrails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGuardrails", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListGuardrails", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListGuardrails", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListGuardrails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListGuardrailsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListGuardrailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GuardrailIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListGuardrails", - "fullName": "google.cloud.ces.v1.AgentService.ListGuardrails", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListGuardrails" }, + "description": "ListGuardrails lists guardrails in the given app.", + "file": "AgentClient/ListGuardrails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListGuardrails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListGuardrails Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AgentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AgentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AgentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AgentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListTools_sync", - "title": "ces ListTools Sample", - "description": "ListTools lists tools in the given app.", - "file": "AgentClient/ListTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTools", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListTools", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListTools", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListToolsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.ces.v1.AgentService.ListTools", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListTools" }, + "description": "ListTools lists tools in the given app.", + "file": "AgentClient/ListTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListTools Sample" }, { - "regionTag": "ces_v1_generated_AgentService_ListToolsets_sync", - "title": "ces ListToolsets Sample", - "description": "ListToolsets lists toolsets in the given app.", - "file": "AgentClient/ListToolsets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListToolsets", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.ListToolsets", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.ListToolsets", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListToolsets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListToolsetsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListToolsetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolsetIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "ListToolsets", - "fullName": "google.cloud.ces.v1.AgentService.ListToolsets", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "ListToolsets" }, + "description": "ListToolsets lists toolsets in the given app.", + "file": "AgentClient/ListToolsets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_ListToolsets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "ces_v1_generated_AgentService_RestoreAppVersion_sync", - "title": "ces RestoreAppVersion Sample", - "description": "RestoreAppVersion restores the specified app version.\nThis will create a new app version from the current draft app and overwrite\nthe current draft with the specified app version.", - "file": "AgentClient/RestoreAppVersion/main.go", - "language": "GO", + ], + "title": "ces ListToolsets Sample" + }, + { "clientMethod": { - "shortName": "RestoreAppVersion", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.RestoreAppVersion", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.RestoreAppVersion", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "RestoreAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RestoreAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.RestoreAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAppVersionOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "RestoreAppVersion", - "fullName": "google.cloud.ces.v1.AgentService.RestoreAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "RestoreAppVersion" }, + "description": "RestoreAppVersion restores the specified app version.\nThis will create a new app version from the current draft app and overwrite\nthe current draft with the specified app version.", + "file": "AgentClient/RestoreAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_RestoreAppVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RestoreAppVersion Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateAgent_sync", - "title": "ces UpdateAgent Sample", - "description": "UpdateAgent updates the specified agent.", - "file": "AgentClient/UpdateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAgent", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateAgent", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateAgent", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Agent", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.ces.v1.AgentService.UpdateAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateAgent" }, + "description": "UpdateAgent updates the specified agent.", + "file": "AgentClient/UpdateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateAgent Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateApp_sync", - "title": "ces UpdateApp Sample", - "description": "UpdateApp updates the specified app.", - "file": "AgentClient/UpdateApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApp", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateApp", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateApp", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateAppRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.App", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateApp", - "fullName": "google.cloud.ces.v1.AgentService.UpdateApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateApp" }, + "description": "UpdateApp updates the specified app.", + "file": "AgentClient/UpdateApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateApp_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateApp Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateDeployment_sync", - "title": "ces UpdateDeployment Sample", - "description": "UpdateDeployment updates the specified deployment.", - "file": "AgentClient/UpdateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeployment", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateDeployment", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateDeployment", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Deployment", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateDeployment", - "fullName": "google.cloud.ces.v1.AgentService.UpdateDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateDeployment" }, + "description": "UpdateDeployment updates the specified deployment.", + "file": "AgentClient/UpdateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateDeployment Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateExample_sync", - "title": "ces UpdateExample Sample", - "description": "UpdateExample updates the specified example.", - "file": "AgentClient/UpdateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExample", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateExample", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateExample", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Example", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateExample", - "fullName": "google.cloud.ces.v1.AgentService.UpdateExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateExample" }, + "description": "UpdateExample updates the specified example.", + "file": "AgentClient/UpdateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateExample Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateGuardrail_sync", - "title": "ces UpdateGuardrail Sample", - "description": "UpdateGuardrail updates the specified guardrail.", - "file": "AgentClient/UpdateGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGuardrail", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateGuardrail", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateGuardrail", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Guardrail", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateGuardrail", - "fullName": "google.cloud.ces.v1.AgentService.UpdateGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateGuardrail" }, + "description": "UpdateGuardrail updates the specified guardrail.", + "file": "AgentClient/UpdateGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateGuardrail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateGuardrail Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateTool_sync", - "title": "ces UpdateTool Sample", - "description": "UpdateTool updates the specified tool.", - "file": "AgentClient/UpdateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTool", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateTool", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateTool", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateToolRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Tool", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.ces.v1.AgentService.UpdateTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateTool" }, + "description": "UpdateTool updates the specified tool.", + "file": "AgentClient/UpdateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateTool Sample" }, { - "regionTag": "ces_v1_generated_AgentService_UpdateToolset_sync", - "title": "ces UpdateToolset Sample", - "description": "UpdateToolset updates the specified toolset.", - "file": "AgentClient/UpdateToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateToolset", + "client": { + "fullName": "google.cloud.ces.v1.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1.AgentClient.UpdateToolset", + "method": { + "fullName": "google.cloud.ces.v1.AgentService.UpdateToolset", + "service": { + "fullName": "google.cloud.ces.v1.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Toolset", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1.AgentClient" - }, - "method": { - "shortName": "UpdateToolset", - "fullName": "google.cloud.ces.v1.AgentService.UpdateToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1.AgentService" - } - } + "shortName": "UpdateToolset" }, + "description": "UpdateToolset updates the specified toolset.", + "file": "AgentClient/UpdateToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_AgentService_UpdateToolset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateToolset Sample" }, { - "regionTag": "ces_v1_generated_SessionService_BidiRunSession_sync", - "title": "ces BidiRunSession Sample", - "description": "BidiRunSession establishes a bidirectional streaming connection with the CES agent.\nThe agent processes continuous multimodal inputs (e.g., text, audio) and\ngenerates real-time multimodal output streams.\n\n--- Client Request Stream ---\nThe client streams requests in the following order: \n\n1. Initialization: \nThe first message must contain\n[SessionConfig][google.cloud.ces.v1.BidiSessionClientMessage.config].\nFor audio sessions, this should also include\n[InputAudioConfig][google.cloud.ces.v1.SessionConfig.input_audio_config]\nand\n[OutputAudioConfig][google.cloud.ces.v1.SessionConfig.output_audio_config]\nto define audio processing and synthesis parameters.\n\n2. Interaction: \nSubsequent messages stream\n[SessionInput][google.cloud.ces.v1.BidiSessionClientMessage.realtime_input]\ncontaining real-time user input data.\n\n3. Termination: \nThe client should half-close the stream when there is no more user\ninput. It should also half-close upon receiving\n[EndSession][google.cloud.ces.v1.BidiSessionServerMessage.end_session]\nor [GoAway][google.cloud.ces.v1.BidiSessionServerMessage.go_away] from\nthe agent.\n\n--- Server Response Stream ---\nFor each interaction turn, the agent streams messages in the following\nsequence: \n\n1. Speech Recognition (First N messages): \nContains\n[RecognitionResult][google.cloud.ces.v1.BidiSessionServerMessage.recognition_result]\nrepresenting the concatenated user speech segments captured so far.\nThis is only populated for audio sessions.\n\n2. Response (Next M messages): \nContains\n[SessionOutput][google.cloud.ces.v1.BidiSessionServerMessage.session_output]\ndelivering the agent's response in various modalities (e.g., text,\naudio).\n\n3. Turn Completion (Final message of the turn): \nContains\n[SessionOutput][google.cloud.ces.v1.BidiSessionServerMessage.session_output]\nwith [turn_completed][google.cloud.ces.v1.SessionOutput.turn_completed]\nset to true. This signals the end of the current turn and includes\n[DiagnosticInfo][google.cloud.ces.v1.SessionOutput.diagnostic_info]\nwith execution details.\n\n--- Audio Best Practices ---\n1. Streaming: \nStream [audio data][google.cloud.ces.v1.SessionInput.audio]\n**CONTINUOUSLY**, even during silence. Recommended chunk size: 40-120ms\n(balances latency vs. efficiency).\n\n2. Playback & Interruption: \nPlay [audio responses][google.cloud.ces.v1.SessionOutput.audio] upon\nreceipt. Stop playback immediately if an\n[InterruptionSignal][google.cloud.ces.v1.BidiSessionServerMessage.interruption_signal]\nis received (e.g., user barge-in or new agent response).\n\n\nThis method is not supported for the REST transport.", - "file": "SessionClient/BidiRunSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "BidiRunSession", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.BidiRunSession", + "method": { + "fullName": "google.cloud.ces.v1.SessionService.BidiRunSession", + "service": { + "fullName": "google.cloud.ces.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "BidiRunSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "cespb.SessionService_BidiRunSessionClient", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "BidiRunSession", - "fullName": "google.cloud.ces.v1.SessionService.BidiRunSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.ces.v1.SessionService" - } - } + "shortName": "BidiRunSession" }, + "description": "BidiRunSession establishes a bidirectional streaming connection with the CES agent.\nThe agent processes continuous multimodal inputs (e.g., text, audio) and\ngenerates real-time multimodal output streams.\n\n--- Client Request Stream ---\nThe client streams requests in the following order: \n\n1. Initialization: \nThe first message must contain\n[SessionConfig][google.cloud.ces.v1.BidiSessionClientMessage.config].\nFor audio sessions, this should also include\n[InputAudioConfig][google.cloud.ces.v1.SessionConfig.input_audio_config]\nand\n[OutputAudioConfig][google.cloud.ces.v1.SessionConfig.output_audio_config]\nto define audio processing and synthesis parameters.\n\n2. Interaction: \nSubsequent messages stream\n[SessionInput][google.cloud.ces.v1.BidiSessionClientMessage.realtime_input]\ncontaining real-time user input data.\n\n3. Termination: \nThe client should half-close the stream when there is no more user\ninput. It should also half-close upon receiving\n[EndSession][google.cloud.ces.v1.BidiSessionServerMessage.end_session]\nor [GoAway][google.cloud.ces.v1.BidiSessionServerMessage.go_away] from\nthe agent.\n\n--- Server Response Stream ---\nFor each interaction turn, the agent streams messages in the following\nsequence: \n\n1. Speech Recognition (First N messages): \nContains\n[RecognitionResult][google.cloud.ces.v1.BidiSessionServerMessage.recognition_result]\nrepresenting the concatenated user speech segments captured so far.\nThis is only populated for audio sessions.\n\n2. Response (Next M messages): \nContains\n[SessionOutput][google.cloud.ces.v1.BidiSessionServerMessage.session_output]\ndelivering the agent's response in various modalities (e.g., text,\naudio).\n\n3. Turn Completion (Final message of the turn): \nContains\n[SessionOutput][google.cloud.ces.v1.BidiSessionServerMessage.session_output]\nwith [turn_completed][google.cloud.ces.v1.SessionOutput.turn_completed]\nset to true. This signals the end of the current turn and includes\n[DiagnosticInfo][google.cloud.ces.v1.SessionOutput.diagnostic_info]\nwith execution details.\n\n--- Audio Best Practices ---\n1. Streaming: \nStream [audio data][google.cloud.ces.v1.SessionInput.audio]\n**CONTINUOUSLY**, even during silence. Recommended chunk size: 40-120ms\n(balances latency vs. efficiency).\n\n2. Playback & Interruption: \nPlay [audio responses][google.cloud.ces.v1.SessionOutput.audio] upon\nreceipt. Stop playback immediately if an\n[InterruptionSignal][google.cloud.ces.v1.BidiSessionServerMessage.interruption_signal]\nis received (e.g., user barge-in or new agent response).\n\n\nThis method is not supported for the REST transport.", + "file": "SessionClient/BidiRunSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_BidiRunSession_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces BidiRunSession Sample" }, { - "regionTag": "ces_v1_generated_SessionService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1_generated_SessionService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1_generated_SessionService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1_generated_SessionService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1_generated_SessionService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1_generated_SessionService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" }, { - "regionTag": "ces_v1_generated_SessionService_RunSession_sync", - "title": "ces RunSession Sample", - "description": "RunSession initiates a single-turn interaction with the CES agent within a session.", - "file": "SessionClient/RunSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunSession", + "client": { + "fullName": "google.cloud.ces.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1.SessionClient.RunSession", + "method": { + "fullName": "google.cloud.ces.v1.SessionService.RunSession", + "service": { + "fullName": "google.cloud.ces.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "RunSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RunSessionRequest", - "name": "req" + "name": "req", + "type": "cespb.RunSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.RunSessionResponse", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1.SessionClient" - }, - "method": { - "shortName": "RunSession", - "fullName": "google.cloud.ces.v1.SessionService.RunSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.ces.v1.SessionService" - } - } + "shortName": "RunSession" }, + "description": "RunSession initiates a single-turn interaction with the CES agent within a session.", + "file": "SessionClient/RunSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_SessionService_RunSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RunSession Sample" }, { - "regionTag": "ces_v1_generated_ToolService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ToolClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ToolClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1_generated_ToolService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ToolClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ToolClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1_generated_ToolService_ExecuteTool_sync", - "title": "ces ExecuteTool Sample", - "description": "ExecuteTool executes the given tool with the given arguments.", - "file": "ToolClient/ExecuteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteTool", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.ExecuteTool", + "method": { + "fullName": "google.cloud.ces.v1.ToolService.ExecuteTool", + "service": { + "fullName": "google.cloud.ces.v1.ToolService", + "shortName": "ToolService" + }, + "shortName": "ExecuteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ExecuteToolRequest", - "name": "req" + "name": "req", + "type": "cespb.ExecuteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.ExecuteToolResponse", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "ExecuteTool", - "fullName": "google.cloud.ces.v1.ToolService.ExecuteTool", - "service": { - "shortName": "ToolService", - "fullName": "google.cloud.ces.v1.ToolService" - } - } + "shortName": "ExecuteTool" }, + "description": "ExecuteTool executes the given tool with the given arguments.", + "file": "ToolClient/ExecuteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_ExecuteTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ExecuteTool Sample" }, { - "regionTag": "ces_v1_generated_ToolService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ToolClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ToolClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1_generated_ToolService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ToolClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ToolClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1_generated_ToolService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ToolClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ToolClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1_generated_ToolService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ToolClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ToolClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" }, { - "regionTag": "ces_v1_generated_ToolService_RetrieveToolSchema_sync", - "title": "ces RetrieveToolSchema Sample", - "description": "RetrieveToolSchema retrieve the schema of the given tool. The schema is computed on the fly\nfor the given instance of the tool.", - "file": "ToolClient/RetrieveToolSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveToolSchema", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.RetrieveToolSchema", + "method": { + "fullName": "google.cloud.ces.v1.ToolService.RetrieveToolSchema", + "service": { + "fullName": "google.cloud.ces.v1.ToolService", + "shortName": "ToolService" + }, + "shortName": "RetrieveToolSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RetrieveToolSchemaRequest", - "name": "req" + "name": "req", + "type": "cespb.RetrieveToolSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.RetrieveToolSchemaResponse", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "RetrieveToolSchema", - "fullName": "google.cloud.ces.v1.ToolService.RetrieveToolSchema", - "service": { - "shortName": "ToolService", - "fullName": "google.cloud.ces.v1.ToolService" - } - } + "shortName": "RetrieveToolSchema" }, + "description": "RetrieveToolSchema retrieve the schema of the given tool. The schema is computed on the fly\nfor the given instance of the tool.", + "file": "ToolClient/RetrieveToolSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_RetrieveToolSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RetrieveToolSchema Sample" }, { - "regionTag": "ces_v1_generated_ToolService_RetrieveTools_sync", - "title": "ces RetrieveTools Sample", - "description": "RetrieveTools retrieve the list of tools included in the specified toolset.", - "file": "ToolClient/RetrieveTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveTools", + "client": { + "fullName": "google.cloud.ces.v1.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1.ToolClient.RetrieveTools", + "method": { + "fullName": "google.cloud.ces.v1.ToolService.RetrieveTools", + "service": { + "fullName": "google.cloud.ces.v1.ToolService", + "shortName": "ToolService" + }, + "shortName": "RetrieveTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RetrieveToolsRequest", - "name": "req" + "name": "req", + "type": "cespb.RetrieveToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.RetrieveToolsResponse", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1.ToolClient" - }, - "method": { - "shortName": "RetrieveTools", - "fullName": "google.cloud.ces.v1.ToolService.RetrieveTools", - "service": { - "shortName": "ToolService", - "fullName": "google.cloud.ces.v1.ToolService" - } - } + "shortName": "RetrieveTools" }, + "description": "RetrieveTools retrieve the list of tools included in the specified toolset.", + "file": "ToolClient/RetrieveTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_ToolService_RetrieveTools_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RetrieveTools Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_GenerateChatToken_sync", - "title": "ces GenerateChatToken Sample", - "description": "GenerateChatToken generates a session scoped token for chat widget to authenticate with\nSession APIs.", - "file": "WidgetClient/GenerateChatToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateChatToken", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.GenerateChatToken", + "method": { + "fullName": "google.cloud.ces.v1.WidgetService.GenerateChatToken", + "service": { + "fullName": "google.cloud.ces.v1.WidgetService", + "shortName": "WidgetService" + }, + "shortName": "GenerateChatToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GenerateChatTokenRequest", - "name": "req" + "name": "req", + "type": "cespb.GenerateChatTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.GenerateChatTokenResponse", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "GenerateChatToken", - "fullName": "google.cloud.ces.v1.WidgetService.GenerateChatToken", - "service": { - "shortName": "WidgetService", - "fullName": "google.cloud.ces.v1.WidgetService" - } - } + "shortName": "GenerateChatToken" }, + "description": "GenerateChatToken generates a session scoped token for chat widget to authenticate with\nSession APIs.", + "file": "WidgetClient/GenerateChatToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_GenerateChatToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GenerateChatToken Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "WidgetClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "WidgetClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "WidgetClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "WidgetClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1_generated_WidgetService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1.WidgetClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1.WidgetClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1_generated_WidgetService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ces/apiv1beta/snippet_metadata.google.cloud.ces.v1beta.json b/internal/generated/snippets/ces/apiv1beta/snippet_metadata.google.cloud.ces.v1beta.json index 12750d96e77b..7ffd179ee240 100644 --- a/internal/generated/snippets/ces/apiv1beta/snippet_metadata.google.cloud.ces.v1beta.json +++ b/internal/generated/snippets/ces/apiv1beta/snippet_metadata.google.cloud.ces.v1beta.json @@ -1,5370 +1,5370 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ces/apiv1beta", - "version": "0.3.0", - "language": "GO", "apis": [ { "id": "google.cloud.ces.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ces/apiv1beta", + "version": "0.3.0" }, "snippets": [ { - "regionTag": "ces_v1beta_generated_AgentService_BatchDeleteConversations_sync", - "title": "ces BatchDeleteConversations Sample", - "description": "BatchDeleteConversations batch deletes the specified conversations.", - "file": "AgentClient/BatchDeleteConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteConversations", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.BatchDeleteConversations", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.BatchDeleteConversations", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "BatchDeleteConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.BatchDeleteConversationsRequest", - "name": "req" + "name": "req", + "type": "cespb.BatchDeleteConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteConversationsOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "BatchDeleteConversations", - "fullName": "google.cloud.ces.v1beta.AgentService.BatchDeleteConversations", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "BatchDeleteConversations" }, + "description": "BatchDeleteConversations batch deletes the specified conversations.", + "file": "AgentClient/BatchDeleteConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_BatchDeleteConversations_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces BatchDeleteConversations Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AgentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AgentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateAgent_sync", - "title": "ces CreateAgent Sample", - "description": "CreateAgent creates a new agent in the given app.", - "file": "AgentClient/CreateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAgent", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateAgent", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateAgent", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Agent", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateAgent", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateAgent" }, + "description": "CreateAgent creates a new agent in the given app.", + "file": "AgentClient/CreateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateAgent Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateApp_sync", - "title": "ces CreateApp Sample", - "description": "CreateApp creates a new app in the given project and location.", - "file": "AgentClient/CreateApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApp", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateApp", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateApp", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateAppRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateApp", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateApp" }, + "description": "CreateApp creates a new app in the given project and location.", + "file": "AgentClient/CreateApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateApp_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateApp Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateAppVersion_sync", - "title": "ces CreateAppVersion Sample", - "description": "CreateAppVersion creates a new app version in the given app.", - "file": "AgentClient/CreateAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAppVersion", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateAppVersion", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateAppVersion", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.AppVersion", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateAppVersion", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateAppVersion" }, + "description": "CreateAppVersion creates a new app version in the given app.", + "file": "AgentClient/CreateAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateAppVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateAppVersion Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateDeployment_sync", - "title": "ces CreateDeployment Sample", - "description": "CreateDeployment creates a new deployment in the given app.", - "file": "AgentClient/CreateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployment", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateDeployment", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateDeployment", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Deployment", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateDeployment", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateDeployment" }, + "description": "CreateDeployment creates a new deployment in the given app.", + "file": "AgentClient/CreateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateDeployment Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateExample_sync", - "title": "ces CreateExample Sample", - "description": "CreateExample creates a new example in the given app.", - "file": "AgentClient/CreateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExample", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateExample", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateExample", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Example", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateExample", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateExample" }, + "description": "CreateExample creates a new example in the given app.", + "file": "AgentClient/CreateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateExample Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateGuardrail_sync", - "title": "ces CreateGuardrail Sample", - "description": "CreateGuardrail creates a new guardrail in the given app.", - "file": "AgentClient/CreateGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGuardrail", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateGuardrail", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateGuardrail", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Guardrail", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateGuardrail", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateGuardrail" }, + "description": "CreateGuardrail creates a new guardrail in the given app.", + "file": "AgentClient/CreateGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateGuardrail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateGuardrail Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateTool_sync", - "title": "ces CreateTool Sample", - "description": "CreateTool creates a new tool in the given app.", - "file": "AgentClient/CreateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTool", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateTool", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateTool", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateToolRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Tool", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateTool" }, + "description": "CreateTool creates a new tool in the given app.", + "file": "AgentClient/CreateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateTool Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_CreateToolset_sync", - "title": "ces CreateToolset Sample", - "description": "CreateToolset creates a new toolset in the given app.", - "file": "AgentClient/CreateToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateToolset", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.CreateToolset", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.CreateToolset", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "CreateToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Toolset", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "CreateToolset", - "fullName": "google.cloud.ces.v1beta.AgentService.CreateToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "CreateToolset" }, + "description": "CreateToolset creates a new toolset in the given app.", + "file": "AgentClient/CreateToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_CreateToolset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateToolset Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteAgent_sync", - "title": "ces DeleteAgent Sample", - "description": "DeleteAgent deletes the specified agent.", - "file": "AgentClient/DeleteAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgent", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteAgent", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteAgent", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteAgent" }, + "description": "DeleteAgent deletes the specified agent.", + "file": "AgentClient/DeleteAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteAgent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteAgent Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteApp_sync", - "title": "ces DeleteApp Sample", - "description": "DeleteApp deletes the specified app.", - "file": "AgentClient/DeleteApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApp", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteApp", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteApp", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteAppRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteApp", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteApp" }, + "description": "DeleteApp deletes the specified app.", + "file": "AgentClient/DeleteApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteApp_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteApp Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteAppVersion_sync", - "title": "ces DeleteAppVersion Sample", - "description": "DeleteAppVersion deletes the specified app version.", - "file": "AgentClient/DeleteAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAppVersion", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteAppVersion", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteAppVersion", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteAppVersion", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteAppVersion" }, + "description": "DeleteAppVersion deletes the specified app version.", + "file": "AgentClient/DeleteAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteAppVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteAppVersion Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteConversation_sync", - "title": "ces DeleteConversation Sample", - "description": "DeleteConversation deletes the specified conversation.", - "file": "AgentClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteConversation", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteConversation", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteConversation", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteConversation" }, + "description": "DeleteConversation deletes the specified conversation.", + "file": "AgentClient/DeleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteConversation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteConversation Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteDeployment_sync", - "title": "ces DeleteDeployment Sample", - "description": "DeleteDeployment deletes the specified deployment.", - "file": "AgentClient/DeleteDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeployment", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteDeployment", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteDeployment", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteDeployment", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteDeployment" }, + "description": "DeleteDeployment deletes the specified deployment.", + "file": "AgentClient/DeleteDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteDeployment Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteExample_sync", - "title": "ces DeleteExample Sample", - "description": "DeleteExample deletes the specified example.", - "file": "AgentClient/DeleteExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExample", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteExample", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteExample", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteExample", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteExample" }, + "description": "DeleteExample deletes the specified example.", + "file": "AgentClient/DeleteExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteExample_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteExample Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteGuardrail_sync", - "title": "ces DeleteGuardrail Sample", - "description": "DeleteGuardrail deletes the specified guardrail.", - "file": "AgentClient/DeleteGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGuardrail", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteGuardrail", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteGuardrail", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteGuardrail", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteGuardrail" }, + "description": "DeleteGuardrail deletes the specified guardrail.", + "file": "AgentClient/DeleteGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteGuardrail_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteGuardrail Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AgentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AgentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteTool_sync", - "title": "ces DeleteTool Sample", - "description": "DeleteTool deletes the specified tool.", - "file": "AgentClient/DeleteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTool", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteTool", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteTool", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteToolRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteTool" }, + "description": "DeleteTool deletes the specified tool.", + "file": "AgentClient/DeleteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteTool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteTool Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_DeleteToolset_sync", - "title": "ces DeleteToolset Sample", - "description": "DeleteToolset deletes the specified toolset.", - "file": "AgentClient/DeleteToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteToolset", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.DeleteToolset", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.DeleteToolset", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "DeleteToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "DeleteToolset", - "fullName": "google.cloud.ces.v1beta.AgentService.DeleteToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "DeleteToolset" }, + "description": "DeleteToolset deletes the specified toolset.", + "file": "AgentClient/DeleteToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_DeleteToolset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteToolset Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ExportApp_sync", - "title": "ces ExportApp Sample", - "description": "ExportApp exports the specified app.", - "file": "AgentClient/ExportApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportApp", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ExportApp", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ExportApp", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ExportApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ExportAppRequest", - "name": "req" + "name": "req", + "type": "cespb.ExportAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ExportApp", - "fullName": "google.cloud.ces.v1beta.AgentService.ExportApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ExportApp" }, + "description": "ExportApp exports the specified app.", + "file": "AgentClient/ExportApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ExportApp_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ExportApp Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetAgent_sync", - "title": "ces GetAgent Sample", - "description": "GetAgent gets details of the specified agent.", - "file": "AgentClient/GetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgent", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetAgent", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetAgent", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.GetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Agent", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.ces.v1beta.AgentService.GetAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetAgent" }, + "description": "GetAgent gets details of the specified agent.", + "file": "AgentClient/GetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetAgent Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetApp_sync", - "title": "ces GetApp Sample", - "description": "GetApp gets details of the specified app.", - "file": "AgentClient/GetApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApp", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetApp", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetApp", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetAppRequest", - "name": "req" + "name": "req", + "type": "cespb.GetAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.App", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetApp", - "fullName": "google.cloud.ces.v1beta.AgentService.GetApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetApp" }, + "description": "GetApp gets details of the specified app.", + "file": "AgentClient/GetApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetApp_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetApp Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetAppVersion_sync", - "title": "ces GetAppVersion Sample", - "description": "GetAppVersion gets details of the specified app version.", - "file": "AgentClient/GetAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAppVersion", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetAppVersion", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetAppVersion", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.GetAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.AppVersion", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetAppVersion", - "fullName": "google.cloud.ces.v1beta.AgentService.GetAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetAppVersion" }, + "description": "GetAppVersion gets details of the specified app version.", + "file": "AgentClient/GetAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetAppVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetAppVersion Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetChangelog_sync", - "title": "ces GetChangelog Sample", - "description": "GetChangelog gets the specified changelog.", - "file": "AgentClient/GetChangelog/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChangelog", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetChangelog", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetChangelog", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetChangelog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetChangelogRequest", - "name": "req" + "name": "req", + "type": "cespb.GetChangelogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Changelog", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetChangelog", - "fullName": "google.cloud.ces.v1beta.AgentService.GetChangelog", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetChangelog" }, + "description": "GetChangelog gets the specified changelog.", + "file": "AgentClient/GetChangelog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetChangelog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetChangelog Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetConversation_sync", - "title": "ces GetConversation Sample", - "description": "GetConversation gets details of the specified conversation.", - "file": "AgentClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetConversation", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetConversation", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "cespb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Conversation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.ces.v1beta.AgentService.GetConversation", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation gets details of the specified conversation.", + "file": "AgentClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetConversation Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetDeployment_sync", - "title": "ces GetDeployment Sample", - "description": "GetDeployment gets details of the specified deployment.", - "file": "AgentClient/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetDeployment", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetDeployment", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Deployment", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.ces.v1beta.AgentService.GetDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment gets details of the specified deployment.", + "file": "AgentClient/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetDeployment Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetExample_sync", - "title": "ces GetExample Sample", - "description": "GetExample gets details of the specified example.", - "file": "AgentClient/GetExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExample", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetExample", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetExample", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.GetExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Example", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetExample", - "fullName": "google.cloud.ces.v1beta.AgentService.GetExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetExample" }, + "description": "GetExample gets details of the specified example.", + "file": "AgentClient/GetExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetExample Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetGuardrail_sync", - "title": "ces GetGuardrail Sample", - "description": "GetGuardrail gets details of the specified guardrail.", - "file": "AgentClient/GetGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGuardrail", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetGuardrail", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetGuardrail", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.GetGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Guardrail", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetGuardrail", - "fullName": "google.cloud.ces.v1beta.AgentService.GetGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetGuardrail" }, + "description": "GetGuardrail gets details of the specified guardrail.", + "file": "AgentClient/GetGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetGuardrail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetGuardrail Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AgentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AgentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AgentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AgentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetSecuritySettings_sync", - "title": "ces GetSecuritySettings Sample", - "description": "GetSecuritySettings retrieves the security settings for the project and location.", - "file": "AgentClient/GetSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecuritySettings", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetSecuritySettings", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetSecuritySettings", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cespb.GetSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.SecuritySettings", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.ces.v1beta.AgentService.GetSecuritySettings", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetSecuritySettings" }, + "description": "GetSecuritySettings retrieves the security settings for the project and location.", + "file": "AgentClient/GetSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetSecuritySettings Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetTool_sync", - "title": "ces GetTool Sample", - "description": "GetTool gets details of the specified tool.", - "file": "AgentClient/GetTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTool", - "fullName": "google.cloud.ces.v1beta.AgentClient.GetTool", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "cespb.GetToolRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*cespb.Tool", "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" }, + "fullName": "google.cloud.ces.v1beta.AgentClient.GetTool", "method": { - "shortName": "GetTool", "fullName": "google.cloud.ces.v1beta.AgentService.GetTool", "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetTool" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "cespb.GetToolRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*cespb.Tool", + "shortName": "GetTool" }, + "description": "GetTool gets details of the specified tool.", + "file": "AgentClient/GetTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetTool Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_GetToolset_sync", - "title": "ces GetToolset Sample", - "description": "GetToolset gets details of the specified toolset.", - "file": "AgentClient/GetToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetToolset", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.GetToolset", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.GetToolset", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "GetToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.GetToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Toolset", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "GetToolset", - "fullName": "google.cloud.ces.v1beta.AgentService.GetToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "GetToolset" }, + "description": "GetToolset gets details of the specified toolset.", + "file": "AgentClient/GetToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_GetToolset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetToolset Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ImportApp_sync", - "title": "ces ImportApp Sample", - "description": "ImportApp imports the specified app.", - "file": "AgentClient/ImportApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportApp", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ImportApp", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ImportApp", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ImportApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ImportAppRequest", - "name": "req" + "name": "req", + "type": "cespb.ImportAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAppOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ImportApp", - "fullName": "google.cloud.ces.v1beta.AgentService.ImportApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ImportApp" }, + "description": "ImportApp imports the specified app.", + "file": "AgentClient/ImportApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ImportApp_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ImportApp Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListAgents_sync", - "title": "ces ListAgents Sample", - "description": "ListAgents lists agents in the given app.", - "file": "AgentClient/ListAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAgents", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListAgents", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListAgents", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListAgentsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListAgents", - "fullName": "google.cloud.ces.v1beta.AgentService.ListAgents", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListAgents" }, + "description": "ListAgents lists agents in the given app.", + "file": "AgentClient/ListAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListAgents Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListAppVersions_sync", - "title": "ces ListAppVersions Sample", - "description": "ListAppVersions lists all app versions in the given app.", - "file": "AgentClient/ListAppVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAppVersions", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListAppVersions", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListAppVersions", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListAppVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListAppVersionsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListAppVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AppVersionIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListAppVersions", - "fullName": "google.cloud.ces.v1beta.AgentService.ListAppVersions", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListAppVersions" }, + "description": "ListAppVersions lists all app versions in the given app.", + "file": "AgentClient/ListAppVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListAppVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListAppVersions Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListApps_sync", - "title": "ces ListApps Sample", - "description": "ListApps lists apps in the given project and location.", - "file": "AgentClient/ListApps/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApps", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListApps", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListApps", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListApps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListAppsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListAppsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AppIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListApps", - "fullName": "google.cloud.ces.v1beta.AgentService.ListApps", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListApps" }, + "description": "ListApps lists apps in the given project and location.", + "file": "AgentClient/ListApps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListApps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListApps Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListChangelogs_sync", - "title": "ces ListChangelogs Sample", - "description": "ListChangelogs lists the changelogs of the specified app.", - "file": "AgentClient/ListChangelogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChangelogs", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListChangelogs", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListChangelogs", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListChangelogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListChangelogsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListChangelogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangelogIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.ces.v1beta.AgentService.ListChangelogs", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListChangelogs" }, + "description": "ListChangelogs lists the changelogs of the specified app.", + "file": "AgentClient/ListChangelogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListChangelogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListChangelogs Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListConversations_sync", - "title": "ces ListConversations Sample", - "description": "ListConversations lists conversations in the given app.", - "file": "AgentClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListConversations", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListConversations", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.ces.v1beta.AgentService.ListConversations", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists conversations in the given app.", + "file": "AgentClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListConversations Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListDeployments_sync", - "title": "ces ListDeployments Sample", - "description": "ListDeployments lists deployments in the given app.", - "file": "AgentClient/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListDeployments", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListDeployments", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.ces.v1beta.AgentService.ListDeployments", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments lists deployments in the given app.", + "file": "AgentClient/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListDeployments Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListExamples_sync", - "title": "ces ListExamples Sample", - "description": "ListExamples lists examples in the given app.", - "file": "AgentClient/ListExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExamples", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListExamples", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListExamples", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListExamplesRequest", - "name": "req" + "name": "req", + "type": "cespb.ListExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.ces.v1beta.AgentService.ListExamples", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListExamples" }, + "description": "ListExamples lists examples in the given app.", + "file": "AgentClient/ListExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListExamples Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListGuardrails_sync", - "title": "ces ListGuardrails Sample", - "description": "ListGuardrails lists guardrails in the given app.", - "file": "AgentClient/ListGuardrails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGuardrails", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListGuardrails", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListGuardrails", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListGuardrails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListGuardrailsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListGuardrailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GuardrailIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListGuardrails", - "fullName": "google.cloud.ces.v1beta.AgentService.ListGuardrails", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListGuardrails" }, + "description": "ListGuardrails lists guardrails in the given app.", + "file": "AgentClient/ListGuardrails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListGuardrails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListGuardrails Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AgentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AgentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AgentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AgentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListTools_sync", - "title": "ces ListTools Sample", - "description": "ListTools lists tools in the given app.", - "file": "AgentClient/ListTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTools", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListTools", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListTools", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListToolsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.ces.v1beta.AgentService.ListTools", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListTools" }, + "description": "ListTools lists tools in the given app.", + "file": "AgentClient/ListTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListTools Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_ListToolsets_sync", - "title": "ces ListToolsets Sample", - "description": "ListToolsets lists toolsets in the given app.", - "file": "AgentClient/ListToolsets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListToolsets", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.ListToolsets", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.ListToolsets", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "ListToolsets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListToolsetsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListToolsetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolsetIterator", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "ListToolsets", - "fullName": "google.cloud.ces.v1beta.AgentService.ListToolsets", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "ListToolsets" }, + "description": "ListToolsets lists toolsets in the given app.", + "file": "AgentClient/ListToolsets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_ListToolsets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListToolsets Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_RestoreAppVersion_sync", - "title": "ces RestoreAppVersion Sample", - "description": "RestoreAppVersion restores the specified app version.\nThis will create a new app version from the current draft app and overwrite\nthe current draft with the specified app version.", - "file": "AgentClient/RestoreAppVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreAppVersion", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.RestoreAppVersion", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.RestoreAppVersion", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "RestoreAppVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RestoreAppVersionRequest", - "name": "req" + "name": "req", + "type": "cespb.RestoreAppVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAppVersionOperation", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "RestoreAppVersion", - "fullName": "google.cloud.ces.v1beta.AgentService.RestoreAppVersion", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "RestoreAppVersion" }, + "description": "RestoreAppVersion restores the specified app version.\nThis will create a new app version from the current draft app and overwrite\nthe current draft with the specified app version.", + "file": "AgentClient/RestoreAppVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_RestoreAppVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RestoreAppVersion Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateAgent_sync", - "title": "ces UpdateAgent Sample", - "description": "UpdateAgent updates the specified agent.", - "file": "AgentClient/UpdateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAgent", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateAgent", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateAgent", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateAgentRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Agent", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateAgent", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateAgent" }, + "description": "UpdateAgent updates the specified agent.", + "file": "AgentClient/UpdateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateAgent Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateApp_sync", - "title": "ces UpdateApp Sample", - "description": "UpdateApp updates the specified app.", - "file": "AgentClient/UpdateApp/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApp", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateApp", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateApp", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateApp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateAppRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateAppRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.App", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateApp", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateApp", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateApp" }, + "description": "UpdateApp updates the specified app.", + "file": "AgentClient/UpdateApp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateApp_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateApp Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateDeployment_sync", - "title": "ces UpdateDeployment Sample", - "description": "UpdateDeployment updates the specified deployment.", - "file": "AgentClient/UpdateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeployment", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateDeployment", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateDeployment", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateDeploymentRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Deployment", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateDeployment", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateDeployment", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateDeployment" }, + "description": "UpdateDeployment updates the specified deployment.", + "file": "AgentClient/UpdateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateDeployment Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateExample_sync", - "title": "ces UpdateExample Sample", - "description": "UpdateExample updates the specified example.", - "file": "AgentClient/UpdateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExample", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateExample", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateExample", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateExampleRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Example", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateExample", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateExample", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateExample" }, + "description": "UpdateExample updates the specified example.", + "file": "AgentClient/UpdateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateExample Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateGuardrail_sync", - "title": "ces UpdateGuardrail Sample", - "description": "UpdateGuardrail updates the specified guardrail.", - "file": "AgentClient/UpdateGuardrail/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGuardrail", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateGuardrail", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateGuardrail", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateGuardrail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateGuardrailRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateGuardrailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Guardrail", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateGuardrail", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateGuardrail", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateGuardrail" }, + "description": "UpdateGuardrail updates the specified guardrail.", + "file": "AgentClient/UpdateGuardrail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateGuardrail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateGuardrail Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateSecuritySettings_sync", - "title": "ces UpdateSecuritySettings Sample", - "description": "UpdateSecuritySettings updates the security settings for the project and location.", - "file": "AgentClient/UpdateSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateSecuritySettings", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "cespb.UpdateSecuritySettingsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*cespb.SecuritySettings", "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" }, + "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateSecuritySettings", "method": { - "shortName": "UpdateSecuritySettings", "fullName": "google.cloud.ces.v1beta.AgentService.UpdateSecuritySettings", "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateSecuritySettings" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "cespb.UpdateSecuritySettingsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*cespb.SecuritySettings", + "shortName": "UpdateSecuritySettings" }, + "description": "UpdateSecuritySettings updates the security settings for the project and location.", + "file": "AgentClient/UpdateSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateSecuritySettings Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateTool_sync", - "title": "ces UpdateTool Sample", - "description": "UpdateTool updates the specified tool.", - "file": "AgentClient/UpdateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTool", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateTool", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateTool", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateToolRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Tool", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateTool", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateTool" }, + "description": "UpdateTool updates the specified tool.", + "file": "AgentClient/UpdateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateTool Sample" }, { - "regionTag": "ces_v1beta_generated_AgentService_UpdateToolset_sync", - "title": "ces UpdateToolset Sample", - "description": "UpdateToolset updates the specified toolset.", - "file": "AgentClient/UpdateToolset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateToolset", + "client": { + "fullName": "google.cloud.ces.v1beta.AgentClient", + "shortName": "AgentClient" + }, "fullName": "google.cloud.ces.v1beta.AgentClient.UpdateToolset", + "method": { + "fullName": "google.cloud.ces.v1beta.AgentService.UpdateToolset", + "service": { + "fullName": "google.cloud.ces.v1beta.AgentService", + "shortName": "AgentService" + }, + "shortName": "UpdateToolset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateToolsetRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateToolsetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Toolset", - "client": { - "shortName": "AgentClient", - "fullName": "google.cloud.ces.v1beta.AgentClient" - }, - "method": { - "shortName": "UpdateToolset", - "fullName": "google.cloud.ces.v1beta.AgentService.UpdateToolset", - "service": { - "shortName": "AgentService", - "fullName": "google.cloud.ces.v1beta.AgentService" - } - } + "shortName": "UpdateToolset" }, + "description": "UpdateToolset updates the specified toolset.", + "file": "AgentClient/UpdateToolset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_AgentService_UpdateToolset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateToolset Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_CreateEvaluation_sync", - "title": "ces CreateEvaluation Sample", - "description": "CreateEvaluation creates an evaluation.", - "file": "EvaluationClient/CreateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.CreateEvaluation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateEvaluation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "CreateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateEvaluationRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Evaluation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "CreateEvaluation" }, + "description": "CreateEvaluation creates an evaluation.", + "file": "EvaluationClient/CreateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_CreateEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateEvaluation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_CreateEvaluationDataset_sync", - "title": "ces CreateEvaluationDataset Sample", - "description": "CreateEvaluationDataset creates an evaluation dataset.", - "file": "EvaluationClient/CreateEvaluationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluationDataset", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.CreateEvaluationDataset", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateEvaluationDataset", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "CreateEvaluationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateEvaluationDatasetRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateEvaluationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationDataset", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CreateEvaluationDataset", - "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateEvaluationDataset", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "CreateEvaluationDataset" }, + "description": "CreateEvaluationDataset creates an evaluation dataset.", + "file": "EvaluationClient/CreateEvaluationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_CreateEvaluationDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateEvaluationDataset Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_CreateEvaluationExpectation_sync", - "title": "ces CreateEvaluationExpectation Sample", - "description": "CreateEvaluationExpectation creates an evaluation expectation.", - "file": "EvaluationClient/CreateEvaluationExpectation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluationExpectation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.CreateEvaluationExpectation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateEvaluationExpectation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "CreateEvaluationExpectation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateEvaluationExpectationRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateEvaluationExpectationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationExpectation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CreateEvaluationExpectation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateEvaluationExpectation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "CreateEvaluationExpectation" }, + "description": "CreateEvaluationExpectation creates an evaluation expectation.", + "file": "EvaluationClient/CreateEvaluationExpectation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_CreateEvaluationExpectation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateEvaluationExpectation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_CreateScheduledEvaluationRun_sync", - "title": "ces CreateScheduledEvaluationRun Sample", - "description": "CreateScheduledEvaluationRun creates a scheduled evaluation run.", - "file": "EvaluationClient/CreateScheduledEvaluationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateScheduledEvaluationRun", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.CreateScheduledEvaluationRun", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateScheduledEvaluationRun", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "CreateScheduledEvaluationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.CreateScheduledEvaluationRunRequest", - "name": "req" + "name": "req", + "type": "cespb.CreateScheduledEvaluationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.ScheduledEvaluationRun", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CreateScheduledEvaluationRun", - "fullName": "google.cloud.ces.v1beta.EvaluationService.CreateScheduledEvaluationRun", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "CreateScheduledEvaluationRun" }, + "description": "CreateScheduledEvaluationRun creates a scheduled evaluation run.", + "file": "EvaluationClient/CreateScheduledEvaluationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_CreateScheduledEvaluationRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CreateScheduledEvaluationRun Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluation_sync", - "title": "ces DeleteEvaluation Sample", - "description": "DeleteEvaluation deletes an evaluation.", - "file": "EvaluationClient/DeleteEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteEvaluation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "DeleteEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteEvaluationRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteEvaluation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "DeleteEvaluation" }, + "description": "DeleteEvaluation deletes an evaluation.", + "file": "EvaluationClient/DeleteEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteEvaluation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationDataset_sync", - "title": "ces DeleteEvaluationDataset Sample", - "description": "DeleteEvaluationDataset deletes an evaluation dataset.", - "file": "EvaluationClient/DeleteEvaluationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluationDataset", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteEvaluationDataset", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationDataset", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "DeleteEvaluationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteEvaluationDatasetRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteEvaluationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteEvaluationDataset", - "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationDataset", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "DeleteEvaluationDataset" }, + "description": "DeleteEvaluationDataset deletes an evaluation dataset.", + "file": "EvaluationClient/DeleteEvaluationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationDataset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteEvaluationDataset Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationExpectation_sync", - "title": "ces DeleteEvaluationExpectation Sample", - "description": "DeleteEvaluationExpectation deletes an evaluation expectation.", - "file": "EvaluationClient/DeleteEvaluationExpectation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluationExpectation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteEvaluationExpectation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationExpectation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "DeleteEvaluationExpectation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteEvaluationExpectationRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteEvaluationExpectationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteEvaluationExpectation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationExpectation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "DeleteEvaluationExpectation" }, + "description": "DeleteEvaluationExpectation deletes an evaluation expectation.", + "file": "EvaluationClient/DeleteEvaluationExpectation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationExpectation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteEvaluationExpectation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationResult_sync", - "title": "ces DeleteEvaluationResult Sample", - "description": "DeleteEvaluationResult deletes an evaluation result.", - "file": "EvaluationClient/DeleteEvaluationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluationResult", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteEvaluationResult", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationResult", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "DeleteEvaluationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteEvaluationResultRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteEvaluationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteEvaluationResult", - "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationResult", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "DeleteEvaluationResult" }, + "description": "DeleteEvaluationResult deletes an evaluation result.", + "file": "EvaluationClient/DeleteEvaluationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationResult_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteEvaluationResult Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationRun_sync", - "title": "ces DeleteEvaluationRun Sample", - "description": "DeleteEvaluationRun deletes an evaluation run.", - "file": "EvaluationClient/DeleteEvaluationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluationRun", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteEvaluationRun", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationRun", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "DeleteEvaluationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteEvaluationRunRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteEvaluationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEvaluationRunOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteEvaluationRun", - "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteEvaluationRun", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "DeleteEvaluationRun" }, + "description": "DeleteEvaluationRun deletes an evaluation run.", + "file": "EvaluationClient/DeleteEvaluationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteEvaluationRun_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteEvaluationRun Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_DeleteScheduledEvaluationRun_sync", - "title": "ces DeleteScheduledEvaluationRun Sample", - "description": "DeleteScheduledEvaluationRun deletes a scheduled evaluation run.", - "file": "EvaluationClient/DeleteScheduledEvaluationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteScheduledEvaluationRun", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.DeleteScheduledEvaluationRun", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteScheduledEvaluationRun", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "DeleteScheduledEvaluationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.DeleteScheduledEvaluationRunRequest", - "name": "req" + "name": "req", + "type": "cespb.DeleteScheduledEvaluationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "DeleteScheduledEvaluationRun", - "fullName": "google.cloud.ces.v1beta.EvaluationService.DeleteScheduledEvaluationRun", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "DeleteScheduledEvaluationRun" }, + "description": "DeleteScheduledEvaluationRun deletes a scheduled evaluation run.", + "file": "EvaluationClient/DeleteScheduledEvaluationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_DeleteScheduledEvaluationRun_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteScheduledEvaluationRun Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GenerateEvaluation_sync", - "title": "ces GenerateEvaluation Sample", - "description": "GenerateEvaluation creates a golden evaluation from a conversation.", - "file": "EvaluationClient/GenerateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateEvaluation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GenerateEvaluation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GenerateEvaluation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GenerateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GenerateEvaluationRequest", - "name": "req" + "name": "req", + "type": "cespb.GenerateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GenerateEvaluationOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GenerateEvaluation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GenerateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GenerateEvaluation" }, + "description": "GenerateEvaluation creates a golden evaluation from a conversation.", + "file": "EvaluationClient/GenerateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GenerateEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GenerateEvaluation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluation_sync", - "title": "ces GetEvaluation Sample", - "description": "GetEvaluation gets details of the specified evaluation.", - "file": "EvaluationClient/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetEvaluation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "cespb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Evaluation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation gets details of the specified evaluation.", + "file": "EvaluationClient/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetEvaluation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationDataset_sync", - "title": "ces GetEvaluationDataset Sample", - "description": "GetEvaluationDataset gets details of the specified evaluation dataset.", - "file": "EvaluationClient/GetEvaluationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluationDataset", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetEvaluationDataset", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationDataset", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetEvaluationDatasetRequest", - "name": "req" + "name": "req", + "type": "cespb.GetEvaluationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationDataset", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluationDataset", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationDataset", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GetEvaluationDataset" }, + "description": "GetEvaluationDataset gets details of the specified evaluation dataset.", + "file": "EvaluationClient/GetEvaluationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetEvaluationDataset Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationExpectation_sync", - "title": "ces GetEvaluationExpectation Sample", - "description": "GetEvaluationExpectation gets details of the specified evaluation expectation.", - "file": "EvaluationClient/GetEvaluationExpectation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluationExpectation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetEvaluationExpectation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationExpectation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluationExpectation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetEvaluationExpectationRequest", - "name": "req" + "name": "req", + "type": "cespb.GetEvaluationExpectationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationExpectation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluationExpectation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationExpectation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GetEvaluationExpectation" }, + "description": "GetEvaluationExpectation gets details of the specified evaluation expectation.", + "file": "EvaluationClient/GetEvaluationExpectation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationExpectation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetEvaluationExpectation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationResult_sync", - "title": "ces GetEvaluationResult Sample", - "description": "GetEvaluationResult gets details of the specified evaluation result.", - "file": "EvaluationClient/GetEvaluationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluationResult", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetEvaluationResult", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationResult", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetEvaluationResultRequest", - "name": "req" + "name": "req", + "type": "cespb.GetEvaluationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationResult", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluationResult", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationResult", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GetEvaluationResult" }, + "description": "GetEvaluationResult gets details of the specified evaluation result.", + "file": "EvaluationClient/GetEvaluationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetEvaluationResult Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationRun_sync", - "title": "ces GetEvaluationRun Sample", - "description": "GetEvaluationRun gets details of the specified evaluation run.", - "file": "EvaluationClient/GetEvaluationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluationRun", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetEvaluationRun", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationRun", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetEvaluationRunRequest", - "name": "req" + "name": "req", + "type": "cespb.GetEvaluationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationRun", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluationRun", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GetEvaluationRun", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GetEvaluationRun" }, + "description": "GetEvaluationRun gets details of the specified evaluation run.", + "file": "EvaluationClient/GetEvaluationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetEvaluationRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetEvaluationRun Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EvaluationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*locationpb.Location", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*locationpb.Location", + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EvaluationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_GetScheduledEvaluationRun_sync", - "title": "ces GetScheduledEvaluationRun Sample", - "description": "GetScheduledEvaluationRun gets details of the specified scheduled evaluation run.", - "file": "EvaluationClient/GetScheduledEvaluationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetScheduledEvaluationRun", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.GetScheduledEvaluationRun", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.GetScheduledEvaluationRun", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetScheduledEvaluationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GetScheduledEvaluationRunRequest", - "name": "req" + "name": "req", + "type": "cespb.GetScheduledEvaluationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.ScheduledEvaluationRun", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetScheduledEvaluationRun", - "fullName": "google.cloud.ces.v1beta.EvaluationService.GetScheduledEvaluationRun", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "GetScheduledEvaluationRun" }, + "description": "GetScheduledEvaluationRun gets details of the specified scheduled evaluation run.", + "file": "EvaluationClient/GetScheduledEvaluationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_GetScheduledEvaluationRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetScheduledEvaluationRun Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ImportEvaluations_sync", - "title": "ces ImportEvaluations Sample", - "description": "ImportEvaluations imports evaluations into the app.", - "file": "EvaluationClient/ImportEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportEvaluations", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ImportEvaluations", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ImportEvaluations", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ImportEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ImportEvaluationsRequest", - "name": "req" + "name": "req", + "type": "cespb.ImportEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportEvaluationsOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ImportEvaluations", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ImportEvaluations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ImportEvaluations" }, + "description": "ImportEvaluations imports evaluations into the app.", + "file": "EvaluationClient/ImportEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ImportEvaluations_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ImportEvaluations Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationDatasets_sync", - "title": "ces ListEvaluationDatasets Sample", - "description": "ListEvaluationDatasets lists all evaluation datasets in the given app.", - "file": "EvaluationClient/ListEvaluationDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationDatasets", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListEvaluationDatasets", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationDatasets", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluationDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListEvaluationDatasetsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListEvaluationDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationDatasetIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluationDatasets", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationDatasets", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluationDatasets" }, + "description": "ListEvaluationDatasets lists all evaluation datasets in the given app.", + "file": "EvaluationClient/ListEvaluationDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListEvaluationDatasets Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationExpectations_sync", - "title": "ces ListEvaluationExpectations Sample", - "description": "ListEvaluationExpectations lists all evaluation expectations in the given app.", - "file": "EvaluationClient/ListEvaluationExpectations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationExpectations", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListEvaluationExpectations", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationExpectations", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluationExpectations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListEvaluationExpectationsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListEvaluationExpectationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationExpectationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluationExpectations", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationExpectations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluationExpectations" }, + "description": "ListEvaluationExpectations lists all evaluation expectations in the given app.", + "file": "EvaluationClient/ListEvaluationExpectations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationExpectations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListEvaluationExpectations Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationResults_sync", - "title": "ces ListEvaluationResults Sample", - "description": "ListEvaluationResults lists all evaluation results for a given evaluation.", - "file": "EvaluationClient/ListEvaluationResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationResults", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListEvaluationResults", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluationResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListEvaluationResultsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListEvaluationResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationResultIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationResults", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluationResults" }, + "description": "ListEvaluationResults lists all evaluation results for a given evaluation.", + "file": "EvaluationClient/ListEvaluationResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListEvaluationResults Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationRuns_sync", - "title": "ces ListEvaluationRuns Sample", - "description": "ListEvaluationRuns lists all evaluation runs in the given app.", - "file": "EvaluationClient/ListEvaluationRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationRuns", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListEvaluationRuns", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationRuns", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluationRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListEvaluationRunsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListEvaluationRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationRunIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluationRuns", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluationRuns", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluationRuns" }, + "description": "ListEvaluationRuns lists all evaluation runs in the given app.", + "file": "EvaluationClient/ListEvaluationRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluationRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListEvaluationRuns Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluations_sync", - "title": "ces ListEvaluations Sample", - "description": "ListEvaluations lists all evaluations in the given app.", - "file": "EvaluationClient/ListEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluations", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListEvaluations", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluations", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListEvaluationsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ListEvaluations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluations" }, + "description": "ListEvaluations lists all evaluations in the given app.", + "file": "EvaluationClient/ListEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListEvaluations Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EvaluationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EvaluationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "ces_v1beta_generated_EvaluationService_ListScheduledEvaluationRuns_sync", - "title": "ces ListScheduledEvaluationRuns Sample", - "description": "ListScheduledEvaluationRuns lists all scheduled evaluation runs in the given app.", - "file": "EvaluationClient/ListScheduledEvaluationRuns/main.go", - "language": "GO", + ], + "title": "ces ListOperations Sample" + }, + { "clientMethod": { - "shortName": "ListScheduledEvaluationRuns", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.ListScheduledEvaluationRuns", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.ListScheduledEvaluationRuns", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListScheduledEvaluationRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ListScheduledEvaluationRunsRequest", - "name": "req" + "name": "req", + "type": "cespb.ListScheduledEvaluationRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScheduledEvaluationRunIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListScheduledEvaluationRuns", - "fullName": "google.cloud.ces.v1beta.EvaluationService.ListScheduledEvaluationRuns", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "ListScheduledEvaluationRuns" }, + "description": "ListScheduledEvaluationRuns lists all scheduled evaluation runs in the given app.", + "file": "EvaluationClient/ListScheduledEvaluationRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_ListScheduledEvaluationRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListScheduledEvaluationRuns Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_RunEvaluation_sync", - "title": "ces RunEvaluation Sample", - "description": "RunEvaluation runs an evaluation of the app.", - "file": "EvaluationClient/RunEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunEvaluation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.RunEvaluation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.RunEvaluation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "RunEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RunEvaluationRequest", - "name": "req" + "name": "req", + "type": "cespb.RunEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunEvaluationOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "RunEvaluation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.RunEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "RunEvaluation" }, + "description": "RunEvaluation runs an evaluation of the app.", + "file": "EvaluationClient/RunEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_RunEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RunEvaluation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_TestPersonaVoice_sync", - "title": "ces TestPersonaVoice Sample", - "description": "TestPersonaVoice tests the voice of a persona. Also accepts a default persona.", - "file": "EvaluationClient/TestPersonaVoice/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestPersonaVoice", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.TestPersonaVoice", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.TestPersonaVoice", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "TestPersonaVoice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.TestPersonaVoiceRequest", - "name": "req" + "name": "req", + "type": "cespb.TestPersonaVoiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.TestPersonaVoiceResponse", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "TestPersonaVoice", - "fullName": "google.cloud.ces.v1beta.EvaluationService.TestPersonaVoice", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "TestPersonaVoice" }, + "description": "TestPersonaVoice tests the voice of a persona. Also accepts a default persona.", + "file": "EvaluationClient/TestPersonaVoice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_TestPersonaVoice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces TestPersonaVoice Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_UpdateEvaluation_sync", - "title": "ces UpdateEvaluation Sample", - "description": "UpdateEvaluation updates an evaluation.", - "file": "EvaluationClient/UpdateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEvaluation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.UpdateEvaluation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateEvaluation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "UpdateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateEvaluationRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.Evaluation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "UpdateEvaluation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "UpdateEvaluation" }, + "description": "UpdateEvaluation updates an evaluation.", + "file": "EvaluationClient/UpdateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_UpdateEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateEvaluation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_UpdateEvaluationDataset_sync", - "title": "ces UpdateEvaluationDataset Sample", - "description": "UpdateEvaluationDataset updates an evaluation dataset.", - "file": "EvaluationClient/UpdateEvaluationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEvaluationDataset", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.UpdateEvaluationDataset", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateEvaluationDataset", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "UpdateEvaluationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateEvaluationDatasetRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateEvaluationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationDataset", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "UpdateEvaluationDataset", - "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateEvaluationDataset", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "UpdateEvaluationDataset" }, + "description": "UpdateEvaluationDataset updates an evaluation dataset.", + "file": "EvaluationClient/UpdateEvaluationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_UpdateEvaluationDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateEvaluationDataset Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_UpdateEvaluationExpectation_sync", - "title": "ces UpdateEvaluationExpectation Sample", - "description": "UpdateEvaluationExpectation updates an evaluation expectation.", - "file": "EvaluationClient/UpdateEvaluationExpectation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEvaluationExpectation", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.UpdateEvaluationExpectation", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateEvaluationExpectation", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "UpdateEvaluationExpectation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateEvaluationExpectationRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateEvaluationExpectationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.EvaluationExpectation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "UpdateEvaluationExpectation", - "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateEvaluationExpectation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "UpdateEvaluationExpectation" }, + "description": "UpdateEvaluationExpectation updates an evaluation expectation.", + "file": "EvaluationClient/UpdateEvaluationExpectation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_UpdateEvaluationExpectation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateEvaluationExpectation Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_UpdateScheduledEvaluationRun_sync", - "title": "ces UpdateScheduledEvaluationRun Sample", - "description": "UpdateScheduledEvaluationRun updates a scheduled evaluation run.", - "file": "EvaluationClient/UpdateScheduledEvaluationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateScheduledEvaluationRun", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.UpdateScheduledEvaluationRun", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateScheduledEvaluationRun", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "UpdateScheduledEvaluationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UpdateScheduledEvaluationRunRequest", - "name": "req" + "name": "req", + "type": "cespb.UpdateScheduledEvaluationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.ScheduledEvaluationRun", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "UpdateScheduledEvaluationRun", - "fullName": "google.cloud.ces.v1beta.EvaluationService.UpdateScheduledEvaluationRun", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "UpdateScheduledEvaluationRun" }, + "description": "UpdateScheduledEvaluationRun updates a scheduled evaluation run.", + "file": "EvaluationClient/UpdateScheduledEvaluationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_UpdateScheduledEvaluationRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UpdateScheduledEvaluationRun Sample" }, { - "regionTag": "ces_v1beta_generated_EvaluationService_UploadEvaluationAudio_sync", - "title": "ces UploadEvaluationAudio Sample", - "description": "UploadEvaluationAudio uploads audio for use in Golden Evaluations. Stores the audio in the Cloud\nStorage bucket defined in\n'App.logging_settings.evaluation_audio_recording_config.gcs_bucket' and\nreturns a transcript.", - "file": "EvaluationClient/UploadEvaluationAudio/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadEvaluationAudio", + "client": { + "fullName": "google.cloud.ces.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.ces.v1beta.EvaluationClient.UploadEvaluationAudio", + "method": { + "fullName": "google.cloud.ces.v1beta.EvaluationService.UploadEvaluationAudio", + "service": { + "fullName": "google.cloud.ces.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "UploadEvaluationAudio" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.UploadEvaluationAudioRequest", - "name": "req" + "name": "req", + "type": "cespb.UploadEvaluationAudioRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.UploadEvaluationAudioResponse", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.ces.v1beta.EvaluationClient" - }, - "method": { - "shortName": "UploadEvaluationAudio", - "fullName": "google.cloud.ces.v1beta.EvaluationService.UploadEvaluationAudio", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.ces.v1beta.EvaluationService" - } - } + "shortName": "UploadEvaluationAudio" }, + "description": "UploadEvaluationAudio uploads audio for use in Golden Evaluations. Stores the audio in the Cloud\nStorage bucket defined in\n'App.logging_settings.evaluation_audio_recording_config.gcs_bucket' and\nreturns a transcript.", + "file": "EvaluationClient/UploadEvaluationAudio/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_EvaluationService_UploadEvaluationAudio_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces UploadEvaluationAudio Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_BidiRunSession_sync", - "title": "ces BidiRunSession Sample", - "description": "BidiRunSession establishes a bidirectional streaming connection with the CES agent.\nThe agent processes continuous multimodal inputs (e.g., text, audio) and\ngenerates real-time multimodal output streams.\n\n--- Client Request Stream ---\nThe client streams requests in the following order: \n\n1. Initialization: \nThe first message must contain\n[SessionConfig][google.cloud.ces.v1beta.BidiSessionClientMessage.config].\nFor audio sessions, this should also include\n[InputAudioConfig][google.cloud.ces.v1beta.SessionConfig.input_audio_config]\nand\n[OutputAudioConfig][google.cloud.ces.v1beta.SessionConfig.output_audio_config]\nto define audio processing and synthesis parameters.\n\n2. Interaction: \nSubsequent messages stream\n[SessionInput][google.cloud.ces.v1beta.BidiSessionClientMessage.realtime_input]\ncontaining real-time user input data.\n\n3. Termination: \nThe client should half-close the stream when there is no more user\ninput. It should also half-close upon receiving\n[EndSession][google.cloud.ces.v1beta.BidiSessionServerMessage.end_session]\nor [GoAway][google.cloud.ces.v1beta.BidiSessionServerMessage.go_away]\nfrom the agent.\n\n--- Server Response Stream ---\nFor each interaction turn, the agent streams messages in the following\nsequence: \n\n1. Speech Recognition (First N messages): \nContains\n[RecognitionResult][google.cloud.ces.v1beta.BidiSessionServerMessage.recognition_result]\nrepresenting the concatenated user speech segments captured so far.\nThis is only populated for audio sessions.\n\n2. Response (Next M messages): \nContains\n[SessionOutput][google.cloud.ces.v1beta.BidiSessionServerMessage.session_output]\ndelivering the agent's response in various modalities (e.g., text,\naudio).\n\n3. Turn Completion (Final message of the turn): \nContains\n[SessionOutput][google.cloud.ces.v1beta.BidiSessionServerMessage.session_output]\nwith\n[turn_completed][google.cloud.ces.v1beta.SessionOutput.turn_completed]\nset to true. This signals the end of the current turn and includes\n[DiagnosticInfo][google.cloud.ces.v1beta.SessionOutput.diagnostic_info]\nwith execution details.\n\n--- Audio Best Practices ---\n1. Streaming: \nStream [audio data][google.cloud.ces.v1beta.SessionInput.audio]\n**CONTINUOUSLY**, even during silence. Recommended chunk size: 40-120ms\n(balances latency vs. efficiency).\n\n2. Playback & Interruption: \nPlay [audio responses][google.cloud.ces.v1beta.SessionOutput.audio]\nupon receipt. Stop playback immediately if an\n[InterruptionSignal][google.cloud.ces.v1beta.BidiSessionServerMessage.interruption_signal]\nis received (e.g., user barge-in or new agent response).\n\n\nThis method is not supported for the REST transport.", - "file": "SessionClient/BidiRunSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "BidiRunSession", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.BidiRunSession", + "method": { + "fullName": "google.cloud.ces.v1beta.SessionService.BidiRunSession", + "service": { + "fullName": "google.cloud.ces.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "BidiRunSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "cespb.SessionService_BidiRunSessionClient", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "BidiRunSession", - "fullName": "google.cloud.ces.v1beta.SessionService.BidiRunSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.ces.v1beta.SessionService" - } - } + "shortName": "BidiRunSession" }, + "description": "BidiRunSession establishes a bidirectional streaming connection with the CES agent.\nThe agent processes continuous multimodal inputs (e.g., text, audio) and\ngenerates real-time multimodal output streams.\n\n--- Client Request Stream ---\nThe client streams requests in the following order: \n\n1. Initialization: \nThe first message must contain\n[SessionConfig][google.cloud.ces.v1beta.BidiSessionClientMessage.config].\nFor audio sessions, this should also include\n[InputAudioConfig][google.cloud.ces.v1beta.SessionConfig.input_audio_config]\nand\n[OutputAudioConfig][google.cloud.ces.v1beta.SessionConfig.output_audio_config]\nto define audio processing and synthesis parameters.\n\n2. Interaction: \nSubsequent messages stream\n[SessionInput][google.cloud.ces.v1beta.BidiSessionClientMessage.realtime_input]\ncontaining real-time user input data.\n\n3. Termination: \nThe client should half-close the stream when there is no more user\ninput. It should also half-close upon receiving\n[EndSession][google.cloud.ces.v1beta.BidiSessionServerMessage.end_session]\nor [GoAway][google.cloud.ces.v1beta.BidiSessionServerMessage.go_away]\nfrom the agent.\n\n--- Server Response Stream ---\nFor each interaction turn, the agent streams messages in the following\nsequence: \n\n1. Speech Recognition (First N messages): \nContains\n[RecognitionResult][google.cloud.ces.v1beta.BidiSessionServerMessage.recognition_result]\nrepresenting the concatenated user speech segments captured so far.\nThis is only populated for audio sessions.\n\n2. Response (Next M messages): \nContains\n[SessionOutput][google.cloud.ces.v1beta.BidiSessionServerMessage.session_output]\ndelivering the agent's response in various modalities (e.g., text,\naudio).\n\n3. Turn Completion (Final message of the turn): \nContains\n[SessionOutput][google.cloud.ces.v1beta.BidiSessionServerMessage.session_output]\nwith\n[turn_completed][google.cloud.ces.v1beta.SessionOutput.turn_completed]\nset to true. This signals the end of the current turn and includes\n[DiagnosticInfo][google.cloud.ces.v1beta.SessionOutput.diagnostic_info]\nwith execution details.\n\n--- Audio Best Practices ---\n1. Streaming: \nStream [audio data][google.cloud.ces.v1beta.SessionInput.audio]\n**CONTINUOUSLY**, even during silence. Recommended chunk size: 40-120ms\n(balances latency vs. efficiency).\n\n2. Playback & Interruption: \nPlay [audio responses][google.cloud.ces.v1beta.SessionOutput.audio]\nupon receipt. Stop playback immediately if an\n[InterruptionSignal][google.cloud.ces.v1beta.BidiSessionServerMessage.interruption_signal]\nis received (e.g., user barge-in or new agent response).\n\n\nThis method is not supported for the REST transport.", + "file": "SessionClient/BidiRunSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_BidiRunSession_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces BidiRunSession Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" }, { - "regionTag": "ces_v1beta_generated_SessionService_RunSession_sync", - "title": "ces RunSession Sample", - "description": "RunSession initiates a single-turn interaction with the CES agent within a session.", - "file": "SessionClient/RunSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunSession", + "client": { + "fullName": "google.cloud.ces.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.ces.v1beta.SessionClient.RunSession", + "method": { + "fullName": "google.cloud.ces.v1beta.SessionService.RunSession", + "service": { + "fullName": "google.cloud.ces.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "RunSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RunSessionRequest", - "name": "req" + "name": "req", + "type": "cespb.RunSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.RunSessionResponse", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.ces.v1beta.SessionClient" - }, - "method": { - "shortName": "RunSession", - "fullName": "google.cloud.ces.v1beta.SessionService.RunSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.ces.v1beta.SessionService" - } - } + "shortName": "RunSession" }, + "description": "RunSession initiates a single-turn interaction with the CES agent within a session.", + "file": "SessionClient/RunSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_SessionService_RunSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RunSession Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ToolClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ToolClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ToolClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ToolClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_ExecuteTool_sync", - "title": "ces ExecuteTool Sample", - "description": "ExecuteTool executes the given tool with the given arguments.", - "file": "ToolClient/ExecuteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteTool", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.ExecuteTool", + "method": { + "fullName": "google.cloud.ces.v1beta.ToolService.ExecuteTool", + "service": { + "fullName": "google.cloud.ces.v1beta.ToolService", + "shortName": "ToolService" + }, + "shortName": "ExecuteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.ExecuteToolRequest", - "name": "req" + "name": "req", + "type": "cespb.ExecuteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.ExecuteToolResponse", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "ExecuteTool", - "fullName": "google.cloud.ces.v1beta.ToolService.ExecuteTool", - "service": { - "shortName": "ToolService", - "fullName": "google.cloud.ces.v1beta.ToolService" - } - } + "shortName": "ExecuteTool" }, + "description": "ExecuteTool executes the given tool with the given arguments.", + "file": "ToolClient/ExecuteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_ExecuteTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ExecuteTool Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ToolClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ToolClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ToolClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ToolClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ToolClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ToolClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ToolClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ToolClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_RetrieveToolSchema_sync", - "title": "ces RetrieveToolSchema Sample", - "description": "RetrieveToolSchema retrieve the schema of the given tool. The schema is computed on the fly\nfor the given instance of the tool.", - "file": "ToolClient/RetrieveToolSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveToolSchema", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.RetrieveToolSchema", + "method": { + "fullName": "google.cloud.ces.v1beta.ToolService.RetrieveToolSchema", + "service": { + "fullName": "google.cloud.ces.v1beta.ToolService", + "shortName": "ToolService" + }, + "shortName": "RetrieveToolSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RetrieveToolSchemaRequest", - "name": "req" + "name": "req", + "type": "cespb.RetrieveToolSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.RetrieveToolSchemaResponse", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "RetrieveToolSchema", - "fullName": "google.cloud.ces.v1beta.ToolService.RetrieveToolSchema", - "service": { - "shortName": "ToolService", - "fullName": "google.cloud.ces.v1beta.ToolService" - } - } + "shortName": "RetrieveToolSchema" }, + "description": "RetrieveToolSchema retrieve the schema of the given tool. The schema is computed on the fly\nfor the given instance of the tool.", + "file": "ToolClient/RetrieveToolSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_RetrieveToolSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RetrieveToolSchema Sample" }, { - "regionTag": "ces_v1beta_generated_ToolService_RetrieveTools_sync", - "title": "ces RetrieveTools Sample", - "description": "RetrieveTools retrieve the list of tools included in the specified toolset.", - "file": "ToolClient/RetrieveTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveTools", + "client": { + "fullName": "google.cloud.ces.v1beta.ToolClient", + "shortName": "ToolClient" + }, "fullName": "google.cloud.ces.v1beta.ToolClient.RetrieveTools", + "method": { + "fullName": "google.cloud.ces.v1beta.ToolService.RetrieveTools", + "service": { + "fullName": "google.cloud.ces.v1beta.ToolService", + "shortName": "ToolService" + }, + "shortName": "RetrieveTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.RetrieveToolsRequest", - "name": "req" + "name": "req", + "type": "cespb.RetrieveToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.RetrieveToolsResponse", - "client": { - "shortName": "ToolClient", - "fullName": "google.cloud.ces.v1beta.ToolClient" - }, - "method": { - "shortName": "RetrieveTools", - "fullName": "google.cloud.ces.v1beta.ToolService.RetrieveTools", - "service": { - "shortName": "ToolService", - "fullName": "google.cloud.ces.v1beta.ToolService" - } - } + "shortName": "RetrieveTools" }, + "description": "RetrieveTools retrieve the list of tools included in the specified toolset.", + "file": "ToolClient/RetrieveTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_ToolService_RetrieveTools_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces RetrieveTools Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_CancelOperation_sync", - "title": "ces CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces CancelOperation Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_DeleteOperation_sync", - "title": "ces DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces DeleteOperation Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_GenerateChatToken_sync", - "title": "ces GenerateChatToken Sample", - "description": "GenerateChatToken generates a session scoped token for chat widget to authenticate with\nSession APIs.", - "file": "WidgetClient/GenerateChatToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateChatToken", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.GenerateChatToken", + "method": { + "fullName": "google.cloud.ces.v1beta.WidgetService.GenerateChatToken", + "service": { + "fullName": "google.cloud.ces.v1beta.WidgetService", + "shortName": "WidgetService" + }, + "shortName": "GenerateChatToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cespb.GenerateChatTokenRequest", - "name": "req" + "name": "req", + "type": "cespb.GenerateChatTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cespb.GenerateChatTokenResponse", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "GenerateChatToken", - "fullName": "google.cloud.ces.v1beta.WidgetService.GenerateChatToken", - "service": { - "shortName": "WidgetService", - "fullName": "google.cloud.ces.v1beta.WidgetService" - } - } + "shortName": "GenerateChatToken" }, + "description": "GenerateChatToken generates a session scoped token for chat widget to authenticate with\nSession APIs.", + "file": "WidgetClient/GenerateChatToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_GenerateChatToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GenerateChatToken Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_GetLocation_sync", - "title": "ces GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "WidgetClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "WidgetClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetLocation Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_GetOperation_sync", - "title": "ces GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces GetOperation Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_ListLocations_sync", - "title": "ces ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "WidgetClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "WidgetClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListLocations Sample" }, { - "regionTag": "ces_v1beta_generated_WidgetService_ListOperations_sync", - "title": "ces ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WidgetClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.ces.v1beta.WidgetClient", + "shortName": "WidgetClient" + }, "fullName": "google.cloud.ces.v1beta.WidgetClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WidgetClient", - "fullName": "google.cloud.ces.v1beta.WidgetClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WidgetClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ces_v1beta_generated_WidgetService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ces ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json index fdaa1f681c34..20ca9c73e80c 100644 --- a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json +++ b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json @@ -1,2768 +1,2768 @@ { "clientLibrary": { - "name": "cloud.google.com/go/channel/apiv1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.channel.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/channel/apiv1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_CancelOperation_sync", - "title": "cloudchannel CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudChannelReportsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudChannelReportsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CancelOperation Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_DeleteOperation_sync", - "title": "cloudchannel DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudChannelReportsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudChannelReportsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel DeleteOperation Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_FetchReportResults_sync", - "title": "cloudchannel FetchReportResults Sample", - "description": "FetchReportResults retrieves data generated by\n[CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].\n\nDeprecated: Please use [Export Channel Services data to\nBigQuery](https: //cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)\ninstead.\n\n\nDeprecated: FetchReportResults may be removed in a future version.", - "file": "CloudChannelReportsClient/FetchReportResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchReportResults", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.FetchReportResults", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsService", + "shortName": "CloudChannelReportsService" + }, + "shortName": "FetchReportResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.FetchReportResultsRequest", - "name": "req" + "name": "req", + "type": "channelpb.FetchReportResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RowIterator", - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "FetchReportResults", - "fullName": "google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults", - "service": { - "shortName": "CloudChannelReportsService", - "fullName": "google.cloud.channel.v1.CloudChannelReportsService" - } - } + "shortName": "FetchReportResults" }, + "description": "FetchReportResults retrieves data generated by\n[CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].\n\nDeprecated: Please use [Export Channel Services data to\nBigQuery](https: //cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)\ninstead.\n\n\nDeprecated: FetchReportResults may be removed in a future version.", + "file": "CloudChannelReportsClient/FetchReportResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_FetchReportResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel FetchReportResults Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_GetOperation_sync", - "title": "cloudchannel GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudChannelReportsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudChannelReportsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetOperation Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_ListOperations_sync", - "title": "cloudchannel ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudChannelReportsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudChannelReportsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListOperations Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_ListReports_sync", - "title": "cloudchannel ListReports Sample", - "description": "ListReports lists the reports that RunReportJob can run. These reports include an ID,\na description, and the list of columns that will be in the result.\n\nDeprecated: Please use [Export Channel Services data to\nBigQuery](https: //cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)\ninstead.\n\n\nDeprecated: ListReports may be removed in a future version.", - "file": "CloudChannelReportsClient/ListReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReports", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.ListReports", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsService.ListReports", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsService", + "shortName": "CloudChannelReportsService" + }, + "shortName": "ListReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListReportsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportIterator", - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "ListReports", - "fullName": "google.cloud.channel.v1.CloudChannelReportsService.ListReports", - "service": { - "shortName": "CloudChannelReportsService", - "fullName": "google.cloud.channel.v1.CloudChannelReportsService" - } - } + "shortName": "ListReports" }, + "description": "ListReports lists the reports that RunReportJob can run. These reports include an ID,\na description, and the list of columns that will be in the result.\n\nDeprecated: Please use [Export Channel Services data to\nBigQuery](https: //cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)\ninstead.\n\n\nDeprecated: ListReports may be removed in a future version.", + "file": "CloudChannelReportsClient/ListReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_ListReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListReports Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_RunReportJob_sync", - "title": "cloudchannel RunReportJob Sample", - "description": "RunReportJob begins generation of data for a given report. The report\nidentifier is a UID (for example, `613bf59q`).\n\nPossible error codes: \n\n* PERMISSION_DENIED: The user doesn't have access to this report.\n* INVALID_ARGUMENT: Required request parameters are missing\nor invalid.\n* NOT_FOUND: The report identifier was not found.\n* INTERNAL: Any non-user error related to a technical issue\nin the backend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue\nin the backend. Contact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata contains an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].\n\nTo get the results of report generation, call\n[CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]\nwith the\n[RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].\n\nDeprecated: Please use [Export Channel Services data to\nBigQuery](https: //cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)\ninstead.\n\n\nDeprecated: RunReportJob may be removed in a future version.", - "file": "CloudChannelReportsClient/RunReportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunReportJob", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsClient", + "shortName": "CloudChannelReportsClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelReportsClient.RunReportJob", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsService.RunReportJob", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelReportsService", + "shortName": "CloudChannelReportsService" + }, + "shortName": "RunReportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.RunReportJobRequest", - "name": "req" + "name": "req", + "type": "channelpb.RunReportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunReportJobOperation", - "client": { - "shortName": "CloudChannelReportsClient", - "fullName": "google.cloud.channel.v1.CloudChannelReportsClient" - }, - "method": { - "shortName": "RunReportJob", - "fullName": "google.cloud.channel.v1.CloudChannelReportsService.RunReportJob", - "service": { - "shortName": "CloudChannelReportsService", - "fullName": "google.cloud.channel.v1.CloudChannelReportsService" - } - } + "shortName": "RunReportJob" }, + "description": "RunReportJob begins generation of data for a given report. The report\nidentifier is a UID (for example, `613bf59q`).\n\nPossible error codes: \n\n* PERMISSION_DENIED: The user doesn't have access to this report.\n* INVALID_ARGUMENT: Required request parameters are missing\nor invalid.\n* NOT_FOUND: The report identifier was not found.\n* INTERNAL: Any non-user error related to a technical issue\nin the backend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue\nin the backend. Contact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata contains an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].\n\nTo get the results of report generation, call\n[CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]\nwith the\n[RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].\n\nDeprecated: Please use [Export Channel Services data to\nBigQuery](https: //cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)\ninstead.\n\n\nDeprecated: RunReportJob may be removed in a future version.", + "file": "CloudChannelReportsClient/RunReportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelReportsService_RunReportJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel RunReportJob Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ActivateEntitlement_sync", - "title": "cloudchannel ActivateEntitlement Sample", - "description": "ActivateEntitlement activates a previously suspended entitlement. Entitlements suspended for\npending ToS acceptance can't be activated using this method.\n\nAn entitlement activation is a long-running operation and it updates\nthe state of the customer entitlement.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated\nsuspensions and entitlements that have accepted the TOS.\n* NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE\nstate.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/ActivateEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "ActivateEntitlement", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ActivateEntitlement", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ActivateEntitlement", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ActivateEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ActivateEntitlementRequest", - "name": "req" + "name": "req", + "type": "channelpb.ActivateEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ActivateEntitlementOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ActivateEntitlement", - "fullName": "google.cloud.channel.v1.CloudChannelService.ActivateEntitlement", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ActivateEntitlement" }, + "description": "ActivateEntitlement activates a previously suspended entitlement. Entitlements suspended for\npending ToS acceptance can't be activated using this method.\n\nAn entitlement activation is a long-running operation and it updates\nthe state of the customer entitlement.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated\nsuspensions and entitlements that have accepted the TOS.\n* NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE\nstate.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/ActivateEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ActivateEntitlement_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ActivateEntitlement Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CancelEntitlement_sync", - "title": "cloudchannel CancelEntitlement Sample", - "description": "CancelEntitlement cancels a previously fulfilled entitlement.\n\nAn entitlement cancellation is a long-running operation.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* FAILED_PRECONDITION: There are Google Cloud projects linked to the\nGoogle Cloud entitlement's Cloud Billing subaccount.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace\nadd-ons, or entitlements for Google Cloud's development platform.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The response will contain\ngoogle.protobuf.Empty on success. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/CancelEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelEntitlement", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CancelEntitlement", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CancelEntitlement", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CancelEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CancelEntitlementRequest", - "name": "req" + "name": "req", + "type": "channelpb.CancelEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelEntitlementOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CancelEntitlement", - "fullName": "google.cloud.channel.v1.CloudChannelService.CancelEntitlement", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CancelEntitlement" }, + "description": "CancelEntitlement cancels a previously fulfilled entitlement.\n\nAn entitlement cancellation is a long-running operation.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* FAILED_PRECONDITION: There are Google Cloud projects linked to the\nGoogle Cloud entitlement's Cloud Billing subaccount.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace\nadd-ons, or entitlements for Google Cloud's development platform.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The response will contain\ngoogle.protobuf.Empty on success. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/CancelEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CancelEntitlement_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CancelEntitlement Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CancelOperation_sync", - "title": "cloudchannel CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudChannelClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudChannelClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CancelOperation Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ChangeOffer_sync", - "title": "cloudchannel ChangeOffer Sample", - "description": "ChangeOffer updates the Offer for an existing customer entitlement.\n\nAn entitlement update is a long-running operation and it updates the\nentitlement as a result of fulfillment.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Offer or Entitlement resource not found.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/ChangeOffer/main.go", - "language": "GO", "clientMethod": { - "shortName": "ChangeOffer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ChangeOffer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeOffer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ChangeOffer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ChangeOfferRequest", - "name": "req" + "name": "req", + "type": "channelpb.ChangeOfferRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangeOfferOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ChangeOffer", - "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeOffer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ChangeOffer" }, + "description": "ChangeOffer updates the Offer for an existing customer entitlement.\n\nAn entitlement update is a long-running operation and it updates the\nentitlement as a result of fulfillment.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Offer or Entitlement resource not found.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/ChangeOffer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ChangeOffer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ChangeOffer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ChangeParameters_sync", - "title": "cloudchannel ChangeParameters Sample", - "description": "ChangeParameters change parameters of the entitlement.\n\nAn entitlement update is a long-running operation and it updates the\nentitlement as a result of fulfillment.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\nFor example, the number of seats being changed is greater than the allowed\nnumber of max seats, or decreasing seats for a commitment based plan.\n* NOT_FOUND: Entitlement resource not found.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/ChangeParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ChangeParameters", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ChangeParameters", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeParameters", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ChangeParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ChangeParametersRequest", - "name": "req" + "name": "req", + "type": "channelpb.ChangeParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangeParametersOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ChangeParameters", - "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeParameters", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ChangeParameters" }, + "description": "ChangeParameters change parameters of the entitlement.\n\nAn entitlement update is a long-running operation and it updates the\nentitlement as a result of fulfillment.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\nFor example, the number of seats being changed is greater than the allowed\nnumber of max seats, or decreasing seats for a commitment based plan.\n* NOT_FOUND: Entitlement resource not found.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/ChangeParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ChangeParameters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ChangeParameters Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ChangeRenewalSettings_sync", - "title": "cloudchannel ChangeRenewalSettings Sample", - "description": "ChangeRenewalSettings updates the renewal settings for an existing customer entitlement.\n\nAn entitlement update is a long-running operation and it updates the\nentitlement as a result of fulfillment.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a\ncommitment plan. Can't enable or disable renewals for non-commitment plans.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/ChangeRenewalSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ChangeRenewalSettings", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ChangeRenewalSettings", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ChangeRenewalSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ChangeRenewalSettingsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ChangeRenewalSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangeRenewalSettingsOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ChangeRenewalSettings", - "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ChangeRenewalSettings" }, + "description": "ChangeRenewalSettings updates the renewal settings for an existing customer entitlement.\n\nAn entitlement update is a long-running operation and it updates the\nentitlement as a result of fulfillment.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a\ncommitment plan. Can't enable or disable renewals for non-commitment plans.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/ChangeRenewalSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ChangeRenewalSettings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ChangeRenewalSettings Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CheckCloudIdentityAccountsExist_sync", - "title": "cloudchannel CheckCloudIdentityAccountsExist Sample", - "description": "CheckCloudIdentityAccountsExist confirms the existence of Cloud Identity accounts based on the domain and\nif the Cloud Identity accounts are owned by the reseller.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* INVALID_VALUE: Invalid domain value in the request.\n\nReturn value: \nA list of\n[CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]\nresources for the domain (may be empty)\n\nNote: in the v1alpha1 version of the API, a NOT_FOUND error returns if\nno\n[CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]\nresources match the domain.", - "file": "CloudChannelClient/CheckCloudIdentityAccountsExist/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckCloudIdentityAccountsExist", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CheckCloudIdentityAccountsExist", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CheckCloudIdentityAccountsExist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CheckCloudIdentityAccountsExistRequest", - "name": "req" + "name": "req", + "type": "channelpb.CheckCloudIdentityAccountsExistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.CheckCloudIdentityAccountsExistResponse", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CheckCloudIdentityAccountsExist", - "fullName": "google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CheckCloudIdentityAccountsExist" }, + "description": "CheckCloudIdentityAccountsExist confirms the existence of Cloud Identity accounts based on the domain and\nif the Cloud Identity accounts are owned by the reseller.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* INVALID_VALUE: Invalid domain value in the request.\n\nReturn value: \nA list of\n[CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]\nresources for the domain (may be empty)\n\nNote: in the v1alpha1 version of the API, a NOT_FOUND error returns if\nno\n[CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]\nresources match the domain.", + "file": "CloudChannelClient/CheckCloudIdentityAccountsExist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CheckCloudIdentityAccountsExist_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CheckCloudIdentityAccountsExist Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateChannelPartnerLink_sync", - "title": "cloudchannel CreateChannelPartnerLink Sample", - "description": "CreateChannelPartnerLink initiates a channel partner link between a distributor and a reseller, or\nbetween resellers in an n-tier reseller channel.\nInvited partners need to follow the invite_link_uri provided in the\nresponse to accept. After accepting the invitation, a link is set up\nbetween the two parties.\nYou must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* ALREADY_EXISTS: The ChannelPartnerLink sent in the request already\nexists.\n* NOT_FOUND: No Cloud Identity customer exists for provided domain.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]\nresource.", - "file": "CloudChannelClient/CreateChannelPartnerLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChannelPartnerLink", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CreateChannelPartnerLink", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CreateChannelPartnerLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CreateChannelPartnerLinkRequest", - "name": "req" + "name": "req", + "type": "channelpb.CreateChannelPartnerLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.ChannelPartnerLink", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CreateChannelPartnerLink", - "fullName": "google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CreateChannelPartnerLink" }, + "description": "CreateChannelPartnerLink initiates a channel partner link between a distributor and a reseller, or\nbetween resellers in an n-tier reseller channel.\nInvited partners need to follow the invite_link_uri provided in the\nresponse to accept. After accepting the invitation, a link is set up\nbetween the two parties.\nYou must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* ALREADY_EXISTS: The ChannelPartnerLink sent in the request already\nexists.\n* NOT_FOUND: No Cloud Identity customer exists for provided domain.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]\nresource.", + "file": "CloudChannelClient/CreateChannelPartnerLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateChannelPartnerLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CreateChannelPartnerLink Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateChannelPartnerRepricingConfig_sync", - "title": "cloudchannel CreateChannelPartnerRepricingConfig Sample", - "description": "CreateChannelPartnerRepricingConfig creates a ChannelPartnerRepricingConfig. Call this method to set\nmodifications for a specific ChannelPartner's bill. You can only create\nconfigs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. If needed, you can create a config for the current\nmonth, with some restrictions.\n\nWhen creating a config for a future month, make sure there are no existing\nconfigs for that\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nThe following restrictions are for creating configs in the current month.\n\n* This functionality is reserved for recovering from an erroneous config,\nand should not be used for regular business cases.\n* The new config will not modify exports used with other configs.\nChanges to the config may be immediate, but may take up to 24 hours.\n* There is a limit of ten configs for any ChannelPartner or\n[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement],\nfor any\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n* The contained\n[ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]\nvalue must be different from the value used in the current config for a\nChannelPartner.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresource, otherwise returns an error.", - "file": "CloudChannelClient/CreateChannelPartnerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChannelPartnerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CreateChannelPartnerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CreateChannelPartnerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CreateChannelPartnerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.CreateChannelPartnerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.ChannelPartnerRepricingConfig", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CreateChannelPartnerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CreateChannelPartnerRepricingConfig" }, + "description": "CreateChannelPartnerRepricingConfig creates a ChannelPartnerRepricingConfig. Call this method to set\nmodifications for a specific ChannelPartner's bill. You can only create\nconfigs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. If needed, you can create a config for the current\nmonth, with some restrictions.\n\nWhen creating a config for a future month, make sure there are no existing\nconfigs for that\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nThe following restrictions are for creating configs in the current month.\n\n* This functionality is reserved for recovering from an erroneous config,\nand should not be used for regular business cases.\n* The new config will not modify exports used with other configs.\nChanges to the config may be immediate, but may take up to 24 hours.\n* There is a limit of ten configs for any ChannelPartner or\n[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement],\nfor any\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n* The contained\n[ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]\nvalue must be different from the value used in the current config for a\nChannelPartner.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresource, otherwise returns an error.", + "file": "CloudChannelClient/CreateChannelPartnerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateChannelPartnerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CreateChannelPartnerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateCustomer_sync", - "title": "cloudchannel CreateCustomer Sample", - "description": "CreateCustomer creates a new [Customer][google.cloud.channel.v1.Customer] resource under\nthe reseller or distributor account.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The reseller account making the request is different from the\nreseller account in the API request.\n* You are not authorized to create a customer. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: \n* Required request parameters are missing or invalid.\n* Domain field value doesn't match the primary email domain.\n\nReturn value: \nThe newly created [Customer][google.cloud.channel.v1.Customer] resource.", - "file": "CloudChannelClient/CreateCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CreateCustomer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateCustomer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CreateCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CreateCustomerRequest", - "name": "req" + "name": "req", + "type": "channelpb.CreateCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.Customer", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CreateCustomer", - "fullName": "google.cloud.channel.v1.CloudChannelService.CreateCustomer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CreateCustomer" }, + "description": "CreateCustomer creates a new [Customer][google.cloud.channel.v1.Customer] resource under\nthe reseller or distributor account.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The reseller account making the request is different from the\nreseller account in the API request.\n* You are not authorized to create a customer. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: \n* Required request parameters are missing or invalid.\n* Domain field value doesn't match the primary email domain.\n\nReturn value: \nThe newly created [Customer][google.cloud.channel.v1.Customer] resource.", + "file": "CloudChannelClient/CreateCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CreateCustomer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateCustomerRepricingConfig_sync", - "title": "cloudchannel CreateCustomerRepricingConfig Sample", - "description": "CreateCustomerRepricingConfig creates a CustomerRepricingConfig. Call this method to set modifications\nfor a specific customer's bill. You can only create configs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. If needed, you can create a config for the current\nmonth, with some restrictions.\n\nWhen creating a config for a future month, make sure there are no existing\nconfigs for that\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nThe following restrictions are for creating configs in the current month.\n\n* This functionality is reserved for recovering from an erroneous config,\nand should not be used for regular business cases.\n* The new config will not modify exports used with other configs.\nChanges to the config may be immediate, but may take up to 24 hours.\n* There is a limit of ten configs for any\n[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement],\nfor any\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n* The contained\n[CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]\nvalue must be different from the value used in the current config for a\n[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresource, otherwise returns an error.", - "file": "CloudChannelClient/CreateCustomerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CreateCustomerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CreateCustomerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CreateCustomerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.CreateCustomerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.CustomerRepricingConfig", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CreateCustomerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CreateCustomerRepricingConfig" }, + "description": "CreateCustomerRepricingConfig creates a CustomerRepricingConfig. Call this method to set modifications\nfor a specific customer's bill. You can only create configs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. If needed, you can create a config for the current\nmonth, with some restrictions.\n\nWhen creating a config for a future month, make sure there are no existing\nconfigs for that\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nThe following restrictions are for creating configs in the current month.\n\n* This functionality is reserved for recovering from an erroneous config,\nand should not be used for regular business cases.\n* The new config will not modify exports used with other configs.\nChanges to the config may be immediate, but may take up to 24 hours.\n* There is a limit of ten configs for any\n[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement],\nfor any\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n* The contained\n[CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]\nvalue must be different from the value used in the current config for a\n[RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresource, otherwise returns an error.", + "file": "CloudChannelClient/CreateCustomerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateCustomerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CreateCustomerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateEntitlement_sync", - "title": "cloudchannel CreateEntitlement Sample", - "description": "CreateEntitlement creates an entitlement for a customer.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller.\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: \n* Required request parameters are missing or invalid.\n* There is already a customer entitlement for a SKU from the same\nproduct family.\n* INVALID_VALUE: Make sure the OfferId is valid. If it is, contact\nGoogle Channel support for further troubleshooting.\n* NOT_FOUND: The customer or offer resource was not found.\n* ALREADY_EXISTS: \n* The SKU was already purchased for the customer.\n* The customer's primary email already exists. Retry\nafter changing the customer's primary contact email.\n* CONDITION_NOT_MET or FAILED_PRECONDITION: \n* The domain required for purchasing a SKU has not been verified.\n* A pre-requisite SKU required to purchase an Add-On SKU is missing.\nFor example, Google Workspace Business Starter is required to purchase\nVault or Drive.\n* (Developer accounts only) Reseller and resold domain must meet the\nfollowing naming requirements: \n* Domain names must start with goog-test.\n* Domain names must include the reseller domain.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/CreateEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntitlement", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.CreateEntitlement", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateEntitlement", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "CreateEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.CreateEntitlementRequest", - "name": "req" + "name": "req", + "type": "channelpb.CreateEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEntitlementOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "CreateEntitlement", - "fullName": "google.cloud.channel.v1.CloudChannelService.CreateEntitlement", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "CreateEntitlement" }, + "description": "CreateEntitlement creates an entitlement for a customer.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller.\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: \n* Required request parameters are missing or invalid.\n* There is already a customer entitlement for a SKU from the same\nproduct family.\n* INVALID_VALUE: Make sure the OfferId is valid. If it is, contact\nGoogle Channel support for further troubleshooting.\n* NOT_FOUND: The customer or offer resource was not found.\n* ALREADY_EXISTS: \n* The SKU was already purchased for the customer.\n* The customer's primary email already exists. Retry\nafter changing the customer's primary contact email.\n* CONDITION_NOT_MET or FAILED_PRECONDITION: \n* The domain required for purchasing a SKU has not been verified.\n* A pre-requisite SKU required to purchase an Add-On SKU is missing.\nFor example, Google Workspace Business Starter is required to purchase\nVault or Drive.\n* (Developer accounts only) Reseller and resold domain must meet the\nfollowing naming requirements: \n* Domain names must start with goog-test.\n* Domain names must include the reseller domain.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/CreateEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_CreateEntitlement_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel CreateEntitlement Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteChannelPartnerRepricingConfig_sync", - "title": "cloudchannel DeleteChannelPartnerRepricingConfig Sample", - "description": "DeleteChannelPartnerRepricingConfig deletes the given\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\npermanently. You can only delete configs if their\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis set to a date after the current month.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The account making the request does not own\nthis customer.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* FAILED_PRECONDITION: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nis active or in the past.\n* NOT_FOUND: No\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nfound for the name in the request.", - "file": "CloudChannelClient/DeleteChannelPartnerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteChannelPartnerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.DeleteChannelPartnerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteChannelPartnerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "DeleteChannelPartnerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.DeleteChannelPartnerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.DeleteChannelPartnerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "DeleteChannelPartnerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteChannelPartnerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "DeleteChannelPartnerRepricingConfig" }, + "description": "DeleteChannelPartnerRepricingConfig deletes the given\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\npermanently. You can only delete configs if their\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis set to a date after the current month.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The account making the request does not own\nthis customer.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* FAILED_PRECONDITION: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nis active or in the past.\n* NOT_FOUND: No\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nfound for the name in the request.", + "file": "CloudChannelClient/DeleteChannelPartnerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteChannelPartnerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel DeleteChannelPartnerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteCustomer_sync", - "title": "cloudchannel DeleteCustomer Sample", - "description": "DeleteCustomer deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The account making the request does not own\nthis customer.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* FAILED_PRECONDITION: The customer has existing entitlements.\n* NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found\nfor the name in the request.", - "file": "CloudChannelClient/DeleteCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.DeleteCustomer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteCustomer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "DeleteCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.DeleteCustomerRequest", - "name": "req" + "name": "req", + "type": "channelpb.DeleteCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "DeleteCustomer", - "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteCustomer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "DeleteCustomer" }, + "description": "DeleteCustomer deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The account making the request does not own\nthis customer.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* FAILED_PRECONDITION: The customer has existing entitlements.\n* NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found\nfor the name in the request.", + "file": "CloudChannelClient/DeleteCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteCustomer_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel DeleteCustomer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteCustomerRepricingConfig_sync", - "title": "cloudchannel DeleteCustomerRepricingConfig Sample", - "description": "DeleteCustomerRepricingConfig deletes the given\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\npermanently. You can only delete configs if their\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis set to a date after the current month.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The account making the request does not own\nthis customer.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* FAILED_PRECONDITION: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nis active or in the past.\n* NOT_FOUND: No\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nfound for the name in the request.", - "file": "CloudChannelClient/DeleteCustomerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.DeleteCustomerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "DeleteCustomerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.DeleteCustomerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.DeleteCustomerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "DeleteCustomerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "DeleteCustomerRepricingConfig" }, + "description": "DeleteCustomerRepricingConfig deletes the given\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\npermanently. You can only delete configs if their\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis set to a date after the current month.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The account making the request does not own\nthis customer.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* FAILED_PRECONDITION: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nis active or in the past.\n* NOT_FOUND: No\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nfound for the name in the request.", + "file": "CloudChannelClient/DeleteCustomerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteCustomerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel DeleteCustomerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteOperation_sync", - "title": "cloudchannel DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudChannelClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudChannelClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel DeleteOperation Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetChannelPartnerLink_sync", - "title": "cloudchannel GetChannelPartnerLink Sample", - "description": "GetChannelPartnerLink returns the requested\n[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.\nYou must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: ChannelPartnerLink resource not found because of an\ninvalid channel partner link name.\n\nReturn value: \nThe [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]\nresource.", - "file": "CloudChannelClient/GetChannelPartnerLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChannelPartnerLink", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.GetChannelPartnerLink", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "GetChannelPartnerLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.GetChannelPartnerLinkRequest", - "name": "req" + "name": "req", + "type": "channelpb.GetChannelPartnerLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.ChannelPartnerLink", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "GetChannelPartnerLink", - "fullName": "google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "GetChannelPartnerLink" }, + "description": "GetChannelPartnerLink returns the requested\n[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.\nYou must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: ChannelPartnerLink resource not found because of an\ninvalid channel partner link name.\n\nReturn value: \nThe [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]\nresource.", + "file": "CloudChannelClient/GetChannelPartnerLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetChannelPartnerLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetChannelPartnerLink Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetChannelPartnerRepricingConfig_sync", - "title": "cloudchannel GetChannelPartnerRepricingConfig Sample", - "description": "GetChannelPartnerRepricingConfig gets information about how a Distributor modifies their bill before sending\nit to a ChannelPartner.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nwas not found.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresource, otherwise returns an error.", - "file": "CloudChannelClient/GetChannelPartnerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChannelPartnerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.GetChannelPartnerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "GetChannelPartnerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.GetChannelPartnerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.GetChannelPartnerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.ChannelPartnerRepricingConfig", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "GetChannelPartnerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "GetChannelPartnerRepricingConfig" }, + "description": "GetChannelPartnerRepricingConfig gets information about how a Distributor modifies their bill before sending\nit to a ChannelPartner.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nwas not found.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresource, otherwise returns an error.", + "file": "CloudChannelClient/GetChannelPartnerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetChannelPartnerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetChannelPartnerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetCustomer_sync", - "title": "cloudchannel GetCustomer Sample", - "description": "GetCustomer returns the requested [Customer][google.cloud.channel.v1.Customer]\nresource.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer resource doesn't exist. Usually the result of an\ninvalid name parameter.\n\nReturn value: \nThe [Customer][google.cloud.channel.v1.Customer] resource.", - "file": "CloudChannelClient/GetCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.GetCustomer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.GetCustomer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "GetCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.GetCustomerRequest", - "name": "req" + "name": "req", + "type": "channelpb.GetCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.Customer", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "GetCustomer", - "fullName": "google.cloud.channel.v1.CloudChannelService.GetCustomer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "GetCustomer" }, + "description": "GetCustomer returns the requested [Customer][google.cloud.channel.v1.Customer]\nresource.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer resource doesn't exist. Usually the result of an\ninvalid name parameter.\n\nReturn value: \nThe [Customer][google.cloud.channel.v1.Customer] resource.", + "file": "CloudChannelClient/GetCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetCustomer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetCustomerRepricingConfig_sync", - "title": "cloudchannel GetCustomerRepricingConfig Sample", - "description": "GetCustomerRepricingConfig gets information about how a Reseller modifies their bill before sending\nit to a Customer.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nwas not found.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresource, otherwise returns an error.", - "file": "CloudChannelClient/GetCustomerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.GetCustomerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "GetCustomerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.GetCustomerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.GetCustomerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.CustomerRepricingConfig", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "GetCustomerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "GetCustomerRepricingConfig" }, + "description": "GetCustomerRepricingConfig gets information about how a Reseller modifies their bill before sending\nit to a Customer.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nwas not found.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresource, otherwise returns an error.", + "file": "CloudChannelClient/GetCustomerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetCustomerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetCustomerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetEntitlement_sync", - "title": "cloudchannel GetEntitlement Sample", - "description": "GetEntitlement returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]\nresource.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer entitlement was not found.\n\nReturn value: \nThe requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.", - "file": "CloudChannelClient/GetEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntitlement", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.GetEntitlement", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.GetEntitlement", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "GetEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.GetEntitlementRequest", - "name": "req" + "name": "req", + "type": "channelpb.GetEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.Entitlement", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "GetEntitlement", - "fullName": "google.cloud.channel.v1.CloudChannelService.GetEntitlement", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "GetEntitlement" }, + "description": "GetEntitlement returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]\nresource.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer entitlement was not found.\n\nReturn value: \nThe requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.", + "file": "CloudChannelClient/GetEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetEntitlement_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetEntitlement Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetOperation_sync", - "title": "cloudchannel GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudChannelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudChannelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel GetOperation Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ImportCustomer_sync", - "title": "cloudchannel ImportCustomer Sample", - "description": "ImportCustomer imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud\nIdentity associated with the provided Cloud Identity ID or domain before a\nTransferEntitlements call. If a linked Customer already exists and\noverwrite_if_exists is true, it will update that Customer's data.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The reseller account making the request is different from the\nreseller account in the API request.\n* You are not authorized to import the customer. See\nhttps: //support.google.com/channelservices/answer/9759265\n* NOT_FOUND: Cloud Identity doesn't exist or was deleted.\n* INVALID_ARGUMENT: Required parameters are missing, or the auth_token is\nexpired or invalid.\n* ALREADY_EXISTS: A customer already exists and has conflicting critical\nfields. Requires an overwrite.\n\nReturn value: \nThe [Customer][google.cloud.channel.v1.Customer].", - "file": "CloudChannelClient/ImportCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCustomer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ImportCustomer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ImportCustomer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ImportCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ImportCustomerRequest", - "name": "req" + "name": "req", + "type": "channelpb.ImportCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.Customer", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ImportCustomer", - "fullName": "google.cloud.channel.v1.CloudChannelService.ImportCustomer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ImportCustomer" }, + "description": "ImportCustomer imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud\nIdentity associated with the provided Cloud Identity ID or domain before a\nTransferEntitlements call. If a linked Customer already exists and\noverwrite_if_exists is true, it will update that Customer's data.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The reseller account making the request is different from the\nreseller account in the API request.\n* You are not authorized to import the customer. See\nhttps: //support.google.com/channelservices/answer/9759265\n* NOT_FOUND: Cloud Identity doesn't exist or was deleted.\n* INVALID_ARGUMENT: Required parameters are missing, or the auth_token is\nexpired or invalid.\n* ALREADY_EXISTS: A customer already exists and has conflicting critical\nfields. Requires an overwrite.\n\nReturn value: \nThe [Customer][google.cloud.channel.v1.Customer].", + "file": "CloudChannelClient/ImportCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ImportCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ImportCustomer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListChannelPartnerLinks_sync", - "title": "cloudchannel ListChannelPartnerLinks Sample", - "description": "ListChannelPartnerLinks list [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s\nbelonging to a distributor. You must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nThe list of the distributor account's\n[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.", - "file": "CloudChannelClient/ListChannelPartnerLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChannelPartnerLinks", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListChannelPartnerLinks", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListChannelPartnerLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListChannelPartnerLinksRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListChannelPartnerLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChannelPartnerLinkIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListChannelPartnerLinks", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListChannelPartnerLinks" }, + "description": "ListChannelPartnerLinks list [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s\nbelonging to a distributor. You must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nThe list of the distributor account's\n[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.", + "file": "CloudChannelClient/ListChannelPartnerLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListChannelPartnerLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListChannelPartnerLinks Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListChannelPartnerRepricingConfigs_sync", - "title": "cloudchannel ListChannelPartnerRepricingConfigs Sample", - "description": "ListChannelPartnerRepricingConfigs lists information about how a Reseller modifies their bill before sending\nit to a ChannelPartner.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresources. The data for each resource is displayed in the ascending order\nof: \n\n* Channel Partner ID\n* [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\n* [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]\n\nIf unsuccessful, returns an error.", - "file": "CloudChannelClient/ListChannelPartnerRepricingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChannelPartnerRepricingConfigs", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListChannelPartnerRepricingConfigs", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListChannelPartnerRepricingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListChannelPartnerRepricingConfigsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListChannelPartnerRepricingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChannelPartnerRepricingConfigIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListChannelPartnerRepricingConfigs", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListChannelPartnerRepricingConfigs" }, + "description": "ListChannelPartnerRepricingConfigs lists information about how a Reseller modifies their bill before sending\nit to a ChannelPartner.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresources. The data for each resource is displayed in the ascending order\nof: \n\n* Channel Partner ID\n* [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\n* [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]\n\nIf unsuccessful, returns an error.", + "file": "CloudChannelClient/ListChannelPartnerRepricingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListChannelPartnerRepricingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListChannelPartnerRepricingConfigs Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListCustomerRepricingConfigs_sync", - "title": "cloudchannel ListCustomerRepricingConfigs Sample", - "description": "ListCustomerRepricingConfigs lists information about how a Reseller modifies their bill before sending\nit to a Customer.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresources. The data for each resource is displayed in the ascending order\nof: \n\n* Customer ID\n* [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]\n* [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\n* [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]\n\nIf unsuccessful, returns an error.", - "file": "CloudChannelClient/ListCustomerRepricingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomerRepricingConfigs", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListCustomerRepricingConfigs", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListCustomerRepricingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListCustomerRepricingConfigsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListCustomerRepricingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomerRepricingConfigIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListCustomerRepricingConfigs", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListCustomerRepricingConfigs" }, + "description": "ListCustomerRepricingConfigs lists information about how a Reseller modifies their bill before sending\nit to a Customer.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresources. The data for each resource is displayed in the ascending order\nof: \n\n* Customer ID\n* [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]\n* [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\n* [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]\n\nIf unsuccessful, returns an error.", + "file": "CloudChannelClient/ListCustomerRepricingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListCustomerRepricingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListCustomerRepricingConfigs Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListCustomers_sync", - "title": "cloudchannel ListCustomers Sample", - "description": "ListCustomers list [Customer][google.cloud.channel.v1.Customer]s.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nList of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if\nthere are no customers.", - "file": "CloudChannelClient/ListCustomers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomers", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListCustomers", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListCustomers", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListCustomers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListCustomersRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListCustomersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomerIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListCustomers", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListCustomers", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListCustomers" }, + "description": "ListCustomers list [Customer][google.cloud.channel.v1.Customer]s.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nList of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if\nthere are no customers.", + "file": "CloudChannelClient/ListCustomers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListCustomers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListCustomers Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListEntitlementChanges_sync", - "title": "cloudchannel ListEntitlementChanges Sample", - "description": "ListEntitlementChanges list entitlement history.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different.\n* INVALID_ARGUMENT: Missing or invalid required fields in the request.\n* NOT_FOUND: The parent resource doesn't exist. Usually the result of an\ninvalid name parameter.\n* INTERNAL: Any non-user error related to a technical issue in the backend.\nIn this case, contact CloudChannel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nIn this case, contact Cloud Channel support.\n\nReturn value: \nList of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.", - "file": "CloudChannelClient/ListEntitlementChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntitlementChanges", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListEntitlementChanges", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListEntitlementChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListEntitlementChangesRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListEntitlementChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntitlementChangeIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListEntitlementChanges", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListEntitlementChanges" }, + "description": "ListEntitlementChanges list entitlement history.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different.\n* INVALID_ARGUMENT: Missing or invalid required fields in the request.\n* NOT_FOUND: The parent resource doesn't exist. Usually the result of an\ninvalid name parameter.\n* INTERNAL: Any non-user error related to a technical issue in the backend.\nIn this case, contact CloudChannel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nIn this case, contact Cloud Channel support.\n\nReturn value: \nList of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s.", + "file": "CloudChannelClient/ListEntitlementChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListEntitlementChanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListEntitlementChanges Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListEntitlements_sync", - "title": "cloudchannel ListEntitlements Sample", - "description": "ListEntitlements lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a\ncustomer.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nA list of the customer's\n[Entitlement][google.cloud.channel.v1.Entitlement]s.", - "file": "CloudChannelClient/ListEntitlements/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntitlements", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListEntitlements", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlements", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListEntitlements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListEntitlementsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListEntitlementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntitlementIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListEntitlements", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlements", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListEntitlements" }, + "description": "ListEntitlements lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a\ncustomer.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nA list of the customer's\n[Entitlement][google.cloud.channel.v1.Entitlement]s.", + "file": "CloudChannelClient/ListEntitlements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListEntitlements_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListEntitlements Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListOffers_sync", - "title": "cloudchannel ListOffers Sample", - "description": "ListOffers lists the Offers the reseller can sell.\n\nPossible error codes: \n\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", - "file": "CloudChannelClient/ListOffers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOffers", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListOffers", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListOffers", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListOffers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListOffersRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListOffersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OfferIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListOffers", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListOffers", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListOffers" }, + "description": "ListOffers lists the Offers the reseller can sell.\n\nPossible error codes: \n\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", + "file": "CloudChannelClient/ListOffers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListOffers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListOffers Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListOperations_sync", - "title": "cloudchannel ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudChannelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudChannelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListOperations Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListProducts_sync", - "title": "cloudchannel ListProducts Sample", - "description": "ListProducts lists the Products the reseller is authorized to sell.\n\nPossible error codes: \n\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", - "file": "CloudChannelClient/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListProducts", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListProducts", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ProductIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListProducts", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ProductIterator", + "shortName": "ListProducts" }, + "description": "ListProducts lists the Products the reseller is authorized to sell.\n\nPossible error codes: \n\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", + "file": "CloudChannelClient/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListProducts Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListPurchasableOffers_sync", - "title": "cloudchannel ListPurchasableOffers Sample", - "description": "ListPurchasableOffers lists the following: \n\n* Offers that you can purchase for a customer.\n* Offers that you can change for an entitlement.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", - "file": "CloudChannelClient/ListPurchasableOffers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPurchasableOffers", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListPurchasableOffers", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListPurchasableOffers", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListPurchasableOffers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListPurchasableOffersRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListPurchasableOffersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurchasableOfferIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListPurchasableOffers", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListPurchasableOffers", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListPurchasableOffers" }, + "description": "ListPurchasableOffers lists the following: \n\n* Offers that you can purchase for a customer.\n* Offers that you can change for an entitlement.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", + "file": "CloudChannelClient/ListPurchasableOffers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListPurchasableOffers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListPurchasableOffers Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListPurchasableSkus_sync", - "title": "cloudchannel ListPurchasableSkus Sample", - "description": "ListPurchasableSkus lists the following: \n\n* SKUs that you can purchase for a customer\n* SKUs that you can upgrade or downgrade for an entitlement.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", - "file": "CloudChannelClient/ListPurchasableSkus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPurchasableSkus", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListPurchasableSkus", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListPurchasableSkus", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListPurchasableSkus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListPurchasableSkusRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListPurchasableSkusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurchasableSkuIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListPurchasableSkus", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListPurchasableSkus", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListPurchasableSkus" }, + "description": "ListPurchasableSkus lists the following: \n\n* SKUs that you can purchase for a customer\n* SKUs that you can upgrade or downgrade for an entitlement.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", + "file": "CloudChannelClient/ListPurchasableSkus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListPurchasableSkus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListPurchasableSkus Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSkuGroupBillableSkus_sync", - "title": "cloudchannel ListSkuGroupBillableSkus Sample", - "description": "ListSkuGroupBillableSkus lists the Billable SKUs in a given SKU group.\n\nPossible error codes: \nPERMISSION_DENIED: If the account making the request and the account\nbeing queried for are different, or the account doesn't exist.\nINVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest.\nINTERNAL: Any non-user error related to technical issue in the\nbackend. In this case, contact cloud channel support.\n\nReturn Value: \nIf successful, the [BillableSku][google.cloud.channel.v1.BillableSku]\nresources. The data for each resource is displayed in the ascending order\nof: \n\n* [BillableSku.service_display_name][google.cloud.channel.v1.BillableSku.service_display_name]\n* [BillableSku.sku_display_name][google.cloud.channel.v1.BillableSku.sku_display_name]\n\nIf unsuccessful, returns an error.", - "file": "CloudChannelClient/ListSkuGroupBillableSkus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSkuGroupBillableSkus", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListSkuGroupBillableSkus", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListSkuGroupBillableSkus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListSkuGroupBillableSkusRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListSkuGroupBillableSkusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BillableSkuIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListSkuGroupBillableSkus", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListSkuGroupBillableSkus" }, + "description": "ListSkuGroupBillableSkus lists the Billable SKUs in a given SKU group.\n\nPossible error codes: \nPERMISSION_DENIED: If the account making the request and the account\nbeing queried for are different, or the account doesn't exist.\nINVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest.\nINTERNAL: Any non-user error related to technical issue in the\nbackend. In this case, contact cloud channel support.\n\nReturn Value: \nIf successful, the [BillableSku][google.cloud.channel.v1.BillableSku]\nresources. The data for each resource is displayed in the ascending order\nof: \n\n* [BillableSku.service_display_name][google.cloud.channel.v1.BillableSku.service_display_name]\n* [BillableSku.sku_display_name][google.cloud.channel.v1.BillableSku.sku_display_name]\n\nIf unsuccessful, returns an error.", + "file": "CloudChannelClient/ListSkuGroupBillableSkus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSkuGroupBillableSkus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListSkuGroupBillableSkus Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSkuGroups_sync", - "title": "cloudchannel ListSkuGroups Sample", - "description": "ListSkuGroups lists the Rebilling supported SKU groups the account is authorized to\nsell.\nReference: https: //cloud.google.com/skus/sku-groups\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different, or the account doesn't exist.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the [SkuGroup][google.cloud.channel.v1.SkuGroup] resources.\nThe data for each resource is displayed in the alphabetical order of SKU\ngroup display name.\nThe data for each resource is displayed in the ascending order of\n[SkuGroup.display_name][google.cloud.channel.v1.SkuGroup.display_name]\n\nIf unsuccessful, returns an error.", - "file": "CloudChannelClient/ListSkuGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSkuGroups", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListSkuGroups", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkuGroups", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListSkuGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListSkuGroupsRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListSkuGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SkuGroupIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListSkuGroups", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkuGroups", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListSkuGroups" }, + "description": "ListSkuGroups lists the Rebilling supported SKU groups the account is authorized to\nsell.\nReference: https: //cloud.google.com/skus/sku-groups\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different, or the account doesn't exist.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the [SkuGroup][google.cloud.channel.v1.SkuGroup] resources.\nThe data for each resource is displayed in the alphabetical order of SKU\ngroup display name.\nThe data for each resource is displayed in the ascending order of\n[SkuGroup.display_name][google.cloud.channel.v1.SkuGroup.display_name]\n\nIf unsuccessful, returns an error.", + "file": "CloudChannelClient/ListSkuGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSkuGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListSkuGroups Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSkus_sync", - "title": "cloudchannel ListSkus Sample", - "description": "ListSkus lists the SKUs for a product the reseller is authorized to sell.\n\nPossible error codes: \n\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", - "file": "CloudChannelClient/ListSkus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSkus", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListSkus", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkus", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListSkus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListSkusRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListSkusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SkuIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListSkus", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkus", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListSkus" }, + "description": "ListSkus lists the SKUs for a product the reseller is authorized to sell.\n\nPossible error codes: \n\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.", + "file": "CloudChannelClient/ListSkus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSkus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListSkus Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSubscribers_sync", - "title": "cloudchannel ListSubscribers Sample", - "description": "ListSubscribers lists service accounts with subscriber privileges on the Pub/Sub topic\ncreated for this Channel Services account or integrator.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different, or the impersonated user\nis not a super admin.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The topic resource doesn't exist.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nA list of service email addresses.", - "file": "CloudChannelClient/ListSubscribers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubscribers", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListSubscribers", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSubscribers", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListSubscribers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListSubscribersRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListSubscribersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListSubscribers", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListSubscribers", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListSubscribers" }, + "description": "ListSubscribers lists service accounts with subscriber privileges on the Pub/Sub topic\ncreated for this Channel Services account or integrator.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different, or the impersonated user\nis not a super admin.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The topic resource doesn't exist.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nA list of service email addresses.", + "file": "CloudChannelClient/ListSubscribers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListSubscribers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListSubscribers Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListTransferableOffers_sync", - "title": "cloudchannel ListTransferableOffers Sample", - "description": "ListTransferableOffers list [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a\ncustomer based on Cloud Identity ID or Customer Name in the request.\n\nUse this method when a reseller gets the entitlement information of an\nunowned customer. The reseller should provide the customer's\nCloud Identity ID or Customer Name.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller and has no auth token.\n* The customer provided incorrect reseller information when generating\nauth token.\n* The reseller account making the request is different\nfrom the reseller account in the query.\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nList of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for\nthe given customer and SKU.", - "file": "CloudChannelClient/ListTransferableOffers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransferableOffers", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListTransferableOffers", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListTransferableOffers", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListTransferableOffers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListTransferableOffersRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListTransferableOffersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferableOfferIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListTransferableOffers", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListTransferableOffers", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListTransferableOffers" }, + "description": "ListTransferableOffers list [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a\ncustomer based on Cloud Identity ID or Customer Name in the request.\n\nUse this method when a reseller gets the entitlement information of an\nunowned customer. The reseller should provide the customer's\nCloud Identity ID or Customer Name.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller and has no auth token.\n* The customer provided incorrect reseller information when generating\nauth token.\n* The reseller account making the request is different\nfrom the reseller account in the query.\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nList of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for\nthe given customer and SKU.", + "file": "CloudChannelClient/ListTransferableOffers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListTransferableOffers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListTransferableOffers Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListTransferableSkus_sync", - "title": "cloudchannel ListTransferableSkus Sample", - "description": "ListTransferableSkus list [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a\ncustomer based on the Cloud Identity ID or Customer Name in the request.\n\nUse this method to list the entitlements information of an\nunowned customer. You should provide the customer's\nCloud Identity ID or Customer Name.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller and has no auth token.\n* The supplied auth token is invalid.\n* The reseller account making the request is different\nfrom the reseller account in the query.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nA list of the customer's\n[TransferableSku][google.cloud.channel.v1.TransferableSku].", - "file": "CloudChannelClient/ListTransferableSkus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransferableSkus", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ListTransferableSkus", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ListTransferableSkus", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ListTransferableSkus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ListTransferableSkusRequest", - "name": "req" + "name": "req", + "type": "channelpb.ListTransferableSkusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferableSkuIterator", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ListTransferableSkus", - "fullName": "google.cloud.channel.v1.CloudChannelService.ListTransferableSkus", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ListTransferableSkus" }, + "description": "ListTransferableSkus list [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a\ncustomer based on the Cloud Identity ID or Customer Name in the request.\n\nUse this method to list the entitlements information of an\nunowned customer. You should provide the customer's\nCloud Identity ID or Customer Name.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller and has no auth token.\n* The supplied auth token is invalid.\n* The reseller account making the request is different\nfrom the reseller account in the query.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nA list of the customer's\n[TransferableSku][google.cloud.channel.v1.TransferableSku].", + "file": "CloudChannelClient/ListTransferableSkus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ListTransferableSkus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ListTransferableSkus Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_LookupOffer_sync", - "title": "cloudchannel LookupOffer Sample", - "description": "LookupOffer returns the requested [Offer][google.cloud.channel.v1.Offer] resource.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The entitlement doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement or offer was not found.\n\nReturn value: \nThe [Offer][google.cloud.channel.v1.Offer] resource.", - "file": "CloudChannelClient/LookupOffer/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupOffer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.LookupOffer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.LookupOffer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "LookupOffer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.LookupOfferRequest", - "name": "req" + "name": "req", + "type": "channelpb.LookupOfferRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.Offer", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "LookupOffer", - "fullName": "google.cloud.channel.v1.CloudChannelService.LookupOffer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "LookupOffer" }, + "description": "LookupOffer returns the requested [Offer][google.cloud.channel.v1.Offer] resource.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The entitlement doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement or offer was not found.\n\nReturn value: \nThe [Offer][google.cloud.channel.v1.Offer] resource.", + "file": "CloudChannelClient/LookupOffer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_LookupOffer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel LookupOffer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_ProvisionCloudIdentity_sync", - "title": "cloudchannel ProvisionCloudIdentity Sample", - "description": "ProvisionCloudIdentity creates a Cloud Identity for the given customer using the customer's\ninformation, or the information provided here.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller.\n* You are not authorized to provision cloud identity id. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer was not found.\n* ALREADY_EXISTS: The customer's primary email already exists. Retry\nafter changing the customer's primary contact email.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata contains an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/ProvisionCloudIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvisionCloudIdentity", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.ProvisionCloudIdentity", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "ProvisionCloudIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.ProvisionCloudIdentityRequest", - "name": "req" + "name": "req", + "type": "channelpb.ProvisionCloudIdentityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProvisionCloudIdentityOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "ProvisionCloudIdentity", - "fullName": "google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "ProvisionCloudIdentity" }, + "description": "ProvisionCloudIdentity creates a Cloud Identity for the given customer using the customer's\ninformation, or the information provided here.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller.\n* You are not authorized to provision cloud identity id. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer was not found.\n* ALREADY_EXISTS: The customer's primary email already exists. Retry\nafter changing the customer's primary contact email.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata contains an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/ProvisionCloudIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_ProvisionCloudIdentity_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel ProvisionCloudIdentity Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_QueryEligibleBillingAccounts_sync", - "title": "cloudchannel QueryEligibleBillingAccounts Sample", - "description": "QueryEligibleBillingAccounts lists the billing accounts that are eligible to purchase particular SKUs\nfor a given customer.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nBased on the provided list of SKUs, returns a list of SKU groups that must\nbe purchased using the same billing account and the billing accounts\neligible to purchase each SKU group.", - "file": "CloudChannelClient/QueryEligibleBillingAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryEligibleBillingAccounts", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.QueryEligibleBillingAccounts", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.QueryEligibleBillingAccounts", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "QueryEligibleBillingAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.QueryEligibleBillingAccountsRequest", - "name": "req" + "name": "req", + "type": "channelpb.QueryEligibleBillingAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.QueryEligibleBillingAccountsResponse", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "QueryEligibleBillingAccounts", - "fullName": "google.cloud.channel.v1.CloudChannelService.QueryEligibleBillingAccounts", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "QueryEligibleBillingAccounts" }, + "description": "QueryEligibleBillingAccounts lists the billing accounts that are eligible to purchase particular SKUs\nfor a given customer.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n\nReturn value: \nBased on the provided list of SKUs, returns a list of SKU groups that must\nbe purchased using the same billing account and the billing accounts\neligible to purchase each SKU group.", + "file": "CloudChannelClient/QueryEligibleBillingAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_QueryEligibleBillingAccounts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel QueryEligibleBillingAccounts Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_RegisterSubscriber_sync", - "title": "cloudchannel RegisterSubscriber Sample", - "description": "RegisterSubscriber registers a service account with subscriber privileges on the Pub/Sub\ntopic for this Channel Services account or integrator. After you create a\nsubscriber, you get the events through\n[SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different, or the impersonated user\nis not a super admin.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe topic name with the registered service email address.", - "file": "CloudChannelClient/RegisterSubscriber/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterSubscriber", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.RegisterSubscriber", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.RegisterSubscriber", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "RegisterSubscriber" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.RegisterSubscriberRequest", - "name": "req" + "name": "req", + "type": "channelpb.RegisterSubscriberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.RegisterSubscriberResponse", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "RegisterSubscriber", - "fullName": "google.cloud.channel.v1.CloudChannelService.RegisterSubscriber", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "RegisterSubscriber" }, + "description": "RegisterSubscriber registers a service account with subscriber privileges on the Pub/Sub\ntopic for this Channel Services account or integrator. After you create a\nsubscriber, you get the events through\n[SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different, or the impersonated user\nis not a super admin.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe topic name with the registered service email address.", + "file": "CloudChannelClient/RegisterSubscriber/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_RegisterSubscriber_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel RegisterSubscriber Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_StartPaidService_sync", - "title": "cloudchannel StartPaidService Sample", - "description": "StartPaidService starts paid service for a trial entitlement.\n\nStarts paid service for a trial entitlement immediately. This method is\nonly applicable if a plan is set up for a trial entitlement but has some\ntrial days remaining.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for\nentitlement on trial plans.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/StartPaidService/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartPaidService", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.StartPaidService", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.StartPaidService", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "StartPaidService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.StartPaidServiceRequest", - "name": "req" + "name": "req", + "type": "channelpb.StartPaidServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartPaidServiceOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "StartPaidService", - "fullName": "google.cloud.channel.v1.CloudChannelService.StartPaidService", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "StartPaidService" }, + "description": "StartPaidService starts paid service for a trial entitlement.\n\nStarts paid service for a trial entitlement immediately. This method is\nonly applicable if a plan is set up for a trial entitlement but has some\ntrial days remaining.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for\nentitlement on trial plans.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/StartPaidService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_StartPaidService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel StartPaidService Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_SuspendEntitlement_sync", - "title": "cloudchannel SuspendEntitlement Sample", - "description": "SuspendEntitlement suspends a previously fulfilled entitlement.\n\nAn entitlement suspension is a long-running operation.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* NOT_ACTIVE: Entitlement is not active.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/SuspendEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendEntitlement", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.SuspendEntitlement", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.SuspendEntitlement", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "SuspendEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.SuspendEntitlementRequest", - "name": "req" + "name": "req", + "type": "channelpb.SuspendEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SuspendEntitlementOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "SuspendEntitlement", - "fullName": "google.cloud.channel.v1.CloudChannelService.SuspendEntitlement", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "SuspendEntitlement" }, + "description": "SuspendEntitlement suspends a previously fulfilled entitlement.\n\nAn entitlement suspension is a long-running operation.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: Entitlement resource not found.\n* NOT_ACTIVE: Entitlement is not active.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/SuspendEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_SuspendEntitlement_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel SuspendEntitlement Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_TransferEntitlements_sync", - "title": "cloudchannel TransferEntitlements Sample", - "description": "TransferEntitlements transfers customer entitlements to new reseller.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller.\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer or offer resource was not found.\n* ALREADY_EXISTS: The SKU was already transferred for the customer.\n* CONDITION_NOT_MET or FAILED_PRECONDITION: \n* The SKU requires domain verification to transfer, but the domain is\nnot verified.\n* An Add-On SKU (example, Vault or Drive) is missing the\npre-requisite SKU (example, G Suite Basic).\n* (Developer accounts only) Reseller and resold domain must meet the\nfollowing naming requirements: \n* Domain names must start with goog-test.\n* Domain names must include the reseller domain.\n* Specify all transferring entitlements.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/TransferEntitlements/main.go", - "language": "GO", "clientMethod": { - "shortName": "TransferEntitlements", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.TransferEntitlements", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.TransferEntitlements", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "TransferEntitlements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.TransferEntitlementsRequest", - "name": "req" + "name": "req", + "type": "channelpb.TransferEntitlementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferEntitlementsOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "TransferEntitlements", - "fullName": "google.cloud.channel.v1.CloudChannelService.TransferEntitlements", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "TransferEntitlements" }, + "description": "TransferEntitlements transfers customer entitlements to new reseller.\n\nPossible error codes: \n\n* PERMISSION_DENIED: \n* The customer doesn't belong to the reseller.\n* The reseller is not authorized to transact on this Product. See\nhttps: //support.google.com/channelservices/answer/9759265\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer or offer resource was not found.\n* ALREADY_EXISTS: The SKU was already transferred for the customer.\n* CONDITION_NOT_MET or FAILED_PRECONDITION: \n* The SKU requires domain verification to transfer, but the domain is\nnot verified.\n* An Add-On SKU (example, Vault or Drive) is missing the\npre-requisite SKU (example, G Suite Basic).\n* (Developer accounts only) Reseller and resold domain must meet the\nfollowing naming requirements: \n* Domain names must start with goog-test.\n* Domain names must include the reseller domain.\n* Specify all transferring entitlements.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/TransferEntitlements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_TransferEntitlements_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel TransferEntitlements Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_TransferEntitlementsToGoogle_sync", - "title": "cloudchannel TransferEntitlementsToGoogle Sample", - "description": "TransferEntitlementsToGoogle transfers customer entitlements from their current reseller to Google.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer or offer resource was not found.\n* ALREADY_EXISTS: The SKU was already transferred for the customer.\n* CONDITION_NOT_MET or FAILED_PRECONDITION: \n* The SKU requires domain verification to transfer, but the domain is\nnot verified.\n* An Add-On SKU (example, Vault or Drive) is missing the\npre-requisite SKU (example, G Suite Basic).\n* (Developer accounts only) Reseller and resold domain must meet the\nfollowing naming requirements: \n* Domain names must start with goog-test.\n* Domain names must include the reseller domain.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The response will contain\ngoogle.protobuf.Empty on success. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", - "file": "CloudChannelClient/TransferEntitlementsToGoogle/main.go", - "language": "GO", "clientMethod": { - "shortName": "TransferEntitlementsToGoogle", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.TransferEntitlementsToGoogle", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "TransferEntitlementsToGoogle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.TransferEntitlementsToGoogleRequest", - "name": "req" + "name": "req", + "type": "channelpb.TransferEntitlementsToGoogleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferEntitlementsToGoogleOperation", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "TransferEntitlementsToGoogle", - "fullName": "google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "TransferEntitlementsToGoogle" }, + "description": "TransferEntitlementsToGoogle transfers customer entitlements from their current reseller to Google.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The customer doesn't belong to the reseller.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The customer or offer resource was not found.\n* ALREADY_EXISTS: The SKU was already transferred for the customer.\n* CONDITION_NOT_MET or FAILED_PRECONDITION: \n* The SKU requires domain verification to transfer, but the domain is\nnot verified.\n* An Add-On SKU (example, Vault or Drive) is missing the\npre-requisite SKU (example, G Suite Basic).\n* (Developer accounts only) Reseller and resold domain must meet the\nfollowing naming requirements: \n* Domain names must start with goog-test.\n* Domain names must include the reseller domain.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe ID of a long-running operation.\n\nTo get the results of the operation, call the GetOperation method of\nCloudChannelOperationsService. The response will contain\ngoogle.protobuf.Empty on success. The Operation metadata will contain an\ninstance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].", + "file": "CloudChannelClient/TransferEntitlementsToGoogle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_TransferEntitlementsToGoogle_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel TransferEntitlementsToGoogle Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_UnregisterSubscriber_sync", - "title": "cloudchannel UnregisterSubscriber Sample", - "description": "UnregisterSubscriber unregisters a service account with subscriber privileges on the Pub/Sub\ntopic created for this Channel Services account or integrator. If there are\nno service accounts left with subscriber privileges, this deletes the\ntopic. You can call ListSubscribers to check for these accounts.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different, or the impersonated user\nis not a super admin.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The topic resource doesn't exist.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe topic name that unregistered the service email address.\nReturns a success response if the service email address wasn't registered\nwith the topic.", - "file": "CloudChannelClient/UnregisterSubscriber/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnregisterSubscriber", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.UnregisterSubscriber", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.UnregisterSubscriber", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "UnregisterSubscriber" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.UnregisterSubscriberRequest", - "name": "req" + "name": "req", + "type": "channelpb.UnregisterSubscriberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.UnregisterSubscriberResponse", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "UnregisterSubscriber", - "fullName": "google.cloud.channel.v1.CloudChannelService.UnregisterSubscriber", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "UnregisterSubscriber" }, + "description": "UnregisterSubscriber unregisters a service account with subscriber privileges on the Pub/Sub\ntopic created for this Channel Services account or integrator. If there are\nno service accounts left with subscriber privileges, this deletes the\ntopic. You can call ListSubscribers to check for these accounts.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request and the\nprovided reseller account are different, or the impersonated user\nis not a super admin.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: The topic resource doesn't exist.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe topic name that unregistered the service email address.\nReturns a success response if the service email address wasn't registered\nwith the topic.", + "file": "CloudChannelClient/UnregisterSubscriber/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_UnregisterSubscriber_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel UnregisterSubscriber Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateChannelPartnerLink_sync", - "title": "cloudchannel UpdateChannelPartnerLink Sample", - "description": "UpdateChannelPartnerLink updates a channel partner link. Distributors call this method to change a\nlink's status. For example, to suspend a partner link.\nYou must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: \n* Required request parameters are missing or invalid.\n* Link state cannot change from invited to active or suspended.\n* Cannot send reseller_cloud_identity_id, invite_url, or name in update\nmask.\n* NOT_FOUND: ChannelPartnerLink resource not found.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe updated\n[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.", - "file": "CloudChannelClient/UpdateChannelPartnerLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateChannelPartnerLink", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.UpdateChannelPartnerLink", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "UpdateChannelPartnerLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.UpdateChannelPartnerLinkRequest", - "name": "req" + "name": "req", + "type": "channelpb.UpdateChannelPartnerLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.ChannelPartnerLink", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "UpdateChannelPartnerLink", - "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "UpdateChannelPartnerLink" }, + "description": "UpdateChannelPartnerLink updates a channel partner link. Distributors call this method to change a\nlink's status. For example, to suspend a partner link.\nYou must be a distributor to call this method.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: \n* Required request parameters are missing or invalid.\n* Link state cannot change from invited to active or suspended.\n* Cannot send reseller_cloud_identity_id, invite_url, or name in update\nmask.\n* NOT_FOUND: ChannelPartnerLink resource not found.\n* INTERNAL: Any non-user error related to a technical issue in the\nbackend. Contact Cloud Channel support.\n* UNKNOWN: Any non-user error related to a technical issue in the backend.\nContact Cloud Channel support.\n\nReturn value: \nThe updated\n[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.", + "file": "CloudChannelClient/UpdateChannelPartnerLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateChannelPartnerLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel UpdateChannelPartnerLink Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateChannelPartnerRepricingConfig_sync", - "title": "cloudchannel UpdateChannelPartnerRepricingConfig Sample", - "description": "UpdateChannelPartnerRepricingConfig updates a ChannelPartnerRepricingConfig. Call this method to set\nmodifications for a specific ChannelPartner's bill. This method overwrites\nthe existing CustomerRepricingConfig.\n\nYou can only update configs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. To make changes to configs for the current month, use\n[CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],\ntaking note of its restrictions. You cannot update the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nWhen updating a config in the future: \n\n* This config must already exist.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresource, otherwise returns an error.", - "file": "CloudChannelClient/UpdateChannelPartnerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateChannelPartnerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.UpdateChannelPartnerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "UpdateChannelPartnerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.UpdateChannelPartnerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.UpdateChannelPartnerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.ChannelPartnerRepricingConfig", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "UpdateChannelPartnerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "UpdateChannelPartnerRepricingConfig" }, + "description": "UpdateChannelPartnerRepricingConfig updates a ChannelPartnerRepricingConfig. Call this method to set\nmodifications for a specific ChannelPartner's bill. This method overwrites\nthe existing CustomerRepricingConfig.\n\nYou can only update configs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. To make changes to configs for the current month, use\n[CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],\ntaking note of its restrictions. You cannot update the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nWhen updating a config in the future: \n\n* This config must already exist.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]\nresource, otherwise returns an error.", + "file": "CloudChannelClient/UpdateChannelPartnerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateChannelPartnerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel UpdateChannelPartnerRepricingConfig Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateCustomer_sync", - "title": "cloudchannel UpdateCustomer Sample", - "description": "UpdateCustomer updates an existing [Customer][google.cloud.channel.v1.Customer] resource\nfor the reseller or distributor.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found\nfor the name in the request.\n\nReturn value: \nThe updated [Customer][google.cloud.channel.v1.Customer] resource.", - "file": "CloudChannelClient/UpdateCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomer", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.UpdateCustomer", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateCustomer", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "UpdateCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.UpdateCustomerRequest", - "name": "req" + "name": "req", + "type": "channelpb.UpdateCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.Customer", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "UpdateCustomer", - "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateCustomer", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "UpdateCustomer" }, + "description": "UpdateCustomer updates an existing [Customer][google.cloud.channel.v1.Customer] resource\nfor the reseller or distributor.\n\nPossible error codes: \n\n* PERMISSION_DENIED: The reseller account making the request is different\nfrom the reseller account in the API request.\n* INVALID_ARGUMENT: Required request parameters are missing or invalid.\n* NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found\nfor the name in the request.\n\nReturn value: \nThe updated [Customer][google.cloud.channel.v1.Customer] resource.", + "file": "CloudChannelClient/UpdateCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel UpdateCustomer Sample" }, { - "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateCustomerRepricingConfig_sync", - "title": "cloudchannel UpdateCustomerRepricingConfig Sample", - "description": "UpdateCustomerRepricingConfig updates a CustomerRepricingConfig. Call this method to set modifications\nfor a specific customer's bill. This method overwrites the existing\nCustomerRepricingConfig.\n\nYou can only update configs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. To make changes to configs for the current month, use\n[CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],\ntaking note of its restrictions. You cannot update the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nWhen updating a config in the future: \n\n* This config must already exist.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresource, otherwise returns an error.", - "file": "CloudChannelClient/UpdateCustomerRepricingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomerRepricingConfig", + "client": { + "fullName": "google.cloud.channel.v1.CloudChannelClient", + "shortName": "CloudChannelClient" + }, "fullName": "google.cloud.channel.v1.CloudChannelClient.UpdateCustomerRepricingConfig", + "method": { + "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig", + "service": { + "fullName": "google.cloud.channel.v1.CloudChannelService", + "shortName": "CloudChannelService" + }, + "shortName": "UpdateCustomerRepricingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "channelpb.UpdateCustomerRepricingConfigRequest", - "name": "req" + "name": "req", + "type": "channelpb.UpdateCustomerRepricingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*channelpb.CustomerRepricingConfig", - "client": { - "shortName": "CloudChannelClient", - "fullName": "google.cloud.channel.v1.CloudChannelClient" - }, - "method": { - "shortName": "UpdateCustomerRepricingConfig", - "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig", - "service": { - "shortName": "CloudChannelService", - "fullName": "google.cloud.channel.v1.CloudChannelService" - } - } + "shortName": "UpdateCustomerRepricingConfig" }, + "description": "UpdateCustomerRepricingConfig updates a CustomerRepricingConfig. Call this method to set modifications\nfor a specific customer's bill. This method overwrites the existing\nCustomerRepricingConfig.\n\nYou can only update configs if the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]\nis a future month. To make changes to configs for the current month, use\n[CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],\ntaking note of its restrictions. You cannot update the\n[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].\n\nWhen updating a config in the future: \n\n* This config must already exist.\n\nPossible Error Codes: \n\n* PERMISSION_DENIED: If the account making the request and the account\nbeing queried are different.\n* INVALID_ARGUMENT: Missing or invalid required parameters in the\nrequest. Also displays if the updated config is for the current month or\npast months.\n* NOT_FOUND: The\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nspecified does not exist or is not associated with the given account.\n* INTERNAL: Any non-user error related to technical issues in the\nbackend. In this case, contact Cloud Channel support.\n\nReturn Value: \nIf successful, the updated\n[CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]\nresource, otherwise returns an error.", + "file": "CloudChannelClient/UpdateCustomerRepricingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudchannel_v1_generated_CloudChannelService_UpdateCustomerRepricingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudchannel UpdateCustomerRepricingConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json b/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json index 09b8c5a5884b..93e7b52fdca1 100644 --- a/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json +++ b/internal/generated/snippets/chat/apiv1/snippet_metadata.google.chat.v1.json @@ -1,1621 +1,1621 @@ { "clientLibrary": { - "name": "cloud.google.com/go/chat/apiv1", - "version": "0.18.0", - "language": "GO", "apis": [ { "id": "google.chat.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/chat/apiv1", + "version": "0.18.0" }, "snippets": [ { - "regionTag": "chat_v1_generated_ChatService_CompleteImportSpace_sync", - "title": "chat CompleteImportSpace Sample", - "description": "CompleteImportSpace completes the\n[import process](https: //developers.google.com/workspace/chat/import-data)\nfor the specified space and makes it visible to users.\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nand domain-wide delegation with the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.import`\n\nFor more information, see [Authorize Google\nChat apps to import\ndata](https: //developers.google.com/workspace/chat/authorize-import).", - "file": "Client/CompleteImportSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteImportSpace", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.CompleteImportSpace", + "method": { + "fullName": "google.chat.v1.ChatService.CompleteImportSpace", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "CompleteImportSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.CompleteImportSpaceRequest", - "name": "req" + "name": "req", + "type": "chatpb.CompleteImportSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.CompleteImportSpaceResponse", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "CompleteImportSpace", - "fullName": "google.chat.v1.ChatService.CompleteImportSpace", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "CompleteImportSpace" }, + "description": "CompleteImportSpace completes the\n[import process](https: //developers.google.com/workspace/chat/import-data)\nfor the specified space and makes it visible to users.\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nand domain-wide delegation with the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.import`\n\nFor more information, see [Authorize Google\nChat apps to import\ndata](https: //developers.google.com/workspace/chat/authorize-import).", + "file": "Client/CompleteImportSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_CompleteImportSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat CompleteImportSpace Sample" }, { - "regionTag": "chat_v1_generated_ChatService_CreateCustomEmoji_sync", - "title": "chat CreateCustomEmoji Sample", - "description": "CreateCustomEmoji creates a custom emoji.\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis`", - "file": "Client/CreateCustomEmoji/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomEmoji", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.CreateCustomEmoji", + "method": { + "fullName": "google.chat.v1.ChatService.CreateCustomEmoji", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "CreateCustomEmoji" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.CreateCustomEmojiRequest", - "name": "req" + "name": "req", + "type": "chatpb.CreateCustomEmojiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.CustomEmoji", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "CreateCustomEmoji", - "fullName": "google.chat.v1.ChatService.CreateCustomEmoji", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "CreateCustomEmoji" }, + "description": "CreateCustomEmoji creates a custom emoji.\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis`", + "file": "Client/CreateCustomEmoji/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_CreateCustomEmoji_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat CreateCustomEmoji Sample" }, { - "regionTag": "chat_v1_generated_ChatService_CreateMembership_sync", - "title": "chat CreateMembership Sample", - "description": "CreateMembership creates a membership for the calling Chat app, a user, or a Google Group.\nCreating memberships for other Chat apps isn't supported.\nWhen creating a membership, if the specified member has their auto-accept\npolicy turned off, then they're invited, and must accept the space\ninvitation before joining. Otherwise, creating a membership adds the member\ndirectly to the specified space.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand the authorization scope: \n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.memberships.app` (to add the\ncalling app to the space)\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships`\n\nApp authentication is not supported for the following use cases: \n\n- Inviting users external to the Workspace organization that owns the\nspace.\n- Adding a Google Group to a space.\n- Adding a Chat app to a space.\n\nFor example usage, see: \n\n- [Invite or add a user to a\nspace](https: //developers.google.com/workspace/chat/create-members#create-user-membership).\n- [Invite or add a Google Group to a\nspace](https: //developers.google.com/workspace/chat/create-members#create-group-membership).\n- [Add the Chat app to a\nspace](https: //developers.google.com/workspace/chat/create-members#create-membership-calling-api).", - "file": "Client/CreateMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMembership", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.CreateMembership", + "method": { + "fullName": "google.chat.v1.ChatService.CreateMembership", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "CreateMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.CreateMembershipRequest", - "name": "req" + "name": "req", + "type": "chatpb.CreateMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Membership", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "CreateMembership", - "fullName": "google.chat.v1.ChatService.CreateMembership", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "CreateMembership" }, + "description": "CreateMembership creates a membership for the calling Chat app, a user, or a Google Group.\nCreating memberships for other Chat apps isn't supported.\nWhen creating a membership, if the specified member has their auto-accept\npolicy turned off, then they're invited, and must accept the space\ninvitation before joining. Otherwise, creating a membership adds the member\ndirectly to the specified space.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand the authorization scope: \n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.memberships.app` (to add the\ncalling app to the space)\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships`\n\nApp authentication is not supported for the following use cases: \n\n- Inviting users external to the Workspace organization that owns the\nspace.\n- Adding a Google Group to a space.\n- Adding a Chat app to a space.\n\nFor example usage, see: \n\n- [Invite or add a user to a\nspace](https: //developers.google.com/workspace/chat/create-members#create-user-membership).\n- [Invite or add a Google Group to a\nspace](https: //developers.google.com/workspace/chat/create-members#create-group-membership).\n- [Add the Chat app to a\nspace](https: //developers.google.com/workspace/chat/create-members#create-membership-calling-api).", + "file": "Client/CreateMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_CreateMembership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat CreateMembership Sample" }, { - "regionTag": "chat_v1_generated_ChatService_CreateMessage_sync", - "title": "chat CreateMessage Sample", - "description": "CreateMessage creates a message in a Google Chat space. For an example, see [Send a\nmessage](https: //developers.google.com/workspace/chat/create-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages.create`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nChat attributes the message sender differently depending on the type of\nauthentication that you use in your request.\n\nThe following image shows how Chat attributes a message when you use app\nauthentication. Chat displays the Chat app as the message\nsender. The content of the message can contain text (`text`), cards\n(`cardsV2`), and accessory widgets (`accessoryWidgets`).\n\n![Message sent with app\nauthentication](https: //developers.google.com/workspace/chat/images/message-app-auth.svg)\n\nThe following image shows how Chat attributes a message when you use user\nauthentication. Chat displays the user as the message sender and attributes\nthe Chat app to the message by displaying its name. The content of message\ncan only contain text (`text`).\n\n![Message sent with user\nauthentication](https: //developers.google.com/workspace/chat/images/message-user-auth.svg)\n\nThe maximum message size, including the message contents, is 32,000 bytes.\n\nFor\n[webhook](https: //developers.google.com/workspace/chat/quickstart/webhooks)\nrequests, the response doesn't contain the full message. The response only\npopulates the `name` and `thread.name` fields in addition to the\ninformation that was in the request.", - "file": "Client/CreateMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMessage", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.CreateMessage", + "method": { + "fullName": "google.chat.v1.ChatService.CreateMessage", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "CreateMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.CreateMessageRequest", - "name": "req" + "name": "req", + "type": "chatpb.CreateMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Message", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "CreateMessage", - "fullName": "google.chat.v1.ChatService.CreateMessage", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "CreateMessage" }, + "description": "CreateMessage creates a message in a Google Chat space. For an example, see [Send a\nmessage](https: //developers.google.com/workspace/chat/create-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages.create`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nChat attributes the message sender differently depending on the type of\nauthentication that you use in your request.\n\nThe following image shows how Chat attributes a message when you use app\nauthentication. Chat displays the Chat app as the message\nsender. The content of the message can contain text (`text`), cards\n(`cardsV2`), and accessory widgets (`accessoryWidgets`).\n\n![Message sent with app\nauthentication](https: //developers.google.com/workspace/chat/images/message-app-auth.svg)\n\nThe following image shows how Chat attributes a message when you use user\nauthentication. Chat displays the user as the message sender and attributes\nthe Chat app to the message by displaying its name. The content of message\ncan only contain text (`text`).\n\n![Message sent with user\nauthentication](https: //developers.google.com/workspace/chat/images/message-user-auth.svg)\n\nThe maximum message size, including the message contents, is 32,000 bytes.\n\nFor\n[webhook](https: //developers.google.com/workspace/chat/quickstart/webhooks)\nrequests, the response doesn't contain the full message. The response only\npopulates the `name` and `thread.name` fields in addition to the\ninformation that was in the request.", + "file": "Client/CreateMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_CreateMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat CreateMessage Sample" }, { - "regionTag": "chat_v1_generated_ChatService_CreateReaction_sync", - "title": "chat CreateReaction Sample", - "description": "CreateReaction creates a reaction and adds it to a message. For an example, see\n[Add a reaction to a\nmessage](https: //developers.google.com/workspace/chat/create-reactions).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.reactions.create`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces only)", - "file": "Client/CreateReaction/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReaction", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.CreateReaction", + "method": { + "fullName": "google.chat.v1.ChatService.CreateReaction", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "CreateReaction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.CreateReactionRequest", - "name": "req" + "name": "req", + "type": "chatpb.CreateReactionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Reaction", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "CreateReaction", - "fullName": "google.chat.v1.ChatService.CreateReaction", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "CreateReaction" }, + "description": "CreateReaction creates a reaction and adds it to a message. For an example, see\n[Add a reaction to a\nmessage](https: //developers.google.com/workspace/chat/create-reactions).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.reactions.create`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces only)", + "file": "Client/CreateReaction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_CreateReaction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat CreateReaction Sample" }, { - "regionTag": "chat_v1_generated_ChatService_CreateSpace_sync", - "title": "chat CreateSpace Sample", - "description": "CreateSpace creates a space. Can be used to create a named space, or a\ngroup chat in `Import mode`. For an example, see [Create a\nspace](https: //developers.google.com/workspace/chat/create-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces.create`\n- `https: //www.googleapis.com/auth/chat.app.spaces`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.create`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nWhen authenticating as an app, the `space.customer` field must be set in\nthe request.\n\nWhen authenticating as an app, the Chat app is added as a member of the\nspace. However, unlike human authentication, the Chat app is not added as a\nspace manager. By default, the Chat app can be removed from the space by\nall space members. To allow only space managers to remove the app from a\nspace, set `space.permission_settings.manage_apps` to `managers_allowed`.\n\nSpace membership upon creation depends on whether the space is created in\n`Import mode`: \n\n* **Import mode: ** No members are created.\n* **All other modes: ** The calling user is added as a member. This is: \n* The app itself when using app authentication.\n* The human user when using user authentication.\n\nIf you receive the error message `ALREADY_EXISTS` when creating\na space, try a different `displayName`. An existing space within\nthe Google Workspace organization might already use this display name.", - "file": "Client/CreateSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpace", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.CreateSpace", + "method": { + "fullName": "google.chat.v1.ChatService.CreateSpace", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "CreateSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.CreateSpaceRequest", - "name": "req" + "name": "req", + "type": "chatpb.CreateSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Space", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "CreateSpace", - "fullName": "google.chat.v1.ChatService.CreateSpace", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "CreateSpace" }, + "description": "CreateSpace creates a space. Can be used to create a named space, or a\ngroup chat in `Import mode`. For an example, see [Create a\nspace](https: //developers.google.com/workspace/chat/create-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces.create`\n- `https: //www.googleapis.com/auth/chat.app.spaces`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.create`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nWhen authenticating as an app, the `space.customer` field must be set in\nthe request.\n\nWhen authenticating as an app, the Chat app is added as a member of the\nspace. However, unlike human authentication, the Chat app is not added as a\nspace manager. By default, the Chat app can be removed from the space by\nall space members. To allow only space managers to remove the app from a\nspace, set `space.permission_settings.manage_apps` to `managers_allowed`.\n\nSpace membership upon creation depends on whether the space is created in\n`Import mode`: \n\n* **Import mode: ** No members are created.\n* **All other modes: ** The calling user is added as a member. This is: \n* The app itself when using app authentication.\n* The human user when using user authentication.\n\nIf you receive the error message `ALREADY_EXISTS` when creating\na space, try a different `displayName`. An existing space within\nthe Google Workspace organization might already use this display name.", + "file": "Client/CreateSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_CreateSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat CreateSpace Sample" }, { - "regionTag": "chat_v1_generated_ChatService_DeleteCustomEmoji_sync", - "title": "chat DeleteCustomEmoji Sample", - "description": "DeleteCustomEmoji deletes a custom emoji. By default, users can only delete custom emoji they\ncreated. [Emoji managers](https: //support.google.com/a/answer/12850085)\nassigned by the administrator can delete any custom emoji in the\norganization. See [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149).\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis`", - "file": "Client/DeleteCustomEmoji/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomEmoji", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.DeleteCustomEmoji", + "method": { + "fullName": "google.chat.v1.ChatService.DeleteCustomEmoji", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "DeleteCustomEmoji" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.DeleteCustomEmojiRequest", - "name": "req" + "name": "req", + "type": "chatpb.DeleteCustomEmojiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "DeleteCustomEmoji", - "fullName": "google.chat.v1.ChatService.DeleteCustomEmoji", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "DeleteCustomEmoji" }, + "description": "DeleteCustomEmoji deletes a custom emoji. By default, users can only delete custom emoji they\ncreated. [Emoji managers](https: //support.google.com/a/answer/12850085)\nassigned by the administrator can delete any custom emoji in the\norganization. See [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149).\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis`", + "file": "Client/DeleteCustomEmoji/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_DeleteCustomEmoji_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat DeleteCustomEmoji Sample" }, { - "regionTag": "chat_v1_generated_ChatService_DeleteMembership_sync", - "title": "chat DeleteMembership Sample", - "description": "DeleteMembership deletes a membership. For an example, see\n[Remove a user or a Google Chat app from a\nspace](https: //developers.google.com/workspace/chat/delete-members).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand the authorization scope: \n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.memberships.app` (to remove\nthe calling app from the space)\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships`\n\nApp authentication is not supported for the following use cases: \n\n- Removing a Google Group from a space.\n- Removing a Chat app from a space.\n\nTo delete memberships for space managers, the requester\nmust be a space manager. If you're using [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nthe Chat app must be the space creator.", - "file": "Client/DeleteMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMembership", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.DeleteMembership", + "method": { + "fullName": "google.chat.v1.ChatService.DeleteMembership", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "DeleteMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.DeleteMembershipRequest", - "name": "req" + "name": "req", + "type": "chatpb.DeleteMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Membership", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "DeleteMembership", - "fullName": "google.chat.v1.ChatService.DeleteMembership", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "DeleteMembership" }, + "description": "DeleteMembership deletes a membership. For an example, see\n[Remove a user or a Google Chat app from a\nspace](https: //developers.google.com/workspace/chat/delete-members).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand the authorization scope: \n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.memberships.app` (to remove\nthe calling app from the space)\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships`\n\nApp authentication is not supported for the following use cases: \n\n- Removing a Google Group from a space.\n- Removing a Chat app from a space.\n\nTo delete memberships for space managers, the requester\nmust be a space manager. If you're using [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nthe Chat app must be the space creator.", + "file": "Client/DeleteMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_DeleteMembership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat DeleteMembership Sample" }, { - "regionTag": "chat_v1_generated_ChatService_DeleteMessage_sync", - "title": "chat DeleteMessage Sample", - "description": "DeleteMessage deletes a message.\nFor an example, see [Delete a\nmessage](https: //developers.google.com/workspace/chat/delete-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nWhen using app authentication, requests can only delete messages\ncreated by the calling Chat app.", - "file": "Client/DeleteMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMessage", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.DeleteMessage", + "method": { + "fullName": "google.chat.v1.ChatService.DeleteMessage", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "DeleteMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.DeleteMessageRequest", - "name": "req" + "name": "req", + "type": "chatpb.DeleteMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "DeleteMessage", - "fullName": "google.chat.v1.ChatService.DeleteMessage", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "DeleteMessage" }, + "description": "DeleteMessage deletes a message.\nFor an example, see [Delete a\nmessage](https: //developers.google.com/workspace/chat/delete-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nWhen using app authentication, requests can only delete messages\ncreated by the calling Chat app.", + "file": "Client/DeleteMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_DeleteMessage_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat DeleteMessage Sample" }, { - "regionTag": "chat_v1_generated_ChatService_DeleteReaction_sync", - "title": "chat DeleteReaction Sample", - "description": "DeleteReaction deletes a reaction to a message. For an example, see\n[Delete a\nreaction](https: //developers.google.com/workspace/chat/delete-reactions).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces only)", - "file": "Client/DeleteReaction/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReaction", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.DeleteReaction", + "method": { + "fullName": "google.chat.v1.ChatService.DeleteReaction", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "DeleteReaction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.DeleteReactionRequest", - "name": "req" + "name": "req", + "type": "chatpb.DeleteReactionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "DeleteReaction", - "fullName": "google.chat.v1.ChatService.DeleteReaction", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "DeleteReaction" }, + "description": "DeleteReaction deletes a reaction to a message. For an example, see\n[Delete a\nreaction](https: //developers.google.com/workspace/chat/delete-reactions).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces only)", + "file": "Client/DeleteReaction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_DeleteReaction_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat DeleteReaction Sample" }, { - "regionTag": "chat_v1_generated_ChatService_DeleteSpace_sync", - "title": "chat DeleteSpace Sample", - "description": "DeleteSpace deletes a named space. Always performs a cascading delete, which means\nthat the space's child resources—like messages posted in the space and\nmemberships in the space—are also deleted. For an example, see\n[Delete a\nspace](https: //developers.google.com/workspace/chat/delete-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) and the\nauthorization scope: \n- `https: //www.googleapis.com/auth/chat.app.delete` (only in\nspaces the app created)\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.delete`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.delete`", - "file": "Client/DeleteSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpace", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.DeleteSpace", + "method": { + "fullName": "google.chat.v1.ChatService.DeleteSpace", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "DeleteSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.DeleteSpaceRequest", - "name": "req" + "name": "req", + "type": "chatpb.DeleteSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "DeleteSpace", - "fullName": "google.chat.v1.ChatService.DeleteSpace", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "DeleteSpace" }, + "description": "DeleteSpace deletes a named space. Always performs a cascading delete, which means\nthat the space's child resources—like messages posted in the space and\nmemberships in the space—are also deleted. For an example, see\n[Delete a\nspace](https: //developers.google.com/workspace/chat/delete-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) and the\nauthorization scope: \n- `https: //www.googleapis.com/auth/chat.app.delete` (only in\nspaces the app created)\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.delete`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.delete`", + "file": "Client/DeleteSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_DeleteSpace_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat DeleteSpace Sample" }, { - "regionTag": "chat_v1_generated_ChatService_FindDirectMessage_sync", - "title": "chat FindDirectMessage Sample", - "description": "FindDirectMessage returns the existing direct message with the specified user. If no direct\nmessage space is found, returns a `404 NOT_FOUND` error. For an example,\nsee\n[Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).\n\nWith [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app),\nreturns the direct message space between the specified user and the calling\nChat app.\n\nWith [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user),\nreturns the direct message space between the specified user and the\nauthenticated user.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`", - "file": "Client/FindDirectMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "FindDirectMessage", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.FindDirectMessage", + "method": { + "fullName": "google.chat.v1.ChatService.FindDirectMessage", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "FindDirectMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.FindDirectMessageRequest", - "name": "req" + "name": "req", + "type": "chatpb.FindDirectMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Space", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "FindDirectMessage", - "fullName": "google.chat.v1.ChatService.FindDirectMessage", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "FindDirectMessage" }, + "description": "FindDirectMessage returns the existing direct message with the specified user. If no direct\nmessage space is found, returns a `404 NOT_FOUND` error. For an example,\nsee\n[Find a direct message](/chat/api/guides/v1/spaces/find-direct-message).\n\nWith [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app),\nreturns the direct message space between the specified user and the calling\nChat app.\n\nWith [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user),\nreturns the direct message space between the specified user and the\nauthenticated user.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`", + "file": "Client/FindDirectMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_FindDirectMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat FindDirectMessage Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetAttachment_sync", - "title": "chat GetAttachment Sample", - "description": "GetAttachment gets the metadata of a message attachment. The attachment data is fetched\nusing the [media\nAPI](https: //developers.google.com/workspace/chat/api/reference/rest/v1/media/download).\nFor an example, see\n[Get metadata about a message\nattachment](https: //developers.google.com/workspace/chat/get-media-attachments).\n\nRequires [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.bot`", - "file": "Client/GetAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttachment", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetAttachment", + "method": { + "fullName": "google.chat.v1.ChatService.GetAttachment", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetAttachmentRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Attachment", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetAttachment", - "fullName": "google.chat.v1.ChatService.GetAttachment", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetAttachment" }, + "description": "GetAttachment gets the metadata of a message attachment. The attachment data is fetched\nusing the [media\nAPI](https: //developers.google.com/workspace/chat/api/reference/rest/v1/media/download).\nFor an example, see\n[Get metadata about a message\nattachment](https: //developers.google.com/workspace/chat/get-media-attachments).\n\nRequires [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.bot`", + "file": "Client/GetAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetAttachment Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetCustomEmoji_sync", - "title": "chat GetCustomEmoji Sample", - "description": "GetCustomEmoji returns details about a custom emoji.\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis.readonly`\n- `https: //www.googleapis.com/auth/chat.customemojis`", - "file": "Client/GetCustomEmoji/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomEmoji", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetCustomEmoji", + "method": { + "fullName": "google.chat.v1.ChatService.GetCustomEmoji", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetCustomEmoji" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetCustomEmojiRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetCustomEmojiRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.CustomEmoji", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetCustomEmoji", - "fullName": "google.chat.v1.ChatService.GetCustomEmoji", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetCustomEmoji" }, + "description": "GetCustomEmoji returns details about a custom emoji.\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis.readonly`\n- `https: //www.googleapis.com/auth/chat.customemojis`", + "file": "Client/GetCustomEmoji/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetCustomEmoji_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetCustomEmoji Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetMembership_sync", - "title": "chat GetMembership Sample", - "description": "GetMembership returns details about a membership. For an example, see\n[Get details about a user's or Google Chat app's\nmembership](https: //developers.google.com/workspace/chat/get-members).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`\n- `https: //www.googleapis.com/auth/chat.app.memberships` (requires\n[administrator approval](https: //support.google.com/a?p=chat-app-auth))\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\none of the following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.memberships`", - "file": "Client/GetMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMembership", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetMembership", + "method": { + "fullName": "google.chat.v1.ChatService.GetMembership", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetMembershipRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Membership", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetMembership", - "fullName": "google.chat.v1.ChatService.GetMembership", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetMembership" }, + "description": "GetMembership returns details about a membership. For an example, see\n[Get details about a user's or Google Chat app's\nmembership](https: //developers.google.com/workspace/chat/get-members).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`\n- `https: //www.googleapis.com/auth/chat.app.memberships` (requires\n[administrator approval](https: //support.google.com/a?p=chat-app-auth))\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\none of the following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.memberships`", + "file": "Client/GetMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetMembership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetMembership Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetMessage_sync", - "title": "chat GetMessage Sample", - "description": "GetMessage returns details about a message.\nFor an example, see [Get details about a\nmessage](https: //developers.google.com/workspace/chat/get-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`: When using this\nauthorization scope, this method returns details about a message the\nChat app has access to, like direct messages and [slash\ncommands](https: //developers.google.com/workspace/chat/slash-commands)\nthat invoke the Chat app.\n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) (available in\n[Developer Preview](https: //developers.google.com/workspace/preview)).\nWhen using this authentication scope,\nthis method returns details about a public message in a space.\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n\nNote: Might return a message from a blocked member or space.", - "file": "Client/GetMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMessage", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetMessage", + "method": { + "fullName": "google.chat.v1.ChatService.GetMessage", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetMessageRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Message", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetMessage", - "fullName": "google.chat.v1.ChatService.GetMessage", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetMessage" }, + "description": "GetMessage returns details about a message.\nFor an example, see [Get details about a\nmessage](https: //developers.google.com/workspace/chat/get-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`: When using this\nauthorization scope, this method returns details about a message the\nChat app has access to, like direct messages and [slash\ncommands](https: //developers.google.com/workspace/chat/slash-commands)\nthat invoke the Chat app.\n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) (available in\n[Developer Preview](https: //developers.google.com/workspace/preview)).\nWhen using this authentication scope,\nthis method returns details about a public message in a space.\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n\nNote: Might return a message from a blocked member or space.", + "file": "Client/GetMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetMessage Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetSpace_sync", - "title": "chat GetSpace Sample", - "description": "GetSpace returns details about a space. For an example, see\n[Get details about a\nspace](https: //developers.google.com/workspace/chat/get-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`\n- `https: //www.googleapis.com/auth/chat.app.spaces` with [administrator\napproval](https: //support.google.com/a?p=chat-app-auth)\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\none of the following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.spaces`\n\nApp authentication has the following limitations: \n\n- `space.access_settings` is only populated when using the\n`chat.app.spaces` scope.\n- `space.predefind_permission_settings` and `space.permission_settings` are\nonly populated when using the `chat.app.spaces` scope, and only for\nspaces the app created.", - "file": "Client/GetSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpace", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetSpace", + "method": { + "fullName": "google.chat.v1.ChatService.GetSpace", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetSpaceRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Space", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetSpace", - "fullName": "google.chat.v1.ChatService.GetSpace", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetSpace" }, + "description": "GetSpace returns details about a space. For an example, see\n[Get details about a\nspace](https: //developers.google.com/workspace/chat/get-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`\n- `https: //www.googleapis.com/auth/chat.app.spaces` with [administrator\napproval](https: //support.google.com/a?p=chat-app-auth)\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\none of the following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.spaces`\n\nApp authentication has the following limitations: \n\n- `space.access_settings` is only populated when using the\n`chat.app.spaces` scope.\n- `space.predefind_permission_settings` and `space.permission_settings` are\nonly populated when using the `chat.app.spaces` scope, and only for\nspaces the app created.", + "file": "Client/GetSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetSpace Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetSpaceEvent_sync", - "title": "chat GetSpaceEvent Sample", - "description": "GetSpaceEvent returns an event from a Google Chat space. The [event\npayload](https: //developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload)\ncontains the most recent version of the resource that changed. For example,\nif you request an event about a new message but the message was later\nupdated, the server returns the updated `Message` resource in the event\npayload.\n\nNote: The `permissionSettings` field is not returned in the Space\nobject of the Space event data for this request.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize)\nwith an\n[authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)\nappropriate for reading the requested data: \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) in\n[Developer Preview](https: //developers.google.com/workspace/preview)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces`\n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.messages.reactions.readonly`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n\nTo get an event, the authenticated caller must be a member of the space.\n\nFor an example, see [Get details about an\nevent from a Google Chat\nspace](https: //developers.google.com/workspace/chat/get-space-event).", - "file": "Client/GetSpaceEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpaceEvent", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetSpaceEvent", + "method": { + "fullName": "google.chat.v1.ChatService.GetSpaceEvent", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetSpaceEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetSpaceEventRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetSpaceEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.SpaceEvent", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetSpaceEvent", - "fullName": "google.chat.v1.ChatService.GetSpaceEvent", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetSpaceEvent" }, + "description": "GetSpaceEvent returns an event from a Google Chat space. The [event\npayload](https: //developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload)\ncontains the most recent version of the resource that changed. For example,\nif you request an event about a new message but the message was later\nupdated, the server returns the updated `Message` resource in the event\npayload.\n\nNote: The `permissionSettings` field is not returned in the Space\nobject of the Space event data for this request.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize)\nwith an\n[authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)\nappropriate for reading the requested data: \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) in\n[Developer Preview](https: //developers.google.com/workspace/preview)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces`\n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.messages.reactions.readonly`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n\nTo get an event, the authenticated caller must be a member of the space.\n\nFor an example, see [Get details about an\nevent from a Google Chat\nspace](https: //developers.google.com/workspace/chat/get-space-event).", + "file": "Client/GetSpaceEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetSpaceEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetSpaceEvent Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetSpaceNotificationSetting_sync", - "title": "chat GetSpaceNotificationSetting Sample", - "description": "GetSpaceNotificationSetting gets the space notification setting. For an example, see [Get the\ncaller's space notification\nsetting](https: //developers.google.com/workspace/chat/get-space-notification-setting).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.spacesettings`", - "file": "Client/GetSpaceNotificationSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpaceNotificationSetting", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetSpaceNotificationSetting", + "method": { + "fullName": "google.chat.v1.ChatService.GetSpaceNotificationSetting", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetSpaceNotificationSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetSpaceNotificationSettingRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetSpaceNotificationSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.SpaceNotificationSetting", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetSpaceNotificationSetting", - "fullName": "google.chat.v1.ChatService.GetSpaceNotificationSetting", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetSpaceNotificationSetting" }, + "description": "GetSpaceNotificationSetting gets the space notification setting. For an example, see [Get the\ncaller's space notification\nsetting](https: //developers.google.com/workspace/chat/get-space-notification-setting).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.spacesettings`", + "file": "Client/GetSpaceNotificationSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetSpaceNotificationSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetSpaceNotificationSetting Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetSpaceReadState_sync", - "title": "chat GetSpaceReadState Sample", - "description": "GetSpaceReadState returns details about a user's read state within a space, used to identify\nread and unread messages. For an example, see [Get details about a user's\nspace read\nstate](https: //developers.google.com/workspace/chat/get-space-read-state).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.readstate.readonly`\n- `https: //www.googleapis.com/auth/chat.users.readstate`", - "file": "Client/GetSpaceReadState/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpaceReadState", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetSpaceReadState", + "method": { + "fullName": "google.chat.v1.ChatService.GetSpaceReadState", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetSpaceReadState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetSpaceReadStateRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetSpaceReadStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.SpaceReadState", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetSpaceReadState", - "fullName": "google.chat.v1.ChatService.GetSpaceReadState", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetSpaceReadState" }, + "description": "GetSpaceReadState returns details about a user's read state within a space, used to identify\nread and unread messages. For an example, see [Get details about a user's\nspace read\nstate](https: //developers.google.com/workspace/chat/get-space-read-state).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.readstate.readonly`\n- `https: //www.googleapis.com/auth/chat.users.readstate`", + "file": "Client/GetSpaceReadState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetSpaceReadState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetSpaceReadState Sample" }, { - "regionTag": "chat_v1_generated_ChatService_GetThreadReadState_sync", - "title": "chat GetThreadReadState Sample", - "description": "GetThreadReadState returns details about a user's read state within a thread, used to identify\nread and unread messages. For an example, see [Get details about a user's\nthread read\nstate](https: //developers.google.com/workspace/chat/get-thread-read-state).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.readstate.readonly`\n- `https: //www.googleapis.com/auth/chat.users.readstate`", - "file": "Client/GetThreadReadState/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetThreadReadState", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.GetThreadReadState", + "method": { + "fullName": "google.chat.v1.ChatService.GetThreadReadState", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "GetThreadReadState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.GetThreadReadStateRequest", - "name": "req" + "name": "req", + "type": "chatpb.GetThreadReadStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.ThreadReadState", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "GetThreadReadState", - "fullName": "google.chat.v1.ChatService.GetThreadReadState", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "GetThreadReadState" }, + "description": "GetThreadReadState returns details about a user's read state within a thread, used to identify\nread and unread messages. For an example, see [Get details about a user's\nthread read\nstate](https: //developers.google.com/workspace/chat/get-thread-read-state).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.readstate.readonly`\n- `https: //www.googleapis.com/auth/chat.users.readstate`", + "file": "Client/GetThreadReadState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_GetThreadReadState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat GetThreadReadState Sample" }, { - "regionTag": "chat_v1_generated_ChatService_ListCustomEmojis_sync", - "title": "chat ListCustomEmojis Sample", - "description": "ListCustomEmojis lists custom emojis visible to the authenticated user.\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis.readonly`\n- `https: //www.googleapis.com/auth/chat.customemojis`", - "file": "Client/ListCustomEmojis/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomEmojis", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.ListCustomEmojis", + "method": { + "fullName": "google.chat.v1.ChatService.ListCustomEmojis", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "ListCustomEmojis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.ListCustomEmojisRequest", - "name": "req" + "name": "req", + "type": "chatpb.ListCustomEmojisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomEmojiIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "ListCustomEmojis", - "fullName": "google.chat.v1.ChatService.ListCustomEmojis", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "ListCustomEmojis" }, + "description": "ListCustomEmojis lists custom emojis visible to the authenticated user.\n\nCustom emojis are only available for Google Workspace accounts, and the\nadministrator must turn custom emojis on for the organization. For more\ninformation, see [Learn about custom emojis in Google\nChat](https: //support.google.com/chat/answer/12800149) and\n[Manage custom emoji\npermissions](https: //support.google.com/a/answer/12850085).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.customemojis.readonly`\n- `https: //www.googleapis.com/auth/chat.customemojis`", + "file": "Client/ListCustomEmojis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_ListCustomEmojis_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat ListCustomEmojis Sample" }, { - "regionTag": "chat_v1_generated_ChatService_ListMemberships_sync", - "title": "chat ListMemberships Sample", - "description": "ListMemberships lists memberships in a space. For an example, see [List users and Google\nChat apps in a\nspace](https: //developers.google.com/workspace/chat/list-members). Listing\nmemberships with [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nlists memberships in spaces that the Chat app has\naccess to, but excludes Chat app memberships,\nincluding its own. Listing memberships with\n[User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nlists memberships in spaces that the authenticated user has access to.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`\n- `https: //www.googleapis.com/auth/chat.app.memberships` (requires\n[administrator approval](https: //support.google.com/a?p=chat-app-auth))\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\none of the following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.memberships`", - "file": "Client/ListMemberships/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMemberships", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.ListMemberships", + "method": { + "fullName": "google.chat.v1.ChatService.ListMemberships", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "ListMemberships" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.ListMembershipsRequest", - "name": "req" + "name": "req", + "type": "chatpb.ListMembershipsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MembershipIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "ListMemberships", - "fullName": "google.chat.v1.ChatService.ListMemberships", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "ListMemberships" }, + "description": "ListMemberships lists memberships in a space. For an example, see [List users and Google\nChat apps in a\nspace](https: //developers.google.com/workspace/chat/list-members). Listing\nmemberships with [app\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nlists memberships in spaces that the Chat app has\naccess to, but excludes Chat app memberships,\nincluding its own. Listing memberships with\n[User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nlists memberships in spaces that the authenticated user has access to.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.bot`\n- `https: //www.googleapis.com/auth/chat.app.memberships` (requires\n[administrator approval](https: //support.google.com/a?p=chat-app-auth))\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\none of the following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.memberships`", + "file": "Client/ListMemberships/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_ListMemberships_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat ListMemberships Sample" }, { - "regionTag": "chat_v1_generated_ChatService_ListMessages_sync", - "title": "chat ListMessages Sample", - "description": "ListMessages lists messages in a space that the caller is a member of, including\nmessages from blocked members and spaces. System messages, like those\nannouncing new space members, aren't included. If you list messages from a\nspace with no messages, the response is an empty object. When using a\nREST/HTTP interface, the response contains an empty JSON object, `{}`.\nFor an example, see\n[List\nmessages](https: //developers.google.com/workspace/chat/api/guides/v1/messages/list).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) in\n[Developer Preview](https: //developers.google.com/workspace/preview)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`. When\nusing this authentication scope, this method only returns public\nmessages in a space. It doesn't include private messages.\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)", - "file": "Client/ListMessages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMessages", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.ListMessages", + "method": { + "fullName": "google.chat.v1.ChatService.ListMessages", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "ListMessages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.ListMessagesRequest", - "name": "req" + "name": "req", + "type": "chatpb.ListMessagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MessageIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "ListMessages", - "fullName": "google.chat.v1.ChatService.ListMessages", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "ListMessages" }, + "description": "ListMessages lists messages in a space that the caller is a member of, including\nmessages from blocked members and spaces. System messages, like those\nannouncing new space members, aren't included. If you list messages from a\nspace with no messages, the response is an empty object. When using a\nREST/HTTP interface, the response contains an empty JSON object, `{}`.\nFor an example, see\n[List\nmessages](https: //developers.google.com/workspace/chat/api/guides/v1/messages/list).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) in\n[Developer Preview](https: //developers.google.com/workspace/preview)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`. When\nusing this authentication scope, this method only returns public\nmessages in a space. It doesn't include private messages.\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)", + "file": "Client/ListMessages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_ListMessages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat ListMessages Sample" }, { - "regionTag": "chat_v1_generated_ChatService_ListReactions_sync", - "title": "chat ListReactions Sample", - "description": "ListReactions lists reactions to a message. For an example, see\n[List reactions for a\nmessage](https: //developers.google.com/workspace/chat/list-reactions).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.reactions.readonly`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`", - "file": "Client/ListReactions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReactions", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.ListReactions", + "method": { + "fullName": "google.chat.v1.ChatService.ListReactions", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "ListReactions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.ListReactionsRequest", - "name": "req" + "name": "req", + "type": "chatpb.ListReactionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReactionIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "ListReactions", - "fullName": "google.chat.v1.ChatService.ListReactions", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "ListReactions" }, + "description": "ListReactions lists reactions to a message. For an example, see\n[List reactions for a\nmessage](https: //developers.google.com/workspace/chat/list-reactions).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.reactions.readonly`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`", + "file": "Client/ListReactions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_ListReactions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat ListReactions Sample" }, { - "regionTag": "chat_v1_generated_ChatService_ListSpaceEvents_sync", - "title": "chat ListSpaceEvents Sample", - "description": "ListSpaceEvents lists events from a Google Chat space. For each event, the\n[payload](https: //developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload)\ncontains the most recent version of the Chat resource. For example, if you\nlist events about new space members, the server returns `Membership`\nresources that contain the latest membership details. If new members were\nremoved during the requested period, the event payload contains an empty\n`Membership` resource.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize)\nwith an\n[authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)\nappropriate for reading the requested data: \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) in\n[Developer Preview](https: //developers.google.com/workspace/preview)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces`\n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.messages.reactions.readonly`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n\nTo list events, the authenticated caller must be a member of the space.\n\nFor an example, see [List events from a Google Chat\nspace](https: //developers.google.com/workspace/chat/list-space-events).", - "file": "Client/ListSpaceEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpaceEvents", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.ListSpaceEvents", + "method": { + "fullName": "google.chat.v1.ChatService.ListSpaceEvents", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "ListSpaceEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.ListSpaceEventsRequest", - "name": "req" + "name": "req", + "type": "chatpb.ListSpaceEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpaceEventIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "ListSpaceEvents", - "fullName": "google.chat.v1.ChatService.ListSpaceEvents", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "ListSpaceEvents" }, + "description": "ListSpaceEvents lists events from a Google Chat space. For each event, the\n[payload](https: //developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload)\ncontains the most recent version of the Chat resource. For example, if you\nlist events about new space members, the server returns `Membership`\nresources that contain the latest membership details. If new members were\nremoved during the requested period, the event payload contains an empty\n`Membership` resource.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize)\nwith an\n[authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)\nappropriate for reading the requested data: \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) in\n[Developer Preview](https: //developers.google.com/workspace/preview)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces`\n- `https: //www.googleapis.com/auth/chat.app.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.app.memberships`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.messages.readonly`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.messages.reactions.readonly`\n- `https: //www.googleapis.com/auth/chat.messages.reactions`\n- `https: //www.googleapis.com/auth/chat.memberships.readonly`\n- `https: //www.googleapis.com/auth/chat.memberships`\n\nTo list events, the authenticated caller must be a member of the space.\n\nFor an example, see [List events from a Google Chat\nspace](https: //developers.google.com/workspace/chat/list-space-events).", + "file": "Client/ListSpaceEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_ListSpaceEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat ListSpaceEvents Sample" }, { - "regionTag": "chat_v1_generated_ChatService_ListSpaces_sync", - "title": "chat ListSpaces Sample", - "description": "ListSpaces lists spaces the caller is a member of. Group chats and DMs aren't listed\nuntil the first message is sent. For an example, see\n[List\nspaces](https: //developers.google.com/workspace/chat/list-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n\nTo list all named spaces by Google Workspace organization, use the\n[`spaces.search()`](https: //developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search)\nmethod using Workspace administrator privileges instead.", - "file": "Client/ListSpaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpaces", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.ListSpaces", + "method": { + "fullName": "google.chat.v1.ChatService.ListSpaces", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "ListSpaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.ListSpacesRequest", - "name": "req" + "name": "req", + "type": "chatpb.ListSpacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpaceIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "ListSpaces", - "fullName": "google.chat.v1.ChatService.ListSpaces", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "ListSpaces" }, + "description": "ListSpaces lists spaces the caller is a member of. Group chats and DMs aren't listed\nuntil the first message is sent. For an example, see\n[List\nspaces](https: //developers.google.com/workspace/chat/list-spaces).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.spaces`\n\nTo list all named spaces by Google Workspace organization, use the\n[`spaces.search()`](https: //developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search)\nmethod using Workspace administrator privileges instead.", + "file": "Client/ListSpaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_ListSpaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat ListSpaces Sample" }, { - "regionTag": "chat_v1_generated_ChatService_SearchSpaces_sync", - "title": "chat SearchSpaces Sample", - "description": "SearchSpaces returns a list of spaces in a Google Workspace organization based on an\nadministrator's search. In the request, set `use_admin_access` to `true`.\nFor an example, see [Search for and manage\nspaces](https: //developers.google.com/workspace/chat/search-manage-admin).\n\nRequires [user\nauthentication with administrator\nprivileges](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)\nand one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.admin.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.spaces`", - "file": "Client/SearchSpaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchSpaces", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.SearchSpaces", + "method": { + "fullName": "google.chat.v1.ChatService.SearchSpaces", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "SearchSpaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.SearchSpacesRequest", - "name": "req" + "name": "req", + "type": "chatpb.SearchSpacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpaceIterator", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "SearchSpaces", - "fullName": "google.chat.v1.ChatService.SearchSpaces", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "SearchSpaces" }, + "description": "SearchSpaces returns a list of spaces in a Google Workspace organization based on an\nadministrator's search. In the request, set `use_admin_access` to `true`.\nFor an example, see [Search for and manage\nspaces](https: //developers.google.com/workspace/chat/search-manage-admin).\n\nRequires [user\nauthentication with administrator\nprivileges](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)\nand one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.admin.spaces.readonly`\n- `https: //www.googleapis.com/auth/chat.admin.spaces`", + "file": "Client/SearchSpaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_SearchSpaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat SearchSpaces Sample" }, { - "regionTag": "chat_v1_generated_ChatService_SetUpSpace_sync", - "title": "chat SetUpSpace Sample", - "description": "SetUpSpace creates a space and adds specified users to it. The calling user is\nautomatically added to the space, and shouldn't be specified as a\nmembership in the request. For an example, see\n[Set up a space with initial\nmembers](https: //developers.google.com/workspace/chat/set-up-spaces).\n\nTo specify the human members to add, add memberships with the appropriate\n`membership.member.name`. To add a human user, use `users/{user}`, where\n`{user}` can be the email address for the user. For users in the same\nWorkspace organization `{user}` can also be the `id` for the person from\nthe People API, or the `id` for the user in the Directory API. For example,\nif the People API Person profile ID for `user@example.com` is `123456789`,\nyou can add the user to the space by setting the `membership.member.name`\nto `users/user@example.com` or `users/123456789`.\n\nTo specify the Google groups to add, add memberships with the\nappropriate `membership.group_member.name`. To add or invite a Google\ngroup, use `groups/{group}`, where `{group}` is the `id` for the group from\nthe Cloud Identity Groups API. For example, you can use [Cloud Identity\nGroups lookup\nAPI](https: //cloud.google.com/identity/docs/reference/rest/v1/groups/lookup)\nto retrieve the ID `123456789` for group email `group@example.com`, then\nyou can add the group to the space by setting the\n`membership.group_member.name` to `groups/123456789`. Group email is not\nsupported, and Google groups can only be added as members in named spaces.\n\nFor a named space or group chat, if the caller blocks, or is blocked\nby some members, or doesn't have permission to add some members, then\nthose members aren't added to the created space.\n\nTo create a direct message (DM) between the calling user and another human\nuser, specify exactly one membership to represent the human user. If\none user blocks the other, the request fails and the DM isn't created.\n\nTo create a DM between the calling user and the calling app, set\n`Space.singleUserBotDm` to `true` and don't specify any memberships. You\ncan only use this method to set up a DM with the calling app. To add the\ncalling app as a member of a space or an existing DM between two human\nusers, see\n[Invite or add a user or app to a\nspace](https: //developers.google.com/workspace/chat/create-members).\n\nIf a DM already exists between two users, even when one user blocks the\nother at the time a request is made, then the existing DM is returned.\n\nSpaces with threaded replies aren't supported. If you receive the error\nmessage `ALREADY_EXISTS` when setting up a space, try a different\n`displayName`. An existing space within the Google Workspace organization\nmight already use this display name.\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.spaces.create`\n- `https: //www.googleapis.com/auth/chat.spaces`", - "file": "Client/SetUpSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUpSpace", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.SetUpSpace", + "method": { + "fullName": "google.chat.v1.ChatService.SetUpSpace", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "SetUpSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.SetUpSpaceRequest", - "name": "req" + "name": "req", + "type": "chatpb.SetUpSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Space", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "SetUpSpace", - "fullName": "google.chat.v1.ChatService.SetUpSpace", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "SetUpSpace" }, + "description": "SetUpSpace creates a space and adds specified users to it. The calling user is\nautomatically added to the space, and shouldn't be specified as a\nmembership in the request. For an example, see\n[Set up a space with initial\nmembers](https: //developers.google.com/workspace/chat/set-up-spaces).\n\nTo specify the human members to add, add memberships with the appropriate\n`membership.member.name`. To add a human user, use `users/{user}`, where\n`{user}` can be the email address for the user. For users in the same\nWorkspace organization `{user}` can also be the `id` for the person from\nthe People API, or the `id` for the user in the Directory API. For example,\nif the People API Person profile ID for `user@example.com` is `123456789`,\nyou can add the user to the space by setting the `membership.member.name`\nto `users/user@example.com` or `users/123456789`.\n\nTo specify the Google groups to add, add memberships with the\nappropriate `membership.group_member.name`. To add or invite a Google\ngroup, use `groups/{group}`, where `{group}` is the `id` for the group from\nthe Cloud Identity Groups API. For example, you can use [Cloud Identity\nGroups lookup\nAPI](https: //cloud.google.com/identity/docs/reference/rest/v1/groups/lookup)\nto retrieve the ID `123456789` for group email `group@example.com`, then\nyou can add the group to the space by setting the\n`membership.group_member.name` to `groups/123456789`. Group email is not\nsupported, and Google groups can only be added as members in named spaces.\n\nFor a named space or group chat, if the caller blocks, or is blocked\nby some members, or doesn't have permission to add some members, then\nthose members aren't added to the created space.\n\nTo create a direct message (DM) between the calling user and another human\nuser, specify exactly one membership to represent the human user. If\none user blocks the other, the request fails and the DM isn't created.\n\nTo create a DM between the calling user and the calling app, set\n`Space.singleUserBotDm` to `true` and don't specify any memberships. You\ncan only use this method to set up a DM with the calling app. To add the\ncalling app as a member of a space or an existing DM between two human\nusers, see\n[Invite or add a user or app to a\nspace](https: //developers.google.com/workspace/chat/create-members).\n\nIf a DM already exists between two users, even when one user blocks the\nother at the time a request is made, then the existing DM is returned.\n\nSpaces with threaded replies aren't supported. If you receive the error\nmessage `ALREADY_EXISTS` when setting up a space, try a different\n`displayName`. An existing space within the Google Workspace organization\nmight already use this display name.\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.spaces.create`\n- `https: //www.googleapis.com/auth/chat.spaces`", + "file": "Client/SetUpSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_SetUpSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat SetUpSpace Sample" }, { - "regionTag": "chat_v1_generated_ChatService_UpdateMembership_sync", - "title": "chat UpdateMembership Sample", - "description": "UpdateMembership updates a membership. For an example, see [Update a user's membership in\na space](https: //developers.google.com/workspace/chat/update-members).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) and the\nauthorization scope: \n- `https: //www.googleapis.com/auth/chat.app.memberships` (only in\nspaces the app created)\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships`", - "file": "Client/UpdateMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMembership", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.UpdateMembership", + "method": { + "fullName": "google.chat.v1.ChatService.UpdateMembership", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "UpdateMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.UpdateMembershipRequest", - "name": "req" + "name": "req", + "type": "chatpb.UpdateMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Membership", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "UpdateMembership", - "fullName": "google.chat.v1.ChatService.UpdateMembership", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "UpdateMembership" }, + "description": "UpdateMembership updates a membership. For an example, see [Update a user's membership in\na space](https: //developers.google.com/workspace/chat/update-members).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator\napproval](https: //support.google.com/a?p=chat-app-auth) and the\nauthorization scope: \n- `https: //www.googleapis.com/auth/chat.app.memberships` (only in\nspaces the app created)\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.memberships`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scope is used: \n- `https: //www.googleapis.com/auth/chat.admin.memberships`", + "file": "Client/UpdateMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_UpdateMembership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat UpdateMembership Sample" }, { - "regionTag": "chat_v1_generated_ChatService_UpdateMessage_sync", - "title": "chat UpdateMessage Sample", - "description": "UpdateMessage updates a message. There's a difference between the `patch` and `update`\nmethods. The `patch`\nmethod uses a `patch` request while the `update` method uses a `put`\nrequest. We recommend using the `patch` method. For an example, see\n[Update a\nmessage](https: //developers.google.com/workspace/chat/update-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nWhen using app authentication, requests can only update messages\ncreated by the calling Chat app.", - "file": "Client/UpdateMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMessage", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.UpdateMessage", + "method": { + "fullName": "google.chat.v1.ChatService.UpdateMessage", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "UpdateMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.UpdateMessageRequest", - "name": "req" + "name": "req", + "type": "chatpb.UpdateMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Message", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "UpdateMessage", - "fullName": "google.chat.v1.ChatService.UpdateMessage", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "UpdateMessage" }, + "description": "UpdateMessage updates a message. There's a difference between the `patch` and `update`\nmethods. The `patch`\nmethod uses a `patch` request while the `update` method uses a `put`\nrequest. We recommend using the `patch` method. For an example, see\n[Update a\nmessage](https: //developers.google.com/workspace/chat/update-messages).\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith the authorization scope: \n- `https: //www.googleapis.com/auth/chat.bot`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n\nWhen using app authentication, requests can only update messages\ncreated by the calling Chat app.", + "file": "Client/UpdateMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_UpdateMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat UpdateMessage Sample" }, { - "regionTag": "chat_v1_generated_ChatService_UpdateSpace_sync", - "title": "chat UpdateSpace Sample", - "description": "UpdateSpace updates a space. For an example, see\n[Update a\nspace](https: //developers.google.com/workspace/chat/update-spaces).\n\nIf you're updating the `displayName` field and receive the error message\n`ALREADY_EXISTS`, try a different display name.. An existing space within\nthe Google Workspace organization might already use this display name.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.spaces`\n\nApp authentication has the following limitations: \n\n- To update either `space.predefined_permission_settings` or\n`space.permission_settings`, the app must be the space creator.\n- Updating the `space.access_settings.audience` is not supported for app\nauthentication.", - "file": "Client/UpdateSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpace", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.UpdateSpace", + "method": { + "fullName": "google.chat.v1.ChatService.UpdateSpace", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "UpdateSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.UpdateSpaceRequest", - "name": "req" + "name": "req", + "type": "chatpb.UpdateSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.Space", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "UpdateSpace", - "fullName": "google.chat.v1.ChatService.UpdateSpace", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "UpdateSpace" }, + "description": "UpdateSpace updates a space. For an example, see\n[Update a\nspace](https: //developers.google.com/workspace/chat/update-spaces).\n\nIf you're updating the `displayName` field and receive the error message\n`ALREADY_EXISTS`, try a different display name.. An existing space within\nthe Google Workspace organization might already use this display name.\n\nSupports the following types of\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize): \n\n- [App\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-app)\nwith [administrator approval](https: //support.google.com/a?p=chat-app-auth)\nand one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.app.spaces`\n\n- [User\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following authorization scopes: \n- `https: //www.googleapis.com/auth/chat.spaces`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces\nonly)\n- User authentication grants administrator privileges when an\nadministrator account authenticates, `use_admin_access` is `true`, and\nthe following authorization scopes is used: \n- `https: //www.googleapis.com/auth/chat.admin.spaces`\n\nApp authentication has the following limitations: \n\n- To update either `space.predefined_permission_settings` or\n`space.permission_settings`, the app must be the space creator.\n- Updating the `space.access_settings.audience` is not supported for app\nauthentication.", + "file": "Client/UpdateSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_UpdateSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat UpdateSpace Sample" }, { - "regionTag": "chat_v1_generated_ChatService_UpdateSpaceNotificationSetting_sync", - "title": "chat UpdateSpaceNotificationSetting Sample", - "description": "UpdateSpaceNotificationSetting updates the space notification setting. For an example, see [Update\nthe caller's space notification\nsetting](https: //developers.google.com/workspace/chat/update-space-notification-setting).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.spacesettings`", - "file": "Client/UpdateSpaceNotificationSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpaceNotificationSetting", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.UpdateSpaceNotificationSetting", + "method": { + "fullName": "google.chat.v1.ChatService.UpdateSpaceNotificationSetting", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "UpdateSpaceNotificationSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.UpdateSpaceNotificationSettingRequest", - "name": "req" + "name": "req", + "type": "chatpb.UpdateSpaceNotificationSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.SpaceNotificationSetting", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "UpdateSpaceNotificationSetting", - "fullName": "google.chat.v1.ChatService.UpdateSpaceNotificationSetting", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "UpdateSpaceNotificationSetting" }, + "description": "UpdateSpaceNotificationSetting updates the space notification setting. For an example, see [Update\nthe caller's space notification\nsetting](https: //developers.google.com/workspace/chat/update-space-notification-setting).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.spacesettings`", + "file": "Client/UpdateSpaceNotificationSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_UpdateSpaceNotificationSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat UpdateSpaceNotificationSetting Sample" }, { - "regionTag": "chat_v1_generated_ChatService_UpdateSpaceReadState_sync", - "title": "chat UpdateSpaceReadState Sample", - "description": "UpdateSpaceReadState updates a user's read state within a space, used to identify read and\nunread messages. For an example, see [Update a user's space read\nstate](https: //developers.google.com/workspace/chat/update-space-read-state).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.readstate`", - "file": "Client/UpdateSpaceReadState/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpaceReadState", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.UpdateSpaceReadState", + "method": { + "fullName": "google.chat.v1.ChatService.UpdateSpaceReadState", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "UpdateSpaceReadState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.UpdateSpaceReadStateRequest", - "name": "req" + "name": "req", + "type": "chatpb.UpdateSpaceReadStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.SpaceReadState", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "UpdateSpaceReadState", - "fullName": "google.chat.v1.ChatService.UpdateSpaceReadState", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "UpdateSpaceReadState" }, + "description": "UpdateSpaceReadState updates a user's read state within a space, used to identify read and\nunread messages. For an example, see [Update a user's space read\nstate](https: //developers.google.com/workspace/chat/update-space-read-state).\n\nRequires [user\nauthentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith the [authorization\nscope](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.users.readstate`", + "file": "Client/UpdateSpaceReadState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_UpdateSpaceReadState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat UpdateSpaceReadState Sample" }, { - "regionTag": "chat_v1_generated_ChatService_UploadAttachment_sync", - "title": "chat UploadAttachment Sample", - "description": "UploadAttachment uploads an attachment. For an example, see\n[Upload media as a file\nattachment](https: //developers.google.com/workspace/chat/upload-media-attachments).\n\nRequires user\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.create`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces only)\n\nYou can upload attachments up to 200 MB. Certain file types aren't\nsupported. For details, see [File types blocked by Google\nChat](https: //support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).", - "file": "Client/UploadAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadAttachment", + "client": { + "fullName": "google.chat.v1.Client", + "shortName": "Client" + }, "fullName": "google.chat.v1.Client.UploadAttachment", + "method": { + "fullName": "google.chat.v1.ChatService.UploadAttachment", + "service": { + "fullName": "google.chat.v1.ChatService", + "shortName": "ChatService" + }, + "shortName": "UploadAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chatpb.UploadAttachmentRequest", - "name": "req" + "name": "req", + "type": "chatpb.UploadAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chatpb.UploadAttachmentResponse", - "client": { - "shortName": "Client", - "fullName": "google.chat.v1.Client" - }, - "method": { - "shortName": "UploadAttachment", - "fullName": "google.chat.v1.ChatService.UploadAttachment", - "service": { - "shortName": "ChatService", - "fullName": "google.chat.v1.ChatService" - } - } + "shortName": "UploadAttachment" }, + "description": "UploadAttachment uploads an attachment. For an example, see\n[Upload media as a file\nattachment](https: //developers.google.com/workspace/chat/upload-media-attachments).\n\nRequires user\n[authentication](https: //developers.google.com/workspace/chat/authenticate-authorize-chat-user)\nwith one of the following [authorization\nscopes](https: //developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): \n\n- `https: //www.googleapis.com/auth/chat.messages.create`\n- `https: //www.googleapis.com/auth/chat.messages`\n- `https: //www.googleapis.com/auth/chat.import` (import mode spaces only)\n\nYou can upload attachments up to 200 MB. Certain file types aren't\nsupported. For details, see [File types blocked by Google\nChat](https: //support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).", + "file": "Client/UploadAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chat_v1_generated_ChatService_UploadAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chat UploadAttachment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/chronicle/apiv1/snippet_metadata.google.cloud.chronicle.v1.json b/internal/generated/snippets/chronicle/apiv1/snippet_metadata.google.cloud.chronicle.v1.json index 8956c4f18986..f18e32494776 100644 --- a/internal/generated/snippets/chronicle/apiv1/snippet_metadata.google.cloud.chronicle.v1.json +++ b/internal/generated/snippets/chronicle/apiv1/snippet_metadata.google.cloud.chronicle.v1.json @@ -1,2393 +1,2393 @@ { "clientLibrary": { - "name": "cloud.google.com/go/chronicle/apiv1", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.chronicle.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/chronicle/apiv1", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "chronicle_v1_generated_DataAccessControlService_CancelOperation_sync", - "title": "chronicle CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataAccessControlClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataAccessControlClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CancelOperation Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_CreateDataAccessLabel_sync", - "title": "chronicle CreateDataAccessLabel Sample", - "description": "CreateDataAccessLabel creates a data access label.\nData access labels are applied to incoming event data and selected in data\naccess scopes (another resource), and only users with scopes containing the\nlabel can see data with that label. Currently, the data access label\nresource only includes custom labels, which are labels that correspond\nto UDM queries over event data.", - "file": "DataAccessControlClient/CreateDataAccessLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAccessLabel", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.CreateDataAccessLabel", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.CreateDataAccessLabel", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "CreateDataAccessLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.CreateDataAccessLabelRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.CreateDataAccessLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.DataAccessLabel", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "CreateDataAccessLabel", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.CreateDataAccessLabel", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "CreateDataAccessLabel" }, + "description": "CreateDataAccessLabel creates a data access label.\nData access labels are applied to incoming event data and selected in data\naccess scopes (another resource), and only users with scopes containing the\nlabel can see data with that label. Currently, the data access label\nresource only includes custom labels, which are labels that correspond\nto UDM queries over event data.", + "file": "DataAccessControlClient/CreateDataAccessLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_CreateDataAccessLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CreateDataAccessLabel Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_CreateDataAccessScope_sync", - "title": "chronicle CreateDataAccessScope Sample", - "description": "CreateDataAccessScope creates a data access scope.\nData access scope is a combination of allowed and denied labels attached\nto a permission group. If a scope has allowed labels A and B and denied\nlabels C and D, then the group of people attached to the scope\nwill have permissions to see all events labeled with A or B (or both) and\nnot labeled with either C or D.", - "file": "DataAccessControlClient/CreateDataAccessScope/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAccessScope", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.CreateDataAccessScope", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.CreateDataAccessScope", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "CreateDataAccessScope" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.CreateDataAccessScopeRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.CreateDataAccessScopeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.DataAccessScope", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "CreateDataAccessScope", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.CreateDataAccessScope", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "CreateDataAccessScope" }, + "description": "CreateDataAccessScope creates a data access scope.\nData access scope is a combination of allowed and denied labels attached\nto a permission group. If a scope has allowed labels A and B and denied\nlabels C and D, then the group of people attached to the scope\nwill have permissions to see all events labeled with A or B (or both) and\nnot labeled with either C or D.", + "file": "DataAccessControlClient/CreateDataAccessScope/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_CreateDataAccessScope_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CreateDataAccessScope Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteDataAccessLabel_sync", - "title": "chronicle DeleteDataAccessLabel Sample", - "description": "DeleteDataAccessLabel deletes a data access label. When a label is deleted, new\ndata that enters in the system will not receive the label, but the label\nwill not be removed from old data that still refers to it.", - "file": "DataAccessControlClient/DeleteDataAccessLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAccessLabel", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.DeleteDataAccessLabel", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.DeleteDataAccessLabel", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "DeleteDataAccessLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.DeleteDataAccessLabelRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.DeleteDataAccessLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "DeleteDataAccessLabel", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.DeleteDataAccessLabel", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "DeleteDataAccessLabel" }, + "description": "DeleteDataAccessLabel deletes a data access label. When a label is deleted, new\ndata that enters in the system will not receive the label, but the label\nwill not be removed from old data that still refers to it.", + "file": "DataAccessControlClient/DeleteDataAccessLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteDataAccessLabel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteDataAccessLabel Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteDataAccessScope_sync", - "title": "chronicle DeleteDataAccessScope Sample", - "description": "DeleteDataAccessScope deletes a data access scope.", - "file": "DataAccessControlClient/DeleteDataAccessScope/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAccessScope", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.DeleteDataAccessScope", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.DeleteDataAccessScope", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "DeleteDataAccessScope" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.DeleteDataAccessScopeRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.DeleteDataAccessScopeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "DeleteDataAccessScope", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.DeleteDataAccessScope", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "DeleteDataAccessScope" }, + "description": "DeleteDataAccessScope deletes a data access scope.", + "file": "DataAccessControlClient/DeleteDataAccessScope/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteDataAccessScope_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteDataAccessScope Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteOperation_sync", - "title": "chronicle DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataAccessControlClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataAccessControlClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteOperation Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_GetDataAccessLabel_sync", - "title": "chronicle GetDataAccessLabel Sample", - "description": "GetDataAccessLabel gets a data access label.", - "file": "DataAccessControlClient/GetDataAccessLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataAccessLabel", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.GetDataAccessLabel", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.GetDataAccessLabel", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "GetDataAccessLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetDataAccessLabelRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetDataAccessLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.DataAccessLabel", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "GetDataAccessLabel", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.GetDataAccessLabel", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "GetDataAccessLabel" }, + "description": "GetDataAccessLabel gets a data access label.", + "file": "DataAccessControlClient/GetDataAccessLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_GetDataAccessLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetDataAccessLabel Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_GetDataAccessScope_sync", - "title": "chronicle GetDataAccessScope Sample", - "description": "GetDataAccessScope retrieves an existing data access scope.", - "file": "DataAccessControlClient/GetDataAccessScope/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataAccessScope", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.GetDataAccessScope", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.GetDataAccessScope", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "GetDataAccessScope" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetDataAccessScopeRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetDataAccessScopeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.DataAccessScope", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "GetDataAccessScope", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.GetDataAccessScope", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "GetDataAccessScope" }, + "description": "GetDataAccessScope retrieves an existing data access scope.", + "file": "DataAccessControlClient/GetDataAccessScope/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_GetDataAccessScope_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetDataAccessScope Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_GetOperation_sync", - "title": "chronicle GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataAccessControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataAccessControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetOperation Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_ListDataAccessLabels_sync", - "title": "chronicle ListDataAccessLabels Sample", - "description": "ListDataAccessLabels lists all data access labels for the customer.", - "file": "DataAccessControlClient/ListDataAccessLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataAccessLabels", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.ListDataAccessLabels", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.ListDataAccessLabels", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "ListDataAccessLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListDataAccessLabelsRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListDataAccessLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAccessLabelIterator", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "ListDataAccessLabels", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.ListDataAccessLabels", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "ListDataAccessLabels" }, + "description": "ListDataAccessLabels lists all data access labels for the customer.", + "file": "DataAccessControlClient/ListDataAccessLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_ListDataAccessLabels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListDataAccessLabels Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_ListDataAccessScopes_sync", - "title": "chronicle ListDataAccessScopes Sample", - "description": "ListDataAccessScopes lists all existing data access scopes for the customer.", - "file": "DataAccessControlClient/ListDataAccessScopes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataAccessScopes", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.ListDataAccessScopes", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.ListDataAccessScopes", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "ListDataAccessScopes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListDataAccessScopesRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListDataAccessScopesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAccessScopeIterator", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "ListDataAccessScopes", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.ListDataAccessScopes", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "ListDataAccessScopes" }, + "description": "ListDataAccessScopes lists all existing data access scopes for the customer.", + "file": "DataAccessControlClient/ListDataAccessScopes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_ListDataAccessScopes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListDataAccessScopes Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_ListOperations_sync", - "title": "chronicle ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataAccessControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataAccessControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListOperations Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_UpdateDataAccessLabel_sync", - "title": "chronicle UpdateDataAccessLabel Sample", - "description": "UpdateDataAccessLabel updates a data access label.", - "file": "DataAccessControlClient/UpdateDataAccessLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAccessLabel", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.UpdateDataAccessLabel", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.UpdateDataAccessLabel", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "UpdateDataAccessLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.UpdateDataAccessLabelRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.UpdateDataAccessLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.DataAccessLabel", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "UpdateDataAccessLabel", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.UpdateDataAccessLabel", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "UpdateDataAccessLabel" }, + "description": "UpdateDataAccessLabel updates a data access label.", + "file": "DataAccessControlClient/UpdateDataAccessLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_UpdateDataAccessLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle UpdateDataAccessLabel Sample" }, { - "regionTag": "chronicle_v1_generated_DataAccessControlService_UpdateDataAccessScope_sync", - "title": "chronicle UpdateDataAccessScope Sample", - "description": "UpdateDataAccessScope updates a data access scope.", - "file": "DataAccessControlClient/UpdateDataAccessScope/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAccessScope", + "client": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlClient", + "shortName": "DataAccessControlClient" + }, "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.UpdateDataAccessScope", + "method": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService.UpdateDataAccessScope", + "service": { + "fullName": "google.cloud.chronicle.v1.DataAccessControlService", + "shortName": "DataAccessControlService" + }, + "shortName": "UpdateDataAccessScope" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.UpdateDataAccessScopeRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.UpdateDataAccessScopeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.DataAccessScope", - "client": { - "shortName": "DataAccessControlClient", - "fullName": "google.cloud.chronicle.v1.DataAccessControlClient" - }, - "method": { - "shortName": "UpdateDataAccessScope", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService.UpdateDataAccessScope", - "service": { - "shortName": "DataAccessControlService", - "fullName": "google.cloud.chronicle.v1.DataAccessControlService" - } - } + "shortName": "UpdateDataAccessScope" }, + "description": "UpdateDataAccessScope updates a data access scope.", + "file": "DataAccessControlClient/UpdateDataAccessScope/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_DataAccessControlService_UpdateDataAccessScope_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle UpdateDataAccessScope Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_CancelOperation_sync", - "title": "chronicle CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EntityClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EntityClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CancelOperation Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_CreateWatchlist_sync", - "title": "chronicle CreateWatchlist Sample", - "description": "CreateWatchlist creates a watchlist for the given instance.\nNote that there can be at most 200 watchlists per instance.", - "file": "EntityClient/CreateWatchlist/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWatchlist", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.CreateWatchlist", + "method": { + "fullName": "google.cloud.chronicle.v1.EntityService.CreateWatchlist", + "service": { + "fullName": "google.cloud.chronicle.v1.EntityService", + "shortName": "EntityService" + }, + "shortName": "CreateWatchlist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.CreateWatchlistRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.CreateWatchlistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Watchlist", - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "CreateWatchlist", - "fullName": "google.cloud.chronicle.v1.EntityService.CreateWatchlist", - "service": { - "shortName": "EntityService", - "fullName": "google.cloud.chronicle.v1.EntityService" - } - } + "shortName": "CreateWatchlist" }, + "description": "CreateWatchlist creates a watchlist for the given instance.\nNote that there can be at most 200 watchlists per instance.", + "file": "EntityClient/CreateWatchlist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_CreateWatchlist_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CreateWatchlist Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_DeleteOperation_sync", - "title": "chronicle DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EntityClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EntityClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteOperation Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_DeleteWatchlist_sync", - "title": "chronicle DeleteWatchlist Sample", - "description": "DeleteWatchlist deletes the watchlist for the given instance.", - "file": "EntityClient/DeleteWatchlist/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWatchlist", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.DeleteWatchlist", + "method": { + "fullName": "google.cloud.chronicle.v1.EntityService.DeleteWatchlist", + "service": { + "fullName": "google.cloud.chronicle.v1.EntityService", + "shortName": "EntityService" + }, + "shortName": "DeleteWatchlist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.DeleteWatchlistRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.DeleteWatchlistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "DeleteWatchlist", - "fullName": "google.cloud.chronicle.v1.EntityService.DeleteWatchlist", - "service": { - "shortName": "EntityService", - "fullName": "google.cloud.chronicle.v1.EntityService" - } - } + "shortName": "DeleteWatchlist" }, + "description": "DeleteWatchlist deletes the watchlist for the given instance.", + "file": "EntityClient/DeleteWatchlist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_DeleteWatchlist_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteWatchlist Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_GetOperation_sync", - "title": "chronicle GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EntityClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EntityClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetOperation Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_GetWatchlist_sync", - "title": "chronicle GetWatchlist Sample", - "description": "GetWatchlist gets watchlist details for the given watchlist ID.", - "file": "EntityClient/GetWatchlist/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWatchlist", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.GetWatchlist", + "method": { + "fullName": "google.cloud.chronicle.v1.EntityService.GetWatchlist", + "service": { + "fullName": "google.cloud.chronicle.v1.EntityService", + "shortName": "EntityService" + }, + "shortName": "GetWatchlist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetWatchlistRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetWatchlistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Watchlist", - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "GetWatchlist", - "fullName": "google.cloud.chronicle.v1.EntityService.GetWatchlist", - "service": { - "shortName": "EntityService", - "fullName": "google.cloud.chronicle.v1.EntityService" - } - } + "shortName": "GetWatchlist" }, + "description": "GetWatchlist gets watchlist details for the given watchlist ID.", + "file": "EntityClient/GetWatchlist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_GetWatchlist_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetWatchlist Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_ListOperations_sync", - "title": "chronicle ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EntityClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EntityClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListOperations Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_ListWatchlists_sync", - "title": "chronicle ListWatchlists Sample", - "description": "ListWatchlists lists all watchlists for the given instance.", - "file": "EntityClient/ListWatchlists/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWatchlists", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.ListWatchlists", + "method": { + "fullName": "google.cloud.chronicle.v1.EntityService.ListWatchlists", + "service": { + "fullName": "google.cloud.chronicle.v1.EntityService", + "shortName": "EntityService" + }, + "shortName": "ListWatchlists" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListWatchlistsRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListWatchlistsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WatchlistIterator", - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "ListWatchlists", - "fullName": "google.cloud.chronicle.v1.EntityService.ListWatchlists", - "service": { - "shortName": "EntityService", - "fullName": "google.cloud.chronicle.v1.EntityService" - } - } + "shortName": "ListWatchlists" }, + "description": "ListWatchlists lists all watchlists for the given instance.", + "file": "EntityClient/ListWatchlists/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_ListWatchlists_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListWatchlists Sample" }, { - "regionTag": "chronicle_v1_generated_EntityService_UpdateWatchlist_sync", - "title": "chronicle UpdateWatchlist Sample", - "description": "UpdateWatchlist updates the watchlist for the given instance.", - "file": "EntityClient/UpdateWatchlist/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWatchlist", + "client": { + "fullName": "google.cloud.chronicle.v1.EntityClient", + "shortName": "EntityClient" + }, "fullName": "google.cloud.chronicle.v1.EntityClient.UpdateWatchlist", + "method": { + "fullName": "google.cloud.chronicle.v1.EntityService.UpdateWatchlist", + "service": { + "fullName": "google.cloud.chronicle.v1.EntityService", + "shortName": "EntityService" + }, + "shortName": "UpdateWatchlist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.UpdateWatchlistRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.UpdateWatchlistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Watchlist", - "client": { - "shortName": "EntityClient", - "fullName": "google.cloud.chronicle.v1.EntityClient" - }, - "method": { - "shortName": "UpdateWatchlist", - "fullName": "google.cloud.chronicle.v1.EntityService.UpdateWatchlist", - "service": { - "shortName": "EntityService", - "fullName": "google.cloud.chronicle.v1.EntityService" - } - } + "shortName": "UpdateWatchlist" }, + "description": "UpdateWatchlist updates the watchlist for the given instance.", + "file": "EntityClient/UpdateWatchlist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_EntityService_UpdateWatchlist_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle UpdateWatchlist Sample" }, { - "regionTag": "chronicle_v1_generated_InstanceService_CancelOperation_sync", - "title": "chronicle CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "InstanceClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.InstanceClient", + "shortName": "InstanceClient" + }, "fullName": "google.cloud.chronicle.v1.InstanceClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceClient", - "fullName": "google.cloud.chronicle.v1.InstanceClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "InstanceClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_InstanceService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CancelOperation Sample" }, { - "regionTag": "chronicle_v1_generated_InstanceService_DeleteOperation_sync", - "title": "chronicle DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "InstanceClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.InstanceClient", + "shortName": "InstanceClient" + }, "fullName": "google.cloud.chronicle.v1.InstanceClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceClient", - "fullName": "google.cloud.chronicle.v1.InstanceClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "InstanceClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_InstanceService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteOperation Sample" }, { - "regionTag": "chronicle_v1_generated_InstanceService_GetInstance_sync", - "title": "chronicle GetInstance Sample", - "description": "GetInstance gets a Instance.", - "file": "InstanceClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.chronicle.v1.InstanceClient", + "shortName": "InstanceClient" + }, "fullName": "google.cloud.chronicle.v1.InstanceClient.GetInstance", + "method": { + "fullName": "google.cloud.chronicle.v1.InstanceService.GetInstance", + "service": { + "fullName": "google.cloud.chronicle.v1.InstanceService", + "shortName": "InstanceService" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Instance", - "client": { - "shortName": "InstanceClient", - "fullName": "google.cloud.chronicle.v1.InstanceClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.chronicle.v1.InstanceService.GetInstance", - "service": { - "shortName": "InstanceService", - "fullName": "google.cloud.chronicle.v1.InstanceService" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets a Instance.", + "file": "InstanceClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_InstanceService_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetInstance Sample" }, { - "regionTag": "chronicle_v1_generated_InstanceService_GetOperation_sync", - "title": "chronicle GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "InstanceClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.InstanceClient", + "shortName": "InstanceClient" + }, "fullName": "google.cloud.chronicle.v1.InstanceClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "InstanceClient", - "fullName": "google.cloud.chronicle.v1.InstanceClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "InstanceClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_InstanceService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetOperation Sample" }, { - "regionTag": "chronicle_v1_generated_InstanceService_ListOperations_sync", - "title": "chronicle ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "InstanceClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.chronicle.v1.InstanceClient", + "shortName": "InstanceClient" + }, "fullName": "google.cloud.chronicle.v1.InstanceClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InstanceClient", - "fullName": "google.cloud.chronicle.v1.InstanceClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "InstanceClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_InstanceService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListOperations Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_CancelOperation_sync", - "title": "chronicle CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ReferenceListClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ReferenceListClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CancelOperation Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_CreateReferenceList_sync", - "title": "chronicle CreateReferenceList Sample", - "description": "CreateReferenceList creates a new reference list.", - "file": "ReferenceListClient/CreateReferenceList/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReferenceList", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.CreateReferenceList", + "method": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService.CreateReferenceList", + "service": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService", + "shortName": "ReferenceListService" + }, + "shortName": "CreateReferenceList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.CreateReferenceListRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.CreateReferenceListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.ReferenceList", - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "CreateReferenceList", - "fullName": "google.cloud.chronicle.v1.ReferenceListService.CreateReferenceList", - "service": { - "shortName": "ReferenceListService", - "fullName": "google.cloud.chronicle.v1.ReferenceListService" - } - } + "shortName": "CreateReferenceList" }, + "description": "CreateReferenceList creates a new reference list.", + "file": "ReferenceListClient/CreateReferenceList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_CreateReferenceList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CreateReferenceList Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_DeleteOperation_sync", - "title": "chronicle DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ReferenceListClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ReferenceListClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteOperation Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_GetOperation_sync", - "title": "chronicle GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ReferenceListClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ReferenceListClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetOperation Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_GetReferenceList_sync", - "title": "chronicle GetReferenceList Sample", - "description": "GetReferenceList gets a single reference list.", - "file": "ReferenceListClient/GetReferenceList/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReferenceList", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.GetReferenceList", + "method": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService.GetReferenceList", + "service": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService", + "shortName": "ReferenceListService" + }, + "shortName": "GetReferenceList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetReferenceListRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetReferenceListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.ReferenceList", - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "GetReferenceList", - "fullName": "google.cloud.chronicle.v1.ReferenceListService.GetReferenceList", - "service": { - "shortName": "ReferenceListService", - "fullName": "google.cloud.chronicle.v1.ReferenceListService" - } - } + "shortName": "GetReferenceList" }, + "description": "GetReferenceList gets a single reference list.", + "file": "ReferenceListClient/GetReferenceList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_GetReferenceList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetReferenceList Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_ListOperations_sync", - "title": "chronicle ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ReferenceListClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ReferenceListClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListOperations Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_ListReferenceLists_sync", - "title": "chronicle ListReferenceLists Sample", - "description": "ListReferenceLists lists a collection of reference lists.", - "file": "ReferenceListClient/ListReferenceLists/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReferenceLists", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.ListReferenceLists", + "method": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService.ListReferenceLists", + "service": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService", + "shortName": "ReferenceListService" + }, + "shortName": "ListReferenceLists" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListReferenceListsRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListReferenceListsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReferenceListIterator", - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "ListReferenceLists", - "fullName": "google.cloud.chronicle.v1.ReferenceListService.ListReferenceLists", - "service": { - "shortName": "ReferenceListService", - "fullName": "google.cloud.chronicle.v1.ReferenceListService" - } - } + "shortName": "ListReferenceLists" }, + "description": "ListReferenceLists lists a collection of reference lists.", + "file": "ReferenceListClient/ListReferenceLists/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_ListReferenceLists_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListReferenceLists Sample" }, { - "regionTag": "chronicle_v1_generated_ReferenceListService_UpdateReferenceList_sync", - "title": "chronicle UpdateReferenceList Sample", - "description": "UpdateReferenceList updates an existing reference list.", - "file": "ReferenceListClient/UpdateReferenceList/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReferenceList", + "client": { + "fullName": "google.cloud.chronicle.v1.ReferenceListClient", + "shortName": "ReferenceListClient" + }, "fullName": "google.cloud.chronicle.v1.ReferenceListClient.UpdateReferenceList", + "method": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService.UpdateReferenceList", + "service": { + "fullName": "google.cloud.chronicle.v1.ReferenceListService", + "shortName": "ReferenceListService" + }, + "shortName": "UpdateReferenceList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.UpdateReferenceListRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.UpdateReferenceListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.ReferenceList", - "client": { - "shortName": "ReferenceListClient", - "fullName": "google.cloud.chronicle.v1.ReferenceListClient" - }, - "method": { - "shortName": "UpdateReferenceList", - "fullName": "google.cloud.chronicle.v1.ReferenceListService.UpdateReferenceList", - "service": { - "shortName": "ReferenceListService", - "fullName": "google.cloud.chronicle.v1.ReferenceListService" - } - } + "shortName": "UpdateReferenceList" }, + "description": "UpdateReferenceList updates an existing reference list.", + "file": "ReferenceListClient/UpdateReferenceList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_ReferenceListService_UpdateReferenceList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle UpdateReferenceList Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_CancelOperation_sync", - "title": "chronicle CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RuleClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RuleClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CancelOperation Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_CreateRetrohunt_sync", - "title": "chronicle CreateRetrohunt Sample", - "description": "CreateRetrohunt create a Retrohunt.", - "file": "RuleClient/CreateRetrohunt/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRetrohunt", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.CreateRetrohunt", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.CreateRetrohunt", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "CreateRetrohunt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.CreateRetrohuntRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.CreateRetrohuntRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRetrohuntOperation", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "CreateRetrohunt", - "fullName": "google.cloud.chronicle.v1.RuleService.CreateRetrohunt", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "CreateRetrohunt" }, + "description": "CreateRetrohunt create a Retrohunt.", + "file": "RuleClient/CreateRetrohunt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_CreateRetrohunt_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CreateRetrohunt Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_CreateRule_sync", - "title": "chronicle CreateRule Sample", - "description": "CreateRule creates a new Rule.", - "file": "RuleClient/CreateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRule", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.CreateRule", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.CreateRule", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "CreateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.CreateRuleRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.CreateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Rule", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "CreateRule", - "fullName": "google.cloud.chronicle.v1.RuleService.CreateRule", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "CreateRule" }, + "description": "CreateRule creates a new Rule.", + "file": "RuleClient/CreateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_CreateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle CreateRule Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_DeleteOperation_sync", - "title": "chronicle DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "RuleClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "RuleClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteOperation Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_DeleteRule_sync", - "title": "chronicle DeleteRule Sample", - "description": "DeleteRule deletes a Rule.", - "file": "RuleClient/DeleteRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRule", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.DeleteRule", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.DeleteRule", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "DeleteRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.DeleteRuleRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.DeleteRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "DeleteRule", - "fullName": "google.cloud.chronicle.v1.RuleService.DeleteRule", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "DeleteRule" }, + "description": "DeleteRule deletes a Rule.", + "file": "RuleClient/DeleteRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_DeleteRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle DeleteRule Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_GetOperation_sync", - "title": "chronicle GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RuleClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RuleClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetOperation Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_GetRetrohunt_sync", - "title": "chronicle GetRetrohunt Sample", - "description": "GetRetrohunt get a Retrohunt.", - "file": "RuleClient/GetRetrohunt/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRetrohunt", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.GetRetrohunt", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.GetRetrohunt", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "GetRetrohunt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetRetrohuntRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetRetrohuntRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Retrohunt", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "GetRetrohunt", - "fullName": "google.cloud.chronicle.v1.RuleService.GetRetrohunt", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "GetRetrohunt" }, + "description": "GetRetrohunt get a Retrohunt.", + "file": "RuleClient/GetRetrohunt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_GetRetrohunt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetRetrohunt Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_GetRule_sync", - "title": "chronicle GetRule Sample", - "description": "GetRule gets a Rule.", - "file": "RuleClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.GetRule", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.GetRule", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetRuleRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Rule", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.chronicle.v1.RuleService.GetRule", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a Rule.", + "file": "RuleClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetRule Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_GetRuleDeployment_sync", - "title": "chronicle GetRuleDeployment Sample", - "description": "GetRuleDeployment gets a RuleDeployment.", - "file": "RuleClient/GetRuleDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRuleDeployment", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.GetRuleDeployment", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.GetRuleDeployment", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "GetRuleDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.GetRuleDeploymentRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.GetRuleDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.RuleDeployment", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "GetRuleDeployment", - "fullName": "google.cloud.chronicle.v1.RuleService.GetRuleDeployment", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "GetRuleDeployment" }, + "description": "GetRuleDeployment gets a RuleDeployment.", + "file": "RuleClient/GetRuleDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_GetRuleDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle GetRuleDeployment Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_ListOperations_sync", - "title": "chronicle ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RuleClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RuleClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListOperations Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_ListRetrohunts_sync", - "title": "chronicle ListRetrohunts Sample", - "description": "ListRetrohunts list Retrohunts.", - "file": "RuleClient/ListRetrohunts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRetrohunts", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.ListRetrohunts", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.ListRetrohunts", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "ListRetrohunts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListRetrohuntsRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListRetrohuntsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RetrohuntIterator", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "ListRetrohunts", - "fullName": "google.cloud.chronicle.v1.RuleService.ListRetrohunts", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "ListRetrohunts" }, + "description": "ListRetrohunts list Retrohunts.", + "file": "RuleClient/ListRetrohunts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_ListRetrohunts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListRetrohunts Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_ListRuleDeployments_sync", - "title": "chronicle ListRuleDeployments Sample", - "description": "ListRuleDeployments lists RuleDeployments across all Rules.", - "file": "RuleClient/ListRuleDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuleDeployments", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.ListRuleDeployments", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.ListRuleDeployments", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "ListRuleDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListRuleDeploymentsRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListRuleDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RuleDeploymentIterator", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "ListRuleDeployments", - "fullName": "google.cloud.chronicle.v1.RuleService.ListRuleDeployments", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "ListRuleDeployments" }, + "description": "ListRuleDeployments lists RuleDeployments across all Rules.", + "file": "RuleClient/ListRuleDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_ListRuleDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListRuleDeployments Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_ListRuleRevisions_sync", - "title": "chronicle ListRuleRevisions Sample", - "description": "ListRuleRevisions lists all revisions of the rule.", - "file": "RuleClient/ListRuleRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuleRevisions", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.ListRuleRevisions", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.ListRuleRevisions", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "ListRuleRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListRuleRevisionsRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListRuleRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RuleIterator", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "ListRuleRevisions", - "fullName": "google.cloud.chronicle.v1.RuleService.ListRuleRevisions", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "ListRuleRevisions" }, + "description": "ListRuleRevisions lists all revisions of the rule.", + "file": "RuleClient/ListRuleRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_ListRuleRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListRuleRevisions Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_ListRules_sync", - "title": "chronicle ListRules Sample", - "description": "ListRules lists Rules.", - "file": "RuleClient/ListRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRules", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.ListRules", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.ListRules", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "ListRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.ListRulesRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.ListRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RuleIterator", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "ListRules", - "fullName": "google.cloud.chronicle.v1.RuleService.ListRules", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "ListRules" }, + "description": "ListRules lists Rules.", + "file": "RuleClient/ListRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_ListRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle ListRules Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_UpdateRule_sync", - "title": "chronicle UpdateRule Sample", - "description": "UpdateRule updates a Rule.", - "file": "RuleClient/UpdateRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRule", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.UpdateRule", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.UpdateRule", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "UpdateRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.UpdateRuleRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.UpdateRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.Rule", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "UpdateRule", - "fullName": "google.cloud.chronicle.v1.RuleService.UpdateRule", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "UpdateRule" }, + "description": "UpdateRule updates a Rule.", + "file": "RuleClient/UpdateRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_UpdateRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle UpdateRule Sample" }, { - "regionTag": "chronicle_v1_generated_RuleService_UpdateRuleDeployment_sync", - "title": "chronicle UpdateRuleDeployment Sample", - "description": "UpdateRuleDeployment updates a RuleDeployment.\nFailures are not necessarily atomic. If there is a request to update\nmultiple fields, and any update to a single field fails, an error will be\nreturned, but other fields may remain successfully updated.", - "file": "RuleClient/UpdateRuleDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRuleDeployment", + "client": { + "fullName": "google.cloud.chronicle.v1.RuleClient", + "shortName": "RuleClient" + }, "fullName": "google.cloud.chronicle.v1.RuleClient.UpdateRuleDeployment", + "method": { + "fullName": "google.cloud.chronicle.v1.RuleService.UpdateRuleDeployment", + "service": { + "fullName": "google.cloud.chronicle.v1.RuleService", + "shortName": "RuleService" + }, + "shortName": "UpdateRuleDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "chroniclepb.UpdateRuleDeploymentRequest", - "name": "req" + "name": "req", + "type": "chroniclepb.UpdateRuleDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*chroniclepb.RuleDeployment", - "client": { - "shortName": "RuleClient", - "fullName": "google.cloud.chronicle.v1.RuleClient" - }, - "method": { - "shortName": "UpdateRuleDeployment", - "fullName": "google.cloud.chronicle.v1.RuleService.UpdateRuleDeployment", - "service": { - "shortName": "RuleService", - "fullName": "google.cloud.chronicle.v1.RuleService" - } - } + "shortName": "UpdateRuleDeployment" }, + "description": "UpdateRuleDeployment updates a RuleDeployment.\nFailures are not necessarily atomic. If there is a request to update\nmultiple fields, and any update to a single field fails, an error will be\nreturned, but other fields may remain successfully updated.", + "file": "RuleClient/UpdateRuleDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "chronicle_v1_generated_RuleService_UpdateRuleDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "chronicle UpdateRuleDeployment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json b/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json index c2a1e98d80b0..d79b26a83f66 100644 --- a/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json +++ b/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json @@ -1,888 +1,888 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudbuild/apiv1/v2", - "version": "1.25.0", - "language": "GO", "apis": [ { "id": "google.devtools.cloudbuild.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudbuild/apiv1/v2", + "version": "1.25.0" }, "snippets": [ { - "regionTag": "cloudbuild_v1_generated_CloudBuild_ApproveBuild_sync", - "title": "cloudbuild ApproveBuild Sample", - "description": "ApproveBuild approves or rejects a pending build.\n\nIf approved, the returned long-running operation (LRO) will be analogous to\nthe LRO returned from a CreateBuild call.\n\nIf rejected, the returned LRO will be immediately done.", - "file": "Client/ApproveBuild/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveBuild", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.ApproveBuild", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ApproveBuild", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "ApproveBuild" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ApproveBuildRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ApproveBuildRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApproveBuildOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "ApproveBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ApproveBuild", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "ApproveBuild" }, + "description": "ApproveBuild approves or rejects a pending build.\n\nIf approved, the returned long-running operation (LRO) will be analogous to\nthe LRO returned from a CreateBuild call.\n\nIf rejected, the returned LRO will be immediately done.", + "file": "Client/ApproveBuild/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_ApproveBuild_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ApproveBuild Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_CancelBuild_sync", - "title": "cloudbuild CancelBuild Sample", - "description": "CancelBuild cancels a build in progress.", - "file": "Client/CancelBuild/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelBuild", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.CancelBuild", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CancelBuild", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "CancelBuild" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.CancelBuildRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.CancelBuildRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.Build", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "CancelBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CancelBuild", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "CancelBuild" }, + "description": "CancelBuild cancels a build in progress.", + "file": "Client/CancelBuild/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_CancelBuild_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CancelBuild Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_CreateBuild_sync", - "title": "cloudbuild CreateBuild Sample", - "description": "CreateBuild starts a build with the specified configuration.\n\nThis method returns a long-running `Operation`, which includes the build\nID. Pass the build ID to `GetBuild` to determine the build status (such as\n`SUCCESS` or `FAILURE`).", - "file": "Client/CreateBuild/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBuild", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.CreateBuild", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateBuild", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "CreateBuild" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.CreateBuildRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.CreateBuildRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBuildOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "CreateBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateBuild", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "CreateBuild" }, + "description": "CreateBuild starts a build with the specified configuration.\n\nThis method returns a long-running `Operation`, which includes the build\nID. Pass the build ID to `GetBuild` to determine the build status (such as\n`SUCCESS` or `FAILURE`).", + "file": "Client/CreateBuild/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_CreateBuild_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CreateBuild Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_CreateBuildTrigger_sync", - "title": "cloudbuild CreateBuildTrigger Sample", - "description": "CreateBuildTrigger creates a new `BuildTrigger`.", - "file": "Client/CreateBuildTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBuildTrigger", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.CreateBuildTrigger", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateBuildTrigger", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "CreateBuildTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.CreateBuildTriggerRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.CreateBuildTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.BuildTrigger", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "CreateBuildTrigger", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateBuildTrigger", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "CreateBuildTrigger" }, + "description": "CreateBuildTrigger creates a new `BuildTrigger`.", + "file": "Client/CreateBuildTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_CreateBuildTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CreateBuildTrigger Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_CreateWorkerPool_sync", - "title": "cloudbuild CreateWorkerPool Sample", - "description": "CreateWorkerPool creates a `WorkerPool`.", - "file": "Client/CreateWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkerPool", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.CreateWorkerPool", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateWorkerPool", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "CreateWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.CreateWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.CreateWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkerPoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "CreateWorkerPool", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateWorkerPool", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "CreateWorkerPool" }, + "description": "CreateWorkerPool creates a `WorkerPool`.", + "file": "Client/CreateWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_CreateWorkerPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CreateWorkerPool Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_DeleteBuildTrigger_sync", - "title": "cloudbuild DeleteBuildTrigger Sample", - "description": "DeleteBuildTrigger deletes a `BuildTrigger` by its project ID and trigger ID.", - "file": "Client/DeleteBuildTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBuildTrigger", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.DeleteBuildTrigger", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.DeleteBuildTrigger", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "DeleteBuildTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.DeleteBuildTriggerRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.DeleteBuildTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "DeleteBuildTrigger", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.DeleteBuildTrigger", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "DeleteBuildTrigger" }, + "description": "DeleteBuildTrigger deletes a `BuildTrigger` by its project ID and trigger ID.", + "file": "Client/DeleteBuildTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_DeleteBuildTrigger_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild DeleteBuildTrigger Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_DeleteWorkerPool_sync", - "title": "cloudbuild DeleteWorkerPool Sample", - "description": "DeleteWorkerPool deletes a `WorkerPool`.", - "file": "Client/DeleteWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkerPool", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.DeleteWorkerPool", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.DeleteWorkerPool", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "DeleteWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.DeleteWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.DeleteWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkerPoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "DeleteWorkerPool", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.DeleteWorkerPool", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "DeleteWorkerPool" }, + "description": "DeleteWorkerPool deletes a `WorkerPool`.", + "file": "Client/DeleteWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_DeleteWorkerPool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild DeleteWorkerPool Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_GetBuild_sync", - "title": "cloudbuild GetBuild Sample", - "description": "GetBuild returns information about a previously requested build.\n\nThe `Build` that is returned includes its status (such as `SUCCESS`,\n`FAILURE`, or `WORKING`), and timing information.", - "file": "Client/GetBuild/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBuild", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.GetBuild", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetBuild", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "GetBuild" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.GetBuildRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.GetBuildRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.Build", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "GetBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetBuild", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "GetBuild" }, + "description": "GetBuild returns information about a previously requested build.\n\nThe `Build` that is returned includes its status (such as `SUCCESS`,\n`FAILURE`, or `WORKING`), and timing information.", + "file": "Client/GetBuild/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_GetBuild_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetBuild Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_GetBuildTrigger_sync", - "title": "cloudbuild GetBuildTrigger Sample", - "description": "GetBuildTrigger returns information about a `BuildTrigger`.", - "file": "Client/GetBuildTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBuildTrigger", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.GetBuildTrigger", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetBuildTrigger", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "GetBuildTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.GetBuildTriggerRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.GetBuildTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.BuildTrigger", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "GetBuildTrigger", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetBuildTrigger", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "GetBuildTrigger" }, + "description": "GetBuildTrigger returns information about a `BuildTrigger`.", + "file": "Client/GetBuildTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_GetBuildTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetBuildTrigger Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_GetDefaultServiceAccount_sync", - "title": "cloudbuild GetDefaultServiceAccount Sample", - "description": "GetDefaultServiceAccount returns the `DefaultServiceAccount` used by the project.", - "file": "Client/GetDefaultServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDefaultServiceAccount", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.GetDefaultServiceAccount", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetDefaultServiceAccount", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "GetDefaultServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.GetDefaultServiceAccountRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.GetDefaultServiceAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.DefaultServiceAccount", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "GetDefaultServiceAccount", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetDefaultServiceAccount", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "GetDefaultServiceAccount" }, + "description": "GetDefaultServiceAccount returns the `DefaultServiceAccount` used by the project.", + "file": "Client/GetDefaultServiceAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_GetDefaultServiceAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetDefaultServiceAccount Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_GetWorkerPool_sync", - "title": "cloudbuild GetWorkerPool Sample", - "description": "GetWorkerPool returns details of a `WorkerPool`.", - "file": "Client/GetWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkerPool", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.GetWorkerPool", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetWorkerPool", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "GetWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.GetWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.GetWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.WorkerPool", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "GetWorkerPool", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetWorkerPool", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "GetWorkerPool" }, + "description": "GetWorkerPool returns details of a `WorkerPool`.", + "file": "Client/GetWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_GetWorkerPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetWorkerPool Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_ListBuildTriggers_sync", - "title": "cloudbuild ListBuildTriggers Sample", - "description": "ListBuildTriggers lists existing `BuildTrigger`s.", - "file": "Client/ListBuildTriggers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBuildTriggers", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.ListBuildTriggers", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListBuildTriggers", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "ListBuildTriggers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ListBuildTriggersRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ListBuildTriggersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BuildTriggerIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "ListBuildTriggers", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListBuildTriggers", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "ListBuildTriggers" }, + "description": "ListBuildTriggers lists existing `BuildTrigger`s.", + "file": "Client/ListBuildTriggers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_ListBuildTriggers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ListBuildTriggers Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_ListBuilds_sync", - "title": "cloudbuild ListBuilds Sample", - "description": "ListBuilds lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.", - "file": "Client/ListBuilds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBuilds", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.ListBuilds", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListBuilds", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "ListBuilds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ListBuildsRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ListBuildsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BuildIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "ListBuilds", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListBuilds", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "ListBuilds" }, + "description": "ListBuilds lists previously requested builds.\n\nPreviously requested builds may still be in-progress, or may have finished\nsuccessfully or unsuccessfully.", + "file": "Client/ListBuilds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_ListBuilds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ListBuilds Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_ListWorkerPools_sync", - "title": "cloudbuild ListWorkerPools Sample", - "description": "ListWorkerPools lists `WorkerPool`s.", - "file": "Client/ListWorkerPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkerPools", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.ListWorkerPools", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListWorkerPools", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "ListWorkerPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ListWorkerPoolsRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ListWorkerPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkerPoolIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "ListWorkerPools", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListWorkerPools", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "ListWorkerPools" }, + "description": "ListWorkerPools lists `WorkerPool`s.", + "file": "Client/ListWorkerPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_ListWorkerPools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ListWorkerPools Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_ReceiveTriggerWebhook_sync", - "title": "cloudbuild ReceiveTriggerWebhook Sample", - "description": "ReceiveTriggerWebhook receiveTriggerWebhook [Experimental] is called when the API receives a\nwebhook request targeted at a specific trigger.", - "file": "Client/ReceiveTriggerWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReceiveTriggerWebhook", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.ReceiveTriggerWebhook", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ReceiveTriggerWebhook", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "ReceiveTriggerWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ReceiveTriggerWebhookRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ReceiveTriggerWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.ReceiveTriggerWebhookResponse", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "ReceiveTriggerWebhook", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ReceiveTriggerWebhook", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "ReceiveTriggerWebhook" }, + "description": "ReceiveTriggerWebhook receiveTriggerWebhook [Experimental] is called when the API receives a\nwebhook request targeted at a specific trigger.", + "file": "Client/ReceiveTriggerWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_ReceiveTriggerWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ReceiveTriggerWebhook Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_RetryBuild_sync", - "title": "cloudbuild RetryBuild Sample", - "description": "RetryBuild creates a new build based on the specified build.\n\nThis method creates a new build using the original build request, which may\nor may not result in an identical build.\n\nFor triggered builds: \n\n* Triggered builds resolve to a precise revision; therefore a retry of a\ntriggered build will result in a build that uses the same revision.\n\nFor non-triggered builds that specify `RepoSource`: \n\n* If the original build built from the tip of a branch, the retried build\nwill build from the tip of that branch, which may not be the same revision\nas the original build.\n* If the original build specified a commit sha or revision ID, the retried\nbuild will use the identical source.\n\nFor builds that specify `StorageSource`: \n\n* If the original build pulled source from Cloud Storage without\nspecifying the generation of the object, the new build will use the current\nobject, which may be different from the original build source.\n* If the original build pulled source from Cloud Storage and specified the\ngeneration of the object, the new build will attempt to use the same\nobject, which may or may not be available depending on the bucket's\nlifecycle management settings.", - "file": "Client/RetryBuild/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetryBuild", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.RetryBuild", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.RetryBuild", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "RetryBuild" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.RetryBuildRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.RetryBuildRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RetryBuildOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "RetryBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.RetryBuild", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "RetryBuild" }, + "description": "RetryBuild creates a new build based on the specified build.\n\nThis method creates a new build using the original build request, which may\nor may not result in an identical build.\n\nFor triggered builds: \n\n* Triggered builds resolve to a precise revision; therefore a retry of a\ntriggered build will result in a build that uses the same revision.\n\nFor non-triggered builds that specify `RepoSource`: \n\n* If the original build built from the tip of a branch, the retried build\nwill build from the tip of that branch, which may not be the same revision\nas the original build.\n* If the original build specified a commit sha or revision ID, the retried\nbuild will use the identical source.\n\nFor builds that specify `StorageSource`: \n\n* If the original build pulled source from Cloud Storage without\nspecifying the generation of the object, the new build will use the current\nobject, which may be different from the original build source.\n* If the original build pulled source from Cloud Storage and specified the\ngeneration of the object, the new build will attempt to use the same\nobject, which may or may not be available depending on the bucket's\nlifecycle management settings.", + "file": "Client/RetryBuild/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_RetryBuild_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild RetryBuild Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_RunBuildTrigger_sync", - "title": "cloudbuild RunBuildTrigger Sample", - "description": "RunBuildTrigger runs a `BuildTrigger` at a particular source revision.\n\nTo run a regional or global trigger, use the POST request\nthat includes the location endpoint in the path (ex.\nv1/projects/{projectId}/locations/{region}/triggers/{triggerId}: run). The\nPOST request that does not include the location endpoint in the path can\nonly be used when running global triggers.", - "file": "Client/RunBuildTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunBuildTrigger", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.RunBuildTrigger", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.RunBuildTrigger", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "RunBuildTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.RunBuildTriggerRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.RunBuildTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunBuildTriggerOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "RunBuildTrigger", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.RunBuildTrigger", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "RunBuildTrigger" }, + "description": "RunBuildTrigger runs a `BuildTrigger` at a particular source revision.\n\nTo run a regional or global trigger, use the POST request\nthat includes the location endpoint in the path (ex.\nv1/projects/{projectId}/locations/{region}/triggers/{triggerId}: run). The\nPOST request that does not include the location endpoint in the path can\nonly be used when running global triggers.", + "file": "Client/RunBuildTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_RunBuildTrigger_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild RunBuildTrigger Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_UpdateBuildTrigger_sync", - "title": "cloudbuild UpdateBuildTrigger Sample", - "description": "UpdateBuildTrigger updates a `BuildTrigger` by its project ID and trigger ID.", - "file": "Client/UpdateBuildTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBuildTrigger", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.UpdateBuildTrigger", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.UpdateBuildTrigger", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "UpdateBuildTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.UpdateBuildTriggerRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.UpdateBuildTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.BuildTrigger", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "UpdateBuildTrigger", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.UpdateBuildTrigger", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "UpdateBuildTrigger" }, + "description": "UpdateBuildTrigger updates a `BuildTrigger` by its project ID and trigger ID.", + "file": "Client/UpdateBuildTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_UpdateBuildTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild UpdateBuildTrigger Sample" }, { - "regionTag": "cloudbuild_v1_generated_CloudBuild_UpdateWorkerPool_sync", - "title": "cloudbuild UpdateWorkerPool Sample", - "description": "UpdateWorkerPool updates a `WorkerPool`.", - "file": "Client/UpdateWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkerPool", + "client": { + "fullName": "google.devtools.cloudbuild.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudbuild.v1.Client.UpdateWorkerPool", + "method": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.UpdateWorkerPool", + "service": { + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "shortName": "CloudBuild" + }, + "shortName": "UpdateWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.UpdateWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.UpdateWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkerPoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudbuild.v1.Client" - }, - "method": { - "shortName": "UpdateWorkerPool", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild.UpdateWorkerPool", - "service": { - "shortName": "CloudBuild", - "fullName": "google.devtools.cloudbuild.v1.CloudBuild" - } - } + "shortName": "UpdateWorkerPool" }, + "description": "UpdateWorkerPool updates a `WorkerPool`.", + "file": "Client/UpdateWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v1_generated_CloudBuild_UpdateWorkerPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild UpdateWorkerPool Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json b/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json index f80e1cec047a..b3adc7e57ad1 100644 --- a/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json +++ b/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json @@ -1,888 +1,888 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudbuild/apiv2", - "version": "1.25.0", - "language": "GO", "apis": [ { "id": "google.devtools.cloudbuild.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudbuild/apiv2", + "version": "1.25.0" }, "snippets": [ { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_sync", - "title": "cloudbuild BatchCreateRepositories Sample", - "description": "BatchCreateRepositories creates multiple repositories inside a connection.", - "file": "RepositoryManagerClient/BatchCreateRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateRepositories", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.BatchCreateRepositories", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.BatchCreateRepositories", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "BatchCreateRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.BatchCreateRepositoriesRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.BatchCreateRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateRepositoriesOperation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "BatchCreateRepositories", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.BatchCreateRepositories", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "BatchCreateRepositories" }, + "description": "BatchCreateRepositories creates multiple repositories inside a connection.", + "file": "RepositoryManagerClient/BatchCreateRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_BatchCreateRepositories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild BatchCreateRepositories Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_CancelOperation_sync", - "title": "cloudbuild CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RepositoryManagerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RepositoryManagerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CancelOperation Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_CreateConnection_sync", - "title": "cloudbuild CreateConnection Sample", - "description": "CreateConnection creates a Connection.", - "file": "RepositoryManagerClient/CreateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnection", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.CreateConnection", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.CreateConnection", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "CreateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.CreateConnectionRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.CreateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectionOperation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "CreateConnection", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.CreateConnection", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "CreateConnection" }, + "description": "CreateConnection creates a Connection.", + "file": "RepositoryManagerClient/CreateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_CreateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CreateConnection Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_CreateRepository_sync", - "title": "cloudbuild CreateRepository Sample", - "description": "CreateRepository creates a Repository.", - "file": "RepositoryManagerClient/CreateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRepository", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.CreateRepository", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.CreateRepository", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "CreateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.CreateRepositoryRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.CreateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRepositoryOperation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "CreateRepository", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.CreateRepository", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "CreateRepository" }, + "description": "CreateRepository creates a Repository.", + "file": "RepositoryManagerClient/CreateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_CreateRepository_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild CreateRepository Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_DeleteConnection_sync", - "title": "cloudbuild DeleteConnection Sample", - "description": "DeleteConnection deletes a single connection.", - "file": "RepositoryManagerClient/DeleteConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnection", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.DeleteConnection", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.DeleteConnection", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "DeleteConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.DeleteConnectionRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.DeleteConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectionOperation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "DeleteConnection", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.DeleteConnection", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "DeleteConnection" }, + "description": "DeleteConnection deletes a single connection.", + "file": "RepositoryManagerClient/DeleteConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_DeleteConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild DeleteConnection Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_DeleteRepository_sync", - "title": "cloudbuild DeleteRepository Sample", - "description": "DeleteRepository deletes a single repository.", - "file": "RepositoryManagerClient/DeleteRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRepository", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.DeleteRepository", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.DeleteRepository", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "DeleteRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.DeleteRepositoryRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.DeleteRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRepositoryOperation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "DeleteRepository", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.DeleteRepository", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "DeleteRepository" }, + "description": "DeleteRepository deletes a single repository.", + "file": "RepositoryManagerClient/DeleteRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_DeleteRepository_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild DeleteRepository Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchGitRefs_sync", - "title": "cloudbuild FetchGitRefs Sample", - "description": "FetchGitRefs fetch the list of branches or tags for a given repository.", - "file": "RepositoryManagerClient/FetchGitRefs/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchGitRefs", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.FetchGitRefs", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "FetchGitRefs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.FetchGitRefsRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.FetchGitRefsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.FetchGitRefsResponse", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "FetchGitRefs", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "FetchGitRefs" }, + "description": "FetchGitRefs fetch the list of branches or tags for a given repository.", + "file": "RepositoryManagerClient/FetchGitRefs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchGitRefs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild FetchGitRefs Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchLinkableRepositories_sync", - "title": "cloudbuild FetchLinkableRepositories Sample", - "description": "FetchLinkableRepositories fetchLinkableRepositories get repositories from SCM that are\naccessible and could be added to the connection.", - "file": "RepositoryManagerClient/FetchLinkableRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchLinkableRepositories", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.FetchLinkableRepositories", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "FetchLinkableRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.FetchLinkableRepositoriesRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.FetchLinkableRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "FetchLinkableRepositories", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "FetchLinkableRepositories" }, + "description": "FetchLinkableRepositories fetchLinkableRepositories get repositories from SCM that are\naccessible and could be added to the connection.", + "file": "RepositoryManagerClient/FetchLinkableRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchLinkableRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild FetchLinkableRepositories Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchReadToken_sync", - "title": "cloudbuild FetchReadToken Sample", - "description": "FetchReadToken fetches read token of a given repository.", - "file": "RepositoryManagerClient/FetchReadToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchReadToken", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.FetchReadToken", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchReadToken", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "FetchReadToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.FetchReadTokenRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.FetchReadTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.FetchReadTokenResponse", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "FetchReadToken", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchReadToken", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "FetchReadToken" }, + "description": "FetchReadToken fetches read token of a given repository.", + "file": "RepositoryManagerClient/FetchReadToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchReadToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild FetchReadToken Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchReadWriteToken_sync", - "title": "cloudbuild FetchReadWriteToken Sample", - "description": "FetchReadWriteToken fetches read/write token of a given repository.", - "file": "RepositoryManagerClient/FetchReadWriteToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchReadWriteToken", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.FetchReadWriteToken", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchReadWriteToken", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "FetchReadWriteToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.FetchReadWriteTokenRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.FetchReadWriteTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.FetchReadWriteTokenResponse", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "FetchReadWriteToken", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchReadWriteToken", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "FetchReadWriteToken" }, + "description": "FetchReadWriteToken fetches read/write token of a given repository.", + "file": "RepositoryManagerClient/FetchReadWriteToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_FetchReadWriteToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild FetchReadWriteToken Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetConnection_sync", - "title": "cloudbuild GetConnection Sample", - "description": "GetConnection gets details of a single connection.", - "file": "RepositoryManagerClient/GetConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnection", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.GetConnection", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.GetConnection", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "GetConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.GetConnectionRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.GetConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.Connection", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "GetConnection", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.GetConnection", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "GetConnection" }, + "description": "GetConnection gets details of a single connection.", + "file": "RepositoryManagerClient/GetConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetConnection Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetIamPolicy_sync", - "title": "cloudbuild 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": "RepositoryManagerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "RepositoryManagerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetIamPolicy Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetOperation_sync", - "title": "cloudbuild GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RepositoryManagerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RepositoryManagerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetOperation Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetRepository_sync", - "title": "cloudbuild GetRepository Sample", - "description": "GetRepository gets details of a single repository.", - "file": "RepositoryManagerClient/GetRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRepository", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.GetRepository", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.GetRepository", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "GetRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.GetRepositoryRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.GetRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudbuildpb.Repository", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "GetRepository", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.GetRepository", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "GetRepository" }, + "description": "GetRepository gets details of a single repository.", + "file": "RepositoryManagerClient/GetRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_GetRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild GetRepository Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_ListConnections_sync", - "title": "cloudbuild ListConnections Sample", - "description": "ListConnections lists Connections in a given project and location.", - "file": "RepositoryManagerClient/ListConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnections", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.ListConnections", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.ListConnections", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "ListConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ListConnectionsRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ListConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionIterator", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.ListConnections", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "ListConnections" }, + "description": "ListConnections lists Connections in a given project and location.", + "file": "RepositoryManagerClient/ListConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_ListConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ListConnections Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_ListRepositories_sync", - "title": "cloudbuild ListRepositories Sample", - "description": "ListRepositories lists Repositories in a given connection.", - "file": "RepositoryManagerClient/ListRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRepositories", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.ListRepositories", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.ListRepositories", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "ListRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.ListRepositoriesRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.ListRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "ListRepositories", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.ListRepositories", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "ListRepositories" }, + "description": "ListRepositories lists Repositories in a given connection.", + "file": "RepositoryManagerClient/ListRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_ListRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild ListRepositories Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_SetIamPolicy_sync", - "title": "cloudbuild 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": "RepositoryManagerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "RepositoryManagerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild SetIamPolicy Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_TestIamPermissions_sync", - "title": "cloudbuild 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": "RepositoryManagerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "RepositoryManagerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild TestIamPermissions Sample" }, { - "regionTag": "cloudbuild_v2_generated_RepositoryManager_UpdateConnection_sync", - "title": "cloudbuild UpdateConnection Sample", - "description": "UpdateConnection updates a single connection.", - "file": "RepositoryManagerClient/UpdateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnection", + "client": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient", + "shortName": "RepositoryManagerClient" + }, "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient.UpdateConnection", + "method": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.UpdateConnection", + "service": { + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager", + "shortName": "RepositoryManager" + }, + "shortName": "UpdateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudbuildpb.UpdateConnectionRequest", - "name": "req" + "name": "req", + "type": "cloudbuildpb.UpdateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectionOperation", - "client": { - "shortName": "RepositoryManagerClient", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManagerClient" - }, - "method": { - "shortName": "UpdateConnection", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.UpdateConnection", - "service": { - "shortName": "RepositoryManager", - "fullName": "google.devtools.cloudbuild.v2.RepositoryManager" - } - } + "shortName": "UpdateConnection" }, + "description": "UpdateConnection updates a single connection.", + "file": "RepositoryManagerClient/UpdateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudbuild_v2_generated_RepositoryManager_UpdateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudbuild UpdateConnection Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json b/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json index a4e086b89997..2e6adf0e10e0 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json @@ -1,612 +1,612 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudcontrolspartner/apiv1", - "version": "1.5.0", - "language": "GO", "apis": [ { "id": "google.cloud.cloudcontrolspartner.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudcontrolspartner/apiv1", + "version": "1.5.0" }, "snippets": [ { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_CreateCustomer_sync", - "title": "cloudcontrolspartner CreateCustomer Sample", - "description": "CreateCustomer creates a new customer.", - "file": "CloudControlsPartnerCoreClient/CreateCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.CreateCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.CreateCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "CreateCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.CreateCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.CreateCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Customer", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "CreateCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.CreateCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "CreateCustomer" }, + "description": "CreateCustomer creates a new customer.", + "file": "CloudControlsPartnerCoreClient/CreateCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_CreateCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner CreateCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_DeleteCustomer_sync", - "title": "cloudcontrolspartner DeleteCustomer Sample", - "description": "DeleteCustomer delete details of a single customer", - "file": "CloudControlsPartnerCoreClient/DeleteCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.DeleteCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.DeleteCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "DeleteCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.DeleteCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.DeleteCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "DeleteCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.DeleteCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "DeleteCustomer" }, + "description": "DeleteCustomer delete details of a single customer", + "file": "CloudControlsPartnerCoreClient/DeleteCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_DeleteCustomer_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner DeleteCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetCustomer_sync", - "title": "cloudcontrolspartner GetCustomer Sample", - "description": "GetCustomer gets details of a single customer", - "file": "CloudControlsPartnerCoreClient/GetCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.GetCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Customer", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "GetCustomer" }, + "description": "GetCustomer gets details of a single customer", + "file": "CloudControlsPartnerCoreClient/GetCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetEkmConnections_sync", - "title": "cloudcontrolspartner GetEkmConnections Sample", - "description": "GetEkmConnections gets the EKM connections associated with a workload", - "file": "CloudControlsPartnerCoreClient/GetEkmConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEkmConnections", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.GetEkmConnections", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetEkmConnections", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetEkmConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetEkmConnectionsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetEkmConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.EkmConnections", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetEkmConnections", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetEkmConnections", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "GetEkmConnections" }, + "description": "GetEkmConnections gets the EKM connections associated with a workload", + "file": "CloudControlsPartnerCoreClient/GetEkmConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetEkmConnections_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetEkmConnections Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetPartner_sync", - "title": "cloudcontrolspartner GetPartner Sample", - "description": "GetPartner get details of a Partner.", - "file": "CloudControlsPartnerCoreClient/GetPartner/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPartner", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.GetPartner", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetPartner", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetPartner" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetPartnerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetPartnerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Partner", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetPartner", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetPartner", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "GetPartner" }, + "description": "GetPartner get details of a Partner.", + "file": "CloudControlsPartnerCoreClient/GetPartner/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetPartner_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetPartner Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetPartnerPermissions_sync", - "title": "cloudcontrolspartner GetPartnerPermissions Sample", - "description": "GetPartnerPermissions gets the partner permissions granted for a workload", - "file": "CloudControlsPartnerCoreClient/GetPartnerPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPartnerPermissions", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.GetPartnerPermissions", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetPartnerPermissions", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetPartnerPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetPartnerPermissionsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetPartnerPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.PartnerPermissions", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetPartnerPermissions", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetPartnerPermissions", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "GetPartnerPermissions" }, + "description": "GetPartnerPermissions gets the partner permissions granted for a workload", + "file": "CloudControlsPartnerCoreClient/GetPartnerPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetPartnerPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetPartnerPermissions Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetWorkload_sync", - "title": "cloudcontrolspartner GetWorkload Sample", - "description": "GetWorkload gets details of a single workload", - "file": "CloudControlsPartnerCoreClient/GetWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkload", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.GetWorkload", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetWorkload", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetWorkloadRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Workload", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetWorkload", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.GetWorkload", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "GetWorkload" }, + "description": "GetWorkload gets details of a single workload", + "file": "CloudControlsPartnerCoreClient/GetWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_GetWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetWorkload Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_ListAccessApprovalRequests_sync", - "title": "cloudcontrolspartner ListAccessApprovalRequests Sample", - "description": "ListAccessApprovalRequests deprecated: Only returns access approval requests directly associated with\nan assured workload folder.\n\n\nDeprecated: ListAccessApprovalRequests may be removed in a future version.", - "file": "CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccessApprovalRequests", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.ListAccessApprovalRequests", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.ListAccessApprovalRequests", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "ListAccessApprovalRequests" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListAccessApprovalRequestsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListAccessApprovalRequestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccessApprovalRequestIterator", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "ListAccessApprovalRequests", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.ListAccessApprovalRequests", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "ListAccessApprovalRequests" }, + "description": "ListAccessApprovalRequests deprecated: Only returns access approval requests directly associated with\nan assured workload folder.\n\n\nDeprecated: ListAccessApprovalRequests may be removed in a future version.", + "file": "CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_ListAccessApprovalRequests_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListAccessApprovalRequests Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_ListCustomers_sync", - "title": "cloudcontrolspartner ListCustomers Sample", - "description": "ListCustomers lists customers of a partner identified by its Google Cloud organization ID", - "file": "CloudControlsPartnerCoreClient/ListCustomers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomers", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.ListCustomers", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.ListCustomers", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "ListCustomers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListCustomersRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListCustomersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomerIterator", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "ListCustomers", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.ListCustomers", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "ListCustomers" }, + "description": "ListCustomers lists customers of a partner identified by its Google Cloud organization ID", + "file": "CloudControlsPartnerCoreClient/ListCustomers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_ListCustomers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListCustomers Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_ListWorkloads_sync", - "title": "cloudcontrolspartner ListWorkloads Sample", - "description": "ListWorkloads lists customer workloads for a given customer org id", - "file": "CloudControlsPartnerCoreClient/ListWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkloads", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.ListWorkloads", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.ListWorkloads", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "ListWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListWorkloadsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkloadIterator", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "ListWorkloads", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.ListWorkloads", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "ListWorkloads" }, + "description": "ListWorkloads lists customer workloads for a given customer org id", + "file": "CloudControlsPartnerCoreClient/ListWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_ListWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListWorkloads Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_UpdateCustomer_sync", - "title": "cloudcontrolspartner UpdateCustomer Sample", - "description": "UpdateCustomer update details of a single customer", - "file": "CloudControlsPartnerCoreClient/UpdateCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient.UpdateCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.UpdateCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "UpdateCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.UpdateCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.UpdateCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Customer", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "UpdateCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore.UpdateCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerCore" - } - } + "shortName": "UpdateCustomer" }, + "description": "UpdateCustomer update details of a single customer", + "file": "CloudControlsPartnerCoreClient/UpdateCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerCore_UpdateCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner UpdateCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerMonitoring_GetViolation_sync", - "title": "cloudcontrolspartner GetViolation Sample", - "description": "GetViolation gets details of a single Violation.", - "file": "CloudControlsPartnerMonitoringClient/GetViolation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetViolation", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoringClient", + "shortName": "CloudControlsPartnerMonitoringClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoringClient.GetViolation", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring.GetViolation", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring", + "shortName": "CloudControlsPartnerMonitoring" + }, + "shortName": "GetViolation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetViolationRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetViolationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Violation", - "client": { - "shortName": "CloudControlsPartnerMonitoringClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoringClient" - }, - "method": { - "shortName": "GetViolation", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring.GetViolation", - "service": { - "shortName": "CloudControlsPartnerMonitoring", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring" - } - } + "shortName": "GetViolation" }, + "description": "GetViolation gets details of a single Violation.", + "file": "CloudControlsPartnerMonitoringClient/GetViolation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerMonitoring_GetViolation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetViolation Sample" }, { - "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerMonitoring_ListViolations_sync", - "title": "cloudcontrolspartner ListViolations Sample", - "description": "ListViolations lists Violations for a workload\nCallers may also choose to read across multiple Customers or for a single\ncustomer as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of {customer} & {workload}.\nFormat: \n`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`", - "file": "CloudControlsPartnerMonitoringClient/ListViolations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListViolations", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoringClient", + "shortName": "CloudControlsPartnerMonitoringClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoringClient.ListViolations", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring.ListViolations", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring", + "shortName": "CloudControlsPartnerMonitoring" + }, + "shortName": "ListViolations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListViolationsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListViolationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ViolationIterator", - "client": { - "shortName": "CloudControlsPartnerMonitoringClient", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoringClient" - }, - "method": { - "shortName": "ListViolations", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring.ListViolations", - "service": { - "shortName": "CloudControlsPartnerMonitoring", - "fullName": "google.cloud.cloudcontrolspartner.v1.CloudControlsPartnerMonitoring" - } - } + "shortName": "ListViolations" }, + "description": "ListViolations lists Violations for a workload\nCallers may also choose to read across multiple Customers or for a single\ncustomer as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of {customer} & {workload}.\nFormat: \n`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`", + "file": "CloudControlsPartnerMonitoringClient/ListViolations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1_generated_CloudControlsPartnerMonitoring_ListViolations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListViolations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json index 6d82a6e66f13..3a1583ee50b3 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json @@ -1,612 +1,612 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudcontrolspartner/apiv1beta", - "version": "1.5.0", - "language": "GO", "apis": [ { "id": "google.cloud.cloudcontrolspartner.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudcontrolspartner/apiv1beta", + "version": "1.5.0" }, "snippets": [ { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_CreateCustomer_sync", - "title": "cloudcontrolspartner CreateCustomer Sample", - "description": "CreateCustomer creates a new customer.", - "file": "CloudControlsPartnerCoreClient/CreateCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.CreateCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.CreateCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "CreateCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.CreateCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.CreateCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Customer", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "CreateCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.CreateCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "CreateCustomer" }, + "description": "CreateCustomer creates a new customer.", + "file": "CloudControlsPartnerCoreClient/CreateCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_CreateCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner CreateCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_DeleteCustomer_sync", - "title": "cloudcontrolspartner DeleteCustomer Sample", - "description": "DeleteCustomer delete details of a single customer", - "file": "CloudControlsPartnerCoreClient/DeleteCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.DeleteCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.DeleteCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "DeleteCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.DeleteCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.DeleteCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "DeleteCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.DeleteCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "DeleteCustomer" }, + "description": "DeleteCustomer delete details of a single customer", + "file": "CloudControlsPartnerCoreClient/DeleteCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_DeleteCustomer_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner DeleteCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetCustomer_sync", - "title": "cloudcontrolspartner GetCustomer Sample", - "description": "GetCustomer gets details of a single customer", - "file": "CloudControlsPartnerCoreClient/GetCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.GetCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Customer", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "GetCustomer" }, + "description": "GetCustomer gets details of a single customer", + "file": "CloudControlsPartnerCoreClient/GetCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetEkmConnections_sync", - "title": "cloudcontrolspartner GetEkmConnections Sample", - "description": "GetEkmConnections gets the EKM connections associated with a workload", - "file": "CloudControlsPartnerCoreClient/GetEkmConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEkmConnections", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.GetEkmConnections", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetEkmConnections", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetEkmConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetEkmConnectionsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetEkmConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.EkmConnections", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetEkmConnections", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetEkmConnections", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "GetEkmConnections" }, + "description": "GetEkmConnections gets the EKM connections associated with a workload", + "file": "CloudControlsPartnerCoreClient/GetEkmConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetEkmConnections_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetEkmConnections Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetPartner_sync", - "title": "cloudcontrolspartner GetPartner Sample", - "description": "GetPartner get details of a Partner.", - "file": "CloudControlsPartnerCoreClient/GetPartner/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPartner", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.GetPartner", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetPartner", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetPartner" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetPartnerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetPartnerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Partner", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetPartner", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetPartner", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "GetPartner" }, + "description": "GetPartner get details of a Partner.", + "file": "CloudControlsPartnerCoreClient/GetPartner/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetPartner_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetPartner Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetPartnerPermissions_sync", - "title": "cloudcontrolspartner GetPartnerPermissions Sample", - "description": "GetPartnerPermissions gets the partner permissions granted for a workload", - "file": "CloudControlsPartnerCoreClient/GetPartnerPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPartnerPermissions", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.GetPartnerPermissions", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetPartnerPermissions", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetPartnerPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetPartnerPermissionsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetPartnerPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.PartnerPermissions", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetPartnerPermissions", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetPartnerPermissions", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "GetPartnerPermissions" }, + "description": "GetPartnerPermissions gets the partner permissions granted for a workload", + "file": "CloudControlsPartnerCoreClient/GetPartnerPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetPartnerPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetPartnerPermissions Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetWorkload_sync", - "title": "cloudcontrolspartner GetWorkload Sample", - "description": "GetWorkload gets details of a single workload", - "file": "CloudControlsPartnerCoreClient/GetWorkload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkload", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.GetWorkload", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetWorkload", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "GetWorkload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetWorkloadRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetWorkloadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Workload", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "GetWorkload", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetWorkload", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "GetWorkload" }, + "description": "GetWorkload gets details of a single workload", + "file": "CloudControlsPartnerCoreClient/GetWorkload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_GetWorkload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetWorkload Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_ListAccessApprovalRequests_sync", - "title": "cloudcontrolspartner ListAccessApprovalRequests Sample", - "description": "ListAccessApprovalRequests deprecated: Only returns access approval requests directly associated with\nan assured workload folder.\n\n\nDeprecated: ListAccessApprovalRequests may be removed in a future version.", - "file": "CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccessApprovalRequests", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.ListAccessApprovalRequests", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListAccessApprovalRequests", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "ListAccessApprovalRequests" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListAccessApprovalRequestsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListAccessApprovalRequestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccessApprovalRequestIterator", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "ListAccessApprovalRequests", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListAccessApprovalRequests", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "ListAccessApprovalRequests" }, + "description": "ListAccessApprovalRequests deprecated: Only returns access approval requests directly associated with\nan assured workload folder.\n\n\nDeprecated: ListAccessApprovalRequests may be removed in a future version.", + "file": "CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_ListAccessApprovalRequests_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListAccessApprovalRequests Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_ListCustomers_sync", - "title": "cloudcontrolspartner ListCustomers Sample", - "description": "ListCustomers lists customers of a partner identified by its Google Cloud organization ID", - "file": "CloudControlsPartnerCoreClient/ListCustomers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomers", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.ListCustomers", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListCustomers", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "ListCustomers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListCustomersRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListCustomersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomerIterator", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "ListCustomers", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListCustomers", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "ListCustomers" }, + "description": "ListCustomers lists customers of a partner identified by its Google Cloud organization ID", + "file": "CloudControlsPartnerCoreClient/ListCustomers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_ListCustomers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListCustomers Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_ListWorkloads_sync", - "title": "cloudcontrolspartner ListWorkloads Sample", - "description": "ListWorkloads lists customer workloads for a given customer org id", - "file": "CloudControlsPartnerCoreClient/ListWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkloads", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.ListWorkloads", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListWorkloads", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "ListWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListWorkloadsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkloadIterator", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "ListWorkloads", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListWorkloads", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "ListWorkloads" }, + "description": "ListWorkloads lists customer workloads for a given customer org id", + "file": "CloudControlsPartnerCoreClient/ListWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_ListWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListWorkloads Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_UpdateCustomer_sync", - "title": "cloudcontrolspartner UpdateCustomer Sample", - "description": "UpdateCustomer update details of a single customer", - "file": "CloudControlsPartnerCoreClient/UpdateCustomer/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomer", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient", + "shortName": "CloudControlsPartnerCoreClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient.UpdateCustomer", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.UpdateCustomer", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "shortName": "CloudControlsPartnerCore" + }, + "shortName": "UpdateCustomer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.UpdateCustomerRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.UpdateCustomerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Customer", - "client": { - "shortName": "CloudControlsPartnerCoreClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCoreClient" - }, - "method": { - "shortName": "UpdateCustomer", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.UpdateCustomer", - "service": { - "shortName": "CloudControlsPartnerCore", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore" - } - } + "shortName": "UpdateCustomer" }, + "description": "UpdateCustomer update details of a single customer", + "file": "CloudControlsPartnerCoreClient/UpdateCustomer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerCore_UpdateCustomer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner UpdateCustomer Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerMonitoring_GetViolation_sync", - "title": "cloudcontrolspartner GetViolation Sample", - "description": "GetViolation gets details of a single Violation.", - "file": "CloudControlsPartnerMonitoringClient/GetViolation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetViolation", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoringClient", + "shortName": "CloudControlsPartnerMonitoringClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoringClient.GetViolation", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.GetViolation", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring", + "shortName": "CloudControlsPartnerMonitoring" + }, + "shortName": "GetViolation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.GetViolationRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.GetViolationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudcontrolspartnerpb.Violation", - "client": { - "shortName": "CloudControlsPartnerMonitoringClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoringClient" - }, - "method": { - "shortName": "GetViolation", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.GetViolation", - "service": { - "shortName": "CloudControlsPartnerMonitoring", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring" - } - } + "shortName": "GetViolation" }, + "description": "GetViolation gets details of a single Violation.", + "file": "CloudControlsPartnerMonitoringClient/GetViolation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerMonitoring_GetViolation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner GetViolation Sample" }, { - "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerMonitoring_ListViolations_sync", - "title": "cloudcontrolspartner ListViolations Sample", - "description": "ListViolations lists Violations for a workload\nCallers may also choose to read across multiple Customers or for a single\ncustomer as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of {customer} & {workload}.\nFormat: \n`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`", - "file": "CloudControlsPartnerMonitoringClient/ListViolations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListViolations", + "client": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoringClient", + "shortName": "CloudControlsPartnerMonitoringClient" + }, "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoringClient.ListViolations", + "method": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.ListViolations", + "service": { + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring", + "shortName": "CloudControlsPartnerMonitoring" + }, + "shortName": "ListViolations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudcontrolspartnerpb.ListViolationsRequest", - "name": "req" + "name": "req", + "type": "cloudcontrolspartnerpb.ListViolationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ViolationIterator", - "client": { - "shortName": "CloudControlsPartnerMonitoringClient", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoringClient" - }, - "method": { - "shortName": "ListViolations", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.ListViolations", - "service": { - "shortName": "CloudControlsPartnerMonitoring", - "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring" - } - } + "shortName": "ListViolations" }, + "description": "ListViolations lists Violations for a workload\nCallers may also choose to read across multiple Customers or for a single\ncustomer as per\n[AIP-159](https: //google.aip.dev/159) by using '-' (the hyphen or dash\ncharacter) as a wildcard character instead of {customer} & {workload}.\nFormat: \n`organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`", + "file": "CloudControlsPartnerMonitoringClient/ListViolations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcontrolspartner_v1beta_generated_CloudControlsPartnerMonitoring_ListViolations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcontrolspartner ListViolations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json b/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json index 6bf61c4a341e..2f81d648b390 100644 --- a/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json +++ b/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json @@ -1,2312 +1,2312 @@ { "clientLibrary": { - "name": "cloud.google.com/go/clouddms/apiv1", - "version": "1.8.8", - "language": "GO", "apis": [ { "id": "google.cloud.clouddms.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/clouddms/apiv1", + "version": "1.8.8" }, "snippets": [ { - "regionTag": "datamigration_v1_generated_DataMigrationService_ApplyConversionWorkspace_sync", - "title": "datamigration ApplyConversionWorkspace Sample", - "description": "ApplyConversionWorkspace applies draft tree onto a specific destination database.", - "file": "DataMigrationClient/ApplyConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ApplyConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ApplyConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ApplyConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ApplyConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ApplyConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApplyConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ApplyConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ApplyConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ApplyConversionWorkspace" }, + "description": "ApplyConversionWorkspace applies draft tree onto a specific destination database.", + "file": "DataMigrationClient/ApplyConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ApplyConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ApplyConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CancelOperation_sync", - "title": "datamigration CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataMigrationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataMigrationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CancelOperation Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CommitConversionWorkspace_sync", - "title": "datamigration CommitConversionWorkspace Sample", - "description": "CommitConversionWorkspace marks all the data in the conversion workspace as committed.", - "file": "DataMigrationClient/CommitConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CommitConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CommitConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "CommitConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.CommitConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.CommitConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CommitConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.CommitConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "CommitConversionWorkspace" }, + "description": "CommitConversionWorkspace marks all the data in the conversion workspace as committed.", + "file": "DataMigrationClient/CommitConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CommitConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CommitConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ConvertConversionWorkspace_sync", - "title": "datamigration ConvertConversionWorkspace Sample", - "description": "ConvertConversionWorkspace creates a draft tree schema for the destination database.", - "file": "DataMigrationClient/ConvertConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConvertConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ConvertConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ConvertConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ConvertConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ConvertConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ConvertConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConvertConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ConvertConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ConvertConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ConvertConversionWorkspace" }, + "description": "ConvertConversionWorkspace creates a draft tree schema for the destination database.", + "file": "DataMigrationClient/ConvertConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ConvertConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ConvertConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CreateConnectionProfile_sync", - "title": "datamigration CreateConnectionProfile Sample", - "description": "CreateConnectionProfile creates a new connection profile in a given project and location.", - "file": "DataMigrationClient/CreateConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnectionProfile", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateConnectionProfile", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfile", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "CreateConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.CreateConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.CreateConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectionProfileOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfile", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "CreateConnectionProfile" }, + "description": "CreateConnectionProfile creates a new connection profile in a given project and location.", + "file": "DataMigrationClient/CreateConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CreateConnectionProfile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CreateConnectionProfile Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CreateConversionWorkspace_sync", - "title": "datamigration CreateConversionWorkspace Sample", - "description": "CreateConversionWorkspace creates a new conversion workspace in a given project and location.", - "file": "DataMigrationClient/CreateConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "CreateConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.CreateConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.CreateConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CreateConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "CreateConversionWorkspace" }, + "description": "CreateConversionWorkspace creates a new conversion workspace in a given project and location.", + "file": "DataMigrationClient/CreateConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CreateConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CreateConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CreateMappingRule_sync", - "title": "datamigration CreateMappingRule Sample", - "description": "CreateMappingRule creates a new mapping rule for a given conversion workspace.", - "file": "DataMigrationClient/CreateMappingRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMappingRule", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateMappingRule", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMappingRule", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "CreateMappingRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.CreateMappingRuleRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.CreateMappingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.MappingRule", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CreateMappingRule", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMappingRule", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "CreateMappingRule" }, + "description": "CreateMappingRule creates a new mapping rule for a given conversion workspace.", + "file": "DataMigrationClient/CreateMappingRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CreateMappingRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CreateMappingRule Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CreateMigrationJob_sync", - "title": "datamigration CreateMigrationJob Sample", - "description": "CreateMigrationJob creates a new migration job in a given project and location.", - "file": "DataMigrationClient/CreateMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreateMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "CreateMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.CreateMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.CreateMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CreateMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "CreateMigrationJob" }, + "description": "CreateMigrationJob creates a new migration job in a given project and location.", + "file": "DataMigrationClient/CreateMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CreateMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CreateMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_CreatePrivateConnection_sync", - "title": "datamigration CreatePrivateConnection Sample", - "description": "CreatePrivateConnection creates a new private connection in a given project and location.", - "file": "DataMigrationClient/CreatePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrivateConnection", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.CreatePrivateConnection", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreatePrivateConnection", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "CreatePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.CreatePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.CreatePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrivateConnectionOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreatePrivateConnection", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "CreatePrivateConnection" }, + "description": "CreatePrivateConnection creates a new private connection in a given project and location.", + "file": "DataMigrationClient/CreatePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_CreatePrivateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration CreatePrivateConnection Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConnectionProfile_sync", - "title": "datamigration DeleteConnectionProfile Sample", - "description": "DeleteConnectionProfile deletes a single Database Migration Service connection profile.\nA connection profile can only be deleted if it is not in use by any\nactive migration jobs.", - "file": "DataMigrationClient/DeleteConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnectionProfile", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteConnectionProfile", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfile", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DeleteConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DeleteConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DeleteConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectionProfileOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfile", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DeleteConnectionProfile" }, + "description": "DeleteConnectionProfile deletes a single Database Migration Service connection profile.\nA connection profile can only be deleted if it is not in use by any\nactive migration jobs.", + "file": "DataMigrationClient/DeleteConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConnectionProfile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DeleteConnectionProfile Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConversionWorkspace_sync", - "title": "datamigration DeleteConversionWorkspace Sample", - "description": "DeleteConversionWorkspace deletes a single conversion workspace.", - "file": "DataMigrationClient/DeleteConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DeleteConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DeleteConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DeleteConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DeleteConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DeleteConversionWorkspace" }, + "description": "DeleteConversionWorkspace deletes a single conversion workspace.", + "file": "DataMigrationClient/DeleteConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DeleteConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMappingRule_sync", - "title": "datamigration DeleteMappingRule Sample", - "description": "DeleteMappingRule deletes a single mapping rule.", - "file": "DataMigrationClient/DeleteMappingRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMappingRule", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteMappingRule", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMappingRule", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DeleteMappingRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DeleteMappingRuleRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DeleteMappingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DeleteMappingRule", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMappingRule", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DeleteMappingRule" }, + "description": "DeleteMappingRule deletes a single mapping rule.", + "file": "DataMigrationClient/DeleteMappingRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMappingRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DeleteMappingRule Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMigrationJob_sync", - "title": "datamigration DeleteMigrationJob Sample", - "description": "DeleteMigrationJob deletes a single migration job.", - "file": "DataMigrationClient/DeleteMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DeleteMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DeleteMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DeleteMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DeleteMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DeleteMigrationJob" }, + "description": "DeleteMigrationJob deletes a single migration job.", + "file": "DataMigrationClient/DeleteMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteMigrationJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DeleteMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteOperation_sync", - "title": "datamigration DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataMigrationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataMigrationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DeleteOperation Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DeletePrivateConnection_sync", - "title": "datamigration DeletePrivateConnection Sample", - "description": "DeletePrivateConnection deletes a single Database Migration Service private connection.", - "file": "DataMigrationClient/DeletePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrivateConnection", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DeletePrivateConnection", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeletePrivateConnection", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DeletePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DeletePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DeletePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrivateConnectionOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeletePrivateConnection", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DeletePrivateConnection" }, + "description": "DeletePrivateConnection deletes a single Database Migration Service private connection.", + "file": "DataMigrationClient/DeletePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DeletePrivateConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DeletePrivateConnection Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DescribeConversionWorkspaceRevisions_sync", - "title": "datamigration DescribeConversionWorkspaceRevisions Sample", - "description": "DescribeConversionWorkspaceRevisions retrieves a list of committed revisions of a specific conversion\nworkspace.", - "file": "DataMigrationClient/DescribeConversionWorkspaceRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "DescribeConversionWorkspaceRevisions", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DescribeConversionWorkspaceRevisions", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeConversionWorkspaceRevisions", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DescribeConversionWorkspaceRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DescribeConversionWorkspaceRevisionsRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DescribeConversionWorkspaceRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.DescribeConversionWorkspaceRevisionsResponse", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DescribeConversionWorkspaceRevisions", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeConversionWorkspaceRevisions", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DescribeConversionWorkspaceRevisions" }, + "description": "DescribeConversionWorkspaceRevisions retrieves a list of committed revisions of a specific conversion\nworkspace.", + "file": "DataMigrationClient/DescribeConversionWorkspaceRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DescribeConversionWorkspaceRevisions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DescribeConversionWorkspaceRevisions Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_DescribeDatabaseEntities_sync", - "title": "datamigration DescribeDatabaseEntities Sample", - "description": "DescribeDatabaseEntities describes the database entities tree for a specific conversion workspace\nand a specific tree type.\n\nDatabase entities are not resources like conversion workspaces or mapping\nrules, and they can't be created, updated or deleted. Instead, they are\nsimple data objects describing the structure of the client database.", - "file": "DataMigrationClient/DescribeDatabaseEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "DescribeDatabaseEntities", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.DescribeDatabaseEntities", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeDatabaseEntities", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "DescribeDatabaseEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.DescribeDatabaseEntitiesRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.DescribeDatabaseEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseEntityIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "DescribeDatabaseEntities", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeDatabaseEntities", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "DescribeDatabaseEntities" }, + "description": "DescribeDatabaseEntities describes the database entities tree for a specific conversion workspace\nand a specific tree type.\n\nDatabase entities are not resources like conversion workspaces or mapping\nrules, and they can't be created, updated or deleted. Instead, they are\nsimple data objects describing the structure of the client database.", + "file": "DataMigrationClient/DescribeDatabaseEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_DescribeDatabaseEntities_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration DescribeDatabaseEntities Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_FetchStaticIps_sync", - "title": "datamigration FetchStaticIps Sample", - "description": "FetchStaticIps fetches a set of static IP addresses that need to be allowlisted by the\ncustomer when using the static-IP connectivity method.", - "file": "DataMigrationClient/FetchStaticIps/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchStaticIps", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.FetchStaticIps", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.FetchStaticIps", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "FetchStaticIps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.FetchStaticIpsRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.FetchStaticIpsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.FetchStaticIps", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "FetchStaticIps" }, + "description": "FetchStaticIps fetches a set of static IP addresses that need to be allowlisted by the\ncustomer when using the static-IP connectivity method.", + "file": "DataMigrationClient/FetchStaticIps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_FetchStaticIps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration FetchStaticIps Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GenerateSshScript_sync", - "title": "datamigration GenerateSshScript Sample", - "description": "GenerateSshScript generate a SSH configuration script to configure the reverse SSH\nconnectivity.", - "file": "DataMigrationClient/GenerateSshScript/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateSshScript", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GenerateSshScript", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateSshScript", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GenerateSshScript" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GenerateSshScriptRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GenerateSshScriptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.SshScript", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GenerateSshScript", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateSshScript", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GenerateSshScript" }, + "description": "GenerateSshScript generate a SSH configuration script to configure the reverse SSH\nconnectivity.", + "file": "DataMigrationClient/GenerateSshScript/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GenerateSshScript_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GenerateSshScript Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GenerateTcpProxyScript_sync", - "title": "datamigration GenerateTcpProxyScript Sample", - "description": "GenerateTcpProxyScript generate a TCP Proxy configuration script to configure a cloud-hosted VM\nrunning a TCP Proxy.", - "file": "DataMigrationClient/GenerateTcpProxyScript/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateTcpProxyScript", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GenerateTcpProxyScript", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateTcpProxyScript", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GenerateTcpProxyScript" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GenerateTcpProxyScriptRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GenerateTcpProxyScriptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.TcpProxyScript", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GenerateTcpProxyScript", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateTcpProxyScript", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GenerateTcpProxyScript" }, + "description": "GenerateTcpProxyScript generate a TCP Proxy configuration script to configure a cloud-hosted VM\nrunning a TCP Proxy.", + "file": "DataMigrationClient/GenerateTcpProxyScript/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GenerateTcpProxyScript_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GenerateTcpProxyScript Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetConnectionProfile_sync", - "title": "datamigration GetConnectionProfile Sample", - "description": "GetConnectionProfile gets details of a single connection profile.", - "file": "DataMigrationClient/GetConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectionProfile", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetConnectionProfile", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfile", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GetConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GetConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GetConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.ConnectionProfile", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfile", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GetConnectionProfile" }, + "description": "GetConnectionProfile gets details of a single connection profile.", + "file": "DataMigrationClient/GetConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetConnectionProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetConnectionProfile Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetConversionWorkspace_sync", - "title": "datamigration GetConversionWorkspace Sample", - "description": "GetConversionWorkspace gets details of a single conversion workspace.", - "file": "DataMigrationClient/GetConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GetConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GetConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GetConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.ConversionWorkspace", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GetConversionWorkspace" }, + "description": "GetConversionWorkspace gets details of a single conversion workspace.", + "file": "DataMigrationClient/GetConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetIamPolicy_sync", - "title": "datamigration 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": "DataMigrationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataMigrationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetIamPolicy Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetLocation_sync", - "title": "datamigration GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataMigrationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataMigrationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetLocation Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetMappingRule_sync", - "title": "datamigration GetMappingRule Sample", - "description": "GetMappingRule gets the details of a mapping rule.", - "file": "DataMigrationClient/GetMappingRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMappingRule", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetMappingRule", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMappingRule", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GetMappingRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GetMappingRuleRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GetMappingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.MappingRule", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetMappingRule", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMappingRule", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GetMappingRule" }, + "description": "GetMappingRule gets the details of a mapping rule.", + "file": "DataMigrationClient/GetMappingRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetMappingRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetMappingRule Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetMigrationJob_sync", - "title": "datamigration GetMigrationJob Sample", - "description": "GetMigrationJob gets details of a single migration job.", - "file": "DataMigrationClient/GetMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GetMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GetMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GetMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.MigrationJob", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GetMigrationJob" }, + "description": "GetMigrationJob gets details of a single migration job.", + "file": "DataMigrationClient/GetMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetMigrationJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetOperation_sync", - "title": "datamigration GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataMigrationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataMigrationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetOperation Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_GetPrivateConnection_sync", - "title": "datamigration GetPrivateConnection Sample", - "description": "GetPrivateConnection gets details of a single private connection.", - "file": "DataMigrationClient/GetPrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrivateConnection", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.GetPrivateConnection", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetPrivateConnection", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "GetPrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.GetPrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.GetPrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.PrivateConnection", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetPrivateConnection", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "GetPrivateConnection" }, + "description": "GetPrivateConnection gets details of a single private connection.", + "file": "DataMigrationClient/GetPrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_GetPrivateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration GetPrivateConnection Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ImportMappingRules_sync", - "title": "datamigration ImportMappingRules Sample", - "description": "ImportMappingRules imports the mapping rules for a given conversion workspace.\nSupports various formats of external rules files.", - "file": "DataMigrationClient/ImportMappingRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportMappingRules", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ImportMappingRules", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ImportMappingRules", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ImportMappingRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ImportMappingRulesRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ImportMappingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "ImportMappingRulesOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ImportMappingRules", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ImportMappingRules", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + ], + "resultType": "ImportMappingRulesOperation", + "shortName": "ImportMappingRules" }, + "description": "ImportMappingRules imports the mapping rules for a given conversion workspace.\nSupports various formats of external rules files.", + "file": "DataMigrationClient/ImportMappingRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ImportMappingRules_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ImportMappingRules Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListConnectionProfiles_sync", - "title": "datamigration ListConnectionProfiles Sample", - "description": "ListConnectionProfiles retrieves a list of all connection profiles in a given project and\nlocation.", - "file": "DataMigrationClient/ListConnectionProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectionProfiles", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListConnectionProfiles", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfiles", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ListConnectionProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ListConnectionProfilesRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ListConnectionProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionProfileIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfiles", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ListConnectionProfiles" }, + "description": "ListConnectionProfiles retrieves a list of all connection profiles in a given project and\nlocation.", + "file": "DataMigrationClient/ListConnectionProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListConnectionProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListConnectionProfiles Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListConversionWorkspaces_sync", - "title": "datamigration ListConversionWorkspaces Sample", - "description": "ListConversionWorkspaces lists conversion workspaces in a given project and location.", - "file": "DataMigrationClient/ListConversionWorkspaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversionWorkspaces", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListConversionWorkspaces", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConversionWorkspaces", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ListConversionWorkspaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ListConversionWorkspacesRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ListConversionWorkspacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversionWorkspaceIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListConversionWorkspaces", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConversionWorkspaces", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ListConversionWorkspaces" }, + "description": "ListConversionWorkspaces lists conversion workspaces in a given project and location.", + "file": "DataMigrationClient/ListConversionWorkspaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListConversionWorkspaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListConversionWorkspaces Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListLocations_sync", - "title": "datamigration ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataMigrationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataMigrationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListLocations Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListMappingRules_sync", - "title": "datamigration ListMappingRules Sample", - "description": "ListMappingRules lists the mapping rules for a specific conversion workspace.", - "file": "DataMigrationClient/ListMappingRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMappingRules", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListMappingRules", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMappingRules", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ListMappingRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ListMappingRulesRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ListMappingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MappingRuleIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListMappingRules", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMappingRules", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ListMappingRules" }, + "description": "ListMappingRules lists the mapping rules for a specific conversion workspace.", + "file": "DataMigrationClient/ListMappingRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListMappingRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListMappingRules Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListMigrationJobs_sync", - "title": "datamigration ListMigrationJobs Sample", - "description": "ListMigrationJobs lists migration jobs in a given project and location.", - "file": "DataMigrationClient/ListMigrationJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMigrationJobs", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListMigrationJobs", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobs", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ListMigrationJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ListMigrationJobsRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ListMigrationJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigrationJobIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListMigrationJobs", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobs", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ListMigrationJobs" }, + "description": "ListMigrationJobs lists migration jobs in a given project and location.", + "file": "DataMigrationClient/ListMigrationJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListMigrationJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListMigrationJobs Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListOperations_sync", - "title": "datamigration ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataMigrationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataMigrationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListOperations Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ListPrivateConnections_sync", - "title": "datamigration ListPrivateConnections Sample", - "description": "ListPrivateConnections retrieves a list of private connections in a given project and location.", - "file": "DataMigrationClient/ListPrivateConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrivateConnections", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ListPrivateConnections", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListPrivateConnections", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ListPrivateConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ListPrivateConnectionsRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ListPrivateConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrivateConnectionIterator", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListPrivateConnections", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ListPrivateConnections" }, + "description": "ListPrivateConnections retrieves a list of private connections in a given project and location.", + "file": "DataMigrationClient/ListPrivateConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ListPrivateConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ListPrivateConnections Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_PromoteMigrationJob_sync", - "title": "datamigration PromoteMigrationJob Sample", - "description": "PromoteMigrationJob promote a migration job, stopping replication to the destination and\npromoting the destination to be a standalone database.", - "file": "DataMigrationClient/PromoteMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "PromoteMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.PromoteMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "PromoteMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.PromoteMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.PromoteMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromoteMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "PromoteMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "PromoteMigrationJob" }, + "description": "PromoteMigrationJob promote a migration job, stopping replication to the destination and\npromoting the destination to be a standalone database.", + "file": "DataMigrationClient/PromoteMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_PromoteMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration PromoteMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_RestartMigrationJob_sync", - "title": "datamigration RestartMigrationJob Sample", - "description": "RestartMigrationJob restart a stopped or failed migration job, resetting the destination\ninstance to its original state and starting the migration process from\nscratch.", - "file": "DataMigrationClient/RestartMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.RestartMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "RestartMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.RestartMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.RestartMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestartMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "RestartMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "RestartMigrationJob" }, + "description": "RestartMigrationJob restart a stopped or failed migration job, resetting the destination\ninstance to its original state and starting the migration process from\nscratch.", + "file": "DataMigrationClient/RestartMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_RestartMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration RestartMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_ResumeMigrationJob_sync", - "title": "datamigration ResumeMigrationJob Sample", - "description": "ResumeMigrationJob resume a migration job that is currently stopped and is resumable (was\nstopped during CDC phase).", - "file": "DataMigrationClient/ResumeMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.ResumeMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "ResumeMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.ResumeMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.ResumeMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResumeMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "ResumeMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "ResumeMigrationJob" }, + "description": "ResumeMigrationJob resume a migration job that is currently stopped and is resumable (was\nstopped during CDC phase).", + "file": "DataMigrationClient/ResumeMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_ResumeMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration ResumeMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_RollbackConversionWorkspace_sync", - "title": "datamigration RollbackConversionWorkspace Sample", - "description": "RollbackConversionWorkspace rolls back a conversion workspace to the last committed snapshot.", - "file": "DataMigrationClient/RollbackConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.RollbackConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.RollbackConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "RollbackConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.RollbackConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.RollbackConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RollbackConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "RollbackConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.RollbackConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "RollbackConversionWorkspace" }, + "description": "RollbackConversionWorkspace rolls back a conversion workspace to the last committed snapshot.", + "file": "DataMigrationClient/RollbackConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_RollbackConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration RollbackConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_SearchBackgroundJobs_sync", - "title": "datamigration SearchBackgroundJobs Sample", - "description": "SearchBackgroundJobs searches/lists the background jobs for a specific\nconversion workspace.\n\nThe background jobs are not resources like conversion workspaces or\nmapping rules, and they can't be created, updated or deleted.\nInstead, they are a way to expose the data plane jobs log.", - "file": "DataMigrationClient/SearchBackgroundJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchBackgroundJobs", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.SearchBackgroundJobs", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.SearchBackgroundJobs", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "SearchBackgroundJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.SearchBackgroundJobsRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.SearchBackgroundJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clouddmspb.SearchBackgroundJobsResponse", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "SearchBackgroundJobs", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.SearchBackgroundJobs", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "SearchBackgroundJobs" }, + "description": "SearchBackgroundJobs searches/lists the background jobs for a specific\nconversion workspace.\n\nThe background jobs are not resources like conversion workspaces or\nmapping rules, and they can't be created, updated or deleted.\nInstead, they are a way to expose the data plane jobs log.", + "file": "DataMigrationClient/SearchBackgroundJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_SearchBackgroundJobs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration SearchBackgroundJobs Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_SeedConversionWorkspace_sync", - "title": "datamigration SeedConversionWorkspace Sample", - "description": "SeedConversionWorkspace imports a snapshot of the source database into the\nconversion workspace.", - "file": "DataMigrationClient/SeedConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "SeedConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.SeedConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.SeedConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "SeedConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.SeedConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.SeedConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SeedConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "SeedConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.SeedConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "SeedConversionWorkspace" }, + "description": "SeedConversionWorkspace imports a snapshot of the source database into the\nconversion workspace.", + "file": "DataMigrationClient/SeedConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_SeedConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration SeedConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_SetIamPolicy_sync", - "title": "datamigration 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": "DataMigrationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataMigrationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration SetIamPolicy Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_StartMigrationJob_sync", - "title": "datamigration StartMigrationJob Sample", - "description": "StartMigrationJob start an already created migration job.", - "file": "DataMigrationClient/StartMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.StartMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.StartMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "StartMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.StartMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.StartMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "StartMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.StartMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "StartMigrationJob" }, + "description": "StartMigrationJob start an already created migration job.", + "file": "DataMigrationClient/StartMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_StartMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration StartMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_StopMigrationJob_sync", - "title": "datamigration StopMigrationJob Sample", - "description": "StopMigrationJob stops a running migration job.", - "file": "DataMigrationClient/StopMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.StopMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.StopMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "StopMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.StopMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.StopMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "StopMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.StopMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "StopMigrationJob" }, + "description": "StopMigrationJob stops a running migration job.", + "file": "DataMigrationClient/StopMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_StopMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration StopMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_TestIamPermissions_sync", - "title": "datamigration 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": "DataMigrationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataMigrationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration TestIamPermissions Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConnectionProfile_sync", - "title": "datamigration UpdateConnectionProfile Sample", - "description": "UpdateConnectionProfile update the configuration of a single connection profile.", - "file": "DataMigrationClient/UpdateConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnectionProfile", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateConnectionProfile", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfile", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "UpdateConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.UpdateConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.UpdateConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectionProfileOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfile", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "UpdateConnectionProfile" }, + "description": "UpdateConnectionProfile update the configuration of a single connection profile.", + "file": "DataMigrationClient/UpdateConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConnectionProfile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration UpdateConnectionProfile Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConversionWorkspace_sync", - "title": "datamigration UpdateConversionWorkspace Sample", - "description": "UpdateConversionWorkspace updates the parameters of a single conversion workspace.", - "file": "DataMigrationClient/UpdateConversionWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversionWorkspace", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateConversionWorkspace", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConversionWorkspace", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "UpdateConversionWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.UpdateConversionWorkspaceRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.UpdateConversionWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConversionWorkspaceOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "UpdateConversionWorkspace", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConversionWorkspace", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "UpdateConversionWorkspace" }, + "description": "UpdateConversionWorkspace updates the parameters of a single conversion workspace.", + "file": "DataMigrationClient/UpdateConversionWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateConversionWorkspace_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration UpdateConversionWorkspace Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateMigrationJob_sync", - "title": "datamigration UpdateMigrationJob Sample", - "description": "UpdateMigrationJob updates the parameters of a single migration job.", - "file": "DataMigrationClient/UpdateMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.UpdateMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "UpdateMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.UpdateMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.UpdateMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "UpdateMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "UpdateMigrationJob" }, + "description": "UpdateMigrationJob updates the parameters of a single migration job.", + "file": "DataMigrationClient/UpdateMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_UpdateMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration UpdateMigrationJob Sample" }, { - "regionTag": "datamigration_v1_generated_DataMigrationService_VerifyMigrationJob_sync", - "title": "datamigration VerifyMigrationJob Sample", - "description": "VerifyMigrationJob verify a migration job, making sure the destination can reach the source\nand that all configuration and prerequisites are met.", - "file": "DataMigrationClient/VerifyMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyMigrationJob", + "client": { + "fullName": "google.cloud.clouddms.v1.DataMigrationClient", + "shortName": "DataMigrationClient" + }, "fullName": "google.cloud.clouddms.v1.DataMigrationClient.VerifyMigrationJob", + "method": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJob", + "service": { + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "shortName": "DataMigrationService" + }, + "shortName": "VerifyMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clouddmspb.VerifyMigrationJobRequest", - "name": "req" + "name": "req", + "type": "clouddmspb.VerifyMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VerifyMigrationJobOperation", - "client": { - "shortName": "DataMigrationClient", - "fullName": "google.cloud.clouddms.v1.DataMigrationClient" - }, - "method": { - "shortName": "VerifyMigrationJob", - "fullName": "google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJob", - "service": { - "shortName": "DataMigrationService", - "fullName": "google.cloud.clouddms.v1.DataMigrationService" - } - } + "shortName": "VerifyMigrationJob" }, + "description": "VerifyMigrationJob verify a migration job, making sure the destination can reach the source\nand that all configuration and prerequisites are met.", + "file": "DataMigrationClient/VerifyMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamigration_v1_generated_DataMigrationService_VerifyMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamigration VerifyMigrationJob Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json b/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json index 7e8d5d940255..e6425d97eefa 100644 --- a/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json +++ b/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudprofiler/apiv2", - "version": "0.4.6", - "language": "GO", "apis": [ { "id": "google.devtools.cloudprofiler.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudprofiler/apiv2", + "version": "0.4.6" }, "snippets": [ { - "regionTag": "cloudprofiler_v2_generated_ExportService_ListProfiles_sync", - "title": "cloudprofiler ListProfiles Sample", - "description": "ListProfiles lists profiles which have been collected so far and for which the caller\nhas permission to view.", - "file": "ExportClient/ListProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProfiles", + "client": { + "fullName": "google.devtools.cloudprofiler.v2.ExportClient", + "shortName": "ExportClient" + }, "fullName": "google.devtools.cloudprofiler.v2.ExportClient.ListProfiles", + "method": { + "fullName": "google.devtools.cloudprofiler.v2.ExportService.ListProfiles", + "service": { + "fullName": "google.devtools.cloudprofiler.v2.ExportService", + "shortName": "ExportService" + }, + "shortName": "ListProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudprofilerpb.ListProfilesRequest", - "name": "req" + "name": "req", + "type": "cloudprofilerpb.ListProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProfileIterator", - "client": { - "shortName": "ExportClient", - "fullName": "google.devtools.cloudprofiler.v2.ExportClient" - }, - "method": { - "shortName": "ListProfiles", - "fullName": "google.devtools.cloudprofiler.v2.ExportService.ListProfiles", - "service": { - "shortName": "ExportService", - "fullName": "google.devtools.cloudprofiler.v2.ExportService" - } - } + "shortName": "ListProfiles" }, + "description": "ListProfiles lists profiles which have been collected so far and for which the caller\nhas permission to view.", + "file": "ExportClient/ListProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprofiler_v2_generated_ExportService_ListProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprofiler ListProfiles Sample" }, { - "regionTag": "cloudprofiler_v2_generated_ProfilerService_CreateOfflineProfile_sync", - "title": "cloudprofiler CreateOfflineProfile Sample", - "description": "CreateOfflineProfile createOfflineProfile creates a new profile resource in the offline\nmode. The client provides the profile to create along with the profile\nbytes, the server records it.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._", - "file": "ProfilerClient/CreateOfflineProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOfflineProfile", + "client": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient", + "shortName": "ProfilerClient" + }, "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient.CreateOfflineProfile", + "method": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile", + "service": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService", + "shortName": "ProfilerService" + }, + "shortName": "CreateOfflineProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudprofilerpb.CreateOfflineProfileRequest", - "name": "req" + "name": "req", + "type": "cloudprofilerpb.CreateOfflineProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudprofilerpb.Profile", - "client": { - "shortName": "ProfilerClient", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient" - }, - "method": { - "shortName": "CreateOfflineProfile", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile", - "service": { - "shortName": "ProfilerService", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerService" - } - } + "shortName": "CreateOfflineProfile" }, + "description": "CreateOfflineProfile createOfflineProfile creates a new profile resource in the offline\nmode. The client provides the profile to create along with the profile\nbytes, the server records it.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._", + "file": "ProfilerClient/CreateOfflineProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprofiler_v2_generated_ProfilerService_CreateOfflineProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprofiler CreateOfflineProfile Sample" }, { - "regionTag": "cloudprofiler_v2_generated_ProfilerService_CreateProfile_sync", - "title": "cloudprofiler CreateProfile Sample", - "description": "CreateProfile createProfile creates a new profile resource in the online mode.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._\n\nThe server ensures that the new profiles are created at a constant rate per\ndeployment, so the creation request may hang for some time until the next\nprofile session is available.\n\nThe request may fail with ABORTED error if the creation is not available\nwithin ~1m, the response will indicate the duration of the backoff the\nclient should take before attempting creating a profile again. The backoff\nduration is returned in google.rpc.RetryInfo extension on the response\nstatus. To a gRPC client, the extension will be return as a\nbinary-serialized proto in the trailing metadata item named\n\"google.rpc.retryinfo-bin\".", - "file": "ProfilerClient/CreateProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProfile", + "client": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient", + "shortName": "ProfilerClient" + }, "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient.CreateProfile", + "method": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile", + "service": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService", + "shortName": "ProfilerService" + }, + "shortName": "CreateProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudprofilerpb.CreateProfileRequest", - "name": "req" + "name": "req", + "type": "cloudprofilerpb.CreateProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudprofilerpb.Profile", - "client": { - "shortName": "ProfilerClient", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient" - }, - "method": { - "shortName": "CreateProfile", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile", - "service": { - "shortName": "ProfilerService", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerService" - } - } + "shortName": "CreateProfile" }, + "description": "CreateProfile createProfile creates a new profile resource in the online mode.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._\n\nThe server ensures that the new profiles are created at a constant rate per\ndeployment, so the creation request may hang for some time until the next\nprofile session is available.\n\nThe request may fail with ABORTED error if the creation is not available\nwithin ~1m, the response will indicate the duration of the backoff the\nclient should take before attempting creating a profile again. The backoff\nduration is returned in google.rpc.RetryInfo extension on the response\nstatus. To a gRPC client, the extension will be return as a\nbinary-serialized proto in the trailing metadata item named\n\"google.rpc.retryinfo-bin\".", + "file": "ProfilerClient/CreateProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprofiler_v2_generated_ProfilerService_CreateProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprofiler CreateProfile Sample" }, { - "regionTag": "cloudprofiler_v2_generated_ProfilerService_UpdateProfile_sync", - "title": "cloudprofiler UpdateProfile Sample", - "description": "UpdateProfile updateProfile updates the profile bytes and labels on the profile resource\ncreated in the online mode. Updating the bytes for profiles created in the\noffline mode is currently not supported: the profile content must be\nprovided at the time of the profile creation.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._", - "file": "ProfilerClient/UpdateProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProfile", + "client": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient", + "shortName": "ProfilerClient" + }, "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient.UpdateProfile", + "method": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile", + "service": { + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService", + "shortName": "ProfilerService" + }, + "shortName": "UpdateProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudprofilerpb.UpdateProfileRequest", - "name": "req" + "name": "req", + "type": "cloudprofilerpb.UpdateProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudprofilerpb.Profile", - "client": { - "shortName": "ProfilerClient", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerClient" - }, - "method": { - "shortName": "UpdateProfile", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile", - "service": { - "shortName": "ProfilerService", - "fullName": "google.devtools.cloudprofiler.v2.ProfilerService" - } - } + "shortName": "UpdateProfile" }, + "description": "UpdateProfile updateProfile updates the profile bytes and labels on the profile resource\ncreated in the online mode. Updating the bytes for profiles created in the\noffline mode is currently not supported: the profile content must be\nprovided at the time of the profile creation.\n\n_Direct use of this API is discouraged, please use a [supported\nprofiler\nagent](https: //cloud.google.com/profiler/docs/about-profiler#profiling_agent)\ninstead for profile collection._", + "file": "ProfilerClient/UpdateProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprofiler_v2_generated_ProfilerService_UpdateProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprofiler UpdateProfile Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json b/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json index f8c8b2de7734..3afce949e817 100644 --- a/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json +++ b/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudquotas/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.api.cloudquotas.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudquotas/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "cloudquotas_v1_generated_CloudQuotas_CreateQuotaPreference_sync", - "title": "cloudquotas CreateQuotaPreference Sample", - "description": "CreateQuotaPreference creates a new QuotaPreference that declares the desired value for a quota.", - "file": "Client/CreateQuotaPreference/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQuotaPreference", + "client": { + "fullName": "google.api.cloudquotas.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1.Client.CreateQuotaPreference", + "method": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas.CreateQuotaPreference", + "service": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "CreateQuotaPreference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.CreateQuotaPreferenceRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.CreateQuotaPreferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaPreference", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1.Client" - }, - "method": { - "shortName": "CreateQuotaPreference", - "fullName": "google.api.cloudquotas.v1.CloudQuotas.CreateQuotaPreference", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1.CloudQuotas" - } - } + "shortName": "CreateQuotaPreference" }, + "description": "CreateQuotaPreference creates a new QuotaPreference that declares the desired value for a quota.", + "file": "Client/CreateQuotaPreference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1_generated_CloudQuotas_CreateQuotaPreference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas CreateQuotaPreference Sample" }, { - "regionTag": "cloudquotas_v1_generated_CloudQuotas_GetQuotaInfo_sync", - "title": "cloudquotas GetQuotaInfo Sample", - "description": "GetQuotaInfo retrieve the QuotaInfo of a quota for a project, folder or organization.", - "file": "Client/GetQuotaInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuotaInfo", + "client": { + "fullName": "google.api.cloudquotas.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1.Client.GetQuotaInfo", + "method": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas.GetQuotaInfo", + "service": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "GetQuotaInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.GetQuotaInfoRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.GetQuotaInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaInfo", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1.Client" - }, - "method": { - "shortName": "GetQuotaInfo", - "fullName": "google.api.cloudquotas.v1.CloudQuotas.GetQuotaInfo", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1.CloudQuotas" - } - } + "shortName": "GetQuotaInfo" }, + "description": "GetQuotaInfo retrieve the QuotaInfo of a quota for a project, folder or organization.", + "file": "Client/GetQuotaInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1_generated_CloudQuotas_GetQuotaInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas GetQuotaInfo Sample" }, { - "regionTag": "cloudquotas_v1_generated_CloudQuotas_GetQuotaPreference_sync", - "title": "cloudquotas GetQuotaPreference Sample", - "description": "GetQuotaPreference gets details of a single QuotaPreference.", - "file": "Client/GetQuotaPreference/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuotaPreference", + "client": { + "fullName": "google.api.cloudquotas.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1.Client.GetQuotaPreference", + "method": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas.GetQuotaPreference", + "service": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "GetQuotaPreference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.GetQuotaPreferenceRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.GetQuotaPreferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaPreference", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1.Client" - }, - "method": { - "shortName": "GetQuotaPreference", - "fullName": "google.api.cloudquotas.v1.CloudQuotas.GetQuotaPreference", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1.CloudQuotas" - } - } + "shortName": "GetQuotaPreference" }, + "description": "GetQuotaPreference gets details of a single QuotaPreference.", + "file": "Client/GetQuotaPreference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1_generated_CloudQuotas_GetQuotaPreference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas GetQuotaPreference Sample" }, { - "regionTag": "cloudquotas_v1_generated_CloudQuotas_ListQuotaInfos_sync", - "title": "cloudquotas ListQuotaInfos Sample", - "description": "ListQuotaInfos lists QuotaInfos of all quotas for a given project, folder or organization.", - "file": "Client/ListQuotaInfos/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaInfos", + "client": { + "fullName": "google.api.cloudquotas.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1.Client.ListQuotaInfos", + "method": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas.ListQuotaInfos", + "service": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "ListQuotaInfos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.ListQuotaInfosRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.ListQuotaInfosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaInfoIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1.Client" - }, - "method": { - "shortName": "ListQuotaInfos", - "fullName": "google.api.cloudquotas.v1.CloudQuotas.ListQuotaInfos", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1.CloudQuotas" - } - } + "shortName": "ListQuotaInfos" }, + "description": "ListQuotaInfos lists QuotaInfos of all quotas for a given project, folder or organization.", + "file": "Client/ListQuotaInfos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1_generated_CloudQuotas_ListQuotaInfos_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas ListQuotaInfos Sample" }, { - "regionTag": "cloudquotas_v1_generated_CloudQuotas_ListQuotaPreferences_sync", - "title": "cloudquotas ListQuotaPreferences Sample", - "description": "ListQuotaPreferences lists QuotaPreferences in a given project, folder or organization.", - "file": "Client/ListQuotaPreferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaPreferences", + "client": { + "fullName": "google.api.cloudquotas.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1.Client.ListQuotaPreferences", + "method": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas.ListQuotaPreferences", + "service": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "ListQuotaPreferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.ListQuotaPreferencesRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.ListQuotaPreferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaPreferenceIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1.Client" - }, - "method": { - "shortName": "ListQuotaPreferences", - "fullName": "google.api.cloudquotas.v1.CloudQuotas.ListQuotaPreferences", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1.CloudQuotas" - } - } + "shortName": "ListQuotaPreferences" }, + "description": "ListQuotaPreferences lists QuotaPreferences in a given project, folder or organization.", + "file": "Client/ListQuotaPreferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1_generated_CloudQuotas_ListQuotaPreferences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas ListQuotaPreferences Sample" }, { - "regionTag": "cloudquotas_v1_generated_CloudQuotas_UpdateQuotaPreference_sync", - "title": "cloudquotas UpdateQuotaPreference Sample", - "description": "UpdateQuotaPreference updates the parameters of a single QuotaPreference. It can updates the\nconfig in any states, not just the ones pending approval.", - "file": "Client/UpdateQuotaPreference/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQuotaPreference", + "client": { + "fullName": "google.api.cloudquotas.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1.Client.UpdateQuotaPreference", + "method": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas.UpdateQuotaPreference", + "service": { + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "UpdateQuotaPreference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.UpdateQuotaPreferenceRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.UpdateQuotaPreferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaPreference", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1.Client" - }, - "method": { - "shortName": "UpdateQuotaPreference", - "fullName": "google.api.cloudquotas.v1.CloudQuotas.UpdateQuotaPreference", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1.CloudQuotas" - } - } + "shortName": "UpdateQuotaPreference" }, + "description": "UpdateQuotaPreference updates the parameters of a single QuotaPreference. It can updates the\nconfig in any states, not just the ones pending approval.", + "file": "Client/UpdateQuotaPreference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1_generated_CloudQuotas_UpdateQuotaPreference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas UpdateQuotaPreference Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudquotas/apiv1beta/snippet_metadata.google.api.cloudquotas.v1beta.json b/internal/generated/snippets/cloudquotas/apiv1beta/snippet_metadata.google.api.cloudquotas.v1beta.json index 165a782147c4..063583e7f1bb 100644 --- a/internal/generated/snippets/cloudquotas/apiv1beta/snippet_metadata.google.api.cloudquotas.v1beta.json +++ b/internal/generated/snippets/cloudquotas/apiv1beta/snippet_metadata.google.api.cloudquotas.v1beta.json @@ -1,383 +1,383 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudquotas/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.api.cloudquotas.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudquotas/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_CreateQuotaPreference_sync", - "title": "cloudquotas CreateQuotaPreference Sample", - "description": "CreateQuotaPreference creates a new QuotaPreference that declares the desired value for a quota.", - "file": "Client/CreateQuotaPreference/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQuotaPreference", + "client": { + "fullName": "google.api.cloudquotas.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1beta.Client.CreateQuotaPreference", + "method": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.CreateQuotaPreference", + "service": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "CreateQuotaPreference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.CreateQuotaPreferenceRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.CreateQuotaPreferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaPreference", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1beta.Client" - }, - "method": { - "shortName": "CreateQuotaPreference", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.CreateQuotaPreference", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas" - } - } + "shortName": "CreateQuotaPreference" }, + "description": "CreateQuotaPreference creates a new QuotaPreference that declares the desired value for a quota.", + "file": "Client/CreateQuotaPreference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_CreateQuotaPreference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas CreateQuotaPreference Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_GetQuotaInfo_sync", - "title": "cloudquotas GetQuotaInfo Sample", - "description": "GetQuotaInfo retrieve the QuotaInfo of a quota for a project, folder or organization.", - "file": "Client/GetQuotaInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuotaInfo", + "client": { + "fullName": "google.api.cloudquotas.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1beta.Client.GetQuotaInfo", + "method": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.GetQuotaInfo", + "service": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "GetQuotaInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.GetQuotaInfoRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.GetQuotaInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaInfo", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1beta.Client" - }, - "method": { - "shortName": "GetQuotaInfo", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.GetQuotaInfo", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas" - } - } + "shortName": "GetQuotaInfo" }, + "description": "GetQuotaInfo retrieve the QuotaInfo of a quota for a project, folder or organization.", + "file": "Client/GetQuotaInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_GetQuotaInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas GetQuotaInfo Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_GetQuotaPreference_sync", - "title": "cloudquotas GetQuotaPreference Sample", - "description": "GetQuotaPreference gets details of a single QuotaPreference.", - "file": "Client/GetQuotaPreference/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuotaPreference", + "client": { + "fullName": "google.api.cloudquotas.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1beta.Client.GetQuotaPreference", + "method": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.GetQuotaPreference", + "service": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "GetQuotaPreference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.GetQuotaPreferenceRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.GetQuotaPreferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaPreference", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1beta.Client" - }, - "method": { - "shortName": "GetQuotaPreference", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.GetQuotaPreference", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas" - } - } + "shortName": "GetQuotaPreference" }, + "description": "GetQuotaPreference gets details of a single QuotaPreference.", + "file": "Client/GetQuotaPreference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_GetQuotaPreference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas GetQuotaPreference Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_ListQuotaInfos_sync", - "title": "cloudquotas ListQuotaInfos Sample", - "description": "ListQuotaInfos lists QuotaInfos of all quotas for a given project, folder or organization.", - "file": "Client/ListQuotaInfos/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaInfos", + "client": { + "fullName": "google.api.cloudquotas.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1beta.Client.ListQuotaInfos", + "method": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.ListQuotaInfos", + "service": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "ListQuotaInfos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.ListQuotaInfosRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.ListQuotaInfosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaInfoIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1beta.Client" - }, - "method": { - "shortName": "ListQuotaInfos", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.ListQuotaInfos", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas" - } - } + "shortName": "ListQuotaInfos" }, + "description": "ListQuotaInfos lists QuotaInfos of all quotas for a given project, folder or organization.", + "file": "Client/ListQuotaInfos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_ListQuotaInfos_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas ListQuotaInfos Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_ListQuotaPreferences_sync", - "title": "cloudquotas ListQuotaPreferences Sample", - "description": "ListQuotaPreferences lists QuotaPreferences in a given project, folder or organization.", - "file": "Client/ListQuotaPreferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaPreferences", + "client": { + "fullName": "google.api.cloudquotas.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1beta.Client.ListQuotaPreferences", + "method": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.ListQuotaPreferences", + "service": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "ListQuotaPreferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.ListQuotaPreferencesRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.ListQuotaPreferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaPreferenceIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1beta.Client" - }, - "method": { - "shortName": "ListQuotaPreferences", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.ListQuotaPreferences", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas" - } - } + "shortName": "ListQuotaPreferences" }, + "description": "ListQuotaPreferences lists QuotaPreferences in a given project, folder or organization.", + "file": "Client/ListQuotaPreferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_ListQuotaPreferences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas ListQuotaPreferences Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_UpdateQuotaPreference_sync", - "title": "cloudquotas UpdateQuotaPreference Sample", - "description": "UpdateQuotaPreference updates the parameters of a single QuotaPreference. It can updates the\nconfig in any states, not just the ones pending approval.", - "file": "Client/UpdateQuotaPreference/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQuotaPreference", + "client": { + "fullName": "google.api.cloudquotas.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.api.cloudquotas.v1beta.Client.UpdateQuotaPreference", + "method": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.UpdateQuotaPreference", + "service": { + "fullName": "google.api.cloudquotas.v1beta.CloudQuotas", + "shortName": "CloudQuotas" + }, + "shortName": "UpdateQuotaPreference" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.UpdateQuotaPreferenceRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.UpdateQuotaPreferenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaPreference", - "client": { - "shortName": "Client", - "fullName": "google.api.cloudquotas.v1beta.Client" - }, - "method": { - "shortName": "UpdateQuotaPreference", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas.UpdateQuotaPreference", - "service": { - "shortName": "CloudQuotas", - "fullName": "google.api.cloudquotas.v1beta.CloudQuotas" - } - } + "shortName": "UpdateQuotaPreference" }, + "description": "UpdateQuotaPreference updates the parameters of a single QuotaPreference. It can updates the\nconfig in any states, not just the ones pending approval.", + "file": "Client/UpdateQuotaPreference/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_CloudQuotas_UpdateQuotaPreference_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas UpdateQuotaPreference Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_QuotaAdjusterSettingsManager_GetQuotaAdjusterSettings_sync", - "title": "cloudquotas GetQuotaAdjusterSettings Sample", - "description": "GetQuotaAdjusterSettings gets the QuotaAdjusterSettings for the specified resource.", - "file": "QuotaAdjusterSettingsManagerClient/GetQuotaAdjusterSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuotaAdjusterSettings", + "client": { + "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManagerClient", + "shortName": "QuotaAdjusterSettingsManagerClient" + }, "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManagerClient.GetQuotaAdjusterSettings", + "method": { + "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager.GetQuotaAdjusterSettings", + "service": { + "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager", + "shortName": "QuotaAdjusterSettingsManager" + }, + "shortName": "GetQuotaAdjusterSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.GetQuotaAdjusterSettingsRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.GetQuotaAdjusterSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaAdjusterSettings", - "client": { - "shortName": "QuotaAdjusterSettingsManagerClient", - "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManagerClient" - }, - "method": { - "shortName": "GetQuotaAdjusterSettings", - "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager.GetQuotaAdjusterSettings", - "service": { - "shortName": "QuotaAdjusterSettingsManager", - "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager" - } - } + "shortName": "GetQuotaAdjusterSettings" }, + "description": "GetQuotaAdjusterSettings gets the QuotaAdjusterSettings for the specified resource.", + "file": "QuotaAdjusterSettingsManagerClient/GetQuotaAdjusterSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_QuotaAdjusterSettingsManager_GetQuotaAdjusterSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas GetQuotaAdjusterSettings Sample" }, { - "regionTag": "cloudquotas_v1beta_generated_QuotaAdjusterSettingsManager_UpdateQuotaAdjusterSettings_sync", - "title": "cloudquotas UpdateQuotaAdjusterSettings Sample", - "description": "UpdateQuotaAdjusterSettings updates the QuotaAdjusterSettings for the specified resource.", - "file": "QuotaAdjusterSettingsManagerClient/UpdateQuotaAdjusterSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQuotaAdjusterSettings", + "client": { + "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManagerClient", + "shortName": "QuotaAdjusterSettingsManagerClient" + }, "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManagerClient.UpdateQuotaAdjusterSettings", + "method": { + "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager.UpdateQuotaAdjusterSettings", + "service": { + "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager", + "shortName": "QuotaAdjusterSettingsManager" + }, + "shortName": "UpdateQuotaAdjusterSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudquotaspb.UpdateQuotaAdjusterSettingsRequest", - "name": "req" + "name": "req", + "type": "cloudquotaspb.UpdateQuotaAdjusterSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudquotaspb.QuotaAdjusterSettings", - "client": { - "shortName": "QuotaAdjusterSettingsManagerClient", - "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManagerClient" - }, - "method": { - "shortName": "UpdateQuotaAdjusterSettings", - "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager.UpdateQuotaAdjusterSettings", - "service": { - "shortName": "QuotaAdjusterSettingsManager", - "fullName": "google.api.cloudquotas.v1beta.QuotaAdjusterSettingsManager" - } - } + "shortName": "UpdateQuotaAdjusterSettings" }, + "description": "UpdateQuotaAdjusterSettings updates the QuotaAdjusterSettings for the specified resource.", + "file": "QuotaAdjusterSettingsManagerClient/UpdateQuotaAdjusterSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudquotas_v1beta_generated_QuotaAdjusterSettingsManager_UpdateQuotaAdjusterSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudquotas UpdateQuotaAdjusterSettings Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudsecuritycompliance/apiv1/snippet_metadata.google.cloud.cloudsecuritycompliance.v1.json b/internal/generated/snippets/cloudsecuritycompliance/apiv1/snippet_metadata.google.cloud.cloudsecuritycompliance.v1.json index e8576af72d12..e10c7c6c5e6d 100644 --- a/internal/generated/snippets/cloudsecuritycompliance/apiv1/snippet_metadata.google.cloud.cloudsecuritycompliance.v1.json +++ b/internal/generated/snippets/cloudsecuritycompliance/apiv1/snippet_metadata.google.cloud.cloudsecuritycompliance.v1.json @@ -1,2625 +1,2625 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudsecuritycompliance/apiv1", - "version": "0.1.0", - "language": "GO", "apis": [ { "id": "google.cloud.cloudsecuritycompliance.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudsecuritycompliance/apiv1", + "version": "0.1.0" }, "snippets": [ { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_CancelOperation_sync", - "title": "cloudsecuritycompliance CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AuditClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AuditClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CancelOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_CreateFrameworkAudit_sync", - "title": "cloudsecuritycompliance CreateFrameworkAudit Sample", - "description": "CreateFrameworkAudit creates an audit scope report for a framework.", - "file": "AuditClient/CreateFrameworkAudit/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFrameworkAudit", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.CreateFrameworkAudit", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.CreateFrameworkAudit", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit", + "shortName": "Audit" + }, + "shortName": "CreateFrameworkAudit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.CreateFrameworkAuditRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.CreateFrameworkAuditRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFrameworkAuditOperation", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "CreateFrameworkAudit", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.CreateFrameworkAudit", - "service": { - "shortName": "Audit", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit" - } - } + "shortName": "CreateFrameworkAudit" }, + "description": "CreateFrameworkAudit creates an audit scope report for a framework.", + "file": "AuditClient/CreateFrameworkAudit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_CreateFrameworkAudit_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CreateFrameworkAudit Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_DeleteOperation_sync", - "title": "cloudsecuritycompliance DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AuditClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AuditClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GenerateFrameworkAuditScopeReport_sync", - "title": "cloudsecuritycompliance GenerateFrameworkAuditScopeReport Sample", - "description": "GenerateFrameworkAuditScopeReport generates an audit scope report for a framework.", - "file": "AuditClient/GenerateFrameworkAuditScopeReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateFrameworkAuditScopeReport", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.GenerateFrameworkAuditScopeReport", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.GenerateFrameworkAuditScopeReport", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit", + "shortName": "Audit" + }, + "shortName": "GenerateFrameworkAuditScopeReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.GenerateFrameworkAuditScopeReportRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.GenerateFrameworkAuditScopeReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.GenerateFrameworkAuditScopeReportResponse", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "GenerateFrameworkAuditScopeReport", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.GenerateFrameworkAuditScopeReport", - "service": { - "shortName": "Audit", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit" - } - } + "shortName": "GenerateFrameworkAuditScopeReport" }, + "description": "GenerateFrameworkAuditScopeReport generates an audit scope report for a framework.", + "file": "AuditClient/GenerateFrameworkAuditScopeReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GenerateFrameworkAuditScopeReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GenerateFrameworkAuditScopeReport Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GetFrameworkAudit_sync", - "title": "cloudsecuritycompliance GetFrameworkAudit Sample", - "description": "GetFrameworkAudit gets the details for a framework audit.", - "file": "AuditClient/GetFrameworkAudit/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFrameworkAudit", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.GetFrameworkAudit", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.GetFrameworkAudit", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit", + "shortName": "Audit" + }, + "shortName": "GetFrameworkAudit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.GetFrameworkAuditRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.GetFrameworkAuditRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.FrameworkAudit", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "GetFrameworkAudit", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.GetFrameworkAudit", - "service": { - "shortName": "Audit", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit" - } - } + "shortName": "GetFrameworkAudit" }, + "description": "GetFrameworkAudit gets the details for a framework audit.", + "file": "AuditClient/GetFrameworkAudit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GetFrameworkAudit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetFrameworkAudit Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GetLocation_sync", - "title": "cloudsecuritycompliance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AuditClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AuditClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetLocation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GetOperation_sync", - "title": "cloudsecuritycompliance GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AuditClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AuditClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_ListFrameworkAudits_sync", - "title": "cloudsecuritycompliance ListFrameworkAudits Sample", - "description": "ListFrameworkAudits lists the framework audits for a given organization, folder, or project.", - "file": "AuditClient/ListFrameworkAudits/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFrameworkAudits", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.ListFrameworkAudits", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.ListFrameworkAudits", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit", + "shortName": "Audit" + }, + "shortName": "ListFrameworkAudits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListFrameworkAuditsRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListFrameworkAuditsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FrameworkAuditIterator", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "ListFrameworkAudits", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit.ListFrameworkAudits", - "service": { - "shortName": "Audit", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Audit" - } - } + "shortName": "ListFrameworkAudits" }, + "description": "ListFrameworkAudits lists the framework audits for a given organization, folder, or project.", + "file": "AuditClient/ListFrameworkAudits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_ListFrameworkAudits_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListFrameworkAudits Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_ListLocations_sync", - "title": "cloudsecuritycompliance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AuditClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AuditClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListLocations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Audit_ListOperations_sync", - "title": "cloudsecuritycompliance ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AuditClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient", + "shortName": "AuditClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AuditClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.AuditClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AuditClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Audit_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListOperations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_CalculateEffectiveCmEnrollment_sync", - "title": "cloudsecuritycompliance CalculateEffectiveCmEnrollment Sample", - "description": "CalculateEffectiveCmEnrollment calculates the effective Compliance Manager enrollment for a resource.\nAn effective enrollment is either a direct enrollment of a\nresource (if it exists), or an enrollment of the closest parent of a\nresource that's enrolled in Compliance Manager.", - "file": "CmEnrollmentClient/CalculateEffectiveCmEnrollment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateEffectiveCmEnrollment", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.CalculateEffectiveCmEnrollment", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService.CalculateEffectiveCmEnrollment", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService", + "shortName": "CmEnrollmentService" + }, + "shortName": "CalculateEffectiveCmEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.CalculateEffectiveCmEnrollmentRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.CalculateEffectiveCmEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.CalculateEffectiveCmEnrollmentResponse", - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "CalculateEffectiveCmEnrollment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService.CalculateEffectiveCmEnrollment", - "service": { - "shortName": "CmEnrollmentService", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService" - } - } + "shortName": "CalculateEffectiveCmEnrollment" }, + "description": "CalculateEffectiveCmEnrollment calculates the effective Compliance Manager enrollment for a resource.\nAn effective enrollment is either a direct enrollment of a\nresource (if it exists), or an enrollment of the closest parent of a\nresource that's enrolled in Compliance Manager.", + "file": "CmEnrollmentClient/CalculateEffectiveCmEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_CalculateEffectiveCmEnrollment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CalculateEffectiveCmEnrollment Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_CancelOperation_sync", - "title": "cloudsecuritycompliance CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CmEnrollmentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CmEnrollmentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CancelOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_DeleteOperation_sync", - "title": "cloudsecuritycompliance DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CmEnrollmentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CmEnrollmentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_GetLocation_sync", - "title": "cloudsecuritycompliance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CmEnrollmentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CmEnrollmentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetLocation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_GetOperation_sync", - "title": "cloudsecuritycompliance GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CmEnrollmentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CmEnrollmentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_ListLocations_sync", - "title": "cloudsecuritycompliance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CmEnrollmentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CmEnrollmentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListLocations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_ListOperations_sync", - "title": "cloudsecuritycompliance ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CmEnrollmentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CmEnrollmentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListOperations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_UpdateCmEnrollment_sync", - "title": "cloudsecuritycompliance UpdateCmEnrollment Sample", - "description": "UpdateCmEnrollment updates the Compliance Manager enrollment for a resource to facilitate\nan audit.\nUse this method to enroll a resource in Compliance Manager or to\ncreate or update feature-specific configurations.", - "file": "CmEnrollmentClient/UpdateCmEnrollment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCmEnrollment", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient", + "shortName": "CmEnrollmentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient.UpdateCmEnrollment", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService.UpdateCmEnrollment", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService", + "shortName": "CmEnrollmentService" + }, + "shortName": "UpdateCmEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.UpdateCmEnrollmentRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.UpdateCmEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.CmEnrollment", - "client": { - "shortName": "CmEnrollmentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentClient" - }, - "method": { - "shortName": "UpdateCmEnrollment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService.UpdateCmEnrollment", - "service": { - "shortName": "CmEnrollmentService", - "fullName": "google.cloud.cloudsecuritycompliance.v1.CmEnrollmentService" - } - } + "shortName": "UpdateCmEnrollment" }, + "description": "UpdateCmEnrollment updates the Compliance Manager enrollment for a resource to facilitate\nan audit.\nUse this method to enroll a resource in Compliance Manager or to\ncreate or update feature-specific configurations.", + "file": "CmEnrollmentClient/UpdateCmEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_CmEnrollmentService_UpdateCmEnrollment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance UpdateCmEnrollment Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_CancelOperation_sync", - "title": "cloudsecuritycompliance CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CancelOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_CreateCloudControl_sync", - "title": "cloudsecuritycompliance CreateCloudControl Sample", - "description": "CreateCloudControl creates a custom cloud control in a given parent\nresource.\nYou can't create built-in cloud controls because those are managed by\nGoogle.", - "file": "ConfigClient/CreateCloudControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCloudControl", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.CreateCloudControl", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.CreateCloudControl", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "CreateCloudControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.CreateCloudControlRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.CreateCloudControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.CloudControl", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "CreateCloudControl", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.CreateCloudControl", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "CreateCloudControl" }, + "description": "CreateCloudControl creates a custom cloud control in a given parent\nresource.\nYou can't create built-in cloud controls because those are managed by\nGoogle.", + "file": "ConfigClient/CreateCloudControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_CreateCloudControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CreateCloudControl Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_CreateFramework_sync", - "title": "cloudsecuritycompliance CreateFramework Sample", - "description": "CreateFramework creates a custom framework in a given parent resource.\nYou can't create built-in frameworks because those are managed by\nGoogle.", - "file": "ConfigClient/CreateFramework/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFramework", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.CreateFramework", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.CreateFramework", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "CreateFramework" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.CreateFrameworkRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.CreateFrameworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.Framework", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "CreateFramework", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.CreateFramework", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "CreateFramework" }, + "description": "CreateFramework creates a custom framework in a given parent resource.\nYou can't create built-in frameworks because those are managed by\nGoogle.", + "file": "ConfigClient/CreateFramework/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_CreateFramework_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CreateFramework Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_DeleteCloudControl_sync", - "title": "cloudsecuritycompliance DeleteCloudControl Sample", - "description": "DeleteCloudControl deletes a custom cloud control, including all its\nmajor and minor revisions. Consider the following: \n\n- You can't delete built-in cloud controls. You can only delete cloud\ncontrols with type `CUSTOM`.\n- You can't delete cloud controls if any of the versions are referenced\nby a framework.\n- You can't restore a deleted cloud control. This action is permanent.", - "file": "ConfigClient/DeleteCloudControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCloudControl", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.DeleteCloudControl", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.DeleteCloudControl", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "DeleteCloudControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.DeleteCloudControlRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.DeleteCloudControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "DeleteCloudControl", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.DeleteCloudControl", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "DeleteCloudControl" }, + "description": "DeleteCloudControl deletes a custom cloud control, including all its\nmajor and minor revisions. Consider the following: \n\n- You can't delete built-in cloud controls. You can only delete cloud\ncontrols with type `CUSTOM`.\n- You can't delete cloud controls if any of the versions are referenced\nby a framework.\n- You can't restore a deleted cloud control. This action is permanent.", + "file": "ConfigClient/DeleteCloudControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_DeleteCloudControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteCloudControl Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_DeleteFramework_sync", - "title": "cloudsecuritycompliance DeleteFramework Sample", - "description": "DeleteFramework deletes a custom framework, including all its major and\nminor revisions. Consider the following: \n\n- You can't delete built-in frameworks. You can only delete frameworks\nwith type `CUSTOM`.\n- You can't delete frameworks that are deployed to a resource.\n- You can't restore a deleted framework. This action is permanent.", - "file": "ConfigClient/DeleteFramework/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFramework", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.DeleteFramework", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.DeleteFramework", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "DeleteFramework" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.DeleteFrameworkRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.DeleteFrameworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "DeleteFramework", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.DeleteFramework", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "DeleteFramework" }, + "description": "DeleteFramework deletes a custom framework, including all its major and\nminor revisions. Consider the following: \n\n- You can't delete built-in frameworks. You can only delete frameworks\nwith type `CUSTOM`.\n- You can't delete frameworks that are deployed to a resource.\n- You can't restore a deleted framework. This action is permanent.", + "file": "ConfigClient/DeleteFramework/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_DeleteFramework_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteFramework Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_DeleteOperation_sync", - "title": "cloudsecuritycompliance DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetCloudControl_sync", - "title": "cloudsecuritycompliance GetCloudControl Sample", - "description": "GetCloudControl gets details about a cloud control.\nThis method retrieves the latest major version of a cloud control that\nyou identify by name.\n\nBy default, the latest major version of the cloud control is returned.\nTo retrieve a specific major version, include `major_revision_id` in\nthe request.", - "file": "ConfigClient/GetCloudControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCloudControl", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.GetCloudControl", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.GetCloudControl", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "GetCloudControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.GetCloudControlRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.GetCloudControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.CloudControl", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "GetCloudControl", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.GetCloudControl", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "GetCloudControl" }, + "description": "GetCloudControl gets details about a cloud control.\nThis method retrieves the latest major version of a cloud control that\nyou identify by name.\n\nBy default, the latest major version of the cloud control is returned.\nTo retrieve a specific major version, include `major_revision_id` in\nthe request.", + "file": "ConfigClient/GetCloudControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetCloudControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetCloudControl Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetFramework_sync", - "title": "cloudsecuritycompliance GetFramework Sample", - "description": "GetFramework gets details about a framework.\nThis method retrieves the latest major version of the framework.\n\nTo retrieve a specific major version, include `major_revision_id` in\nthe request.", - "file": "ConfigClient/GetFramework/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFramework", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.GetFramework", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.GetFramework", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "GetFramework" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.GetFrameworkRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.GetFrameworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.Framework", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "GetFramework", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.GetFramework", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "GetFramework" }, + "description": "GetFramework gets details about a framework.\nThis method retrieves the latest major version of the framework.\n\nTo retrieve a specific major version, include `major_revision_id` in\nthe request.", + "file": "ConfigClient/GetFramework/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetFramework_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetFramework Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetLocation_sync", - "title": "cloudsecuritycompliance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConfigClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConfigClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetLocation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetOperation_sync", - "title": "cloudsecuritycompliance GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListCloudControls_sync", - "title": "cloudsecuritycompliance ListCloudControls Sample", - "description": "ListCloudControls lists the cloud controls (both built-in and custom) that are available\nin a given parent resource. The latest major version of each cloud control\nis returned.\nThis method supports pagination.", - "file": "ConfigClient/ListCloudControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCloudControls", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.ListCloudControls", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.ListCloudControls", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "ListCloudControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListCloudControlsRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListCloudControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudControlIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "ListCloudControls", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.ListCloudControls", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "ListCloudControls" }, + "description": "ListCloudControls lists the cloud controls (both built-in and custom) that are available\nin a given parent resource. The latest major version of each cloud control\nis returned.\nThis method supports pagination.", + "file": "ConfigClient/ListCloudControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListCloudControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListCloudControls Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListFrameworks_sync", - "title": "cloudsecuritycompliance ListFrameworks Sample", - "description": "ListFrameworks lists the frameworks (both built-in and custom) that are available within\nthe parent resource. The latest major version of each framework is\nreturned.\nThis method supports pagination.", - "file": "ConfigClient/ListFrameworks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFrameworks", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.ListFrameworks", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.ListFrameworks", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "ListFrameworks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListFrameworksRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListFrameworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FrameworkIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "ListFrameworks", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.ListFrameworks", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "ListFrameworks" }, + "description": "ListFrameworks lists the frameworks (both built-in and custom) that are available within\nthe parent resource. The latest major version of each framework is\nreturned.\nThis method supports pagination.", + "file": "ConfigClient/ListFrameworks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListFrameworks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListFrameworks Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListLocations_sync", - "title": "cloudsecuritycompliance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ConfigClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ConfigClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListLocations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListOperations_sync", - "title": "cloudsecuritycompliance ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListOperations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_UpdateCloudControl_sync", - "title": "cloudsecuritycompliance UpdateCloudControl Sample", - "description": "UpdateCloudControl updates a custom cloud control.\nThis method allows for partial updates of a cloud control. Use the\n`update_mask` to specify which fields to update. Consider the following: \n\n- If you provide an `update_mask`, only the fields that are specified\nin the mask are updated.\n- If you don't provide an `update_mask`, all the fields that are present\nin the request's `cloud_control` body are used to overwrite the existing\nresource.\n\nYou can only update cloud controls with the `CUSTOM` type.\nA successful update creates a new version of the cloud control.", - "file": "ConfigClient/UpdateCloudControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCloudControl", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.UpdateCloudControl", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.UpdateCloudControl", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "UpdateCloudControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.UpdateCloudControlRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.UpdateCloudControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.CloudControl", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "UpdateCloudControl", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.UpdateCloudControl", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "UpdateCloudControl" }, + "description": "UpdateCloudControl updates a custom cloud control.\nThis method allows for partial updates of a cloud control. Use the\n`update_mask` to specify which fields to update. Consider the following: \n\n- If you provide an `update_mask`, only the fields that are specified\nin the mask are updated.\n- If you don't provide an `update_mask`, all the fields that are present\nin the request's `cloud_control` body are used to overwrite the existing\nresource.\n\nYou can only update cloud controls with the `CUSTOM` type.\nA successful update creates a new version of the cloud control.", + "file": "ConfigClient/UpdateCloudControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_UpdateCloudControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance UpdateCloudControl Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Config_UpdateFramework_sync", - "title": "cloudsecuritycompliance UpdateFramework Sample", - "description": "UpdateFramework updates a custom framework.\nThis method allows for partial updates of a framework. Use the\n`update_mask` to specify which fields to update. Consider the following: \n\n- If you provide an `update_mask`, only the fields that are specified\nin the mask are updated.\n- If you don't provide an `update_mask`, all the fields that are present\nin the request's `framework` body are used to overwrite the existing\nresource.\n\nYou can only update frameworks with the `CUSTOM` type.\nA successful update creates a new version of the framework.", - "file": "ConfigClient/UpdateFramework/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFramework", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient.UpdateFramework", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.UpdateFramework", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Config", + "shortName": "Config" + }, + "shortName": "UpdateFramework" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.UpdateFrameworkRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.UpdateFrameworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.Framework", - "client": { - "shortName": "ConfigClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.ConfigClient" - }, - "method": { - "shortName": "UpdateFramework", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config.UpdateFramework", - "service": { - "shortName": "Config", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Config" - } - } + "shortName": "UpdateFramework" }, + "description": "UpdateFramework updates a custom framework.\nThis method allows for partial updates of a framework. Use the\n`update_mask` to specify which fields to update. Consider the following: \n\n- If you provide an `update_mask`, only the fields that are specified\nin the mask are updated.\n- If you don't provide an `update_mask`, all the fields that are present\nin the request's `framework` body are used to overwrite the existing\nresource.\n\nYou can only update frameworks with the `CUSTOM` type.\nA successful update creates a new version of the framework.", + "file": "ConfigClient/UpdateFramework/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Config_UpdateFramework_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance UpdateFramework Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_CancelOperation_sync", - "title": "cloudsecuritycompliance CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CancelOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_CreateFrameworkDeployment_sync", - "title": "cloudsecuritycompliance CreateFrameworkDeployment Sample", - "description": "CreateFrameworkDeployment creates a framework deployment in a given parent resource. A\nframework deployment lets you assign a particular framework version to an\norganization, folder, or project so that you can control and monitor\nthose resources using the framework's cloud controls.", - "file": "DeploymentClient/CreateFrameworkDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFrameworkDeployment", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.CreateFrameworkDeployment", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.CreateFrameworkDeployment", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment", + "shortName": "Deployment" + }, + "shortName": "CreateFrameworkDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.CreateFrameworkDeploymentRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.CreateFrameworkDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "CreateFrameworkDeploymentOperation", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "CreateFrameworkDeployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.CreateFrameworkDeployment", - "service": { - "shortName": "Deployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "CreateFrameworkDeploymentOperation", + "shortName": "CreateFrameworkDeployment" }, + "description": "CreateFrameworkDeployment creates a framework deployment in a given parent resource. A\nframework deployment lets you assign a particular framework version to an\norganization, folder, or project so that you can control and monitor\nthose resources using the framework's cloud controls.", + "file": "DeploymentClient/CreateFrameworkDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_CreateFrameworkDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CreateFrameworkDeployment Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_DeleteFrameworkDeployment_sync", - "title": "cloudsecuritycompliance DeleteFrameworkDeployment Sample", - "description": "DeleteFrameworkDeployment deletes a framework deployment.", - "file": "DeploymentClient/DeleteFrameworkDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFrameworkDeployment", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.DeleteFrameworkDeployment", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.DeleteFrameworkDeployment", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment", + "shortName": "Deployment" + }, + "shortName": "DeleteFrameworkDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.DeleteFrameworkDeploymentRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.DeleteFrameworkDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFrameworkDeploymentOperation", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "DeleteFrameworkDeployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.DeleteFrameworkDeployment", - "service": { - "shortName": "Deployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment" - } - } + "shortName": "DeleteFrameworkDeployment" }, + "description": "DeleteFrameworkDeployment deletes a framework deployment.", + "file": "DeploymentClient/DeleteFrameworkDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_DeleteFrameworkDeployment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteFrameworkDeployment Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_DeleteOperation_sync", - "title": "cloudsecuritycompliance DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetCloudControlDeployment_sync", - "title": "cloudsecuritycompliance GetCloudControlDeployment Sample", - "description": "GetCloudControlDeployment gets details about a cloud control deployment.", - "file": "DeploymentClient/GetCloudControlDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCloudControlDeployment", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.GetCloudControlDeployment", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.GetCloudControlDeployment", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment", + "shortName": "Deployment" + }, + "shortName": "GetCloudControlDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.GetCloudControlDeploymentRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.GetCloudControlDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.CloudControlDeployment", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "GetCloudControlDeployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.GetCloudControlDeployment", - "service": { - "shortName": "Deployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment" - } - } + "shortName": "GetCloudControlDeployment" }, + "description": "GetCloudControlDeployment gets details about a cloud control deployment.", + "file": "DeploymentClient/GetCloudControlDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetCloudControlDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetCloudControlDeployment Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetFrameworkDeployment_sync", - "title": "cloudsecuritycompliance GetFrameworkDeployment Sample", - "description": "GetFrameworkDeployment gets details about a framework deployment.", - "file": "DeploymentClient/GetFrameworkDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFrameworkDeployment", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.GetFrameworkDeployment", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.GetFrameworkDeployment", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment", + "shortName": "Deployment" + }, + "shortName": "GetFrameworkDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.GetFrameworkDeploymentRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.GetFrameworkDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.FrameworkDeployment", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "GetFrameworkDeployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.GetFrameworkDeployment", - "service": { - "shortName": "Deployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment" - } - } + "shortName": "GetFrameworkDeployment" }, + "description": "GetFrameworkDeployment gets details about a framework deployment.", + "file": "DeploymentClient/GetFrameworkDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetFrameworkDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetFrameworkDeployment Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetLocation_sync", - "title": "cloudsecuritycompliance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DeploymentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DeploymentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetLocation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetOperation_sync", - "title": "cloudsecuritycompliance GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListCloudControlDeployments_sync", - "title": "cloudsecuritycompliance ListCloudControlDeployments Sample", - "description": "ListCloudControlDeployments lists the cloud conrol deployments in a given parent resource.", - "file": "DeploymentClient/ListCloudControlDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCloudControlDeployments", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.ListCloudControlDeployments", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.ListCloudControlDeployments", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment", + "shortName": "Deployment" + }, + "shortName": "ListCloudControlDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListCloudControlDeploymentsRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListCloudControlDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudControlDeploymentIterator", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "ListCloudControlDeployments", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.ListCloudControlDeployments", - "service": { - "shortName": "Deployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment" - } - } + "shortName": "ListCloudControlDeployments" }, + "description": "ListCloudControlDeployments lists the cloud conrol deployments in a given parent resource.", + "file": "DeploymentClient/ListCloudControlDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListCloudControlDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListCloudControlDeployments Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListFrameworkDeployments_sync", - "title": "cloudsecuritycompliance ListFrameworkDeployments Sample", - "description": "ListFrameworkDeployments lists the framework deployments in a given parent resource.", - "file": "DeploymentClient/ListFrameworkDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFrameworkDeployments", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.ListFrameworkDeployments", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.ListFrameworkDeployments", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment", + "shortName": "Deployment" + }, + "shortName": "ListFrameworkDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListFrameworkDeploymentsRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListFrameworkDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FrameworkDeploymentIterator", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "ListFrameworkDeployments", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment.ListFrameworkDeployments", - "service": { - "shortName": "Deployment", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Deployment" - } - } + "shortName": "ListFrameworkDeployments" }, + "description": "ListFrameworkDeployments lists the framework deployments in a given parent resource.", + "file": "DeploymentClient/ListFrameworkDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListFrameworkDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListFrameworkDeployments Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListLocations_sync", - "title": "cloudsecuritycompliance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DeploymentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DeploymentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListLocations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListOperations_sync", - "title": "cloudsecuritycompliance ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DeploymentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient", + "shortName": "DeploymentClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DeploymentClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.DeploymentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DeploymentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Deployment_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListOperations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_AggregateFrameworkComplianceReport_sync", - "title": "cloudsecuritycompliance AggregateFrameworkComplianceReport Sample", - "description": "AggregateFrameworkComplianceReport gets the aggregated compliance report over time for a given scope.", - "file": "MonitoringClient/AggregateFrameworkComplianceReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregateFrameworkComplianceReport", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.AggregateFrameworkComplianceReport", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.AggregateFrameworkComplianceReport", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring", + "shortName": "Monitoring" + }, + "shortName": "AggregateFrameworkComplianceReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.AggregateFrameworkComplianceReportRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.AggregateFrameworkComplianceReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.AggregateFrameworkComplianceReportResponse", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "AggregateFrameworkComplianceReport", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.AggregateFrameworkComplianceReport", - "service": { - "shortName": "Monitoring", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring" - } - } + "shortName": "AggregateFrameworkComplianceReport" }, + "description": "AggregateFrameworkComplianceReport gets the aggregated compliance report over time for a given scope.", + "file": "MonitoringClient/AggregateFrameworkComplianceReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_AggregateFrameworkComplianceReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance AggregateFrameworkComplianceReport Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_CancelOperation_sync", - "title": "cloudsecuritycompliance CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MonitoringClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MonitoringClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance CancelOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_DeleteOperation_sync", - "title": "cloudsecuritycompliance DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MonitoringClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MonitoringClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance DeleteOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_FetchFrameworkComplianceReport_sync", - "title": "cloudsecuritycompliance FetchFrameworkComplianceReport Sample", - "description": "FetchFrameworkComplianceReport fetches the framework compliance report for a given scope.", - "file": "MonitoringClient/FetchFrameworkComplianceReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFrameworkComplianceReport", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.FetchFrameworkComplianceReport", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.FetchFrameworkComplianceReport", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring", + "shortName": "Monitoring" + }, + "shortName": "FetchFrameworkComplianceReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.FetchFrameworkComplianceReportRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.FetchFrameworkComplianceReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudsecuritycompliancepb.FrameworkComplianceReport", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "FetchFrameworkComplianceReport", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.FetchFrameworkComplianceReport", - "service": { - "shortName": "Monitoring", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring" - } - } + "shortName": "FetchFrameworkComplianceReport" }, + "description": "FetchFrameworkComplianceReport fetches the framework compliance report for a given scope.", + "file": "MonitoringClient/FetchFrameworkComplianceReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_FetchFrameworkComplianceReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance FetchFrameworkComplianceReport Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_GetLocation_sync", - "title": "cloudsecuritycompliance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MonitoringClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MonitoringClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetLocation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_GetOperation_sync", - "title": "cloudsecuritycompliance GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MonitoringClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MonitoringClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance GetOperation Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListControlComplianceSummaries_sync", - "title": "cloudsecuritycompliance ListControlComplianceSummaries Sample", - "description": "ListControlComplianceSummaries lists the control compliance summary for a given scope.", - "file": "MonitoringClient/ListControlComplianceSummaries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControlComplianceSummaries", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.ListControlComplianceSummaries", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.ListControlComplianceSummaries", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring", + "shortName": "Monitoring" + }, + "shortName": "ListControlComplianceSummaries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListControlComplianceSummariesRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListControlComplianceSummariesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlComplianceSummaryIterator", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "ListControlComplianceSummaries", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.ListControlComplianceSummaries", - "service": { - "shortName": "Monitoring", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring" - } - } + "shortName": "ListControlComplianceSummaries" }, + "description": "ListControlComplianceSummaries lists the control compliance summary for a given scope.", + "file": "MonitoringClient/ListControlComplianceSummaries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListControlComplianceSummaries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListControlComplianceSummaries Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListFindingSummaries_sync", - "title": "cloudsecuritycompliance ListFindingSummaries Sample", - "description": "ListFindingSummaries lists the finding summary by category for a given scope.", - "file": "MonitoringClient/ListFindingSummaries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindingSummaries", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.ListFindingSummaries", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.ListFindingSummaries", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring", + "shortName": "Monitoring" + }, + "shortName": "ListFindingSummaries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListFindingSummariesRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListFindingSummariesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FindingSummaryIterator", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "ListFindingSummaries", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.ListFindingSummaries", - "service": { - "shortName": "Monitoring", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring" - } - } + "shortName": "ListFindingSummaries" }, + "description": "ListFindingSummaries lists the finding summary by category for a given scope.", + "file": "MonitoringClient/ListFindingSummaries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListFindingSummaries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListFindingSummaries Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListFrameworkComplianceSummaries_sync", - "title": "cloudsecuritycompliance ListFrameworkComplianceSummaries Sample", - "description": "ListFrameworkComplianceSummaries lists the framework compliance summary for a given scope.", - "file": "MonitoringClient/ListFrameworkComplianceSummaries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFrameworkComplianceSummaries", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.ListFrameworkComplianceSummaries", + "method": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.ListFrameworkComplianceSummaries", + "service": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring", + "shortName": "Monitoring" + }, + "shortName": "ListFrameworkComplianceSummaries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudsecuritycompliancepb.ListFrameworkComplianceSummariesRequest", - "name": "req" + "name": "req", + "type": "cloudsecuritycompliancepb.ListFrameworkComplianceSummariesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FrameworkComplianceSummaryIterator", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "ListFrameworkComplianceSummaries", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring.ListFrameworkComplianceSummaries", - "service": { - "shortName": "Monitoring", - "fullName": "google.cloud.cloudsecuritycompliance.v1.Monitoring" - } - } + "shortName": "ListFrameworkComplianceSummaries" }, + "description": "ListFrameworkComplianceSummaries lists the framework compliance summary for a given scope.", + "file": "MonitoringClient/ListFrameworkComplianceSummaries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListFrameworkComplianceSummaries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListFrameworkComplianceSummaries Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListLocations_sync", - "title": "cloudsecuritycompliance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MonitoringClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MonitoringClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListLocations Sample" }, { - "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListOperations_sync", - "title": "cloudsecuritycompliance ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MonitoringClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient", + "shortName": "MonitoringClient" + }, "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MonitoringClient", - "fullName": "google.cloud.cloudsecuritycompliance.v1.MonitoringClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MonitoringClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsecuritycompliance_v1_generated_Monitoring_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsecuritycompliance ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json index e91275d7b450..e82034b3228b 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json +++ b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json @@ -1,841 +1,841 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudtasks/apiv2", - "version": "1.13.7", - "language": "GO", "apis": [ { "id": "google.cloud.tasks.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudtasks/apiv2", + "version": "1.13.7" }, "snippets": [ { - "regionTag": "cloudtasks_v2_generated_CloudTasks_CreateQueue_sync", - "title": "cloudtasks CreateQueue Sample", - "description": "CreateQueue creates a queue.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/CreateQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.CreateQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.CreateQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CreateQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CreateQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CreateQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "CreateQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.CreateQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "CreateQueue" }, + "description": "CreateQueue creates a queue.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/CreateQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_CreateQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CreateQueue Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_CreateTask_sync", - "title": "cloudtasks CreateTask Sample", - "description": "CreateTask creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* The maximum task size is 100KB.", - "file": "Client/CreateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTask", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.CreateTask", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.CreateTask", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CreateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CreateTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CreateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "CreateTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.CreateTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "CreateTask" }, + "description": "CreateTask creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* The maximum task size is 100KB.", + "file": "Client/CreateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_CreateTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CreateTask Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_DeleteQueue_sync", - "title": "cloudtasks DeleteQueue Sample", - "description": "DeleteQueue deletes a queue.\n\nThis command will delete the queue even if it has tasks in it.\n\nNote: If you delete a queue, a queue with the same name can't be created\nfor 7 days.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/DeleteQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.DeleteQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "DeleteQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.DeleteQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.DeleteQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "DeleteQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "DeleteQueue" }, + "description": "DeleteQueue deletes a queue.\n\nThis command will delete the queue even if it has tasks in it.\n\nNote: If you delete a queue, a queue with the same name can't be created\nfor 7 days.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/DeleteQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_DeleteQueue_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks DeleteQueue Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_DeleteTask_sync", - "title": "cloudtasks DeleteTask Sample", - "description": "DeleteTask deletes a task.\n\nA task can be deleted if it is scheduled or dispatched. A task\ncannot be deleted if it has executed successfully or permanently\nfailed.", - "file": "Client/DeleteTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTask", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.DeleteTask", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteTask", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "DeleteTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.DeleteTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.DeleteTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "DeleteTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "DeleteTask" }, + "description": "DeleteTask deletes a task.\n\nA task can be deleted if it is scheduled or dispatched. A task\ncannot be deleted if it has executed successfully or permanently\nfailed.", + "file": "Client/DeleteTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_DeleteTask_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks DeleteTask Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_GetIamPolicy_sync", - "title": "cloudtasks GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].\nReturns an empty policy if the resource exists and does not have a policy\nset.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.getIamPolicy`", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.GetIamPolicy", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.tasks.v2.CloudTasks.GetIamPolicy", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].\nReturns an empty policy if the resource exists and does not have a policy\nset.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.getIamPolicy`", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetIamPolicy Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_GetLocation_sync", - "title": "cloudtasks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetLocation Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_GetQueue_sync", - "title": "cloudtasks GetQueue Sample", - "description": "GetQueue gets a queue.", - "file": "Client/GetQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.GetQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.GetQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.GetQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.GetQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "GetQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.GetQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "GetQueue" }, + "description": "GetQueue gets a queue.", + "file": "Client/GetQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_GetQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetQueue Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_GetTask_sync", - "title": "cloudtasks GetTask Sample", - "description": "GetTask gets a task.", - "file": "Client/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.GetTask", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.GetTask", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "GetTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.GetTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "GetTask" }, + "description": "GetTask gets a task.", + "file": "Client/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetTask Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_ListLocations_sync", - "title": "cloudtasks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListLocations Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_ListQueues_sync", - "title": "cloudtasks ListQueues Sample", - "description": "ListQueues lists queues.\n\nQueues are returned in lexicographical order.", - "file": "Client/ListQueues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQueues", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.ListQueues", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.ListQueues", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ListQueues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ListQueuesRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ListQueuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueueIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "ListQueues", - "fullName": "google.cloud.tasks.v2.CloudTasks.ListQueues", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "ListQueues" }, + "description": "ListQueues lists queues.\n\nQueues are returned in lexicographical order.", + "file": "Client/ListQueues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_ListQueues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListQueues Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_ListTasks_sync", - "title": "cloudtasks ListTasks Sample", - "description": "ListTasks lists the tasks in a queue.\n\nBy default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is\nretrieved due to performance considerations;\n[response_view][google.cloud.tasks.v2.ListTasksRequest.response_view]\ncontrols the subset of information which is returned.\n\nThe tasks may be returned in any order. The ordering may change at any\ntime.", - "file": "Client/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.ListTasks", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.ListTasks", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "ListTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks.ListTasks", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks lists the tasks in a queue.\n\nBy default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is\nretrieved due to performance considerations;\n[response_view][google.cloud.tasks.v2.ListTasksRequest.response_view]\ncontrols the subset of information which is returned.\n\nThe tasks may be returned in any order. The ordering may change at any\ntime.", + "file": "Client/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListTasks Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_PauseQueue_sync", - "title": "cloudtasks PauseQueue Sample", - "description": "PauseQueue pauses the queue.\n\nIf a queue is paused then the system will stop dispatching tasks\nuntil the queue is resumed via\n[ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. Tasks can\nstill be added when the queue is paused. A queue is paused if its\n[state][google.cloud.tasks.v2.Queue.state] is\n[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].", - "file": "Client/PauseQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.PauseQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.PauseQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "PauseQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.PauseQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.PauseQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "PauseQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.PauseQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "PauseQueue" }, + "description": "PauseQueue pauses the queue.\n\nIf a queue is paused then the system will stop dispatching tasks\nuntil the queue is resumed via\n[ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. Tasks can\nstill be added when the queue is paused. A queue is paused if its\n[state][google.cloud.tasks.v2.Queue.state] is\n[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].", + "file": "Client/PauseQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_PauseQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks PauseQueue Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_PurgeQueue_sync", - "title": "cloudtasks PurgeQueue Sample", - "description": "PurgeQueue purges a queue by deleting all of its tasks.\n\nAll tasks created before this method is called are permanently deleted.\n\nPurge operations can take up to one minute to take effect. Tasks\nmight be dispatched before the purge takes effect. A purge is irreversible.", - "file": "Client/PurgeQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.PurgeQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.PurgeQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "PurgeQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.PurgeQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.PurgeQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "PurgeQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.PurgeQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "PurgeQueue" }, + "description": "PurgeQueue purges a queue by deleting all of its tasks.\n\nAll tasks created before this method is called are permanently deleted.\n\nPurge operations can take up to one minute to take effect. Tasks\nmight be dispatched before the purge takes effect. A purge is irreversible.", + "file": "Client/PurgeQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_PurgeQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks PurgeQueue Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_ResumeQueue_sync", - "title": "cloudtasks ResumeQueue Sample", - "description": "ResumeQueue resume a queue.\n\nThis method resumes a queue after it has been\n[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED] or\n[DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a\nqueue is stored in the queue's [state][google.cloud.tasks.v2.Queue.state];\nafter calling this method it will be set to\n[RUNNING][google.cloud.tasks.v2.Queue.State.RUNNING].\n\nWARNING: Resuming many high-QPS queues at the same time can\nlead to target overloading. If you are resuming high-QPS\nqueues, follow the 500/50/5 pattern described in\n[Managing Cloud Tasks Scaling\nRisks](https: //cloud.google.com/tasks/docs/manage-cloud-task-scaling).", - "file": "Client/ResumeQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.ResumeQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.ResumeQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ResumeQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ResumeQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ResumeQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "ResumeQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.ResumeQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "ResumeQueue" }, + "description": "ResumeQueue resume a queue.\n\nThis method resumes a queue after it has been\n[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED] or\n[DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a\nqueue is stored in the queue's [state][google.cloud.tasks.v2.Queue.state];\nafter calling this method it will be set to\n[RUNNING][google.cloud.tasks.v2.Queue.State.RUNNING].\n\nWARNING: Resuming many high-QPS queues at the same time can\nlead to target overloading. If you are resuming high-QPS\nqueues, follow the 500/50/5 pattern described in\n[Managing Cloud Tasks Scaling\nRisks](https: //cloud.google.com/tasks/docs/manage-cloud-task-scaling).", + "file": "Client/ResumeQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_ResumeQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ResumeQueue Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_RunTask_sync", - "title": "cloudtasks RunTask Sample", - "description": "RunTask forces a task to run now.\n\nWhen this method is called, Cloud Tasks will dispatch the task, even if\nthe task is already running, the queue has reached its\n[RateLimits][google.cloud.tasks.v2.RateLimits] or is\n[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].\n\nThis command is meant to be used for manual debugging. For\nexample, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] can be used to\nretry a failed task after a fix has been made or to manually force a task\nto be dispatched now.\n\nThe dispatched task is returned. That is, the task that is returned\ncontains the [status][Task.status] after the task is dispatched but\nbefore the task is received by its target.\n\nIf Cloud Tasks receives a successful response from the task's\ntarget, then the task will be deleted; otherwise the task's\n[schedule_time][google.cloud.tasks.v2.Task.schedule_time] will be reset to\nthe time that [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was\ncalled plus the retry delay specified in the queue's\n[RetryConfig][google.cloud.tasks.v2.RetryConfig].\n\n[RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] returns\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a\ntask that has already succeeded or permanently failed.", - "file": "Client/RunTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTask", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.RunTask", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.RunTask", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "RunTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.RunTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.RunTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "RunTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.RunTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "RunTask" }, + "description": "RunTask forces a task to run now.\n\nWhen this method is called, Cloud Tasks will dispatch the task, even if\nthe task is already running, the queue has reached its\n[RateLimits][google.cloud.tasks.v2.RateLimits] or is\n[PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].\n\nThis command is meant to be used for manual debugging. For\nexample, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] can be used to\nretry a failed task after a fix has been made or to manually force a task\nto be dispatched now.\n\nThe dispatched task is returned. That is, the task that is returned\ncontains the [status][Task.status] after the task is dispatched but\nbefore the task is received by its target.\n\nIf Cloud Tasks receives a successful response from the task's\ntarget, then the task will be deleted; otherwise the task's\n[schedule_time][google.cloud.tasks.v2.Task.schedule_time] will be reset to\nthe time that [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was\ncalled plus the retry delay specified in the queue's\n[RetryConfig][google.cloud.tasks.v2.RetryConfig].\n\n[RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] returns\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a\ntask that has already succeeded or permanently failed.", + "file": "Client/RunTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_RunTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks RunTask Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_SetIamPolicy_sync", - "title": "cloudtasks SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].\nReplaces any existing policy.\n\nNote: The Cloud Console does not check queue-level IAM permissions yet.\nProject-level permissions are required to use the Cloud Console.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.setIamPolicy`", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.SetIamPolicy", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.tasks.v2.CloudTasks.SetIamPolicy", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].\nReplaces any existing policy.\n\nNote: The Cloud Console does not check queue-level IAM permissions yet.\nProject-level permissions are required to use the Cloud Console.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.setIamPolicy`", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks SetIamPolicy Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_TestIamPermissions_sync", - "title": "cloudtasks TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on a\n[Queue][google.cloud.tasks.v2.Queue]. If the resource does not exist, this\nwill return an empty set of permissions, not a\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.TestIamPermissions", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.tasks.v2.CloudTasks.TestIamPermissions", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on a\n[Queue][google.cloud.tasks.v2.Queue]. If the resource does not exist, this\nwill return an empty set of permissions, not a\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks TestIamPermissions Sample" }, { - "regionTag": "cloudtasks_v2_generated_CloudTasks_UpdateQueue_sync", - "title": "cloudtasks UpdateQueue Sample", - "description": "UpdateQueue updates a queue.\n\nThis method creates the queue if it does not exist and updates\nthe queue if it does exist.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/UpdateQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQueue", + "client": { + "fullName": "google.cloud.tasks.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2.Client.UpdateQueue", + "method": { + "fullName": "google.cloud.tasks.v2.CloudTasks.UpdateQueue", + "service": { + "fullName": "google.cloud.tasks.v2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "UpdateQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.UpdateQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.UpdateQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2.Client" - }, - "method": { - "shortName": "UpdateQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.UpdateQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks" - } - } + "shortName": "UpdateQueue" }, + "description": "UpdateQueue updates a queue.\n\nThis method creates the queue if it does not exist and updates\nthe queue if it does exist.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/UpdateQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2_generated_CloudTasks_UpdateQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks UpdateQueue Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json index 1be355ff989d..5e2f38b70de0 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json @@ -1,1069 +1,1069 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudtasks/apiv2beta2", - "version": "1.13.7", - "language": "GO", "apis": [ { "id": "google.cloud.tasks.v2beta2", "version": "v2beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudtasks/apiv2beta2", + "version": "1.13.7" }, "snippets": [ { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_AcknowledgeTask_sync", - "title": "cloudtasks AcknowledgeTask Sample", - "description": "AcknowledgeTask acknowledges a pull task.\n\nThe worker, that is, the entity that\n[leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must\ncall this method to indicate that the work associated with the task has\nfinished.\n\nThe worker must acknowledge a task within the\n[lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]\nor the lease will expire and the task will become available to be leased\nagain. After the task is acknowledged, it will not be returned\nby a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],\n[GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or\n[ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].", - "file": "Client/AcknowledgeTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcknowledgeTask", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.AcknowledgeTask", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "AcknowledgeTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.AcknowledgeTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.AcknowledgeTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "AcknowledgeTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "AcknowledgeTask" }, + "description": "AcknowledgeTask acknowledges a pull task.\n\nThe worker, that is, the entity that\n[leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must\ncall this method to indicate that the work associated with the task has\nfinished.\n\nThe worker must acknowledge a task within the\n[lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]\nor the lease will expire and the task will become available to be leased\nagain. After the task is acknowledged, it will not be returned\nby a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],\n[GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or\n[ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].", + "file": "Client/AcknowledgeTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_AcknowledgeTask_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks AcknowledgeTask Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_CancelLease_sync", - "title": "cloudtasks CancelLease Sample", - "description": "CancelLease cancel a pull task's lease.\n\nThe worker can use this method to cancel a task's lease by\nsetting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]\nto now. This will make the task available to be leased to the next caller\nof [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].", - "file": "Client/CancelLease/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelLease", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.CancelLease", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CancelLease", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CancelLease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CancelLeaseRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CancelLeaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "CancelLease", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CancelLease", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "CancelLease" }, + "description": "CancelLease cancel a pull task's lease.\n\nThe worker can use this method to cancel a task's lease by\nsetting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]\nto now. This will make the task available to be leased to the next caller\nof [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].", + "file": "Client/CancelLease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_CancelLease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CancelLease Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_CreateQueue_sync", - "title": "cloudtasks CreateQueue Sample", - "description": "CreateQueue creates a queue.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/CreateQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.CreateQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CreateQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CreateQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CreateQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "CreateQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "CreateQueue" }, + "description": "CreateQueue creates a queue.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/CreateQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_CreateQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CreateQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_CreateTask_sync", - "title": "cloudtasks CreateTask Sample", - "description": "CreateTask creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget],\nthe maximum task size is\n100KB.\n* For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum\ntask size is 1MB.", - "file": "Client/CreateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTask", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.CreateTask", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateTask", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CreateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CreateTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CreateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "CreateTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "CreateTask" }, + "description": "CreateTask creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget],\nthe maximum task size is\n100KB.\n* For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum\ntask size is 1MB.", + "file": "Client/CreateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_CreateTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CreateTask Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_DeleteQueue_sync", - "title": "cloudtasks DeleteQueue Sample", - "description": "DeleteQueue deletes a queue.\n\nThis command will delete the queue even if it has tasks in it.\n\nNote: If you delete a queue, a queue with the same name can't be created\nfor 7 days.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/DeleteQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.DeleteQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "DeleteQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.DeleteQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.DeleteQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "DeleteQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "DeleteQueue" }, + "description": "DeleteQueue deletes a queue.\n\nThis command will delete the queue even if it has tasks in it.\n\nNote: If you delete a queue, a queue with the same name can't be created\nfor 7 days.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/DeleteQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_DeleteQueue_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks DeleteQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_DeleteTask_sync", - "title": "cloudtasks DeleteTask Sample", - "description": "DeleteTask deletes a task.\n\nA task can be deleted if it is scheduled or dispatched. A task\ncannot be deleted if it has completed successfully or permanently\nfailed.", - "file": "Client/DeleteTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTask", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.DeleteTask", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteTask", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "DeleteTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.DeleteTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.DeleteTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "DeleteTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "DeleteTask" }, + "description": "DeleteTask deletes a task.\n\nA task can be deleted if it is scheduled or dispatched. A task\ncannot be deleted if it has completed successfully or permanently\nfailed.", + "file": "Client/DeleteTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_DeleteTask_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks DeleteTask Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetIamPolicy_sync", - "title": "cloudtasks GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a\n[Queue][google.cloud.tasks.v2beta2.Queue]. Returns an empty policy if the\nresource exists and does not have a policy set.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.getIamPolicy`", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicy", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicy", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a\n[Queue][google.cloud.tasks.v2beta2.Queue]. Returns an empty policy if the\nresource exists and does not have a policy set.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.getIamPolicy`", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetIamPolicy Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetLocation_sync", - "title": "cloudtasks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetLocation Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetQueue_sync", - "title": "cloudtasks GetQueue Sample", - "description": "GetQueue gets a queue.", - "file": "Client/GetQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.GetQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.GetQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.GetQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "GetQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "GetQueue" }, + "description": "GetQueue gets a queue.", + "file": "Client/GetQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetTask_sync", - "title": "cloudtasks GetTask Sample", - "description": "GetTask gets a task.", - "file": "Client/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.GetTask", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetTask", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "GetTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "GetTask" }, + "description": "GetTask gets a task.", + "file": "Client/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetTask Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_LeaseTasks_sync", - "title": "cloudtasks LeaseTasks Sample", - "description": "LeaseTasks leases tasks from a pull queue for\n[lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].\n\nThis method is invoked by the worker to obtain a lease. The\nworker must acknowledge the task via\n[AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]\nafter they have performed the work associated with the task.\n\nThe [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended\nto store data that the worker needs to perform the work associated with the\ntask. To return the payloads in the\n[response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set\n[response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view]\nto [FULL][google.cloud.tasks.v2beta2.Task.View.FULL].\n\nA maximum of 10 qps of\n[LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are\nallowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]\nis returned when this limit is\nexceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]\nis also returned when\n[max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second]\nis exceeded.", - "file": "Client/LeaseTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "LeaseTasks", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.LeaseTasks", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "LeaseTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.LeaseTasksRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.LeaseTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.LeaseTasksResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "LeaseTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "LeaseTasks" }, + "description": "LeaseTasks leases tasks from a pull queue for\n[lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].\n\nThis method is invoked by the worker to obtain a lease. The\nworker must acknowledge the task via\n[AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]\nafter they have performed the work associated with the task.\n\nThe [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended\nto store data that the worker needs to perform the work associated with the\ntask. To return the payloads in the\n[response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set\n[response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view]\nto [FULL][google.cloud.tasks.v2beta2.Task.View.FULL].\n\nA maximum of 10 qps of\n[LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are\nallowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]\nis returned when this limit is\nexceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]\nis also returned when\n[max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second]\nis exceeded.", + "file": "Client/LeaseTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_LeaseTasks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks LeaseTasks Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ListLocations_sync", - "title": "cloudtasks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListLocations Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ListQueues_sync", - "title": "cloudtasks ListQueues Sample", - "description": "ListQueues lists queues.\n\nQueues are returned in lexicographical order.", - "file": "Client/ListQueues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQueues", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.ListQueues", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListQueues", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ListQueues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ListQueuesRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ListQueuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueueIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "ListQueues", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListQueues", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "ListQueues" }, + "description": "ListQueues lists queues.\n\nQueues are returned in lexicographical order.", + "file": "Client/ListQueues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ListQueues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListQueues Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ListTasks_sync", - "title": "cloudtasks ListTasks Sample", - "description": "ListTasks lists the tasks in a queue.\n\nBy default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]\nview is retrieved due to performance considerations;\n[response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]\ncontrols the subset of information which is returned.\n\nThe tasks may be returned in any order. The ordering may change at any\ntime.", - "file": "Client/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.ListTasks", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListTasks", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "ListTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListTasks", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks lists the tasks in a queue.\n\nBy default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]\nview is retrieved due to performance considerations;\n[response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]\ncontrols the subset of information which is returned.\n\nThe tasks may be returned in any order. The ordering may change at any\ntime.", + "file": "Client/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListTasks Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_PauseQueue_sync", - "title": "cloudtasks PauseQueue Sample", - "description": "PauseQueue pauses the queue.\n\nIf a queue is paused then the system will stop dispatching tasks\nuntil the queue is resumed via\n[ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can\nstill be added when the queue is paused. A queue is paused if its\n[state][google.cloud.tasks.v2beta2.Queue.state] is\n[PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].", - "file": "Client/PauseQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.PauseQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PauseQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "PauseQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.PauseQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.PauseQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "PauseQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PauseQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "PauseQueue" }, + "description": "PauseQueue pauses the queue.\n\nIf a queue is paused then the system will stop dispatching tasks\nuntil the queue is resumed via\n[ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can\nstill be added when the queue is paused. A queue is paused if its\n[state][google.cloud.tasks.v2beta2.Queue.state] is\n[PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].", + "file": "Client/PauseQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_PauseQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks PauseQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_PurgeQueue_sync", - "title": "cloudtasks PurgeQueue Sample", - "description": "PurgeQueue purges a queue by deleting all of its tasks.\n\nAll tasks created before this method is called are permanently deleted.\n\nPurge operations can take up to one minute to take effect. Tasks\nmight be dispatched before the purge takes effect. A purge is irreversible.", - "file": "Client/PurgeQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.PurgeQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "PurgeQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.PurgeQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.PurgeQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "PurgeQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "PurgeQueue" }, + "description": "PurgeQueue purges a queue by deleting all of its tasks.\n\nAll tasks created before this method is called are permanently deleted.\n\nPurge operations can take up to one minute to take effect. Tasks\nmight be dispatched before the purge takes effect. A purge is irreversible.", + "file": "Client/PurgeQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_PurgeQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks PurgeQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_RenewLease_sync", - "title": "cloudtasks RenewLease Sample", - "description": "RenewLease renew the current lease of a pull task.\n\nThe worker can use this method to extend the lease by a new\nduration, starting from now. The new task lease will be\nreturned in the task's\n[schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].", - "file": "Client/RenewLease/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenewLease", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.RenewLease", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RenewLease", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "RenewLease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.RenewLeaseRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.RenewLeaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "RenewLease", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RenewLease", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "RenewLease" }, + "description": "RenewLease renew the current lease of a pull task.\n\nThe worker can use this method to extend the lease by a new\nduration, starting from now. The new task lease will be\nreturned in the task's\n[schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].", + "file": "Client/RenewLease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_RenewLease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks RenewLease Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ResumeQueue_sync", - "title": "cloudtasks ResumeQueue Sample", - "description": "ResumeQueue resume a queue.\n\nThis method resumes a queue after it has been\n[PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or\n[DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a\nqueue is stored in the queue's\n[state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method\nit will be set to\n[RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING].\n\nWARNING: Resuming many high-QPS queues at the same time can\nlead to target overloading. If you are resuming high-QPS\nqueues, follow the 500/50/5 pattern described in\n[Managing Cloud Tasks Scaling\nRisks](https: //cloud.google.com/tasks/docs/manage-cloud-task-scaling).", - "file": "Client/ResumeQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.ResumeQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ResumeQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ResumeQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ResumeQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "ResumeQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "ResumeQueue" }, + "description": "ResumeQueue resume a queue.\n\nThis method resumes a queue after it has been\n[PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or\n[DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a\nqueue is stored in the queue's\n[state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method\nit will be set to\n[RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING].\n\nWARNING: Resuming many high-QPS queues at the same time can\nlead to target overloading. If you are resuming high-QPS\nqueues, follow the 500/50/5 pattern described in\n[Managing Cloud Tasks Scaling\nRisks](https: //cloud.google.com/tasks/docs/manage-cloud-task-scaling).", + "file": "Client/ResumeQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_ResumeQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ResumeQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_RunTask_sync", - "title": "cloudtasks RunTask Sample", - "description": "RunTask forces a task to run now.\n\nWhen this method is called, Cloud Tasks will dispatch the task, even if\nthe task is already running, the queue has reached its\n[RateLimits][google.cloud.tasks.v2beta2.RateLimits] or is\n[PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].\n\nThis command is meant to be used for manual debugging. For\nexample, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be\nused to retry a failed task after a fix has been made or to manually force\na task to be dispatched now.\n\nThe dispatched task is returned. That is, the task that is returned\ncontains the [status][google.cloud.tasks.v2beta2.Task.status] after the\ntask is dispatched but before the task is received by its target.\n\nIf Cloud Tasks receives a successful response from the task's\ntarget, then the task will be deleted; otherwise the task's\n[schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be\nreset to the time that\n[RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus\nthe retry delay specified in the queue's\n[RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].\n\n[RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a\ntask that has already succeeded or permanently failed.\n\n[RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called\non a [pull task][google.cloud.tasks.v2beta2.PullMessage].", - "file": "Client/RunTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTask", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.RunTask", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RunTask", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "RunTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.RunTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.RunTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "RunTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RunTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "RunTask" }, + "description": "RunTask forces a task to run now.\n\nWhen this method is called, Cloud Tasks will dispatch the task, even if\nthe task is already running, the queue has reached its\n[RateLimits][google.cloud.tasks.v2beta2.RateLimits] or is\n[PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].\n\nThis command is meant to be used for manual debugging. For\nexample, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be\nused to retry a failed task after a fix has been made or to manually force\na task to be dispatched now.\n\nThe dispatched task is returned. That is, the task that is returned\ncontains the [status][google.cloud.tasks.v2beta2.Task.status] after the\ntask is dispatched but before the task is received by its target.\n\nIf Cloud Tasks receives a successful response from the task's\ntarget, then the task will be deleted; otherwise the task's\n[schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be\nreset to the time that\n[RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus\nthe retry delay specified in the queue's\n[RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].\n\n[RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a\ntask that has already succeeded or permanently failed.\n\n[RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called\non a [pull task][google.cloud.tasks.v2beta2.PullMessage].", + "file": "Client/RunTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_RunTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks RunTask Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_SetIamPolicy_sync", - "title": "cloudtasks SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy for a\n[Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.\n\nNote: The Cloud Console does not check queue-level IAM permissions yet.\nProject-level permissions are required to use the Cloud Console.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.setIamPolicy`", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicy", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicy", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy for a\n[Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.\n\nNote: The Cloud Console does not check queue-level IAM permissions yet.\nProject-level permissions are required to use the Cloud Console.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.setIamPolicy`", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks SetIamPolicy Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_TestIamPermissions_sync", - "title": "cloudtasks TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on a\n[Queue][google.cloud.tasks.v2beta2.Queue]. If the resource does not exist,\nthis will return an empty set of permissions, not a\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on a\n[Queue][google.cloud.tasks.v2beta2.Queue]. If the resource does not exist,\nthis will return an empty set of permissions, not a\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks TestIamPermissions Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_UpdateQueue_sync", - "title": "cloudtasks UpdateQueue Sample", - "description": "UpdateQueue updates a queue.\n\nThis method creates the queue if it does not exist and updates\nthe queue if it does exist.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/UpdateQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.UpdateQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "UpdateQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.UpdateQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.UpdateQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "UpdateQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "UpdateQueue" }, + "description": "UpdateQueue updates a queue.\n\nThis method creates the queue if it does not exist and updates\nthe queue if it does exist.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/UpdateQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_UpdateQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks UpdateQueue Sample" }, { - "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_UploadQueueYaml_sync", - "title": "cloudtasks UploadQueueYaml Sample", - "description": "UploadQueueYaml update queue list by uploading a queue.yaml file.\n\nThe queue.yaml file is supplied in the request body as a YAML encoded\nstring. This method was added to support gcloud clients versions before\n322.0.0. New clients should use CreateQueue instead of this method.", - "file": "Client/UploadQueueYaml/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadQueueYaml", + "client": { + "fullName": "google.cloud.tasks.v2beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta2.Client.UploadQueueYaml", + "method": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml", + "service": { + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "UploadQueueYaml" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.UploadQueueYamlRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.UploadQueueYamlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta2.Client" - }, - "method": { - "shortName": "UploadQueueYaml", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks" - } - } + "shortName": "UploadQueueYaml" }, + "description": "UploadQueueYaml update queue list by uploading a queue.yaml file.\n\nThe queue.yaml file is supplied in the request body as a YAML encoded\nstring. This method was added to support gcloud clients versions before\n322.0.0. New clients should use CreateQueue instead of this method.", + "file": "Client/UploadQueueYaml/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta2_generated_CloudTasks_UploadQueueYaml_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks UploadQueueYaml Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json index c2b0ef3703e7..e56880eff931 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json @@ -1,841 +1,841 @@ { "clientLibrary": { - "name": "cloud.google.com/go/cloudtasks/apiv2beta3", - "version": "1.13.7", - "language": "GO", "apis": [ { "id": "google.cloud.tasks.v2beta3", "version": "v2beta3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/cloudtasks/apiv2beta3", + "version": "1.13.7" }, "snippets": [ { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_CreateQueue_sync", - "title": "cloudtasks CreateQueue Sample", - "description": "CreateQueue creates a queue.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/CreateQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.CreateQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CreateQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CreateQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CreateQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "CreateQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "CreateQueue" }, + "description": "CreateQueue creates a queue.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/CreateQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_CreateQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CreateQueue Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_CreateTask_sync", - "title": "cloudtasks CreateTask Sample", - "description": "CreateTask creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* The maximum task size is 100KB.", - "file": "Client/CreateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTask", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.CreateTask", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateTask", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "CreateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.CreateTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.CreateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "CreateTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "CreateTask" }, + "description": "CreateTask creates a task and adds it to a queue.\n\nTasks cannot be updated after creation; there is no UpdateTask command.\n\n* The maximum task size is 100KB.", + "file": "Client/CreateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_CreateTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks CreateTask Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_DeleteQueue_sync", - "title": "cloudtasks DeleteQueue Sample", - "description": "DeleteQueue deletes a queue.\n\nThis command will delete the queue even if it has tasks in it.\n\nNote: If you delete a queue, a queue with the same name can't be created\nfor 7 days.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/DeleteQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.DeleteQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "DeleteQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.DeleteQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.DeleteQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "DeleteQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "DeleteQueue" }, + "description": "DeleteQueue deletes a queue.\n\nThis command will delete the queue even if it has tasks in it.\n\nNote: If you delete a queue, a queue with the same name can't be created\nfor 7 days.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/DeleteQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_DeleteQueue_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks DeleteQueue Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_DeleteTask_sync", - "title": "cloudtasks DeleteTask Sample", - "description": "DeleteTask deletes a task.\n\nA task can be deleted if it is scheduled or dispatched. A task\ncannot be deleted if it has executed successfully or permanently\nfailed.", - "file": "Client/DeleteTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTask", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.DeleteTask", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteTask", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "DeleteTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.DeleteTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.DeleteTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "DeleteTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "DeleteTask" }, + "description": "DeleteTask deletes a task.\n\nA task can be deleted if it is scheduled or dispatched. A task\ncannot be deleted if it has executed successfully or permanently\nfailed.", + "file": "Client/DeleteTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_DeleteTask_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks DeleteTask Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetIamPolicy_sync", - "title": "cloudtasks GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a\n[Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the\nresource exists and does not have a policy set.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.getIamPolicy`", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetIamPolicy", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetIamPolicy", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a\n[Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the\nresource exists and does not have a policy set.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.getIamPolicy`", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetIamPolicy Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetLocation_sync", - "title": "cloudtasks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetLocation Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetQueue_sync", - "title": "cloudtasks GetQueue Sample", - "description": "GetQueue gets a queue.", - "file": "Client/GetQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.GetQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.GetQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.GetQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "GetQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "GetQueue" }, + "description": "GetQueue gets a queue.", + "file": "Client/GetQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetQueue Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetTask_sync", - "title": "cloudtasks GetTask Sample", - "description": "GetTask gets a task.", - "file": "Client/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.GetTask", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetTask", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "GetTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "GetTask" }, + "description": "GetTask gets a task.", + "file": "Client/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks GetTask Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ListLocations_sync", - "title": "cloudtasks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListLocations Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ListQueues_sync", - "title": "cloudtasks ListQueues Sample", - "description": "ListQueues lists queues.\n\nQueues are returned in lexicographical order.", - "file": "Client/ListQueues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQueues", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.ListQueues", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListQueues", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ListQueues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ListQueuesRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ListQueuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueueIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "ListQueues", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListQueues", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "ListQueues" }, + "description": "ListQueues lists queues.\n\nQueues are returned in lexicographical order.", + "file": "Client/ListQueues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ListQueues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListQueues Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ListTasks_sync", - "title": "cloudtasks ListTasks Sample", - "description": "ListTasks lists the tasks in a queue.\n\nBy default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]\nview is retrieved due to performance considerations;\n[response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view]\ncontrols the subset of information which is returned.\n\nThe tasks may be returned in any order. The ordering may change at any\ntime.", - "file": "Client/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.ListTasks", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListTasks", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "ListTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListTasks", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks lists the tasks in a queue.\n\nBy default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]\nview is retrieved due to performance considerations;\n[response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view]\ncontrols the subset of information which is returned.\n\nThe tasks may be returned in any order. The ordering may change at any\ntime.", + "file": "Client/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ListTasks Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_PauseQueue_sync", - "title": "cloudtasks PauseQueue Sample", - "description": "PauseQueue pauses the queue.\n\nIf a queue is paused then the system will stop dispatching tasks\nuntil the queue is resumed via\n[ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can\nstill be added when the queue is paused. A queue is paused if its\n[state][google.cloud.tasks.v2beta3.Queue.state] is\n[PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].", - "file": "Client/PauseQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.PauseQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PauseQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "PauseQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.PauseQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.PauseQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "PauseQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PauseQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "PauseQueue" }, + "description": "PauseQueue pauses the queue.\n\nIf a queue is paused then the system will stop dispatching tasks\nuntil the queue is resumed via\n[ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can\nstill be added when the queue is paused. A queue is paused if its\n[state][google.cloud.tasks.v2beta3.Queue.state] is\n[PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].", + "file": "Client/PauseQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_PauseQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks PauseQueue Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_PurgeQueue_sync", - "title": "cloudtasks PurgeQueue Sample", - "description": "PurgeQueue purges a queue by deleting all of its tasks.\n\nAll tasks created before this method is called are permanently deleted.\n\nPurge operations can take up to one minute to take effect. Tasks\nmight be dispatched before the purge takes effect. A purge is irreversible.", - "file": "Client/PurgeQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.PurgeQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "PurgeQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.PurgeQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.PurgeQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "PurgeQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "PurgeQueue" }, + "description": "PurgeQueue purges a queue by deleting all of its tasks.\n\nAll tasks created before this method is called are permanently deleted.\n\nPurge operations can take up to one minute to take effect. Tasks\nmight be dispatched before the purge takes effect. A purge is irreversible.", + "file": "Client/PurgeQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_PurgeQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks PurgeQueue Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ResumeQueue_sync", - "title": "cloudtasks ResumeQueue Sample", - "description": "ResumeQueue resume a queue.\n\nThis method resumes a queue after it has been\n[PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or\n[DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a\nqueue is stored in the queue's\n[state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method\nit will be set to\n[RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING].\n\nWARNING: Resuming many high-QPS queues at the same time can\nlead to target overloading. If you are resuming high-QPS\nqueues, follow the 500/50/5 pattern described in\n[Managing Cloud Tasks Scaling\nRisks](https: //cloud.google.com/tasks/docs/manage-cloud-task-scaling).", - "file": "Client/ResumeQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.ResumeQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "ResumeQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.ResumeQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.ResumeQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "ResumeQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "ResumeQueue" }, + "description": "ResumeQueue resume a queue.\n\nThis method resumes a queue after it has been\n[PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or\n[DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a\nqueue is stored in the queue's\n[state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method\nit will be set to\n[RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING].\n\nWARNING: Resuming many high-QPS queues at the same time can\nlead to target overloading. If you are resuming high-QPS\nqueues, follow the 500/50/5 pattern described in\n[Managing Cloud Tasks Scaling\nRisks](https: //cloud.google.com/tasks/docs/manage-cloud-task-scaling).", + "file": "Client/ResumeQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_ResumeQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks ResumeQueue Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_RunTask_sync", - "title": "cloudtasks RunTask Sample", - "description": "RunTask forces a task to run now.\n\nWhen this method is called, Cloud Tasks will dispatch the task, even if\nthe task is already running, the queue has reached its\n[RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is\n[PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].\n\nThis command is meant to be used for manual debugging. For\nexample, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be\nused to retry a failed task after a fix has been made or to manually force\na task to be dispatched now.\n\nThe dispatched task is returned. That is, the task that is returned\ncontains the [status][Task.status] after the task is dispatched but\nbefore the task is received by its target.\n\nIf Cloud Tasks receives a successful response from the task's\ntarget, then the task will be deleted; otherwise the task's\n[schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be\nreset to the time that\n[RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus\nthe retry delay specified in the queue's\n[RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].\n\n[RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a\ntask that has already succeeded or permanently failed.", - "file": "Client/RunTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTask", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.RunTask", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.RunTask", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "RunTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.RunTaskRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.RunTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "RunTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.RunTask", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "RunTask" }, + "description": "RunTask forces a task to run now.\n\nWhen this method is called, Cloud Tasks will dispatch the task, even if\nthe task is already running, the queue has reached its\n[RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is\n[PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].\n\nThis command is meant to be used for manual debugging. For\nexample, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be\nused to retry a failed task after a fix has been made or to manually force\na task to be dispatched now.\n\nThe dispatched task is returned. That is, the task that is returned\ncontains the [status][Task.status] after the task is dispatched but\nbefore the task is received by its target.\n\nIf Cloud Tasks receives a successful response from the task's\ntarget, then the task will be deleted; otherwise the task's\n[schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be\nreset to the time that\n[RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus\nthe retry delay specified in the queue's\n[RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].\n\n[RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a\ntask that has already succeeded or permanently failed.", + "file": "Client/RunTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_RunTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks RunTask Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_SetIamPolicy_sync", - "title": "cloudtasks SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy for a\n[Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy.\n\nNote: The Cloud Console does not check queue-level IAM permissions yet.\nProject-level permissions are required to use the Cloud Console.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.setIamPolicy`", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.SetIamPolicy", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.SetIamPolicy", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy for a\n[Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy.\n\nNote: The Cloud Console does not check queue-level IAM permissions yet.\nProject-level permissions are required to use the Cloud Console.\n\nAuthorization requires the following\n[Google IAM](https: //cloud.google.com/iam) permission on the specified\nresource parent: \n\n* `cloudtasks.queues.setIamPolicy`", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks SetIamPolicy Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_TestIamPermissions_sync", - "title": "cloudtasks TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on a\n[Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist,\nthis will return an empty set of permissions, not a\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.TestIamPermissions", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.TestIamPermissions", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on a\n[Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist,\nthis will return an empty set of permissions, not a\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks TestIamPermissions Sample" }, { - "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_UpdateQueue_sync", - "title": "cloudtasks UpdateQueue Sample", - "description": "UpdateQueue updates a queue.\n\nThis method creates the queue if it does not exist and updates\nthe queue if it does exist.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", - "file": "Client/UpdateQueue/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQueue", + "client": { + "fullName": "google.cloud.tasks.v2beta3.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tasks.v2beta3.Client.UpdateQueue", + "method": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue", + "service": { + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "shortName": "CloudTasks" + }, + "shortName": "UpdateQueue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cloudtaskspb.UpdateQueueRequest", - "name": "req" + "name": "req", + "type": "cloudtaskspb.UpdateQueueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cloudtaskspb.Queue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tasks.v2beta3.Client" - }, - "method": { - "shortName": "UpdateQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue", - "service": { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks" - } - } + "shortName": "UpdateQueue" }, + "description": "UpdateQueue updates a queue.\n\nThis method creates the queue if it does not exist and updates\nthe queue if it does exist.\n\nQueues created with this method allow tasks to live for a maximum of 31\ndays. After a task is 31 days old, the task will be deleted regardless of\nwhether it was dispatched or not.\n\nWARNING: Using this method may have unintended side effects if you are\nusing an App Engine `queue.yaml` or `queue.xml` file to manage your queues.\nRead\n[Overview of Queue Management and\nqueue.yaml](https: //cloud.google.com/tasks/docs/queue-yaml) before using\nthis method.", + "file": "Client/UpdateQueue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtasks_v2beta3_generated_CloudTasks_UpdateQueue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtasks UpdateQueue Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json b/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json index e1ddad5fafae..5f231ed3883a 100644 --- a/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json +++ b/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json @@ -1,567 +1,567 @@ { "clientLibrary": { - "name": "cloud.google.com/go/commerce/consumer/procurement/apiv1", - "version": "1.2.6", - "language": "GO", "apis": [ { "id": "google.cloud.commerce.consumer.procurement.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/commerce/consumer/procurement/apiv1", + "version": "1.2.6" }, "snippets": [ { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_CancelOrder_sync", - "title": "cloudcommerceconsumerprocurement CancelOrder Sample", - "description": "CancelOrder cancels an existing\n[Order][google.cloud.commerce.consumer.procurement.v1.Order]. Every product\nprocured in the Order will be cancelled.", - "file": "ConsumerProcurementClient/CancelOrder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOrder", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient", + "shortName": "ConsumerProcurementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient.CancelOrder", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.CancelOrder", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "shortName": "ConsumerProcurementService" + }, + "shortName": "CancelOrder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.CancelOrderRequest", - "name": "req" + "name": "req", + "type": "procurementpb.CancelOrderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelOrderOperation", - "client": { - "shortName": "ConsumerProcurementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient" - }, - "method": { - "shortName": "CancelOrder", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.CancelOrder", - "service": { - "shortName": "ConsumerProcurementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService" - } - } + "shortName": "CancelOrder" }, + "description": "CancelOrder cancels an existing\n[Order][google.cloud.commerce.consumer.procurement.v1.Order]. Every product\nprocured in the Order will be cancelled.", + "file": "ConsumerProcurementClient/CancelOrder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_CancelOrder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement CancelOrder Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_GetOperation_sync", - "title": "cloudcommerceconsumerprocurement GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConsumerProcurementClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient", + "shortName": "ConsumerProcurementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConsumerProcurementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConsumerProcurementClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement GetOperation Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_GetOrder_sync", - "title": "cloudcommerceconsumerprocurement GetOrder Sample", - "description": "GetOrder returns the requested\n[Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.", - "file": "ConsumerProcurementClient/GetOrder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrder", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient", + "shortName": "ConsumerProcurementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient.GetOrder", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.GetOrder", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "shortName": "ConsumerProcurementService" + }, + "shortName": "GetOrder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.GetOrderRequest", - "name": "req" + "name": "req", + "type": "procurementpb.GetOrderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*procurementpb.Order", - "client": { - "shortName": "ConsumerProcurementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient" - }, - "method": { - "shortName": "GetOrder", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.GetOrder", - "service": { - "shortName": "ConsumerProcurementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService" - } - } + "shortName": "GetOrder" }, + "description": "GetOrder returns the requested\n[Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.", + "file": "ConsumerProcurementClient/GetOrder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_GetOrder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement GetOrder Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_ListOrders_sync", - "title": "cloudcommerceconsumerprocurement ListOrders Sample", - "description": "ListOrders lists [Order][google.cloud.commerce.consumer.procurement.v1.Order]\nresources that the user has access to, within the scope of the parent\nresource.", - "file": "ConsumerProcurementClient/ListOrders/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrders", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient", + "shortName": "ConsumerProcurementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient.ListOrders", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "shortName": "ConsumerProcurementService" + }, + "shortName": "ListOrders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.ListOrdersRequest", - "name": "req" + "name": "req", + "type": "procurementpb.ListOrdersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrderIterator", - "client": { - "shortName": "ConsumerProcurementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient" - }, - "method": { - "shortName": "ListOrders", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders", - "service": { - "shortName": "ConsumerProcurementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService" - } - } + "shortName": "ListOrders" }, + "description": "ListOrders lists [Order][google.cloud.commerce.consumer.procurement.v1.Order]\nresources that the user has access to, within the scope of the parent\nresource.", + "file": "ConsumerProcurementClient/ListOrders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_ListOrders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement ListOrders Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_ModifyOrder_sync", - "title": "cloudcommerceconsumerprocurement ModifyOrder Sample", - "description": "ModifyOrder modifies an existing\n[Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.", - "file": "ConsumerProcurementClient/ModifyOrder/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModifyOrder", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient", + "shortName": "ConsumerProcurementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient.ModifyOrder", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ModifyOrder", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "shortName": "ConsumerProcurementService" + }, + "shortName": "ModifyOrder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.ModifyOrderRequest", - "name": "req" + "name": "req", + "type": "procurementpb.ModifyOrderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModifyOrderOperation", - "client": { - "shortName": "ConsumerProcurementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient" - }, - "method": { - "shortName": "ModifyOrder", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ModifyOrder", - "service": { - "shortName": "ConsumerProcurementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService" - } - } + "shortName": "ModifyOrder" }, + "description": "ModifyOrder modifies an existing\n[Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.", + "file": "ConsumerProcurementClient/ModifyOrder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_ModifyOrder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement ModifyOrder Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_PlaceOrder_sync", - "title": "cloudcommerceconsumerprocurement PlaceOrder Sample", - "description": "PlaceOrder creates a new [Order][google.cloud.commerce.consumer.procurement.v1.Order].\n\nThis API only supports GCP spend-based committed use\ndiscounts specified by GCP documentation.\n\nThe returned long-running operation is in-progress until the backend\ncompletes the creation of the resource. Once completed, the order is\nin\n[OrderState.ORDER_STATE_ACTIVE][google.cloud.commerce.consumer.procurement.v1.OrderState.ORDER_STATE_ACTIVE].\nIn case of failure, the order resource will be removed.", - "file": "ConsumerProcurementClient/PlaceOrder/main.go", - "language": "GO", "clientMethod": { - "shortName": "PlaceOrder", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient", + "shortName": "ConsumerProcurementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient.PlaceOrder", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "shortName": "ConsumerProcurementService" + }, + "shortName": "PlaceOrder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.PlaceOrderRequest", - "name": "req" + "name": "req", + "type": "procurementpb.PlaceOrderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PlaceOrderOperation", - "client": { - "shortName": "ConsumerProcurementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementClient" - }, - "method": { - "shortName": "PlaceOrder", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder", - "service": { - "shortName": "ConsumerProcurementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService" - } - } + "shortName": "PlaceOrder" }, + "description": "PlaceOrder creates a new [Order][google.cloud.commerce.consumer.procurement.v1.Order].\n\nThis API only supports GCP spend-based committed use\ndiscounts specified by GCP documentation.\n\nThe returned long-running operation is in-progress until the backend\ncompletes the creation of the resource. Once completed, the order is\nin\n[OrderState.ORDER_STATE_ACTIVE][google.cloud.commerce.consumer.procurement.v1.OrderState.ORDER_STATE_ACTIVE].\nIn case of failure, the order resource will be removed.", + "file": "ConsumerProcurementClient/PlaceOrder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_ConsumerProcurementService_PlaceOrder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement PlaceOrder Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_Assign_sync", - "title": "cloudcommerceconsumerprocurement Assign Sample", - "description": "Assign assigns a license to a user.", - "file": "LicenseManagementClient/Assign/main.go", - "language": "GO", "clientMethod": { - "shortName": "Assign", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient", + "shortName": "LicenseManagementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient.Assign", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.Assign", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService", + "shortName": "LicenseManagementService" + }, + "shortName": "Assign" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.AssignRequest", - "name": "req" + "name": "req", + "type": "procurementpb.AssignRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*procurementpb.AssignResponse", - "client": { - "shortName": "LicenseManagementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient" - }, - "method": { - "shortName": "Assign", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.Assign", - "service": { - "shortName": "LicenseManagementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService" - } - } + "shortName": "Assign" }, + "description": "Assign assigns a license to a user.", + "file": "LicenseManagementClient/Assign/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_Assign_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement Assign Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_EnumerateLicensedUsers_sync", - "title": "cloudcommerceconsumerprocurement EnumerateLicensedUsers Sample", - "description": "EnumerateLicensedUsers enumerates all users assigned a license.", - "file": "LicenseManagementClient/EnumerateLicensedUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnumerateLicensedUsers", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient", + "shortName": "LicenseManagementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient.EnumerateLicensedUsers", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.EnumerateLicensedUsers", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService", + "shortName": "LicenseManagementService" + }, + "shortName": "EnumerateLicensedUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.EnumerateLicensedUsersRequest", - "name": "req" + "name": "req", + "type": "procurementpb.EnumerateLicensedUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LicensedUserIterator", - "client": { - "shortName": "LicenseManagementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient" - }, - "method": { - "shortName": "EnumerateLicensedUsers", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.EnumerateLicensedUsers", - "service": { - "shortName": "LicenseManagementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService" - } - } + "shortName": "EnumerateLicensedUsers" }, + "description": "EnumerateLicensedUsers enumerates all users assigned a license.", + "file": "LicenseManagementClient/EnumerateLicensedUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_EnumerateLicensedUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement EnumerateLicensedUsers Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_GetLicensePool_sync", - "title": "cloudcommerceconsumerprocurement GetLicensePool Sample", - "description": "GetLicensePool gets the license pool.", - "file": "LicenseManagementClient/GetLicensePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLicensePool", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient", + "shortName": "LicenseManagementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient.GetLicensePool", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.GetLicensePool", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService", + "shortName": "LicenseManagementService" + }, + "shortName": "GetLicensePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.GetLicensePoolRequest", - "name": "req" + "name": "req", + "type": "procurementpb.GetLicensePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*procurementpb.LicensePool", - "client": { - "shortName": "LicenseManagementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient" - }, - "method": { - "shortName": "GetLicensePool", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.GetLicensePool", - "service": { - "shortName": "LicenseManagementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService" - } - } + "shortName": "GetLicensePool" }, + "description": "GetLicensePool gets the license pool.", + "file": "LicenseManagementClient/GetLicensePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_GetLicensePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement GetLicensePool Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_GetOperation_sync", - "title": "cloudcommerceconsumerprocurement GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "LicenseManagementClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient", + "shortName": "LicenseManagementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LicenseManagementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "LicenseManagementClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement GetOperation Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_Unassign_sync", - "title": "cloudcommerceconsumerprocurement Unassign Sample", - "description": "Unassign unassigns a license from a user.", - "file": "LicenseManagementClient/Unassign/main.go", - "language": "GO", "clientMethod": { - "shortName": "Unassign", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient", + "shortName": "LicenseManagementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient.Unassign", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.Unassign", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService", + "shortName": "LicenseManagementService" + }, + "shortName": "Unassign" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.UnassignRequest", - "name": "req" + "name": "req", + "type": "procurementpb.UnassignRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*procurementpb.UnassignResponse", - "client": { - "shortName": "LicenseManagementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient" - }, - "method": { - "shortName": "Unassign", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.Unassign", - "service": { - "shortName": "LicenseManagementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService" - } - } + "shortName": "Unassign" }, + "description": "Unassign unassigns a license from a user.", + "file": "LicenseManagementClient/Unassign/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_Unassign_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement Unassign Sample" }, { - "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_UpdateLicensePool_sync", - "title": "cloudcommerceconsumerprocurement UpdateLicensePool Sample", - "description": "UpdateLicensePool updates the license pool if one exists for this Order.", - "file": "LicenseManagementClient/UpdateLicensePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLicensePool", + "client": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient", + "shortName": "LicenseManagementClient" + }, "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient.UpdateLicensePool", + "method": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.UpdateLicensePool", + "service": { + "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService", + "shortName": "LicenseManagementService" + }, + "shortName": "UpdateLicensePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "procurementpb.UpdateLicensePoolRequest", - "name": "req" + "name": "req", + "type": "procurementpb.UpdateLicensePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*procurementpb.LicensePool", - "client": { - "shortName": "LicenseManagementClient", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementClient" - }, - "method": { - "shortName": "UpdateLicensePool", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.UpdateLicensePool", - "service": { - "shortName": "LicenseManagementService", - "fullName": "google.cloud.commerce.consumer.procurement.v1.LicenseManagementService" - } - } + "shortName": "UpdateLicensePool" }, + "description": "UpdateLicensePool updates the license pool if one exists for this Order.", + "file": "LicenseManagementClient/UpdateLicensePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudcommerceconsumerprocurement_v1_generated_LicenseManagementService_UpdateLicensePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudcommerceconsumerprocurement UpdateLicensePool Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json index 26279c9e52b5..a005ae538639 100644 --- a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json +++ b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json @@ -1,41967 +1,41967 @@ { "clientLibrary": { - "name": "cloud.google.com/go/compute/apiv1", - "version": "1.57.0", - "language": "GO", "apis": [ { "id": "google.cloud.compute.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/compute/apiv1", + "version": "1.57.0" }, "snippets": [ { - "regionTag": "compute_v1_generated_AcceleratorTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of accelerator types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "AcceleratorTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.AcceleratorTypesClient", + "shortName": "AcceleratorTypesClient" + }, "fullName": "google.cloud.compute.v1.AcceleratorTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.AcceleratorTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.AcceleratorTypes", + "shortName": "AcceleratorTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListAcceleratorTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListAcceleratorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceleratorTypesScopedListPairIterator", - "client": { - "shortName": "AcceleratorTypesClient", - "fullName": "google.cloud.compute.v1.AcceleratorTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.AcceleratorTypes.AggregatedList", - "service": { - "shortName": "AcceleratorTypes", - "fullName": "google.cloud.compute.v1.AcceleratorTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of accelerator types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "AcceleratorTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_AcceleratorTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_AcceleratorTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified accelerator type.", - "file": "AcceleratorTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.AcceleratorTypesClient", + "shortName": "AcceleratorTypesClient" + }, "fullName": "google.cloud.compute.v1.AcceleratorTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.AcceleratorTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1.AcceleratorTypes", + "shortName": "AcceleratorTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAcceleratorTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAcceleratorTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.AcceleratorType", - "client": { - "shortName": "AcceleratorTypesClient", - "fullName": "google.cloud.compute.v1.AcceleratorTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.AcceleratorTypes.Get", - "service": { - "shortName": "AcceleratorTypes", - "fullName": "google.cloud.compute.v1.AcceleratorTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified accelerator type.", + "file": "AcceleratorTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_AcceleratorTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_AcceleratorTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of accelerator types that are available to the specified\nproject.", - "file": "AcceleratorTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.AcceleratorTypesClient", + "shortName": "AcceleratorTypesClient" + }, "fullName": "google.cloud.compute.v1.AcceleratorTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.AcceleratorTypes.List", + "service": { + "fullName": "google.cloud.compute.v1.AcceleratorTypes", + "shortName": "AcceleratorTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAcceleratorTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAcceleratorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceleratorTypeIterator", - "client": { - "shortName": "AcceleratorTypesClient", - "fullName": "google.cloud.compute.v1.AcceleratorTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.AcceleratorTypes.List", - "service": { - "shortName": "AcceleratorTypes", - "fullName": "google.cloud.compute.v1.AcceleratorTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of accelerator types that are available to the specified\nproject.", + "file": "AcceleratorTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_AcceleratorTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Addresses_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of addresses.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "AddressesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListAddressesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddressesScopedListPairIterator", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Addresses.AggregatedList", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of addresses.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "AddressesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Addresses_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified address resource.", - "file": "AddressesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Addresses.Delete", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified address resource.", + "file": "AddressesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Addresses_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified address resource.", - "file": "AddressesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.Get", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Address", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Addresses.Get", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "Get" }, + "description": "Get returns the specified address resource.", + "file": "AddressesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Addresses_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", - "file": "AddressesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Addresses.Insert", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "Insert" }, + "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", + "file": "AddressesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Addresses_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of addresses contained within\nthe specified region.", - "file": "AddressesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.List", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAddressesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddressIterator", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Addresses.List", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "List" }, + "description": "List retrieves a list of addresses contained within\nthe specified region.", + "file": "AddressesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Addresses_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified address resource.", - "file": "AddressesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.Move", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1.Addresses.Move", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "Move" }, + "description": "Move moves the specified address resource.", + "file": "AddressesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1_generated_Addresses_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an Address. To learn more about labels, read theLabeling\nResources documentation.", - "file": "AddressesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.Addresses.SetLabels", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an Address. To learn more about labels, read theLabeling\nResources documentation.", + "file": "AddressesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_Addresses_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "AddressesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1.AddressesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Addresses.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Addresses", + "shortName": "Addresses" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1.AddressesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Addresses.TestIamPermissions", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1.Addresses" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "AddressesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Addresses_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Advice_CalendarMode_sync", - "title": "compute CalendarMode Sample", - "description": "CalendarMode advise how, where and when to create the requested amount of instances\nwith specified accelerators, within the specified time and location limits.\nThe method recommends creating future reservations for the requested\nresources.", - "file": "AdviceClient/CalendarMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalendarMode", + "client": { + "fullName": "google.cloud.compute.v1.AdviceClient", + "shortName": "AdviceClient" + }, "fullName": "google.cloud.compute.v1.AdviceClient.CalendarMode", + "method": { + "fullName": "google.cloud.compute.v1.Advice.CalendarMode", + "service": { + "fullName": "google.cloud.compute.v1.Advice", + "shortName": "Advice" + }, + "shortName": "CalendarMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CalendarModeAdviceRpcRequest", - "name": "req" + "name": "req", + "type": "computepb.CalendarModeAdviceRpcRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.CalendarModeAdviceResponse", - "client": { - "shortName": "AdviceClient", - "fullName": "google.cloud.compute.v1.AdviceClient" - }, - "method": { - "shortName": "CalendarMode", - "fullName": "google.cloud.compute.v1.Advice.CalendarMode", - "service": { - "shortName": "Advice", - "fullName": "google.cloud.compute.v1.Advice" - } - } + "shortName": "CalendarMode" }, + "description": "CalendarMode advise how, where and when to create the requested amount of instances\nwith specified accelerators, within the specified time and location limits.\nThe method recommends creating future reservations for the requested\nresources.", + "file": "AdviceClient/CalendarMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Advice_CalendarMode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CalendarMode Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of autoscalers.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "AutoscalersClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListAutoscalersRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListAutoscalersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalersScopedListPairIterator", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Autoscalers.AggregatedList", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of autoscalers.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "AutoscalersClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified autoscaler.", - "file": "AutoscalersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Autoscalers.Delete", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified autoscaler.", + "file": "AutoscalersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified autoscaler resource.", - "file": "AutoscalersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.Get", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Autoscaler", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Autoscalers.Get", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "Get" }, + "description": "Get returns the specified autoscaler resource.", + "file": "AutoscalersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an autoscaler in the specified project using the data\nincluded in the request.", - "file": "AutoscalersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Autoscalers.Insert", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "Insert" }, + "description": "Insert creates an autoscaler in the specified project using the data\nincluded in the request.", + "file": "AutoscalersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of autoscalers contained within\nthe specified zone.", - "file": "AutoscalersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.List", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAutoscalersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAutoscalersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalerIterator", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Autoscalers.List", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of autoscalers contained within\nthe specified zone.", + "file": "AutoscalersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates an autoscaler in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "AutoscalersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Autoscalers.Patch", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "Patch" }, + "description": "Patch updates an autoscaler in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "AutoscalersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "AutoscalersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Autoscalers.TestIamPermissions", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "AutoscalersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Autoscalers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates an autoscaler in the specified project using the data\nincluded in the request.", - "file": "AutoscalersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1.AutoscalersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.Autoscalers.Update", + "service": { + "fullName": "google.cloud.compute.v1.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1.AutoscalersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Autoscalers.Update", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1.Autoscalers" - } - } + "shortName": "Update" }, + "description": "Update updates an autoscaler in the specified project using the data\nincluded in the request.", + "file": "AutoscalersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Autoscalers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_AddSignedUrlKey_sync", - "title": "compute AddSignedUrlKey Sample", - "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nbucket.", - "file": "BackendBucketsClient/AddSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.AddSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.AddSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "AddSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddSignedUrlKeyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.AddSignedUrlKeyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "AddSignedUrlKey", - "fullName": "google.cloud.compute.v1.BackendBuckets.AddSignedUrlKey", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "AddSignedUrlKey" }, + "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nbucket.", + "file": "BackendBucketsClient/AddSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_AddSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddSignedUrlKey Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified BackendBucket resource.", - "file": "BackendBucketsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.Delete", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.BackendBuckets.Delete", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified BackendBucket resource.", + "file": "BackendBucketsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_DeleteSignedUrlKey_sync", - "title": "compute DeleteSignedUrlKey Sample", - "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nbucket.", - "file": "BackendBucketsClient/DeleteSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.DeleteSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.DeleteSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "DeleteSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSignedUrlKeyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSignedUrlKeyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "DeleteSignedUrlKey", - "fullName": "google.cloud.compute.v1.BackendBuckets.DeleteSignedUrlKey", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "DeleteSignedUrlKey" }, + "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nbucket.", + "file": "BackendBucketsClient/DeleteSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_DeleteSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteSignedUrlKey Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified BackendBucket resource.", - "file": "BackendBucketsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.Get", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.GetBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendBucket", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.BackendBuckets.Get", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "Get" }, + "description": "Get returns the specified BackendBucket resource.", + "file": "BackendBucketsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "BackendBucketsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.BackendBuckets.GetIamPolicy", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "BackendBucketsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a BackendBucket resource in the specified project using\nthe data included in the request.", - "file": "BackendBucketsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.Insert", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.BackendBuckets.Insert", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "Insert" }, + "description": "Insert creates a BackendBucket resource in the specified project using\nthe data included in the request.", + "file": "BackendBucketsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of BackendBucket resources available to the specified\nproject.", - "file": "BackendBucketsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.List", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListBackendBucketsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListBackendBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendBucketIterator", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.BackendBuckets.List", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "List" }, + "description": "List retrieves the list of BackendBucket resources available to the specified\nproject.", + "file": "BackendBucketsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "BackendBucketsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.Patch", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.BackendBuckets.Patch", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "BackendBucketsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_SetEdgeSecurityPolicy_sync", - "title": "compute SetEdgeSecurityPolicy Sample", - "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend bucket.", - "file": "BackendBucketsClient/SetEdgeSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetEdgeSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.SetEdgeSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.SetEdgeSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "SetEdgeSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetEdgeSecurityPolicyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.SetEdgeSecurityPolicyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "SetEdgeSecurityPolicy", - "fullName": "google.cloud.compute.v1.BackendBuckets.SetEdgeSecurityPolicy", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "SetEdgeSecurityPolicy" }, + "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend bucket.", + "file": "BackendBucketsClient/SetEdgeSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_SetEdgeSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetEdgeSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "BackendBucketsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.BackendBuckets.SetIamPolicy", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "BackendBucketsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "BackendBucketsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.BackendBuckets.TestIamPermissions", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "BackendBucketsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_BackendBuckets_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified BackendBucket resource with the data included in the\nrequest.", - "file": "BackendBucketsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1.BackendBucketsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.BackendBuckets.Update", + "service": { + "fullName": "google.cloud.compute.v1.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1.BackendBucketsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.BackendBuckets.Update", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1.BackendBuckets" - } - } + "shortName": "Update" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Update updates the specified BackendBucket resource with the data included in the\nrequest.", + "file": "BackendBucketsClient/Update/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendBuckets_Update_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_AddSignedUrlKey_sync", - "title": "compute AddSignedUrlKey Sample", - "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nservice.", - "file": "BackendServicesClient/AddSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.AddSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.AddSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "AddSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddSignedUrlKeyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddSignedUrlKeyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "AddSignedUrlKey", - "fullName": "google.cloud.compute.v1.BackendServices.AddSignedUrlKey", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "AddSignedUrlKey" }, + "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nservice.", + "file": "BackendServicesClient/AddSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_AddSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddSignedUrlKey Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all BackendService resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "BackendServicesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServicesScopedListPairIterator", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.BackendServices.AggregatedList", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all BackendService resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "BackendServicesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified BackendService resource.", - "file": "BackendServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.BackendServices.Delete", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified BackendService resource.", + "file": "BackendServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_DeleteSignedUrlKey_sync", - "title": "compute DeleteSignedUrlKey Sample", - "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nservice.", - "file": "BackendServicesClient/DeleteSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.DeleteSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.DeleteSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "DeleteSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSignedUrlKeyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSignedUrlKeyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "DeleteSignedUrlKey", - "fullName": "google.cloud.compute.v1.BackendServices.DeleteSignedUrlKey", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "DeleteSignedUrlKey" }, + "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nservice.", + "file": "BackendServicesClient/DeleteSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_DeleteSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteSignedUrlKey Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified BackendService resource.", - "file": "BackendServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.Get", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendService", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.BackendServices.Get", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "Get" }, + "description": "Get returns the specified BackendService resource.", + "file": "BackendServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_GetEffectiveSecurityPolicies_sync", - "title": "compute GetEffectiveSecurityPolicies Sample", - "description": "GetEffectiveSecurityPolicies returns effective security policies applied to this backend service.", - "file": "BackendServicesClient/GetEffectiveSecurityPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveSecurityPolicies", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.GetEffectiveSecurityPolicies", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.GetEffectiveSecurityPolicies", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "GetEffectiveSecurityPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveSecurityPoliciesBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveSecurityPoliciesBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.GetEffectiveSecurityPoliciesBackendServiceResponse", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "GetEffectiveSecurityPolicies", - "fullName": "google.cloud.compute.v1.BackendServices.GetEffectiveSecurityPolicies", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "GetEffectiveSecurityPolicies" }, + "description": "GetEffectiveSecurityPolicies returns effective security policies applied to this backend service.", + "file": "BackendServicesClient/GetEffectiveSecurityPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_GetEffectiveSecurityPolicies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveSecurityPolicies Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_GetHealth_sync", - "title": "compute GetHealth Sample", - "description": "GetHealth gets the most recent health check results for this\nBackendService.\n\nExample request body: \n\n{\n\"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\"\n}", - "file": "BackendServicesClient/GetHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHealth", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.GetHealth", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.GetHealth", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "GetHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendServiceGroupHealth", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "GetHealth", - "fullName": "google.cloud.compute.v1.BackendServices.GetHealth", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "GetHealth" }, + "description": "GetHealth gets the most recent health check results for this\nBackendService.\n\nExample request body: \n\n{\n\"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\"\n}", + "file": "BackendServicesClient/GetHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_GetHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetHealth Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "BackendServicesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.BackendServices.GetIamPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "BackendServicesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", - "file": "BackendServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.BackendServices.Insert", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", + "file": "BackendServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of BackendService resources available to the specified\nproject.", - "file": "BackendServicesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.List", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.BackendServices.List", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "List" }, + "description": "List retrieves the list of BackendService resources available to the specified\nproject.", + "file": "BackendServicesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves a list of all usable backend services in the specified project.", - "file": "BackendServicesClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.ListUsable", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "ListUsable" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1.BackendServices.ListUsable", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves a list of all usable backend services in the specified project.", + "file": "BackendServicesClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified BackendService resource with the data included in the\nrequest. For more information, see\nBackend services overview. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "BackendServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.BackendServices.Patch", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified BackendService resource with the data included in the\nrequest. For more information, see\nBackend services overview. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "BackendServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_SetEdgeSecurityPolicy_sync", - "title": "compute SetEdgeSecurityPolicy Sample", - "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend service.", - "file": "BackendServicesClient/SetEdgeSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetEdgeSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.SetEdgeSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.SetEdgeSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "SetEdgeSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetEdgeSecurityPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetEdgeSecurityPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "SetEdgeSecurityPolicy", - "fullName": "google.cloud.compute.v1.BackendServices.SetEdgeSecurityPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "SetEdgeSecurityPolicy" }, + "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend service.", + "file": "BackendServicesClient/SetEdgeSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_SetEdgeSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetEdgeSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "BackendServicesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.BackendServices.SetIamPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "BackendServicesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", - "file": "BackendServicesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1.BackendServices.SetSecurityPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", + "file": "BackendServicesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "BackendServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.BackendServices.TestIamPermissions", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "BackendServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_BackendServices_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified BackendService resource with the data included in the\nrequest. For more information, seeBackend\nservices overview.", - "file": "BackendServicesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1.BackendServicesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.BackendServices.Update", + "service": { + "fullName": "google.cloud.compute.v1.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1.BackendServicesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.BackendServices.Update", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1.BackendServices" - } - } + "shortName": "Update" }, + "description": "Update updates the specified BackendService resource with the data included in the\nrequest. For more information, seeBackend\nservices overview.", + "file": "BackendServicesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_BackendServices_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_CrossSiteNetworks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified cross-site network in the given scope.", - "file": "CrossSiteNetworksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Delete", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified cross-site network in the given scope.", + "file": "CrossSiteNetworksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_CrossSiteNetworks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_CrossSiteNetworks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified cross-site network in the given scope.", - "file": "CrossSiteNetworksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Get", + "service": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.CrossSiteNetwork", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Get", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified cross-site network in the given scope.", + "file": "CrossSiteNetworksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_CrossSiteNetworks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_CrossSiteNetworks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a cross-site network in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "CrossSiteNetworksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Insert", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a cross-site network in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "CrossSiteNetworksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_CrossSiteNetworks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_CrossSiteNetworks_List_sync", - "title": "compute List Sample", - "description": "List lists the cross-site networks for a project in the given scope.", - "file": "CrossSiteNetworksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks.List", + "service": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListCrossSiteNetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListCrossSiteNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CrossSiteNetworkIterator", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks.List", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks" - } - } + "shortName": "List" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "List lists the cross-site networks for a project in the given scope.", + "file": "CrossSiteNetworksClient/List/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_CrossSiteNetworks_List_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_CrossSiteNetworks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified cross-site network with the data included in\nthe request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "CrossSiteNetworksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Patch", + "service": { + "fullName": "google.cloud.compute.v1.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks.Patch", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1.CrossSiteNetworks" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified cross-site network with the data included in\nthe request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "CrossSiteNetworksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_CrossSiteNetworks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_DiskTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of disk types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "DiskTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.DiskTypesClient", + "shortName": "DiskTypesClient" + }, "fullName": "google.cloud.compute.v1.DiskTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.DiskTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.DiskTypes", + "shortName": "DiskTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListDiskTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListDiskTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskTypesScopedListPairIterator", - "client": { - "shortName": "DiskTypesClient", - "fullName": "google.cloud.compute.v1.DiskTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.DiskTypes.AggregatedList", - "service": { - "shortName": "DiskTypes", - "fullName": "google.cloud.compute.v1.DiskTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of disk types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "DiskTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_DiskTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_DiskTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified disk type.", - "file": "DiskTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.DiskTypesClient", + "shortName": "DiskTypesClient" + }, "fullName": "google.cloud.compute.v1.DiskTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.DiskTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1.DiskTypes", + "shortName": "DiskTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiskTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiskTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DiskType", - "client": { - "shortName": "DiskTypesClient", - "fullName": "google.cloud.compute.v1.DiskTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.DiskTypes.Get", - "service": { - "shortName": "DiskTypes", - "fullName": "google.cloud.compute.v1.DiskTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified disk type.", + "file": "DiskTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_DiskTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_DiskTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of disk types available to the specified\nproject.", - "file": "DiskTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.DiskTypesClient", + "shortName": "DiskTypesClient" + }, "fullName": "google.cloud.compute.v1.DiskTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.DiskTypes.List", + "service": { + "fullName": "google.cloud.compute.v1.DiskTypes", + "shortName": "DiskTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListDiskTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListDiskTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskTypeIterator", - "client": { - "shortName": "DiskTypesClient", - "fullName": "google.cloud.compute.v1.DiskTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.DiskTypes.List", - "service": { - "shortName": "DiskTypes", - "fullName": "google.cloud.compute.v1.DiskTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of disk types available to the specified\nproject.", + "file": "DiskTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_DiskTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Disks_AddResourcePolicies_sync", - "title": "compute AddResourcePolicies Sample", - "description": "AddResourcePolicies adds existing resource policies to a disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", - "file": "DisksClient/AddResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.AddResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1.Disks.AddResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "AddResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddResourcePoliciesDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.AddResourcePoliciesDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "AddResourcePolicies", - "fullName": "google.cloud.compute.v1.Disks.AddResourcePolicies", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "AddResourcePolicies" }, + "description": "AddResourcePolicies adds existing resource policies to a disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", + "file": "DisksClient/AddResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_AddResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddResourcePolicies Sample" }, { - "regionTag": "compute_v1_generated_Disks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of persistent disks.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "DisksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.Disks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListDisksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListDisksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisksScopedListPairIterator", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Disks.AggregatedList", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of persistent disks.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "DisksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Disks_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert bulk create a set of disks.", - "file": "DisksClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1.Disks.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1.Disks.BulkInsert", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert bulk create a set of disks.", + "file": "DisksClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1_generated_Disks_BulkSetLabels_sync", - "title": "compute BulkSetLabels Sample", - "description": "BulkSetLabels sets the labels on many disks at once. To learn more about labels, read theLabeling\nResources documentation.", - "file": "DisksClient/BulkSetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkSetLabels", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.BulkSetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Disks.BulkSetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "BulkSetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkSetLabelsDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkSetLabelsDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "BulkSetLabels", - "fullName": "google.cloud.compute.v1.Disks.BulkSetLabels", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "BulkSetLabels" }, + "description": "BulkSetLabels sets the labels on many disks at once. To learn more about labels, read theLabeling\nResources documentation.", + "file": "DisksClient/BulkSetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_BulkSetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkSetLabels Sample" }, { - "regionTag": "compute_v1_generated_Disks_CreateSnapshot_sync", - "title": "compute CreateSnapshot Sample", - "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", - "file": "DisksClient/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.CreateSnapshot", + "method": { + "fullName": "google.cloud.compute.v1.Disks.CreateSnapshot", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateSnapshotDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateSnapshotDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.compute.v1.Disks.CreateSnapshot", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", + "file": "DisksClient/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateSnapshot Sample" }, { - "regionTag": "compute_v1_generated_Disks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified persistent disk. Deleting a disk removes its data\npermanently and is irreversible. However, deleting a disk does not\ndelete any snapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", - "file": "DisksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Disks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Disks.Delete", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified persistent disk. Deleting a disk removes its data\npermanently and is irreversible. However, deleting a disk does not\ndelete any snapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", + "file": "DisksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Disks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified persistent disk.", - "file": "DisksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.Get", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Disks.Get", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "Get" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Disk", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Disks.Get", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified persistent disk.", + "file": "DisksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Disks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "DisksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Disks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Disks.GetIamPolicy", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "DisksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Disks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a persistent disk in the specified project using the data\nin the request. You can create a disk from a source\n(sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by\nomitting all properties. You can also create a disk that is larger than\nthe default size by specifying the sizeGb property.", - "file": "DisksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Disks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Disks.Insert", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a persistent disk in the specified project using the data\nin the request. You can create a disk from a source\n(sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by\nomitting all properties. You can also create a disk that is larger than\nthe default size by specifying the sizeGb property.", + "file": "DisksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Disks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of persistent disks contained within\nthe specified zone.", - "file": "DisksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Disks.List", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListDisksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListDisksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskIterator", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Disks.List", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of persistent disks contained within\nthe specified zone.", + "file": "DisksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Disks_RemoveResourcePolicies_sync", - "title": "compute RemoveResourcePolicies Sample", - "description": "RemoveResourcePolicies removes resource policies from a disk.", - "file": "DisksClient/RemoveResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.RemoveResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1.Disks.RemoveResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "RemoveResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveResourcePoliciesDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveResourcePoliciesDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "RemoveResourcePolicies", - "fullName": "google.cloud.compute.v1.Disks.RemoveResourcePolicies", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "RemoveResourcePolicies" }, + "description": "RemoveResourcePolicies removes resource policies from a disk.", + "file": "DisksClient/RemoveResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_RemoveResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveResourcePolicies Sample" }, { - "regionTag": "compute_v1_generated_Disks_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the specified persistent disk.\nYou can only increase the size of the disk.", - "file": "DisksClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1.Disks.Resize", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1.Disks.Resize", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the specified persistent disk.\nYou can only increase the size of the disk.", + "file": "DisksClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1_generated_Disks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "DisksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Disks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Disks.SetIamPolicy", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "DisksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Disks_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a disk. To learn more about labels, read theLabeling\nResources documentation.", - "file": "DisksClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Disks.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.Disks.SetLabels", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a disk. To learn more about labels, read theLabeling\nResources documentation.", + "file": "DisksClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_Disks_StartAsyncReplication_sync", - "title": "compute StartAsyncReplication Sample", - "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", - "file": "DisksClient/StartAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.StartAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1.Disks.StartAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "StartAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartAsyncReplicationDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StartAsyncReplicationDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "StartAsyncReplication", - "fullName": "google.cloud.compute.v1.Disks.StartAsyncReplication", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "StartAsyncReplication" }, + "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", + "file": "DisksClient/StartAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_StartAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartAsyncReplication Sample" }, { - "regionTag": "compute_v1_generated_Disks_StopAsyncReplication_sync", - "title": "compute StopAsyncReplication Sample", - "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", - "file": "DisksClient/StopAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.StopAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1.Disks.StopAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "StopAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopAsyncReplicationDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopAsyncReplicationDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "StopAsyncReplication", - "fullName": "google.cloud.compute.v1.Disks.StopAsyncReplication", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "StopAsyncReplication" }, + "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", + "file": "DisksClient/StopAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_StopAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopAsyncReplication Sample" }, { - "regionTag": "compute_v1_generated_Disks_StopGroupAsyncReplication_sync", - "title": "compute StopGroupAsyncReplication Sample", - "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", - "file": "DisksClient/StopGroupAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopGroupAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.StopGroupAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1.Disks.StopGroupAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "StopGroupAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopGroupAsyncReplicationDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopGroupAsyncReplicationDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "StopGroupAsyncReplication", - "fullName": "google.cloud.compute.v1.Disks.StopGroupAsyncReplication", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "StopGroupAsyncReplication" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", + "file": "DisksClient/StopGroupAsyncReplication/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_StopGroupAsyncReplication_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopGroupAsyncReplication Sample" }, { - "regionTag": "compute_v1_generated_Disks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "DisksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Disks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Disks.TestIamPermissions", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "DisksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Disks_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified disk with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask.", - "file": "DisksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1.DisksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.Disks.Update", + "service": { + "fullName": "google.cloud.compute.v1.Disks", + "shortName": "Disks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1.DisksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Disks.Update", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1.Disks" - } - } + "shortName": "Update" }, + "description": "Update updates the specified disk with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask.", + "file": "DisksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Disks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_ExternalVpnGateways_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified externalVpnGateway.", - "file": "ExternalVpnGatewaysClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways.Delete", + "service": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways.Delete", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified externalVpnGateway.", + "file": "ExternalVpnGatewaysClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ExternalVpnGateways_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_ExternalVpnGateways_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified externalVpnGateway. Get a list of available\nexternalVpnGateways by making a list() request.", - "file": "ExternalVpnGatewaysClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways.Get", + "service": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ExternalVpnGateway", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways.Get", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways" - } - } + "shortName": "Get" }, + "description": "Get returns the specified externalVpnGateway. Get a list of available\nexternalVpnGateways by making a list() request.", + "file": "ExternalVpnGatewaysClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ExternalVpnGateways_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ExternalVpnGateways_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a ExternalVpnGateway in the specified project using\nthe data included in the request.", - "file": "ExternalVpnGatewaysClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways.Insert", + "service": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways.Insert", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways" - } - } + "shortName": "Insert" }, + "description": "Insert creates a ExternalVpnGateway in the specified project using\nthe data included in the request.", + "file": "ExternalVpnGatewaysClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ExternalVpnGateways_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_ExternalVpnGateways_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of ExternalVpnGateway available to the specified\nproject.", - "file": "ExternalVpnGatewaysClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways.List", + "service": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListExternalVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.ListExternalVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExternalVpnGatewayIterator", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways.List", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways" - } - } + "shortName": "List" }, + "description": "List retrieves the list of ExternalVpnGateway available to the specified\nproject.", + "file": "ExternalVpnGatewaysClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ExternalVpnGateways_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ExternalVpnGateways_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an ExternalVpnGateway. To learn more about labels,\nread the Labeling\nResources documentation.", - "file": "ExternalVpnGatewaysClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways.SetLabels", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an ExternalVpnGateway. To learn more about labels,\nread the Labeling\nResources documentation.", + "file": "ExternalVpnGatewaysClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ExternalVpnGateways_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_ExternalVpnGateways_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ExternalVpnGatewaysClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways.TestIamPermissions", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1.ExternalVpnGateways" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ExternalVpnGatewaysClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ExternalVpnGateways_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified firewall policy.", - "file": "FirewallPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1.FirewallPolicies.AddAssociation", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified firewall policy.", + "file": "FirewallPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a firewall policy.", - "file": "FirewallPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1.FirewallPolicies.AddRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a firewall policy.", + "file": "FirewallPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_CloneRules_sync", - "title": "compute CloneRules Sample", - "description": "CloneRules copies rules to the specified firewall policy.", - "file": "FirewallPoliciesClient/CloneRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneRules", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.CloneRules", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.CloneRules", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "CloneRules" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CloneRulesFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CloneRulesFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "CloneRules", - "fullName": "google.cloud.compute.v1.FirewallPolicies.CloneRules", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "CloneRules" }, + "description": "CloneRules copies rules to the specified firewall policy.", + "file": "FirewallPoliciesClient/CloneRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_CloneRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CloneRules Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "FirewallPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.FirewallPolicies.Delete", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "FirewallPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified firewall policy.", - "file": "FirewallPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicy", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.FirewallPolicies.Get", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified firewall policy.", + "file": "FirewallPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "FirewallPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyAssociation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1.FirewallPolicies.GetAssociation", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "FirewallPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "FirewallPoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.FirewallPolicies.GetIamPolicy", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "FirewallPoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule of the specified priority.", - "file": "FirewallPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1.FirewallPolicies.GetRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule of the specified priority.", + "file": "FirewallPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "FirewallPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.FirewallPolicies.Insert", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "FirewallPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the policies that have been configured for the specified\nfolder or organization.", - "file": "FirewallPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.FirewallPolicies.List", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the policies that have been configured for the specified\nfolder or organization.", + "file": "FirewallPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_ListAssociations_sync", - "title": "compute ListAssociations Sample", - "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.", - "file": "FirewallPoliciesClient/ListAssociations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssociations", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.ListAssociations", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.ListAssociations", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "ListAssociations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAssociationsFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAssociationsFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPoliciesListAssociationsResponse", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "ListAssociations", - "fullName": "google.cloud.compute.v1.FirewallPolicies.ListAssociations", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "ListAssociations" }, + "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.", + "file": "FirewallPoliciesClient/ListAssociations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_ListAssociations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAssociations Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified firewall policy.", - "file": "FirewallPoliciesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.Move", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1.FirewallPolicies.Move", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "Move" }, + "description": "Move moves the specified firewall policy.", + "file": "FirewallPoliciesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.", - "file": "FirewallPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.FirewallPolicies.Patch", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "Patch" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Patch patches the specified policy with the data included in the request.", + "file": "FirewallPoliciesClient/Patch/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_Patch_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule of the specified priority.", - "file": "FirewallPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1.FirewallPolicies.PatchRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule of the specified priority.", + "file": "FirewallPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified firewall policy.", - "file": "FirewallPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1.FirewallPolicies.RemoveAssociation", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified firewall policy.", + "file": "FirewallPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule of the specified priority.", - "file": "FirewallPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1.FirewallPolicies.RemoveRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule of the specified priority.", + "file": "FirewallPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "FirewallPoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.FirewallPolicies.SetIamPolicy", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "FirewallPoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_FirewallPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "FirewallPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.FirewallPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.FirewallPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.FirewallPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.FirewallPolicies.TestIamPermissions", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1.FirewallPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "FirewallPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FirewallPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified firewall.", - "file": "FirewallsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Firewalls.Delete", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified firewall.", + "file": "FirewallsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified firewall.", - "file": "FirewallsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.Get", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Firewall", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Firewalls.Get", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "Get" }, + "description": "Get returns the specified firewall.", + "file": "FirewallsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a firewall rule in the specified project using the data\nincluded in the request.", - "file": "FirewallsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Firewalls.Insert", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "Insert" }, + "description": "Insert creates a firewall rule in the specified project using the data\nincluded in the request.", + "file": "FirewallsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of firewall rules available to the specified\nproject.", - "file": "FirewallsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.List", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListFirewallsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListFirewallsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallIterator", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Firewalls.List", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "List" }, + "description": "List retrieves the list of firewall rules available to the specified\nproject.", + "file": "FirewallsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified firewall rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "FirewallsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Firewalls.Patch", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified firewall rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "FirewallsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "FirewallsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Firewalls.TestIamPermissions", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "FirewallsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Firewalls_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified firewall rule with the data included in the\nrequest.\nNote that all fields will be updated if using PUT, even fields that are not\nspecified. To update individual fields, please use PATCH instead.", - "file": "FirewallsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1.FirewallsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.Firewalls.Update", + "service": { + "fullName": "google.cloud.compute.v1.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1.FirewallsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Firewalls.Update", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1.Firewalls" - } - } + "shortName": "Update" }, + "description": "Update updates the specified firewall rule with the data included in the\nrequest.\nNote that all fields will be updated if using PUT, even fields that are not\nspecified. To update individual fields, please use PATCH instead.", + "file": "FirewallsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Firewalls_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of forwarding rules.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ForwardingRulesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListForwardingRulesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListForwardingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ForwardingRulesScopedListPairIterator", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.ForwardingRules.AggregatedList", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of forwarding rules.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ForwardingRulesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified ForwardingRule resource.", - "file": "ForwardingRulesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.Delete", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.ForwardingRules.Delete", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified ForwardingRule resource.", + "file": "ForwardingRulesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified ForwardingRule resource.", - "file": "ForwardingRulesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.Get", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.GetForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ForwardingRule", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ForwardingRules.Get", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "Get" }, + "description": "Get returns the specified ForwardingRule resource.", + "file": "ForwardingRulesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a ForwardingRule resource in the specified project and region using\nthe data included in the request.", - "file": "ForwardingRulesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.Insert", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.ForwardingRules.Insert", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "Insert" }, + "description": "Insert creates a ForwardingRule resource in the specified project and region using\nthe data included in the request.", + "file": "ForwardingRulesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of ForwardingRule resources available to the specified\nproject and region.", - "file": "ForwardingRulesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.List", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListForwardingRulesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListForwardingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ForwardingRuleIterator", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ForwardingRules.List", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "List" }, + "description": "List retrieves a list of ForwardingRule resources available to the specified\nproject and region.", + "file": "ForwardingRulesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", - "file": "ForwardingRulesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.Patch", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.ForwardingRules.Patch", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", + "file": "ForwardingRulesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling Resources documentation.", - "file": "ForwardingRulesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.ForwardingRules.SetLabels", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling Resources documentation.", + "file": "ForwardingRulesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_ForwardingRules_SetTarget_sync", - "title": "compute SetTarget Sample", - "description": "SetTarget changes target URL for forwarding rule. The new target should be of the\nsame type as the old target.", - "file": "ForwardingRulesClient/SetTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTarget", + "client": { + "fullName": "google.cloud.compute.v1.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.ForwardingRulesClient.SetTarget", + "method": { + "fullName": "google.cloud.compute.v1.ForwardingRules.SetTarget", + "service": { + "fullName": "google.cloud.compute.v1.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "SetTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1.ForwardingRulesClient" - }, - "method": { - "shortName": "SetTarget", - "fullName": "google.cloud.compute.v1.ForwardingRules.SetTarget", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1.ForwardingRules" - } - } + "shortName": "SetTarget" }, + "description": "SetTarget changes target URL for forwarding rule. The new target should be of the\nsame type as the old target.", + "file": "ForwardingRulesClient/SetTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ForwardingRules_SetTarget_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTarget Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of future reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "FutureReservationsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListFutureReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListFutureReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FutureReservationsScopedListPairIterator", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.FutureReservations.AggregatedList", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "AggregatedList" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "AggregatedList retrieves an aggregated list of future reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "FutureReservationsClient/AggregatedList/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_AggregatedList_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_Cancel_sync", - "title": "compute Cancel Sample", - "description": "Cancel cancel the specified future reservation.", - "file": "FutureReservationsClient/Cancel/main.go", - "language": "GO", "clientMethod": { - "shortName": "Cancel", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.Cancel", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.Cancel", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Cancel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "Cancel", - "fullName": "google.cloud.compute.v1.FutureReservations.Cancel", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "Cancel" }, + "description": "Cancel cancel the specified future reservation.", + "file": "FutureReservationsClient/Cancel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_Cancel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Cancel Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified future reservation.", - "file": "FutureReservationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.Delete", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.FutureReservations.Delete", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified future reservation.", + "file": "FutureReservationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified future reservation.", - "file": "FutureReservationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.Get", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FutureReservation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.FutureReservations.Get", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified future reservation.", + "file": "FutureReservationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new Future Reservation.", - "file": "FutureReservationsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.Insert", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.FutureReservations.Insert", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new Future Reservation.", + "file": "FutureReservationsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_List_sync", - "title": "compute List Sample", - "description": "List a list of all the future reservations that have been configured for the\nspecified project in specified zone.", - "file": "FutureReservationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.List", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListFutureReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListFutureReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FutureReservationIterator", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.FutureReservations.List", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "List" }, + "description": "List a list of all the future reservations that have been configured for the\nspecified project in specified zone.", + "file": "FutureReservationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_FutureReservations_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified future reservation.", - "file": "FutureReservationsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1.FutureReservationsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.FutureReservations.Update", + "service": { + "fullName": "google.cloud.compute.v1.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1.FutureReservationsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.FutureReservations.Update", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1.FutureReservations" - } - } + "shortName": "Update" }, + "description": "Update updates the specified future reservation.", + "file": "FutureReservationsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_FutureReservations_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified address resource.", - "file": "GlobalAddressesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.Delete", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.GlobalAddresses.Delete", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified address resource.", + "file": "GlobalAddressesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified address resource.", - "file": "GlobalAddressesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.Get", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Address", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.GlobalAddresses.Get", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "Get" }, + "description": "Get returns the specified address resource.", + "file": "GlobalAddressesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", - "file": "GlobalAddressesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.Insert", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.GlobalAddresses.Insert", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "Insert" }, + "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", + "file": "GlobalAddressesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of global addresses.", - "file": "GlobalAddressesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.List", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalAddressesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddressIterator", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.GlobalAddresses.List", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "List" }, + "description": "List retrieves a list of global addresses.", + "file": "GlobalAddressesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified address resource from one project to another project.", - "file": "GlobalAddressesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.Move", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.Move", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Move" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1.GlobalAddresses.Move", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "Move" }, + "description": "Move moves the specified address resource from one project to another project.", + "file": "GlobalAddressesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a GlobalAddress. To learn more about labels, read theLabeling\nResources documentation.", - "file": "GlobalAddressesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.GlobalAddresses.SetLabels", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a GlobalAddress. To learn more about labels, read theLabeling\nResources documentation.", + "file": "GlobalAddressesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_GlobalAddresses_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "GlobalAddressesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1.GlobalAddressesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.GlobalAddresses.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1.GlobalAddressesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.GlobalAddresses.TestIamPermissions", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1.GlobalAddresses" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "GlobalAddressesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalAddresses_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified GlobalForwardingRule resource.", - "file": "GlobalForwardingRulesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Delete", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Delete", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified GlobalForwardingRule resource.", + "file": "GlobalForwardingRulesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified GlobalForwardingRule resource. Gets a list of\navailable forwarding rules by making a list() request.", - "file": "GlobalForwardingRulesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Get", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ForwardingRule", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Get", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "Get" }, + "description": "Get returns the specified GlobalForwardingRule resource. Gets a list of\navailable forwarding rules by making a list() request.", + "file": "GlobalForwardingRulesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a GlobalForwardingRule resource in the specified project using\nthe data included in the request.", - "file": "GlobalForwardingRulesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Insert", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Insert", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "Insert" }, + "description": "Insert creates a GlobalForwardingRule resource in the specified project using\nthe data included in the request.", + "file": "GlobalForwardingRulesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of GlobalForwardingRule resources available to the\nspecified project.", - "file": "GlobalForwardingRulesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.List", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalForwardingRulesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalForwardingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ForwardingRuleIterator", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.List", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "List" }, + "description": "List retrieves a list of GlobalForwardingRule resources available to the\nspecified project.", + "file": "GlobalForwardingRulesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", - "file": "GlobalForwardingRulesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Patch", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.Patch", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", + "file": "GlobalForwardingRulesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling resources documentation.", - "file": "GlobalForwardingRulesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.SetLabels", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling resources documentation.", + "file": "GlobalForwardingRulesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_GlobalForwardingRules_SetTarget_sync", - "title": "compute SetTarget Sample", - "description": "SetTarget changes target URL for the GlobalForwardingRule resource. The new target\nshould be of the same type as the old target.", - "file": "GlobalForwardingRulesClient/SetTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTarget", + "client": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient.SetTarget", + "method": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules.SetTarget", + "service": { + "fullName": "google.cloud.compute.v1.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "SetTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "SetTarget", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules.SetTarget", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1.GlobalForwardingRules" - } - } + "shortName": "SetTarget" }, + "description": "SetTarget changes target URL for the GlobalForwardingRule resource. The new target\nshould be of the same type as the old target.", + "file": "GlobalForwardingRulesClient/SetTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalForwardingRules_SetTarget_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTarget Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_AttachNetworkEndpoints_sync", - "title": "compute AttachNetworkEndpoints Sample", - "description": "AttachNetworkEndpoints attach a network endpoint to the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.AttachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.AttachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "AttachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AttachNetworkEndpoints", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.AttachNetworkEndpoints", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "AttachNetworkEndpoints" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "AttachNetworkEndpoints attach a network endpoint to the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_AttachNetworkEndpoints_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network endpoint group.Note that the NEG cannot be\ndeleted if there are backend services referencing it.", - "file": "GlobalNetworkEndpointGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.Delete", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network endpoint group.Note that the NEG cannot be\ndeleted if there are backend services referencing it.", + "file": "GlobalNetworkEndpointGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_DetachNetworkEndpoints_sync", - "title": "compute DetachNetworkEndpoints Sample", - "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.DetachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.DetachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "DetachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "DetachNetworkEndpoints", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.DetachNetworkEndpoints", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "DetachNetworkEndpoints" }, + "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_DetachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEndpointGroup", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.Get", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", - "file": "GlobalNetworkEndpointGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.Insert", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", + "file": "GlobalNetworkEndpointGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project.", - "file": "GlobalNetworkEndpointGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupIterator", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.List", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project.", + "file": "GlobalNetworkEndpointGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_ListNetworkEndpoints_sync", - "title": "compute ListNetworkEndpoints Sample", - "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient.ListNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.ListNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "ListNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointWithHealthStatusIterator", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "ListNetworkEndpoints", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups.ListNetworkEndpoints", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.GlobalNetworkEndpointGroups" - } - } + "shortName": "ListNetworkEndpoints" }, + "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalNetworkEndpointGroups_ListNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_GlobalOperations_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of all operations.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "GlobalOperationsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOperationsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOperations.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListGlobalOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListGlobalOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationsScopedListPairIterator", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOperationsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.GlobalOperations.AggregatedList", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1.GlobalOperations" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of all operations.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "GlobalOperationsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOperations_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_GlobalOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Operations resource.", - "file": "GlobalOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteGlobalOperationResponse", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.GlobalOperations.Delete", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1.GlobalOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Operations resource.", + "file": "GlobalOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_GlobalOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified Operations resource.", - "file": "GlobalOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.GlobalOperations.Get", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1.GlobalOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified Operations resource.", + "file": "GlobalOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_GlobalOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within the specified\nproject.", - "file": "GlobalOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOperations.List", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.GlobalOperations.List", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1.GlobalOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within the specified\nproject.", + "file": "GlobalOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_GlobalOperations_Wait_sync", - "title": "compute Wait Sample", - "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", - "file": "GlobalOperationsClient/Wait/main.go", - "language": "GO", "clientMethod": { - "shortName": "Wait", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOperationsClient.Wait", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.GlobalOperations.Wait", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "Wait" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WaitGlobalOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.WaitGlobalOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOperationsClient" - }, - "method": { - "shortName": "Wait", - "fullName": "google.cloud.compute.v1.GlobalOperations.Wait", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1.GlobalOperations" - } - } + "shortName": "Wait" }, + "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", + "file": "GlobalOperationsClient/Wait/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOperations_Wait_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Wait Sample" }, { - "regionTag": "compute_v1_generated_GlobalOrganizationOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Operations resource.", - "file": "GlobalOrganizationOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient", + "shortName": "GlobalOrganizationOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations", + "shortName": "GlobalOrganizationOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalOrganizationOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalOrganizationOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteGlobalOrganizationOperationResponse", - "client": { - "shortName": "GlobalOrganizationOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations.Delete", - "service": { - "shortName": "GlobalOrganizationOperations", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Operations resource.", + "file": "GlobalOrganizationOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOrganizationOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_GlobalOrganizationOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified Operations resource. Gets a list of operations\nby making a `list()` request.", - "file": "GlobalOrganizationOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient", + "shortName": "GlobalOrganizationOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations", + "shortName": "GlobalOrganizationOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalOrganizationOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalOrganizationOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "GlobalOrganizationOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations.Get", - "service": { - "shortName": "GlobalOrganizationOperations", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified Operations resource. Gets a list of operations\nby making a `list()` request.", + "file": "GlobalOrganizationOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOrganizationOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_GlobalOrganizationOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within the specified\norganization.", - "file": "GlobalOrganizationOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient", + "shortName": "GlobalOrganizationOperationsClient" + }, "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations.List", + "service": { + "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations", + "shortName": "GlobalOrganizationOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalOrganizationOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalOrganizationOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GlobalOrganizationOperationsClient", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations.List", - "service": { - "shortName": "GlobalOrganizationOperations", - "fullName": "google.cloud.compute.v1.GlobalOrganizationOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within the specified\norganization.", + "file": "GlobalOrganizationOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalOrganizationOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified global PublicDelegatedPrefix.", - "file": "GlobalPublicDelegatedPrefixesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Delete", + "service": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Delete", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified global PublicDelegatedPrefix.", + "file": "GlobalPublicDelegatedPrefixesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified global PublicDelegatedPrefix resource.", - "file": "GlobalPublicDelegatedPrefixesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Get", + "service": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PublicDelegatedPrefix", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Get", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified global PublicDelegatedPrefix resource.", + "file": "GlobalPublicDelegatedPrefixesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a global PublicDelegatedPrefix in the specified project using the\nparameters that are included in the request.", - "file": "GlobalPublicDelegatedPrefixesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Insert", + "service": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Insert", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a global PublicDelegatedPrefix in the specified project using the\nparameters that are included in the request.", + "file": "GlobalPublicDelegatedPrefixesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_List_sync", - "title": "compute List Sample", - "description": "List lists the global PublicDelegatedPrefixes for a project.", - "file": "GlobalPublicDelegatedPrefixesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.List", + "service": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalPublicDelegatedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalPublicDelegatedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicDelegatedPrefixIterator", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.List", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "List" }, + "description": "List lists the global PublicDelegatedPrefixes for a project.", + "file": "GlobalPublicDelegatedPrefixesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified global PublicDelegatedPrefix resource with the data\nincluded in the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "GlobalPublicDelegatedPrefixesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Patch", + "service": { + "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes.Patch", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified global PublicDelegatedPrefix resource with the data\nincluded in the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "GlobalPublicDelegatedPrefixesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_GlobalPublicDelegatedPrefixes_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthCheck resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "HealthChecksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthChecksScopedListPairIterator", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.HealthChecks.AggregatedList", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthCheck resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "HealthChecksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthCheck resource.", - "file": "HealthChecksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.HealthChecks.Delete", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "Delete" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Delete deletes the specified HealthCheck resource.", + "file": "HealthChecksClient/Delete/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_Delete_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthCheck resource.", - "file": "HealthChecksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.Get", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthCheck", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.HealthChecks.Get", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified HealthCheck resource.", + "file": "HealthChecksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "HealthChecksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.HealthChecks.Insert", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "HealthChecksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", - "file": "HealthChecksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.List", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckIterator", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.HealthChecks.List", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", + "file": "HealthChecksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "HealthChecksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.Patch", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.HealthChecks.Patch", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "Patch" }, + "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "HealthChecksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "HealthChecksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.HealthChecks.TestIamPermissions", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "HealthChecksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_HealthChecks_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "HealthChecksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1.HealthChecksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.HealthChecks.Update", + "service": { + "fullName": "google.cloud.compute.v1.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1.HealthChecksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.HealthChecks.Update", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1.HealthChecks" - } - } + "shortName": "Update" }, + "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "HealthChecksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_HealthChecks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_ImageFamilyViews_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the latest image that is part of an image family, is not\ndeprecated and is rolled out in the specified zone.", - "file": "ImageFamilyViewsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ImageFamilyViewsClient", + "shortName": "ImageFamilyViewsClient" + }, "fullName": "google.cloud.compute.v1.ImageFamilyViewsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ImageFamilyViews.Get", + "service": { + "fullName": "google.cloud.compute.v1.ImageFamilyViews", + "shortName": "ImageFamilyViews" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetImageFamilyViewRequest", - "name": "req" + "name": "req", + "type": "computepb.GetImageFamilyViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ImageFamilyView", - "client": { - "shortName": "ImageFamilyViewsClient", - "fullName": "google.cloud.compute.v1.ImageFamilyViewsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ImageFamilyViews.Get", - "service": { - "shortName": "ImageFamilyViews", - "fullName": "google.cloud.compute.v1.ImageFamilyViews" - } - } + "shortName": "Get" }, + "description": "Get returns the latest image that is part of an image family, is not\ndeprecated and is rolled out in the specified zone.", + "file": "ImageFamilyViewsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ImageFamilyViews_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Images_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified image.", - "file": "ImagesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Images.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteImageRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Images.Delete", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified image.", + "file": "ImagesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Images_Deprecate_sync", - "title": "compute Deprecate Sample", - "description": "Deprecate sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", - "file": "ImagesClient/Deprecate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Deprecate", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.Deprecate", + "method": { + "fullName": "google.cloud.compute.v1.Images.Deprecate", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "Deprecate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeprecateImageRequest", - "name": "req" + "name": "req", + "type": "computepb.DeprecateImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "Deprecate", - "fullName": "google.cloud.compute.v1.Images.Deprecate", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "Deprecate" }, + "description": "Deprecate sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", + "file": "ImagesClient/Deprecate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_Deprecate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Deprecate Sample" }, { - "regionTag": "compute_v1_generated_Images_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified image.", - "file": "ImagesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Images.Get", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Image", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Images.Get", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "Get" }, + "description": "Get returns the specified image.", + "file": "ImagesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Images_GetFromFamily_sync", - "title": "compute GetFromFamily Sample", - "description": "GetFromFamily returns the latest image that is part of an image family and is not\ndeprecated. For more information on image families, seePublic\nimage families documentation.", - "file": "ImagesClient/GetFromFamily/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFromFamily", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.GetFromFamily", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Images.GetFromFamily", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "GetFromFamily" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFromFamilyImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFromFamilyImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Image", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "GetFromFamily", - "fullName": "google.cloud.compute.v1.Images.GetFromFamily", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "GetFromFamily" }, + "description": "GetFromFamily returns the latest image that is part of an image family and is not\ndeprecated. For more information on image families, seePublic\nimage families documentation.", + "file": "ImagesClient/GetFromFamily/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_GetFromFamily_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetFromFamily Sample" }, { - "regionTag": "compute_v1_generated_Images_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ImagesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Images.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Images.GetIamPolicy", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ImagesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Images_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an image in the specified project using the data included\nin the request.", - "file": "ImagesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Images.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertImageRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Images.Insert", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "Insert" }, + "description": "Insert creates an image in the specified project using the data included\nin the request.", + "file": "ImagesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Images_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of custom images\navailable to the specified project. Custom images are images you\ncreate that belong to your project. This method does not\nget any images that belong to other projects, including publicly-available\nimages, like Debian 8. If you want to get a list of publicly-available\nimages, use this method to make a request to the respective image project,\nsuch as debian-cloud or windows-cloud.", - "file": "ImagesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Images.List", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListImagesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImageIterator", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Images.List", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "List" }, + "description": "List retrieves the list of custom images\navailable to the specified project. Custom images are images you\ncreate that belong to your project. This method does not\nget any images that belong to other projects, including publicly-available\nimages, like Debian 8. If you want to get a list of publicly-available\nimages, use this method to make a request to the respective image project,\nsuch as debian-cloud or windows-cloud.", + "file": "ImagesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Images_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified image with the data included in the request.\nOnly the following fields can be modified: family, description,\ndeprecation status.", - "file": "ImagesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Images.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchImageRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Images.Patch", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified image with the data included in the request.\nOnly the following fields can be modified: family, description,\ndeprecation status.", + "file": "ImagesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Images_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ImagesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Images.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Images.SetIamPolicy", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ImagesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Images_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an image. To learn more about labels, read theLabeling\nResources documentation.", - "file": "ImagesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Images.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.Images.SetLabels", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an image. To learn more about labels, read theLabeling\nResources documentation.", + "file": "ImagesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_Images_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ImagesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1.ImagesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Images.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Images", + "shortName": "Images" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsImageRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1.ImagesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Images.TestIamPermissions", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1.Images" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ImagesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Images_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_sync", - "title": "compute Cancel Sample", - "description": "Cancel cancels the specified resize request and removes it from the queue.\nCancelled resize request does no longer wait for the resources to be\nprovisioned. Cancel is only possible for requests that are accepted in the\nqueue.", - "file": "InstanceGroupManagerResizeRequestsClient/Cancel/main.go", - "language": "GO", "clientMethod": { - "shortName": "Cancel", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.Cancel", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Cancel", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Cancel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Cancel", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Cancel", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Cancel" }, + "description": "Cancel cancels the specified resize request and removes it from the queue.\nCancelled resize request does no longer wait for the resources to be\nprovisioned. Cancel is only possible for requests that are accepted in the\nqueue.", + "file": "InstanceGroupManagerResizeRequestsClient/Cancel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Cancel Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", - "file": "InstanceGroupManagerResizeRequestsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Delete", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", + "file": "InstanceGroupManagerResizeRequestsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified resize request.", - "file": "InstanceGroupManagerResizeRequestsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Get", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManagerResizeRequest", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Get", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns all of the details about the specified resize request.", + "file": "InstanceGroupManagerResizeRequestsClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new resize request that starts provisioning VMs immediately\nor queues VM creation.", - "file": "InstanceGroupManagerResizeRequestsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.Insert", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new resize request that starts provisioning VMs immediately\nor queues VM creation.", + "file": "InstanceGroupManagerResizeRequestsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of resize requests that are contained in the\nmanaged instance group.", - "file": "InstanceGroupManagerResizeRequestsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.List", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceGroupManagerResizeRequestsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceGroupManagerResizeRequestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerResizeRequestIterator", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests.List", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1.InstanceGroupManagerResizeRequests" - } - } + "shortName": "List" }, + "description": "List retrieves a list of resize requests that are contained in the\nmanaged instance group.", + "file": "InstanceGroupManagerResizeRequestsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagerResizeRequests_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_AbandonInstances_sync", - "title": "compute AbandonInstances Sample", - "description": "AbandonInstances flags the specified instances to be removed from the\nmanaged instance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/AbandonInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbandonInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.AbandonInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.AbandonInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "AbandonInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AbandonInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.AbandonInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "AbandonInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.AbandonInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "AbandonInstances" }, + "description": "AbandonInstances flags the specified instances to be removed from the\nmanaged instance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/AbandonInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_AbandonInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AbandonInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of managed instance groups and groups them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstanceGroupManagersClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagersScopedListPairIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.AggregatedList", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of managed instance groups and groups them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstanceGroupManagersClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_ApplyUpdatesToInstances_sync", - "title": "compute ApplyUpdatesToInstances Sample", - "description": "ApplyUpdatesToInstances applies changes to selected instances on the managed instance group.\nThis method can be used to apply new overrides and/or new versions.", - "file": "InstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyUpdatesToInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.ApplyUpdatesToInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ApplyUpdatesToInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ApplyUpdatesToInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ApplyUpdatesToInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ApplyUpdatesToInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ApplyUpdatesToInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ApplyUpdatesToInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "ApplyUpdatesToInstances" }, + "description": "ApplyUpdatesToInstances applies changes to selected instances on the managed instance group.\nThis method can be used to apply new overrides and/or new versions.", + "file": "InstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_ApplyUpdatesToInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ApplyUpdatesToInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_CreateInstances_sync", - "title": "compute CreateInstances Sample", - "description": "CreateInstances creates instances with per-instance configurations in this managed instance\ngroup. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions\ntake additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", - "file": "InstanceGroupManagersClient/CreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.CreateInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.CreateInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "CreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "CreateInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.CreateInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "CreateInstances" }, + "description": "CreateInstances creates instances with per-instance configurations in this managed instance\ngroup. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions\ntake additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", + "file": "InstanceGroupManagersClient/CreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_CreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified managed instance group and all of the instances\nin that group. Note that the instance group must not belong to a\nbackend service. Read\nDeleting an instance group for more information.", - "file": "InstanceGroupManagersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Delete", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified managed instance group and all of the instances\nin that group. Note that the instance group must not belong to a\nbackend service. Read\nDeleting an instance group for more information.", + "file": "InstanceGroupManagersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_DeleteInstances_sync", - "title": "compute DeleteInstances Sample", - "description": "DeleteInstances flags the specified instances in the managed instance group for immediate\ndeletion. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete. This operation is marked as DONE\nwhen the action is scheduled even if the instances are still being deleted.\nYou must separately verify the status of the deleting action\nwith thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/DeleteInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.DeleteInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.DeleteInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "DeleteInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "DeleteInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.DeleteInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "DeleteInstances" }, + "description": "DeleteInstances flags the specified instances in the managed instance group for immediate\ndeletion. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete. This operation is marked as DONE\nwhen the action is scheduled even if the instances are still being deleted.\nYou must separately verify the status of the deleting action\nwith thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/DeleteInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_DeleteInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_DeletePerInstanceConfigs_sync", - "title": "compute DeletePerInstanceConfigs Sample", - "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", - "file": "InstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.DeletePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.DeletePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "DeletePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePerInstanceConfigsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePerInstanceConfigsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "DeletePerInstanceConfigs", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.DeletePerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "DeletePerInstanceConfigs" }, + "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", + "file": "InstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_DeletePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeletePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified managed instance group.", - "file": "InstanceGroupManagersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Get", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManager", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Get", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "Get" }, + "description": "Get returns all of the details about the specified managed instance group.", + "file": "InstanceGroupManagersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You\nmust separately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA managed instance group can have up to 1000 VM instances per group. Please\ncontact Cloud Support if you need an increase in\nthis limit.", - "file": "InstanceGroupManagersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.Insert", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Insert" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Insert", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "Insert" }, + "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You\nmust separately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA managed instance group can have up to 1000 VM instances per group. Please\ncontact Cloud Support if you need an increase in\nthis limit.", + "file": "InstanceGroupManagersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of managed instance groups that are contained within the\nspecified project and zone.", - "file": "InstanceGroupManagersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.List", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.List", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of managed instance groups that are contained within the\nspecified project and zone.", + "file": "InstanceGroupManagersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_ListErrors_sync", - "title": "compute ListErrors Sample", - "description": "ListErrors lists all errors thrown by actions on instances for a given managed\ninstance group. The filter and orderBy query\nparameters are not supported.", - "file": "InstanceGroupManagersClient/ListErrors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListErrors", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.ListErrors", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ListErrors", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ListErrors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListErrorsInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListErrorsInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceManagedByIgmErrorIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ListErrors", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ListErrors", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "ListErrors" }, + "description": "ListErrors lists all errors thrown by actions on instances for a given managed\ninstance group. The filter and orderBy query\nparameters are not supported.", + "file": "InstanceGroupManagersClient/ListErrors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_ListErrors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListErrors Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_ListManagedInstances_sync", - "title": "compute ListManagedInstances Sample", - "description": "ListManagedInstances lists all of the instances in the managed instance group. Each instance\nin the list has a currentAction, which indicates the action\nthat the managed instance group is performing on the instance. For example,\nif the group is still creating an instance, the currentAction\nis CREATING. If a previous action failed, the\nlist displays the errors for that failed action. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", - "file": "InstanceGroupManagersClient/ListManagedInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagedInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.ListManagedInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ListManagedInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ListManagedInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListManagedInstancesInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListManagedInstancesInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagedInstanceIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ListManagedInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ListManagedInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "ListManagedInstances" }, + "description": "ListManagedInstances lists all of the instances in the managed instance group. Each instance\nin the list has a currentAction, which indicates the action\nthat the managed instance group is performing on the instance. For example,\nif the group is still creating an instance, the currentAction\nis CREATING. If a previous action failed, the\nlist displays the errors for that failed action. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", + "file": "InstanceGroupManagersClient/ListManagedInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_ListManagedInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListManagedInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_ListPerInstanceConfigs_sync", - "title": "compute ListPerInstanceConfigs Sample", - "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", - "file": "InstanceGroupManagersClient/ListPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.ListPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ListPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ListPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPerInstanceConfigsInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPerInstanceConfigsInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PerInstanceConfigIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ListPerInstanceConfigs", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ListPerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "ListPerInstanceConfigs" }, + "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", + "file": "InstanceGroupManagersClient/ListPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_ListPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith thelistManagedInstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", - "file": "InstanceGroupManagersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Patch", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Patch", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "Patch" }, + "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith thelistManagedInstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", + "file": "InstanceGroupManagersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_PatchPerInstanceConfigs_sync", - "title": "compute PatchPerInstanceConfigs Sample", - "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "InstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.PatchPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.PatchPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "PatchPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPerInstanceConfigsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPerInstanceConfigsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "PatchPerInstanceConfigs", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.PatchPerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "PatchPerInstanceConfigs" }, + "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "InstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_PatchPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_RecreateInstances_sync", - "title": "compute RecreateInstances Sample", - "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/RecreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecreateInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.RecreateInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.RecreateInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "RecreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RecreateInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.RecreateInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "RecreateInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.RecreateInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "RecreateInstances" }, + "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/RecreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_RecreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RecreateInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the managed instance group. If you increase the size, the group\ncreates new instances using the current instance template. If you decrease\nthe size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating or deleting\nactions with thelistmanagedinstances\nmethod.\n\nWhen resizing down, the instance group arbitrarily chooses the order in\nwhich VMs are deleted. The group takes into account some VM attributes when\nmaking the selection including: \n\n+ The status of the VM instance.\n+ The health of the VM instance.\n+ The instance template version the VM is based on.\n+ For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", - "file": "InstanceGroupManagersClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Resize", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.Resize", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the managed instance group. If you increase the size, the group\ncreates new instances using the current instance template. If you decrease\nthe size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating or deleting\nactions with thelistmanagedinstances\nmethod.\n\nWhen resizing down, the instance group arbitrarily chooses the order in\nwhich VMs are deleted. The group takes into account some VM attributes when\nmaking the selection including: \n\n+ The status of the VM instance.\n+ The health of the VM instance.\n+ The instance template version the VM is based on.\n+ For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", + "file": "InstanceGroupManagersClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync", - "title": "compute ResumeInstances Sample", - "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/ResumeInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.ResumeInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ResumeInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ResumeInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResumeInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResumeInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ResumeInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.ResumeInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "ResumeInstances" }, + "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/ResumeInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_ResumeInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ResumeInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_SetInstanceTemplate_sync", - "title": "compute SetInstanceTemplate Sample", - "description": "SetInstanceTemplate specifies the instance template to use when creating new instances in this\ngroup. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", - "file": "InstanceGroupManagersClient/SetInstanceTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceTemplate", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.SetInstanceTemplate", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SetInstanceTemplate", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SetInstanceTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetInstanceTemplateInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetInstanceTemplateInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SetInstanceTemplate", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SetInstanceTemplate", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "SetInstanceTemplate" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetInstanceTemplate specifies the instance template to use when creating new instances in this\ngroup. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", + "file": "InstanceGroupManagersClient/SetInstanceTemplate/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_SetInstanceTemplate_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetInstanceTemplate Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_SetTargetPools_sync", - "title": "compute SetTargetPools Sample", - "description": "SetTargetPools modifies the target pools to which all instances in this managed instance\ngroup are assigned. The target pools automatically apply to all of the\ninstances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not\nyet been added to their target pools. The change might take some time to\napply to all of the instances in the group depending on the size of the\ngroup.", - "file": "InstanceGroupManagersClient/SetTargetPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTargetPools", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.SetTargetPools", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SetTargetPools", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SetTargetPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetPoolsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetPoolsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SetTargetPools", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SetTargetPools", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "SetTargetPools" }, + "description": "SetTargetPools modifies the target pools to which all instances in this managed instance\ngroup are assigned. The target pools automatically apply to all of the\ninstances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not\nyet been added to their target pools. The change might take some time to\napply to all of the instances in the group depending on the size of the\ngroup.", + "file": "InstanceGroupManagersClient/SetTargetPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_SetTargetPools_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTargetPools Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_StartInstances_sync", - "title": "compute StartInstances Sample", - "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/StartInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.StartInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StartInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "StartInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StartInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "StartInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StartInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "StartInstances" }, + "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/StartInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_StartInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_StopInstances_sync", - "title": "compute StopInstances Sample", - "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/StopInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.StopInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StopInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "StopInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StopInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "StopInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.StopInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "StopInstances" }, + "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/StopInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_StopInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync", - "title": "compute SuspendInstances Sample", - "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/SuspendInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.SuspendInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SuspendInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SuspendInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SuspendInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SuspendInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SuspendInstances", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.SuspendInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "SuspendInstances" }, + "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/SuspendInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_SuspendInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SuspendInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync", - "title": "compute UpdatePerInstanceConfigs Sample", - "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "InstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient.UpdatePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "UpdatePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePerInstanceConfigsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePerInstanceConfigsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.InstanceGroupManagersClient" - }, - "method": { - "shortName": "UpdatePerInstanceConfigs", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers.UpdatePerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1.InstanceGroupManagers" - } - } + "shortName": "UpdatePerInstanceConfigs" }, + "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "InstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdatePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_sync", - "title": "compute AddInstances Sample", - "description": "AddInstances adds a list of instances to the specified instance group. All of the\ninstances in the instance group must be in the same network/subnetwork.\nRead\nAdding instances for more information.", - "file": "InstanceGroupsClient/AddInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.AddInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "AddInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddInstancesInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AddInstancesInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "AddInstances", - "fullName": "google.cloud.compute.v1.InstanceGroups.AddInstances", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "AddInstances" }, + "description": "AddInstances adds a list of instances to the specified instance group. All of the\ninstances in the instance group must be in the same network/subnetwork.\nRead\nAdding instances for more information.", + "file": "InstanceGroupsClient/AddInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_AddInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of instance groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstanceGroupsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupsScopedListPairIterator", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.InstanceGroups.AggregatedList", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of instance groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstanceGroupsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified instance group. The instances in the group are not\ndeleted. Note that instance group must not belong to a backend service.\nRead\nDeleting an instance group for more information.", - "file": "InstanceGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InstanceGroups.Delete", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified instance group. The instances in the group are not\ndeleted. Note that instance group must not belong to a backend service.\nRead\nDeleting an instance group for more information.", + "file": "InstanceGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified zonal instance group. Get a list of available zonal\ninstance groups by making a list() request.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", - "file": "InstanceGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroup", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InstanceGroups.Get", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified zonal instance group. Get a list of available zonal\ninstance groups by making a list() request.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", + "file": "InstanceGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance group in the specified project using the\nparameters that are included in the request.", - "file": "InstanceGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InstanceGroups.Insert", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance group in the specified project using the\nparameters that are included in the request.", + "file": "InstanceGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of zonal instance group resources contained within the\nspecified zone.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", - "file": "InstanceGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.List", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "List" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupIterator", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InstanceGroups.List", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of zonal instance group resources contained within the\nspecified zone.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", + "file": "InstanceGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_sync", - "title": "compute ListInstances Sample", - "description": "ListInstances lists the instances in the specified instance group.\nThe orderBy query parameter is not supported.\nThe filter query parameter is supported, but only for\nexpressions that use `eq` (equal) or `ne` (not equal) operators.", - "file": "InstanceGroupsClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.ListInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstancesInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstancesInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceWithNamedPortsIterator", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.compute.v1.InstanceGroups.ListInstances", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists the instances in the specified instance group.\nThe orderBy query parameter is not supported.\nThe filter query parameter is supported, but only for\nexpressions that use `eq` (equal) or `ne` (not equal) operators.", + "file": "InstanceGroupsClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_sync", - "title": "compute RemoveInstances Sample", - "description": "RemoveInstances removes one or more instances from the specified instance group, but does\nnot delete those instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration before the VM instance is removed or deleted.", - "file": "InstanceGroupsClient/RemoveInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveInstances", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.RemoveInstances", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "RemoveInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveInstancesInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveInstancesInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "RemoveInstances", - "fullName": "google.cloud.compute.v1.InstanceGroups.RemoveInstances", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "RemoveInstances" }, + "description": "RemoveInstances removes one or more instances from the specified instance group, but does\nnot delete those instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration before the VM instance is removed or deleted.", + "file": "InstanceGroupsClient/RemoveInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_RemoveInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveInstances Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_sync", - "title": "compute SetNamedPorts Sample", - "description": "SetNamedPorts sets the named ports for the specified instance group.", - "file": "InstanceGroupsClient/SetNamedPorts/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNamedPorts", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.SetNamedPorts", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "SetNamedPorts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNamedPortsInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNamedPortsInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "SetNamedPorts", - "fullName": "google.cloud.compute.v1.InstanceGroups.SetNamedPorts", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "SetNamedPorts" }, + "description": "SetNamedPorts sets the named ports for the specified instance group.", + "file": "InstanceGroupsClient/SetNamedPorts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_SetNamedPorts_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetNamedPorts Sample" }, { - "regionTag": "compute_v1_generated_InstanceGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstanceGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.InstanceGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.InstanceGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1.InstanceGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.InstanceGroups.TestIamPermissions", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1.InstanceGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstanceGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_InstanceSettingsService_Get_sync", - "title": "compute Get Sample", - "description": "Get get Instance settings.", - "file": "InstanceSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstanceSettingsClient", + "shortName": "InstanceSettingsClient" + }, "fullName": "google.cloud.compute.v1.InstanceSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get", + "service": { + "fullName": "google.cloud.compute.v1.InstanceSettingsService", + "shortName": "InstanceSettingsService" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceSettings", - "client": { - "shortName": "InstanceSettingsClient", - "fullName": "google.cloud.compute.v1.InstanceSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InstanceSettingsService.Get", - "service": { - "shortName": "InstanceSettingsService", - "fullName": "google.cloud.compute.v1.InstanceSettingsService" - } - } + "shortName": "Get" }, + "description": "Get get Instance settings.", + "file": "InstanceSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceSettingsService_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch Instance settings", - "file": "InstanceSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.InstanceSettingsClient", + "shortName": "InstanceSettingsClient" + }, "fullName": "google.cloud.compute.v1.InstanceSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch", + "service": { + "fullName": "google.cloud.compute.v1.InstanceSettingsService", + "shortName": "InstanceSettingsService" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInstanceSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInstanceSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceSettingsClient", - "fullName": "google.cloud.compute.v1.InstanceSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.InstanceSettingsService.Patch", - "service": { - "shortName": "InstanceSettingsService", - "fullName": "google.cloud.compute.v1.InstanceSettingsService" - } - } + "shortName": "Patch" }, + "description": "Patch patch Instance settings", + "file": "InstanceSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceSettingsService_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all InstanceTemplates resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstanceTemplatesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstanceTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstanceTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceTemplatesScopedListPairIterator", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all InstanceTemplates resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstanceTemplatesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone. It is not possible to delete templates\nthat are already in use by a managed instance group.", - "file": "InstanceTemplatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone. It is not possible to delete templates\nthat are already in use by a managed instance group.", + "file": "InstanceTemplatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified instance template.", - "file": "InstanceTemplatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.Get", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceTemplate", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InstanceTemplates.Get", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified instance template.", + "file": "InstanceTemplatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstanceTemplatesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.InstanceTemplates.GetIamPolicy", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstanceTemplatesClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance template in the specified project using the\ndata that is included in the request. If you are creating a new template to\nupdate an existing instance group, your new instance template must use the\nsame network or, if applicable, the same subnetwork as the original\ntemplate.", - "file": "InstanceTemplatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InstanceTemplates.Insert", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance template in the specified project using the\ndata that is included in the request. If you are creating a new template to\nupdate an existing instance group, your new instance template must use the\nsame network or, if applicable, the same subnetwork as the original\ntemplate.", + "file": "InstanceTemplatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of instance templates that are contained within\nthe specified project.", - "file": "InstanceTemplatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.List", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceTemplateIterator", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InstanceTemplates.List", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "List" }, + "description": "List retrieves a list of instance templates that are contained within\nthe specified project.", + "file": "InstanceTemplatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstanceTemplatesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.InstanceTemplates.SetIamPolicy", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstanceTemplatesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstanceTemplatesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.InstanceTemplatesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.InstanceTemplatesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.InstanceTemplates.TestIamPermissions", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1.InstanceTemplates" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstanceTemplatesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstanceTemplates_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Instances_AddAccessConfig_sync", - "title": "compute AddAccessConfig Sample", - "description": "AddAccessConfig adds an access config to an instance's network interface.", - "file": "InstancesClient/AddAccessConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAccessConfig", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.AddAccessConfig", + "method": { + "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "AddAccessConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAccessConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAccessConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "AddAccessConfig", - "fullName": "google.cloud.compute.v1.Instances.AddAccessConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "AddAccessConfig" }, + "description": "AddAccessConfig adds an access config to an instance's network interface.", + "file": "InstancesClient/AddAccessConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_AddAccessConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAccessConfig Sample" }, { - "regionTag": "compute_v1_generated_Instances_AddNetworkInterface_sync", - "title": "compute AddNetworkInterface Sample", - "description": "AddNetworkInterface adds one dynamic network interface to an active instance.", - "file": "InstancesClient/AddNetworkInterface/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddNetworkInterface", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.AddNetworkInterface", + "method": { + "fullName": "google.cloud.compute.v1.Instances.AddNetworkInterface", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "AddNetworkInterface" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddNetworkInterfaceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddNetworkInterfaceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "AddNetworkInterface", - "fullName": "google.cloud.compute.v1.Instances.AddNetworkInterface", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "AddNetworkInterface" }, + "description": "AddNetworkInterface adds one dynamic network interface to an active instance.", + "file": "InstancesClient/AddNetworkInterface/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_AddNetworkInterface_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddNetworkInterface Sample" }, { - "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_sync", - "title": "compute AddResourcePolicies Sample", - "description": "AddResourcePolicies adds existing resource policies to an instance. You can only add one\npolicy right now which will be applied to this instance for scheduling live\nmigrations.", - "file": "InstancesClient/AddResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.AddResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "AddResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddResourcePoliciesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddResourcePoliciesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "AddResourcePolicies", - "fullName": "google.cloud.compute.v1.Instances.AddResourcePolicies", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "AddResourcePolicies" }, + "description": "AddResourcePolicies adds existing resource policies to an instance. You can only add one\npolicy right now which will be applied to this instance for scheduling live\nmigrations.", + "file": "InstancesClient/AddResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_AddResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddResourcePolicies Sample" }, { - "regionTag": "compute_v1_generated_Instances_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of all of the instances in your project\nacross all regions and zones.\n\nThe performance of this method degrades when a filter is specified on a\nproject that has a very large number of instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstancesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.Instances.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstancesScopedListPairIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Instances.AggregatedList", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of all of the instances in your project\nacross all regions and zones.\n\nThe performance of this method degrades when a filter is specified on a\nproject that has a very large number of instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstancesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Instances_AttachDisk_sync", - "title": "compute AttachDisk Sample", - "description": "AttachDisk attaches an existing Disk resource to an instance. You must first\ncreate the disk before you can attach it. It is not possible to create\nand attach a disk at the same time. For more information, readAdding a\npersistent disk to your instance.", - "file": "InstancesClient/AttachDisk/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachDisk", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.AttachDisk", + "method": { + "fullName": "google.cloud.compute.v1.Instances.AttachDisk", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "AttachDisk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachDiskInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachDiskInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "AttachDisk", - "fullName": "google.cloud.compute.v1.Instances.AttachDisk", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "AttachDisk" }, + "description": "AttachDisk attaches an existing Disk resource to an instance. You must first\ncreate the disk before you can attach it. It is not possible to create\nand attach a disk at the same time. For more information, readAdding a\npersistent disk to your instance.", + "file": "InstancesClient/AttachDisk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_AttachDisk_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachDisk Sample" }, { - "regionTag": "compute_v1_generated_Instances_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert creates multiple instances. Count specifies the number of instances to\ncreate. For more information, seeAbout bulk\ncreation of VMs.", - "file": "InstancesClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1.Instances.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1.Instances.BulkInsert", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert creates multiple instances. Count specifies the number of instances to\ncreate. For more information, seeAbout bulk\ncreation of VMs.", + "file": "InstancesClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1_generated_Instances_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Instance resource. For more information, seeDeleting\nan instance.", - "file": "InstancesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Delete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Instances.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Delete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Instances.Delete", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Instance resource. For more information, seeDeleting\nan instance.", + "file": "InstancesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_sync", - "title": "compute DeleteAccessConfig Sample", - "description": "DeleteAccessConfig deletes an access config from an instance's network interface.", - "file": "InstancesClient/DeleteAccessConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccessConfig", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.DeleteAccessConfig", + "method": { + "fullName": "google.cloud.compute.v1.Instances.DeleteAccessConfig", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "DeleteAccessConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteAccessConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteAccessConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "DeleteAccessConfig", - "fullName": "google.cloud.compute.v1.Instances.DeleteAccessConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "DeleteAccessConfig" }, + "description": "DeleteAccessConfig deletes an access config from an instance's network interface.", + "file": "InstancesClient/DeleteAccessConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_DeleteAccessConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteAccessConfig Sample" }, { - "regionTag": "compute_v1_generated_Instances_DeleteNetworkInterface_sync", - "title": "compute DeleteNetworkInterface Sample", - "description": "DeleteNetworkInterface deletes one dynamic network interface from an active instance.\nInstancesDeleteNetworkInterfaceRequest indicates: \n- instance from which to delete, using project+zone+resource_id fields;\n- dynamic network interface to be deleted, using network_interface_name\nfield;", - "file": "InstancesClient/DeleteNetworkInterface/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNetworkInterface", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.DeleteNetworkInterface", + "method": { + "fullName": "google.cloud.compute.v1.Instances.DeleteNetworkInterface", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "DeleteNetworkInterface" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkInterfaceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkInterfaceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "DeleteNetworkInterface", - "fullName": "google.cloud.compute.v1.Instances.DeleteNetworkInterface", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "DeleteNetworkInterface" }, + "description": "DeleteNetworkInterface deletes one dynamic network interface from an active instance.\nInstancesDeleteNetworkInterfaceRequest indicates: \n- instance from which to delete, using project+zone+resource_id fields;\n- dynamic network interface to be deleted, using network_interface_name\nfield;", + "file": "InstancesClient/DeleteNetworkInterface/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_DeleteNetworkInterface_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteNetworkInterface Sample" }, { - "regionTag": "compute_v1_generated_Instances_DetachDisk_sync", - "title": "compute DetachDisk Sample", - "description": "DetachDisk detaches a disk from an instance.", - "file": "InstancesClient/DetachDisk/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachDisk", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.DetachDisk", + "method": { + "fullName": "google.cloud.compute.v1.Instances.DetachDisk", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "DetachDisk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachDiskInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachDiskInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "DetachDisk", - "fullName": "google.cloud.compute.v1.Instances.DetachDisk", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "DetachDisk" }, + "description": "DetachDisk detaches a disk from an instance.", + "file": "InstancesClient/DetachDisk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_DetachDisk_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachDisk Sample" }, { - "regionTag": "compute_v1_generated_Instances_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Instance resource.", - "file": "InstancesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Get", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Instance", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Instances.Get", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Instance resource.", + "file": "InstancesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Instances_GetEffectiveFirewalls_sync", - "title": "compute GetEffectiveFirewalls Sample", - "description": "GetEffectiveFirewalls returns effective firewalls applied to an interface of the instance.", - "file": "InstancesClient/GetEffectiveFirewalls/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveFirewalls", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.GetEffectiveFirewalls", + "method": { + "fullName": "google.cloud.compute.v1.Instances.GetEffectiveFirewalls", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetEffectiveFirewalls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveFirewallsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveFirewallsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstancesGetEffectiveFirewallsResponse", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "GetEffectiveFirewalls", - "fullName": "google.cloud.compute.v1.Instances.GetEffectiveFirewalls", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "GetEffectiveFirewalls" }, + "description": "GetEffectiveFirewalls returns effective firewalls applied to an interface of the instance.", + "file": "InstancesClient/GetEffectiveFirewalls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_GetEffectiveFirewalls_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveFirewalls Sample" }, { - "regionTag": "compute_v1_generated_Instances_GetGuestAttributes_sync", - "title": "compute GetGuestAttributes Sample", - "description": "GetGuestAttributes returns the specified guest attributes entry.", - "file": "InstancesClient/GetGuestAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGuestAttributes", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.GetGuestAttributes", + "method": { + "fullName": "google.cloud.compute.v1.Instances.GetGuestAttributes", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetGuestAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGuestAttributesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGuestAttributesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.GuestAttributes", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "GetGuestAttributes", - "fullName": "google.cloud.compute.v1.Instances.GetGuestAttributes", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "GetGuestAttributes" }, + "description": "GetGuestAttributes returns the specified guest attributes entry.", + "file": "InstancesClient/GetGuestAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_GetGuestAttributes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetGuestAttributes Sample" }, { - "regionTag": "compute_v1_generated_Instances_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstancesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Instances.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Instances.GetIamPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstancesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Instances_GetScreenshot_sync", - "title": "compute GetScreenshot Sample", - "description": "GetScreenshot returns the screenshot from the specified instance.", - "file": "InstancesClient/GetScreenshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetScreenshot", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.GetScreenshot", + "method": { + "fullName": "google.cloud.compute.v1.Instances.GetScreenshot", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetScreenshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetScreenshotInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetScreenshotInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Screenshot", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "GetScreenshot", - "fullName": "google.cloud.compute.v1.Instances.GetScreenshot", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "GetScreenshot" }, + "description": "GetScreenshot returns the screenshot from the specified instance.", + "file": "InstancesClient/GetScreenshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_GetScreenshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetScreenshot Sample" }, { - "regionTag": "compute_v1_generated_Instances_GetSerialPortOutput_sync", - "title": "compute GetSerialPortOutput Sample", - "description": "GetSerialPortOutput returns the last 1 MB of serial port output from the specified instance.", - "file": "InstancesClient/GetSerialPortOutput/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSerialPortOutput", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.GetSerialPortOutput", + "method": { + "fullName": "google.cloud.compute.v1.Instances.GetSerialPortOutput", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetSerialPortOutput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSerialPortOutputInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSerialPortOutputInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SerialPortOutput", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "GetSerialPortOutput", - "fullName": "google.cloud.compute.v1.Instances.GetSerialPortOutput", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "GetSerialPortOutput" }, + "description": "GetSerialPortOutput returns the last 1 MB of serial port output from the specified instance.", + "file": "InstancesClient/GetSerialPortOutput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_GetSerialPortOutput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetSerialPortOutput Sample" }, { - "regionTag": "compute_v1_generated_Instances_GetShieldedInstanceIdentity_sync", - "title": "compute GetShieldedInstanceIdentity Sample", - "description": "GetShieldedInstanceIdentity returns the Shielded Instance Identity of an instance", - "file": "InstancesClient/GetShieldedInstanceIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetShieldedInstanceIdentity", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.GetShieldedInstanceIdentity", + "method": { + "fullName": "google.cloud.compute.v1.Instances.GetShieldedInstanceIdentity", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "GetShieldedInstanceIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetShieldedInstanceIdentityInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetShieldedInstanceIdentityInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ShieldedInstanceIdentity", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "GetShieldedInstanceIdentity", - "fullName": "google.cloud.compute.v1.Instances.GetShieldedInstanceIdentity", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "GetShieldedInstanceIdentity" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetShieldedInstanceIdentity returns the Shielded Instance Identity of an instance", + "file": "InstancesClient/GetShieldedInstanceIdentity/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_GetShieldedInstanceIdentity_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetShieldedInstanceIdentity Sample" }, { - "regionTag": "compute_v1_generated_Instances_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance resource in the specified project using the data\nincluded in the request.", - "file": "InstancesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Instances.Insert", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance resource in the specified project using the data\nincluded in the request.", + "file": "InstancesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Instances_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of instances contained within\nthe specified zone.", - "file": "InstancesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Instances.List", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Instances.List", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "List" }, + "description": "List retrieves the list of instances contained within\nthe specified zone.", + "file": "InstancesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Instances_ListReferrers_sync", - "title": "compute ListReferrers Sample", - "description": "ListReferrers retrieves a list of resources that refer to the VM instance specified in\nthe request. For example, if the VM instance is part of a managed or\nunmanaged instance group, the referrers list includes the instance group.\nFor more information, readViewing\nreferrers to VM instances.", - "file": "InstancesClient/ListReferrers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReferrers", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.ListReferrers", + "method": { + "fullName": "google.cloud.compute.v1.Instances.ListReferrers", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "ListReferrers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReferrersInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReferrersInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReferenceIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "ListReferrers", - "fullName": "google.cloud.compute.v1.Instances.ListReferrers", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "ListReferrers" }, + "description": "ListReferrers retrieves a list of resources that refer to the VM instance specified in\nthe request. For example, if the VM instance is part of a managed or\nunmanaged instance group, the referrers list includes the instance group.\nFor more information, readViewing\nreferrers to VM instances.", + "file": "InstancesClient/ListReferrers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_ListReferrers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListReferrers Sample" }, { - "regionTag": "compute_v1_generated_Instances_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance perform a manual maintenance on the instance.", - "file": "InstancesClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1.Instances.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1.Instances.PerformMaintenance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance perform a manual maintenance on the instance.", + "file": "InstancesClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1_generated_Instances_RemoveResourcePolicies_sync", - "title": "compute RemoveResourcePolicies Sample", - "description": "RemoveResourcePolicies removes resource policies from an instance.", - "file": "InstancesClient/RemoveResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.RemoveResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1.Instances.RemoveResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "RemoveResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveResourcePoliciesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveResourcePoliciesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "RemoveResourcePolicies", - "fullName": "google.cloud.compute.v1.Instances.RemoveResourcePolicies", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "RemoveResourcePolicies" }, + "description": "RemoveResourcePolicies removes resource policies from an instance.", + "file": "InstancesClient/RemoveResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_RemoveResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveResourcePolicies Sample" }, { - "regionTag": "compute_v1_generated_Instances_ReportHostAsFaulty_sync", - "title": "compute ReportHostAsFaulty Sample", - "description": "ReportHostAsFaulty mark the host as faulty and try to restart the instance on a new host.", - "file": "InstancesClient/ReportHostAsFaulty/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportHostAsFaulty", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.ReportHostAsFaulty", + "method": { + "fullName": "google.cloud.compute.v1.Instances.ReportHostAsFaulty", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "ReportHostAsFaulty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ReportHostAsFaultyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.ReportHostAsFaultyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "ReportHostAsFaulty", - "fullName": "google.cloud.compute.v1.Instances.ReportHostAsFaulty", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "ReportHostAsFaulty" }, + "description": "ReportHostAsFaulty mark the host as faulty and try to restart the instance on a new host.", + "file": "InstancesClient/ReportHostAsFaulty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_ReportHostAsFaulty_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ReportHostAsFaulty Sample" }, { - "regionTag": "compute_v1_generated_Instances_Reset_sync", - "title": "compute Reset Sample", - "description": "Reset performs a reset on the instance. This is a hard reset. The VM\ndoes not do a graceful shutdown. For more information, seeResetting\nan instance.", - "file": "InstancesClient/Reset/main.go", - "language": "GO", "clientMethod": { - "shortName": "Reset", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Reset", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Reset", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Reset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.ResetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Reset", - "fullName": "google.cloud.compute.v1.Instances.Reset", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Reset" }, + "description": "Reset performs a reset on the instance. This is a hard reset. The VM\ndoes not do a graceful shutdown. For more information, seeResetting\nan instance.", + "file": "InstancesClient/Reset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Reset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Reset Sample" }, { - "regionTag": "compute_v1_generated_Instances_Resume_sync", - "title": "compute Resume Sample", - "description": "Resume resumes an instance that was suspended using theinstances().suspend\nmethod.", - "file": "InstancesClient/Resume/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resume", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Resume", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Resume", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Resume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResumeInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.ResumeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Resume", - "fullName": "google.cloud.compute.v1.Instances.Resume", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Resume" }, + "description": "Resume resumes an instance that was suspended using theinstances().suspend\nmethod.", + "file": "InstancesClient/Resume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Resume_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resume Sample" }, { - "regionTag": "compute_v1_generated_Instances_SendDiagnosticInterrupt_sync", - "title": "compute SendDiagnosticInterrupt Sample", - "description": "SendDiagnosticInterrupt sends diagnostic interrupt to the instance.", - "file": "InstancesClient/SendDiagnosticInterrupt/main.go", - "language": "GO", "clientMethod": { - "shortName": "SendDiagnosticInterrupt", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SendDiagnosticInterrupt", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SendDiagnosticInterrupt", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SendDiagnosticInterrupt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SendDiagnosticInterruptInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SendDiagnosticInterruptInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SendDiagnosticInterruptInstanceResponse", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SendDiagnosticInterrupt", - "fullName": "google.cloud.compute.v1.Instances.SendDiagnosticInterrupt", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SendDiagnosticInterrupt" }, + "description": "SendDiagnosticInterrupt sends diagnostic interrupt to the instance.", + "file": "InstancesClient/SendDiagnosticInterrupt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SendDiagnosticInterrupt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SendDiagnosticInterrupt Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetDeletionProtection_sync", - "title": "compute SetDeletionProtection Sample", - "description": "SetDeletionProtection sets deletion protection on the instance.", - "file": "InstancesClient/SetDeletionProtection/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDeletionProtection", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetDeletionProtection", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetDeletionProtection", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetDeletionProtection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetDeletionProtectionInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetDeletionProtectionInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetDeletionProtection", - "fullName": "google.cloud.compute.v1.Instances.SetDeletionProtection", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetDeletionProtection" }, + "description": "SetDeletionProtection sets deletion protection on the instance.", + "file": "InstancesClient/SetDeletionProtection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetDeletionProtection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetDeletionProtection Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetDiskAutoDelete_sync", - "title": "compute SetDiskAutoDelete Sample", - "description": "SetDiskAutoDelete sets the auto-delete flag for a disk attached to an instance.", - "file": "InstancesClient/SetDiskAutoDelete/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDiskAutoDelete", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetDiskAutoDelete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetDiskAutoDelete", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetDiskAutoDelete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetDiskAutoDeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetDiskAutoDeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetDiskAutoDelete", - "fullName": "google.cloud.compute.v1.Instances.SetDiskAutoDelete", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetDiskAutoDelete" }, + "description": "SetDiskAutoDelete sets the auto-delete flag for a disk attached to an instance.", + "file": "InstancesClient/SetDiskAutoDelete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetDiskAutoDelete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetDiskAutoDelete Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstancesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Instances.SetIamPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstancesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets labels on an instance. To learn more about labels, read theLabeling\nResources documentation.", - "file": "InstancesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.Instances.SetLabels", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets labels on an instance. To learn more about labels, read theLabeling\nResources documentation.", + "file": "InstancesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetMachineResources_sync", - "title": "compute SetMachineResources Sample", - "description": "SetMachineResources changes the number and/or type of accelerator for a stopped instance to the\nvalues specified in the request.", - "file": "InstancesClient/SetMachineResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMachineResources", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetMachineResources", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetMachineResources", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetMachineResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMachineResourcesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMachineResourcesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetMachineResources", - "fullName": "google.cloud.compute.v1.Instances.SetMachineResources", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetMachineResources" }, + "description": "SetMachineResources changes the number and/or type of accelerator for a stopped instance to the\nvalues specified in the request.", + "file": "InstancesClient/SetMachineResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetMachineResources_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMachineResources Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetMachineType_sync", - "title": "compute SetMachineType Sample", - "description": "SetMachineType changes the machine type for a stopped instance to the machine\ntype specified in the request.", - "file": "InstancesClient/SetMachineType/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMachineType", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetMachineType", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetMachineType", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetMachineType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMachineTypeInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMachineTypeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetMachineType", - "fullName": "google.cloud.compute.v1.Instances.SetMachineType", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetMachineType" }, + "description": "SetMachineType changes the machine type for a stopped instance to the machine\ntype specified in the request.", + "file": "InstancesClient/SetMachineType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetMachineType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMachineType Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetMetadata_sync", - "title": "compute SetMetadata Sample", - "description": "SetMetadata sets metadata for the specified instance to the data included\nin the request.", - "file": "InstancesClient/SetMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMetadata", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetMetadata", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetMetadata", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMetadataInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMetadataInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetMetadata", - "fullName": "google.cloud.compute.v1.Instances.SetMetadata", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetMetadata" }, + "description": "SetMetadata sets metadata for the specified instance to the data included\nin the request.", + "file": "InstancesClient/SetMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetMetadata_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMetadata Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetMinCpuPlatform_sync", - "title": "compute SetMinCpuPlatform Sample", - "description": "SetMinCpuPlatform changes the minimum CPU platform that this instance should use.\nThis method can only\nbe called on a stopped instance. For more information, readSpecifying a\nMinimum CPU Platform.", - "file": "InstancesClient/SetMinCpuPlatform/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMinCpuPlatform", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetMinCpuPlatform", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetMinCpuPlatform", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetMinCpuPlatform" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMinCpuPlatformInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMinCpuPlatformInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetMinCpuPlatform", - "fullName": "google.cloud.compute.v1.Instances.SetMinCpuPlatform", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetMinCpuPlatform" }, + "description": "SetMinCpuPlatform changes the minimum CPU platform that this instance should use.\nThis method can only\nbe called on a stopped instance. For more information, readSpecifying a\nMinimum CPU Platform.", + "file": "InstancesClient/SetMinCpuPlatform/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetMinCpuPlatform_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMinCpuPlatform Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetName_sync", - "title": "compute SetName Sample", - "description": "SetName sets name of an instance.", - "file": "InstancesClient/SetName/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetName", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetName", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetName", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetName" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNameInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNameInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetName", - "fullName": "google.cloud.compute.v1.Instances.SetName", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetName" }, + "description": "SetName sets name of an instance.", + "file": "InstancesClient/SetName/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetName_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetName Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetScheduling_sync", - "title": "compute SetScheduling Sample", - "description": "SetScheduling sets an instance's scheduling options. You can only call this method on astopped instance,\nthat is, a VM instance that is in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.\nFor more information about setting scheduling options for a VM, seeSet\nVM host maintenance policy.", - "file": "InstancesClient/SetScheduling/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetScheduling", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetScheduling", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetScheduling", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetScheduling" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSchedulingInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSchedulingInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetScheduling", - "fullName": "google.cloud.compute.v1.Instances.SetScheduling", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetScheduling" }, + "description": "SetScheduling sets an instance's scheduling options. You can only call this method on astopped instance,\nthat is, a VM instance that is in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.\nFor more information about setting scheduling options for a VM, seeSet\nVM host maintenance policy.", + "file": "InstancesClient/SetScheduling/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetScheduling_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetScheduling Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified instance.\nFor more information, seeGoogle\nCloud Armor Overview", - "file": "InstancesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1.Instances.SetSecurityPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified instance.\nFor more information, seeGoogle\nCloud Armor Overview", + "file": "InstancesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetServiceAccount_sync", - "title": "compute SetServiceAccount Sample", - "description": "SetServiceAccount sets the service account on the instance. For more information,\nreadChanging\nthe service account and access scopes for an instance.", - "file": "InstancesClient/SetServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetServiceAccount", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetServiceAccount", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetServiceAccount", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetServiceAccountInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetServiceAccountInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetServiceAccount", - "fullName": "google.cloud.compute.v1.Instances.SetServiceAccount", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetServiceAccount" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetServiceAccount sets the service account on the instance. For more information,\nreadChanging\nthe service account and access scopes for an instance.", + "file": "InstancesClient/SetServiceAccount/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetServiceAccount_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetServiceAccount Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetShieldedInstanceIntegrityPolicy_sync", - "title": "compute SetShieldedInstanceIntegrityPolicy Sample", - "description": "SetShieldedInstanceIntegrityPolicy sets the Shielded Instance integrity policy for an instance. You can\nonly use this method on a running instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "InstancesClient/SetShieldedInstanceIntegrityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetShieldedInstanceIntegrityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetShieldedInstanceIntegrityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetShieldedInstanceIntegrityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetShieldedInstanceIntegrityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetShieldedInstanceIntegrityPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetShieldedInstanceIntegrityPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetShieldedInstanceIntegrityPolicy", - "fullName": "google.cloud.compute.v1.Instances.SetShieldedInstanceIntegrityPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetShieldedInstanceIntegrityPolicy" }, + "description": "SetShieldedInstanceIntegrityPolicy sets the Shielded Instance integrity policy for an instance. You can\nonly use this method on a running instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "InstancesClient/SetShieldedInstanceIntegrityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetShieldedInstanceIntegrityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetShieldedInstanceIntegrityPolicy Sample" }, { - "regionTag": "compute_v1_generated_Instances_SetTags_sync", - "title": "compute SetTags Sample", - "description": "SetTags sets network tags\nfor the specified instance to the data included in the request.", - "file": "InstancesClient/SetTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTags", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SetTags", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SetTags", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SetTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTagsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTagsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SetTags", - "fullName": "google.cloud.compute.v1.Instances.SetTags", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SetTags" }, + "description": "SetTags sets network tags\nfor the specified instance to the data included in the request.", + "file": "InstancesClient/SetTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SetTags_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTags Sample" }, { - "regionTag": "compute_v1_generated_Instances_SimulateMaintenanceEvent_sync", - "title": "compute SimulateMaintenanceEvent Sample", - "description": "SimulateMaintenanceEvent simulates a host maintenance event on a VM. For more information, see\nSimulate a host maintenance event.", - "file": "InstancesClient/SimulateMaintenanceEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "SimulateMaintenanceEvent", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.SimulateMaintenanceEvent", + "method": { + "fullName": "google.cloud.compute.v1.Instances.SimulateMaintenanceEvent", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "SimulateMaintenanceEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SimulateMaintenanceEventInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SimulateMaintenanceEventInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "SimulateMaintenanceEvent", - "fullName": "google.cloud.compute.v1.Instances.SimulateMaintenanceEvent", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "SimulateMaintenanceEvent" }, + "description": "SimulateMaintenanceEvent simulates a host maintenance event on a VM. For more information, see\nSimulate a host maintenance event.", + "file": "InstancesClient/SimulateMaintenanceEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_SimulateMaintenanceEvent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SimulateMaintenanceEvent Sample" }, { - "regionTag": "compute_v1_generated_Instances_Start_sync", - "title": "compute Start Sample", - "description": "Start starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", - "file": "InstancesClient/Start/main.go", - "language": "GO", "clientMethod": { - "shortName": "Start", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Start", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Start", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Start" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Start", - "fullName": "google.cloud.compute.v1.Instances.Start", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Start" }, + "description": "Start starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", + "file": "InstancesClient/Start/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Start_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Start Sample" }, { - "regionTag": "compute_v1_generated_Instances_StartWithEncryptionKey_sync", - "title": "compute StartWithEncryptionKey Sample", - "description": "StartWithEncryptionKey starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", - "file": "InstancesClient/StartWithEncryptionKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartWithEncryptionKey", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.StartWithEncryptionKey", + "method": { + "fullName": "google.cloud.compute.v1.Instances.StartWithEncryptionKey", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "StartWithEncryptionKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartWithEncryptionKeyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.StartWithEncryptionKeyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "StartWithEncryptionKey", - "fullName": "google.cloud.compute.v1.Instances.StartWithEncryptionKey", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "StartWithEncryptionKey" }, + "description": "StartWithEncryptionKey starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", + "file": "InstancesClient/StartWithEncryptionKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_StartWithEncryptionKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartWithEncryptionKey Sample" }, { - "regionTag": "compute_v1_generated_Instances_Stop_sync", - "title": "compute Stop Sample", - "description": "Stop stops a running instance, shutting it down cleanly, and allows\nyou to restart the instance at a later time. Stopped instances do not incur\nVM usage charges while they are stopped. However, resources that the VM is\nusing, such as persistent disks and static IP addresses, will continue to\nbe charged until they are deleted. For more information, seeStopping\nan instance.", - "file": "InstancesClient/Stop/main.go", - "language": "GO", "clientMethod": { - "shortName": "Stop", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Stop", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Stop", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Stop" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Stop", - "fullName": "google.cloud.compute.v1.Instances.Stop", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Stop" }, + "description": "Stop stops a running instance, shutting it down cleanly, and allows\nyou to restart the instance at a later time. Stopped instances do not incur\nVM usage charges while they are stopped. However, resources that the VM is\nusing, such as persistent disks and static IP addresses, will continue to\nbe charged until they are deleted. For more information, seeStopping\nan instance.", + "file": "InstancesClient/Stop/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Stop_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Stop Sample" }, { - "regionTag": "compute_v1_generated_Instances_Suspend_sync", - "title": "compute Suspend Sample", - "description": "Suspend this method suspends a running instance, saving its state to persistent\nstorage, and allows you to resume the instance at a later time. Suspended\ninstances have no compute costs (cores or RAM), and incur only storage\ncharges for the saved VM memory and localSSD data. Any charged resources\nthe virtual machine was using, such as persistent disks and static IP\naddresses, will continue to be charged while the instance is suspended.\nFor more information, see\nSuspending and resuming an instance.", - "file": "InstancesClient/Suspend/main.go", - "language": "GO", "clientMethod": { - "shortName": "Suspend", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Suspend", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Suspend", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Suspend" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SuspendInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SuspendInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Suspend", - "fullName": "google.cloud.compute.v1.Instances.Suspend", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Suspend" }, + "description": "Suspend this method suspends a running instance, saving its state to persistent\nstorage, and allows you to resume the instance at a later time. Suspended\ninstances have no compute costs (cores or RAM), and incur only storage\ncharges for the saved VM memory and localSSD data. Any charged resources\nthe virtual machine was using, such as persistent disks and static IP\naddresses, will continue to be charged while the instance is suspended.\nFor more information, see\nSuspending and resuming an instance.", + "file": "InstancesClient/Suspend/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Suspend_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Suspend Sample" }, { - "regionTag": "compute_v1_generated_Instances_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstancesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Instances.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Instances.TestIamPermissions", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstancesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Instances_Update_sync", - "title": "compute Update Sample", - "description": "Update updates an instance only if the necessary resources are available. This\nmethod can update only a specific set of instance properties. See\nUpdating a running instance for a list of updatable instance\nproperties.", - "file": "InstancesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.Instances.Update", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Instances.Update", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "Update" }, + "description": "Update updates an instance only if the necessary resources are available. This\nmethod can update only a specific set of instance properties. See\nUpdating a running instance for a list of updatable instance\nproperties.", + "file": "InstancesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_Instances_UpdateAccessConfig_sync", - "title": "compute UpdateAccessConfig Sample", - "description": "UpdateAccessConfig updates the specified access config from an instance's network interface\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateAccessConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccessConfig", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.UpdateAccessConfig", + "method": { + "fullName": "google.cloud.compute.v1.Instances.UpdateAccessConfig", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateAccessConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateAccessConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateAccessConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "UpdateAccessConfig", - "fullName": "google.cloud.compute.v1.Instances.UpdateAccessConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "UpdateAccessConfig" }, + "description": "UpdateAccessConfig updates the specified access config from an instance's network interface\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateAccessConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_UpdateAccessConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateAccessConfig Sample" }, { - "regionTag": "compute_v1_generated_Instances_UpdateDisplayDevice_sync", - "title": "compute UpdateDisplayDevice Sample", - "description": "UpdateDisplayDevice updates the Display config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateDisplayDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDisplayDevice", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.UpdateDisplayDevice", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Instances.UpdateDisplayDevice", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateDisplayDevice" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateDisplayDeviceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateDisplayDeviceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "UpdateDisplayDevice", - "fullName": "google.cloud.compute.v1.Instances.UpdateDisplayDevice", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "UpdateDisplayDevice" }, + "description": "UpdateDisplayDevice updates the Display config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateDisplayDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_UpdateDisplayDevice_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateDisplayDevice Sample" }, { - "regionTag": "compute_v1_generated_Instances_UpdateNetworkInterface_sync", - "title": "compute UpdateNetworkInterface Sample", - "description": "UpdateNetworkInterface updates an instance's network interface. This method can only update an\ninterface's alias IP range and attached network. See Modifying\nalias IP ranges for an existing instance for instructions on\nchanging alias IP ranges. See Migrating\na VM between networks for instructions on migrating an interface.\nThis method follows PATCH semantics.", - "file": "InstancesClient/UpdateNetworkInterface/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNetworkInterface", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.UpdateNetworkInterface", + "method": { + "fullName": "google.cloud.compute.v1.Instances.UpdateNetworkInterface", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateNetworkInterface" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateNetworkInterfaceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateNetworkInterfaceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "UpdateNetworkInterface", - "fullName": "google.cloud.compute.v1.Instances.UpdateNetworkInterface", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "UpdateNetworkInterface" }, + "description": "UpdateNetworkInterface updates an instance's network interface. This method can only update an\ninterface's alias IP range and attached network. See Modifying\nalias IP ranges for an existing instance for instructions on\nchanging alias IP ranges. See Migrating\na VM between networks for instructions on migrating an interface.\nThis method follows PATCH semantics.", + "file": "InstancesClient/UpdateNetworkInterface/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_UpdateNetworkInterface_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateNetworkInterface Sample" }, { - "regionTag": "compute_v1_generated_Instances_UpdateShieldedInstanceConfig_sync", - "title": "compute UpdateShieldedInstanceConfig Sample", - "description": "UpdateShieldedInstanceConfig updates the Shielded Instance config for an instance. You can\nonly use this method on a stopped instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateShieldedInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateShieldedInstanceConfig", + "client": { + "fullName": "google.cloud.compute.v1.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1.InstancesClient.UpdateShieldedInstanceConfig", + "method": { + "fullName": "google.cloud.compute.v1.Instances.UpdateShieldedInstanceConfig", + "service": { + "fullName": "google.cloud.compute.v1.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateShieldedInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateShieldedInstanceConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateShieldedInstanceConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1.InstancesClient" - }, - "method": { - "shortName": "UpdateShieldedInstanceConfig", - "fullName": "google.cloud.compute.v1.Instances.UpdateShieldedInstanceConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1.Instances" - } - } + "shortName": "UpdateShieldedInstanceConfig" }, + "description": "UpdateShieldedInstanceConfig updates the Shielded Instance config for an instance. You can\nonly use this method on a stopped instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateShieldedInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Instances_UpdateShieldedInstanceConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateShieldedInstanceConfig Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of instantSnapshots.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstantSnapshotsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstantSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstantSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotsScopedListPairIterator", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.InstantSnapshots.AggregatedList", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of instantSnapshots.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstantSnapshotsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", - "file": "InstantSnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InstantSnapshots.Delete", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", + "file": "InstantSnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InstantSnapshot resource in the specified zone.", - "file": "InstantSnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstantSnapshot", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InstantSnapshots.Get", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InstantSnapshot resource in the specified zone.", + "file": "InstantSnapshotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstantSnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.InstantSnapshots.GetIamPolicy", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstantSnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instant snapshot in the specified zone.", - "file": "InstantSnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InstantSnapshots.Insert", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instant snapshot in the specified zone.", + "file": "InstantSnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified zone.", - "file": "InstantSnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.List", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstantSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstantSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotIterator", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InstantSnapshots.List", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "List" }, + "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified zone.", + "file": "InstantSnapshotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstantSnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.InstantSnapshots.SetIamPolicy", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstantSnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a instantSnapshot in the given zone. To learn more about\nlabels, read the Labeling\nResources documentation.", - "file": "InstantSnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.InstantSnapshots.SetLabels", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "SetLabels" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetLabels sets the labels on a instantSnapshot in the given zone. To learn more about\nlabels, read the Labeling\nResources documentation.", + "file": "InstantSnapshotsClient/SetLabels/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_SetLabels_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_InstantSnapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstantSnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.InstantSnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.InstantSnapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.InstantSnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.InstantSnapshots.TestIamPermissions", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1.InstantSnapshots" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstantSnapshotsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InstantSnapshots_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InterconnectAttachmentGroup in the given scope", - "file": "InterconnectAttachmentGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Delete", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InterconnectAttachmentGroup in the given scope", + "file": "InterconnectAttachmentGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InterconnectAttachmentGroup resource in the given\nscope.", - "file": "InterconnectAttachmentGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectAttachmentGroup", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Get", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InterconnectAttachmentGroup resource in the given\nscope.", + "file": "InterconnectAttachmentGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InterconnectAttachmentGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.GetIamPolicy", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InterconnectAttachmentGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_GetOperationalStatus_sync", - "title": "compute GetOperationalStatus Sample", - "description": "GetOperationalStatus returns the InterconnectAttachmentStatuses for the specified\nInterconnectAttachmentGroup resource.", - "file": "InterconnectAttachmentGroupsClient/GetOperationalStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperationalStatus", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.GetOperationalStatus", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.GetOperationalStatus", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "GetOperationalStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetOperationalStatusInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetOperationalStatusInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectAttachmentGroupsGetOperationalStatusResponse", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "GetOperationalStatus", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.GetOperationalStatus", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "GetOperationalStatus" }, + "description": "GetOperationalStatus returns the InterconnectAttachmentStatuses for the specified\nInterconnectAttachmentGroup resource.", + "file": "InterconnectAttachmentGroupsClient/GetOperationalStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_GetOperationalStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetOperationalStatus Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a InterconnectAttachmentGroup in the specified project in the given\nscope using the parameters that are included in the request.", - "file": "InterconnectAttachmentGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Insert", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a InterconnectAttachmentGroup in the specified project in the given\nscope using the parameters that are included in the request.", + "file": "InterconnectAttachmentGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_List_sync", - "title": "compute List Sample", - "description": "List lists the InterconnectAttachmentGroups for a project in the given scope.", - "file": "InterconnectAttachmentGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectAttachmentGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectAttachmentGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentGroupIterator", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.List", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "List" }, + "description": "List lists the InterconnectAttachmentGroups for a project in the given scope.", + "file": "InterconnectAttachmentGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified InterconnectAttachmentGroup resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "InterconnectAttachmentGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.Patch", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified InterconnectAttachmentGroup resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "InterconnectAttachmentGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InterconnectAttachmentGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.SetIamPolicy", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InterconnectAttachmentGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InterconnectAttachmentGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups.TestIamPermissions", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InterconnectAttachmentGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachmentGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of interconnect attachments.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InterconnectAttachmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.AggregatedList", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "AggregatedList" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInterconnectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInterconnectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentsScopedListPairIterator", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.AggregatedList", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of interconnect attachments.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InterconnectAttachmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified interconnect attachment.", - "file": "InterconnectAttachmentsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.Delete", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified interconnect attachment.", + "file": "InterconnectAttachmentsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified interconnect attachment.", - "file": "InterconnectAttachmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.Get", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectAttachment", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.Get", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified interconnect attachment.", + "file": "InterconnectAttachmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an InterconnectAttachment in the specified project using the data\nincluded in the request.", - "file": "InterconnectAttachmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.Insert", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "Insert" }, + "description": "Insert creates an InterconnectAttachment in the specified project using the data\nincluded in the request.", + "file": "InterconnectAttachmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of interconnect attachments contained within\nthe specified region.", - "file": "InterconnectAttachmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.List", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentIterator", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.List", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "List" }, + "description": "List retrieves the list of interconnect attachments contained within\nthe specified region.", + "file": "InterconnectAttachmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified interconnect attachment with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InterconnectAttachmentsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.Patch", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.Patch", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified interconnect attachment with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InterconnectAttachmentsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_InterconnectAttachments_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an InterconnectAttachment. To learn more about labels,\nread the Labeling\nResources documentation.", - "file": "InterconnectAttachmentsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.InterconnectAttachments.SetLabels", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1.InterconnectAttachments" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an InterconnectAttachment. To learn more about labels,\nread the Labeling\nResources documentation.", + "file": "InterconnectAttachmentsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectAttachments_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_CreateMembers_sync", - "title": "compute CreateMembers Sample", - "description": "CreateMembers create Interconnects with redundancy by creating them in a specified\ninterconnect group.", - "file": "InterconnectGroupsClient/CreateMembers/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMembers", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.CreateMembers", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.CreateMembers", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "CreateMembers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateMembersInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateMembersInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "CreateMembers", - "fullName": "google.cloud.compute.v1.InterconnectGroups.CreateMembers", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "CreateMembers" }, + "description": "CreateMembers create Interconnects with redundancy by creating them in a specified\ninterconnect group.", + "file": "InterconnectGroupsClient/CreateMembers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_CreateMembers_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateMembers Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InterconnectGroup in the given scope", - "file": "InterconnectGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.InterconnectGroups.Delete", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InterconnectGroup in the given scope", + "file": "InterconnectGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InterconnectGroup resource in the given scope.", - "file": "InterconnectGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectGroup", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InterconnectGroups.Get", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InterconnectGroup resource in the given scope.", + "file": "InterconnectGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InterconnectGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.InterconnectGroups.GetIamPolicy", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InterconnectGroupsClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_GetOperationalStatus_sync", - "title": "compute GetOperationalStatus Sample", - "description": "GetOperationalStatus returns the interconnectStatuses for the specified\nInterconnectGroup.", - "file": "InterconnectGroupsClient/GetOperationalStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperationalStatus", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.GetOperationalStatus", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.GetOperationalStatus", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "GetOperationalStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetOperationalStatusInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetOperationalStatusInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectGroupsGetOperationalStatusResponse", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "GetOperationalStatus", - "fullName": "google.cloud.compute.v1.InterconnectGroups.GetOperationalStatus", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "GetOperationalStatus" }, + "description": "GetOperationalStatus returns the interconnectStatuses for the specified\nInterconnectGroup.", + "file": "InterconnectGroupsClient/GetOperationalStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_GetOperationalStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetOperationalStatus Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a InterconnectGroup in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "InterconnectGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.InterconnectGroups.Insert", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a InterconnectGroup in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "InterconnectGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_List_sync", - "title": "compute List Sample", - "description": "List lists the InterconnectGroups for a project in the given scope.", - "file": "InterconnectGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectGroupIterator", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InterconnectGroups.List", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "List" }, + "description": "List lists the InterconnectGroups for a project in the given scope.", + "file": "InterconnectGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified InterconnectGroup resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "InterconnectGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.InterconnectGroups.Patch", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified InterconnectGroup resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "InterconnectGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InterconnectGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.InterconnectGroups.SetIamPolicy", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InterconnectGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_InterconnectGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InterconnectGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1.InterconnectGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.InterconnectGroups.TestIamPermissions", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1.InterconnectGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InterconnectGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_InterconnectLocations_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the details for the specified interconnect location. Gets a list of\navailable interconnect locations by making a list() request.", - "file": "InterconnectLocationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectLocationsClient", + "shortName": "InterconnectLocationsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectLocationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectLocations.Get", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectLocations", + "shortName": "InterconnectLocations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectLocationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectLocation", - "client": { - "shortName": "InterconnectLocationsClient", - "fullName": "google.cloud.compute.v1.InterconnectLocationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InterconnectLocations.Get", - "service": { - "shortName": "InterconnectLocations", - "fullName": "google.cloud.compute.v1.InterconnectLocations" - } - } + "shortName": "Get" }, + "description": "Get returns the details for the specified interconnect location. Gets a list of\navailable interconnect locations by making a list() request.", + "file": "InterconnectLocationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectLocations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InterconnectLocations_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of interconnect locations available to the specified\nproject.", - "file": "InterconnectLocationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectLocationsClient", + "shortName": "InterconnectLocationsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectLocationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectLocations.List", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectLocations", + "shortName": "InterconnectLocations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectLocationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectLocationIterator", - "client": { - "shortName": "InterconnectLocationsClient", - "fullName": "google.cloud.compute.v1.InterconnectLocationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InterconnectLocations.List", - "service": { - "shortName": "InterconnectLocations", - "fullName": "google.cloud.compute.v1.InterconnectLocations" - } - } + "shortName": "List" }, + "description": "List retrieves the list of interconnect locations available to the specified\nproject.", + "file": "InterconnectLocationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectLocations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_InterconnectRemoteLocations_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the details for the specified interconnect remote location. Gets a\nlist of available interconnect remote locations by making alist() request.", - "file": "InterconnectRemoteLocationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocationsClient", + "shortName": "InterconnectRemoteLocationsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectRemoteLocationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations.Get", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations", + "shortName": "InterconnectRemoteLocations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectRemoteLocationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectRemoteLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectRemoteLocation", - "client": { - "shortName": "InterconnectRemoteLocationsClient", - "fullName": "google.cloud.compute.v1.InterconnectRemoteLocationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations.Get", - "service": { - "shortName": "InterconnectRemoteLocations", - "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations" - } - } + "shortName": "Get" }, + "description": "Get returns the details for the specified interconnect remote location. Gets a\nlist of available interconnect remote locations by making alist() request.", + "file": "InterconnectRemoteLocationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectRemoteLocations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_InterconnectRemoteLocations_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of interconnect remote locations available to the\nspecified project.", - "file": "InterconnectRemoteLocationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocationsClient", + "shortName": "InterconnectRemoteLocationsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectRemoteLocationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations.List", + "service": { + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations", + "shortName": "InterconnectRemoteLocations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectRemoteLocationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectRemoteLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectRemoteLocationIterator", - "client": { - "shortName": "InterconnectRemoteLocationsClient", - "fullName": "google.cloud.compute.v1.InterconnectRemoteLocationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations.List", - "service": { - "shortName": "InterconnectRemoteLocations", - "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations" - } - } + "shortName": "List" }, + "description": "List retrieves the list of interconnect remote locations available to the\nspecified project.", + "file": "InterconnectRemoteLocationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_InterconnectRemoteLocations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Interconnect.", - "file": "InterconnectsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.Delete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Delete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Interconnects.Delete", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Interconnect.", + "file": "InterconnectsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Interconnect. Get a list of available Interconnects\nby making a list() request.", - "file": "InterconnectsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.Get", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Interconnect", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Interconnects.Get", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Interconnect. Get a list of available Interconnects\nby making a list() request.", + "file": "InterconnectsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_GetDiagnostics_sync", - "title": "compute GetDiagnostics Sample", - "description": "GetDiagnostics returns the interconnectDiagnostics for the specified\nInterconnect.\n\nIn the event of a\nglobal outage, do not use this API to make decisions about where to\nredirect your network traffic.\n\nUnlike a VLAN attachment, which is regional, a Cloud Interconnect\nconnection is a global resource. A global outage can prevent this\nAPI from functioning properly.", - "file": "InterconnectsClient/GetDiagnostics/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiagnostics", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.GetDiagnostics", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.GetDiagnostics", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "GetDiagnostics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiagnosticsInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiagnosticsInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectsGetDiagnosticsResponse", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "GetDiagnostics", - "fullName": "google.cloud.compute.v1.Interconnects.GetDiagnostics", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "GetDiagnostics" }, + "description": "GetDiagnostics returns the interconnectDiagnostics for the specified\nInterconnect.\n\nIn the event of a\nglobal outage, do not use this API to make decisions about where to\nredirect your network traffic.\n\nUnlike a VLAN attachment, which is regional, a Cloud Interconnect\nconnection is a global resource. A global outage can prevent this\nAPI from functioning properly.", + "file": "InterconnectsClient/GetDiagnostics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_GetDiagnostics_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetDiagnostics Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_GetMacsecConfig_sync", - "title": "compute GetMacsecConfig Sample", - "description": "GetMacsecConfig returns the interconnectMacsecConfig for the specified\nInterconnect.", - "file": "InterconnectsClient/GetMacsecConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMacsecConfig", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.GetMacsecConfig", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.GetMacsecConfig", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "GetMacsecConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetMacsecConfigInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetMacsecConfigInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectsGetMacsecConfigResponse", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "GetMacsecConfig", - "fullName": "google.cloud.compute.v1.Interconnects.GetMacsecConfig", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "GetMacsecConfig" }, + "description": "GetMacsecConfig returns the interconnectMacsecConfig for the specified\nInterconnect.", + "file": "InterconnectsClient/GetMacsecConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_GetMacsecConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetMacsecConfig Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an Interconnect in the specified project using\nthe data included in the request.", - "file": "InterconnectsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Interconnects.Insert", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "Insert" }, + "description": "Insert creates an Interconnect in the specified project using\nthe data included in the request.", + "file": "InterconnectsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Interconnects available to the specified project.", - "file": "InterconnectsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.List", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectIterator", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Interconnects.List", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Interconnects available to the specified project.", + "file": "InterconnectsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified Interconnect with the data included in the request.\nThis method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InterconnectsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Interconnects.Patch", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified Interconnect with the data included in the request.\nThis method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InterconnectsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Interconnects_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an Interconnect. To learn more about labels,\nread the Labeling\nResources documentation.", - "file": "InterconnectsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1.InterconnectsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Interconnects.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1.InterconnectsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.Interconnects.SetLabels", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1.Interconnects" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an Interconnect. To learn more about labels,\nread the Labeling\nResources documentation.", + "file": "InterconnectsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Interconnects_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_LicenseCodes_Get_sync", - "title": "compute Get Sample", - "description": "Get return a specified license code. License codes are mirrored across\nall projects that have permissions to read the License Code.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicenseCodesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.LicenseCodesClient", + "shortName": "LicenseCodesClient" + }, "fullName": "google.cloud.compute.v1.LicenseCodesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.LicenseCodes.Get", + "service": { + "fullName": "google.cloud.compute.v1.LicenseCodes", + "shortName": "LicenseCodes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetLicenseCodeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetLicenseCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.LicenseCode", - "client": { - "shortName": "LicenseCodesClient", - "fullName": "google.cloud.compute.v1.LicenseCodesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.LicenseCodes.Get", - "service": { - "shortName": "LicenseCodes", - "fullName": "google.cloud.compute.v1.LicenseCodes" - } - } + "shortName": "Get" }, + "description": "Get return a specified license code. License codes are mirrored across\nall projects that have permissions to read the License Code.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicenseCodesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_LicenseCodes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_LicenseCodes_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicenseCodesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.LicenseCodesClient", + "shortName": "LicenseCodesClient" + }, "fullName": "google.cloud.compute.v1.LicenseCodesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.LicenseCodes.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.LicenseCodes", + "shortName": "LicenseCodes" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsLicenseCodeRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsLicenseCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "LicenseCodesClient", - "fullName": "google.cloud.compute.v1.LicenseCodesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.LicenseCodes.TestIamPermissions", - "service": { - "shortName": "LicenseCodes", - "fullName": "google.cloud.compute.v1.LicenseCodes" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicenseCodesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_LicenseCodes_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Licenses_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified license.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Licenses.Delete", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "Delete" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Delete deletes the specified license.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Delete/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_Delete_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Licenses_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified License resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.Get", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.GetLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.License", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Licenses.Get", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "Get" }, + "description": "Get returns the specified License resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Licenses_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Licenses.GetIamPolicy", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Licenses_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Licenses.Insert", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "Insert" }, + "description": "Insert create a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Licenses_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of licenses\navailable in the specified project. This method does not\nget any licenses that belong to other projects, including licenses attached\nto publicly-available images, like Debian 9. If you want to get a list of\npublicly-available licenses, use this method to make a request to the\nrespective image project, such as debian-cloud orwindows-cloud.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.List", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListLicensesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListLicensesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LicenseIterator", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Licenses.List", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "List" }, + "description": "List retrieves the list of licenses\navailable in the specified project. This method does not\nget any licenses that belong to other projects, including licenses attached\nto publicly-available images, like Debian 9. If you want to get a list of\npublicly-available licenses, use this method to make a request to the\nrespective image project, such as debian-cloud orwindows-cloud.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Licenses_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Licenses.SetIamPolicy", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Licenses_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Licenses.TestIamPermissions", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Licenses_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1.LicensesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.Licenses.Update", + "service": { + "fullName": "google.cloud.compute.v1.Licenses", + "shortName": "Licenses" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1.LicensesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Licenses.Update", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1.Licenses" - } - } + "shortName": "Update" }, + "description": "Update updates a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Licenses_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified machine image. Deleting a machine image is permanent\nand cannot be undone.", - "file": "MachineImagesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.Delete", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.MachineImages.Delete", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified machine image. Deleting a machine image is permanent\nand cannot be undone.", + "file": "MachineImagesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified machine image.", - "file": "MachineImagesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.Get", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.MachineImage", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.MachineImages.Get", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "Get" }, + "description": "Get returns the specified machine image.", + "file": "MachineImagesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "MachineImagesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.MachineImages.GetIamPolicy", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "MachineImagesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a machine image in the specified project using the\ndata that is included in the request. If you are creating a new machine\nimage to update an existing instance, your new machine image should use the\nsame network or, if applicable, the same subnetwork as the original\ninstance.", - "file": "MachineImagesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.Insert", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.Insert", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "Insert" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.MachineImages.Insert", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "Insert" }, + "description": "Insert creates a machine image in the specified project using the\ndata that is included in the request. If you are creating a new machine\nimage to update an existing instance, your new machine image should use the\nsame network or, if applicable, the same subnetwork as the original\ninstance.", + "file": "MachineImagesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of machine images that are contained within\nthe specified project.", - "file": "MachineImagesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.List", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListMachineImagesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListMachineImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineImageIterator", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.MachineImages.List", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "List" }, + "description": "List retrieves a list of machine images that are contained within\nthe specified project.", + "file": "MachineImagesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "MachineImagesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.MachineImages.SetIamPolicy", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "MachineImagesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a machine image. To learn more about labels, read theLabeling\nResources documentation.", - "file": "MachineImagesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.MachineImages.SetLabels", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a machine image. To learn more about labels, read theLabeling\nResources documentation.", + "file": "MachineImagesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_MachineImages_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "MachineImagesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1.MachineImagesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.MachineImages.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1.MachineImagesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.MachineImages.TestIamPermissions", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1.MachineImages" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "MachineImagesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineImages_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_MachineTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of machine types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "MachineTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.MachineTypesClient", + "shortName": "MachineTypesClient" + }, "fullName": "google.cloud.compute.v1.MachineTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.MachineTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.MachineTypes", + "shortName": "MachineTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListMachineTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListMachineTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineTypesScopedListPairIterator", - "client": { - "shortName": "MachineTypesClient", - "fullName": "google.cloud.compute.v1.MachineTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.MachineTypes.AggregatedList", - "service": { - "shortName": "MachineTypes", - "fullName": "google.cloud.compute.v1.MachineTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of machine types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "MachineTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_MachineTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified machine type.", - "file": "MachineTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.MachineTypesClient", + "shortName": "MachineTypesClient" + }, "fullName": "google.cloud.compute.v1.MachineTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.MachineTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1.MachineTypes", + "shortName": "MachineTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetMachineTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetMachineTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.MachineType", - "client": { - "shortName": "MachineTypesClient", - "fullName": "google.cloud.compute.v1.MachineTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.MachineTypes.Get", - "service": { - "shortName": "MachineTypes", - "fullName": "google.cloud.compute.v1.MachineTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified machine type.", + "file": "MachineTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_MachineTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of machine types available to the specified\nproject.", - "file": "MachineTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.MachineTypesClient", + "shortName": "MachineTypesClient" + }, "fullName": "google.cloud.compute.v1.MachineTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.MachineTypes.List", + "service": { + "fullName": "google.cloud.compute.v1.MachineTypes", + "shortName": "MachineTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListMachineTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListMachineTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineTypeIterator", - "client": { - "shortName": "MachineTypesClient", - "fullName": "google.cloud.compute.v1.MachineTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.MachineTypes.List", - "service": { - "shortName": "MachineTypes", - "fullName": "google.cloud.compute.v1.MachineTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of machine types available to the specified\nproject.", + "file": "MachineTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_MachineTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all NetworkAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkAttachmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkAttachmentsScopedListPairIterator", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NetworkAttachments.AggregatedList", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all NetworkAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkAttachmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NetworkAttachment in the given scope", - "file": "NetworkAttachmentsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.Delete", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.NetworkAttachments.Delete", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NetworkAttachment in the given scope", + "file": "NetworkAttachmentsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified NetworkAttachment resource in the given scope.", - "file": "NetworkAttachmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.Get", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkAttachment", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NetworkAttachments.Get", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the specified NetworkAttachment resource in the given scope.", + "file": "NetworkAttachmentsClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NetworkAttachmentsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.NetworkAttachments.GetIamPolicy", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NetworkAttachmentsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a NetworkAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "NetworkAttachmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.Insert", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.NetworkAttachments.Insert", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "Insert" }, + "description": "Insert creates a NetworkAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "NetworkAttachmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_List_sync", - "title": "compute List Sample", - "description": "List lists the NetworkAttachments for a project in the given scope.", - "file": "NetworkAttachmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.List", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkAttachmentIterator", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NetworkAttachments.List", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "List" }, + "description": "List lists the NetworkAttachments for a project in the given scope.", + "file": "NetworkAttachmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified NetworkAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "NetworkAttachmentsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.Patch", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.NetworkAttachments.Patch", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified NetworkAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "NetworkAttachmentsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NetworkAttachmentsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.NetworkAttachments.SetIamPolicy", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NetworkAttachmentsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NetworkAttachments_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworkAttachmentsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.NetworkAttachments.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1.NetworkAttachmentsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.NetworkAttachments.TestIamPermissions", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1.NetworkAttachments" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworkAttachmentsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkAttachments_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all NetworkEdgeSecurityService resources available to\nthe specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkEdgeSecurityServicesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkEdgeSecurityServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkEdgeSecurityServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEdgeSecurityServicesScopedListPairIterator", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.AggregatedList", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all NetworkEdgeSecurityService resources available to\nthe specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkEdgeSecurityServicesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified service.", - "file": "NetworkEdgeSecurityServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Delete", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified service.", + "file": "NetworkEdgeSecurityServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Get_sync", - "title": "compute Get Sample", - "description": "Get gets a specified NetworkEdgeSecurityService.", - "file": "NetworkEdgeSecurityServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Get", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEdgeSecurityService", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Get", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices" - } - } + "shortName": "Get" }, + "description": "Get gets a specified NetworkEdgeSecurityService.", + "file": "NetworkEdgeSecurityServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new service in the specified project using the data included in\nthe request.", - "file": "NetworkEdgeSecurityServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Insert", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new service in the specified project using the data included in\nthe request.", + "file": "NetworkEdgeSecurityServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.", - "file": "NetworkEdgeSecurityServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient.Patch", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Patch" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices.Patch", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1.NetworkEdgeSecurityServices" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.", + "file": "NetworkEdgeSecurityServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEdgeSecurityServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of network endpoint groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkEndpointGroupsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupsScopedListPairIterator", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.AggregatedList", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of network endpoint groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkEndpointGroupsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_AttachNetworkEndpoints_sync", - "title": "compute AttachNetworkEndpoints Sample", - "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", - "file": "NetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.AttachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.AttachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "AttachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachNetworkEndpointsNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachNetworkEndpointsNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AttachNetworkEndpoints", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.AttachNetworkEndpoints", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "AttachNetworkEndpoints" }, + "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", + "file": "NetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_AttachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network endpoint group. The network endpoints in the\nNEG and the VM instances they belong to are not terminated when the NEG is\ndeleted. Note that the NEG cannot be deleted if there are backend services\nreferencing it.", - "file": "NetworkEndpointGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.Delete", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network endpoint group. The network endpoints in the\nNEG and the VM instances they belong to are not terminated when the NEG is\ndeleted. Note that the NEG cannot be deleted if there are backend services\nreferencing it.", + "file": "NetworkEndpointGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_DetachNetworkEndpoints_sync", - "title": "compute DetachNetworkEndpoints Sample", - "description": "DetachNetworkEndpoints detach a list of network endpoints from the specified network endpoint\ngroup.", - "file": "NetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.DetachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.DetachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "DetachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachNetworkEndpointsNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachNetworkEndpointsNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "DetachNetworkEndpoints", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.DetachNetworkEndpoints", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "DetachNetworkEndpoints" }, + "description": "DetachNetworkEndpoints detach a list of network endpoints from the specified network endpoint\ngroup.", + "file": "NetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_DetachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network endpoint group.", - "file": "NetworkEndpointGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEndpointGroup", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.Get", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network endpoint group.", + "file": "NetworkEndpointGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", - "file": "NetworkEndpointGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.Insert", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", + "file": "NetworkEndpointGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project and zone.", - "file": "NetworkEndpointGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupIterator", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.List", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project and zone.", + "file": "NetworkEndpointGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_ListNetworkEndpoints_sync", - "title": "compute ListNetworkEndpoints Sample", - "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", - "file": "NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.ListNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.ListNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "ListNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointsNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointsNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointWithHealthStatusIterator", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "ListNetworkEndpoints", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.ListNetworkEndpoints", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "ListNetworkEndpoints" }, + "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", + "file": "NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_ListNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_NetworkEndpointGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworkEndpointGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups.TestIamPermissions", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.NetworkEndpointGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworkEndpointGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkEndpointGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified firewall policy.", - "file": "NetworkFirewallPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AddAssociation", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "AddAssociation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "AddAssociation inserts an association for the specified firewall policy.", + "file": "NetworkFirewallPoliciesClient/AddAssociation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AddAssociation_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AddPacketMirroringRule_sync", - "title": "compute AddPacketMirroringRule Sample", - "description": "AddPacketMirroringRule inserts a packet mirroring rule into a firewall policy.", - "file": "NetworkFirewallPoliciesClient/AddPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.AddPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AddPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AddPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddPacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddPacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddPacketMirroringRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AddPacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "AddPacketMirroringRule" }, + "description": "AddPacketMirroringRule inserts a packet mirroring rule into a firewall policy.", + "file": "NetworkFirewallPoliciesClient/AddPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AddPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddPacketMirroringRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a firewall policy.", - "file": "NetworkFirewallPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AddRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a firewall policy.", + "file": "NetworkFirewallPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of network firewall policies, listing network\nfirewall policies from all applicable scopes (global and regional) and\ngrouping the results per scope.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkFirewallPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPoliciesScopedListPairIterator", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.AggregatedList", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of network firewall policies, listing network\nfirewall policies from all applicable scopes (global and regional) and\ngrouping the results per scope.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkFirewallPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_CloneRules_sync", - "title": "compute CloneRules Sample", - "description": "CloneRules copies rules to the specified firewall policy.", - "file": "NetworkFirewallPoliciesClient/CloneRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneRules", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.CloneRules", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.CloneRules", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "CloneRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CloneRulesNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CloneRulesNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "CloneRules", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.CloneRules", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "CloneRules" }, + "description": "CloneRules copies rules to the specified firewall policy.", + "file": "NetworkFirewallPoliciesClient/CloneRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_CloneRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CloneRules Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "NetworkFirewallPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Delete", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "NetworkFirewallPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network firewall policy.", - "file": "NetworkFirewallPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicy", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Get", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network firewall policy.", + "file": "NetworkFirewallPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "NetworkFirewallPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyAssociation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetAssociation", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "NetworkFirewallPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NetworkFirewallPoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetIamPolicy", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NetworkFirewallPoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetPacketMirroringRule_sync", - "title": "compute GetPacketMirroringRule Sample", - "description": "GetPacketMirroringRule gets a packet mirroring rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/GetPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.GetPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetPacketMirroringRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetPacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "GetPacketMirroringRule" }, + "description": "GetPacketMirroringRule gets a packet mirroring rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/GetPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetPacketMirroringRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.GetRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "NetworkFirewallPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.Insert", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Insert" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Insert", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "NetworkFirewallPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the policies that have been configured for the specified project.", - "file": "NetworkFirewallPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.List", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the policies that have been configured for the specified project.", + "file": "NetworkFirewallPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.", - "file": "NetworkFirewallPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.Patch", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.", + "file": "NetworkFirewallPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_PatchPacketMirroringRule_sync", - "title": "compute PatchPacketMirroringRule Sample", - "description": "PatchPacketMirroringRule patches a packet mirroring rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/PatchPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.PatchPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.PatchPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "PatchPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchPacketMirroringRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.PatchPacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "PatchPacketMirroringRule" }, + "description": "PatchPacketMirroringRule patches a packet mirroring rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/PatchPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_PatchPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPacketMirroringRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.PatchRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified firewall policy.", - "file": "NetworkFirewallPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.RemoveAssociation", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified firewall policy.", + "file": "NetworkFirewallPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_RemovePacketMirroringRule_sync", - "title": "compute RemovePacketMirroringRule Sample", - "description": "RemovePacketMirroringRule deletes a packet mirroring rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/RemovePacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemovePacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.RemovePacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.RemovePacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "RemovePacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemovePacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemovePacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemovePacketMirroringRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.RemovePacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "RemovePacketMirroringRule" }, + "description": "RemovePacketMirroringRule deletes a packet mirroring rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/RemovePacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_RemovePacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemovePacketMirroringRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.RemoveRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NetworkFirewallPoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.SetIamPolicy", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NetworkFirewallPoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NetworkFirewallPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworkFirewallPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies.TestIamPermissions", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.NetworkFirewallPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworkFirewallPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkFirewallPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_NetworkProfiles_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network profile.", - "file": "NetworkProfilesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NetworkProfilesClient", + "shortName": "NetworkProfilesClient" + }, "fullName": "google.cloud.compute.v1.NetworkProfilesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NetworkProfiles.Get", + "service": { + "fullName": "google.cloud.compute.v1.NetworkProfiles", + "shortName": "NetworkProfiles" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkProfileRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkProfile", - "client": { - "shortName": "NetworkProfilesClient", - "fullName": "google.cloud.compute.v1.NetworkProfilesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NetworkProfiles.Get", - "service": { - "shortName": "NetworkProfiles", - "fullName": "google.cloud.compute.v1.NetworkProfiles" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the specified network profile.", + "file": "NetworkProfilesClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkProfiles_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NetworkProfiles_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of network profiles available to the specified\nproject.", - "file": "NetworkProfilesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NetworkProfilesClient", + "shortName": "NetworkProfilesClient" + }, "fullName": "google.cloud.compute.v1.NetworkProfilesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NetworkProfiles.List", + "service": { + "fullName": "google.cloud.compute.v1.NetworkProfiles", + "shortName": "NetworkProfiles" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkProfilesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkProfileIterator", - "client": { - "shortName": "NetworkProfilesClient", - "fullName": "google.cloud.compute.v1.NetworkProfilesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NetworkProfiles.List", - "service": { - "shortName": "NetworkProfiles", - "fullName": "google.cloud.compute.v1.NetworkProfiles" - } - } + "shortName": "List" }, + "description": "List retrieves a list of network profiles available to the specified\nproject.", + "file": "NetworkProfilesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NetworkProfiles_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Networks_AddPeering_sync", - "title": "compute AddPeering Sample", - "description": "AddPeering adds a peering to the specified network.", - "file": "NetworksClient/AddPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddPeering", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.AddPeering", + "method": { + "fullName": "google.cloud.compute.v1.Networks.AddPeering", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "AddPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddPeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.AddPeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "AddPeering", - "fullName": "google.cloud.compute.v1.Networks.AddPeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "AddPeering" }, + "description": "AddPeering adds a peering to the specified network.", + "file": "NetworksClient/AddPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_AddPeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddPeering Sample" }, { - "regionTag": "compute_v1_generated_Networks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network.", - "file": "NetworksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Networks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Networks.Delete", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network.", + "file": "NetworksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Networks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network.", - "file": "NetworksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Networks.Get", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Network", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Networks.Get", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network.", + "file": "NetworksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Networks_GetEffectiveFirewalls_sync", - "title": "compute GetEffectiveFirewalls Sample", - "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", - "file": "NetworksClient/GetEffectiveFirewalls/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveFirewalls", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.GetEffectiveFirewalls", + "method": { + "fullName": "google.cloud.compute.v1.Networks.GetEffectiveFirewalls", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "GetEffectiveFirewalls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveFirewallsNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveFirewallsNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworksGetEffectiveFirewallsResponse", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "GetEffectiveFirewalls", - "fullName": "google.cloud.compute.v1.Networks.GetEffectiveFirewalls", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "GetEffectiveFirewalls" }, + "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", + "file": "NetworksClient/GetEffectiveFirewalls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_GetEffectiveFirewalls_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveFirewalls Sample" }, { - "regionTag": "compute_v1_generated_Networks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network in the specified project using the data included\nin the request.", - "file": "NetworksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Networks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Networks.Insert", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network in the specified project using the data included\nin the request.", + "file": "NetworksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Networks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of networks available to the specified project.", - "file": "NetworksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Networks.List", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkIterator", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Networks.List", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of networks available to the specified project.", + "file": "NetworksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Networks_ListPeeringRoutes_sync", - "title": "compute ListPeeringRoutes Sample", - "description": "ListPeeringRoutes lists the peering routes exchanged over peering connection.", - "file": "NetworksClient/ListPeeringRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPeeringRoutes", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.ListPeeringRoutes", + "method": { + "fullName": "google.cloud.compute.v1.Networks.ListPeeringRoutes", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "ListPeeringRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPeeringRoutesNetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPeeringRoutesNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExchangedPeeringRouteIterator", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "ListPeeringRoutes", - "fullName": "google.cloud.compute.v1.Networks.ListPeeringRoutes", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "ListPeeringRoutes" }, + "description": "ListPeeringRoutes lists the peering routes exchanged over peering connection.", + "file": "NetworksClient/ListPeeringRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_ListPeeringRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPeeringRoutes Sample" }, { - "regionTag": "compute_v1_generated_Networks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified network with the data included in the request.\nOnly routingConfig can be modified.", - "file": "NetworksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Networks.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Networks.Patch", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified network with the data included in the request.\nOnly routingConfig can be modified.", + "file": "NetworksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Networks_RemovePeering_sync", - "title": "compute RemovePeering Sample", - "description": "RemovePeering removes a peering from the specified network.", - "file": "NetworksClient/RemovePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemovePeering", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.RemovePeering", + "method": { + "fullName": "google.cloud.compute.v1.Networks.RemovePeering", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "RemovePeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemovePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.RemovePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "RemovePeering", - "fullName": "google.cloud.compute.v1.Networks.RemovePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "RemovePeering" }, + "description": "RemovePeering removes a peering from the specified network.", + "file": "NetworksClient/RemovePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_RemovePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemovePeering Sample" }, { - "regionTag": "compute_v1_generated_Networks_RequestRemovePeering_sync", - "title": "compute RequestRemovePeering Sample", - "description": "RequestRemovePeering requests to remove a peering from the specified network. Applicable only\nfor PeeringConnection with update_strategy=CONSENSUS.", - "file": "NetworksClient/RequestRemovePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "RequestRemovePeering", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.RequestRemovePeering", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Networks.RequestRemovePeering", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "RequestRemovePeering" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RequestRemovePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.RequestRemovePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "RequestRemovePeering", - "fullName": "google.cloud.compute.v1.Networks.RequestRemovePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "RequestRemovePeering" }, + "description": "RequestRemovePeering requests to remove a peering from the specified network. Applicable only\nfor PeeringConnection with update_strategy=CONSENSUS.", + "file": "NetworksClient/RequestRemovePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_RequestRemovePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RequestRemovePeering Sample" }, { - "regionTag": "compute_v1_generated_Networks_SwitchToCustomMode_sync", - "title": "compute SwitchToCustomMode Sample", - "description": "SwitchToCustomMode switches the network mode from auto subnet mode to custom subnet mode.", - "file": "NetworksClient/SwitchToCustomMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchToCustomMode", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.SwitchToCustomMode", + "method": { + "fullName": "google.cloud.compute.v1.Networks.SwitchToCustomMode", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "SwitchToCustomMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SwitchToCustomModeNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.SwitchToCustomModeNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "SwitchToCustomMode", - "fullName": "google.cloud.compute.v1.Networks.SwitchToCustomMode", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "SwitchToCustomMode" }, + "description": "SwitchToCustomMode switches the network mode from auto subnet mode to custom subnet mode.", + "file": "NetworksClient/SwitchToCustomMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_SwitchToCustomMode_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SwitchToCustomMode Sample" }, { - "regionTag": "compute_v1_generated_Networks_UpdatePeering_sync", - "title": "compute UpdatePeering Sample", - "description": "UpdatePeering updates the specified network peering with the data included in the\nrequest. You can only modify the NetworkPeering.export_custom_routes field\nand the NetworkPeering.import_custom_routes field.", - "file": "NetworksClient/UpdatePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePeering", + "client": { + "fullName": "google.cloud.compute.v1.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1.NetworksClient.UpdatePeering", + "method": { + "fullName": "google.cloud.compute.v1.Networks.UpdatePeering", + "service": { + "fullName": "google.cloud.compute.v1.Networks", + "shortName": "Networks" + }, + "shortName": "UpdatePeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1.NetworksClient" - }, - "method": { - "shortName": "UpdatePeering", - "fullName": "google.cloud.compute.v1.Networks.UpdatePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1.Networks" - } - } + "shortName": "UpdatePeering" }, + "description": "UpdatePeering updates the specified network peering with the data included in the\nrequest. You can only modify the NetworkPeering.export_custom_routes field\nand the NetworkPeering.import_custom_routes field.", + "file": "NetworksClient/UpdatePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Networks_UpdatePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdatePeering Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_AddNodes_sync", - "title": "compute AddNodes Sample", - "description": "AddNodes adds specified number of nodes to the node group.", - "file": "NodeGroupsClient/AddNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddNodes", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.AddNodes", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.AddNodes", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "AddNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddNodesNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AddNodesNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "AddNodes", - "fullName": "google.cloud.compute.v1.NodeGroups.AddNodes", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "AddNodes" }, + "description": "AddNodes adds specified number of nodes to the node group.", + "file": "NodeGroupsClient/AddNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_AddNodes_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddNodes Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of node groups.\nNote: use nodeGroups.listNodes for more details about each group.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NodeGroupsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNodeGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNodeGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeGroupsScopedListPairIterator", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NodeGroups.AggregatedList", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of node groups.\nNote: use nodeGroups.listNodes for more details about each group.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NodeGroupsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NodeGroup resource.", - "file": "NodeGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.NodeGroups.Delete", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NodeGroup resource.", + "file": "NodeGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_DeleteNodes_sync", - "title": "compute DeleteNodes Sample", - "description": "DeleteNodes deletes specified nodes from the node group.", - "file": "NodeGroupsClient/DeleteNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNodes", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.DeleteNodes", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.DeleteNodes", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "DeleteNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNodesNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNodesNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "DeleteNodes", - "fullName": "google.cloud.compute.v1.NodeGroups.DeleteNodes", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "DeleteNodes" }, + "description": "DeleteNodes deletes specified nodes from the node group.", + "file": "NodeGroupsClient/DeleteNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_DeleteNodes_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteNodes Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified NodeGroup. Get a list of available NodeGroups\nby making a list() request.\nNote: the \"nodes\" field should not be used. Use nodeGroups.listNodes\ninstead.", - "file": "NodeGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NodeGroup", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NodeGroups.Get", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified NodeGroup. Get a list of available NodeGroups\nby making a list() request.\nNote: the \"nodes\" field should not be used. Use nodeGroups.listNodes\ninstead.", + "file": "NodeGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NodeGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.NodeGroups.GetIamPolicy", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NodeGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a NodeGroup resource in the specified project using the data\nincluded in the request.", - "file": "NodeGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.NodeGroups.Insert", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a NodeGroup resource in the specified project using the data\nincluded in the request.", + "file": "NodeGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of node groups available to the specified project.\nNote: use nodeGroups.listNodes for more details about each group.", - "file": "NodeGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodeGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodeGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeGroupIterator", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NodeGroups.List", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "List" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "List retrieves a list of node groups available to the specified project.\nNote: use nodeGroups.listNodes for more details about each group.", + "file": "NodeGroupsClient/List/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_List_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_ListNodes_sync", - "title": "compute ListNodes Sample", - "description": "ListNodes lists nodes in the node group.", - "file": "NodeGroupsClient/ListNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodes", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.ListNodes", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.ListNodes", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "ListNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodesNodeGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodesNodeGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeGroupNodeIterator", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "ListNodes", - "fullName": "google.cloud.compute.v1.NodeGroups.ListNodes", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "ListNodes" }, + "description": "ListNodes lists nodes in the node group.", + "file": "NodeGroupsClient/ListNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_ListNodes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNodes Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified node group.", - "file": "NodeGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.NodeGroups.Patch", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified node group.", + "file": "NodeGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance perform maintenance on a subset of nodes in the node group.", - "file": "NodeGroupsClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1.NodeGroups.PerformMaintenance", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance perform maintenance on a subset of nodes in the node group.", + "file": "NodeGroupsClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NodeGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.NodeGroups.SetIamPolicy", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NodeGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_SetNodeTemplate_sync", - "title": "compute SetNodeTemplate Sample", - "description": "SetNodeTemplate updates the node template of the node group.", - "file": "NodeGroupsClient/SetNodeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNodeTemplate", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.SetNodeTemplate", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.SetNodeTemplate", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "SetNodeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNodeTemplateNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNodeTemplateNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "SetNodeTemplate", - "fullName": "google.cloud.compute.v1.NodeGroups.SetNodeTemplate", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "SetNodeTemplate" }, + "description": "SetNodeTemplate updates the node template of the node group.", + "file": "NodeGroupsClient/SetNodeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_SetNodeTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetNodeTemplate Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_SimulateMaintenanceEvent_sync", - "title": "compute SimulateMaintenanceEvent Sample", - "description": "SimulateMaintenanceEvent simulates maintenance event on specified nodes from the node group.", - "file": "NodeGroupsClient/SimulateMaintenanceEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "SimulateMaintenanceEvent", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.SimulateMaintenanceEvent", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.SimulateMaintenanceEvent", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "SimulateMaintenanceEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SimulateMaintenanceEventNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SimulateMaintenanceEventNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "SimulateMaintenanceEvent", - "fullName": "google.cloud.compute.v1.NodeGroups.SimulateMaintenanceEvent", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "SimulateMaintenanceEvent" }, + "description": "SimulateMaintenanceEvent simulates maintenance event on specified nodes from the node group.", + "file": "NodeGroupsClient/SimulateMaintenanceEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_SimulateMaintenanceEvent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SimulateMaintenanceEvent Sample" }, { - "regionTag": "compute_v1_generated_NodeGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NodeGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1.NodeGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.NodeGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1.NodeGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.NodeGroups.TestIamPermissions", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1.NodeGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NodeGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of node templates.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NodeTemplatesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNodeTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNodeTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTemplatesScopedListPairIterator", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NodeTemplates.AggregatedList", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of node templates.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NodeTemplatesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NodeTemplate resource.", - "file": "NodeTemplatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.Delete", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.NodeTemplates.Delete", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NodeTemplate resource.", + "file": "NodeTemplatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified node template.", - "file": "NodeTemplatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.Get", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NodeTemplate", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NodeTemplates.Get", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified node template.", + "file": "NodeTemplatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NodeTemplatesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.NodeTemplates.GetIamPolicy", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NodeTemplatesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a NodeTemplate resource in the specified project using the data\nincluded in the request.", - "file": "NodeTemplatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.Insert", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.NodeTemplates.Insert", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "Insert" }, + "description": "Insert creates a NodeTemplate resource in the specified project using the data\nincluded in the request.", + "file": "NodeTemplatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of node templates available to the specified\nproject.", - "file": "NodeTemplatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.List", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodeTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodeTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTemplateIterator", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NodeTemplates.List", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "List" }, + "description": "List retrieves a list of node templates available to the specified\nproject.", + "file": "NodeTemplatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NodeTemplatesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.NodeTemplates.SetIamPolicy", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NodeTemplatesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_NodeTemplates_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NodeTemplatesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1.NodeTemplatesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.NodeTemplates.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1.NodeTemplatesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.NodeTemplates.TestIamPermissions", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1.NodeTemplates" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NodeTemplatesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTemplates_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_NodeTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of node types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NodeTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.NodeTypesClient", + "shortName": "NodeTypesClient" + }, "fullName": "google.cloud.compute.v1.NodeTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.NodeTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.NodeTypes", + "shortName": "NodeTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNodeTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNodeTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTypesScopedListPairIterator", - "client": { - "shortName": "NodeTypesClient", - "fullName": "google.cloud.compute.v1.NodeTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.NodeTypes.AggregatedList", - "service": { - "shortName": "NodeTypes", - "fullName": "google.cloud.compute.v1.NodeTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of node types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NodeTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_NodeTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified node type.", - "file": "NodeTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.NodeTypesClient", + "shortName": "NodeTypesClient" + }, "fullName": "google.cloud.compute.v1.NodeTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.NodeTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1.NodeTypes", + "shortName": "NodeTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNodeTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNodeTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NodeType", - "client": { - "shortName": "NodeTypesClient", - "fullName": "google.cloud.compute.v1.NodeTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.NodeTypes.Get", - "service": { - "shortName": "NodeTypes", - "fullName": "google.cloud.compute.v1.NodeTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified node type.", + "file": "NodeTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_NodeTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of node types available to the specified\nproject.", - "file": "NodeTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.NodeTypesClient", + "shortName": "NodeTypesClient" + }, "fullName": "google.cloud.compute.v1.NodeTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.NodeTypes.List", + "service": { + "fullName": "google.cloud.compute.v1.NodeTypes", + "shortName": "NodeTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodeTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodeTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTypeIterator", - "client": { - "shortName": "NodeTypesClient", - "fullName": "google.cloud.compute.v1.NodeTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.NodeTypes.List", - "service": { - "shortName": "NodeTypes", - "fullName": "google.cloud.compute.v1.NodeTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of node types available to the specified\nproject.", + "file": "NodeTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_NodeTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified security policy.\n\nThis has billing implications. Projects in the hierarchy with effective\nhierarchical security policies will be automatically enrolled into Cloud\nArmor Enterprise if not already enrolled.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addAssociation\ninstead.", - "file": "OrganizationSecurityPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.AddAssociation", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified security policy.\n\nThis has billing implications. Projects in the hierarchy with effective\nhierarchical security policies will be automatically enrolled into Cloud\nArmor Enterprise if not already enrolled.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addAssociation\ninstead.", + "file": "OrganizationSecurityPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addRule instead.", - "file": "OrganizationSecurityPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.AddRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addRule instead.", + "file": "OrganizationSecurityPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_CopyRules_sync", - "title": "compute CopyRules Sample", - "description": "CopyRules copies rules to the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.cloneRules\ninstead.", - "file": "OrganizationSecurityPoliciesClient/CopyRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CopyRules", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.CopyRules", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.CopyRules", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "CopyRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CopyRulesOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CopyRulesOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "CopyRules", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.CopyRules", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "CopyRules" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CopyRules copies rules to the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.cloneRules\ninstead.", + "file": "OrganizationSecurityPoliciesClient/CopyRules/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_CopyRules_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CopyRules Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.\n\nUse this API to remove Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to remove firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.delete instead.", - "file": "OrganizationSecurityPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Delete", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.\n\nUse this API to remove Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to remove firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.delete instead.", + "file": "OrganizationSecurityPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get list all of the ordered rules present in a single specified policy.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.get instead.", - "file": "OrganizationSecurityPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicy", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Get", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "Get" }, + "description": "Get list all of the ordered rules present in a single specified policy.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.get instead.", + "file": "OrganizationSecurityPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.getAssociation\ninstead.", - "file": "OrganizationSecurityPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyAssociation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.GetAssociation", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.getAssociation\ninstead.", + "file": "OrganizationSecurityPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule at the specified priority.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.getRule instead.", - "file": "OrganizationSecurityPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyRule", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.GetRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule at the specified priority.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.getRule instead.", + "file": "OrganizationSecurityPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified organization using the data included\nin the request.\n\nUse this API to add Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to add firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.insert instead.", - "file": "OrganizationSecurityPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Insert", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified organization using the data included\nin the request.\n\nUse this API to add Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to add firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.insert instead.", + "file": "OrganizationSecurityPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_List_sync", - "title": "compute List Sample", - "description": "List list all the policies that have been configured for the specified\norganization.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.list instead.", - "file": "OrganizationSecurityPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListOrganizationSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListOrganizationSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPolicyIterator", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.List", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "List" }, + "description": "List list all the policies that have been configured for the specified\norganization.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.list instead.", + "file": "OrganizationSecurityPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_ListAssociations_sync", - "title": "compute ListAssociations Sample", - "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.listAssociations\ninstead.", - "file": "OrganizationSecurityPoliciesClient/ListAssociations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssociations", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.ListAssociations", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.ListAssociations", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "ListAssociations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAssociationsOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAssociationsOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.OrganizationSecurityPoliciesListAssociationsResponse", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "ListAssociations", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.ListAssociations", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "ListAssociations" }, + "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.listAssociations\ninstead.", + "file": "OrganizationSecurityPoliciesClient/ListAssociations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_ListAssociations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAssociations Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_ListPreconfiguredExpressionSets_sync", - "title": "compute ListPreconfiguredExpressionSets Sample", - "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", - "file": "OrganizationSecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPreconfiguredExpressionSets", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.ListPreconfiguredExpressionSets", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.ListPreconfiguredExpressionSets", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "ListPreconfiguredExpressionSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPoliciesListPreconfiguredExpressionSetsResponse", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "ListPreconfiguredExpressionSets", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.ListPreconfiguredExpressionSets", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "ListPreconfiguredExpressionSets" }, + "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", + "file": "OrganizationSecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_ListPreconfiguredExpressionSets_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPreconfiguredExpressionSets Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.move instead.", - "file": "OrganizationSecurityPoliciesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Move", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Move", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "Move" }, + "description": "Move moves the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.move instead.", + "file": "OrganizationSecurityPoliciesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patch instead.", - "file": "OrganizationSecurityPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.Patch", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patch instead.", + "file": "OrganizationSecurityPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patchRule\ninstead.", - "file": "OrganizationSecurityPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.PatchRule", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "PatchRule" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.PatchRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patchRule\ninstead.", + "file": "OrganizationSecurityPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeAssociation\ninstead.", - "file": "OrganizationSecurityPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.RemoveAssociation", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeAssociation\ninstead.", + "file": "OrganizationSecurityPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeRule\ninstead.", - "file": "OrganizationSecurityPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies.RemoveRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1.OrganizationSecurityPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeRule\ninstead.", + "file": "OrganizationSecurityPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_OrganizationSecurityPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of packetMirrorings.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "PacketMirroringsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListPacketMirroringsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListPacketMirroringsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PacketMirroringsScopedListPairIterator", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.PacketMirrorings.AggregatedList", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of packetMirrorings.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "PacketMirroringsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified PacketMirroring resource.", - "file": "PacketMirroringsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.Delete", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.PacketMirrorings.Delete", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified PacketMirroring resource.", + "file": "PacketMirroringsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified PacketMirroring resource.", - "file": "PacketMirroringsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.Get", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PacketMirroring", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.PacketMirrorings.Get", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "Get" }, + "description": "Get returns the specified PacketMirroring resource.", + "file": "PacketMirroringsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a PacketMirroring resource in the specified project and region\nusing the data included in the request.", - "file": "PacketMirroringsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.Insert", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.PacketMirrorings.Insert", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "Insert" }, + "description": "Insert creates a PacketMirroring resource in the specified project and region\nusing the data included in the request.", + "file": "PacketMirroringsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of PacketMirroring resources available to the specified\nproject and region.", - "file": "PacketMirroringsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.List", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPacketMirroringsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPacketMirroringsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PacketMirroringIterator", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.PacketMirrorings.List", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "List" }, + "description": "List retrieves a list of PacketMirroring resources available to the specified\nproject and region.", + "file": "PacketMirroringsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified PacketMirroring resource with the data included in\nthe request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "PacketMirroringsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.Patch", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.PacketMirrorings.Patch", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified PacketMirroring resource with the data included in\nthe request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "PacketMirroringsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_PacketMirrorings_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "PacketMirroringsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1.PacketMirroringsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.PacketMirrorings.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1.PacketMirroringsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.PacketMirrorings.TestIamPermissions", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1.PacketMirrorings" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "PacketMirroringsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PacketMirrorings_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_PreviewFeatures_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the details of the given PreviewFeature.", - "file": "PreviewFeaturesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.PreviewFeaturesClient", + "shortName": "PreviewFeaturesClient" + }, "fullName": "google.cloud.compute.v1.PreviewFeaturesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.PreviewFeatures.Get", + "service": { + "fullName": "google.cloud.compute.v1.PreviewFeatures", + "shortName": "PreviewFeatures" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPreviewFeatureRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPreviewFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PreviewFeature", - "client": { - "shortName": "PreviewFeaturesClient", - "fullName": "google.cloud.compute.v1.PreviewFeaturesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.PreviewFeatures.Get", - "service": { - "shortName": "PreviewFeatures", - "fullName": "google.cloud.compute.v1.PreviewFeatures" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the details of the given PreviewFeature.", + "file": "PreviewFeaturesClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PreviewFeatures_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_PreviewFeatures_List_sync", - "title": "compute List Sample", - "description": "List returns the details of the given PreviewFeature.", - "file": "PreviewFeaturesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.PreviewFeaturesClient", + "shortName": "PreviewFeaturesClient" + }, "fullName": "google.cloud.compute.v1.PreviewFeaturesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.PreviewFeatures.List", + "service": { + "fullName": "google.cloud.compute.v1.PreviewFeatures", + "shortName": "PreviewFeatures" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPreviewFeaturesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPreviewFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PreviewFeatureIterator", - "client": { - "shortName": "PreviewFeaturesClient", - "fullName": "google.cloud.compute.v1.PreviewFeaturesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.PreviewFeatures.List", - "service": { - "shortName": "PreviewFeatures", - "fullName": "google.cloud.compute.v1.PreviewFeatures" - } - } + "shortName": "List" }, + "description": "List returns the details of the given PreviewFeature.", + "file": "PreviewFeaturesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PreviewFeatures_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_PreviewFeatures_Update_sync", - "title": "compute Update Sample", - "description": "Update patches the given PreviewFeature. This method is used to enable or disable\na PreviewFeature.", - "file": "PreviewFeaturesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.PreviewFeaturesClient", + "shortName": "PreviewFeaturesClient" + }, "fullName": "google.cloud.compute.v1.PreviewFeaturesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.PreviewFeatures.Update", + "service": { + "fullName": "google.cloud.compute.v1.PreviewFeatures", + "shortName": "PreviewFeatures" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePreviewFeatureRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePreviewFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PreviewFeaturesClient", - "fullName": "google.cloud.compute.v1.PreviewFeaturesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.PreviewFeatures.Update", - "service": { - "shortName": "PreviewFeatures", - "fullName": "google.cloud.compute.v1.PreviewFeatures" - } - } + "shortName": "Update" }, + "description": "Update patches the given PreviewFeature. This method is used to enable or disable\na PreviewFeature.", + "file": "PreviewFeaturesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PreviewFeatures_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_Projects_DisableXpnHost_sync", - "title": "compute DisableXpnHost Sample", - "description": "DisableXpnHost disable this project as a shared VPC host project.", - "file": "ProjectsClient/DisableXpnHost/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableXpnHost", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.DisableXpnHost", + "method": { + "fullName": "google.cloud.compute.v1.Projects.DisableXpnHost", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "DisableXpnHost" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DisableXpnHostProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.DisableXpnHostProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "DisableXpnHost", - "fullName": "google.cloud.compute.v1.Projects.DisableXpnHost", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "DisableXpnHost" }, + "description": "DisableXpnHost disable this project as a shared VPC host project.", + "file": "ProjectsClient/DisableXpnHost/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_DisableXpnHost_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DisableXpnHost Sample" }, { - "regionTag": "compute_v1_generated_Projects_DisableXpnResource_sync", - "title": "compute DisableXpnResource Sample", - "description": "DisableXpnResource disable a service resource (also known as service project) associated with\nthis host project.", - "file": "ProjectsClient/DisableXpnResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableXpnResource", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.DisableXpnResource", + "method": { + "fullName": "google.cloud.compute.v1.Projects.DisableXpnResource", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "DisableXpnResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DisableXpnResourceProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.DisableXpnResourceProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "DisableXpnResource", - "fullName": "google.cloud.compute.v1.Projects.DisableXpnResource", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "DisableXpnResource" }, + "description": "DisableXpnResource disable a service resource (also known as service project) associated with\nthis host project.", + "file": "ProjectsClient/DisableXpnResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_DisableXpnResource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DisableXpnResource Sample" }, { - "regionTag": "compute_v1_generated_Projects_EnableXpnHost_sync", - "title": "compute EnableXpnHost Sample", - "description": "EnableXpnHost enable this project as a shared VPC host project.", - "file": "ProjectsClient/EnableXpnHost/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableXpnHost", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.EnableXpnHost", + "method": { + "fullName": "google.cloud.compute.v1.Projects.EnableXpnHost", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "EnableXpnHost" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.EnableXpnHostProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.EnableXpnHostProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "EnableXpnHost", - "fullName": "google.cloud.compute.v1.Projects.EnableXpnHost", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "EnableXpnHost" }, + "description": "EnableXpnHost enable this project as a shared VPC host project.", + "file": "ProjectsClient/EnableXpnHost/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_EnableXpnHost_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute EnableXpnHost Sample" }, { - "regionTag": "compute_v1_generated_Projects_EnableXpnResource_sync", - "title": "compute EnableXpnResource Sample", - "description": "EnableXpnResource enable service resource (a.k.a service project) for a host project, so that\nsubnets in the host project can be used by instances in the service\nproject.", - "file": "ProjectsClient/EnableXpnResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableXpnResource", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.EnableXpnResource", + "method": { + "fullName": "google.cloud.compute.v1.Projects.EnableXpnResource", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "EnableXpnResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.EnableXpnResourceProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.EnableXpnResourceProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "EnableXpnResource", - "fullName": "google.cloud.compute.v1.Projects.EnableXpnResource", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "EnableXpnResource" }, + "description": "EnableXpnResource enable service resource (a.k.a service project) for a host project, so that\nsubnets in the host project can be used by instances in the service\nproject.", + "file": "ProjectsClient/EnableXpnResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_EnableXpnResource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute EnableXpnResource Sample" }, { - "regionTag": "compute_v1_generated_Projects_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Project resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.", - "file": "ProjectsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Projects.Get", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Project", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Projects.Get", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Project resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.", + "file": "ProjectsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Projects_GetXpnHost_sync", - "title": "compute GetXpnHost Sample", - "description": "GetXpnHost gets the shared VPC host project that this project links to. May be empty\nif no link exists.", - "file": "ProjectsClient/GetXpnHost/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetXpnHost", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.GetXpnHost", + "method": { + "fullName": "google.cloud.compute.v1.Projects.GetXpnHost", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "GetXpnHost" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetXpnHostProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetXpnHostProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Project", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "GetXpnHost", - "fullName": "google.cloud.compute.v1.Projects.GetXpnHost", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "GetXpnHost" }, + "description": "GetXpnHost gets the shared VPC host project that this project links to. May be empty\nif no link exists.", + "file": "ProjectsClient/GetXpnHost/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_GetXpnHost_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetXpnHost Sample" }, { - "regionTag": "compute_v1_generated_Projects_GetXpnResources_sync", - "title": "compute GetXpnResources Sample", - "description": "GetXpnResources gets service resources (a.k.a service project) associated with this host\nproject.", - "file": "ProjectsClient/GetXpnResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetXpnResources", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.GetXpnResources", + "method": { + "fullName": "google.cloud.compute.v1.Projects.GetXpnResources", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "GetXpnResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetXpnResourcesProjectsRequest", - "name": "req" + "name": "req", + "type": "computepb.GetXpnResourcesProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "XpnResourceIdIterator", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "GetXpnResources", - "fullName": "google.cloud.compute.v1.Projects.GetXpnResources", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "GetXpnResources" }, + "description": "GetXpnResources gets service resources (a.k.a service project) associated with this host\nproject.", + "file": "ProjectsClient/GetXpnResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_GetXpnResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetXpnResources Sample" }, { - "regionTag": "compute_v1_generated_Projects_ListXpnHosts_sync", - "title": "compute ListXpnHosts Sample", - "description": "ListXpnHosts lists all shared VPC host projects visible to the user in an organization.", - "file": "ProjectsClient/ListXpnHosts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListXpnHosts", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.ListXpnHosts", + "method": { + "fullName": "google.cloud.compute.v1.Projects.ListXpnHosts", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "ListXpnHosts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListXpnHostsProjectsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListXpnHostsProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProjectIterator", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "ListXpnHosts", - "fullName": "google.cloud.compute.v1.Projects.ListXpnHosts", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "ListXpnHosts" }, + "description": "ListXpnHosts lists all shared VPC host projects visible to the user in an organization.", + "file": "ProjectsClient/ListXpnHosts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_ListXpnHosts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListXpnHosts Sample" }, { - "regionTag": "compute_v1_generated_Projects_MoveDisk_sync", - "title": "compute MoveDisk Sample", - "description": "MoveDisk moves a persistent disk from one zone to another.\n*Note*: The moveDisk API will be deprecated on September 29, 2026.\n\nStarting September 29, 2025, you can't use the moveDisk API on new\nprojects. To move a disk to a different region or zone, follow the steps in\n[Change the location of a\ndisk](https: //cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).\n\nProjects that already use the moveDisk API can continue usage until\nSeptember 29, 2026.\n\nStarting November 1, 2025, API responses will include a warning message in\nthe response body about the upcoming deprecation. You can skip the message\nto continue using the service without interruption.", - "file": "ProjectsClient/MoveDisk/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveDisk", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.MoveDisk", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Projects.MoveDisk", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "MoveDisk" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveDiskProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveDiskProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "MoveDisk", - "fullName": "google.cloud.compute.v1.Projects.MoveDisk", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "MoveDisk" }, + "description": "MoveDisk moves a persistent disk from one zone to another.\n*Note*: The moveDisk API will be deprecated on September 29, 2026.\n\nStarting September 29, 2025, you can't use the moveDisk API on new\nprojects. To move a disk to a different region or zone, follow the steps in\n[Change the location of a\ndisk](https: //cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).\n\nProjects that already use the moveDisk API can continue usage until\nSeptember 29, 2026.\n\nStarting November 1, 2025, API responses will include a warning message in\nthe response body about the upcoming deprecation. You can skip the message\nto continue using the service without interruption.", + "file": "ProjectsClient/MoveDisk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_MoveDisk_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute MoveDisk Sample" }, { - "regionTag": "compute_v1_generated_Projects_MoveInstance_sync", - "title": "compute MoveInstance Sample", - "description": "MoveInstance moves an instance and its attached persistent disks from one zone to\nanother.\n*Note*: Moving VMs or disks by using this method might\ncause unexpected behavior. For more information, see the [known\nissue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).\n[Deprecated] This method is deprecated. See [moving instance across\nzones](/compute/docs/instances/moving-instance-across-zones) instead.", - "file": "ProjectsClient/MoveInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveInstance", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.MoveInstance", + "method": { + "fullName": "google.cloud.compute.v1.Projects.MoveInstance", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "MoveInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveInstanceProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveInstanceProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "MoveInstance", - "fullName": "google.cloud.compute.v1.Projects.MoveInstance", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "MoveInstance" }, + "description": "MoveInstance moves an instance and its attached persistent disks from one zone to\nanother.\n*Note*: Moving VMs or disks by using this method might\ncause unexpected behavior. For more information, see the [known\nissue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).\n[Deprecated] This method is deprecated. See [moving instance across\nzones](/compute/docs/instances/moving-instance-across-zones) instead.", + "file": "ProjectsClient/MoveInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_MoveInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute MoveInstance Sample" }, { - "regionTag": "compute_v1_generated_Projects_SetCloudArmorTier_sync", - "title": "compute SetCloudArmorTier Sample", - "description": "SetCloudArmorTier sets the Cloud Armor tier of the project. To set ENTERPRISE or above the\nbilling account of the project must be subscribed to Cloud Armor\nEnterprise. See Subscribing\nto Cloud Armor Enterprise for more information.", - "file": "ProjectsClient/SetCloudArmorTier/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCloudArmorTier", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.SetCloudArmorTier", + "method": { + "fullName": "google.cloud.compute.v1.Projects.SetCloudArmorTier", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "SetCloudArmorTier" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCloudArmorTierProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCloudArmorTierProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "SetCloudArmorTier", - "fullName": "google.cloud.compute.v1.Projects.SetCloudArmorTier", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "SetCloudArmorTier" }, + "description": "SetCloudArmorTier sets the Cloud Armor tier of the project. To set ENTERPRISE or above the\nbilling account of the project must be subscribed to Cloud Armor\nEnterprise. See Subscribing\nto Cloud Armor Enterprise for more information.", + "file": "ProjectsClient/SetCloudArmorTier/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_SetCloudArmorTier_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCloudArmorTier Sample" }, { - "regionTag": "compute_v1_generated_Projects_SetCommonInstanceMetadata_sync", - "title": "compute SetCommonInstanceMetadata Sample", - "description": "SetCommonInstanceMetadata sets metadata common to all instances within the specified project using\nthe data included in the request.", - "file": "ProjectsClient/SetCommonInstanceMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCommonInstanceMetadata", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.SetCommonInstanceMetadata", + "method": { + "fullName": "google.cloud.compute.v1.Projects.SetCommonInstanceMetadata", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "SetCommonInstanceMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCommonInstanceMetadataProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCommonInstanceMetadataProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "SetCommonInstanceMetadata", - "fullName": "google.cloud.compute.v1.Projects.SetCommonInstanceMetadata", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "SetCommonInstanceMetadata" }, + "description": "SetCommonInstanceMetadata sets metadata common to all instances within the specified project using\nthe data included in the request.", + "file": "ProjectsClient/SetCommonInstanceMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_SetCommonInstanceMetadata_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCommonInstanceMetadata Sample" }, { - "regionTag": "compute_v1_generated_Projects_SetDefaultNetworkTier_sync", - "title": "compute SetDefaultNetworkTier Sample", - "description": "SetDefaultNetworkTier sets the default network tier of the project. The default network tier is\nused when an address/forwardingRule/instance is created without specifying\nthe network tier field.", - "file": "ProjectsClient/SetDefaultNetworkTier/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultNetworkTier", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.SetDefaultNetworkTier", + "method": { + "fullName": "google.cloud.compute.v1.Projects.SetDefaultNetworkTier", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "SetDefaultNetworkTier" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetDefaultNetworkTierProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetDefaultNetworkTierProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "SetDefaultNetworkTier", - "fullName": "google.cloud.compute.v1.Projects.SetDefaultNetworkTier", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "SetDefaultNetworkTier" }, + "description": "SetDefaultNetworkTier sets the default network tier of the project. The default network tier is\nused when an address/forwardingRule/instance is created without specifying\nthe network tier field.", + "file": "ProjectsClient/SetDefaultNetworkTier/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_SetDefaultNetworkTier_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetDefaultNetworkTier Sample" }, { - "regionTag": "compute_v1_generated_Projects_SetUsageExportBucket_sync", - "title": "compute SetUsageExportBucket Sample", - "description": "SetUsageExportBucket enables the usage export feature and sets theusage export bucket\nwhere reports are stored. If you provide an empty request body using this\nmethod, the usage export feature will be disabled.", - "file": "ProjectsClient/SetUsageExportBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUsageExportBucket", + "client": { + "fullName": "google.cloud.compute.v1.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1.ProjectsClient.SetUsageExportBucket", + "method": { + "fullName": "google.cloud.compute.v1.Projects.SetUsageExportBucket", + "service": { + "fullName": "google.cloud.compute.v1.Projects", + "shortName": "Projects" + }, + "shortName": "SetUsageExportBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUsageExportBucketProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUsageExportBucketProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1.ProjectsClient" - }, - "method": { - "shortName": "SetUsageExportBucket", - "fullName": "google.cloud.compute.v1.Projects.SetUsageExportBucket", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1.Projects" - } - } + "shortName": "SetUsageExportBucket" }, + "description": "SetUsageExportBucket enables the usage export feature and sets theusage export bucket\nwhere reports are stored. If you provide an empty request body using this\nmethod, the usage export feature will be disabled.", + "file": "ProjectsClient/SetUsageExportBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Projects_SetUsageExportBucket_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUsageExportBucket Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Announce_sync", - "title": "compute Announce Sample", - "description": "Announce announces the specified PublicAdvertisedPrefix", - "file": "PublicAdvertisedPrefixesClient/Announce/main.go", - "language": "GO", "clientMethod": { - "shortName": "Announce", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.Announce", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Announce", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Announce" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AnnouncePublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.AnnouncePublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Announce", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Announce", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "Announce" }, + "description": "Announce announces the specified PublicAdvertisedPrefix", + "file": "PublicAdvertisedPrefixesClient/Announce/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Announce_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Announce Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified PublicAdvertisedPrefix", - "file": "PublicAdvertisedPrefixesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Delete", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Delete", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified PublicAdvertisedPrefix", + "file": "PublicAdvertisedPrefixesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified PublicAdvertisedPrefix resource.", - "file": "PublicAdvertisedPrefixesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Get", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PublicAdvertisedPrefix", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Get", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified PublicAdvertisedPrefix resource.", + "file": "PublicAdvertisedPrefixesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a PublicAdvertisedPrefix in the specified project\nusing the parameters that are included in the request.", - "file": "PublicAdvertisedPrefixesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Insert", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Insert", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a PublicAdvertisedPrefix in the specified project\nusing the parameters that are included in the request.", + "file": "PublicAdvertisedPrefixesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_List_sync", - "title": "compute List Sample", - "description": "List lists the PublicAdvertisedPrefixes for a project.", - "file": "PublicAdvertisedPrefixesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.List", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPublicAdvertisedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPublicAdvertisedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicAdvertisedPrefixIterator", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.List", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "List" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "List lists the PublicAdvertisedPrefixes for a project.", + "file": "PublicAdvertisedPrefixesClient/List/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_List_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "PublicAdvertisedPrefixesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Patch", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Patch", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "PublicAdvertisedPrefixesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Withdraw_sync", - "title": "compute Withdraw Sample", - "description": "Withdraw withdraws the specified PublicAdvertisedPrefix", - "file": "PublicAdvertisedPrefixesClient/Withdraw/main.go", - "language": "GO", "clientMethod": { - "shortName": "Withdraw", + "client": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient.Withdraw", + "method": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Withdraw", + "service": { + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Withdraw" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WithdrawPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.WithdrawPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Withdraw", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Withdraw", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes" - } - } + "shortName": "Withdraw" }, + "description": "Withdraw withdraws the specified PublicAdvertisedPrefix", + "file": "PublicAdvertisedPrefixesClient/Withdraw/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicAdvertisedPrefixes_Withdraw_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Withdraw Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList lists all PublicDelegatedPrefix resources owned by the specific project\nacross all scopes.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "PublicDelegatedPrefixesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListPublicDelegatedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListPublicDelegatedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicDelegatedPrefixesScopedListPairIterator", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.AggregatedList", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList lists all PublicDelegatedPrefix resources owned by the specific project\nacross all scopes.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "PublicDelegatedPrefixesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Announce_sync", - "title": "compute Announce Sample", - "description": "Announce announces the specified PublicDelegatedPrefix in the given region.", - "file": "PublicDelegatedPrefixesClient/Announce/main.go", - "language": "GO", "clientMethod": { - "shortName": "Announce", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.Announce", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Announce", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Announce" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AnnouncePublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.AnnouncePublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Announce", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Announce", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "Announce" }, + "description": "Announce announces the specified PublicDelegatedPrefix in the given region.", + "file": "PublicDelegatedPrefixesClient/Announce/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Announce_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Announce Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified PublicDelegatedPrefix in the given region.", - "file": "PublicDelegatedPrefixesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Delete", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Delete", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified PublicDelegatedPrefix in the given region.", + "file": "PublicDelegatedPrefixesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified PublicDelegatedPrefix resource in the given region.", - "file": "PublicDelegatedPrefixesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Get", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PublicDelegatedPrefix", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Get", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified PublicDelegatedPrefix resource in the given region.", + "file": "PublicDelegatedPrefixesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a PublicDelegatedPrefix in the specified project in the given\nregion using the parameters that are included in the request.", - "file": "PublicDelegatedPrefixesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Insert", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Insert", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a PublicDelegatedPrefix in the specified project in the given\nregion using the parameters that are included in the request.", + "file": "PublicDelegatedPrefixesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_List_sync", - "title": "compute List Sample", - "description": "List lists the PublicDelegatedPrefixes for a project in the given region.", - "file": "PublicDelegatedPrefixesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.List", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPublicDelegatedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPublicDelegatedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicDelegatedPrefixIterator", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.List", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "List" }, + "description": "List lists the PublicDelegatedPrefixes for a project in the given region.", + "file": "PublicDelegatedPrefixesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified PublicDelegatedPrefix resource with the data included\nin the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "PublicDelegatedPrefixesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Patch", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Patch", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified PublicDelegatedPrefix resource with the data included\nin the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "PublicDelegatedPrefixesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Withdraw_sync", - "title": "compute Withdraw Sample", - "description": "Withdraw withdraws the specified PublicDelegatedPrefix in the given region.", - "file": "PublicDelegatedPrefixesClient/Withdraw/main.go", - "language": "GO", "clientMethod": { - "shortName": "Withdraw", + "client": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient.Withdraw", + "method": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Withdraw", + "service": { + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Withdraw" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WithdrawPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.WithdrawPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Withdraw", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Withdraw", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes" - } - } + "shortName": "Withdraw" }, + "description": "Withdraw withdraws the specified PublicDelegatedPrefix in the given region.", + "file": "PublicDelegatedPrefixesClient/Withdraw/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_PublicDelegatedPrefixes_Withdraw_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Withdraw Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified autoscaler.", - "file": "RegionAutoscalersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.Delete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Delete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.Delete", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified autoscaler.", + "file": "RegionAutoscalersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified autoscaler.", - "file": "RegionAutoscalersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Autoscaler", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.Get", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "Get" }, + "description": "Get returns the specified autoscaler.", + "file": "RegionAutoscalersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an autoscaler in the specified project using\nthe data included in the request.", - "file": "RegionAutoscalersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.Insert", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "Insert" }, + "description": "Insert creates an autoscaler in the specified project using\nthe data included in the request.", + "file": "RegionAutoscalersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of autoscalers contained within\nthe specified region.", - "file": "RegionAutoscalersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionAutoscalersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionAutoscalersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalerIterator", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.List", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of autoscalers contained within\nthe specified region.", + "file": "RegionAutoscalersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates an autoscaler in the specified project using\nthe data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionAutoscalersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.Patch", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "Patch" }, + "description": "Patch updates an autoscaler in the specified project using\nthe data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionAutoscalersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionAutoscalersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.TestIamPermissions", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionAutoscalersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionAutoscalers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates an autoscaler in the specified project using\nthe data included in the request.", - "file": "RegionAutoscalersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1.RegionAutoscalersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers.Update", + "service": { + "fullName": "google.cloud.compute.v1.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1.RegionAutoscalersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.RegionAutoscalers.Update", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1.RegionAutoscalers" - } - } + "shortName": "Update" }, + "description": "Update updates an autoscaler in the specified project using\nthe data included in the request.", + "file": "RegionAutoscalersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionAutoscalers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional BackendService resource.", - "file": "RegionBackendServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionBackendServices.Delete", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional BackendService resource.", + "file": "RegionBackendServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional BackendService resource.", - "file": "RegionBackendServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendService", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionBackendServices.Get", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "Get" }, + "description": "Get returns the specified regional BackendService resource.", + "file": "RegionBackendServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_GetHealth_sync", - "title": "compute GetHealth Sample", - "description": "GetHealth gets the most recent health check results for this\nregional BackendService.", - "file": "RegionBackendServicesClient/GetHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHealth", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.GetHealth", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.GetHealth", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "GetHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendServiceGroupHealth", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "GetHealth", - "fullName": "google.cloud.compute.v1.RegionBackendServices.GetHealth", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "GetHealth" }, + "description": "GetHealth gets the most recent health check results for this\nregional BackendService.", + "file": "RegionBackendServicesClient/GetHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_GetHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetHealth Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionBackendServicesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionBackendServices.GetIamPolicy", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionBackendServicesClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a regional BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", - "file": "RegionBackendServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionBackendServices.Insert", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a regional BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", + "file": "RegionBackendServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of regional BackendService resources available to the\nspecified project in the given region.", - "file": "RegionBackendServicesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionBackendServices.List", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "List" }, + "description": "List retrieves the list of regional BackendService resources available to the\nspecified project in the given region.", + "file": "RegionBackendServicesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves a list of all usable backend services in the specified project in\nthe given region.", - "file": "RegionBackendServicesClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableRegionBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableRegionBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1.RegionBackendServices.ListUsable", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves a list of all usable backend services in the specified project in\nthe given region.", + "file": "RegionBackendServicesClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional BackendService resource with the data\nincluded in the request. For more information, see\nUnderstanding backend services This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "RegionBackendServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionBackendServices.Patch", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional BackendService resource with the data\nincluded in the request. For more information, see\nUnderstanding backend services This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "RegionBackendServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionBackendServicesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionBackendServices.SetIamPolicy", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionBackendServicesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", - "file": "RegionBackendServicesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1.RegionBackendServices.SetSecurityPolicy", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", + "file": "RegionBackendServicesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionBackendServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionBackendServices.TestIamPermissions", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionBackendServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionBackendServices_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified regional BackendService resource with the data\nincluded in the request. For more information,\nsee\nBackend services overview.", - "file": "RegionBackendServicesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionBackendServicesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.RegionBackendServices.Update", + "service": { + "fullName": "google.cloud.compute.v1.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1.RegionBackendServicesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.RegionBackendServices.Update", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1.RegionBackendServices" - } - } + "shortName": "Update" }, + "description": "Update updates the specified regional BackendService resource with the data\nincluded in the request. For more information,\nsee\nBackend services overview.", + "file": "RegionBackendServicesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionBackendServices_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_RegionCommitments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of commitments by region.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionCommitmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1.RegionCommitmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.RegionCommitments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionCommitmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionCommitmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitmentsScopedListPairIterator", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1.RegionCommitmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.RegionCommitments.AggregatedList", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1.RegionCommitments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of commitments by region.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionCommitmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCommitments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_RegionCommitments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified commitment resource.", - "file": "RegionCommitmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1.RegionCommitmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionCommitments.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Commitment", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1.RegionCommitmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionCommitments.Get", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1.RegionCommitments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified commitment resource.", + "file": "RegionCommitmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCommitments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionCommitments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a commitment in the specified project using the data\nincluded in the request.", - "file": "RegionCommitmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1.RegionCommitmentsClient.Insert", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionCommitments.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "Insert" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1.RegionCommitmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionCommitments.Insert", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1.RegionCommitments" - } - } + "shortName": "Insert" }, + "description": "Insert creates a commitment in the specified project using the data\nincluded in the request.", + "file": "RegionCommitmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCommitments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionCommitments_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of commitments contained within\nthe specified region.", - "file": "RegionCommitmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1.RegionCommitmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionCommitments.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionCommitmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionCommitmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitmentIterator", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1.RegionCommitmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionCommitments.List", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1.RegionCommitments" - } - } + "shortName": "List" }, + "description": "List retrieves a list of commitments contained within\nthe specified region.", + "file": "RegionCommitmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCommitments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionCommitments_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified commitment with the data included in the request.\nUpdate is performed only on selected fields included as part of\nupdate-mask. Only the following fields can be updated: auto_renew and plan.", - "file": "RegionCommitmentsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1.RegionCommitmentsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.RegionCommitments.Update", + "service": { + "fullName": "google.cloud.compute.v1.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1.RegionCommitmentsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.RegionCommitments.Update", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1.RegionCommitments" - } - } + "shortName": "Update" }, + "description": "Update updates the specified commitment with the data included in the request.\nUpdate is performed only on selected fields included as part of\nupdate-mask. Only the following fields can be updated: auto_renew and plan.", + "file": "RegionCommitmentsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCommitments_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all CompositeHealthCheck resources (all\nregional) available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionCompositeHealthChecksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionCompositeHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionCompositeHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompositeHealthChecksScopedListPairIterator", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.AggregatedList", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all CompositeHealthCheck resources (all\nregional) available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionCompositeHealthChecksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified CompositeHealthCheck in the given region", - "file": "RegionCompositeHealthChecksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Delete", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified CompositeHealthCheck in the given region", + "file": "RegionCompositeHealthChecksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified CompositeHealthCheck resource in the given region.", - "file": "RegionCompositeHealthChecksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.CompositeHealthCheck", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Get", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified CompositeHealthCheck resource in the given region.", + "file": "RegionCompositeHealthChecksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", - "file": "RegionCompositeHealthChecksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Insert", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "Insert" }, + "description": "Insert create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", + "file": "RegionCompositeHealthChecksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_List_sync", - "title": "compute List Sample", - "description": "List lists the CompositeHealthChecks for a project in the given region.", - "file": "RegionCompositeHealthChecksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionCompositeHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionCompositeHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompositeHealthCheckIterator", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.List", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "List" }, + "description": "List lists the CompositeHealthChecks for a project in the given region.", + "file": "RegionCompositeHealthChecksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional CompositeHealthCheck resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionCompositeHealthChecksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.Patch", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional CompositeHealthCheck resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionCompositeHealthChecksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionCompositeHealthChecksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks.TestIamPermissions", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1.RegionCompositeHealthChecks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionCompositeHealthChecksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionCompositeHealthChecks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionDiskTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional disk type.", - "file": "RegionDiskTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionDiskTypesClient", + "shortName": "RegionDiskTypesClient" + }, "fullName": "google.cloud.compute.v1.RegionDiskTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionDiskTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionDiskTypes", + "shortName": "RegionDiskTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionDiskTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionDiskTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DiskType", - "client": { - "shortName": "RegionDiskTypesClient", - "fullName": "google.cloud.compute.v1.RegionDiskTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionDiskTypes.Get", - "service": { - "shortName": "RegionDiskTypes", - "fullName": "google.cloud.compute.v1.RegionDiskTypes" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the specified regional disk type.", + "file": "RegionDiskTypesClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDiskTypes_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionDiskTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of regional disk types available to the specified project.", - "file": "RegionDiskTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionDiskTypesClient", + "shortName": "RegionDiskTypesClient" + }, "fullName": "google.cloud.compute.v1.RegionDiskTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionDiskTypes.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionDiskTypes", + "shortName": "RegionDiskTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionDiskTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionDiskTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskTypeIterator", - "client": { - "shortName": "RegionDiskTypesClient", - "fullName": "google.cloud.compute.v1.RegionDiskTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionDiskTypes.List", - "service": { - "shortName": "RegionDiskTypes", - "fullName": "google.cloud.compute.v1.RegionDiskTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of regional disk types available to the specified project.", + "file": "RegionDiskTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDiskTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_AddResourcePolicies_sync", - "title": "compute AddResourcePolicies Sample", - "description": "AddResourcePolicies adds existing resource policies to a regional disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", - "file": "RegionDisksClient/AddResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.AddResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.AddResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "AddResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddResourcePoliciesRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.AddResourcePoliciesRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "AddResourcePolicies", - "fullName": "google.cloud.compute.v1.RegionDisks.AddResourcePolicies", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "AddResourcePolicies" }, + "description": "AddResourcePolicies adds existing resource policies to a regional disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", + "file": "RegionDisksClient/AddResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_AddResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddResourcePolicies Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert bulk create a set of disks.", - "file": "RegionDisksClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1.RegionDisks.BulkInsert", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert bulk create a set of disks.", + "file": "RegionDisksClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_CreateSnapshot_sync", - "title": "compute CreateSnapshot Sample", - "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", - "file": "RegionDisksClient/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.CreateSnapshot", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.CreateSnapshot", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateSnapshotRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateSnapshotRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.compute.v1.RegionDisks.CreateSnapshot", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", + "file": "RegionDisksClient/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateSnapshot Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional persistent disk. Deleting a regional disk\nremoves all the replicas of its data permanently and is irreversible.\nHowever, deleting a disk does not delete anysnapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", - "file": "RegionDisksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionDisks.Delete", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional persistent disk. Deleting a regional disk\nremoves all the replicas of its data permanently and is irreversible.\nHowever, deleting a disk does not delete anysnapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", + "file": "RegionDisksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns a specified regional persistent disk.", - "file": "RegionDisksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Disk", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionDisks.Get", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "Get" }, + "description": "Get returns a specified regional persistent disk.", + "file": "RegionDisksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionDisksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionDisks.GetIamPolicy", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionDisksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a persistent regional disk in the specified project using the data\nincluded in the request.", - "file": "RegionDisksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionDisks.Insert", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a persistent regional disk in the specified project using the data\nincluded in the request.", + "file": "RegionDisksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of persistent disks contained within\nthe specified region.", - "file": "RegionDisksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionDisksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionDisksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskIterator", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionDisks.List", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of persistent disks contained within\nthe specified region.", + "file": "RegionDisksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_RemoveResourcePolicies_sync", - "title": "compute RemoveResourcePolicies Sample", - "description": "RemoveResourcePolicies removes resource policies from a regional disk.", - "file": "RegionDisksClient/RemoveResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.RemoveResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.RemoveResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "RemoveResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveResourcePoliciesRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveResourcePoliciesRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "RemoveResourcePolicies", - "fullName": "google.cloud.compute.v1.RegionDisks.RemoveResourcePolicies", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "RemoveResourcePolicies" }, + "description": "RemoveResourcePolicies removes resource policies from a regional disk.", + "file": "RegionDisksClient/RemoveResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_RemoveResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveResourcePolicies Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the specified regional persistent disk.", - "file": "RegionDisksClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.Resize", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.Resize", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Resize" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1.RegionDisks.Resize", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the specified regional persistent disk.", + "file": "RegionDisksClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionDisksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionDisks.SetIamPolicy", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionDisksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on the target regional disk.", - "file": "RegionDisksClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.RegionDisks.SetLabels", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on the target regional disk.", + "file": "RegionDisksClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_StartAsyncReplication_sync", - "title": "compute StartAsyncReplication Sample", - "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", - "file": "RegionDisksClient/StartAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.StartAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.StartAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "StartAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartAsyncReplicationRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StartAsyncReplicationRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "StartAsyncReplication", - "fullName": "google.cloud.compute.v1.RegionDisks.StartAsyncReplication", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "StartAsyncReplication" }, + "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", + "file": "RegionDisksClient/StartAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_StartAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartAsyncReplication Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_StopAsyncReplication_sync", - "title": "compute StopAsyncReplication Sample", - "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", - "file": "RegionDisksClient/StopAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.StopAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.StopAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "StopAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopAsyncReplicationRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopAsyncReplicationRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "StopAsyncReplication", - "fullName": "google.cloud.compute.v1.RegionDisks.StopAsyncReplication", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "StopAsyncReplication" }, + "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", + "file": "RegionDisksClient/StopAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_StopAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopAsyncReplication Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_StopGroupAsyncReplication_sync", - "title": "compute StopGroupAsyncReplication Sample", - "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", - "file": "RegionDisksClient/StopGroupAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopGroupAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.StopGroupAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.StopGroupAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "StopGroupAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopGroupAsyncReplicationRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopGroupAsyncReplicationRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "StopGroupAsyncReplication", - "fullName": "google.cloud.compute.v1.RegionDisks.StopGroupAsyncReplication", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "StopGroupAsyncReplication" }, + "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", + "file": "RegionDisksClient/StopGroupAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_StopGroupAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopGroupAsyncReplication Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionDisksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionDisks.TestIamPermissions", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionDisksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionDisks_Update_sync", - "title": "compute Update Sample", - "description": "Update update the specified disk with the data included in the request. Update is\nperformed only on selected fields included as part of update-mask.", - "file": "RegionDisksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1.RegionDisksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.RegionDisks.Update", + "service": { + "fullName": "google.cloud.compute.v1.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1.RegionDisksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.RegionDisks.Update", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1.RegionDisks" - } - } + "shortName": "Update" }, + "description": "Update update the specified disk with the data included in the request. Update is\nperformed only on selected fields included as part of update-mask.", + "file": "RegionDisksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionDisks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthAggregationPolicy resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionHealthAggregationPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionHealthAggregationPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionHealthAggregationPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthAggregationPoliciesScopedListPairIterator", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.AggregatedList", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthAggregationPolicy resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionHealthAggregationPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthAggregationPolicy in the given region.", - "file": "RegionHealthAggregationPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Delete", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthAggregationPolicy in the given region.", + "file": "RegionHealthAggregationPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthAggregationPolicy resource in the given region.", - "file": "RegionHealthAggregationPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthAggregationPolicy", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Get", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the specified HealthAggregationPolicy resource in the given region.", + "file": "RegionHealthAggregationPoliciesClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a HealthAggregationPolicy in the specified project in the given\nregion using the parameters that are included in the request.", - "file": "RegionHealthAggregationPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Insert", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert create a HealthAggregationPolicy in the specified project in the given\nregion using the parameters that are included in the request.", + "file": "RegionHealthAggregationPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists the HealthAggregationPolicies for a project in the given region.", - "file": "RegionHealthAggregationPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthAggregationPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthAggregationPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthAggregationPolicyIterator", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.List", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "List" }, + "description": "List lists the HealthAggregationPolicies for a project in the given region.", + "file": "RegionHealthAggregationPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional HealthAggregationPolicy\nresource with the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthAggregationPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.Patch", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional HealthAggregationPolicy\nresource with the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthAggregationPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthAggregationPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies.TestIamPermissions", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1.RegionHealthAggregationPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthAggregationPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthAggregationPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthCheckService resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionHealthCheckServicesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionHealthCheckServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionHealthCheckServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckServicesScopedListPairIterator", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.AggregatedList", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthCheckService resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionHealthCheckServicesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional HealthCheckService.", - "file": "RegionHealthCheckServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Delete", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional HealthCheckService.", + "file": "RegionHealthCheckServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional HealthCheckService resource.", - "file": "RegionHealthCheckServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthCheckService", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Get", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "Get" }, + "description": "Get returns the specified regional HealthCheckService resource.", + "file": "RegionHealthCheckServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a regional HealthCheckService resource in the\nspecified project and region using the data included in the request.", - "file": "RegionHealthCheckServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Insert", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a regional HealthCheckService resource in the\nspecified project and region using the data included in the request.", + "file": "RegionHealthCheckServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_List_sync", - "title": "compute List Sample", - "description": "List lists all the HealthCheckService resources that have been\nconfigured for the specified project in the given region.", - "file": "RegionHealthCheckServicesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthCheckServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthCheckServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckServiceIterator", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.List", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "List" }, + "description": "List lists all the HealthCheckService resources that have been\nconfigured for the specified project in the given region.", + "file": "RegionHealthCheckServicesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional HealthCheckService resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthCheckServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.Patch", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional HealthCheckService resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthCheckServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthCheckServices_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthCheckServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices.TestIamPermissions", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1.RegionHealthCheckServices" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthCheckServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthCheckServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthCheck resource.", - "file": "RegionHealthChecksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.Delete", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthCheck resource.", + "file": "RegionHealthChecksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthCheck resource.", - "file": "RegionHealthChecksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthCheck", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.Get", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified HealthCheck resource.", + "file": "RegionHealthChecksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "RegionHealthChecksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.Insert", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "RegionHealthChecksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", - "file": "RegionHealthChecksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckIterator", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.List", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", + "file": "RegionHealthChecksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthChecksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.Patch", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "Patch" }, + "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthChecksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthChecksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.TestIamPermissions", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthChecksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthChecks_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "RegionHealthChecksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthChecksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks.Update", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1.RegionHealthChecksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.RegionHealthChecks.Update", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1.RegionHealthChecks" - } - } + "shortName": "Update" }, + "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "RegionHealthChecksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthChecks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthSource resources (all\nregional) available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionHealthSourcesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionHealthSourcesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionHealthSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthSourcesScopedListPairIterator", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.RegionHealthSources.AggregatedList", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthSource resources (all\nregional) available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionHealthSourcesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthSource in the given region", - "file": "RegionHealthSourcesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionHealthSources.Delete", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthSource in the given region", + "file": "RegionHealthSourcesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthSource resource in the given region.", - "file": "RegionHealthSourcesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthSource", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionHealthSources.Get", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the specified HealthSource resource in the given region.", + "file": "RegionHealthSourcesClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a HealthSource in the specified project in the given region\nusing the parameters that are included in the request.", - "file": "RegionHealthSourcesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionHealthSources.Insert", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "Insert" }, + "description": "Insert create a HealthSource in the specified project in the given region\nusing the parameters that are included in the request.", + "file": "RegionHealthSourcesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_List_sync", - "title": "compute List Sample", - "description": "List lists the HealthSources for a project in the given region.", - "file": "RegionHealthSourcesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthSourcesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthSourceIterator", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionHealthSources.List", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "List" }, + "description": "List lists the HealthSources for a project in the given region.", + "file": "RegionHealthSourcesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional HealthSource resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthSourcesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionHealthSources.Patch", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional HealthSource resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthSourcesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionHealthSources_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthSourcesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionHealthSources.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1.RegionHealthSourcesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionHealthSources.TestIamPermissions", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1.RegionHealthSources" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthSourcesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionHealthSources_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_AbandonInstances_sync", - "title": "compute AbandonInstances Sample", - "description": "AbandonInstances flags the specified instances to be immediately removed from the managed\ninstance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/AbandonInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbandonInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.AbandonInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.AbandonInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "AbandonInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AbandonInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.AbandonInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "AbandonInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.AbandonInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "AbandonInstances" }, + "description": "AbandonInstances flags the specified instances to be immediately removed from the managed\ninstance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/AbandonInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_AbandonInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AbandonInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ApplyUpdatesToInstances_sync", - "title": "compute ApplyUpdatesToInstances Sample", - "description": "ApplyUpdatesToInstances apply updates to selected instances the managed instance group.", - "file": "RegionInstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyUpdatesToInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.ApplyUpdatesToInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ApplyUpdatesToInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ApplyUpdatesToInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ApplyUpdatesToInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ApplyUpdatesToInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "ApplyUpdatesToInstances" }, + "description": "ApplyUpdatesToInstances apply updates to selected instances the managed instance group.", + "file": "RegionInstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ApplyUpdatesToInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ApplyUpdatesToInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_CreateInstances_sync", - "title": "compute CreateInstances Sample", - "description": "CreateInstances creates instances with per-instance configurations in this regional managed\ninstance group. Instances are created using the current instance template.\nThe create instances operation is marked DONE if\nthe createInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", - "file": "RegionInstanceGroupManagersClient/CreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.CreateInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.CreateInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "CreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "CreateInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.CreateInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "CreateInstances" }, + "description": "CreateInstances creates instances with per-instance configurations in this regional managed\ninstance group. Instances are created using the current instance template.\nThe create instances operation is marked DONE if\nthe createInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", + "file": "RegionInstanceGroupManagersClient/CreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_CreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified managed instance group and all of the instances\nin that group.", - "file": "RegionInstanceGroupManagersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Delete", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified managed instance group and all of the instances\nin that group.", + "file": "RegionInstanceGroupManagersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_DeleteInstances_sync", - "title": "compute DeleteInstances Sample", - "description": "DeleteInstances flags the specified instances in the managed instance group to be\nimmediately deleted. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete.\nThe deleteInstances operation is marked DONE if\nthe deleteInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/DeleteInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.DeleteInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.DeleteInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "DeleteInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "DeleteInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.DeleteInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "DeleteInstances" }, + "description": "DeleteInstances flags the specified instances in the managed instance group to be\nimmediately deleted. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete.\nThe deleteInstances operation is marked DONE if\nthe deleteInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/DeleteInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_DeleteInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_DeletePerInstanceConfigs_sync", - "title": "compute DeletePerInstanceConfigs Sample", - "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", - "file": "RegionInstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.DeletePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.DeletePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "DeletePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "DeletePerInstanceConfigs", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.DeletePerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "DeletePerInstanceConfigs" }, + "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", + "file": "RegionInstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_DeletePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeletePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified managed instance group.", - "file": "RegionInstanceGroupManagersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.Get", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Get" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManager", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Get", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "Get" }, + "description": "Get returns all of the details about the specified managed instance group.", + "file": "RegionInstanceGroupManagersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA regional managed instance group can contain up to 2000 instances.", - "file": "RegionInstanceGroupManagersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Insert", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "Insert" }, + "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA regional managed instance group can contain up to 2000 instances.", + "file": "RegionInstanceGroupManagersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of managed instance groups that are contained\nwithin the specified region.", - "file": "RegionInstanceGroupManagersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.List", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "List" }, + "description": "List retrieves the list of managed instance groups that are contained\nwithin the specified region.", + "file": "RegionInstanceGroupManagersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ListErrors_sync", - "title": "compute ListErrors Sample", - "description": "ListErrors lists all errors thrown by actions on instances for a given regional\nmanaged instance group. The filter andorderBy query parameters are not supported.", - "file": "RegionInstanceGroupManagersClient/ListErrors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListErrors", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.ListErrors", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ListErrors", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ListErrors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListErrorsRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListErrorsRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceManagedByIgmErrorIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ListErrors", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ListErrors", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "ListErrors" }, + "description": "ListErrors lists all errors thrown by actions on instances for a given regional\nmanaged instance group. The filter andorderBy query parameters are not supported.", + "file": "RegionInstanceGroupManagersClient/ListErrors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ListErrors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListErrors Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ListManagedInstances_sync", - "title": "compute ListManagedInstances Sample", - "description": "ListManagedInstances lists the instances in the managed instance group and instances that are\nscheduled to be created. The list includes any current actions\nthat the group has scheduled for its instances. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", - "file": "RegionInstanceGroupManagersClient/ListManagedInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagedInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.ListManagedInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ListManagedInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ListManagedInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListManagedInstancesRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListManagedInstancesRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagedInstanceIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ListManagedInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ListManagedInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "ListManagedInstances" }, + "description": "ListManagedInstances lists the instances in the managed instance group and instances that are\nscheduled to be created. The list includes any current actions\nthat the group has scheduled for its instances. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", + "file": "RegionInstanceGroupManagersClient/ListManagedInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ListManagedInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListManagedInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ListPerInstanceConfigs_sync", - "title": "compute ListPerInstanceConfigs Sample", - "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", - "file": "RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.ListPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ListPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ListPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPerInstanceConfigsRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPerInstanceConfigsRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PerInstanceConfigIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ListPerInstanceConfigs", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ListPerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "ListPerInstanceConfigs" }, + "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", + "file": "RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ListPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith the listmanagedinstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", - "file": "RegionInstanceGroupManagersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Patch", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "Patch" }, + "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith the listmanagedinstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", + "file": "RegionInstanceGroupManagersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_PatchPerInstanceConfigs_sync", - "title": "compute PatchPerInstanceConfigs Sample", - "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "RegionInstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.PatchPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.PatchPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "PatchPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "PatchPerInstanceConfigs", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.PatchPerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "PatchPerInstanceConfigs" }, + "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "RegionInstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_PatchPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_RecreateInstances_sync", - "title": "compute RecreateInstances Sample", - "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/RecreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecreateInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.RecreateInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.RecreateInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "RecreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RecreateInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.RecreateInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "RecreateInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.RecreateInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "RecreateInstances" }, + "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/RecreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_RecreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RecreateInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize changes the intended size of the managed instance group. If you increase\nthe size, the group creates new instances using the current instance\ntemplate. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", - "file": "RegionInstanceGroupManagersClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Resize", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.Resize", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "Resize" }, + "description": "Resize changes the intended size of the managed instance group. If you increase\nthe size, the group creates new instances using the current instance\ntemplate. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", + "file": "RegionInstanceGroupManagersClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_sync", - "title": "compute ResumeInstances Sample", - "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/ResumeInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.ResumeInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ResumeInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ResumeInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResumeInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResumeInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ResumeInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.ResumeInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "ResumeInstances" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/ResumeInstances/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_ResumeInstances_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ResumeInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_SetInstanceTemplate_sync", - "title": "compute SetInstanceTemplate Sample", - "description": "SetInstanceTemplate sets the instance template to use when creating new instances or recreating\ninstances in this group. Existing instances are not affected.", - "file": "RegionInstanceGroupManagersClient/SetInstanceTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceTemplate", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.SetInstanceTemplate", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.SetInstanceTemplate", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SetInstanceTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetInstanceTemplateRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetInstanceTemplateRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SetInstanceTemplate", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.SetInstanceTemplate", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "SetInstanceTemplate" }, + "description": "SetInstanceTemplate sets the instance template to use when creating new instances or recreating\ninstances in this group. Existing instances are not affected.", + "file": "RegionInstanceGroupManagersClient/SetInstanceTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_SetInstanceTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetInstanceTemplate Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_SetTargetPools_sync", - "title": "compute SetTargetPools Sample", - "description": "SetTargetPools modifies the target pools to which all new instances in this group are\nassigned. Existing instances in the group are not affected.", - "file": "RegionInstanceGroupManagersClient/SetTargetPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTargetPools", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.SetTargetPools", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.SetTargetPools", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SetTargetPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetPoolsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetPoolsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SetTargetPools", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.SetTargetPools", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "SetTargetPools" }, + "description": "SetTargetPools modifies the target pools to which all new instances in this group are\nassigned. Existing instances in the group are not affected.", + "file": "RegionInstanceGroupManagersClient/SetTargetPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_SetTargetPools_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTargetPools Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_StartInstances_sync", - "title": "compute StartInstances Sample", - "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/StartInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.StartInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.StartInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "StartInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StartInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "StartInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.StartInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "StartInstances" }, + "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/StartInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_StartInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_StopInstances_sync", - "title": "compute StopInstances Sample", - "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/StopInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.StopInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.StopInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "StopInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StopInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "StopInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.StopInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "StopInstances" }, + "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/StopInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_StopInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_sync", - "title": "compute SuspendInstances Sample", - "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/SuspendInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.SuspendInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.SuspendInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SuspendInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SuspendInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SuspendInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SuspendInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.SuspendInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "SuspendInstances" }, + "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/SuspendInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_SuspendInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SuspendInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_UpdatePerInstanceConfigs_sync", - "title": "compute UpdatePerInstanceConfigs Sample", - "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "RegionInstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient.UpdatePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.UpdatePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "UpdatePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "UpdatePerInstanceConfigs", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers.UpdatePerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupManagers" - } - } + "shortName": "UpdatePerInstanceConfigs" }, + "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "RegionInstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroupManagers_UpdatePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdatePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified instance group resource.", - "file": "RegionInstanceGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroup", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups.Get", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified instance group resource.", + "file": "RegionInstanceGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of instance group resources contained within\nthe specified region.", - "file": "RegionInstanceGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupIterator", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups.List", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of instance group resources contained within\nthe specified region.", + "file": "RegionInstanceGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroups_ListInstances_sync", - "title": "compute ListInstances Sample", - "description": "ListInstances lists the instances in the specified instance group and displays\ninformation about the named ports. Depending on the specified options, this\nmethod can list all instances or only the instances that are running.\nThe orderBy query parameter is not supported.", - "file": "RegionInstanceGroupsClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient.ListInstances", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups.ListInstances", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstancesRegionInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstancesRegionInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceWithNamedPortsIterator", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups.ListInstances", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists the instances in the specified instance group and displays\ninformation about the named ports. Depending on the specified options, this\nmethod can list all instances or only the instances that are running.\nThe orderBy query parameter is not supported.", + "file": "RegionInstanceGroupsClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroups_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListInstances Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroups_SetNamedPorts_sync", - "title": "compute SetNamedPorts Sample", - "description": "SetNamedPorts sets the named ports for the specified regional instance group.", - "file": "RegionInstanceGroupsClient/SetNamedPorts/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNamedPorts", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient.SetNamedPorts", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups.SetNamedPorts", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "SetNamedPorts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNamedPortsRegionInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNamedPortsRegionInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "SetNamedPorts", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups.SetNamedPorts", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups" - } - } + "shortName": "SetNamedPorts" }, + "description": "SetNamedPorts sets the named ports for the specified regional instance group.", + "file": "RegionInstanceGroupsClient/SetNamedPorts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroups_SetNamedPorts_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetNamedPorts Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionInstanceGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups.TestIamPermissions", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1.RegionInstanceGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionInstanceGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceTemplates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone.", - "file": "RegionInstanceTemplatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Delete", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone.", + "file": "RegionInstanceTemplatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceTemplates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceTemplates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified instance template.", - "file": "RegionInstanceTemplatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceTemplate", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Get", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified instance template.", + "file": "RegionInstanceTemplatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceTemplates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceTemplates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance template in the specified project and region using the\nglobal instance template whose URL is included in the request.", - "file": "RegionInstanceTemplatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Insert", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance template in the specified project and region using the\nglobal instance template whose URL is included in the request.", + "file": "RegionInstanceTemplatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceTemplates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionInstanceTemplates_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of instance templates that are contained within the\nspecified project and region.", - "file": "RegionInstanceTemplatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceTemplateIterator", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.List", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1.RegionInstanceTemplates" - } - } + "shortName": "List" }, + "description": "List retrieves a list of instance templates that are contained within the\nspecified project and region.", + "file": "RegionInstanceTemplatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstanceTemplates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionInstances_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert creates multiple instances in a given region. Count specifies the number of\ninstances to create.", - "file": "RegionInstancesClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstancesClient", + "shortName": "RegionInstancesClient" + }, "fullName": "google.cloud.compute.v1.RegionInstancesClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstances.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstances", + "shortName": "RegionInstances" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertRegionInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertRegionInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstancesClient", - "fullName": "google.cloud.compute.v1.RegionInstancesClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1.RegionInstances.BulkInsert", - "service": { - "shortName": "RegionInstances", - "fullName": "google.cloud.compute.v1.RegionInstances" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert creates multiple instances in a given region. Count specifies the number of\ninstances to create.", + "file": "RegionInstancesClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstances_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", - "file": "RegionInstantSnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.Delete", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", + "file": "RegionInstantSnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InstantSnapshot resource in the specified region.", - "file": "RegionInstantSnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstantSnapshot", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.Get", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InstantSnapshot resource in the specified region.", + "file": "RegionInstantSnapshotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionInstantSnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.GetIamPolicy", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionInstantSnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instant snapshot in the specified region.", - "file": "RegionInstantSnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.Insert", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instant snapshot in the specified region.", + "file": "RegionInstantSnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified region.", - "file": "RegionInstantSnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstantSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstantSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotIterator", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.List", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "List" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified region.", + "file": "RegionInstantSnapshotsClient/List/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_List_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionInstantSnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.SetIamPolicy", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionInstantSnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a instantSnapshot in the given region. To learn more\nabout labels, read the Labeling\nResources documentation.", - "file": "RegionInstantSnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.SetLabels", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a instantSnapshot in the given region. To learn more\nabout labels, read the Labeling\nResources documentation.", + "file": "RegionInstantSnapshotsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_RegionInstantSnapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionInstantSnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots.TestIamPermissions", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1.RegionInstantSnapshots" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionInstantSnapshotsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionInstantSnapshots_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_AttachNetworkEndpoints_sync", - "title": "compute AttachNetworkEndpoints Sample", - "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.AttachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.AttachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "AttachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachNetworkEndpointsRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachNetworkEndpointsRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AttachNetworkEndpoints", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.AttachNetworkEndpoints", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "AttachNetworkEndpoints" }, + "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_AttachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network endpoint group. Note that the NEG cannot be\ndeleted if it is configured as a backend of a backend service.", - "file": "RegionNetworkEndpointGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Delete", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network endpoint group. Note that the NEG cannot be\ndeleted if it is configured as a backend of a backend service.", + "file": "RegionNetworkEndpointGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_DetachNetworkEndpoints_sync", - "title": "compute DetachNetworkEndpoints Sample", - "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.DetachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.DetachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "DetachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachNetworkEndpointsRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachNetworkEndpointsRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "DetachNetworkEndpoints", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.DetachNetworkEndpoints", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "DetachNetworkEndpoints" }, + "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_DetachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEndpointGroup", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Get", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", - "file": "RegionNetworkEndpointGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Insert", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", + "file": "RegionNetworkEndpointGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of regional network endpoint groups available to the\nspecified project in the given region.", - "file": "RegionNetworkEndpointGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupIterator", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.List", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of regional network endpoint groups available to the\nspecified project in the given region.", + "file": "RegionNetworkEndpointGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_ListNetworkEndpoints_sync", - "title": "compute ListNetworkEndpoints Sample", - "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient.ListNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.ListNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "ListNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointsRegionNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointsRegionNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointWithHealthStatusIterator", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "ListNetworkEndpoints", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.ListNetworkEndpoints", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups" - } - } + "shortName": "ListNetworkEndpoints" }, + "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkEndpointGroups_ListNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNetworkEndpoints Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.AddAssociation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "AddAssociation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.AddAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.AddRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_CloneRules_sync", - "title": "compute CloneRules Sample", - "description": "CloneRules copies rules to the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/CloneRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneRules", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.CloneRules", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.CloneRules", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "CloneRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CloneRulesRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CloneRulesRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "CloneRules", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.CloneRules", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "CloneRules" }, + "description": "CloneRules copies rules to the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/CloneRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_CloneRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CloneRules Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Delete", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicy", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Get", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "RegionNetworkFirewallPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyAssociation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "RegionNetworkFirewallPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetEffectiveFirewalls_sync", - "title": "compute GetEffectiveFirewalls Sample", - "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", - "file": "RegionNetworkFirewallPoliciesClient/GetEffectiveFirewalls/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveFirewalls", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.GetEffectiveFirewalls", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetEffectiveFirewalls", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetEffectiveFirewalls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetEffectiveFirewalls", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetEffectiveFirewalls", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetEffectiveFirewalls" }, + "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", + "file": "RegionNetworkFirewallPoliciesClient/GetEffectiveFirewalls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetEffectiveFirewalls_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveFirewalls Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionNetworkFirewallPoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetIamPolicy", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionNetworkFirewallPoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule of the specified priority.", - "file": "RegionNetworkFirewallPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.GetRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule of the specified priority.", + "file": "RegionNetworkFirewallPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new network firewall policy in the specified project and region.", - "file": "RegionNetworkFirewallPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Insert", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new network firewall policy in the specified project and region.", + "file": "RegionNetworkFirewallPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the network firewall policies that have been configured\nfor the specified project in the given region.", - "file": "RegionNetworkFirewallPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNetworkFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNetworkFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.List", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "List" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "List lists all the network firewall policies that have been configured\nfor the specified project in the given region.", + "file": "RegionNetworkFirewallPoliciesClient/List/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_List_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.Patch", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule of the specified priority.", - "file": "RegionNetworkFirewallPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.PatchRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule of the specified priority.", + "file": "RegionNetworkFirewallPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.RemoveAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule of the specified priority.", - "file": "RegionNetworkFirewallPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.RemoveRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule of the specified priority.", + "file": "RegionNetworkFirewallPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionNetworkFirewallPoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.SetIamPolicy", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionNetworkFirewallPoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionNetworkFirewallPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies.TestIamPermissions", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1.RegionNetworkFirewallPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionNetworkFirewallPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNetworkFirewallPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionNotificationEndpoints_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all NotificationEndpoint resources,\nregional and global, available to the specified project.", - "file": "RegionNotificationEndpointsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionNotificationEndpointsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionNotificationEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationEndpointsScopedListPairIterator", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.AggregatedList", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all NotificationEndpoint resources,\nregional and global, available to the specified project.", + "file": "RegionNotificationEndpointsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNotificationEndpoints_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_RegionNotificationEndpoints_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NotificationEndpoint in the given region", - "file": "RegionNotificationEndpointsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.Delete", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NotificationEndpoint in the given region", + "file": "RegionNotificationEndpointsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNotificationEndpoints_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionNotificationEndpoints_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified NotificationEndpoint resource in the given region.", - "file": "RegionNotificationEndpointsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NotificationEndpoint", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.Get", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints" - } - } + "shortName": "Get" }, + "description": "Get returns the specified NotificationEndpoint resource in the given region.", + "file": "RegionNotificationEndpointsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNotificationEndpoints_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionNotificationEndpoints_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a NotificationEndpoint in the specified project in the given region\nusing the parameters that are included in the request.", - "file": "RegionNotificationEndpointsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.Insert", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints" - } - } + "shortName": "Insert" }, + "description": "Insert create a NotificationEndpoint in the specified project in the given region\nusing the parameters that are included in the request.", + "file": "RegionNotificationEndpointsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNotificationEndpoints_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionNotificationEndpoints_List_sync", - "title": "compute List Sample", - "description": "List lists the NotificationEndpoints for a project in the given region.", - "file": "RegionNotificationEndpointsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient.List", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "List" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNotificationEndpointsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNotificationEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationEndpointIterator", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.List", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints" - } - } + "shortName": "List" }, + "description": "List lists the NotificationEndpoints for a project in the given region.", + "file": "RegionNotificationEndpointsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNotificationEndpoints_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionNotificationEndpoints_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionNotificationEndpointsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints.TestIamPermissions", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1.RegionNotificationEndpoints" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionNotificationEndpointsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionNotificationEndpoints_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_RegionOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified region-specific Operations resource.", - "file": "RegionOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1.RegionOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteRegionOperationResponse", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1.RegionOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionOperations.Delete", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1.RegionOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified region-specific Operations resource.", + "file": "RegionOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified region-specific Operations resource.", - "file": "RegionOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1.RegionOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1.RegionOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionOperations.Get", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1.RegionOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified region-specific Operations resource.", + "file": "RegionOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within\nthe specified region.", - "file": "RegionOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1.RegionOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionOperations.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1.RegionOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionOperations.List", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1.RegionOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within\nthe specified region.", + "file": "RegionOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionOperations_Wait_sync", - "title": "compute Wait Sample", - "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", - "file": "RegionOperationsClient/Wait/main.go", - "language": "GO", "clientMethod": { - "shortName": "Wait", + "client": { + "fullName": "google.cloud.compute.v1.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1.RegionOperationsClient.Wait", + "method": { + "fullName": "google.cloud.compute.v1.RegionOperations.Wait", + "service": { + "fullName": "google.cloud.compute.v1.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "Wait" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WaitRegionOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.WaitRegionOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1.RegionOperationsClient" - }, - "method": { - "shortName": "Wait", - "fullName": "google.cloud.compute.v1.RegionOperations.Wait", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1.RegionOperations" - } - } + "shortName": "Wait" }, + "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", + "file": "RegionOperationsClient/Wait/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionOperations_Wait_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Wait Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a security policy.", - "file": "RegionSecurityPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.AddRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a security policy.", + "file": "RegionSecurityPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "RegionSecurityPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Delete", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "RegionSecurityPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get list all of the ordered rules present in a single specified policy.", - "file": "RegionSecurityPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicy", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Get", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "Get" }, + "description": "Get list all of the ordered rules present in a single specified policy.", + "file": "RegionSecurityPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule at the specified priority.", - "file": "RegionSecurityPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyRule", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.GetRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule at the specified priority.", + "file": "RegionSecurityPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "RegionSecurityPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Insert", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "Insert" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "RegionSecurityPoliciesClient/Insert/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_Insert_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_List_sync", - "title": "compute List Sample", - "description": "List list all the policies that have been configured for the specified project\nand region.", - "file": "RegionSecurityPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPolicyIterator", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.List", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "List" }, + "description": "List list all the policies that have been configured for the specified project\nand region.", + "file": "RegionSecurityPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", - "file": "RegionSecurityPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Patch", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", + "file": "RegionSecurityPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", - "file": "RegionSecurityPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.PatchRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", + "file": "RegionSecurityPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule at the specified priority.", - "file": "RegionSecurityPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.RemoveRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule at the specified priority.", + "file": "RegionSecurityPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1_generated_RegionSecurityPolicies_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", - "file": "RegionSecurityPoliciesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.SetLabels", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1.RegionSecurityPolicies" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", + "file": "RegionSecurityPoliciesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSecurityPolicies_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_RegionSslCertificates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SslCertificate resource in the region.", - "file": "RegionSslCertificatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionSslCertificates.Delete", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1.RegionSslCertificates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SslCertificate resource in the region.", + "file": "RegionSslCertificatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslCertificates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionSslCertificates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified SslCertificate resource in the specified region. Get\na list of available SSL certificates by making a list()\nrequest.", - "file": "RegionSslCertificatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslCertificate", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionSslCertificates.Get", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1.RegionSslCertificates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified SslCertificate resource in the specified region. Get\na list of available SSL certificates by making a list()\nrequest.", + "file": "RegionSslCertificatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslCertificates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionSslCertificates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a SslCertificate resource in the specified project and region using\nthe data included in the request", - "file": "RegionSslCertificatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionSslCertificates.Insert", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1.RegionSslCertificates" - } - } + "shortName": "Insert" }, + "description": "Insert creates a SslCertificate resource in the specified project and region using\nthe data included in the request", + "file": "RegionSslCertificatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslCertificates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionSslCertificates_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of SslCertificate resources available to the specified\nproject in the specified region.", - "file": "RegionSslCertificatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSslCertificatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSslCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslCertificateIterator", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1.RegionSslCertificatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionSslCertificates.List", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1.RegionSslCertificates" - } - } + "shortName": "List" }, + "description": "List retrieves the list of SslCertificate resources available to the specified\nproject in the specified region.", + "file": "RegionSslCertificatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslCertificates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionSslPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", - "file": "RegionSslPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionSslPolicies.Delete", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1.RegionSslPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", + "file": "RegionSslPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionSslPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get lists all of the ordered rules present in a single specified policy.", - "file": "RegionSslPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient.Get", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Get" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPolicy", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionSslPolicies.Get", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1.RegionSslPolicies" - } - } + "shortName": "Get" }, + "description": "Get lists all of the ordered rules present in a single specified policy.", + "file": "RegionSslPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionSslPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project and region using the data\nincluded in the request.", - "file": "RegionSslPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionSslPolicies.Insert", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1.RegionSslPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project and region using the data\nincluded in the request.", + "file": "RegionSslPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionSslPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the SSL policies that have been configured for the specified\nproject and region.", - "file": "RegionSslPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslPolicyIterator", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionSslPolicies.List", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1.RegionSslPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the SSL policies that have been configured for the specified\nproject and region.", + "file": "RegionSslPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionSslPolicies_ListAvailableFeatures_sync", - "title": "compute ListAvailableFeatures Sample", - "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", - "file": "RegionSslPoliciesClient/ListAvailableFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAvailableFeatures", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient.ListAvailableFeatures", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies.ListAvailableFeatures", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "ListAvailableFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAvailableFeaturesRegionSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAvailableFeaturesRegionSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPoliciesListAvailableFeaturesResponse", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient" - }, - "method": { - "shortName": "ListAvailableFeatures", - "fullName": "google.cloud.compute.v1.RegionSslPolicies.ListAvailableFeatures", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1.RegionSslPolicies" - } - } + "shortName": "ListAvailableFeatures" }, + "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", + "file": "RegionSslPoliciesClient/ListAvailableFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslPolicies_ListAvailableFeatures_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAvailableFeatures Sample" }, { - "regionTag": "compute_v1_generated_RegionSslPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified SSL policy with the data included in the request.", - "file": "RegionSslPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionSslPolicies.Patch", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1.RegionSslPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified SSL policy with the data included in the request.", + "file": "RegionSslPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionSslPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpProxy resource.", - "file": "RegionTargetHttpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.Delete", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpProxy resource.", + "file": "RegionTargetHttpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpProxy resource in the specified region.", - "file": "RegionTargetHttpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpProxy", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.Get", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpProxy resource in the specified region.", + "file": "RegionTargetHttpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpProxy resource in the specified project and region\nusing the data included in the request.", - "file": "RegionTargetHttpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.Insert", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpProxy resource in the specified project and region\nusing the data included in the request.", + "file": "RegionTargetHttpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project in the specified region.", - "file": "RegionTargetHttpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionTargetHttpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionTargetHttpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpProxyIterator", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.List", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project in the specified region.", + "file": "RegionTargetHttpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpProxy.", - "file": "RegionTargetHttpProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies.SetUrlMap", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpProxy.", + "file": "RegionTargetHttpProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpsProxy resource.", - "file": "RegionTargetHttpsProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Delete", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "Delete" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Delete deletes the specified TargetHttpsProxy resource.", + "file": "RegionTargetHttpsProxiesClient/Delete/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Delete_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpsProxy resource in the specified region.", - "file": "RegionTargetHttpsProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpsProxy", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Get", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpsProxy resource in the specified region.", + "file": "RegionTargetHttpsProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpsProxy resource in the specified project and region\nusing the data included in the request.", - "file": "RegionTargetHttpsProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Insert", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpsProxy resource in the specified project and region\nusing the data included in the request.", + "file": "RegionTargetHttpsProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpsProxy resources available\nto the specified project in the specified region.", - "file": "RegionTargetHttpsProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionTargetHttpsProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionTargetHttpsProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpsProxyIterator", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.List", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpsProxy resources available\nto the specified project in the specified region.", + "file": "RegionTargetHttpsProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified regional TargetHttpsProxy resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "RegionTargetHttpsProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.Patch", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified regional TargetHttpsProxy resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "RegionTargetHttpsProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_SetSslCertificates_sync", - "title": "compute SetSslCertificates Sample", - "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", - "file": "RegionTargetHttpsProxiesClient/SetSslCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslCertificates", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.SetSslCertificates", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.SetSslCertificates", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "SetSslCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslCertificatesRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslCertificatesRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetSslCertificates", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.SetSslCertificates", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "SetSslCertificates" }, + "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", + "file": "RegionTargetHttpsProxiesClient/SetSslCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_SetSslCertificates_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslCertificates Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", - "file": "RegionTargetHttpsProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies.SetUrlMap", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1.RegionTargetHttpsProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", + "file": "RegionTargetHttpsProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetHttpsProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetTcpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetTcpProxy resource.", - "file": "RegionTargetTcpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.Delete", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetTcpProxy resource.", + "file": "RegionTargetTcpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetTcpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetTcpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetTcpProxy resource.", - "file": "RegionTargetTcpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetTcpProxy", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.Get", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetTcpProxy resource.", + "file": "RegionTargetTcpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetTcpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetTcpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetTcpProxy resource in the specified project and region using\nthe data included in the request.", - "file": "RegionTargetTcpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.Insert", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetTcpProxy resource in the specified project and region using\nthe data included in the request.", + "file": "RegionTargetTcpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetTcpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionTargetTcpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of TargetTcpProxy resources\navailable to the specified project in a given region.", - "file": "RegionTargetTcpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionTargetTcpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionTargetTcpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetTcpProxyIterator", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies.List", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1.RegionTargetTcpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves a list of TargetTcpProxy resources\navailable to the specified project in a given region.", + "file": "RegionTargetTcpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionTargetTcpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified UrlMap resource.", - "file": "RegionUrlMapsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.Delete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.Delete", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Delete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.Delete", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified UrlMap resource.", + "file": "RegionUrlMapsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified UrlMap resource.", - "file": "RegionUrlMapsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.Get", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMap", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.Get", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "Get" }, + "description": "Get returns the specified UrlMap resource.", + "file": "RegionUrlMapsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", - "file": "RegionUrlMapsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.Insert", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.Insert", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "Insert" }, + "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", + "file": "RegionUrlMapsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of UrlMap resources available to the specified\nproject in the specified region.", - "file": "RegionUrlMapsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionUrlMapsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionUrlMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UrlMapIterator", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.List", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "List" }, + "description": "List retrieves the list of UrlMap resources available to the specified\nproject in the specified region.", + "file": "RegionUrlMapsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "RegionUrlMapsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.Patch", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.Patch", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "RegionUrlMapsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", - "file": "RegionUrlMapsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.Update", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.Update", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "Update" }, + "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", + "file": "RegionUrlMapsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_RegionUrlMaps_Validate_sync", - "title": "compute Validate Sample", - "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", - "file": "RegionUrlMapsClient/Validate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Validate", + "client": { + "fullName": "google.cloud.compute.v1.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1.RegionUrlMapsClient.Validate", + "method": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps.Validate", + "service": { + "fullName": "google.cloud.compute.v1.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Validate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ValidateRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.ValidateRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMapsValidateResponse", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1.RegionUrlMapsClient" - }, - "method": { - "shortName": "Validate", - "fullName": "google.cloud.compute.v1.RegionUrlMaps.Validate", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1.RegionUrlMaps" - } - } + "shortName": "Validate" }, + "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", + "file": "RegionUrlMapsClient/Validate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionUrlMaps_Validate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Validate Sample" }, { - "regionTag": "compute_v1_generated_RegionZones_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Zone resources under the specific region available to\nthe specified project.", - "file": "RegionZonesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionZonesClient", + "shortName": "RegionZonesClient" + }, "fullName": "google.cloud.compute.v1.RegionZonesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.RegionZones.List", + "service": { + "fullName": "google.cloud.compute.v1.RegionZones", + "shortName": "RegionZones" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionZonesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionZonesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ZoneIterator", - "client": { - "shortName": "RegionZonesClient", - "fullName": "google.cloud.compute.v1.RegionZonesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.RegionZones.List", - "service": { - "shortName": "RegionZones", - "fullName": "google.cloud.compute.v1.RegionZones" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Zone resources under the specific region available to\nthe specified project.", + "file": "RegionZonesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_RegionZones_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Regions_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Region resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", - "file": "RegionsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.cloud.compute.v1.RegionsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Regions.Get", + "service": { + "fullName": "google.cloud.compute.v1.Regions", + "shortName": "Regions" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.cloud.compute.v1.RegionsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Regions.Get", - "service": { - "shortName": "Regions", - "fullName": "google.cloud.compute.v1.Regions" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Region resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", + "file": "RegionsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Regions_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Regions_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of region resources available to the specified project.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information\n(the `items.quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", - "file": "RegionsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.cloud.compute.v1.RegionsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Regions.List", + "service": { + "fullName": "google.cloud.compute.v1.Regions", + "shortName": "Regions" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegionIterator", - "client": { - "shortName": "RegionsClient", - "fullName": "google.cloud.compute.v1.RegionsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Regions.List", - "service": { - "shortName": "Regions", - "fullName": "google.cloud.compute.v1.Regions" - } - } + "shortName": "List" }, + "description": "List retrieves the list of region resources available to the specified project.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information\n(the `items.quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", + "file": "RegionsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Regions_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ReservationBlocks_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation block.", - "file": "ReservationBlocksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationBlocksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ReservationBlocks.Get", + "service": { + "fullName": "google.cloud.compute.v1.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ReservationBlocksGetResponse", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationBlocksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ReservationBlocks.Get", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1.ReservationBlocks" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get retrieves information about the specified reservation block.", + "file": "ReservationBlocksClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationBlocks_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ReservationBlocks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ReservationBlocksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationBlocksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.ReservationBlocks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationBlocksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.ReservationBlocks.GetIamPolicy", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1.ReservationBlocks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ReservationBlocksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationBlocks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ReservationBlocks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of reservation blocks under a single reservation.", - "file": "ReservationBlocksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationBlocksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ReservationBlocks.List", + "service": { + "fullName": "google.cloud.compute.v1.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationBlocksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationBlocksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationBlockIterator", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationBlocksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ReservationBlocks.List", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1.ReservationBlocks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of reservation blocks under a single reservation.", + "file": "ReservationBlocksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationBlocks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ReservationBlocks_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance allows customers to perform maintenance on a reservation block", - "file": "ReservationBlocksClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationBlocksClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1.ReservationBlocks.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationBlocksClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1.ReservationBlocks.PerformMaintenance", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1.ReservationBlocks" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance allows customers to perform maintenance on a reservation block", + "file": "ReservationBlocksClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationBlocks_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1_generated_ReservationBlocks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ReservationBlocksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationBlocksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.ReservationBlocks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationBlocksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.ReservationBlocks.SetIamPolicy", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1.ReservationBlocks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ReservationBlocksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationBlocks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ReservationBlocks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ReservationBlocksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationBlocksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.ReservationBlocks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationBlocksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.ReservationBlocks.TestIamPermissions", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1.ReservationBlocks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ReservationBlocksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationBlocks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_ReservationSlots_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation slot.", - "file": "ReservationSlotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1.ReservationSlotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSlots.Get", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationSlotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationSlotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ReservationSlotsGetResponse", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1.ReservationSlotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ReservationSlots.Get", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1.ReservationSlots" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation slot.", + "file": "ReservationSlotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSlots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ReservationSlots_GetVersion_sync", - "title": "compute GetVersion Sample", - "description": "GetVersion allows customers to get SBOM versions of a reservation slot.", - "file": "ReservationSlotsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1.ReservationSlotsClient.GetVersion", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSlots.GetVersion", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVersionReservationSlotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVersionReservationSlotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1.ReservationSlotsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.compute.v1.ReservationSlots.GetVersion", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1.ReservationSlots" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion allows customers to get SBOM versions of a reservation slot.", + "file": "ReservationSlotsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSlots_GetVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetVersion Sample" }, { - "regionTag": "compute_v1_generated_ReservationSlots_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of reservation slots under a single reservation.", - "file": "ReservationSlotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1.ReservationSlotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSlots.List", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationSlotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationSlotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationSlotIterator", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1.ReservationSlotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ReservationSlots.List", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1.ReservationSlots" - } - } + "shortName": "List" }, + "description": "List retrieves a list of reservation slots under a single reservation.", + "file": "ReservationSlotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSlots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ReservationSlots_Update_sync", - "title": "compute Update Sample", - "description": "Update update a reservation slot in the specified sub-block.", - "file": "ReservationSlotsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1.ReservationSlotsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSlots.Update", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateReservationSlotRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateReservationSlotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1.ReservationSlotsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.ReservationSlots.Update", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1.ReservationSlots" - } - } + "shortName": "Update" }, + "description": "Update update a reservation slot in the specified sub-block.", + "file": "ReservationSlotsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSlots_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation subBlock.", - "file": "ReservationSubBlocksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.Get", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ReservationSubBlocksGetResponse", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.Get", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation subBlock.", + "file": "ReservationSubBlocksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ReservationSubBlocksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.GetIamPolicy", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ReservationSubBlocksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_GetVersion_sync", - "title": "compute GetVersion Sample", - "description": "GetVersion allows customers to get SBOM versions of a reservation subBlock.", - "file": "ReservationSubBlocksClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.GetVersion", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.GetVersion", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVersionReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVersionReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.GetVersion", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion allows customers to get SBOM versions of a reservation subBlock.", + "file": "ReservationSubBlocksClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_GetVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetVersion Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of reservation subBlocks under a single reservation.", - "file": "ReservationSubBlocksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.List", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationSubBlocksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationSubBlocksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationSubBlockIterator", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.List", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of reservation subBlocks under a single reservation.", + "file": "ReservationSubBlocksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance allows customers to perform maintenance on a reservation subBlock", - "file": "ReservationSubBlocksClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.PerformMaintenance", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance allows customers to perform maintenance on a reservation subBlock", + "file": "ReservationSubBlocksClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_ReportFaulty_sync", - "title": "compute ReportFaulty Sample", - "description": "ReportFaulty allows customers to report a faulty subBlock.", - "file": "ReservationSubBlocksClient/ReportFaulty/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportFaulty", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.ReportFaulty", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.ReportFaulty", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "ReportFaulty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ReportFaultyReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.ReportFaultyReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "ReportFaulty", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.ReportFaulty", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "ReportFaulty" }, + "description": "ReportFaulty allows customers to report a faulty subBlock.", + "file": "ReservationSubBlocksClient/ReportFaulty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_ReportFaulty_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ReportFaulty Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ReservationSubBlocksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.SetIamPolicy", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ReservationSubBlocksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ReservationSubBlocks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ReservationSubBlocksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1.ReservationSubBlocksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks.TestIamPermissions", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1.ReservationSubBlocks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ReservationSubBlocksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ReservationSubBlocks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Reservations_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ReservationsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationsScopedListPairIterator", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Reservations.AggregatedList", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ReservationsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Reservations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified reservation.", - "file": "ReservationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Reservations.Delete", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified reservation.", + "file": "ReservationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Reservations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation.", - "file": "ReservationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.Get", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Reservation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Reservations.Get", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation.", + "file": "ReservationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Reservations_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ReservationsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Reservations.GetIamPolicy", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ReservationsClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Reservations_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new reservation. For more information, readReserving zonal\nresources.", - "file": "ReservationsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Reservations.Insert", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new reservation. For more information, readReserving zonal\nresources.", + "file": "ReservationsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Reservations_List_sync", - "title": "compute List Sample", - "description": "List a list of all the reservations that have been configured for the\nspecified project in specified zone.", - "file": "ReservationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.List", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationIterator", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Reservations.List", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "List" }, + "description": "List a list of all the reservations that have been configured for the\nspecified project in specified zone.", + "file": "ReservationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Reservations_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance perform maintenance on an extended reservation", - "file": "ReservationsClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1.Reservations.PerformMaintenance", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance perform maintenance on an extended reservation", + "file": "ReservationsClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1_generated_Reservations_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the reservation (applicable to standalone reservations only). For\nmore information, readModifying\nreservations.", - "file": "ReservationsClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.Resize", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1.Reservations.Resize", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the reservation (applicable to standalone reservations only). For\nmore information, readModifying\nreservations.", + "file": "ReservationsClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1_generated_Reservations_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ReservationsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Reservations.SetIamPolicy", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ReservationsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Reservations_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ReservationsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Reservations.TestIamPermissions", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ReservationsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Reservations_Update_sync", - "title": "compute Update Sample", - "description": "Update update share settings of the reservation.", - "file": "ReservationsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1.ReservationsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.Reservations.Update", + "service": { + "fullName": "google.cloud.compute.v1.Reservations", + "shortName": "Reservations" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1.ReservationsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Reservations.Update", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1.Reservations" - } - } + "shortName": "Update" }, + "description": "Update update share settings of the reservation.", + "file": "ReservationsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Reservations_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of resource policies.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ResourcePoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListResourcePoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListResourcePoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourcePoliciesScopedListPairIterator", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.ResourcePolicies.AggregatedList", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of resource policies.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ResourcePoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified resource policy.", - "file": "ResourcePoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.ResourcePolicies.Delete", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified resource policy.", + "file": "ResourcePoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves all information of the specified resource policy.", - "file": "ResourcePoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ResourcePolicy", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ResourcePolicies.Get", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "Get" }, + "description": "Get retrieves all information of the specified resource policy.", + "file": "ResourcePoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ResourcePoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.ResourcePolicies.GetIamPolicy", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ResourcePoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new resource policy.", - "file": "ResourcePoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.ResourcePolicies.Insert", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new resource policy.", + "file": "ResourcePoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_List_sync", - "title": "compute List Sample", - "description": "List a list all the resource policies that have been configured for the\nspecified project in specified region.", - "file": "ResourcePoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListResourcePoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListResourcePoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourcePolicyIterator", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ResourcePolicies.List", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "List" }, + "description": "List a list all the resource policies that have been configured for the\nspecified project in specified region.", + "file": "ResourcePoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch modify the specified resource policy.", - "file": "ResourcePoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.ResourcePolicies.Patch", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "Patch" }, + "description": "Patch modify the specified resource policy.", + "file": "ResourcePoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ResourcePoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.ResourcePolicies.SetIamPolicy", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ResourcePoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ResourcePolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ResourcePoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1.ResourcePoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.ResourcePolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1.ResourcePoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.ResourcePolicies.TestIamPermissions", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1.ResourcePolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ResourcePoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ResourcePolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_Routers_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of routers.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RoutersClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.Routers.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RoutersScopedListPairIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Routers.AggregatedList", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of routers.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RoutersClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Routers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Router resource.", - "file": "RoutersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Routers.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Routers.Delete", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Router resource.", + "file": "RoutersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Routers_DeleteRoutePolicy_sync", - "title": "compute DeleteRoutePolicy Sample", - "description": "DeleteRoutePolicy deletes Route Policy", - "file": "RoutersClient/DeleteRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.DeleteRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1.Routers.DeleteRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "DeleteRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "DeleteRoutePolicy", - "fullName": "google.cloud.compute.v1.Routers.DeleteRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "DeleteRoutePolicy" }, + "description": "DeleteRoutePolicy deletes Route Policy", + "file": "RoutersClient/DeleteRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_DeleteRoutePolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteRoutePolicy Sample" }, { - "regionTag": "compute_v1_generated_Routers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Router resource.", - "file": "RoutersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Routers.Get", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Router", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Routers.Get", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Router resource.", + "file": "RoutersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Routers_GetNatIpInfo_sync", - "title": "compute GetNatIpInfo Sample", - "description": "GetNatIpInfo retrieves runtime NAT IP information.", - "file": "RoutersClient/GetNatIpInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNatIpInfo", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.GetNatIpInfo", + "method": { + "fullName": "google.cloud.compute.v1.Routers.GetNatIpInfo", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "GetNatIpInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNatIpInfoRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNatIpInfoRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NatIpInfoResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "GetNatIpInfo", - "fullName": "google.cloud.compute.v1.Routers.GetNatIpInfo", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "GetNatIpInfo" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetNatIpInfo retrieves runtime NAT IP information.", + "file": "RoutersClient/GetNatIpInfo/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_GetNatIpInfo_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetNatIpInfo Sample" }, { - "regionTag": "compute_v1_generated_Routers_GetNatMappingInfo_sync", - "title": "compute GetNatMappingInfo Sample", - "description": "GetNatMappingInfo retrieves runtime Nat mapping information of VM endpoints.", - "file": "RoutersClient/GetNatMappingInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNatMappingInfo", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.GetNatMappingInfo", + "method": { + "fullName": "google.cloud.compute.v1.Routers.GetNatMappingInfo", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "GetNatMappingInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNatMappingInfoRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNatMappingInfoRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VmEndpointNatMappingsIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "GetNatMappingInfo", - "fullName": "google.cloud.compute.v1.Routers.GetNatMappingInfo", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "GetNatMappingInfo" }, + "description": "GetNatMappingInfo retrieves runtime Nat mapping information of VM endpoints.", + "file": "RoutersClient/GetNatMappingInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_GetNatMappingInfo_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetNatMappingInfo Sample" }, { - "regionTag": "compute_v1_generated_Routers_GetRoutePolicy_sync", - "title": "compute GetRoutePolicy Sample", - "description": "GetRoutePolicy returns specified Route Policy", - "file": "RoutersClient/GetRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.GetRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1.Routers.GetRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "GetRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RoutersGetRoutePolicyResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "GetRoutePolicy", - "fullName": "google.cloud.compute.v1.Routers.GetRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "GetRoutePolicy" }, + "description": "GetRoutePolicy returns specified Route Policy", + "file": "RoutersClient/GetRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_GetRoutePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRoutePolicy Sample" }, { - "regionTag": "compute_v1_generated_Routers_GetRouterStatus_sync", - "title": "compute GetRouterStatus Sample", - "description": "GetRouterStatus retrieves runtime information of the specified router.", - "file": "RoutersClient/GetRouterStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRouterStatus", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.GetRouterStatus", + "method": { + "fullName": "google.cloud.compute.v1.Routers.GetRouterStatus", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "GetRouterStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRouterStatusRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRouterStatusRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RouterStatusResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "GetRouterStatus", - "fullName": "google.cloud.compute.v1.Routers.GetRouterStatus", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "GetRouterStatus" }, + "description": "GetRouterStatus retrieves runtime information of the specified router.", + "file": "RoutersClient/GetRouterStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_GetRouterStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRouterStatus Sample" }, { - "regionTag": "compute_v1_generated_Routers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a Router resource in the specified project and region using\nthe data included in the request.", - "file": "RoutersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Routers.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Routers.Insert", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "Insert" }, + "description": "Insert creates a Router resource in the specified project and region using\nthe data included in the request.", + "file": "RoutersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Routers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Router resources available to the specified project.", - "file": "RoutersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Routers.List", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouterIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Routers.List", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Router resources available to the specified project.", + "file": "RoutersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Routers_ListBgpRoutes_sync", - "title": "compute ListBgpRoutes Sample", - "description": "ListBgpRoutes retrieves a list of router bgp routes available to the specified project.", - "file": "RoutersClient/ListBgpRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBgpRoutes", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.ListBgpRoutes", + "method": { + "fullName": "google.cloud.compute.v1.Routers.ListBgpRoutes", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "ListBgpRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListBgpRoutesRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListBgpRoutesRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BgpRouteIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "ListBgpRoutes", - "fullName": "google.cloud.compute.v1.Routers.ListBgpRoutes", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "ListBgpRoutes" }, + "description": "ListBgpRoutes retrieves a list of router bgp routes available to the specified project.", + "file": "RoutersClient/ListBgpRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_ListBgpRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListBgpRoutes Sample" }, { - "regionTag": "compute_v1_generated_Routers_ListRoutePolicies_sync", - "title": "compute ListRoutePolicies Sample", - "description": "ListRoutePolicies retrieves a list of router route policy subresources available to the\nspecified project.", - "file": "RoutersClient/ListRoutePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutePolicies", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.ListRoutePolicies", + "method": { + "fullName": "google.cloud.compute.v1.Routers.ListRoutePolicies", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "ListRoutePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRoutePoliciesRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRoutePoliciesRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RoutePolicyIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "ListRoutePolicies", - "fullName": "google.cloud.compute.v1.Routers.ListRoutePolicies", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "ListRoutePolicies" }, + "description": "ListRoutePolicies retrieves a list of router route policy subresources available to the\nspecified project.", + "file": "RoutersClient/ListRoutePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_ListRoutePolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListRoutePolicies Sample" }, { - "regionTag": "compute_v1_generated_Routers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "RoutersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Routers.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Routers.Patch", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "RoutersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Routers_PatchRoutePolicy_sync", - "title": "compute PatchRoutePolicy Sample", - "description": "PatchRoutePolicy patches Route Policy", - "file": "RoutersClient/PatchRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.PatchRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1.Routers.PatchRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "PatchRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "PatchRoutePolicy", - "fullName": "google.cloud.compute.v1.Routers.PatchRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "PatchRoutePolicy" }, + "description": "PatchRoutePolicy patches Route Policy", + "file": "RoutersClient/PatchRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_PatchRoutePolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRoutePolicy Sample" }, { - "regionTag": "compute_v1_generated_Routers_Preview_sync", - "title": "compute Preview Sample", - "description": "Preview preview fields auto-generated during router create andupdate operations.\nCalling this method does NOT create or update the router.", - "file": "RoutersClient/Preview/main.go", - "language": "GO", "clientMethod": { - "shortName": "Preview", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.Preview", + "method": { + "fullName": "google.cloud.compute.v1.Routers.Preview", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "Preview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PreviewRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PreviewRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RoutersPreviewResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "Preview", - "fullName": "google.cloud.compute.v1.Routers.Preview", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "Preview" }, + "description": "Preview preview fields auto-generated during router create andupdate operations.\nCalling this method does NOT create or update the router.", + "file": "RoutersClient/Preview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_Preview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Preview Sample" }, { - "regionTag": "compute_v1_generated_Routers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified Router resource with the data included in the\nrequest. This method conforms toPUT semantics, which requests that the state of the\ntarget resource be created or replaced with the state defined by the\nrepresentation enclosed in the request message payload.", - "file": "RoutersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.Update", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Routers.Update", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "Update" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.Routers.Update", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "Update" }, + "description": "Update updates the specified Router resource with the data included in the\nrequest. This method conforms toPUT semantics, which requests that the state of the\ntarget resource be created or replaced with the state defined by the\nrepresentation enclosed in the request message payload.", + "file": "RoutersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_Routers_UpdateRoutePolicy_sync", - "title": "compute UpdateRoutePolicy Sample", - "description": "UpdateRoutePolicy updates or creates new Route Policy", - "file": "RoutersClient/UpdateRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1.RoutersClient.UpdateRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1.Routers.UpdateRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1.Routers", + "shortName": "Routers" + }, + "shortName": "UpdateRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1.RoutersClient" - }, - "method": { - "shortName": "UpdateRoutePolicy", - "fullName": "google.cloud.compute.v1.Routers.UpdateRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1.Routers" - } - } + "shortName": "UpdateRoutePolicy" }, + "description": "UpdateRoutePolicy updates or creates new Route Policy", + "file": "RoutersClient/UpdateRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routers_UpdateRoutePolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateRoutePolicy Sample" }, { - "regionTag": "compute_v1_generated_Routes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Route resource.", - "file": "RoutesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1.RoutesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Routes.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Routes", + "shortName": "Routes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1.RoutesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Routes.Delete", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1.Routes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Route resource.", + "file": "RoutesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Routes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Route resource.", - "file": "RoutesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1.RoutesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Routes.Get", + "service": { + "fullName": "google.cloud.compute.v1.Routes", + "shortName": "Routes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Route", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1.RoutesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Routes.Get", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1.Routes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Route resource.", + "file": "RoutesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Routes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a Route resource in the specified project using the data included\nin the request.", - "file": "RoutesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1.RoutesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Routes.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Routes", + "shortName": "Routes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1.RoutesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Routes.Insert", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1.Routes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a Route resource in the specified project using the data included\nin the request.", + "file": "RoutesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Routes_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Route resources available to the specified project.", - "file": "RoutesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1.RoutesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Routes.List", + "service": { + "fullName": "google.cloud.compute.v1.Routes", + "shortName": "Routes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRoutesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteIterator", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1.RoutesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Routes.List", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1.Routes" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Route resources available to the specified project.", + "file": "RoutesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Routes_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RoutesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1.RoutesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Routes.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Routes", + "shortName": "Routes" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1.RoutesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Routes.TestIamPermissions", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1.Routes" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RoutesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Routes_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a security policy.", - "file": "SecurityPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1.SecurityPolicies.AddRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a security policy.", + "file": "SecurityPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all SecurityPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SecurityPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPoliciesScopedListPairIterator", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.SecurityPolicies.AggregatedList", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all SecurityPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SecurityPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "SecurityPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.SecurityPolicies.Delete", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "SecurityPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get list all of the ordered rules present in a single specified policy.", - "file": "SecurityPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicy", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.SecurityPolicies.Get", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get list all of the ordered rules present in a single specified policy.", + "file": "SecurityPoliciesClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule at the specified priority.", - "file": "SecurityPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyRule", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1.SecurityPolicies.GetRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule at the specified priority.", + "file": "SecurityPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "SecurityPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.SecurityPolicies.Insert", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "SecurityPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_List_sync", - "title": "compute List Sample", - "description": "List list all the policies that have been configured for the specified project.", - "file": "SecurityPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPolicyIterator", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.SecurityPolicies.List", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "List" }, + "description": "List list all the policies that have been configured for the specified project.", + "file": "SecurityPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_ListPreconfiguredExpressionSets_sync", - "title": "compute ListPreconfiguredExpressionSets Sample", - "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", - "file": "SecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPreconfiguredExpressionSets", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.ListPreconfiguredExpressionSets", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.ListPreconfiguredExpressionSets", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "ListPreconfiguredExpressionSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPreconfiguredExpressionSetsSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPreconfiguredExpressionSetsSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPoliciesListPreconfiguredExpressionSetsResponse", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "ListPreconfiguredExpressionSets", - "fullName": "google.cloud.compute.v1.SecurityPolicies.ListPreconfiguredExpressionSets", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "ListPreconfiguredExpressionSets" }, + "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", + "file": "SecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_ListPreconfiguredExpressionSets_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPreconfiguredExpressionSets Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", - "file": "SecurityPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.SecurityPolicies.Patch", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", + "file": "SecurityPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", - "file": "SecurityPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1.SecurityPolicies.PatchRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", + "file": "SecurityPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule at the specified priority.", - "file": "SecurityPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1.SecurityPolicies.RemoveRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule at the specified priority.", + "file": "SecurityPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1_generated_SecurityPolicies_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", - "file": "SecurityPoliciesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SecurityPoliciesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.SecurityPolicies.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1.SecurityPoliciesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.SecurityPolicies.SetLabels", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1.SecurityPolicies" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", + "file": "SecurityPoliciesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SecurityPolicies_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all ServiceAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ServiceAttachmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListServiceAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListServiceAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceAttachmentsScopedListPairIterator", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.ServiceAttachments.AggregatedList", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all ServiceAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ServiceAttachmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified ServiceAttachment in the given scope", - "file": "ServiceAttachmentsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.Delete", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.ServiceAttachments.Delete", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified ServiceAttachment in the given scope", + "file": "ServiceAttachmentsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified ServiceAttachment resource in the given scope.", - "file": "ServiceAttachmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.Get", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.Get", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Get" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ServiceAttachment", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ServiceAttachments.Get", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified ServiceAttachment resource in the given scope.", + "file": "ServiceAttachmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ServiceAttachmentsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.ServiceAttachments.GetIamPolicy", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ServiceAttachmentsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a ServiceAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "ServiceAttachmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.Insert", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.ServiceAttachments.Insert", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "Insert" }, + "description": "Insert creates a ServiceAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "ServiceAttachmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_List_sync", - "title": "compute List Sample", - "description": "List lists the ServiceAttachments for a project in the given scope.", - "file": "ServiceAttachmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.List", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListServiceAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListServiceAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceAttachmentIterator", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ServiceAttachments.List", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "List" }, + "description": "List lists the ServiceAttachments for a project in the given scope.", + "file": "ServiceAttachmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified ServiceAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "ServiceAttachmentsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.Patch", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.ServiceAttachments.Patch", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified ServiceAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "ServiceAttachmentsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ServiceAttachmentsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.ServiceAttachments.SetIamPolicy", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ServiceAttachmentsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_ServiceAttachments_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ServiceAttachmentsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.ServiceAttachments.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1.ServiceAttachmentsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.ServiceAttachments.TestIamPermissions", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1.ServiceAttachments" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ServiceAttachmentsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ServiceAttachments_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_SnapshotSettingsService_Get_sync", - "title": "compute Get Sample", - "description": "Get get snapshot settings.", - "file": "SnapshotSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotSettingsClient", + "shortName": "SnapshotSettingsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.SnapshotSettingsService.Get", + "service": { + "fullName": "google.cloud.compute.v1.SnapshotSettingsService", + "shortName": "SnapshotSettingsService" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSnapshotSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSnapshotSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SnapshotSettings", - "client": { - "shortName": "SnapshotSettingsClient", - "fullName": "google.cloud.compute.v1.SnapshotSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.SnapshotSettingsService.Get", - "service": { - "shortName": "SnapshotSettingsService", - "fullName": "google.cloud.compute.v1.SnapshotSettingsService" - } - } + "shortName": "Get" }, + "description": "Get get snapshot settings.", + "file": "SnapshotSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SnapshotSettingsService_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_SnapshotSettingsService_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch snapshot settings.", - "file": "SnapshotSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotSettingsClient", + "shortName": "SnapshotSettingsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.SnapshotSettingsService.Patch", + "service": { + "fullName": "google.cloud.compute.v1.SnapshotSettingsService", + "shortName": "SnapshotSettingsService" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSnapshotSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSnapshotSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotSettingsClient", - "fullName": "google.cloud.compute.v1.SnapshotSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.SnapshotSettingsService.Patch", - "service": { - "shortName": "SnapshotSettingsService", - "fullName": "google.cloud.compute.v1.SnapshotSettingsService" - } - } + "shortName": "Patch" }, + "description": "Patch patch snapshot settings.", + "file": "SnapshotSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SnapshotSettingsService_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", - "file": "SnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Snapshots.Delete", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", + "file": "SnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Snapshot resource.", - "file": "SnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Snapshot", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Snapshots.Get", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "Get" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Get returns the specified Snapshot resource.", + "file": "SnapshotsClient/Get/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_Get_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "SnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicySnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicySnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Snapshots.GetIamPolicy", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "SnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a snapshot in the specified project using the data included\nin the request. For regular snapshot creation, consider using this method\ninstead of disks.createSnapshot,\nas this method supports more features, such as creating snapshots in a\nproject different from the source disk project.", - "file": "SnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Snapshots.Insert", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates a snapshot in the specified project using the data included\nin the request. For regular snapshot creation, consider using this method\ninstead of disks.createSnapshot,\nas this method supports more features, such as creating snapshots in a\nproject different from the source disk project.", + "file": "SnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Snapshot resources contained within\nthe specified project.", - "file": "SnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.List", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotIterator", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Snapshots.List", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Snapshot resources contained within\nthe specified project.", + "file": "SnapshotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "SnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicySnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicySnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Snapshots.SetIamPolicy", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "SnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a snapshot. To learn more about labels, read theLabeling\nResources documentation.", - "file": "SnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.Snapshots.SetLabels", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a snapshot. To learn more about labels, read theLabeling\nResources documentation.", + "file": "SnapshotsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_Snapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1.SnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Snapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1.SnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Snapshots.TestIamPermissions", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1.Snapshots" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SnapshotsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Snapshots_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_SslCertificates_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all SslCertificate resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SslCertificatesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.SslCertificatesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.SslCertificates.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSslCertificatesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSslCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslCertificatesScopedListPairIterator", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1.SslCertificatesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.SslCertificates.AggregatedList", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1.SslCertificates" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all SslCertificate resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SslCertificatesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslCertificates_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_SslCertificates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SslCertificate resource.", - "file": "SslCertificatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.SslCertificatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.SslCertificates.Delete", + "service": { + "fullName": "google.cloud.compute.v1.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1.SslCertificatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.SslCertificates.Delete", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1.SslCertificates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SslCertificate resource.", + "file": "SslCertificatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslCertificates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_SslCertificates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified SslCertificate resource.", - "file": "SslCertificatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.SslCertificatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.SslCertificates.Get", + "service": { + "fullName": "google.cloud.compute.v1.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslCertificate", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1.SslCertificatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.SslCertificates.Get", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1.SslCertificates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified SslCertificate resource.", + "file": "SslCertificatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslCertificates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_SslCertificates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a SslCertificate resource in the specified project using the data\nincluded in the request.", - "file": "SslCertificatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.SslCertificatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.SslCertificates.Insert", + "service": { + "fullName": "google.cloud.compute.v1.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1.SslCertificatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.SslCertificates.Insert", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1.SslCertificates" - } - } + "shortName": "Insert" }, + "description": "Insert creates a SslCertificate resource in the specified project using the data\nincluded in the request.", + "file": "SslCertificatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslCertificates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_SslCertificates_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of SslCertificate resources available to the specified\nproject.", - "file": "SslCertificatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1.SslCertificatesClient.List", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.SslCertificates.List", + "service": { + "fullName": "google.cloud.compute.v1.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "List" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSslCertificatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSslCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslCertificateIterator", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1.SslCertificatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.SslCertificates.List", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1.SslCertificates" - } - } + "shortName": "List" }, + "description": "List retrieves the list of SslCertificate resources available to the specified\nproject.", + "file": "SslCertificatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslCertificates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all SslPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SslPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslPoliciesScopedListPairIterator", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.SslPolicies.AggregatedList", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all SslPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SslPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", - "file": "SslPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.SslPolicies.Delete", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", + "file": "SslPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get lists all of the ordered rules present in a single specified policy.", - "file": "SslPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPolicy", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.SslPolicies.Get", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "Get" }, + "description": "Get lists all of the ordered rules present in a single specified policy.", + "file": "SslPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert returns the specified SSL policy resource.", - "file": "SslPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.SslPolicies.Insert", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert returns the specified SSL policy resource.", + "file": "SslPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the SSL policies that have been configured for the specified\nproject.", - "file": "SslPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslPolicyIterator", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.SslPolicies.List", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the SSL policies that have been configured for the specified\nproject.", + "file": "SslPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_ListAvailableFeatures_sync", - "title": "compute ListAvailableFeatures Sample", - "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", - "file": "SslPoliciesClient/ListAvailableFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAvailableFeatures", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.ListAvailableFeatures", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.ListAvailableFeatures", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "ListAvailableFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAvailableFeaturesSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAvailableFeaturesSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPoliciesListAvailableFeaturesResponse", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "ListAvailableFeatures", - "fullName": "google.cloud.compute.v1.SslPolicies.ListAvailableFeatures", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "ListAvailableFeatures" }, + "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", + "file": "SslPoliciesClient/ListAvailableFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_ListAvailableFeatures_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAvailableFeatures Sample" }, { - "regionTag": "compute_v1_generated_SslPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified SSL policy with the data included in the request.", - "file": "SslPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1.SslPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.SslPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1.SslPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.SslPolicies.Patch", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1.SslPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified SSL policy with the data included in the request.", + "file": "SslPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_SslPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_StoragePoolTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of storage pool types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "StoragePoolTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolTypesClient", + "shortName": "StoragePoolTypesClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.StoragePoolTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.StoragePoolTypes", + "shortName": "StoragePoolTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListStoragePoolTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListStoragePoolTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolTypesScopedListPairIterator", - "client": { - "shortName": "StoragePoolTypesClient", - "fullName": "google.cloud.compute.v1.StoragePoolTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.StoragePoolTypes.AggregatedList", - "service": { - "shortName": "StoragePoolTypes", - "fullName": "google.cloud.compute.v1.StoragePoolTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of storage pool types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "StoragePoolTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePoolTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_StoragePoolTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified storage pool type.", - "file": "StoragePoolTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolTypesClient", + "shortName": "StoragePoolTypesClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.StoragePoolTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1.StoragePoolTypes", + "shortName": "StoragePoolTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetStoragePoolTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetStoragePoolTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.StoragePoolType", - "client": { - "shortName": "StoragePoolTypesClient", - "fullName": "google.cloud.compute.v1.StoragePoolTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.StoragePoolTypes.Get", - "service": { - "shortName": "StoragePoolTypes", - "fullName": "google.cloud.compute.v1.StoragePoolTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified storage pool type.", + "file": "StoragePoolTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePoolTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_StoragePoolTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of storage pool types available to the specified\nproject.", - "file": "StoragePoolTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolTypesClient", + "shortName": "StoragePoolTypesClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.StoragePoolTypes.List", + "service": { + "fullName": "google.cloud.compute.v1.StoragePoolTypes", + "shortName": "StoragePoolTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListStoragePoolTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListStoragePoolTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolTypeIterator", - "client": { - "shortName": "StoragePoolTypesClient", - "fullName": "google.cloud.compute.v1.StoragePoolTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.StoragePoolTypes.List", - "service": { - "shortName": "StoragePoolTypes", - "fullName": "google.cloud.compute.v1.StoragePoolTypes" - } - } + "shortName": "List" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "List retrieves a list of storage pool types available to the specified\nproject.", + "file": "StoragePoolTypesClient/List/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePoolTypes_List_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of storage pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "StoragePoolsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolsScopedListPairIterator", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.StoragePools.AggregatedList", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of storage pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "StoragePoolsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified storage pool. Deleting a storagePool\nremoves its data permanently and is irreversible. However, deleting a\nstoragePool does not delete any snapshots previously\nmade from the storagePool. You must separately delete\nsnapshots.", - "file": "StoragePoolsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.Delete", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.StoragePools.Delete", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified storage pool. Deleting a storagePool\nremoves its data permanently and is irreversible. However, deleting a\nstoragePool does not delete any snapshots previously\nmade from the storagePool. You must separately delete\nsnapshots.", + "file": "StoragePoolsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_Get_sync", - "title": "compute Get Sample", - "description": "Get returns a specified storage pool. Gets a list of available\nstorage pools by making a list() request.", - "file": "StoragePoolsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.Get", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.StoragePool", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.StoragePools.Get", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "Get" }, + "description": "Get returns a specified storage pool. Gets a list of available\nstorage pools by making a list() request.", + "file": "StoragePoolsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "StoragePoolsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.StoragePools.GetIamPolicy", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "StoragePoolsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a storage pool in the specified project using the data\nin the request.", - "file": "StoragePoolsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.Insert", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.StoragePools.Insert", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "Insert" }, + "description": "Insert creates a storage pool in the specified project using the data\nin the request.", + "file": "StoragePoolsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of storage pools contained within\nthe specified zone.", - "file": "StoragePoolsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.List", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolIterator", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.StoragePools.List", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "List" }, + "description": "List retrieves a list of storage pools contained within\nthe specified zone.", + "file": "StoragePoolsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_ListDisks_sync", - "title": "compute ListDisks Sample", - "description": "ListDisks lists the disks in a specified storage pool.", - "file": "StoragePoolsClient/ListDisks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDisks", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.ListDisks", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.ListDisks", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "ListDisks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListDisksStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListDisksStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolDiskIterator", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "ListDisks", - "fullName": "google.cloud.compute.v1.StoragePools.ListDisks", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "ListDisks" }, + "description": "ListDisks lists the disks in a specified storage pool.", + "file": "StoragePoolsClient/ListDisks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_ListDisks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListDisks Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "StoragePoolsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.StoragePools.SetIamPolicy", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "StoragePoolsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "StoragePoolsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.StoragePools.TestIamPermissions", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "StoragePoolsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_StoragePools_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified storagePool with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask. Only the following fields can be modified: \npool_provisioned_capacity_gb, pool_provisioned_iops and\npool_provisioned_throughput.", - "file": "StoragePoolsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1.StoragePoolsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.StoragePools.Update", + "service": { + "fullName": "google.cloud.compute.v1.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1.StoragePoolsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.StoragePools.Update", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1.StoragePools" - } - } + "shortName": "Update" }, + "description": "Update updates the specified storagePool with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask. Only the following fields can be modified: \npool_provisioned_capacity_gb, pool_provisioned_iops and\npool_provisioned_throughput.", + "file": "StoragePoolsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_StoragePools_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of subnetworks.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SubnetworksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.AggregatedList", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "AggregatedList" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSubnetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubnetworksScopedListPairIterator", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.Subnetworks.AggregatedList", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of subnetworks.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SubnetworksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified subnetwork.", - "file": "SubnetworksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.Delete", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.Subnetworks.Delete", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified subnetwork.", + "file": "SubnetworksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_ExpandIpCidrRange_sync", - "title": "compute ExpandIpCidrRange Sample", - "description": "ExpandIpCidrRange expands the IP CIDR range of the subnetwork to a specified value.", - "file": "SubnetworksClient/ExpandIpCidrRange/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExpandIpCidrRange", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.ExpandIpCidrRange", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.ExpandIpCidrRange", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "ExpandIpCidrRange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ExpandIpCidrRangeSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.ExpandIpCidrRangeSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "ExpandIpCidrRange", - "fullName": "google.cloud.compute.v1.Subnetworks.ExpandIpCidrRange", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "ExpandIpCidrRange" }, + "description": "ExpandIpCidrRange expands the IP CIDR range of the subnetwork to a specified value.", + "file": "SubnetworksClient/ExpandIpCidrRange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_ExpandIpCidrRange_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ExpandIpCidrRange Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified subnetwork.", - "file": "SubnetworksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.Get", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Subnetwork", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Subnetworks.Get", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified subnetwork.", + "file": "SubnetworksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "SubnetworksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicySubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicySubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1.Subnetworks.GetIamPolicy", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "SubnetworksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a subnetwork in the specified project using the data\nincluded in the request.", - "file": "SubnetworksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.Insert", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.Subnetworks.Insert", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a subnetwork in the specified project using the data\nincluded in the request.", + "file": "SubnetworksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of subnetworks available to the specified\nproject.", - "file": "SubnetworksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.List", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSubnetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubnetworkIterator", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Subnetworks.List", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of subnetworks available to the specified\nproject.", + "file": "SubnetworksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves an aggregated list of all usable subnetworks in the project.", - "file": "SubnetworksClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableSubnetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UsableSubnetworkIterator", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1.Subnetworks.ListUsable", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves an aggregated list of all usable subnetworks in the project.", + "file": "SubnetworksClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified subnetwork with the data included in the request.\nOnly certain fields can be updated with a patch request\nas indicated in the field descriptions.\nYou must specify the current fingerprint of the\nsubnetwork resource being patched.", - "file": "SubnetworksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.Patch", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.Subnetworks.Patch", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified subnetwork with the data included in the request.\nOnly certain fields can be updated with a patch request\nas indicated in the field descriptions.\nYou must specify the current fingerprint of the\nsubnetwork resource being patched.", + "file": "SubnetworksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "SubnetworksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicySubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicySubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1.Subnetworks.SetIamPolicy", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "SubnetworksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_SetPrivateIpGoogleAccess_sync", - "title": "compute SetPrivateIpGoogleAccess Sample", - "description": "SetPrivateIpGoogleAccess set whether VMs in this subnet can access Google services without assigning\nexternal IP addresses through Private Google Access.", - "file": "SubnetworksClient/SetPrivateIpGoogleAccess/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetPrivateIpGoogleAccess", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.SetPrivateIpGoogleAccess", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.SetPrivateIpGoogleAccess", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "SetPrivateIpGoogleAccess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetPrivateIpGoogleAccessSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.SetPrivateIpGoogleAccessSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "SetPrivateIpGoogleAccess", - "fullName": "google.cloud.compute.v1.Subnetworks.SetPrivateIpGoogleAccess", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "SetPrivateIpGoogleAccess" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetPrivateIpGoogleAccess set whether VMs in this subnet can access Google services without assigning\nexternal IP addresses through Private Google Access.", + "file": "SubnetworksClient/SetPrivateIpGoogleAccess/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_SetPrivateIpGoogleAccess_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetPrivateIpGoogleAccess Sample" }, { - "regionTag": "compute_v1_generated_Subnetworks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SubnetworksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1.SubnetworksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.Subnetworks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1.SubnetworksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.Subnetworks.TestIamPermissions", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1.Subnetworks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SubnetworksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Subnetworks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_TargetGrpcProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetGrpcProxy in the given scope", - "file": "TargetGrpcProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Delete", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetGrpcProxy in the given scope", + "file": "TargetGrpcProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetGrpcProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetGrpcProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetGrpcProxy resource in the given scope.", - "file": "TargetGrpcProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetGrpcProxy", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Get", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetGrpcProxy resource in the given scope.", + "file": "TargetGrpcProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetGrpcProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetGrpcProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetGrpcProxy in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "TargetGrpcProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Insert", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetGrpcProxy in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "TargetGrpcProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetGrpcProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetGrpcProxies_List_sync", - "title": "compute List Sample", - "description": "List lists the TargetGrpcProxies for a project in the given scope.", - "file": "TargetGrpcProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetGrpcProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetGrpcProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetGrpcProxyIterator", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies.List", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies" - } - } + "shortName": "List" }, + "description": "List lists the TargetGrpcProxies for a project in the given scope.", + "file": "TargetGrpcProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetGrpcProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetGrpcProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified TargetGrpcProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "TargetGrpcProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies.Patch", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1.TargetGrpcProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified TargetGrpcProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "TargetGrpcProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetGrpcProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all TargetHttpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetHttpProxiesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetHttpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetHttpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpProxiesScopedListPairIterator", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.AggregatedList", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all TargetHttpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetHttpProxiesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpProxy resource.", - "file": "TargetHttpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.Delete", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpProxy resource.", + "file": "TargetHttpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpProxy resource.", - "file": "TargetHttpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpProxy", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.Get", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpProxy resource.", + "file": "TargetHttpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpProxy resource in the specified\nproject using the data included in the request.", - "file": "TargetHttpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.Insert", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpProxy resource in the specified\nproject using the data included in the request.", + "file": "TargetHttpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project.", - "file": "TargetHttpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.List", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "List" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetHttpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetHttpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpProxyIterator", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.List", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project.", + "file": "TargetHttpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified TargetHttpProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "TargetHttpProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.Patch", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified TargetHttpProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "TargetHttpProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpProxy.", - "file": "TargetHttpProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1.TargetHttpProxies.SetUrlMap", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1.TargetHttpProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpProxy.", + "file": "TargetHttpProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all TargetHttpsProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetHttpsProxiesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetHttpsProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetHttpsProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpsProxiesScopedListPairIterator", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.AggregatedList", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all TargetHttpsProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetHttpsProxiesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpsProxy resource.", - "file": "TargetHttpsProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Delete", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpsProxy resource.", + "file": "TargetHttpsProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpsProxy resource.", - "file": "TargetHttpsProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpsProxy", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Get", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpsProxy resource.", + "file": "TargetHttpsProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpsProxy resource in the specified\nproject using the data included in the request.", - "file": "TargetHttpsProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Insert", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpsProxy resource in the specified\nproject using the data included in the request.", + "file": "TargetHttpsProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpsProxy resources\navailable to the specified project.", - "file": "TargetHttpsProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetHttpsProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetHttpsProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpsProxyIterator", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.List", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpsProxy resources\navailable to the specified project.", + "file": "TargetHttpsProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified TargetHttpsProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "TargetHttpsProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.Patch", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified TargetHttpsProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "TargetHttpsProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_SetCertificateMap_sync", - "title": "compute SetCertificateMap Sample", - "description": "SetCertificateMap changes the Certificate Map for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCertificateMap", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.SetCertificateMap", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetCertificateMap", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCertificateMapTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCertificateMapTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetCertificateMap", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetCertificateMap", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "SetCertificateMap" }, + "description": "SetCertificateMap changes the Certificate Map for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_SetCertificateMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCertificateMap Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_SetQuicOverride_sync", - "title": "compute SetQuicOverride Sample", - "description": "SetQuicOverride sets the QUIC override policy for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetQuicOverride/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetQuicOverride", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.SetQuicOverride", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetQuicOverride", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetQuicOverride" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetQuicOverrideTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetQuicOverrideTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetQuicOverride", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetQuicOverride", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "SetQuicOverride" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetQuicOverride sets the QUIC override policy for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetQuicOverride/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_SetQuicOverride_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetQuicOverride Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_SetSslCertificates_sync", - "title": "compute SetSslCertificates Sample", - "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetSslCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslCertificates", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.SetSslCertificates", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetSslCertificates", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetSslCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslCertificatesTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslCertificatesTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetSslCertificates", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetSslCertificates", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "SetSslCertificates" }, + "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetSslCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_SetSslCertificates_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslCertificates Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_SetSslPolicy_sync", - "title": "compute SetSslPolicy Sample", - "description": "SetSslPolicy sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the HTTPS proxy load balancer. They do not affect the\nconnection between the load balancer and the backends.", - "file": "TargetHttpsProxiesClient/SetSslPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslPolicy", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.SetSslPolicy", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetSslPolicy", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetSslPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslPolicyTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslPolicyTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetSslPolicy", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetSslPolicy", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "SetSslPolicy" }, + "description": "SetSslPolicy sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the HTTPS proxy load balancer. They do not affect the\nconnection between the load balancer and the backends.", + "file": "TargetHttpsProxiesClient/SetSslPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_SetSslPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslPolicy Sample" }, { - "regionTag": "compute_v1_generated_TargetHttpsProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies.SetUrlMap", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1.TargetHttpsProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetHttpsProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of target instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetInstancesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetInstancesScopedListPairIterator", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.TargetInstances.AggregatedList", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of target instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetInstancesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetInstance resource.", - "file": "TargetInstancesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetInstances.Delete", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetInstance resource.", + "file": "TargetInstancesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetInstance resource.", - "file": "TargetInstancesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetInstance", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetInstances.Get", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetInstance resource.", + "file": "TargetInstancesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetInstance resource in the specified project and zone using\nthe data included in the request.", - "file": "TargetInstancesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetInstances.Insert", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetInstance resource in the specified project and zone using\nthe data included in the request.", + "file": "TargetInstancesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of TargetInstance resources available to the specified\nproject and zone.", - "file": "TargetInstancesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetInstanceIterator", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetInstances.List", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "List" }, + "description": "List retrieves a list of TargetInstance resources available to the specified\nproject and zone.", + "file": "TargetInstancesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target\ninstance. For more information, seeGoogle\nCloud Armor Overview", - "file": "TargetInstancesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1.TargetInstances.SetSecurityPolicy", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target\ninstance. For more information, seeGoogle\nCloud Armor Overview", + "file": "TargetInstancesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_TargetInstances_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetInstancesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1.TargetInstancesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.TargetInstances.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1.TargetInstancesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.TargetInstances.TestIamPermissions", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1.TargetInstances" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetInstancesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetInstances_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_AddHealthCheck_sync", - "title": "compute AddHealthCheck Sample", - "description": "AddHealthCheck adds health check URLs to a target pool.", - "file": "TargetPoolsClient/AddHealthCheck/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddHealthCheck", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.AddHealthCheck", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.AddHealthCheck", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "AddHealthCheck" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddHealthCheckTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.AddHealthCheckTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "AddHealthCheck", - "fullName": "google.cloud.compute.v1.TargetPools.AddHealthCheck", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "AddHealthCheck" }, + "description": "AddHealthCheck adds health check URLs to a target pool.", + "file": "TargetPoolsClient/AddHealthCheck/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_AddHealthCheck_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddHealthCheck Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_AddInstance_sync", - "title": "compute AddInstance Sample", - "description": "AddInstance adds an instance to a target pool.", - "file": "TargetPoolsClient/AddInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddInstance", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.AddInstance", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.AddInstance", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "AddInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddInstanceTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.AddInstanceTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "AddInstance", - "fullName": "google.cloud.compute.v1.TargetPools.AddInstance", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "AddInstance" }, + "description": "AddInstance adds an instance to a target pool.", + "file": "TargetPoolsClient/AddInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_AddInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddInstance Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of target pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetPoolsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetPoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetPoolsScopedListPairIterator", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.TargetPools.AggregatedList", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of target pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetPoolsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified target pool.", - "file": "TargetPoolsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetPools.Delete", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified target pool.", + "file": "TargetPoolsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified target pool.", - "file": "TargetPoolsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetPool", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetPools.Get", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "Get" }, + "description": "Get returns the specified target pool.", + "file": "TargetPoolsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_GetHealth_sync", - "title": "compute GetHealth Sample", - "description": "GetHealth gets the most recent health check results for each IP for the\ninstance that is referenced by the given target pool.", - "file": "TargetPoolsClient/GetHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHealth", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.GetHealth", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.GetHealth", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "GetHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetPoolInstanceHealth", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "GetHealth", - "fullName": "google.cloud.compute.v1.TargetPools.GetHealth", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "GetHealth" }, + "description": "GetHealth gets the most recent health check results for each IP for the\ninstance that is referenced by the given target pool.", + "file": "TargetPoolsClient/GetHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_GetHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetHealth Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a target pool in the specified project and region using\nthe data included in the request.", - "file": "TargetPoolsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetPools.Insert", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "Insert" }, + "description": "Insert creates a target pool in the specified project and region using\nthe data included in the request.", + "file": "TargetPoolsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of target pools available to the specified\nproject and region.", - "file": "TargetPoolsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetPoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetPoolIterator", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetPools.List", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "List" }, + "description": "List retrieves a list of target pools available to the specified\nproject and region.", + "file": "TargetPoolsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_RemoveHealthCheck_sync", - "title": "compute RemoveHealthCheck Sample", - "description": "RemoveHealthCheck removes health check URL from a target pool.", - "file": "TargetPoolsClient/RemoveHealthCheck/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveHealthCheck", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.RemoveHealthCheck", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.RemoveHealthCheck", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "RemoveHealthCheck" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveHealthCheckTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveHealthCheckTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "RemoveHealthCheck", - "fullName": "google.cloud.compute.v1.TargetPools.RemoveHealthCheck", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "RemoveHealthCheck" }, + "description": "RemoveHealthCheck removes health check URL from a target pool.", + "file": "TargetPoolsClient/RemoveHealthCheck/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_RemoveHealthCheck_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveHealthCheck Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_RemoveInstance_sync", - "title": "compute RemoveInstance Sample", - "description": "RemoveInstance removes instance URL from a target pool.", - "file": "TargetPoolsClient/RemoveInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveInstance", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.RemoveInstance", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.RemoveInstance", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "RemoveInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveInstanceTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveInstanceTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "RemoveInstance", - "fullName": "google.cloud.compute.v1.TargetPools.RemoveInstance", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "RemoveInstance" }, + "description": "RemoveInstance removes instance URL from a target pool.", + "file": "TargetPoolsClient/RemoveInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_RemoveInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveInstance Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_SetBackup_sync", - "title": "compute SetBackup Sample", - "description": "SetBackup changes a backup target pool's configurations.", - "file": "TargetPoolsClient/SetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetBackup", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.SetBackup", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.SetBackup", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "SetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetBackupTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.SetBackupTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "SetBackup", - "fullName": "google.cloud.compute.v1.TargetPools.SetBackup", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "SetBackup" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetBackup changes a backup target pool's configurations.", + "file": "TargetPoolsClient/SetBackup/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_SetBackup_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetBackup Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target pool.\nFor more information, seeGoogle\nCloud Armor Overview", - "file": "TargetPoolsClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1.TargetPools.SetSecurityPolicy", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target pool.\nFor more information, seeGoogle\nCloud Armor Overview", + "file": "TargetPoolsClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1_generated_TargetPools_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetPoolsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1.TargetPoolsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.TargetPools.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1.TargetPoolsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.TargetPools.TestIamPermissions", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1.TargetPools" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetPoolsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetPools_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetSslProxy resource.", - "file": "TargetSslProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetSslProxies.Delete", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetSslProxy resource.", + "file": "TargetSslProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetSslProxy resource.", - "file": "TargetSslProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetSslProxy", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetSslProxies.Get", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetSslProxy resource.", + "file": "TargetSslProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetSslProxy resource in the specified project using\nthe data included in the request.", - "file": "TargetSslProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetSslProxies.Insert", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetSslProxy resource in the specified project using\nthe data included in the request.", + "file": "TargetSslProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetSslProxy resources\navailable to the specified project.", - "file": "TargetSslProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetSslProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetSslProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSslProxyIterator", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetSslProxies.List", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetSslProxy resources\navailable to the specified project.", + "file": "TargetSslProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_SetBackendService_sync", - "title": "compute SetBackendService Sample", - "description": "SetBackendService changes the BackendService for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetBackendService/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetBackendService", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.SetBackendService", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.SetBackendService", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetBackendService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetBackendServiceTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetBackendServiceTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetBackendService", - "fullName": "google.cloud.compute.v1.TargetSslProxies.SetBackendService", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "SetBackendService" }, + "description": "SetBackendService changes the BackendService for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetBackendService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_SetBackendService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetBackendService Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_SetCertificateMap_sync", - "title": "compute SetCertificateMap Sample", - "description": "SetCertificateMap changes the Certificate Map for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCertificateMap", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.SetCertificateMap", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.SetCertificateMap", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCertificateMapTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCertificateMapTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetCertificateMap", - "fullName": "google.cloud.compute.v1.TargetSslProxies.SetCertificateMap", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "SetCertificateMap" }, + "description": "SetCertificateMap changes the Certificate Map for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_SetCertificateMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCertificateMap Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_SetProxyHeader_sync", - "title": "compute SetProxyHeader Sample", - "description": "SetProxyHeader changes the ProxyHeaderType for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetProxyHeader/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetProxyHeader", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.SetProxyHeader", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.SetProxyHeader", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetProxyHeader" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetProxyHeaderTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetProxyHeaderTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetProxyHeader", - "fullName": "google.cloud.compute.v1.TargetSslProxies.SetProxyHeader", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "SetProxyHeader" }, + "description": "SetProxyHeader changes the ProxyHeaderType for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetProxyHeader/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_SetProxyHeader_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetProxyHeader Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_SetSslCertificates_sync", - "title": "compute SetSslCertificates Sample", - "description": "SetSslCertificates changes SslCertificates for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetSslCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslCertificates", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.SetSslCertificates", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.SetSslCertificates", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetSslCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslCertificatesTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslCertificatesTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetSslCertificates", - "fullName": "google.cloud.compute.v1.TargetSslProxies.SetSslCertificates", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "SetSslCertificates" }, + "description": "SetSslCertificates changes SslCertificates for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetSslCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_SetSslCertificates_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslCertificates Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_SetSslPolicy_sync", - "title": "compute SetSslPolicy Sample", - "description": "SetSslPolicy sets the SSL policy for TargetSslProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the load balancer. They do not affect the\nconnection between the load balancer and the backends.", - "file": "TargetSslProxiesClient/SetSslPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslPolicy", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.SetSslPolicy", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.SetSslPolicy", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetSslPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslPolicyTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslPolicyTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetSslPolicy", - "fullName": "google.cloud.compute.v1.TargetSslProxies.SetSslPolicy", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "SetSslPolicy" }, + "description": "SetSslPolicy sets the SSL policy for TargetSslProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the load balancer. They do not affect the\nconnection between the load balancer and the backends.", + "file": "TargetSslProxiesClient/SetSslPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_SetSslPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslPolicy Sample" }, { - "regionTag": "compute_v1_generated_TargetSslProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetSslProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetSslProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.TargetSslProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1.TargetSslProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.TargetSslProxies.TestIamPermissions", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1.TargetSslProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetSslProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetSslProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all TargetTcpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetTcpProxiesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetTcpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetTcpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetTcpProxiesScopedListPairIterator", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.AggregatedList", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all TargetTcpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetTcpProxiesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetTcpProxy resource.", - "file": "TargetTcpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.Delete", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetTcpProxy resource.", + "file": "TargetTcpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetTcpProxy resource.", - "file": "TargetTcpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetTcpProxy", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.Get", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetTcpProxy resource.", + "file": "TargetTcpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetTcpProxy resource in the specified project using\nthe data included in the request.", - "file": "TargetTcpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.Insert", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetTcpProxy resource in the specified project using\nthe data included in the request.", + "file": "TargetTcpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetTcpProxy resources\navailable to the specified project.", - "file": "TargetTcpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetTcpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetTcpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetTcpProxyIterator", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.List", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetTcpProxy resources\navailable to the specified project.", + "file": "TargetTcpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_SetBackendService_sync", - "title": "compute SetBackendService Sample", - "description": "SetBackendService changes the BackendService for TargetTcpProxy.", - "file": "TargetTcpProxiesClient/SetBackendService/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetBackendService", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.SetBackendService", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.SetBackendService", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "SetBackendService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetBackendServiceTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetBackendServiceTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "SetBackendService", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.SetBackendService", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "SetBackendService" }, + "description": "SetBackendService changes the BackendService for TargetTcpProxy.", + "file": "TargetTcpProxiesClient/SetBackendService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_SetBackendService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetBackendService Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_SetProxyHeader_sync", - "title": "compute SetProxyHeader Sample", - "description": "SetProxyHeader changes the ProxyHeaderType for TargetTcpProxy.", - "file": "TargetTcpProxiesClient/SetProxyHeader/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetProxyHeader", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.SetProxyHeader", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "computepb.SetProxyHeaderTargetTcpProxyRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*Operation", "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" }, + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.SetProxyHeader", "method": { - "shortName": "SetProxyHeader", "fullName": "google.cloud.compute.v1.TargetTcpProxies.SetProxyHeader", "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "SetProxyHeader" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "computepb.SetProxyHeaderTargetTcpProxyRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*Operation", + "shortName": "SetProxyHeader" }, + "description": "SetProxyHeader changes the ProxyHeaderType for TargetTcpProxy.", + "file": "TargetTcpProxiesClient/SetProxyHeader/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_SetProxyHeader_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetProxyHeader Sample" }, { - "regionTag": "compute_v1_generated_TargetTcpProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetTcpProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1.TargetTcpProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.TargetTcpProxies.TestIamPermissions", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1.TargetTcpProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetTcpProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetTcpProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_TargetVpnGateways_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of target VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetVpnGatewaysClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetVpnGatewaysScopedListPairIterator", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.TargetVpnGateways.AggregatedList", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1.TargetVpnGateways" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of target VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetVpnGatewaysClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetVpnGateways_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_TargetVpnGateways_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified target VPN gateway.", - "file": "TargetVpnGatewaysClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways.Delete", + "service": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.TargetVpnGateways.Delete", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1.TargetVpnGateways" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified target VPN gateway.", + "file": "TargetVpnGatewaysClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetVpnGateways_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_TargetVpnGateways_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified target VPN gateway.", - "file": "TargetVpnGatewaysClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways.Get", + "service": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetVpnGateway", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.TargetVpnGateways.Get", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1.TargetVpnGateways" - } - } + "shortName": "Get" }, + "description": "Get returns the specified target VPN gateway.", + "file": "TargetVpnGatewaysClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetVpnGateways_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_TargetVpnGateways_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a target VPN gateway in the specified project and region using\nthe data included in the request.", - "file": "TargetVpnGatewaysClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways.Insert", + "service": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.TargetVpnGateways.Insert", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1.TargetVpnGateways" - } - } + "shortName": "Insert" }, + "description": "Insert creates a target VPN gateway in the specified project and region using\nthe data included in the request.", + "file": "TargetVpnGatewaysClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetVpnGateways_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_TargetVpnGateways_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of target VPN gateways available to the specified\nproject and region.", - "file": "TargetVpnGatewaysClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient.List", + "method": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways.List", + "service": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetVpnGatewayIterator", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.TargetVpnGateways.List", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1.TargetVpnGateways" - } - } + "shortName": "List" }, + "description": "List retrieves a list of target VPN gateways available to the specified\nproject and region.", + "file": "TargetVpnGatewaysClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetVpnGateways_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_TargetVpnGateways_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling\nResources documentation.", - "file": "TargetVpnGatewaysClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.TargetVpnGateways.SetLabels", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1.TargetVpnGateways" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling\nResources documentation.", + "file": "TargetVpnGatewaysClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_TargetVpnGateways_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all UrlMap resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "UrlMapsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListUrlMapsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListUrlMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UrlMapsScopedListPairIterator", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.UrlMaps.AggregatedList", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all UrlMap resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "UrlMapsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified UrlMap resource.", - "file": "UrlMapsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.Delete", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.UrlMaps.Delete", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified UrlMap resource.", + "file": "UrlMapsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified UrlMap resource.", - "file": "UrlMapsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.Get", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.GetUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMap", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.UrlMaps.Get", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "Get" }, + "description": "Get returns the specified UrlMap resource.", + "file": "UrlMapsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", - "file": "UrlMapsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.Insert", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.UrlMaps.Insert", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "Insert" }, + "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", + "file": "UrlMapsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_InvalidateCache_sync", - "title": "compute InvalidateCache Sample", - "description": "InvalidateCache initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", - "file": "UrlMapsClient/InvalidateCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "InvalidateCache", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.InvalidateCache", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.InvalidateCache", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "InvalidateCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InvalidateCacheUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InvalidateCacheUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "InvalidateCache", - "fullName": "google.cloud.compute.v1.UrlMaps.InvalidateCache", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "InvalidateCache" }, + "description": "InvalidateCache initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", + "file": "UrlMapsClient/InvalidateCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_InvalidateCache_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute InvalidateCache Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of UrlMap resources available to the specified\nproject.", - "file": "UrlMapsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.List", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUrlMapsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUrlMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UrlMapIterator", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.UrlMaps.List", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "List" }, + "description": "List retrieves the list of UrlMap resources available to the specified\nproject.", + "file": "UrlMapsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "UrlMapsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.Patch", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.UrlMaps.Patch", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "UrlMapsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "UrlMapsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.UrlMaps.TestIamPermissions", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "UrlMapsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", - "file": "UrlMapsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.Update", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1.UrlMaps.Update", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "Update" }, + "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", + "file": "UrlMapsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1_generated_UrlMaps_Validate_sync", - "title": "compute Validate Sample", - "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", - "file": "UrlMapsClient/Validate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Validate", + "client": { + "fullName": "google.cloud.compute.v1.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1.UrlMapsClient.Validate", + "method": { + "fullName": "google.cloud.compute.v1.UrlMaps.Validate", + "service": { + "fullName": "google.cloud.compute.v1.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Validate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ValidateUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.ValidateUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMapsValidateResponse", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1.UrlMapsClient" - }, - "method": { - "shortName": "Validate", - "fullName": "google.cloud.compute.v1.UrlMaps.Validate", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1.UrlMaps" - } - } + "shortName": "Validate" }, + "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", + "file": "UrlMapsClient/Validate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_UrlMaps_Validate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Validate Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "VpnGatewaysClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnGatewaysScopedListPairIterator", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.VpnGateways.AggregatedList", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "VpnGatewaysClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified VPN gateway.", - "file": "VpnGatewaysClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.Delete", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.VpnGateways.Delete", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified VPN gateway.", + "file": "VpnGatewaysClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified VPN gateway.", - "file": "VpnGatewaysClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.Get", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.VpnGateway", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.VpnGateways.Get", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "Get" }, + "description": "Get returns the specified VPN gateway.", + "file": "VpnGatewaysClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_GetStatus_sync", - "title": "compute GetStatus Sample", - "description": "GetStatus returns the status for the specified VPN gateway.", - "file": "VpnGatewaysClient/GetStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStatus", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.GetStatus", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.GetStatus", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "GetStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetStatusVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetStatusVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*computepb.VpnGatewaysGetStatusResponse", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "GetStatus", - "fullName": "google.cloud.compute.v1.VpnGateways.GetStatus", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*computepb.VpnGatewaysGetStatusResponse", + "shortName": "GetStatus" }, + "description": "GetStatus returns the status for the specified VPN gateway.", + "file": "VpnGatewaysClient/GetStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_GetStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetStatus Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a VPN gateway in the specified project and region using\nthe data included in the request.", - "file": "VpnGatewaysClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.Insert", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.VpnGateways.Insert", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "Insert" }, + "description": "Insert creates a VPN gateway in the specified project and region using\nthe data included in the request.", + "file": "VpnGatewaysClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of VPN gateways available to the specified\nproject and region.", - "file": "VpnGatewaysClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.List", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.List", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.ListVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnGatewayIterator", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.VpnGateways.List", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "List" }, + "description": "List retrieves a list of VPN gateways available to the specified\nproject and region.", + "file": "VpnGatewaysClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a VpnGateway. To learn more about labels, read theLabeling\nResources documentation.", - "file": "VpnGatewaysClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.VpnGateways.SetLabels", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a VpnGateway. To learn more about labels, read theLabeling\nResources documentation.", + "file": "VpnGatewaysClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_VpnGateways_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "VpnGatewaysClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1.VpnGatewaysClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1.VpnGateways.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1.VpnGatewaysClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1.VpnGateways.TestIamPermissions", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1.VpnGateways" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "VpnGatewaysClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnGateways_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1_generated_VpnTunnels_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of VPN tunnels.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "VpnTunnelsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1.VpnTunnelsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1.VpnTunnels.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListVpnTunnelsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListVpnTunnelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnTunnelsScopedListPairIterator", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1.VpnTunnelsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1.VpnTunnels.AggregatedList", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1.VpnTunnels" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of VPN tunnels.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "VpnTunnelsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnTunnels_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1_generated_VpnTunnels_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified VpnTunnel resource.", - "file": "VpnTunnelsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1.VpnTunnelsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.VpnTunnels.Delete", + "service": { + "fullName": "google.cloud.compute.v1.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1.VpnTunnelsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.VpnTunnels.Delete", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1.VpnTunnels" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified VpnTunnel resource.", + "file": "VpnTunnelsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnTunnels_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_VpnTunnels_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified VpnTunnel resource.", - "file": "VpnTunnelsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1.VpnTunnelsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.VpnTunnels.Get", + "service": { + "fullName": "google.cloud.compute.v1.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.VpnTunnel", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1.VpnTunnelsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.VpnTunnels.Get", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1.VpnTunnels" - } - } + "shortName": "Get" }, + "description": "Get returns the specified VpnTunnel resource.", + "file": "VpnTunnelsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnTunnels_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_VpnTunnels_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a VpnTunnel resource in the specified project and region using\nthe data included in the request.", - "file": "VpnTunnelsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1.VpnTunnelsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.VpnTunnels.Insert", + "service": { + "fullName": "google.cloud.compute.v1.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1.VpnTunnelsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.VpnTunnels.Insert", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1.VpnTunnels" - } - } + "shortName": "Insert" }, + "description": "Insert creates a VpnTunnel resource in the specified project and region using\nthe data included in the request.", + "file": "VpnTunnelsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnTunnels_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_VpnTunnels_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of VpnTunnel resources contained in the specified\nproject and region.", - "file": "VpnTunnelsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1.VpnTunnelsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.VpnTunnels.List", + "service": { + "fullName": "google.cloud.compute.v1.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListVpnTunnelsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListVpnTunnelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnTunnelIterator", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1.VpnTunnelsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.VpnTunnels.List", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1.VpnTunnels" - } - } + "shortName": "List" }, + "description": "List retrieves a list of VpnTunnel resources contained in the specified\nproject and region.", + "file": "VpnTunnelsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnTunnels_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_VpnTunnels_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a VpnTunnel. To learn more about labels, read theLabeling\nResources documentation.", - "file": "VpnTunnelsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1.VpnTunnelsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1.VpnTunnels.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1.VpnTunnelsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1.VpnTunnels.SetLabels", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1.VpnTunnels" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a VpnTunnel. To learn more about labels, read theLabeling\nResources documentation.", + "file": "VpnTunnelsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_VpnTunnels_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1_generated_WireGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified wire group in the given scope.", - "file": "WireGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1.WireGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.WireGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1.WireGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.WireGroups.Delete", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1.WireGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified wire group in the given scope.", + "file": "WireGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_WireGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_WireGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get gets the specified wire group resource in the given scope.", - "file": "WireGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1.WireGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.WireGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.WireGroup", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1.WireGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.WireGroups.Get", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1.WireGroups" - } - } + "shortName": "Get" }, + "description": "Get gets the specified wire group resource in the given scope.", + "file": "WireGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_WireGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_WireGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a wire group in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "WireGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1.WireGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1.WireGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1.WireGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1.WireGroups.Insert", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1.WireGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a wire group in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "WireGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_WireGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1_generated_WireGroups_List_sync", - "title": "compute List Sample", - "description": "List lists the wire groups for a project in the given scope.", - "file": "WireGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1.WireGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.WireGroups.List", + "service": { + "fullName": "google.cloud.compute.v1.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListWireGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListWireGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WireGroupIterator", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1.WireGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.WireGroups.List", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1.WireGroups" - } - } + "shortName": "List" }, + "description": "List lists the wire groups for a project in the given scope.", + "file": "WireGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_WireGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_WireGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified wire group resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "WireGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1.WireGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1.WireGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1.WireGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1.WireGroups.Patch", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1.WireGroups" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified wire group resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "WireGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_WireGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1_generated_ZoneOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified zone-specific Operations resource.", - "file": "ZoneOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1.ZoneOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1.ZoneOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteZoneOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteZoneOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteZoneOperationResponse", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1.ZoneOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1.ZoneOperations.Delete", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1.ZoneOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified zone-specific Operations resource.", + "file": "ZoneOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ZoneOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1_generated_ZoneOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified zone-specific Operations resource.", - "file": "ZoneOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1.ZoneOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.ZoneOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetZoneOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetZoneOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1.ZoneOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.ZoneOperations.Get", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1.ZoneOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified zone-specific Operations resource.", + "file": "ZoneOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ZoneOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_ZoneOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within\nthe specified zone.", - "file": "ZoneOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1.ZoneOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1.ZoneOperations.List", + "service": { + "fullName": "google.cloud.compute.v1.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListZoneOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListZoneOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1.ZoneOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.ZoneOperations.List", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1.ZoneOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within\nthe specified zone.", + "file": "ZoneOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ZoneOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1_generated_ZoneOperations_Wait_sync", - "title": "compute Wait Sample", - "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method waits for no more than the\n2 minutes and then returns the current state of the\noperation, which might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", - "file": "ZoneOperationsClient/Wait/main.go", - "language": "GO", "clientMethod": { - "shortName": "Wait", + "client": { + "fullName": "google.cloud.compute.v1.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1.ZoneOperationsClient.Wait", + "method": { + "fullName": "google.cloud.compute.v1.ZoneOperations.Wait", + "service": { + "fullName": "google.cloud.compute.v1.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "Wait" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WaitZoneOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.WaitZoneOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1.ZoneOperationsClient" - }, - "method": { - "shortName": "Wait", - "fullName": "google.cloud.compute.v1.ZoneOperations.Wait", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1.ZoneOperations" - } - } + "shortName": "Wait" }, + "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method waits for no more than the\n2 minutes and then returns the current state of the\noperation, which might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", + "file": "ZoneOperationsClient/Wait/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_ZoneOperations_Wait_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Wait Sample" }, { - "regionTag": "compute_v1_generated_Zones_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Zone resource.", - "file": "ZonesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1.ZonesClient", + "shortName": "ZonesClient" + }, "fullName": "google.cloud.compute.v1.ZonesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1.Zones.Get", + "service": { + "fullName": "google.cloud.compute.v1.Zones", + "shortName": "Zones" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetZoneRequest", - "name": "req" + "name": "req", + "type": "computepb.GetZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Zone", - "client": { - "shortName": "ZonesClient", - "fullName": "google.cloud.compute.v1.ZonesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1.Zones.Get", - "service": { - "shortName": "Zones", - "fullName": "google.cloud.compute.v1.Zones" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Zone resource.", + "file": "ZonesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Zones_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1_generated_Zones_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Zone resources available to the specified project.", - "file": "ZonesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1.ZonesClient", + "shortName": "ZonesClient" + }, "fullName": "google.cloud.compute.v1.ZonesClient.List", + "method": { + "fullName": "google.cloud.compute.v1.Zones.List", + "service": { + "fullName": "google.cloud.compute.v1.Zones", + "shortName": "Zones" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListZonesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListZonesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ZoneIterator", - "client": { - "shortName": "ZonesClient", - "fullName": "google.cloud.compute.v1.ZonesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1.Zones.List", - "service": { - "shortName": "Zones", - "fullName": "google.cloud.compute.v1.Zones" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Zone resources available to the specified project.", + "file": "ZonesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1_generated_Zones_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/compute/apiv1beta/snippet_metadata.google.cloud.compute.v1beta.json b/internal/generated/snippets/compute/apiv1beta/snippet_metadata.google.cloud.compute.v1beta.json index 6867211bda40..12aa1f0294db 100644 --- a/internal/generated/snippets/compute/apiv1beta/snippet_metadata.google.cloud.compute.v1beta.json +++ b/internal/generated/snippets/compute/apiv1beta/snippet_metadata.google.cloud.compute.v1beta.json @@ -1,48453 +1,48453 @@ { "clientLibrary": { - "name": "cloud.google.com/go/compute/apiv1beta", - "version": "1.57.0", - "language": "GO", "apis": [ { "id": "google.cloud.compute.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/compute/apiv1beta", + "version": "1.57.0" }, "snippets": [ { - "regionTag": "compute_v1beta_generated_AcceleratorTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of accelerator types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "AcceleratorTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient", + "shortName": "AcceleratorTypesClient" + }, "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypes", + "shortName": "AcceleratorTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListAcceleratorTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListAcceleratorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceleratorTypesScopedListPairIterator", - "client": { - "shortName": "AcceleratorTypesClient", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypes.AggregatedList", - "service": { - "shortName": "AcceleratorTypes", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of accelerator types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "AcceleratorTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_AcceleratorTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_AcceleratorTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified accelerator type.", - "file": "AcceleratorTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient", + "shortName": "AcceleratorTypesClient" + }, "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypes", + "shortName": "AcceleratorTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAcceleratorTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAcceleratorTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.AcceleratorType", - "client": { - "shortName": "AcceleratorTypesClient", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypes.Get", - "service": { - "shortName": "AcceleratorTypes", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified accelerator type.", + "file": "AcceleratorTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_AcceleratorTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_AcceleratorTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of accelerator types that are available to the specified\nproject.", - "file": "AcceleratorTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient", + "shortName": "AcceleratorTypesClient" + }, "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.AcceleratorTypes", + "shortName": "AcceleratorTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAcceleratorTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAcceleratorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceleratorTypeIterator", - "client": { - "shortName": "AcceleratorTypesClient", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypes.List", - "service": { - "shortName": "AcceleratorTypes", - "fullName": "google.cloud.compute.v1beta.AcceleratorTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of accelerator types that are available to the specified\nproject.", + "file": "AcceleratorTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_AcceleratorTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of addresses.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "AddressesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListAddressesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddressesScopedListPairIterator", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Addresses.AggregatedList", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of addresses.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "AddressesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified address resource.", - "file": "AddressesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Addresses.Delete", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified address resource.", + "file": "AddressesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified address resource.", - "file": "AddressesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Address", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Addresses.Get", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "Get" }, + "description": "Get returns the specified address resource.", + "file": "AddressesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", - "file": "AddressesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Addresses.Insert", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "Insert" }, + "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", + "file": "AddressesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of addresses contained within\nthe specified region.", - "file": "AddressesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAddressesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddressIterator", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Addresses.List", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "List" }, + "description": "List retrieves a list of addresses contained within\nthe specified region.", + "file": "AddressesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified address resource.", - "file": "AddressesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.Move", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1beta.Addresses.Move", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "Move" }, + "description": "Move moves the specified address resource.", + "file": "AddressesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an Address. To learn more about labels, read theLabeling\nResources documentation.", - "file": "AddressesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.Addresses.SetLabels", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an Address. To learn more about labels, read theLabeling\nResources documentation.", + "file": "AddressesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Addresses_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "AddressesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.AddressesClient", + "shortName": "AddressesClient" + }, "fullName": "google.cloud.compute.v1beta.AddressesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Addresses.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Addresses", + "shortName": "Addresses" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "AddressesClient", - "fullName": "google.cloud.compute.v1beta.AddressesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Addresses.TestIamPermissions", - "service": { - "shortName": "Addresses", - "fullName": "google.cloud.compute.v1beta.Addresses" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "AddressesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Addresses_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Advice_CalendarMode_sync", - "title": "compute CalendarMode Sample", - "description": "CalendarMode advise how, where and when to create the requested amount of instances\nwith specified accelerators, within the specified time and location limits.\nThe method recommends creating future reservations for the requested\nresources.", - "file": "AdviceClient/CalendarMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalendarMode", + "client": { + "fullName": "google.cloud.compute.v1beta.AdviceClient", + "shortName": "AdviceClient" + }, "fullName": "google.cloud.compute.v1beta.AdviceClient.CalendarMode", + "method": { + "fullName": "google.cloud.compute.v1beta.Advice.CalendarMode", + "service": { + "fullName": "google.cloud.compute.v1beta.Advice", + "shortName": "Advice" + }, + "shortName": "CalendarMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CalendarModeAdviceRpcRequest", - "name": "req" + "name": "req", + "type": "computepb.CalendarModeAdviceRpcRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.CalendarModeAdviceResponse", - "client": { - "shortName": "AdviceClient", - "fullName": "google.cloud.compute.v1beta.AdviceClient" - }, - "method": { - "shortName": "CalendarMode", - "fullName": "google.cloud.compute.v1beta.Advice.CalendarMode", - "service": { - "shortName": "Advice", - "fullName": "google.cloud.compute.v1beta.Advice" - } - } + "shortName": "CalendarMode" }, + "description": "CalendarMode advise how, where and when to create the requested amount of instances\nwith specified accelerators, within the specified time and location limits.\nThe method recommends creating future reservations for the requested\nresources.", + "file": "AdviceClient/CalendarMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Advice_CalendarMode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CalendarMode Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of autoscalers.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "AutoscalersClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListAutoscalersRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListAutoscalersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalersScopedListPairIterator", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Autoscalers.AggregatedList", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of autoscalers.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "AutoscalersClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified autoscaler.", - "file": "AutoscalersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Autoscalers.Delete", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified autoscaler.", + "file": "AutoscalersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified autoscaler resource.", - "file": "AutoscalersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Autoscaler", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Autoscalers.Get", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "Get" }, + "description": "Get returns the specified autoscaler resource.", + "file": "AutoscalersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an autoscaler in the specified project using the data\nincluded in the request.", - "file": "AutoscalersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Autoscalers.Insert", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "Insert" }, + "description": "Insert creates an autoscaler in the specified project using the data\nincluded in the request.", + "file": "AutoscalersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of autoscalers contained within\nthe specified zone.", - "file": "AutoscalersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAutoscalersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAutoscalersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalerIterator", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Autoscalers.List", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of autoscalers contained within\nthe specified zone.", + "file": "AutoscalersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates an autoscaler in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "AutoscalersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Autoscalers.Patch", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "Patch" }, + "description": "Patch updates an autoscaler in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "AutoscalersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "AutoscalersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Autoscalers.TestIamPermissions", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "AutoscalersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Autoscalers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates an autoscaler in the specified project using the data\nincluded in the request.", - "file": "AutoscalersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.AutoscalersClient", + "shortName": "AutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.AutoscalersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Autoscalers.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Autoscalers", + "shortName": "Autoscalers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "AutoscalersClient", - "fullName": "google.cloud.compute.v1beta.AutoscalersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Autoscalers.Update", - "service": { - "shortName": "Autoscalers", - "fullName": "google.cloud.compute.v1beta.Autoscalers" - } - } + "shortName": "Update" }, + "description": "Update updates an autoscaler in the specified project using the data\nincluded in the request.", + "file": "AutoscalersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Autoscalers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_AddSignedUrlKey_sync", - "title": "compute AddSignedUrlKey Sample", - "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nbucket.", - "file": "BackendBucketsClient/AddSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.AddSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.AddSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "AddSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddSignedUrlKeyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.AddSignedUrlKeyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "AddSignedUrlKey", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.AddSignedUrlKey", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "AddSignedUrlKey" }, + "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nbucket.", + "file": "BackendBucketsClient/AddSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_AddSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddSignedUrlKey Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all BackendBucket resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "BackendBucketsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListBackendBucketsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListBackendBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendBucketsScopedListPairIterator", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.AggregatedList", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all BackendBucket resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "BackendBucketsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified BackendBucket resource.", - "file": "BackendBucketsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.Delete", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified BackendBucket resource.", + "file": "BackendBucketsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_DeleteSignedUrlKey_sync", - "title": "compute DeleteSignedUrlKey Sample", - "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nbucket.", - "file": "BackendBucketsClient/DeleteSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.DeleteSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.DeleteSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "DeleteSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSignedUrlKeyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSignedUrlKeyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "DeleteSignedUrlKey", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.DeleteSignedUrlKey", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "DeleteSignedUrlKey" }, + "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nbucket.", + "file": "BackendBucketsClient/DeleteSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_DeleteSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteSignedUrlKey Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified BackendBucket resource.", - "file": "BackendBucketsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.GetBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendBucket", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.Get", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "Get" }, + "description": "Get returns the specified BackendBucket resource.", + "file": "BackendBucketsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "BackendBucketsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.GetIamPolicy", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "BackendBucketsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a BackendBucket resource in the specified project using\nthe data included in the request.", - "file": "BackendBucketsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.Insert", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "Insert" }, + "description": "Insert creates a BackendBucket resource in the specified project using\nthe data included in the request.", + "file": "BackendBucketsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of BackendBucket resources available to the specified\nproject.", - "file": "BackendBucketsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.List", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListBackendBucketsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListBackendBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendBucketIterator", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.List", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "List" }, + "description": "List retrieves the list of BackendBucket resources available to the specified\nproject.", + "file": "BackendBucketsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves a list of all usable backend buckets in the specified project.", - "file": "BackendBucketsClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableBackendBucketsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableBackendBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendBucketIterator", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.ListUsable", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves a list of all usable backend buckets in the specified project.", + "file": "BackendBucketsClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "BackendBucketsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.Patch", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "BackendBucketsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_SetEdgeSecurityPolicy_sync", - "title": "compute SetEdgeSecurityPolicy Sample", - "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend bucket.", - "file": "BackendBucketsClient/SetEdgeSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetEdgeSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.SetEdgeSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.SetEdgeSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "SetEdgeSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetEdgeSecurityPolicyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.SetEdgeSecurityPolicyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "SetEdgeSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.SetEdgeSecurityPolicy", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "SetEdgeSecurityPolicy" }, + "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend bucket.", + "file": "BackendBucketsClient/SetEdgeSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_SetEdgeSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetEdgeSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "BackendBucketsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.SetIamPolicy", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "BackendBucketsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "BackendBucketsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.TestIamPermissions", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "BackendBucketsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_BackendBuckets_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified BackendBucket resource with the data included in the\nrequest.", - "file": "BackendBucketsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendBucketsClient", + "shortName": "BackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.BackendBucketsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendBuckets", + "shortName": "BackendBuckets" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.BackendBucketsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.BackendBuckets.Update", - "service": { - "shortName": "BackendBuckets", - "fullName": "google.cloud.compute.v1beta.BackendBuckets" - } - } + "shortName": "Update" }, + "description": "Update updates the specified BackendBucket resource with the data included in the\nrequest.", + "file": "BackendBucketsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendBuckets_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_AddSignedUrlKey_sync", - "title": "compute AddSignedUrlKey Sample", - "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nservice.", - "file": "BackendServicesClient/AddSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.AddSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.AddSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "AddSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddSignedUrlKeyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddSignedUrlKeyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "AddSignedUrlKey", - "fullName": "google.cloud.compute.v1beta.BackendServices.AddSignedUrlKey", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "AddSignedUrlKey" }, + "description": "AddSignedUrlKey adds a key for validating requests with signed URLs for this backend\nservice.", + "file": "BackendServicesClient/AddSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_AddSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddSignedUrlKey Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all BackendService resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "BackendServicesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServicesScopedListPairIterator", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.BackendServices.AggregatedList", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all BackendService resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "BackendServicesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified BackendService resource.", - "file": "BackendServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.BackendServices.Delete", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified BackendService resource.", + "file": "BackendServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_DeleteSignedUrlKey_sync", - "title": "compute DeleteSignedUrlKey Sample", - "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nservice.", - "file": "BackendServicesClient/DeleteSignedUrlKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSignedUrlKey", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.DeleteSignedUrlKey", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.DeleteSignedUrlKey", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "DeleteSignedUrlKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSignedUrlKeyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSignedUrlKeyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "DeleteSignedUrlKey", - "fullName": "google.cloud.compute.v1beta.BackendServices.DeleteSignedUrlKey", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "DeleteSignedUrlKey" }, + "description": "DeleteSignedUrlKey deletes a key for validating requests with signed URLs for this backend\nservice.", + "file": "BackendServicesClient/DeleteSignedUrlKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_DeleteSignedUrlKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteSignedUrlKey Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified BackendService resource.", - "file": "BackendServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendService", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.BackendServices.Get", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "Get" }, + "description": "Get returns the specified BackendService resource.", + "file": "BackendServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_GetEffectiveSecurityPolicies_sync", - "title": "compute GetEffectiveSecurityPolicies Sample", - "description": "GetEffectiveSecurityPolicies returns effective security policies applied to this backend service.", - "file": "BackendServicesClient/GetEffectiveSecurityPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveSecurityPolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.GetEffectiveSecurityPolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.GetEffectiveSecurityPolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "GetEffectiveSecurityPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveSecurityPoliciesBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveSecurityPoliciesBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendServicesGetEffectiveSecurityPoliciesResponse", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "GetEffectiveSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.BackendServices.GetEffectiveSecurityPolicies", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "GetEffectiveSecurityPolicies" }, + "description": "GetEffectiveSecurityPolicies returns effective security policies applied to this backend service.", + "file": "BackendServicesClient/GetEffectiveSecurityPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_GetEffectiveSecurityPolicies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveSecurityPolicies Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_GetHealth_sync", - "title": "compute GetHealth Sample", - "description": "GetHealth gets the most recent health check results for this\nBackendService.\n\nExample request body: \n\n{\n\"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\"\n}", - "file": "BackendServicesClient/GetHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHealth", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.GetHealth", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.GetHealth", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "GetHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendServiceGroupHealth", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "GetHealth", - "fullName": "google.cloud.compute.v1beta.BackendServices.GetHealth", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "GetHealth" }, + "description": "GetHealth gets the most recent health check results for this\nBackendService.\n\nExample request body: \n\n{\n\"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\"\n}", + "file": "BackendServicesClient/GetHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_GetHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetHealth Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "BackendServicesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.BackendServices.GetIamPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "BackendServicesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", - "file": "BackendServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.BackendServices.Insert", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", + "file": "BackendServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of BackendService resources available to the specified\nproject.", - "file": "BackendServicesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.List", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.BackendServices.List", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "List" }, + "description": "List retrieves the list of BackendService resources available to the specified\nproject.", + "file": "BackendServicesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves a list of all usable backend services in the specified project.", - "file": "BackendServicesClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1beta.BackendServices.ListUsable", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves a list of all usable backend services in the specified project.", + "file": "BackendServicesClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified BackendService resource with the data included in the\nrequest. For more information, see\nBackend services overview. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "BackendServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.BackendServices.Patch", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified BackendService resource with the data included in the\nrequest. For more information, see\nBackend services overview. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "BackendServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_SetEdgeSecurityPolicy_sync", - "title": "compute SetEdgeSecurityPolicy Sample", - "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend service.", - "file": "BackendServicesClient/SetEdgeSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetEdgeSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.SetEdgeSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.SetEdgeSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "SetEdgeSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetEdgeSecurityPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetEdgeSecurityPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "SetEdgeSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.BackendServices.SetEdgeSecurityPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "SetEdgeSecurityPolicy" }, + "description": "SetEdgeSecurityPolicy sets the edge security policy for the specified backend service.", + "file": "BackendServicesClient/SetEdgeSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_SetEdgeSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetEdgeSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "BackendServicesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.BackendServices.SetIamPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "BackendServicesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", - "file": "BackendServicesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.BackendServices.SetSecurityPolicy", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", + "file": "BackendServicesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "BackendServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.BackendServices.TestIamPermissions", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "BackendServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_BackendServices_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified BackendService resource with the data included in the\nrequest. For more information, seeBackend\nservices overview.", - "file": "BackendServicesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.BackendServicesClient", + "shortName": "BackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.BackendServicesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.BackendServices.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.BackendServices", + "shortName": "BackendServices" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "BackendServicesClient", - "fullName": "google.cloud.compute.v1beta.BackendServicesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.BackendServices.Update", - "service": { - "shortName": "BackendServices", - "fullName": "google.cloud.compute.v1beta.BackendServices" - } - } + "shortName": "Update" }, + "description": "Update updates the specified BackendService resource with the data included in the\nrequest. For more information, seeBackend\nservices overview.", + "file": "BackendServicesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_BackendServices_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified cross-site network in the given scope.", - "file": "CrossSiteNetworksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Delete", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified cross-site network in the given scope.", + "file": "CrossSiteNetworksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified cross-site network in the given scope.", - "file": "CrossSiteNetworksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.CrossSiteNetwork", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Get", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified cross-site network in the given scope.", + "file": "CrossSiteNetworksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a cross-site network in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "CrossSiteNetworksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Insert", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a cross-site network in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "CrossSiteNetworksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_CrossSiteNetworks_List_sync", - "title": "compute List Sample", - "description": "List lists the cross-site networks for a project in the given scope.", - "file": "CrossSiteNetworksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListCrossSiteNetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListCrossSiteNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CrossSiteNetworkIterator", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.List", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks" - } - } + "shortName": "List" }, + "description": "List lists the cross-site networks for a project in the given scope.", + "file": "CrossSiteNetworksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_CrossSiteNetworks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified cross-site network with the data included in\nthe request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "CrossSiteNetworksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient", + "shortName": "CrossSiteNetworksClient" + }, "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks", + "shortName": "CrossSiteNetworks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchCrossSiteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchCrossSiteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "CrossSiteNetworksClient", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks.Patch", - "service": { - "shortName": "CrossSiteNetworks", - "fullName": "google.cloud.compute.v1beta.CrossSiteNetworks" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified cross-site network with the data included in\nthe request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "CrossSiteNetworksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_CrossSiteNetworks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_DiskSettingsService_Get_sync", - "title": "compute Get Sample", - "description": "Get get Zonal Disk Settings.", - "file": "DiskSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.DiskSettingsClient", + "shortName": "DiskSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.DiskSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.DiskSettingsService.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.DiskSettingsService", + "shortName": "DiskSettingsService" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiskSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiskSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DiskSettings", - "client": { - "shortName": "DiskSettingsClient", - "fullName": "google.cloud.compute.v1beta.DiskSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.DiskSettingsService.Get", - "service": { - "shortName": "DiskSettingsService", - "fullName": "google.cloud.compute.v1beta.DiskSettingsService" - } - } + "shortName": "Get" }, + "description": "Get get Zonal Disk Settings.", + "file": "DiskSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_DiskSettingsService_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_DiskSettingsService_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch Zonal Disk Settings", - "file": "DiskSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.DiskSettingsClient", + "shortName": "DiskSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.DiskSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.DiskSettingsService.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.DiskSettingsService", + "shortName": "DiskSettingsService" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchDiskSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchDiskSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DiskSettingsClient", - "fullName": "google.cloud.compute.v1beta.DiskSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.DiskSettingsService.Patch", - "service": { - "shortName": "DiskSettingsService", - "fullName": "google.cloud.compute.v1beta.DiskSettingsService" - } - } + "shortName": "Patch" }, + "description": "Patch patch Zonal Disk Settings", + "file": "DiskSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_DiskSettingsService_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_DiskTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of disk types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "DiskTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.DiskTypesClient", + "shortName": "DiskTypesClient" + }, "fullName": "google.cloud.compute.v1beta.DiskTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.DiskTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.DiskTypes", + "shortName": "DiskTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListDiskTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListDiskTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskTypesScopedListPairIterator", - "client": { - "shortName": "DiskTypesClient", - "fullName": "google.cloud.compute.v1beta.DiskTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.DiskTypes.AggregatedList", - "service": { - "shortName": "DiskTypes", - "fullName": "google.cloud.compute.v1beta.DiskTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of disk types.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "DiskTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_DiskTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_DiskTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified disk type.", - "file": "DiskTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.DiskTypesClient", + "shortName": "DiskTypesClient" + }, "fullName": "google.cloud.compute.v1beta.DiskTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.DiskTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.DiskTypes", + "shortName": "DiskTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiskTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiskTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DiskType", - "client": { - "shortName": "DiskTypesClient", - "fullName": "google.cloud.compute.v1beta.DiskTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.DiskTypes.Get", - "service": { - "shortName": "DiskTypes", - "fullName": "google.cloud.compute.v1beta.DiskTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified disk type.", + "file": "DiskTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_DiskTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_DiskTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of disk types available to the specified\nproject.", - "file": "DiskTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.DiskTypesClient", + "shortName": "DiskTypesClient" + }, "fullName": "google.cloud.compute.v1beta.DiskTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.DiskTypes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.DiskTypes", + "shortName": "DiskTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListDiskTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListDiskTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskTypeIterator", - "client": { - "shortName": "DiskTypesClient", - "fullName": "google.cloud.compute.v1beta.DiskTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.DiskTypes.List", - "service": { - "shortName": "DiskTypes", - "fullName": "google.cloud.compute.v1beta.DiskTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of disk types available to the specified\nproject.", + "file": "DiskTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_DiskTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_AddResourcePolicies_sync", - "title": "compute AddResourcePolicies Sample", - "description": "AddResourcePolicies adds existing resource policies to a disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", - "file": "DisksClient/AddResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.AddResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.AddResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "AddResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddResourcePoliciesDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.AddResourcePoliciesDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "AddResourcePolicies", - "fullName": "google.cloud.compute.v1beta.Disks.AddResourcePolicies", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "AddResourcePolicies" }, + "description": "AddResourcePolicies adds existing resource policies to a disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", + "file": "DisksClient/AddResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_AddResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddResourcePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of persistent disks.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "DisksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListDisksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListDisksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisksScopedListPairIterator", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Disks.AggregatedList", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of persistent disks.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "DisksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert bulk create a set of disks.", - "file": "DisksClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1beta.Disks.BulkInsert", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "BulkInsert" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "BulkInsert bulk create a set of disks.", + "file": "DisksClient/BulkInsert/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_BulkInsert_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_BulkSetLabels_sync", - "title": "compute BulkSetLabels Sample", - "description": "BulkSetLabels sets the labels on many disks at once. To learn more about labels, read theLabeling\nResources documentation.", - "file": "DisksClient/BulkSetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkSetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.BulkSetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.BulkSetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "BulkSetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkSetLabelsDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkSetLabelsDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "BulkSetLabels", - "fullName": "google.cloud.compute.v1beta.Disks.BulkSetLabels", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "BulkSetLabels" }, + "description": "BulkSetLabels sets the labels on many disks at once. To learn more about labels, read theLabeling\nResources documentation.", + "file": "DisksClient/BulkSetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_BulkSetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkSetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_CreateSnapshot_sync", - "title": "compute CreateSnapshot Sample", - "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", - "file": "DisksClient/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.CreateSnapshot", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.CreateSnapshot", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateSnapshotDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateSnapshotDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.compute.v1beta.Disks.CreateSnapshot", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", + "file": "DisksClient/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateSnapshot Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified persistent disk. Deleting a disk removes its data\npermanently and is irreversible. However, deleting a disk does not\ndelete any snapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", - "file": "DisksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Disks.Delete", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified persistent disk. Deleting a disk removes its data\npermanently and is irreversible. However, deleting a disk does not\ndelete any snapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", + "file": "DisksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified persistent disk.", - "file": "DisksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Disk", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Disks.Get", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified persistent disk.", + "file": "DisksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "DisksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Disks.GetIamPolicy", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "DisksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a persistent disk in the specified project using the data\nin the request. You can create a disk from a source\n(sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by\nomitting all properties. You can also create a disk that is larger than\nthe default size by specifying the sizeGb property.", - "file": "DisksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Disks.Insert", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a persistent disk in the specified project using the data\nin the request. You can create a disk from a source\n(sourceImage, sourceSnapshot, orsourceDisk) or create an empty 500 GB data disk by\nomitting all properties. You can also create a disk that is larger than\nthe default size by specifying the sizeGb property.", + "file": "DisksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of persistent disks contained within\nthe specified zone.", - "file": "DisksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListDisksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListDisksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskIterator", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Disks.List", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of persistent disks contained within\nthe specified zone.", + "file": "DisksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_RemoveResourcePolicies_sync", - "title": "compute RemoveResourcePolicies Sample", - "description": "RemoveResourcePolicies removes resource policies from a disk.", - "file": "DisksClient/RemoveResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.RemoveResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.RemoveResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "RemoveResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveResourcePoliciesDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveResourcePoliciesDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "RemoveResourcePolicies", - "fullName": "google.cloud.compute.v1beta.Disks.RemoveResourcePolicies", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "RemoveResourcePolicies" }, + "description": "RemoveResourcePolicies removes resource policies from a disk.", + "file": "DisksClient/RemoveResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_RemoveResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveResourcePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the specified persistent disk.\nYou can only increase the size of the disk.", - "file": "DisksClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.Resize", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1beta.Disks.Resize", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the specified persistent disk.\nYou can only increase the size of the disk.", + "file": "DisksClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "DisksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Disks.SetIamPolicy", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "DisksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a disk. To learn more about labels, read theLabeling\nResources documentation.", - "file": "DisksClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.Disks.SetLabels", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a disk. To learn more about labels, read theLabeling\nResources documentation.", + "file": "DisksClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_StartAsyncReplication_sync", - "title": "compute StartAsyncReplication Sample", - "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", - "file": "DisksClient/StartAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.StartAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.StartAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "StartAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartAsyncReplicationDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StartAsyncReplicationDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "StartAsyncReplication", - "fullName": "google.cloud.compute.v1beta.Disks.StartAsyncReplication", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "StartAsyncReplication" }, + "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", + "file": "DisksClient/StartAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_StartAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartAsyncReplication Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_StopAsyncReplication_sync", - "title": "compute StopAsyncReplication Sample", - "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", - "file": "DisksClient/StopAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.StopAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.StopAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "StopAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopAsyncReplicationDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopAsyncReplicationDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "StopAsyncReplication", - "fullName": "google.cloud.compute.v1beta.Disks.StopAsyncReplication", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "StopAsyncReplication" }, + "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", + "file": "DisksClient/StopAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_StopAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopAsyncReplication Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_StopGroupAsyncReplication_sync", - "title": "compute StopGroupAsyncReplication Sample", - "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", - "file": "DisksClient/StopGroupAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopGroupAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.StopGroupAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.StopGroupAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "StopGroupAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopGroupAsyncReplicationDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopGroupAsyncReplicationDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "StopGroupAsyncReplication", - "fullName": "google.cloud.compute.v1beta.Disks.StopGroupAsyncReplication", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "StopGroupAsyncReplication" }, + "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", + "file": "DisksClient/StopGroupAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_StopGroupAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopGroupAsyncReplication Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "DisksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Disks.TestIamPermissions", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "DisksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Disks_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified disk with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask.", - "file": "DisksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.DisksClient", + "shortName": "DisksClient" + }, "fullName": "google.cloud.compute.v1beta.DisksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Disks.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Disks", + "shortName": "Disks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "DisksClient", - "fullName": "google.cloud.compute.v1beta.DisksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Disks.Update", - "service": { - "shortName": "Disks", - "fullName": "google.cloud.compute.v1beta.Disks" - } - } + "shortName": "Update" }, + "description": "Update updates the specified disk with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask.", + "file": "DisksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Disks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_ExternalVpnGateways_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified externalVpnGateway.", - "file": "ExternalVpnGatewaysClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.Delete", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified externalVpnGateway.", + "file": "ExternalVpnGatewaysClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ExternalVpnGateways_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_ExternalVpnGateways_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified externalVpnGateway. Get a list of available\nexternalVpnGateways by making a list() request.", - "file": "ExternalVpnGatewaysClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ExternalVpnGateway", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.Get", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways" - } - } + "shortName": "Get" }, + "description": "Get returns the specified externalVpnGateway. Get a list of available\nexternalVpnGateways by making a list() request.", + "file": "ExternalVpnGatewaysClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ExternalVpnGateways_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ExternalVpnGateways_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a ExternalVpnGateway in the specified project using\nthe data included in the request.", - "file": "ExternalVpnGatewaysClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.Insert", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways" - } - } + "shortName": "Insert" }, + "description": "Insert creates a ExternalVpnGateway in the specified project using\nthe data included in the request.", + "file": "ExternalVpnGatewaysClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ExternalVpnGateways_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_ExternalVpnGateways_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of ExternalVpnGateway available to the specified\nproject.", - "file": "ExternalVpnGatewaysClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListExternalVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.ListExternalVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExternalVpnGatewayIterator", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.List", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways" - } - } + "shortName": "List" }, + "description": "List retrieves the list of ExternalVpnGateway available to the specified\nproject.", + "file": "ExternalVpnGatewaysClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ExternalVpnGateways_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ExternalVpnGateways_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an ExternalVpnGateway. To learn more about labels,\nread the Labeling\nResources documentation.", - "file": "ExternalVpnGatewaysClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.SetLabels", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an ExternalVpnGateway. To learn more about labels,\nread the Labeling\nResources documentation.", + "file": "ExternalVpnGatewaysClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ExternalVpnGateways_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_ExternalVpnGateways_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ExternalVpnGatewaysClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient", + "shortName": "ExternalVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways", + "shortName": "ExternalVpnGateways" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsExternalVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsExternalVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ExternalVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGatewaysClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways.TestIamPermissions", - "service": { - "shortName": "ExternalVpnGateways", - "fullName": "google.cloud.compute.v1beta.ExternalVpnGateways" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ExternalVpnGatewaysClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ExternalVpnGateways_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified firewall policy.", - "file": "FirewallPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.AddAssociation", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified firewall policy.", + "file": "FirewallPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_AddPacketMirroringRule_sync", - "title": "compute AddPacketMirroringRule Sample", - "description": "AddPacketMirroringRule inserts a packet mirroring rule into a firewall policy.", - "file": "FirewallPoliciesClient/AddPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.AddPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.AddPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "AddPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddPacketMirroringRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddPacketMirroringRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "AddPacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.AddPacketMirroringRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "AddPacketMirroringRule" }, + "description": "AddPacketMirroringRule inserts a packet mirroring rule into a firewall policy.", + "file": "FirewallPoliciesClient/AddPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_AddPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddPacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a firewall policy.", - "file": "FirewallPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.AddRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a firewall policy.", + "file": "FirewallPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_CloneRules_sync", - "title": "compute CloneRules Sample", - "description": "CloneRules copies rules to the specified firewall policy.", - "file": "FirewallPoliciesClient/CloneRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneRules", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.CloneRules", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.CloneRules", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "CloneRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CloneRulesFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CloneRulesFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "CloneRules", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.CloneRules", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "CloneRules" }, + "description": "CloneRules copies rules to the specified firewall policy.", + "file": "FirewallPoliciesClient/CloneRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_CloneRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CloneRules Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "FirewallPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Delete", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "FirewallPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified firewall policy.", - "file": "FirewallPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicy", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Get", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified firewall policy.", + "file": "FirewallPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "FirewallPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyAssociation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetAssociation", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "FirewallPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "FirewallPoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetIamPolicy", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "FirewallPoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_GetPacketMirroringRule_sync", - "title": "compute GetPacketMirroringRule Sample", - "description": "GetPacketMirroringRule gets a packet mirroring rule of the specified priority.", - "file": "FirewallPoliciesClient/GetPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.GetPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPacketMirroringRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPacketMirroringRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetPacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetPacketMirroringRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "GetPacketMirroringRule" }, + "description": "GetPacketMirroringRule gets a packet mirroring rule of the specified priority.", + "file": "FirewallPoliciesClient/GetPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_GetPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetPacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule of the specified priority.", - "file": "FirewallPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.GetRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule of the specified priority.", + "file": "FirewallPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "FirewallPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Insert", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "FirewallPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the policies that have been configured for the specified\nfolder or organization.", - "file": "FirewallPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.List", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the policies that have been configured for the specified\nfolder or organization.", + "file": "FirewallPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_ListAssociations_sync", - "title": "compute ListAssociations Sample", - "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.", - "file": "FirewallPoliciesClient/ListAssociations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssociations", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.ListAssociations", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.ListAssociations", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "ListAssociations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAssociationsFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAssociationsFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPoliciesListAssociationsResponse", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "ListAssociations", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.ListAssociations", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "ListAssociations" }, + "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.", + "file": "FirewallPoliciesClient/ListAssociations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_ListAssociations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAssociations Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified firewall policy.", - "file": "FirewallPoliciesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Move", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Move", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "Move" }, + "description": "Move moves the specified firewall policy.", + "file": "FirewallPoliciesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.", - "file": "FirewallPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.Patch", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.", + "file": "FirewallPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_PatchPacketMirroringRule_sync", - "title": "compute PatchPacketMirroringRule Sample", - "description": "PatchPacketMirroringRule patches a packet mirroring rule of the specified priority.", - "file": "FirewallPoliciesClient/PatchPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.PatchPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.PatchPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "PatchPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPacketMirroringRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPacketMirroringRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "PatchPacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.PatchPacketMirroringRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "PatchPacketMirroringRule" }, + "description": "PatchPacketMirroringRule patches a packet mirroring rule of the specified priority.", + "file": "FirewallPoliciesClient/PatchPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_PatchPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule of the specified priority.", - "file": "FirewallPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.PatchRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule of the specified priority.", + "file": "FirewallPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified firewall policy.", - "file": "FirewallPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.RemoveAssociation", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified firewall policy.", + "file": "FirewallPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_RemovePacketMirroringRule_sync", - "title": "compute RemovePacketMirroringRule Sample", - "description": "RemovePacketMirroringRule deletes a packet mirroring rule of the specified priority.", - "file": "FirewallPoliciesClient/RemovePacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemovePacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.RemovePacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.RemovePacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "RemovePacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemovePacketMirroringRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemovePacketMirroringRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "RemovePacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.RemovePacketMirroringRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "RemovePacketMirroringRule" }, + "description": "RemovePacketMirroringRule deletes a packet mirroring rule of the specified priority.", + "file": "FirewallPoliciesClient/RemovePacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_RemovePacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemovePacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule of the specified priority.", - "file": "FirewallPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.RemoveRule", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule of the specified priority.", + "file": "FirewallPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "FirewallPoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.SetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "SetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.SetIamPolicy", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "FirewallPoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_FirewallPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "FirewallPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient", + "shortName": "FirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.FirewallPolicies", + "shortName": "FirewallPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "FirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.FirewallPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies.TestIamPermissions", - "service": { - "shortName": "FirewallPolicies", - "fullName": "google.cloud.compute.v1beta.FirewallPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "FirewallPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FirewallPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified firewall.", - "file": "FirewallsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Firewalls.Delete", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified firewall.", + "file": "FirewallsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified firewall.", - "file": "FirewallsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Firewall", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Firewalls.Get", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "Get" }, + "description": "Get returns the specified firewall.", + "file": "FirewallsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a firewall rule in the specified project using the data\nincluded in the request.", - "file": "FirewallsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Firewalls.Insert", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "Insert" }, + "description": "Insert creates a firewall rule in the specified project using the data\nincluded in the request.", + "file": "FirewallsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of firewall rules available to the specified\nproject.", - "file": "FirewallsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListFirewallsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListFirewallsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallIterator", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Firewalls.List", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "List" }, + "description": "List retrieves the list of firewall rules available to the specified\nproject.", + "file": "FirewallsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified firewall rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "FirewallsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Firewalls.Patch", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified firewall rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "FirewallsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "FirewallsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Firewalls.TestIamPermissions", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "FirewallsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Firewalls_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified firewall rule with the data included in the\nrequest.\nNote that all fields will be updated if using PUT, even fields that are not\nspecified. To update individual fields, please use PATCH instead.", - "file": "FirewallsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.FirewallsClient", + "shortName": "FirewallsClient" + }, "fullName": "google.cloud.compute.v1beta.FirewallsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Firewalls.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Firewalls", + "shortName": "Firewalls" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateFirewallRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateFirewallRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FirewallsClient", - "fullName": "google.cloud.compute.v1beta.FirewallsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Firewalls.Update", - "service": { - "shortName": "Firewalls", - "fullName": "google.cloud.compute.v1beta.Firewalls" - } - } + "shortName": "Update" }, + "description": "Update updates the specified firewall rule with the data included in the\nrequest.\nNote that all fields will be updated if using PUT, even fields that are not\nspecified. To update individual fields, please use PATCH instead.", + "file": "FirewallsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Firewalls_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of forwarding rules.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ForwardingRulesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListForwardingRulesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListForwardingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ForwardingRulesScopedListPairIterator", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.AggregatedList", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of forwarding rules.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ForwardingRulesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified ForwardingRule resource.", - "file": "ForwardingRulesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.Delete", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified ForwardingRule resource.", + "file": "ForwardingRulesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified ForwardingRule resource.", - "file": "ForwardingRulesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.GetForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ForwardingRule", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.Get", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "Get" }, + "description": "Get returns the specified ForwardingRule resource.", + "file": "ForwardingRulesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a ForwardingRule resource in the specified project and region using\nthe data included in the request.", - "file": "ForwardingRulesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.Insert", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "Insert" }, + "description": "Insert creates a ForwardingRule resource in the specified project and region using\nthe data included in the request.", + "file": "ForwardingRulesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of ForwardingRule resources available to the specified\nproject and region.", - "file": "ForwardingRulesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListForwardingRulesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListForwardingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ForwardingRuleIterator", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.List", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "List" }, + "description": "List retrieves a list of ForwardingRule resources available to the specified\nproject and region.", + "file": "ForwardingRulesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", - "file": "ForwardingRulesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.Patch", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", + "file": "ForwardingRulesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling Resources documentation.", - "file": "ForwardingRulesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.SetLabels", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling Resources documentation.", + "file": "ForwardingRulesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_SetTarget_sync", - "title": "compute SetTarget Sample", - "description": "SetTarget changes target URL for forwarding rule. The new target should be of the\nsame type as the old target.", - "file": "ForwardingRulesClient/SetTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTarget", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.SetTarget", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.SetTarget", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "SetTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "SetTarget", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.SetTarget", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "SetTarget" }, + "description": "SetTarget changes target URL for forwarding rule. The new target should be of the\nsame type as the old target.", + "file": "ForwardingRulesClient/SetTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_SetTarget_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTarget Sample" }, { - "regionTag": "compute_v1beta_generated_ForwardingRules_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ForwardingRulesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient", + "shortName": "ForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.ForwardingRules", + "shortName": "ForwardingRules" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.ForwardingRulesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.ForwardingRules.TestIamPermissions", - "service": { - "shortName": "ForwardingRules", - "fullName": "google.cloud.compute.v1beta.ForwardingRules" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ForwardingRulesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ForwardingRules_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of future reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "FutureReservationsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListFutureReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListFutureReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FutureReservationsScopedListPairIterator", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.FutureReservations.AggregatedList", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of future reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "FutureReservationsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_Cancel_sync", - "title": "compute Cancel Sample", - "description": "Cancel cancel the specified future reservation.", - "file": "FutureReservationsClient/Cancel/main.go", - "language": "GO", "clientMethod": { - "shortName": "Cancel", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.Cancel", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.Cancel", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Cancel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "Cancel", - "fullName": "google.cloud.compute.v1beta.FutureReservations.Cancel", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "Cancel" }, + "description": "Cancel cancel the specified future reservation.", + "file": "FutureReservationsClient/Cancel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_Cancel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Cancel Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified future reservation.", - "file": "FutureReservationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.FutureReservations.Delete", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified future reservation.", + "file": "FutureReservationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified future reservation.", - "file": "FutureReservationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FutureReservation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.FutureReservations.Get", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified future reservation.", + "file": "FutureReservationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new Future Reservation.", - "file": "FutureReservationsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.FutureReservations.Insert", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new Future Reservation.", + "file": "FutureReservationsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_List_sync", - "title": "compute List Sample", - "description": "List a list of all the future reservations that have been configured for the\nspecified project in specified zone.", - "file": "FutureReservationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListFutureReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListFutureReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FutureReservationIterator", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.FutureReservations.List", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "List" }, + "description": "List a list of all the future reservations that have been configured for the\nspecified project in specified zone.", + "file": "FutureReservationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_FutureReservations_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified future reservation.", - "file": "FutureReservationsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.FutureReservationsClient", + "shortName": "FutureReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.FutureReservationsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.FutureReservations.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.FutureReservations", + "shortName": "FutureReservations" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateFutureReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateFutureReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "FutureReservationsClient", - "fullName": "google.cloud.compute.v1beta.FutureReservationsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.FutureReservations.Update", - "service": { - "shortName": "FutureReservations", - "fullName": "google.cloud.compute.v1beta.FutureReservations" - } - } + "shortName": "Update" }, + "description": "Update updates the specified future reservation.", + "file": "FutureReservationsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_FutureReservations_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified address resource.", - "file": "GlobalAddressesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Delete", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified address resource.", + "file": "GlobalAddressesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified address resource.", - "file": "GlobalAddressesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Address", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Get", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "Get" }, + "description": "Get returns the specified address resource.", + "file": "GlobalAddressesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", - "file": "GlobalAddressesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Insert", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "Insert" }, + "description": "Insert creates an address resource in the specified project by using the data\nincluded in the request.", + "file": "GlobalAddressesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of global addresses.", - "file": "GlobalAddressesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalAddressesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddressIterator", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.List", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "List" }, + "description": "List retrieves a list of global addresses.", + "file": "GlobalAddressesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified address resource from one project to another project.", - "file": "GlobalAddressesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Move", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.Move", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "Move" }, + "description": "Move moves the specified address resource from one project to another project.", + "file": "GlobalAddressesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a GlobalAddress. To learn more about labels, read theLabeling\nResources documentation.", - "file": "GlobalAddressesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.SetLabels", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a GlobalAddress. To learn more about labels, read theLabeling\nResources documentation.", + "file": "GlobalAddressesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalAddresses_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "GlobalAddressesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient", + "shortName": "GlobalAddressesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalAddresses", + "shortName": "GlobalAddresses" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsGlobalAddressRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsGlobalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "GlobalAddressesClient", - "fullName": "google.cloud.compute.v1beta.GlobalAddressesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses.TestIamPermissions", - "service": { - "shortName": "GlobalAddresses", - "fullName": "google.cloud.compute.v1beta.GlobalAddresses" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "GlobalAddressesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalAddresses_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified GlobalForwardingRule resource.", - "file": "GlobalForwardingRulesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Delete", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified GlobalForwardingRule resource.", + "file": "GlobalForwardingRulesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified GlobalForwardingRule resource. Gets a list of\navailable forwarding rules by making a list() request.", - "file": "GlobalForwardingRulesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ForwardingRule", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Get", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "Get" }, + "description": "Get returns the specified GlobalForwardingRule resource. Gets a list of\navailable forwarding rules by making a list() request.", + "file": "GlobalForwardingRulesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a GlobalForwardingRule resource in the specified project using\nthe data included in the request.", - "file": "GlobalForwardingRulesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Insert", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "Insert" }, + "description": "Insert creates a GlobalForwardingRule resource in the specified project using\nthe data included in the request.", + "file": "GlobalForwardingRulesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of GlobalForwardingRule resources available to the\nspecified project.", - "file": "GlobalForwardingRulesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalForwardingRulesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalForwardingRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ForwardingRuleIterator", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.List", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "List" }, + "description": "List retrieves a list of GlobalForwardingRule resources available to the\nspecified project.", + "file": "GlobalForwardingRulesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", - "file": "GlobalForwardingRulesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.Patch", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified forwarding rule with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules. Currently, you can only\npatch the network_tier field.", + "file": "GlobalForwardingRulesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling resources documentation.", - "file": "GlobalForwardingRulesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.SetLabels", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on the specified resource. To learn more about labels,\nread the\nLabeling resources documentation.", + "file": "GlobalForwardingRulesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_SetTarget_sync", - "title": "compute SetTarget Sample", - "description": "SetTarget changes target URL for the GlobalForwardingRule resource. The new target\nshould be of the same type as the old target.", - "file": "GlobalForwardingRulesClient/SetTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTarget", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.SetTarget", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.SetTarget", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "SetTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "SetTarget", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.SetTarget", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "SetTarget" }, + "description": "SetTarget changes target URL for the GlobalForwardingRule resource. The new target\nshould be of the same type as the old target.", + "file": "GlobalForwardingRulesClient/SetTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_SetTarget_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTarget Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalForwardingRules_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "GlobalForwardingRulesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient", + "shortName": "GlobalForwardingRulesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules", + "shortName": "GlobalForwardingRules" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsGlobalForwardingRuleRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsGlobalForwardingRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "GlobalForwardingRulesClient", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRulesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules.TestIamPermissions", - "service": { - "shortName": "GlobalForwardingRules", - "fullName": "google.cloud.compute.v1beta.GlobalForwardingRules" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "GlobalForwardingRulesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalForwardingRules_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_AttachNetworkEndpoints_sync", - "title": "compute AttachNetworkEndpoints Sample", - "description": "AttachNetworkEndpoints attach a network endpoint to the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.AttachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.AttachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "AttachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AttachNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.AttachNetworkEndpoints", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "AttachNetworkEndpoints" }, + "description": "AttachNetworkEndpoints attach a network endpoint to the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_AttachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network endpoint group.Note that the NEG cannot be\ndeleted if there are backend services referencing it.", - "file": "GlobalNetworkEndpointGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.Delete", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network endpoint group.Note that the NEG cannot be\ndeleted if there are backend services referencing it.", + "file": "GlobalNetworkEndpointGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_DetachNetworkEndpoints_sync", - "title": "compute DetachNetworkEndpoints Sample", - "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.DetachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.DetachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "DetachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "DetachNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.DetachNetworkEndpoints", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "DetachNetworkEndpoints" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_DetachNetworkEndpoints_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEndpointGroup", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.Get", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", - "file": "GlobalNetworkEndpointGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.Insert", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", + "file": "GlobalNetworkEndpointGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project.", - "file": "GlobalNetworkEndpointGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupIterator", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.List", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project.", + "file": "GlobalNetworkEndpointGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_ListNetworkEndpoints_sync", - "title": "compute ListNetworkEndpoints Sample", - "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", - "file": "GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient", + "shortName": "GlobalNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient.ListNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.ListNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups", + "shortName": "GlobalNetworkEndpointGroups" + }, + "shortName": "ListNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointWithHealthStatusIterator", - "client": { - "shortName": "GlobalNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "ListNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups.ListNetworkEndpoints", - "service": { - "shortName": "GlobalNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.GlobalNetworkEndpointGroups" - } - } + "shortName": "ListNetworkEndpoints" }, + "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", + "file": "GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalNetworkEndpointGroups_ListNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOperations_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of all operations.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "GlobalOperationsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListGlobalOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListGlobalOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationsScopedListPairIterator", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.GlobalOperations.AggregatedList", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOperations" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of all operations.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "GlobalOperationsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOperations_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Operations resource.", - "file": "GlobalOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteGlobalOperationResponse", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalOperations.Delete", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Operations resource.", + "file": "GlobalOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified Operations resource.", - "file": "GlobalOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalOperations.Get", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified Operations resource.", + "file": "GlobalOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within the specified\nproject.", - "file": "GlobalOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalOperations.List", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within the specified\nproject.", + "file": "GlobalOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOperations_Wait_sync", - "title": "compute Wait Sample", - "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", - "file": "GlobalOperationsClient/Wait/main.go", - "language": "GO", "clientMethod": { - "shortName": "Wait", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient", + "shortName": "GlobalOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient.Wait", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations.Wait", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOperations", + "shortName": "GlobalOperations" + }, + "shortName": "Wait" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WaitGlobalOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.WaitGlobalOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "GlobalOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOperationsClient" - }, - "method": { - "shortName": "Wait", - "fullName": "google.cloud.compute.v1beta.GlobalOperations.Wait", - "service": { - "shortName": "GlobalOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOperations" - } - } + "shortName": "Wait" }, + "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", + "file": "GlobalOperationsClient/Wait/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOperations_Wait_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Wait Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOrganizationOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Operations resource.", - "file": "GlobalOrganizationOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient", + "shortName": "GlobalOrganizationOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations", + "shortName": "GlobalOrganizationOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalOrganizationOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalOrganizationOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteGlobalOrganizationOperationResponse", - "client": { - "shortName": "GlobalOrganizationOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations.Delete", - "service": { - "shortName": "GlobalOrganizationOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Operations resource.", + "file": "GlobalOrganizationOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOrganizationOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOrganizationOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified Operations resource. Gets a list of operations\nby making a `list()` request.", - "file": "GlobalOrganizationOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient", + "shortName": "GlobalOrganizationOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations", + "shortName": "GlobalOrganizationOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalOrganizationOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalOrganizationOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "GlobalOrganizationOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations.Get", - "service": { - "shortName": "GlobalOrganizationOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified Operations resource. Gets a list of operations\nby making a `list()` request.", + "file": "GlobalOrganizationOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOrganizationOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalOrganizationOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within the specified\norganization.", - "file": "GlobalOrganizationOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient", + "shortName": "GlobalOrganizationOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations", + "shortName": "GlobalOrganizationOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalOrganizationOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalOrganizationOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GlobalOrganizationOperationsClient", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations.List", - "service": { - "shortName": "GlobalOrganizationOperations", - "fullName": "google.cloud.compute.v1beta.GlobalOrganizationOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within the specified\norganization.", + "file": "GlobalOrganizationOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalOrganizationOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified global PublicDelegatedPrefix.", - "file": "GlobalPublicDelegatedPrefixesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Delete", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified global PublicDelegatedPrefix.", + "file": "GlobalPublicDelegatedPrefixesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified global PublicDelegatedPrefix resource.", - "file": "GlobalPublicDelegatedPrefixesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PublicDelegatedPrefix", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Get", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified global PublicDelegatedPrefix resource.", + "file": "GlobalPublicDelegatedPrefixesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a global PublicDelegatedPrefix in the specified project using the\nparameters that are included in the request.", - "file": "GlobalPublicDelegatedPrefixesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Insert", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a global PublicDelegatedPrefix in the specified project using the\nparameters that are included in the request.", + "file": "GlobalPublicDelegatedPrefixesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_List_sync", - "title": "compute List Sample", - "description": "List lists the global PublicDelegatedPrefixes for a project.", - "file": "GlobalPublicDelegatedPrefixesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalPublicDelegatedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalPublicDelegatedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicDelegatedPrefixIterator", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.List", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "List" }, + "description": "List lists the global PublicDelegatedPrefixes for a project.", + "file": "GlobalPublicDelegatedPrefixesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified global PublicDelegatedPrefix resource with the data\nincluded in the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "GlobalPublicDelegatedPrefixesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient", + "shortName": "GlobalPublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes", + "shortName": "GlobalPublicDelegatedPrefixes" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchGlobalPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchGlobalPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalPublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes.Patch", - "service": { - "shortName": "GlobalPublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.GlobalPublicDelegatedPrefixes" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified global PublicDelegatedPrefix resource with the data\nincluded in the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "GlobalPublicDelegatedPrefixesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalPublicDelegatedPrefixes_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all VM Extension Policy resources\navailable to the specified project.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "GlobalVmExtensionPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient", + "shortName": "GlobalVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies", + "shortName": "GlobalVmExtensionPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListGlobalVmExtensionPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListGlobalVmExtensionPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VmExtensionPoliciesScopedListPairIterator", - "client": { - "shortName": "GlobalVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.AggregatedList", - "service": { - "shortName": "GlobalVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all VM Extension Policy resources\navailable to the specified project.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "GlobalVmExtensionPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete purge scoped resources (zonal policies) from a global VM extension\npolicy, and then delete the global VM extension policy. Purge of the scoped\nresources is a pre-condition of the global VM extension policy deletion.\nThe deletion of the global VM extension policy happens after the purge\nrollout is done, so it's not a part of the LRO. It's an automatic process\nthat triggers in the backend.", - "file": "GlobalVmExtensionPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient", + "shortName": "GlobalVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies", + "shortName": "GlobalVmExtensionPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteGlobalVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteGlobalVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Delete", - "service": { - "shortName": "GlobalVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete purge scoped resources (zonal policies) from a global VM extension\npolicy, and then delete the global VM extension policy. Purge of the scoped\nresources is a pre-condition of the global VM extension policy deletion.\nThe deletion of the global VM extension policy happens after the purge\nrollout is done, so it's not a part of the LRO. It's an automatic process\nthat triggers in the backend.", + "file": "GlobalVmExtensionPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get gets details of a global VM extension policy.", - "file": "GlobalVmExtensionPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient", + "shortName": "GlobalVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies", + "shortName": "GlobalVmExtensionPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGlobalVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGlobalVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.GlobalVmExtensionPolicy", - "client": { - "shortName": "GlobalVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Get", - "service": { - "shortName": "GlobalVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies" - } - } + "shortName": "Get" }, + "description": "Get gets details of a global VM extension policy.", + "file": "GlobalVmExtensionPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new project level GlobalVmExtensionPolicy.", - "file": "GlobalVmExtensionPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient", + "shortName": "GlobalVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies", + "shortName": "GlobalVmExtensionPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertGlobalVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertGlobalVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Insert", - "service": { - "shortName": "GlobalVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new project level GlobalVmExtensionPolicy.", + "file": "GlobalVmExtensionPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists global VM extension policies.", - "file": "GlobalVmExtensionPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient", + "shortName": "GlobalVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies", + "shortName": "GlobalVmExtensionPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListGlobalVmExtensionPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListGlobalVmExtensionPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GlobalVmExtensionPolicyIterator", - "client": { - "shortName": "GlobalVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.List", - "service": { - "shortName": "GlobalVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies" - } - } + "shortName": "List" }, + "description": "List lists global VM extension policies.", + "file": "GlobalVmExtensionPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a global VM extension policy.", - "file": "GlobalVmExtensionPoliciesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient", + "shortName": "GlobalVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies", + "shortName": "GlobalVmExtensionPolicies" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateGlobalVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateGlobalVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "GlobalVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies.Update", - "service": { - "shortName": "GlobalVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.GlobalVmExtensionPolicies" - } - } + "shortName": "Update" }, + "description": "Update updates a global VM extension policy.", + "file": "GlobalVmExtensionPoliciesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_GlobalVmExtensionPolicies_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthCheck resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "HealthChecksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthChecksScopedListPairIterator", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.HealthChecks.AggregatedList", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthCheck resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "HealthChecksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthCheck resource.", - "file": "HealthChecksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.HealthChecks.Delete", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthCheck resource.", + "file": "HealthChecksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthCheck resource.", - "file": "HealthChecksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthCheck", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.HealthChecks.Get", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified HealthCheck resource.", + "file": "HealthChecksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "HealthChecksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.HealthChecks.Insert", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "HealthChecksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", - "file": "HealthChecksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckIterator", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.HealthChecks.List", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", + "file": "HealthChecksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "HealthChecksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.HealthChecks.Patch", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "Patch" }, + "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "HealthChecksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "HealthChecksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.HealthChecks.TestIamPermissions", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "HealthChecksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_HealthChecks_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "HealthChecksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.HealthChecksClient", + "shortName": "HealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.HealthChecksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.HealthChecks.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.HealthChecks", + "shortName": "HealthChecks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "HealthChecksClient", - "fullName": "google.cloud.compute.v1beta.HealthChecksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.HealthChecks.Update", - "service": { - "shortName": "HealthChecks", - "fullName": "google.cloud.compute.v1beta.HealthChecks" - } - } + "shortName": "Update" }, + "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "HealthChecksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_HealthChecks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_ImageFamilyViews_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the latest image that is part of an image family, is not\ndeprecated and is rolled out in the specified zone.", - "file": "ImageFamilyViewsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ImageFamilyViewsClient", + "shortName": "ImageFamilyViewsClient" + }, "fullName": "google.cloud.compute.v1beta.ImageFamilyViewsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ImageFamilyViews.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ImageFamilyViews", + "shortName": "ImageFamilyViews" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetImageFamilyViewRequest", - "name": "req" + "name": "req", + "type": "computepb.GetImageFamilyViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ImageFamilyView", - "client": { - "shortName": "ImageFamilyViewsClient", - "fullName": "google.cloud.compute.v1beta.ImageFamilyViewsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ImageFamilyViews.Get", - "service": { - "shortName": "ImageFamilyViews", - "fullName": "google.cloud.compute.v1beta.ImageFamilyViews" - } - } + "shortName": "Get" }, + "description": "Get returns the latest image that is part of an image family, is not\ndeprecated and is rolled out in the specified zone.", + "file": "ImageFamilyViewsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ImageFamilyViews_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Images_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified image.", - "file": "ImagesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteImageRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Images.Delete", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified image.", + "file": "ImagesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Images_Deprecate_sync", - "title": "compute Deprecate Sample", - "description": "Deprecate sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", - "file": "ImagesClient/Deprecate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Deprecate", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.Deprecate", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.Deprecate", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "Deprecate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeprecateImageRequest", - "name": "req" + "name": "req", + "type": "computepb.DeprecateImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "Deprecate", - "fullName": "google.cloud.compute.v1beta.Images.Deprecate", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "Deprecate" }, + "description": "Deprecate sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", + "file": "ImagesClient/Deprecate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_Deprecate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Deprecate Sample" }, { - "regionTag": "compute_v1beta_generated_Images_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified image.", - "file": "ImagesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Image", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Images.Get", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "Get" }, + "description": "Get returns the specified image.", + "file": "ImagesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Images_GetFromFamily_sync", - "title": "compute GetFromFamily Sample", - "description": "GetFromFamily returns the latest image that is part of an image family and is not\ndeprecated. For more information on image families, seePublic\nimage families documentation.", - "file": "ImagesClient/GetFromFamily/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFromFamily", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.GetFromFamily", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.GetFromFamily", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "GetFromFamily" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetFromFamilyImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetFromFamilyImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Image", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "GetFromFamily", - "fullName": "google.cloud.compute.v1beta.Images.GetFromFamily", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "GetFromFamily" }, + "description": "GetFromFamily returns the latest image that is part of an image family and is not\ndeprecated. For more information on image families, seePublic\nimage families documentation.", + "file": "ImagesClient/GetFromFamily/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_GetFromFamily_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetFromFamily Sample" }, { - "regionTag": "compute_v1beta_generated_Images_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ImagesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Images.GetIamPolicy", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ImagesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Images_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an image in the specified project using the data included\nin the request.", - "file": "ImagesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertImageRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Images.Insert", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "Insert" }, + "description": "Insert creates an image in the specified project using the data included\nin the request.", + "file": "ImagesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Images_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of custom images\navailable to the specified project. Custom images are images you\ncreate that belong to your project. This method does not\nget any images that belong to other projects, including publicly-available\nimages, like Debian 8. If you want to get a list of publicly-available\nimages, use this method to make a request to the respective image project,\nsuch as debian-cloud or windows-cloud.", - "file": "ImagesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListImagesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImageIterator", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Images.List", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "List" }, + "description": "List retrieves the list of custom images\navailable to the specified project. Custom images are images you\ncreate that belong to your project. This method does not\nget any images that belong to other projects, including publicly-available\nimages, like Debian 8. If you want to get a list of publicly-available\nimages, use this method to make a request to the respective image project,\nsuch as debian-cloud or windows-cloud.", + "file": "ImagesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Images_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified image with the data included in the request.\nOnly the following fields can be modified: family, description,\ndeprecation status.", - "file": "ImagesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchImageRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Images.Patch", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified image with the data included in the request.\nOnly the following fields can be modified: family, description,\ndeprecation status.", + "file": "ImagesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Images_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ImagesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Images.SetIamPolicy", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ImagesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Images_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an image. To learn more about labels, read theLabeling\nResources documentation.", - "file": "ImagesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Images.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.Images.SetLabels", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an image. To learn more about labels, read theLabeling\nResources documentation.", + "file": "ImagesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Images_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ImagesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ImagesClient", + "shortName": "ImagesClient" + }, "fullName": "google.cloud.compute.v1beta.ImagesClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.Images.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Images", + "shortName": "Images" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsImageRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ImagesClient", - "fullName": "google.cloud.compute.v1beta.ImagesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Images.TestIamPermissions", - "service": { - "shortName": "Images", - "fullName": "google.cloud.compute.v1beta.Images" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ImagesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Images_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Cancel_sync", - "title": "compute Cancel Sample", - "description": "Cancel cancels the specified resize request and removes it from the queue.\nCancelled resize request does no longer wait for the resources to be\nprovisioned. Cancel is only possible for requests that are accepted in the\nqueue.", - "file": "InstanceGroupManagerResizeRequestsClient/Cancel/main.go", - "language": "GO", "clientMethod": { - "shortName": "Cancel", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient.Cancel", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Cancel", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Cancel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Cancel", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Cancel", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Cancel" }, + "description": "Cancel cancels the specified resize request and removes it from the queue.\nCancelled resize request does no longer wait for the resources to be\nprovisioned. Cancel is only possible for requests that are accepted in the\nqueue.", + "file": "InstanceGroupManagerResizeRequestsClient/Cancel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Cancel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Cancel Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", - "file": "InstanceGroupManagerResizeRequestsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Delete", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", + "file": "InstanceGroupManagerResizeRequestsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified resize request.", - "file": "InstanceGroupManagerResizeRequestsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManagerResizeRequest", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Get", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Get" }, + "description": "Get returns all of the details about the specified resize request.", + "file": "InstanceGroupManagerResizeRequestsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new resize request that starts provisioning VMs immediately\nor queues VM creation.", - "file": "InstanceGroupManagerResizeRequestsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.Insert", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new resize request that starts provisioning VMs immediately\nor queues VM creation.", + "file": "InstanceGroupManagerResizeRequestsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of resize requests that are contained in the\nmanaged instance group.", - "file": "InstanceGroupManagerResizeRequestsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient", + "shortName": "InstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests", + "shortName": "InstanceGroupManagerResizeRequests" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceGroupManagerResizeRequestsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceGroupManagerResizeRequestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerResizeRequestIterator", - "client": { - "shortName": "InstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests.List", - "service": { - "shortName": "InstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagerResizeRequests" - } - } + "shortName": "List" }, + "description": "List retrieves a list of resize requests that are contained in the\nmanaged instance group.", + "file": "InstanceGroupManagerResizeRequestsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagerResizeRequests_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_AbandonInstances_sync", - "title": "compute AbandonInstances Sample", - "description": "AbandonInstances flags the specified instances to be removed from the\nmanaged instance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/AbandonInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbandonInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.AbandonInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.AbandonInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "AbandonInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AbandonInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.AbandonInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "AbandonInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.AbandonInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "AbandonInstances" }, + "description": "AbandonInstances flags the specified instances to be removed from the\nmanaged instance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/AbandonInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_AbandonInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AbandonInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of managed instance groups and groups them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstanceGroupManagersClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagersScopedListPairIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.AggregatedList", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of managed instance groups and groups them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstanceGroupManagersClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ApplyUpdatesToInstances_sync", - "title": "compute ApplyUpdatesToInstances Sample", - "description": "ApplyUpdatesToInstances applies changes to selected instances on the managed instance group.\nThis method can be used to apply new overrides and/or new versions.", - "file": "InstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyUpdatesToInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ApplyUpdatesToInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ApplyUpdatesToInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ApplyUpdatesToInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ApplyUpdatesToInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ApplyUpdatesToInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ApplyUpdatesToInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ApplyUpdatesToInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ApplyUpdatesToInstances" }, + "description": "ApplyUpdatesToInstances applies changes to selected instances on the managed instance group.\nThis method can be used to apply new overrides and/or new versions.", + "file": "InstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ApplyUpdatesToInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ApplyUpdatesToInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ConfigureAcceleratorTopologies_sync", - "title": "compute ConfigureAcceleratorTopologies Sample", - "description": "ConfigureAcceleratorTopologies updates the accelerator topologies configuration.", - "file": "InstanceGroupManagersClient/ConfigureAcceleratorTopologies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConfigureAcceleratorTopologies", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ConfigureAcceleratorTopologies", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ConfigureAcceleratorTopologies", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ConfigureAcceleratorTopologies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ConfigureAcceleratorTopologiesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ConfigureAcceleratorTopologiesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ConfigureAcceleratorTopologies", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ConfigureAcceleratorTopologies", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ConfigureAcceleratorTopologies" }, + "description": "ConfigureAcceleratorTopologies updates the accelerator topologies configuration.", + "file": "InstanceGroupManagersClient/ConfigureAcceleratorTopologies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ConfigureAcceleratorTopologies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ConfigureAcceleratorTopologies Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_CreateInstances_sync", - "title": "compute CreateInstances Sample", - "description": "CreateInstances creates instances with per-instance configurations in this managed instance\ngroup. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions\ntake additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", - "file": "InstanceGroupManagersClient/CreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.CreateInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.CreateInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "CreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "CreateInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.CreateInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "CreateInstances" }, + "description": "CreateInstances creates instances with per-instance configurations in this managed instance\ngroup. Instances are created using the current instance template. Thecreate instances operation is marked DONE if thecreateInstances request is successful. The underlying actions\ntake additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", + "file": "InstanceGroupManagersClient/CreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_CreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified managed instance group and all of the instances\nin that group. Note that the instance group must not belong to a\nbackend service. Read\nDeleting an instance group for more information.", - "file": "InstanceGroupManagersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Delete", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified managed instance group and all of the instances\nin that group. Note that the instance group must not belong to a\nbackend service. Read\nDeleting an instance group for more information.", + "file": "InstanceGroupManagersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_DeleteInstances_sync", - "title": "compute DeleteInstances Sample", - "description": "DeleteInstances flags the specified instances in the managed instance group for immediate\ndeletion. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete. This operation is marked as DONE\nwhen the action is scheduled even if the instances are still being deleted.\nYou must separately verify the status of the deleting action\nwith thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/DeleteInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.DeleteInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.DeleteInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "DeleteInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "DeleteInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.DeleteInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "DeleteInstances" }, + "description": "DeleteInstances flags the specified instances in the managed instance group for immediate\ndeletion. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete. This operation is marked as DONE\nwhen the action is scheduled even if the instances are still being deleted.\nYou must separately verify the status of the deleting action\nwith thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/DeleteInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_DeleteInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_DeletePerInstanceConfigs_sync", - "title": "compute DeletePerInstanceConfigs Sample", - "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", - "file": "InstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.DeletePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.DeletePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "DeletePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePerInstanceConfigsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePerInstanceConfigsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "DeletePerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.DeletePerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "DeletePerInstanceConfigs" }, + "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", + "file": "InstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_DeletePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeletePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified managed instance group.", - "file": "InstanceGroupManagersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManager", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Get", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "Get" }, + "description": "Get returns all of the details about the specified managed instance group.", + "file": "InstanceGroupManagersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_GetAvailableAcceleratorTopologies_sync", - "title": "compute GetAvailableAcceleratorTopologies Sample", - "description": "GetAvailableAcceleratorTopologies returns information about available accelerator topologies for a given MIG.", - "file": "InstanceGroupManagersClient/GetAvailableAcceleratorTopologies/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAvailableAcceleratorTopologies", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.GetAvailableAcceleratorTopologies", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.GetAvailableAcceleratorTopologies", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "GetAvailableAcceleratorTopologies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAvailableAcceleratorTopologiesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAvailableAcceleratorTopologiesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "GetAvailableAcceleratorTopologies", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.GetAvailableAcceleratorTopologies", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "GetAvailableAcceleratorTopologies" }, + "description": "GetAvailableAcceleratorTopologies returns information about available accelerator topologies for a given MIG.", + "file": "InstanceGroupManagersClient/GetAvailableAcceleratorTopologies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_GetAvailableAcceleratorTopologies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAvailableAcceleratorTopologies Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You\nmust separately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA managed instance group can have up to 1000 VM instances per group. Please\ncontact Cloud Support if you need an increase in\nthis limit.", - "file": "InstanceGroupManagersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Insert", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "Insert" }, + "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You\nmust separately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA managed instance group can have up to 1000 VM instances per group. Please\ncontact Cloud Support if you need an increase in\nthis limit.", + "file": "InstanceGroupManagersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of managed instance groups that are contained within the\nspecified project and zone.", - "file": "InstanceGroupManagersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.List", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of managed instance groups that are contained within the\nspecified project and zone.", + "file": "InstanceGroupManagersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ListErrors_sync", - "title": "compute ListErrors Sample", - "description": "ListErrors lists all errors thrown by actions on instances for a given managed\ninstance group. The filter and orderBy query\nparameters are not supported.", - "file": "InstanceGroupManagersClient/ListErrors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListErrors", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ListErrors", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ListErrors", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ListErrors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListErrorsInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListErrorsInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceManagedByIgmErrorIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ListErrors", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ListErrors", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ListErrors" }, + "description": "ListErrors lists all errors thrown by actions on instances for a given managed\ninstance group. The filter and orderBy query\nparameters are not supported.", + "file": "InstanceGroupManagersClient/ListErrors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ListErrors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListErrors Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ListManagedInstances_sync", - "title": "compute ListManagedInstances Sample", - "description": "ListManagedInstances lists all of the instances in the managed instance group. Each instance\nin the list has a currentAction, which indicates the action\nthat the managed instance group is performing on the instance. For example,\nif the group is still creating an instance, the currentAction\nis CREATING. If a previous action failed, the\nlist displays the errors for that failed action. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", - "file": "InstanceGroupManagersClient/ListManagedInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagedInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ListManagedInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ListManagedInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ListManagedInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListManagedInstancesInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListManagedInstancesInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagedInstanceIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ListManagedInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ListManagedInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ListManagedInstances" }, + "description": "ListManagedInstances lists all of the instances in the managed instance group. Each instance\nin the list has a currentAction, which indicates the action\nthat the managed instance group is performing on the instance. For example,\nif the group is still creating an instance, the currentAction\nis CREATING. If a previous action failed, the\nlist displays the errors for that failed action. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", + "file": "InstanceGroupManagersClient/ListManagedInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ListManagedInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListManagedInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ListPerInstanceConfigs_sync", - "title": "compute ListPerInstanceConfigs Sample", - "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", - "file": "InstanceGroupManagersClient/ListPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ListPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ListPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ListPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPerInstanceConfigsInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPerInstanceConfigsInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PerInstanceConfigIterator", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ListPerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ListPerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ListPerInstanceConfigs" }, + "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", + "file": "InstanceGroupManagersClient/ListPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ListPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith thelistManagedInstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", - "file": "InstanceGroupManagersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Patch", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "Patch" }, + "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith thelistManagedInstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", + "file": "InstanceGroupManagersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_PatchPerInstanceConfigs_sync", - "title": "compute PatchPerInstanceConfigs Sample", - "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "InstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.PatchPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.PatchPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "PatchPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPerInstanceConfigsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPerInstanceConfigsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "PatchPerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.PatchPerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "PatchPerInstanceConfigs" }, + "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "InstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_PatchPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_RecreateInstances_sync", - "title": "compute RecreateInstances Sample", - "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/RecreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecreateInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.RecreateInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.RecreateInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "RecreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RecreateInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.RecreateInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "RecreateInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.RecreateInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "RecreateInstances" }, + "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/RecreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_RecreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RecreateInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the managed instance group. If you increase the size, the group\ncreates new instances using the current instance template. If you decrease\nthe size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating or deleting\nactions with thelistmanagedinstances\nmethod.\n\nWhen resizing down, the instance group arbitrarily chooses the order in\nwhich VMs are deleted. The group takes into account some VM attributes when\nmaking the selection including: \n\n+ The status of the VM instance.\n+ The health of the VM instance.\n+ The instance template version the VM is based on.\n+ For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", - "file": "InstanceGroupManagersClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Resize", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Resize", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the managed instance group. If you increase the size, the group\ncreates new instances using the current instance template. If you decrease\nthe size, the group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating or deleting\nactions with thelistmanagedinstances\nmethod.\n\nWhen resizing down, the instance group arbitrarily chooses the order in\nwhich VMs are deleted. The group takes into account some VM attributes when\nmaking the selection including: \n\n+ The status of the VM instance.\n+ The health of the VM instance.\n+ The instance template version the VM is based on.\n+ For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", + "file": "InstanceGroupManagersClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ResizeAdvanced_sync", - "title": "compute ResizeAdvanced Sample", - "description": "ResizeAdvanced resizes the managed instance group with advanced configuration options like\ndisabling creation retries. This is an extended version of theresize method.\n\nIf you increase the size of the instance group, the group creates new\ninstances using the current instance template. If you decrease the size,\nthe group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating,creatingWithoutRetries, or deleting actions with\nthe get\norlistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", - "file": "InstanceGroupManagersClient/ResizeAdvanced/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResizeAdvanced", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ResizeAdvanced", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ResizeAdvanced", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ResizeAdvanced" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeAdvancedInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeAdvancedInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ResizeAdvanced", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ResizeAdvanced", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ResizeAdvanced" }, + "description": "ResizeAdvanced resizes the managed instance group with advanced configuration options like\ndisabling creation retries. This is an extended version of theresize method.\n\nIf you increase the size of the instance group, the group creates new\ninstances using the current instance template. If you decrease the size,\nthe group deletes instances. The resize operation is markedDONE when the resize actions are scheduled even if the group\nhas not yet added or deleted any instances. You must separately\nverify the status of the creating,creatingWithoutRetries, or deleting actions with\nthe get\norlistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", + "file": "InstanceGroupManagersClient/ResizeAdvanced/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ResizeAdvanced_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ResizeAdvanced Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ResumeInstances_sync", - "title": "compute ResumeInstances Sample", - "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/ResumeInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.ResumeInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ResumeInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "ResumeInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResumeInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResumeInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "ResumeInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.ResumeInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "ResumeInstances" }, + "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/ResumeInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_ResumeInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ResumeInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SetAutoHealingPolicies_sync", - "title": "compute SetAutoHealingPolicies Sample", - "description": "SetAutoHealingPolicies motifies the autohealing policy for the instances in this managed\ninstance group.\n[Deprecated] This method is deprecated. UseinstanceGroupManagers.patch instead.", - "file": "InstanceGroupManagersClient/SetAutoHealingPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetAutoHealingPolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.SetAutoHealingPolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SetAutoHealingPolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SetAutoHealingPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetAutoHealingPoliciesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetAutoHealingPoliciesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SetAutoHealingPolicies", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SetAutoHealingPolicies", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "SetAutoHealingPolicies" }, + "description": "SetAutoHealingPolicies motifies the autohealing policy for the instances in this managed\ninstance group.\n[Deprecated] This method is deprecated. UseinstanceGroupManagers.patch instead.", + "file": "InstanceGroupManagersClient/SetAutoHealingPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SetAutoHealingPolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetAutoHealingPolicies Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SetInstanceTemplate_sync", - "title": "compute SetInstanceTemplate Sample", - "description": "SetInstanceTemplate specifies the instance template to use when creating new instances in this\ngroup. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", - "file": "InstanceGroupManagersClient/SetInstanceTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceTemplate", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.SetInstanceTemplate", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SetInstanceTemplate", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SetInstanceTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetInstanceTemplateInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetInstanceTemplateInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SetInstanceTemplate", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SetInstanceTemplate", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "SetInstanceTemplate" }, + "description": "SetInstanceTemplate specifies the instance template to use when creating new instances in this\ngroup. The templates for existing instances in the group do not change\nunless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.", + "file": "InstanceGroupManagersClient/SetInstanceTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SetInstanceTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetInstanceTemplate Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SetTargetPools_sync", - "title": "compute SetTargetPools Sample", - "description": "SetTargetPools modifies the target pools to which all instances in this managed instance\ngroup are assigned. The target pools automatically apply to all of the\ninstances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not\nyet been added to their target pools. The change might take some time to\napply to all of the instances in the group depending on the size of the\ngroup.", - "file": "InstanceGroupManagersClient/SetTargetPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTargetPools", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.SetTargetPools", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SetTargetPools", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SetTargetPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetPoolsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetPoolsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SetTargetPools", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SetTargetPools", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "SetTargetPools" }, + "description": "SetTargetPools modifies the target pools to which all instances in this managed instance\ngroup are assigned. The target pools automatically apply to all of the\ninstances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not\nyet been added to their target pools. The change might take some time to\napply to all of the instances in the group depending on the size of the\ngroup.", + "file": "InstanceGroupManagersClient/SetTargetPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SetTargetPools_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTargetPools Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_StartInstances_sync", - "title": "compute StartInstances Sample", - "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/StartInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.StartInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.StartInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "StartInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StartInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "StartInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.StartInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "StartInstances" }, + "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/StartInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_StartInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_StopInstances_sync", - "title": "compute StopInstances Sample", - "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/StopInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.StopInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.StopInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "StopInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StopInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "StopInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.StopInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "StopInstances" }, + "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/StopInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_StopInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SuspendInstances_sync", - "title": "compute SuspendInstances Sample", - "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "InstanceGroupManagersClient/SuspendInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.SuspendInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SuspendInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "SuspendInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SuspendInstancesInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SuspendInstancesInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "SuspendInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.SuspendInstances", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "SuspendInstances" }, + "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "InstanceGroupManagersClient/SuspendInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_SuspendInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SuspendInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstanceGroupManagersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.TestIamPermissions", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstanceGroupManagersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is updated\neven if the instances in the group have not yet been updated. You must\nseparately verify the status of the individual instances with thelistManagedInstances\nmethod.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", - "file": "InstanceGroupManagersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.Update", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "Update" }, + "description": "Update updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is updated\neven if the instances in the group have not yet been updated. You must\nseparately verify the status of the individual instances with thelistManagedInstances\nmethod.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", + "file": "InstanceGroupManagersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync", - "title": "compute UpdatePerInstanceConfigs Sample", - "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "InstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient", + "shortName": "InstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient.UpdatePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.UpdatePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers", + "shortName": "InstanceGroupManagers" + }, + "shortName": "UpdatePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePerInstanceConfigsInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePerInstanceConfigsInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagersClient" - }, - "method": { - "shortName": "UpdatePerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers.UpdatePerInstanceConfigs", - "service": { - "shortName": "InstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.InstanceGroupManagers" - } - } + "shortName": "UpdatePerInstanceConfigs" }, + "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "InstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroupManagers_UpdatePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdatePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_AddInstances_sync", - "title": "compute AddInstances Sample", - "description": "AddInstances adds a list of instances to the specified instance group. All of the\ninstances in the instance group must be in the same network/subnetwork.\nRead\nAdding instances for more information.", - "file": "InstanceGroupsClient/AddInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.AddInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.AddInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "AddInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddInstancesInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AddInstancesInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "AddInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.AddInstances", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "AddInstances" }, + "description": "AddInstances adds a list of instances to the specified instance group. All of the\ninstances in the instance group must be in the same network/subnetwork.\nRead\nAdding instances for more information.", + "file": "InstanceGroupsClient/AddInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_AddInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of instance groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstanceGroupsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupsScopedListPairIterator", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.AggregatedList", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of instance groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstanceGroupsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified instance group. The instances in the group are not\ndeleted. Note that instance group must not belong to a backend service.\nRead\nDeleting an instance group for more information.", - "file": "InstanceGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.Delete", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified instance group. The instances in the group are not\ndeleted. Note that instance group must not belong to a backend service.\nRead\nDeleting an instance group for more information.", + "file": "InstanceGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified zonal instance group. Get a list of available zonal\ninstance groups by making a list() request.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", - "file": "InstanceGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroup", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.Get", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified zonal instance group. Get a list of available zonal\ninstance groups by making a list() request.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", + "file": "InstanceGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance group in the specified project using the\nparameters that are included in the request.", - "file": "InstanceGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.Insert", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance group in the specified project using the\nparameters that are included in the request.", + "file": "InstanceGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of zonal instance group resources contained within the\nspecified zone.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", - "file": "InstanceGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupIterator", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.List", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of zonal instance group resources contained within the\nspecified zone.\n\nFor managed instance groups, use theinstanceGroupManagers\nor regionInstanceGroupManagers\nmethods instead.", + "file": "InstanceGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_ListInstances_sync", - "title": "compute ListInstances Sample", - "description": "ListInstances lists the instances in the specified instance group.\nThe orderBy query parameter is not supported.\nThe filter query parameter is supported, but only for\nexpressions that use `eq` (equal) or `ne` (not equal) operators.", - "file": "InstanceGroupsClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.ListInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.ListInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstancesInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstancesInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceWithNamedPortsIterator", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.ListInstances", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "ListInstances" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListInstances lists the instances in the specified instance group.\nThe orderBy query parameter is not supported.\nThe filter query parameter is supported, but only for\nexpressions that use `eq` (equal) or `ne` (not equal) operators.", + "file": "InstanceGroupsClient/ListInstances/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_ListInstances_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_RemoveInstances_sync", - "title": "compute RemoveInstances Sample", - "description": "RemoveInstances removes one or more instances from the specified instance group, but does\nnot delete those instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration before the VM instance is removed or deleted.", - "file": "InstanceGroupsClient/RemoveInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.RemoveInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.RemoveInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "RemoveInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveInstancesInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveInstancesInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "RemoveInstances", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.RemoveInstances", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "RemoveInstances" }, + "description": "RemoveInstances removes one or more instances from the specified instance group, but does\nnot delete those instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration before the VM instance is removed or deleted.", + "file": "InstanceGroupsClient/RemoveInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_RemoveInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveInstances Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_SetNamedPorts_sync", - "title": "compute SetNamedPorts Sample", - "description": "SetNamedPorts sets the named ports for the specified instance group.", - "file": "InstanceGroupsClient/SetNamedPorts/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNamedPorts", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.SetNamedPorts", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.SetNamedPorts", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "SetNamedPorts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNamedPortsInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNamedPortsInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "SetNamedPorts", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.SetNamedPorts", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "SetNamedPorts" }, + "description": "SetNamedPorts sets the named ports for the specified instance group.", + "file": "InstanceGroupsClient/SetNamedPorts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_SetNamedPorts_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetNamedPorts Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstanceGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient", + "shortName": "InstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceGroups", + "shortName": "InstanceGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstanceGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InstanceGroups.TestIamPermissions", - "service": { - "shortName": "InstanceGroups", - "fullName": "google.cloud.compute.v1beta.InstanceGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstanceGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceSettingsService_Get_sync", - "title": "compute Get Sample", - "description": "Get get Instance settings.", - "file": "InstanceSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceSettingsClient", + "shortName": "InstanceSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceSettingsService.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceSettingsService", + "shortName": "InstanceSettingsService" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceSettings", - "client": { - "shortName": "InstanceSettingsClient", - "fullName": "google.cloud.compute.v1beta.InstanceSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstanceSettingsService.Get", - "service": { - "shortName": "InstanceSettingsService", - "fullName": "google.cloud.compute.v1beta.InstanceSettingsService" - } - } + "shortName": "Get" }, + "description": "Get get Instance settings.", + "file": "InstanceSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceSettingsService_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceSettingsService_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch Instance settings", - "file": "InstanceSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceSettingsClient", + "shortName": "InstanceSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceSettingsService.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceSettingsService", + "shortName": "InstanceSettingsService" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInstanceSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInstanceSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceSettingsClient", - "fullName": "google.cloud.compute.v1beta.InstanceSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.InstanceSettingsService.Patch", - "service": { - "shortName": "InstanceSettingsService", - "fullName": "google.cloud.compute.v1beta.InstanceSettingsService" - } - } + "shortName": "Patch" }, + "description": "Patch patch Instance settings", + "file": "InstanceSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceSettingsService_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all InstanceTemplates resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstanceTemplatesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstanceTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstanceTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceTemplatesScopedListPairIterator", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.AggregatedList", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all InstanceTemplates resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstanceTemplatesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone. It is not possible to delete templates\nthat are already in use by a managed instance group.", - "file": "InstanceTemplatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.Delete", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone. It is not possible to delete templates\nthat are already in use by a managed instance group.", + "file": "InstanceTemplatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified instance template.", - "file": "InstanceTemplatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceTemplate", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.Get", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified instance template.", + "file": "InstanceTemplatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstanceTemplatesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.GetIamPolicy", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstanceTemplatesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance template in the specified project using the\ndata that is included in the request. If you are creating a new template to\nupdate an existing instance group, your new instance template must use the\nsame network or, if applicable, the same subnetwork as the original\ntemplate.", - "file": "InstanceTemplatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.Insert", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance template in the specified project using the\ndata that is included in the request. If you are creating a new template to\nupdate an existing instance group, your new instance template must use the\nsame network or, if applicable, the same subnetwork as the original\ntemplate.", + "file": "InstanceTemplatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of instance templates that are contained within\nthe specified project.", - "file": "InstanceTemplatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstanceTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstanceTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceTemplateIterator", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.List", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "List" }, + "description": "List retrieves a list of instance templates that are contained within\nthe specified project.", + "file": "InstanceTemplatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstanceTemplatesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.SetIamPolicy", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstanceTemplatesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InstanceTemplates_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstanceTemplatesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient", + "shortName": "InstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InstanceTemplates", + "shortName": "InstanceTemplates" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.InstanceTemplatesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates.TestIamPermissions", - "service": { - "shortName": "InstanceTemplates", - "fullName": "google.cloud.compute.v1beta.InstanceTemplates" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstanceTemplatesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstanceTemplates_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_AddAccessConfig_sync", - "title": "compute AddAccessConfig Sample", - "description": "AddAccessConfig adds an access config to an instance's network interface.", - "file": "InstancesClient/AddAccessConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAccessConfig", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.AddAccessConfig", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.AddAccessConfig", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "AddAccessConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAccessConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAccessConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "AddAccessConfig", - "fullName": "google.cloud.compute.v1beta.Instances.AddAccessConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "AddAccessConfig" }, + "description": "AddAccessConfig adds an access config to an instance's network interface.", + "file": "InstancesClient/AddAccessConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_AddAccessConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAccessConfig Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_AddNetworkInterface_sync", - "title": "compute AddNetworkInterface Sample", - "description": "AddNetworkInterface adds one dynamic network interface to an active instance.", - "file": "InstancesClient/AddNetworkInterface/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddNetworkInterface", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.AddNetworkInterface", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.AddNetworkInterface", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "AddNetworkInterface" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddNetworkInterfaceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddNetworkInterfaceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "AddNetworkInterface", - "fullName": "google.cloud.compute.v1beta.Instances.AddNetworkInterface", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "AddNetworkInterface" }, + "description": "AddNetworkInterface adds one dynamic network interface to an active instance.", + "file": "InstancesClient/AddNetworkInterface/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_AddNetworkInterface_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddNetworkInterface Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_AddResourcePolicies_sync", - "title": "compute AddResourcePolicies Sample", - "description": "AddResourcePolicies adds existing resource policies to an instance. You can only add one\npolicy right now which will be applied to this instance for scheduling live\nmigrations.", - "file": "InstancesClient/AddResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.AddResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.AddResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "AddResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddResourcePoliciesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AddResourcePoliciesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "AddResourcePolicies", - "fullName": "google.cloud.compute.v1beta.Instances.AddResourcePolicies", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "AddResourcePolicies" }, + "description": "AddResourcePolicies adds existing resource policies to an instance. You can only add one\npolicy right now which will be applied to this instance for scheduling live\nmigrations.", + "file": "InstancesClient/AddResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_AddResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddResourcePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of all of the instances in your project\nacross all regions and zones.\n\nThe performance of this method degrades when a filter is specified on a\nproject that has a very large number of instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstancesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstancesScopedListPairIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Instances.AggregatedList", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of all of the instances in your project\nacross all regions and zones.\n\nThe performance of this method degrades when a filter is specified on a\nproject that has a very large number of instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstancesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_AttachDisk_sync", - "title": "compute AttachDisk Sample", - "description": "AttachDisk attaches an existing Disk resource to an instance. You must first\ncreate the disk before you can attach it. It is not possible to create\nand attach a disk at the same time. For more information, readAdding a\npersistent disk to your instance.", - "file": "InstancesClient/AttachDisk/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachDisk", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.AttachDisk", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.AttachDisk", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "AttachDisk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachDiskInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachDiskInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "AttachDisk", - "fullName": "google.cloud.compute.v1beta.Instances.AttachDisk", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "AttachDisk" }, + "description": "AttachDisk attaches an existing Disk resource to an instance. You must first\ncreate the disk before you can attach it. It is not possible to create\nand attach a disk at the same time. For more information, readAdding a\npersistent disk to your instance.", + "file": "InstancesClient/AttachDisk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_AttachDisk_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachDisk Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert creates multiple instances. Count specifies the number of instances to\ncreate. For more information, seeAbout bulk\ncreation of VMs.", - "file": "InstancesClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1beta.Instances.BulkInsert", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert creates multiple instances. Count specifies the number of instances to\ncreate. For more information, seeAbout bulk\ncreation of VMs.", + "file": "InstancesClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Instance resource. For more information, seeDeleting\nan instance.", - "file": "InstancesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Instances.Delete", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Instance resource. For more information, seeDeleting\nan instance.", + "file": "InstancesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_DeleteAccessConfig_sync", - "title": "compute DeleteAccessConfig Sample", - "description": "DeleteAccessConfig deletes an access config from an instance's network interface.", - "file": "InstancesClient/DeleteAccessConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccessConfig", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.DeleteAccessConfig", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.DeleteAccessConfig", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "DeleteAccessConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteAccessConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteAccessConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "DeleteAccessConfig", - "fullName": "google.cloud.compute.v1beta.Instances.DeleteAccessConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "DeleteAccessConfig" }, + "description": "DeleteAccessConfig deletes an access config from an instance's network interface.", + "file": "InstancesClient/DeleteAccessConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_DeleteAccessConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteAccessConfig Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_DeleteNetworkInterface_sync", - "title": "compute DeleteNetworkInterface Sample", - "description": "DeleteNetworkInterface deletes one dynamic network interface from an active instance.\nInstancesDeleteNetworkInterfaceRequest indicates: \n- instance from which to delete, using project+zone+resource_id fields;\n- dynamic network interface to be deleted, using network_interface_name\nfield;", - "file": "InstancesClient/DeleteNetworkInterface/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNetworkInterface", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.DeleteNetworkInterface", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.DeleteNetworkInterface", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "DeleteNetworkInterface" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkInterfaceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkInterfaceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "DeleteNetworkInterface", - "fullName": "google.cloud.compute.v1beta.Instances.DeleteNetworkInterface", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "DeleteNetworkInterface" }, + "description": "DeleteNetworkInterface deletes one dynamic network interface from an active instance.\nInstancesDeleteNetworkInterfaceRequest indicates: \n- instance from which to delete, using project+zone+resource_id fields;\n- dynamic network interface to be deleted, using network_interface_name\nfield;", + "file": "InstancesClient/DeleteNetworkInterface/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_DeleteNetworkInterface_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteNetworkInterface Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_DetachDisk_sync", - "title": "compute DetachDisk Sample", - "description": "DetachDisk detaches a disk from an instance.", - "file": "InstancesClient/DetachDisk/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachDisk", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.DetachDisk", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.DetachDisk", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "DetachDisk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachDiskInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachDiskInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "DetachDisk", - "fullName": "google.cloud.compute.v1beta.Instances.DetachDisk", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "DetachDisk" }, + "description": "DetachDisk detaches a disk from an instance.", + "file": "InstancesClient/DetachDisk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_DetachDisk_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachDisk Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Instance resource.", - "file": "InstancesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Instance", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Instances.Get", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Instance resource.", + "file": "InstancesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetEffectiveFirewalls_sync", - "title": "compute GetEffectiveFirewalls Sample", - "description": "GetEffectiveFirewalls returns effective firewalls applied to an interface of the instance.", - "file": "InstancesClient/GetEffectiveFirewalls/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveFirewalls", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetEffectiveFirewalls", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetEffectiveFirewalls", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetEffectiveFirewalls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveFirewallsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveFirewallsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstancesGetEffectiveFirewallsResponse", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetEffectiveFirewalls", - "fullName": "google.cloud.compute.v1beta.Instances.GetEffectiveFirewalls", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetEffectiveFirewalls" }, + "description": "GetEffectiveFirewalls returns effective firewalls applied to an interface of the instance.", + "file": "InstancesClient/GetEffectiveFirewalls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetEffectiveFirewalls_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveFirewalls Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetGuestAttributes_sync", - "title": "compute GetGuestAttributes Sample", - "description": "GetGuestAttributes returns the specified guest attributes entry.", - "file": "InstancesClient/GetGuestAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGuestAttributes", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetGuestAttributes", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetGuestAttributes", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetGuestAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetGuestAttributesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetGuestAttributesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.GuestAttributes", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetGuestAttributes", - "fullName": "google.cloud.compute.v1beta.Instances.GetGuestAttributes", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetGuestAttributes" }, + "description": "GetGuestAttributes returns the specified guest attributes entry.", + "file": "InstancesClient/GetGuestAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetGuestAttributes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetGuestAttributes Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstancesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Instances.GetIamPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstancesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetPartnerMetadata_sync", - "title": "compute GetPartnerMetadata Sample", - "description": "GetPartnerMetadata gets partner metadata of the specified instance and namespaces.", - "file": "InstancesClient/GetPartnerMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPartnerMetadata", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetPartnerMetadata", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetPartnerMetadata", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetPartnerMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPartnerMetadataInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPartnerMetadataInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PartnerMetadata", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetPartnerMetadata", - "fullName": "google.cloud.compute.v1beta.Instances.GetPartnerMetadata", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetPartnerMetadata" }, + "description": "GetPartnerMetadata gets partner metadata of the specified instance and namespaces.", + "file": "InstancesClient/GetPartnerMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetPartnerMetadata_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetPartnerMetadata Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetScreenshot_sync", - "title": "compute GetScreenshot Sample", - "description": "GetScreenshot returns the screenshot from the specified instance.", - "file": "InstancesClient/GetScreenshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetScreenshot", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetScreenshot", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetScreenshot", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetScreenshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetScreenshotInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetScreenshotInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Screenshot", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetScreenshot", - "fullName": "google.cloud.compute.v1beta.Instances.GetScreenshot", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetScreenshot" }, + "description": "GetScreenshot returns the screenshot from the specified instance.", + "file": "InstancesClient/GetScreenshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetScreenshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetScreenshot Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetSerialPortOutput_sync", - "title": "compute GetSerialPortOutput Sample", - "description": "GetSerialPortOutput returns the last 1 MB of serial port output from the specified instance.", - "file": "InstancesClient/GetSerialPortOutput/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSerialPortOutput", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetSerialPortOutput", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetSerialPortOutput", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetSerialPortOutput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSerialPortOutputInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSerialPortOutputInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SerialPortOutput", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetSerialPortOutput", - "fullName": "google.cloud.compute.v1beta.Instances.GetSerialPortOutput", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetSerialPortOutput" }, + "description": "GetSerialPortOutput returns the last 1 MB of serial port output from the specified instance.", + "file": "InstancesClient/GetSerialPortOutput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetSerialPortOutput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetSerialPortOutput Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetShieldedInstanceIdentity_sync", - "title": "compute GetShieldedInstanceIdentity Sample", - "description": "GetShieldedInstanceIdentity returns the Shielded Instance Identity of an instance", - "file": "InstancesClient/GetShieldedInstanceIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetShieldedInstanceIdentity", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetShieldedInstanceIdentity", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetShieldedInstanceIdentity", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetShieldedInstanceIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetShieldedInstanceIdentityInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetShieldedInstanceIdentityInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ShieldedInstanceIdentity", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetShieldedInstanceIdentity", - "fullName": "google.cloud.compute.v1beta.Instances.GetShieldedInstanceIdentity", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetShieldedInstanceIdentity" }, + "description": "GetShieldedInstanceIdentity returns the Shielded Instance Identity of an instance", + "file": "InstancesClient/GetShieldedInstanceIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetShieldedInstanceIdentity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetShieldedInstanceIdentity Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_GetShieldedVmIdentity_sync", - "title": "compute GetShieldedVmIdentity Sample", - "description": "GetShieldedVmIdentity returns the Shielded VM Identity of an instance", - "file": "InstancesClient/GetShieldedVmIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetShieldedVmIdentity", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.GetShieldedVmIdentity", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.GetShieldedVmIdentity", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "GetShieldedVmIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetShieldedVmIdentityInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetShieldedVmIdentityInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ShieldedVmIdentity", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "GetShieldedVmIdentity", - "fullName": "google.cloud.compute.v1beta.Instances.GetShieldedVmIdentity", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "GetShieldedVmIdentity" }, + "description": "GetShieldedVmIdentity returns the Shielded VM Identity of an instance", + "file": "InstancesClient/GetShieldedVmIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_GetShieldedVmIdentity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetShieldedVmIdentity Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance resource in the specified project using the data\nincluded in the request.", - "file": "InstancesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Instances.Insert", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance resource in the specified project using the data\nincluded in the request.", + "file": "InstancesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of instances contained within\nthe specified zone.", - "file": "InstancesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Instances.List", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "List" }, + "description": "List retrieves the list of instances contained within\nthe specified zone.", + "file": "InstancesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_ListReferrers_sync", - "title": "compute ListReferrers Sample", - "description": "ListReferrers retrieves a list of resources that refer to the VM instance specified in\nthe request. For example, if the VM instance is part of a managed or\nunmanaged instance group, the referrers list includes the instance group.\nFor more information, readViewing\nreferrers to VM instances.", - "file": "InstancesClient/ListReferrers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReferrers", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.ListReferrers", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.ListReferrers", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "ListReferrers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReferrersInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReferrersInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReferenceIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "ListReferrers", - "fullName": "google.cloud.compute.v1beta.Instances.ListReferrers", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "ListReferrers" }, + "description": "ListReferrers retrieves a list of resources that refer to the VM instance specified in\nthe request. For example, if the VM instance is part of a managed or\nunmanaged instance group, the referrers list includes the instance group.\nFor more information, readViewing\nreferrers to VM instances.", + "file": "InstancesClient/ListReferrers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_ListReferrers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListReferrers Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_PatchPartnerMetadata_sync", - "title": "compute PatchPartnerMetadata Sample", - "description": "PatchPartnerMetadata patches partner metadata of the specified instance.", - "file": "InstancesClient/PatchPartnerMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPartnerMetadata", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.PatchPartnerMetadata", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.PatchPartnerMetadata", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "PatchPartnerMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPartnerMetadataInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPartnerMetadataInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "PatchPartnerMetadata", - "fullName": "google.cloud.compute.v1beta.Instances.PatchPartnerMetadata", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "PatchPartnerMetadata" }, + "description": "PatchPartnerMetadata patches partner metadata of the specified instance.", + "file": "InstancesClient/PatchPartnerMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_PatchPartnerMetadata_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPartnerMetadata Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance perform a manual maintenance on the instance.", - "file": "InstancesClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1beta.Instances.PerformMaintenance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance perform a manual maintenance on the instance.", + "file": "InstancesClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_RemoveResourcePolicies_sync", - "title": "compute RemoveResourcePolicies Sample", - "description": "RemoveResourcePolicies removes resource policies from an instance.", - "file": "InstancesClient/RemoveResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.RemoveResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.RemoveResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "RemoveResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveResourcePoliciesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveResourcePoliciesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "RemoveResourcePolicies", - "fullName": "google.cloud.compute.v1beta.Instances.RemoveResourcePolicies", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "RemoveResourcePolicies" }, + "description": "RemoveResourcePolicies removes resource policies from an instance.", + "file": "InstancesClient/RemoveResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_RemoveResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveResourcePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_ReportHostAsFaulty_sync", - "title": "compute ReportHostAsFaulty Sample", - "description": "ReportHostAsFaulty mark the host as faulty and try to restart the instance on a new host.", - "file": "InstancesClient/ReportHostAsFaulty/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportHostAsFaulty", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.ReportHostAsFaulty", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.ReportHostAsFaulty", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "ReportHostAsFaulty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ReportHostAsFaultyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.ReportHostAsFaultyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "ReportHostAsFaulty", - "fullName": "google.cloud.compute.v1beta.Instances.ReportHostAsFaulty", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "ReportHostAsFaulty" }, + "description": "ReportHostAsFaulty mark the host as faulty and try to restart the instance on a new host.", + "file": "InstancesClient/ReportHostAsFaulty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_ReportHostAsFaulty_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ReportHostAsFaulty Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Reset_sync", - "title": "compute Reset Sample", - "description": "Reset performs a reset on the instance. This is a hard reset. The VM\ndoes not do a graceful shutdown. For more information, seeResetting\nan instance.", - "file": "InstancesClient/Reset/main.go", - "language": "GO", "clientMethod": { - "shortName": "Reset", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Reset", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Reset", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Reset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.ResetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Reset", - "fullName": "google.cloud.compute.v1beta.Instances.Reset", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Reset" }, + "description": "Reset performs a reset on the instance. This is a hard reset. The VM\ndoes not do a graceful shutdown. For more information, seeResetting\nan instance.", + "file": "InstancesClient/Reset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Reset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Reset Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Resume_sync", - "title": "compute Resume Sample", - "description": "Resume resumes an instance that was suspended using theinstances().suspend\nmethod.", - "file": "InstancesClient/Resume/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resume", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Resume", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Resume", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Resume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResumeInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.ResumeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Resume", - "fullName": "google.cloud.compute.v1beta.Instances.Resume", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Resume" }, + "description": "Resume resumes an instance that was suspended using theinstances().suspend\nmethod.", + "file": "InstancesClient/Resume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Resume_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resume Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SendDiagnosticInterrupt_sync", - "title": "compute SendDiagnosticInterrupt Sample", - "description": "SendDiagnosticInterrupt sends diagnostic interrupt to the instance.", - "file": "InstancesClient/SendDiagnosticInterrupt/main.go", - "language": "GO", "clientMethod": { - "shortName": "SendDiagnosticInterrupt", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SendDiagnosticInterrupt", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SendDiagnosticInterrupt", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SendDiagnosticInterrupt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SendDiagnosticInterruptInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SendDiagnosticInterruptInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SendDiagnosticInterruptInstanceResponse", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SendDiagnosticInterrupt", - "fullName": "google.cloud.compute.v1beta.Instances.SendDiagnosticInterrupt", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SendDiagnosticInterrupt" }, + "description": "SendDiagnosticInterrupt sends diagnostic interrupt to the instance.", + "file": "InstancesClient/SendDiagnosticInterrupt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SendDiagnosticInterrupt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SendDiagnosticInterrupt Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetDeletionProtection_sync", - "title": "compute SetDeletionProtection Sample", - "description": "SetDeletionProtection sets deletion protection on the instance.", - "file": "InstancesClient/SetDeletionProtection/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDeletionProtection", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetDeletionProtection", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetDeletionProtection", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetDeletionProtection" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetDeletionProtectionInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetDeletionProtectionInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetDeletionProtection", - "fullName": "google.cloud.compute.v1beta.Instances.SetDeletionProtection", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetDeletionProtection" }, + "description": "SetDeletionProtection sets deletion protection on the instance.", + "file": "InstancesClient/SetDeletionProtection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetDeletionProtection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetDeletionProtection Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetDiskAutoDelete_sync", - "title": "compute SetDiskAutoDelete Sample", - "description": "SetDiskAutoDelete sets the auto-delete flag for a disk attached to an instance.", - "file": "InstancesClient/SetDiskAutoDelete/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDiskAutoDelete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetDiskAutoDelete", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetDiskAutoDelete", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetDiskAutoDelete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetDiskAutoDeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetDiskAutoDeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetDiskAutoDelete", - "fullName": "google.cloud.compute.v1beta.Instances.SetDiskAutoDelete", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetDiskAutoDelete" }, + "description": "SetDiskAutoDelete sets the auto-delete flag for a disk attached to an instance.", + "file": "InstancesClient/SetDiskAutoDelete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetDiskAutoDelete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetDiskAutoDelete Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstancesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Instances.SetIamPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstancesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets labels on an instance. To learn more about labels, read theLabeling\nResources documentation.", - "file": "InstancesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.Instances.SetLabels", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets labels on an instance. To learn more about labels, read theLabeling\nResources documentation.", + "file": "InstancesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetMachineResources_sync", - "title": "compute SetMachineResources Sample", - "description": "SetMachineResources changes the number and/or type of accelerator for a stopped instance to the\nvalues specified in the request.", - "file": "InstancesClient/SetMachineResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMachineResources", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetMachineResources", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetMachineResources", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetMachineResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMachineResourcesInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMachineResourcesInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetMachineResources", - "fullName": "google.cloud.compute.v1beta.Instances.SetMachineResources", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetMachineResources" }, + "description": "SetMachineResources changes the number and/or type of accelerator for a stopped instance to the\nvalues specified in the request.", + "file": "InstancesClient/SetMachineResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetMachineResources_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMachineResources Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetMachineType_sync", - "title": "compute SetMachineType Sample", - "description": "SetMachineType changes the machine type for a stopped instance to the machine\ntype specified in the request.", - "file": "InstancesClient/SetMachineType/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMachineType", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetMachineType", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetMachineType", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetMachineType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMachineTypeInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMachineTypeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetMachineType", - "fullName": "google.cloud.compute.v1beta.Instances.SetMachineType", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetMachineType" }, + "description": "SetMachineType changes the machine type for a stopped instance to the machine\ntype specified in the request.", + "file": "InstancesClient/SetMachineType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetMachineType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMachineType Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetMetadata_sync", - "title": "compute SetMetadata Sample", - "description": "SetMetadata sets metadata for the specified instance to the data included\nin the request.", - "file": "InstancesClient/SetMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMetadata", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetMetadata", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetMetadata", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMetadataInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMetadataInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetMetadata", - "fullName": "google.cloud.compute.v1beta.Instances.SetMetadata", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetMetadata" }, + "description": "SetMetadata sets metadata for the specified instance to the data included\nin the request.", + "file": "InstancesClient/SetMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetMetadata_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMetadata Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetMinCpuPlatform_sync", - "title": "compute SetMinCpuPlatform Sample", - "description": "SetMinCpuPlatform changes the minimum CPU platform that this instance should use.\nThis method can only\nbe called on a stopped instance. For more information, readSpecifying a\nMinimum CPU Platform.", - "file": "InstancesClient/SetMinCpuPlatform/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMinCpuPlatform", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetMinCpuPlatform", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetMinCpuPlatform", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetMinCpuPlatform" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetMinCpuPlatformInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetMinCpuPlatformInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetMinCpuPlatform", - "fullName": "google.cloud.compute.v1beta.Instances.SetMinCpuPlatform", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetMinCpuPlatform" }, + "description": "SetMinCpuPlatform changes the minimum CPU platform that this instance should use.\nThis method can only\nbe called on a stopped instance. For more information, readSpecifying a\nMinimum CPU Platform.", + "file": "InstancesClient/SetMinCpuPlatform/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetMinCpuPlatform_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetMinCpuPlatform Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetName_sync", - "title": "compute SetName Sample", - "description": "SetName sets name of an instance.", - "file": "InstancesClient/SetName/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetName", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetName", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetName", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetName" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNameInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNameInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetName", - "fullName": "google.cloud.compute.v1beta.Instances.SetName", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetName" }, + "description": "SetName sets name of an instance.", + "file": "InstancesClient/SetName/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetName_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetName Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetScheduling_sync", - "title": "compute SetScheduling Sample", - "description": "SetScheduling sets an instance's scheduling options. You can only call this method on astopped instance,\nthat is, a VM instance that is in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.\nFor more information about setting scheduling options for a VM, seeSet\nVM host maintenance policy.", - "file": "InstancesClient/SetScheduling/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetScheduling", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetScheduling", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetScheduling", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetScheduling" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSchedulingInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSchedulingInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetScheduling", - "fullName": "google.cloud.compute.v1beta.Instances.SetScheduling", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetScheduling" }, + "description": "SetScheduling sets an instance's scheduling options. You can only call this method on astopped instance,\nthat is, a VM instance that is in a `TERMINATED` state. SeeInstance Life\nCycle for more information on the possible instance states.\nFor more information about setting scheduling options for a VM, seeSet\nVM host maintenance policy.", + "file": "InstancesClient/SetScheduling/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetScheduling_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetScheduling Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified instance.\nFor more information, seeGoogle\nCloud Armor Overview", - "file": "InstancesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.Instances.SetSecurityPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified instance.\nFor more information, seeGoogle\nCloud Armor Overview", + "file": "InstancesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetServiceAccount_sync", - "title": "compute SetServiceAccount Sample", - "description": "SetServiceAccount sets the service account on the instance. For more information,\nreadChanging\nthe service account and access scopes for an instance.", - "file": "InstancesClient/SetServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetServiceAccount", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetServiceAccount", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetServiceAccount", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetServiceAccountInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetServiceAccountInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetServiceAccount", - "fullName": "google.cloud.compute.v1beta.Instances.SetServiceAccount", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetServiceAccount" }, + "description": "SetServiceAccount sets the service account on the instance. For more information,\nreadChanging\nthe service account and access scopes for an instance.", + "file": "InstancesClient/SetServiceAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetServiceAccount_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetServiceAccount Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetShieldedInstanceIntegrityPolicy_sync", - "title": "compute SetShieldedInstanceIntegrityPolicy Sample", - "description": "SetShieldedInstanceIntegrityPolicy sets the Shielded Instance integrity policy for an instance. You can\nonly use this method on a running instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "InstancesClient/SetShieldedInstanceIntegrityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetShieldedInstanceIntegrityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetShieldedInstanceIntegrityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetShieldedInstanceIntegrityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetShieldedInstanceIntegrityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetShieldedInstanceIntegrityPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetShieldedInstanceIntegrityPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetShieldedInstanceIntegrityPolicy", - "fullName": "google.cloud.compute.v1beta.Instances.SetShieldedInstanceIntegrityPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetShieldedInstanceIntegrityPolicy" }, + "description": "SetShieldedInstanceIntegrityPolicy sets the Shielded Instance integrity policy for an instance. You can\nonly use this method on a running instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "InstancesClient/SetShieldedInstanceIntegrityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetShieldedInstanceIntegrityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetShieldedInstanceIntegrityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetShieldedVmIntegrityPolicy_sync", - "title": "compute SetShieldedVmIntegrityPolicy Sample", - "description": "SetShieldedVmIntegrityPolicy sets the Shielded VM integrity policy for a VM instance. You can\nonly use this method on a running VM instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "InstancesClient/SetShieldedVmIntegrityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetShieldedVmIntegrityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetShieldedVmIntegrityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetShieldedVmIntegrityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetShieldedVmIntegrityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetShieldedVmIntegrityPolicyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetShieldedVmIntegrityPolicyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetShieldedVmIntegrityPolicy", - "fullName": "google.cloud.compute.v1beta.Instances.SetShieldedVmIntegrityPolicy", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetShieldedVmIntegrityPolicy" }, + "description": "SetShieldedVmIntegrityPolicy sets the Shielded VM integrity policy for a VM instance. You can\nonly use this method on a running VM instance. This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "InstancesClient/SetShieldedVmIntegrityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetShieldedVmIntegrityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetShieldedVmIntegrityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SetTags_sync", - "title": "compute SetTags Sample", - "description": "SetTags sets network tags\nfor the specified instance to the data included in the request.", - "file": "InstancesClient/SetTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTags", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SetTags", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SetTags", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SetTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTagsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTagsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SetTags", - "fullName": "google.cloud.compute.v1beta.Instances.SetTags", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SetTags" }, + "description": "SetTags sets network tags\nfor the specified instance to the data included in the request.", + "file": "InstancesClient/SetTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SetTags_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTags Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_SimulateMaintenanceEvent_sync", - "title": "compute SimulateMaintenanceEvent Sample", - "description": "SimulateMaintenanceEvent simulates a host maintenance event on a VM. For more information, see\nSimulate a host maintenance event.", - "file": "InstancesClient/SimulateMaintenanceEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "SimulateMaintenanceEvent", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.SimulateMaintenanceEvent", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.SimulateMaintenanceEvent", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "SimulateMaintenanceEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SimulateMaintenanceEventInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SimulateMaintenanceEventInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "SimulateMaintenanceEvent", - "fullName": "google.cloud.compute.v1beta.Instances.SimulateMaintenanceEvent", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "SimulateMaintenanceEvent" }, + "description": "SimulateMaintenanceEvent simulates a host maintenance event on a VM. For more information, see\nSimulate a host maintenance event.", + "file": "InstancesClient/SimulateMaintenanceEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_SimulateMaintenanceEvent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SimulateMaintenanceEvent Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Start_sync", - "title": "compute Start Sample", - "description": "Start starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", - "file": "InstancesClient/Start/main.go", - "language": "GO", "clientMethod": { - "shortName": "Start", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Start", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Start", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Start" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Start", - "fullName": "google.cloud.compute.v1beta.Instances.Start", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Start" }, + "description": "Start starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", + "file": "InstancesClient/Start/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Start_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Start Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_StartWithEncryptionKey_sync", - "title": "compute StartWithEncryptionKey Sample", - "description": "StartWithEncryptionKey starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", - "file": "InstancesClient/StartWithEncryptionKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartWithEncryptionKey", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.StartWithEncryptionKey", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.StartWithEncryptionKey", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "StartWithEncryptionKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartWithEncryptionKeyInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.StartWithEncryptionKeyInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "StartWithEncryptionKey", - "fullName": "google.cloud.compute.v1beta.Instances.StartWithEncryptionKey", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "StartWithEncryptionKey" }, + "description": "StartWithEncryptionKey starts an instance that was stopped using theinstances().stop\nmethod. For more information, seeRestart an\ninstance.", + "file": "InstancesClient/StartWithEncryptionKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_StartWithEncryptionKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartWithEncryptionKey Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Stop_sync", - "title": "compute Stop Sample", - "description": "Stop stops a running instance, shutting it down cleanly, and allows\nyou to restart the instance at a later time. Stopped instances do not incur\nVM usage charges while they are stopped. However, resources that the VM is\nusing, such as persistent disks and static IP addresses, will continue to\nbe charged until they are deleted. For more information, seeStopping\nan instance.", - "file": "InstancesClient/Stop/main.go", - "language": "GO", "clientMethod": { - "shortName": "Stop", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Stop", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Stop", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Stop" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Stop", - "fullName": "google.cloud.compute.v1beta.Instances.Stop", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Stop" }, + "description": "Stop stops a running instance, shutting it down cleanly, and allows\nyou to restart the instance at a later time. Stopped instances do not incur\nVM usage charges while they are stopped. However, resources that the VM is\nusing, such as persistent disks and static IP addresses, will continue to\nbe charged until they are deleted. For more information, seeStopping\nan instance.", + "file": "InstancesClient/Stop/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Stop_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Stop Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Suspend_sync", - "title": "compute Suspend Sample", - "description": "Suspend this method suspends a running instance, saving its state to persistent\nstorage, and allows you to resume the instance at a later time. Suspended\ninstances have no compute costs (cores or RAM), and incur only storage\ncharges for the saved VM memory and localSSD data. Any charged resources\nthe virtual machine was using, such as persistent disks and static IP\naddresses, will continue to be charged while the instance is suspended.\nFor more information, see\nSuspending and resuming an instance.", - "file": "InstancesClient/Suspend/main.go", - "language": "GO", "clientMethod": { - "shortName": "Suspend", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Suspend", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Suspend", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Suspend" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SuspendInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SuspendInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Suspend", - "fullName": "google.cloud.compute.v1beta.Instances.Suspend", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Suspend" }, + "description": "Suspend this method suspends a running instance, saving its state to persistent\nstorage, and allows you to resume the instance at a later time. Suspended\ninstances have no compute costs (cores or RAM), and incur only storage\ncharges for the saved VM memory and localSSD data. Any charged resources\nthe virtual machine was using, such as persistent disks and static IP\naddresses, will continue to be charged while the instance is suspended.\nFor more information, see\nSuspending and resuming an instance.", + "file": "InstancesClient/Suspend/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Suspend_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Suspend Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstancesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Instances.TestIamPermissions", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstancesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_Update_sync", - "title": "compute Update Sample", - "description": "Update updates an instance only if the necessary resources are available. This\nmethod can update only a specific set of instance properties. See\nUpdating a running instance for a list of updatable instance\nproperties.", - "file": "InstancesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Instances.Update", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "Update" }, + "description": "Update updates an instance only if the necessary resources are available. This\nmethod can update only a specific set of instance properties. See\nUpdating a running instance for a list of updatable instance\nproperties.", + "file": "InstancesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_UpdateAccessConfig_sync", - "title": "compute UpdateAccessConfig Sample", - "description": "UpdateAccessConfig updates the specified access config from an instance's network interface\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateAccessConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccessConfig", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.UpdateAccessConfig", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.UpdateAccessConfig", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateAccessConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateAccessConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateAccessConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "UpdateAccessConfig", - "fullName": "google.cloud.compute.v1beta.Instances.UpdateAccessConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "UpdateAccessConfig" }, + "description": "UpdateAccessConfig updates the specified access config from an instance's network interface\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateAccessConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_UpdateAccessConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateAccessConfig Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_UpdateDisplayDevice_sync", - "title": "compute UpdateDisplayDevice Sample", - "description": "UpdateDisplayDevice updates the Display config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateDisplayDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDisplayDevice", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.UpdateDisplayDevice", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.UpdateDisplayDevice", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateDisplayDevice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateDisplayDeviceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateDisplayDeviceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "UpdateDisplayDevice", - "fullName": "google.cloud.compute.v1beta.Instances.UpdateDisplayDevice", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "UpdateDisplayDevice" }, + "description": "UpdateDisplayDevice updates the Display config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateDisplayDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_UpdateDisplayDevice_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateDisplayDevice Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_UpdateNetworkInterface_sync", - "title": "compute UpdateNetworkInterface Sample", - "description": "UpdateNetworkInterface updates an instance's network interface. This method can only update an\ninterface's alias IP range and attached network. See Modifying\nalias IP ranges for an existing instance for instructions on\nchanging alias IP ranges. See Migrating\na VM between networks for instructions on migrating an interface.\nThis method follows PATCH semantics.", - "file": "InstancesClient/UpdateNetworkInterface/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNetworkInterface", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.UpdateNetworkInterface", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.UpdateNetworkInterface", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateNetworkInterface" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateNetworkInterfaceInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateNetworkInterfaceInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "UpdateNetworkInterface", - "fullName": "google.cloud.compute.v1beta.Instances.UpdateNetworkInterface", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "UpdateNetworkInterface" }, + "description": "UpdateNetworkInterface updates an instance's network interface. This method can only update an\ninterface's alias IP range and attached network. See Modifying\nalias IP ranges for an existing instance for instructions on\nchanging alias IP ranges. See Migrating\na VM between networks for instructions on migrating an interface.\nThis method follows PATCH semantics.", + "file": "InstancesClient/UpdateNetworkInterface/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_UpdateNetworkInterface_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateNetworkInterface Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_UpdateShieldedInstanceConfig_sync", - "title": "compute UpdateShieldedInstanceConfig Sample", - "description": "UpdateShieldedInstanceConfig updates the Shielded Instance config for an instance. You can\nonly use this method on a stopped instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateShieldedInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateShieldedInstanceConfig", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.UpdateShieldedInstanceConfig", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.UpdateShieldedInstanceConfig", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateShieldedInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateShieldedInstanceConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateShieldedInstanceConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "UpdateShieldedInstanceConfig", - "fullName": "google.cloud.compute.v1beta.Instances.UpdateShieldedInstanceConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "UpdateShieldedInstanceConfig" }, + "description": "UpdateShieldedInstanceConfig updates the Shielded Instance config for an instance. You can\nonly use this method on a stopped instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateShieldedInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_UpdateShieldedInstanceConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateShieldedInstanceConfig Sample" }, { - "regionTag": "compute_v1beta_generated_Instances_UpdateShieldedVmConfig_sync", - "title": "compute UpdateShieldedVmConfig Sample", - "description": "UpdateShieldedVmConfig updates the Shielded VM config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InstancesClient/UpdateShieldedVmConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateShieldedVmConfig", + "client": { + "fullName": "google.cloud.compute.v1beta.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.compute.v1beta.InstancesClient.UpdateShieldedVmConfig", + "method": { + "fullName": "google.cloud.compute.v1beta.Instances.UpdateShieldedVmConfig", + "service": { + "fullName": "google.cloud.compute.v1beta.Instances", + "shortName": "Instances" + }, + "shortName": "UpdateShieldedVmConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateShieldedVmConfigInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateShieldedVmConfigInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.compute.v1beta.InstancesClient" - }, - "method": { - "shortName": "UpdateShieldedVmConfig", - "fullName": "google.cloud.compute.v1beta.Instances.UpdateShieldedVmConfig", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.compute.v1beta.Instances" - } - } + "shortName": "UpdateShieldedVmConfig" }, + "description": "UpdateShieldedVmConfig updates the Shielded VM config for a VM instance. You can\nonly use this method on a stopped VM instance. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InstancesClient/UpdateShieldedVmConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Instances_UpdateShieldedVmConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateShieldedVmConfig Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes a Zonal InstantSnapshotGroup resource", - "file": "InstantSnapshotGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.Delete", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes a Zonal InstantSnapshotGroup resource", + "file": "InstantSnapshotGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InstantSnapshotGroup resource in the specified zone.", - "file": "InstantSnapshotGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstantSnapshotGroup", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.Get", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InstantSnapshotGroup resource in the specified zone.", + "file": "InstantSnapshotGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstantSnapshotGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.GetIamPolicy", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstantSnapshotGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert inserts a Zonal InstantSnapshotGroup resource", - "file": "InstantSnapshotGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.Insert", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "Insert" }, + "description": "Insert inserts a Zonal InstantSnapshotGroup resource", + "file": "InstantSnapshotGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of InstantSnapshotGroup resources contained within\nthe specified zone.", - "file": "InstantSnapshotGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstantSnapshotGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstantSnapshotGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotGroupIterator", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.List", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of InstantSnapshotGroup resources contained within\nthe specified zone.", + "file": "InstantSnapshotGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstantSnapshotGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.SetIamPolicy", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstantSnapshotGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstantSnapshotGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient", + "shortName": "InstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups", + "shortName": "InstantSnapshotGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups.TestIamPermissions", - "service": { - "shortName": "InstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstantSnapshotGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshotGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of instantSnapshots.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InstantSnapshotsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInstantSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInstantSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotsScopedListPairIterator", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.AggregatedList", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of instantSnapshots.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InstantSnapshotsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", - "file": "InstantSnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.Delete", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", + "file": "InstantSnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InstantSnapshot resource in the specified zone.", - "file": "InstantSnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstantSnapshot", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.Get", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InstantSnapshot resource in the specified zone.", + "file": "InstantSnapshotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InstantSnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.GetIamPolicy", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InstantSnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instant snapshot in the specified zone.", - "file": "InstantSnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.Insert", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instant snapshot in the specified zone.", + "file": "InstantSnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified zone.", - "file": "InstantSnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstantSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstantSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotIterator", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.List", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "List" }, + "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified zone.", + "file": "InstantSnapshotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InstantSnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.SetIamPolicy", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InstantSnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a instantSnapshot in the given zone. To learn more about\nlabels, read the Labeling\nResources documentation.", - "file": "InstantSnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.SetLabels", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a instantSnapshot in the given zone. To learn more about\nlabels, read the Labeling\nResources documentation.", + "file": "InstantSnapshotsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_InstantSnapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InstantSnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient", + "shortName": "InstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InstantSnapshots", + "shortName": "InstantSnapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.InstantSnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots.TestIamPermissions", - "service": { - "shortName": "InstantSnapshots", - "fullName": "google.cloud.compute.v1beta.InstantSnapshots" - } - } + "shortName": "TestIamPermissions" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InstantSnapshotsClient/TestIamPermissions/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InstantSnapshots_TestIamPermissions_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InterconnectAttachmentGroup in the given scope", - "file": "InterconnectAttachmentGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Delete", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InterconnectAttachmentGroup in the given scope", + "file": "InterconnectAttachmentGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InterconnectAttachmentGroup resource in the given\nscope.", - "file": "InterconnectAttachmentGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectAttachmentGroup", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Get", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InterconnectAttachmentGroup resource in the given\nscope.", + "file": "InterconnectAttachmentGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InterconnectAttachmentGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetIamPolicy", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InterconnectAttachmentGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_GetOperationalStatus_sync", - "title": "compute GetOperationalStatus Sample", - "description": "GetOperationalStatus returns the InterconnectAttachmentStatuses for the specified\nInterconnectAttachmentGroup resource.", - "file": "InterconnectAttachmentGroupsClient/GetOperationalStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperationalStatus", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.GetOperationalStatus", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetOperationalStatus", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "GetOperationalStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetOperationalStatusInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetOperationalStatusInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectAttachmentGroupsGetOperationalStatusResponse", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "GetOperationalStatus", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetOperationalStatus", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "GetOperationalStatus" }, + "description": "GetOperationalStatus returns the InterconnectAttachmentStatuses for the specified\nInterconnectAttachmentGroup resource.", + "file": "InterconnectAttachmentGroupsClient/GetOperationalStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_GetOperationalStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetOperationalStatus Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a InterconnectAttachmentGroup in the specified project in the given\nscope using the parameters that are included in the request.", - "file": "InterconnectAttachmentGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Insert", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a InterconnectAttachmentGroup in the specified project in the given\nscope using the parameters that are included in the request.", + "file": "InterconnectAttachmentGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_List_sync", - "title": "compute List Sample", - "description": "List lists the InterconnectAttachmentGroups for a project in the given scope.", - "file": "InterconnectAttachmentGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectAttachmentGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectAttachmentGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentGroupIterator", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.List", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "List" }, + "description": "List lists the InterconnectAttachmentGroups for a project in the given scope.", + "file": "InterconnectAttachmentGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified InterconnectAttachmentGroup resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "InterconnectAttachmentGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.Patch", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified InterconnectAttachmentGroup resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "InterconnectAttachmentGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InterconnectAttachmentGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.SetIamPolicy", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InterconnectAttachmentGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InterconnectAttachmentGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient", + "shortName": "InterconnectAttachmentGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups", + "shortName": "InterconnectAttachmentGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInterconnectAttachmentGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInterconnectAttachmentGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InterconnectAttachmentGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups.TestIamPermissions", - "service": { - "shortName": "InterconnectAttachmentGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InterconnectAttachmentGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachmentGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of interconnect attachments.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "InterconnectAttachmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListInterconnectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListInterconnectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentsScopedListPairIterator", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.AggregatedList", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of interconnect attachments.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "InterconnectAttachmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified interconnect attachment.", - "file": "InterconnectAttachmentsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Delete", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified interconnect attachment.", + "file": "InterconnectAttachmentsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified interconnect attachment.", - "file": "InterconnectAttachmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectAttachment", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Get", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified interconnect attachment.", + "file": "InterconnectAttachmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an InterconnectAttachment in the specified project using the data\nincluded in the request.", - "file": "InterconnectAttachmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Insert", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "Insert" }, + "description": "Insert creates an InterconnectAttachment in the specified project using the data\nincluded in the request.", + "file": "InterconnectAttachmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of interconnect attachments contained within\nthe specified region.", - "file": "InterconnectAttachmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentIterator", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.List", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "List" }, + "description": "List retrieves the list of interconnect attachments contained within\nthe specified region.", + "file": "InterconnectAttachmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified interconnect attachment with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InterconnectAttachmentsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.Patch", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified interconnect attachment with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InterconnectAttachmentsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an InterconnectAttachment. To learn more about labels,\nread the Labeling\nResources documentation.", - "file": "InterconnectAttachmentsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.SetLabels", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an InterconnectAttachment. To learn more about labels,\nread the Labeling\nResources documentation.", + "file": "InterconnectAttachmentsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectAttachments_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InterconnectAttachmentsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient", + "shortName": "InterconnectAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectAttachments", + "shortName": "InterconnectAttachments" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InterconnectAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachmentsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments.TestIamPermissions", - "service": { - "shortName": "InterconnectAttachments", - "fullName": "google.cloud.compute.v1beta.InterconnectAttachments" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InterconnectAttachmentsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectAttachments_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_CreateMembers_sync", - "title": "compute CreateMembers Sample", - "description": "CreateMembers create Interconnects with redundancy by creating them in a specified\ninterconnect group.", - "file": "InterconnectGroupsClient/CreateMembers/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMembers", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.CreateMembers", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.CreateMembers", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "CreateMembers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateMembersInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateMembersInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "CreateMembers", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.CreateMembers", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "CreateMembers" }, + "description": "CreateMembers create Interconnects with redundancy by creating them in a specified\ninterconnect group.", + "file": "InterconnectGroupsClient/CreateMembers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_CreateMembers_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateMembers Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InterconnectGroup in the given scope", - "file": "InterconnectGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Delete", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InterconnectGroup in the given scope", + "file": "InterconnectGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InterconnectGroup resource in the given scope.", - "file": "InterconnectGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectGroup", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Get", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InterconnectGroup resource in the given scope.", + "file": "InterconnectGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "InterconnectGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.GetIamPolicy", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "InterconnectGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_GetOperationalStatus_sync", - "title": "compute GetOperationalStatus Sample", - "description": "GetOperationalStatus returns the interconnectStatuses for the specified\nInterconnectGroup.", - "file": "InterconnectGroupsClient/GetOperationalStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperationalStatus", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.GetOperationalStatus", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.GetOperationalStatus", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "GetOperationalStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetOperationalStatusInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetOperationalStatusInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectGroupsGetOperationalStatusResponse", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "GetOperationalStatus", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.GetOperationalStatus", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "GetOperationalStatus" }, + "description": "GetOperationalStatus returns the interconnectStatuses for the specified\nInterconnectGroup.", + "file": "InterconnectGroupsClient/GetOperationalStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_GetOperationalStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetOperationalStatus Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a InterconnectGroup in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "InterconnectGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Insert", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a InterconnectGroup in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "InterconnectGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_List_sync", - "title": "compute List Sample", - "description": "List lists the InterconnectGroups for a project in the given scope.", - "file": "InterconnectGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectGroupIterator", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.List", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "List" }, + "description": "List lists the InterconnectGroups for a project in the given scope.", + "file": "InterconnectGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified InterconnectGroup resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "InterconnectGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.Patch", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified InterconnectGroup resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "InterconnectGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "InterconnectGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.SetIamPolicy", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "InterconnectGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InterconnectGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient", + "shortName": "InterconnectGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectGroups", + "shortName": "InterconnectGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInterconnectGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInterconnectGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InterconnectGroupsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups.TestIamPermissions", - "service": { - "shortName": "InterconnectGroups", - "fullName": "google.cloud.compute.v1beta.InterconnectGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InterconnectGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectLocations_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the details for the specified interconnect location. Gets a list of\navailable interconnect locations by making a list() request.", - "file": "InterconnectLocationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectLocationsClient", + "shortName": "InterconnectLocationsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectLocationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectLocations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectLocations", + "shortName": "InterconnectLocations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectLocationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectLocation", - "client": { - "shortName": "InterconnectLocationsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectLocationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InterconnectLocations.Get", - "service": { - "shortName": "InterconnectLocations", - "fullName": "google.cloud.compute.v1beta.InterconnectLocations" - } - } + "shortName": "Get" }, + "description": "Get returns the details for the specified interconnect location. Gets a list of\navailable interconnect locations by making a list() request.", + "file": "InterconnectLocationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectLocations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectLocations_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of interconnect locations available to the specified\nproject.", - "file": "InterconnectLocationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectLocationsClient", + "shortName": "InterconnectLocationsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectLocationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectLocations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectLocations", + "shortName": "InterconnectLocations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectLocationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectLocationIterator", - "client": { - "shortName": "InterconnectLocationsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectLocationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InterconnectLocations.List", - "service": { - "shortName": "InterconnectLocations", - "fullName": "google.cloud.compute.v1beta.InterconnectLocations" - } - } + "shortName": "List" }, + "description": "List retrieves the list of interconnect locations available to the specified\nproject.", + "file": "InterconnectLocationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectLocations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectRemoteLocations_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the details for the specified interconnect remote location. Gets a\nlist of available interconnect remote locations by making alist() request.", - "file": "InterconnectRemoteLocationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocationsClient", + "shortName": "InterconnectRemoteLocationsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations", + "shortName": "InterconnectRemoteLocations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectRemoteLocationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectRemoteLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectRemoteLocation", - "client": { - "shortName": "InterconnectRemoteLocationsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations.Get", - "service": { - "shortName": "InterconnectRemoteLocations", - "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations" - } - } + "shortName": "Get" }, + "description": "Get returns the details for the specified interconnect remote location. Gets a\nlist of available interconnect remote locations by making alist() request.", + "file": "InterconnectRemoteLocationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectRemoteLocations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_InterconnectRemoteLocations_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of interconnect remote locations available to the\nspecified project.", - "file": "InterconnectRemoteLocationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocationsClient", + "shortName": "InterconnectRemoteLocationsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations", + "shortName": "InterconnectRemoteLocations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectRemoteLocationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectRemoteLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectRemoteLocationIterator", - "client": { - "shortName": "InterconnectRemoteLocationsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations.List", - "service": { - "shortName": "InterconnectRemoteLocations", - "fullName": "google.cloud.compute.v1beta.InterconnectRemoteLocations" - } - } + "shortName": "List" }, + "description": "List retrieves the list of interconnect remote locations available to the\nspecified project.", + "file": "InterconnectRemoteLocationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_InterconnectRemoteLocations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Interconnect.", - "file": "InterconnectsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Interconnects.Delete", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Interconnect.", + "file": "InterconnectsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Interconnect. Get a list of available Interconnects\nby making a list() request.", - "file": "InterconnectsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Interconnect", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Interconnects.Get", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Interconnect. Get a list of available Interconnects\nby making a list() request.", + "file": "InterconnectsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_GetDiagnostics_sync", - "title": "compute GetDiagnostics Sample", - "description": "GetDiagnostics returns the interconnectDiagnostics for the specified\nInterconnect.\n\nIn the event of a\nglobal outage, do not use this API to make decisions about where to\nredirect your network traffic.\n\nUnlike a VLAN attachment, which is regional, a Cloud Interconnect\nconnection is a global resource. A global outage can prevent this\nAPI from functioning properly.", - "file": "InterconnectsClient/GetDiagnostics/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiagnostics", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.GetDiagnostics", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.GetDiagnostics", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "GetDiagnostics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetDiagnosticsInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetDiagnosticsInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectsGetDiagnosticsResponse", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "GetDiagnostics", - "fullName": "google.cloud.compute.v1beta.Interconnects.GetDiagnostics", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "GetDiagnostics" }, + "description": "GetDiagnostics returns the interconnectDiagnostics for the specified\nInterconnect.\n\nIn the event of a\nglobal outage, do not use this API to make decisions about where to\nredirect your network traffic.\n\nUnlike a VLAN attachment, which is regional, a Cloud Interconnect\nconnection is a global resource. A global outage can prevent this\nAPI from functioning properly.", + "file": "InterconnectsClient/GetDiagnostics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_GetDiagnostics_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetDiagnostics Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_GetMacsecConfig_sync", - "title": "compute GetMacsecConfig Sample", - "description": "GetMacsecConfig returns the interconnectMacsecConfig for the specified\nInterconnect.", - "file": "InterconnectsClient/GetMacsecConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMacsecConfig", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.GetMacsecConfig", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.GetMacsecConfig", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "GetMacsecConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetMacsecConfigInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetMacsecConfigInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InterconnectsGetMacsecConfigResponse", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "GetMacsecConfig", - "fullName": "google.cloud.compute.v1beta.Interconnects.GetMacsecConfig", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "GetMacsecConfig" }, + "description": "GetMacsecConfig returns the interconnectMacsecConfig for the specified\nInterconnect.", + "file": "InterconnectsClient/GetMacsecConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_GetMacsecConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetMacsecConfig Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an Interconnect in the specified project using\nthe data included in the request.", - "file": "InterconnectsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Interconnects.Insert", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "Insert" }, + "description": "Insert creates an Interconnect in the specified project using\nthe data included in the request.", + "file": "InterconnectsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Interconnects available to the specified project.", - "file": "InterconnectsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInterconnectsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInterconnectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectIterator", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Interconnects.List", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Interconnects available to the specified project.", + "file": "InterconnectsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified Interconnect with the data included in the request.\nThis method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "InterconnectsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Interconnects.Patch", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified Interconnect with the data included in the request.\nThis method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "InterconnectsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on an Interconnect. To learn more about labels,\nread the Labeling\nResources documentation.", - "file": "InterconnectsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.Interconnects.SetLabels", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on an Interconnect. To learn more about labels,\nread the Labeling\nResources documentation.", + "file": "InterconnectsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Interconnects_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "InterconnectsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.InterconnectsClient", + "shortName": "InterconnectsClient" + }, "fullName": "google.cloud.compute.v1beta.InterconnectsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Interconnects.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Interconnects", + "shortName": "Interconnects" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsInterconnectRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "InterconnectsClient", - "fullName": "google.cloud.compute.v1beta.InterconnectsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Interconnects.TestIamPermissions", - "service": { - "shortName": "Interconnects", - "fullName": "google.cloud.compute.v1beta.Interconnects" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "InterconnectsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Interconnects_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_LicenseCodes_Get_sync", - "title": "compute Get Sample", - "description": "Get return a specified license code. License codes are mirrored across\nall projects that have permissions to read the License Code.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicenseCodesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.LicenseCodesClient", + "shortName": "LicenseCodesClient" + }, "fullName": "google.cloud.compute.v1beta.LicenseCodesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.LicenseCodes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.LicenseCodes", + "shortName": "LicenseCodes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetLicenseCodeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetLicenseCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.LicenseCode", - "client": { - "shortName": "LicenseCodesClient", - "fullName": "google.cloud.compute.v1beta.LicenseCodesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.LicenseCodes.Get", - "service": { - "shortName": "LicenseCodes", - "fullName": "google.cloud.compute.v1beta.LicenseCodes" - } - } + "shortName": "Get" }, + "description": "Get return a specified license code. License codes are mirrored across\nall projects that have permissions to read the License Code.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicenseCodesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_LicenseCodes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_LicenseCodes_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicenseCodesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.LicenseCodesClient", + "shortName": "LicenseCodesClient" + }, "fullName": "google.cloud.compute.v1beta.LicenseCodesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.LicenseCodes.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.LicenseCodes", + "shortName": "LicenseCodes" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsLicenseCodeRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsLicenseCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "LicenseCodesClient", - "fullName": "google.cloud.compute.v1beta.LicenseCodesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.LicenseCodes.TestIamPermissions", - "service": { - "shortName": "LicenseCodes", - "fullName": "google.cloud.compute.v1beta.LicenseCodes" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicenseCodesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_LicenseCodes_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified license.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.Delete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "Delete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Licenses.Delete", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified license.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified License resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.GetLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.License", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Licenses.Get", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "Get" }, + "description": "Get returns the specified License resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Licenses.GetIamPolicy", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Licenses.Insert", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "Insert" }, + "description": "Insert create a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of licenses\navailable in the specified project. This method does not\nget any licenses that belong to other projects, including licenses attached\nto publicly-available images, like Debian 9. If you want to get a list of\npublicly-available licenses, use this method to make a request to the\nrespective image project, such as debian-cloud orwindows-cloud.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListLicensesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListLicensesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LicenseIterator", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Licenses.List", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "List" }, + "description": "List retrieves the list of licenses\navailable in the specified project. This method does not\nget any licenses that belong to other projects, including licenses attached\nto publicly-available images, like Debian 9. If you want to get a list of\npublicly-available licenses, use this method to make a request to the\nrespective image project, such as debian-cloud orwindows-cloud.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Licenses.SetIamPolicy", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Licenses.TestIamPermissions", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Licenses_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", - "file": "LicensesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.LicensesClient", + "shortName": "LicensesClient" + }, "fullName": "google.cloud.compute.v1beta.LicensesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Licenses.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Licenses", + "shortName": "Licenses" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateLicenseRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "LicensesClient", - "fullName": "google.cloud.compute.v1beta.LicensesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Licenses.Update", - "service": { - "shortName": "Licenses", - "fullName": "google.cloud.compute.v1beta.Licenses" - } - } + "shortName": "Update" }, + "description": "Update updates a License resource in the specified project.\n*Caution* This resource is intended\nfor use only by third-party partners who are creatingCloud Marketplace\nimages.", + "file": "LicensesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Licenses_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified machine image. Deleting a machine image is permanent\nand cannot be undone.", - "file": "MachineImagesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.MachineImages.Delete", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified machine image. Deleting a machine image is permanent\nand cannot be undone.", + "file": "MachineImagesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified machine image.", - "file": "MachineImagesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.MachineImage", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.MachineImages.Get", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "Get" }, + "description": "Get returns the specified machine image.", + "file": "MachineImagesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "MachineImagesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.MachineImages.GetIamPolicy", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "MachineImagesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a machine image in the specified project using the\ndata that is included in the request. If you are creating a new machine\nimage to update an existing instance, your new machine image should use the\nsame network or, if applicable, the same subnetwork as the original\ninstance.", - "file": "MachineImagesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.MachineImages.Insert", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "Insert" }, + "description": "Insert creates a machine image in the specified project using the\ndata that is included in the request. If you are creating a new machine\nimage to update an existing instance, your new machine image should use the\nsame network or, if applicable, the same subnetwork as the original\ninstance.", + "file": "MachineImagesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of machine images that are contained within\nthe specified project.", - "file": "MachineImagesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.List", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListMachineImagesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListMachineImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineImageIterator", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.MachineImages.List", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "List" }, + "description": "List retrieves a list of machine images that are contained within\nthe specified project.", + "file": "MachineImagesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "MachineImagesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.MachineImages.SetIamPolicy", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "MachineImagesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a machine image. To learn more about labels, read theLabeling\nResources documentation.", - "file": "MachineImagesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.MachineImages.SetLabels", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a machine image. To learn more about labels, read theLabeling\nResources documentation.", + "file": "MachineImagesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_MachineImages_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "MachineImagesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineImagesClient", + "shortName": "MachineImagesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineImagesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineImages.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineImages", + "shortName": "MachineImages" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsMachineImageRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsMachineImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "MachineImagesClient", - "fullName": "google.cloud.compute.v1beta.MachineImagesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.MachineImages.TestIamPermissions", - "service": { - "shortName": "MachineImages", - "fullName": "google.cloud.compute.v1beta.MachineImages" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "MachineImagesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineImages_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_MachineTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of machine types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "MachineTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineTypesClient", + "shortName": "MachineTypesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineTypes", + "shortName": "MachineTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListMachineTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListMachineTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineTypesScopedListPairIterator", - "client": { - "shortName": "MachineTypesClient", - "fullName": "google.cloud.compute.v1beta.MachineTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.MachineTypes.AggregatedList", - "service": { - "shortName": "MachineTypes", - "fullName": "google.cloud.compute.v1beta.MachineTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of machine types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "MachineTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_MachineTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified machine type.", - "file": "MachineTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineTypesClient", + "shortName": "MachineTypesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineTypes", + "shortName": "MachineTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetMachineTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetMachineTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.MachineType", - "client": { - "shortName": "MachineTypesClient", - "fullName": "google.cloud.compute.v1beta.MachineTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.MachineTypes.Get", - "service": { - "shortName": "MachineTypes", - "fullName": "google.cloud.compute.v1beta.MachineTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified machine type.", + "file": "MachineTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_MachineTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of machine types available to the specified\nproject.", - "file": "MachineTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.MachineTypesClient", + "shortName": "MachineTypesClient" + }, "fullName": "google.cloud.compute.v1beta.MachineTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.MachineTypes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.MachineTypes", + "shortName": "MachineTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListMachineTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListMachineTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineTypeIterator", - "client": { - "shortName": "MachineTypesClient", - "fullName": "google.cloud.compute.v1beta.MachineTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.MachineTypes.List", - "service": { - "shortName": "MachineTypes", - "fullName": "google.cloud.compute.v1beta.MachineTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of machine types available to the specified\nproject.", + "file": "MachineTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_MachineTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all NetworkAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkAttachmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkAttachmentsScopedListPairIterator", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.AggregatedList", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all NetworkAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkAttachmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NetworkAttachment in the given scope", - "file": "NetworkAttachmentsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Delete", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NetworkAttachment in the given scope", + "file": "NetworkAttachmentsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified NetworkAttachment resource in the given scope.", - "file": "NetworkAttachmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkAttachment", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Get", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified NetworkAttachment resource in the given scope.", + "file": "NetworkAttachmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NetworkAttachmentsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.GetIamPolicy", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NetworkAttachmentsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a NetworkAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "NetworkAttachmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Insert", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "Insert" }, + "description": "Insert creates a NetworkAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "NetworkAttachmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_List_sync", - "title": "compute List Sample", - "description": "List lists the NetworkAttachments for a project in the given scope.", - "file": "NetworkAttachmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkAttachmentIterator", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.List", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "List" }, + "description": "List lists the NetworkAttachments for a project in the given scope.", + "file": "NetworkAttachmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified NetworkAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "NetworkAttachmentsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.Patch", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified NetworkAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "NetworkAttachmentsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NetworkAttachmentsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.SetIamPolicy", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NetworkAttachmentsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkAttachments_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworkAttachmentsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient", + "shortName": "NetworkAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkAttachments", + "shortName": "NetworkAttachments" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworkAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.NetworkAttachmentsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments.TestIamPermissions", - "service": { - "shortName": "NetworkAttachments", - "fullName": "google.cloud.compute.v1beta.NetworkAttachments" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworkAttachmentsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkAttachments_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all NetworkEdgeSecurityService resources available to\nthe specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkEdgeSecurityServicesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkEdgeSecurityServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkEdgeSecurityServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEdgeSecurityServicesScopedListPairIterator", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.AggregatedList", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all NetworkEdgeSecurityService resources available to\nthe specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkEdgeSecurityServicesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified service.", - "file": "NetworkEdgeSecurityServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Delete", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified service.", + "file": "NetworkEdgeSecurityServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Get_sync", - "title": "compute Get Sample", - "description": "Get gets a specified NetworkEdgeSecurityService.", - "file": "NetworkEdgeSecurityServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEdgeSecurityService", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Get", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices" - } - } + "shortName": "Get" }, + "description": "Get gets a specified NetworkEdgeSecurityService.", + "file": "NetworkEdgeSecurityServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new service in the specified project using the data included in\nthe request.", - "file": "NetworkEdgeSecurityServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Insert", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new service in the specified project using the data included in\nthe request.", + "file": "NetworkEdgeSecurityServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.", - "file": "NetworkEdgeSecurityServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient", + "shortName": "NetworkEdgeSecurityServicesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices", + "shortName": "NetworkEdgeSecurityServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkEdgeSecurityServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkEdgeSecurityServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEdgeSecurityServicesClient", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices.Patch", - "service": { - "shortName": "NetworkEdgeSecurityServices", - "fullName": "google.cloud.compute.v1beta.NetworkEdgeSecurityServices" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.", + "file": "NetworkEdgeSecurityServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEdgeSecurityServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of network endpoint groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkEndpointGroupsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupsScopedListPairIterator", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.AggregatedList", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of network endpoint groups and sorts them by zone.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkEndpointGroupsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_AttachNetworkEndpoints_sync", - "title": "compute AttachNetworkEndpoints Sample", - "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", - "file": "NetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.AttachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.AttachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "AttachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachNetworkEndpointsNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachNetworkEndpointsNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AttachNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.AttachNetworkEndpoints", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "AttachNetworkEndpoints" }, + "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", + "file": "NetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_AttachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network endpoint group. The network endpoints in the\nNEG and the VM instances they belong to are not terminated when the NEG is\ndeleted. Note that the NEG cannot be deleted if there are backend services\nreferencing it.", - "file": "NetworkEndpointGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.Delete", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network endpoint group. The network endpoints in the\nNEG and the VM instances they belong to are not terminated when the NEG is\ndeleted. Note that the NEG cannot be deleted if there are backend services\nreferencing it.", + "file": "NetworkEndpointGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_DetachNetworkEndpoints_sync", - "title": "compute DetachNetworkEndpoints Sample", - "description": "DetachNetworkEndpoints detach a list of network endpoints from the specified network endpoint\ngroup.", - "file": "NetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.DetachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.DetachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "DetachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachNetworkEndpointsNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachNetworkEndpointsNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "DetachNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.DetachNetworkEndpoints", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "DetachNetworkEndpoints" }, + "description": "DetachNetworkEndpoints detach a list of network endpoints from the specified network endpoint\ngroup.", + "file": "NetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_DetachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network endpoint group.", - "file": "NetworkEndpointGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEndpointGroup", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.Get", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network endpoint group.", + "file": "NetworkEndpointGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", - "file": "NetworkEndpointGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.Insert", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", + "file": "NetworkEndpointGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project and zone.", - "file": "NetworkEndpointGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupIterator", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.List", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of network endpoint groups that are located in the\nspecified project and zone.", + "file": "NetworkEndpointGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_ListNetworkEndpoints_sync", - "title": "compute ListNetworkEndpoints Sample", - "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", - "file": "NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.ListNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.ListNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "ListNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointsNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointsNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointWithHealthStatusIterator", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "ListNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.ListNetworkEndpoints", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "ListNetworkEndpoints" }, + "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", + "file": "NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_ListNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworkEndpointGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient", + "shortName": "NetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups", + "shortName": "NetworkEndpointGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups.TestIamPermissions", - "service": { - "shortName": "NetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.NetworkEndpointGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworkEndpointGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkEndpointGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified firewall policy.", - "file": "NetworkFirewallPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AddAssociation", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "AddAssociation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "AddAssociation inserts an association for the specified firewall policy.", + "file": "NetworkFirewallPoliciesClient/AddAssociation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AddAssociation_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AddPacketMirroringRule_sync", - "title": "compute AddPacketMirroringRule Sample", - "description": "AddPacketMirroringRule inserts a packet mirroring rule into a firewall policy.", - "file": "NetworkFirewallPoliciesClient/AddPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.AddPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AddPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AddPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddPacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddPacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddPacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AddPacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "AddPacketMirroringRule" }, + "description": "AddPacketMirroringRule inserts a packet mirroring rule into a firewall policy.", + "file": "NetworkFirewallPoliciesClient/AddPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AddPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddPacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a firewall policy.", - "file": "NetworkFirewallPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AddRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a firewall policy.", + "file": "NetworkFirewallPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of network firewall policies, listing network\nfirewall policies from all applicable scopes (global and regional) and\ngrouping the results per scope.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NetworkFirewallPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNetworkFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNetworkFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPoliciesScopedListPairIterator", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.AggregatedList", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of network firewall policies, listing network\nfirewall policies from all applicable scopes (global and regional) and\ngrouping the results per scope.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NetworkFirewallPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_CloneRules_sync", - "title": "compute CloneRules Sample", - "description": "CloneRules copies rules to the specified firewall policy.", - "file": "NetworkFirewallPoliciesClient/CloneRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneRules", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.CloneRules", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.CloneRules", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "CloneRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CloneRulesNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CloneRulesNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "CloneRules", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.CloneRules", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "CloneRules" }, + "description": "CloneRules copies rules to the specified firewall policy.", + "file": "NetworkFirewallPoliciesClient/CloneRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_CloneRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CloneRules Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "NetworkFirewallPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Delete", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "NetworkFirewallPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network firewall policy.", - "file": "NetworkFirewallPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicy", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Get", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network firewall policy.", + "file": "NetworkFirewallPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "NetworkFirewallPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyAssociation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetAssociation", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "NetworkFirewallPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NetworkFirewallPoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetIamPolicy", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NetworkFirewallPoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetPacketMirroringRule_sync", - "title": "compute GetPacketMirroringRule Sample", - "description": "GetPacketMirroringRule gets a packet mirroring rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/GetPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.GetPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetPacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetPacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "GetPacketMirroringRule" }, + "description": "GetPacketMirroringRule gets a packet mirroring rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/GetPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetPacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.GetRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "NetworkFirewallPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Insert", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "NetworkFirewallPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the policies that have been configured for the specified project.", - "file": "NetworkFirewallPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.List", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the policies that have been configured for the specified project.", + "file": "NetworkFirewallPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.", - "file": "NetworkFirewallPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.Patch", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.", + "file": "NetworkFirewallPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_PatchPacketMirroringRule_sync", - "title": "compute PatchPacketMirroringRule Sample", - "description": "PatchPacketMirroringRule patches a packet mirroring rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/PatchPacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.PatchPacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.PatchPacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "PatchPacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchPacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.PatchPacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "PatchPacketMirroringRule" }, + "description": "PatchPacketMirroringRule patches a packet mirroring rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/PatchPacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_PatchPacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.PatchRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified firewall policy.", - "file": "NetworkFirewallPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.RemoveAssociation", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified firewall policy.", + "file": "NetworkFirewallPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_RemovePacketMirroringRule_sync", - "title": "compute RemovePacketMirroringRule Sample", - "description": "RemovePacketMirroringRule deletes a packet mirroring rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/RemovePacketMirroringRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemovePacketMirroringRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.RemovePacketMirroringRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.RemovePacketMirroringRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "RemovePacketMirroringRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemovePacketMirroringRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemovePacketMirroringRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemovePacketMirroringRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.RemovePacketMirroringRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "RemovePacketMirroringRule" }, + "description": "RemovePacketMirroringRule deletes a packet mirroring rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/RemovePacketMirroringRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_RemovePacketMirroringRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemovePacketMirroringRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule of the specified priority.", - "file": "NetworkFirewallPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.RemoveRule", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule of the specified priority.", + "file": "NetworkFirewallPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NetworkFirewallPoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.SetIamPolicy", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NetworkFirewallPoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworkFirewallPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient", + "shortName": "NetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies", + "shortName": "NetworkFirewallPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies.TestIamPermissions", - "service": { - "shortName": "NetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.NetworkFirewallPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworkFirewallPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkFirewallPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkProfiles_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network profile.", - "file": "NetworkProfilesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkProfilesClient", + "shortName": "NetworkProfilesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkProfilesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkProfiles.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkProfiles", + "shortName": "NetworkProfiles" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkProfileRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkProfile", - "client": { - "shortName": "NetworkProfilesClient", - "fullName": "google.cloud.compute.v1beta.NetworkProfilesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NetworkProfiles.Get", - "service": { - "shortName": "NetworkProfiles", - "fullName": "google.cloud.compute.v1beta.NetworkProfiles" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network profile.", + "file": "NetworkProfilesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkProfiles_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NetworkProfiles_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of network profiles available to the specified\nproject.", - "file": "NetworkProfilesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworkProfilesClient", + "shortName": "NetworkProfilesClient" + }, "fullName": "google.cloud.compute.v1beta.NetworkProfilesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NetworkProfiles.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NetworkProfiles", + "shortName": "NetworkProfiles" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkProfilesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkProfileIterator", - "client": { - "shortName": "NetworkProfilesClient", - "fullName": "google.cloud.compute.v1beta.NetworkProfilesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NetworkProfiles.List", - "service": { - "shortName": "NetworkProfiles", - "fullName": "google.cloud.compute.v1beta.NetworkProfiles" - } - } + "shortName": "List" }, + "description": "List retrieves a list of network profiles available to the specified\nproject.", + "file": "NetworkProfilesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NetworkProfiles_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_AddPeering_sync", - "title": "compute AddPeering Sample", - "description": "AddPeering adds a peering to the specified network.", - "file": "NetworksClient/AddPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddPeering", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.AddPeering", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.AddPeering", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "AddPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddPeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.AddPeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "AddPeering", - "fullName": "google.cloud.compute.v1beta.Networks.AddPeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "AddPeering" }, + "description": "AddPeering adds a peering to the specified network.", + "file": "NetworksClient/AddPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_AddPeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddPeering Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_CancelRequestRemovePeering_sync", - "title": "compute CancelRequestRemovePeering Sample", - "description": "CancelRequestRemovePeering cancel requests to remove a peering from the specified network. Applicable\nonly for PeeringConnection with update_strategy=CONSENSUS. Cancels a\nrequest to remove a peering from the specified network.", - "file": "NetworksClient/CancelRequestRemovePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelRequestRemovePeering", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.CancelRequestRemovePeering", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.CancelRequestRemovePeering", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "CancelRequestRemovePeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelRequestRemovePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelRequestRemovePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "CancelRequestRemovePeering", - "fullName": "google.cloud.compute.v1beta.Networks.CancelRequestRemovePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "CancelRequestRemovePeering" }, + "description": "CancelRequestRemovePeering cancel requests to remove a peering from the specified network. Applicable\nonly for PeeringConnection with update_strategy=CONSENSUS. Cancels a\nrequest to remove a peering from the specified network.", + "file": "NetworksClient/CancelRequestRemovePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_CancelRequestRemovePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CancelRequestRemovePeering Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network.", - "file": "NetworksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Networks.Delete", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network.", + "file": "NetworksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network.", - "file": "NetworksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Network", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Networks.Get", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network.", + "file": "NetworksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_GetEffectiveFirewalls_sync", - "title": "compute GetEffectiveFirewalls Sample", - "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", - "file": "NetworksClient/GetEffectiveFirewalls/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveFirewalls", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.GetEffectiveFirewalls", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.GetEffectiveFirewalls", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "GetEffectiveFirewalls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveFirewallsNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveFirewallsNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworksGetEffectiveFirewallsResponse", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "GetEffectiveFirewalls", - "fullName": "google.cloud.compute.v1beta.Networks.GetEffectiveFirewalls", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "GetEffectiveFirewalls" }, + "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", + "file": "NetworksClient/GetEffectiveFirewalls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_GetEffectiveFirewalls_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveFirewalls Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network in the specified project using the data included\nin the request.", - "file": "NetworksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Networks.Insert", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network in the specified project using the data included\nin the request.", + "file": "NetworksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of networks available to the specified project.", - "file": "NetworksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkIterator", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Networks.List", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of networks available to the specified project.", + "file": "NetworksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_ListPeeringRoutes_sync", - "title": "compute ListPeeringRoutes Sample", - "description": "ListPeeringRoutes lists the peering routes exchanged over peering connection.", - "file": "NetworksClient/ListPeeringRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPeeringRoutes", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.ListPeeringRoutes", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.ListPeeringRoutes", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "ListPeeringRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPeeringRoutesNetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPeeringRoutesNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExchangedPeeringRouteIterator", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "ListPeeringRoutes", - "fullName": "google.cloud.compute.v1beta.Networks.ListPeeringRoutes", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "ListPeeringRoutes" }, + "description": "ListPeeringRoutes lists the peering routes exchanged over peering connection.", + "file": "NetworksClient/ListPeeringRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_ListPeeringRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPeeringRoutes Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified network with the data included in the request.\nOnly routingConfig can be modified.", - "file": "NetworksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Networks.Patch", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified network with the data included in the request.\nOnly routingConfig can be modified.", + "file": "NetworksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_RemovePeering_sync", - "title": "compute RemovePeering Sample", - "description": "RemovePeering removes a peering from the specified network.", - "file": "NetworksClient/RemovePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemovePeering", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.RemovePeering", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.RemovePeering", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "RemovePeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemovePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.RemovePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "RemovePeering", - "fullName": "google.cloud.compute.v1beta.Networks.RemovePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "RemovePeering" }, + "description": "RemovePeering removes a peering from the specified network.", + "file": "NetworksClient/RemovePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_RemovePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemovePeering Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_RequestRemovePeering_sync", - "title": "compute RequestRemovePeering Sample", - "description": "RequestRemovePeering requests to remove a peering from the specified network. Applicable only\nfor PeeringConnection with update_strategy=CONSENSUS.", - "file": "NetworksClient/RequestRemovePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "RequestRemovePeering", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.RequestRemovePeering", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.RequestRemovePeering", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "RequestRemovePeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RequestRemovePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.RequestRemovePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "RequestRemovePeering", - "fullName": "google.cloud.compute.v1beta.Networks.RequestRemovePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "RequestRemovePeering" }, + "description": "RequestRemovePeering requests to remove a peering from the specified network. Applicable only\nfor PeeringConnection with update_strategy=CONSENSUS.", + "file": "NetworksClient/RequestRemovePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_RequestRemovePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RequestRemovePeering Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_SwitchToCustomMode_sync", - "title": "compute SwitchToCustomMode Sample", - "description": "SwitchToCustomMode switches the network mode from auto subnet mode to custom subnet mode.", - "file": "NetworksClient/SwitchToCustomMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchToCustomMode", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.SwitchToCustomMode", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.SwitchToCustomMode", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "SwitchToCustomMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SwitchToCustomModeNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.SwitchToCustomModeNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "SwitchToCustomMode", - "fullName": "google.cloud.compute.v1beta.Networks.SwitchToCustomMode", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "SwitchToCustomMode" }, + "description": "SwitchToCustomMode switches the network mode from auto subnet mode to custom subnet mode.", + "file": "NetworksClient/SwitchToCustomMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_SwitchToCustomMode_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SwitchToCustomMode Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NetworksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Networks.TestIamPermissions", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NetworksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Networks_UpdatePeering_sync", - "title": "compute UpdatePeering Sample", - "description": "UpdatePeering updates the specified network peering with the data included in the\nrequest. You can only modify the NetworkPeering.export_custom_routes field\nand the NetworkPeering.import_custom_routes field.", - "file": "NetworksClient/UpdatePeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePeering", + "client": { + "fullName": "google.cloud.compute.v1beta.NetworksClient", + "shortName": "NetworksClient" + }, "fullName": "google.cloud.compute.v1beta.NetworksClient.UpdatePeering", + "method": { + "fullName": "google.cloud.compute.v1beta.Networks.UpdatePeering", + "service": { + "fullName": "google.cloud.compute.v1beta.Networks", + "shortName": "Networks" + }, + "shortName": "UpdatePeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePeeringNetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePeeringNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NetworksClient", - "fullName": "google.cloud.compute.v1beta.NetworksClient" - }, - "method": { - "shortName": "UpdatePeering", - "fullName": "google.cloud.compute.v1beta.Networks.UpdatePeering", - "service": { - "shortName": "Networks", - "fullName": "google.cloud.compute.v1beta.Networks" - } - } + "shortName": "UpdatePeering" }, + "description": "UpdatePeering updates the specified network peering with the data included in the\nrequest. You can only modify the NetworkPeering.export_custom_routes field\nand the NetworkPeering.import_custom_routes field.", + "file": "NetworksClient/UpdatePeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Networks_UpdatePeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdatePeering Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_AddNodes_sync", - "title": "compute AddNodes Sample", - "description": "AddNodes adds specified number of nodes to the node group.", - "file": "NodeGroupsClient/AddNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddNodes", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.AddNodes", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.AddNodes", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "AddNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddNodesNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AddNodesNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "AddNodes", - "fullName": "google.cloud.compute.v1beta.NodeGroups.AddNodes", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "AddNodes" }, + "description": "AddNodes adds specified number of nodes to the node group.", + "file": "NodeGroupsClient/AddNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_AddNodes_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddNodes Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of node groups.\nNote: use nodeGroups.listNodes for more details about each group.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NodeGroupsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNodeGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNodeGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeGroupsScopedListPairIterator", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NodeGroups.AggregatedList", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of node groups.\nNote: use nodeGroups.listNodes for more details about each group.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NodeGroupsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NodeGroup resource.", - "file": "NodeGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.NodeGroups.Delete", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NodeGroup resource.", + "file": "NodeGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_DeleteNodes_sync", - "title": "compute DeleteNodes Sample", - "description": "DeleteNodes deletes specified nodes from the node group.", - "file": "NodeGroupsClient/DeleteNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNodes", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.DeleteNodes", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.DeleteNodes", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "DeleteNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNodesNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNodesNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "DeleteNodes", - "fullName": "google.cloud.compute.v1beta.NodeGroups.DeleteNodes", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "DeleteNodes" }, + "description": "DeleteNodes deletes specified nodes from the node group.", + "file": "NodeGroupsClient/DeleteNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_DeleteNodes_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteNodes Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified NodeGroup. Get a list of available NodeGroups\nby making a list() request.\nNote: the \"nodes\" field should not be used. Use nodeGroups.listNodes\ninstead.", - "file": "NodeGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NodeGroup", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NodeGroups.Get", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified NodeGroup. Get a list of available NodeGroups\nby making a list() request.\nNote: the \"nodes\" field should not be used. Use nodeGroups.listNodes\ninstead.", + "file": "NodeGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NodeGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NodeGroups.GetIamPolicy", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NodeGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a NodeGroup resource in the specified project using the data\nincluded in the request.", - "file": "NodeGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.Insert", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Insert" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.NodeGroups.Insert", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a NodeGroup resource in the specified project using the data\nincluded in the request.", + "file": "NodeGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of node groups available to the specified project.\nNote: use nodeGroups.listNodes for more details about each group.", - "file": "NodeGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodeGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodeGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeGroupIterator", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NodeGroups.List", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "List" }, + "description": "List retrieves a list of node groups available to the specified project.\nNote: use nodeGroups.listNodes for more details about each group.", + "file": "NodeGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_ListNodes_sync", - "title": "compute ListNodes Sample", - "description": "ListNodes lists nodes in the node group.", - "file": "NodeGroupsClient/ListNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodes", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.ListNodes", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.ListNodes", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "ListNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodesNodeGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodesNodeGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeGroupNodeIterator", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "ListNodes", - "fullName": "google.cloud.compute.v1beta.NodeGroups.ListNodes", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "ListNodes" }, + "description": "ListNodes lists nodes in the node group.", + "file": "NodeGroupsClient/ListNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_ListNodes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNodes Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified node group.", - "file": "NodeGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.NodeGroups.Patch", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified node group.", + "file": "NodeGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance perform maintenance on a subset of nodes in the node group.", - "file": "NodeGroupsClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1beta.NodeGroups.PerformMaintenance", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance perform maintenance on a subset of nodes in the node group.", + "file": "NodeGroupsClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NodeGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NodeGroups.SetIamPolicy", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NodeGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_SetNodeTemplate_sync", - "title": "compute SetNodeTemplate Sample", - "description": "SetNodeTemplate updates the node template of the node group.", - "file": "NodeGroupsClient/SetNodeTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNodeTemplate", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.SetNodeTemplate", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.SetNodeTemplate", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "SetNodeTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNodeTemplateNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNodeTemplateNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "SetNodeTemplate", - "fullName": "google.cloud.compute.v1beta.NodeGroups.SetNodeTemplate", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "SetNodeTemplate" }, + "description": "SetNodeTemplate updates the node template of the node group.", + "file": "NodeGroupsClient/SetNodeTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_SetNodeTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetNodeTemplate Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_SimulateMaintenanceEvent_sync", - "title": "compute SimulateMaintenanceEvent Sample", - "description": "SimulateMaintenanceEvent simulates maintenance event on specified nodes from the node group.", - "file": "NodeGroupsClient/SimulateMaintenanceEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "SimulateMaintenanceEvent", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.SimulateMaintenanceEvent", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.SimulateMaintenanceEvent", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "SimulateMaintenanceEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SimulateMaintenanceEventNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SimulateMaintenanceEventNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "SimulateMaintenanceEvent", - "fullName": "google.cloud.compute.v1beta.NodeGroups.SimulateMaintenanceEvent", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "SimulateMaintenanceEvent" }, + "description": "SimulateMaintenanceEvent simulates maintenance event on specified nodes from the node group.", + "file": "NodeGroupsClient/SimulateMaintenanceEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_SimulateMaintenanceEvent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SimulateMaintenanceEvent Sample" }, { - "regionTag": "compute_v1beta_generated_NodeGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NodeGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeGroupsClient", + "shortName": "NodeGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.NodeGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeGroups", + "shortName": "NodeGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNodeGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NodeGroupsClient", - "fullName": "google.cloud.compute.v1beta.NodeGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.NodeGroups.TestIamPermissions", - "service": { - "shortName": "NodeGroups", - "fullName": "google.cloud.compute.v1beta.NodeGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NodeGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of node templates.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NodeTemplatesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNodeTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNodeTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTemplatesScopedListPairIterator", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.AggregatedList", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of node templates.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NodeTemplatesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NodeTemplate resource.", - "file": "NodeTemplatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.Delete", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NodeTemplate resource.", + "file": "NodeTemplatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified node template.", - "file": "NodeTemplatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NodeTemplate", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.Get", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified node template.", + "file": "NodeTemplatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "NodeTemplatesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.GetIamPolicy", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "NodeTemplatesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a NodeTemplate resource in the specified project using the data\nincluded in the request.", - "file": "NodeTemplatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.Insert", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "Insert" }, + "description": "Insert creates a NodeTemplate resource in the specified project using the data\nincluded in the request.", + "file": "NodeTemplatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of node templates available to the specified\nproject.", - "file": "NodeTemplatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodeTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodeTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTemplateIterator", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.List", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "List" }, + "description": "List retrieves a list of node templates available to the specified\nproject.", + "file": "NodeTemplatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "NodeTemplatesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.SetIamPolicy", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "NodeTemplatesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTemplates_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "NodeTemplatesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient", + "shortName": "NodeTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTemplates", + "shortName": "NodeTemplates" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsNodeTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsNodeTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "NodeTemplatesClient", - "fullName": "google.cloud.compute.v1beta.NodeTemplatesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.NodeTemplates.TestIamPermissions", - "service": { - "shortName": "NodeTemplates", - "fullName": "google.cloud.compute.v1beta.NodeTemplates" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "NodeTemplatesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTemplates_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of node types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "NodeTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTypesClient", + "shortName": "NodeTypesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTypes", + "shortName": "NodeTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListNodeTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListNodeTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTypesScopedListPairIterator", - "client": { - "shortName": "NodeTypesClient", - "fullName": "google.cloud.compute.v1beta.NodeTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.NodeTypes.AggregatedList", - "service": { - "shortName": "NodeTypes", - "fullName": "google.cloud.compute.v1beta.NodeTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of node types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "NodeTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified node type.", - "file": "NodeTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTypesClient", + "shortName": "NodeTypesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTypes", + "shortName": "NodeTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNodeTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNodeTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NodeType", - "client": { - "shortName": "NodeTypesClient", - "fullName": "google.cloud.compute.v1beta.NodeTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.NodeTypes.Get", - "service": { - "shortName": "NodeTypes", - "fullName": "google.cloud.compute.v1beta.NodeTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified node type.", + "file": "NodeTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_NodeTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of node types available to the specified\nproject.", - "file": "NodeTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.NodeTypesClient", + "shortName": "NodeTypesClient" + }, "fullName": "google.cloud.compute.v1beta.NodeTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.NodeTypes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.NodeTypes", + "shortName": "NodeTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNodeTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNodeTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTypeIterator", - "client": { - "shortName": "NodeTypesClient", - "fullName": "google.cloud.compute.v1beta.NodeTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.NodeTypes.List", - "service": { - "shortName": "NodeTypes", - "fullName": "google.cloud.compute.v1beta.NodeTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of node types available to the specified\nproject.", + "file": "NodeTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_NodeTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified security policy.\n\nThis has billing implications. Projects in the hierarchy with effective\nhierarchical security policies will be automatically enrolled into Cloud\nArmor Enterprise if not already enrolled.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addAssociation\ninstead.", - "file": "OrganizationSecurityPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.AddAssociation", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified security policy.\n\nThis has billing implications. Projects in the hierarchy with effective\nhierarchical security policies will be automatically enrolled into Cloud\nArmor Enterprise if not already enrolled.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addAssociation\ninstead.", + "file": "OrganizationSecurityPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addRule instead.", - "file": "OrganizationSecurityPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.AddRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.addRule instead.", + "file": "OrganizationSecurityPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_CopyRules_sync", - "title": "compute CopyRules Sample", - "description": "CopyRules copies rules to the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.cloneRules\ninstead.", - "file": "OrganizationSecurityPoliciesClient/CopyRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CopyRules", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.CopyRules", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.CopyRules", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "CopyRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CopyRulesOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CopyRulesOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "CopyRules", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.CopyRules", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "CopyRules" }, + "description": "CopyRules copies rules to the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.cloneRules\ninstead.", + "file": "OrganizationSecurityPoliciesClient/CopyRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_CopyRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CopyRules Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.\n\nUse this API to remove Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to remove firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.delete instead.", - "file": "OrganizationSecurityPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Delete", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.\n\nUse this API to remove Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to remove firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.delete instead.", + "file": "OrganizationSecurityPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get list all of the ordered rules present in a single specified policy.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.get instead.", - "file": "OrganizationSecurityPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicy", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Get", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "Get" }, + "description": "Get list all of the ordered rules present in a single specified policy.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.get instead.", + "file": "OrganizationSecurityPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.getAssociation\ninstead.", - "file": "OrganizationSecurityPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyAssociation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.GetAssociation", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.getAssociation\ninstead.", + "file": "OrganizationSecurityPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule at the specified priority.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.getRule instead.", - "file": "OrganizationSecurityPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyRule", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.GetRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule at the specified priority.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.getRule instead.", + "file": "OrganizationSecurityPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified organization using the data included\nin the request.\n\nUse this API to add Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to add firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.insert instead.", - "file": "OrganizationSecurityPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Insert", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified organization using the data included\nin the request.\n\nUse this API to add Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to add firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.insert instead.", + "file": "OrganizationSecurityPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_List_sync", - "title": "compute List Sample", - "description": "List list all the policies that have been configured for the specified\norganization.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.list instead.", - "file": "OrganizationSecurityPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListOrganizationSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListOrganizationSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPolicyIterator", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.List", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "List" }, + "description": "List list all the policies that have been configured for the specified\norganization.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is now\ndisabled for most organizations. Use firewallPolicies.list instead.", + "file": "OrganizationSecurityPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_ListAssociations_sync", - "title": "compute ListAssociations Sample", - "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.listAssociations\ninstead.", - "file": "OrganizationSecurityPoliciesClient/ListAssociations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssociations", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.ListAssociations", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.ListAssociations", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "ListAssociations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAssociationsOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAssociationsOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.OrganizationSecurityPoliciesListAssociationsResponse", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "ListAssociations", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.ListAssociations", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "ListAssociations" }, + "description": "ListAssociations lists associations of a specified target, i.e., organization or folder.\n\nUse this API to read Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to read firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.listAssociations\ninstead.", + "file": "OrganizationSecurityPoliciesClient/ListAssociations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_ListAssociations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAssociations Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_ListPreconfiguredExpressionSets_sync", - "title": "compute ListPreconfiguredExpressionSets Sample", - "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", - "file": "OrganizationSecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPreconfiguredExpressionSets", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.ListPreconfiguredExpressionSets", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.ListPreconfiguredExpressionSets", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "ListPreconfiguredExpressionSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPreconfiguredExpressionSetsOrganizationSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPoliciesListPreconfiguredExpressionSetsResponse", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "ListPreconfiguredExpressionSets", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.ListPreconfiguredExpressionSets", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "ListPreconfiguredExpressionSets" }, + "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", + "file": "OrganizationSecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_ListPreconfiguredExpressionSets_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPreconfiguredExpressionSets Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Move_sync", - "title": "compute Move Sample", - "description": "Move moves the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.move instead.", - "file": "OrganizationSecurityPoliciesClient/Move/main.go", - "language": "GO", "clientMethod": { - "shortName": "Move", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.Move", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Move", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Move" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Move", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Move", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "Move" }, + "description": "Move moves the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.move instead.", + "file": "OrganizationSecurityPoliciesClient/Move/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Move_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Move Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patch instead.", - "file": "OrganizationSecurityPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.Patch", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patch instead.", + "file": "OrganizationSecurityPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patchRule\ninstead.", - "file": "OrganizationSecurityPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.PatchRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.patchRule\ninstead.", + "file": "OrganizationSecurityPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeAssociation\ninstead.", - "file": "OrganizationSecurityPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.RemoveAssociation", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified security policy.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeAssociation\ninstead.", + "file": "OrganizationSecurityPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeRule\ninstead.", - "file": "OrganizationSecurityPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient", + "shortName": "OrganizationSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies", + "shortName": "OrganizationSecurityPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleOrganizationSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleOrganizationSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "OrganizationSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies.RemoveRule", - "service": { - "shortName": "OrganizationSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.OrganizationSecurityPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule at the specified priority.\n\nUse this API to modify Cloud Armor policies. Previously, alpha and beta\nversions of this API were used to modify firewall policies. This usage is\nnow disabled for most organizations. Use firewallPolicies.removeRule\ninstead.", + "file": "OrganizationSecurityPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_OrganizationSecurityPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of packetMirrorings.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "PacketMirroringsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListPacketMirroringsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListPacketMirroringsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PacketMirroringsScopedListPairIterator", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.AggregatedList", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of packetMirrorings.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "PacketMirroringsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified PacketMirroring resource.", - "file": "PacketMirroringsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Delete", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified PacketMirroring resource.", + "file": "PacketMirroringsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified PacketMirroring resource.", - "file": "PacketMirroringsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PacketMirroring", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Get", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "Get" }, + "description": "Get returns the specified PacketMirroring resource.", + "file": "PacketMirroringsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a PacketMirroring resource in the specified project and region\nusing the data included in the request.", - "file": "PacketMirroringsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Insert", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "Insert" }, + "description": "Insert creates a PacketMirroring resource in the specified project and region\nusing the data included in the request.", + "file": "PacketMirroringsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of PacketMirroring resources available to the specified\nproject and region.", - "file": "PacketMirroringsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.List", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPacketMirroringsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPacketMirroringsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PacketMirroringIterator", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.List", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "List" }, + "description": "List retrieves a list of PacketMirroring resources available to the specified\nproject and region.", + "file": "PacketMirroringsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified PacketMirroring resource with the data included in\nthe request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "PacketMirroringsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.Patch", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified PacketMirroring resource with the data included in\nthe request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "PacketMirroringsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_PacketMirrorings_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "PacketMirroringsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient", + "shortName": "PacketMirroringsClient" + }, "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.PacketMirrorings", + "shortName": "PacketMirrorings" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsPacketMirroringRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsPacketMirroringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "PacketMirroringsClient", - "fullName": "google.cloud.compute.v1beta.PacketMirroringsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings.TestIamPermissions", - "service": { - "shortName": "PacketMirrorings", - "fullName": "google.cloud.compute.v1beta.PacketMirrorings" - } - } + "shortName": "TestIamPermissions" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "PacketMirroringsClient/TestIamPermissions/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PacketMirrorings_TestIamPermissions_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_PreviewFeatures_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the details of the given PreviewFeature.", - "file": "PreviewFeaturesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient", + "shortName": "PreviewFeaturesClient" + }, "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.PreviewFeatures.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.PreviewFeatures", + "shortName": "PreviewFeatures" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPreviewFeatureRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPreviewFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PreviewFeature", - "client": { - "shortName": "PreviewFeaturesClient", - "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.PreviewFeatures.Get", - "service": { - "shortName": "PreviewFeatures", - "fullName": "google.cloud.compute.v1beta.PreviewFeatures" - } - } + "shortName": "Get" }, + "description": "Get returns the details of the given PreviewFeature.", + "file": "PreviewFeaturesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PreviewFeatures_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_PreviewFeatures_List_sync", - "title": "compute List Sample", - "description": "List returns the details of the given PreviewFeature.", - "file": "PreviewFeaturesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient", + "shortName": "PreviewFeaturesClient" + }, "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.PreviewFeatures.List", + "service": { + "fullName": "google.cloud.compute.v1beta.PreviewFeatures", + "shortName": "PreviewFeatures" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPreviewFeaturesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPreviewFeaturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PreviewFeatureIterator", - "client": { - "shortName": "PreviewFeaturesClient", - "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.PreviewFeatures.List", - "service": { - "shortName": "PreviewFeatures", - "fullName": "google.cloud.compute.v1beta.PreviewFeatures" - } - } + "shortName": "List" }, + "description": "List returns the details of the given PreviewFeature.", + "file": "PreviewFeaturesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PreviewFeatures_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_PreviewFeatures_Update_sync", - "title": "compute Update Sample", - "description": "Update patches the given PreviewFeature. This method is used to enable or disable\na PreviewFeature.", - "file": "PreviewFeaturesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient", + "shortName": "PreviewFeaturesClient" + }, "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.PreviewFeatures.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.PreviewFeatures", + "shortName": "PreviewFeatures" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePreviewFeatureRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePreviewFeatureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PreviewFeaturesClient", - "fullName": "google.cloud.compute.v1beta.PreviewFeaturesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.PreviewFeatures.Update", - "service": { - "shortName": "PreviewFeatures", - "fullName": "google.cloud.compute.v1beta.PreviewFeatures" - } - } + "shortName": "Update" }, + "description": "Update patches the given PreviewFeature. This method is used to enable or disable\na PreviewFeature.", + "file": "PreviewFeaturesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PreviewFeatures_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_DisableXpnHost_sync", - "title": "compute DisableXpnHost Sample", - "description": "DisableXpnHost disable this project as a shared VPC host project.", - "file": "ProjectsClient/DisableXpnHost/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableXpnHost", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.DisableXpnHost", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.DisableXpnHost", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "DisableXpnHost" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DisableXpnHostProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.DisableXpnHostProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "DisableXpnHost", - "fullName": "google.cloud.compute.v1beta.Projects.DisableXpnHost", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "DisableXpnHost" }, + "description": "DisableXpnHost disable this project as a shared VPC host project.", + "file": "ProjectsClient/DisableXpnHost/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_DisableXpnHost_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DisableXpnHost Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_DisableXpnResource_sync", - "title": "compute DisableXpnResource Sample", - "description": "DisableXpnResource disable a service resource (also known as service project) associated with\nthis host project.", - "file": "ProjectsClient/DisableXpnResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableXpnResource", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.DisableXpnResource", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.DisableXpnResource", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "DisableXpnResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DisableXpnResourceProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.DisableXpnResourceProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "DisableXpnResource", - "fullName": "google.cloud.compute.v1beta.Projects.DisableXpnResource", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "DisableXpnResource" }, + "description": "DisableXpnResource disable a service resource (also known as service project) associated with\nthis host project.", + "file": "ProjectsClient/DisableXpnResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_DisableXpnResource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DisableXpnResource Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_EnableXpnHost_sync", - "title": "compute EnableXpnHost Sample", - "description": "EnableXpnHost enable this project as a shared VPC host project.", - "file": "ProjectsClient/EnableXpnHost/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableXpnHost", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.EnableXpnHost", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.EnableXpnHost", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "EnableXpnHost" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.EnableXpnHostProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.EnableXpnHostProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "EnableXpnHost", - "fullName": "google.cloud.compute.v1beta.Projects.EnableXpnHost", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "EnableXpnHost" }, + "description": "EnableXpnHost enable this project as a shared VPC host project.", + "file": "ProjectsClient/EnableXpnHost/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_EnableXpnHost_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute EnableXpnHost Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_EnableXpnResource_sync", - "title": "compute EnableXpnResource Sample", - "description": "EnableXpnResource enable service resource (a.k.a service project) for a host project, so that\nsubnets in the host project can be used by instances in the service\nproject.", - "file": "ProjectsClient/EnableXpnResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableXpnResource", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.EnableXpnResource", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.EnableXpnResource", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "EnableXpnResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.EnableXpnResourceProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.EnableXpnResourceProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "EnableXpnResource", - "fullName": "google.cloud.compute.v1beta.Projects.EnableXpnResource", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "EnableXpnResource" }, + "description": "EnableXpnResource enable service resource (a.k.a service project) for a host project, so that\nsubnets in the host project can be used by instances in the service\nproject.", + "file": "ProjectsClient/EnableXpnResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_EnableXpnResource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute EnableXpnResource Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Project resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.", - "file": "ProjectsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Project", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Projects.Get", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Project resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.", + "file": "ProjectsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_GetXpnHost_sync", - "title": "compute GetXpnHost Sample", - "description": "GetXpnHost gets the shared VPC host project that this project links to. May be empty\nif no link exists.", - "file": "ProjectsClient/GetXpnHost/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetXpnHost", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.GetXpnHost", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.GetXpnHost", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "GetXpnHost" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetXpnHostProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.GetXpnHostProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Project", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "GetXpnHost", - "fullName": "google.cloud.compute.v1beta.Projects.GetXpnHost", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "GetXpnHost" }, + "description": "GetXpnHost gets the shared VPC host project that this project links to. May be empty\nif no link exists.", + "file": "ProjectsClient/GetXpnHost/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_GetXpnHost_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetXpnHost Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_GetXpnResources_sync", - "title": "compute GetXpnResources Sample", - "description": "GetXpnResources gets service resources (a.k.a service project) associated with this host\nproject.", - "file": "ProjectsClient/GetXpnResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetXpnResources", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.GetXpnResources", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.GetXpnResources", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "GetXpnResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetXpnResourcesProjectsRequest", - "name": "req" + "name": "req", + "type": "computepb.GetXpnResourcesProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "XpnResourceIdIterator", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "GetXpnResources", - "fullName": "google.cloud.compute.v1beta.Projects.GetXpnResources", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "GetXpnResources" }, + "description": "GetXpnResources gets service resources (a.k.a service project) associated with this host\nproject.", + "file": "ProjectsClient/GetXpnResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_GetXpnResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetXpnResources Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_ListXpnHosts_sync", - "title": "compute ListXpnHosts Sample", - "description": "ListXpnHosts lists all shared VPC host projects visible to the user in an organization.", - "file": "ProjectsClient/ListXpnHosts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListXpnHosts", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.ListXpnHosts", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.ListXpnHosts", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "ListXpnHosts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListXpnHostsProjectsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListXpnHostsProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProjectIterator", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "ListXpnHosts", - "fullName": "google.cloud.compute.v1beta.Projects.ListXpnHosts", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "ListXpnHosts" }, + "description": "ListXpnHosts lists all shared VPC host projects visible to the user in an organization.", + "file": "ProjectsClient/ListXpnHosts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_ListXpnHosts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListXpnHosts Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_MoveDisk_sync", - "title": "compute MoveDisk Sample", - "description": "MoveDisk moves a persistent disk from one zone to another.\n*Note*: The moveDisk API will be deprecated on September 29, 2026.\n\nStarting September 29, 2025, you can't use the moveDisk API on new\nprojects. To move a disk to a different region or zone, follow the steps in\n[Change the location of a\ndisk](https: //cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).\n\nProjects that already use the moveDisk API can continue usage until\nSeptember 29, 2026.\n\nStarting November 1, 2025, API responses will include a warning message in\nthe response body about the upcoming deprecation. You can skip the message\nto continue using the service without interruption.", - "file": "ProjectsClient/MoveDisk/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveDisk", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.MoveDisk", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.MoveDisk", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "MoveDisk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveDiskProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveDiskProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "MoveDisk", - "fullName": "google.cloud.compute.v1beta.Projects.MoveDisk", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "MoveDisk" }, + "description": "MoveDisk moves a persistent disk from one zone to another.\n*Note*: The moveDisk API will be deprecated on September 29, 2026.\n\nStarting September 29, 2025, you can't use the moveDisk API on new\nprojects. To move a disk to a different region or zone, follow the steps in\n[Change the location of a\ndisk](https: //cloud.google.com/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd).\n\nProjects that already use the moveDisk API can continue usage until\nSeptember 29, 2026.\n\nStarting November 1, 2025, API responses will include a warning message in\nthe response body about the upcoming deprecation. You can skip the message\nto continue using the service without interruption.", + "file": "ProjectsClient/MoveDisk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_MoveDisk_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute MoveDisk Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_MoveInstance_sync", - "title": "compute MoveInstance Sample", - "description": "MoveInstance moves an instance and its attached persistent disks from one zone to\nanother.\n*Note*: Moving VMs or disks by using this method might\ncause unexpected behavior. For more information, see the [known\nissue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).\n[Deprecated] This method is deprecated. See [moving instance across\nzones](/compute/docs/instances/moving-instance-across-zones) instead.", - "file": "ProjectsClient/MoveInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveInstance", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.MoveInstance", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.MoveInstance", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "MoveInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.MoveInstanceProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.MoveInstanceProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "MoveInstance", - "fullName": "google.cloud.compute.v1beta.Projects.MoveInstance", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "MoveInstance" }, + "description": "MoveInstance moves an instance and its attached persistent disks from one zone to\nanother.\n*Note*: Moving VMs or disks by using this method might\ncause unexpected behavior. For more information, see the [known\nissue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).\n[Deprecated] This method is deprecated. See [moving instance across\nzones](/compute/docs/instances/moving-instance-across-zones) instead.", + "file": "ProjectsClient/MoveInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_MoveInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute MoveInstance Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_SetCloudArmorTier_sync", - "title": "compute SetCloudArmorTier Sample", - "description": "SetCloudArmorTier sets the Cloud Armor tier of the project. To set ENTERPRISE or above the\nbilling account of the project must be subscribed to Cloud Armor\nEnterprise. See Subscribing\nto Cloud Armor Enterprise for more information.", - "file": "ProjectsClient/SetCloudArmorTier/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCloudArmorTier", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.SetCloudArmorTier", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.SetCloudArmorTier", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "SetCloudArmorTier" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCloudArmorTierProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCloudArmorTierProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "SetCloudArmorTier", - "fullName": "google.cloud.compute.v1beta.Projects.SetCloudArmorTier", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "SetCloudArmorTier" }, + "description": "SetCloudArmorTier sets the Cloud Armor tier of the project. To set ENTERPRISE or above the\nbilling account of the project must be subscribed to Cloud Armor\nEnterprise. See Subscribing\nto Cloud Armor Enterprise for more information.", + "file": "ProjectsClient/SetCloudArmorTier/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_SetCloudArmorTier_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCloudArmorTier Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_SetCommonInstanceMetadata_sync", - "title": "compute SetCommonInstanceMetadata Sample", - "description": "SetCommonInstanceMetadata sets metadata common to all instances within the specified project using\nthe data included in the request.", - "file": "ProjectsClient/SetCommonInstanceMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCommonInstanceMetadata", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.SetCommonInstanceMetadata", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.SetCommonInstanceMetadata", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "SetCommonInstanceMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCommonInstanceMetadataProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCommonInstanceMetadataProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "SetCommonInstanceMetadata", - "fullName": "google.cloud.compute.v1beta.Projects.SetCommonInstanceMetadata", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "SetCommonInstanceMetadata" }, + "description": "SetCommonInstanceMetadata sets metadata common to all instances within the specified project using\nthe data included in the request.", + "file": "ProjectsClient/SetCommonInstanceMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_SetCommonInstanceMetadata_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCommonInstanceMetadata Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_SetDefaultNetworkTier_sync", - "title": "compute SetDefaultNetworkTier Sample", - "description": "SetDefaultNetworkTier sets the default network tier of the project. The default network tier is\nused when an address/forwardingRule/instance is created without specifying\nthe network tier field.", - "file": "ProjectsClient/SetDefaultNetworkTier/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultNetworkTier", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.SetDefaultNetworkTier", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.SetDefaultNetworkTier", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "SetDefaultNetworkTier" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetDefaultNetworkTierProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetDefaultNetworkTierProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "SetDefaultNetworkTier", - "fullName": "google.cloud.compute.v1beta.Projects.SetDefaultNetworkTier", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "SetDefaultNetworkTier" }, + "description": "SetDefaultNetworkTier sets the default network tier of the project. The default network tier is\nused when an address/forwardingRule/instance is created without specifying\nthe network tier field.", + "file": "ProjectsClient/SetDefaultNetworkTier/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_SetDefaultNetworkTier_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetDefaultNetworkTier Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_SetManagedProtectionTier_sync", - "title": "compute SetManagedProtectionTier Sample", - "description": "SetManagedProtectionTier sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set\nPLUS or above the billing account of the project must be subscribed to\nManaged Protection Plus. See Subscribing\nto Managed Protection Plus for more information.", - "file": "ProjectsClient/SetManagedProtectionTier/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetManagedProtectionTier", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.SetManagedProtectionTier", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.SetManagedProtectionTier", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "SetManagedProtectionTier" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetManagedProtectionTierProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetManagedProtectionTierProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "SetManagedProtectionTier", - "fullName": "google.cloud.compute.v1beta.Projects.SetManagedProtectionTier", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "SetManagedProtectionTier" }, + "description": "SetManagedProtectionTier sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set\nPLUS or above the billing account of the project must be subscribed to\nManaged Protection Plus. See Subscribing\nto Managed Protection Plus for more information.", + "file": "ProjectsClient/SetManagedProtectionTier/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_SetManagedProtectionTier_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetManagedProtectionTier Sample" }, { - "regionTag": "compute_v1beta_generated_Projects_SetUsageExportBucket_sync", - "title": "compute SetUsageExportBucket Sample", - "description": "SetUsageExportBucket enables the usage export feature and sets theusage export bucket\nwhere reports are stored. If you provide an empty request body using this\nmethod, the usage export feature will be disabled.", - "file": "ProjectsClient/SetUsageExportBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUsageExportBucket", + "client": { + "fullName": "google.cloud.compute.v1beta.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.compute.v1beta.ProjectsClient.SetUsageExportBucket", + "method": { + "fullName": "google.cloud.compute.v1beta.Projects.SetUsageExportBucket", + "service": { + "fullName": "google.cloud.compute.v1beta.Projects", + "shortName": "Projects" + }, + "shortName": "SetUsageExportBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUsageExportBucketProjectRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUsageExportBucketProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.compute.v1beta.ProjectsClient" - }, - "method": { - "shortName": "SetUsageExportBucket", - "fullName": "google.cloud.compute.v1beta.Projects.SetUsageExportBucket", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.compute.v1beta.Projects" - } - } + "shortName": "SetUsageExportBucket" }, + "description": "SetUsageExportBucket enables the usage export feature and sets theusage export bucket\nwhere reports are stored. If you provide an empty request body using this\nmethod, the usage export feature will be disabled.", + "file": "ProjectsClient/SetUsageExportBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Projects_SetUsageExportBucket_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUsageExportBucket Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Announce_sync", - "title": "compute Announce Sample", - "description": "Announce announces the specified PublicAdvertisedPrefix", - "file": "PublicAdvertisedPrefixesClient/Announce/main.go", - "language": "GO", "clientMethod": { - "shortName": "Announce", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.Announce", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Announce", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Announce" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AnnouncePublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.AnnouncePublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Announce", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Announce", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "Announce" }, + "description": "Announce announces the specified PublicAdvertisedPrefix", + "file": "PublicAdvertisedPrefixesClient/Announce/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Announce_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Announce Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified PublicAdvertisedPrefix", - "file": "PublicAdvertisedPrefixesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Delete", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified PublicAdvertisedPrefix", + "file": "PublicAdvertisedPrefixesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified PublicAdvertisedPrefix resource.", - "file": "PublicAdvertisedPrefixesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PublicAdvertisedPrefix", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Get", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified PublicAdvertisedPrefix resource.", + "file": "PublicAdvertisedPrefixesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a PublicAdvertisedPrefix in the specified project\nusing the parameters that are included in the request.", - "file": "PublicAdvertisedPrefixesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Insert", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a PublicAdvertisedPrefix in the specified project\nusing the parameters that are included in the request.", + "file": "PublicAdvertisedPrefixesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_List_sync", - "title": "compute List Sample", - "description": "List lists the PublicAdvertisedPrefixes for a project.", - "file": "PublicAdvertisedPrefixesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPublicAdvertisedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPublicAdvertisedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicAdvertisedPrefixIterator", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.List", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "List" }, + "description": "List lists the PublicAdvertisedPrefixes for a project.", + "file": "PublicAdvertisedPrefixesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "PublicAdvertisedPrefixesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Patch", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "PublicAdvertisedPrefixesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Withdraw_sync", - "title": "compute Withdraw Sample", - "description": "Withdraw withdraws the specified PublicAdvertisedPrefix", - "file": "PublicAdvertisedPrefixesClient/Withdraw/main.go", - "language": "GO", "clientMethod": { - "shortName": "Withdraw", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient", + "shortName": "PublicAdvertisedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient.Withdraw", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Withdraw", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes", + "shortName": "PublicAdvertisedPrefixes" + }, + "shortName": "Withdraw" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WithdrawPublicAdvertisedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.WithdrawPublicAdvertisedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicAdvertisedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixesClient" - }, - "method": { - "shortName": "Withdraw", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes.Withdraw", - "service": { - "shortName": "PublicAdvertisedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicAdvertisedPrefixes" - } - } + "shortName": "Withdraw" }, + "description": "Withdraw withdraws the specified PublicAdvertisedPrefix", + "file": "PublicAdvertisedPrefixesClient/Withdraw/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicAdvertisedPrefixes_Withdraw_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Withdraw Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList lists all PublicDelegatedPrefix resources owned by the specific project\nacross all scopes.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "PublicDelegatedPrefixesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListPublicDelegatedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListPublicDelegatedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicDelegatedPrefixesScopedListPairIterator", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.AggregatedList", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList lists all PublicDelegatedPrefix resources owned by the specific project\nacross all scopes.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "PublicDelegatedPrefixesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Announce_sync", - "title": "compute Announce Sample", - "description": "Announce announces the specified PublicDelegatedPrefix in the given region.", - "file": "PublicDelegatedPrefixesClient/Announce/main.go", - "language": "GO", "clientMethod": { - "shortName": "Announce", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.Announce", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Announce", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Announce" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AnnouncePublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.AnnouncePublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Announce", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Announce", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "Announce" }, + "description": "Announce announces the specified PublicDelegatedPrefix in the given region.", + "file": "PublicDelegatedPrefixesClient/Announce/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Announce_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Announce Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified PublicDelegatedPrefix in the given region.", - "file": "PublicDelegatedPrefixesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Delete", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified PublicDelegatedPrefix in the given region.", + "file": "PublicDelegatedPrefixesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified PublicDelegatedPrefix resource in the given region.", - "file": "PublicDelegatedPrefixesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.PublicDelegatedPrefix", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Get", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified PublicDelegatedPrefix resource in the given region.", + "file": "PublicDelegatedPrefixesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a PublicDelegatedPrefix in the specified project in the given\nregion using the parameters that are included in the request.", - "file": "PublicDelegatedPrefixesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Insert", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a PublicDelegatedPrefix in the specified project in the given\nregion using the parameters that are included in the request.", + "file": "PublicDelegatedPrefixesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_List_sync", - "title": "compute List Sample", - "description": "List lists the PublicDelegatedPrefixes for a project in the given region.", - "file": "PublicDelegatedPrefixesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPublicDelegatedPrefixesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPublicDelegatedPrefixesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicDelegatedPrefixIterator", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.List", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "List" }, + "description": "List lists the PublicDelegatedPrefixes for a project in the given region.", + "file": "PublicDelegatedPrefixesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified PublicDelegatedPrefix resource with the data included\nin the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "PublicDelegatedPrefixesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Patch", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified PublicDelegatedPrefix resource with the data included\nin the request. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "PublicDelegatedPrefixesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Withdraw_sync", - "title": "compute Withdraw Sample", - "description": "Withdraw withdraws the specified PublicDelegatedPrefix in the given region.", - "file": "PublicDelegatedPrefixesClient/Withdraw/main.go", - "language": "GO", "clientMethod": { - "shortName": "Withdraw", + "client": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient", + "shortName": "PublicDelegatedPrefixesClient" + }, "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient.Withdraw", + "method": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Withdraw", + "service": { + "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes", + "shortName": "PublicDelegatedPrefixes" + }, + "shortName": "Withdraw" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WithdrawPublicDelegatedPrefixeRequest", - "name": "req" + "name": "req", + "type": "computepb.WithdrawPublicDelegatedPrefixeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "PublicDelegatedPrefixesClient", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixesClient" - }, - "method": { - "shortName": "Withdraw", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes.Withdraw", - "service": { - "shortName": "PublicDelegatedPrefixes", - "fullName": "google.cloud.compute.v1beta.PublicDelegatedPrefixes" - } - } + "shortName": "Withdraw" }, + "description": "Withdraw withdraws the specified PublicDelegatedPrefix in the given region.", + "file": "PublicDelegatedPrefixesClient/Withdraw/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_PublicDelegatedPrefixes_Withdraw_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Withdraw Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified autoscaler.", - "file": "RegionAutoscalersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Delete", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified autoscaler.", + "file": "RegionAutoscalersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified autoscaler.", - "file": "RegionAutoscalersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Autoscaler", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Get", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "Get" }, + "description": "Get returns the specified autoscaler.", + "file": "RegionAutoscalersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an autoscaler in the specified project using\nthe data included in the request.", - "file": "RegionAutoscalersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Insert", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "Insert" }, + "description": "Insert creates an autoscaler in the specified project using\nthe data included in the request.", + "file": "RegionAutoscalersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of autoscalers contained within\nthe specified region.", - "file": "RegionAutoscalersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionAutoscalersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionAutoscalersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalerIterator", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.List", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of autoscalers contained within\nthe specified region.", + "file": "RegionAutoscalersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates an autoscaler in the specified project using\nthe data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionAutoscalersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Patch", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "Patch" }, + "description": "Patch updates an autoscaler in the specified project using\nthe data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionAutoscalersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionAutoscalersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.TestIamPermissions", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionAutoscalersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionAutoscalers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates an autoscaler in the specified project using\nthe data included in the request.", - "file": "RegionAutoscalersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient", + "shortName": "RegionAutoscalersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionAutoscalers", + "shortName": "RegionAutoscalers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionAutoscalerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionAutoscalerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionAutoscalersClient", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers.Update", - "service": { - "shortName": "RegionAutoscalers", - "fullName": "google.cloud.compute.v1beta.RegionAutoscalers" - } - } + "shortName": "Update" }, + "description": "Update updates an autoscaler in the specified project using\nthe data included in the request.", + "file": "RegionAutoscalersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionAutoscalers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional BackendBucket resource.", - "file": "RegionBackendBucketsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Delete", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional BackendBucket resource.", + "file": "RegionBackendBucketsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional BackendBucket resource.", - "file": "RegionBackendBucketsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendBucket", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Get", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "Get" }, + "description": "Get returns the specified regional BackendBucket resource.", + "file": "RegionBackendBucketsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionBackendBucketsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.GetIamPolicy", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionBackendBucketsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a RegionBackendBucket in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "RegionBackendBucketsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Insert", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "Insert" }, + "description": "Insert creates a RegionBackendBucket in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "RegionBackendBucketsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of BackendBucket resources available to the specified\nproject in the given region.", - "file": "RegionBackendBucketsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionBackendBucketsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionBackendBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendBucketIterator", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.List", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "List" }, + "description": "List retrieves the list of BackendBucket resources available to the specified\nproject in the given region.", + "file": "RegionBackendBucketsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves a list of all usable backend buckets in the specified project in\nthe given region.", - "file": "RegionBackendBucketsClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableRegionBackendBucketsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableRegionBackendBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendBucketIterator", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.ListUsable", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves a list of all usable backend buckets in the specified project in\nthe given region.", + "file": "RegionBackendBucketsClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionBackendBucketsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.Patch", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified BackendBucket resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionBackendBucketsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionBackendBucketsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.SetIamPolicy", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionBackendBucketsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendBuckets_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionBackendBucketsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient", + "shortName": "RegionBackendBucketsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets", + "shortName": "RegionBackendBuckets" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionBackendBucketRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionBackendBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionBackendBucketsClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendBucketsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets.TestIamPermissions", - "service": { - "shortName": "RegionBackendBuckets", - "fullName": "google.cloud.compute.v1beta.RegionBackendBuckets" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionBackendBucketsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendBuckets_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional BackendService resource.", - "file": "RegionBackendServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Delete", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional BackendService resource.", + "file": "RegionBackendServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional BackendService resource.", - "file": "RegionBackendServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendService", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Get", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "Get" }, + "description": "Get returns the specified regional BackendService resource.", + "file": "RegionBackendServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_GetHealth_sync", - "title": "compute GetHealth Sample", - "description": "GetHealth gets the most recent health check results for this\nregional BackendService.", - "file": "RegionBackendServicesClient/GetHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHealth", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.GetHealth", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.GetHealth", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "GetHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.BackendServiceGroupHealth", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "GetHealth", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.GetHealth", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "GetHealth" }, + "description": "GetHealth gets the most recent health check results for this\nregional BackendService.", + "file": "RegionBackendServicesClient/GetHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_GetHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetHealth Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionBackendServicesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.GetIamPolicy", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionBackendServicesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a regional BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", - "file": "RegionBackendServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Insert", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a regional BackendService resource in the specified project using\nthe data included in the request. For more information, see\nBackend services overview.", + "file": "RegionBackendServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of regional BackendService resources available to the\nspecified project in the given region.", - "file": "RegionBackendServicesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.List", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "List" }, + "description": "List retrieves the list of regional BackendService resources available to the\nspecified project in the given region.", + "file": "RegionBackendServicesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves a list of all usable backend services in the specified project in\nthe given region.", - "file": "RegionBackendServicesClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableRegionBackendServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableRegionBackendServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackendServiceIterator", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.ListUsable", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves a list of all usable backend services in the specified project in\nthe given region.", + "file": "RegionBackendServicesClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional BackendService resource with the data\nincluded in the request. For more information, see\nUnderstanding backend services This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", - "file": "RegionBackendServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Patch", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional BackendService resource with the data\nincluded in the request. For more information, see\nUnderstanding backend services This method\nsupports PATCH semantics and uses the JSON merge\npatch format and processing rules.", + "file": "RegionBackendServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionBackendServicesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.SetIamPolicy", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionBackendServicesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", - "file": "RegionBackendServicesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.SetSecurityPolicy", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified backend\nservice. For more information, seeGoogle\nCloud Armor Overview", + "file": "RegionBackendServicesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionBackendServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.TestIamPermissions", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionBackendServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionBackendServices_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified regional BackendService resource with the data\nincluded in the request. For more information,\nsee\nBackend services overview.", - "file": "RegionBackendServicesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient", + "shortName": "RegionBackendServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionBackendServices", + "shortName": "RegionBackendServices" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionBackendServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionBackendServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionBackendServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionBackendServicesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices.Update", - "service": { - "shortName": "RegionBackendServices", - "fullName": "google.cloud.compute.v1beta.RegionBackendServices" - } - } + "shortName": "Update" }, + "description": "Update updates the specified regional BackendService resource with the data\nincluded in the request. For more information,\nsee\nBackend services overview.", + "file": "RegionBackendServicesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionBackendServices_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of commitments by region.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionCommitmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionCommitmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionCommitmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitmentsScopedListPairIterator", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.AggregatedList", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of commitments by region.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionCommitmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified commitment resource.", - "file": "RegionCommitmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Commitment", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.Get", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified commitment resource.", + "file": "RegionCommitmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a commitment in the specified project using the data\nincluded in the request.", - "file": "RegionCommitmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.Insert", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "Insert" }, + "description": "Insert creates a commitment in the specified project using the data\nincluded in the request.", + "file": "RegionCommitmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of commitments contained within\nthe specified region.", - "file": "RegionCommitmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionCommitmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionCommitmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitmentIterator", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.List", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "List" }, + "description": "List retrieves a list of commitments contained within\nthe specified region.", + "file": "RegionCommitmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionCommitmentsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.TestIamPermissions", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionCommitmentsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified commitment with the data included in the request.\nUpdate is performed only on selected fields included as part of\nupdate-mask. Only the following fields can be updated: auto_renew and plan.", - "file": "RegionCommitmentsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.Update", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "Update" }, + "description": "Update updates the specified commitment with the data included in the request.\nUpdate is performed only on selected fields included as part of\nupdate-mask. Only the following fields can be updated: auto_renew and plan.", + "file": "RegionCommitmentsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCommitments_UpdateReservations_sync", - "title": "compute UpdateReservations Sample", - "description": "UpdateReservations transfers GPUs or Local SSD disks between reservations that are attached\nto the same commitment.", - "file": "RegionCommitmentsClient/UpdateReservations/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReservations", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient", + "shortName": "RegionCommitmentsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient.UpdateReservations", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments.UpdateReservations", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCommitments", + "shortName": "RegionCommitments" + }, + "shortName": "UpdateReservations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateReservationsRegionCommitmentRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateReservationsRegionCommitmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCommitmentsClient", - "fullName": "google.cloud.compute.v1beta.RegionCommitmentsClient" - }, - "method": { - "shortName": "UpdateReservations", - "fullName": "google.cloud.compute.v1beta.RegionCommitments.UpdateReservations", - "service": { - "shortName": "RegionCommitments", - "fullName": "google.cloud.compute.v1beta.RegionCommitments" - } - } + "shortName": "UpdateReservations" }, + "description": "UpdateReservations transfers GPUs or Local SSD disks between reservations that are attached\nto the same commitment.", + "file": "RegionCommitmentsClient/UpdateReservations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCommitments_UpdateReservations_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateReservations Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all CompositeHealthCheck resources (all\nregional) available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionCompositeHealthChecksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionCompositeHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionCompositeHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompositeHealthChecksScopedListPairIterator", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.AggregatedList", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all CompositeHealthCheck resources (all\nregional) available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionCompositeHealthChecksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified CompositeHealthCheck in the given region", - "file": "RegionCompositeHealthChecksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Delete", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified CompositeHealthCheck in the given region", + "file": "RegionCompositeHealthChecksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified CompositeHealthCheck resource in the given region.", - "file": "RegionCompositeHealthChecksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.CompositeHealthCheck", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Get", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified CompositeHealthCheck resource in the given region.", + "file": "RegionCompositeHealthChecksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", - "file": "RegionCompositeHealthChecksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Insert", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "Insert" }, + "description": "Insert create a CompositeHealthCheck in the specified project in the given region\nusing the parameters that are included in the request.", + "file": "RegionCompositeHealthChecksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_List_sync", - "title": "compute List Sample", - "description": "List lists the CompositeHealthChecks for a project in the given region.", - "file": "RegionCompositeHealthChecksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionCompositeHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionCompositeHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompositeHealthCheckIterator", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.List", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "List" }, + "description": "List lists the CompositeHealthChecks for a project in the given region.", + "file": "RegionCompositeHealthChecksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional CompositeHealthCheck resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionCompositeHealthChecksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.Patch", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional CompositeHealthCheck resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionCompositeHealthChecksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionCompositeHealthChecksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient", + "shortName": "RegionCompositeHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks", + "shortName": "RegionCompositeHealthChecks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionCompositeHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionCompositeHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionCompositeHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks.TestIamPermissions", - "service": { - "shortName": "RegionCompositeHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionCompositeHealthChecks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionCompositeHealthChecksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionCompositeHealthChecks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDiskSettings_Get_sync", - "title": "compute Get Sample", - "description": "Get get Regional Disk Settings.", - "file": "RegionDiskSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDiskSettingsClient", + "shortName": "RegionDiskSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDiskSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDiskSettings.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDiskSettings", + "shortName": "RegionDiskSettings" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionDiskSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionDiskSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DiskSettings", - "client": { - "shortName": "RegionDiskSettingsClient", - "fullName": "google.cloud.compute.v1beta.RegionDiskSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionDiskSettings.Get", - "service": { - "shortName": "RegionDiskSettings", - "fullName": "google.cloud.compute.v1beta.RegionDiskSettings" - } - } + "shortName": "Get" }, + "description": "Get get Regional Disk Settings.", + "file": "RegionDiskSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDiskSettings_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDiskSettings_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch Regional Disk Settings", - "file": "RegionDiskSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDiskSettingsClient", + "shortName": "RegionDiskSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDiskSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDiskSettings.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDiskSettings", + "shortName": "RegionDiskSettings" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionDiskSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionDiskSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDiskSettingsClient", - "fullName": "google.cloud.compute.v1beta.RegionDiskSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionDiskSettings.Patch", - "service": { - "shortName": "RegionDiskSettings", - "fullName": "google.cloud.compute.v1beta.RegionDiskSettings" - } - } + "shortName": "Patch" }, + "description": "Patch patch Regional Disk Settings", + "file": "RegionDiskSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDiskSettings_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDiskTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional disk type.", - "file": "RegionDiskTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDiskTypesClient", + "shortName": "RegionDiskTypesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDiskTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDiskTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDiskTypes", + "shortName": "RegionDiskTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionDiskTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionDiskTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DiskType", - "client": { - "shortName": "RegionDiskTypesClient", - "fullName": "google.cloud.compute.v1beta.RegionDiskTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionDiskTypes.Get", - "service": { - "shortName": "RegionDiskTypes", - "fullName": "google.cloud.compute.v1beta.RegionDiskTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified regional disk type.", + "file": "RegionDiskTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDiskTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDiskTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of regional disk types available to the specified project.", - "file": "RegionDiskTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDiskTypesClient", + "shortName": "RegionDiskTypesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDiskTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDiskTypes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDiskTypes", + "shortName": "RegionDiskTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionDiskTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionDiskTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskTypeIterator", - "client": { - "shortName": "RegionDiskTypesClient", - "fullName": "google.cloud.compute.v1beta.RegionDiskTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionDiskTypes.List", - "service": { - "shortName": "RegionDiskTypes", - "fullName": "google.cloud.compute.v1beta.RegionDiskTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of regional disk types available to the specified project.", + "file": "RegionDiskTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDiskTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_AddResourcePolicies_sync", - "title": "compute AddResourcePolicies Sample", - "description": "AddResourcePolicies adds existing resource policies to a regional disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", - "file": "RegionDisksClient/AddResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.AddResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.AddResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "AddResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddResourcePoliciesRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.AddResourcePoliciesRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "AddResourcePolicies", - "fullName": "google.cloud.compute.v1beta.RegionDisks.AddResourcePolicies", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "AddResourcePolicies" }, + "description": "AddResourcePolicies adds existing resource policies to a regional disk. You can only add one\npolicy which will be applied to this disk for scheduling snapshot\ncreation.", + "file": "RegionDisksClient/AddResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_AddResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddResourcePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert bulk create a set of disks.", - "file": "RegionDisksClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1beta.RegionDisks.BulkInsert", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert bulk create a set of disks.", + "file": "RegionDisksClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_CreateSnapshot_sync", - "title": "compute CreateSnapshot Sample", - "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", - "file": "RegionDisksClient/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.CreateSnapshot", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.CreateSnapshot", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateSnapshotRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateSnapshotRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.compute.v1beta.RegionDisks.CreateSnapshot", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot creates a snapshot of a specified persistent disk. For regular snapshot\ncreation, consider using snapshots.insert\ninstead, as that method supports more features, such as creating snapshots\nin a project different from the source disk project.", + "file": "RegionDisksClient/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateSnapshot Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional persistent disk. Deleting a regional disk\nremoves all the replicas of its data permanently and is irreversible.\nHowever, deleting a disk does not delete anysnapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", - "file": "RegionDisksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionDisks.Delete", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional persistent disk. Deleting a regional disk\nremoves all the replicas of its data permanently and is irreversible.\nHowever, deleting a disk does not delete anysnapshots\npreviously made from the disk. You must separatelydelete\nsnapshots.", + "file": "RegionDisksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns a specified regional persistent disk.", - "file": "RegionDisksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Disk", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionDisks.Get", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "Get" }, + "description": "Get returns a specified regional persistent disk.", + "file": "RegionDisksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionDisksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionDisks.GetIamPolicy", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionDisksClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a persistent regional disk in the specified project using the data\nincluded in the request.", - "file": "RegionDisksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionDisks.Insert", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a persistent regional disk in the specified project using the data\nincluded in the request.", + "file": "RegionDisksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of persistent disks contained within\nthe specified region.", - "file": "RegionDisksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionDisksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionDisksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiskIterator", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionDisks.List", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of persistent disks contained within\nthe specified region.", + "file": "RegionDisksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_RemoveResourcePolicies_sync", - "title": "compute RemoveResourcePolicies Sample", - "description": "RemoveResourcePolicies removes resource policies from a regional disk.", - "file": "RegionDisksClient/RemoveResourcePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveResourcePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.RemoveResourcePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.RemoveResourcePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "RemoveResourcePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveResourcePoliciesRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveResourcePoliciesRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "RemoveResourcePolicies", - "fullName": "google.cloud.compute.v1beta.RegionDisks.RemoveResourcePolicies", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "RemoveResourcePolicies" }, + "description": "RemoveResourcePolicies removes resource policies from a regional disk.", + "file": "RegionDisksClient/RemoveResourcePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_RemoveResourcePolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveResourcePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the specified regional persistent disk.", - "file": "RegionDisksClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.Resize", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1beta.RegionDisks.Resize", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the specified regional persistent disk.", + "file": "RegionDisksClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionDisksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionDisks.SetIamPolicy", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionDisksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on the target regional disk.", - "file": "RegionDisksClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.RegionDisks.SetLabels", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on the target regional disk.", + "file": "RegionDisksClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_StartAsyncReplication_sync", - "title": "compute StartAsyncReplication Sample", - "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", - "file": "RegionDisksClient/StartAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.StartAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.StartAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "StartAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartAsyncReplicationRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StartAsyncReplicationRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "StartAsyncReplication", - "fullName": "google.cloud.compute.v1beta.RegionDisks.StartAsyncReplication", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "StartAsyncReplication" }, + "description": "StartAsyncReplication starts asynchronous replication.\nMust be invoked on the primary disk.", + "file": "RegionDisksClient/StartAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_StartAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartAsyncReplication Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_StopAsyncReplication_sync", - "title": "compute StopAsyncReplication Sample", - "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", - "file": "RegionDisksClient/StopAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.StopAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.StopAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "StopAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopAsyncReplicationRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopAsyncReplicationRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "StopAsyncReplication", - "fullName": "google.cloud.compute.v1beta.RegionDisks.StopAsyncReplication", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "StopAsyncReplication" }, + "description": "StopAsyncReplication stops asynchronous replication.\nCan be invoked either on the primary or on the secondary disk.", + "file": "RegionDisksClient/StopAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_StopAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopAsyncReplication Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_StopGroupAsyncReplication_sync", - "title": "compute StopGroupAsyncReplication Sample", - "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", - "file": "RegionDisksClient/StopGroupAsyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopGroupAsyncReplication", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.StopGroupAsyncReplication", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.StopGroupAsyncReplication", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "StopGroupAsyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopGroupAsyncReplicationRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.StopGroupAsyncReplicationRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "StopGroupAsyncReplication", - "fullName": "google.cloud.compute.v1beta.RegionDisks.StopGroupAsyncReplication", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "StopGroupAsyncReplication" }, + "description": "StopGroupAsyncReplication stops asynchronous replication for a consistency group of disks.\nCan be invoked either in the primary or secondary scope.", + "file": "RegionDisksClient/StopGroupAsyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_StopGroupAsyncReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopGroupAsyncReplication Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionDisksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionDisks.TestIamPermissions", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionDisksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionDisks_Update_sync", - "title": "compute Update Sample", - "description": "Update update the specified disk with the data included in the request. Update is\nperformed only on selected fields included as part of update-mask.", - "file": "RegionDisksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionDisksClient", + "shortName": "RegionDisksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionDisksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionDisks.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionDisks", + "shortName": "RegionDisks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionDiskRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionDiskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionDisksClient", - "fullName": "google.cloud.compute.v1beta.RegionDisksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionDisks.Update", - "service": { - "shortName": "RegionDisks", - "fullName": "google.cloud.compute.v1beta.RegionDisks" - } - } + "shortName": "Update" }, + "description": "Update update the specified disk with the data included in the request. Update is\nperformed only on selected fields included as part of update-mask.", + "file": "RegionDisksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionDisks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthAggregationPolicy resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionHealthAggregationPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionHealthAggregationPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionHealthAggregationPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthAggregationPoliciesScopedListPairIterator", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.AggregatedList", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthAggregationPolicy resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionHealthAggregationPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthAggregationPolicy in the given region.", - "file": "RegionHealthAggregationPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Delete", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthAggregationPolicy in the given region.", + "file": "RegionHealthAggregationPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthAggregationPolicy resource in the given region.", - "file": "RegionHealthAggregationPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthAggregationPolicy", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Get", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified HealthAggregationPolicy resource in the given region.", + "file": "RegionHealthAggregationPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a HealthAggregationPolicy in the specified project in the given\nregion using the parameters that are included in the request.", - "file": "RegionHealthAggregationPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Insert", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert create a HealthAggregationPolicy in the specified project in the given\nregion using the parameters that are included in the request.", + "file": "RegionHealthAggregationPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists the HealthAggregationPolicies for a project in the given region.", - "file": "RegionHealthAggregationPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthAggregationPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthAggregationPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthAggregationPolicyIterator", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.List", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "List" }, + "description": "List lists the HealthAggregationPolicies for a project in the given region.", + "file": "RegionHealthAggregationPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional HealthAggregationPolicy\nresource with the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthAggregationPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.Patch", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional HealthAggregationPolicy\nresource with the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthAggregationPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthAggregationPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient", + "shortName": "RegionHealthAggregationPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies", + "shortName": "RegionHealthAggregationPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthAggregationPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthAggregationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthAggregationPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies.TestIamPermissions", - "service": { - "shortName": "RegionHealthAggregationPolicies", - "fullName": "google.cloud.compute.v1beta.RegionHealthAggregationPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthAggregationPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthAggregationPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthCheckService resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionHealthCheckServicesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionHealthCheckServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionHealthCheckServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckServicesScopedListPairIterator", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.AggregatedList", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthCheckService resources,\nregional and global, available to the specified project.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionHealthCheckServicesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified regional HealthCheckService.", - "file": "RegionHealthCheckServicesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Delete", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified regional HealthCheckService.", + "file": "RegionHealthCheckServicesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified regional HealthCheckService resource.", - "file": "RegionHealthCheckServicesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthCheckService", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Get", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "Get" }, + "description": "Get returns the specified regional HealthCheckService resource.", + "file": "RegionHealthCheckServicesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a regional HealthCheckService resource in the\nspecified project and region using the data included in the request.", - "file": "RegionHealthCheckServicesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Insert", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "Insert" }, + "description": "Insert creates a regional HealthCheckService resource in the\nspecified project and region using the data included in the request.", + "file": "RegionHealthCheckServicesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_List_sync", - "title": "compute List Sample", - "description": "List lists all the HealthCheckService resources that have been\nconfigured for the specified project in the given region.", - "file": "RegionHealthCheckServicesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthCheckServicesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthCheckServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckServiceIterator", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.List", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "List" }, + "description": "List lists all the HealthCheckService resources that have been\nconfigured for the specified project in the given region.", + "file": "RegionHealthCheckServicesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional HealthCheckService resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthCheckServicesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.Patch", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional HealthCheckService resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthCheckServicesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthCheckServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient", + "shortName": "RegionHealthCheckServicesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices", + "shortName": "RegionHealthCheckServices" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthCheckServiceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthCheckServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthCheckServicesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices.TestIamPermissions", - "service": { - "shortName": "RegionHealthCheckServices", - "fullName": "google.cloud.compute.v1beta.RegionHealthCheckServices" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthCheckServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthCheckServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthCheck resource.", - "file": "RegionHealthChecksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Delete", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthCheck resource.", + "file": "RegionHealthChecksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthCheck resource.", - "file": "RegionHealthChecksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthCheck", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Get", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified HealthCheck resource.", + "file": "RegionHealthChecksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "RegionHealthChecksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Insert", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "RegionHealthChecksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", - "file": "RegionHealthChecksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthChecksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthChecksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthCheckIterator", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.List", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "List" }, + "description": "List retrieves the list of HealthCheck resources available to the specified\nproject.", + "file": "RegionHealthChecksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthChecksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Patch", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "Patch" }, + "description": "Patch updates a HealthCheck resource in the specified project using the data\nincluded in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthChecksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthChecksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.TestIamPermissions", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthChecksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthChecks_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", - "file": "RegionHealthChecksClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient", + "shortName": "RegionHealthChecksClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthChecks", + "shortName": "RegionHealthChecks" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionHealthCheckRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionHealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthChecksClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecksClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks.Update", - "service": { - "shortName": "RegionHealthChecks", - "fullName": "google.cloud.compute.v1beta.RegionHealthChecks" - } - } + "shortName": "Update" }, + "description": "Update updates a HealthCheck resource in the specified project using the data\nincluded in the request.", + "file": "RegionHealthChecksClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthChecks_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all HealthSource resources (all\nregional) available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionHealthSourcesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionHealthSourcesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionHealthSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthSourcesScopedListPairIterator", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.AggregatedList", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all HealthSource resources (all\nregional) available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionHealthSourcesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified HealthSource in the given region", - "file": "RegionHealthSourcesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Delete", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified HealthSource in the given region", + "file": "RegionHealthSourcesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified HealthSource resource in the given region.", - "file": "RegionHealthSourcesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.HealthSource", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Get", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "Get" }, + "description": "Get returns the specified HealthSource resource in the given region.", + "file": "RegionHealthSourcesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a HealthSource in the specified project in the given region\nusing the parameters that are included in the request.", - "file": "RegionHealthSourcesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Insert", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "Insert" }, + "description": "Insert create a HealthSource in the specified project in the given region\nusing the parameters that are included in the request.", + "file": "RegionHealthSourcesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_List_sync", - "title": "compute List Sample", - "description": "List lists the HealthSources for a project in the given region.", - "file": "RegionHealthSourcesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionHealthSourcesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionHealthSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HealthSourceIterator", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.List", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "List" }, + "description": "List lists the HealthSources for a project in the given region.", + "file": "RegionHealthSourcesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified regional HealthSource resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "RegionHealthSourcesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.Patch", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified regional HealthSource resource\nwith the data included in the request. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "RegionHealthSourcesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionHealthSources_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionHealthSourcesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient", + "shortName": "RegionHealthSourcesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionHealthSources", + "shortName": "RegionHealthSources" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionHealthSourceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionHealthSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionHealthSourcesClient", - "fullName": "google.cloud.compute.v1beta.RegionHealthSourcesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources.TestIamPermissions", - "service": { - "shortName": "RegionHealthSources", - "fullName": "google.cloud.compute.v1beta.RegionHealthSources" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionHealthSourcesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionHealthSources_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Cancel_sync", - "title": "compute Cancel Sample", - "description": "Cancel cancels the specified resize request.\nCancelled resize request no longer waits for the resources to be\nprovisioned. Cancel is only possible for requests that are in accepted\nstate.", - "file": "RegionInstanceGroupManagerResizeRequestsClient/Cancel/main.go", - "language": "GO", "clientMethod": { - "shortName": "Cancel", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient", + "shortName": "RegionInstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient.Cancel", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Cancel", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests", + "shortName": "RegionInstanceGroupManagerResizeRequests" + }, + "shortName": "Cancel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelRegionInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelRegionInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Cancel", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Cancel", - "service": { - "shortName": "RegionInstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests" - } - } + "shortName": "Cancel" }, + "description": "Cancel cancels the specified resize request.\nCancelled resize request no longer waits for the resources to be\nprovisioned. Cancel is only possible for requests that are in accepted\nstate.", + "file": "RegionInstanceGroupManagerResizeRequestsClient/Cancel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Cancel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Cancel Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", - "file": "RegionInstanceGroupManagerResizeRequestsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient", + "shortName": "RegionInstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests", + "shortName": "RegionInstanceGroupManagerResizeRequests" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Delete", - "service": { - "shortName": "RegionInstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified, inactive resize request. Requests that are still\nactive cannot be deleted. Deleting request does not delete instances that\nwere provisioned previously.", + "file": "RegionInstanceGroupManagerResizeRequestsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified resize request.", - "file": "RegionInstanceGroupManagerResizeRequestsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient", + "shortName": "RegionInstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests", + "shortName": "RegionInstanceGroupManagerResizeRequests" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManagerResizeRequest", - "client": { - "shortName": "RegionInstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Get", - "service": { - "shortName": "RegionInstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests" - } - } + "shortName": "Get" }, + "description": "Get returns all of the details about the specified resize request.", + "file": "RegionInstanceGroupManagerResizeRequestsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new Resize Request that starts provisioning VMs immediately\nor queues VM creation.", - "file": "RegionInstanceGroupManagerResizeRequestsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient", + "shortName": "RegionInstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient.Insert", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests", + "shortName": "RegionInstanceGroupManagerResizeRequests" + }, + "shortName": "Insert" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstanceGroupManagerResizeRequestRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstanceGroupManagerResizeRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.Insert", - "service": { - "shortName": "RegionInstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new Resize Request that starts provisioning VMs immediately\nor queues VM creation.", + "file": "RegionInstanceGroupManagerResizeRequestsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Resize Requests that are contained in the\nmanaged instance group.", - "file": "RegionInstanceGroupManagerResizeRequestsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient", + "shortName": "RegionInstanceGroupManagerResizeRequestsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests", + "shortName": "RegionInstanceGroupManagerResizeRequests" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceGroupManagerResizeRequestsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceGroupManagerResizeRequestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerResizeRequestIterator", - "client": { - "shortName": "RegionInstanceGroupManagerResizeRequestsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequestsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests.List", - "service": { - "shortName": "RegionInstanceGroupManagerResizeRequests", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagerResizeRequests" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Resize Requests that are contained in the\nmanaged instance group.", + "file": "RegionInstanceGroupManagerResizeRequestsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagerResizeRequests_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_AbandonInstances_sync", - "title": "compute AbandonInstances Sample", - "description": "AbandonInstances flags the specified instances to be immediately removed from the managed\ninstance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/AbandonInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbandonInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.AbandonInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.AbandonInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "AbandonInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AbandonInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.AbandonInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "AbandonInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.AbandonInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "AbandonInstances" }, + "description": "AbandonInstances flags the specified instances to be immediately removed from the managed\ninstance group. Abandoning an instance does not delete the\ninstance, but it does remove the instance from any target pools that are\napplied by the managed instance group. This method reduces thetargetSize of the managed instance group by the\nnumber of instances that you abandon. This operation is marked asDONE when the action is scheduled even if the instances have\nnot yet been removed from the group. You must separately verify the\nstatus of the abandoning action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/AbandonInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_AbandonInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AbandonInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_AdoptInstances_sync", - "title": "compute AdoptInstances Sample", - "description": "AdoptInstances flags the specified instances to be adopted to the managed instance\ngroup. Adopting an instance does not change the instance status, but it\nadds the instance to any target pools that are applied by the managed\ninstance group. This method increases the targetSize of the managed\ninstance group by the number of instances that you adopt. This operation\nis marked as DONE when the action is scheduled even if the instances have\nnot been adopted to the group yet. You must separately verify the status\nof the adopting action with the listManagedInstances method.", - "file": "RegionInstanceGroupManagersClient/AdoptInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "AdoptInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.AdoptInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.AdoptInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "AdoptInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AdoptInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.AdoptInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "AdoptInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.AdoptInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "AdoptInstances" }, + "description": "AdoptInstances flags the specified instances to be adopted to the managed instance\ngroup. Adopting an instance does not change the instance status, but it\nadds the instance to any target pools that are applied by the managed\ninstance group. This method increases the targetSize of the managed\ninstance group by the number of instances that you adopt. This operation\nis marked as DONE when the action is scheduled even if the instances have\nnot been adopted to the group yet. You must separately verify the status\nof the adopting action with the listManagedInstances method.", + "file": "RegionInstanceGroupManagersClient/AdoptInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_AdoptInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AdoptInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ApplyUpdatesToInstances_sync", - "title": "compute ApplyUpdatesToInstances Sample", - "description": "ApplyUpdatesToInstances apply updates to selected instances the managed instance group.", - "file": "RegionInstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyUpdatesToInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.ApplyUpdatesToInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ApplyUpdatesToInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ApplyUpdatesToInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ApplyUpdatesToInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ApplyUpdatesToInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "ApplyUpdatesToInstances" }, + "description": "ApplyUpdatesToInstances apply updates to selected instances the managed instance group.", + "file": "RegionInstanceGroupManagersClient/ApplyUpdatesToInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ApplyUpdatesToInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ApplyUpdatesToInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_CreateInstances_sync", - "title": "compute CreateInstances Sample", - "description": "CreateInstances creates instances with per-instance configurations in this regional managed\ninstance group. Instances are created using the current instance template.\nThe create instances operation is marked DONE if\nthe createInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", - "file": "RegionInstanceGroupManagersClient/CreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.CreateInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.CreateInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "CreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CreateInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.CreateInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "CreateInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.CreateInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "CreateInstances" }, + "description": "CreateInstances creates instances with per-instance configurations in this regional managed\ninstance group. Instances are created using the current instance template.\nThe create instances operation is marked DONE if\nthe createInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thecreating or actions with the listmanagedinstances\nmethod.", + "file": "RegionInstanceGroupManagersClient/CreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_CreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CreateInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified managed instance group and all of the instances\nin that group.", - "file": "RegionInstanceGroupManagersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Delete", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified managed instance group and all of the instances\nin that group.", + "file": "RegionInstanceGroupManagersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_DeleteInstances_sync", - "title": "compute DeleteInstances Sample", - "description": "DeleteInstances flags the specified instances in the managed instance group to be\nimmediately deleted. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete.\nThe deleteInstances operation is marked DONE if\nthe deleteInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/DeleteInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.DeleteInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.DeleteInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "DeleteInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "DeleteInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.DeleteInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "DeleteInstances" }, + "description": "DeleteInstances flags the specified instances in the managed instance group to be\nimmediately deleted. The instances are also removed from any target\npools of which they were a member. This method reduces thetargetSize of the managed instance group by the number of\ninstances that you delete.\nThe deleteInstances operation is marked DONE if\nthe deleteInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of thedeleting action with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/DeleteInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_DeleteInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_DeletePerInstanceConfigs_sync", - "title": "compute DeletePerInstanceConfigs Sample", - "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", - "file": "RegionInstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.DeletePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.DeletePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "DeletePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "DeletePerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.DeletePerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "DeletePerInstanceConfigs" }, + "description": "DeletePerInstanceConfigs deletes selected per-instance configurations for the managed instance\ngroup.", + "file": "RegionInstanceGroupManagersClient/DeletePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_DeletePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeletePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all of the details about the specified managed instance group.", - "file": "RegionInstanceGroupManagersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroupManager", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Get", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "Get" }, + "description": "Get returns all of the details about the specified managed instance group.", + "file": "RegionInstanceGroupManagersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA regional managed instance group can contain up to 2000 instances.", - "file": "RegionInstanceGroupManagersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Insert", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "Insert" }, + "description": "Insert creates a managed instance group using the information that you specify\nin the request. After the group is created, instances in the group are\ncreated using the specified instance template.\nThis operation is marked as DONE when the group is created\neven if the instances in the group have not yet been created. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nA regional managed instance group can contain up to 2000 instances.", + "file": "RegionInstanceGroupManagersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of managed instance groups that are contained\nwithin the specified region.", - "file": "RegionInstanceGroupManagersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupManagerIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.List", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "List" }, + "description": "List retrieves the list of managed instance groups that are contained\nwithin the specified region.", + "file": "RegionInstanceGroupManagersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ListErrors_sync", - "title": "compute ListErrors Sample", - "description": "ListErrors lists all errors thrown by actions on instances for a given regional\nmanaged instance group. The filter andorderBy query parameters are not supported.", - "file": "RegionInstanceGroupManagersClient/ListErrors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListErrors", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.ListErrors", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ListErrors", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ListErrors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListErrorsRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListErrorsRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceManagedByIgmErrorIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ListErrors", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ListErrors", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "ListErrors" }, + "description": "ListErrors lists all errors thrown by actions on instances for a given regional\nmanaged instance group. The filter andorderBy query parameters are not supported.", + "file": "RegionInstanceGroupManagersClient/ListErrors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ListErrors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListErrors Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ListManagedInstances_sync", - "title": "compute ListManagedInstances Sample", - "description": "ListManagedInstances lists the instances in the managed instance group and instances that are\nscheduled to be created. The list includes any current actions\nthat the group has scheduled for its instances. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", - "file": "RegionInstanceGroupManagersClient/ListManagedInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagedInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.ListManagedInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ListManagedInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ListManagedInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListManagedInstancesRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListManagedInstancesRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagedInstanceIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ListManagedInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ListManagedInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "ListManagedInstances" }, + "description": "ListManagedInstances lists the instances in the managed instance group and instances that are\nscheduled to be created. The list includes any current actions\nthat the group has scheduled for its instances. The orderBy\nquery parameter is not supported. The `pageToken` query parameter is\nsupported only if the group's `listManagedInstancesResults` field is set\nto `PAGINATED`.", + "file": "RegionInstanceGroupManagersClient/ListManagedInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ListManagedInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListManagedInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ListPerInstanceConfigs_sync", - "title": "compute ListPerInstanceConfigs Sample", - "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", - "file": "RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.ListPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ListPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ListPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPerInstanceConfigsRegionInstanceGroupManagersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPerInstanceConfigsRegionInstanceGroupManagersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PerInstanceConfigIterator", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ListPerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ListPerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "ListPerInstanceConfigs" }, + "description": "ListPerInstanceConfigs lists all of the per-instance configurations defined for the managed\ninstance group. The orderBy query parameter is not supported.", + "file": "RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ListPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith the listmanagedinstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", - "file": "RegionInstanceGroupManagersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Patch", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "Patch" }, + "description": "Patch updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is patched\neven if the instances in the group are still in the process of being\npatched. You must separately verify the status of the individual instances\nwith the listmanagedinstances\nmethod. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", + "file": "RegionInstanceGroupManagersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_PatchPerInstanceConfigs_sync", - "title": "compute PatchPerInstanceConfigs Sample", - "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "RegionInstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchPerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.PatchPerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.PatchPerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "PatchPerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "PatchPerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.PatchPerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "PatchPerInstanceConfigs" }, + "description": "PatchPerInstanceConfigs inserts or patches per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "RegionInstanceGroupManagersClient/PatchPerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_PatchPerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchPerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_RecreateInstances_sync", - "title": "compute RecreateInstances Sample", - "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/RecreateInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecreateInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.RecreateInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.RecreateInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "RecreateInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RecreateInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.RecreateInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "RecreateInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.RecreateInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "RecreateInstances" }, + "description": "RecreateInstances flags the specified VM instances in the managed instance group to be\nimmediately recreated. Each instance is recreated using the group's current\nconfiguration. This operation is marked as DONE when the flag\nis set even if the instances have not yet been recreated. You must\nseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking\nthe status of managed instances.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/RecreateInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_RecreateInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RecreateInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize changes the intended size of the managed instance group. If you increase\nthe size, the group creates new instances using the current instance\ntemplate. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", - "file": "RegionInstanceGroupManagersClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Resize", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Resize", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "Resize" }, + "description": "Resize changes the intended size of the managed instance group. If you increase\nthe size, the group creates new instances using the current instance\ntemplate. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with thelistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", + "file": "RegionInstanceGroupManagersClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ResizeAdvanced_sync", - "title": "compute ResizeAdvanced Sample", - "description": "ResizeAdvanced resizes the regional managed instance group with advanced configuration\noptions like disabling creation retries. This is an extended version of theresize method.\n\nIf you increase the size, the group creates new instances using the current\ninstance template. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with the get\norlistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", - "file": "RegionInstanceGroupManagersClient/ResizeAdvanced/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResizeAdvanced", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.ResizeAdvanced", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ResizeAdvanced", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ResizeAdvanced" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeAdvancedRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeAdvancedRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ResizeAdvanced", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ResizeAdvanced", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "ResizeAdvanced" }, + "description": "ResizeAdvanced resizes the regional managed instance group with advanced configuration\noptions like disabling creation retries. This is an extended version of theresize method.\n\nIf you increase the size, the group creates new instances using the current\ninstance template. If you decrease the size, the group deletes one or more\ninstances.\n\nThe resize operation is marked DONE if theresize request is successful. The underlying actions take\nadditional time. You must separately verify the status of thecreating or deleting actions with the get\norlistmanagedinstances\nmethod.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is removed or deleted.", + "file": "RegionInstanceGroupManagersClient/ResizeAdvanced/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ResizeAdvanced_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ResizeAdvanced Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ResumeInstances_sync", - "title": "compute ResumeInstances Sample", - "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/ResumeInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.ResumeInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ResumeInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "ResumeInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResumeInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.ResumeInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "ResumeInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.ResumeInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "ResumeInstances" }, + "description": "ResumeInstances flags the specified instances in the managed instance group to be\nresumed. This method increases thetargetSize and decreases the targetSuspendedSize\nof the managed instance group by the number of instances that you resume.\nThe resumeInstances operation is marked DONE if\nthe resumeInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theRESUMING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are suspended. For\nexample, if an instance was previously suspended using the suspendInstances\nmethod, it can be resumed using the resumeInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are resumed.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/ResumeInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_ResumeInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ResumeInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SetAutoHealingPolicies_sync", - "title": "compute SetAutoHealingPolicies Sample", - "description": "SetAutoHealingPolicies modifies the autohealing policy for the instances in this managed\ninstance group.\n[Deprecated] This method is deprecated. UseregionInstanceGroupManagers.patch instead.", - "file": "RegionInstanceGroupManagersClient/SetAutoHealingPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetAutoHealingPolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.SetAutoHealingPolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SetAutoHealingPolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SetAutoHealingPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetAutoHealingPoliciesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetAutoHealingPoliciesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SetAutoHealingPolicies", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SetAutoHealingPolicies", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "SetAutoHealingPolicies" }, + "description": "SetAutoHealingPolicies modifies the autohealing policy for the instances in this managed\ninstance group.\n[Deprecated] This method is deprecated. UseregionInstanceGroupManagers.patch instead.", + "file": "RegionInstanceGroupManagersClient/SetAutoHealingPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SetAutoHealingPolicies_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetAutoHealingPolicies Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SetInstanceTemplate_sync", - "title": "compute SetInstanceTemplate Sample", - "description": "SetInstanceTemplate sets the instance template to use when creating new instances or recreating\ninstances in this group. Existing instances are not affected.", - "file": "RegionInstanceGroupManagersClient/SetInstanceTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceTemplate", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.SetInstanceTemplate", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SetInstanceTemplate", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SetInstanceTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetInstanceTemplateRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetInstanceTemplateRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SetInstanceTemplate", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SetInstanceTemplate", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "SetInstanceTemplate" }, + "description": "SetInstanceTemplate sets the instance template to use when creating new instances or recreating\ninstances in this group. Existing instances are not affected.", + "file": "RegionInstanceGroupManagersClient/SetInstanceTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SetInstanceTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetInstanceTemplate Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SetTargetPools_sync", - "title": "compute SetTargetPools Sample", - "description": "SetTargetPools modifies the target pools to which all new instances in this group are\nassigned. Existing instances in the group are not affected.", - "file": "RegionInstanceGroupManagersClient/SetTargetPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetTargetPools", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.SetTargetPools", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SetTargetPools", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SetTargetPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetTargetPoolsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SetTargetPoolsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SetTargetPools", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SetTargetPools", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "SetTargetPools" }, + "description": "SetTargetPools modifies the target pools to which all new instances in this group are\nassigned. Existing instances in the group are not affected.", + "file": "RegionInstanceGroupManagersClient/SetTargetPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SetTargetPools_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetTargetPools Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_StartInstances_sync", - "title": "compute StartInstances Sample", - "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/StartInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.StartInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.StartInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "StartInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StartInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StartInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "StartInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.StartInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "StartInstances" }, + "description": "StartInstances flags the specified instances in the managed instance group to be\nstarted. This method increases thetargetSize and decreases the targetStoppedSize\nof the managed instance group by the number of instances that you start.\nThe startInstances operation is marked DONE if\nthe startInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTARTING action with thelistmanagedinstances\nmethod.\n\nIn this request, you can only specify instances that are stopped. For\nexample, if an instance was previously stopped using the stopInstances\nmethod, it can be started using the startInstances method.\n\nIf a health check is attached to the managed instance group, the specified\ninstances will be verified as healthy after they are started.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/StartInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_StartInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StartInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_StopInstances_sync", - "title": "compute StopInstances Sample", - "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/StopInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.StopInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.StopInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "StopInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.StopInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.StopInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "StopInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.StopInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "StopInstances" }, + "description": "StopInstances flags the specified instances in the managed instance group to be\nimmediately stopped. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetStoppedSize\nof the managed instance group by the number of instances that you stop.\nThe stopInstances operation is marked DONE if\nthe stopInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSTOPPING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays stopping the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is stopped.\n\nStopped instances can be started using the startInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/StopInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_StopInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute StopInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SuspendInstances_sync", - "title": "compute SuspendInstances Sample", - "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", - "file": "RegionInstanceGroupManagersClient/SuspendInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.SuspendInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SuspendInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "SuspendInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SuspendInstancesRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.SuspendInstancesRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "SuspendInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.SuspendInstances", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "SuspendInstances" }, + "description": "SuspendInstances flags the specified instances in the managed instance group to be\nimmediately suspended. You can only specify instances that are running in\nthis request. This method reduces thetargetSize and increases the targetSuspendedSize\nof the managed instance group by the number of instances that you suspend.\nThe suspendInstances operation is marked DONE if\nthe suspendInstances request is successful. The underlying\nactions take additional time. You must separately verify the status of theSUSPENDING action with thelistmanagedinstances\nmethod.\n\nIf the standbyPolicy.initialDelaySec field is set, the group\ndelays suspension of the instances until initialDelaySec have\npassed from instance.creationTimestamp (that is, when the\ninstance was created). This delay gives your application time to\nset itself up and initialize on the instance. If more thaninitialDelaySec seconds have passed sinceinstance.creationTimestamp when this method is called, there\nwill be zero delay.\n\nIf the group is part of a backend\nservice that has enabled\nconnection draining, it can take up to 60 seconds after the connection\ndraining duration has elapsed before the VM instance is suspended.\n\nSuspended instances can be resumed using the resumeInstances\nmethod.\n\nYou can specify a maximum of 1000 instances with this method per request.", + "file": "RegionInstanceGroupManagersClient/SuspendInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_SuspendInstances_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SuspendInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionInstanceGroupManagersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.TestIamPermissions", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionInstanceGroupManagersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is updated\neven if the instances in the group have not yet been updated. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", - "file": "RegionInstanceGroupManagersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.Update", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "Update" }, + "description": "Update updates a managed instance group using the information that you specify\nin the request.\nThis operation is marked as DONE when the group is updated\neven if the instances in the group have not yet been updated. You must\nseparately verify the status of the individual instances with thelistmanagedinstances\nmethod.\n\nIf you update your group to specify a new template or instance\nconfiguration, it's possible that your intended specification for each VM\nin the group is different from the current state of that VM. To learn how\nto apply an updated configuration to the VMs in a MIG, seeUpdating instances in\na MIG.", + "file": "RegionInstanceGroupManagersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_UpdatePerInstanceConfigs_sync", - "title": "compute UpdatePerInstanceConfigs Sample", - "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", - "file": "RegionInstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePerInstanceConfigs", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient", + "shortName": "RegionInstanceGroupManagersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient.UpdatePerInstanceConfigs", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.UpdatePerInstanceConfigs", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers", + "shortName": "RegionInstanceGroupManagers" + }, + "shortName": "UpdatePerInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupManagersClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagersClient" - }, - "method": { - "shortName": "UpdatePerInstanceConfigs", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers.UpdatePerInstanceConfigs", - "service": { - "shortName": "RegionInstanceGroupManagers", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupManagers" - } - } + "shortName": "UpdatePerInstanceConfigs" }, + "description": "UpdatePerInstanceConfigs inserts or updates per-instance configurations for the managed instance\ngroup. perInstanceConfig.name serves as a key used to\ndistinguish whether to perform insert or patch.", + "file": "RegionInstanceGroupManagersClient/UpdatePerInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroupManagers_UpdatePerInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdatePerInstanceConfigs Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified instance group resource.", - "file": "RegionInstanceGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceGroup", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.Get", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified instance group resource.", + "file": "RegionInstanceGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of instance group resources contained within\nthe specified region.", - "file": "RegionInstanceGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceGroupIterator", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.List", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of instance group resources contained within\nthe specified region.", + "file": "RegionInstanceGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroups_ListInstances_sync", - "title": "compute ListInstances Sample", - "description": "ListInstances lists the instances in the specified instance group and displays\ninformation about the named ports. Depending on the specified options, this\nmethod can list all instances or only the instances that are running.\nThe orderBy query parameter is not supported.", - "file": "RegionInstanceGroupsClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient.ListInstances", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.ListInstances", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListInstancesRegionInstanceGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListInstancesRegionInstanceGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceWithNamedPortsIterator", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.ListInstances", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists the instances in the specified instance group and displays\ninformation about the named ports. Depending on the specified options, this\nmethod can list all instances or only the instances that are running.\nThe orderBy query parameter is not supported.", + "file": "RegionInstanceGroupsClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroups_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListInstances Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroups_SetNamedPorts_sync", - "title": "compute SetNamedPorts Sample", - "description": "SetNamedPorts sets the named ports for the specified regional instance group.", - "file": "RegionInstanceGroupsClient/SetNamedPorts/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNamedPorts", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient.SetNamedPorts", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.SetNamedPorts", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "SetNamedPorts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetNamedPortsRegionInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetNamedPortsRegionInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "SetNamedPorts", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.SetNamedPorts", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups" - } - } + "shortName": "SetNamedPorts" }, + "description": "SetNamedPorts sets the named ports for the specified regional instance group.", + "file": "RegionInstanceGroupsClient/SetNamedPorts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroups_SetNamedPorts_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetNamedPorts Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionInstanceGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient", + "shortName": "RegionInstanceGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups", + "shortName": "RegionInstanceGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionInstanceGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionInstanceGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionInstanceGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups.TestIamPermissions", - "service": { - "shortName": "RegionInstanceGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstanceGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionInstanceGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone.", - "file": "RegionInstanceTemplatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.Delete", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified instance template. Deleting an instance template is\npermanent and cannot be undone.", + "file": "RegionInstanceTemplatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified instance template.", - "file": "RegionInstanceTemplatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstanceTemplate", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.Get", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified instance template.", + "file": "RegionInstanceTemplatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instance template in the specified project and region using the\nglobal instance template whose URL is included in the request.", - "file": "RegionInstanceTemplatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstanceTemplateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstanceTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.Insert", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instance template in the specified project and region using the\nglobal instance template whose URL is included in the request.", + "file": "RegionInstanceTemplatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of instance templates that are contained within the\nspecified project and region.", - "file": "RegionInstanceTemplatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient", + "shortName": "RegionInstanceTemplatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates", + "shortName": "RegionInstanceTemplates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstanceTemplatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstanceTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceTemplateIterator", - "client": { - "shortName": "RegionInstanceTemplatesClient", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates.List", - "service": { - "shortName": "RegionInstanceTemplates", - "fullName": "google.cloud.compute.v1beta.RegionInstanceTemplates" - } - } + "shortName": "List" }, + "description": "List retrieves a list of instance templates that are contained within the\nspecified project and region.", + "file": "RegionInstanceTemplatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstanceTemplates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstances_BulkInsert_sync", - "title": "compute BulkInsert Sample", - "description": "BulkInsert creates multiple instances in a given region. Count specifies the number of\ninstances to create.", - "file": "RegionInstancesClient/BulkInsert/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkInsert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstancesClient", + "shortName": "RegionInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstancesClient.BulkInsert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstances.BulkInsert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstances", + "shortName": "RegionInstances" + }, + "shortName": "BulkInsert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.BulkInsertRegionInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.BulkInsertRegionInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstancesClient", - "fullName": "google.cloud.compute.v1beta.RegionInstancesClient" - }, - "method": { - "shortName": "BulkInsert", - "fullName": "google.cloud.compute.v1beta.RegionInstances.BulkInsert", - "service": { - "shortName": "RegionInstances", - "fullName": "google.cloud.compute.v1beta.RegionInstances" - } - } + "shortName": "BulkInsert" }, + "description": "BulkInsert creates multiple instances in a given region. Count specifies the number of\ninstances to create.", + "file": "RegionInstancesClient/BulkInsert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstances_BulkInsert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute BulkInsert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes a Regional InstantSnapshotGroup resource", - "file": "RegionInstantSnapshotGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.Delete", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes a Regional InstantSnapshotGroup resource", + "file": "RegionInstantSnapshotGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InstantSnapshotGroup resource in the specified\nregion.", - "file": "RegionInstantSnapshotGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstantSnapshotGroup", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.Get", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InstantSnapshotGroup resource in the specified\nregion.", + "file": "RegionInstantSnapshotGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionInstantSnapshotGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.GetIamPolicy", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "GetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionInstantSnapshotGroupsClient/GetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_GetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a Regional InstantSnapshotGroup resource", - "file": "RegionInstantSnapshotGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.Insert", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a Regional InstantSnapshotGroup resource", + "file": "RegionInstantSnapshotGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of InstantSnapshotGroup resources contained within\nthe specified region.", - "file": "RegionInstantSnapshotGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstantSnapshotGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstantSnapshotGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotGroupIterator", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.List", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of InstantSnapshotGroup resources contained within\nthe specified region.", + "file": "RegionInstantSnapshotGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionInstantSnapshotGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.SetIamPolicy", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionInstantSnapshotGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionInstantSnapshotGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient", + "shortName": "RegionInstantSnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups", + "shortName": "RegionInstantSnapshotGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionInstantSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionInstantSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionInstantSnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups.TestIamPermissions", - "service": { - "shortName": "RegionInstantSnapshotGroups", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionInstantSnapshotGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshotGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", - "file": "RegionInstantSnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.Delete", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified InstantSnapshot resource. Keep in mind that deleting\na single instantSnapshot might not necessarily delete all the data on that\ninstantSnapshot. If any data on the instantSnapshot that is marked for\ndeletion is needed for subsequent instantSnapshots, the data will be moved\nto the next corresponding instantSnapshot.\n\nFor more information, seeDeleting\ninstantSnapshots.", + "file": "RegionInstantSnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified InstantSnapshot resource in the specified region.", - "file": "RegionInstantSnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.InstantSnapshot", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.Get", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "Get" }, + "description": "Get returns the specified InstantSnapshot resource in the specified region.", + "file": "RegionInstantSnapshotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionInstantSnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.GetIamPolicy", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionInstantSnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates an instant snapshot in the specified region.", - "file": "RegionInstantSnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.Insert", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates an instant snapshot in the specified region.", + "file": "RegionInstantSnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified region.", - "file": "RegionInstantSnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionInstantSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionInstantSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantSnapshotIterator", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.List", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "List" }, + "description": "List retrieves the list of InstantSnapshot resources contained within\nthe specified region.", + "file": "RegionInstantSnapshotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionInstantSnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.SetIamPolicy", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionInstantSnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a instantSnapshot in the given region. To learn more\nabout labels, read the Labeling\nResources documentation.", - "file": "RegionInstantSnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.SetLabels", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a instantSnapshot in the given region. To learn more\nabout labels, read the Labeling\nResources documentation.", + "file": "RegionInstantSnapshotsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionInstantSnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient", + "shortName": "RegionInstantSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots", + "shortName": "RegionInstantSnapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionInstantSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionInstantSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionInstantSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots.TestIamPermissions", - "service": { - "shortName": "RegionInstantSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionInstantSnapshots" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionInstantSnapshotsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionInstantSnapshots_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionMultiMigMembers_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified multi-MIG member.", - "file": "RegionMultiMigMembersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembersClient", + "shortName": "RegionMultiMigMembersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers", + "shortName": "RegionMultiMigMembers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionMultiMigMemberRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionMultiMigMemberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.MultiMigMember", - "client": { - "shortName": "RegionMultiMigMembersClient", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers.Get", - "service": { - "shortName": "RegionMultiMigMembers", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified multi-MIG member.", + "file": "RegionMultiMigMembersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionMultiMigMembers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionMultiMigMembers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of members of a specific multi-MIG.", - "file": "RegionMultiMigMembersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembersClient", + "shortName": "RegionMultiMigMembersClient" + }, "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembersClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers", + "shortName": "RegionMultiMigMembers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionMultiMigMembersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionMultiMigMembersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MultiMigMemberIterator", - "client": { - "shortName": "RegionMultiMigMembersClient", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers.List", - "service": { - "shortName": "RegionMultiMigMembers", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigMembers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of members of a specific multi-MIG.", + "file": "RegionMultiMigMembersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionMultiMigMembers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionMultiMigs_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes a multi-MIG in the specified project.", - "file": "RegionMultiMigsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient", + "shortName": "RegionMultiMigsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs", + "shortName": "RegionMultiMigs" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionMultiMigRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionMultiMigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionMultiMigsClient", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.Delete", - "service": { - "shortName": "RegionMultiMigs", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs" - } - } + "shortName": "Delete" }, + "description": "Delete deletes a multi-MIG in the specified project.", + "file": "RegionMultiMigsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionMultiMigs_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionMultiMigs_Get_sync", - "title": "compute Get Sample", - "description": "Get returns all the details of a specific multi-MIG.", - "file": "RegionMultiMigsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient", + "shortName": "RegionMultiMigsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs", + "shortName": "RegionMultiMigs" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionMultiMigRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionMultiMigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.MultiMig", - "client": { - "shortName": "RegionMultiMigsClient", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.Get", - "service": { - "shortName": "RegionMultiMigs", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs" - } - } + "shortName": "Get" }, + "description": "Get returns all the details of a specific multi-MIG.", + "file": "RegionMultiMigsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionMultiMigs_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionMultiMigs_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a multi-MIG in the specified project.", - "file": "RegionMultiMigsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient", + "shortName": "RegionMultiMigsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs", + "shortName": "RegionMultiMigs" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionMultiMigRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionMultiMigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionMultiMigsClient", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.Insert", - "service": { - "shortName": "RegionMultiMigs", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs" - } - } + "shortName": "Insert" }, + "description": "Insert creates a multi-MIG in the specified project.", + "file": "RegionMultiMigsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionMultiMigs_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionMultiMigs_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of multi-MIGs in a project and region.", - "file": "RegionMultiMigsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient", + "shortName": "RegionMultiMigsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionMultiMigs", + "shortName": "RegionMultiMigs" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionMultiMigsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionMultiMigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MultiMigIterator", - "client": { - "shortName": "RegionMultiMigsClient", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs.List", - "service": { - "shortName": "RegionMultiMigs", - "fullName": "google.cloud.compute.v1beta.RegionMultiMigs" - } - } + "shortName": "List" }, + "description": "List retrieves a list of multi-MIGs in a project and region.", + "file": "RegionMultiMigsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionMultiMigs_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_AttachNetworkEndpoints_sync", - "title": "compute AttachNetworkEndpoints Sample", - "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.AttachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.AttachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "AttachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AttachNetworkEndpointsRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.AttachNetworkEndpointsRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "AttachNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.AttachNetworkEndpoints", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "AttachNetworkEndpoints" }, + "description": "AttachNetworkEndpoints attach a list of network endpoints to the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/AttachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_AttachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AttachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network endpoint group. Note that the NEG cannot be\ndeleted if it is configured as a backend of a backend service.", - "file": "RegionNetworkEndpointGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.Delete", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network endpoint group. Note that the NEG cannot be\ndeleted if it is configured as a backend of a backend service.", + "file": "RegionNetworkEndpointGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_DetachNetworkEndpoints_sync", - "title": "compute DetachNetworkEndpoints Sample", - "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.DetachNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.DetachNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "DetachNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DetachNetworkEndpointsRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DetachNetworkEndpointsRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "DetachNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.DetachNetworkEndpoints", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "DetachNetworkEndpoints" }, + "description": "DetachNetworkEndpoints detach the network endpoint from the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/DetachNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_DetachNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DetachNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkEndpointGroup", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.Get", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", - "file": "RegionNetworkEndpointGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNetworkEndpointGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNetworkEndpointGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.Insert", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a network endpoint group in the specified project using the\nparameters that are included in the request.\n\nNote: Use the following APIs to manage network endpoint groups: \n\n-\nTo manage NEGs with zonal scope (such as zonal NEGs, hybrid connectivity\nNEGs): zonal\nAPI\n-\nTo manage NEGs with regional scope (such as regional internet NEGs,\nserverless NEGs, Private Service Connect NEGs): regional\nAPI\n-\nTo manage NEGs with global scope (such as global internet NEGs): global\nAPI", + "file": "RegionNetworkEndpointGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of regional network endpoint groups available to the\nspecified project in the given region.", - "file": "RegionNetworkEndpointGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointGroupIterator", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.List", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of regional network endpoint groups available to the\nspecified project in the given region.", + "file": "RegionNetworkEndpointGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_ListNetworkEndpoints_sync", - "title": "compute ListNetworkEndpoints Sample", - "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", - "file": "RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkEndpoints", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient", + "shortName": "RegionNetworkEndpointGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient.ListNetworkEndpoints", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.ListNetworkEndpoints", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups", + "shortName": "RegionNetworkEndpointGroups" + }, + "shortName": "ListNetworkEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNetworkEndpointsRegionNetworkEndpointGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNetworkEndpointsRegionNetworkEndpointGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkEndpointWithHealthStatusIterator", - "client": { - "shortName": "RegionNetworkEndpointGroupsClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroupsClient" - }, - "method": { - "shortName": "ListNetworkEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups.ListNetworkEndpoints", - "service": { - "shortName": "RegionNetworkEndpointGroups", - "fullName": "google.cloud.compute.v1beta.RegionNetworkEndpointGroups" - } - } + "shortName": "ListNetworkEndpoints" }, + "description": "ListNetworkEndpoints lists the network endpoints in the specified network endpoint group.", + "file": "RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkEndpointGroups_ListNetworkEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNetworkEndpoints Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.AddAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.AddRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_CloneRules_sync", - "title": "compute CloneRules Sample", - "description": "CloneRules copies rules to the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/CloneRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneRules", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.CloneRules", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.CloneRules", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "CloneRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CloneRulesRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.CloneRulesRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "CloneRules", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.CloneRules", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "CloneRules" }, + "description": "CloneRules copies rules to the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/CloneRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_CloneRules_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute CloneRules Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Delete", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicy", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Get", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "RegionNetworkFirewallPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyAssociation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "RegionNetworkFirewallPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetEffectiveFirewalls_sync", - "title": "compute GetEffectiveFirewalls Sample", - "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", - "file": "RegionNetworkFirewallPoliciesClient/GetEffectiveFirewalls/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveFirewalls", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.GetEffectiveFirewalls", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetEffectiveFirewalls", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetEffectiveFirewalls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetEffectiveFirewalls", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetEffectiveFirewalls", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetEffectiveFirewalls" }, + "description": "GetEffectiveFirewalls returns the effective firewalls on a given network.", + "file": "RegionNetworkFirewallPoliciesClient/GetEffectiveFirewalls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetEffectiveFirewalls_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetEffectiveFirewalls Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionNetworkFirewallPoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetIamPolicy", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionNetworkFirewallPoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule of the specified priority.", - "file": "RegionNetworkFirewallPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.FirewallPolicyRule", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.GetRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule of the specified priority.", + "file": "RegionNetworkFirewallPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new network firewall policy in the specified project and region.", - "file": "RegionNetworkFirewallPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Insert", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new network firewall policy in the specified project and region.", + "file": "RegionNetworkFirewallPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the network firewall policies that have been configured\nfor the specified project in the given region.", - "file": "RegionNetworkFirewallPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNetworkFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNetworkFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.List", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the network firewall policies that have been configured\nfor the specified project in the given region.", + "file": "RegionNetworkFirewallPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.Patch", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_PatchAssociation_sync", - "title": "compute PatchAssociation Sample", - "description": "PatchAssociation updates an association for the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/PatchAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.PatchAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.PatchAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "PatchAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.PatchAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "PatchAssociation" }, + "description": "PatchAssociation updates an association for the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/PatchAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_PatchAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule of the specified priority.", - "file": "RegionNetworkFirewallPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.PatchRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule of the specified priority.", + "file": "RegionNetworkFirewallPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified network firewall policy.", - "file": "RegionNetworkFirewallPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.RemoveAssociation", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified network firewall policy.", + "file": "RegionNetworkFirewallPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule of the specified priority.", - "file": "RegionNetworkFirewallPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.RemoveRule", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule of the specified priority.", + "file": "RegionNetworkFirewallPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionNetworkFirewallPoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.SetIamPolicy", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionNetworkFirewallPoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionNetworkFirewallPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient", + "shortName": "RegionNetworkFirewallPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies", + "shortName": "RegionNetworkFirewallPolicies" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionNetworkFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionNetworkFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionNetworkFirewallPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies.TestIamPermissions", - "service": { - "shortName": "RegionNetworkFirewallPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkFirewallPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionNetworkFirewallPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkFirewallPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_AddAssociation_sync", - "title": "compute AddAssociation Sample", - "description": "AddAssociation inserts an association for the specified network policy.", - "file": "RegionNetworkPoliciesClient/AddAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.AddAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.AddAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "AddAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddAssociationRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddAssociationRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "AddAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.AddAssociation", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "AddAssociation" }, + "description": "AddAssociation inserts an association for the specified network policy.", + "file": "RegionNetworkPoliciesClient/AddAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_AddAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_AddTrafficClassificationRule_sync", - "title": "compute AddTrafficClassificationRule Sample", - "description": "AddTrafficClassificationRule inserts a rule into a network policy.", - "file": "RegionNetworkPoliciesClient/AddTrafficClassificationRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddTrafficClassificationRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.AddTrafficClassificationRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.AddTrafficClassificationRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "AddTrafficClassificationRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddTrafficClassificationRuleRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddTrafficClassificationRuleRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "AddTrafficClassificationRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.AddTrafficClassificationRule", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "AddTrafficClassificationRule" }, + "description": "AddTrafficClassificationRule inserts a rule into a network policy.", + "file": "RegionNetworkPoliciesClient/AddTrafficClassificationRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_AddTrafficClassificationRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddTrafficClassificationRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of network policies.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RegionNetworkPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionNetworkPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionNetworkPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkPoliciesScopedListPairIterator", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.AggregatedList", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of network policies.\n\nTo prevent failure, it's recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RegionNetworkPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "RegionNetworkPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Delete", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "RegionNetworkPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified network policy.", - "file": "RegionNetworkPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkPolicy", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Get", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified network policy.", + "file": "RegionNetworkPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_GetAssociation_sync", - "title": "compute GetAssociation Sample", - "description": "GetAssociation gets an association with the specified name.", - "file": "RegionNetworkPoliciesClient/GetAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.GetAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.GetAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "GetAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetAssociationRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetAssociationRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkPolicyAssociation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "GetAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.GetAssociation", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "GetAssociation" }, + "description": "GetAssociation gets an association with the specified name.", + "file": "RegionNetworkPoliciesClient/GetAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_GetAssociation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_GetTrafficClassificationRule_sync", - "title": "compute GetTrafficClassificationRule Sample", - "description": "GetTrafficClassificationRule gets a rule of the specified priority.", - "file": "RegionNetworkPoliciesClient/GetTrafficClassificationRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrafficClassificationRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.GetTrafficClassificationRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.GetTrafficClassificationRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "GetTrafficClassificationRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTrafficClassificationRuleRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTrafficClassificationRuleRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NetworkPolicyTrafficClassificationRule", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "GetTrafficClassificationRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.GetTrafficClassificationRule", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "GetTrafficClassificationRule" }, + "description": "GetTrafficClassificationRule gets a rule of the specified priority.", + "file": "RegionNetworkPoliciesClient/GetTrafficClassificationRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_GetTrafficClassificationRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetTrafficClassificationRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "RegionNetworkPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Insert", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "RegionNetworkPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the policies that have been configured for the specified project\nin the given region.", - "file": "RegionNetworkPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNetworkPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNetworkPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkPolicyIterator", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.List", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the policies that have been configured for the specified project\nin the given region.", + "file": "RegionNetworkPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the\nrequest.", - "file": "RegionNetworkPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.Patch", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the\nrequest.", + "file": "RegionNetworkPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_PatchTrafficClassificationRule_sync", - "title": "compute PatchTrafficClassificationRule Sample", - "description": "PatchTrafficClassificationRule patches a rule of the specified priority.", - "file": "RegionNetworkPoliciesClient/PatchTrafficClassificationRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchTrafficClassificationRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.PatchTrafficClassificationRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.PatchTrafficClassificationRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "PatchTrafficClassificationRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTrafficClassificationRuleRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTrafficClassificationRuleRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "PatchTrafficClassificationRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.PatchTrafficClassificationRule", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "PatchTrafficClassificationRule" }, + "description": "PatchTrafficClassificationRule patches a rule of the specified priority.", + "file": "RegionNetworkPoliciesClient/PatchTrafficClassificationRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_PatchTrafficClassificationRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchTrafficClassificationRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_RemoveAssociation_sync", - "title": "compute RemoveAssociation Sample", - "description": "RemoveAssociation removes an association for the specified network policy.", - "file": "RegionNetworkPoliciesClient/RemoveAssociation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssociation", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.RemoveAssociation", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.RemoveAssociation", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "RemoveAssociation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveAssociationRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveAssociationRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "RemoveAssociation", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.RemoveAssociation", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "RemoveAssociation" }, + "description": "RemoveAssociation removes an association for the specified network policy.", + "file": "RegionNetworkPoliciesClient/RemoveAssociation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_RemoveAssociation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveAssociation Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_RemoveTrafficClassificationRule_sync", - "title": "compute RemoveTrafficClassificationRule Sample", - "description": "RemoveTrafficClassificationRule deletes a rule of the specified priority.", - "file": "RegionNetworkPoliciesClient/RemoveTrafficClassificationRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveTrafficClassificationRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient", + "shortName": "RegionNetworkPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient.RemoveTrafficClassificationRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.RemoveTrafficClassificationRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies", + "shortName": "RegionNetworkPolicies" + }, + "shortName": "RemoveTrafficClassificationRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveTrafficClassificationRuleRegionNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveTrafficClassificationRuleRegionNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNetworkPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPoliciesClient" - }, - "method": { - "shortName": "RemoveTrafficClassificationRule", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies.RemoveTrafficClassificationRule", - "service": { - "shortName": "RegionNetworkPolicies", - "fullName": "google.cloud.compute.v1beta.RegionNetworkPolicies" - } - } + "shortName": "RemoveTrafficClassificationRule" }, + "description": "RemoveTrafficClassificationRule deletes a rule of the specified priority.", + "file": "RegionNetworkPoliciesClient/RemoveTrafficClassificationRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNetworkPolicies_RemoveTrafficClassificationRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveTrafficClassificationRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all NotificationEndpoint resources,\nregional and global, available to the specified project.", - "file": "RegionNotificationEndpointsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRegionNotificationEndpointsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRegionNotificationEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationEndpointsScopedListPairIterator", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.AggregatedList", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all NotificationEndpoint resources,\nregional and global, available to the specified project.", + "file": "RegionNotificationEndpointsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified NotificationEndpoint in the given region", - "file": "RegionNotificationEndpointsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.Delete", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified NotificationEndpoint in the given region", + "file": "RegionNotificationEndpointsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified NotificationEndpoint resource in the given region.", - "file": "RegionNotificationEndpointsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NotificationEndpoint", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.Get", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints" - } - } + "shortName": "Get" }, + "description": "Get returns the specified NotificationEndpoint resource in the given region.", + "file": "RegionNotificationEndpointsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert create a NotificationEndpoint in the specified project in the given region\nusing the parameters that are included in the request.", - "file": "RegionNotificationEndpointsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.Insert", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints" - } - } + "shortName": "Insert" }, + "description": "Insert create a NotificationEndpoint in the specified project in the given region\nusing the parameters that are included in the request.", + "file": "RegionNotificationEndpointsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_List_sync", - "title": "compute List Sample", - "description": "List lists the NotificationEndpoints for a project in the given region.", - "file": "RegionNotificationEndpointsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionNotificationEndpointsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionNotificationEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationEndpointIterator", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.List", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints" - } - } + "shortName": "List" }, + "description": "List lists the NotificationEndpoints for a project in the given region.", + "file": "RegionNotificationEndpointsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionNotificationEndpointsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient", + "shortName": "RegionNotificationEndpointsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints", + "shortName": "RegionNotificationEndpoints" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionNotificationEndpointRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionNotificationEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionNotificationEndpointsClient", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpointsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints.TestIamPermissions", - "service": { - "shortName": "RegionNotificationEndpoints", - "fullName": "google.cloud.compute.v1beta.RegionNotificationEndpoints" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionNotificationEndpointsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionNotificationEndpoints_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified region-specific Operations resource.", - "file": "RegionOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteRegionOperationResponse", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1beta.RegionOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionOperations.Delete", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1beta.RegionOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified region-specific Operations resource.", + "file": "RegionOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified region-specific Operations resource.", - "file": "RegionOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1beta.RegionOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionOperations.Get", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1beta.RegionOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified region-specific Operations resource.", + "file": "RegionOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within\nthe specified region.", - "file": "RegionOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionOperations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1beta.RegionOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionOperations.List", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1beta.RegionOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within\nthe specified region.", + "file": "RegionOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionOperations_Wait_sync", - "title": "compute Wait Sample", - "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", - "file": "RegionOperationsClient/Wait/main.go", - "language": "GO", "clientMethod": { - "shortName": "Wait", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionOperationsClient", + "shortName": "RegionOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionOperationsClient.Wait", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionOperations.Wait", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionOperations", + "shortName": "RegionOperations" + }, + "shortName": "Wait" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WaitRegionOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.WaitRegionOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "RegionOperationsClient", - "fullName": "google.cloud.compute.v1beta.RegionOperationsClient" - }, - "method": { - "shortName": "Wait", - "fullName": "google.cloud.compute.v1beta.RegionOperations.Wait", - "service": { - "shortName": "RegionOperations", - "fullName": "google.cloud.compute.v1beta.RegionOperations" - } - } + "shortName": "Wait" }, + "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method differs from the\n`GET` method in that it waits for no more than the default\ndeadline (2 minutes) and then returns the current state of the operation,\nwhich might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", + "file": "RegionOperationsClient/Wait/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionOperations_Wait_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Wait Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a security policy.", - "file": "RegionSecurityPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.AddRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a security policy.", + "file": "RegionSecurityPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "RegionSecurityPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Delete", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "RegionSecurityPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get list all of the ordered rules present in a single specified policy.", - "file": "RegionSecurityPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicy", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Get", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "Get" }, + "description": "Get list all of the ordered rules present in a single specified policy.", + "file": "RegionSecurityPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule at the specified priority.", - "file": "RegionSecurityPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyRule", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.GetRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule at the specified priority.", + "file": "RegionSecurityPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "RegionSecurityPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Insert", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "RegionSecurityPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_List_sync", - "title": "compute List Sample", - "description": "List list all the policies that have been configured for the specified project\nand region.", - "file": "RegionSecurityPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPolicyIterator", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.List", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "List" }, + "description": "List list all the policies that have been configured for the specified project\nand region.", + "file": "RegionSecurityPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", - "file": "RegionSecurityPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.Patch", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", + "file": "RegionSecurityPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", - "file": "RegionSecurityPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.PatchRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "PatchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.PatchRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", + "file": "RegionSecurityPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule at the specified priority.", - "file": "RegionSecurityPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.RemoveRule", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule at the specified priority.", + "file": "RegionSecurityPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", - "file": "RegionSecurityPoliciesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient", + "shortName": "RegionSecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies", + "shortName": "RegionSecurityPolicies" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPoliciesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies.SetLabels", - "service": { - "shortName": "RegionSecurityPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSecurityPolicies" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", + "file": "RegionSecurityPoliciesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSecurityPolicies_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshotSettings_Get_sync", - "title": "compute Get Sample", - "description": "Get get region snapshot settings.", - "file": "RegionSnapshotSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettingsClient", + "shortName": "RegionSnapshotSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings", + "shortName": "RegionSnapshotSettings" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSnapshotSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSnapshotSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SnapshotSettings", - "client": { - "shortName": "RegionSnapshotSettingsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings.Get", - "service": { - "shortName": "RegionSnapshotSettings", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings" - } - } + "shortName": "Get" }, + "description": "Get get region snapshot settings.", + "file": "RegionSnapshotSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshotSettings_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshotSettings_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch region snapshot settings.", - "file": "RegionSnapshotSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettingsClient", + "shortName": "RegionSnapshotSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings", + "shortName": "RegionSnapshotSettings" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionSnapshotSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionSnapshotSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSnapshotSettingsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings.Patch", - "service": { - "shortName": "RegionSnapshotSettings", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotSettings" - } - } + "shortName": "Patch" }, + "description": "Patch patch region snapshot settings.", + "file": "RegionSnapshotSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshotSettings_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", - "file": "RegionSnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.Delete", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", + "file": "RegionSnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Snapshot resource.", - "file": "RegionSnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Snapshot", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.Get", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Snapshot resource.", + "file": "RegionSnapshotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "RegionSnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.GetIamPolicy", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "RegionSnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a snapshot in the specified region using the data included\nin the request.", - "file": "RegionSnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.Insert", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates a snapshot in the specified region using the data included\nin the request.", + "file": "RegionSnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Snapshot resources contained within\nthe specified region.", - "file": "RegionSnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotIterator", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.List", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Snapshot resources contained within\nthe specified region.", + "file": "RegionSnapshotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "RegionSnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.SetIamPolicy", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "RegionSnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a regional snapshot. To learn more about labels, read\nthe Labeling Resources\ndocumentation.", - "file": "RegionSnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.SetLabels", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "SetLabels" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetLabels sets the labels on a regional snapshot. To learn more about labels, read\nthe Labeling Resources\ndocumentation.", + "file": "RegionSnapshotsClient/SetLabels/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_SetLabels_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSnapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionSnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient", + "shortName": "RegionSnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSnapshots", + "shortName": "RegionSnapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionSnapshotsClient", - "fullName": "google.cloud.compute.v1beta.RegionSnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots.TestIamPermissions", - "service": { - "shortName": "RegionSnapshots", - "fullName": "google.cloud.compute.v1beta.RegionSnapshots" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionSnapshotsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSnapshots_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslCertificates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SslCertificate resource in the region.", - "file": "RegionSslCertificatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.Delete", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SslCertificate resource in the region.", + "file": "RegionSslCertificatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslCertificates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslCertificates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified SslCertificate resource in the specified region. Get\na list of available SSL certificates by making a list()\nrequest.", - "file": "RegionSslCertificatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslCertificate", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.Get", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified SslCertificate resource in the specified region. Get\na list of available SSL certificates by making a list()\nrequest.", + "file": "RegionSslCertificatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslCertificates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslCertificates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a SslCertificate resource in the specified project and region using\nthe data included in the request", - "file": "RegionSslCertificatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.Insert", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates" - } - } + "shortName": "Insert" }, + "description": "Insert creates a SslCertificate resource in the specified project and region using\nthe data included in the request", + "file": "RegionSslCertificatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslCertificates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslCertificates_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of SslCertificate resources available to the specified\nproject in the specified region.", - "file": "RegionSslCertificatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSslCertificatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSslCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslCertificateIterator", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.List", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates" - } - } + "shortName": "List" }, + "description": "List retrieves the list of SslCertificate resources available to the specified\nproject in the specified region.", + "file": "RegionSslCertificatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslCertificates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslCertificates_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource and region.", - "file": "RegionSslCertificatesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient", + "shortName": "RegionSslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslCertificates", + "shortName": "RegionSslCertificates" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionSslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificatesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates.TestIamPermissions", - "service": { - "shortName": "RegionSslCertificates", - "fullName": "google.cloud.compute.v1beta.RegionSslCertificates" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource and region.", + "file": "RegionSslCertificatesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslCertificates_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", - "file": "RegionSslPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Delete", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", + "file": "RegionSslPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get lists all of the ordered rules present in a single specified policy.", - "file": "RegionSslPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPolicy", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Get", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "Get" }, + "description": "Get lists all of the ordered rules present in a single specified policy.", + "file": "RegionSslPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project and region using the data\nincluded in the request.", - "file": "RegionSslPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Insert", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project and region using the data\nincluded in the request.", + "file": "RegionSslPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the SSL policies that have been configured for the specified\nproject and region.", - "file": "RegionSslPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslPolicyIterator", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.List", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the SSL policies that have been configured for the specified\nproject and region.", + "file": "RegionSslPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_ListAvailableFeatures_sync", - "title": "compute ListAvailableFeatures Sample", - "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", - "file": "RegionSslPoliciesClient/ListAvailableFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAvailableFeatures", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.ListAvailableFeatures", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.ListAvailableFeatures", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "ListAvailableFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAvailableFeaturesRegionSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAvailableFeaturesRegionSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPoliciesListAvailableFeaturesResponse", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "ListAvailableFeatures", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.ListAvailableFeatures", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "ListAvailableFeatures" }, + "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", + "file": "RegionSslPoliciesClient/ListAvailableFeatures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_ListAvailableFeatures_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAvailableFeatures Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified SSL policy with the data included in the request.", - "file": "RegionSslPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.Patch", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified SSL policy with the data included in the request.", + "file": "RegionSslPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionSslPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionSslPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient", + "shortName": "RegionSslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionSslPolicies", + "shortName": "RegionSslPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionSslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.RegionSslPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies.TestIamPermissions", - "service": { - "shortName": "RegionSslPolicies", - "fullName": "google.cloud.compute.v1beta.RegionSslPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionSslPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionSslPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpProxy resource.", - "file": "RegionTargetHttpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.Delete", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpProxy resource.", + "file": "RegionTargetHttpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpProxy resource in the specified region.", - "file": "RegionTargetHttpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpProxy", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.Get", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpProxy resource in the specified region.", + "file": "RegionTargetHttpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpProxy resource in the specified project and region\nusing the data included in the request.", - "file": "RegionTargetHttpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.Insert", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpProxy resource in the specified project and region\nusing the data included in the request.", + "file": "RegionTargetHttpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project in the specified region.", - "file": "RegionTargetHttpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionTargetHttpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionTargetHttpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpProxyIterator", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.List", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project in the specified region.", + "file": "RegionTargetHttpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpProxy.", - "file": "RegionTargetHttpProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.SetUrlMap", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpProxy.", + "file": "RegionTargetHttpProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionTargetHttpProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient", + "shortName": "RegionTargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies", + "shortName": "RegionTargetHttpProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionTargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies.TestIamPermissions", - "service": { - "shortName": "RegionTargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionTargetHttpProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpsProxy resource.", - "file": "RegionTargetHttpsProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Delete", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpsProxy resource.", + "file": "RegionTargetHttpsProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpsProxy resource in the specified region.", - "file": "RegionTargetHttpsProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpsProxy", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Get", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpsProxy resource in the specified region.", + "file": "RegionTargetHttpsProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpsProxy resource in the specified project and region\nusing the data included in the request.", - "file": "RegionTargetHttpsProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Insert", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpsProxy resource in the specified project and region\nusing the data included in the request.", + "file": "RegionTargetHttpsProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpsProxy resources available\nto the specified project in the specified region.", - "file": "RegionTargetHttpsProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionTargetHttpsProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionTargetHttpsProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpsProxyIterator", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.List", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpsProxy resources available\nto the specified project in the specified region.", + "file": "RegionTargetHttpsProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified regional TargetHttpsProxy resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "RegionTargetHttpsProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.Patch", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified regional TargetHttpsProxy resource with the data\nincluded in the request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "RegionTargetHttpsProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_SetSslCertificates_sync", - "title": "compute SetSslCertificates Sample", - "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", - "file": "RegionTargetHttpsProxiesClient/SetSslCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslCertificates", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.SetSslCertificates", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.SetSslCertificates", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "SetSslCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslCertificatesRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslCertificatesRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetSslCertificates", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.SetSslCertificates", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "SetSslCertificates" }, + "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", + "file": "RegionTargetHttpsProxiesClient/SetSslCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_SetSslCertificates_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslCertificates Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", - "file": "RegionTargetHttpsProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.SetUrlMap", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", + "file": "RegionTargetHttpsProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionTargetHttpsProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient", + "shortName": "RegionTargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies", + "shortName": "RegionTargetHttpsProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionTargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies.TestIamPermissions", - "service": { - "shortName": "RegionTargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetHttpsProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionTargetHttpsProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetHttpsProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetTcpProxy resource.", - "file": "RegionTargetTcpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.Delete", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetTcpProxy resource.", + "file": "RegionTargetTcpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetTcpProxy resource.", - "file": "RegionTargetTcpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetTcpProxy", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.Get", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetTcpProxy resource.", + "file": "RegionTargetTcpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetTcpProxy resource in the specified project and region using\nthe data included in the request.", - "file": "RegionTargetTcpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.Insert", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetTcpProxy resource in the specified project and region using\nthe data included in the request.", + "file": "RegionTargetTcpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of TargetTcpProxy resources\navailable to the specified project in a given region.", - "file": "RegionTargetTcpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionTargetTcpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionTargetTcpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetTcpProxyIterator", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.List", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves a list of TargetTcpProxy resources\navailable to the specified project in a given region.", + "file": "RegionTargetTcpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionTargetTcpProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient", + "shortName": "RegionTargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies", + "shortName": "RegionTargetTcpProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionTargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies.TestIamPermissions", - "service": { - "shortName": "RegionTargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.RegionTargetTcpProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionTargetTcpProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionTargetTcpProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified UrlMap resource.", - "file": "RegionUrlMapsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Delete", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified UrlMap resource.", + "file": "RegionUrlMapsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified UrlMap resource.", - "file": "RegionUrlMapsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMap", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Get", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "Get" }, + "description": "Get returns the specified UrlMap resource.", + "file": "RegionUrlMapsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", - "file": "RegionUrlMapsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Insert", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "Insert" }, + "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", + "file": "RegionUrlMapsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_InvalidateCache_sync", - "title": "compute InvalidateCache Sample", - "description": "InvalidateCache initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", - "file": "RegionUrlMapsClient/InvalidateCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "InvalidateCache", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.InvalidateCache", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.InvalidateCache", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "InvalidateCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InvalidateCacheRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InvalidateCacheRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "InvalidateCache", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.InvalidateCache", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "InvalidateCache" }, + "description": "InvalidateCache initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", + "file": "RegionUrlMapsClient/InvalidateCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_InvalidateCache_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute InvalidateCache Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of UrlMap resources available to the specified\nproject in the specified region.", - "file": "RegionUrlMapsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionUrlMapsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionUrlMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UrlMapIterator", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.List", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "List" }, + "description": "List retrieves the list of UrlMap resources available to the specified\nproject in the specified region.", + "file": "RegionUrlMapsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "RegionUrlMapsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Patch", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "RegionUrlMapsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RegionUrlMapsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.TestIamPermissions", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RegionUrlMapsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", - "file": "RegionUrlMapsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Update", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "Update" }, + "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", + "file": "RegionUrlMapsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_RegionUrlMaps_Validate_sync", - "title": "compute Validate Sample", - "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", - "file": "RegionUrlMapsClient/Validate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Validate", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient", + "shortName": "RegionUrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient.Validate", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Validate", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionUrlMaps", + "shortName": "RegionUrlMaps" + }, + "shortName": "Validate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ValidateRegionUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.ValidateRegionUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMapsValidateResponse", - "client": { - "shortName": "RegionUrlMapsClient", - "fullName": "google.cloud.compute.v1beta.RegionUrlMapsClient" - }, - "method": { - "shortName": "Validate", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps.Validate", - "service": { - "shortName": "RegionUrlMaps", - "fullName": "google.cloud.compute.v1beta.RegionUrlMaps" - } - } + "shortName": "Validate" }, + "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", + "file": "RegionUrlMapsClient/Validate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionUrlMaps_Validate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Validate Sample" }, { - "regionTag": "compute_v1beta_generated_RegionZones_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Zone resources under the specific region available to\nthe specified project.", - "file": "RegionZonesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionZonesClient", + "shortName": "RegionZonesClient" + }, "fullName": "google.cloud.compute.v1beta.RegionZonesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RegionZones.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RegionZones", + "shortName": "RegionZones" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionZonesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionZonesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ZoneIterator", - "client": { - "shortName": "RegionZonesClient", - "fullName": "google.cloud.compute.v1beta.RegionZonesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RegionZones.List", - "service": { - "shortName": "RegionZones", - "fullName": "google.cloud.compute.v1beta.RegionZones" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Zone resources under the specific region available to\nthe specified project.", + "file": "RegionZonesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RegionZones_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Regions_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Region resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", - "file": "RegionsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionsClient.Get", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.Regions.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Regions", + "shortName": "Regions" + }, + "shortName": "Get" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRegionRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.cloud.compute.v1beta.RegionsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Regions.Get", - "service": { - "shortName": "Regions", - "fullName": "google.cloud.compute.v1beta.Regions" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Region resource.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information (the `quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", + "file": "RegionsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Regions_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Regions_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of region resources available to the specified project.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information\n(the `items.quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", - "file": "RegionsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.cloud.compute.v1beta.RegionsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Regions.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Regions", + "shortName": "Regions" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRegionsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegionIterator", - "client": { - "shortName": "RegionsClient", - "fullName": "google.cloud.compute.v1beta.RegionsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Regions.List", - "service": { - "shortName": "Regions", - "fullName": "google.cloud.compute.v1beta.Regions" - } - } + "shortName": "List" }, + "description": "List retrieves the list of region resources available to the specified project.\n\nTo decrease latency for this method, you can optionally omit any unneeded\ninformation from the response by using a field mask. This practice is\nespecially recommended for unused quota information\n(the `items.quotas` field).\nTo exclude one or more fields, set your request's `fields` query parameter\nto only include the fields you need. For example, to only include the `id`\nand `selfLink` fields, add the query parameter `?fields=id,selfLink` to\nyour request.\n\nThis method fails if the quota information is unavailable for the region\nand if the organization policy constraint\ncompute.requireBasicQuotaInResponse is enforced. This\nconstraint, when enforced, disables the fail-open behaviour when quota\ninformation (the `items.quotas` field) is unavailable for the region.\nIt is recommended to use the default setting\nfor the constraint unless your application requires the fail-closed\nbehaviour for this method.", + "file": "RegionsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Regions_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationBlocks_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation block.", - "file": "ReservationBlocksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ReservationBlocksGetResponse", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks.Get", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation block.", + "file": "ReservationBlocksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationBlocks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationBlocks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ReservationBlocksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks.GetIamPolicy", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ReservationBlocksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationBlocks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationBlocks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of reservation blocks under a single reservation.", - "file": "ReservationBlocksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationBlocksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationBlocksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationBlockIterator", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks.List", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of reservation blocks under a single reservation.", + "file": "ReservationBlocksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationBlocks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationBlocks_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance allows customers to perform maintenance on a reservation block", - "file": "ReservationBlocksClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks.PerformMaintenance", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance allows customers to perform maintenance on a reservation block", + "file": "ReservationBlocksClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationBlocks_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationBlocks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ReservationBlocksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks.SetIamPolicy", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ReservationBlocksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationBlocks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationBlocks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ReservationBlocksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient", + "shortName": "ReservationBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationBlocks", + "shortName": "ReservationBlocks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsReservationBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsReservationBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ReservationBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationBlocksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks.TestIamPermissions", - "service": { - "shortName": "ReservationBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationBlocks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ReservationBlocksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationBlocks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSlots_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation slot.", - "file": "ReservationSlotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationSlotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationSlotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ReservationSlotsGetResponse", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ReservationSlots.Get", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1beta.ReservationSlots" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation slot.", + "file": "ReservationSlotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSlots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSlots_GetVersion_sync", - "title": "compute GetVersion Sample", - "description": "GetVersion allows customers to get SBOM versions of a reservation slot.", - "file": "ReservationSlotsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient.GetVersion", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots.GetVersion", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVersionReservationSlotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVersionReservationSlotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.compute.v1beta.ReservationSlots.GetVersion", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1beta.ReservationSlots" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion allows customers to get SBOM versions of a reservation slot.", + "file": "ReservationSlotsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSlots_GetVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetVersion Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSlots_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of reservation slots under a single reservation.", - "file": "ReservationSlotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationSlotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationSlotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationSlotIterator", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ReservationSlots.List", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1beta.ReservationSlots" - } - } + "shortName": "List" }, + "description": "List retrieves a list of reservation slots under a single reservation.", + "file": "ReservationSlotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSlots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSlots_Update_sync", - "title": "compute Update Sample", - "description": "Update update a reservation slot in the specified sub-block.", - "file": "ReservationSlotsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient", + "shortName": "ReservationSlotsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSlots", + "shortName": "ReservationSlots" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateReservationSlotRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateReservationSlotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSlotsClient", - "fullName": "google.cloud.compute.v1beta.ReservationSlotsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.ReservationSlots.Update", - "service": { - "shortName": "ReservationSlots", - "fullName": "google.cloud.compute.v1beta.ReservationSlots" - } - } + "shortName": "Update" }, + "description": "Update update a reservation slot in the specified sub-block.", + "file": "ReservationSlotsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSlots_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation subBlock.", - "file": "ReservationSubBlocksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ReservationSubBlocksGetResponse", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.Get", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation subBlock.", + "file": "ReservationSubBlocksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ReservationSubBlocksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.GetIamPolicy", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ReservationSubBlocksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_GetVersion_sync", - "title": "compute GetVersion Sample", - "description": "GetVersion allows customers to get SBOM versions of a reservation subBlock.", - "file": "ReservationSubBlocksClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.GetVersion", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.GetVersion", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVersionReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVersionReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.GetVersion", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion allows customers to get SBOM versions of a reservation subBlock.", + "file": "ReservationSubBlocksClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_GetVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetVersion Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of reservation subBlocks under a single reservation.", - "file": "ReservationSubBlocksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationSubBlocksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationSubBlocksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationSubBlockIterator", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.List", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of reservation subBlocks under a single reservation.", + "file": "ReservationSubBlocksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance allows customers to perform maintenance on a reservation subBlock", - "file": "ReservationSubBlocksClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.PerformMaintenance", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance allows customers to perform maintenance on a reservation subBlock", + "file": "ReservationSubBlocksClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_ReportFaulty_sync", - "title": "compute ReportFaulty Sample", - "description": "ReportFaulty allows customers to report a faulty subBlock.", - "file": "ReservationSubBlocksClient/ReportFaulty/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportFaulty", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.ReportFaulty", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.ReportFaulty", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "ReportFaulty" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ReportFaultyReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.ReportFaultyReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "ReportFaulty", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.ReportFaulty", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "ReportFaulty" }, + "description": "ReportFaulty allows customers to report a faulty subBlock.", + "file": "ReservationSubBlocksClient/ReportFaulty/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_ReportFaulty_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ReportFaulty Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ReservationSubBlocksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.SetIamPolicy", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ReservationSubBlocksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ReservationSubBlocks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ReservationSubBlocksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient", + "shortName": "ReservationSubBlocksClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks", + "shortName": "ReservationSubBlocks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsReservationSubBlockRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsReservationSubBlockRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ReservationSubBlocksClient", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks.TestIamPermissions", - "service": { - "shortName": "ReservationSubBlocks", - "fullName": "google.cloud.compute.v1beta.ReservationSubBlocks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ReservationSubBlocksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ReservationSubBlocks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ReservationsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationsScopedListPairIterator", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Reservations.AggregatedList", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of reservations.\n\nTo prevent failure, it is recommended that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ReservationsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified reservation.", - "file": "ReservationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Reservations.Delete", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified reservation.", + "file": "ReservationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves information about the specified reservation.", - "file": "ReservationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Reservation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Reservations.Get", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "Get" }, + "description": "Get retrieves information about the specified reservation.", + "file": "ReservationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ReservationsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Reservations.GetIamPolicy", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ReservationsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new reservation. For more information, readReserving zonal\nresources.", - "file": "ReservationsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Reservations.Insert", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new reservation. For more information, readReserving zonal\nresources.", + "file": "ReservationsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_List_sync", - "title": "compute List Sample", - "description": "List a list of all the reservations that have been configured for the\nspecified project in specified zone.", - "file": "ReservationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListReservationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationIterator", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Reservations.List", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "List" }, + "description": "List a list of all the reservations that have been configured for the\nspecified project in specified zone.", + "file": "ReservationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_PerformMaintenance_sync", - "title": "compute PerformMaintenance Sample", - "description": "PerformMaintenance perform maintenance on an extended reservation", - "file": "ReservationsClient/PerformMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "PerformMaintenance", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.PerformMaintenance", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.PerformMaintenance", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "PerformMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PerformMaintenanceReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.PerformMaintenanceReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "PerformMaintenance", - "fullName": "google.cloud.compute.v1beta.Reservations.PerformMaintenance", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "PerformMaintenance" }, + "description": "PerformMaintenance perform maintenance on an extended reservation", + "file": "ReservationsClient/PerformMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_PerformMaintenance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PerformMaintenance Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_Resize_sync", - "title": "compute Resize Sample", - "description": "Resize resizes the reservation (applicable to standalone reservations only). For\nmore information, readModifying\nreservations.", - "file": "ReservationsClient/Resize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Resize", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.Resize", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.Resize", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "Resize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ResizeReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.ResizeReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "Resize", - "fullName": "google.cloud.compute.v1beta.Reservations.Resize", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "Resize" }, + "description": "Resize resizes the reservation (applicable to standalone reservations only). For\nmore information, readModifying\nreservations.", + "file": "ReservationsClient/Resize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_Resize_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Resize Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ReservationsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Reservations.SetIamPolicy", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ReservationsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ReservationsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Reservations.TestIamPermissions", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ReservationsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Reservations_Update_sync", - "title": "compute Update Sample", - "description": "Update update share settings of the reservation.", - "file": "ReservationsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.ReservationsClient", + "shortName": "ReservationsClient" + }, "fullName": "google.cloud.compute.v1beta.ReservationsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Reservations.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Reservations", + "shortName": "Reservations" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateReservationRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ReservationsClient", - "fullName": "google.cloud.compute.v1beta.ReservationsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Reservations.Update", - "service": { - "shortName": "Reservations", - "fullName": "google.cloud.compute.v1beta.Reservations" - } - } + "shortName": "Update" }, + "description": "Update update share settings of the reservation.", + "file": "ReservationsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Reservations_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of resource policies.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ResourcePoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListResourcePoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListResourcePoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourcePoliciesScopedListPairIterator", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.AggregatedList", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of resource policies.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ResourcePoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified resource policy.", - "file": "ResourcePoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Delete", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified resource policy.", + "file": "ResourcePoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves all information of the specified resource policy.", - "file": "ResourcePoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ResourcePolicy", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Get", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "Get" }, + "description": "Get retrieves all information of the specified resource policy.", + "file": "ResourcePoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ResourcePoliciesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.GetIamPolicy", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ResourcePoliciesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new resource policy.", - "file": "ResourcePoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Insert", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new resource policy.", + "file": "ResourcePoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_List_sync", - "title": "compute List Sample", - "description": "List a list all the resource policies that have been configured for the\nspecified project in specified region.", - "file": "ResourcePoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListResourcePoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListResourcePoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourcePolicyIterator", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.List", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "List" }, + "description": "List a list all the resource policies that have been configured for the\nspecified project in specified region.", + "file": "ResourcePoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch modify the specified resource policy.", - "file": "ResourcePoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.Patch", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "Patch" }, + "description": "Patch modify the specified resource policy.", + "file": "ResourcePoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ResourcePoliciesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.SetIamPolicy", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ResourcePoliciesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ResourcePolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ResourcePoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient", + "shortName": "ResourcePoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.ResourcePolicies", + "shortName": "ResourcePolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsResourcePolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsResourcePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ResourcePoliciesClient", - "fullName": "google.cloud.compute.v1beta.ResourcePoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies.TestIamPermissions", - "service": { - "shortName": "ResourcePolicies", - "fullName": "google.cloud.compute.v1beta.ResourcePolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ResourcePoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ResourcePolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_RolloutPlans_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes a RolloutPlan.", - "file": "RolloutPlansClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutPlansClient", + "shortName": "RolloutPlansClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutPlansClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans", + "shortName": "RolloutPlans" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRolloutPlanRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRolloutPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RolloutPlansClient", - "fullName": "google.cloud.compute.v1beta.RolloutPlansClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.RolloutPlans.Delete", - "service": { - "shortName": "RolloutPlans", - "fullName": "google.cloud.compute.v1beta.RolloutPlans" - } - } + "shortName": "Delete" }, + "description": "Delete deletes a RolloutPlan.", + "file": "RolloutPlansClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RolloutPlans_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_RolloutPlans_Get_sync", - "title": "compute Get Sample", - "description": "Get gets details of a single project-scoped RolloutPlan.", - "file": "RolloutPlansClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutPlansClient", + "shortName": "RolloutPlansClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutPlansClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans", + "shortName": "RolloutPlans" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRolloutPlanRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRolloutPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RolloutPlan", - "client": { - "shortName": "RolloutPlansClient", - "fullName": "google.cloud.compute.v1beta.RolloutPlansClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.RolloutPlans.Get", - "service": { - "shortName": "RolloutPlans", - "fullName": "google.cloud.compute.v1beta.RolloutPlans" - } - } + "shortName": "Get" }, + "description": "Get gets details of a single project-scoped RolloutPlan.", + "file": "RolloutPlansClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RolloutPlans_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_RolloutPlans_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new RolloutPlan in a given project and location.", - "file": "RolloutPlansClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutPlansClient", + "shortName": "RolloutPlansClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutPlansClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans", + "shortName": "RolloutPlans" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRolloutPlanRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRolloutPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RolloutPlansClient", - "fullName": "google.cloud.compute.v1beta.RolloutPlansClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.RolloutPlans.Insert", - "service": { - "shortName": "RolloutPlans", - "fullName": "google.cloud.compute.v1beta.RolloutPlans" - } - } + "shortName": "Insert" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Insert creates a new RolloutPlan in a given project and location.", + "file": "RolloutPlansClient/Insert/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RolloutPlans_Insert_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_RolloutPlans_List_sync", - "title": "compute List Sample", - "description": "List lists RolloutPlans in a given project and location.", - "file": "RolloutPlansClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutPlansClient", + "shortName": "RolloutPlansClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutPlansClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans.List", + "service": { + "fullName": "google.cloud.compute.v1beta.RolloutPlans", + "shortName": "RolloutPlans" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRolloutPlansRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRolloutPlansRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutPlanIterator", - "client": { - "shortName": "RolloutPlansClient", - "fullName": "google.cloud.compute.v1beta.RolloutPlansClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.RolloutPlans.List", - "service": { - "shortName": "RolloutPlans", - "fullName": "google.cloud.compute.v1beta.RolloutPlans" - } - } + "shortName": "List" }, + "description": "List lists RolloutPlans in a given project and location.", + "file": "RolloutPlansClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_RolloutPlans_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Rollouts_Cancel_sync", - "title": "compute Cancel Sample", - "description": "Cancel cancels a Rollout.", - "file": "RolloutsClient/Cancel/main.go", - "language": "GO", "clientMethod": { - "shortName": "Cancel", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutsClient", + "shortName": "RolloutsClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutsClient.Cancel", + "method": { + "fullName": "google.cloud.compute.v1beta.Rollouts.Cancel", + "service": { + "fullName": "google.cloud.compute.v1beta.Rollouts", + "shortName": "Rollouts" + }, + "shortName": "Cancel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.CancelRolloutRequest", - "name": "req" + "name": "req", + "type": "computepb.CancelRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RolloutsClient", - "fullName": "google.cloud.compute.v1beta.RolloutsClient" - }, - "method": { - "shortName": "Cancel", - "fullName": "google.cloud.compute.v1beta.Rollouts.Cancel", - "service": { - "shortName": "Rollouts", - "fullName": "google.cloud.compute.v1beta.Rollouts" - } - } + "shortName": "Cancel" }, + "description": "Cancel cancels a Rollout.", + "file": "RolloutsClient/Cancel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Rollouts_Cancel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Cancel Sample" }, { - "regionTag": "compute_v1beta_generated_Rollouts_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes a Rollout.", - "file": "RolloutsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutsClient", + "shortName": "RolloutsClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Rollouts.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Rollouts", + "shortName": "Rollouts" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRolloutRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RolloutsClient", - "fullName": "google.cloud.compute.v1beta.RolloutsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Rollouts.Delete", - "service": { - "shortName": "Rollouts", - "fullName": "google.cloud.compute.v1beta.Rollouts" - } - } + "shortName": "Delete" }, + "description": "Delete deletes a Rollout.", + "file": "RolloutsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Rollouts_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Rollouts_Get_sync", - "title": "compute Get Sample", - "description": "Get gets details of a single project-scoped Rollout.", - "file": "RolloutsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutsClient", + "shortName": "RolloutsClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Rollouts.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Rollouts", + "shortName": "Rollouts" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRolloutRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Rollout", - "client": { - "shortName": "RolloutsClient", - "fullName": "google.cloud.compute.v1beta.RolloutsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Rollouts.Get", - "service": { - "shortName": "Rollouts", - "fullName": "google.cloud.compute.v1beta.Rollouts" - } - } + "shortName": "Get" }, + "description": "Get gets details of a single project-scoped Rollout.", + "file": "RolloutsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Rollouts_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Rollouts_List_sync", - "title": "compute List Sample", - "description": "List lists Rollouts in a given project and location.", - "file": "RolloutsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RolloutsClient", + "shortName": "RolloutsClient" + }, "fullName": "google.cloud.compute.v1beta.RolloutsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Rollouts.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Rollouts", + "shortName": "Rollouts" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRolloutsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRolloutsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutIterator", - "client": { - "shortName": "RolloutsClient", - "fullName": "google.cloud.compute.v1beta.RolloutsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Rollouts.List", - "service": { - "shortName": "Rollouts", - "fullName": "google.cloud.compute.v1beta.Rollouts" - } - } + "shortName": "List" }, + "description": "List lists Rollouts in a given project and location.", + "file": "RolloutsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Rollouts_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of routers.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "RoutersClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RoutersScopedListPairIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Routers.AggregatedList", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of routers.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "RoutersClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Router resource.", - "file": "RoutersClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Routers.Delete", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Router resource.", + "file": "RoutersClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_DeleteNamedSet_sync", - "title": "compute DeleteNamedSet Sample", - "description": "DeleteNamedSet deletes Named Set", - "file": "RoutersClient/DeleteNamedSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNamedSet", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.DeleteNamedSet", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.DeleteNamedSet", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "DeleteNamedSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteNamedSetRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteNamedSetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "DeleteNamedSet", - "fullName": "google.cloud.compute.v1beta.Routers.DeleteNamedSet", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "DeleteNamedSet" }, + "description": "DeleteNamedSet deletes Named Set", + "file": "RoutersClient/DeleteNamedSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_DeleteNamedSet_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteNamedSet Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_DeleteRoutePolicy_sync", - "title": "compute DeleteRoutePolicy Sample", - "description": "DeleteRoutePolicy deletes Route Policy", - "file": "RoutersClient/DeleteRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.DeleteRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.DeleteRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "DeleteRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "DeleteRoutePolicy", - "fullName": "google.cloud.compute.v1beta.Routers.DeleteRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "DeleteRoutePolicy" }, + "description": "DeleteRoutePolicy deletes Route Policy", + "file": "RoutersClient/DeleteRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_DeleteRoutePolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute DeleteRoutePolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Router resource.", - "file": "RoutersClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Router", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Routers.Get", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Router resource.", + "file": "RoutersClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_GetNamedSet_sync", - "title": "compute GetNamedSet Sample", - "description": "GetNamedSet returns specified Named Set", - "file": "RoutersClient/GetNamedSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNamedSet", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.GetNamedSet", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.GetNamedSet", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "GetNamedSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNamedSetRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNamedSetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RoutersGetNamedSetResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "GetNamedSet", - "fullName": "google.cloud.compute.v1beta.Routers.GetNamedSet", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "GetNamedSet" }, + "description": "GetNamedSet returns specified Named Set", + "file": "RoutersClient/GetNamedSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_GetNamedSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetNamedSet Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_GetNatIpInfo_sync", - "title": "compute GetNatIpInfo Sample", - "description": "GetNatIpInfo retrieves runtime NAT IP information.", - "file": "RoutersClient/GetNatIpInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNatIpInfo", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.GetNatIpInfo", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.GetNatIpInfo", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "GetNatIpInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNatIpInfoRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNatIpInfoRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.NatIpInfoResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "GetNatIpInfo", - "fullName": "google.cloud.compute.v1beta.Routers.GetNatIpInfo", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "GetNatIpInfo" }, + "description": "GetNatIpInfo retrieves runtime NAT IP information.", + "file": "RoutersClient/GetNatIpInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_GetNatIpInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetNatIpInfo Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_GetNatMappingInfo_sync", - "title": "compute GetNatMappingInfo Sample", - "description": "GetNatMappingInfo retrieves runtime Nat mapping information of VM endpoints.", - "file": "RoutersClient/GetNatMappingInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNatMappingInfo", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.GetNatMappingInfo", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.GetNatMappingInfo", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "GetNatMappingInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetNatMappingInfoRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.GetNatMappingInfoRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VmEndpointNatMappingsIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "GetNatMappingInfo", - "fullName": "google.cloud.compute.v1beta.Routers.GetNatMappingInfo", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "GetNatMappingInfo" }, + "description": "GetNatMappingInfo retrieves runtime Nat mapping information of VM endpoints.", + "file": "RoutersClient/GetNatMappingInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_GetNatMappingInfo_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetNatMappingInfo Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_GetRoutePolicy_sync", - "title": "compute GetRoutePolicy Sample", - "description": "GetRoutePolicy returns specified Route Policy", - "file": "RoutersClient/GetRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.GetRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.GetRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "GetRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RoutersGetRoutePolicyResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "GetRoutePolicy", - "fullName": "google.cloud.compute.v1beta.Routers.GetRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "GetRoutePolicy" }, + "description": "GetRoutePolicy returns specified Route Policy", + "file": "RoutersClient/GetRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_GetRoutePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRoutePolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_GetRouterStatus_sync", - "title": "compute GetRouterStatus Sample", - "description": "GetRouterStatus retrieves runtime information of the specified router.", - "file": "RoutersClient/GetRouterStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRouterStatus", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.GetRouterStatus", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.GetRouterStatus", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "GetRouterStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRouterStatusRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRouterStatusRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RouterStatusResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "GetRouterStatus", - "fullName": "google.cloud.compute.v1beta.Routers.GetRouterStatus", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "GetRouterStatus" }, + "description": "GetRouterStatus retrieves runtime information of the specified router.", + "file": "RoutersClient/GetRouterStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_GetRouterStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRouterStatus Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a Router resource in the specified project and region using\nthe data included in the request.", - "file": "RoutersClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Routers.Insert", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "Insert" }, + "description": "Insert creates a Router resource in the specified project and region using\nthe data included in the request.", + "file": "RoutersClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Router resources available to the specified project.", - "file": "RoutersClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouterIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Routers.List", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Router resources available to the specified project.", + "file": "RoutersClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_ListBgpRoutes_sync", - "title": "compute ListBgpRoutes Sample", - "description": "ListBgpRoutes retrieves a list of router bgp routes available to the specified project.", - "file": "RoutersClient/ListBgpRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBgpRoutes", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.ListBgpRoutes", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.ListBgpRoutes", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "ListBgpRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListBgpRoutesRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListBgpRoutesRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BgpRouteIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "ListBgpRoutes", - "fullName": "google.cloud.compute.v1beta.Routers.ListBgpRoutes", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "ListBgpRoutes" }, + "description": "ListBgpRoutes retrieves a list of router bgp routes available to the specified project.", + "file": "RoutersClient/ListBgpRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_ListBgpRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListBgpRoutes Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_ListNamedSets_sync", - "title": "compute ListNamedSets Sample", - "description": "ListNamedSets retrieves a list of router named set subresources available to the\nspecified project.", - "file": "RoutersClient/ListNamedSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNamedSets", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.ListNamedSets", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.ListNamedSets", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "ListNamedSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListNamedSetsRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListNamedSetsRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NamedSetIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "ListNamedSets", - "fullName": "google.cloud.compute.v1beta.Routers.ListNamedSets", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "ListNamedSets" }, + "description": "ListNamedSets retrieves a list of router named set subresources available to the\nspecified project.", + "file": "RoutersClient/ListNamedSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_ListNamedSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListNamedSets Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_ListRoutePolicies_sync", - "title": "compute ListRoutePolicies Sample", - "description": "ListRoutePolicies retrieves a list of router route policy subresources available to the\nspecified project.", - "file": "RoutersClient/ListRoutePolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutePolicies", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.ListRoutePolicies", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.ListRoutePolicies", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "ListRoutePolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRoutePoliciesRoutersRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRoutePoliciesRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RoutePolicyIterator", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "ListRoutePolicies", - "fullName": "google.cloud.compute.v1beta.Routers.ListRoutePolicies", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "ListRoutePolicies" }, + "description": "ListRoutePolicies retrieves a list of router route policy subresources available to the\nspecified project.", + "file": "RoutersClient/ListRoutePolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_ListRoutePolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListRoutePolicies Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "RoutersClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Routers.Patch", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified Router resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "RoutersClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_PatchNamedSet_sync", - "title": "compute PatchNamedSet Sample", - "description": "PatchNamedSet patches Named Set", - "file": "RoutersClient/PatchNamedSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchNamedSet", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.PatchNamedSet", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.PatchNamedSet", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "PatchNamedSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchNamedSetRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchNamedSetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "PatchNamedSet", - "fullName": "google.cloud.compute.v1beta.Routers.PatchNamedSet", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "PatchNamedSet" }, + "description": "PatchNamedSet patches Named Set", + "file": "RoutersClient/PatchNamedSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_PatchNamedSet_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchNamedSet Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_PatchRoutePolicy_sync", - "title": "compute PatchRoutePolicy Sample", - "description": "PatchRoutePolicy patches Route Policy", - "file": "RoutersClient/PatchRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.PatchRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.PatchRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "PatchRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "PatchRoutePolicy", - "fullName": "google.cloud.compute.v1beta.Routers.PatchRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "PatchRoutePolicy" }, + "description": "PatchRoutePolicy patches Route Policy", + "file": "RoutersClient/PatchRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_PatchRoutePolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRoutePolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_Preview_sync", - "title": "compute Preview Sample", - "description": "Preview preview fields auto-generated during router create andupdate operations.\nCalling this method does NOT create or update the router.", - "file": "RoutersClient/Preview/main.go", - "language": "GO", "clientMethod": { - "shortName": "Preview", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.Preview", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.Preview", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "Preview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PreviewRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.PreviewRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.RoutersPreviewResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "Preview", - "fullName": "google.cloud.compute.v1beta.Routers.Preview", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "Preview" }, + "description": "Preview preview fields auto-generated during router create andupdate operations.\nCalling this method does NOT create or update the router.", + "file": "RoutersClient/Preview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_Preview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Preview Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RoutersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Routers.TestIamPermissions", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RoutersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified Router resource with the data included in the\nrequest. This method conforms toPUT semantics, which requests that the state of the\ntarget resource be created or replaced with the state defined by the\nrepresentation enclosed in the request message payload.", - "file": "RoutersClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.Routers.Update", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "Update" }, + "description": "Update updates the specified Router resource with the data included in the\nrequest. This method conforms toPUT semantics, which requests that the state of the\ntarget resource be created or replaced with the state defined by the\nrepresentation enclosed in the request message payload.", + "file": "RoutersClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_UpdateNamedSet_sync", - "title": "compute UpdateNamedSet Sample", - "description": "UpdateNamedSet updates or creates new Named Set", - "file": "RoutersClient/UpdateNamedSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNamedSet", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.UpdateNamedSet", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.UpdateNamedSet", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "UpdateNamedSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateNamedSetRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateNamedSetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "UpdateNamedSet", - "fullName": "google.cloud.compute.v1beta.Routers.UpdateNamedSet", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "UpdateNamedSet" }, + "description": "UpdateNamedSet updates or creates new Named Set", + "file": "RoutersClient/UpdateNamedSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_UpdateNamedSet_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateNamedSet Sample" }, { - "regionTag": "compute_v1beta_generated_Routers_UpdateRoutePolicy_sync", - "title": "compute UpdateRoutePolicy Sample", - "description": "UpdateRoutePolicy updates or creates new Route Policy", - "file": "RoutersClient/UpdateRoutePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRoutePolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutersClient", + "shortName": "RoutersClient" + }, "fullName": "google.cloud.compute.v1beta.RoutersClient.UpdateRoutePolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Routers.UpdateRoutePolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Routers", + "shortName": "Routers" + }, + "shortName": "UpdateRoutePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateRoutePolicyRouterRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateRoutePolicyRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutersClient", - "fullName": "google.cloud.compute.v1beta.RoutersClient" - }, - "method": { - "shortName": "UpdateRoutePolicy", - "fullName": "google.cloud.compute.v1beta.Routers.UpdateRoutePolicy", - "service": { - "shortName": "Routers", - "fullName": "google.cloud.compute.v1beta.Routers" - } - } + "shortName": "UpdateRoutePolicy" }, + "description": "UpdateRoutePolicy updates or creates new Route Policy", + "file": "RoutersClient/UpdateRoutePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routers_UpdateRoutePolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute UpdateRoutePolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Routes_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Route resource.", - "file": "RoutesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1beta.RoutesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Routes.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Routes", + "shortName": "Routes" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1beta.RoutesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Routes.Delete", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1beta.Routes" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Route resource.", + "file": "RoutesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routes_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Routes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Route resource.", - "file": "RoutesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1beta.RoutesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Routes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Routes", + "shortName": "Routes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Route", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1beta.RoutesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Routes.Get", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1beta.Routes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Route resource.", + "file": "RoutesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Routes_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a Route resource in the specified project using the data included\nin the request.", - "file": "RoutesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1beta.RoutesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Routes.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Routes", + "shortName": "Routes" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1beta.RoutesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Routes.Insert", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1beta.Routes" - } - } + "shortName": "Insert" }, + "description": "Insert creates a Route resource in the specified project using the data included\nin the request.", + "file": "RoutesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routes_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Routes_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Route resources available to the specified project.", - "file": "RoutesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1beta.RoutesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Routes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Routes", + "shortName": "Routes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListRoutesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteIterator", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1beta.RoutesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Routes.List", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1beta.Routes" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Route resources available to the specified project.", + "file": "RoutesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Routes_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "RoutesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.cloud.compute.v1beta.RoutesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Routes.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Routes", + "shortName": "Routes" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsRouteRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "RoutesClient", - "fullName": "google.cloud.compute.v1beta.RoutesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Routes.TestIamPermissions", - "service": { - "shortName": "Routes", - "fullName": "google.cloud.compute.v1beta.Routes" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "RoutesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Routes_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_AddRule_sync", - "title": "compute AddRule Sample", - "description": "AddRule inserts a rule into a security policy.", - "file": "SecurityPoliciesClient/AddRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddRule", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.AddRule", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.AddRule", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "AddRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.AddRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "AddRule", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.AddRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "AddRule" }, + "description": "AddRule inserts a rule into a security policy.", + "file": "SecurityPoliciesClient/AddRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_AddRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddRule Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all SecurityPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SecurityPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPoliciesScopedListPairIterator", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.AggregatedList", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all SecurityPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SecurityPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified policy.", - "file": "SecurityPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Delete", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified policy.", + "file": "SecurityPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get list all of the ordered rules present in a single specified policy.", - "file": "SecurityPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicy", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Get", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "Get" }, + "description": "Get list all of the ordered rules present in a single specified policy.", + "file": "SecurityPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_GetRule_sync", - "title": "compute GetRule Sample", - "description": "GetRule gets a rule at the specified priority.", - "file": "SecurityPoliciesClient/GetRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRule", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.GetRule", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.GetRule", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "GetRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPolicyRule", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "GetRule", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.GetRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "GetRule" }, + "description": "GetRule gets a rule at the specified priority.", + "file": "SecurityPoliciesClient/GetRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_GetRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetRule Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", - "file": "SecurityPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Insert", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new policy in the specified project using the data included in\nthe request.", + "file": "SecurityPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_List_sync", - "title": "compute List Sample", - "description": "List list all the policies that have been configured for the specified project.", - "file": "SecurityPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityPolicyIterator", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.List", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "List" }, + "description": "List list all the policies that have been configured for the specified project.", + "file": "SecurityPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_ListPreconfiguredExpressionSets_sync", - "title": "compute ListPreconfiguredExpressionSets Sample", - "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", - "file": "SecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPreconfiguredExpressionSets", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.ListPreconfiguredExpressionSets", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.ListPreconfiguredExpressionSets", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "ListPreconfiguredExpressionSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListPreconfiguredExpressionSetsSecurityPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListPreconfiguredExpressionSetsSecurityPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SecurityPoliciesListPreconfiguredExpressionSetsResponse", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "ListPreconfiguredExpressionSets", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.ListPreconfiguredExpressionSets", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "ListPreconfiguredExpressionSets" }, + "description": "ListPreconfiguredExpressionSets gets the current list of preconfigured Web Application Firewall (WAF)\nexpressions.", + "file": "SecurityPoliciesClient/ListPreconfiguredExpressionSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_ListPreconfiguredExpressionSets_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListPreconfiguredExpressionSets Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", - "file": "SecurityPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.Patch", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified policy with the data included in the request. To\nclear fields in the policy, leave the fields empty and specify them in the\nupdateMask. This cannot be used to be update the rules in the policy.\nPlease use the per rule methods like addRule, patchRule, and removeRule\ninstead.", + "file": "SecurityPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_PatchRule_sync", - "title": "compute PatchRule Sample", - "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", - "file": "SecurityPoliciesClient/PatchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchRule", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.PatchRule", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.PatchRule", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "PatchRule" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "PatchRule", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.PatchRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "PatchRule" }, + "description": "PatchRule patches a rule at the specified priority. To clear fields in the rule,\nleave the fields empty and specify them in the updateMask.", + "file": "SecurityPoliciesClient/PatchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_PatchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute PatchRule Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_RemoveRule_sync", - "title": "compute RemoveRule Sample", - "description": "RemoveRule deletes a rule at the specified priority.", - "file": "SecurityPoliciesClient/RemoveRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveRule", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.RemoveRule", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.RemoveRule", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "RemoveRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveRuleSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveRuleSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "RemoveRule", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.RemoveRule", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "RemoveRule" }, + "description": "RemoveRule deletes a rule at the specified priority.", + "file": "SecurityPoliciesClient/RemoveRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_RemoveRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveRule Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", - "file": "SecurityPoliciesClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.SetLabels", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a security policy. To learn more about labels,\nread the Labeling Resources\ndocumentation.", + "file": "SecurityPoliciesClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_SecurityPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SecurityPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient", + "shortName": "SecurityPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.SecurityPolicies", + "shortName": "SecurityPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSecurityPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSecurityPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SecurityPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SecurityPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies.TestIamPermissions", - "service": { - "shortName": "SecurityPolicies", - "fullName": "google.cloud.compute.v1beta.SecurityPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SecurityPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SecurityPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all ServiceAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "ServiceAttachmentsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListServiceAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListServiceAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceAttachmentsScopedListPairIterator", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.AggregatedList", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all ServiceAttachment resources,\nregional and global, available to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "ServiceAttachmentsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified ServiceAttachment in the given scope", - "file": "ServiceAttachmentsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Delete", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified ServiceAttachment in the given scope", + "file": "ServiceAttachmentsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified ServiceAttachment resource in the given scope.", - "file": "ServiceAttachmentsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.ServiceAttachment", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Get", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "Get" }, + "description": "Get returns the specified ServiceAttachment resource in the given scope.", + "file": "ServiceAttachmentsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "ServiceAttachmentsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.GetIamPolicy", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "ServiceAttachmentsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a ServiceAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "ServiceAttachmentsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Insert", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "Insert" }, + "description": "Insert creates a ServiceAttachment in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "ServiceAttachmentsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_List_sync", - "title": "compute List Sample", - "description": "List lists the ServiceAttachments for a project in the given scope.", - "file": "ServiceAttachmentsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListServiceAttachmentsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListServiceAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceAttachmentIterator", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.List", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "List" }, + "description": "List lists the ServiceAttachments for a project in the given scope.", + "file": "ServiceAttachmentsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified ServiceAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "ServiceAttachmentsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.Patch", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified ServiceAttachment resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "ServiceAttachmentsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "ServiceAttachmentsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.SetIamPolicy", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "ServiceAttachmentsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_ServiceAttachments_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "ServiceAttachmentsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient", + "shortName": "ServiceAttachmentsClient" + }, "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.ServiceAttachments", + "shortName": "ServiceAttachments" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsServiceAttachmentRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsServiceAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "ServiceAttachmentsClient", - "fullName": "google.cloud.compute.v1beta.ServiceAttachmentsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments.TestIamPermissions", - "service": { - "shortName": "ServiceAttachments", - "fullName": "google.cloud.compute.v1beta.ServiceAttachments" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "ServiceAttachmentsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ServiceAttachments_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SnapshotGroup resource", - "file": "SnapshotGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.Delete", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SnapshotGroup resource", + "file": "SnapshotGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified SnapshotGroup resource.", - "file": "SnapshotGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SnapshotGroup", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.Get", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "Get" }, + "description": "Get returns the specified SnapshotGroup resource.", + "file": "SnapshotGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "SnapshotGroupsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicySnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicySnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.GetIamPolicy", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "SnapshotGroupsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a snapshot group in the specified project using the data included\nin the request.", - "file": "SnapshotGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.Insert", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a snapshot group in the specified project using the data included\nin the request.", + "file": "SnapshotGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of SnapshotGroup resources contained within\nthe specified project.", - "file": "SnapshotGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSnapshotGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSnapshotGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotGroupIterator", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.List", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "List" }, + "description": "List retrieves the list of SnapshotGroup resources contained within\nthe specified project.", + "file": "SnapshotGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "SnapshotGroupsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicySnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicySnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.SetIamPolicy", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "SnapshotGroupsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotGroups_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SnapshotGroupsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient", + "shortName": "SnapshotGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotGroups", + "shortName": "SnapshotGroups" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSnapshotGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSnapshotGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SnapshotGroupsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotGroupsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups.TestIamPermissions", - "service": { - "shortName": "SnapshotGroups", - "fullName": "google.cloud.compute.v1beta.SnapshotGroups" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SnapshotGroupsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotGroups_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotSettingsService_Get_sync", - "title": "compute Get Sample", - "description": "Get get snapshot settings.", - "file": "SnapshotSettingsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotSettingsClient", + "shortName": "SnapshotSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotSettingsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService", + "shortName": "SnapshotSettingsService" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSnapshotSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSnapshotSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SnapshotSettings", - "client": { - "shortName": "SnapshotSettingsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotSettingsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService.Get", - "service": { - "shortName": "SnapshotSettingsService", - "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService" - } - } + "shortName": "Get" }, + "description": "Get get snapshot settings.", + "file": "SnapshotSettingsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotSettingsService_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_SnapshotSettingsService_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patch snapshot settings.", - "file": "SnapshotSettingsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotSettingsClient", + "shortName": "SnapshotSettingsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotSettingsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService", + "shortName": "SnapshotSettingsService" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSnapshotSettingRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSnapshotSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotSettingsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotSettingsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService.Patch", - "service": { - "shortName": "SnapshotSettingsService", - "fullName": "google.cloud.compute.v1beta.SnapshotSettingsService" - } - } + "shortName": "Patch" }, + "description": "Patch patch snapshot settings.", + "file": "SnapshotSettingsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SnapshotSettingsService_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of all of the snapshots in your project\nacross all regions and global scope.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SnapshotsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotsScopedListPairIterator", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Snapshots.AggregatedList", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of all of the snapshots in your project\nacross all regions and global scope.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SnapshotsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", - "file": "SnapshotsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Snapshots.Delete", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified Snapshot resource. Keep in mind that deleting\na single snapshot might not necessarily delete all the data on that\nsnapshot. If any data on the snapshot that is marked for deletion is\nneeded for subsequent snapshots, the data will be moved to the next\ncorresponding snapshot.\n\nFor more information, seeDeleting\nsnapshots.", + "file": "SnapshotsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Snapshot resource.", - "file": "SnapshotsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Snapshot", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Snapshots.Get", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Snapshot resource.", + "file": "SnapshotsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "SnapshotsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicySnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicySnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Snapshots.GetIamPolicy", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "SnapshotsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a snapshot in the specified project using the data included\nin the request. For regular snapshot creation, consider using this method\ninstead of disks.createSnapshot,\nas this method supports more features, such as creating snapshots in a\nproject different from the source disk project.", - "file": "SnapshotsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Snapshots.Insert", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "Insert" }, + "description": "Insert creates a snapshot in the specified project using the data included\nin the request. For regular snapshot creation, consider using this method\ninstead of disks.createSnapshot,\nas this method supports more features, such as creating snapshots in a\nproject different from the source disk project.", + "file": "SnapshotsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Snapshot resources contained within\nthe specified project.", - "file": "SnapshotsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotIterator", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Snapshots.List", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Snapshot resources contained within\nthe specified project.", + "file": "SnapshotsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "SnapshotsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicySnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicySnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Snapshots.SetIamPolicy", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "SnapshotsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a snapshot. To learn more about labels, read theLabeling\nResources documentation.", - "file": "SnapshotsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.Snapshots.SetLabels", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a snapshot. To learn more about labels, read theLabeling\nResources documentation.", + "file": "SnapshotsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_Snapshots_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SnapshotsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.SnapshotsClient", + "shortName": "SnapshotsClient" + }, "fullName": "google.cloud.compute.v1beta.SnapshotsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Snapshots.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Snapshots", + "shortName": "Snapshots" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSnapshotRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SnapshotsClient", - "fullName": "google.cloud.compute.v1beta.SnapshotsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Snapshots.TestIamPermissions", - "service": { - "shortName": "Snapshots", - "fullName": "google.cloud.compute.v1beta.Snapshots" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SnapshotsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Snapshots_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_SslCertificates_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all SslCertificate resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SslCertificatesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.SslCertificatesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.SslCertificates.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSslCertificatesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSslCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslCertificatesScopedListPairIterator", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.SslCertificatesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.SslCertificates.AggregatedList", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1beta.SslCertificates" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all SslCertificate resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SslCertificatesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslCertificates_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_SslCertificates_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SslCertificate resource.", - "file": "SslCertificatesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.SslCertificatesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.SslCertificates.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.SslCertificatesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.SslCertificates.Delete", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1beta.SslCertificates" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SslCertificate resource.", + "file": "SslCertificatesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslCertificates_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_SslCertificates_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified SslCertificate resource.", - "file": "SslCertificatesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.SslCertificatesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.SslCertificates.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslCertificate", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.SslCertificatesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.SslCertificates.Get", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1beta.SslCertificates" - } - } + "shortName": "Get" }, + "description": "Get returns the specified SslCertificate resource.", + "file": "SslCertificatesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslCertificates_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_SslCertificates_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a SslCertificate resource in the specified project using the data\nincluded in the request.", - "file": "SslCertificatesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.SslCertificatesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.SslCertificates.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.SslCertificatesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.SslCertificates.Insert", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1beta.SslCertificates" - } - } + "shortName": "Insert" }, + "description": "Insert creates a SslCertificate resource in the specified project using the data\nincluded in the request.", + "file": "SslCertificatesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslCertificates_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_SslCertificates_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of SslCertificate resources available to the specified\nproject.", - "file": "SslCertificatesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.SslCertificatesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.SslCertificates.List", + "service": { + "fullName": "google.cloud.compute.v1beta.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSslCertificatesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSslCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslCertificateIterator", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.SslCertificatesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.SslCertificates.List", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1beta.SslCertificates" - } - } + "shortName": "List" }, + "description": "List retrieves the list of SslCertificate resources available to the specified\nproject.", + "file": "SslCertificatesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslCertificates_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_SslCertificates_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SslCertificatesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.SslCertificatesClient", + "shortName": "SslCertificatesClient" + }, "fullName": "google.cloud.compute.v1beta.SslCertificatesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.SslCertificates.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.SslCertificates", + "shortName": "SslCertificates" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSslCertificateRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSslCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SslCertificatesClient", - "fullName": "google.cloud.compute.v1beta.SslCertificatesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.SslCertificates.TestIamPermissions", - "service": { - "shortName": "SslCertificates", - "fullName": "google.cloud.compute.v1beta.SslCertificates" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SslCertificatesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslCertificates_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all SslPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SslPoliciesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslPoliciesScopedListPairIterator", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.SslPolicies.AggregatedList", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all SslPolicy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SslPoliciesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", - "file": "SslPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.SslPolicies.Delete", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified SSL policy. The SSL policy resource can be deleted\nonly if it is not in use by any TargetHttpsProxy or TargetSslProxy\nresources.", + "file": "SslPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get lists all of the ordered rules present in a single specified policy.", - "file": "SslPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPolicy", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.SslPolicies.Get", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "Get" }, + "description": "Get lists all of the ordered rules present in a single specified policy.", + "file": "SslPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert returns the specified SSL policy resource.", - "file": "SslPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.SslPolicies.Insert", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert returns the specified SSL policy resource.", + "file": "SslPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all the SSL policies that have been configured for the specified\nproject.", - "file": "SslPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SslPolicyIterator", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.SslPolicies.List", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "List" }, + "description": "List lists all the SSL policies that have been configured for the specified\nproject.", + "file": "SslPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_ListAvailableFeatures_sync", - "title": "compute ListAvailableFeatures Sample", - "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", - "file": "SslPoliciesClient/ListAvailableFeatures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAvailableFeatures", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.ListAvailableFeatures", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.ListAvailableFeatures", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "ListAvailableFeatures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListAvailableFeaturesSslPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListAvailableFeaturesSslPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.SslPoliciesListAvailableFeaturesResponse", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "ListAvailableFeatures", - "fullName": "google.cloud.compute.v1beta.SslPolicies.ListAvailableFeatures", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "ListAvailableFeatures" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListAvailableFeatures lists all features that can be specified in the SSL policy when using\ncustom profile.", + "file": "SslPoliciesClient/ListAvailableFeatures/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_ListAvailableFeatures_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListAvailableFeatures Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified SSL policy with the data included in the request.", - "file": "SslPoliciesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.SslPolicies.Patch", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified SSL policy with the data included in the request.", + "file": "SslPoliciesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_SslPolicies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SslPoliciesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.SslPoliciesClient", + "shortName": "SslPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.SslPoliciesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.SslPolicies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.SslPolicies", + "shortName": "SslPolicies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSslPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSslPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SslPoliciesClient", - "fullName": "google.cloud.compute.v1beta.SslPoliciesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.SslPolicies.TestIamPermissions", - "service": { - "shortName": "SslPolicies", - "fullName": "google.cloud.compute.v1beta.SslPolicies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SslPoliciesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_SslPolicies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePoolTypes_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of storage pool types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "StoragePoolTypesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient", + "shortName": "StoragePoolTypesClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypes.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypes", + "shortName": "StoragePoolTypes" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListStoragePoolTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListStoragePoolTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolTypesScopedListPairIterator", - "client": { - "shortName": "StoragePoolTypesClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypes.AggregatedList", - "service": { - "shortName": "StoragePoolTypes", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypes" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of storage pool types.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "StoragePoolTypesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePoolTypes_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePoolTypes_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified storage pool type.", - "file": "StoragePoolTypesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient", + "shortName": "StoragePoolTypesClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypes.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypes", + "shortName": "StoragePoolTypes" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetStoragePoolTypeRequest", - "name": "req" + "name": "req", + "type": "computepb.GetStoragePoolTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.StoragePoolType", - "client": { - "shortName": "StoragePoolTypesClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypes.Get", - "service": { - "shortName": "StoragePoolTypes", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypes" - } - } + "shortName": "Get" }, + "description": "Get returns the specified storage pool type.", + "file": "StoragePoolTypesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePoolTypes_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePoolTypes_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of storage pool types available to the specified\nproject.", - "file": "StoragePoolTypesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient", + "shortName": "StoragePoolTypesClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypes.List", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePoolTypes", + "shortName": "StoragePoolTypes" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListStoragePoolTypesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListStoragePoolTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolTypeIterator", - "client": { - "shortName": "StoragePoolTypesClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypes.List", - "service": { - "shortName": "StoragePoolTypes", - "fullName": "google.cloud.compute.v1beta.StoragePoolTypes" - } - } + "shortName": "List" }, + "description": "List retrieves a list of storage pool types available to the specified\nproject.", + "file": "StoragePoolTypesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePoolTypes_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of storage pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "StoragePoolsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolsScopedListPairIterator", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.StoragePools.AggregatedList", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of storage pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "StoragePoolsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified storage pool. Deleting a storagePool\nremoves its data permanently and is irreversible. However, deleting a\nstoragePool does not delete any snapshots previously\nmade from the storagePool. You must separately delete\nsnapshots.", - "file": "StoragePoolsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.StoragePools.Delete", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified storage pool. Deleting a storagePool\nremoves its data permanently and is irreversible. However, deleting a\nstoragePool does not delete any snapshots previously\nmade from the storagePool. You must separately delete\nsnapshots.", + "file": "StoragePoolsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_Get_sync", - "title": "compute Get Sample", - "description": "Get returns a specified storage pool. Gets a list of available\nstorage pools by making a list() request.", - "file": "StoragePoolsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.StoragePool", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.StoragePools.Get", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "Get" }, + "description": "Get returns a specified storage pool. Gets a list of available\nstorage pools by making a list() request.", + "file": "StoragePoolsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "StoragePoolsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicyStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicyStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.StoragePools.GetIamPolicy", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "StoragePoolsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a storage pool in the specified project using the data\nin the request.", - "file": "StoragePoolsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.StoragePools.Insert", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "Insert" }, + "description": "Insert creates a storage pool in the specified project using the data\nin the request.", + "file": "StoragePoolsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of storage pools contained within\nthe specified zone.", - "file": "StoragePoolsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.List", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolIterator", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.StoragePools.List", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "List" }, + "description": "List retrieves a list of storage pools contained within\nthe specified zone.", + "file": "StoragePoolsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_ListDisks_sync", - "title": "compute ListDisks Sample", - "description": "ListDisks lists the disks in a specified storage pool.", - "file": "StoragePoolsClient/ListDisks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDisks", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.ListDisks", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.ListDisks", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "ListDisks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListDisksStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListDisksStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoragePoolDiskIterator", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "ListDisks", - "fullName": "google.cloud.compute.v1beta.StoragePools.ListDisks", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "ListDisks" }, + "description": "ListDisks lists the disks in a specified storage pool.", + "file": "StoragePoolsClient/ListDisks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_ListDisks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListDisks Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "StoragePoolsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicyStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicyStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.StoragePools.SetIamPolicy", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "StoragePoolsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "StoragePoolsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.StoragePools.TestIamPermissions", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "StoragePoolsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_StoragePools_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified storagePool with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask. Only the following fields can be modified: \npool_provisioned_capacity_gb, pool_provisioned_iops and\npool_provisioned_throughput.", - "file": "StoragePoolsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.StoragePoolsClient", + "shortName": "StoragePoolsClient" + }, "fullName": "google.cloud.compute.v1beta.StoragePoolsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.StoragePools.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.StoragePools", + "shortName": "StoragePools" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateStoragePoolRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "StoragePoolsClient", - "fullName": "google.cloud.compute.v1beta.StoragePoolsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.StoragePools.Update", - "service": { - "shortName": "StoragePools", - "fullName": "google.cloud.compute.v1beta.StoragePools" - } - } + "shortName": "Update" }, + "description": "Update updates the specified storagePool with the data included in the request.\nThe update is performed only on selected fields included as part\nof update-mask. Only the following fields can be modified: \npool_provisioned_capacity_gb, pool_provisioned_iops and\npool_provisioned_throughput.", + "file": "StoragePoolsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_StoragePools_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of subnetworks.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "SubnetworksClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListSubnetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubnetworksScopedListPairIterator", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.Subnetworks.AggregatedList", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of subnetworks.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "SubnetworksClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified subnetwork.", - "file": "SubnetworksClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.Subnetworks.Delete", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified subnetwork.", + "file": "SubnetworksClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_ExpandIpCidrRange_sync", - "title": "compute ExpandIpCidrRange Sample", - "description": "ExpandIpCidrRange expands the IP CIDR range of the subnetwork to a specified value.", - "file": "SubnetworksClient/ExpandIpCidrRange/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExpandIpCidrRange", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.ExpandIpCidrRange", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.ExpandIpCidrRange", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "ExpandIpCidrRange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ExpandIpCidrRangeSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.ExpandIpCidrRangeSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "ExpandIpCidrRange", - "fullName": "google.cloud.compute.v1beta.Subnetworks.ExpandIpCidrRange", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "ExpandIpCidrRange" }, + "description": "ExpandIpCidrRange expands the IP CIDR range of the subnetwork to a specified value.", + "file": "SubnetworksClient/ExpandIpCidrRange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_ExpandIpCidrRange_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ExpandIpCidrRange Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified subnetwork.", - "file": "SubnetworksClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Subnetwork", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Subnetworks.Get", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "Get" }, + "description": "Get returns the specified subnetwork.", + "file": "SubnetworksClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_GetIamPolicy_sync", - "title": "compute GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", - "file": "SubnetworksClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.GetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetIamPolicySubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.GetIamPolicySubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Subnetworks.GetIamPolicy", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "file": "SubnetworksClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a subnetwork in the specified project using the data\nincluded in the request.", - "file": "SubnetworksClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.Subnetworks.Insert", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "Insert" }, + "description": "Insert creates a subnetwork in the specified project using the data\nincluded in the request.", + "file": "SubnetworksClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of subnetworks available to the specified\nproject.", - "file": "SubnetworksClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListSubnetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubnetworkIterator", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Subnetworks.List", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "List" }, + "description": "List retrieves a list of subnetworks available to the specified\nproject.", + "file": "SubnetworksClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_ListUsable_sync", - "title": "compute ListUsable Sample", - "description": "ListUsable retrieves an aggregated list of all usable subnetworks in the project.", - "file": "SubnetworksClient/ListUsable/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsable", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.ListUsable", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.ListUsable", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "ListUsable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUsableSubnetworksRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUsableSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UsableSubnetworkIterator", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "ListUsable", - "fullName": "google.cloud.compute.v1beta.Subnetworks.ListUsable", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "ListUsable" }, + "description": "ListUsable retrieves an aggregated list of all usable subnetworks in the project.", + "file": "SubnetworksClient/ListUsable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_ListUsable_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute ListUsable Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified subnetwork with the data included in the request.\nOnly certain fields can be updated with a patch request\nas indicated in the field descriptions.\nYou must specify the current fingerprint of the\nsubnetwork resource being patched.", - "file": "SubnetworksClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.Subnetworks.Patch", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified subnetwork with the data included in the request.\nOnly certain fields can be updated with a patch request\nas indicated in the field descriptions.\nYou must specify the current fingerprint of the\nsubnetwork resource being patched.", + "file": "SubnetworksClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_SetIamPolicy_sync", - "title": "compute SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", - "file": "SubnetworksClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.SetIamPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetIamPolicySubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.SetIamPolicySubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Policy", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.compute.v1beta.Subnetworks.SetIamPolicy", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource.\nReplaces any existing policy.", + "file": "SubnetworksClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetIamPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_SetPrivateIpGoogleAccess_sync", - "title": "compute SetPrivateIpGoogleAccess Sample", - "description": "SetPrivateIpGoogleAccess set whether VMs in this subnet can access Google services without assigning\nexternal IP addresses through Private Google Access.", - "file": "SubnetworksClient/SetPrivateIpGoogleAccess/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetPrivateIpGoogleAccess", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.SetPrivateIpGoogleAccess", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.SetPrivateIpGoogleAccess", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "SetPrivateIpGoogleAccess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetPrivateIpGoogleAccessSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.SetPrivateIpGoogleAccessSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "SetPrivateIpGoogleAccess", - "fullName": "google.cloud.compute.v1beta.Subnetworks.SetPrivateIpGoogleAccess", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "SetPrivateIpGoogleAccess" }, + "description": "SetPrivateIpGoogleAccess set whether VMs in this subnet can access Google services without assigning\nexternal IP addresses through Private Google Access.", + "file": "SubnetworksClient/SetPrivateIpGoogleAccess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_SetPrivateIpGoogleAccess_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetPrivateIpGoogleAccess Sample" }, { - "regionTag": "compute_v1beta_generated_Subnetworks_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "SubnetworksClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.SubnetworksClient", + "shortName": "SubnetworksClient" + }, "fullName": "google.cloud.compute.v1beta.SubnetworksClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.Subnetworks.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.Subnetworks", + "shortName": "Subnetworks" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsSubnetworkRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsSubnetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "SubnetworksClient", - "fullName": "google.cloud.compute.v1beta.SubnetworksClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.Subnetworks.TestIamPermissions", - "service": { - "shortName": "Subnetworks", - "fullName": "google.cloud.compute.v1beta.Subnetworks" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "SubnetworksClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Subnetworks_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetGrpcProxy in the given scope", - "file": "TargetGrpcProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Delete", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetGrpcProxy in the given scope", + "file": "TargetGrpcProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetGrpcProxy resource in the given scope.", - "file": "TargetGrpcProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetGrpcProxy", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Get", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetGrpcProxy resource in the given scope.", + "file": "TargetGrpcProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetGrpcProxy in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "TargetGrpcProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Insert", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetGrpcProxy in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "TargetGrpcProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetGrpcProxies_List_sync", - "title": "compute List Sample", - "description": "List lists the TargetGrpcProxies for a project in the given scope.", - "file": "TargetGrpcProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetGrpcProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetGrpcProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetGrpcProxyIterator", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.List", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies" - } - } + "shortName": "List" }, + "description": "List lists the TargetGrpcProxies for a project in the given scope.", + "file": "TargetGrpcProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetGrpcProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified TargetGrpcProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "TargetGrpcProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.Patch", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified TargetGrpcProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "TargetGrpcProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetGrpcProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_TargetGrpcProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetGrpcProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient", + "shortName": "TargetGrpcProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies", + "shortName": "TargetGrpcProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetGrpcProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetGrpcProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetGrpcProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies.TestIamPermissions", - "service": { - "shortName": "TargetGrpcProxies", - "fullName": "google.cloud.compute.v1beta.TargetGrpcProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetGrpcProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetGrpcProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all TargetHttpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetHttpProxiesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetHttpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetHttpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpProxiesScopedListPairIterator", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.AggregatedList", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all TargetHttpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetHttpProxiesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpProxy resource.", - "file": "TargetHttpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Delete", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpProxy resource.", + "file": "TargetHttpProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpProxy resource.", - "file": "TargetHttpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpProxy", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Get", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpProxy resource.", + "file": "TargetHttpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpProxy resource in the specified\nproject using the data included in the request.", - "file": "TargetHttpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Insert", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpProxy resource in the specified\nproject using the data included in the request.", + "file": "TargetHttpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project.", - "file": "TargetHttpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetHttpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetHttpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpProxyIterator", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.List", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpProxy resources available\nto the specified project.", + "file": "TargetHttpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified TargetHttpProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "TargetHttpProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.Patch", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified TargetHttpProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "TargetHttpProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpProxy.", - "file": "TargetHttpProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.SetUrlMap", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpProxy.", + "file": "TargetHttpProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetHttpProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient", + "shortName": "TargetHttpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpProxies", + "shortName": "TargetHttpProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetHttpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetHttpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetHttpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies.TestIamPermissions", - "service": { - "shortName": "TargetHttpProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetHttpProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all TargetHttpsProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetHttpsProxiesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetHttpsProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetHttpsProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpsProxiesScopedListPairIterator", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.AggregatedList", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all TargetHttpsProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetHttpsProxiesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetHttpsProxy resource.", - "file": "TargetHttpsProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.Delete", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Delete" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Delete", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetHttpsProxy resource.", + "file": "TargetHttpsProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetHttpsProxy resource.", - "file": "TargetHttpsProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetHttpsProxy", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Get", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetHttpsProxy resource.", + "file": "TargetHttpsProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetHttpsProxy resource in the specified\nproject using the data included in the request.", - "file": "TargetHttpsProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Insert", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetHttpsProxy resource in the specified\nproject using the data included in the request.", + "file": "TargetHttpsProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetHttpsProxy resources\navailable to the specified project.", - "file": "TargetHttpsProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetHttpsProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetHttpsProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetHttpsProxyIterator", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.List", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetHttpsProxy resources\navailable to the specified project.", + "file": "TargetHttpsProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified TargetHttpsProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "TargetHttpsProxiesClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.Patch", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified TargetHttpsProxy resource with the data included in\nthe request. This method supports PATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "TargetHttpsProxiesClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetCertificateMap_sync", - "title": "compute SetCertificateMap Sample", - "description": "SetCertificateMap changes the Certificate Map for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCertificateMap", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.SetCertificateMap", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetCertificateMap", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCertificateMapTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCertificateMapTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetCertificateMap", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetCertificateMap", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "SetCertificateMap" }, + "description": "SetCertificateMap changes the Certificate Map for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetCertificateMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCertificateMap Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetQuicOverride_sync", - "title": "compute SetQuicOverride Sample", - "description": "SetQuicOverride sets the QUIC override policy for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetQuicOverride/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetQuicOverride", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.SetQuicOverride", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetQuicOverride", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetQuicOverride" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetQuicOverrideTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetQuicOverrideTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetQuicOverride", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetQuicOverride", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "SetQuicOverride" }, + "description": "SetQuicOverride sets the QUIC override policy for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetQuicOverride/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetQuicOverride_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetQuicOverride Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetSslCertificates_sync", - "title": "compute SetSslCertificates Sample", - "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetSslCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslCertificates", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.SetSslCertificates", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetSslCertificates", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetSslCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslCertificatesTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslCertificatesTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetSslCertificates", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetSslCertificates", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "SetSslCertificates" }, + "description": "SetSslCertificates replaces SslCertificates for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetSslCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetSslCertificates_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslCertificates Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetSslPolicy_sync", - "title": "compute SetSslPolicy Sample", - "description": "SetSslPolicy sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the HTTPS proxy load balancer. They do not affect the\nconnection between the load balancer and the backends.", - "file": "TargetHttpsProxiesClient/SetSslPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.SetSslPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetSslPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetSslPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslPolicyTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslPolicyTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetSslPolicy", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetSslPolicy", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "SetSslPolicy" }, + "description": "SetSslPolicy sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the HTTPS proxy load balancer. They do not affect the\nconnection between the load balancer and the backends.", + "file": "TargetHttpsProxiesClient/SetSslPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetSslPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetUrlMap_sync", - "title": "compute SetUrlMap Sample", - "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", - "file": "TargetHttpsProxiesClient/SetUrlMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUrlMap", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.SetUrlMap", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetUrlMap", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "SetUrlMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetUrlMapTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetUrlMapTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "SetUrlMap", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.SetUrlMap", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "SetUrlMap" }, + "description": "SetUrlMap changes the URL map for TargetHttpsProxy.", + "file": "TargetHttpsProxiesClient/SetUrlMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_SetUrlMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetUrlMap Sample" }, { - "regionTag": "compute_v1beta_generated_TargetHttpsProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetHttpsProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient", + "shortName": "TargetHttpsProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies", + "shortName": "TargetHttpsProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetHttpsProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetHttpsProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetHttpsProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies.TestIamPermissions", - "service": { - "shortName": "TargetHttpsProxies", - "fullName": "google.cloud.compute.v1beta.TargetHttpsProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetHttpsProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetHttpsProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of target instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetInstancesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetInstancesScopedListPairIterator", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.TargetInstances.AggregatedList", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of target instances.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetInstancesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetInstance resource.", - "file": "TargetInstancesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetInstances.Delete", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetInstance resource.", + "file": "TargetInstancesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetInstance resource.", - "file": "TargetInstancesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetInstance", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetInstances.Get", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetInstance resource.", + "file": "TargetInstancesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetInstance resource in the specified project and zone using\nthe data included in the request.", - "file": "TargetInstancesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetInstances.Insert", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetInstance resource in the specified project and zone using\nthe data included in the request.", + "file": "TargetInstancesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of TargetInstance resources available to the specified\nproject and zone.", - "file": "TargetInstancesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetInstancesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetInstanceIterator", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetInstances.List", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "List" }, + "description": "List retrieves a list of TargetInstance resources available to the specified\nproject and zone.", + "file": "TargetInstancesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target\ninstance. For more information, seeGoogle\nCloud Armor Overview", - "file": "TargetInstancesClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.TargetInstances.SetSecurityPolicy", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target\ninstance. For more information, seeGoogle\nCloud Armor Overview", + "file": "TargetInstancesClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_TargetInstances_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetInstancesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetInstancesClient", + "shortName": "TargetInstancesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetInstancesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetInstances.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetInstances", + "shortName": "TargetInstances" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetInstanceRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetInstancesClient", - "fullName": "google.cloud.compute.v1beta.TargetInstancesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetInstances.TestIamPermissions", - "service": { - "shortName": "TargetInstances", - "fullName": "google.cloud.compute.v1beta.TargetInstances" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetInstancesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetInstances_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_AddHealthCheck_sync", - "title": "compute AddHealthCheck Sample", - "description": "AddHealthCheck adds health check URLs to a target pool.", - "file": "TargetPoolsClient/AddHealthCheck/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddHealthCheck", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.AddHealthCheck", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.AddHealthCheck", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "AddHealthCheck" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddHealthCheckTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.AddHealthCheckTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "AddHealthCheck", - "fullName": "google.cloud.compute.v1beta.TargetPools.AddHealthCheck", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "AddHealthCheck" }, + "description": "AddHealthCheck adds health check URLs to a target pool.", + "file": "TargetPoolsClient/AddHealthCheck/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_AddHealthCheck_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddHealthCheck Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_AddInstance_sync", - "title": "compute AddInstance Sample", - "description": "AddInstance adds an instance to a target pool.", - "file": "TargetPoolsClient/AddInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddInstance", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.AddInstance", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.AddInstance", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "AddInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AddInstanceTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.AddInstanceTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "AddInstance", - "fullName": "google.cloud.compute.v1beta.TargetPools.AddInstance", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "AddInstance" }, + "description": "AddInstance adds an instance to a target pool.", + "file": "TargetPoolsClient/AddInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_AddInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AddInstance Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of target pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetPoolsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetPoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetPoolsScopedListPairIterator", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.TargetPools.AggregatedList", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of target pools.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetPoolsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified target pool.", - "file": "TargetPoolsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetPools.Delete", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified target pool.", + "file": "TargetPoolsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified target pool.", - "file": "TargetPoolsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetPool", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetPools.Get", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "Get" }, + "description": "Get returns the specified target pool.", + "file": "TargetPoolsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_GetHealth_sync", - "title": "compute GetHealth Sample", - "description": "GetHealth gets the most recent health check results for each IP for the\ninstance that is referenced by the given target pool.", - "file": "TargetPoolsClient/GetHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHealth", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.GetHealth", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.GetHealth", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "GetHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetHealthTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.GetHealthTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetPoolInstanceHealth", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "GetHealth", - "fullName": "google.cloud.compute.v1beta.TargetPools.GetHealth", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "GetHealth" }, + "description": "GetHealth gets the most recent health check results for each IP for the\ninstance that is referenced by the given target pool.", + "file": "TargetPoolsClient/GetHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_GetHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetHealth Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a target pool in the specified project and region using\nthe data included in the request.", - "file": "TargetPoolsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetPools.Insert", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "Insert" }, + "description": "Insert creates a target pool in the specified project and region using\nthe data included in the request.", + "file": "TargetPoolsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of target pools available to the specified\nproject and region.", - "file": "TargetPoolsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetPoolsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetPoolIterator", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetPools.List", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "List" }, + "description": "List retrieves a list of target pools available to the specified\nproject and region.", + "file": "TargetPoolsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_RemoveHealthCheck_sync", - "title": "compute RemoveHealthCheck Sample", - "description": "RemoveHealthCheck removes health check URL from a target pool.", - "file": "TargetPoolsClient/RemoveHealthCheck/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveHealthCheck", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.RemoveHealthCheck", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.RemoveHealthCheck", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "RemoveHealthCheck" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveHealthCheckTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveHealthCheckTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "RemoveHealthCheck", - "fullName": "google.cloud.compute.v1beta.TargetPools.RemoveHealthCheck", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "RemoveHealthCheck" }, + "description": "RemoveHealthCheck removes health check URL from a target pool.", + "file": "TargetPoolsClient/RemoveHealthCheck/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_RemoveHealthCheck_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveHealthCheck Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_RemoveInstance_sync", - "title": "compute RemoveInstance Sample", - "description": "RemoveInstance removes instance URL from a target pool.", - "file": "TargetPoolsClient/RemoveInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveInstance", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.RemoveInstance", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.RemoveInstance", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "RemoveInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.RemoveInstanceTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.RemoveInstanceTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "RemoveInstance", - "fullName": "google.cloud.compute.v1beta.TargetPools.RemoveInstance", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "RemoveInstance" }, + "description": "RemoveInstance removes instance URL from a target pool.", + "file": "TargetPoolsClient/RemoveInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_RemoveInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute RemoveInstance Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_SetBackup_sync", - "title": "compute SetBackup Sample", - "description": "SetBackup changes a backup target pool's configurations.", - "file": "TargetPoolsClient/SetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetBackup", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.SetBackup", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.SetBackup", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "SetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetBackupTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.SetBackupTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "SetBackup", - "fullName": "google.cloud.compute.v1beta.TargetPools.SetBackup", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "SetBackup" }, + "description": "SetBackup changes a backup target pool's configurations.", + "file": "TargetPoolsClient/SetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_SetBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetBackup Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_SetSecurityPolicy_sync", - "title": "compute SetSecurityPolicy Sample", - "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target pool.\nFor more information, seeGoogle\nCloud Armor Overview", - "file": "TargetPoolsClient/SetSecurityPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSecurityPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.SetSecurityPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.SetSecurityPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "SetSecurityPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSecurityPolicyTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSecurityPolicyTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "SetSecurityPolicy", - "fullName": "google.cloud.compute.v1beta.TargetPools.SetSecurityPolicy", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "SetSecurityPolicy" }, + "description": "SetSecurityPolicy sets the Google Cloud Armor security policy for the specified target pool.\nFor more information, seeGoogle\nCloud Armor Overview", + "file": "TargetPoolsClient/SetSecurityPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_SetSecurityPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSecurityPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_TargetPools_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetPoolsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetPoolsClient", + "shortName": "TargetPoolsClient" + }, "fullName": "google.cloud.compute.v1beta.TargetPoolsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetPools.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetPools", + "shortName": "TargetPools" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetPoolRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetPoolsClient", - "fullName": "google.cloud.compute.v1beta.TargetPoolsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetPools.TestIamPermissions", - "service": { - "shortName": "TargetPools", - "fullName": "google.cloud.compute.v1beta.TargetPools" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetPoolsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetPools_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetSslProxy resource.", - "file": "TargetSslProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.Delete", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified TargetSslProxy resource.", + "file": "TargetSslProxiesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetSslProxy resource.", - "file": "TargetSslProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetSslProxy", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.Get", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetSslProxy resource.", + "file": "TargetSslProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetSslProxy resource in the specified project using\nthe data included in the request.", - "file": "TargetSslProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.Insert", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetSslProxy resource in the specified project using\nthe data included in the request.", + "file": "TargetSslProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetSslProxy resources\navailable to the specified project.", - "file": "TargetSslProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetSslProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetSslProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSslProxyIterator", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.List", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetSslProxy resources\navailable to the specified project.", + "file": "TargetSslProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_SetBackendService_sync", - "title": "compute SetBackendService Sample", - "description": "SetBackendService changes the BackendService for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetBackendService/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetBackendService", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.SetBackendService", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetBackendService", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetBackendService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetBackendServiceTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetBackendServiceTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetBackendService", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetBackendService", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "SetBackendService" }, + "description": "SetBackendService changes the BackendService for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetBackendService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_SetBackendService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetBackendService Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_SetCertificateMap_sync", - "title": "compute SetCertificateMap Sample", - "description": "SetCertificateMap changes the Certificate Map for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetCertificateMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetCertificateMap", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.SetCertificateMap", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetCertificateMap", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetCertificateMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetCertificateMapTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetCertificateMapTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetCertificateMap", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetCertificateMap", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "SetCertificateMap" }, + "description": "SetCertificateMap changes the Certificate Map for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetCertificateMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_SetCertificateMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetCertificateMap Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_SetProxyHeader_sync", - "title": "compute SetProxyHeader Sample", - "description": "SetProxyHeader changes the ProxyHeaderType for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetProxyHeader/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetProxyHeader", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.SetProxyHeader", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetProxyHeader", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetProxyHeader" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetProxyHeaderTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetProxyHeaderTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetProxyHeader", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetProxyHeader", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "SetProxyHeader" }, + "description": "SetProxyHeader changes the ProxyHeaderType for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetProxyHeader/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_SetProxyHeader_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetProxyHeader Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_SetSslCertificates_sync", - "title": "compute SetSslCertificates Sample", - "description": "SetSslCertificates changes SslCertificates for TargetSslProxy.", - "file": "TargetSslProxiesClient/SetSslCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslCertificates", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.SetSslCertificates", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetSslCertificates", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetSslCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslCertificatesTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslCertificatesTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetSslCertificates", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetSslCertificates", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "SetSslCertificates" }, + "description": "SetSslCertificates changes SslCertificates for TargetSslProxy.", + "file": "TargetSslProxiesClient/SetSslCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_SetSslCertificates_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslCertificates Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_SetSslPolicy_sync", - "title": "compute SetSslPolicy Sample", - "description": "SetSslPolicy sets the SSL policy for TargetSslProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the load balancer. They do not affect the\nconnection between the load balancer and the backends.", - "file": "TargetSslProxiesClient/SetSslPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSslPolicy", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.SetSslPolicy", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetSslPolicy", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "SetSslPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetSslPolicyTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetSslPolicyTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "SetSslPolicy", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.SetSslPolicy", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "SetSslPolicy" }, + "description": "SetSslPolicy sets the SSL policy for TargetSslProxy. The SSL policy specifies the\nserver-side support for SSL features. This affects connections between\nclients and the load balancer. They do not affect the\nconnection between the load balancer and the backends.", + "file": "TargetSslProxiesClient/SetSslPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_SetSslPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetSslPolicy Sample" }, { - "regionTag": "compute_v1beta_generated_TargetSslProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetSslProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient", + "shortName": "TargetSslProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetSslProxies", + "shortName": "TargetSslProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetSslProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetSslProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetSslProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetSslProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies.TestIamPermissions", - "service": { - "shortName": "TargetSslProxies", - "fullName": "google.cloud.compute.v1beta.TargetSslProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetSslProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetSslProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all TargetTcpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetTcpProxiesClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetTcpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetTcpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetTcpProxiesScopedListPairIterator", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.AggregatedList", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all TargetTcpProxy resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetTcpProxiesClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified TargetTcpProxy resource.", - "file": "TargetTcpProxiesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.Delete", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "Delete" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "Delete deletes the specified TargetTcpProxy resource.", + "file": "TargetTcpProxiesClient/Delete/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_Delete_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified TargetTcpProxy resource.", - "file": "TargetTcpProxiesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetTcpProxy", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.Get", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "Get" }, + "description": "Get returns the specified TargetTcpProxy resource.", + "file": "TargetTcpProxiesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a TargetTcpProxy resource in the specified project using\nthe data included in the request.", - "file": "TargetTcpProxiesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.Insert", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a TargetTcpProxy resource in the specified project using\nthe data included in the request.", + "file": "TargetTcpProxiesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of TargetTcpProxy resources\navailable to the specified project.", - "file": "TargetTcpProxiesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetTcpProxiesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetTcpProxiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetTcpProxyIterator", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.List", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "List" }, + "description": "List retrieves the list of TargetTcpProxy resources\navailable to the specified project.", + "file": "TargetTcpProxiesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_SetBackendService_sync", - "title": "compute SetBackendService Sample", - "description": "SetBackendService changes the BackendService for TargetTcpProxy.", - "file": "TargetTcpProxiesClient/SetBackendService/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetBackendService", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.SetBackendService", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.SetBackendService", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "SetBackendService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetBackendServiceTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetBackendServiceTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "SetBackendService", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.SetBackendService", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "SetBackendService" }, + "description": "SetBackendService changes the BackendService for TargetTcpProxy.", + "file": "TargetTcpProxiesClient/SetBackendService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_SetBackendService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetBackendService Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_SetProxyHeader_sync", - "title": "compute SetProxyHeader Sample", - "description": "SetProxyHeader changes the ProxyHeaderType for TargetTcpProxy.", - "file": "TargetTcpProxiesClient/SetProxyHeader/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetProxyHeader", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.SetProxyHeader", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.SetProxyHeader", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "SetProxyHeader" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetProxyHeaderTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.SetProxyHeaderTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "SetProxyHeader", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.SetProxyHeader", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "SetProxyHeader" }, + "description": "SetProxyHeader changes the ProxyHeaderType for TargetTcpProxy.", + "file": "TargetTcpProxiesClient/SetProxyHeader/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_SetProxyHeader_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetProxyHeader Sample" }, { - "regionTag": "compute_v1beta_generated_TargetTcpProxies_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetTcpProxiesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient", + "shortName": "TargetTcpProxiesClient" + }, "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetTcpProxies", + "shortName": "TargetTcpProxies" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetTcpProxyRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetTcpProxyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetTcpProxiesClient", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxiesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies.TestIamPermissions", - "service": { - "shortName": "TargetTcpProxies", - "fullName": "google.cloud.compute.v1beta.TargetTcpProxies" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetTcpProxiesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetTcpProxies_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of target VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "TargetVpnGatewaysClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListTargetVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListTargetVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetVpnGatewaysScopedListPairIterator", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.AggregatedList", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of target VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "TargetVpnGatewaysClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified target VPN gateway.", - "file": "TargetVpnGatewaysClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.Delete", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified target VPN gateway.", + "file": "TargetVpnGatewaysClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified target VPN gateway.", - "file": "TargetVpnGatewaysClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TargetVpnGateway", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.Get", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "Get" }, + "description": "Get returns the specified target VPN gateway.", + "file": "TargetVpnGatewaysClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a target VPN gateway in the specified project and region using\nthe data included in the request.", - "file": "TargetVpnGatewaysClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.Insert", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "Insert" }, + "description": "Insert creates a target VPN gateway in the specified project and region using\nthe data included in the request.", + "file": "TargetVpnGatewaysClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of target VPN gateways available to the specified\nproject and region.", - "file": "TargetVpnGatewaysClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.List", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListTargetVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.ListTargetVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetVpnGatewayIterator", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.List", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "List" }, + "description": "List retrieves a list of target VPN gateways available to the specified\nproject and region.", + "file": "TargetVpnGatewaysClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling\nResources documentation.", - "file": "TargetVpnGatewaysClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.SetLabels", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a TargetVpnGateway. To learn more about labels, read theLabeling\nResources documentation.", + "file": "TargetVpnGatewaysClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_TargetVpnGateways_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "TargetVpnGatewaysClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient", + "shortName": "TargetVpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.TargetVpnGateways", + "shortName": "TargetVpnGateways" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsTargetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsTargetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "TargetVpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.TargetVpnGatewaysClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways.TestIamPermissions", - "service": { - "shortName": "TargetVpnGateways", - "fullName": "google.cloud.compute.v1beta.TargetVpnGateways" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "TargetVpnGatewaysClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_TargetVpnGateways_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves the list of all UrlMap resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "UrlMapsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListUrlMapsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListUrlMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UrlMapsScopedListPairIterator", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.UrlMaps.AggregatedList", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves the list of all UrlMap resources, regional and global,\navailable to the specified project.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "UrlMapsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified UrlMap resource.", - "file": "UrlMapsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.UrlMaps.Delete", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified UrlMap resource.", + "file": "UrlMapsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified UrlMap resource.", - "file": "UrlMapsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.GetUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMap", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.UrlMaps.Get", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "Get" }, + "description": "Get returns the specified UrlMap resource.", + "file": "UrlMapsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", - "file": "UrlMapsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.UrlMaps.Insert", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "Insert" }, + "description": "Insert creates a UrlMap resource in the specified project using\nthe data included in the request.", + "file": "UrlMapsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_InvalidateCache_sync", - "title": "compute InvalidateCache Sample", - "description": "InvalidateCache initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", - "file": "UrlMapsClient/InvalidateCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "InvalidateCache", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.InvalidateCache", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.InvalidateCache", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "InvalidateCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InvalidateCacheUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.InvalidateCacheUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "InvalidateCache", - "fullName": "google.cloud.compute.v1beta.UrlMaps.InvalidateCache", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "InvalidateCache" }, + "description": "InvalidateCache initiates a cache invalidation operation, invalidating the specified path,\nscoped to the specified UrlMap.\n\nFor more information, see [Invalidating cached\ncontent](/cdn/docs/invalidating-cached-content).", + "file": "UrlMapsClient/InvalidateCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_InvalidateCache_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute InvalidateCache Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of UrlMap resources available to the specified\nproject.", - "file": "UrlMapsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.List", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListUrlMapsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListUrlMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UrlMapIterator", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.UrlMaps.List", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "List" }, + "description": "List retrieves the list of UrlMap resources available to the specified\nproject.", + "file": "UrlMapsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", - "file": "UrlMapsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.UrlMaps.Patch", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "Patch" }, + "description": "Patch patches the specified UrlMap resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and uses theJSON merge\npatch format and processing rules.", + "file": "UrlMapsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "UrlMapsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.UrlMaps.TestIamPermissions", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "UrlMapsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_Update_sync", - "title": "compute Update Sample", - "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", - "file": "UrlMapsClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.UrlMaps.Update", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "Update" }, + "description": "Update updates the specified UrlMap resource with the data included in the\nrequest.", + "file": "UrlMapsClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_UrlMaps_Validate_sync", - "title": "compute Validate Sample", - "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", - "file": "UrlMapsClient/Validate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Validate", + "client": { + "fullName": "google.cloud.compute.v1beta.UrlMapsClient", + "shortName": "UrlMapsClient" + }, "fullName": "google.cloud.compute.v1beta.UrlMapsClient.Validate", + "method": { + "fullName": "google.cloud.compute.v1beta.UrlMaps.Validate", + "service": { + "fullName": "google.cloud.compute.v1beta.UrlMaps", + "shortName": "UrlMaps" + }, + "shortName": "Validate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ValidateUrlMapRequest", - "name": "req" + "name": "req", + "type": "computepb.ValidateUrlMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.UrlMapsValidateResponse", - "client": { - "shortName": "UrlMapsClient", - "fullName": "google.cloud.compute.v1beta.UrlMapsClient" - }, - "method": { - "shortName": "Validate", - "fullName": "google.cloud.compute.v1beta.UrlMaps.Validate", - "service": { - "shortName": "UrlMaps", - "fullName": "google.cloud.compute.v1beta.UrlMaps" - } - } + "shortName": "Validate" }, + "description": "Validate runs static validation for the UrlMap. In particular, the tests of the\nprovided UrlMap will be run. Calling this method does NOT create the\nUrlMap.", + "file": "UrlMapsClient/Validate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_UrlMaps_Validate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Validate Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "VpnGatewaysClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnGatewaysScopedListPairIterator", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.VpnGateways.AggregatedList", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of VPN gateways.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "VpnGatewaysClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified VPN gateway.", - "file": "VpnGatewaysClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.VpnGateways.Delete", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified VPN gateway.", + "file": "VpnGatewaysClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified VPN gateway.", - "file": "VpnGatewaysClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.VpnGateway", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.VpnGateways.Get", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "Get" }, + "description": "Get returns the specified VPN gateway.", + "file": "VpnGatewaysClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_GetStatus_sync", - "title": "compute GetStatus Sample", - "description": "GetStatus returns the status for the specified VPN gateway.", - "file": "VpnGatewaysClient/GetStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStatus", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.GetStatus", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.GetStatus", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "GetStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetStatusVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.GetStatusVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.VpnGatewaysGetStatusResponse", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "GetStatus", - "fullName": "google.cloud.compute.v1beta.VpnGateways.GetStatus", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "GetStatus" }, + "description": "GetStatus returns the status for the specified VPN gateway.", + "file": "VpnGatewaysClient/GetStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_GetStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute GetStatus Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a VPN gateway in the specified project and region using\nthe data included in the request.", - "file": "VpnGatewaysClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.VpnGateways.Insert", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "Insert" }, + "description": "Insert creates a VPN gateway in the specified project and region using\nthe data included in the request.", + "file": "VpnGatewaysClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of VPN gateways available to the specified\nproject and region.", - "file": "VpnGatewaysClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.List", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListVpnGatewaysRequest", - "name": "req" + "name": "req", + "type": "computepb.ListVpnGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnGatewayIterator", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.VpnGateways.List", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "List" }, + "description": "List retrieves a list of VPN gateways available to the specified\nproject and region.", + "file": "VpnGatewaysClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a VpnGateway. To learn more about labels, read theLabeling\nResources documentation.", - "file": "VpnGatewaysClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.VpnGateways.SetLabels", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a VpnGateway. To learn more about labels, read theLabeling\nResources documentation.", + "file": "VpnGatewaysClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_VpnGateways_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "VpnGatewaysClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient", + "shortName": "VpnGatewaysClient" + }, "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnGateways.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnGateways", + "shortName": "VpnGateways" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsVpnGatewayRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsVpnGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "VpnGatewaysClient", - "fullName": "google.cloud.compute.v1beta.VpnGatewaysClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.VpnGateways.TestIamPermissions", - "service": { - "shortName": "VpnGateways", - "fullName": "google.cloud.compute.v1beta.VpnGateways" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "VpnGatewaysClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnGateways_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_AggregatedList_sync", - "title": "compute AggregatedList Sample", - "description": "AggregatedList retrieves an aggregated list of VPN tunnels.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", - "file": "VpnTunnelsClient/AggregatedList/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedList", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.AggregatedList", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.AggregatedList", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "AggregatedList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.AggregatedListVpnTunnelsRequest", - "name": "req" + "name": "req", + "type": "computepb.AggregatedListVpnTunnelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnTunnelsScopedListPairIterator", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "AggregatedList", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.AggregatedList", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" - } - } + "shortName": "AggregatedList" }, + "description": "AggregatedList retrieves an aggregated list of VPN tunnels.\n\nTo prevent failure, Google recommends that you set the\n`returnPartialSuccess` parameter to `true`.", + "file": "VpnTunnelsClient/AggregatedList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_AggregatedList_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute AggregatedList Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified VpnTunnel resource.", - "file": "VpnTunnelsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*Operation", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.Delete", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*Operation", + "shortName": "Delete" }, + "description": "Delete deletes the specified VpnTunnel resource.", + "file": "VpnTunnelsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified VpnTunnel resource.", - "file": "VpnTunnelsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.GetVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.VpnTunnel", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.Get", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" - } - } + "shortName": "Get" }, + "description": "Get returns the specified VpnTunnel resource.", + "file": "VpnTunnelsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a VpnTunnel resource in the specified project and region using\nthe data included in the request.", - "file": "VpnTunnelsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.Insert", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" - } - } + "shortName": "Insert" }, + "description": "Insert creates a VpnTunnel resource in the specified project and region using\nthe data included in the request.", + "file": "VpnTunnelsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of VpnTunnel resources contained in the specified\nproject and region.", - "file": "VpnTunnelsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.List", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListVpnTunnelsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListVpnTunnelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnTunnelIterator", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.List", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" - } - } + "shortName": "List" }, + "description": "List retrieves a list of VpnTunnel resources contained in the specified\nproject and region.", + "file": "VpnTunnelsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_SetLabels_sync", - "title": "compute SetLabels Sample", - "description": "SetLabels sets the labels on a VpnTunnel. To learn more about labels, read theLabeling\nResources documentation.", - "file": "VpnTunnelsClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.SetLabels", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.SetLabels", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.SetLabelsVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.SetLabelsVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.SetLabels", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets the labels on a VpnTunnel. To learn more about labels, read theLabeling\nResources documentation.", + "file": "VpnTunnelsClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_SetLabels_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute SetLabels Sample" }, { - "regionTag": "compute_v1beta_generated_VpnTunnels_TestIamPermissions_sync", - "title": "compute TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", - "file": "VpnTunnelsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient", + "shortName": "VpnTunnelsClient" + }, "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels.TestIamPermissions", + "service": { + "fullName": "google.cloud.compute.v1beta.VpnTunnels", + "shortName": "VpnTunnels" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.TestIamPermissionsVpnTunnelRequest", - "name": "req" + "name": "req", + "type": "computepb.TestIamPermissionsVpnTunnelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.TestPermissionsResponse", - "client": { - "shortName": "VpnTunnelsClient", - "fullName": "google.cloud.compute.v1beta.VpnTunnelsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.compute.v1beta.VpnTunnels.TestIamPermissions", - "service": { - "shortName": "VpnTunnels", - "fullName": "google.cloud.compute.v1beta.VpnTunnels" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.", + "file": "VpnTunnelsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_VpnTunnels_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute TestIamPermissions Sample" }, { - "regionTag": "compute_v1beta_generated_WireGroups_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified wire group in the given scope.", - "file": "WireGroupsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.WireGroupsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.WireGroups.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1beta.WireGroupsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.WireGroups.Delete", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1beta.WireGroups" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified wire group in the given scope.", + "file": "WireGroupsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_WireGroups_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_WireGroups_Get_sync", - "title": "compute Get Sample", - "description": "Get gets the specified wire group resource in the given scope.", - "file": "WireGroupsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.WireGroupsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.WireGroups.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.GetWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.WireGroup", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1beta.WireGroupsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.WireGroups.Get", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1beta.WireGroups" - } - } + "shortName": "Get" }, + "description": "Get gets the specified wire group resource in the given scope.", + "file": "WireGroupsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_WireGroups_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_WireGroups_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a wire group in the specified project in the given scope\nusing the parameters that are included in the request.", - "file": "WireGroupsClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.WireGroupsClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.WireGroups.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1beta.WireGroupsClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.WireGroups.Insert", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1beta.WireGroups" - } - } + "shortName": "Insert" }, + "description": "Insert creates a wire group in the specified project in the given scope\nusing the parameters that are included in the request.", + "file": "WireGroupsClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_WireGroups_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_WireGroups_List_sync", - "title": "compute List Sample", - "description": "List lists the wire groups for a project in the given scope.", - "file": "WireGroupsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.WireGroupsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.WireGroups.List", + "service": { + "fullName": "google.cloud.compute.v1beta.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListWireGroupsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListWireGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WireGroupIterator", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1beta.WireGroupsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.WireGroups.List", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1beta.WireGroups" - } - } + "shortName": "List" }, + "description": "List lists the wire groups for a project in the given scope.", + "file": "WireGroupsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_WireGroups_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_WireGroups_Patch_sync", - "title": "compute Patch Sample", - "description": "Patch updates the specified wire group resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", - "file": "WireGroupsClient/Patch/main.go", - "language": "GO", "clientMethod": { - "shortName": "Patch", + "client": { + "fullName": "google.cloud.compute.v1beta.WireGroupsClient", + "shortName": "WireGroupsClient" + }, "fullName": "google.cloud.compute.v1beta.WireGroupsClient.Patch", + "method": { + "fullName": "google.cloud.compute.v1beta.WireGroups.Patch", + "service": { + "fullName": "google.cloud.compute.v1beta.WireGroups", + "shortName": "WireGroups" + }, + "shortName": "Patch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.PatchWireGroupRequest", - "name": "req" + "name": "req", + "type": "computepb.PatchWireGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "WireGroupsClient", - "fullName": "google.cloud.compute.v1beta.WireGroupsClient" - }, - "method": { - "shortName": "Patch", - "fullName": "google.cloud.compute.v1beta.WireGroups.Patch", - "service": { - "shortName": "WireGroups", - "fullName": "google.cloud.compute.v1beta.WireGroups" - } - } + "shortName": "Patch" }, + "description": "Patch updates the specified wire group resource with the data included in the\nrequest. This method supportsPATCH\nsemantics and usesJSON merge\npatch format and processing rules.", + "file": "WireGroupsClient/Patch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_WireGroups_Patch_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Patch Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneOperations_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes the specified zone-specific Operations resource.", - "file": "ZoneOperationsClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteZoneOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteZoneOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.DeleteZoneOperationResponse", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.ZoneOperations.Delete", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1beta.ZoneOperations" - } - } + "shortName": "Delete" }, + "description": "Delete deletes the specified zone-specific Operations resource.", + "file": "ZoneOperationsClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneOperations_Delete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneOperations_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves the specified zone-specific Operations resource.", - "file": "ZoneOperationsClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetZoneOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.GetZoneOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ZoneOperations.Get", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1beta.ZoneOperations" - } - } + "shortName": "Get" }, + "description": "Get retrieves the specified zone-specific Operations resource.", + "file": "ZoneOperationsClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneOperations_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneOperations_List_sync", - "title": "compute List Sample", - "description": "List retrieves a list of Operation resources contained within\nthe specified zone.", - "file": "ZoneOperationsClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListZoneOperationsRequest", - "name": "req" + "name": "req", + "type": "computepb.ListZoneOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ZoneOperations.List", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1beta.ZoneOperations" - } - } + "shortName": "List" }, + "description": "List retrieves a list of Operation resources contained within\nthe specified zone.", + "file": "ZoneOperationsClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneOperations_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneOperations_Wait_sync", - "title": "compute Wait Sample", - "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method waits for no more than the\n2 minutes and then returns the current state of the\noperation, which might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", - "file": "ZoneOperationsClient/Wait/main.go", - "language": "GO", "clientMethod": { - "shortName": "Wait", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient", + "shortName": "ZoneOperationsClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient.Wait", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations.Wait", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneOperations", + "shortName": "ZoneOperations" + }, + "shortName": "Wait" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.WaitZoneOperationRequest", - "name": "req" + "name": "req", + "type": "computepb.WaitZoneOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Operation", - "client": { - "shortName": "ZoneOperationsClient", - "fullName": "google.cloud.compute.v1beta.ZoneOperationsClient" - }, - "method": { - "shortName": "Wait", - "fullName": "google.cloud.compute.v1beta.ZoneOperations.Wait", - "service": { - "shortName": "ZoneOperations", - "fullName": "google.cloud.compute.v1beta.ZoneOperations" - } - } + "shortName": "Wait" }, + "description": "Wait waits for the specified Operation resource to return as `DONE`\nor for the request to approach the 2 minute deadline, and retrieves the\nspecified Operation resource. This method waits for no more than the\n2 minutes and then returns the current state of the\noperation, which might be `DONE` or still in progress.\n\nThis method is called on a best-effort basis. Specifically: \n\n\n- In uncommon cases, when the server is overloaded, the request might\nreturn before the default deadline is reached, or might return after zero\nseconds.\n- If the default deadline is reached, there is no guarantee that the\noperation is actually done when the method returns. Be prepared to retry\nif the operation is not `DONE`.", + "file": "ZoneOperationsClient/Wait/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneOperations_Wait_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Wait Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Delete_sync", - "title": "compute Delete Sample", - "description": "Delete deletes a specified zone VM extension policy.", - "file": "ZoneVmExtensionPoliciesClient/Delete/main.go", - "language": "GO", "clientMethod": { - "shortName": "Delete", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient", + "shortName": "ZoneVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient.Delete", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Delete", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies", + "shortName": "ZoneVmExtensionPolicies" + }, + "shortName": "Delete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.DeleteZoneVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.DeleteZoneVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ZoneVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Delete", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Delete", - "service": { - "shortName": "ZoneVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies" - } - } + "shortName": "Delete" }, + "description": "Delete deletes a specified zone VM extension policy.", + "file": "ZoneVmExtensionPoliciesClient/Delete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Delete_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Delete Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Get_sync", - "title": "compute Get Sample", - "description": "Get retrieves details of a specific zone VM extension policy.", - "file": "ZoneVmExtensionPoliciesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient", + "shortName": "ZoneVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies", + "shortName": "ZoneVmExtensionPolicies" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetZoneVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.GetZoneVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.VmExtensionPolicy", - "client": { - "shortName": "ZoneVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Get", - "service": { - "shortName": "ZoneVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies" - } - } + "shortName": "Get" }, + "description": "Get retrieves details of a specific zone VM extension policy.", + "file": "ZoneVmExtensionPoliciesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Insert_sync", - "title": "compute Insert Sample", - "description": "Insert creates a new zone-level VM extension policy within a project.", - "file": "ZoneVmExtensionPoliciesClient/Insert/main.go", - "language": "GO", "clientMethod": { - "shortName": "Insert", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient", + "shortName": "ZoneVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient.Insert", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Insert", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies", + "shortName": "ZoneVmExtensionPolicies" + }, + "shortName": "Insert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.InsertZoneVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.InsertZoneVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ZoneVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Insert", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Insert", - "service": { - "shortName": "ZoneVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies" - } - } + "shortName": "Insert" }, + "description": "Insert creates a new zone-level VM extension policy within a project.", + "file": "ZoneVmExtensionPoliciesClient/Insert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Insert_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Insert Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_List_sync", - "title": "compute List Sample", - "description": "List lists all VM extension policies within a specific zone for a project.", - "file": "ZoneVmExtensionPoliciesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient", + "shortName": "ZoneVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.List", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies", + "shortName": "ZoneVmExtensionPolicies" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListZoneVmExtensionPoliciesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListZoneVmExtensionPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VmExtensionPolicyIterator", - "client": { - "shortName": "ZoneVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.List", - "service": { - "shortName": "ZoneVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies" - } - } + "shortName": "List" }, + "description": "List lists all VM extension policies within a specific zone for a project.", + "file": "ZoneVmExtensionPoliciesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" }, { - "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Update_sync", - "title": "compute Update Sample", - "description": "Update modifies an existing zone VM extension policy.", - "file": "ZoneVmExtensionPoliciesClient/Update/main.go", - "language": "GO", "clientMethod": { - "shortName": "Update", + "client": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient", + "shortName": "ZoneVmExtensionPoliciesClient" + }, "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient.Update", + "method": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Update", + "service": { + "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies", + "shortName": "ZoneVmExtensionPolicies" + }, + "shortName": "Update" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.UpdateZoneVmExtensionPolicyRequest", - "name": "req" + "name": "req", + "type": "computepb.UpdateZoneVmExtensionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*Operation", - "client": { - "shortName": "ZoneVmExtensionPoliciesClient", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPoliciesClient" - }, - "method": { - "shortName": "Update", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies.Update", - "service": { - "shortName": "ZoneVmExtensionPolicies", - "fullName": "google.cloud.compute.v1beta.ZoneVmExtensionPolicies" - } - } + "shortName": "Update" }, + "description": "Update modifies an existing zone VM extension policy.", + "file": "ZoneVmExtensionPoliciesClient/Update/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_ZoneVmExtensionPolicies_Update_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Update Sample" }, { - "regionTag": "compute_v1beta_generated_Zones_Get_sync", - "title": "compute Get Sample", - "description": "Get returns the specified Zone resource.", - "file": "ZonesClient/Get/main.go", - "language": "GO", "clientMethod": { - "shortName": "Get", + "client": { + "fullName": "google.cloud.compute.v1beta.ZonesClient", + "shortName": "ZonesClient" + }, "fullName": "google.cloud.compute.v1beta.ZonesClient.Get", + "method": { + "fullName": "google.cloud.compute.v1beta.Zones.Get", + "service": { + "fullName": "google.cloud.compute.v1beta.Zones", + "shortName": "Zones" + }, + "shortName": "Get" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.GetZoneRequest", - "name": "req" + "name": "req", + "type": "computepb.GetZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*computepb.Zone", - "client": { - "shortName": "ZonesClient", - "fullName": "google.cloud.compute.v1beta.ZonesClient" - }, - "method": { - "shortName": "Get", - "fullName": "google.cloud.compute.v1beta.Zones.Get", - "service": { - "shortName": "Zones", - "fullName": "google.cloud.compute.v1beta.Zones" - } - } + "shortName": "Get" }, + "description": "Get returns the specified Zone resource.", + "file": "ZonesClient/Get/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Zones_Get_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute Get Sample" }, { - "regionTag": "compute_v1beta_generated_Zones_List_sync", - "title": "compute List Sample", - "description": "List retrieves the list of Zone resources available to the specified project.", - "file": "ZonesClient/List/main.go", - "language": "GO", "clientMethod": { - "shortName": "List", + "client": { + "fullName": "google.cloud.compute.v1beta.ZonesClient", + "shortName": "ZonesClient" + }, "fullName": "google.cloud.compute.v1beta.ZonesClient.List", + "method": { + "fullName": "google.cloud.compute.v1beta.Zones.List", + "service": { + "fullName": "google.cloud.compute.v1beta.Zones", + "shortName": "Zones" + }, + "shortName": "List" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "computepb.ListZonesRequest", - "name": "req" + "name": "req", + "type": "computepb.ListZonesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ZoneIterator", - "client": { - "shortName": "ZonesClient", - "fullName": "google.cloud.compute.v1beta.ZonesClient" - }, - "method": { - "shortName": "List", - "fullName": "google.cloud.compute.v1beta.Zones.List", - "service": { - "shortName": "Zones", - "fullName": "google.cloud.compute.v1beta.Zones" - } - } + "shortName": "List" }, + "description": "List retrieves the list of Zone resources available to the specified project.", + "file": "ZonesClient/List/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "compute_v1beta_generated_Zones_List_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "compute List Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json b/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json index 489794c7f4c1..4649b60b725a 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json +++ b/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/confidentialcomputing/apiv1", - "version": "1.11.0", - "language": "GO", "apis": [ { "id": "google.cloud.confidentialcomputing.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/confidentialcomputing/apiv1", + "version": "1.11.0" }, "snippets": [ { - "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_CreateChallenge_sync", - "title": "confidentialcomputing CreateChallenge Sample", - "description": "CreateChallenge creates a new Challenge in a given project and location.", - "file": "Client/CreateChallenge/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChallenge", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1.Client.CreateChallenge", + "method": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.CreateChallenge", + "service": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing", + "shortName": "ConfidentialComputing" + }, + "shortName": "CreateChallenge" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "confidentialcomputingpb.CreateChallengeRequest", - "name": "req" + "name": "req", + "type": "confidentialcomputingpb.CreateChallengeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*confidentialcomputingpb.Challenge", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1.Client" - }, - "method": { - "shortName": "CreateChallenge", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.CreateChallenge", - "service": { - "shortName": "ConfidentialComputing", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing" - } - } + "shortName": "CreateChallenge" }, + "description": "CreateChallenge creates a new Challenge in a given project and location.", + "file": "Client/CreateChallenge/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_CreateChallenge_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing CreateChallenge Sample" }, { - "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_GetLocation_sync", - "title": "confidentialcomputing GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing GetLocation Sample" }, { - "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_ListLocations_sync", - "title": "confidentialcomputing ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing ListLocations Sample" }, { - "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_VerifyAttestation_sync", - "title": "confidentialcomputing VerifyAttestation Sample", - "description": "VerifyAttestation verifies the provided attestation info, returning a signed attestation\ntoken.", - "file": "Client/VerifyAttestation/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyAttestation", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1.Client.VerifyAttestation", + "method": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyAttestation", + "service": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing", + "shortName": "ConfidentialComputing" + }, + "shortName": "VerifyAttestation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "confidentialcomputingpb.VerifyAttestationRequest", - "name": "req" + "name": "req", + "type": "confidentialcomputingpb.VerifyAttestationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*confidentialcomputingpb.VerifyAttestationResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1.Client" - }, - "method": { - "shortName": "VerifyAttestation", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyAttestation", - "service": { - "shortName": "ConfidentialComputing", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing" - } - } + "shortName": "VerifyAttestation" }, + "description": "VerifyAttestation verifies the provided attestation info, returning a signed attestation\ntoken.", + "file": "Client/VerifyAttestation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_VerifyAttestation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing VerifyAttestation Sample" }, { - "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_VerifyConfidentialGke_sync", - "title": "confidentialcomputing VerifyConfidentialGke Sample", - "description": "VerifyConfidentialGke verifies the provided Confidential GKE attestation info, returning a signed\nOIDC token.", - "file": "Client/VerifyConfidentialGke/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyConfidentialGke", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1.Client.VerifyConfidentialGke", + "method": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyConfidentialGke", + "service": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing", + "shortName": "ConfidentialComputing" + }, + "shortName": "VerifyConfidentialGke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "confidentialcomputingpb.VerifyConfidentialGkeRequest", - "name": "req" + "name": "req", + "type": "confidentialcomputingpb.VerifyConfidentialGkeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*confidentialcomputingpb.VerifyConfidentialGkeResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1.Client" - }, - "method": { - "shortName": "VerifyConfidentialGke", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyConfidentialGke", - "service": { - "shortName": "ConfidentialComputing", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing" - } - } + "shortName": "VerifyConfidentialGke" }, + "description": "VerifyConfidentialGke verifies the provided Confidential GKE attestation info, returning a signed\nOIDC token.", + "file": "Client/VerifyConfidentialGke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_VerifyConfidentialGke_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing VerifyConfidentialGke Sample" }, { - "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_VerifyConfidentialSpace_sync", - "title": "confidentialcomputing VerifyConfidentialSpace Sample", - "description": "VerifyConfidentialSpace verifies whether the provided attestation info is valid, returning a signed\nattestation token if so.", - "file": "Client/VerifyConfidentialSpace/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyConfidentialSpace", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1.Client.VerifyConfidentialSpace", + "method": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyConfidentialSpace", + "service": { + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing", + "shortName": "ConfidentialComputing" + }, + "shortName": "VerifyConfidentialSpace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "confidentialcomputingpb.VerifyConfidentialSpaceRequest", - "name": "req" + "name": "req", + "type": "confidentialcomputingpb.VerifyConfidentialSpaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*confidentialcomputingpb.VerifyConfidentialSpaceResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1.Client" - }, - "method": { - "shortName": "VerifyConfidentialSpace", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyConfidentialSpace", - "service": { - "shortName": "ConfidentialComputing", - "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing" - } - } + "shortName": "VerifyConfidentialSpace" }, + "description": "VerifyConfidentialSpace verifies whether the provided attestation info is valid, returning a signed\nattestation token if so.", + "file": "Client/VerifyConfidentialSpace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1_generated_ConfidentialComputing_VerifyConfidentialSpace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing VerifyConfidentialSpace Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json index 84616f86061d..ae96dd9105f3 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json +++ b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/confidentialcomputing/apiv1alpha1", - "version": "1.11.0", - "language": "GO", "apis": [ { "id": "google.cloud.confidentialcomputing.v1alpha1", "version": "v1alpha1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/confidentialcomputing/apiv1alpha1", + "version": "1.11.0" }, "snippets": [ { - "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_CreateChallenge_sync", - "title": "confidentialcomputing CreateChallenge Sample", - "description": "CreateChallenge creates a new Challenge in a given project and location.", - "file": "Client/CreateChallenge/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChallenge", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client.CreateChallenge", + "method": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.CreateChallenge", + "service": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing", + "shortName": "ConfidentialComputing" + }, + "shortName": "CreateChallenge" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "confidentialcomputingpb.CreateChallengeRequest", - "name": "req" + "name": "req", + "type": "confidentialcomputingpb.CreateChallengeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*confidentialcomputingpb.Challenge", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client" - }, - "method": { - "shortName": "CreateChallenge", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.CreateChallenge", - "service": { - "shortName": "ConfidentialComputing", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing" - } - } + "shortName": "CreateChallenge" }, + "description": "CreateChallenge creates a new Challenge in a given project and location.", + "file": "Client/CreateChallenge/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_CreateChallenge_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing CreateChallenge Sample" }, { - "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_GetLocation_sync", - "title": "confidentialcomputing GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing GetLocation Sample" }, { - "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_ListLocations_sync", - "title": "confidentialcomputing ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing ListLocations Sample" }, { - "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_VerifyAttestation_sync", - "title": "confidentialcomputing VerifyAttestation Sample", - "description": "VerifyAttestation verifies the provided attestation info, returning a signed OIDC token.", - "file": "Client/VerifyAttestation/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyAttestation", + "client": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client.VerifyAttestation", + "method": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.VerifyAttestation", + "service": { + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing", + "shortName": "ConfidentialComputing" + }, + "shortName": "VerifyAttestation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "confidentialcomputingpb.VerifyAttestationRequest", - "name": "req" + "name": "req", + "type": "confidentialcomputingpb.VerifyAttestationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*confidentialcomputingpb.VerifyAttestationResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.Client" - }, - "method": { - "shortName": "VerifyAttestation", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.VerifyAttestation", - "service": { - "shortName": "ConfidentialComputing", - "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing" - } - } + "shortName": "VerifyAttestation" }, + "description": "VerifyAttestation verifies the provided attestation info, returning a signed OIDC token.", + "file": "Client/VerifyAttestation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "confidentialcomputing_v1alpha1_generated_ConfidentialComputing_VerifyAttestation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "confidentialcomputing VerifyAttestation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json b/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json index 5f1ceb135d57..b0521a933bad 100644 --- a/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json +++ b/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json @@ -1,1760 +1,1760 @@ { "clientLibrary": { - "name": "cloud.google.com/go/config/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.cloud.config.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/config/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "config_v1_generated_Config_CancelOperation_sync", - "title": "config CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "config CancelOperation Sample" }, { - "regionTag": "config_v1_generated_Config_CreateDeployment_sync", - "title": "config CreateDeployment Sample", - "description": "CreateDeployment creates a [Deployment][google.cloud.config.v1.Deployment].", - "file": "Client/CreateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployment", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.CreateDeployment", + "method": { + "fullName": "google.cloud.config.v1.Config.CreateDeployment", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "CreateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.CreateDeploymentRequest", - "name": "req" + "name": "req", + "type": "configpb.CreateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "CreateDeployment", - "fullName": "google.cloud.config.v1.Config.CreateDeployment", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "CreateDeployment" }, + "description": "CreateDeployment creates a [Deployment][google.cloud.config.v1.Deployment].", + "file": "Client/CreateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_CreateDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config CreateDeployment Sample" }, { - "regionTag": "config_v1_generated_Config_CreatePreview_sync", - "title": "config CreatePreview Sample", - "description": "CreatePreview creates a [Preview][google.cloud.config.v1.Preview].", - "file": "Client/CreatePreview/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePreview", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.CreatePreview", + "method": { + "fullName": "google.cloud.config.v1.Config.CreatePreview", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "CreatePreview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.CreatePreviewRequest", - "name": "req" + "name": "req", + "type": "configpb.CreatePreviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePreviewOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "CreatePreview", - "fullName": "google.cloud.config.v1.Config.CreatePreview", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "CreatePreview" }, + "description": "CreatePreview creates a [Preview][google.cloud.config.v1.Preview].", + "file": "Client/CreatePreview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_CreatePreview_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config CreatePreview Sample" }, { - "regionTag": "config_v1_generated_Config_DeleteDeployment_sync", - "title": "config DeleteDeployment Sample", - "description": "DeleteDeployment deletes a [Deployment][google.cloud.config.v1.Deployment].", - "file": "Client/DeleteDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeployment", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.DeleteDeployment", + "method": { + "fullName": "google.cloud.config.v1.Config.DeleteDeployment", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "DeleteDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.DeleteDeploymentRequest", - "name": "req" + "name": "req", + "type": "configpb.DeleteDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "DeleteDeployment", - "fullName": "google.cloud.config.v1.Config.DeleteDeployment", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "DeleteDeployment" }, + "description": "DeleteDeployment deletes a [Deployment][google.cloud.config.v1.Deployment].", + "file": "Client/DeleteDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_DeleteDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config DeleteDeployment Sample" }, { - "regionTag": "config_v1_generated_Config_DeleteOperation_sync", - "title": "config DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "config DeleteOperation Sample" }, { - "regionTag": "config_v1_generated_Config_DeletePreview_sync", - "title": "config DeletePreview Sample", - "description": "DeletePreview deletes a [Preview][google.cloud.config.v1.Preview].", - "file": "Client/DeletePreview/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePreview", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.DeletePreview", + "method": { + "fullName": "google.cloud.config.v1.Config.DeletePreview", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "DeletePreview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.DeletePreviewRequest", - "name": "req" + "name": "req", + "type": "configpb.DeletePreviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePreviewOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "DeletePreview", - "fullName": "google.cloud.config.v1.Config.DeletePreview", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "DeletePreview" }, + "description": "DeletePreview deletes a [Preview][google.cloud.config.v1.Preview].", + "file": "Client/DeletePreview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_DeletePreview_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config DeletePreview Sample" }, { - "regionTag": "config_v1_generated_Config_DeleteStatefile_sync", - "title": "config DeleteStatefile Sample", - "description": "DeleteStatefile deletes Terraform state file in a given deployment.", - "file": "Client/DeleteStatefile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStatefile", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.DeleteStatefile", + "method": { + "fullName": "google.cloud.config.v1.Config.DeleteStatefile", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "DeleteStatefile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.DeleteStatefileRequest", - "name": "req" + "name": "req", + "type": "configpb.DeleteStatefileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "DeleteStatefile", - "fullName": "google.cloud.config.v1.Config.DeleteStatefile", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "DeleteStatefile" }, + "description": "DeleteStatefile deletes Terraform state file in a given deployment.", + "file": "Client/DeleteStatefile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_DeleteStatefile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "config DeleteStatefile Sample" }, { - "regionTag": "config_v1_generated_Config_ExportDeploymentStatefile_sync", - "title": "config ExportDeploymentStatefile Sample", - "description": "ExportDeploymentStatefile exports Terraform state file from a given deployment.", - "file": "Client/ExportDeploymentStatefile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportDeploymentStatefile", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ExportDeploymentStatefile", + "method": { + "fullName": "google.cloud.config.v1.Config.ExportDeploymentStatefile", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ExportDeploymentStatefile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ExportDeploymentStatefileRequest", - "name": "req" + "name": "req", + "type": "configpb.ExportDeploymentStatefileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Statefile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ExportDeploymentStatefile", - "fullName": "google.cloud.config.v1.Config.ExportDeploymentStatefile", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ExportDeploymentStatefile" }, + "description": "ExportDeploymentStatefile exports Terraform state file from a given deployment.", + "file": "Client/ExportDeploymentStatefile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ExportDeploymentStatefile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ExportDeploymentStatefile Sample" }, { - "regionTag": "config_v1_generated_Config_ExportLockInfo_sync", - "title": "config ExportLockInfo Sample", - "description": "ExportLockInfo exports the lock info on a locked deployment.", - "file": "Client/ExportLockInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportLockInfo", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ExportLockInfo", + "method": { + "fullName": "google.cloud.config.v1.Config.ExportLockInfo", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ExportLockInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ExportLockInfoRequest", - "name": "req" + "name": "req", + "type": "configpb.ExportLockInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.LockInfo", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ExportLockInfo", - "fullName": "google.cloud.config.v1.Config.ExportLockInfo", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ExportLockInfo" }, + "description": "ExportLockInfo exports the lock info on a locked deployment.", + "file": "Client/ExportLockInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ExportLockInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ExportLockInfo Sample" }, { - "regionTag": "config_v1_generated_Config_ExportPreviewResult_sync", - "title": "config ExportPreviewResult Sample", - "description": "ExportPreviewResult export [Preview][google.cloud.config.v1.Preview] results.", - "file": "Client/ExportPreviewResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportPreviewResult", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ExportPreviewResult", + "method": { + "fullName": "google.cloud.config.v1.Config.ExportPreviewResult", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ExportPreviewResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ExportPreviewResultRequest", - "name": "req" + "name": "req", + "type": "configpb.ExportPreviewResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.ExportPreviewResultResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ExportPreviewResult", - "fullName": "google.cloud.config.v1.Config.ExportPreviewResult", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ExportPreviewResult" }, + "description": "ExportPreviewResult export [Preview][google.cloud.config.v1.Preview] results.", + "file": "Client/ExportPreviewResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ExportPreviewResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ExportPreviewResult Sample" }, { - "regionTag": "config_v1_generated_Config_ExportRevisionStatefile_sync", - "title": "config ExportRevisionStatefile Sample", - "description": "ExportRevisionStatefile exports Terraform state file from a given revision.", - "file": "Client/ExportRevisionStatefile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportRevisionStatefile", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ExportRevisionStatefile", + "method": { + "fullName": "google.cloud.config.v1.Config.ExportRevisionStatefile", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ExportRevisionStatefile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ExportRevisionStatefileRequest", - "name": "req" + "name": "req", + "type": "configpb.ExportRevisionStatefileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Statefile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ExportRevisionStatefile", - "fullName": "google.cloud.config.v1.Config.ExportRevisionStatefile", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ExportRevisionStatefile" }, + "description": "ExportRevisionStatefile exports Terraform state file from a given revision.", + "file": "Client/ExportRevisionStatefile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ExportRevisionStatefile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ExportRevisionStatefile Sample" }, { - "regionTag": "config_v1_generated_Config_GetAutoMigrationConfig_sync", - "title": "config GetAutoMigrationConfig Sample", - "description": "GetAutoMigrationConfig get the AutoMigrationConfig for a given project and location.", - "file": "Client/GetAutoMigrationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutoMigrationConfig", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetAutoMigrationConfig", + "method": { + "fullName": "google.cloud.config.v1.Config.GetAutoMigrationConfig", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetAutoMigrationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetAutoMigrationConfigRequest", - "name": "req" + "name": "req", + "type": "configpb.GetAutoMigrationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.AutoMigrationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetAutoMigrationConfig", - "fullName": "google.cloud.config.v1.Config.GetAutoMigrationConfig", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetAutoMigrationConfig" }, + "description": "GetAutoMigrationConfig get the AutoMigrationConfig for a given project and location.", + "file": "Client/GetAutoMigrationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetAutoMigrationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetAutoMigrationConfig Sample" }, { - "regionTag": "config_v1_generated_Config_GetDeployment_sync", - "title": "config GetDeployment Sample", - "description": "GetDeployment gets details about a [Deployment][google.cloud.config.v1.Deployment].", - "file": "Client/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetDeployment", + "method": { + "fullName": "google.cloud.config.v1.Config.GetDeployment", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "configpb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.config.v1.Config.GetDeployment", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment gets details about a [Deployment][google.cloud.config.v1.Deployment].", + "file": "Client/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetDeployment Sample" }, { - "regionTag": "config_v1_generated_Config_GetIamPolicy_sync", - "title": "config 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", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetIamPolicy Sample" }, { - "regionTag": "config_v1_generated_Config_GetLocation_sync", - "title": "config GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetLocation Sample" }, { - "regionTag": "config_v1_generated_Config_GetOperation_sync", - "title": "config GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetOperation Sample" }, { - "regionTag": "config_v1_generated_Config_GetPreview_sync", - "title": "config GetPreview Sample", - "description": "GetPreview gets details about a [Preview][google.cloud.config.v1.Preview].", - "file": "Client/GetPreview/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPreview", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetPreview", + "method": { + "fullName": "google.cloud.config.v1.Config.GetPreview", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetPreview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetPreviewRequest", - "name": "req" + "name": "req", + "type": "configpb.GetPreviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Preview", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetPreview", - "fullName": "google.cloud.config.v1.Config.GetPreview", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetPreview" }, + "description": "GetPreview gets details about a [Preview][google.cloud.config.v1.Preview].", + "file": "Client/GetPreview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetPreview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetPreview Sample" }, { - "regionTag": "config_v1_generated_Config_GetResource_sync", - "title": "config GetResource Sample", - "description": "GetResource gets details about a [Resource][google.cloud.config.v1.Resource] deployed\nby Infra Manager.", - "file": "Client/GetResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResource", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetResource", + "method": { + "fullName": "google.cloud.config.v1.Config.GetResource", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetResourceRequest", - "name": "req" + "name": "req", + "type": "configpb.GetResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Resource", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetResource", - "fullName": "google.cloud.config.v1.Config.GetResource", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetResource" }, + "description": "GetResource gets details about a [Resource][google.cloud.config.v1.Resource] deployed\nby Infra Manager.", + "file": "Client/GetResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetResource Sample" }, { - "regionTag": "config_v1_generated_Config_GetResourceChange_sync", - "title": "config GetResourceChange Sample", - "description": "GetResourceChange get a ResourceChange for a given preview.", - "file": "Client/GetResourceChange/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceChange", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetResourceChange", + "method": { + "fullName": "google.cloud.config.v1.Config.GetResourceChange", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetResourceChange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetResourceChangeRequest", - "name": "req" + "name": "req", + "type": "configpb.GetResourceChangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.ResourceChange", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetResourceChange", - "fullName": "google.cloud.config.v1.Config.GetResourceChange", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetResourceChange" }, + "description": "GetResourceChange get a ResourceChange for a given preview.", + "file": "Client/GetResourceChange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetResourceChange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetResourceChange Sample" }, { - "regionTag": "config_v1_generated_Config_GetResourceDrift_sync", - "title": "config GetResourceDrift Sample", - "description": "GetResourceDrift get a ResourceDrift for a given preview.", - "file": "Client/GetResourceDrift/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceDrift", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetResourceDrift", + "method": { + "fullName": "google.cloud.config.v1.Config.GetResourceDrift", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetResourceDrift" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetResourceDriftRequest", - "name": "req" + "name": "req", + "type": "configpb.GetResourceDriftRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.ResourceDrift", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetResourceDrift", - "fullName": "google.cloud.config.v1.Config.GetResourceDrift", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetResourceDrift" }, + "description": "GetResourceDrift get a ResourceDrift for a given preview.", + "file": "Client/GetResourceDrift/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetResourceDrift_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetResourceDrift Sample" }, { - "regionTag": "config_v1_generated_Config_GetRevision_sync", - "title": "config GetRevision Sample", - "description": "GetRevision gets details about a [Revision][google.cloud.config.v1.Revision].", - "file": "Client/GetRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRevision", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetRevision", + "method": { + "fullName": "google.cloud.config.v1.Config.GetRevision", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetRevisionRequest", - "name": "req" + "name": "req", + "type": "configpb.GetRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Revision", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetRevision", - "fullName": "google.cloud.config.v1.Config.GetRevision", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetRevision" }, + "description": "GetRevision gets details about a [Revision][google.cloud.config.v1.Revision].", + "file": "Client/GetRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetRevision Sample" }, { - "regionTag": "config_v1_generated_Config_GetTerraformVersion_sync", - "title": "config GetTerraformVersion Sample", - "description": "GetTerraformVersion gets details about a\n[TerraformVersion][google.cloud.config.v1.TerraformVersion].", - "file": "Client/GetTerraformVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTerraformVersion", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.GetTerraformVersion", + "method": { + "fullName": "google.cloud.config.v1.Config.GetTerraformVersion", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "GetTerraformVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.GetTerraformVersionRequest", - "name": "req" + "name": "req", + "type": "configpb.GetTerraformVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.TerraformVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "GetTerraformVersion", - "fullName": "google.cloud.config.v1.Config.GetTerraformVersion", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "GetTerraformVersion" }, + "description": "GetTerraformVersion gets details about a\n[TerraformVersion][google.cloud.config.v1.TerraformVersion].", + "file": "Client/GetTerraformVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_GetTerraformVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config GetTerraformVersion Sample" }, { - "regionTag": "config_v1_generated_Config_ImportStatefile_sync", - "title": "config ImportStatefile Sample", - "description": "ImportStatefile imports Terraform state file in a given deployment. The state file does not\ntake effect until the Deployment has been unlocked.", - "file": "Client/ImportStatefile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportStatefile", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ImportStatefile", + "method": { + "fullName": "google.cloud.config.v1.Config.ImportStatefile", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ImportStatefile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ImportStatefileRequest", - "name": "req" + "name": "req", + "type": "configpb.ImportStatefileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configpb.Statefile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ImportStatefile", - "fullName": "google.cloud.config.v1.Config.ImportStatefile", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ImportStatefile" }, + "description": "ImportStatefile imports Terraform state file in a given deployment. The state file does not\ntake effect until the Deployment has been unlocked.", + "file": "Client/ImportStatefile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ImportStatefile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ImportStatefile Sample" }, { - "regionTag": "config_v1_generated_Config_ListDeployments_sync", - "title": "config ListDeployments Sample", - "description": "ListDeployments lists [Deployment][google.cloud.config.v1.Deployment]s in a given project\nand location.", - "file": "Client/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListDeployments", + "method": { + "fullName": "google.cloud.config.v1.Config.ListDeployments", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "configpb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.config.v1.Config.ListDeployments", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments lists [Deployment][google.cloud.config.v1.Deployment]s in a given project\nand location.", + "file": "Client/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListDeployments Sample" }, { - "regionTag": "config_v1_generated_Config_ListLocations_sync", - "title": "config ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListLocations Sample" }, { - "regionTag": "config_v1_generated_Config_ListOperations_sync", - "title": "config ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListOperations Sample" }, { - "regionTag": "config_v1_generated_Config_ListPreviews_sync", - "title": "config ListPreviews Sample", - "description": "ListPreviews lists [Preview][google.cloud.config.v1.Preview]s in a given project and\nlocation.", - "file": "Client/ListPreviews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPreviews", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListPreviews", + "method": { + "fullName": "google.cloud.config.v1.Config.ListPreviews", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListPreviews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListPreviewsRequest", - "name": "req" + "name": "req", + "type": "configpb.ListPreviewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PreviewIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListPreviews", - "fullName": "google.cloud.config.v1.Config.ListPreviews", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListPreviews" }, + "description": "ListPreviews lists [Preview][google.cloud.config.v1.Preview]s in a given project and\nlocation.", + "file": "Client/ListPreviews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListPreviews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListPreviews Sample" }, { - "regionTag": "config_v1_generated_Config_ListResourceChanges_sync", - "title": "config ListResourceChanges Sample", - "description": "ListResourceChanges lists ResourceChanges for a given preview.", - "file": "Client/ListResourceChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceChanges", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListResourceChanges", + "method": { + "fullName": "google.cloud.config.v1.Config.ListResourceChanges", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListResourceChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListResourceChangesRequest", - "name": "req" + "name": "req", + "type": "configpb.ListResourceChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceChangeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListResourceChanges", - "fullName": "google.cloud.config.v1.Config.ListResourceChanges", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListResourceChanges" }, + "description": "ListResourceChanges lists ResourceChanges for a given preview.", + "file": "Client/ListResourceChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListResourceChanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListResourceChanges Sample" }, { - "regionTag": "config_v1_generated_Config_ListResourceDrifts_sync", - "title": "config ListResourceDrifts Sample", - "description": "ListResourceDrifts list ResourceDrifts for a given preview.", - "file": "Client/ListResourceDrifts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceDrifts", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListResourceDrifts", + "method": { + "fullName": "google.cloud.config.v1.Config.ListResourceDrifts", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListResourceDrifts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListResourceDriftsRequest", - "name": "req" + "name": "req", + "type": "configpb.ListResourceDriftsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceDriftIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListResourceDrifts", - "fullName": "google.cloud.config.v1.Config.ListResourceDrifts", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListResourceDrifts" }, + "description": "ListResourceDrifts list ResourceDrifts for a given preview.", + "file": "Client/ListResourceDrifts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListResourceDrifts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListResourceDrifts Sample" }, { - "regionTag": "config_v1_generated_Config_ListResources_sync", - "title": "config ListResources Sample", - "description": "ListResources lists [Resources][google.cloud.config.v1.Resource] in a given revision.", - "file": "Client/ListResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResources", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListResources", + "method": { + "fullName": "google.cloud.config.v1.Config.ListResources", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListResourcesRequest", - "name": "req" + "name": "req", + "type": "configpb.ListResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListResources", - "fullName": "google.cloud.config.v1.Config.ListResources", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListResources" }, + "description": "ListResources lists [Resources][google.cloud.config.v1.Resource] in a given revision.", + "file": "Client/ListResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListResources Sample" }, { - "regionTag": "config_v1_generated_Config_ListRevisions_sync", - "title": "config ListRevisions Sample", - "description": "ListRevisions lists [Revision][google.cloud.config.v1.Revision]s of a deployment.", - "file": "Client/ListRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRevisions", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListRevisions", + "method": { + "fullName": "google.cloud.config.v1.Config.ListRevisions", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListRevisionsRequest", - "name": "req" + "name": "req", + "type": "configpb.ListRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RevisionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListRevisions", - "fullName": "google.cloud.config.v1.Config.ListRevisions", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListRevisions" }, + "description": "ListRevisions lists [Revision][google.cloud.config.v1.Revision]s of a deployment.", + "file": "Client/ListRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListRevisions Sample" }, { - "regionTag": "config_v1_generated_Config_ListTerraformVersions_sync", - "title": "config ListTerraformVersions Sample", - "description": "ListTerraformVersions lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a\ngiven project and location.", - "file": "Client/ListTerraformVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTerraformVersions", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.ListTerraformVersions", + "method": { + "fullName": "google.cloud.config.v1.Config.ListTerraformVersions", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "ListTerraformVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.ListTerraformVersionsRequest", - "name": "req" + "name": "req", + "type": "configpb.ListTerraformVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TerraformVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "ListTerraformVersions", - "fullName": "google.cloud.config.v1.Config.ListTerraformVersions", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "ListTerraformVersions" }, + "description": "ListTerraformVersions lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a\ngiven project and location.", + "file": "Client/ListTerraformVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_ListTerraformVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "config ListTerraformVersions Sample" }, { - "regionTag": "config_v1_generated_Config_LockDeployment_sync", - "title": "config LockDeployment Sample", - "description": "LockDeployment locks a deployment.", - "file": "Client/LockDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "LockDeployment", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.LockDeployment", + "method": { + "fullName": "google.cloud.config.v1.Config.LockDeployment", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "LockDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.LockDeploymentRequest", - "name": "req" + "name": "req", + "type": "configpb.LockDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LockDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "LockDeployment", - "fullName": "google.cloud.config.v1.Config.LockDeployment", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "LockDeployment" }, + "description": "LockDeployment locks a deployment.", + "file": "Client/LockDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_LockDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config LockDeployment Sample" }, { - "regionTag": "config_v1_generated_Config_SetIamPolicy_sync", - "title": "config 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", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config SetIamPolicy Sample" }, { - "regionTag": "config_v1_generated_Config_TestIamPermissions_sync", - "title": "config 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", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "config TestIamPermissions Sample" }, { - "regionTag": "config_v1_generated_Config_UnlockDeployment_sync", - "title": "config UnlockDeployment Sample", - "description": "UnlockDeployment unlocks a locked deployment.", - "file": "Client/UnlockDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnlockDeployment", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.UnlockDeployment", + "method": { + "fullName": "google.cloud.config.v1.Config.UnlockDeployment", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "UnlockDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.UnlockDeploymentRequest", - "name": "req" + "name": "req", + "type": "configpb.UnlockDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UnlockDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "UnlockDeployment", - "fullName": "google.cloud.config.v1.Config.UnlockDeployment", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "UnlockDeployment" }, + "description": "UnlockDeployment unlocks a locked deployment.", + "file": "Client/UnlockDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_UnlockDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config UnlockDeployment Sample" }, { - "regionTag": "config_v1_generated_Config_UpdateAutoMigrationConfig_sync", - "title": "config UpdateAutoMigrationConfig Sample", - "description": "UpdateAutoMigrationConfig updates the AutoMigrationConfig for a given project and location.", - "file": "Client/UpdateAutoMigrationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutoMigrationConfig", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.UpdateAutoMigrationConfig", + "method": { + "fullName": "google.cloud.config.v1.Config.UpdateAutoMigrationConfig", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "UpdateAutoMigrationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.UpdateAutoMigrationConfigRequest", - "name": "req" + "name": "req", + "type": "configpb.UpdateAutoMigrationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAutoMigrationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "UpdateAutoMigrationConfig", - "fullName": "google.cloud.config.v1.Config.UpdateAutoMigrationConfig", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "UpdateAutoMigrationConfig" }, + "description": "UpdateAutoMigrationConfig updates the AutoMigrationConfig for a given project and location.", + "file": "Client/UpdateAutoMigrationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_UpdateAutoMigrationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config UpdateAutoMigrationConfig Sample" }, { - "regionTag": "config_v1_generated_Config_UpdateDeployment_sync", - "title": "config UpdateDeployment Sample", - "description": "UpdateDeployment updates a [Deployment][google.cloud.config.v1.Deployment].", - "file": "Client/UpdateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeployment", + "client": { + "fullName": "google.cloud.config.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.config.v1.Client.UpdateDeployment", + "method": { + "fullName": "google.cloud.config.v1.Config.UpdateDeployment", + "service": { + "fullName": "google.cloud.config.v1.Config", + "shortName": "Config" + }, + "shortName": "UpdateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configpb.UpdateDeploymentRequest", - "name": "req" + "name": "req", + "type": "configpb.UpdateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.config.v1.Client" - }, - "method": { - "shortName": "UpdateDeployment", - "fullName": "google.cloud.config.v1.Config.UpdateDeployment", - "service": { - "shortName": "Config", - "fullName": "google.cloud.config.v1.Config" - } - } + "shortName": "UpdateDeployment" }, + "description": "UpdateDeployment updates a [Deployment][google.cloud.config.v1.Deployment].", + "file": "Client/UpdateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "config_v1_generated_Config_UpdateDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "config UpdateDeployment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/configdelivery/apiv1/snippet_metadata.google.cloud.configdelivery.v1.json b/internal/generated/snippets/configdelivery/apiv1/snippet_metadata.google.cloud.configdelivery.v1.json index ae8eb40a21c1..d41c06908fe4 100644 --- a/internal/generated/snippets/configdelivery/apiv1/snippet_metadata.google.cloud.configdelivery.v1.json +++ b/internal/generated/snippets/configdelivery/apiv1/snippet_metadata.google.cloud.configdelivery.v1.json @@ -1,1439 +1,1439 @@ { "clientLibrary": { - "name": "cloud.google.com/go/configdelivery/apiv1", - "version": "0.1.1", - "language": "GO", "apis": [ { "id": "google.cloud.configdelivery.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/configdelivery/apiv1", + "version": "0.1.1" }, "snippets": [ { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_AbortRollout_sync", - "title": "configdelivery AbortRollout Sample", - "description": "AbortRollout abort a Rollout.", - "file": "Client/AbortRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbortRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.AbortRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.AbortRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "AbortRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.AbortRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.AbortRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AbortRolloutOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "AbortRollout", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.AbortRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "AbortRollout" }, + "description": "AbortRollout abort a Rollout.", + "file": "Client/AbortRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_AbortRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery AbortRollout Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_CancelOperation_sync", - "title": "configdelivery CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CancelOperation Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateFleetPackage_sync", - "title": "configdelivery CreateFleetPackage Sample", - "description": "CreateFleetPackage creates a new FleetPackage in a given project and location.", - "file": "Client/CreateFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.CreateFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFleetPackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "CreateFleetPackage", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "CreateFleetPackage" }, + "description": "CreateFleetPackage creates a new FleetPackage in a given project and location.", + "file": "Client/CreateFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateFleetPackage_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateFleetPackage Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateRelease_sync", - "title": "configdelivery CreateRelease Sample", - "description": "CreateRelease creates a new Release in a given project, location and resource bundle.", - "file": "Client/CreateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.CreateRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReleaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "CreateRelease", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "CreateRelease" }, + "description": "CreateRelease creates a new Release in a given project, location and resource bundle.", + "file": "Client/CreateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateRelease_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateRelease Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateResourceBundle_sync", - "title": "configdelivery CreateResourceBundle Sample", - "description": "CreateResourceBundle creates a new ResourceBundle in a given project and location.", - "file": "Client/CreateResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.CreateResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateResourceBundleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "CreateResourceBundle", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "CreateResourceBundle" }, + "description": "CreateResourceBundle creates a new ResourceBundle in a given project and location.", + "file": "Client/CreateResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateResourceBundle_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateResourceBundle Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateVariant_sync", - "title": "configdelivery CreateVariant Sample", - "description": "CreateVariant creates a new Variant in a given project, location, resource bundle, and\nrelease.", - "file": "Client/CreateVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.CreateVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVariantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "CreateVariant", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.CreateVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "CreateVariant" }, + "description": "CreateVariant creates a new Variant in a given project, location, resource bundle, and\nrelease.", + "file": "Client/CreateVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_CreateVariant_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateVariant Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteFleetPackage_sync", - "title": "configdelivery DeleteFleetPackage Sample", - "description": "DeleteFleetPackage deletes a single FleetPackage.", - "file": "Client/DeleteFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.DeleteFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFleetPackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "DeleteFleetPackage", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "DeleteFleetPackage" }, + "description": "DeleteFleetPackage deletes a single FleetPackage.", + "file": "Client/DeleteFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteFleetPackage_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteFleetPackage Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteOperation_sync", - "title": "configdelivery DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteOperation Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteRelease_sync", - "title": "configdelivery DeleteRelease Sample", - "description": "DeleteRelease deletes a single Release.", - "file": "Client/DeleteRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.DeleteRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReleaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "DeleteRelease", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "DeleteRelease" }, + "description": "DeleteRelease deletes a single Release.", + "file": "Client/DeleteRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteRelease_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteRelease Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteResourceBundle_sync", - "title": "configdelivery DeleteResourceBundle Sample", - "description": "DeleteResourceBundle deletes a single ResourceBundle.", - "file": "Client/DeleteResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.DeleteResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteResourceBundleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "DeleteResourceBundle", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "DeleteResourceBundle" }, + "description": "DeleteResourceBundle deletes a single ResourceBundle.", + "file": "Client/DeleteResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteResourceBundle_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteResourceBundle Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteVariant_sync", - "title": "configdelivery DeleteVariant Sample", - "description": "DeleteVariant deletes a single Variant.", - "file": "Client/DeleteVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.DeleteVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVariantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "DeleteVariant", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.DeleteVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "DeleteVariant" }, + "description": "DeleteVariant deletes a single Variant.", + "file": "Client/DeleteVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_DeleteVariant_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteVariant Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetFleetPackage_sync", - "title": "configdelivery GetFleetPackage Sample", - "description": "GetFleetPackage gets details of a single FleetPackage.", - "file": "Client/GetFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.FleetPackage", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetFleetPackage", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "GetFleetPackage" }, + "description": "GetFleetPackage gets details of a single FleetPackage.", + "file": "Client/GetFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetFleetPackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetFleetPackage Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetLocation_sync", - "title": "configdelivery GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetLocation Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetOperation_sync", - "title": "configdelivery GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetOperation Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetRelease_sync", - "title": "configdelivery GetRelease Sample", - "description": "GetRelease gets details of a single Release.", - "file": "Client/GetRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.Release", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetRelease", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "GetRelease" }, + "description": "GetRelease gets details of a single Release.", + "file": "Client/GetRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetRelease Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetResourceBundle_sync", - "title": "configdelivery GetResourceBundle Sample", - "description": "GetResourceBundle gets details of a single ResourceBundle.", - "file": "Client/GetResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.ResourceBundle", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetResourceBundle", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "GetResourceBundle" }, + "description": "GetResourceBundle gets details of a single ResourceBundle.", + "file": "Client/GetResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetResourceBundle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetResourceBundle Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetRollout_sync", - "title": "configdelivery GetRollout Sample", - "description": "GetRollout gets details of a single Rollout.", - "file": "Client/GetRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.Rollout", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetRollout", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "GetRollout" }, + "description": "GetRollout gets details of a single Rollout.", + "file": "Client/GetRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetRollout Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetVariant_sync", - "title": "configdelivery GetVariant Sample", - "description": "GetVariant gets details of a single Variant.", - "file": "Client/GetVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.GetVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.Variant", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "GetVariant", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.GetVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "GetVariant" }, + "description": "GetVariant gets details of a single Variant.", + "file": "Client/GetVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_GetVariant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetVariant Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListFleetPackages_sync", - "title": "configdelivery ListFleetPackages Sample", - "description": "ListFleetPackages lists FleetPackages in a given project and location.", - "file": "Client/ListFleetPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFleetPackages", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListFleetPackages", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListFleetPackages", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListFleetPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListFleetPackagesRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListFleetPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FleetPackageIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListFleetPackages", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListFleetPackages", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "ListFleetPackages" }, + "description": "ListFleetPackages lists FleetPackages in a given project and location.", + "file": "Client/ListFleetPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListFleetPackages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListFleetPackages Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListLocations_sync", - "title": "configdelivery ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListLocations Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListOperations_sync", - "title": "configdelivery ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListOperations Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListReleases_sync", - "title": "configdelivery ListReleases Sample", - "description": "ListReleases lists Releases in a given project and location.", - "file": "Client/ListReleases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReleases", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListReleases", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListReleases", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListReleases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListReleasesRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListReleasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReleaseIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListReleases", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListReleases", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "ListReleases" }, + "description": "ListReleases lists Releases in a given project and location.", + "file": "Client/ListReleases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListReleases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListReleases Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListResourceBundles_sync", - "title": "configdelivery ListResourceBundles Sample", - "description": "ListResourceBundles lists ResourceBundles in a given project and location.", - "file": "Client/ListResourceBundles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceBundles", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListResourceBundles", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListResourceBundles", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListResourceBundles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListResourceBundlesRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListResourceBundlesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceBundleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListResourceBundles", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListResourceBundles", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "ListResourceBundles" }, + "description": "ListResourceBundles lists ResourceBundles in a given project and location.", + "file": "Client/ListResourceBundles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListResourceBundles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListResourceBundles Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListRollouts_sync", - "title": "configdelivery ListRollouts Sample", - "description": "ListRollouts lists Rollouts in a given project, location, and Fleet Package.", - "file": "Client/ListRollouts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRollouts", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListRollouts", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListRollouts", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListRollouts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListRolloutsRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListRolloutsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListRollouts", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListRollouts", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "ListRollouts" }, + "description": "ListRollouts lists Rollouts in a given project, location, and Fleet Package.", + "file": "Client/ListRollouts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListRollouts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListRollouts Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListVariants_sync", - "title": "configdelivery ListVariants Sample", - "description": "ListVariants lists Variants in a given project and location.", - "file": "Client/ListVariants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVariants", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ListVariants", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListVariants", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListVariants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListVariantsRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListVariantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VariantIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ListVariants", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ListVariants", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "ListVariants" }, + "description": "ListVariants lists Variants in a given project and location.", + "file": "Client/ListVariants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ListVariants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListVariants Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_ResumeRollout_sync", - "title": "configdelivery ResumeRollout Sample", - "description": "ResumeRollout resume a Rollout.", - "file": "Client/ResumeRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.ResumeRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ResumeRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ResumeRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ResumeRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ResumeRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResumeRolloutOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "ResumeRollout", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.ResumeRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "ResumeRollout" }, + "description": "ResumeRollout resume a Rollout.", + "file": "Client/ResumeRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_ResumeRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ResumeRollout Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_SuspendRollout_sync", - "title": "configdelivery SuspendRollout Sample", - "description": "SuspendRollout suspend a Rollout.", - "file": "Client/SuspendRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.SuspendRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.SuspendRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "SuspendRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.SuspendRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.SuspendRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SuspendRolloutOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "SuspendRollout", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.SuspendRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "SuspendRollout" }, + "description": "SuspendRollout suspend a Rollout.", + "file": "Client/SuspendRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_SuspendRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery SuspendRollout Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateFleetPackage_sync", - "title": "configdelivery UpdateFleetPackage Sample", - "description": "UpdateFleetPackage updates the parameters of a single FleetPackage.", - "file": "Client/UpdateFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.UpdateFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFleetPackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "UpdateFleetPackage", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "UpdateFleetPackage" }, + "description": "UpdateFleetPackage updates the parameters of a single FleetPackage.", + "file": "Client/UpdateFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateFleetPackage_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateFleetPackage Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateRelease_sync", - "title": "configdelivery UpdateRelease Sample", - "description": "UpdateRelease updates the parameters of a single Release.", - "file": "Client/UpdateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.UpdateRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateReleaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "UpdateRelease", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "UpdateRelease" }, + "description": "UpdateRelease updates the parameters of a single Release.", + "file": "Client/UpdateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateRelease_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateRelease Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateResourceBundle_sync", - "title": "configdelivery UpdateResourceBundle Sample", - "description": "UpdateResourceBundle updates the parameters of a single ResourceBundle.", - "file": "Client/UpdateResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.UpdateResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateResourceBundleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "UpdateResourceBundle", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "UpdateResourceBundle" }, + "description": "UpdateResourceBundle updates the parameters of a single ResourceBundle.", + "file": "Client/UpdateResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateResourceBundle_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateResourceBundle Sample" }, { - "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateVariant_sync", - "title": "configdelivery UpdateVariant Sample", - "description": "UpdateVariant updates the parameters of a single Variant.", - "file": "Client/UpdateVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1.Client.UpdateVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVariantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1.Client" - }, - "method": { - "shortName": "UpdateVariant", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery.UpdateVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1.ConfigDelivery" - } - } + "shortName": "UpdateVariant" }, + "description": "UpdateVariant updates the parameters of a single Variant.", + "file": "Client/UpdateVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1_generated_ConfigDelivery_UpdateVariant_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateVariant Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/configdelivery/apiv1beta/snippet_metadata.google.cloud.configdelivery.v1beta.json b/internal/generated/snippets/configdelivery/apiv1beta/snippet_metadata.google.cloud.configdelivery.v1beta.json index 6b416f6a4f31..50c63ed099bf 100644 --- a/internal/generated/snippets/configdelivery/apiv1beta/snippet_metadata.google.cloud.configdelivery.v1beta.json +++ b/internal/generated/snippets/configdelivery/apiv1beta/snippet_metadata.google.cloud.configdelivery.v1beta.json @@ -1,1439 +1,1439 @@ { "clientLibrary": { - "name": "cloud.google.com/go/configdelivery/apiv1beta", - "version": "0.1.1", - "language": "GO", "apis": [ { "id": "google.cloud.configdelivery.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/configdelivery/apiv1beta", + "version": "0.1.1" }, "snippets": [ { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_AbortRollout_sync", - "title": "configdelivery AbortRollout Sample", - "description": "AbortRollout abort a Rollout.", - "file": "Client/AbortRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbortRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.AbortRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.AbortRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "AbortRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.AbortRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.AbortRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AbortRolloutOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "AbortRollout", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.AbortRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "AbortRollout" }, + "description": "AbortRollout abort a Rollout.", + "file": "Client/AbortRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_AbortRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery AbortRollout Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CancelOperation_sync", - "title": "configdelivery CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CancelOperation Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateFleetPackage_sync", - "title": "configdelivery CreateFleetPackage Sample", - "description": "CreateFleetPackage creates a new FleetPackage in a given project and location.", - "file": "Client/CreateFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.CreateFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFleetPackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "CreateFleetPackage", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "CreateFleetPackage" }, + "description": "CreateFleetPackage creates a new FleetPackage in a given project and location.", + "file": "Client/CreateFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateFleetPackage_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateFleetPackage Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateRelease_sync", - "title": "configdelivery CreateRelease Sample", - "description": "CreateRelease creates a new Release in a given project, location and resource bundle.", - "file": "Client/CreateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.CreateRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReleaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "CreateRelease", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "CreateRelease" }, + "description": "CreateRelease creates a new Release in a given project, location and resource bundle.", + "file": "Client/CreateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateRelease_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateRelease Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateResourceBundle_sync", - "title": "configdelivery CreateResourceBundle Sample", - "description": "CreateResourceBundle creates a new ResourceBundle in a given project and location.", - "file": "Client/CreateResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.CreateResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateResourceBundleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "CreateResourceBundle", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "CreateResourceBundle" }, + "description": "CreateResourceBundle creates a new ResourceBundle in a given project and location.", + "file": "Client/CreateResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateResourceBundle_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateResourceBundle Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateVariant_sync", - "title": "configdelivery CreateVariant Sample", - "description": "CreateVariant creates a new Variant in a given project, location, resource bundle, and\nrelease.", - "file": "Client/CreateVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.CreateVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "CreateVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.CreateVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.CreateVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVariantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "CreateVariant", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.CreateVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "CreateVariant" }, + "description": "CreateVariant creates a new Variant in a given project, location, resource bundle, and\nrelease.", + "file": "Client/CreateVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_CreateVariant_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery CreateVariant Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteFleetPackage_sync", - "title": "configdelivery DeleteFleetPackage Sample", - "description": "DeleteFleetPackage deletes a single FleetPackage.", - "file": "Client/DeleteFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.DeleteFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFleetPackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "DeleteFleetPackage", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "DeleteFleetPackage" }, + "description": "DeleteFleetPackage deletes a single FleetPackage.", + "file": "Client/DeleteFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteFleetPackage_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteFleetPackage Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteOperation_sync", - "title": "configdelivery DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteOperation Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteRelease_sync", - "title": "configdelivery DeleteRelease Sample", - "description": "DeleteRelease deletes a single Release.", - "file": "Client/DeleteRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.DeleteRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReleaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "DeleteRelease", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "DeleteRelease" }, + "description": "DeleteRelease deletes a single Release.", + "file": "Client/DeleteRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteRelease_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteRelease Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteResourceBundle_sync", - "title": "configdelivery DeleteResourceBundle Sample", - "description": "DeleteResourceBundle deletes a single ResourceBundle.", - "file": "Client/DeleteResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.DeleteResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteResourceBundleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "DeleteResourceBundle", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "DeleteResourceBundle" }, + "description": "DeleteResourceBundle deletes a single ResourceBundle.", + "file": "Client/DeleteResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteResourceBundle_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteResourceBundle Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteVariant_sync", - "title": "configdelivery DeleteVariant Sample", - "description": "DeleteVariant deletes a single Variant.", - "file": "Client/DeleteVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.DeleteVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "DeleteVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.DeleteVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.DeleteVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVariantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "DeleteVariant", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.DeleteVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "DeleteVariant" }, + "description": "DeleteVariant deletes a single Variant.", + "file": "Client/DeleteVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_DeleteVariant_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery DeleteVariant Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetFleetPackage_sync", - "title": "configdelivery GetFleetPackage Sample", - "description": "GetFleetPackage gets details of a single FleetPackage.", - "file": "Client/GetFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.FleetPackage", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetFleetPackage", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "GetFleetPackage" }, + "description": "GetFleetPackage gets details of a single FleetPackage.", + "file": "Client/GetFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetFleetPackage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetFleetPackage Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetLocation_sync", - "title": "configdelivery GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetLocation Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetOperation_sync", - "title": "configdelivery GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetOperation Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetRelease_sync", - "title": "configdelivery GetRelease Sample", - "description": "GetRelease gets details of a single Release.", - "file": "Client/GetRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.Release", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetRelease", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "GetRelease" }, + "description": "GetRelease gets details of a single Release.", + "file": "Client/GetRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetRelease Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetResourceBundle_sync", - "title": "configdelivery GetResourceBundle Sample", - "description": "GetResourceBundle gets details of a single ResourceBundle.", - "file": "Client/GetResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.ResourceBundle", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetResourceBundle", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "GetResourceBundle" }, + "description": "GetResourceBundle gets details of a single ResourceBundle.", + "file": "Client/GetResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetResourceBundle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetResourceBundle Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetRollout_sync", - "title": "configdelivery GetRollout Sample", - "description": "GetRollout gets details of a single Rollout.", - "file": "Client/GetRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.Rollout", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetRollout", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "GetRollout" }, + "description": "GetRollout gets details of a single Rollout.", + "file": "Client/GetRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetRollout Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetVariant_sync", - "title": "configdelivery GetVariant Sample", - "description": "GetVariant gets details of a single Variant.", - "file": "Client/GetVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.GetVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "GetVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.GetVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.GetVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*configdeliverypb.Variant", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "GetVariant", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.GetVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "GetVariant" }, + "description": "GetVariant gets details of a single Variant.", + "file": "Client/GetVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_GetVariant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery GetVariant Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListFleetPackages_sync", - "title": "configdelivery ListFleetPackages Sample", - "description": "ListFleetPackages lists FleetPackages in a given project and location.", - "file": "Client/ListFleetPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFleetPackages", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListFleetPackages", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListFleetPackages", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListFleetPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListFleetPackagesRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListFleetPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FleetPackageIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListFleetPackages", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListFleetPackages", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "ListFleetPackages" }, + "description": "ListFleetPackages lists FleetPackages in a given project and location.", + "file": "Client/ListFleetPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListFleetPackages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListFleetPackages Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListLocations_sync", - "title": "configdelivery ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListLocations Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListOperations_sync", - "title": "configdelivery ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListOperations Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListReleases_sync", - "title": "configdelivery ListReleases Sample", - "description": "ListReleases lists Releases in a given project and location.", - "file": "Client/ListReleases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReleases", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListReleases", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListReleases", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListReleases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListReleasesRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListReleasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReleaseIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListReleases", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListReleases", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "ListReleases" }, + "description": "ListReleases lists Releases in a given project and location.", + "file": "Client/ListReleases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListReleases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListReleases Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListResourceBundles_sync", - "title": "configdelivery ListResourceBundles Sample", - "description": "ListResourceBundles lists ResourceBundles in a given project and location.", - "file": "Client/ListResourceBundles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceBundles", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListResourceBundles", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListResourceBundles", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListResourceBundles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListResourceBundlesRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListResourceBundlesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceBundleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListResourceBundles", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListResourceBundles", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "ListResourceBundles" }, + "description": "ListResourceBundles lists ResourceBundles in a given project and location.", + "file": "Client/ListResourceBundles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListResourceBundles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListResourceBundles Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListRollouts_sync", - "title": "configdelivery ListRollouts Sample", - "description": "ListRollouts lists Rollouts in a given project, location, and Fleet Package.", - "file": "Client/ListRollouts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRollouts", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListRollouts", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListRollouts", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListRollouts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListRolloutsRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListRolloutsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListRollouts", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListRollouts", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "ListRollouts" }, + "description": "ListRollouts lists Rollouts in a given project, location, and Fleet Package.", + "file": "Client/ListRollouts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListRollouts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListRollouts Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListVariants_sync", - "title": "configdelivery ListVariants Sample", - "description": "ListVariants lists Variants in a given project and location.", - "file": "Client/ListVariants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVariants", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ListVariants", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListVariants", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ListVariants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ListVariantsRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ListVariantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VariantIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ListVariants", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ListVariants", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "ListVariants" }, + "description": "ListVariants lists Variants in a given project and location.", + "file": "Client/ListVariants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ListVariants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ListVariants Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ResumeRollout_sync", - "title": "configdelivery ResumeRollout Sample", - "description": "ResumeRollout resume a Rollout.", - "file": "Client/ResumeRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.ResumeRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ResumeRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "ResumeRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.ResumeRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.ResumeRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResumeRolloutOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "ResumeRollout", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.ResumeRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "ResumeRollout" }, + "description": "ResumeRollout resume a Rollout.", + "file": "Client/ResumeRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_ResumeRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery ResumeRollout Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_SuspendRollout_sync", - "title": "configdelivery SuspendRollout Sample", - "description": "SuspendRollout suspend a Rollout.", - "file": "Client/SuspendRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuspendRollout", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.SuspendRollout", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.SuspendRollout", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "SuspendRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.SuspendRolloutRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.SuspendRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SuspendRolloutOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "SuspendRollout", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.SuspendRollout", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "SuspendRollout" }, + "description": "SuspendRollout suspend a Rollout.", + "file": "Client/SuspendRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_SuspendRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery SuspendRollout Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateFleetPackage_sync", - "title": "configdelivery UpdateFleetPackage Sample", - "description": "UpdateFleetPackage updates the parameters of a single FleetPackage.", - "file": "Client/UpdateFleetPackage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFleetPackage", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.UpdateFleetPackage", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateFleetPackage", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateFleetPackage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateFleetPackageRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateFleetPackageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFleetPackageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "UpdateFleetPackage", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateFleetPackage", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "UpdateFleetPackage" }, + "description": "UpdateFleetPackage updates the parameters of a single FleetPackage.", + "file": "Client/UpdateFleetPackage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateFleetPackage_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateFleetPackage Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateRelease_sync", - "title": "configdelivery UpdateRelease Sample", - "description": "UpdateRelease updates the parameters of a single Release.", - "file": "Client/UpdateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRelease", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.UpdateRelease", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateRelease", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateReleaseRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateReleaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "UpdateRelease", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateRelease", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "UpdateRelease" }, + "description": "UpdateRelease updates the parameters of a single Release.", + "file": "Client/UpdateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateRelease_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateRelease Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateResourceBundle_sync", - "title": "configdelivery UpdateResourceBundle Sample", - "description": "UpdateResourceBundle updates the parameters of a single ResourceBundle.", - "file": "Client/UpdateResourceBundle/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateResourceBundle", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.UpdateResourceBundle", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateResourceBundle", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateResourceBundle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateResourceBundleRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateResourceBundleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateResourceBundleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "UpdateResourceBundle", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateResourceBundle", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "UpdateResourceBundle" }, + "description": "UpdateResourceBundle updates the parameters of a single ResourceBundle.", + "file": "Client/UpdateResourceBundle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateResourceBundle_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateResourceBundle Sample" }, { - "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateVariant_sync", - "title": "configdelivery UpdateVariant Sample", - "description": "UpdateVariant updates the parameters of a single Variant.", - "file": "Client/UpdateVariant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVariant", + "client": { + "fullName": "google.cloud.configdelivery.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.configdelivery.v1beta.Client.UpdateVariant", + "method": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateVariant", + "service": { + "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery", + "shortName": "ConfigDelivery" + }, + "shortName": "UpdateVariant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "configdeliverypb.UpdateVariantRequest", - "name": "req" + "name": "req", + "type": "configdeliverypb.UpdateVariantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVariantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.configdelivery.v1beta.Client" - }, - "method": { - "shortName": "UpdateVariant", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery.UpdateVariant", - "service": { - "shortName": "ConfigDelivery", - "fullName": "google.cloud.configdelivery.v1beta.ConfigDelivery" - } - } + "shortName": "UpdateVariant" }, + "description": "UpdateVariant updates the parameters of a single Variant.", + "file": "Client/UpdateVariant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "configdelivery_v1beta_generated_ConfigDelivery_UpdateVariant_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "configdelivery UpdateVariant Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json b/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json index 5add8baf448e..5b771447635d 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json +++ b/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json @@ -1,3546 +1,3546 @@ { "clientLibrary": { - "name": "cloud.google.com/go/contactcenterinsights/apiv1", - "version": "1.17.4", - "language": "GO", "apis": [ { "id": "google.cloud.contactcenterinsights.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/contactcenterinsights/apiv1", + "version": "1.17.4" }, "snippets": [ { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync", - "title": "contactcenterinsights BulkAnalyzeConversations Sample", - "description": "BulkAnalyzeConversations analyzes multiple conversations in a single request.", - "file": "Client/BulkAnalyzeConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkAnalyzeConversations", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.BulkAnalyzeConversations", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "BulkAnalyzeConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.BulkAnalyzeConversationsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.BulkAnalyzeConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkAnalyzeConversationsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "BulkAnalyzeConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "BulkAnalyzeConversations" }, + "description": "BulkAnalyzeConversations analyzes multiple conversations in a single request.", + "file": "Client/BulkAnalyzeConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkAnalyzeConversations_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights BulkAnalyzeConversations Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync", - "title": "contactcenterinsights BulkDeleteConversations Sample", - "description": "BulkDeleteConversations deletes multiple conversations in a single request.", - "file": "Client/BulkDeleteConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkDeleteConversations", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.BulkDeleteConversations", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "BulkDeleteConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.BulkDeleteConversationsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.BulkDeleteConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkDeleteConversationsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "BulkDeleteConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "BulkDeleteConversations" }, + "description": "BulkDeleteConversations deletes multiple conversations in a single request.", + "file": "Client/BulkDeleteConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDeleteConversations_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights BulkDeleteConversations Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync", - "title": "contactcenterinsights BulkDownloadFeedbackLabels Sample", - "description": "BulkDownloadFeedbackLabels download feedback labels in bulk.", - "file": "Client/BulkDownloadFeedbackLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkDownloadFeedbackLabels", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.BulkDownloadFeedbackLabels", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "BulkDownloadFeedbackLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.BulkDownloadFeedbackLabelsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.BulkDownloadFeedbackLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkDownloadFeedbackLabelsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "BulkDownloadFeedbackLabels", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDownloadFeedbackLabels", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "BulkDownloadFeedbackLabels" }, + "description": "BulkDownloadFeedbackLabels download feedback labels in bulk.", + "file": "Client/BulkDownloadFeedbackLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkDownloadFeedbackLabels_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights BulkDownloadFeedbackLabels Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync", - "title": "contactcenterinsights BulkUploadFeedbackLabels Sample", - "description": "BulkUploadFeedbackLabels upload feedback labels in bulk.", - "file": "Client/BulkUploadFeedbackLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkUploadFeedbackLabels", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.BulkUploadFeedbackLabels", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "BulkUploadFeedbackLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.BulkUploadFeedbackLabelsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.BulkUploadFeedbackLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkUploadFeedbackLabelsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "BulkUploadFeedbackLabels", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkUploadFeedbackLabels", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "BulkUploadFeedbackLabels" }, + "description": "BulkUploadFeedbackLabels upload feedback labels in bulk.", + "file": "Client/BulkUploadFeedbackLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_BulkUploadFeedbackLabels_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights BulkUploadFeedbackLabels Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync", - "title": "contactcenterinsights CalculateIssueModelStats Sample", - "description": "CalculateIssueModelStats gets an issue model's statistics.", - "file": "Client/CalculateIssueModelStats/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateIssueModelStats", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CalculateIssueModelStats", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CalculateIssueModelStats" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CalculateIssueModelStatsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CalculateIssueModelStatsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.CalculateIssueModelStatsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CalculateIssueModelStats", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CalculateIssueModelStats" }, + "description": "CalculateIssueModelStats gets an issue model's statistics.", + "file": "Client/CalculateIssueModelStats/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateIssueModelStats_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CalculateIssueModelStats Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync", - "title": "contactcenterinsights CalculateStats Sample", - "description": "CalculateStats gets conversation statistics.", - "file": "Client/CalculateStats/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateStats", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CalculateStats", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CalculateStats" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CalculateStatsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CalculateStatsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.CalculateStatsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CalculateStats", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CalculateStats" }, + "description": "CalculateStats gets conversation statistics.", + "file": "Client/CalculateStats/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CalculateStats_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CalculateStats Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CancelOperation_sync", - "title": "contactcenterinsights CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CancelOperation Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync", - "title": "contactcenterinsights CreateAnalysis Sample", - "description": "CreateAnalysis creates an analysis. The long running operation is done when the analysis\nhas completed.", - "file": "Client/CreateAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnalysis", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateAnalysis", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateAnalysisRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAnalysisOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateAnalysis", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateAnalysis" }, + "description": "CreateAnalysis creates an analysis. The long running operation is done when the analysis\nhas completed.", + "file": "Client/CreateAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysis_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateAnalysis Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync", - "title": "contactcenterinsights CreateAnalysisRule Sample", - "description": "CreateAnalysisRule creates a analysis rule.", - "file": "Client/CreateAnalysisRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnalysisRule", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateAnalysisRule", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateAnalysisRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateAnalysisRuleRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateAnalysisRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.AnalysisRule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateAnalysisRule", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysisRule", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateAnalysisRule" }, + "description": "CreateAnalysisRule creates a analysis rule.", + "file": "Client/CreateAnalysisRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateAnalysisRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateAnalysisRule Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync", - "title": "contactcenterinsights CreateConversation Sample", - "description": "CreateConversation creates a conversation.\nNote that this method does not support audio transcription or redaction.\nUse `conversations.upload` instead.", - "file": "Client/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateConversation", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Conversation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a conversation.\nNote that this method does not support audio transcription or redaction.\nUse `conversations.upload` instead.", + "file": "Client/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateConversation Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync", - "title": "contactcenterinsights CreateFeedbackLabel Sample", - "description": "CreateFeedbackLabel create feedback label.", - "file": "Client/CreateFeedbackLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFeedbackLabel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateFeedbackLabel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateFeedbackLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateFeedbackLabelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateFeedbackLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.FeedbackLabel", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateFeedbackLabel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateFeedbackLabel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateFeedbackLabel" }, + "description": "CreateFeedbackLabel create feedback label.", + "file": "Client/CreateFeedbackLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateFeedbackLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateFeedbackLabel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync", - "title": "contactcenterinsights CreateIssueModel Sample", - "description": "CreateIssueModel creates an issue model.", - "file": "Client/CreateIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIssueModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateIssueModel" }, + "description": "CreateIssueModel creates an issue model.", + "file": "Client/CreateIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateIssueModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync", - "title": "contactcenterinsights CreatePhraseMatcher Sample", - "description": "CreatePhraseMatcher creates a phrase matcher.", - "file": "Client/CreatePhraseMatcher/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePhraseMatcher", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreatePhraseMatcher", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreatePhraseMatcher" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreatePhraseMatcherRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreatePhraseMatcherRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.PhraseMatcher", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreatePhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreatePhraseMatcher" }, + "description": "CreatePhraseMatcher creates a phrase matcher.", + "file": "Client/CreatePhraseMatcher/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreatePhraseMatcher_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreatePhraseMatcher Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync", - "title": "contactcenterinsights CreateQaQuestion Sample", - "description": "CreateQaQuestion create a QaQuestion.", - "file": "Client/CreateQaQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQaQuestion", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateQaQuestion", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateQaQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateQaQuestionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateQaQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaQuestion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateQaQuestion", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaQuestion", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateQaQuestion" }, + "description": "CreateQaQuestion create a QaQuestion.", + "file": "Client/CreateQaQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaQuestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateQaQuestion Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync", - "title": "contactcenterinsights CreateQaScorecard Sample", - "description": "CreateQaScorecard create a QaScorecard.", - "file": "Client/CreateQaScorecard/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQaScorecard", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateQaScorecard", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateQaScorecard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateQaScorecardRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateQaScorecardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecard", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateQaScorecard", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecard", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateQaScorecard" }, + "description": "CreateQaScorecard create a QaScorecard.", + "file": "Client/CreateQaScorecard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateQaScorecard Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync", - "title": "contactcenterinsights CreateQaScorecardRevision Sample", - "description": "CreateQaScorecardRevision creates a QaScorecardRevision.", - "file": "Client/CreateQaScorecardRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQaScorecardRevision", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateQaScorecardRevision", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateQaScorecardRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateQaScorecardRevisionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateQaScorecardRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecardRevision", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateQaScorecardRevision", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateQaScorecardRevision", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateQaScorecardRevision" }, + "description": "CreateQaScorecardRevision creates a QaScorecardRevision.", + "file": "Client/CreateQaScorecardRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateQaScorecardRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateQaScorecardRevision Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync", - "title": "contactcenterinsights CreateView Sample", - "description": "CreateView creates a view.", - "file": "Client/CreateView/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateView", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.CreateView", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "CreateView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.CreateViewRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.CreateViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.View", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "CreateView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "CreateView" }, + "description": "CreateView creates a view.", + "file": "Client/CreateView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_CreateView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights CreateView Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync", - "title": "contactcenterinsights DeleteAnalysis Sample", - "description": "DeleteAnalysis deletes an analysis.", - "file": "Client/DeleteAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAnalysis", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteAnalysis", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteAnalysisRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteAnalysis", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteAnalysis" }, + "description": "DeleteAnalysis deletes an analysis.", + "file": "Client/DeleteAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysis_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteAnalysis Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync", - "title": "contactcenterinsights DeleteAnalysisRule Sample", - "description": "DeleteAnalysisRule deletes a analysis rule.", - "file": "Client/DeleteAnalysisRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAnalysisRule", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteAnalysisRule", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteAnalysisRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteAnalysisRuleRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteAnalysisRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteAnalysisRule", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysisRule", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteAnalysisRule" }, + "description": "DeleteAnalysisRule deletes a analysis rule.", + "file": "Client/DeleteAnalysisRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteAnalysisRule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteAnalysisRule Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync", - "title": "contactcenterinsights DeleteConversation Sample", - "description": "DeleteConversation deletes a conversation.", - "file": "Client/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteConversation", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteConversation" }, + "description": "DeleteConversation deletes a conversation.", + "file": "Client/DeleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteConversation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteConversation Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync", - "title": "contactcenterinsights DeleteFeedbackLabel Sample", - "description": "DeleteFeedbackLabel delete feedback label.", - "file": "Client/DeleteFeedbackLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFeedbackLabel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteFeedbackLabel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteFeedbackLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteFeedbackLabelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteFeedbackLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteFeedbackLabel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteFeedbackLabel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteFeedbackLabel" }, + "description": "DeleteFeedbackLabel delete feedback label.", + "file": "Client/DeleteFeedbackLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteFeedbackLabel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteFeedbackLabel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync", - "title": "contactcenterinsights DeleteIssue Sample", - "description": "DeleteIssue deletes an issue.", - "file": "Client/DeleteIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIssue", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteIssue", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteIssueRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteIssue", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteIssue" }, + "description": "DeleteIssue deletes an issue.", + "file": "Client/DeleteIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssue_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteIssue Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync", - "title": "contactcenterinsights DeleteIssueModel Sample", - "description": "DeleteIssueModel deletes an issue model.", - "file": "Client/DeleteIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIssueModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteIssueModel" }, + "description": "DeleteIssueModel deletes an issue model.", + "file": "Client/DeleteIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteIssueModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync", - "title": "contactcenterinsights DeletePhraseMatcher Sample", - "description": "DeletePhraseMatcher deletes a phrase matcher.", - "file": "Client/DeletePhraseMatcher/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhraseMatcher", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeletePhraseMatcher", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeletePhraseMatcher" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeletePhraseMatcherRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeletePhraseMatcherRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeletePhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeletePhraseMatcher" }, + "description": "DeletePhraseMatcher deletes a phrase matcher.", + "file": "Client/DeletePhraseMatcher/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeletePhraseMatcher_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeletePhraseMatcher Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync", - "title": "contactcenterinsights DeleteQaQuestion Sample", - "description": "DeleteQaQuestion deletes a QaQuestion.", - "file": "Client/DeleteQaQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQaQuestion", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteQaQuestion", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteQaQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteQaQuestionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteQaQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteQaQuestion", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaQuestion", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteQaQuestion" }, + "description": "DeleteQaQuestion deletes a QaQuestion.", + "file": "Client/DeleteQaQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaQuestion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteQaQuestion Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync", - "title": "contactcenterinsights DeleteQaScorecard Sample", - "description": "DeleteQaScorecard deletes a QaScorecard.", - "file": "Client/DeleteQaScorecard/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQaScorecard", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteQaScorecard", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteQaScorecard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteQaScorecardRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteQaScorecardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteQaScorecard", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecard", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteQaScorecard" }, + "description": "DeleteQaScorecard deletes a QaScorecard.", + "file": "Client/DeleteQaScorecard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecard_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteQaScorecard Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync", - "title": "contactcenterinsights DeleteQaScorecardRevision Sample", - "description": "DeleteQaScorecardRevision deletes a QaScorecardRevision.", - "file": "Client/DeleteQaScorecardRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQaScorecardRevision", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteQaScorecardRevision", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteQaScorecardRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteQaScorecardRevisionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteQaScorecardRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteQaScorecardRevision", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteQaScorecardRevision", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteQaScorecardRevision" }, + "description": "DeleteQaScorecardRevision deletes a QaScorecardRevision.", + "file": "Client/DeleteQaScorecardRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteQaScorecardRevision_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteQaScorecardRevision Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync", - "title": "contactcenterinsights DeleteView Sample", - "description": "DeleteView deletes a view.", - "file": "Client/DeleteView/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteView", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeleteView", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeleteView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeleteViewRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeleteViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeleteView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeleteView" }, + "description": "DeleteView deletes a view.", + "file": "Client/DeleteView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeleteView_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeleteView Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync", - "title": "contactcenterinsights DeployIssueModel Sample", - "description": "DeployIssueModel deploys an issue model. Returns an error if a model is already deployed.\nAn issue model can only be used in analysis after it has been deployed.", - "file": "Client/DeployIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeployIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeployIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeployIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeployIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployIssueModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeployIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeployIssueModel" }, + "description": "DeployIssueModel deploys an issue model. Returns an error if a model is already deployed.\nAn issue model can only be used in analysis after it has been deployed.", + "file": "Client/DeployIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployIssueModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeployIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_sync", - "title": "contactcenterinsights DeployQaScorecardRevision Sample", - "description": "DeployQaScorecardRevision deploy a QaScorecardRevision.", - "file": "Client/DeployQaScorecardRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployQaScorecardRevision", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.DeployQaScorecardRevision", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployQaScorecardRevision", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "DeployQaScorecardRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.DeployQaScorecardRevisionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.DeployQaScorecardRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecardRevision", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "DeployQaScorecardRevision", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployQaScorecardRevision", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "DeployQaScorecardRevision" }, + "description": "DeployQaScorecardRevision deploy a QaScorecardRevision.", + "file": "Client/DeployQaScorecardRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_DeployQaScorecardRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights DeployQaScorecardRevision Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync", - "title": "contactcenterinsights ExportInsightsData Sample", - "description": "ExportInsightsData export insights data to a destination defined in the request body.", - "file": "Client/ExportInsightsData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportInsightsData", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ExportInsightsData", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ExportInsightsData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ExportInsightsDataRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ExportInsightsDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportInsightsDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ExportInsightsData", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ExportInsightsData" }, + "description": "ExportInsightsData export insights data to a destination defined in the request body.", + "file": "Client/ExportInsightsData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportInsightsData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ExportInsightsData Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync", - "title": "contactcenterinsights ExportIssueModel Sample", - "description": "ExportIssueModel exports an issue model to the provided destination.", - "file": "Client/ExportIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ExportIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ExportIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ExportIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ExportIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportIssueModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ExportIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ExportIssueModel" }, + "description": "ExportIssueModel exports an issue model to the provided destination.", + "file": "Client/ExportIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ExportIssueModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ExportIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync", - "title": "contactcenterinsights GetAnalysis Sample", - "description": "GetAnalysis gets an analysis.", - "file": "Client/GetAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnalysis", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetAnalysis", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetAnalysisRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Analysis", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetAnalysis", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetAnalysis" }, + "description": "GetAnalysis gets an analysis.", + "file": "Client/GetAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysis_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetAnalysis Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync", - "title": "contactcenterinsights GetAnalysisRule Sample", - "description": "GetAnalysisRule get a analysis rule.", - "file": "Client/GetAnalysisRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnalysisRule", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetAnalysisRule", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetAnalysisRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetAnalysisRuleRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetAnalysisRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.AnalysisRule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetAnalysisRule", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysisRule", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetAnalysisRule" }, + "description": "GetAnalysisRule get a analysis rule.", + "file": "Client/GetAnalysisRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetAnalysisRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetAnalysisRule Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync", - "title": "contactcenterinsights GetConversation Sample", - "description": "GetConversation gets a conversation.", - "file": "Client/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.contactcenterinsights.v1.Client.GetConversation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "contactcenterinsightspb.GetConversationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*contactcenterinsightspb.Conversation", "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.contactcenterinsights.v1.Client.GetConversation", "method": { - "shortName": "GetConversation", "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetConversation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "contactcenterinsightspb.GetConversationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*contactcenterinsightspb.Conversation", + "shortName": "GetConversation" }, + "description": "GetConversation gets a conversation.", + "file": "Client/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetConversation Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync", - "title": "contactcenterinsights GetEncryptionSpec Sample", - "description": "GetEncryptionSpec gets location-level encryption key specification.", - "file": "Client/GetEncryptionSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEncryptionSpec", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetEncryptionSpec", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetEncryptionSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetEncryptionSpecRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetEncryptionSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.EncryptionSpec", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetEncryptionSpec", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetEncryptionSpec" }, + "description": "GetEncryptionSpec gets location-level encryption key specification.", + "file": "Client/GetEncryptionSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetEncryptionSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetEncryptionSpec Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync", - "title": "contactcenterinsights GetFeedbackLabel Sample", - "description": "GetFeedbackLabel get feedback label.", - "file": "Client/GetFeedbackLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFeedbackLabel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetFeedbackLabel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetFeedbackLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetFeedbackLabelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetFeedbackLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.FeedbackLabel", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetFeedbackLabel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetFeedbackLabel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetFeedbackLabel" }, + "description": "GetFeedbackLabel get feedback label.", + "file": "Client/GetFeedbackLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetFeedbackLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetFeedbackLabel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync", - "title": "contactcenterinsights GetIssue Sample", - "description": "GetIssue gets an issue.", - "file": "Client/GetIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIssue", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetIssue", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetIssueRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Issue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetIssue", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetIssue" }, + "description": "GetIssue gets an issue.", + "file": "Client/GetIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetIssue Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync", - "title": "contactcenterinsights GetIssueModel Sample", - "description": "GetIssueModel gets an issue model.", - "file": "Client/GetIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.IssueModel", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetIssueModel" }, + "description": "GetIssueModel gets an issue model.", + "file": "Client/GetIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetIssueModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetOperation_sync", - "title": "contactcenterinsights GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetOperation Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync", - "title": "contactcenterinsights GetPhraseMatcher Sample", - "description": "GetPhraseMatcher gets a phrase matcher.", - "file": "Client/GetPhraseMatcher/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhraseMatcher", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetPhraseMatcher", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetPhraseMatcher" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetPhraseMatcherRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetPhraseMatcherRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.PhraseMatcher", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetPhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetPhraseMatcher" }, + "description": "GetPhraseMatcher gets a phrase matcher.", + "file": "Client/GetPhraseMatcher/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetPhraseMatcher_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetPhraseMatcher Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync", - "title": "contactcenterinsights GetQaQuestion Sample", - "description": "GetQaQuestion gets a QaQuestion.", - "file": "Client/GetQaQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQaQuestion", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetQaQuestion", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetQaQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetQaQuestionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetQaQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaQuestion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetQaQuestion", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaQuestion", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetQaQuestion" }, + "description": "GetQaQuestion gets a QaQuestion.", + "file": "Client/GetQaQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaQuestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetQaQuestion Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync", - "title": "contactcenterinsights GetQaScorecard Sample", - "description": "GetQaScorecard gets a QaScorecard.", - "file": "Client/GetQaScorecard/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQaScorecard", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetQaScorecard", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetQaScorecard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetQaScorecardRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetQaScorecardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecard", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetQaScorecard", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecard", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetQaScorecard" }, + "description": "GetQaScorecard gets a QaScorecard.", + "file": "Client/GetQaScorecard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetQaScorecard Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync", - "title": "contactcenterinsights GetQaScorecardRevision Sample", - "description": "GetQaScorecardRevision gets a QaScorecardRevision.", - "file": "Client/GetQaScorecardRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQaScorecardRevision", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetQaScorecardRevision", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetQaScorecardRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetQaScorecardRevisionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetQaScorecardRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecardRevision", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetQaScorecardRevision", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetQaScorecardRevision", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetQaScorecardRevision" }, + "description": "GetQaScorecardRevision gets a QaScorecardRevision.", + "file": "Client/GetQaScorecardRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetQaScorecardRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetQaScorecardRevision Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync", - "title": "contactcenterinsights GetSettings Sample", - "description": "GetSettings gets project-level settings.", - "file": "Client/GetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSettings", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetSettings", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetSettingsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Settings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetSettings", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetSettings" }, + "description": "GetSettings gets project-level settings.", + "file": "Client/GetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetSettings Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync", - "title": "contactcenterinsights GetView Sample", - "description": "GetView gets a view.", - "file": "Client/GetView/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetView", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.GetView", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "GetView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.GetViewRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.GetViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.View", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "GetView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "GetView" }, + "description": "GetView gets a view.", + "file": "Client/GetView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_GetView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights GetView Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync", - "title": "contactcenterinsights ImportIssueModel Sample", - "description": "ImportIssueModel imports an issue model from a Cloud Storage bucket.", - "file": "Client/ImportIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ImportIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ImportIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ImportIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ImportIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportIssueModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ImportIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ImportIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ImportIssueModel" }, + "description": "ImportIssueModel imports an issue model from a Cloud Storage bucket.", + "file": "Client/ImportIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ImportIssueModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ImportIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync", - "title": "contactcenterinsights IngestConversations Sample", - "description": "IngestConversations imports conversations and processes them according to the user's\nconfiguration.", - "file": "Client/IngestConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "IngestConversations", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.IngestConversations", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "IngestConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.IngestConversationsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.IngestConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IngestConversationsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "IngestConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "IngestConversations" }, + "description": "IngestConversations imports conversations and processes them according to the user's\nconfiguration.", + "file": "Client/IngestConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_IngestConversations_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights IngestConversations Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync", - "title": "contactcenterinsights InitializeEncryptionSpec Sample", - "description": "InitializeEncryptionSpec initializes a location-level encryption key specification. An error will\nresult if the location has resources already created before the\ninitialization. After the encryption specification is initialized at a\nlocation, it is immutable and all newly created resources under the\nlocation will be encrypted with the existing specification.", - "file": "Client/InitializeEncryptionSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "InitializeEncryptionSpec", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.InitializeEncryptionSpec", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpec", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "InitializeEncryptionSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.InitializeEncryptionSpecRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.InitializeEncryptionSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InitializeEncryptionSpecOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.InitializeEncryptionSpec", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "InitializeEncryptionSpec" }, + "description": "InitializeEncryptionSpec initializes a location-level encryption key specification. An error will\nresult if the location has resources already created before the\ninitialization. After the encryption specification is initialized at a\nlocation, it is immutable and all newly created resources under the\nlocation will be encrypted with the existing specification.", + "file": "Client/InitializeEncryptionSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_InitializeEncryptionSpec_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights InitializeEncryptionSpec Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync", - "title": "contactcenterinsights ListAllFeedbackLabels Sample", - "description": "ListAllFeedbackLabels list all feedback labels by project number.", - "file": "Client/ListAllFeedbackLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAllFeedbackLabels", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListAllFeedbackLabels", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListAllFeedbackLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListAllFeedbackLabelsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListAllFeedbackLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeedbackLabelIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListAllFeedbackLabels", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAllFeedbackLabels", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListAllFeedbackLabels" }, + "description": "ListAllFeedbackLabels list all feedback labels by project number.", + "file": "Client/ListAllFeedbackLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAllFeedbackLabels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListAllFeedbackLabels Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync", - "title": "contactcenterinsights ListAnalyses Sample", - "description": "ListAnalyses lists analyses.", - "file": "Client/ListAnalyses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnalyses", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListAnalyses", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListAnalyses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListAnalysesRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListAnalysesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalysisIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListAnalyses", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListAnalyses" }, + "description": "ListAnalyses lists analyses.", + "file": "Client/ListAnalyses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalyses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListAnalyses Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync", - "title": "contactcenterinsights ListAnalysisRules Sample", - "description": "ListAnalysisRules lists analysis rules.", - "file": "Client/ListAnalysisRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnalysisRules", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListAnalysisRules", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListAnalysisRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListAnalysisRulesRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListAnalysisRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalysisRuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListAnalysisRules", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalysisRules", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListAnalysisRules" }, + "description": "ListAnalysisRules lists analysis rules.", + "file": "Client/ListAnalysisRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListAnalysisRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListAnalysisRules Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync", - "title": "contactcenterinsights ListConversations Sample", - "description": "ListConversations lists conversations.", - "file": "Client/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListConversations", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists conversations.", + "file": "Client/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListConversations Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync", - "title": "contactcenterinsights ListFeedbackLabels Sample", - "description": "ListFeedbackLabels list feedback labels.", - "file": "Client/ListFeedbackLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFeedbackLabels", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListFeedbackLabels", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListFeedbackLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListFeedbackLabelsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListFeedbackLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeedbackLabelIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListFeedbackLabels", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListFeedbackLabels", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListFeedbackLabels" }, + "description": "ListFeedbackLabels list feedback labels.", + "file": "Client/ListFeedbackLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListFeedbackLabels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListFeedbackLabels Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync", - "title": "contactcenterinsights ListIssueModels Sample", - "description": "ListIssueModels lists issue models.", - "file": "Client/ListIssueModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIssueModels", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListIssueModels", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListIssueModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListIssueModelsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListIssueModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.ListIssueModelsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListIssueModels", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListIssueModels" }, + "description": "ListIssueModels lists issue models.", + "file": "Client/ListIssueModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssueModels_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListIssueModels Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync", - "title": "contactcenterinsights ListIssues Sample", - "description": "ListIssues lists issues.", - "file": "Client/ListIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIssues", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListIssues", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListIssuesRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*contactcenterinsightspb.ListIssuesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListIssues", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*contactcenterinsightspb.ListIssuesResponse", + "shortName": "ListIssues" }, + "description": "ListIssues lists issues.", + "file": "Client/ListIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListIssues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListIssues Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListOperations_sync", - "title": "contactcenterinsights ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListOperations Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync", - "title": "contactcenterinsights ListPhraseMatchers Sample", - "description": "ListPhraseMatchers lists phrase matchers.", - "file": "Client/ListPhraseMatchers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhraseMatchers", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListPhraseMatchers", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListPhraseMatchers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListPhraseMatchersRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListPhraseMatchersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PhraseMatcherIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListPhraseMatchers", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListPhraseMatchers" }, + "description": "ListPhraseMatchers lists phrase matchers.", + "file": "Client/ListPhraseMatchers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListPhraseMatchers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListPhraseMatchers Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync", - "title": "contactcenterinsights ListQaQuestions Sample", - "description": "ListQaQuestions lists QaQuestions.", - "file": "Client/ListQaQuestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQaQuestions", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListQaQuestions", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListQaQuestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListQaQuestionsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListQaQuestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QaQuestionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListQaQuestions", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaQuestions", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListQaQuestions" }, + "description": "ListQaQuestions lists QaQuestions.", + "file": "Client/ListQaQuestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaQuestions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListQaQuestions Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync", - "title": "contactcenterinsights ListQaScorecardRevisions Sample", - "description": "ListQaScorecardRevisions lists all revisions under the parent QaScorecard.", - "file": "Client/ListQaScorecardRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQaScorecardRevisions", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListQaScorecardRevisions", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListQaScorecardRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListQaScorecardRevisionsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListQaScorecardRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QaScorecardRevisionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListQaScorecardRevisions", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecardRevisions", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListQaScorecardRevisions" }, + "description": "ListQaScorecardRevisions lists all revisions under the parent QaScorecard.", + "file": "Client/ListQaScorecardRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecardRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListQaScorecardRevisions Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync", - "title": "contactcenterinsights ListQaScorecards Sample", - "description": "ListQaScorecards lists QaScorecards.", - "file": "Client/ListQaScorecards/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQaScorecards", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListQaScorecards", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListQaScorecards" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListQaScorecardsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListQaScorecardsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QaScorecardIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListQaScorecards", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListQaScorecards", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListQaScorecards" }, + "description": "ListQaScorecards lists QaScorecards.", + "file": "Client/ListQaScorecards/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListQaScorecards_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListQaScorecards Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync", - "title": "contactcenterinsights ListViews Sample", - "description": "ListViews lists views.", - "file": "Client/ListViews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListViews", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.ListViews", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "ListViews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.ListViewsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.ListViewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ViewIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "ListViews", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "ListViews" }, + "description": "ListViews lists views.", + "file": "Client/ListViews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_ListViews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights ListViews Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_sync", - "title": "contactcenterinsights QueryMetrics Sample", - "description": "QueryMetrics query metrics.", - "file": "Client/QueryMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryMetrics", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.QueryMetrics", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.QueryMetrics", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "QueryMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.QueryMetricsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.QueryMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryMetricsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "QueryMetrics", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.QueryMetrics", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "QueryMetrics" }, + "description": "QueryMetrics query metrics.", + "file": "Client/QueryMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_QueryMetrics_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights QueryMetrics Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync", - "title": "contactcenterinsights TuneQaScorecardRevision Sample", - "description": "TuneQaScorecardRevision fine tune one or more QaModels.", - "file": "Client/TuneQaScorecardRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "TuneQaScorecardRevision", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.TuneQaScorecardRevision", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "TuneQaScorecardRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.TuneQaScorecardRevisionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.TuneQaScorecardRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuneQaScorecardRevisionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "TuneQaScorecardRevision", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.TuneQaScorecardRevision", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "TuneQaScorecardRevision" }, + "description": "TuneQaScorecardRevision fine tune one or more QaModels.", + "file": "Client/TuneQaScorecardRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_TuneQaScorecardRevision_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights TuneQaScorecardRevision Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync", - "title": "contactcenterinsights UndeployIssueModel Sample", - "description": "UndeployIssueModel undeploys an issue model.\nAn issue model can not be used in analysis after it has been undeployed.", - "file": "Client/UndeployIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UndeployIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UndeployIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UndeployIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UndeployIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployIssueModelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UndeployIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UndeployIssueModel" }, + "description": "UndeployIssueModel undeploys an issue model.\nAn issue model can not be used in analysis after it has been undeployed.", + "file": "Client/UndeployIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployIssueModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UndeployIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_sync", - "title": "contactcenterinsights UndeployQaScorecardRevision Sample", - "description": "UndeployQaScorecardRevision undeploy a QaScorecardRevision.", - "file": "Client/UndeployQaScorecardRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployQaScorecardRevision", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UndeployQaScorecardRevision", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployQaScorecardRevision", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UndeployQaScorecardRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UndeployQaScorecardRevisionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UndeployQaScorecardRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecardRevision", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UndeployQaScorecardRevision", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployQaScorecardRevision", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UndeployQaScorecardRevision" }, + "description": "UndeployQaScorecardRevision undeploy a QaScorecardRevision.", + "file": "Client/UndeployQaScorecardRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UndeployQaScorecardRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UndeployQaScorecardRevision Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync", - "title": "contactcenterinsights UpdateAnalysisRule Sample", - "description": "UpdateAnalysisRule updates a analysis rule.", - "file": "Client/UpdateAnalysisRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAnalysisRule", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateAnalysisRule", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateAnalysisRule", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateAnalysisRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateAnalysisRuleRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateAnalysisRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.AnalysisRule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateAnalysisRule", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateAnalysisRule", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateAnalysisRule" }, + "description": "UpdateAnalysisRule updates a analysis rule.", + "file": "Client/UpdateAnalysisRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateAnalysisRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateAnalysisRule Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync", - "title": "contactcenterinsights UpdateConversation Sample", - "description": "UpdateConversation updates a conversation.", - "file": "Client/UpdateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversation", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateConversation", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateConversationRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Conversation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateConversation" }, + "description": "UpdateConversation updates a conversation.", + "file": "Client/UpdateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateConversation Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync", - "title": "contactcenterinsights UpdateFeedbackLabel Sample", - "description": "UpdateFeedbackLabel update feedback label.", - "file": "Client/UpdateFeedbackLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFeedbackLabel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateFeedbackLabel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateFeedbackLabel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateFeedbackLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateFeedbackLabelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateFeedbackLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.FeedbackLabel", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateFeedbackLabel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateFeedbackLabel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateFeedbackLabel" }, + "description": "UpdateFeedbackLabel update feedback label.", + "file": "Client/UpdateFeedbackLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateFeedbackLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateFeedbackLabel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync", - "title": "contactcenterinsights UpdateIssue Sample", - "description": "UpdateIssue updates an issue.", - "file": "Client/UpdateIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIssue", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateIssue", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateIssueRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Issue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateIssue", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateIssue" }, + "description": "UpdateIssue updates an issue.", + "file": "Client/UpdateIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateIssue Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync", - "title": "contactcenterinsights UpdateIssueModel Sample", - "description": "UpdateIssueModel updates an issue model.", - "file": "Client/UpdateIssueModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIssueModel", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateIssueModel", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateIssueModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateIssueModelRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateIssueModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.IssueModel", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateIssueModel" }, + "description": "UpdateIssueModel updates an issue model.", + "file": "Client/UpdateIssueModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateIssueModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateIssueModel Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync", - "title": "contactcenterinsights UpdatePhraseMatcher Sample", - "description": "UpdatePhraseMatcher updates a phrase matcher.", - "file": "Client/UpdatePhraseMatcher/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePhraseMatcher", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdatePhraseMatcher", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdatePhraseMatcher" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdatePhraseMatcherRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdatePhraseMatcherRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.PhraseMatcher", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdatePhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdatePhraseMatcher" }, + "description": "UpdatePhraseMatcher updates a phrase matcher.", + "file": "Client/UpdatePhraseMatcher/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdatePhraseMatcher_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdatePhraseMatcher Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync", - "title": "contactcenterinsights UpdateQaQuestion Sample", - "description": "UpdateQaQuestion updates a QaQuestion.", - "file": "Client/UpdateQaQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQaQuestion", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateQaQuestion", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaQuestion", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateQaQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateQaQuestionRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateQaQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaQuestion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateQaQuestion", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaQuestion", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateQaQuestion" }, + "description": "UpdateQaQuestion updates a QaQuestion.", + "file": "Client/UpdateQaQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaQuestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateQaQuestion Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync", - "title": "contactcenterinsights UpdateQaScorecard Sample", - "description": "UpdateQaScorecard updates a QaScorecard.", - "file": "Client/UpdateQaScorecard/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQaScorecard", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateQaScorecard", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaScorecard", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateQaScorecard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateQaScorecardRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateQaScorecardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.QaScorecard", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateQaScorecard", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateQaScorecard", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateQaScorecard" }, + "description": "UpdateQaScorecard updates a QaScorecard.", + "file": "Client/UpdateQaScorecard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateQaScorecard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateQaScorecard Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync", - "title": "contactcenterinsights UpdateSettings Sample", - "description": "UpdateSettings updates project-level settings.", - "file": "Client/UpdateSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSettings", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateSettings", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateSettingsRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.Settings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateSettings", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateSettings" }, + "description": "UpdateSettings updates project-level settings.", + "file": "Client/UpdateSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateSettings Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync", - "title": "contactcenterinsights UpdateView Sample", - "description": "UpdateView updates a view.", - "file": "Client/UpdateView/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateView", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UpdateView", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UpdateView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UpdateViewRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UpdateViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*contactcenterinsightspb.View", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UpdateView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UpdateView" }, + "description": "UpdateView updates a view.", + "file": "Client/UpdateView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UpdateView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UpdateView Sample" }, { - "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_sync", - "title": "contactcenterinsights UploadConversation Sample", - "description": "UploadConversation create a long-running conversation upload operation. This method differs\nfrom `CreateConversation` by allowing audio transcription and optional DLP\nredaction.", - "file": "Client/UploadConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadConversation", + "client": { + "fullName": "google.cloud.contactcenterinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.contactcenterinsights.v1.Client.UploadConversation", + "method": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UploadConversation", + "service": { + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "ContactCenterInsights" + }, + "shortName": "UploadConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "contactcenterinsightspb.UploadConversationRequest", - "name": "req" + "name": "req", + "type": "contactcenterinsightspb.UploadConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UploadConversationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.contactcenterinsights.v1.Client" - }, - "method": { - "shortName": "UploadConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UploadConversation", - "service": { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights" - } - } + "shortName": "UploadConversation" }, + "description": "UploadConversation create a long-running conversation upload operation. This method differs\nfrom `CreateConversation` by allowing audio transcription and optional DLP\nredaction.", + "file": "Client/UploadConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "contactcenterinsights_v1_generated_ContactCenterInsights_UploadConversation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "contactcenterinsights UploadConversation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json index d31100c908d9..84cf7907fbcf 100644 --- a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json +++ b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json @@ -1,1669 +1,1669 @@ { "clientLibrary": { - "name": "cloud.google.com/go/container/apiv1", - "version": "1.46.0", - "language": "GO", "apis": [ { "id": "google.container.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/container/apiv1", + "version": "1.46.0" }, "snippets": [ { - "regionTag": "container_v1_generated_ClusterManager_CancelOperation_sync", - "title": "container CancelOperation Sample", - "description": "CancelOperation cancels the specified operation.", - "file": "ClusterManagerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.CancelOperation", + "method": { + "fullName": "google.container.v1.ClusterManager.CancelOperation", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "containerpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.container.v1.ClusterManager.CancelOperation", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation cancels the specified operation.", + "file": "ClusterManagerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "container CancelOperation Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_CheckAutopilotCompatibility_sync", - "title": "container CheckAutopilotCompatibility Sample", - "description": "CheckAutopilotCompatibility checks the cluster compatibility with Autopilot mode, and returns a list of\ncompatibility issues.", - "file": "ClusterManagerClient/CheckAutopilotCompatibility/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckAutopilotCompatibility", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.CheckAutopilotCompatibility", + "method": { + "fullName": "google.container.v1.ClusterManager.CheckAutopilotCompatibility", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "CheckAutopilotCompatibility" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.CheckAutopilotCompatibilityRequest", - "name": "req" + "name": "req", + "type": "containerpb.CheckAutopilotCompatibilityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.CheckAutopilotCompatibilityResponse", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "CheckAutopilotCompatibility", - "fullName": "google.container.v1.ClusterManager.CheckAutopilotCompatibility", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "CheckAutopilotCompatibility" }, + "description": "CheckAutopilotCompatibility checks the cluster compatibility with Autopilot mode, and returns a list of\ncompatibility issues.", + "file": "ClusterManagerClient/CheckAutopilotCompatibility/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_CheckAutopilotCompatibility_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container CheckAutopilotCompatibility Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_CompleteIPRotation_sync", - "title": "container CompleteIPRotation Sample", - "description": "CompleteIPRotation completes master IP rotation.", - "file": "ClusterManagerClient/CompleteIPRotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteIPRotation", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.CompleteIPRotation", + "method": { + "fullName": "google.container.v1.ClusterManager.CompleteIPRotation", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "CompleteIPRotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.CompleteIPRotationRequest", - "name": "req" + "name": "req", + "type": "containerpb.CompleteIPRotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "CompleteIPRotation", - "fullName": "google.container.v1.ClusterManager.CompleteIPRotation", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "CompleteIPRotation" }, + "description": "CompleteIPRotation completes master IP rotation.", + "file": "ClusterManagerClient/CompleteIPRotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_CompleteIPRotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container CompleteIPRotation Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_sync", - "title": "container CompleteNodePoolUpgrade Sample", - "description": "CompleteNodePoolUpgrade completeNodePoolUpgrade will signal an on-going node pool upgrade to\ncomplete.", - "file": "ClusterManagerClient/CompleteNodePoolUpgrade/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteNodePoolUpgrade", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.CompleteNodePoolUpgrade", + "method": { + "fullName": "google.container.v1.ClusterManager.CompleteNodePoolUpgrade", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "CompleteNodePoolUpgrade" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.CompleteNodePoolUpgradeRequest", - "name": "req" + "name": "req", + "type": "containerpb.CompleteNodePoolUpgradeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "CompleteNodePoolUpgrade", - "fullName": "google.container.v1.ClusterManager.CompleteNodePoolUpgrade", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "CompleteNodePoolUpgrade" }, + "description": "CompleteNodePoolUpgrade completeNodePoolUpgrade will signal an on-going node pool upgrade to\ncomplete.", + "file": "ClusterManagerClient/CompleteNodePoolUpgrade/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "container CompleteNodePoolUpgrade Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_CreateCluster_sync", - "title": "container CreateCluster Sample", - "description": "CreateCluster creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default\nnetwork](https: //cloud.google.com/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe kubelet creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range the cluster is using.", - "file": "ClusterManagerClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.CreateCluster", + "method": { + "fullName": "google.container.v1.ClusterManager.CreateCluster", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "containerpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.container.v1.ClusterManager.CreateCluster", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default\nnetwork](https: //cloud.google.com/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe kubelet creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range the cluster is using.", + "file": "ClusterManagerClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_CreateCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container CreateCluster Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_CreateNodePool_sync", - "title": "container CreateNodePool Sample", - "description": "CreateNodePool creates a node pool for a cluster.", - "file": "ClusterManagerClient/CreateNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNodePool", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.CreateNodePool", + "method": { + "fullName": "google.container.v1.ClusterManager.CreateNodePool", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "CreateNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.CreateNodePoolRequest", - "name": "req" + "name": "req", + "type": "containerpb.CreateNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "CreateNodePool", - "fullName": "google.container.v1.ClusterManager.CreateNodePool", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "CreateNodePool" }, + "description": "CreateNodePool creates a node pool for a cluster.", + "file": "ClusterManagerClient/CreateNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_CreateNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container CreateNodePool Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_DeleteCluster_sync", - "title": "container DeleteCluster Sample", - "description": "DeleteCluster deletes the cluster, including the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that were configured during cluster creation\nare also deleted.\n\nOther Google Compute Engine resources that might be in use by the cluster,\nsuch as load balancer resources, are not deleted if they weren't present\nwhen the cluster was initially created.", - "file": "ClusterManagerClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.DeleteCluster", + "method": { + "fullName": "google.container.v1.ClusterManager.DeleteCluster", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "containerpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.container.v1.ClusterManager.DeleteCluster", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes the cluster, including the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that were configured during cluster creation\nare also deleted.\n\nOther Google Compute Engine resources that might be in use by the cluster,\nsuch as load balancer resources, are not deleted if they weren't present\nwhen the cluster was initially created.", + "file": "ClusterManagerClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container DeleteCluster Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_DeleteNodePool_sync", - "title": "container DeleteNodePool Sample", - "description": "DeleteNodePool deletes a node pool from a cluster.", - "file": "ClusterManagerClient/DeleteNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNodePool", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.DeleteNodePool", + "method": { + "fullName": "google.container.v1.ClusterManager.DeleteNodePool", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "DeleteNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.DeleteNodePoolRequest", - "name": "req" + "name": "req", + "type": "containerpb.DeleteNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "DeleteNodePool", - "fullName": "google.container.v1.ClusterManager.DeleteNodePool", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "DeleteNodePool" }, + "description": "DeleteNodePool deletes a node pool from a cluster.", + "file": "ClusterManagerClient/DeleteNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_DeleteNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container DeleteNodePool Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_FetchClusterUpgradeInfo_sync", - "title": "container FetchClusterUpgradeInfo Sample", - "description": "FetchClusterUpgradeInfo fetch upgrade information of a specific cluster.", - "file": "ClusterManagerClient/FetchClusterUpgradeInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchClusterUpgradeInfo", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.FetchClusterUpgradeInfo", + "method": { + "fullName": "google.container.v1.ClusterManager.FetchClusterUpgradeInfo", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "FetchClusterUpgradeInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.FetchClusterUpgradeInfoRequest", - "name": "req" + "name": "req", + "type": "containerpb.FetchClusterUpgradeInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.ClusterUpgradeInfo", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "FetchClusterUpgradeInfo", - "fullName": "google.container.v1.ClusterManager.FetchClusterUpgradeInfo", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "FetchClusterUpgradeInfo" }, + "description": "FetchClusterUpgradeInfo fetch upgrade information of a specific cluster.", + "file": "ClusterManagerClient/FetchClusterUpgradeInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_FetchClusterUpgradeInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container FetchClusterUpgradeInfo Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_FetchNodePoolUpgradeInfo_sync", - "title": "container FetchNodePoolUpgradeInfo Sample", - "description": "FetchNodePoolUpgradeInfo fetch upgrade information of a specific nodepool.", - "file": "ClusterManagerClient/FetchNodePoolUpgradeInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchNodePoolUpgradeInfo", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.FetchNodePoolUpgradeInfo", + "method": { + "fullName": "google.container.v1.ClusterManager.FetchNodePoolUpgradeInfo", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "FetchNodePoolUpgradeInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.FetchNodePoolUpgradeInfoRequest", - "name": "req" + "name": "req", + "type": "containerpb.FetchNodePoolUpgradeInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.NodePoolUpgradeInfo", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "FetchNodePoolUpgradeInfo", - "fullName": "google.container.v1.ClusterManager.FetchNodePoolUpgradeInfo", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "FetchNodePoolUpgradeInfo" }, + "description": "FetchNodePoolUpgradeInfo fetch upgrade information of a specific nodepool.", + "file": "ClusterManagerClient/FetchNodePoolUpgradeInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_FetchNodePoolUpgradeInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container FetchNodePoolUpgradeInfo Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_GetCluster_sync", - "title": "container GetCluster Sample", - "description": "GetCluster gets the details of a specific cluster.", - "file": "ClusterManagerClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.GetCluster", + "method": { + "fullName": "google.container.v1.ClusterManager.GetCluster", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "containerpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Cluster", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.container.v1.ClusterManager.GetCluster", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets the details of a specific cluster.", + "file": "ClusterManagerClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container GetCluster Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_GetJSONWebKeys_sync", - "title": "container GetJSONWebKeys Sample", - "description": "GetJSONWebKeys gets the public component of the cluster signing keys in\nJSON Web Key format.", - "file": "ClusterManagerClient/GetJSONWebKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJSONWebKeys", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.GetJSONWebKeys", + "method": { + "fullName": "google.container.v1.ClusterManager.GetJSONWebKeys", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "GetJSONWebKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.GetJSONWebKeysRequest", - "name": "req" + "name": "req", + "type": "containerpb.GetJSONWebKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.GetJSONWebKeysResponse", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "GetJSONWebKeys", - "fullName": "google.container.v1.ClusterManager.GetJSONWebKeys", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "GetJSONWebKeys" }, + "description": "GetJSONWebKeys gets the public component of the cluster signing keys in\nJSON Web Key format.", + "file": "ClusterManagerClient/GetJSONWebKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_GetJSONWebKeys_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container GetJSONWebKeys Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_GetNodePool_sync", - "title": "container GetNodePool Sample", - "description": "GetNodePool retrieves the requested node pool.", - "file": "ClusterManagerClient/GetNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNodePool", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.GetNodePool", + "method": { + "fullName": "google.container.v1.ClusterManager.GetNodePool", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "GetNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.GetNodePoolRequest", - "name": "req" + "name": "req", + "type": "containerpb.GetNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.NodePool", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "GetNodePool", - "fullName": "google.container.v1.ClusterManager.GetNodePool", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "GetNodePool" }, + "description": "GetNodePool retrieves the requested node pool.", + "file": "ClusterManagerClient/GetNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_GetNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container GetNodePool Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_GetOperation_sync", - "title": "container GetOperation Sample", - "description": "GetOperation gets the specified operation.", - "file": "ClusterManagerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.GetOperation", + "method": { + "fullName": "google.container.v1.ClusterManager.GetOperation", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "containerpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.container.v1.ClusterManager.GetOperation", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation gets the specified operation.", + "file": "ClusterManagerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container GetOperation Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_GetServerConfig_sync", - "title": "container GetServerConfig Sample", - "description": "GetServerConfig returns configuration info about the Google Kubernetes Engine service.", - "file": "ClusterManagerClient/GetServerConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServerConfig", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.GetServerConfig", + "method": { + "fullName": "google.container.v1.ClusterManager.GetServerConfig", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "GetServerConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.GetServerConfigRequest", - "name": "req" + "name": "req", + "type": "containerpb.GetServerConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.ServerConfig", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "GetServerConfig", - "fullName": "google.container.v1.ClusterManager.GetServerConfig", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "GetServerConfig" }, + "description": "GetServerConfig returns configuration info about the Google Kubernetes Engine service.", + "file": "ClusterManagerClient/GetServerConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_GetServerConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container GetServerConfig Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_ListClusters_sync", - "title": "container ListClusters Sample", - "description": "ListClusters lists all clusters owned by a project in either the specified zone or all\nzones.", - "file": "ClusterManagerClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.ListClusters", + "method": { + "fullName": "google.container.v1.ClusterManager.ListClusters", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "containerpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.ListClustersResponse", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.container.v1.ClusterManager.ListClusters", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists all clusters owned by a project in either the specified zone or all\nzones.", + "file": "ClusterManagerClient/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_ListClusters_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container ListClusters Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_ListNodePools_sync", - "title": "container ListNodePools Sample", - "description": "ListNodePools lists the node pools for a cluster.", - "file": "ClusterManagerClient/ListNodePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodePools", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.ListNodePools", + "method": { + "fullName": "google.container.v1.ClusterManager.ListNodePools", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "ListNodePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.ListNodePoolsRequest", - "name": "req" + "name": "req", + "type": "containerpb.ListNodePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.ListNodePoolsResponse", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "ListNodePools", - "fullName": "google.container.v1.ClusterManager.ListNodePools", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "ListNodePools" }, + "description": "ListNodePools lists the node pools for a cluster.", + "file": "ClusterManagerClient/ListNodePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_ListNodePools_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container ListNodePools Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_ListOperations_sync", - "title": "container ListOperations Sample", - "description": "ListOperations lists all operations in a project in a specific zone or all zones.", - "file": "ClusterManagerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.ListOperations", + "method": { + "fullName": "google.container.v1.ClusterManager.ListOperations", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "containerpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.ListOperationsResponse", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.container.v1.ClusterManager.ListOperations", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations lists all operations in a project in a specific zone or all zones.", + "file": "ClusterManagerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container ListOperations Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_ListUsableSubnetworks_sync", - "title": "container ListUsableSubnetworks Sample", - "description": "ListUsableSubnetworks lists subnetworks that are usable for creating clusters in a project.", - "file": "ClusterManagerClient/ListUsableSubnetworks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsableSubnetworks", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.ListUsableSubnetworks", + "method": { + "fullName": "google.container.v1.ClusterManager.ListUsableSubnetworks", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "ListUsableSubnetworks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.ListUsableSubnetworksRequest", - "name": "req" + "name": "req", + "type": "containerpb.ListUsableSubnetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UsableSubnetworkIterator", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "ListUsableSubnetworks", - "fullName": "google.container.v1.ClusterManager.ListUsableSubnetworks", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "ListUsableSubnetworks" }, + "description": "ListUsableSubnetworks lists subnetworks that are usable for creating clusters in a project.", + "file": "ClusterManagerClient/ListUsableSubnetworks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_ListUsableSubnetworks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "container ListUsableSubnetworks Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_sync", - "title": "container RollbackNodePoolUpgrade Sample", - "description": "RollbackNodePoolUpgrade rolls back a previously Aborted or Failed NodePool upgrade.\nThis makes no changes if the last upgrade successfully completed.", - "file": "ClusterManagerClient/RollbackNodePoolUpgrade/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackNodePoolUpgrade", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.RollbackNodePoolUpgrade", + "method": { + "fullName": "google.container.v1.ClusterManager.RollbackNodePoolUpgrade", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "RollbackNodePoolUpgrade" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.RollbackNodePoolUpgradeRequest", - "name": "req" + "name": "req", + "type": "containerpb.RollbackNodePoolUpgradeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "RollbackNodePoolUpgrade", - "fullName": "google.container.v1.ClusterManager.RollbackNodePoolUpgrade", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "RollbackNodePoolUpgrade" }, + "description": "RollbackNodePoolUpgrade rolls back a previously Aborted or Failed NodePool upgrade.\nThis makes no changes if the last upgrade successfully completed.", + "file": "ClusterManagerClient/RollbackNodePoolUpgrade/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container RollbackNodePoolUpgrade Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetAddonsConfig_sync", - "title": "container SetAddonsConfig Sample", - "description": "SetAddonsConfig sets the addons for a specific cluster.", - "file": "ClusterManagerClient/SetAddonsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetAddonsConfig", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetAddonsConfig", + "method": { + "fullName": "google.container.v1.ClusterManager.SetAddonsConfig", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetAddonsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetAddonsConfigRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetAddonsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetAddonsConfig", - "fullName": "google.container.v1.ClusterManager.SetAddonsConfig", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetAddonsConfig" }, + "description": "SetAddonsConfig sets the addons for a specific cluster.", + "file": "ClusterManagerClient/SetAddonsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetAddonsConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetAddonsConfig Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetLabels_sync", - "title": "container SetLabels Sample", - "description": "SetLabels sets labels on a cluster.", - "file": "ClusterManagerClient/SetLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLabels", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetLabels", + "method": { + "fullName": "google.container.v1.ClusterManager.SetLabels", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetLabelsRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetLabels", - "fullName": "google.container.v1.ClusterManager.SetLabels", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetLabels" }, + "description": "SetLabels sets labels on a cluster.", + "file": "ClusterManagerClient/SetLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetLabels_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetLabels Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetLegacyAbac_sync", - "title": "container SetLegacyAbac Sample", - "description": "SetLegacyAbac enables or disables the ABAC authorization mechanism on a cluster.", - "file": "ClusterManagerClient/SetLegacyAbac/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLegacyAbac", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetLegacyAbac", + "method": { + "fullName": "google.container.v1.ClusterManager.SetLegacyAbac", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetLegacyAbac" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetLegacyAbacRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetLegacyAbacRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetLegacyAbac", - "fullName": "google.container.v1.ClusterManager.SetLegacyAbac", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetLegacyAbac" }, + "description": "SetLegacyAbac enables or disables the ABAC authorization mechanism on a cluster.", + "file": "ClusterManagerClient/SetLegacyAbac/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetLegacyAbac_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetLegacyAbac Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetLocations_sync", - "title": "container SetLocations Sample", - "description": "SetLocations sets the locations for a specific cluster.\nDeprecated. Use\n[projects.locations.clusters.update](https: //cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)\ninstead.\n\n\nDeprecated: SetLocations may be removed in a future version.", - "file": "ClusterManagerClient/SetLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLocations", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetLocations", + "method": { + "fullName": "google.container.v1.ClusterManager.SetLocations", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetLocationsRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetLocations", - "fullName": "google.container.v1.ClusterManager.SetLocations", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetLocations" }, + "description": "SetLocations sets the locations for a specific cluster.\nDeprecated. Use\n[projects.locations.clusters.update](https: //cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)\ninstead.\n\n\nDeprecated: SetLocations may be removed in a future version.", + "file": "ClusterManagerClient/SetLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetLocations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetLocations Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetLoggingService_sync", - "title": "container SetLoggingService Sample", - "description": "SetLoggingService sets the logging service for a specific cluster.", - "file": "ClusterManagerClient/SetLoggingService/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetLoggingService", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetLoggingService", + "method": { + "fullName": "google.container.v1.ClusterManager.SetLoggingService", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetLoggingService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetLoggingServiceRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetLoggingServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetLoggingService", - "fullName": "google.container.v1.ClusterManager.SetLoggingService", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetLoggingService" }, + "description": "SetLoggingService sets the logging service for a specific cluster.", + "file": "ClusterManagerClient/SetLoggingService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetLoggingService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetLoggingService Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetMaintenancePolicy_sync", - "title": "container SetMaintenancePolicy Sample", - "description": "SetMaintenancePolicy sets the maintenance policy for a cluster.", - "file": "ClusterManagerClient/SetMaintenancePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMaintenancePolicy", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetMaintenancePolicy", + "method": { + "fullName": "google.container.v1.ClusterManager.SetMaintenancePolicy", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetMaintenancePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetMaintenancePolicyRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetMaintenancePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetMaintenancePolicy", - "fullName": "google.container.v1.ClusterManager.SetMaintenancePolicy", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetMaintenancePolicy" }, + "description": "SetMaintenancePolicy sets the maintenance policy for a cluster.", + "file": "ClusterManagerClient/SetMaintenancePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetMaintenancePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetMaintenancePolicy Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetMasterAuth_sync", - "title": "container SetMasterAuth Sample", - "description": "SetMasterAuth sets master auth materials. Currently supports changing the admin password\nor a specific cluster, either via password generation or explicitly setting\nthe password.", - "file": "ClusterManagerClient/SetMasterAuth/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMasterAuth", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetMasterAuth", + "method": { + "fullName": "google.container.v1.ClusterManager.SetMasterAuth", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetMasterAuth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetMasterAuthRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetMasterAuthRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetMasterAuth", - "fullName": "google.container.v1.ClusterManager.SetMasterAuth", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetMasterAuth" }, + "description": "SetMasterAuth sets master auth materials. Currently supports changing the admin password\nor a specific cluster, either via password generation or explicitly setting\nthe password.", + "file": "ClusterManagerClient/SetMasterAuth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetMasterAuth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetMasterAuth Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetMonitoringService_sync", - "title": "container SetMonitoringService Sample", - "description": "SetMonitoringService sets the monitoring service for a specific cluster.", - "file": "ClusterManagerClient/SetMonitoringService/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMonitoringService", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetMonitoringService", + "method": { + "fullName": "google.container.v1.ClusterManager.SetMonitoringService", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetMonitoringService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetMonitoringServiceRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetMonitoringServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetMonitoringService", - "fullName": "google.container.v1.ClusterManager.SetMonitoringService", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetMonitoringService" }, + "description": "SetMonitoringService sets the monitoring service for a specific cluster.", + "file": "ClusterManagerClient/SetMonitoringService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetMonitoringService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetMonitoringService Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetNetworkPolicy_sync", - "title": "container SetNetworkPolicy Sample", - "description": "SetNetworkPolicy enables or disables Network Policy for a cluster.", - "file": "ClusterManagerClient/SetNetworkPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNetworkPolicy", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetNetworkPolicy", + "method": { + "fullName": "google.container.v1.ClusterManager.SetNetworkPolicy", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetNetworkPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetNetworkPolicy", - "fullName": "google.container.v1.ClusterManager.SetNetworkPolicy", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetNetworkPolicy" }, + "description": "SetNetworkPolicy enables or disables Network Policy for a cluster.", + "file": "ClusterManagerClient/SetNetworkPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetNetworkPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetNetworkPolicy Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetNodePoolAutoscaling_sync", - "title": "container SetNodePoolAutoscaling Sample", - "description": "SetNodePoolAutoscaling sets the autoscaling settings for the specified node pool.", - "file": "ClusterManagerClient/SetNodePoolAutoscaling/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNodePoolAutoscaling", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetNodePoolAutoscaling", + "method": { + "fullName": "google.container.v1.ClusterManager.SetNodePoolAutoscaling", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetNodePoolAutoscaling" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetNodePoolAutoscalingRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetNodePoolAutoscalingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetNodePoolAutoscaling", - "fullName": "google.container.v1.ClusterManager.SetNodePoolAutoscaling", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetNodePoolAutoscaling" }, + "description": "SetNodePoolAutoscaling sets the autoscaling settings for the specified node pool.", + "file": "ClusterManagerClient/SetNodePoolAutoscaling/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetNodePoolAutoscaling_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetNodePoolAutoscaling Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetNodePoolManagement_sync", - "title": "container SetNodePoolManagement Sample", - "description": "SetNodePoolManagement sets the NodeManagement options for a node pool.", - "file": "ClusterManagerClient/SetNodePoolManagement/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNodePoolManagement", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetNodePoolManagement", + "method": { + "fullName": "google.container.v1.ClusterManager.SetNodePoolManagement", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetNodePoolManagement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetNodePoolManagementRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetNodePoolManagementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetNodePoolManagement", - "fullName": "google.container.v1.ClusterManager.SetNodePoolManagement", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetNodePoolManagement" }, + "description": "SetNodePoolManagement sets the NodeManagement options for a node pool.", + "file": "ClusterManagerClient/SetNodePoolManagement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetNodePoolManagement_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetNodePoolManagement Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_SetNodePoolSize_sync", - "title": "container SetNodePoolSize Sample", - "description": "SetNodePoolSize sets the size for a specific node pool. The new size will be used for all\nreplicas, including future replicas created by modifying\n[NodePool.locations][google.container.v1.NodePool.locations].", - "file": "ClusterManagerClient/SetNodePoolSize/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetNodePoolSize", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.SetNodePoolSize", + "method": { + "fullName": "google.container.v1.ClusterManager.SetNodePoolSize", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "SetNodePoolSize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.SetNodePoolSizeRequest", - "name": "req" + "name": "req", + "type": "containerpb.SetNodePoolSizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "SetNodePoolSize", - "fullName": "google.container.v1.ClusterManager.SetNodePoolSize", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "SetNodePoolSize" }, + "description": "SetNodePoolSize sets the size for a specific node pool. The new size will be used for all\nreplicas, including future replicas created by modifying\n[NodePool.locations][google.container.v1.NodePool.locations].", + "file": "ClusterManagerClient/SetNodePoolSize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_SetNodePoolSize_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container SetNodePoolSize Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_StartIPRotation_sync", - "title": "container StartIPRotation Sample", - "description": "StartIPRotation starts master IP rotation.", - "file": "ClusterManagerClient/StartIPRotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartIPRotation", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.StartIPRotation", + "method": { + "fullName": "google.container.v1.ClusterManager.StartIPRotation", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "StartIPRotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.StartIPRotationRequest", - "name": "req" + "name": "req", + "type": "containerpb.StartIPRotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "StartIPRotation", - "fullName": "google.container.v1.ClusterManager.StartIPRotation", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "StartIPRotation" }, + "description": "StartIPRotation starts master IP rotation.", + "file": "ClusterManagerClient/StartIPRotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_StartIPRotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container StartIPRotation Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_UpdateCluster_sync", - "title": "container UpdateCluster Sample", - "description": "UpdateCluster updates the settings of a specific cluster.", - "file": "ClusterManagerClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.UpdateCluster", + "method": { + "fullName": "google.container.v1.ClusterManager.UpdateCluster", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "containerpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.container.v1.ClusterManager.UpdateCluster", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the settings of a specific cluster.", + "file": "ClusterManagerClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container UpdateCluster Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_UpdateMaster_sync", - "title": "container UpdateMaster Sample", - "description": "UpdateMaster updates the master for a specific cluster.", - "file": "ClusterManagerClient/UpdateMaster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMaster", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.UpdateMaster", + "method": { + "fullName": "google.container.v1.ClusterManager.UpdateMaster", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "UpdateMaster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.UpdateMasterRequest", - "name": "req" + "name": "req", + "type": "containerpb.UpdateMasterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "UpdateMaster", - "fullName": "google.container.v1.ClusterManager.UpdateMaster", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "UpdateMaster" }, + "description": "UpdateMaster updates the master for a specific cluster.", + "file": "ClusterManagerClient/UpdateMaster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_UpdateMaster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container UpdateMaster Sample" }, { - "regionTag": "container_v1_generated_ClusterManager_UpdateNodePool_sync", - "title": "container UpdateNodePool Sample", - "description": "UpdateNodePool updates the version and/or image type for the specified node pool.", - "file": "ClusterManagerClient/UpdateNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNodePool", + "client": { + "fullName": "google.container.v1.ClusterManagerClient", + "shortName": "ClusterManagerClient" + }, "fullName": "google.container.v1.ClusterManagerClient.UpdateNodePool", + "method": { + "fullName": "google.container.v1.ClusterManager.UpdateNodePool", + "service": { + "fullName": "google.container.v1.ClusterManager", + "shortName": "ClusterManager" + }, + "shortName": "UpdateNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containerpb.UpdateNodePoolRequest", - "name": "req" + "name": "req", + "type": "containerpb.UpdateNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containerpb.Operation", - "client": { - "shortName": "ClusterManagerClient", - "fullName": "google.container.v1.ClusterManagerClient" - }, - "method": { - "shortName": "UpdateNodePool", - "fullName": "google.container.v1.ClusterManager.UpdateNodePool", - "service": { - "shortName": "ClusterManager", - "fullName": "google.container.v1.ClusterManager" - } - } + "shortName": "UpdateNodePool" }, + "description": "UpdateNodePool updates the version and/or image type for the specified node pool.", + "file": "ClusterManagerClient/UpdateNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "container_v1_generated_ClusterManager_UpdateNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "container UpdateNodePool Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json index 2a6b187c9121..f7307f29d726 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json @@ -1,933 +1,933 @@ { "clientLibrary": { - "name": "cloud.google.com/go/containeranalysis/apiv1beta1", - "version": "0.14.2", - "language": "GO", "apis": [ { "id": "google.devtools.containeranalysis.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/containeranalysis/apiv1beta1", + "version": "0.14.2" }, "snippets": [ { - "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_ExportSBOM_sync", - "title": "containeranalysis ExportSBOM Sample", - "description": "ExportSBOM generates an SBOM and other dependency information for the given resource.", - "file": "ContainerAnalysisV1Beta1Client/ExportSBOM/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportSBOM", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client", + "shortName": "ContainerAnalysisV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client.ExportSBOM", + "method": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ExportSBOM", + "service": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + "shortName": "ContainerAnalysisV1Beta1" + }, + "shortName": "ExportSBOM" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containeranalysispb.ExportSBOMRequest", - "name": "req" + "name": "req", + "type": "containeranalysispb.ExportSBOMRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containeranalysispb.ExportSBOMResponse", - "client": { - "shortName": "ContainerAnalysisV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client" - }, - "method": { - "shortName": "ExportSBOM", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ExportSBOM", - "service": { - "shortName": "ContainerAnalysisV1Beta1", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1" - } - } + "shortName": "ExportSBOM" }, + "description": "ExportSBOM generates an SBOM and other dependency information for the given resource.", + "file": "ContainerAnalysisV1Beta1Client/ExportSBOM/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_ExportSBOM_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis ExportSBOM Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GeneratePackagesSummary_sync", - "title": "containeranalysis GeneratePackagesSummary Sample", - "description": "GeneratePackagesSummary gets a summary of the packages within a given resource.", - "file": "ContainerAnalysisV1Beta1Client/GeneratePackagesSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GeneratePackagesSummary", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client", + "shortName": "ContainerAnalysisV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client.GeneratePackagesSummary", + "method": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GeneratePackagesSummary", + "service": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + "shortName": "ContainerAnalysisV1Beta1" + }, + "shortName": "GeneratePackagesSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "containeranalysispb.GeneratePackagesSummaryRequest", - "name": "req" + "name": "req", + "type": "containeranalysispb.GeneratePackagesSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*containeranalysispb.PackagesSummaryResponse", - "client": { - "shortName": "ContainerAnalysisV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client" - }, - "method": { - "shortName": "GeneratePackagesSummary", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GeneratePackagesSummary", - "service": { - "shortName": "ContainerAnalysisV1Beta1", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1" - } - } + "shortName": "GeneratePackagesSummary" }, + "description": "GeneratePackagesSummary gets a summary of the packages within a given resource.", + "file": "ContainerAnalysisV1Beta1Client/GeneratePackagesSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GeneratePackagesSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis GeneratePackagesSummary Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GetIamPolicy_sync", - "title": "containeranalysis GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a note or an occurrence resource.\nRequires `containeranalysis.notes.setIamPolicy` or\n`containeranalysis.occurrences.setIamPolicy` permission if the resource is\na note or occurrence, respectively.\n\nThe resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for\nnotes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for\noccurrences.", - "file": "ContainerAnalysisV1Beta1Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client", + "shortName": "ContainerAnalysisV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client.GetIamPolicy", + "method": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy", + "service": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + "shortName": "ContainerAnalysisV1Beta1" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ContainerAnalysisV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy", - "service": { - "shortName": "ContainerAnalysisV1Beta1", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a note or an occurrence resource.\nRequires `containeranalysis.notes.setIamPolicy` or\n`containeranalysis.occurrences.setIamPolicy` permission if the resource is\na note or occurrence, respectively.\n\nThe resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for\nnotes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for\noccurrences.", + "file": "ContainerAnalysisV1Beta1Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis GetIamPolicy Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_SetIamPolicy_sync", - "title": "containeranalysis SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified note or occurrence.\nRequires `containeranalysis.notes.setIamPolicy` or\n`containeranalysis.occurrences.setIamPolicy` permission if the resource is\na note or an occurrence, respectively.\n\nThe resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for\nnotes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for\noccurrences.", - "file": "ContainerAnalysisV1Beta1Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client", + "shortName": "ContainerAnalysisV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client.SetIamPolicy", + "method": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicy", + "service": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + "shortName": "ContainerAnalysisV1Beta1" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ContainerAnalysisV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicy", - "service": { - "shortName": "ContainerAnalysisV1Beta1", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified note or occurrence.\nRequires `containeranalysis.notes.setIamPolicy` or\n`containeranalysis.occurrences.setIamPolicy` permission if the resource is\na note or an occurrence, respectively.\n\nThe resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for\nnotes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for\noccurrences.", + "file": "ContainerAnalysisV1Beta1Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis SetIamPolicy Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_TestIamPermissions_sync", - "title": "containeranalysis TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified note or\noccurrence. Requires list permission on the project (for example,\n`containeranalysis.notes.list`).\n\nThe resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for\nnotes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for\noccurrences.", - "file": "ContainerAnalysisV1Beta1Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client", + "shortName": "ContainerAnalysisV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client.TestIamPermissions", + "method": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissions", + "service": { + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + "shortName": "ContainerAnalysisV1Beta1" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ContainerAnalysisV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissions", - "service": { - "shortName": "ContainerAnalysisV1Beta1", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified note or\noccurrence. Requires list permission on the project (for example,\n`containeranalysis.notes.list`).\n\nThe resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for\nnotes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for\noccurrences.", + "file": "ContainerAnalysisV1Beta1Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis TestIamPermissions Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_BatchCreateNotes_sync", - "title": "containeranalysis BatchCreateNotes Sample", - "description": "BatchCreateNotes creates new notes in batch.", - "file": "GrafeasV1Beta1Client/BatchCreateNotes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateNotes", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.BatchCreateNotes", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotes", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "BatchCreateNotes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.BatchCreateNotesRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.BatchCreateNotesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.BatchCreateNotesResponse", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "BatchCreateNotes", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotes", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "BatchCreateNotes" }, + "description": "BatchCreateNotes creates new notes in batch.", + "file": "GrafeasV1Beta1Client/BatchCreateNotes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_BatchCreateNotes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis BatchCreateNotes Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_BatchCreateOccurrences_sync", - "title": "containeranalysis BatchCreateOccurrences Sample", - "description": "BatchCreateOccurrences creates new occurrences in batch.", - "file": "GrafeasV1Beta1Client/BatchCreateOccurrences/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateOccurrences", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.BatchCreateOccurrences", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrences", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "BatchCreateOccurrences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.BatchCreateOccurrencesRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.BatchCreateOccurrencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.BatchCreateOccurrencesResponse", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "BatchCreateOccurrences", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrences", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "BatchCreateOccurrences" }, + "description": "BatchCreateOccurrences creates new occurrences in batch.", + "file": "GrafeasV1Beta1Client/BatchCreateOccurrences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_BatchCreateOccurrences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis BatchCreateOccurrences Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_CreateNote_sync", - "title": "containeranalysis CreateNote Sample", - "description": "CreateNote creates a new note.", - "file": "GrafeasV1Beta1Client/CreateNote/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNote", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.CreateNote", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.CreateNote", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "CreateNote" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.CreateNoteRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.CreateNoteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Note", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "CreateNote", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.CreateNote", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "CreateNote" }, + "description": "CreateNote creates a new note.", + "file": "GrafeasV1Beta1Client/CreateNote/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_CreateNote_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis CreateNote Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_CreateOccurrence_sync", - "title": "containeranalysis CreateOccurrence Sample", - "description": "CreateOccurrence creates a new occurrence.", - "file": "GrafeasV1Beta1Client/CreateOccurrence/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOccurrence", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.CreateOccurrence", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrence", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "CreateOccurrence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.CreateOccurrenceRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.CreateOccurrenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Occurrence", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "CreateOccurrence", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrence", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "CreateOccurrence" }, + "description": "CreateOccurrence creates a new occurrence.", + "file": "GrafeasV1Beta1Client/CreateOccurrence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_CreateOccurrence_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis CreateOccurrence Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_DeleteNote_sync", - "title": "containeranalysis DeleteNote Sample", - "description": "DeleteNote deletes the specified note.", - "file": "GrafeasV1Beta1Client/DeleteNote/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNote", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.DeleteNote", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.DeleteNote", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "DeleteNote" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.DeleteNoteRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.DeleteNoteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "DeleteNote", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.DeleteNote", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "DeleteNote" }, + "description": "DeleteNote deletes the specified note.", + "file": "GrafeasV1Beta1Client/DeleteNote/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_DeleteNote_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis DeleteNote Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_DeleteOccurrence_sync", - "title": "containeranalysis DeleteOccurrence Sample", - "description": "DeleteOccurrence deletes the specified occurrence. For example, use this method to delete an\noccurrence when the occurrence is no longer applicable for the given\nresource.", - "file": "GrafeasV1Beta1Client/DeleteOccurrence/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOccurrence", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.DeleteOccurrence", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrence", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "DeleteOccurrence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.DeleteOccurrenceRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.DeleteOccurrenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "DeleteOccurrence", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrence", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "DeleteOccurrence" }, + "description": "DeleteOccurrence deletes the specified occurrence. For example, use this method to delete an\noccurrence when the occurrence is no longer applicable for the given\nresource.", + "file": "GrafeasV1Beta1Client/DeleteOccurrence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_DeleteOccurrence_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis DeleteOccurrence Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetNote_sync", - "title": "containeranalysis GetNote Sample", - "description": "GetNote gets the specified note.", - "file": "GrafeasV1Beta1Client/GetNote/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNote", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.GetNote", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetNote", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "GetNote" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.GetNoteRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.GetNoteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Note", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "GetNote", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetNote", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "GetNote" }, + "description": "GetNote gets the specified note.", + "file": "GrafeasV1Beta1Client/GetNote/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetNote_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis GetNote Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetOccurrence_sync", - "title": "containeranalysis GetOccurrence Sample", - "description": "GetOccurrence gets the specified occurrence.", - "file": "GrafeasV1Beta1Client/GetOccurrence/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOccurrence", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.GetOccurrence", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetOccurrence", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "GetOccurrence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.GetOccurrenceRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.GetOccurrenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Occurrence", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "GetOccurrence", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetOccurrence", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "GetOccurrence" }, + "description": "GetOccurrence gets the specified occurrence.", + "file": "GrafeasV1Beta1Client/GetOccurrence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetOccurrence_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis GetOccurrence Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetOccurrenceNote_sync", - "title": "containeranalysis GetOccurrenceNote Sample", - "description": "GetOccurrenceNote gets the note attached to the specified occurrence. Consumer projects can\nuse this method to get a note that belongs to a provider project.", - "file": "GrafeasV1Beta1Client/GetOccurrenceNote/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOccurrenceNote", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.GetOccurrenceNote", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNote", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "GetOccurrenceNote" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.GetOccurrenceNoteRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.GetOccurrenceNoteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Note", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "GetOccurrenceNote", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNote", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "GetOccurrenceNote" }, + "description": "GetOccurrenceNote gets the note attached to the specified occurrence. Consumer projects can\nuse this method to get a note that belongs to a provider project.", + "file": "GrafeasV1Beta1Client/GetOccurrenceNote/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetOccurrenceNote_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis GetOccurrenceNote Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_sync", - "title": "containeranalysis GetVulnerabilityOccurrencesSummary Sample", - "description": "GetVulnerabilityOccurrencesSummary gets a summary of the number and severity of occurrences.", - "file": "GrafeasV1Beta1Client/GetVulnerabilityOccurrencesSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVulnerabilityOccurrencesSummary", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.GetVulnerabilityOccurrencesSummary", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummary", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "GetVulnerabilityOccurrencesSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.GetVulnerabilityOccurrencesSummaryRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.GetVulnerabilityOccurrencesSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.VulnerabilityOccurrencesSummary", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "GetVulnerabilityOccurrencesSummary", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummary", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "GetVulnerabilityOccurrencesSummary" }, + "description": "GetVulnerabilityOccurrencesSummary gets a summary of the number and severity of occurrences.", + "file": "GrafeasV1Beta1Client/GetVulnerabilityOccurrencesSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis GetVulnerabilityOccurrencesSummary Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_ListNoteOccurrences_sync", - "title": "containeranalysis ListNoteOccurrences Sample", - "description": "ListNoteOccurrences lists occurrences referencing the specified note. Provider projects can use\nthis method to get all occurrences across consumer projects referencing the\nspecified note.", - "file": "GrafeasV1Beta1Client/ListNoteOccurrences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNoteOccurrences", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.ListNoteOccurrences", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrences", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "ListNoteOccurrences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.ListNoteOccurrencesRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.ListNoteOccurrencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OccurrenceIterator", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "ListNoteOccurrences", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrences", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "ListNoteOccurrences" }, + "description": "ListNoteOccurrences lists occurrences referencing the specified note. Provider projects can use\nthis method to get all occurrences across consumer projects referencing the\nspecified note.", + "file": "GrafeasV1Beta1Client/ListNoteOccurrences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_ListNoteOccurrences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis ListNoteOccurrences Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_ListNotes_sync", - "title": "containeranalysis ListNotes Sample", - "description": "ListNotes lists notes for the specified project.", - "file": "GrafeasV1Beta1Client/ListNotes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotes", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.ListNotes", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListNotes", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "ListNotes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.ListNotesRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.ListNotesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NoteIterator", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "ListNotes", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListNotes", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "ListNotes" }, + "description": "ListNotes lists notes for the specified project.", + "file": "GrafeasV1Beta1Client/ListNotes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_ListNotes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis ListNotes Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_ListOccurrences_sync", - "title": "containeranalysis ListOccurrences Sample", - "description": "ListOccurrences lists occurrences for the specified project.", - "file": "GrafeasV1Beta1Client/ListOccurrences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOccurrences", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.ListOccurrences", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListOccurrences", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "ListOccurrences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.ListOccurrencesRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.ListOccurrencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OccurrenceIterator", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "ListOccurrences", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListOccurrences", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "ListOccurrences" }, + "description": "ListOccurrences lists occurrences for the specified project.", + "file": "GrafeasV1Beta1Client/ListOccurrences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_ListOccurrences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis ListOccurrences Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_UpdateNote_sync", - "title": "containeranalysis UpdateNote Sample", - "description": "UpdateNote updates the specified note.", - "file": "GrafeasV1Beta1Client/UpdateNote/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNote", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.UpdateNote", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.UpdateNote", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "UpdateNote" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.UpdateNoteRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.UpdateNoteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Note", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "UpdateNote", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.UpdateNote", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "UpdateNote" }, + "description": "UpdateNote updates the specified note.", + "file": "GrafeasV1Beta1Client/UpdateNote/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_UpdateNote_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis UpdateNote Sample" }, { - "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_UpdateOccurrence_sync", - "title": "containeranalysis UpdateOccurrence Sample", - "description": "UpdateOccurrence updates the specified occurrence.", - "file": "GrafeasV1Beta1Client/UpdateOccurrence/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOccurrence", + "client": { + "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client", + "shortName": "GrafeasV1Beta1Client" + }, "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client.UpdateOccurrence", + "method": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrence", + "service": { + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "shortName": "GrafeasV1Beta1" + }, + "shortName": "UpdateOccurrence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "grafeaspb.UpdateOccurrenceRequest", - "name": "req" + "name": "req", + "type": "grafeaspb.UpdateOccurrenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*grafeaspb.Occurrence", - "client": { - "shortName": "GrafeasV1Beta1Client", - "fullName": "google.devtools.containeranalysis.v1beta1.GrafeasV1Beta1Client" - }, - "method": { - "shortName": "UpdateOccurrence", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrence", - "service": { - "shortName": "GrafeasV1Beta1", - "fullName": "grafeas.v1beta1.GrafeasV1Beta1" - } - } + "shortName": "UpdateOccurrence" }, + "description": "UpdateOccurrence updates the specified occurrence.", + "file": "GrafeasV1Beta1Client/UpdateOccurrence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "containeranalysis_v1beta1_generated_GrafeasV1Beta1_UpdateOccurrence_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "containeranalysis UpdateOccurrence Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json index fe7e6483ce49..0e3e405d6223 100644 --- a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json +++ b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json @@ -1,2992 +1,2992 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datacatalog/apiv1", - "version": "1.26.1", - "language": "GO", "apis": [ { "id": "google.cloud.datacatalog.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datacatalog/apiv1", + "version": "1.26.1" }, "snippets": [ { - "regionTag": "datacatalog_v1_generated_DataCatalog_CancelOperation_sync", - "title": "datacatalog CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CancelOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_CreateEntry_sync", - "title": "datacatalog CreateEntry Sample", - "description": "CreateEntry creates an entry.\n\nYou can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',\nor custom types. Data Catalog automatically creates entries with other\ntypes during metadata ingestion from integrated systems.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\nAn entry group can have a maximum of 100,000 entries.\n\n\nDeprecated: CreateEntry may be removed in a future version.", - "file": "Client/CreateEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.CreateEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "CreateEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "CreateEntry" }, + "description": "CreateEntry creates an entry.\n\nYou can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',\nor custom types. Data Catalog automatically creates entries with other\ntypes during metadata ingestion from integrated systems.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\nAn entry group can have a maximum of 100,000 entries.\n\n\nDeprecated: CreateEntry may be removed in a future version.", + "file": "Client/CreateEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_CreateEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync", - "title": "datacatalog CreateEntryGroup Sample", - "description": "CreateEntryGroup creates an entry group.\n\nAn entry group contains logically related entries together with [Cloud\nIdentity and Access Management](/data-catalog/docs/concepts/iam) policies.\nThese policies specify users who can create, edit, and view entries\nwithin entry groups.\n\nData Catalog automatically creates entry groups with names that start with\nthe `@` symbol for the following resources: \n\n* BigQuery entries (`@bigquery`)\n* Pub/Sub topics (`@pubsub`)\n* Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)\n\nYou can create your own entry groups for Cloud Storage fileset entries\nand custom entries together with the corresponding IAM policies.\nUser-created entry groups can't contain the `@` symbol, it is reserved\nfor automatically created groups.\n\nEntry groups, like entries, can be searched.\n\nA maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateEntryGroup may be removed in a future version.", - "file": "Client/CreateEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.CreateEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "CreateEntryGroup", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "CreateEntryGroup" }, + "description": "CreateEntryGroup creates an entry group.\n\nAn entry group contains logically related entries together with [Cloud\nIdentity and Access Management](/data-catalog/docs/concepts/iam) policies.\nThese policies specify users who can create, edit, and view entries\nwithin entry groups.\n\nData Catalog automatically creates entry groups with names that start with\nthe `@` symbol for the following resources: \n\n* BigQuery entries (`@bigquery`)\n* Pub/Sub topics (`@pubsub`)\n* Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)\n\nYou can create your own entry groups for Cloud Storage fileset entries\nand custom entries together with the corresponding IAM policies.\nUser-created entry groups can't contain the `@` symbol, it is reserved\nfor automatically created groups.\n\nEntry groups, like entries, can be searched.\n\nA maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateEntryGroup may be removed in a future version.", + "file": "Client/CreateEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_CreateEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateEntryGroup Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_CreateTag_sync", - "title": "datacatalog CreateTag Sample", - "description": "CreateTag creates a tag and assigns it to: \n\n* An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is\n`projects.locations.entryGroups.entries.tags.create`.\n* Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method\nname is `projects.locations.entryGroups.tags.create`.\n\nNote: The project identified by the `parent` parameter for the [tag]\n(https: //cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the [tag template]\n(https: //cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be in the same organization.\n\n\nDeprecated: CreateTag may be removed in a future version.", - "file": "Client/CreateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.CreateTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "CreateTag", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTag", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "CreateTag" }, + "description": "CreateTag creates a tag and assigns it to: \n\n* An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is\n`projects.locations.entryGroups.entries.tags.create`.\n* Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method\nname is `projects.locations.entryGroups.tags.create`.\n\nNote: The project identified by the `parent` parameter for the [tag]\n(https: //cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the [tag template]\n(https: //cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be in the same organization.\n\n\nDeprecated: CreateTag may be removed in a future version.", + "file": "Client/CreateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_CreateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTag Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_CreateTagTemplate_sync", - "title": "datacatalog CreateTagTemplate Sample", - "description": "CreateTagTemplate creates a tag template.\n\nYou must enable the Data Catalog API in the project identified by the\n`parent` parameter.\nFor more information, see [Data Catalog resource project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateTagTemplate may be removed in a future version.", - "file": "Client/CreateTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.CreateTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "CreateTagTemplate", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "CreateTagTemplate" }, + "description": "CreateTagTemplate creates a tag template.\n\nYou must enable the Data Catalog API in the project identified by the\n`parent` parameter.\nFor more information, see [Data Catalog resource project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateTagTemplate may be removed in a future version.", + "file": "Client/CreateTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_CreateTagTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTagTemplate Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_CreateTagTemplateField_sync", - "title": "datacatalog CreateTagTemplateField Sample", - "description": "CreateTagTemplateField creates a field in a tag template.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateTagTemplateField may be removed in a future version.", - "file": "Client/CreateTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.CreateTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "CreateTagTemplateField", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "CreateTagTemplateField" }, + "description": "CreateTagTemplateField creates a field in a tag template.\n\nYou must enable the Data Catalog API in the project identified by\nthe `parent` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: CreateTagTemplateField may be removed in a future version.", + "file": "Client/CreateTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_CreateTagTemplateField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteEntry_sync", - "title": "datacatalog DeleteEntry Sample", - "description": "DeleteEntry deletes an existing entry.\n\nYou can delete only the entries created by the\n[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]\nmethod.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteEntry may be removed in a future version.", - "file": "Client/DeleteEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.DeleteEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "DeleteEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "DeleteEntry" }, + "description": "DeleteEntry deletes an existing entry.\n\nYou can delete only the entries created by the\n[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]\nmethod.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteEntry may be removed in a future version.", + "file": "Client/DeleteEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteEntry_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteEntryGroup_sync", - "title": "datacatalog DeleteEntryGroup Sample", - "description": "DeleteEntryGroup deletes an entry group.\n\nYou must enable the Data Catalog API in the project\nidentified by the `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteEntryGroup may be removed in a future version.", - "file": "Client/DeleteEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.DeleteEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "DeleteEntryGroup", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "DeleteEntryGroup" }, + "description": "DeleteEntryGroup deletes an entry group.\n\nYou must enable the Data Catalog API in the project\nidentified by the `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteEntryGroup may be removed in a future version.", + "file": "Client/DeleteEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteEntryGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteEntryGroup Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteOperation_sync", - "title": "datacatalog DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTag_sync", - "title": "datacatalog DeleteTag Sample", - "description": "DeleteTag deletes a tag.\n\n\nDeprecated: DeleteTag may be removed in a future version.", - "file": "Client/DeleteTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.DeleteTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "DeleteTag", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTag", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "DeleteTag" }, + "description": "DeleteTag deletes a tag.\n\n\nDeprecated: DeleteTag may be removed in a future version.", + "file": "Client/DeleteTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTag_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTag Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTagTemplate_sync", - "title": "datacatalog DeleteTagTemplate Sample", - "description": "DeleteTagTemplate deletes a tag template and all tags that use it.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteTagTemplate may be removed in a future version.", - "file": "Client/DeleteTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.DeleteTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "DeleteTagTemplate", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "DeleteTagTemplate" }, + "description": "DeleteTagTemplate deletes a tag template and all tags that use it.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteTagTemplate may be removed in a future version.", + "file": "Client/DeleteTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTagTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTagTemplate Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTagTemplateField_sync", - "title": "datacatalog DeleteTagTemplateField Sample", - "description": "DeleteTagTemplateField deletes a field in a tag template and all uses of this field from the tags\nbased on this template.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteTagTemplateField may be removed in a future version.", - "file": "Client/DeleteTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.DeleteTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "DeleteTagTemplateField", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "DeleteTagTemplateField" }, + "description": "DeleteTagTemplateField deletes a field in a tag template and all uses of this field from the tags\nbased on this template.\n\nYou must enable the Data Catalog API in the project identified by\nthe `name` parameter. For more information, see [Data Catalog resource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: DeleteTagTemplateField may be removed in a future version.", + "file": "Client/DeleteTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_DeleteTagTemplateField_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_GetEntry_sync", - "title": "datacatalog GetEntry Sample", - "description": "GetEntry gets an entry.\n\n\nDeprecated: GetEntry may be removed in a future version.", - "file": "Client/GetEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.GetEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "GetEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "GetEntry" }, + "description": "GetEntry gets an entry.\n\n\nDeprecated: GetEntry may be removed in a future version.", + "file": "Client/GetEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_GetEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_GetEntryGroup_sync", - "title": "datacatalog GetEntryGroup Sample", - "description": "GetEntryGroup gets an entry group.\n\n\nDeprecated: GetEntryGroup may be removed in a future version.", - "file": "Client/GetEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.GetEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "GetEntryGroup", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "GetEntryGroup" }, + "description": "GetEntryGroup gets an entry group.\n\n\nDeprecated: GetEntryGroup may be removed in a future version.", + "file": "Client/GetEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_GetEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetEntryGroup Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_GetIamPolicy_sync", - "title": "datacatalog GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\n\nMay return: \n\n* A`NOT_FOUND` error if the resource doesn't exist or you don't have the\npermission to view it.\n* An empty policy if the resource exists but doesn't have a set policy.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method doesn't get policies from Google Cloud Platform\nresources ingested into Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag\ntemplates.\n- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.\n\n\nDeprecated: GetIamPolicy may be removed in a future version.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetIamPolicy", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\n\nMay return: \n\n* A`NOT_FOUND` error if the resource doesn't exist or you don't have the\npermission to view it.\n* An empty policy if the resource exists but doesn't have a set policy.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method doesn't get policies from Google Cloud Platform\nresources ingested into Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag\ntemplates.\n- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.\n\n\nDeprecated: GetIamPolicy may be removed in a future version.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_GetOperation_sync", - "title": "datacatalog GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_GetTagTemplate_sync", - "title": "datacatalog GetTagTemplate Sample", - "description": "GetTagTemplate gets a tag template.\n\n\nDeprecated: GetTagTemplate may be removed in a future version.", - "file": "Client/GetTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.GetTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "GetTagTemplate", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "GetTagTemplate" }, + "description": "GetTagTemplate gets a tag template.\n\n\nDeprecated: GetTagTemplate may be removed in a future version.", + "file": "Client/GetTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_GetTagTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetTagTemplate Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ImportEntries_sync", - "title": "datacatalog ImportEntries Sample", - "description": "ImportEntries imports entries from a source, such as data previously dumped into a\nCloud Storage bucket, into Data Catalog. Import of entries\nis a sync operation that reconciles the state of the third-party system\nwith the Data Catalog.\n\n`ImportEntries` accepts source data snapshots of a third-party system.\nSnapshot should be delivered as a .wire or base65-encoded .txt file\ncontaining a sequence of Protocol Buffer messages of\n[DumpItem][google.cloud.datacatalog.v1.DumpItem] type.\n\n`ImportEntries` returns a [long-running operation]\n[google.longrunning.Operation] resource that can be queried with\n[Operations.GetOperation][google.longrunning.Operations.GetOperation]\nto return\n[ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]\nand an\n[ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]\nmessage.\n\n\nDeprecated: ImportEntries may be removed in a future version.", - "file": "Client/ImportEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportEntries", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ImportEntries", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ImportEntries", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ImportEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ImportEntriesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ImportEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportEntriesOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ImportEntries", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ImportEntries", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ImportEntries" }, + "description": "ImportEntries imports entries from a source, such as data previously dumped into a\nCloud Storage bucket, into Data Catalog. Import of entries\nis a sync operation that reconciles the state of the third-party system\nwith the Data Catalog.\n\n`ImportEntries` accepts source data snapshots of a third-party system.\nSnapshot should be delivered as a .wire or base65-encoded .txt file\ncontaining a sequence of Protocol Buffer messages of\n[DumpItem][google.cloud.datacatalog.v1.DumpItem] type.\n\n`ImportEntries` returns a [long-running operation]\n[google.longrunning.Operation] resource that can be queried with\n[Operations.GetOperation][google.longrunning.Operations.GetOperation]\nto return\n[ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata]\nand an\n[ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse]\nmessage.\n\n\nDeprecated: ImportEntries may be removed in a future version.", + "file": "Client/ImportEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ImportEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ImportEntries Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ListEntries_sync", - "title": "datacatalog ListEntries Sample", - "description": "ListEntries lists entries.\n\nNote: Currently, this method can list only custom entries.\nTo get a list of both custom and automatically created entries, use\n[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].\n\n\nDeprecated: ListEntries may be removed in a future version.", - "file": "Client/ListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntries", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ListEntries", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntries", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListEntriesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ListEntries", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntries", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ListEntries" }, + "description": "ListEntries lists entries.\n\nNote: Currently, this method can list only custom entries.\nTo get a list of both custom and automatically created entries, use\n[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].\n\n\nDeprecated: ListEntries may be removed in a future version.", + "file": "Client/ListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ListEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListEntries Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ListEntryGroups_sync", - "title": "datacatalog ListEntryGroups Sample", - "description": "ListEntryGroups lists entry groups.\n\n\nDeprecated: ListEntryGroups may be removed in a future version.", - "file": "Client/ListEntryGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntryGroups", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ListEntryGroups", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ListEntryGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListEntryGroupsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListEntryGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ListEntryGroups", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ListEntryGroups" }, + "description": "ListEntryGroups lists entry groups.\n\n\nDeprecated: ListEntryGroups may be removed in a future version.", + "file": "Client/ListEntryGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ListEntryGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListEntryGroups Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ListOperations_sync", - "title": "datacatalog ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListOperations Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ListTags_sync", - "title": "datacatalog ListTags Sample", - "description": "ListTags lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].\nThe [columns][google.cloud.datacatalog.v1.Tag.column] in the response are\nlowercased.\n\n\nDeprecated: ListTags may be removed in a future version.", - "file": "Client/ListTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTags", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ListTags", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListTags", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ListTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListTagsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ListTags", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListTags", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ListTags" }, + "description": "ListTags lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].\nThe [columns][google.cloud.datacatalog.v1.Tag.column] in the response are\nlowercased.\n\n\nDeprecated: ListTags may be removed in a future version.", + "file": "Client/ListTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ListTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListTags Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_LookupEntry_sync", - "title": "datacatalog LookupEntry Sample", - "description": "LookupEntry gets an entry by its target resource name.\n\nThe resource name comes from the source Google Cloud Platform service.\n\n\nDeprecated: LookupEntry may be removed in a future version.", - "file": "Client/LookupEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.LookupEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.LookupEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "LookupEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.LookupEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.LookupEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "LookupEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.LookupEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "LookupEntry" }, + "description": "LookupEntry gets an entry by its target resource name.\n\nThe resource name comes from the source Google Cloud Platform service.\n\n\nDeprecated: LookupEntry may be removed in a future version.", + "file": "Client/LookupEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_LookupEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog LookupEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ModifyEntryContacts_sync", - "title": "datacatalog ModifyEntryContacts Sample", - "description": "ModifyEntryContacts modifies contacts, part of the business context of an\n[Entry][google.cloud.datacatalog.v1.Entry].\n\nTo call this method, you must have the `datacatalog.entries.updateContacts`\nIAM permission on the corresponding project.\n\n\nDeprecated: ModifyEntryContacts may be removed in a future version.", - "file": "Client/ModifyEntryContacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModifyEntryContacts", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ModifyEntryContacts", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ModifyEntryContacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ModifyEntryContactsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ModifyEntryContactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Contacts", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ModifyEntryContacts", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ModifyEntryContacts" }, + "description": "ModifyEntryContacts modifies contacts, part of the business context of an\n[Entry][google.cloud.datacatalog.v1.Entry].\n\nTo call this method, you must have the `datacatalog.entries.updateContacts`\nIAM permission on the corresponding project.\n\n\nDeprecated: ModifyEntryContacts may be removed in a future version.", + "file": "Client/ModifyEntryContacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ModifyEntryContacts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ModifyEntryContacts Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ModifyEntryOverview_sync", - "title": "datacatalog ModifyEntryOverview Sample", - "description": "ModifyEntryOverview modifies entry overview, part of the business context of an\n[Entry][google.cloud.datacatalog.v1.Entry].\n\nTo call this method, you must have the `datacatalog.entries.updateOverview`\nIAM permission on the corresponding project.\n\n\nDeprecated: ModifyEntryOverview may be removed in a future version.", - "file": "Client/ModifyEntryOverview/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModifyEntryOverview", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ModifyEntryOverview", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ModifyEntryOverview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ModifyEntryOverviewRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ModifyEntryOverviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryOverview", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ModifyEntryOverview", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ModifyEntryOverview" }, + "description": "ModifyEntryOverview modifies entry overview, part of the business context of an\n[Entry][google.cloud.datacatalog.v1.Entry].\n\nTo call this method, you must have the `datacatalog.entries.updateOverview`\nIAM permission on the corresponding project.\n\n\nDeprecated: ModifyEntryOverview may be removed in a future version.", + "file": "Client/ModifyEntryOverview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ModifyEntryOverview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ModifyEntryOverview Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_ReconcileTags_sync", - "title": "datacatalog ReconcileTags Sample", - "description": "ReconcileTags `ReconcileTags` creates or updates a list of tags on the entry.\nIf the\n[ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]\nparameter is set, the operation deletes tags not included in the input tag\nlist.\n\n`ReconcileTags` returns a [long-running operation]\n[google.longrunning.Operation] resource that can be queried with\n[Operations.GetOperation][google.longrunning.Operations.GetOperation]\nto return [ReconcileTagsMetadata]\n[google.cloud.datacatalog.v1.ReconcileTagsMetadata] and\na [ReconcileTagsResponse]\n[google.cloud.datacatalog.v1.ReconcileTagsResponse] message.\n\n\nDeprecated: ReconcileTags may be removed in a future version.", - "file": "Client/ReconcileTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReconcileTags", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.ReconcileTags", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ReconcileTags", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ReconcileTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ReconcileTagsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ReconcileTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReconcileTagsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "ReconcileTags", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.ReconcileTags", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "ReconcileTags" }, + "description": "ReconcileTags `ReconcileTags` creates or updates a list of tags on the entry.\nIf the\n[ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing]\nparameter is set, the operation deletes tags not included in the input tag\nlist.\n\n`ReconcileTags` returns a [long-running operation]\n[google.longrunning.Operation] resource that can be queried with\n[Operations.GetOperation][google.longrunning.Operations.GetOperation]\nto return [ReconcileTagsMetadata]\n[google.cloud.datacatalog.v1.ReconcileTagsMetadata] and\na [ReconcileTagsResponse]\n[google.cloud.datacatalog.v1.ReconcileTagsResponse] message.\n\n\nDeprecated: ReconcileTags may be removed in a future version.", + "file": "Client/ReconcileTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_ReconcileTags_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ReconcileTags Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_RenameTagTemplateField_sync", - "title": "datacatalog RenameTagTemplateField Sample", - "description": "RenameTagTemplateField renames a field in a tag template.\n\nYou must enable the Data Catalog API in the project identified by the\n`name` parameter. For more information, see [Data Catalog resource project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: RenameTagTemplateField may be removed in a future version.", - "file": "Client/RenameTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.RenameTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "RenameTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.RenameTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.RenameTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "RenameTagTemplateField", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "RenameTagTemplateField" }, + "description": "RenameTagTemplateField renames a field in a tag template.\n\nYou must enable the Data Catalog API in the project identified by the\n`name` parameter. For more information, see [Data Catalog resource project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: RenameTagTemplateField may be removed in a future version.", + "file": "Client/RenameTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_RenameTagTemplateField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog RenameTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync", - "title": "datacatalog RenameTagTemplateFieldEnumValue Sample", - "description": "RenameTagTemplateFieldEnumValue renames an enum value in a tag template.\n\nWithin a single enum field, enum values must be unique.\n\n\nDeprecated: RenameTagTemplateFieldEnumValue may be removed in a future version.", - "file": "Client/RenameTagTemplateFieldEnumValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameTagTemplateFieldEnumValue", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.RenameTagTemplateFieldEnumValue", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "RenameTagTemplateFieldEnumValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.RenameTagTemplateFieldEnumValueRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.RenameTagTemplateFieldEnumValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "RenameTagTemplateFieldEnumValue", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "RenameTagTemplateFieldEnumValue" }, + "description": "RenameTagTemplateFieldEnumValue renames an enum value in a tag template.\n\nWithin a single enum field, enum values must be unique.\n\n\nDeprecated: RenameTagTemplateFieldEnumValue may be removed in a future version.", + "file": "Client/RenameTagTemplateFieldEnumValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog RenameTagTemplateFieldEnumValue Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_RetrieveConfig_sync", - "title": "datacatalog RetrieveConfig Sample", - "description": "RetrieveConfig retrieves the configuration related to the migration from Data Catalog to\nDataplex for a specific organization, including all the projects under it\nwhich have a separate configuration set.\n\n\nDeprecated: RetrieveConfig may be removed in a future version.", - "file": "Client/RetrieveConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveConfig", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.RetrieveConfig", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.RetrieveConfig", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "RetrieveConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.RetrieveConfigRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.RetrieveConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.OrganizationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "RetrieveConfig", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.RetrieveConfig", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "RetrieveConfig" }, + "description": "RetrieveConfig retrieves the configuration related to the migration from Data Catalog to\nDataplex for a specific organization, including all the projects under it\nwhich have a separate configuration set.\n\n\nDeprecated: RetrieveConfig may be removed in a future version.", + "file": "Client/RetrieveConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_RetrieveConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog RetrieveConfig Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_RetrieveEffectiveConfig_sync", - "title": "datacatalog RetrieveEffectiveConfig Sample", - "description": "RetrieveEffectiveConfig retrieves the effective configuration related to the migration from Data\nCatalog to Dataplex for a specific organization or project. If there is no\nspecific configuration set for the resource, the setting is checked\nhierarchicahlly through the ancestors of the resource, starting from the\nresource itself.\n\n\nDeprecated: RetrieveEffectiveConfig may be removed in a future version.", - "file": "Client/RetrieveEffectiveConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveEffectiveConfig", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.RetrieveEffectiveConfig", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.RetrieveEffectiveConfig", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "RetrieveEffectiveConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.RetrieveEffectiveConfigRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.RetrieveEffectiveConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.MigrationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "RetrieveEffectiveConfig", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.RetrieveEffectiveConfig", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "RetrieveEffectiveConfig" }, + "description": "RetrieveEffectiveConfig retrieves the effective configuration related to the migration from Data\nCatalog to Dataplex for a specific organization or project. If there is no\nspecific configuration set for the resource, the setting is checked\nhierarchicahlly through the ancestors of the resource, starting from the\nresource itself.\n\n\nDeprecated: RetrieveEffectiveConfig may be removed in a future version.", + "file": "Client/RetrieveEffectiveConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_RetrieveEffectiveConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog RetrieveEffectiveConfig Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_SearchCatalog_sync", - "title": "datacatalog SearchCatalog Sample", - "description": "SearchCatalog searches Data Catalog for multiple resources like entries and tags that\nmatch a query.\n\nThis is a [Custom Method]\n(https: //cloud.google.com/apis/design/custom_methods) that doesn't return\nall information on a resource, only its ID and high level fields. To get\nmore information, you can subsequently call specific get methods.\n\nNote: Data Catalog search queries don't guarantee full recall. Results\nthat match your query might not be returned, even in subsequent\nresult pages. Additionally, returned (and not returned) results can vary\nif you repeat search queries.\n\nFor more information, see [Data Catalog search syntax]\n(https: //cloud.google.com/data-catalog/docs/how-to/search-reference).\n\n\nDeprecated: SearchCatalog may be removed in a future version.", - "file": "Client/SearchCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCatalog", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.SearchCatalog", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.SearchCatalog", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "SearchCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.SearchCatalogRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.SearchCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchCatalogResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "SearchCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.SearchCatalog", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "SearchCatalog" }, + "description": "SearchCatalog searches Data Catalog for multiple resources like entries and tags that\nmatch a query.\n\nThis is a [Custom Method]\n(https: //cloud.google.com/apis/design/custom_methods) that doesn't return\nall information on a resource, only its ID and high level fields. To get\nmore information, you can subsequently call specific get methods.\n\nNote: Data Catalog search queries don't guarantee full recall. Results\nthat match your query might not be returned, even in subsequent\nresult pages. Additionally, returned (and not returned) results can vary\nif you repeat search queries.\n\nFor more information, see [Data Catalog search syntax]\n(https: //cloud.google.com/data-catalog/docs/how-to/search-reference).\n\n\nDeprecated: SearchCatalog may be removed in a future version.", + "file": "Client/SearchCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_SearchCatalog_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SearchCatalog Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_SetConfig_sync", - "title": "datacatalog SetConfig Sample", - "description": "SetConfig sets the configuration related to the migration to Dataplex for an\norganization or project.\n\n\nDeprecated: SetConfig may be removed in a future version.", - "file": "Client/SetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetConfig", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.SetConfig", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetConfig", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "SetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.SetConfigRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.SetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.MigrationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "SetConfig", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetConfig", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "SetConfig" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "SetConfig sets the configuration related to the migration to Dataplex for an\norganization or project.\n\n\nDeprecated: SetConfig may be removed in a future version.", + "file": "Client/SetConfig/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_SetConfig_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SetConfig Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_SetIamPolicy_sync", - "title": "datacatalog SetIamPolicy Sample", - "description": "SetIamPolicy sets an access control policy for a resource. Replaces any existing\npolicy.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method sets policies only within Data Catalog and can't be\nused to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any\nexternal Google Cloud Platform resources synced with the Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag\ntemplates.\n- `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.\n\n\nDeprecated: SetIamPolicy may be removed in a future version.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetIamPolicy", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets an access control policy for a resource. Replaces any existing\npolicy.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method sets policies only within Data Catalog and can't be\nused to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any\nexternal Google Cloud Platform resources synced with the Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions: \n\n- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag\ntemplates.\n- `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.\n\n\nDeprecated: SetIamPolicy may be removed in a future version.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_StarEntry_sync", - "title": "datacatalog StarEntry Sample", - "description": "StarEntry marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by\nthe current user. Starring information is private to each user.\n\n\nDeprecated: StarEntry may be removed in a future version.", - "file": "Client/StarEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "StarEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.StarEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.StarEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "StarEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.StarEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.StarEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.StarEntryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "StarEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.StarEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "StarEntry" }, + "description": "StarEntry marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by\nthe current user. Starring information is private to each user.\n\n\nDeprecated: StarEntry may be removed in a future version.", + "file": "Client/StarEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_StarEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog StarEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_TestIamPermissions_sync", - "title": "datacatalog TestIamPermissions Sample", - "description": "TestIamPermissions gets your permissions on a resource.\n\nReturns an empty set of permissions if the resource doesn't exist.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method gets policies only within Data Catalog and can't be\nused to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any\nexternal Google Cloud Platform resources ingested into Data Catalog.\n\nNo Google IAM permissions are required to call this method.\n\n\nDeprecated: TestIamPermissions may be removed in a future version.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.TestIamPermissions", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.TestIamPermissions", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions gets your permissions on a resource.\n\nReturns an empty set of permissions if the resource doesn't exist.\n\nSupported resources are: \n\n- Tag templates\n- Entry groups\n\nNote: This method gets policies only within Data Catalog and can't be\nused to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any\nexternal Google Cloud Platform resources ingested into Data Catalog.\n\nNo Google IAM permissions are required to call this method.\n\n\nDeprecated: TestIamPermissions may be removed in a future version.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog TestIamPermissions Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_UnstarEntry_sync", - "title": "datacatalog UnstarEntry Sample", - "description": "UnstarEntry marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by\nthe current user. Starring information is private to each user.\n\n\nDeprecated: UnstarEntry may be removed in a future version.", - "file": "Client/UnstarEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnstarEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.UnstarEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UnstarEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UnstarEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UnstarEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UnstarEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.UnstarEntryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "UnstarEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.UnstarEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "UnstarEntry" }, + "description": "UnstarEntry marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by\nthe current user. Starring information is private to each user.\n\n\nDeprecated: UnstarEntry may be removed in a future version.", + "file": "Client/UnstarEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_UnstarEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UnstarEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateEntry_sync", - "title": "datacatalog UpdateEntry Sample", - "description": "UpdateEntry updates an existing entry.\n\nYou must enable the Data Catalog API in the project identified by\nthe `entry.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateEntry may be removed in a future version.", - "file": "Client/UpdateEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.UpdateEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "UpdateEntry", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "UpdateEntry" }, + "description": "UpdateEntry updates an existing entry.\n\nYou must enable the Data Catalog API in the project identified by\nthe `entry.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateEntry may be removed in a future version.", + "file": "Client/UpdateEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateEntry Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateEntryGroup_sync", - "title": "datacatalog UpdateEntryGroup Sample", - "description": "UpdateEntryGroup updates an entry group.\n\nYou must enable the Data Catalog API in the project identified by\nthe `entry_group.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateEntryGroup may be removed in a future version.", - "file": "Client/UpdateEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.UpdateEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "UpdateEntryGroup", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "UpdateEntryGroup" }, + "description": "UpdateEntryGroup updates an entry group.\n\nYou must enable the Data Catalog API in the project identified by\nthe `entry_group.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateEntryGroup may be removed in a future version.", + "file": "Client/UpdateEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateEntryGroup Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTag_sync", - "title": "datacatalog UpdateTag Sample", - "description": "UpdateTag updates an existing tag.\n\n\nDeprecated: UpdateTag may be removed in a future version.", - "file": "Client/UpdateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.UpdateTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "UpdateTag", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTag", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "UpdateTag" }, + "description": "UpdateTag updates an existing tag.\n\n\nDeprecated: UpdateTag may be removed in a future version.", + "file": "Client/UpdateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTag Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTagTemplate_sync", - "title": "datacatalog UpdateTagTemplate Sample", - "description": "UpdateTagTemplate updates a tag template.\n\nYou can't update template fields with this method. These fields are\nseparate resources with their own create, update, and delete methods.\n\nYou must enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateTagTemplate may be removed in a future version.", - "file": "Client/UpdateTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.UpdateTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "UpdateTagTemplate", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "UpdateTagTemplate" }, + "description": "UpdateTagTemplate updates a tag template.\n\nYou can't update template fields with this method. These fields are\nseparate resources with their own create, update, and delete methods.\n\nYou must enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateTagTemplate may be removed in a future version.", + "file": "Client/UpdateTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTagTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTagTemplate Sample" }, { - "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTagTemplateField_sync", - "title": "datacatalog UpdateTagTemplateField Sample", - "description": "UpdateTagTemplateField updates a field in a tag template.\n\nYou can't update the field type with this method.\n\nYou must enable the Data Catalog API in the project\nidentified by the `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateTagTemplateField may be removed in a future version.", - "file": "Client/UpdateTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1.Client.UpdateTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1.Client" - }, - "method": { - "shortName": "UpdateTagTemplateField", - "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1.DataCatalog" - } - } + "shortName": "UpdateTagTemplateField" }, + "description": "UpdateTagTemplateField updates a field in a tag template.\n\nYou can't update the field type with this method.\n\nYou must enable the Data Catalog API in the project\nidentified by the `name` parameter. For more information, see [Data Catalog\nresource\nproject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project).\n\n\nDeprecated: UpdateTagTemplateField may be removed in a future version.", + "file": "Client/UpdateTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_DataCatalog_UpdateTagTemplateField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_CancelOperation_sync", - "title": "datacatalog CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CancelOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_CreatePolicyTag_sync", - "title": "datacatalog CreatePolicyTag Sample", - "description": "CreatePolicyTag creates a policy tag in a taxonomy.", - "file": "PolicyTagManagerClient/CreatePolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.CreatePolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "CreatePolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreatePolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreatePolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.PolicyTag", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "CreatePolicyTag", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "CreatePolicyTag" }, + "description": "CreatePolicyTag creates a policy tag in a taxonomy.", + "file": "PolicyTagManagerClient/CreatePolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_CreatePolicyTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreatePolicyTag Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_CreateTaxonomy_sync", - "title": "datacatalog CreateTaxonomy Sample", - "description": "CreateTaxonomy creates a taxonomy in a specified project.\n\nThe taxonomy is initially empty, that is, it doesn't contain policy tags.", - "file": "PolicyTagManagerClient/CreateTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.CreateTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "CreateTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "CreateTaxonomy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + ], + "resultType": "*datacatalogpb.Taxonomy", + "shortName": "CreateTaxonomy" }, + "description": "CreateTaxonomy creates a taxonomy in a specified project.\n\nThe taxonomy is initially empty, that is, it doesn't contain policy tags.", + "file": "PolicyTagManagerClient/CreateTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_CreateTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTaxonomy Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeleteOperation_sync", - "title": "datacatalog DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeletePolicyTag_sync", - "title": "datacatalog DeletePolicyTag Sample", - "description": "DeletePolicyTag deletes a policy tag together with the following: \n\n* All of its descendant policy tags, if any\n* Policies associated with the policy tag and its descendants\n* References from BigQuery table schema of the policy tag and its\ndescendants", - "file": "PolicyTagManagerClient/DeletePolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.DeletePolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "DeletePolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeletePolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeletePolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "DeletePolicyTag", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "DeletePolicyTag" }, + "description": "DeletePolicyTag deletes a policy tag together with the following: \n\n* All of its descendant policy tags, if any\n* Policies associated with the policy tag and its descendants\n* References from BigQuery table schema of the policy tag and its\ndescendants", + "file": "PolicyTagManagerClient/DeletePolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeletePolicyTag_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeletePolicyTag Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeleteTaxonomy_sync", - "title": "datacatalog DeleteTaxonomy Sample", - "description": "DeleteTaxonomy deletes a taxonomy, including all policy tags in this\ntaxonomy, their associated policies, and the policy tags references from\nBigQuery columns.", - "file": "PolicyTagManagerClient/DeleteTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.DeleteTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "DeleteTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "DeleteTaxonomy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "DeleteTaxonomy" }, + "description": "DeleteTaxonomy deletes a taxonomy, including all policy tags in this\ntaxonomy, their associated policies, and the policy tags references from\nBigQuery columns.", + "file": "PolicyTagManagerClient/DeleteTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_DeleteTaxonomy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTaxonomy Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetIamPolicy_sync", - "title": "datacatalog GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for a policy tag or a taxonomy.", - "file": "PolicyTagManagerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for a policy tag or a taxonomy.", + "file": "PolicyTagManagerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetOperation_sync", - "title": "datacatalog GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetPolicyTag_sync", - "title": "datacatalog GetPolicyTag Sample", - "description": "GetPolicyTag gets a policy tag.", - "file": "PolicyTagManagerClient/GetPolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetPolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "GetPolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetPolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetPolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.PolicyTag", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetPolicyTag", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "GetPolicyTag" }, + "description": "GetPolicyTag gets a policy tag.", + "file": "PolicyTagManagerClient/GetPolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetPolicyTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetPolicyTag Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetTaxonomy_sync", - "title": "datacatalog GetTaxonomy Sample", - "description": "GetTaxonomy gets a taxonomy.", - "file": "PolicyTagManagerClient/GetTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.GetTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "GetTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetTaxonomy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "GetTaxonomy" }, + "description": "GetTaxonomy gets a taxonomy.", + "file": "PolicyTagManagerClient/GetTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_GetTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetTaxonomy Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListOperations_sync", - "title": "datacatalog ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListOperations Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListPolicyTags_sync", - "title": "datacatalog ListPolicyTags Sample", - "description": "ListPolicyTags lists all policy tags in a taxonomy.", - "file": "PolicyTagManagerClient/ListPolicyTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicyTags", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.ListPolicyTags", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "ListPolicyTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListPolicyTagsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListPolicyTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyTagIterator", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "ListPolicyTags", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "ListPolicyTags" }, + "description": "ListPolicyTags lists all policy tags in a taxonomy.", + "file": "PolicyTagManagerClient/ListPolicyTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListPolicyTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListPolicyTags Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListTaxonomies_sync", - "title": "datacatalog ListTaxonomies Sample", - "description": "ListTaxonomies lists all taxonomies in a project in a particular location that you\nhave a permission to view.", - "file": "PolicyTagManagerClient/ListTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTaxonomies", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.ListTaxonomies", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "ListTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaxonomyIterator", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "ListTaxonomies", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "ListTaxonomies" }, + "description": "ListTaxonomies lists all taxonomies in a project in a particular location that you\nhave a permission to view.", + "file": "PolicyTagManagerClient/ListTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_ListTaxonomies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListTaxonomies Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_SetIamPolicy_sync", - "title": "datacatalog SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for a policy tag or a taxonomy.", - "file": "PolicyTagManagerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for a policy tag or a taxonomy.", + "file": "PolicyTagManagerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_TestIamPermissions_sync", - "title": "datacatalog TestIamPermissions Sample", - "description": "TestIamPermissions returns your permissions on a specified policy tag or\ntaxonomy.", - "file": "PolicyTagManagerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissions", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissions", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns your permissions on a specified policy tag or\ntaxonomy.", + "file": "PolicyTagManagerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog TestIamPermissions Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_UpdatePolicyTag_sync", - "title": "datacatalog UpdatePolicyTag Sample", - "description": "UpdatePolicyTag updates a policy tag, including its display\nname, description, and parent policy tag.", - "file": "PolicyTagManagerClient/UpdatePolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.UpdatePolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "UpdatePolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdatePolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdatePolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.PolicyTag", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "UpdatePolicyTag", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "UpdatePolicyTag" }, + "description": "UpdatePolicyTag updates a policy tag, including its display\nname, description, and parent policy tag.", + "file": "PolicyTagManagerClient/UpdatePolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_UpdatePolicyTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdatePolicyTag Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManager_UpdateTaxonomy_sync", - "title": "datacatalog UpdateTaxonomy Sample", - "description": "UpdateTaxonomy updates a taxonomy, including its display name,\ndescription, and activated policy types.", - "file": "PolicyTagManagerClient/UpdateTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient.UpdateTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "UpdateTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerClient" - }, - "method": { - "shortName": "UpdateTaxonomy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManager" - } - } + "shortName": "UpdateTaxonomy" }, + "description": "UpdateTaxonomy updates a taxonomy, including its display name,\ndescription, and activated policy types.", + "file": "PolicyTagManagerClient/UpdateTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManager_UpdateTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTaxonomy Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_CancelOperation_sync", - "title": "datacatalog CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerSerializationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerSerializationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CancelOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_DeleteOperation_sync", - "title": "datacatalog DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerSerializationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerSerializationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ExportTaxonomies_sync", - "title": "datacatalog ExportTaxonomies Sample", - "description": "ExportTaxonomies exports taxonomies in the requested type and returns them,\nincluding their policy tags. The requested taxonomies must belong to the\nsame project.\n\nThis method generates `SerializedTaxonomy` protocol buffers with nested\npolicy tags that can be used as input for `ImportTaxonomies` calls.", - "file": "PolicyTagManagerSerializationClient/ExportTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTaxonomies", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ExportTaxonomies", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization", + "shortName": "PolicyTagManagerSerialization" + }, + "shortName": "ExportTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ExportTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ExportTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.ExportTaxonomiesResponse", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "ExportTaxonomies", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies", - "service": { - "shortName": "PolicyTagManagerSerialization", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization" - } - } + "shortName": "ExportTaxonomies" }, + "description": "ExportTaxonomies exports taxonomies in the requested type and returns them,\nincluding their policy tags. The requested taxonomies must belong to the\nsame project.\n\nThis method generates `SerializedTaxonomy` protocol buffers with nested\npolicy tags that can be used as input for `ImportTaxonomies` calls.", + "file": "PolicyTagManagerSerializationClient/ExportTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ExportTaxonomies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ExportTaxonomies Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_GetOperation_sync", - "title": "datacatalog GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerSerializationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerSerializationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetOperation Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ImportTaxonomies_sync", - "title": "datacatalog ImportTaxonomies Sample", - "description": "ImportTaxonomies creates new taxonomies (including their policy tags) in a given project\nby importing from inlined or cross-regional sources.\n\nFor a cross-regional source, new taxonomies are created by copying\nfrom a source in another region.\n\nFor an inlined source, taxonomies and policy tags are created in bulk using\nnested protocol buffer structures.", - "file": "PolicyTagManagerSerializationClient/ImportTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportTaxonomies", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ImportTaxonomies", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization", + "shortName": "PolicyTagManagerSerialization" + }, + "shortName": "ImportTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ImportTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ImportTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.ImportTaxonomiesResponse", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "ImportTaxonomies", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies", - "service": { - "shortName": "PolicyTagManagerSerialization", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization" - } - } + "shortName": "ImportTaxonomies" }, + "description": "ImportTaxonomies creates new taxonomies (including their policy tags) in a given project\nby importing from inlined or cross-regional sources.\n\nFor a cross-regional source, new taxonomies are created by copying\nfrom a source in another region.\n\nFor an inlined source, taxonomies and policy tags are created in bulk using\nnested protocol buffer structures.", + "file": "PolicyTagManagerSerializationClient/ImportTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ImportTaxonomies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ImportTaxonomies Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ListOperations_sync", - "title": "datacatalog ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PolicyTagManagerSerializationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PolicyTagManagerSerializationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListOperations Sample" }, { - "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ReplaceTaxonomy_sync", - "title": "datacatalog ReplaceTaxonomy Sample", - "description": "ReplaceTaxonomy replaces (updates) a taxonomy and all its policy tags.\n\nThe taxonomy and its entire hierarchy of policy tags must be\nrepresented literally by `SerializedTaxonomy` and the nested\n`SerializedPolicyTag` messages.\n\nThis operation automatically does the following: \n\n- Deletes the existing policy tags that are missing from the\n`SerializedPolicyTag`.\n- Creates policy tags that don't have resource names. They are considered\nnew.\n- Updates policy tags with valid resources names accordingly.", - "file": "PolicyTagManagerSerializationClient/ReplaceTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient.ReplaceTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization", + "shortName": "PolicyTagManagerSerialization" + }, + "shortName": "ReplaceTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ReplaceTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ReplaceTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "ReplaceTaxonomy", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy", - "service": { - "shortName": "PolicyTagManagerSerialization", - "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization" - } - } + "shortName": "ReplaceTaxonomy" }, + "description": "ReplaceTaxonomy replaces (updates) a taxonomy and all its policy tags.\n\nThe taxonomy and its entire hierarchy of policy tags must be\nrepresented literally by `SerializedTaxonomy` and the nested\n`SerializedPolicyTag` messages.\n\nThis operation automatically does the following: \n\n- Deletes the existing policy tags that are missing from the\n`SerializedPolicyTag`.\n- Creates policy tags that don't have resource names. They are considered\nnew.\n- Updates policy tags with valid resources names accordingly.", + "file": "PolicyTagManagerSerializationClient/ReplaceTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1_generated_PolicyTagManagerSerialization_ReplaceTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ReplaceTaxonomy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json index 5356b2bdb36b..25ddce5e8ae4 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json +++ b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json @@ -1,1986 +1,1986 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datacatalog/apiv1beta1", - "version": "1.26.1", - "language": "GO", "apis": [ { "id": "google.cloud.datacatalog.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datacatalog/apiv1beta1", + "version": "1.26.1" }, "snippets": [ { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateEntry_sync", - "title": "datacatalog CreateEntry Sample", - "description": "CreateEntry creates an entry. Only entries of 'FILESET' type or user-specified type can\nbe created.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\nA maximum of 100,000 entries may be created per entry group.\n\n\nDeprecated: CreateEntry may be removed in a future version.", - "file": "Client/CreateEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.CreateEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "CreateEntry", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "CreateEntry" }, + "description": "CreateEntry creates an entry. Only entries of 'FILESET' type or user-specified type can\nbe created.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\nA maximum of 100,000 entries may be created per entry group.\n\n\nDeprecated: CreateEntry may be removed in a future version.", + "file": "Client/CreateEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateEntry Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateEntryGroup_sync", - "title": "datacatalog CreateEntryGroup Sample", - "description": "CreateEntryGroup a maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: CreateEntryGroup may be removed in a future version.", - "file": "Client/CreateEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.CreateEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "CreateEntryGroup", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "CreateEntryGroup" }, + "description": "CreateEntryGroup a maximum of 10,000 entry groups may be created per organization across all\nlocations.\n\nUsers should enable the Data Catalog API in the project identified by\nthe `parent` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: CreateEntryGroup may be removed in a future version.", + "file": "Client/CreateEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateEntryGroup Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateTag_sync", - "title": "datacatalog CreateTag Sample", - "description": "CreateTag creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].\nNote: The project identified by the `parent` parameter for the\n[tag](https: //cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the\n[tag\ntemplate](https: //cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be from the same organization.\n\n\nDeprecated: CreateTag may be removed in a future version.", - "file": "Client/CreateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.CreateTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "CreateTag", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "CreateTag" }, + "description": "CreateTag creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].\nNote: The project identified by the `parent` parameter for the\n[tag](https: //cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)\nand the\n[tag\ntemplate](https: //cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)\nused to create the tag must be from the same organization.\n\n\nDeprecated: CreateTag may be removed in a future version.", + "file": "Client/CreateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateTagTemplate_sync", - "title": "datacatalog CreateTagTemplate Sample", - "description": "CreateTagTemplate creates a tag template. The user should enable the Data Catalog API in\nthe project identified by the `parent` parameter (see [Data Catalog\nResource\nProject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).\n\n\nDeprecated: CreateTagTemplate may be removed in a future version.", - "file": "Client/CreateTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.CreateTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "CreateTagTemplate", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "CreateTagTemplate" }, + "description": "CreateTagTemplate creates a tag template. The user should enable the Data Catalog API in\nthe project identified by the `parent` parameter (see [Data Catalog\nResource\nProject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).\n\n\nDeprecated: CreateTagTemplate may be removed in a future version.", + "file": "Client/CreateTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateTagTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTagTemplate Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateTagTemplateField_sync", - "title": "datacatalog CreateTagTemplateField Sample", - "description": "CreateTagTemplateField creates a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `parent` parameter (see\n[Data Catalog Resource\nProject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).\n\n\nDeprecated: CreateTagTemplateField may be removed in a future version.", - "file": "Client/CreateTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.CreateTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "CreateTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "CreateTagTemplateField", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "CreateTagTemplateField" }, + "description": "CreateTagTemplateField creates a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `parent` parameter (see\n[Data Catalog Resource\nProject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).\n\n\nDeprecated: CreateTagTemplateField may be removed in a future version.", + "file": "Client/CreateTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_CreateTagTemplateField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteEntry_sync", - "title": "datacatalog DeleteEntry Sample", - "description": "DeleteEntry deletes an existing entry. Only entries created through\n[CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]\nmethod can be deleted.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteEntry may be removed in a future version.", - "file": "Client/DeleteEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.DeleteEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "DeleteEntry", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "DeleteEntry" }, + "description": "DeleteEntry deletes an existing entry. Only entries created through\n[CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]\nmethod can be deleted.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteEntry may be removed in a future version.", + "file": "Client/DeleteEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteEntry_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteEntry Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteEntryGroup_sync", - "title": "datacatalog DeleteEntryGroup Sample", - "description": "DeleteEntryGroup deletes an EntryGroup. Only entry groups that do not contain entries can be\ndeleted. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteEntryGroup may be removed in a future version.", - "file": "Client/DeleteEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.DeleteEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "DeleteEntryGroup", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "DeleteEntryGroup" }, + "description": "DeleteEntryGroup deletes an EntryGroup. Only entry groups that do not contain entries can be\ndeleted. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteEntryGroup may be removed in a future version.", + "file": "Client/DeleteEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteEntryGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteEntryGroup Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteTag_sync", - "title": "datacatalog DeleteTag Sample", - "description": "DeleteTag deletes a tag.\n\n\nDeprecated: DeleteTag may be removed in a future version.", - "file": "Client/DeleteTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.DeleteTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "DeleteTag", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "DeleteTag" }, + "description": "DeleteTag deletes a tag.\n\n\nDeprecated: DeleteTag may be removed in a future version.", + "file": "Client/DeleteTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteTag_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteTagTemplate_sync", - "title": "datacatalog DeleteTagTemplate Sample", - "description": "DeleteTagTemplate deletes a tag template and all tags using the template.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteTagTemplate may be removed in a future version.", - "file": "Client/DeleteTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.DeleteTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "DeleteTagTemplate", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "DeleteTagTemplate" }, + "description": "DeleteTagTemplate deletes a tag template and all tags using the template.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteTagTemplate may be removed in a future version.", + "file": "Client/DeleteTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteTagTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTagTemplate Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteTagTemplateField_sync", - "title": "datacatalog DeleteTagTemplateField Sample", - "description": "DeleteTagTemplateField deletes a field in a tag template and all uses of that field.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteTagTemplateField may be removed in a future version.", - "file": "Client/DeleteTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.DeleteTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "DeleteTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "DeleteTagTemplateField", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "DeleteTagTemplateField" }, + "description": "DeleteTagTemplateField deletes a field in a tag template and all uses of that field.\nUsers should enable the Data Catalog API in the project identified by\nthe `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: DeleteTagTemplateField may be removed in a future version.", + "file": "Client/DeleteTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_DeleteTagTemplateField_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetEntry_sync", - "title": "datacatalog GetEntry Sample", - "description": "GetEntry gets an entry.\n\n\nDeprecated: GetEntry may be removed in a future version.", - "file": "Client/GetEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.GetEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "GetEntry", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "GetEntry" }, + "description": "GetEntry gets an entry.\n\n\nDeprecated: GetEntry may be removed in a future version.", + "file": "Client/GetEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetEntry Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetEntryGroup_sync", - "title": "datacatalog GetEntryGroup Sample", - "description": "GetEntryGroup gets an EntryGroup.\n\n\nDeprecated: GetEntryGroup may be removed in a future version.", - "file": "Client/GetEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.GetEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "GetEntryGroup", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "GetEntryGroup" }, + "description": "GetEntryGroup gets an EntryGroup.\n\n\nDeprecated: GetEntryGroup may be removed in a future version.", + "file": "Client/GetEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetEntryGroup Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetIamPolicy_sync", - "title": "datacatalog GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource. A `NOT_FOUND` error\nis returned if the resource does not exist. An empty policy is returned\nif the resource exists but does not have a policy set on it.\n\nSupported resources are: \n- Tag templates.\n- Entries.\n- Entry groups.\nNote, this method cannot be used to manage policies for BigQuery, Pub/Sub\nand any external Google Cloud Platform resources synced to Data Catalog.\n\nCallers must have following Google IAM permission\n- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag\ntemplates.\n- `datacatalog.entries.getIamPolicy` to get policies on entries.\n- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.\n\n\nDeprecated: GetIamPolicy may be removed in a future version.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetIamPolicy", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource. A `NOT_FOUND` error\nis returned if the resource does not exist. An empty policy is returned\nif the resource exists but does not have a policy set on it.\n\nSupported resources are: \n- Tag templates.\n- Entries.\n- Entry groups.\nNote, this method cannot be used to manage policies for BigQuery, Pub/Sub\nand any external Google Cloud Platform resources synced to Data Catalog.\n\nCallers must have following Google IAM permission\n- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag\ntemplates.\n- `datacatalog.entries.getIamPolicy` to get policies on entries.\n- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.\n\n\nDeprecated: GetIamPolicy may be removed in a future version.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetTagTemplate_sync", - "title": "datacatalog GetTagTemplate Sample", - "description": "GetTagTemplate gets a tag template.\n\n\nDeprecated: GetTagTemplate may be removed in a future version.", - "file": "Client/GetTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.GetTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "GetTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "GetTagTemplate", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "GetTagTemplate" }, + "description": "GetTagTemplate gets a tag template.\n\n\nDeprecated: GetTagTemplate may be removed in a future version.", + "file": "Client/GetTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_GetTagTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetTagTemplate Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_ListEntries_sync", - "title": "datacatalog ListEntries Sample", - "description": "ListEntries lists entries.\n\n\nDeprecated: ListEntries may be removed in a future version.", - "file": "Client/ListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntries", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.ListEntries", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListEntriesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "ListEntries", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "ListEntries" }, + "description": "ListEntries lists entries.\n\n\nDeprecated: ListEntries may be removed in a future version.", + "file": "Client/ListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_ListEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListEntries Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_ListEntryGroups_sync", - "title": "datacatalog ListEntryGroups Sample", - "description": "ListEntryGroups lists entry groups.\n\n\nDeprecated: ListEntryGroups may be removed in a future version.", - "file": "Client/ListEntryGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntryGroups", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.ListEntryGroups", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ListEntryGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListEntryGroupsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListEntryGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "ListEntryGroups", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "ListEntryGroups" }, + "description": "ListEntryGroups lists entry groups.\n\n\nDeprecated: ListEntryGroups may be removed in a future version.", + "file": "Client/ListEntryGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_ListEntryGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListEntryGroups Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_ListTags_sync", - "title": "datacatalog ListTags Sample", - "description": "ListTags lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].\nThe [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response\nare lowercased.\n\n\nDeprecated: ListTags may be removed in a future version.", - "file": "Client/ListTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTags", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.ListTags", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListTags", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "ListTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListTagsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "ListTags", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListTags", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "ListTags" }, + "description": "ListTags lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].\nThe [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response\nare lowercased.\n\n\nDeprecated: ListTags may be removed in a future version.", + "file": "Client/ListTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_ListTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListTags Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_LookupEntry_sync", - "title": "datacatalog LookupEntry Sample", - "description": "LookupEntry get an entry by target resource name. This method allows clients to use\nthe resource name from the source Google Cloud Platform service to get the\nData Catalog Entry.\n\n\nDeprecated: LookupEntry may be removed in a future version.", - "file": "Client/LookupEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.LookupEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "LookupEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.LookupEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.LookupEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "LookupEntry", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "LookupEntry" }, + "description": "LookupEntry get an entry by target resource name. This method allows clients to use\nthe resource name from the source Google Cloud Platform service to get the\nData Catalog Entry.\n\n\nDeprecated: LookupEntry may be removed in a future version.", + "file": "Client/LookupEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_LookupEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog LookupEntry Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateField_sync", - "title": "datacatalog RenameTagTemplateField Sample", - "description": "RenameTagTemplateField renames a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `name` parameter (see [Data Catalog\nResource\nProject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).\n\n\nDeprecated: RenameTagTemplateField may be removed in a future version.", - "file": "Client/RenameTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.RenameTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "RenameTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.RenameTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.RenameTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "RenameTagTemplateField", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "RenameTagTemplateField" }, + "description": "RenameTagTemplateField renames a field in a tag template. The user should enable the Data Catalog\nAPI in the project identified by the `name` parameter (see [Data Catalog\nResource\nProject](https: //cloud.google.com/data-catalog/docs/concepts/resource-project)\nfor more information).\n\n\nDeprecated: RenameTagTemplateField may be removed in a future version.", + "file": "Client/RenameTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog RenameTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync", - "title": "datacatalog RenameTagTemplateFieldEnumValue Sample", - "description": "RenameTagTemplateFieldEnumValue renames an enum value in a tag template. The enum values have to be unique\nwithin one enum field. Thus, an enum value cannot be renamed with a name\nused in any other enum value within the same enum field.\n\n\nDeprecated: RenameTagTemplateFieldEnumValue may be removed in a future version.", - "file": "Client/RenameTagTemplateFieldEnumValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameTagTemplateFieldEnumValue", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.RenameTagTemplateFieldEnumValue", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateFieldEnumValue", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "RenameTagTemplateFieldEnumValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.RenameTagTemplateFieldEnumValueRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.RenameTagTemplateFieldEnumValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "RenameTagTemplateFieldEnumValue", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateFieldEnumValue", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "RenameTagTemplateFieldEnumValue" }, + "description": "RenameTagTemplateFieldEnumValue renames an enum value in a tag template. The enum values have to be unique\nwithin one enum field. Thus, an enum value cannot be renamed with a name\nused in any other enum value within the same enum field.\n\n\nDeprecated: RenameTagTemplateFieldEnumValue may be removed in a future version.", + "file": "Client/RenameTagTemplateFieldEnumValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog RenameTagTemplateFieldEnumValue Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_SearchCatalog_sync", - "title": "datacatalog SearchCatalog Sample", - "description": "SearchCatalog searches Data Catalog for multiple resources like entries, tags that\nmatch a query.\n\nThis is a custom method\n(https: //cloud.google.com/apis/design/custom_methods) and does not return\nthe complete resource, only the resource identifier and high level\nfields. Clients can subsequently call `Get` methods.\n\nNote that Data Catalog search queries do not guarantee full recall. Query\nresults that match your query may not be returned, even in subsequent\nresult pages. Also note that results returned (and not returned) can vary\nacross repeated search queries.\n\nSee [Data Catalog Search\nSyntax](https: //cloud.google.com/data-catalog/docs/how-to/search-reference)\nfor more information.\n\n\nDeprecated: SearchCatalog may be removed in a future version.", - "file": "Client/SearchCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCatalog", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.SearchCatalog", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "SearchCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.SearchCatalogRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.SearchCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchCatalogResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "SearchCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "SearchCatalog" }, + "description": "SearchCatalog searches Data Catalog for multiple resources like entries, tags that\nmatch a query.\n\nThis is a custom method\n(https: //cloud.google.com/apis/design/custom_methods) and does not return\nthe complete resource, only the resource identifier and high level\nfields. Clients can subsequently call `Get` methods.\n\nNote that Data Catalog search queries do not guarantee full recall. Query\nresults that match your query may not be returned, even in subsequent\nresult pages. Also note that results returned (and not returned) can vary\nacross repeated search queries.\n\nSee [Data Catalog Search\nSyntax](https: //cloud.google.com/data-catalog/docs/how-to/search-reference)\nfor more information.\n\n\nDeprecated: SearchCatalog may be removed in a future version.", + "file": "Client/SearchCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_SearchCatalog_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SearchCatalog Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_SetIamPolicy_sync", - "title": "datacatalog SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy for a resource. Replaces any existing\npolicy.\nSupported resources are: \n- Tag templates.\n- Entries.\n- Entry groups.\nNote, this method cannot be used to manage policies for BigQuery, Pub/Sub\nand any external Google Cloud Platform resources synced to Data Catalog.\n\nCallers must have following Google IAM permission\n- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag\ntemplates.\n- `datacatalog.entries.setIamPolicy` to set policies on entries.\n- `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.\n\n\nDeprecated: SetIamPolicy may be removed in a future version.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SetIamPolicy", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy for a resource. Replaces any existing\npolicy.\nSupported resources are: \n- Tag templates.\n- Entries.\n- Entry groups.\nNote, this method cannot be used to manage policies for BigQuery, Pub/Sub\nand any external Google Cloud Platform resources synced to Data Catalog.\n\nCallers must have following Google IAM permission\n- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag\ntemplates.\n- `datacatalog.entries.setIamPolicy` to set policies on entries.\n- `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.\n\n\nDeprecated: SetIamPolicy may be removed in a future version.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_TestIamPermissions_sync", - "title": "datacatalog TestIamPermissions Sample", - "description": "TestIamPermissions returns the caller's permissions on a resource.\nIf the resource does not exist, an empty set of permissions is returned\n(We don't return a `NOT_FOUND` error).\n\nSupported resources are: \n- Tag templates.\n- Entries.\n- Entry groups.\nNote, this method cannot be used to manage policies for BigQuery, Pub/Sub\nand any external Google Cloud Platform resources synced to Data Catalog.\n\nA caller is not required to have Google IAM permission to make this\nrequest.\n\n\nDeprecated: TestIamPermissions may be removed in a future version.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.TestIamPermissions", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.TestIamPermissions", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the caller's permissions on a resource.\nIf the resource does not exist, an empty set of permissions is returned\n(We don't return a `NOT_FOUND` error).\n\nSupported resources are: \n- Tag templates.\n- Entries.\n- Entry groups.\nNote, this method cannot be used to manage policies for BigQuery, Pub/Sub\nand any external Google Cloud Platform resources synced to Data Catalog.\n\nA caller is not required to have Google IAM permission to make this\nrequest.\n\n\nDeprecated: TestIamPermissions may be removed in a future version.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog TestIamPermissions Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateEntry_sync", - "title": "datacatalog UpdateEntry Sample", - "description": "UpdateEntry updates an existing entry.\nUsers should enable the Data Catalog API in the project identified by\nthe `entry.name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateEntry may be removed in a future version.", - "file": "Client/UpdateEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntry", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.UpdateEntry", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateEntryRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Entry", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "UpdateEntry", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "UpdateEntry" }, + "description": "UpdateEntry updates an existing entry.\nUsers should enable the Data Catalog API in the project identified by\nthe `entry.name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateEntry may be removed in a future version.", + "file": "Client/UpdateEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateEntry Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateEntryGroup_sync", - "title": "datacatalog UpdateEntryGroup Sample", - "description": "UpdateEntryGroup updates an EntryGroup. The user should enable the Data Catalog API in the\nproject identified by the `entry_group.name` parameter (see [Data Catalog\nResource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateEntryGroup may be removed in a future version.", - "file": "Client/UpdateEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntryGroup", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.UpdateEntryGroup", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateEntryGroupRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.EntryGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "UpdateEntryGroup", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "UpdateEntryGroup" }, + "description": "UpdateEntryGroup updates an EntryGroup. The user should enable the Data Catalog API in the\nproject identified by the `entry_group.name` parameter (see [Data Catalog\nResource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateEntryGroup may be removed in a future version.", + "file": "Client/UpdateEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateEntryGroup Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateTag_sync", - "title": "datacatalog UpdateTag Sample", - "description": "UpdateTag updates an existing tag.\n\n\nDeprecated: UpdateTag may be removed in a future version.", - "file": "Client/UpdateTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.UpdateTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Tag", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "UpdateTag", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "UpdateTag" }, + "description": "UpdateTag updates an existing tag.\n\n\nDeprecated: UpdateTag may be removed in a future version.", + "file": "Client/UpdateTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateTagTemplate_sync", - "title": "datacatalog UpdateTagTemplate Sample", - "description": "UpdateTagTemplate updates a tag template. This method cannot be used to update the fields of\na template. The tag template fields are represented as separate resources\nand should be updated using their own create/update/delete methods.\nUsers should enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateTagTemplate may be removed in a future version.", - "file": "Client/UpdateTagTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTagTemplate", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.UpdateTagTemplate", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateTagTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTagTemplateRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTagTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "UpdateTagTemplate", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "UpdateTagTemplate" }, + "description": "UpdateTagTemplate updates a tag template. This method cannot be used to update the fields of\na template. The tag template fields are represented as separate resources\nand should be updated using their own create/update/delete methods.\nUsers should enable the Data Catalog API in the project identified by\nthe `tag_template.name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateTagTemplate may be removed in a future version.", + "file": "Client/UpdateTagTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateTagTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTagTemplate Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateTagTemplateField_sync", - "title": "datacatalog UpdateTagTemplateField Sample", - "description": "UpdateTagTemplateField updates a field in a tag template. This method cannot be used to update the\nfield type. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateTagTemplateField may be removed in a future version.", - "file": "Client/UpdateTagTemplateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTagTemplateField", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.v1beta1.Client.UpdateTagTemplateField", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "shortName": "DataCatalog" + }, + "shortName": "UpdateTagTemplateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTagTemplateFieldRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTagTemplateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.TagTemplateField", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.v1beta1.Client" - }, - "method": { - "shortName": "UpdateTagTemplateField", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField", - "service": { - "shortName": "DataCatalog", - "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog" - } - } + "shortName": "UpdateTagTemplateField" }, + "description": "UpdateTagTemplateField updates a field in a tag template. This method cannot be used to update the\nfield type. Users should enable the Data Catalog API in the project\nidentified by the `name` parameter (see [Data Catalog Resource Project]\n(https: //cloud.google.com/data-catalog/docs/concepts/resource-project) for\nmore information).\n\n\nDeprecated: UpdateTagTemplateField may be removed in a future version.", + "file": "Client/UpdateTagTemplateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_DataCatalog_UpdateTagTemplateField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTagTemplateField Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_CreatePolicyTag_sync", - "title": "datacatalog CreatePolicyTag Sample", - "description": "CreatePolicyTag creates a policy tag in the specified taxonomy.", - "file": "PolicyTagManagerClient/CreatePolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.CreatePolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "CreatePolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreatePolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreatePolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.PolicyTag", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "CreatePolicyTag", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "CreatePolicyTag" }, + "description": "CreatePolicyTag creates a policy tag in the specified taxonomy.", + "file": "PolicyTagManagerClient/CreatePolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_CreatePolicyTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreatePolicyTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_CreateTaxonomy_sync", - "title": "datacatalog CreateTaxonomy Sample", - "description": "CreateTaxonomy creates a taxonomy in the specified project.", - "file": "PolicyTagManagerClient/CreateTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.CreateTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "CreateTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.CreateTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.CreateTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "CreateTaxonomy", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "CreateTaxonomy" }, + "description": "CreateTaxonomy creates a taxonomy in the specified project.", + "file": "PolicyTagManagerClient/CreateTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_CreateTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog CreateTaxonomy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_DeletePolicyTag_sync", - "title": "datacatalog DeletePolicyTag Sample", - "description": "DeletePolicyTag deletes a policy tag. Also deletes all of its descendant policy tags.", - "file": "PolicyTagManagerClient/DeletePolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.DeletePolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "DeletePolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeletePolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeletePolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "DeletePolicyTag", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "DeletePolicyTag" }, + "description": "DeletePolicyTag deletes a policy tag. Also deletes all of its descendant policy tags.", + "file": "PolicyTagManagerClient/DeletePolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_DeletePolicyTag_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeletePolicyTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_DeleteTaxonomy_sync", - "title": "datacatalog DeleteTaxonomy Sample", - "description": "DeleteTaxonomy deletes a taxonomy. This operation will also delete all\npolicy tags in this taxonomy along with their associated policies.", - "file": "PolicyTagManagerClient/DeleteTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.DeleteTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "DeleteTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.DeleteTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.DeleteTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "DeleteTaxonomy", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "DeleteTaxonomy" }, + "description": "DeleteTaxonomy deletes a taxonomy. This operation will also delete all\npolicy tags in this taxonomy along with their associated policies.", + "file": "PolicyTagManagerClient/DeleteTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_DeleteTaxonomy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog DeleteTaxonomy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_GetIamPolicy_sync", - "title": "datacatalog GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for a taxonomy or a policy tag.", - "file": "PolicyTagManagerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetIamPolicy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for a taxonomy or a policy tag.", + "file": "PolicyTagManagerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_GetPolicyTag_sync", - "title": "datacatalog GetPolicyTag Sample", - "description": "GetPolicyTag gets a policy tag.", - "file": "PolicyTagManagerClient/GetPolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.GetPolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "GetPolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetPolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetPolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.PolicyTag", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetPolicyTag", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "GetPolicyTag" }, + "description": "GetPolicyTag gets a policy tag.", + "file": "PolicyTagManagerClient/GetPolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_GetPolicyTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetPolicyTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_GetTaxonomy_sync", - "title": "datacatalog GetTaxonomy Sample", - "description": "GetTaxonomy gets a taxonomy.", - "file": "PolicyTagManagerClient/GetTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.GetTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "GetTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.GetTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.GetTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "GetTaxonomy", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "GetTaxonomy" }, + "description": "GetTaxonomy gets a taxonomy.", + "file": "PolicyTagManagerClient/GetTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_GetTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog GetTaxonomy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_ListPolicyTags_sync", - "title": "datacatalog ListPolicyTags Sample", - "description": "ListPolicyTags lists all policy tags in a taxonomy.", - "file": "PolicyTagManagerClient/ListPolicyTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicyTags", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.ListPolicyTags", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "ListPolicyTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListPolicyTagsRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListPolicyTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyTagIterator", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "ListPolicyTags", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "ListPolicyTags" }, + "description": "ListPolicyTags lists all policy tags in a taxonomy.", + "file": "PolicyTagManagerClient/ListPolicyTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_ListPolicyTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListPolicyTags Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_ListTaxonomies_sync", - "title": "datacatalog ListTaxonomies Sample", - "description": "ListTaxonomies lists all taxonomies in a project in a particular location that the caller\nhas permission to view.", - "file": "PolicyTagManagerClient/ListTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTaxonomies", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.ListTaxonomies", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "ListTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ListTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ListTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaxonomyIterator", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "ListTaxonomies", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "ListTaxonomies" }, + "description": "ListTaxonomies lists all taxonomies in a project in a particular location that the caller\nhas permission to view.", + "file": "PolicyTagManagerClient/ListTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_ListTaxonomies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ListTaxonomies Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_SetIamPolicy_sync", - "title": "datacatalog SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for a taxonomy or a policy tag.", - "file": "PolicyTagManagerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.SetIamPolicy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.SetIamPolicy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for a taxonomy or a policy tag.", + "file": "PolicyTagManagerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog SetIamPolicy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_TestIamPermissions_sync", - "title": "datacatalog TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified taxonomy or\npolicy tag.", - "file": "PolicyTagManagerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.TestIamPermissions", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.TestIamPermissions", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified taxonomy or\npolicy tag.", + "file": "PolicyTagManagerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog TestIamPermissions Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_UpdatePolicyTag_sync", - "title": "datacatalog UpdatePolicyTag Sample", - "description": "UpdatePolicyTag updates a policy tag.", - "file": "PolicyTagManagerClient/UpdatePolicyTag/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicyTag", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.UpdatePolicyTag", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "UpdatePolicyTag" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdatePolicyTagRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdatePolicyTagRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.PolicyTag", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "UpdatePolicyTag", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "UpdatePolicyTag" }, + "description": "UpdatePolicyTag updates a policy tag.", + "file": "PolicyTagManagerClient/UpdatePolicyTag/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_UpdatePolicyTag_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdatePolicyTag Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_UpdateTaxonomy_sync", - "title": "datacatalog UpdateTaxonomy Sample", - "description": "UpdateTaxonomy updates a taxonomy.", - "file": "PolicyTagManagerClient/UpdateTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTaxonomy", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient", + "shortName": "PolicyTagManagerClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient.UpdateTaxonomy", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "shortName": "PolicyTagManager" + }, + "shortName": "UpdateTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.UpdateTaxonomyRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.UpdateTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.Taxonomy", - "client": { - "shortName": "PolicyTagManagerClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerClient" - }, - "method": { - "shortName": "UpdateTaxonomy", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy", - "service": { - "shortName": "PolicyTagManager", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager" - } - } + "shortName": "UpdateTaxonomy" }, + "description": "UpdateTaxonomy updates a taxonomy.", + "file": "PolicyTagManagerClient/UpdateTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManager_UpdateTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog UpdateTaxonomy Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManagerSerialization_ExportTaxonomies_sync", - "title": "datacatalog ExportTaxonomies Sample", - "description": "ExportTaxonomies exports all taxonomies and their policy tags in a project.\n\nThis method generates SerializedTaxonomy protos with nested policy tags\nthat can be used as an input for future ImportTaxonomies calls.", - "file": "PolicyTagManagerSerializationClient/ExportTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTaxonomies", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClient.ExportTaxonomies", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization", + "shortName": "PolicyTagManagerSerialization" + }, + "shortName": "ExportTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ExportTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ExportTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.ExportTaxonomiesResponse", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "ExportTaxonomies", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies", - "service": { - "shortName": "PolicyTagManagerSerialization", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization" - } - } + "shortName": "ExportTaxonomies" }, + "description": "ExportTaxonomies exports all taxonomies and their policy tags in a project.\n\nThis method generates SerializedTaxonomy protos with nested policy tags\nthat can be used as an input for future ImportTaxonomies calls.", + "file": "PolicyTagManagerSerializationClient/ExportTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManagerSerialization_ExportTaxonomies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ExportTaxonomies Sample" }, { - "regionTag": "datacatalog_v1beta1_generated_PolicyTagManagerSerialization_ImportTaxonomies_sync", - "title": "datacatalog ImportTaxonomies Sample", - "description": "ImportTaxonomies imports all taxonomies and their policy tags to a project as new\ntaxonomies.\n\nThis method provides a bulk taxonomy / policy tag creation using nested\nproto structure.", - "file": "PolicyTagManagerSerializationClient/ImportTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportTaxonomies", + "client": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClient", + "shortName": "PolicyTagManagerSerializationClient" + }, "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClient.ImportTaxonomies", + "method": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies", + "service": { + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization", + "shortName": "PolicyTagManagerSerialization" + }, + "shortName": "ImportTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datacatalogpb.ImportTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "datacatalogpb.ImportTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datacatalogpb.ImportTaxonomiesResponse", - "client": { - "shortName": "PolicyTagManagerSerializationClient", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClient" - }, - "method": { - "shortName": "ImportTaxonomies", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies", - "service": { - "shortName": "PolicyTagManagerSerialization", - "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization" - } - } + "shortName": "ImportTaxonomies" }, + "description": "ImportTaxonomies imports all taxonomies and their policy tags to a project as new\ntaxonomies.\n\nThis method provides a bulk taxonomy / policy tag creation using nested\nproto structure.", + "file": "PolicyTagManagerSerializationClient/ImportTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datacatalog_v1beta1_generated_PolicyTagManagerSerialization_ImportTaxonomies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datacatalog ImportTaxonomies Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json index 591ebbe80246..f39ac9329410 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json @@ -1,978 +1,978 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datacatalog/lineage/apiv1", - "version": "1.26.1", - "language": "GO", "apis": [ { "id": "google.cloud.datacatalog.lineage.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datacatalog/lineage/apiv1", + "version": "1.26.1" }, "snippets": [ { - "regionTag": "datalineage_v1_generated_Lineage_BatchSearchLinkProcesses_sync", - "title": "datalineage BatchSearchLinkProcesses Sample", - "description": "BatchSearchLinkProcesses retrieve information about LineageProcesses associated with specific\nlinks. LineageProcesses are transformation pipelines that result in data\nflowing from **source** to **target** assets. Links between assets\nrepresent this operation.\n\nIf you have specific link names, you can use this method to\nverify which LineageProcesses contribute to creating those links.\nSee the\n[SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks]\nmethod for more information on how to retrieve link name.\n\nYou can retrieve the LineageProcess information in every project where you\nhave the `datalineage.events.get` permission. The project provided in the\nURL is used for Billing and Quota.", - "file": "Client/BatchSearchLinkProcesses/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchSearchLinkProcesses", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.BatchSearchLinkProcesses", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "BatchSearchLinkProcesses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.BatchSearchLinkProcessesRequest", - "name": "req" + "name": "req", + "type": "lineagepb.BatchSearchLinkProcessesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessLinksIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "BatchSearchLinkProcesses", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "BatchSearchLinkProcesses" }, + "description": "BatchSearchLinkProcesses retrieve information about LineageProcesses associated with specific\nlinks. LineageProcesses are transformation pipelines that result in data\nflowing from **source** to **target** assets. Links between assets\nrepresent this operation.\n\nIf you have specific link names, you can use this method to\nverify which LineageProcesses contribute to creating those links.\nSee the\n[SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks]\nmethod for more information on how to retrieve link name.\n\nYou can retrieve the LineageProcess information in every project where you\nhave the `datalineage.events.get` permission. The project provided in the\nURL is used for Billing and Quota.", + "file": "Client/BatchSearchLinkProcesses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_BatchSearchLinkProcesses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage BatchSearchLinkProcesses Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_CancelOperation_sync", - "title": "datalineage CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage CancelOperation Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_CreateLineageEvent_sync", - "title": "datalineage CreateLineageEvent Sample", - "description": "CreateLineageEvent creates a new lineage event.", - "file": "Client/CreateLineageEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLineageEvent", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.CreateLineageEvent", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "CreateLineageEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.CreateLineageEventRequest", - "name": "req" + "name": "req", + "type": "lineagepb.CreateLineageEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.LineageEvent", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "CreateLineageEvent", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "CreateLineageEvent" }, + "description": "CreateLineageEvent creates a new lineage event.", + "file": "Client/CreateLineageEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_CreateLineageEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage CreateLineageEvent Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_CreateProcess_sync", - "title": "datalineage CreateProcess Sample", - "description": "CreateProcess creates a new process.", - "file": "Client/CreateProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProcess", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.CreateProcess", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "CreateProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.CreateProcessRequest", - "name": "req" + "name": "req", + "type": "lineagepb.CreateProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.Process", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "CreateProcess", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "CreateProcess" }, + "description": "CreateProcess creates a new process.", + "file": "Client/CreateProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_CreateProcess_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage CreateProcess Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_CreateRun_sync", - "title": "datalineage CreateRun Sample", - "description": "CreateRun creates a new run.", - "file": "Client/CreateRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRun", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.CreateRun", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateRun", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "CreateRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.CreateRunRequest", - "name": "req" + "name": "req", + "type": "lineagepb.CreateRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.Run", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "CreateRun", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.CreateRun", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "CreateRun" }, + "description": "CreateRun creates a new run.", + "file": "Client/CreateRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_CreateRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage CreateRun Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_DeleteLineageEvent_sync", - "title": "datalineage DeleteLineageEvent Sample", - "description": "DeleteLineageEvent deletes the lineage event with the specified name.", - "file": "Client/DeleteLineageEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLineageEvent", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteLineageEvent", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "DeleteLineageEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.DeleteLineageEventRequest", - "name": "req" + "name": "req", + "type": "lineagepb.DeleteLineageEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "DeleteLineageEvent", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "DeleteLineageEvent" }, + "description": "DeleteLineageEvent deletes the lineage event with the specified name.", + "file": "Client/DeleteLineageEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_DeleteLineageEvent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage DeleteLineageEvent Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_DeleteOperation_sync", - "title": "datalineage DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage DeleteOperation Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_DeleteProcess_sync", - "title": "datalineage DeleteProcess Sample", - "description": "DeleteProcess deletes the process with the specified name.", - "file": "Client/DeleteProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcess", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteProcess", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "DeleteProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.DeleteProcessRequest", - "name": "req" + "name": "req", + "type": "lineagepb.DeleteProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "DeleteProcess", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "DeleteProcess" }, + "description": "DeleteProcess deletes the process with the specified name.", + "file": "Client/DeleteProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_DeleteProcess_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage DeleteProcess Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_DeleteRun_sync", - "title": "datalineage DeleteRun Sample", - "description": "DeleteRun deletes the run with the specified name.", - "file": "Client/DeleteRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRun", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.DeleteRun", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "DeleteRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.DeleteRunRequest", - "name": "req" + "name": "req", + "type": "lineagepb.DeleteRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRunOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "DeleteRun", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "DeleteRun" }, + "description": "DeleteRun deletes the run with the specified name.", + "file": "Client/DeleteRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_DeleteRun_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage DeleteRun Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_GetLineageEvent_sync", - "title": "datalineage GetLineageEvent Sample", - "description": "GetLineageEvent gets details of a specified lineage event.", - "file": "Client/GetLineageEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLineageEvent", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetLineageEvent", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "GetLineageEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.GetLineageEventRequest", - "name": "req" + "name": "req", + "type": "lineagepb.GetLineageEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.LineageEvent", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "GetLineageEvent", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "GetLineageEvent" }, + "description": "GetLineageEvent gets details of a specified lineage event.", + "file": "Client/GetLineageEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_GetLineageEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage GetLineageEvent Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_GetOperation_sync", - "title": "datalineage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage GetOperation Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_GetProcess_sync", - "title": "datalineage GetProcess Sample", - "description": "GetProcess gets the details of the specified process.", - "file": "Client/GetProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcess", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetProcess", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetProcess", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "GetProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.GetProcessRequest", - "name": "req" + "name": "req", + "type": "lineagepb.GetProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.Process", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "GetProcess", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetProcess", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "GetProcess" }, + "description": "GetProcess gets the details of the specified process.", + "file": "Client/GetProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_GetProcess_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage GetProcess Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_GetRun_sync", - "title": "datalineage GetRun Sample", - "description": "GetRun gets the details of the specified run.", - "file": "Client/GetRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRun", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.GetRun", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetRun", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "GetRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.GetRunRequest", - "name": "req" + "name": "req", + "type": "lineagepb.GetRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.Run", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "GetRun", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.GetRun", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "GetRun" }, + "description": "GetRun gets the details of the specified run.", + "file": "Client/GetRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_GetRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage GetRun Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_ListLineageEvents_sync", - "title": "datalineage ListLineageEvents Sample", - "description": "ListLineageEvents lists lineage events in the given project and location. The list order is\nnot defined.", - "file": "Client/ListLineageEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLineageEvents", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListLineageEvents", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "ListLineageEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.ListLineageEventsRequest", - "name": "req" + "name": "req", + "type": "lineagepb.ListLineageEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LineageEventIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "ListLineageEvents", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "ListLineageEvents" }, + "description": "ListLineageEvents lists lineage events in the given project and location. The list order is\nnot defined.", + "file": "Client/ListLineageEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_ListLineageEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage ListLineageEvents Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_ListOperations_sync", - "title": "datalineage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage ListOperations Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_ListProcesses_sync", - "title": "datalineage ListProcesses Sample", - "description": "ListProcesses list processes in the given project and location. List order is descending\nby insertion time.", - "file": "Client/ListProcesses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcesses", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListProcesses", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "ListProcesses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.ListProcessesRequest", - "name": "req" + "name": "req", + "type": "lineagepb.ListProcessesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "ListProcesses", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "ListProcesses" }, + "description": "ListProcesses list processes in the given project and location. List order is descending\nby insertion time.", + "file": "Client/ListProcesses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_ListProcesses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage ListProcesses Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_ListRuns_sync", - "title": "datalineage ListRuns Sample", - "description": "ListRuns lists runs in the given project and location. List order is descending by\n`start_time`.", - "file": "Client/ListRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuns", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.ListRuns", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListRuns", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "ListRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.ListRunsRequest", - "name": "req" + "name": "req", + "type": "lineagepb.ListRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "ListRuns", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ListRuns", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "ListRuns" }, + "description": "ListRuns lists runs in the given project and location. List order is descending by\n`start_time`.", + "file": "Client/ListRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_ListRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage ListRuns Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_ProcessOpenLineageRunEvent_sync", - "title": "datalineage ProcessOpenLineageRunEvent Sample", - "description": "ProcessOpenLineageRunEvent creates new lineage events together with their parents: process and run.\nUpdates the process and run if they already exist.\nMapped from Open Lineage specification: \nhttps: //github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.", - "file": "Client/ProcessOpenLineageRunEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProcessOpenLineageRunEvent", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.ProcessOpenLineageRunEvent", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "ProcessOpenLineageRunEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.ProcessOpenLineageRunEventRequest", - "name": "req" + "name": "req", + "type": "lineagepb.ProcessOpenLineageRunEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.ProcessOpenLineageRunEventResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "ProcessOpenLineageRunEvent", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "ProcessOpenLineageRunEvent" }, + "description": "ProcessOpenLineageRunEvent creates new lineage events together with their parents: process and run.\nUpdates the process and run if they already exist.\nMapped from Open Lineage specification: \nhttps: //github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.", + "file": "Client/ProcessOpenLineageRunEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_ProcessOpenLineageRunEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage ProcessOpenLineageRunEvent Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_SearchLinks_sync", - "title": "datalineage SearchLinks Sample", - "description": "SearchLinks retrieve a list of links connected to a specific asset.\nLinks represent the data flow between **source** (upstream)\nand **target** (downstream) assets in transformation pipelines.\nLinks are stored in the same project as the Lineage Events that create\nthem.\n\nYou can retrieve links in every project where you have the\n`datalineage.events.get` permission. The project provided in the URL\nis used for Billing and Quota.", - "file": "Client/SearchLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchLinks", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.SearchLinks", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "SearchLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.SearchLinksRequest", - "name": "req" + "name": "req", + "type": "lineagepb.SearchLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LinkIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "SearchLinks", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "SearchLinks" }, + "description": "SearchLinks retrieve a list of links connected to a specific asset.\nLinks represent the data flow between **source** (upstream)\nand **target** (downstream) assets in transformation pipelines.\nLinks are stored in the same project as the Lineage Events that create\nthem.\n\nYou can retrieve links in every project where you have the\n`datalineage.events.get` permission. The project provided in the URL\nis used for Billing and Quota.", + "file": "Client/SearchLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_SearchLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage SearchLinks Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_UpdateProcess_sync", - "title": "datalineage UpdateProcess Sample", - "description": "UpdateProcess updates a process.", - "file": "Client/UpdateProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProcess", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.UpdateProcess", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "UpdateProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.UpdateProcessRequest", - "name": "req" + "name": "req", + "type": "lineagepb.UpdateProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.Process", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "UpdateProcess", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "UpdateProcess" }, + "description": "UpdateProcess updates a process.", + "file": "Client/UpdateProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_UpdateProcess_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage UpdateProcess Sample" }, { - "regionTag": "datalineage_v1_generated_Lineage_UpdateRun_sync", - "title": "datalineage UpdateRun Sample", - "description": "UpdateRun updates a run.", - "file": "Client/UpdateRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRun", + "client": { + "fullName": "google.cloud.datacatalog.lineage.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datacatalog.lineage.v1.Client.UpdateRun", + "method": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun", + "service": { + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage", + "shortName": "Lineage" + }, + "shortName": "UpdateRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lineagepb.UpdateRunRequest", - "name": "req" + "name": "req", + "type": "lineagepb.UpdateRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lineagepb.Run", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datacatalog.lineage.v1.Client" - }, - "method": { - "shortName": "UpdateRun", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun", - "service": { - "shortName": "Lineage", - "fullName": "google.cloud.datacatalog.lineage.v1.Lineage" - } - } + "shortName": "UpdateRun" }, + "description": "UpdateRun updates a run.", + "file": "Client/UpdateRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalineage_v1_generated_Lineage_UpdateRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalineage UpdateRun Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json index f753c40dc2b3..c3f79e5fa441 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json +++ b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json @@ -1,843 +1,843 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dataflow/apiv1beta3", - "version": "0.11.1", - "language": "GO", "apis": [ { "id": "google.dataflow.v1beta3", "version": "v1beta3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dataflow/apiv1beta3", + "version": "0.11.1" }, "snippets": [ { - "regionTag": "dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_sync", - "title": "dataflow LaunchFlexTemplate Sample", - "description": "LaunchFlexTemplate launch a job with a FlexTemplate.", - "file": "FlexTemplatesClient/LaunchFlexTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "LaunchFlexTemplate", + "client": { + "fullName": "google.dataflow.v1beta3.FlexTemplatesClient", + "shortName": "FlexTemplatesClient" + }, "fullName": "google.dataflow.v1beta3.FlexTemplatesClient.LaunchFlexTemplate", + "method": { + "fullName": "google.dataflow.v1beta3.FlexTemplatesService.LaunchFlexTemplate", + "service": { + "fullName": "google.dataflow.v1beta3.FlexTemplatesService", + "shortName": "FlexTemplatesService" + }, + "shortName": "LaunchFlexTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.LaunchFlexTemplateRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.LaunchFlexTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.LaunchFlexTemplateResponse", - "client": { - "shortName": "FlexTemplatesClient", - "fullName": "google.dataflow.v1beta3.FlexTemplatesClient" - }, - "method": { - "shortName": "LaunchFlexTemplate", - "fullName": "google.dataflow.v1beta3.FlexTemplatesService.LaunchFlexTemplate", - "service": { - "shortName": "FlexTemplatesService", - "fullName": "google.dataflow.v1beta3.FlexTemplatesService" - } - } + "shortName": "LaunchFlexTemplate" }, + "description": "LaunchFlexTemplate launch a job with a FlexTemplate.", + "file": "FlexTemplatesClient/LaunchFlexTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_FlexTemplatesService_LaunchFlexTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow LaunchFlexTemplate Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_AggregatedListJobs_sync", - "title": "dataflow AggregatedListJobs Sample", - "description": "AggregatedListJobs list the jobs of a project across all regions.\n\n**Note: ** This method doesn't support filtering the list of\njobs by name.", - "file": "JobsV1Beta3Client/AggregatedListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregatedListJobs", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.AggregatedListJobs", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.AggregatedListJobs", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "AggregatedListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "AggregatedListJobs", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.AggregatedListJobs", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "AggregatedListJobs" }, + "description": "AggregatedListJobs list the jobs of a project across all regions.\n\n**Note: ** This method doesn't support filtering the list of\njobs by name.", + "file": "JobsV1Beta3Client/AggregatedListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_AggregatedListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow AggregatedListJobs Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_CheckActiveJobs_sync", - "title": "dataflow CheckActiveJobs Sample", - "description": "CheckActiveJobs check for existence of active jobs in the given project across all regions.", - "file": "JobsV1Beta3Client/CheckActiveJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckActiveJobs", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.CheckActiveJobs", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.CheckActiveJobs", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "CheckActiveJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.CheckActiveJobsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.CheckActiveJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.CheckActiveJobsResponse", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "CheckActiveJobs", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.CheckActiveJobs", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "CheckActiveJobs" }, + "description": "CheckActiveJobs check for existence of active jobs in the given project across all regions.", + "file": "JobsV1Beta3Client/CheckActiveJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_CheckActiveJobs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow CheckActiveJobs Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_CreateJob_sync", - "title": "dataflow CreateJob Sample", - "description": "CreateJob creates a Cloud Dataflow job.\n\nTo create a job, we recommend using `projects.locations.jobs.create` with a\n[regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.create` is not recommended, as your job will always start\nin `us-central1`.\n\nDo not enter confidential information when you supply string values using\nthe API.", - "file": "JobsV1Beta3Client/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.CreateJob", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.CreateJob", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.Job", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.CreateJob", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a Cloud Dataflow job.\n\nTo create a job, we recommend using `projects.locations.jobs.create` with a\n[regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.create` is not recommended, as your job will always start\nin `us-central1`.\n\nDo not enter confidential information when you supply string values using\nthe API.", + "file": "JobsV1Beta3Client/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow CreateJob Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_GetJob_sync", - "title": "dataflow GetJob Sample", - "description": "GetJob gets the state of the specified Cloud Dataflow job.\n\nTo get the state of a job, we recommend using `projects.locations.jobs.get`\nwith a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.get` is not recommended, as you can only get the state of\njobs that are running in `us-central1`.", - "file": "JobsV1Beta3Client/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.GetJob", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.GetJob", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.Job", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.GetJob", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "GetJob" }, + "description": "GetJob gets the state of the specified Cloud Dataflow job.\n\nTo get the state of a job, we recommend using `projects.locations.jobs.get`\nwith a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.get` is not recommended, as you can only get the state of\njobs that are running in `us-central1`.", + "file": "JobsV1Beta3Client/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow GetJob Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_ListJobs_sync", - "title": "dataflow ListJobs Sample", - "description": "ListJobs list the jobs of a project.\n\nTo list the jobs of a project in a region, we recommend using\n`projects.locations.jobs.list` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). To\nlist the all jobs across all regions, use `projects.jobs.aggregated`. Using\n`projects.jobs.list` is not recommended, because you can only get the list\nof jobs that are running in `us-central1`.\n\n`projects.locations.jobs.list` and `projects.jobs.list` support filtering\nthe list of jobs by name. Filtering by name isn't supported by\n`projects.jobs.aggregated`.", - "file": "JobsV1Beta3Client/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.ListJobs", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.ListJobs", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.ListJobs", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs list the jobs of a project.\n\nTo list the jobs of a project in a region, we recommend using\n`projects.locations.jobs.list` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). To\nlist the all jobs across all regions, use `projects.jobs.aggregated`. Using\n`projects.jobs.list` is not recommended, because you can only get the list\nof jobs that are running in `us-central1`.\n\n`projects.locations.jobs.list` and `projects.jobs.list` support filtering\nthe list of jobs by name. Filtering by name isn't supported by\n`projects.jobs.aggregated`.", + "file": "JobsV1Beta3Client/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow ListJobs Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_SnapshotJob_sync", - "title": "dataflow SnapshotJob Sample", - "description": "SnapshotJob snapshot the state of a streaming job.", - "file": "JobsV1Beta3Client/SnapshotJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "SnapshotJob", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.SnapshotJob", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.SnapshotJob", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "SnapshotJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.SnapshotJobRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.SnapshotJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.Snapshot", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "SnapshotJob", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.SnapshotJob", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "SnapshotJob" }, + "description": "SnapshotJob snapshot the state of a streaming job.", + "file": "JobsV1Beta3Client/SnapshotJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_SnapshotJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow SnapshotJob Sample" }, { - "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_UpdateJob_sync", - "title": "dataflow UpdateJob Sample", - "description": "UpdateJob updates the state of an existing Cloud Dataflow job.\n\nTo update the state of an existing job, we recommend using\n`projects.locations.jobs.update` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.update` is not recommended, as you can only update the state\nof jobs that are running in `us-central1`.", - "file": "JobsV1Beta3Client/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client", + "shortName": "JobsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client.UpdateJob", + "method": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3.UpdateJob", + "service": { + "fullName": "google.dataflow.v1beta3.JobsV1Beta3", + "shortName": "JobsV1Beta3" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.Job", - "client": { - "shortName": "JobsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3Client" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3.UpdateJob", - "service": { - "shortName": "JobsV1Beta3", - "fullName": "google.dataflow.v1beta3.JobsV1Beta3" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates the state of an existing Cloud Dataflow job.\n\nTo update the state of an existing job, we recommend using\n`projects.locations.jobs.update` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.update` is not recommended, as you can only update the state\nof jobs that are running in `us-central1`.", + "file": "JobsV1Beta3Client/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_JobsV1Beta3_UpdateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow UpdateJob Sample" }, { - "regionTag": "dataflow_v1beta3_generated_MessagesV1Beta3_ListJobMessages_sync", - "title": "dataflow ListJobMessages Sample", - "description": "ListJobMessages request the job status.\n\nTo request the status of a job, we recommend using\n`projects.locations.jobs.messages.list` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.messages.list` is not recommended, as you can only request\nthe status of jobs that are running in `us-central1`.", - "file": "MessagesV1Beta3Client/ListJobMessages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobMessages", + "client": { + "fullName": "google.dataflow.v1beta3.MessagesV1Beta3Client", + "shortName": "MessagesV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.MessagesV1Beta3Client.ListJobMessages", + "method": { + "fullName": "google.dataflow.v1beta3.MessagesV1Beta3.ListJobMessages", + "service": { + "fullName": "google.dataflow.v1beta3.MessagesV1Beta3", + "shortName": "MessagesV1Beta3" + }, + "shortName": "ListJobMessages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.ListJobMessagesRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.ListJobMessagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobMessageIterator", - "client": { - "shortName": "MessagesV1Beta3Client", - "fullName": "google.dataflow.v1beta3.MessagesV1Beta3Client" - }, - "method": { - "shortName": "ListJobMessages", - "fullName": "google.dataflow.v1beta3.MessagesV1Beta3.ListJobMessages", - "service": { - "shortName": "MessagesV1Beta3", - "fullName": "google.dataflow.v1beta3.MessagesV1Beta3" - } - } + "shortName": "ListJobMessages" }, + "description": "ListJobMessages request the job status.\n\nTo request the status of a job, we recommend using\n`projects.locations.jobs.messages.list` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.messages.list` is not recommended, as you can only request\nthe status of jobs that are running in `us-central1`.", + "file": "MessagesV1Beta3Client/ListJobMessages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_MessagesV1Beta3_ListJobMessages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow ListJobMessages Sample" }, { - "regionTag": "dataflow_v1beta3_generated_MetricsV1Beta3_GetJobExecutionDetails_sync", - "title": "dataflow GetJobExecutionDetails Sample", - "description": "GetJobExecutionDetails request detailed information about the execution status of the job.\n\nEXPERIMENTAL. This API is subject to change or removal without notice.", - "file": "MetricsV1Beta3Client/GetJobExecutionDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJobExecutionDetails", + "client": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client", + "shortName": "MetricsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client.GetJobExecutionDetails", + "method": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3.GetJobExecutionDetails", + "service": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3", + "shortName": "MetricsV1Beta3" + }, + "shortName": "GetJobExecutionDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.GetJobExecutionDetailsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.GetJobExecutionDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StageSummaryIterator", - "client": { - "shortName": "MetricsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client" - }, - "method": { - "shortName": "GetJobExecutionDetails", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3.GetJobExecutionDetails", - "service": { - "shortName": "MetricsV1Beta3", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3" - } - } + "shortName": "GetJobExecutionDetails" }, + "description": "GetJobExecutionDetails request detailed information about the execution status of the job.\n\nEXPERIMENTAL. This API is subject to change or removal without notice.", + "file": "MetricsV1Beta3Client/GetJobExecutionDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_MetricsV1Beta3_GetJobExecutionDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow GetJobExecutionDetails Sample" }, { - "regionTag": "dataflow_v1beta3_generated_MetricsV1Beta3_GetJobMetrics_sync", - "title": "dataflow GetJobMetrics Sample", - "description": "GetJobMetrics request the job status.\n\nTo request the status of a job, we recommend using\n`projects.locations.jobs.getMetrics` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.getMetrics` is not recommended, as you can only request the\nstatus of jobs that are running in `us-central1`.", - "file": "MetricsV1Beta3Client/GetJobMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJobMetrics", + "client": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client", + "shortName": "MetricsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client.GetJobMetrics", + "method": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3.GetJobMetrics", + "service": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3", + "shortName": "MetricsV1Beta3" + }, + "shortName": "GetJobMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.GetJobMetricsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.GetJobMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.JobMetrics", - "client": { - "shortName": "MetricsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client" - }, - "method": { - "shortName": "GetJobMetrics", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3.GetJobMetrics", - "service": { - "shortName": "MetricsV1Beta3", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3" - } - } + "shortName": "GetJobMetrics" }, + "description": "GetJobMetrics request the job status.\n\nTo request the status of a job, we recommend using\n`projects.locations.jobs.getMetrics` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.jobs.getMetrics` is not recommended, as you can only request the\nstatus of jobs that are running in `us-central1`.", + "file": "MetricsV1Beta3Client/GetJobMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_MetricsV1Beta3_GetJobMetrics_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow GetJobMetrics Sample" }, { - "regionTag": "dataflow_v1beta3_generated_MetricsV1Beta3_GetStageExecutionDetails_sync", - "title": "dataflow GetStageExecutionDetails Sample", - "description": "GetStageExecutionDetails request detailed information about the execution status of a stage of the\njob.\n\nEXPERIMENTAL. This API is subject to change or removal without notice.", - "file": "MetricsV1Beta3Client/GetStageExecutionDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStageExecutionDetails", + "client": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client", + "shortName": "MetricsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client.GetStageExecutionDetails", + "method": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3.GetStageExecutionDetails", + "service": { + "fullName": "google.dataflow.v1beta3.MetricsV1Beta3", + "shortName": "MetricsV1Beta3" + }, + "shortName": "GetStageExecutionDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.GetStageExecutionDetailsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.GetStageExecutionDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkerDetailsIterator", - "client": { - "shortName": "MetricsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3Client" - }, - "method": { - "shortName": "GetStageExecutionDetails", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3.GetStageExecutionDetails", - "service": { - "shortName": "MetricsV1Beta3", - "fullName": "google.dataflow.v1beta3.MetricsV1Beta3" - } - } + "shortName": "GetStageExecutionDetails" }, + "description": "GetStageExecutionDetails request detailed information about the execution status of a stage of the\njob.\n\nEXPERIMENTAL. This API is subject to change or removal without notice.", + "file": "MetricsV1Beta3Client/GetStageExecutionDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_MetricsV1Beta3_GetStageExecutionDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow GetStageExecutionDetails Sample" }, { - "regionTag": "dataflow_v1beta3_generated_SnapshotsV1Beta3_DeleteSnapshot_sync", - "title": "dataflow DeleteSnapshot Sample", - "description": "DeleteSnapshot deletes a snapshot.", - "file": "SnapshotsV1Beta3Client/DeleteSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSnapshot", + "client": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client", + "shortName": "SnapshotsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client.DeleteSnapshot", + "method": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3.DeleteSnapshot", + "service": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3", + "shortName": "SnapshotsV1Beta3" + }, + "shortName": "DeleteSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.DeleteSnapshotRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.DeleteSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.DeleteSnapshotResponse", - "client": { - "shortName": "SnapshotsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client" - }, - "method": { - "shortName": "DeleteSnapshot", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3.DeleteSnapshot", - "service": { - "shortName": "SnapshotsV1Beta3", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3" - } - } + "shortName": "DeleteSnapshot" }, + "description": "DeleteSnapshot deletes a snapshot.", + "file": "SnapshotsV1Beta3Client/DeleteSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_SnapshotsV1Beta3_DeleteSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow DeleteSnapshot Sample" }, { - "regionTag": "dataflow_v1beta3_generated_SnapshotsV1Beta3_GetSnapshot_sync", - "title": "dataflow GetSnapshot Sample", - "description": "GetSnapshot gets information about a snapshot.", - "file": "SnapshotsV1Beta3Client/GetSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSnapshot", + "client": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client", + "shortName": "SnapshotsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client.GetSnapshot", + "method": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3.GetSnapshot", + "service": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3", + "shortName": "SnapshotsV1Beta3" + }, + "shortName": "GetSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.GetSnapshotRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.GetSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.Snapshot", - "client": { - "shortName": "SnapshotsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client" - }, - "method": { - "shortName": "GetSnapshot", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3.GetSnapshot", - "service": { - "shortName": "SnapshotsV1Beta3", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3" - } - } + "shortName": "GetSnapshot" }, + "description": "GetSnapshot gets information about a snapshot.", + "file": "SnapshotsV1Beta3Client/GetSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_SnapshotsV1Beta3_GetSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow GetSnapshot Sample" }, { - "regionTag": "dataflow_v1beta3_generated_SnapshotsV1Beta3_ListSnapshots_sync", - "title": "dataflow ListSnapshots Sample", - "description": "ListSnapshots lists snapshots.", - "file": "SnapshotsV1Beta3Client/ListSnapshots/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSnapshots", + "client": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client", + "shortName": "SnapshotsV1Beta3Client" + }, "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client.ListSnapshots", + "method": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3.ListSnapshots", + "service": { + "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3", + "shortName": "SnapshotsV1Beta3" + }, + "shortName": "ListSnapshots" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.ListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.ListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.ListSnapshotsResponse", - "client": { - "shortName": "SnapshotsV1Beta3Client", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3Client" - }, - "method": { - "shortName": "ListSnapshots", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3.ListSnapshots", - "service": { - "shortName": "SnapshotsV1Beta3", - "fullName": "google.dataflow.v1beta3.SnapshotsV1Beta3" - } - } + "shortName": "ListSnapshots" }, + "description": "ListSnapshots lists snapshots.", + "file": "SnapshotsV1Beta3Client/ListSnapshots/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_SnapshotsV1Beta3_ListSnapshots_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow ListSnapshots Sample" }, { - "regionTag": "dataflow_v1beta3_generated_TemplatesService_CreateJobFromTemplate_sync", - "title": "dataflow CreateJobFromTemplate Sample", - "description": "CreateJobFromTemplate creates a Cloud Dataflow job from a template. Do not enter confidential\ninformation when you supply string values using the API.\n\nTo create a job, we recommend using `projects.locations.templates.create`\nwith a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.templates.create` is not recommended, because your job will\nalways start in `us-central1`.", - "file": "TemplatesClient/CreateJobFromTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJobFromTemplate", + "client": { + "fullName": "google.dataflow.v1beta3.TemplatesClient", + "shortName": "TemplatesClient" + }, "fullName": "google.dataflow.v1beta3.TemplatesClient.CreateJobFromTemplate", + "method": { + "fullName": "google.dataflow.v1beta3.TemplatesService.CreateJobFromTemplate", + "service": { + "fullName": "google.dataflow.v1beta3.TemplatesService", + "shortName": "TemplatesService" + }, + "shortName": "CreateJobFromTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.CreateJobFromTemplateRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.CreateJobFromTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.Job", - "client": { - "shortName": "TemplatesClient", - "fullName": "google.dataflow.v1beta3.TemplatesClient" - }, - "method": { - "shortName": "CreateJobFromTemplate", - "fullName": "google.dataflow.v1beta3.TemplatesService.CreateJobFromTemplate", - "service": { - "shortName": "TemplatesService", - "fullName": "google.dataflow.v1beta3.TemplatesService" - } - } + "shortName": "CreateJobFromTemplate" }, + "description": "CreateJobFromTemplate creates a Cloud Dataflow job from a template. Do not enter confidential\ninformation when you supply string values using the API.\n\nTo create a job, we recommend using `projects.locations.templates.create`\nwith a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.templates.create` is not recommended, because your job will\nalways start in `us-central1`.", + "file": "TemplatesClient/CreateJobFromTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_TemplatesService_CreateJobFromTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow CreateJobFromTemplate Sample" }, { - "regionTag": "dataflow_v1beta3_generated_TemplatesService_GetTemplate_sync", - "title": "dataflow GetTemplate Sample", - "description": "GetTemplate get the template associated with a template.\n\nTo get the template, we recommend using `projects.locations.templates.get`\nwith a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.templates.get` is not recommended, because only\ntemplates that are running in `us-central1` are retrieved.", - "file": "TemplatesClient/GetTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTemplate", + "client": { + "fullName": "google.dataflow.v1beta3.TemplatesClient", + "shortName": "TemplatesClient" + }, "fullName": "google.dataflow.v1beta3.TemplatesClient.GetTemplate", + "method": { + "fullName": "google.dataflow.v1beta3.TemplatesService.GetTemplate", + "service": { + "fullName": "google.dataflow.v1beta3.TemplatesService", + "shortName": "TemplatesService" + }, + "shortName": "GetTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.GetTemplateRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.GetTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.GetTemplateResponse", - "client": { - "shortName": "TemplatesClient", - "fullName": "google.dataflow.v1beta3.TemplatesClient" - }, - "method": { - "shortName": "GetTemplate", - "fullName": "google.dataflow.v1beta3.TemplatesService.GetTemplate", - "service": { - "shortName": "TemplatesService", - "fullName": "google.dataflow.v1beta3.TemplatesService" - } - } + "shortName": "GetTemplate" }, + "description": "GetTemplate get the template associated with a template.\n\nTo get the template, we recommend using `projects.locations.templates.get`\nwith a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.templates.get` is not recommended, because only\ntemplates that are running in `us-central1` are retrieved.", + "file": "TemplatesClient/GetTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_TemplatesService_GetTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow GetTemplate Sample" }, { - "regionTag": "dataflow_v1beta3_generated_TemplatesService_LaunchTemplate_sync", - "title": "dataflow LaunchTemplate Sample", - "description": "LaunchTemplate launches a template.\n\nTo launch a template, we recommend using\n`projects.locations.templates.launch` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.templates.launch` is not recommended, because jobs launched\nfrom the template will always start in `us-central1`.", - "file": "TemplatesClient/LaunchTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "LaunchTemplate", + "client": { + "fullName": "google.dataflow.v1beta3.TemplatesClient", + "shortName": "TemplatesClient" + }, "fullName": "google.dataflow.v1beta3.TemplatesClient.LaunchTemplate", + "method": { + "fullName": "google.dataflow.v1beta3.TemplatesService.LaunchTemplate", + "service": { + "fullName": "google.dataflow.v1beta3.TemplatesService", + "shortName": "TemplatesService" + }, + "shortName": "LaunchTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataflowpb.LaunchTemplateRequest", - "name": "req" + "name": "req", + "type": "dataflowpb.LaunchTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataflowpb.LaunchTemplateResponse", - "client": { - "shortName": "TemplatesClient", - "fullName": "google.dataflow.v1beta3.TemplatesClient" - }, - "method": { - "shortName": "LaunchTemplate", - "fullName": "google.dataflow.v1beta3.TemplatesService.LaunchTemplate", - "service": { - "shortName": "TemplatesService", - "fullName": "google.dataflow.v1beta3.TemplatesService" - } - } + "shortName": "LaunchTemplate" }, + "description": "LaunchTemplate launches a template.\n\nTo launch a template, we recommend using\n`projects.locations.templates.launch` with a [regional endpoint]\n(https: //cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using\n`projects.templates.launch` is not recommended, because jobs launched\nfrom the template will always start in `us-central1`.", + "file": "TemplatesClient/LaunchTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataflow_v1beta3_generated_TemplatesService_LaunchTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataflow LaunchTemplate Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dataform/apiv1/snippet_metadata.google.cloud.dataform.v1.json b/internal/generated/snippets/dataform/apiv1/snippet_metadata.google.cloud.dataform.v1.json index 9be23697de73..1be8165faddb 100644 --- a/internal/generated/snippets/dataform/apiv1/snippet_metadata.google.cloud.dataform.v1.json +++ b/internal/generated/snippets/dataform/apiv1/snippet_metadata.google.cloud.dataform.v1.json @@ -1,3640 +1,3640 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dataform/apiv1", - "version": "0.13.0", - "language": "GO", "apis": [ { "id": "google.cloud.dataform.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dataform/apiv1", + "version": "0.13.0" }, "snippets": [ { - "regionTag": "dataform_v1_generated_Dataform_CancelOperation_sync", - "title": "dataform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CancelOperation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CancelWorkflowInvocation_sync", - "title": "dataform CancelWorkflowInvocation Sample", - "description": "CancelWorkflowInvocation requests cancellation of a running WorkflowInvocation.", - "file": "Client/CancelWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CancelWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CancelWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CancelWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CancelWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CancelWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CancelWorkflowInvocationResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CancelWorkflowInvocation", - "fullName": "google.cloud.dataform.v1.Dataform.CancelWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CancelWorkflowInvocation" }, + "description": "CancelWorkflowInvocation requests cancellation of a running WorkflowInvocation.", + "file": "Client/CancelWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CancelWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CancelWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CommitRepositoryChanges_sync", - "title": "dataform CommitRepositoryChanges Sample", - "description": "CommitRepositoryChanges applies a Git commit to a Repository. The Repository must not have a value\nfor `git_remote_settings.url`.", - "file": "Client/CommitRepositoryChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitRepositoryChanges", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CommitRepositoryChanges", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CommitRepositoryChanges", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CommitRepositoryChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CommitRepositoryChangesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CommitRepositoryChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CommitRepositoryChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CommitRepositoryChanges", - "fullName": "google.cloud.dataform.v1.Dataform.CommitRepositoryChanges", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CommitRepositoryChanges" }, + "description": "CommitRepositoryChanges applies a Git commit to a Repository. The Repository must not have a value\nfor `git_remote_settings.url`.", + "file": "Client/CommitRepositoryChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CommitRepositoryChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CommitRepositoryChanges Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CommitWorkspaceChanges_sync", - "title": "dataform CommitWorkspaceChanges Sample", - "description": "CommitWorkspaceChanges applies a Git commit for uncommitted files in a Workspace.", - "file": "Client/CommitWorkspaceChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitWorkspaceChanges", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CommitWorkspaceChanges", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CommitWorkspaceChanges", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CommitWorkspaceChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CommitWorkspaceChangesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CommitWorkspaceChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CommitWorkspaceChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CommitWorkspaceChanges", - "fullName": "google.cloud.dataform.v1.Dataform.CommitWorkspaceChanges", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CommitWorkspaceChanges" }, + "description": "CommitWorkspaceChanges applies a Git commit for uncommitted files in a Workspace.", + "file": "Client/CommitWorkspaceChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CommitWorkspaceChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CommitWorkspaceChanges Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ComputeRepositoryAccessTokenStatus_sync", - "title": "dataform ComputeRepositoryAccessTokenStatus Sample", - "description": "ComputeRepositoryAccessTokenStatus computes a Repository's Git access token status.", - "file": "Client/ComputeRepositoryAccessTokenStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeRepositoryAccessTokenStatus", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ComputeRepositoryAccessTokenStatus", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ComputeRepositoryAccessTokenStatus", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ComputeRepositoryAccessTokenStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ComputeRepositoryAccessTokenStatusRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ComputeRepositoryAccessTokenStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ComputeRepositoryAccessTokenStatusResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ComputeRepositoryAccessTokenStatus", - "fullName": "google.cloud.dataform.v1.Dataform.ComputeRepositoryAccessTokenStatus", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ComputeRepositoryAccessTokenStatus" }, + "description": "ComputeRepositoryAccessTokenStatus computes a Repository's Git access token status.", + "file": "Client/ComputeRepositoryAccessTokenStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ComputeRepositoryAccessTokenStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ComputeRepositoryAccessTokenStatus Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateCompilationResult_sync", - "title": "dataform CreateCompilationResult Sample", - "description": "CreateCompilationResult creates a new CompilationResult in a given project and location.", - "file": "Client/CreateCompilationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCompilationResult", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateCompilationResult", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateCompilationResult", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateCompilationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateCompilationResultRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateCompilationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CompilationResult", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateCompilationResult", - "fullName": "google.cloud.dataform.v1.Dataform.CreateCompilationResult", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateCompilationResult" }, + "description": "CreateCompilationResult creates a new CompilationResult in a given project and location.", + "file": "Client/CreateCompilationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateCompilationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateCompilationResult Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateFolder_sync", - "title": "dataform CreateFolder Sample", - "description": "CreateFolder creates a new Folder in a given project and location.", - "file": "Client/CreateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Folder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateFolder", - "fullName": "google.cloud.dataform.v1.Dataform.CreateFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateFolder" }, + "description": "CreateFolder creates a new Folder in a given project and location.", + "file": "Client/CreateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateReleaseConfig_sync", - "title": "dataform CreateReleaseConfig Sample", - "description": "CreateReleaseConfig creates a new ReleaseConfig in a given Repository.", - "file": "Client/CreateReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReleaseConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateReleaseConfig", - "fullName": "google.cloud.dataform.v1.Dataform.CreateReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateReleaseConfig" }, + "description": "CreateReleaseConfig creates a new ReleaseConfig in a given Repository.", + "file": "Client/CreateReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateReleaseConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateReleaseConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateRepository_sync", - "title": "dataform CreateRepository Sample", - "description": "CreateRepository creates a new Repository in a given project and location.", - "file": "Client/CreateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRepository", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateRepository", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateRepository", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateRepository", - "fullName": "google.cloud.dataform.v1.Dataform.CreateRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateRepository" }, + "description": "CreateRepository creates a new Repository in a given project and location.", + "file": "Client/CreateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateRepository Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateTeamFolder_sync", - "title": "dataform CreateTeamFolder Sample", - "description": "CreateTeamFolder creates a new TeamFolder in a given project and location.", - "file": "Client/CreateTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTeamFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateTeamFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateTeamFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateTeamFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateTeamFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateTeamFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.TeamFolder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateTeamFolder", - "fullName": "google.cloud.dataform.v1.Dataform.CreateTeamFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateTeamFolder" }, + "description": "CreateTeamFolder creates a new TeamFolder in a given project and location.", + "file": "Client/CreateTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateTeamFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateTeamFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateWorkflowConfig_sync", - "title": "dataform CreateWorkflowConfig Sample", - "description": "CreateWorkflowConfig creates a new WorkflowConfig in a given Repository.", - "file": "Client/CreateWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateWorkflowConfig", - "fullName": "google.cloud.dataform.v1.Dataform.CreateWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateWorkflowConfig" }, + "description": "CreateWorkflowConfig creates a new WorkflowConfig in a given Repository.", + "file": "Client/CreateWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateWorkflowConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateWorkflowInvocation_sync", - "title": "dataform CreateWorkflowInvocation Sample", - "description": "CreateWorkflowInvocation creates a new WorkflowInvocation in a given Repository.", - "file": "Client/CreateWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowInvocation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateWorkflowInvocation", - "fullName": "google.cloud.dataform.v1.Dataform.CreateWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateWorkflowInvocation" }, + "description": "CreateWorkflowInvocation creates a new WorkflowInvocation in a given Repository.", + "file": "Client/CreateWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_CreateWorkspace_sync", - "title": "dataform CreateWorkspace Sample", - "description": "CreateWorkspace creates a new Workspace in a given Repository.", - "file": "Client/CreateWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkspace", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.CreateWorkspace", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.CreateWorkspace", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateWorkspaceRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Workspace", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "CreateWorkspace", - "fullName": "google.cloud.dataform.v1.Dataform.CreateWorkspace", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "CreateWorkspace" }, + "description": "CreateWorkspace creates a new Workspace in a given Repository.", + "file": "Client/CreateWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_CreateWorkspace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateWorkspace Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteFolder_sync", - "title": "dataform DeleteFolder Sample", - "description": "DeleteFolder deletes a single Folder.", - "file": "Client/DeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteFolder", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteFolder" }, + "description": "DeleteFolder deletes a single Folder.", + "file": "Client/DeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteFolder_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteFolderTree_sync", - "title": "dataform DeleteFolderTree Sample", - "description": "DeleteFolderTree deletes a Folder with its contents (Folders, Repositories, Workspaces,\nReleaseConfigs, and WorkflowConfigs).", - "file": "Client/DeleteFolderTree/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolderTree", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteFolderTree", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteFolderTree", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteFolderTree" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteFolderTreeRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteFolderTreeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFolderTreeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteFolderTree", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteFolderTree", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteFolderTree" }, + "description": "DeleteFolderTree deletes a Folder with its contents (Folders, Repositories, Workspaces,\nReleaseConfigs, and WorkflowConfigs).", + "file": "Client/DeleteFolderTree/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteFolderTree_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteFolderTree Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteOperation_sync", - "title": "dataform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteOperation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteReleaseConfig_sync", - "title": "dataform DeleteReleaseConfig Sample", - "description": "DeleteReleaseConfig deletes a single ReleaseConfig.", - "file": "Client/DeleteReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteReleaseConfig", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteReleaseConfig" }, + "description": "DeleteReleaseConfig deletes a single ReleaseConfig.", + "file": "Client/DeleteReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteReleaseConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteReleaseConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteRepository_sync", - "title": "dataform DeleteRepository Sample", - "description": "DeleteRepository deletes a single Repository.", - "file": "Client/DeleteRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRepository", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteRepository", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteRepository", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteRepository", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteRepository" }, + "description": "DeleteRepository deletes a single Repository.", + "file": "Client/DeleteRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteRepository_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteRepository Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteTeamFolder_sync", - "title": "dataform DeleteTeamFolder Sample", - "description": "DeleteTeamFolder deletes a single TeamFolder.", - "file": "Client/DeleteTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTeamFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteTeamFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteTeamFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteTeamFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteTeamFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteTeamFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteTeamFolder", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteTeamFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteTeamFolder" }, + "description": "DeleteTeamFolder deletes a single TeamFolder.", + "file": "Client/DeleteTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteTeamFolder_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteTeamFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteTeamFolderTree_sync", - "title": "dataform DeleteTeamFolderTree Sample", - "description": "DeleteTeamFolderTree deletes a TeamFolder with its contents (Folders, Repositories, Workspaces,\nReleaseConfigs, and WorkflowConfigs).", - "file": "Client/DeleteTeamFolderTree/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTeamFolderTree", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteTeamFolderTree", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteTeamFolderTree", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteTeamFolderTree" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteTeamFolderTreeRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteTeamFolderTreeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTeamFolderTreeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteTeamFolderTree", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteTeamFolderTree", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteTeamFolderTree" }, + "description": "DeleteTeamFolderTree deletes a TeamFolder with its contents (Folders, Repositories, Workspaces,\nReleaseConfigs, and WorkflowConfigs).", + "file": "Client/DeleteTeamFolderTree/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteTeamFolderTree_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteTeamFolderTree Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteWorkflowConfig_sync", - "title": "dataform DeleteWorkflowConfig Sample", - "description": "DeleteWorkflowConfig deletes a single WorkflowConfig.", - "file": "Client/DeleteWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteWorkflowConfig", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteWorkflowConfig" }, + "description": "DeleteWorkflowConfig deletes a single WorkflowConfig.", + "file": "Client/DeleteWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteWorkflowConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteWorkflowInvocation_sync", - "title": "dataform DeleteWorkflowInvocation Sample", - "description": "DeleteWorkflowInvocation deletes a single WorkflowInvocation.", - "file": "Client/DeleteWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteWorkflowInvocation", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteWorkflowInvocation" }, + "description": "DeleteWorkflowInvocation deletes a single WorkflowInvocation.", + "file": "Client/DeleteWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_DeleteWorkspace_sync", - "title": "dataform DeleteWorkspace Sample", - "description": "DeleteWorkspace deletes a single Workspace.", - "file": "Client/DeleteWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkspace", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.DeleteWorkspace", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.DeleteWorkspace", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteWorkspaceRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "DeleteWorkspace", - "fullName": "google.cloud.dataform.v1.Dataform.DeleteWorkspace", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "DeleteWorkspace" }, + "description": "DeleteWorkspace deletes a single Workspace.", + "file": "Client/DeleteWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_DeleteWorkspace_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteWorkspace Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_FetchFileDiff_sync", - "title": "dataform FetchFileDiff Sample", - "description": "FetchFileDiff fetches Git diff for an uncommitted file in a Workspace.", - "file": "Client/FetchFileDiff/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFileDiff", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.FetchFileDiff", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.FetchFileDiff", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchFileDiff" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchFileDiffRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchFileDiffRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchFileDiffResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "FetchFileDiff", - "fullName": "google.cloud.dataform.v1.Dataform.FetchFileDiff", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "FetchFileDiff" }, + "description": "FetchFileDiff fetches Git diff for an uncommitted file in a Workspace.", + "file": "Client/FetchFileDiff/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_FetchFileDiff_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchFileDiff Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_FetchFileGitStatuses_sync", - "title": "dataform FetchFileGitStatuses Sample", - "description": "FetchFileGitStatuses fetches Git statuses for the files in a Workspace.", - "file": "Client/FetchFileGitStatuses/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFileGitStatuses", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.FetchFileGitStatuses", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.FetchFileGitStatuses", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchFileGitStatuses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchFileGitStatusesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchFileGitStatusesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchFileGitStatusesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "FetchFileGitStatuses", - "fullName": "google.cloud.dataform.v1.Dataform.FetchFileGitStatuses", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "FetchFileGitStatuses" }, + "description": "FetchFileGitStatuses fetches Git statuses for the files in a Workspace.", + "file": "Client/FetchFileGitStatuses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_FetchFileGitStatuses_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchFileGitStatuses Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_FetchGitAheadBehind_sync", - "title": "dataform FetchGitAheadBehind Sample", - "description": "FetchGitAheadBehind fetches Git ahead/behind against a remote branch.", - "file": "Client/FetchGitAheadBehind/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchGitAheadBehind", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.FetchGitAheadBehind", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.FetchGitAheadBehind", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchGitAheadBehind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchGitAheadBehindRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchGitAheadBehindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchGitAheadBehindResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "FetchGitAheadBehind", - "fullName": "google.cloud.dataform.v1.Dataform.FetchGitAheadBehind", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "FetchGitAheadBehind" }, + "description": "FetchGitAheadBehind fetches Git ahead/behind against a remote branch.", + "file": "Client/FetchGitAheadBehind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_FetchGitAheadBehind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchGitAheadBehind Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_FetchRemoteBranches_sync", - "title": "dataform FetchRemoteBranches Sample", - "description": "FetchRemoteBranches fetches a Repository's remote branches.", - "file": "Client/FetchRemoteBranches/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchRemoteBranches", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.FetchRemoteBranches", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.FetchRemoteBranches", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchRemoteBranches" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchRemoteBranchesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchRemoteBranchesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchRemoteBranchesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "FetchRemoteBranches", - "fullName": "google.cloud.dataform.v1.Dataform.FetchRemoteBranches", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "FetchRemoteBranches" }, + "description": "FetchRemoteBranches fetches a Repository's remote branches.", + "file": "Client/FetchRemoteBranches/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_FetchRemoteBranches_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchRemoteBranches Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_FetchRepositoryHistory_sync", - "title": "dataform FetchRepositoryHistory Sample", - "description": "FetchRepositoryHistory fetches a Repository's history of commits. The Repository must not have a\nvalue for `git_remote_settings.url`.", - "file": "Client/FetchRepositoryHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchRepositoryHistory", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.FetchRepositoryHistory", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.FetchRepositoryHistory", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchRepositoryHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchRepositoryHistoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchRepositoryHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitLogEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "FetchRepositoryHistory", - "fullName": "google.cloud.dataform.v1.Dataform.FetchRepositoryHistory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "FetchRepositoryHistory" }, + "description": "FetchRepositoryHistory fetches a Repository's history of commits. The Repository must not have a\nvalue for `git_remote_settings.url`.", + "file": "Client/FetchRepositoryHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_FetchRepositoryHistory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchRepositoryHistory Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetCompilationResult_sync", - "title": "dataform GetCompilationResult Sample", - "description": "GetCompilationResult fetches a single CompilationResult.", - "file": "Client/GetCompilationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompilationResult", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetCompilationResult", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetCompilationResult", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetCompilationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetCompilationResultRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetCompilationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CompilationResult", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetCompilationResult", - "fullName": "google.cloud.dataform.v1.Dataform.GetCompilationResult", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetCompilationResult" }, + "description": "GetCompilationResult fetches a single CompilationResult.", + "file": "Client/GetCompilationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetCompilationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetCompilationResult Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetConfig_sync", - "title": "dataform GetConfig Sample", - "description": "GetConfig get default config for a given project and location.", - "file": "Client/GetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Config", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetConfig", - "fullName": "google.cloud.dataform.v1.Dataform.GetConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetConfig" }, + "description": "GetConfig get default config for a given project and location.", + "file": "Client/GetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetFolder_sync", - "title": "dataform GetFolder Sample", - "description": "GetFolder fetches a single Folder.", - "file": "Client/GetFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Folder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetFolder", - "fullName": "google.cloud.dataform.v1.Dataform.GetFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetFolder" }, + "description": "GetFolder fetches a single Folder.", + "file": "Client/GetFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetIamPolicy_sync", - "title": "dataform GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetIamPolicy", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.dataform.v1.Dataform.GetIamPolicy", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetIamPolicy Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetLocation_sync", - "title": "dataform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetLocation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetOperation_sync", - "title": "dataform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetOperation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetReleaseConfig_sync", - "title": "dataform GetReleaseConfig Sample", - "description": "GetReleaseConfig fetches a single ReleaseConfig.", - "file": "Client/GetReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReleaseConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetReleaseConfig", - "fullName": "google.cloud.dataform.v1.Dataform.GetReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetReleaseConfig" }, + "description": "GetReleaseConfig fetches a single ReleaseConfig.", + "file": "Client/GetReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetReleaseConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetReleaseConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetRepository_sync", - "title": "dataform GetRepository Sample", - "description": "GetRepository fetches a single Repository.", - "file": "Client/GetRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRepository", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetRepository", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetRepository", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetRepository", - "fullName": "google.cloud.dataform.v1.Dataform.GetRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetRepository" }, + "description": "GetRepository fetches a single Repository.", + "file": "Client/GetRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetRepository Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetTeamFolder_sync", - "title": "dataform GetTeamFolder Sample", - "description": "GetTeamFolder fetches a single TeamFolder.", - "file": "Client/GetTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTeamFolder", - "fullName": "google.cloud.dataform.v1.Client.GetTeamFolder", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "dataformpb.GetTeamFolderRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*dataformpb.TeamFolder", "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.dataform.v1.Client.GetTeamFolder", "method": { - "shortName": "GetTeamFolder", "fullName": "google.cloud.dataform.v1.Dataform.GetTeamFolder", "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetTeamFolder" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "dataformpb.GetTeamFolderRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*dataformpb.TeamFolder", + "shortName": "GetTeamFolder" }, + "description": "GetTeamFolder fetches a single TeamFolder.", + "file": "Client/GetTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetTeamFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetTeamFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetWorkflowConfig_sync", - "title": "dataform GetWorkflowConfig Sample", - "description": "GetWorkflowConfig fetches a single WorkflowConfig.", - "file": "Client/GetWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetWorkflowConfig", - "fullName": "google.cloud.dataform.v1.Dataform.GetWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetWorkflowConfig" }, + "description": "GetWorkflowConfig fetches a single WorkflowConfig.", + "file": "Client/GetWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetWorkflowConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetWorkflowInvocation_sync", - "title": "dataform GetWorkflowInvocation Sample", - "description": "GetWorkflowInvocation fetches a single WorkflowInvocation.", - "file": "Client/GetWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowInvocation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetWorkflowInvocation", - "fullName": "google.cloud.dataform.v1.Dataform.GetWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetWorkflowInvocation" }, + "description": "GetWorkflowInvocation fetches a single WorkflowInvocation.", + "file": "Client/GetWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_GetWorkspace_sync", - "title": "dataform GetWorkspace Sample", - "description": "GetWorkspace fetches a single Workspace.", - "file": "Client/GetWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkspace", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.GetWorkspace", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.GetWorkspace", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetWorkspaceRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Workspace", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "GetWorkspace", - "fullName": "google.cloud.dataform.v1.Dataform.GetWorkspace", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "GetWorkspace" }, + "description": "GetWorkspace fetches a single Workspace.", + "file": "Client/GetWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_GetWorkspace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetWorkspace Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_InstallNpmPackages_sync", - "title": "dataform InstallNpmPackages Sample", - "description": "InstallNpmPackages installs dependency NPM packages (inside a Workspace).", - "file": "Client/InstallNpmPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "InstallNpmPackages", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.InstallNpmPackages", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.InstallNpmPackages", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "InstallNpmPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.InstallNpmPackagesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.InstallNpmPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.InstallNpmPackagesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "InstallNpmPackages", - "fullName": "google.cloud.dataform.v1.Dataform.InstallNpmPackages", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "InstallNpmPackages" }, + "description": "InstallNpmPackages installs dependency NPM packages (inside a Workspace).", + "file": "Client/InstallNpmPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_InstallNpmPackages_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform InstallNpmPackages Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListCompilationResults_sync", - "title": "dataform ListCompilationResults Sample", - "description": "ListCompilationResults lists CompilationResults in a given Repository.", - "file": "Client/ListCompilationResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCompilationResults", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListCompilationResults", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ListCompilationResults", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListCompilationResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListCompilationResultsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListCompilationResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompilationResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListCompilationResults", - "fullName": "google.cloud.dataform.v1.Dataform.ListCompilationResults", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ListCompilationResults" }, + "description": "ListCompilationResults lists CompilationResults in a given Repository.", + "file": "Client/ListCompilationResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListCompilationResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListCompilationResults Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListLocations_sync", - "title": "dataform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListLocations Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListOperations_sync", - "title": "dataform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListOperations Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListReleaseConfigs_sync", - "title": "dataform ListReleaseConfigs Sample", - "description": "ListReleaseConfigs lists ReleaseConfigs in a given Repository.", - "file": "Client/ListReleaseConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReleaseConfigs", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListReleaseConfigs", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ListReleaseConfigs", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListReleaseConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListReleaseConfigsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListReleaseConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReleaseConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListReleaseConfigs", - "fullName": "google.cloud.dataform.v1.Dataform.ListReleaseConfigs", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ListReleaseConfigs" }, + "description": "ListReleaseConfigs lists ReleaseConfigs in a given Repository.", + "file": "Client/ListReleaseConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListReleaseConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListReleaseConfigs Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListRepositories_sync", - "title": "dataform ListRepositories Sample", - "description": "ListRepositories lists Repositories in a given project and location.\n\n**Note: ** *This method can return repositories not shown in the [Dataform\nUI](https: //console.cloud.google.com/bigquery/dataform)*.", - "file": "Client/ListRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRepositories", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListRepositories", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ListRepositories", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListRepositoriesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListRepositories", - "fullName": "google.cloud.dataform.v1.Dataform.ListRepositories", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ListRepositories" }, + "description": "ListRepositories lists Repositories in a given project and location.\n\n**Note: ** *This method can return repositories not shown in the [Dataform\nUI](https: //console.cloud.google.com/bigquery/dataform)*.", + "file": "Client/ListRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListRepositories Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListWorkflowConfigs_sync", - "title": "dataform ListWorkflowConfigs Sample", - "description": "ListWorkflowConfigs lists WorkflowConfigs in a given Repository.", - "file": "Client/ListWorkflowConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflowConfigs", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListWorkflowConfigs", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ListWorkflowConfigs", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListWorkflowConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListWorkflowConfigsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListWorkflowConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListWorkflowConfigs", - "fullName": "google.cloud.dataform.v1.Dataform.ListWorkflowConfigs", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ListWorkflowConfigs" }, + "description": "ListWorkflowConfigs lists WorkflowConfigs in a given Repository.", + "file": "Client/ListWorkflowConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListWorkflowConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListWorkflowConfigs Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListWorkflowInvocations_sync", - "title": "dataform ListWorkflowInvocations Sample", - "description": "ListWorkflowInvocations lists WorkflowInvocations in a given Repository.", - "file": "Client/ListWorkflowInvocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflowInvocations", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListWorkflowInvocations", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ListWorkflowInvocations", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListWorkflowInvocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListWorkflowInvocationsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListWorkflowInvocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowInvocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListWorkflowInvocations", - "fullName": "google.cloud.dataform.v1.Dataform.ListWorkflowInvocations", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ListWorkflowInvocations" }, + "description": "ListWorkflowInvocations lists WorkflowInvocations in a given Repository.", + "file": "Client/ListWorkflowInvocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListWorkflowInvocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListWorkflowInvocations Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ListWorkspaces_sync", - "title": "dataform ListWorkspaces Sample", - "description": "ListWorkspaces lists Workspaces in a given Repository.", - "file": "Client/ListWorkspaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkspaces", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ListWorkspaces", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ListWorkspaces", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListWorkspaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListWorkspacesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListWorkspacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkspaceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ListWorkspaces", - "fullName": "google.cloud.dataform.v1.Dataform.ListWorkspaces", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ListWorkspaces" }, + "description": "ListWorkspaces lists Workspaces in a given Repository.", + "file": "Client/ListWorkspaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ListWorkspaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListWorkspaces Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_MakeDirectory_sync", - "title": "dataform MakeDirectory Sample", - "description": "MakeDirectory creates a directory inside a Workspace.", - "file": "Client/MakeDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "MakeDirectory", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.MakeDirectory", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.MakeDirectory", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MakeDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MakeDirectoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MakeDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.MakeDirectoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "MakeDirectory", - "fullName": "google.cloud.dataform.v1.Dataform.MakeDirectory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "MakeDirectory" }, + "description": "MakeDirectory creates a directory inside a Workspace.", + "file": "Client/MakeDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_MakeDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MakeDirectory Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_MoveDirectory_sync", - "title": "dataform MoveDirectory Sample", - "description": "MoveDirectory moves a directory (inside a Workspace), and all of its contents, to a new\nlocation.", - "file": "Client/MoveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveDirectory", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.MoveDirectory", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.MoveDirectory", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveDirectoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.MoveDirectoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "MoveDirectory", - "fullName": "google.cloud.dataform.v1.Dataform.MoveDirectory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "MoveDirectory" }, + "description": "MoveDirectory moves a directory (inside a Workspace), and all of its contents, to a new\nlocation.", + "file": "Client/MoveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_MoveDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveDirectory Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_MoveFile_sync", - "title": "dataform MoveFile Sample", - "description": "MoveFile moves a file (inside a Workspace) to a new location.", - "file": "Client/MoveFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveFile", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.MoveFile", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.MoveFile", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.MoveFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "MoveFile", - "fullName": "google.cloud.dataform.v1.Dataform.MoveFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "MoveFile" }, + "description": "MoveFile moves a file (inside a Workspace) to a new location.", + "file": "Client/MoveFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_MoveFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveFile Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_MoveFolder_sync", - "title": "dataform MoveFolder Sample", - "description": "MoveFolder moves a Folder to a new Folder, TeamFolder, or the root location.", - "file": "Client/MoveFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.MoveFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.MoveFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveFolderOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "MoveFolder", - "fullName": "google.cloud.dataform.v1.Dataform.MoveFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "MoveFolder" }, + "description": "MoveFolder moves a Folder to a new Folder, TeamFolder, or the root location.", + "file": "Client/MoveFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_MoveFolder_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_MoveRepository_sync", - "title": "dataform MoveRepository Sample", - "description": "MoveRepository moves a Repository to a new location.", - "file": "Client/MoveRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveRepository", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.MoveRepository", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.MoveRepository", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "MoveRepository", - "fullName": "google.cloud.dataform.v1.Dataform.MoveRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "MoveRepository" }, + "description": "MoveRepository moves a Repository to a new location.", + "file": "Client/MoveRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_MoveRepository_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveRepository Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_PullGitCommits_sync", - "title": "dataform PullGitCommits Sample", - "description": "PullGitCommits pulls Git commits from the Repository's remote into a Workspace.", - "file": "Client/PullGitCommits/main.go", - "language": "GO", "clientMethod": { - "shortName": "PullGitCommits", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.PullGitCommits", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.PullGitCommits", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "PullGitCommits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.PullGitCommitsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.PullGitCommitsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.PullGitCommitsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "PullGitCommits", - "fullName": "google.cloud.dataform.v1.Dataform.PullGitCommits", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "PullGitCommits" }, + "description": "PullGitCommits pulls Git commits from the Repository's remote into a Workspace.", + "file": "Client/PullGitCommits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_PullGitCommits_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform PullGitCommits Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_PushGitCommits_sync", - "title": "dataform PushGitCommits Sample", - "description": "PushGitCommits pushes Git commits from a Workspace to the Repository's remote.", - "file": "Client/PushGitCommits/main.go", - "language": "GO", "clientMethod": { - "shortName": "PushGitCommits", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.PushGitCommits", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.PushGitCommits", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "PushGitCommits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.PushGitCommitsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.PushGitCommitsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.PushGitCommitsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "PushGitCommits", - "fullName": "google.cloud.dataform.v1.Dataform.PushGitCommits", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "PushGitCommits" }, + "description": "PushGitCommits pushes Git commits from a Workspace to the Repository's remote.", + "file": "Client/PushGitCommits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_PushGitCommits_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform PushGitCommits Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryCompilationResultActions_sync", - "title": "dataform QueryCompilationResultActions Sample", - "description": "QueryCompilationResultActions returns CompilationResultActions in a given CompilationResult.", - "file": "Client/QueryCompilationResultActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryCompilationResultActions", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryCompilationResultActions", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryCompilationResultActions", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryCompilationResultActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryCompilationResultActionsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryCompilationResultActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompilationResultActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryCompilationResultActions", - "fullName": "google.cloud.dataform.v1.Dataform.QueryCompilationResultActions", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "QueryCompilationResultActions" }, + "description": "QueryCompilationResultActions returns CompilationResultActions in a given CompilationResult.", + "file": "Client/QueryCompilationResultActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryCompilationResultActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryCompilationResultActions Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryDirectoryContents_sync", - "title": "dataform QueryDirectoryContents Sample", - "description": "QueryDirectoryContents returns the contents of a given Workspace directory.", - "file": "Client/QueryDirectoryContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDirectoryContents", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryDirectoryContents", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryDirectoryContents", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryDirectoryContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryDirectoryContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryDirectoryContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DirectoryEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryDirectoryContents", - "fullName": "google.cloud.dataform.v1.Dataform.QueryDirectoryContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DirectoryEntryIterator", + "shortName": "QueryDirectoryContents" }, + "description": "QueryDirectoryContents returns the contents of a given Workspace directory.", + "file": "Client/QueryDirectoryContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryDirectoryContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryDirectoryContents Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryFolderContents_sync", - "title": "dataform QueryFolderContents Sample", - "description": "QueryFolderContents returns the contents of a given Folder.", - "file": "Client/QueryFolderContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryFolderContents", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryFolderContents", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryFolderContents", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryFolderContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryFolderContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryFolderContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryFolderContentsResponse_FolderContentsEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryFolderContents", - "fullName": "google.cloud.dataform.v1.Dataform.QueryFolderContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "QueryFolderContents" }, + "description": "QueryFolderContents returns the contents of a given Folder.", + "file": "Client/QueryFolderContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryFolderContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryFolderContents Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryRepositoryDirectoryContents_sync", - "title": "dataform QueryRepositoryDirectoryContents Sample", - "description": "QueryRepositoryDirectoryContents returns the contents of a given Repository directory. The Repository must\nnot have a value for `git_remote_settings.url`.", - "file": "Client/QueryRepositoryDirectoryContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryRepositoryDirectoryContents", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryRepositoryDirectoryContents", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryRepositoryDirectoryContents", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryRepositoryDirectoryContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryRepositoryDirectoryContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryRepositoryDirectoryContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DirectoryEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryRepositoryDirectoryContents", - "fullName": "google.cloud.dataform.v1.Dataform.QueryRepositoryDirectoryContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "QueryRepositoryDirectoryContents" }, + "description": "QueryRepositoryDirectoryContents returns the contents of a given Repository directory. The Repository must\nnot have a value for `git_remote_settings.url`.", + "file": "Client/QueryRepositoryDirectoryContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryRepositoryDirectoryContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryRepositoryDirectoryContents Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryTeamFolderContents_sync", - "title": "dataform QueryTeamFolderContents Sample", - "description": "QueryTeamFolderContents returns the contents of a given TeamFolder.", - "file": "Client/QueryTeamFolderContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryTeamFolderContents", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryTeamFolderContents", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryTeamFolderContents", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryTeamFolderContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryTeamFolderContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryTeamFolderContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryTeamFolderContentsResponse_TeamFolderContentsEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryTeamFolderContents", - "fullName": "google.cloud.dataform.v1.Dataform.QueryTeamFolderContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "QueryTeamFolderContents" }, + "description": "QueryTeamFolderContents returns the contents of a given TeamFolder.", + "file": "Client/QueryTeamFolderContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryTeamFolderContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryTeamFolderContents Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryUserRootContents_sync", - "title": "dataform QueryUserRootContents Sample", - "description": "QueryUserRootContents returns the contents of a caller's root folder in a given location.\nThe root folder contains all resources that are created by the user and not\ncontained in any other folder.", - "file": "Client/QueryUserRootContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryUserRootContents", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryUserRootContents", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryUserRootContents", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryUserRootContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryUserRootContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryUserRootContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryUserRootContentsResponse_RootContentsEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryUserRootContents", - "fullName": "google.cloud.dataform.v1.Dataform.QueryUserRootContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "QueryUserRootContents" }, + "description": "QueryUserRootContents returns the contents of a caller's root folder in a given location.\nThe root folder contains all resources that are created by the user and not\ncontained in any other folder.", + "file": "Client/QueryUserRootContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryUserRootContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryUserRootContents Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_QueryWorkflowInvocationActions_sync", - "title": "dataform QueryWorkflowInvocationActions Sample", - "description": "QueryWorkflowInvocationActions returns WorkflowInvocationActions in a given WorkflowInvocation.", - "file": "Client/QueryWorkflowInvocationActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryWorkflowInvocationActions", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.QueryWorkflowInvocationActions", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.QueryWorkflowInvocationActions", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryWorkflowInvocationActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryWorkflowInvocationActionsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryWorkflowInvocationActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowInvocationActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "QueryWorkflowInvocationActions", - "fullName": "google.cloud.dataform.v1.Dataform.QueryWorkflowInvocationActions", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "QueryWorkflowInvocationActions" }, + "description": "QueryWorkflowInvocationActions returns WorkflowInvocationActions in a given WorkflowInvocation.", + "file": "Client/QueryWorkflowInvocationActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_QueryWorkflowInvocationActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryWorkflowInvocationActions Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ReadFile_sync", - "title": "dataform ReadFile Sample", - "description": "ReadFile returns the contents of a file (inside a Workspace).", - "file": "Client/ReadFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadFile", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ReadFile", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ReadFile", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ReadFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ReadFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ReadFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReadFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ReadFile", - "fullName": "google.cloud.dataform.v1.Dataform.ReadFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ReadFile" }, + "description": "ReadFile returns the contents of a file (inside a Workspace).", + "file": "Client/ReadFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ReadFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ReadFile Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ReadRepositoryFile_sync", - "title": "dataform ReadRepositoryFile Sample", - "description": "ReadRepositoryFile returns the contents of a file (inside a Repository). The Repository\nmust not have a value for `git_remote_settings.url`.", - "file": "Client/ReadRepositoryFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadRepositoryFile", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ReadRepositoryFile", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ReadRepositoryFile", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ReadRepositoryFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ReadRepositoryFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ReadRepositoryFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReadRepositoryFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ReadRepositoryFile", - "fullName": "google.cloud.dataform.v1.Dataform.ReadRepositoryFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ReadRepositoryFile" }, + "description": "ReadRepositoryFile returns the contents of a file (inside a Repository). The Repository\nmust not have a value for `git_remote_settings.url`.", + "file": "Client/ReadRepositoryFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ReadRepositoryFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ReadRepositoryFile Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_RemoveDirectory_sync", - "title": "dataform RemoveDirectory Sample", - "description": "RemoveDirectory deletes a directory (inside a Workspace) and all of its contents.", - "file": "Client/RemoveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveDirectory", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.RemoveDirectory", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.RemoveDirectory", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "RemoveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.RemoveDirectoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.RemoveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.RemoveDirectoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "RemoveDirectory", - "fullName": "google.cloud.dataform.v1.Dataform.RemoveDirectory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "RemoveDirectory" }, + "description": "RemoveDirectory deletes a directory (inside a Workspace) and all of its contents.", + "file": "Client/RemoveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_RemoveDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform RemoveDirectory Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_RemoveFile_sync", - "title": "dataform RemoveFile Sample", - "description": "RemoveFile deletes a file (inside a Workspace).", - "file": "Client/RemoveFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveFile", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.RemoveFile", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.RemoveFile", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "RemoveFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.RemoveFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.RemoveFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.RemoveFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "RemoveFile", - "fullName": "google.cloud.dataform.v1.Dataform.RemoveFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "RemoveFile" }, + "description": "RemoveFile deletes a file (inside a Workspace).", + "file": "Client/RemoveFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_RemoveFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform RemoveFile Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_ResetWorkspaceChanges_sync", - "title": "dataform ResetWorkspaceChanges Sample", - "description": "ResetWorkspaceChanges performs a Git reset for uncommitted files in a Workspace.", - "file": "Client/ResetWorkspaceChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetWorkspaceChanges", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.ResetWorkspaceChanges", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.ResetWorkspaceChanges", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ResetWorkspaceChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ResetWorkspaceChangesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ResetWorkspaceChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ResetWorkspaceChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "ResetWorkspaceChanges", - "fullName": "google.cloud.dataform.v1.Dataform.ResetWorkspaceChanges", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "ResetWorkspaceChanges" }, + "description": "ResetWorkspaceChanges performs a Git reset for uncommitted files in a Workspace.", + "file": "Client/ResetWorkspaceChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_ResetWorkspaceChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ResetWorkspaceChanges Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_SearchFiles_sync", - "title": "dataform SearchFiles Sample", - "description": "SearchFiles finds the contents of a given Workspace directory by filter.", - "file": "Client/SearchFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchFiles", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.SearchFiles", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.SearchFiles", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "SearchFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.SearchFilesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.SearchFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "SearchFiles", - "fullName": "google.cloud.dataform.v1.Dataform.SearchFiles", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "SearchFiles" }, + "description": "SearchFiles finds the contents of a given Workspace directory by filter.", + "file": "Client/SearchFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_SearchFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform SearchFiles Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_SearchTeamFolders_sync", - "title": "dataform SearchTeamFolders Sample", - "description": "SearchTeamFolders returns all TeamFolders in a given location that the caller has access to\nand match the provided filter.", - "file": "Client/SearchTeamFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchTeamFolders", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.SearchTeamFolders", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.SearchTeamFolders", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "SearchTeamFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.SearchTeamFoldersRequest", - "name": "req" + "name": "req", + "type": "dataformpb.SearchTeamFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchTeamFoldersResponse_TeamFolderSearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "SearchTeamFolders", - "fullName": "google.cloud.dataform.v1.Dataform.SearchTeamFolders", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "SearchTeamFolders" }, + "description": "SearchTeamFolders returns all TeamFolders in a given location that the caller has access to\nand match the provided filter.", + "file": "Client/SearchTeamFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_SearchTeamFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform SearchTeamFolders Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_SetIamPolicy_sync", - "title": "dataform SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.SetIamPolicy", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.dataform.v1.Dataform.SetIamPolicy", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform SetIamPolicy Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_TestIamPermissions_sync", - "title": "dataform TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.TestIamPermissions", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.dataform.v1.Dataform.TestIamPermissions", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform TestIamPermissions Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_UpdateConfig_sync", - "title": "dataform UpdateConfig Sample", - "description": "UpdateConfig update default config for a given project and location.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.UpdateConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.UpdateConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Config", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "UpdateConfig", - "fullName": "google.cloud.dataform.v1.Dataform.UpdateConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "UpdateConfig" }, + "description": "UpdateConfig update default config for a given project and location.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_UpdateConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_UpdateFolder_sync", - "title": "dataform UpdateFolder Sample", - "description": "UpdateFolder updates a single Folder.", - "file": "Client/UpdateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.UpdateFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.UpdateFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Folder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "UpdateFolder", - "fullName": "google.cloud.dataform.v1.Dataform.UpdateFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "UpdateFolder" }, + "description": "UpdateFolder updates a single Folder.", + "file": "Client/UpdateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_UpdateFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_UpdateReleaseConfig_sync", - "title": "dataform UpdateReleaseConfig Sample", - "description": "UpdateReleaseConfig updates a single ReleaseConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.UpdateReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.UpdateReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReleaseConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "UpdateReleaseConfig", - "fullName": "google.cloud.dataform.v1.Dataform.UpdateReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "UpdateReleaseConfig" }, + "description": "UpdateReleaseConfig updates a single ReleaseConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_UpdateReleaseConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateReleaseConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_UpdateRepository_sync", - "title": "dataform UpdateRepository Sample", - "description": "UpdateRepository updates a single Repository.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRepository", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.UpdateRepository", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.UpdateRepository", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "UpdateRepository", - "fullName": "google.cloud.dataform.v1.Dataform.UpdateRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "UpdateRepository" }, + "description": "UpdateRepository updates a single Repository.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_UpdateRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateRepository Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_UpdateTeamFolder_sync", - "title": "dataform UpdateTeamFolder Sample", - "description": "UpdateTeamFolder updates a single TeamFolder.", - "file": "Client/UpdateTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTeamFolder", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.UpdateTeamFolder", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.UpdateTeamFolder", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateTeamFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateTeamFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateTeamFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.TeamFolder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "UpdateTeamFolder", - "fullName": "google.cloud.dataform.v1.Dataform.UpdateTeamFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "UpdateTeamFolder" }, + "description": "UpdateTeamFolder updates a single TeamFolder.", + "file": "Client/UpdateTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_UpdateTeamFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateTeamFolder Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_UpdateWorkflowConfig_sync", - "title": "dataform UpdateWorkflowConfig Sample", - "description": "UpdateWorkflowConfig updates a single WorkflowConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.UpdateWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.UpdateWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "UpdateWorkflowConfig", - "fullName": "google.cloud.dataform.v1.Dataform.UpdateWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "UpdateWorkflowConfig" }, + "description": "UpdateWorkflowConfig updates a single WorkflowConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_UpdateWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateWorkflowConfig Sample" }, { - "regionTag": "dataform_v1_generated_Dataform_WriteFile_sync", - "title": "dataform WriteFile Sample", - "description": "WriteFile writes to a file (inside a Workspace).", - "file": "Client/WriteFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteFile", + "client": { + "fullName": "google.cloud.dataform.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1.Client.WriteFile", + "method": { + "fullName": "google.cloud.dataform.v1.Dataform.WriteFile", + "service": { + "fullName": "google.cloud.dataform.v1.Dataform", + "shortName": "Dataform" + }, + "shortName": "WriteFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.WriteFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.WriteFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WriteFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1.Client" - }, - "method": { - "shortName": "WriteFile", - "fullName": "google.cloud.dataform.v1.Dataform.WriteFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1.Dataform" - } - } + "shortName": "WriteFile" }, + "description": "WriteFile writes to a file (inside a Workspace).", + "file": "Client/WriteFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1_generated_Dataform_WriteFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform WriteFile Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json b/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json index f4a66fa54e4a..b7c2cbf52035 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json +++ b/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json @@ -1,3548 +1,3548 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dataform/apiv1beta1", - "version": "0.13.0", - "language": "GO", "apis": [ { "id": "google.cloud.dataform.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dataform/apiv1beta1", + "version": "0.13.0" }, "snippets": [ { - "regionTag": "dataform_v1beta1_generated_Dataform_CancelOperation_sync", - "title": "dataform CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CancelOperation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CancelWorkflowInvocation_sync", - "title": "dataform CancelWorkflowInvocation Sample", - "description": "CancelWorkflowInvocation requests cancellation of a running WorkflowInvocation.", - "file": "Client/CancelWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CancelWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CancelWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CancelWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CancelWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CancelWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CancelWorkflowInvocationResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CancelWorkflowInvocation", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CancelWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CancelWorkflowInvocation" }, + "description": "CancelWorkflowInvocation requests cancellation of a running WorkflowInvocation.", + "file": "Client/CancelWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CancelWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CancelWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CommitRepositoryChanges_sync", - "title": "dataform CommitRepositoryChanges Sample", - "description": "CommitRepositoryChanges applies a Git commit to a Repository. The Repository must not have a value\nfor `git_remote_settings.url`.", - "file": "Client/CommitRepositoryChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitRepositoryChanges", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CommitRepositoryChanges", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CommitRepositoryChanges", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CommitRepositoryChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CommitRepositoryChangesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CommitRepositoryChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CommitRepositoryChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CommitRepositoryChanges", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CommitRepositoryChanges", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CommitRepositoryChanges" }, + "description": "CommitRepositoryChanges applies a Git commit to a Repository. The Repository must not have a value\nfor `git_remote_settings.url`.", + "file": "Client/CommitRepositoryChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CommitRepositoryChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CommitRepositoryChanges Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CommitWorkspaceChanges_sync", - "title": "dataform CommitWorkspaceChanges Sample", - "description": "CommitWorkspaceChanges applies a Git commit for uncommitted files in a Workspace.", - "file": "Client/CommitWorkspaceChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitWorkspaceChanges", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CommitWorkspaceChanges", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CommitWorkspaceChanges", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CommitWorkspaceChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CommitWorkspaceChangesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CommitWorkspaceChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CommitWorkspaceChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CommitWorkspaceChanges", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CommitWorkspaceChanges", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CommitWorkspaceChanges" }, + "description": "CommitWorkspaceChanges applies a Git commit for uncommitted files in a Workspace.", + "file": "Client/CommitWorkspaceChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CommitWorkspaceChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CommitWorkspaceChanges Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ComputeRepositoryAccessTokenStatus_sync", - "title": "dataform ComputeRepositoryAccessTokenStatus Sample", - "description": "ComputeRepositoryAccessTokenStatus computes a Repository's Git access token status.", - "file": "Client/ComputeRepositoryAccessTokenStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeRepositoryAccessTokenStatus", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ComputeRepositoryAccessTokenStatus", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ComputeRepositoryAccessTokenStatus", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ComputeRepositoryAccessTokenStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ComputeRepositoryAccessTokenStatusRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ComputeRepositoryAccessTokenStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ComputeRepositoryAccessTokenStatusResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ComputeRepositoryAccessTokenStatus", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ComputeRepositoryAccessTokenStatus", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ComputeRepositoryAccessTokenStatus" }, + "description": "ComputeRepositoryAccessTokenStatus computes a Repository's Git access token status.", + "file": "Client/ComputeRepositoryAccessTokenStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ComputeRepositoryAccessTokenStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ComputeRepositoryAccessTokenStatus Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateCompilationResult_sync", - "title": "dataform CreateCompilationResult Sample", - "description": "CreateCompilationResult creates a new CompilationResult in a given project and location.", - "file": "Client/CreateCompilationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCompilationResult", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateCompilationResult", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateCompilationResult", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateCompilationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateCompilationResultRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateCompilationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CompilationResult", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateCompilationResult", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateCompilationResult", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateCompilationResult" }, + "description": "CreateCompilationResult creates a new CompilationResult in a given project and location.", + "file": "Client/CreateCompilationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateCompilationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateCompilationResult Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateFolder_sync", - "title": "dataform CreateFolder Sample", - "description": "CreateFolder creates a new Folder in a given project and location.", - "file": "Client/CreateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Folder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateFolder" }, + "description": "CreateFolder creates a new Folder in a given project and location.", + "file": "Client/CreateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateReleaseConfig_sync", - "title": "dataform CreateReleaseConfig Sample", - "description": "CreateReleaseConfig creates a new ReleaseConfig in a given Repository.", - "file": "Client/CreateReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReleaseConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateReleaseConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateReleaseConfig" }, + "description": "CreateReleaseConfig creates a new ReleaseConfig in a given Repository.", + "file": "Client/CreateReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateReleaseConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateReleaseConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateRepository_sync", - "title": "dataform CreateRepository Sample", - "description": "CreateRepository creates a new Repository in a given project and location.", - "file": "Client/CreateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRepository", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateRepository", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateRepository", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateRepository", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateRepository" }, + "description": "CreateRepository creates a new Repository in a given project and location.", + "file": "Client/CreateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateRepository Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateTeamFolder_sync", - "title": "dataform CreateTeamFolder Sample", - "description": "CreateTeamFolder creates a new TeamFolder in a given project and location.", - "file": "Client/CreateTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTeamFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateTeamFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateTeamFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateTeamFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateTeamFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateTeamFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.TeamFolder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateTeamFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateTeamFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateTeamFolder" }, + "description": "CreateTeamFolder creates a new TeamFolder in a given project and location.", + "file": "Client/CreateTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateTeamFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateTeamFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateWorkflowConfig_sync", - "title": "dataform CreateWorkflowConfig Sample", - "description": "CreateWorkflowConfig creates a new WorkflowConfig in a given Repository.", - "file": "Client/CreateWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateWorkflowConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateWorkflowConfig" }, + "description": "CreateWorkflowConfig creates a new WorkflowConfig in a given Repository.", + "file": "Client/CreateWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateWorkflowConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateWorkflowInvocation_sync", - "title": "dataform CreateWorkflowInvocation Sample", - "description": "CreateWorkflowInvocation creates a new WorkflowInvocation in a given Repository.", - "file": "Client/CreateWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowInvocation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateWorkflowInvocation", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateWorkflowInvocation" }, + "description": "CreateWorkflowInvocation creates a new WorkflowInvocation in a given Repository.", + "file": "Client/CreateWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_CreateWorkspace_sync", - "title": "dataform CreateWorkspace Sample", - "description": "CreateWorkspace creates a new Workspace in a given Repository.", - "file": "Client/CreateWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkspace", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.CreateWorkspace", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkspace", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "CreateWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.CreateWorkspaceRequest", - "name": "req" + "name": "req", + "type": "dataformpb.CreateWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Workspace", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "CreateWorkspace", - "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkspace", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "CreateWorkspace" }, + "description": "CreateWorkspace creates a new Workspace in a given Repository.", + "file": "Client/CreateWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_CreateWorkspace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform CreateWorkspace Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteFolder_sync", - "title": "dataform DeleteFolder Sample", - "description": "DeleteFolder deletes a single Folder.", - "file": "Client/DeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteFolder" }, + "description": "DeleteFolder deletes a single Folder.", + "file": "Client/DeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteFolder_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteOperation_sync", - "title": "dataform DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteOperation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteReleaseConfig_sync", - "title": "dataform DeleteReleaseConfig Sample", - "description": "DeleteReleaseConfig deletes a single ReleaseConfig.", - "file": "Client/DeleteReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteReleaseConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteReleaseConfig" }, + "description": "DeleteReleaseConfig deletes a single ReleaseConfig.", + "file": "Client/DeleteReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteReleaseConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteReleaseConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteRepository_sync", - "title": "dataform DeleteRepository Sample", - "description": "DeleteRepository deletes a single Repository.", - "file": "Client/DeleteRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRepository", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteRepository", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteRepository", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteRepository", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteRepository" }, + "description": "DeleteRepository deletes a single Repository.", + "file": "Client/DeleteRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteRepository_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteRepository Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteTeamFolder_sync", - "title": "dataform DeleteTeamFolder Sample", - "description": "DeleteTeamFolder deletes a single TeamFolder.", - "file": "Client/DeleteTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTeamFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteTeamFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteTeamFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteTeamFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteTeamFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteTeamFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteTeamFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteTeamFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteTeamFolder" }, + "description": "DeleteTeamFolder deletes a single TeamFolder.", + "file": "Client/DeleteTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteTeamFolder_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteTeamFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteWorkflowConfig_sync", - "title": "dataform DeleteWorkflowConfig Sample", - "description": "DeleteWorkflowConfig deletes a single WorkflowConfig.", - "file": "Client/DeleteWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteWorkflowConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteWorkflowConfig" }, + "description": "DeleteWorkflowConfig deletes a single WorkflowConfig.", + "file": "Client/DeleteWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteWorkflowConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteWorkflowInvocation_sync", - "title": "dataform DeleteWorkflowInvocation Sample", - "description": "DeleteWorkflowInvocation deletes a single WorkflowInvocation.", - "file": "Client/DeleteWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteWorkflowInvocation", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteWorkflowInvocation" }, + "description": "DeleteWorkflowInvocation deletes a single WorkflowInvocation.", + "file": "Client/DeleteWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_DeleteWorkspace_sync", - "title": "dataform DeleteWorkspace Sample", - "description": "DeleteWorkspace deletes a single Workspace.", - "file": "Client/DeleteWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkspace", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.DeleteWorkspace", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkspace", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "DeleteWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.DeleteWorkspaceRequest", - "name": "req" + "name": "req", + "type": "dataformpb.DeleteWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "DeleteWorkspace", - "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkspace", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "DeleteWorkspace" }, + "description": "DeleteWorkspace deletes a single Workspace.", + "file": "Client/DeleteWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_DeleteWorkspace_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform DeleteWorkspace Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_FetchFileDiff_sync", - "title": "dataform FetchFileDiff Sample", - "description": "FetchFileDiff fetches Git diff for an uncommitted file in a Workspace.", - "file": "Client/FetchFileDiff/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFileDiff", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.FetchFileDiff", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchFileDiff", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchFileDiff" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchFileDiffRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchFileDiffRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchFileDiffResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "FetchFileDiff", - "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchFileDiff", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "FetchFileDiff" }, + "description": "FetchFileDiff fetches Git diff for an uncommitted file in a Workspace.", + "file": "Client/FetchFileDiff/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_FetchFileDiff_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchFileDiff Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_FetchFileGitStatuses_sync", - "title": "dataform FetchFileGitStatuses Sample", - "description": "FetchFileGitStatuses fetches Git statuses for the files in a Workspace.", - "file": "Client/FetchFileGitStatuses/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchFileGitStatuses", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.FetchFileGitStatuses", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchFileGitStatuses", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchFileGitStatuses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchFileGitStatusesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchFileGitStatusesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchFileGitStatusesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "FetchFileGitStatuses", - "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchFileGitStatuses", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "FetchFileGitStatuses" }, + "description": "FetchFileGitStatuses fetches Git statuses for the files in a Workspace.", + "file": "Client/FetchFileGitStatuses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_FetchFileGitStatuses_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchFileGitStatuses Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_FetchGitAheadBehind_sync", - "title": "dataform FetchGitAheadBehind Sample", - "description": "FetchGitAheadBehind fetches Git ahead/behind against a remote branch.", - "file": "Client/FetchGitAheadBehind/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchGitAheadBehind", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.FetchGitAheadBehind", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchGitAheadBehind", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchGitAheadBehind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchGitAheadBehindRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchGitAheadBehindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchGitAheadBehindResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "FetchGitAheadBehind", - "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchGitAheadBehind", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "FetchGitAheadBehind" }, + "description": "FetchGitAheadBehind fetches Git ahead/behind against a remote branch.", + "file": "Client/FetchGitAheadBehind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_FetchGitAheadBehind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchGitAheadBehind Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_FetchRemoteBranches_sync", - "title": "dataform FetchRemoteBranches Sample", - "description": "FetchRemoteBranches fetches a Repository's remote branches.", - "file": "Client/FetchRemoteBranches/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchRemoteBranches", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.FetchRemoteBranches", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchRemoteBranches", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchRemoteBranches" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchRemoteBranchesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchRemoteBranchesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.FetchRemoteBranchesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "FetchRemoteBranches", - "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchRemoteBranches", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "FetchRemoteBranches" }, + "description": "FetchRemoteBranches fetches a Repository's remote branches.", + "file": "Client/FetchRemoteBranches/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_FetchRemoteBranches_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchRemoteBranches Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_FetchRepositoryHistory_sync", - "title": "dataform FetchRepositoryHistory Sample", - "description": "FetchRepositoryHistory fetches a Repository's history of commits. The Repository must not have a\nvalue for `git_remote_settings.url`.", - "file": "Client/FetchRepositoryHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchRepositoryHistory", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.FetchRepositoryHistory", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchRepositoryHistory", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "FetchRepositoryHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.FetchRepositoryHistoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.FetchRepositoryHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommitLogEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "FetchRepositoryHistory", - "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchRepositoryHistory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "FetchRepositoryHistory" }, + "description": "FetchRepositoryHistory fetches a Repository's history of commits. The Repository must not have a\nvalue for `git_remote_settings.url`.", + "file": "Client/FetchRepositoryHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_FetchRepositoryHistory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform FetchRepositoryHistory Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetCompilationResult_sync", - "title": "dataform GetCompilationResult Sample", - "description": "GetCompilationResult fetches a single CompilationResult.", - "file": "Client/GetCompilationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompilationResult", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetCompilationResult", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetCompilationResult", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetCompilationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetCompilationResultRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetCompilationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.CompilationResult", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetCompilationResult", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetCompilationResult", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetCompilationResult" }, + "description": "GetCompilationResult fetches a single CompilationResult.", + "file": "Client/GetCompilationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetCompilationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetCompilationResult Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetConfig_sync", - "title": "dataform GetConfig Sample", - "description": "GetConfig get default config for a given project and location.", - "file": "Client/GetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Config", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetConfig" }, + "description": "GetConfig get default config for a given project and location.", + "file": "Client/GetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetFolder_sync", - "title": "dataform GetFolder Sample", - "description": "GetFolder fetches a single Folder.", - "file": "Client/GetFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Folder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetFolder" }, + "description": "GetFolder fetches a single Folder.", + "file": "Client/GetFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetIamPolicy_sync", - "title": "dataform GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetIamPolicy", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetIamPolicy", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetIamPolicy Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetLocation_sync", - "title": "dataform GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetLocation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetOperation_sync", - "title": "dataform GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetOperation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetReleaseConfig_sync", - "title": "dataform GetReleaseConfig Sample", - "description": "GetReleaseConfig fetches a single ReleaseConfig.", - "file": "Client/GetReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReleaseConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetReleaseConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetReleaseConfig" }, + "description": "GetReleaseConfig fetches a single ReleaseConfig.", + "file": "Client/GetReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetReleaseConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetReleaseConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetRepository_sync", - "title": "dataform GetRepository Sample", - "description": "GetRepository fetches a single Repository.", - "file": "Client/GetRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRepository", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetRepository", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetRepository", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetRepository", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetRepository" }, + "description": "GetRepository fetches a single Repository.", + "file": "Client/GetRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetRepository Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetTeamFolder_sync", - "title": "dataform GetTeamFolder Sample", - "description": "GetTeamFolder fetches a single TeamFolder.", - "file": "Client/GetTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTeamFolder", - "fullName": "google.cloud.dataform.v1beta1.Client.GetTeamFolder", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "dataformpb.GetTeamFolderRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*dataformpb.TeamFolder", "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.dataform.v1beta1.Client.GetTeamFolder", "method": { - "shortName": "GetTeamFolder", "fullName": "google.cloud.dataform.v1beta1.Dataform.GetTeamFolder", "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetTeamFolder" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "dataformpb.GetTeamFolderRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*dataformpb.TeamFolder", + "shortName": "GetTeamFolder" }, + "description": "GetTeamFolder fetches a single TeamFolder.", + "file": "Client/GetTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetTeamFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetTeamFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetWorkflowConfig_sync", - "title": "dataform GetWorkflowConfig Sample", - "description": "GetWorkflowConfig fetches a single WorkflowConfig.", - "file": "Client/GetWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetWorkflowConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetWorkflowConfig" }, + "description": "GetWorkflowConfig fetches a single WorkflowConfig.", + "file": "Client/GetWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetWorkflowConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetWorkflowInvocation_sync", - "title": "dataform GetWorkflowInvocation Sample", - "description": "GetWorkflowInvocation fetches a single WorkflowInvocation.", - "file": "Client/GetWorkflowInvocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflowInvocation", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetWorkflowInvocation", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkflowInvocation", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetWorkflowInvocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetWorkflowInvocationRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetWorkflowInvocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowInvocation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetWorkflowInvocation", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkflowInvocation", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetWorkflowInvocation" }, + "description": "GetWorkflowInvocation fetches a single WorkflowInvocation.", + "file": "Client/GetWorkflowInvocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetWorkflowInvocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetWorkflowInvocation Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_GetWorkspace_sync", - "title": "dataform GetWorkspace Sample", - "description": "GetWorkspace fetches a single Workspace.", - "file": "Client/GetWorkspace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkspace", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.GetWorkspace", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkspace", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "GetWorkspace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.GetWorkspaceRequest", - "name": "req" + "name": "req", + "type": "dataformpb.GetWorkspaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Workspace", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "GetWorkspace", - "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkspace", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "GetWorkspace" }, + "description": "GetWorkspace fetches a single Workspace.", + "file": "Client/GetWorkspace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_GetWorkspace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform GetWorkspace Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_InstallNpmPackages_sync", - "title": "dataform InstallNpmPackages Sample", - "description": "InstallNpmPackages installs dependency NPM packages (inside a Workspace).", - "file": "Client/InstallNpmPackages/main.go", - "language": "GO", "clientMethod": { - "shortName": "InstallNpmPackages", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.InstallNpmPackages", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.InstallNpmPackages", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "InstallNpmPackages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.InstallNpmPackagesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.InstallNpmPackagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.InstallNpmPackagesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "InstallNpmPackages", - "fullName": "google.cloud.dataform.v1beta1.Dataform.InstallNpmPackages", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "InstallNpmPackages" }, + "description": "InstallNpmPackages installs dependency NPM packages (inside a Workspace).", + "file": "Client/InstallNpmPackages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_InstallNpmPackages_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform InstallNpmPackages Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListCompilationResults_sync", - "title": "dataform ListCompilationResults Sample", - "description": "ListCompilationResults lists CompilationResults in a given Repository.", - "file": "Client/ListCompilationResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCompilationResults", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListCompilationResults", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListCompilationResults", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListCompilationResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListCompilationResultsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListCompilationResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompilationResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListCompilationResults", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ListCompilationResults", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ListCompilationResults" }, + "description": "ListCompilationResults lists CompilationResults in a given Repository.", + "file": "Client/ListCompilationResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListCompilationResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListCompilationResults Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListLocations_sync", - "title": "dataform ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListLocations Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListOperations_sync", - "title": "dataform ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListOperations Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListReleaseConfigs_sync", - "title": "dataform ListReleaseConfigs Sample", - "description": "ListReleaseConfigs lists ReleaseConfigs in a given Repository.", - "file": "Client/ListReleaseConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReleaseConfigs", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListReleaseConfigs", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListReleaseConfigs", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListReleaseConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListReleaseConfigsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListReleaseConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReleaseConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListReleaseConfigs", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ListReleaseConfigs", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ListReleaseConfigs" }, + "description": "ListReleaseConfigs lists ReleaseConfigs in a given Repository.", + "file": "Client/ListReleaseConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListReleaseConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListReleaseConfigs Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListRepositories_sync", - "title": "dataform ListRepositories Sample", - "description": "ListRepositories lists Repositories in a given project and location.\n\n**Note: ** *This method can return repositories not shown in the [Dataform\nUI](https: //console.cloud.google.com/bigquery/dataform)*.", - "file": "Client/ListRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRepositories", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListRepositories", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListRepositories", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListRepositoriesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListRepositories", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ListRepositories", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ListRepositories" }, + "description": "ListRepositories lists Repositories in a given project and location.\n\n**Note: ** *This method can return repositories not shown in the [Dataform\nUI](https: //console.cloud.google.com/bigquery/dataform)*.", + "file": "Client/ListRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListRepositories Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListWorkflowConfigs_sync", - "title": "dataform ListWorkflowConfigs Sample", - "description": "ListWorkflowConfigs lists WorkflowConfigs in a given Repository.", - "file": "Client/ListWorkflowConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflowConfigs", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListWorkflowConfigs", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkflowConfigs", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListWorkflowConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListWorkflowConfigsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListWorkflowConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListWorkflowConfigs", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkflowConfigs", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ListWorkflowConfigs" }, + "description": "ListWorkflowConfigs lists WorkflowConfigs in a given Repository.", + "file": "Client/ListWorkflowConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListWorkflowConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListWorkflowConfigs Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListWorkflowInvocations_sync", - "title": "dataform ListWorkflowInvocations Sample", - "description": "ListWorkflowInvocations lists WorkflowInvocations in a given Repository.", - "file": "Client/ListWorkflowInvocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflowInvocations", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListWorkflowInvocations", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkflowInvocations", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListWorkflowInvocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListWorkflowInvocationsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListWorkflowInvocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowInvocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListWorkflowInvocations", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkflowInvocations", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ListWorkflowInvocations" }, + "description": "ListWorkflowInvocations lists WorkflowInvocations in a given Repository.", + "file": "Client/ListWorkflowInvocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListWorkflowInvocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListWorkflowInvocations Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ListWorkspaces_sync", - "title": "dataform ListWorkspaces Sample", - "description": "ListWorkspaces lists Workspaces in a given Repository.", - "file": "Client/ListWorkspaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkspaces", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ListWorkspaces", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkspaces", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ListWorkspaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ListWorkspacesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ListWorkspacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkspaceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ListWorkspaces", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkspaces", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ListWorkspaces" }, + "description": "ListWorkspaces lists Workspaces in a given Repository.", + "file": "Client/ListWorkspaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ListWorkspaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ListWorkspaces Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_MakeDirectory_sync", - "title": "dataform MakeDirectory Sample", - "description": "MakeDirectory creates a directory inside a Workspace.", - "file": "Client/MakeDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "MakeDirectory", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.MakeDirectory", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.MakeDirectory", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MakeDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MakeDirectoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MakeDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.MakeDirectoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "MakeDirectory", - "fullName": "google.cloud.dataform.v1beta1.Dataform.MakeDirectory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "MakeDirectory" }, + "description": "MakeDirectory creates a directory inside a Workspace.", + "file": "Client/MakeDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_MakeDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MakeDirectory Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_MoveDirectory_sync", - "title": "dataform MoveDirectory Sample", - "description": "MoveDirectory moves a directory (inside a Workspace), and all of its contents, to a new\nlocation.", - "file": "Client/MoveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveDirectory", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.MoveDirectory", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveDirectory", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveDirectoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.MoveDirectoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "MoveDirectory", - "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveDirectory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "MoveDirectory" }, + "description": "MoveDirectory moves a directory (inside a Workspace), and all of its contents, to a new\nlocation.", + "file": "Client/MoveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_MoveDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveDirectory Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_MoveFile_sync", - "title": "dataform MoveFile Sample", - "description": "MoveFile moves a file (inside a Workspace) to a new location.", - "file": "Client/MoveFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveFile", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.MoveFile", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveFile", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.MoveFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "MoveFile", - "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "MoveFile" }, + "description": "MoveFile moves a file (inside a Workspace) to a new location.", + "file": "Client/MoveFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_MoveFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveFile Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_MoveFolder_sync", - "title": "dataform MoveFolder Sample", - "description": "MoveFolder moves a Folder to a new Folder, TeamFolder, or the root location.", - "file": "Client/MoveFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.MoveFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveFolderOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "MoveFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "MoveFolder" }, + "description": "MoveFolder moves a Folder to a new Folder, TeamFolder, or the root location.", + "file": "Client/MoveFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_MoveFolder_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_MoveRepository_sync", - "title": "dataform MoveRepository Sample", - "description": "MoveRepository moves a Repository to a new location.", - "file": "Client/MoveRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveRepository", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.MoveRepository", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveRepository", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "MoveRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.MoveRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.MoveRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "MoveRepository", - "fullName": "google.cloud.dataform.v1beta1.Dataform.MoveRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "MoveRepository" }, + "description": "MoveRepository moves a Repository to a new location.", + "file": "Client/MoveRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_MoveRepository_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform MoveRepository Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_PullGitCommits_sync", - "title": "dataform PullGitCommits Sample", - "description": "PullGitCommits pulls Git commits from the Repository's remote into a Workspace.", - "file": "Client/PullGitCommits/main.go", - "language": "GO", "clientMethod": { - "shortName": "PullGitCommits", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.PullGitCommits", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.PullGitCommits", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "PullGitCommits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.PullGitCommitsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.PullGitCommitsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.PullGitCommitsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "PullGitCommits", - "fullName": "google.cloud.dataform.v1beta1.Dataform.PullGitCommits", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "PullGitCommits" }, + "description": "PullGitCommits pulls Git commits from the Repository's remote into a Workspace.", + "file": "Client/PullGitCommits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_PullGitCommits_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform PullGitCommits Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_PushGitCommits_sync", - "title": "dataform PushGitCommits Sample", - "description": "PushGitCommits pushes Git commits from a Workspace to the Repository's remote.", - "file": "Client/PushGitCommits/main.go", - "language": "GO", "clientMethod": { - "shortName": "PushGitCommits", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.PushGitCommits", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.PushGitCommits", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "PushGitCommits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.PushGitCommitsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.PushGitCommitsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.PushGitCommitsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "PushGitCommits", - "fullName": "google.cloud.dataform.v1beta1.Dataform.PushGitCommits", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "PushGitCommits" }, + "description": "PushGitCommits pushes Git commits from a Workspace to the Repository's remote.", + "file": "Client/PushGitCommits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_PushGitCommits_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform PushGitCommits Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryCompilationResultActions_sync", - "title": "dataform QueryCompilationResultActions Sample", - "description": "QueryCompilationResultActions returns CompilationResultActions in a given CompilationResult.", - "file": "Client/QueryCompilationResultActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryCompilationResultActions", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryCompilationResultActions", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryCompilationResultActions", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryCompilationResultActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryCompilationResultActionsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryCompilationResultActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompilationResultActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryCompilationResultActions", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryCompilationResultActions", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "QueryCompilationResultActions" }, + "description": "QueryCompilationResultActions returns CompilationResultActions in a given CompilationResult.", + "file": "Client/QueryCompilationResultActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryCompilationResultActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryCompilationResultActions Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryDirectoryContents_sync", - "title": "dataform QueryDirectoryContents Sample", - "description": "QueryDirectoryContents returns the contents of a given Workspace directory.", - "file": "Client/QueryDirectoryContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDirectoryContents", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryDirectoryContents", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryDirectoryContents", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryDirectoryContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryDirectoryContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryDirectoryContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DirectoryEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryDirectoryContents", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryDirectoryContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DirectoryEntryIterator", + "shortName": "QueryDirectoryContents" }, + "description": "QueryDirectoryContents returns the contents of a given Workspace directory.", + "file": "Client/QueryDirectoryContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryDirectoryContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryDirectoryContents Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryFolderContents_sync", - "title": "dataform QueryFolderContents Sample", - "description": "QueryFolderContents returns the contents of a given Folder.", - "file": "Client/QueryFolderContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryFolderContents", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryFolderContents", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryFolderContents", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryFolderContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryFolderContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryFolderContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryFolderContentsResponse_FolderContentsEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryFolderContents", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryFolderContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "QueryFolderContents" }, + "description": "QueryFolderContents returns the contents of a given Folder.", + "file": "Client/QueryFolderContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryFolderContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryFolderContents Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryRepositoryDirectoryContents_sync", - "title": "dataform QueryRepositoryDirectoryContents Sample", - "description": "QueryRepositoryDirectoryContents returns the contents of a given Repository directory. The Repository must\nnot have a value for `git_remote_settings.url`.", - "file": "Client/QueryRepositoryDirectoryContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryRepositoryDirectoryContents", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryRepositoryDirectoryContents", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryRepositoryDirectoryContents", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryRepositoryDirectoryContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryRepositoryDirectoryContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryRepositoryDirectoryContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DirectoryEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryRepositoryDirectoryContents", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryRepositoryDirectoryContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "QueryRepositoryDirectoryContents" }, + "description": "QueryRepositoryDirectoryContents returns the contents of a given Repository directory. The Repository must\nnot have a value for `git_remote_settings.url`.", + "file": "Client/QueryRepositoryDirectoryContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryRepositoryDirectoryContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryRepositoryDirectoryContents Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryTeamFolderContents_sync", - "title": "dataform QueryTeamFolderContents Sample", - "description": "QueryTeamFolderContents returns the contents of a given TeamFolder.", - "file": "Client/QueryTeamFolderContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryTeamFolderContents", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryTeamFolderContents", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryTeamFolderContents", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryTeamFolderContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryTeamFolderContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryTeamFolderContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryTeamFolderContentsResponse_TeamFolderContentsEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryTeamFolderContents", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryTeamFolderContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "QueryTeamFolderContents" }, + "description": "QueryTeamFolderContents returns the contents of a given TeamFolder.", + "file": "Client/QueryTeamFolderContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryTeamFolderContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryTeamFolderContents Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryUserRootContents_sync", - "title": "dataform QueryUserRootContents Sample", - "description": "QueryUserRootContents returns the contents of a caller's root folder in a given location.\nThe root folder contains all resources that are created by the user and not\ncontained in any other folder.", - "file": "Client/QueryUserRootContents/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryUserRootContents", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryUserRootContents", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryUserRootContents", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryUserRootContents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryUserRootContentsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryUserRootContentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryUserRootContentsResponse_RootContentsEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryUserRootContents", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryUserRootContents", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "QueryUserRootContents" }, + "description": "QueryUserRootContents returns the contents of a caller's root folder in a given location.\nThe root folder contains all resources that are created by the user and not\ncontained in any other folder.", + "file": "Client/QueryUserRootContents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryUserRootContents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryUserRootContents Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_QueryWorkflowInvocationActions_sync", - "title": "dataform QueryWorkflowInvocationActions Sample", - "description": "QueryWorkflowInvocationActions returns WorkflowInvocationActions in a given WorkflowInvocation.", - "file": "Client/QueryWorkflowInvocationActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryWorkflowInvocationActions", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.QueryWorkflowInvocationActions", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryWorkflowInvocationActions", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "QueryWorkflowInvocationActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.QueryWorkflowInvocationActionsRequest", - "name": "req" + "name": "req", + "type": "dataformpb.QueryWorkflowInvocationActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowInvocationActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "QueryWorkflowInvocationActions", - "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryWorkflowInvocationActions", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "QueryWorkflowInvocationActions" }, + "description": "QueryWorkflowInvocationActions returns WorkflowInvocationActions in a given WorkflowInvocation.", + "file": "Client/QueryWorkflowInvocationActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_QueryWorkflowInvocationActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform QueryWorkflowInvocationActions Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ReadFile_sync", - "title": "dataform ReadFile Sample", - "description": "ReadFile returns the contents of a file (inside a Workspace).", - "file": "Client/ReadFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadFile", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ReadFile", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ReadFile", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ReadFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ReadFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ReadFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReadFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ReadFile", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ReadFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ReadFile" }, + "description": "ReadFile returns the contents of a file (inside a Workspace).", + "file": "Client/ReadFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ReadFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ReadFile Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ReadRepositoryFile_sync", - "title": "dataform ReadRepositoryFile Sample", - "description": "ReadRepositoryFile returns the contents of a file (inside a Repository). The Repository\nmust not have a value for `git_remote_settings.url`.", - "file": "Client/ReadRepositoryFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReadRepositoryFile", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ReadRepositoryFile", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ReadRepositoryFile", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ReadRepositoryFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ReadRepositoryFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ReadRepositoryFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReadRepositoryFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ReadRepositoryFile", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ReadRepositoryFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ReadRepositoryFile" }, + "description": "ReadRepositoryFile returns the contents of a file (inside a Repository). The Repository\nmust not have a value for `git_remote_settings.url`.", + "file": "Client/ReadRepositoryFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ReadRepositoryFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ReadRepositoryFile Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_RemoveDirectory_sync", - "title": "dataform RemoveDirectory Sample", - "description": "RemoveDirectory deletes a directory (inside a Workspace) and all of its contents.", - "file": "Client/RemoveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveDirectory", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.RemoveDirectory", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.RemoveDirectory", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "RemoveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.RemoveDirectoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.RemoveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.RemoveDirectoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "RemoveDirectory", - "fullName": "google.cloud.dataform.v1beta1.Dataform.RemoveDirectory", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "RemoveDirectory" }, + "description": "RemoveDirectory deletes a directory (inside a Workspace) and all of its contents.", + "file": "Client/RemoveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_RemoveDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform RemoveDirectory Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_RemoveFile_sync", - "title": "dataform RemoveFile Sample", - "description": "RemoveFile deletes a file (inside a Workspace).", - "file": "Client/RemoveFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveFile", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.RemoveFile", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.RemoveFile", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "RemoveFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.RemoveFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.RemoveFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.RemoveFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "RemoveFile", - "fullName": "google.cloud.dataform.v1beta1.Dataform.RemoveFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "RemoveFile" }, + "description": "RemoveFile deletes a file (inside a Workspace).", + "file": "Client/RemoveFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_RemoveFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform RemoveFile Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_ResetWorkspaceChanges_sync", - "title": "dataform ResetWorkspaceChanges Sample", - "description": "ResetWorkspaceChanges performs a Git reset for uncommitted files in a Workspace.", - "file": "Client/ResetWorkspaceChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetWorkspaceChanges", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.ResetWorkspaceChanges", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.ResetWorkspaceChanges", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "ResetWorkspaceChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.ResetWorkspaceChangesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.ResetWorkspaceChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ResetWorkspaceChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "ResetWorkspaceChanges", - "fullName": "google.cloud.dataform.v1beta1.Dataform.ResetWorkspaceChanges", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "ResetWorkspaceChanges" }, + "description": "ResetWorkspaceChanges performs a Git reset for uncommitted files in a Workspace.", + "file": "Client/ResetWorkspaceChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_ResetWorkspaceChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform ResetWorkspaceChanges Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_SearchFiles_sync", - "title": "dataform SearchFiles Sample", - "description": "SearchFiles finds the contents of a given Workspace directory by filter.", - "file": "Client/SearchFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchFiles", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.SearchFiles", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.SearchFiles", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "SearchFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.SearchFilesRequest", - "name": "req" + "name": "req", + "type": "dataformpb.SearchFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "SearchFiles", - "fullName": "google.cloud.dataform.v1beta1.Dataform.SearchFiles", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "SearchFiles" }, + "description": "SearchFiles finds the contents of a given Workspace directory by filter.", + "file": "Client/SearchFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_SearchFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform SearchFiles Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_SearchTeamFolders_sync", - "title": "dataform SearchTeamFolders Sample", - "description": "SearchTeamFolders returns all TeamFolders in a given location that the caller has access to\nand match the provided filter.", - "file": "Client/SearchTeamFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchTeamFolders", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.SearchTeamFolders", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.SearchTeamFolders", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "SearchTeamFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.SearchTeamFoldersRequest", - "name": "req" + "name": "req", + "type": "dataformpb.SearchTeamFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchTeamFoldersResponse_TeamFolderSearchResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "SearchTeamFolders", - "fullName": "google.cloud.dataform.v1beta1.Dataform.SearchTeamFolders", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "SearchTeamFolders" }, + "description": "SearchTeamFolders returns all TeamFolders in a given location that the caller has access to\nand match the provided filter.", + "file": "Client/SearchTeamFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_SearchTeamFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform SearchTeamFolders Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_SetIamPolicy_sync", - "title": "dataform SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.SetIamPolicy", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.dataform.v1beta1.Dataform.SetIamPolicy", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform SetIamPolicy Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_TestIamPermissions_sync", - "title": "dataform TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.TestIamPermissions", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.dataform.v1beta1.Dataform.TestIamPermissions", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform TestIamPermissions Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_UpdateConfig_sync", - "title": "dataform UpdateConfig Sample", - "description": "UpdateConfig update default config for a given project and location.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.UpdateConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Config", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "UpdateConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "UpdateConfig" }, + "description": "UpdateConfig update default config for a given project and location.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_UpdateConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_UpdateFolder_sync", - "title": "dataform UpdateFolder Sample", - "description": "UpdateFolder updates a single Folder.", - "file": "Client/UpdateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.UpdateFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Folder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "UpdateFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "UpdateFolder" }, + "description": "UpdateFolder updates a single Folder.", + "file": "Client/UpdateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_UpdateFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_UpdateReleaseConfig_sync", - "title": "dataform UpdateReleaseConfig Sample", - "description": "UpdateReleaseConfig updates a single ReleaseConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateReleaseConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReleaseConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.UpdateReleaseConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateReleaseConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateReleaseConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateReleaseConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateReleaseConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.ReleaseConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "UpdateReleaseConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateReleaseConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "UpdateReleaseConfig" }, + "description": "UpdateReleaseConfig updates a single ReleaseConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateReleaseConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_UpdateReleaseConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateReleaseConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_UpdateRepository_sync", - "title": "dataform UpdateRepository Sample", - "description": "UpdateRepository updates a single Repository.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRepository", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.UpdateRepository", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateRepository", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateRepositoryRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "UpdateRepository", - "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateRepository", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "UpdateRepository" }, + "description": "UpdateRepository updates a single Repository.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_UpdateRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateRepository Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_UpdateTeamFolder_sync", - "title": "dataform UpdateTeamFolder Sample", - "description": "UpdateTeamFolder updates a single TeamFolder.", - "file": "Client/UpdateTeamFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTeamFolder", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.UpdateTeamFolder", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateTeamFolder", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateTeamFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateTeamFolderRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateTeamFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.TeamFolder", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "UpdateTeamFolder", - "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateTeamFolder", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "UpdateTeamFolder" }, + "description": "UpdateTeamFolder updates a single TeamFolder.", + "file": "Client/UpdateTeamFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_UpdateTeamFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateTeamFolder Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_UpdateWorkflowConfig_sync", - "title": "dataform UpdateWorkflowConfig Sample", - "description": "UpdateWorkflowConfig updates a single WorkflowConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", - "file": "Client/UpdateWorkflowConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkflowConfig", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.UpdateWorkflowConfig", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateWorkflowConfig", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "UpdateWorkflowConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.UpdateWorkflowConfigRequest", - "name": "req" + "name": "req", + "type": "dataformpb.UpdateWorkflowConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WorkflowConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "UpdateWorkflowConfig", - "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateWorkflowConfig", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "UpdateWorkflowConfig" }, + "description": "UpdateWorkflowConfig updates a single WorkflowConfig.\n\n**Note: ** *This method does not fully implement\n[AIP/134](https: //google.aip.dev/134). The wildcard entry (\\*) is treated\nas a bad request, and when the `field_mask` is omitted, the request is\ntreated as a full update on all modifiable fields.*", + "file": "Client/UpdateWorkflowConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_UpdateWorkflowConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform UpdateWorkflowConfig Sample" }, { - "regionTag": "dataform_v1beta1_generated_Dataform_WriteFile_sync", - "title": "dataform WriteFile Sample", - "description": "WriteFile writes to a file (inside a Workspace).", - "file": "Client/WriteFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteFile", + "client": { + "fullName": "google.cloud.dataform.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataform.v1beta1.Client.WriteFile", + "method": { + "fullName": "google.cloud.dataform.v1beta1.Dataform.WriteFile", + "service": { + "fullName": "google.cloud.dataform.v1beta1.Dataform", + "shortName": "Dataform" + }, + "shortName": "WriteFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataformpb.WriteFileRequest", - "name": "req" + "name": "req", + "type": "dataformpb.WriteFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataformpb.WriteFileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataform.v1beta1.Client" - }, - "method": { - "shortName": "WriteFile", - "fullName": "google.cloud.dataform.v1beta1.Dataform.WriteFile", - "service": { - "shortName": "Dataform", - "fullName": "google.cloud.dataform.v1beta1.Dataform" - } - } + "shortName": "WriteFile" }, + "description": "WriteFile writes to a file (inside a Workspace).", + "file": "Client/WriteFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataform_v1beta1_generated_Dataform_WriteFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataform WriteFile Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json b/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json index 8dde1183ef30..a3f327eaf62d 100644 --- a/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json +++ b/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json @@ -1,337 +1,337 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datafusion/apiv1", - "version": "1.8.7", - "language": "GO", "apis": [ { "id": "google.cloud.datafusion.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datafusion/apiv1", + "version": "1.8.7" }, "snippets": [ { - "regionTag": "datafusion_v1_generated_DataFusion_CreateInstance_sync", - "title": "datafusion CreateInstance Sample", - "description": "CreateInstance creates a new Data Fusion instance in the specified project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.CreateInstance", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.CreateInstance", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.datafusion.v1.DataFusion.CreateInstance", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Data Fusion instance in the specified project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion CreateInstance Sample" }, { - "regionTag": "datafusion_v1_generated_DataFusion_DeleteInstance_sync", - "title": "datafusion DeleteInstance Sample", - "description": "DeleteInstance deletes a single Date Fusion instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.DeleteInstance", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.datafusion.v1.DataFusion.DeleteInstance", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Date Fusion instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion DeleteInstance Sample" }, { - "regionTag": "datafusion_v1_generated_DataFusion_GetInstance_sync", - "title": "datafusion GetInstance Sample", - "description": "GetInstance gets details of a single Data Fusion instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.GetInstance", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.GetInstance", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datafusionpb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.datafusion.v1.DataFusion.GetInstance", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Data Fusion instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion GetInstance Sample" }, { - "regionTag": "datafusion_v1_generated_DataFusion_ListAvailableVersions_sync", - "title": "datafusion ListAvailableVersions Sample", - "description": "ListAvailableVersions lists possible versions for Data Fusion instances in the specified project\nand location.", - "file": "Client/ListAvailableVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAvailableVersions", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.ListAvailableVersions", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.ListAvailableVersions", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "ListAvailableVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.ListAvailableVersionsRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.ListAvailableVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "ListAvailableVersions", - "fullName": "google.cloud.datafusion.v1.DataFusion.ListAvailableVersions", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "ListAvailableVersions" }, + "description": "ListAvailableVersions lists possible versions for Data Fusion instances in the specified project\nand location.", + "file": "Client/ListAvailableVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_ListAvailableVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion ListAvailableVersions Sample" }, { - "regionTag": "datafusion_v1_generated_DataFusion_ListInstances_sync", - "title": "datafusion ListInstances Sample", - "description": "ListInstances lists Data Fusion instances in the specified project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.ListInstances", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.ListInstances", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.datafusion.v1.DataFusion.ListInstances", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Data Fusion instances in the specified project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion ListInstances Sample" }, { - "regionTag": "datafusion_v1_generated_DataFusion_RestartInstance_sync", - "title": "datafusion RestartInstance Sample", - "description": "RestartInstance restart a single Data Fusion instance.\nAt the end of an operation instance is fully restarted.", - "file": "Client/RestartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartInstance", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.RestartInstance", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.RestartInstance", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "RestartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.RestartInstanceRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.RestartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestartInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "RestartInstance", - "fullName": "google.cloud.datafusion.v1.DataFusion.RestartInstance", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "RestartInstance" }, + "description": "RestartInstance restart a single Data Fusion instance.\nAt the end of an operation instance is fully restarted.", + "file": "Client/RestartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_RestartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion RestartInstance Sample" }, { - "regionTag": "datafusion_v1_generated_DataFusion_UpdateInstance_sync", - "title": "datafusion UpdateInstance Sample", - "description": "UpdateInstance updates a single Data Fusion instance.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.datafusion.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datafusion.v1.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.datafusion.v1.DataFusion.UpdateInstance", + "service": { + "fullName": "google.cloud.datafusion.v1.DataFusion", + "shortName": "DataFusion" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datafusionpb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "datafusionpb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datafusion.v1.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.datafusion.v1.DataFusion.UpdateInstance", - "service": { - "shortName": "DataFusion", - "fullName": "google.cloud.datafusion.v1.DataFusion" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates a single Data Fusion instance.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datafusion_v1_generated_DataFusion_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datafusion UpdateInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json b/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json index 675a49df1e06..e6e3f8deaf08 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json +++ b/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json @@ -1,1572 +1,1572 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datalabeling/apiv1beta1", - "version": "0.9.7", - "language": "GO", "apis": [ { "id": "google.cloud.datalabeling.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datalabeling/apiv1beta1", + "version": "0.9.7" }, "snippets": [ { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_sync", - "title": "datalabeling CreateAnnotationSpecSet Sample", - "description": "CreateAnnotationSpecSet creates an annotation spec set by providing a set of labels.", - "file": "Client/CreateAnnotationSpecSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnnotationSpecSet", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.CreateAnnotationSpecSet", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSet", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "CreateAnnotationSpecSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.CreateAnnotationSpecSetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.CreateAnnotationSpecSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.AnnotationSpecSet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "CreateAnnotationSpecSet", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSet", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "CreateAnnotationSpecSet" }, + "description": "CreateAnnotationSpecSet creates an annotation spec set by providing a set of labels.", + "file": "Client/CreateAnnotationSpecSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling CreateAnnotationSpecSet Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_sync", - "title": "datalabeling CreateDataset Sample", - "description": "CreateDataset creates dataset. If success return a Dataset resource.", - "file": "Client/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.CreateDataset", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDataset", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDataset", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates dataset. If success return a Dataset resource.", + "file": "Client/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling CreateDataset Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_sync", - "title": "datalabeling CreateEvaluationJob Sample", - "description": "CreateEvaluationJob creates an evaluation job.", - "file": "Client/CreateEvaluationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluationJob", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.CreateEvaluationJob", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJob", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "CreateEvaluationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.CreateEvaluationJobRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.CreateEvaluationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.EvaluationJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "CreateEvaluationJob", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJob", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "CreateEvaluationJob" }, + "description": "CreateEvaluationJob creates an evaluation job.", + "file": "Client/CreateEvaluationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling CreateEvaluationJob Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_sync", - "title": "datalabeling CreateInstruction Sample", - "description": "CreateInstruction creates an instruction for how data should be labeled.", - "file": "Client/CreateInstruction/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstruction", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.CreateInstruction", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstruction", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "CreateInstruction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.CreateInstructionRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.CreateInstructionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstructionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "CreateInstruction", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstruction", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "CreateInstruction" }, + "description": "CreateInstruction creates an instruction for how data should be labeled.", + "file": "Client/CreateInstruction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling CreateInstruction Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_sync", - "title": "datalabeling DeleteAnnotatedDataset Sample", - "description": "DeleteAnnotatedDataset deletes an annotated dataset by resource name.", - "file": "Client/DeleteAnnotatedDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAnnotatedDataset", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.DeleteAnnotatedDataset", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDataset", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "DeleteAnnotatedDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.DeleteAnnotatedDatasetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.DeleteAnnotatedDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "DeleteAnnotatedDataset", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDataset", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "DeleteAnnotatedDataset" }, + "description": "DeleteAnnotatedDataset deletes an annotated dataset by resource name.", + "file": "Client/DeleteAnnotatedDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling DeleteAnnotatedDataset Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_sync", - "title": "datalabeling DeleteAnnotationSpecSet Sample", - "description": "DeleteAnnotationSpecSet deletes an annotation spec set by resource name.", - "file": "Client/DeleteAnnotationSpecSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAnnotationSpecSet", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.DeleteAnnotationSpecSet", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSet", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "DeleteAnnotationSpecSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.DeleteAnnotationSpecSetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.DeleteAnnotationSpecSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "DeleteAnnotationSpecSet", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSet", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "DeleteAnnotationSpecSet" }, + "description": "DeleteAnnotationSpecSet deletes an annotation spec set by resource name.", + "file": "Client/DeleteAnnotationSpecSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling DeleteAnnotationSpecSet Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_sync", - "title": "datalabeling DeleteDataset Sample", - "description": "DeleteDataset deletes a dataset by resource name.", - "file": "Client/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.DeleteDataset", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDataset", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDataset", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a dataset by resource name.", + "file": "Client/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling DeleteDataset Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_sync", - "title": "datalabeling DeleteEvaluationJob Sample", - "description": "DeleteEvaluationJob stops and deletes an evaluation job.", - "file": "Client/DeleteEvaluationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluationJob", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.DeleteEvaluationJob", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "DeleteEvaluationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.DeleteEvaluationJobRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.DeleteEvaluationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "DeleteEvaluationJob", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "DeleteEvaluationJob" }, + "description": "DeleteEvaluationJob stops and deletes an evaluation job.", + "file": "Client/DeleteEvaluationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling DeleteEvaluationJob Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_sync", - "title": "datalabeling DeleteInstruction Sample", - "description": "DeleteInstruction deletes an instruction object by resource name.", - "file": "Client/DeleteInstruction/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstruction", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.DeleteInstruction", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstruction", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "DeleteInstruction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.DeleteInstructionRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.DeleteInstructionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "DeleteInstruction", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstruction", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "DeleteInstruction" }, + "description": "DeleteInstruction deletes an instruction object by resource name.", + "file": "Client/DeleteInstruction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling DeleteInstruction Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ExportData_sync", - "title": "datalabeling ExportData Sample", - "description": "ExportData exports data and annotations from dataset.", - "file": "Client/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ExportData", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ExportData", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ExportData", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports data and annotations from dataset.", + "file": "Client/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ExportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ExportData Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_sync", - "title": "datalabeling GetAnnotatedDataset Sample", - "description": "GetAnnotatedDataset gets an annotated dataset by resource name.", - "file": "Client/GetAnnotatedDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotatedDataset", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetAnnotatedDataset", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDataset", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetAnnotatedDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetAnnotatedDatasetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetAnnotatedDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.AnnotatedDataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetAnnotatedDataset", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDataset", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetAnnotatedDataset" }, + "description": "GetAnnotatedDataset gets an annotated dataset by resource name.", + "file": "Client/GetAnnotatedDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetAnnotatedDataset Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_sync", - "title": "datalabeling GetAnnotationSpecSet Sample", - "description": "GetAnnotationSpecSet gets an annotation spec set by resource name.", - "file": "Client/GetAnnotationSpecSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotationSpecSet", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetAnnotationSpecSet", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSet", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetAnnotationSpecSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetAnnotationSpecSetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetAnnotationSpecSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.AnnotationSpecSet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetAnnotationSpecSet", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSet", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetAnnotationSpecSet" }, + "description": "GetAnnotationSpecSet gets an annotation spec set by resource name.", + "file": "Client/GetAnnotationSpecSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetAnnotationSpecSet Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_sync", - "title": "datalabeling GetDataItem Sample", - "description": "GetDataItem gets a data item in a dataset by resource name. This API can be\ncalled after data are imported into dataset.", - "file": "Client/GetDataItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataItem", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetDataItem", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItem", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetDataItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetDataItemRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetDataItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.DataItem", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetDataItem", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItem", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetDataItem" }, + "description": "GetDataItem gets a data item in a dataset by resource name. This API can be\ncalled after data are imported into dataset.", + "file": "Client/GetDataItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetDataItem Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataset_sync", - "title": "datalabeling GetDataset Sample", - "description": "GetDataset gets dataset by resource name.", - "file": "Client/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetDataset", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataset", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.Dataset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataset", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets dataset by resource name.", + "file": "Client/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetDataset Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_sync", - "title": "datalabeling GetEvaluation Sample", - "description": "GetEvaluation gets an evaluation by resource name (to search, use\n[projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).", - "file": "Client/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetEvaluation", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluation", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.Evaluation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluation", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation gets an evaluation by resource name (to search, use\n[projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).", + "file": "Client/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetEvaluation Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_sync", - "title": "datalabeling GetEvaluationJob Sample", - "description": "GetEvaluationJob gets an evaluation job by resource name.", - "file": "Client/GetEvaluationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluationJob", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetEvaluationJob", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJob", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetEvaluationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetEvaluationJobRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetEvaluationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.EvaluationJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetEvaluationJob", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJob", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetEvaluationJob" }, + "description": "GetEvaluationJob gets an evaluation job by resource name.", + "file": "Client/GetEvaluationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetEvaluationJob Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetExample_sync", - "title": "datalabeling GetExample Sample", - "description": "GetExample gets an example by resource name, including both data and annotation.", - "file": "Client/GetExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExample", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetExample", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetExample", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetExampleRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.Example", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetExample", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetExample", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetExample" }, + "description": "GetExample gets an example by resource name, including both data and annotation.", + "file": "Client/GetExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetExample Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_sync", - "title": "datalabeling GetInstruction Sample", - "description": "GetInstruction gets an instruction by resource name.", - "file": "Client/GetInstruction/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstruction", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.GetInstruction", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstruction", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "GetInstruction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.GetInstructionRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.GetInstructionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.Instruction", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "GetInstruction", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstruction", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "GetInstruction" }, + "description": "GetInstruction gets an instruction by resource name.", + "file": "Client/GetInstruction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling GetInstruction Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ImportData_sync", - "title": "datalabeling ImportData Sample", - "description": "ImportData imports data into dataset based on source locations defined in request.\nIt can be called multiple times for the same dataset. Each dataset can\nonly have one long running operation running on it. For example, no\nlabeling task (also long running operation) can be started while\nimporting is still ongoing. Vice versa.", - "file": "Client/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ImportData", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ImportData", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ImportData", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ImportData" }, + "description": "ImportData imports data into dataset based on source locations defined in request.\nIt can be called multiple times for the same dataset. Each dataset can\nonly have one long running operation running on it. For example, no\nlabeling task (also long running operation) can be started while\nimporting is still ongoing. Vice versa.", + "file": "Client/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ImportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ImportData Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelImage_sync", - "title": "datalabeling LabelImage Sample", - "description": "LabelImage starts a labeling task for image. The type of image labeling task is\nconfigured by feature in the request.", - "file": "Client/LabelImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "LabelImage", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.LabelImage", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImage", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "LabelImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.LabelImageRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.LabelImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LabelImageOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "LabelImage", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImage", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "LabelImage" }, + "description": "LabelImage starts a labeling task for image. The type of image labeling task is\nconfigured by feature in the request.", + "file": "Client/LabelImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelImage_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling LabelImage Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelText_sync", - "title": "datalabeling LabelText Sample", - "description": "LabelText starts a labeling task for text. The type of text labeling task is\nconfigured by feature in the request.", - "file": "Client/LabelText/main.go", - "language": "GO", "clientMethod": { - "shortName": "LabelText", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.LabelText", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelText", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "LabelText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.LabelTextRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.LabelTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LabelTextOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "LabelText", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelText", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "LabelText" }, + "description": "LabelText starts a labeling task for text. The type of text labeling task is\nconfigured by feature in the request.", + "file": "Client/LabelText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelText_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling LabelText Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_sync", - "title": "datalabeling LabelVideo Sample", - "description": "LabelVideo starts a labeling task for video. The type of video labeling task is\nconfigured by feature in the request.", - "file": "Client/LabelVideo/main.go", - "language": "GO", "clientMethod": { - "shortName": "LabelVideo", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.LabelVideo", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideo", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "LabelVideo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.LabelVideoRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.LabelVideoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LabelVideoOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "LabelVideo", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideo", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "LabelVideo" }, + "description": "LabelVideo starts a labeling task for video. The type of video labeling task is\nconfigured by feature in the request.", + "file": "Client/LabelVideo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling LabelVideo Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_sync", - "title": "datalabeling ListAnnotatedDatasets Sample", - "description": "ListAnnotatedDatasets lists annotated datasets for a dataset. Pagination is supported.", - "file": "Client/ListAnnotatedDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnnotatedDatasets", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListAnnotatedDatasets", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasets", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListAnnotatedDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListAnnotatedDatasetsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListAnnotatedDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotatedDatasetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListAnnotatedDatasets", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasets", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListAnnotatedDatasets" }, + "description": "ListAnnotatedDatasets lists annotated datasets for a dataset. Pagination is supported.", + "file": "Client/ListAnnotatedDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListAnnotatedDatasets Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_sync", - "title": "datalabeling ListAnnotationSpecSets Sample", - "description": "ListAnnotationSpecSets lists annotation spec sets for a project. Pagination is supported.", - "file": "Client/ListAnnotationSpecSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnnotationSpecSets", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListAnnotationSpecSets", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSets", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListAnnotationSpecSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListAnnotationSpecSetsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListAnnotationSpecSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotationSpecSetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListAnnotationSpecSets", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSets", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListAnnotationSpecSets" }, + "description": "ListAnnotationSpecSets lists annotation spec sets for a project. Pagination is supported.", + "file": "Client/ListAnnotationSpecSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListAnnotationSpecSets Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_sync", - "title": "datalabeling ListDataItems Sample", - "description": "ListDataItems lists data items in a dataset. This API can be called after data\nare imported into dataset. Pagination is supported.", - "file": "Client/ListDataItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataItems", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListDataItems", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItems", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListDataItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListDataItemsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListDataItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataItemIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListDataItems", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItems", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListDataItems" }, + "description": "ListDataItems lists data items in a dataset. This API can be called after data\nare imported into dataset. Pagination is supported.", + "file": "Client/ListDataItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListDataItems Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_sync", - "title": "datalabeling ListDatasets Sample", - "description": "ListDatasets lists datasets under a project. Pagination is supported.", - "file": "Client/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListDatasets", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasets", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasets", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists datasets under a project. Pagination is supported.", + "file": "Client/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListDatasets Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_sync", - "title": "datalabeling ListEvaluationJobs Sample", - "description": "ListEvaluationJobs lists all evaluation jobs within a project with possible filters.\nPagination is supported.", - "file": "Client/ListEvaluationJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationJobs", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListEvaluationJobs", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobs", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListEvaluationJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListEvaluationJobsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListEvaluationJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListEvaluationJobs", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobs", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListEvaluationJobs" }, + "description": "ListEvaluationJobs lists all evaluation jobs within a project with possible filters.\nPagination is supported.", + "file": "Client/ListEvaluationJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListEvaluationJobs Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListExamples_sync", - "title": "datalabeling ListExamples Sample", - "description": "ListExamples lists examples in an annotated dataset. Pagination is supported.", - "file": "Client/ListExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExamples", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListExamples", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamples", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListExamplesRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamples", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListExamples" }, + "description": "ListExamples lists examples in an annotated dataset. Pagination is supported.", + "file": "Client/ListExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListExamples Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_sync", - "title": "datalabeling ListInstructions Sample", - "description": "ListInstructions lists instructions for a project. Pagination is supported.", - "file": "Client/ListInstructions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstructions", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ListInstructions", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructions", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ListInstructions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ListInstructionsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ListInstructionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstructionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ListInstructions", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructions", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ListInstructions" }, + "description": "ListInstructions lists instructions for a project. Pagination is supported.", + "file": "Client/ListInstructions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ListInstructions Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_sync", - "title": "datalabeling PauseEvaluationJob Sample", - "description": "PauseEvaluationJob pauses an evaluation job. Pausing an evaluation job that is already in a\n`PAUSED` state is a no-op.", - "file": "Client/PauseEvaluationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseEvaluationJob", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.PauseEvaluationJob", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "PauseEvaluationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.PauseEvaluationJobRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.PauseEvaluationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "PauseEvaluationJob", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "PauseEvaluationJob" }, + "description": "PauseEvaluationJob pauses an evaluation job. Pausing an evaluation job that is already in a\n`PAUSED` state is a no-op.", + "file": "Client/PauseEvaluationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling PauseEvaluationJob Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_sync", - "title": "datalabeling ResumeEvaluationJob Sample", - "description": "ResumeEvaluationJob resumes a paused evaluation job. A deleted evaluation job can't be resumed.\nResuming a running or scheduled evaluation job is a no-op.", - "file": "Client/ResumeEvaluationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeEvaluationJob", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.ResumeEvaluationJob", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "ResumeEvaluationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.ResumeEvaluationJobRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.ResumeEvaluationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "ResumeEvaluationJob", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "ResumeEvaluationJob" }, + "description": "ResumeEvaluationJob resumes a paused evaluation job. A deleted evaluation job can't be resumed.\nResuming a running or scheduled evaluation job is a no-op.", + "file": "Client/ResumeEvaluationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling ResumeEvaluationJob Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_sync", - "title": "datalabeling SearchEvaluations Sample", - "description": "SearchEvaluations searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.", - "file": "Client/SearchEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchEvaluations", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.SearchEvaluations", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "SearchEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.SearchEvaluationsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.SearchEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "SearchEvaluations", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "SearchEvaluations" }, + "description": "SearchEvaluations searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.", + "file": "Client/SearchEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling SearchEvaluations Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_sync", - "title": "datalabeling SearchExampleComparisons Sample", - "description": "SearchExampleComparisons searches example comparisons from an evaluation. The return format is a\nlist of example comparisons that show ground truth and prediction(s) for\na single input. Search by providing an evaluation ID.", - "file": "Client/SearchExampleComparisons/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchExampleComparisons", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.SearchExampleComparisons", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisons", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "SearchExampleComparisons" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.SearchExampleComparisonsRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.SearchExampleComparisonsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchExampleComparisonsResponse_ExampleComparisonIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "SearchExampleComparisons", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisons", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "SearchExampleComparisons" }, + "description": "SearchExampleComparisons searches example comparisons from an evaluation. The return format is a\nlist of example comparisons that show ground truth and prediction(s) for\na single input. Search by providing an evaluation ID.", + "file": "Client/SearchExampleComparisons/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling SearchExampleComparisons Sample" }, { - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_sync", - "title": "datalabeling UpdateEvaluationJob Sample", - "description": "UpdateEvaluationJob updates an evaluation job. You can only update certain fields of the job's\n[EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: `humanAnnotationConfig.instruction`,\n`exampleCount`, and `exampleSamplePercentage`.\n\nIf you want to change any other aspect of the evaluation job, you must\ndelete the job and create a new one.", - "file": "Client/UpdateEvaluationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEvaluationJob", + "client": { + "fullName": "google.cloud.datalabeling.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datalabeling.v1beta1.Client.UpdateEvaluationJob", + "method": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJob", + "service": { + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "shortName": "DataLabelingService" + }, + "shortName": "UpdateEvaluationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datalabelingpb.UpdateEvaluationJobRequest", - "name": "req" + "name": "req", + "type": "datalabelingpb.UpdateEvaluationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datalabelingpb.EvaluationJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datalabeling.v1beta1.Client" - }, - "method": { - "shortName": "UpdateEvaluationJob", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJob", - "service": { - "shortName": "DataLabelingService", - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService" - } - } + "shortName": "UpdateEvaluationJob" }, + "description": "UpdateEvaluationJob updates an evaluation job. You can only update certain fields of the job's\n[EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: `humanAnnotationConfig.instruction`,\n`exampleCount`, and `exampleSamplePercentage`.\n\nIf you want to change any other aspect of the evaluation job, you must\ndelete the job and create a new one.", + "file": "Client/UpdateEvaluationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datalabeling UpdateEvaluationJob Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datamanager/apiv1/snippet_metadata.google.ads.datamanager.v1.json b/internal/generated/snippets/datamanager/apiv1/snippet_metadata.google.ads.datamanager.v1.json index 6ded990e1b05..e961f887ea62 100644 --- a/internal/generated/snippets/datamanager/apiv1/snippet_metadata.google.ads.datamanager.v1.json +++ b/internal/generated/snippets/datamanager/apiv1/snippet_metadata.google.ads.datamanager.v1.json @@ -1,1025 +1,1025 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datamanager/apiv1", - "version": "0.3.0", - "language": "GO", "apis": [ { "id": "google.ads.datamanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datamanager/apiv1", + "version": "0.3.0" }, "snippets": [ { - "regionTag": "datamanager_v1_generated_IngestionService_IngestAudienceMembers_sync", - "title": "datamanager IngestAudienceMembers Sample", - "description": "IngestAudienceMembers uploads a list of\n[AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the\nprovided [Destination][google.ads.datamanager.v1.Destination].", - "file": "IngestionClient/IngestAudienceMembers/main.go", - "language": "GO", "clientMethod": { - "shortName": "IngestAudienceMembers", + "client": { + "fullName": "google.ads.datamanager.v1.IngestionClient", + "shortName": "IngestionClient" + }, "fullName": "google.ads.datamanager.v1.IngestionClient.IngestAudienceMembers", + "method": { + "fullName": "google.ads.datamanager.v1.IngestionService.IngestAudienceMembers", + "service": { + "fullName": "google.ads.datamanager.v1.IngestionService", + "shortName": "IngestionService" + }, + "shortName": "IngestAudienceMembers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.IngestAudienceMembersRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.IngestAudienceMembersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.IngestAudienceMembersResponse", - "client": { - "shortName": "IngestionClient", - "fullName": "google.ads.datamanager.v1.IngestionClient" - }, - "method": { - "shortName": "IngestAudienceMembers", - "fullName": "google.ads.datamanager.v1.IngestionService.IngestAudienceMembers", - "service": { - "shortName": "IngestionService", - "fullName": "google.ads.datamanager.v1.IngestionService" - } - } + "shortName": "IngestAudienceMembers" }, + "description": "IngestAudienceMembers uploads a list of\n[AudienceMember][google.ads.datamanager.v1.AudienceMember] resources to the\nprovided [Destination][google.ads.datamanager.v1.Destination].", + "file": "IngestionClient/IngestAudienceMembers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_IngestionService_IngestAudienceMembers_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager IngestAudienceMembers Sample" }, { - "regionTag": "datamanager_v1_generated_IngestionService_IngestEvents_sync", - "title": "datamanager IngestEvents Sample", - "description": "IngestEvents uploads a list of\n[Event][google.ads.datamanager.v1.Event] resources from\nthe provided [Destination][google.ads.datamanager.v1.Destination].", - "file": "IngestionClient/IngestEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "IngestEvents", + "client": { + "fullName": "google.ads.datamanager.v1.IngestionClient", + "shortName": "IngestionClient" + }, "fullName": "google.ads.datamanager.v1.IngestionClient.IngestEvents", + "method": { + "fullName": "google.ads.datamanager.v1.IngestionService.IngestEvents", + "service": { + "fullName": "google.ads.datamanager.v1.IngestionService", + "shortName": "IngestionService" + }, + "shortName": "IngestEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.IngestEventsRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.IngestEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.IngestEventsResponse", - "client": { - "shortName": "IngestionClient", - "fullName": "google.ads.datamanager.v1.IngestionClient" - }, - "method": { - "shortName": "IngestEvents", - "fullName": "google.ads.datamanager.v1.IngestionService.IngestEvents", - "service": { - "shortName": "IngestionService", - "fullName": "google.ads.datamanager.v1.IngestionService" - } - } + "shortName": "IngestEvents" }, + "description": "IngestEvents uploads a list of\n[Event][google.ads.datamanager.v1.Event] resources from\nthe provided [Destination][google.ads.datamanager.v1.Destination].", + "file": "IngestionClient/IngestEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_IngestionService_IngestEvents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager IngestEvents Sample" }, { - "regionTag": "datamanager_v1_generated_IngestionService_RemoveAudienceMembers_sync", - "title": "datamanager RemoveAudienceMembers Sample", - "description": "RemoveAudienceMembers removes a list of\n[AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from\nthe provided [Destination][google.ads.datamanager.v1.Destination].", - "file": "IngestionClient/RemoveAudienceMembers/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAudienceMembers", + "client": { + "fullName": "google.ads.datamanager.v1.IngestionClient", + "shortName": "IngestionClient" + }, "fullName": "google.ads.datamanager.v1.IngestionClient.RemoveAudienceMembers", + "method": { + "fullName": "google.ads.datamanager.v1.IngestionService.RemoveAudienceMembers", + "service": { + "fullName": "google.ads.datamanager.v1.IngestionService", + "shortName": "IngestionService" + }, + "shortName": "RemoveAudienceMembers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.RemoveAudienceMembersRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.RemoveAudienceMembersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.RemoveAudienceMembersResponse", - "client": { - "shortName": "IngestionClient", - "fullName": "google.ads.datamanager.v1.IngestionClient" - }, - "method": { - "shortName": "RemoveAudienceMembers", - "fullName": "google.ads.datamanager.v1.IngestionService.RemoveAudienceMembers", - "service": { - "shortName": "IngestionService", - "fullName": "google.ads.datamanager.v1.IngestionService" - } - } + "shortName": "RemoveAudienceMembers" }, + "description": "RemoveAudienceMembers removes a list of\n[AudienceMember][google.ads.datamanager.v1.AudienceMember] resources from\nthe provided [Destination][google.ads.datamanager.v1.Destination].", + "file": "IngestionClient/RemoveAudienceMembers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_IngestionService_RemoveAudienceMembers_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager RemoveAudienceMembers Sample" }, { - "regionTag": "datamanager_v1_generated_IngestionService_RetrieveRequestStatus_sync", - "title": "datamanager RetrieveRequestStatus Sample", - "description": "RetrieveRequestStatus gets the status of a request given request id.", - "file": "IngestionClient/RetrieveRequestStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveRequestStatus", + "client": { + "fullName": "google.ads.datamanager.v1.IngestionClient", + "shortName": "IngestionClient" + }, "fullName": "google.ads.datamanager.v1.IngestionClient.RetrieveRequestStatus", + "method": { + "fullName": "google.ads.datamanager.v1.IngestionService.RetrieveRequestStatus", + "service": { + "fullName": "google.ads.datamanager.v1.IngestionService", + "shortName": "IngestionService" + }, + "shortName": "RetrieveRequestStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.RetrieveRequestStatusRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.RetrieveRequestStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.RetrieveRequestStatusResponse", - "client": { - "shortName": "IngestionClient", - "fullName": "google.ads.datamanager.v1.IngestionClient" - }, - "method": { - "shortName": "RetrieveRequestStatus", - "fullName": "google.ads.datamanager.v1.IngestionService.RetrieveRequestStatus", - "service": { - "shortName": "IngestionService", - "fullName": "google.ads.datamanager.v1.IngestionService" - } - } + "shortName": "RetrieveRequestStatus" }, + "description": "RetrieveRequestStatus gets the status of a request given request id.", + "file": "IngestionClient/RetrieveRequestStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_IngestionService_RetrieveRequestStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager RetrieveRequestStatus Sample" }, { - "regionTag": "datamanager_v1_generated_MarketingDataInsightsService_RetrieveInsights_sync", - "title": "datamanager RetrieveInsights Sample", - "description": "RetrieveInsights retrieves marketing data insights for a given user list.\n\nThis feature is only available to data partners.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "MarketingDataInsightsClient/RetrieveInsights/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveInsights", + "client": { + "fullName": "google.ads.datamanager.v1.MarketingDataInsightsClient", + "shortName": "MarketingDataInsightsClient" + }, "fullName": "google.ads.datamanager.v1.MarketingDataInsightsClient.RetrieveInsights", + "method": { + "fullName": "google.ads.datamanager.v1.MarketingDataInsightsService.RetrieveInsights", + "service": { + "fullName": "google.ads.datamanager.v1.MarketingDataInsightsService", + "shortName": "MarketingDataInsightsService" + }, + "shortName": "RetrieveInsights" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.RetrieveInsightsRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.RetrieveInsightsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.RetrieveInsightsResponse", - "client": { - "shortName": "MarketingDataInsightsClient", - "fullName": "google.ads.datamanager.v1.MarketingDataInsightsClient" - }, - "method": { - "shortName": "RetrieveInsights", - "fullName": "google.ads.datamanager.v1.MarketingDataInsightsService.RetrieveInsights", - "service": { - "shortName": "MarketingDataInsightsService", - "fullName": "google.ads.datamanager.v1.MarketingDataInsightsService" - } - } + "shortName": "RetrieveInsights" }, + "description": "RetrieveInsights retrieves marketing data insights for a given user list.\n\nThis feature is only available to data partners.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "MarketingDataInsightsClient/RetrieveInsights/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_MarketingDataInsightsService_RetrieveInsights_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager RetrieveInsights Sample" }, { - "regionTag": "datamanager_v1_generated_PartnerLinkService_CreatePartnerLink_sync", - "title": "datamanager CreatePartnerLink Sample", - "description": "CreatePartnerLink creates a partner link for the given account.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "PartnerLinkClient/CreatePartnerLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePartnerLink", + "client": { + "fullName": "google.ads.datamanager.v1.PartnerLinkClient", + "shortName": "PartnerLinkClient" + }, "fullName": "google.ads.datamanager.v1.PartnerLinkClient.CreatePartnerLink", + "method": { + "fullName": "google.ads.datamanager.v1.PartnerLinkService.CreatePartnerLink", + "service": { + "fullName": "google.ads.datamanager.v1.PartnerLinkService", + "shortName": "PartnerLinkService" + }, + "shortName": "CreatePartnerLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.CreatePartnerLinkRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.CreatePartnerLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.PartnerLink", - "client": { - "shortName": "PartnerLinkClient", - "fullName": "google.ads.datamanager.v1.PartnerLinkClient" - }, - "method": { - "shortName": "CreatePartnerLink", - "fullName": "google.ads.datamanager.v1.PartnerLinkService.CreatePartnerLink", - "service": { - "shortName": "PartnerLinkService", - "fullName": "google.ads.datamanager.v1.PartnerLinkService" - } - } + "shortName": "CreatePartnerLink" }, + "description": "CreatePartnerLink creates a partner link for the given account.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "PartnerLinkClient/CreatePartnerLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_PartnerLinkService_CreatePartnerLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager CreatePartnerLink Sample" }, { - "regionTag": "datamanager_v1_generated_PartnerLinkService_DeletePartnerLink_sync", - "title": "datamanager DeletePartnerLink Sample", - "description": "DeletePartnerLink deletes a partner link for the given account.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "PartnerLinkClient/DeletePartnerLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePartnerLink", + "client": { + "fullName": "google.ads.datamanager.v1.PartnerLinkClient", + "shortName": "PartnerLinkClient" + }, "fullName": "google.ads.datamanager.v1.PartnerLinkClient.DeletePartnerLink", + "method": { + "fullName": "google.ads.datamanager.v1.PartnerLinkService.DeletePartnerLink", + "service": { + "fullName": "google.ads.datamanager.v1.PartnerLinkService", + "shortName": "PartnerLinkService" + }, + "shortName": "DeletePartnerLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.DeletePartnerLinkRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.DeletePartnerLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PartnerLinkClient", - "fullName": "google.ads.datamanager.v1.PartnerLinkClient" - }, - "method": { - "shortName": "DeletePartnerLink", - "fullName": "google.ads.datamanager.v1.PartnerLinkService.DeletePartnerLink", - "service": { - "shortName": "PartnerLinkService", - "fullName": "google.ads.datamanager.v1.PartnerLinkService" - } - } + "shortName": "DeletePartnerLink" }, + "description": "DeletePartnerLink deletes a partner link for the given account.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "PartnerLinkClient/DeletePartnerLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_PartnerLinkService_DeletePartnerLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager DeletePartnerLink Sample" }, { - "regionTag": "datamanager_v1_generated_PartnerLinkService_SearchPartnerLinks_sync", - "title": "datamanager SearchPartnerLinks Sample", - "description": "SearchPartnerLinks searches for all partner links to and from a given account.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "PartnerLinkClient/SearchPartnerLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchPartnerLinks", + "client": { + "fullName": "google.ads.datamanager.v1.PartnerLinkClient", + "shortName": "PartnerLinkClient" + }, "fullName": "google.ads.datamanager.v1.PartnerLinkClient.SearchPartnerLinks", + "method": { + "fullName": "google.ads.datamanager.v1.PartnerLinkService.SearchPartnerLinks", + "service": { + "fullName": "google.ads.datamanager.v1.PartnerLinkService", + "shortName": "PartnerLinkService" + }, + "shortName": "SearchPartnerLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.SearchPartnerLinksRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.SearchPartnerLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PartnerLinkIterator", - "client": { - "shortName": "PartnerLinkClient", - "fullName": "google.ads.datamanager.v1.PartnerLinkClient" - }, - "method": { - "shortName": "SearchPartnerLinks", - "fullName": "google.ads.datamanager.v1.PartnerLinkService.SearchPartnerLinks", - "service": { - "shortName": "PartnerLinkService", - "fullName": "google.ads.datamanager.v1.PartnerLinkService" - } - } + "shortName": "SearchPartnerLinks" }, + "description": "SearchPartnerLinks searches for all partner links to and from a given account.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "PartnerLinkClient/SearchPartnerLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_PartnerLinkService_SearchPartnerLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager SearchPartnerLinks Sample" }, { - "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_CreateUserListDirectLicense_sync", - "title": "datamanager CreateUserListDirectLicense Sample", - "description": "CreateUserListDirectLicense creates a user list direct license.\n\nThis feature is only available to data partners.", - "file": "UserListDirectLicenseClient/CreateUserListDirectLicense/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUserListDirectLicense", + "client": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient", + "shortName": "UserListDirectLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient.CreateUserListDirectLicense", + "method": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.CreateUserListDirectLicense", + "service": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService", + "shortName": "UserListDirectLicenseService" + }, + "shortName": "CreateUserListDirectLicense" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.CreateUserListDirectLicenseRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.CreateUserListDirectLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserListDirectLicense", - "client": { - "shortName": "UserListDirectLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient" - }, - "method": { - "shortName": "CreateUserListDirectLicense", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.CreateUserListDirectLicense", - "service": { - "shortName": "UserListDirectLicenseService", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService" - } - } + "shortName": "CreateUserListDirectLicense" }, + "description": "CreateUserListDirectLicense creates a user list direct license.\n\nThis feature is only available to data partners.", + "file": "UserListDirectLicenseClient/CreateUserListDirectLicense/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_CreateUserListDirectLicense_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager CreateUserListDirectLicense Sample" }, { - "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_GetUserListDirectLicense_sync", - "title": "datamanager GetUserListDirectLicense Sample", - "description": "GetUserListDirectLicense retrieves a user list direct license.\n\nThis feature is only available to data partners.", - "file": "UserListDirectLicenseClient/GetUserListDirectLicense/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserListDirectLicense", + "client": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient", + "shortName": "UserListDirectLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient.GetUserListDirectLicense", + "method": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.GetUserListDirectLicense", + "service": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService", + "shortName": "UserListDirectLicenseService" + }, + "shortName": "GetUserListDirectLicense" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.GetUserListDirectLicenseRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.GetUserListDirectLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserListDirectLicense", - "client": { - "shortName": "UserListDirectLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient" - }, - "method": { - "shortName": "GetUserListDirectLicense", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.GetUserListDirectLicense", - "service": { - "shortName": "UserListDirectLicenseService", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService" - } - } + "shortName": "GetUserListDirectLicense" }, + "description": "GetUserListDirectLicense retrieves a user list direct license.\n\nThis feature is only available to data partners.", + "file": "UserListDirectLicenseClient/GetUserListDirectLicense/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_GetUserListDirectLicense_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager GetUserListDirectLicense Sample" }, { - "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_ListUserListDirectLicenses_sync", - "title": "datamanager ListUserListDirectLicenses Sample", - "description": "ListUserListDirectLicenses lists all user list direct licenses owned by the parent account.\n\nThis feature is only available to data partners.", - "file": "UserListDirectLicenseClient/ListUserListDirectLicenses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserListDirectLicenses", + "client": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient", + "shortName": "UserListDirectLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient.ListUserListDirectLicenses", + "method": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.ListUserListDirectLicenses", + "service": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService", + "shortName": "UserListDirectLicenseService" + }, + "shortName": "ListUserListDirectLicenses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.ListUserListDirectLicensesRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.ListUserListDirectLicensesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserListDirectLicenseIterator", - "client": { - "shortName": "UserListDirectLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient" - }, - "method": { - "shortName": "ListUserListDirectLicenses", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.ListUserListDirectLicenses", - "service": { - "shortName": "UserListDirectLicenseService", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService" - } - } + "shortName": "ListUserListDirectLicenses" }, + "description": "ListUserListDirectLicenses lists all user list direct licenses owned by the parent account.\n\nThis feature is only available to data partners.", + "file": "UserListDirectLicenseClient/ListUserListDirectLicenses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_ListUserListDirectLicenses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager ListUserListDirectLicenses Sample" }, { - "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_UpdateUserListDirectLicense_sync", - "title": "datamanager UpdateUserListDirectLicense Sample", - "description": "UpdateUserListDirectLicense updates a user list direct license.\n\nThis feature is only available to data partners.", - "file": "UserListDirectLicenseClient/UpdateUserListDirectLicense/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUserListDirectLicense", + "client": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient", + "shortName": "UserListDirectLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient.UpdateUserListDirectLicense", + "method": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.UpdateUserListDirectLicense", + "service": { + "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService", + "shortName": "UserListDirectLicenseService" + }, + "shortName": "UpdateUserListDirectLicense" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.UpdateUserListDirectLicenseRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.UpdateUserListDirectLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserListDirectLicense", - "client": { - "shortName": "UserListDirectLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseClient" - }, - "method": { - "shortName": "UpdateUserListDirectLicense", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService.UpdateUserListDirectLicense", - "service": { - "shortName": "UserListDirectLicenseService", - "fullName": "google.ads.datamanager.v1.UserListDirectLicenseService" - } - } + "shortName": "UpdateUserListDirectLicense" }, + "description": "UpdateUserListDirectLicense updates a user list direct license.\n\nThis feature is only available to data partners.", + "file": "UserListDirectLicenseClient/UpdateUserListDirectLicense/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListDirectLicenseService_UpdateUserListDirectLicense_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager UpdateUserListDirectLicense Sample" }, { - "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_CreateUserListGlobalLicense_sync", - "title": "datamanager CreateUserListGlobalLicense Sample", - "description": "CreateUserListGlobalLicense creates a user list global license.\n\nThis feature is only available to data partners.", - "file": "UserListGlobalLicenseClient/CreateUserListGlobalLicense/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUserListGlobalLicense", + "client": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient", + "shortName": "UserListGlobalLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient.CreateUserListGlobalLicense", + "method": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.CreateUserListGlobalLicense", + "service": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService", + "shortName": "UserListGlobalLicenseService" + }, + "shortName": "CreateUserListGlobalLicense" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.CreateUserListGlobalLicenseRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.CreateUserListGlobalLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserListGlobalLicense", - "client": { - "shortName": "UserListGlobalLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient" - }, - "method": { - "shortName": "CreateUserListGlobalLicense", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.CreateUserListGlobalLicense", - "service": { - "shortName": "UserListGlobalLicenseService", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService" - } - } + "shortName": "CreateUserListGlobalLicense" }, + "description": "CreateUserListGlobalLicense creates a user list global license.\n\nThis feature is only available to data partners.", + "file": "UserListGlobalLicenseClient/CreateUserListGlobalLicense/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_CreateUserListGlobalLicense_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager CreateUserListGlobalLicense Sample" }, { - "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_GetUserListGlobalLicense_sync", - "title": "datamanager GetUserListGlobalLicense Sample", - "description": "GetUserListGlobalLicense retrieves a user list global license.\n\nThis feature is only available to data partners.", - "file": "UserListGlobalLicenseClient/GetUserListGlobalLicense/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserListGlobalLicense", + "client": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient", + "shortName": "UserListGlobalLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient.GetUserListGlobalLicense", + "method": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.GetUserListGlobalLicense", + "service": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService", + "shortName": "UserListGlobalLicenseService" + }, + "shortName": "GetUserListGlobalLicense" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.GetUserListGlobalLicenseRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.GetUserListGlobalLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserListGlobalLicense", - "client": { - "shortName": "UserListGlobalLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient" - }, - "method": { - "shortName": "GetUserListGlobalLicense", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.GetUserListGlobalLicense", - "service": { - "shortName": "UserListGlobalLicenseService", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService" - } - } + "shortName": "GetUserListGlobalLicense" }, + "description": "GetUserListGlobalLicense retrieves a user list global license.\n\nThis feature is only available to data partners.", + "file": "UserListGlobalLicenseClient/GetUserListGlobalLicense/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_GetUserListGlobalLicense_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager GetUserListGlobalLicense Sample" }, { - "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_ListUserListGlobalLicenseCustomerInfos_sync", - "title": "datamanager ListUserListGlobalLicenseCustomerInfos Sample", - "description": "ListUserListGlobalLicenseCustomerInfos lists all customer info for a user list global license.\n\nThis feature is only available to data partners.", - "file": "UserListGlobalLicenseClient/ListUserListGlobalLicenseCustomerInfos/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserListGlobalLicenseCustomerInfos", + "client": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient", + "shortName": "UserListGlobalLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient.ListUserListGlobalLicenseCustomerInfos", + "method": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.ListUserListGlobalLicenseCustomerInfos", + "service": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService", + "shortName": "UserListGlobalLicenseService" + }, + "shortName": "ListUserListGlobalLicenseCustomerInfos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.ListUserListGlobalLicenseCustomerInfosRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.ListUserListGlobalLicenseCustomerInfosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserListGlobalLicenseCustomerInfoIterator", - "client": { - "shortName": "UserListGlobalLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient" - }, - "method": { - "shortName": "ListUserListGlobalLicenseCustomerInfos", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.ListUserListGlobalLicenseCustomerInfos", - "service": { - "shortName": "UserListGlobalLicenseService", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService" - } - } + "shortName": "ListUserListGlobalLicenseCustomerInfos" }, + "description": "ListUserListGlobalLicenseCustomerInfos lists all customer info for a user list global license.\n\nThis feature is only available to data partners.", + "file": "UserListGlobalLicenseClient/ListUserListGlobalLicenseCustomerInfos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_ListUserListGlobalLicenseCustomerInfos_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager ListUserListGlobalLicenseCustomerInfos Sample" }, { - "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_ListUserListGlobalLicenses_sync", - "title": "datamanager ListUserListGlobalLicenses Sample", - "description": "ListUserListGlobalLicenses lists all user list global licenses owned by the parent account.\n\nThis feature is only available to data partners.", - "file": "UserListGlobalLicenseClient/ListUserListGlobalLicenses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserListGlobalLicenses", + "client": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient", + "shortName": "UserListGlobalLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient.ListUserListGlobalLicenses", + "method": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.ListUserListGlobalLicenses", + "service": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService", + "shortName": "UserListGlobalLicenseService" + }, + "shortName": "ListUserListGlobalLicenses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.ListUserListGlobalLicensesRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.ListUserListGlobalLicensesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserListGlobalLicenseIterator", - "client": { - "shortName": "UserListGlobalLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient" - }, - "method": { - "shortName": "ListUserListGlobalLicenses", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.ListUserListGlobalLicenses", - "service": { - "shortName": "UserListGlobalLicenseService", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService" - } - } + "shortName": "ListUserListGlobalLicenses" }, + "description": "ListUserListGlobalLicenses lists all user list global licenses owned by the parent account.\n\nThis feature is only available to data partners.", + "file": "UserListGlobalLicenseClient/ListUserListGlobalLicenses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_ListUserListGlobalLicenses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager ListUserListGlobalLicenses Sample" }, { - "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_UpdateUserListGlobalLicense_sync", - "title": "datamanager UpdateUserListGlobalLicense Sample", - "description": "UpdateUserListGlobalLicense updates a user list global license.\n\nThis feature is only available to data partners.", - "file": "UserListGlobalLicenseClient/UpdateUserListGlobalLicense/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUserListGlobalLicense", + "client": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient", + "shortName": "UserListGlobalLicenseClient" + }, "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient.UpdateUserListGlobalLicense", + "method": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.UpdateUserListGlobalLicense", + "service": { + "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService", + "shortName": "UserListGlobalLicenseService" + }, + "shortName": "UpdateUserListGlobalLicense" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.UpdateUserListGlobalLicenseRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.UpdateUserListGlobalLicenseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserListGlobalLicense", - "client": { - "shortName": "UserListGlobalLicenseClient", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseClient" - }, - "method": { - "shortName": "UpdateUserListGlobalLicense", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService.UpdateUserListGlobalLicense", - "service": { - "shortName": "UserListGlobalLicenseService", - "fullName": "google.ads.datamanager.v1.UserListGlobalLicenseService" - } - } + "shortName": "UpdateUserListGlobalLicense" }, + "description": "UpdateUserListGlobalLicense updates a user list global license.\n\nThis feature is only available to data partners.", + "file": "UserListGlobalLicenseClient/UpdateUserListGlobalLicense/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListGlobalLicenseService_UpdateUserListGlobalLicense_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager UpdateUserListGlobalLicense Sample" }, { - "regionTag": "datamanager_v1_generated_UserListService_CreateUserList_sync", - "title": "datamanager CreateUserList Sample", - "description": "CreateUserList creates a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "UserListClient/CreateUserList/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUserList", + "client": { + "fullName": "google.ads.datamanager.v1.UserListClient", + "shortName": "UserListClient" + }, "fullName": "google.ads.datamanager.v1.UserListClient.CreateUserList", + "method": { + "fullName": "google.ads.datamanager.v1.UserListService.CreateUserList", + "service": { + "fullName": "google.ads.datamanager.v1.UserListService", + "shortName": "UserListService" + }, + "shortName": "CreateUserList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.CreateUserListRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.CreateUserListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserList", - "client": { - "shortName": "UserListClient", - "fullName": "google.ads.datamanager.v1.UserListClient" - }, - "method": { - "shortName": "CreateUserList", - "fullName": "google.ads.datamanager.v1.UserListService.CreateUserList", - "service": { - "shortName": "UserListService", - "fullName": "google.ads.datamanager.v1.UserListService" - } - } + "shortName": "CreateUserList" }, + "description": "CreateUserList creates a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "UserListClient/CreateUserList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListService_CreateUserList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager CreateUserList Sample" }, { - "regionTag": "datamanager_v1_generated_UserListService_DeleteUserList_sync", - "title": "datamanager DeleteUserList Sample", - "description": "DeleteUserList deletes a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "UserListClient/DeleteUserList/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUserList", + "client": { + "fullName": "google.ads.datamanager.v1.UserListClient", + "shortName": "UserListClient" + }, "fullName": "google.ads.datamanager.v1.UserListClient.DeleteUserList", + "method": { + "fullName": "google.ads.datamanager.v1.UserListService.DeleteUserList", + "service": { + "fullName": "google.ads.datamanager.v1.UserListService", + "shortName": "UserListService" + }, + "shortName": "DeleteUserList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.DeleteUserListRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.DeleteUserListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserListClient", - "fullName": "google.ads.datamanager.v1.UserListClient" - }, - "method": { - "shortName": "DeleteUserList", - "fullName": "google.ads.datamanager.v1.UserListService.DeleteUserList", - "service": { - "shortName": "UserListService", - "fullName": "google.ads.datamanager.v1.UserListService" - } - } + "shortName": "DeleteUserList" }, + "description": "DeleteUserList deletes a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "UserListClient/DeleteUserList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListService_DeleteUserList_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager DeleteUserList Sample" }, { - "regionTag": "datamanager_v1_generated_UserListService_GetUserList_sync", - "title": "datamanager GetUserList Sample", - "description": "GetUserList gets a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "UserListClient/GetUserList/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserList", + "client": { + "fullName": "google.ads.datamanager.v1.UserListClient", + "shortName": "UserListClient" + }, "fullName": "google.ads.datamanager.v1.UserListClient.GetUserList", + "method": { + "fullName": "google.ads.datamanager.v1.UserListService.GetUserList", + "service": { + "fullName": "google.ads.datamanager.v1.UserListService", + "shortName": "UserListService" + }, + "shortName": "GetUserList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.GetUserListRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.GetUserListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserList", - "client": { - "shortName": "UserListClient", - "fullName": "google.ads.datamanager.v1.UserListClient" - }, - "method": { - "shortName": "GetUserList", - "fullName": "google.ads.datamanager.v1.UserListService.GetUserList", - "service": { - "shortName": "UserListService", - "fullName": "google.ads.datamanager.v1.UserListService" - } - } + "shortName": "GetUserList" }, + "description": "GetUserList gets a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "UserListClient/GetUserList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListService_GetUserList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager GetUserList Sample" }, { - "regionTag": "datamanager_v1_generated_UserListService_ListUserLists_sync", - "title": "datamanager ListUserLists Sample", - "description": "ListUserLists lists UserLists.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "UserListClient/ListUserLists/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserLists", + "client": { + "fullName": "google.ads.datamanager.v1.UserListClient", + "shortName": "UserListClient" + }, "fullName": "google.ads.datamanager.v1.UserListClient.ListUserLists", + "method": { + "fullName": "google.ads.datamanager.v1.UserListService.ListUserLists", + "service": { + "fullName": "google.ads.datamanager.v1.UserListService", + "shortName": "UserListService" + }, + "shortName": "ListUserLists" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.ListUserListsRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.ListUserListsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserListIterator", - "client": { - "shortName": "UserListClient", - "fullName": "google.ads.datamanager.v1.UserListClient" - }, - "method": { - "shortName": "ListUserLists", - "fullName": "google.ads.datamanager.v1.UserListService.ListUserLists", - "service": { - "shortName": "UserListService", - "fullName": "google.ads.datamanager.v1.UserListService" - } - } + "shortName": "ListUserLists" }, + "description": "ListUserLists lists UserLists.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "UserListClient/ListUserLists/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListService_ListUserLists_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager ListUserLists Sample" }, { - "regionTag": "datamanager_v1_generated_UserListService_UpdateUserList_sync", - "title": "datamanager UpdateUserList Sample", - "description": "UpdateUserList updates a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", - "file": "UserListClient/UpdateUserList/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUserList", + "client": { + "fullName": "google.ads.datamanager.v1.UserListClient", + "shortName": "UserListClient" + }, "fullName": "google.ads.datamanager.v1.UserListClient.UpdateUserList", + "method": { + "fullName": "google.ads.datamanager.v1.UserListService.UpdateUserList", + "service": { + "fullName": "google.ads.datamanager.v1.UserListService", + "shortName": "UserListService" + }, + "shortName": "UpdateUserList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datamanagerpb.UpdateUserListRequest", - "name": "req" + "name": "req", + "type": "datamanagerpb.UpdateUserListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datamanagerpb.UserList", - "client": { - "shortName": "UserListClient", - "fullName": "google.ads.datamanager.v1.UserListClient" - }, - "method": { - "shortName": "UpdateUserList", - "fullName": "google.ads.datamanager.v1.UserListService.UpdateUserList", - "service": { - "shortName": "UserListService", - "fullName": "google.ads.datamanager.v1.UserListService" - } - } + "shortName": "UpdateUserList" }, + "description": "UpdateUserList updates a UserList.\n\nAuthorization Headers: \n\nThis method supports the following optional headers to define how the API\nauthorizes access for the request: \n\n* `login-account`: (Optional) The resource name of the account where the\nGoogle Account of the credentials is a user. If not set, defaults to the\naccount of the request. Format: \n`accountTypes/{loginAccountType}/accounts/{loginAccountId}`\n* `linked-account`: (Optional) The resource name of the account with an\nestablished product link to the `login-account`. Format: \n`accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "file": "UserListClient/UpdateUserList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datamanager_v1_generated_UserListService_UpdateUserList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datamanager UpdateUserList Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json index afe24fcc3c24..4338a9912687 100644 --- a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json +++ b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json @@ -1,9559 +1,9559 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dataplex/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.cloud.dataplex.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dataplex/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "BusinessGlossaryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "BusinessGlossaryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CreateGlossary_sync", - "title": "dataplex CreateGlossary Sample", - "description": "CreateGlossary creates a new Glossary resource.", - "file": "BusinessGlossaryClient/CreateGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGlossary", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.CreateGlossary", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.CreateGlossary", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "CreateGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateGlossaryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGlossaryOperation", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "CreateGlossary", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.CreateGlossary", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "CreateGlossary" }, + "description": "CreateGlossary creates a new Glossary resource.", + "file": "BusinessGlossaryClient/CreateGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CreateGlossary_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateGlossary Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CreateGlossaryCategory_sync", - "title": "dataplex CreateGlossaryCategory Sample", - "description": "CreateGlossaryCategory creates a new GlossaryCategory resource.", - "file": "BusinessGlossaryClient/CreateGlossaryCategory/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGlossaryCategory", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.CreateGlossaryCategory", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.CreateGlossaryCategory", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "CreateGlossaryCategory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateGlossaryCategoryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateGlossaryCategoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GlossaryCategory", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "CreateGlossaryCategory", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.CreateGlossaryCategory", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "CreateGlossaryCategory" }, + "description": "CreateGlossaryCategory creates a new GlossaryCategory resource.", + "file": "BusinessGlossaryClient/CreateGlossaryCategory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CreateGlossaryCategory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateGlossaryCategory Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CreateGlossaryTerm_sync", - "title": "dataplex CreateGlossaryTerm Sample", - "description": "CreateGlossaryTerm creates a new GlossaryTerm resource.", - "file": "BusinessGlossaryClient/CreateGlossaryTerm/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGlossaryTerm", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.CreateGlossaryTerm", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.CreateGlossaryTerm", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "CreateGlossaryTerm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateGlossaryTermRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateGlossaryTermRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GlossaryTerm", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "CreateGlossaryTerm", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.CreateGlossaryTerm", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "CreateGlossaryTerm" }, + "description": "CreateGlossaryTerm creates a new GlossaryTerm resource.", + "file": "BusinessGlossaryClient/CreateGlossaryTerm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_CreateGlossaryTerm_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateGlossaryTerm Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteGlossary_sync", - "title": "dataplex DeleteGlossary Sample", - "description": "DeleteGlossary deletes a Glossary resource. All the categories and terms within the\nGlossary must be deleted before the Glossary can be deleted.", - "file": "BusinessGlossaryClient/DeleteGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGlossary", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.DeleteGlossary", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.DeleteGlossary", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "DeleteGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteGlossaryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGlossaryOperation", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "DeleteGlossary", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.DeleteGlossary", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "DeleteGlossary" }, + "description": "DeleteGlossary deletes a Glossary resource. All the categories and terms within the\nGlossary must be deleted before the Glossary can be deleted.", + "file": "BusinessGlossaryClient/DeleteGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteGlossary_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteGlossary Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteGlossaryCategory_sync", - "title": "dataplex DeleteGlossaryCategory Sample", - "description": "DeleteGlossaryCategory deletes a GlossaryCategory resource. All the GlossaryCategories and\nGlossaryTerms nested directly under the specified GlossaryCategory will be\nmoved one level up to the parent in the hierarchy.", - "file": "BusinessGlossaryClient/DeleteGlossaryCategory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGlossaryCategory", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.DeleteGlossaryCategory", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.DeleteGlossaryCategory", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "DeleteGlossaryCategory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteGlossaryCategoryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteGlossaryCategoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "DeleteGlossaryCategory", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.DeleteGlossaryCategory", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "DeleteGlossaryCategory" }, + "description": "DeleteGlossaryCategory deletes a GlossaryCategory resource. All the GlossaryCategories and\nGlossaryTerms nested directly under the specified GlossaryCategory will be\nmoved one level up to the parent in the hierarchy.", + "file": "BusinessGlossaryClient/DeleteGlossaryCategory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteGlossaryCategory_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteGlossaryCategory Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteGlossaryTerm_sync", - "title": "dataplex DeleteGlossaryTerm Sample", - "description": "DeleteGlossaryTerm deletes a GlossaryTerm resource.", - "file": "BusinessGlossaryClient/DeleteGlossaryTerm/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGlossaryTerm", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.DeleteGlossaryTerm", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.DeleteGlossaryTerm", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "DeleteGlossaryTerm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteGlossaryTermRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteGlossaryTermRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "DeleteGlossaryTerm", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.DeleteGlossaryTerm", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "DeleteGlossaryTerm" }, + "description": "DeleteGlossaryTerm deletes a GlossaryTerm resource.", + "file": "BusinessGlossaryClient/DeleteGlossaryTerm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteGlossaryTerm_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteGlossaryTerm Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "BusinessGlossaryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "BusinessGlossaryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetGlossary_sync", - "title": "dataplex GetGlossary Sample", - "description": "GetGlossary gets a Glossary resource.", - "file": "BusinessGlossaryClient/GetGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGlossary", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.GetGlossary", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.GetGlossary", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "GetGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetGlossaryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Glossary", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "GetGlossary", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.GetGlossary", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "GetGlossary" }, + "description": "GetGlossary gets a Glossary resource.", + "file": "BusinessGlossaryClient/GetGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetGlossary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetGlossary Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetGlossaryCategory_sync", - "title": "dataplex GetGlossaryCategory Sample", - "description": "GetGlossaryCategory gets a GlossaryCategory resource.", - "file": "BusinessGlossaryClient/GetGlossaryCategory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGlossaryCategory", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.GetGlossaryCategory", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.GetGlossaryCategory", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "GetGlossaryCategory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetGlossaryCategoryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetGlossaryCategoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GlossaryCategory", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "GetGlossaryCategory", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.GetGlossaryCategory", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "GetGlossaryCategory" }, + "description": "GetGlossaryCategory gets a GlossaryCategory resource.", + "file": "BusinessGlossaryClient/GetGlossaryCategory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetGlossaryCategory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetGlossaryCategory Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetGlossaryTerm_sync", - "title": "dataplex GetGlossaryTerm Sample", - "description": "GetGlossaryTerm gets a GlossaryTerm resource.", - "file": "BusinessGlossaryClient/GetGlossaryTerm/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGlossaryTerm", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.GetGlossaryTerm", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.GetGlossaryTerm", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "GetGlossaryTerm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetGlossaryTermRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetGlossaryTermRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GlossaryTerm", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "GetGlossaryTerm", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.GetGlossaryTerm", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "GetGlossaryTerm" }, + "description": "GetGlossaryTerm gets a GlossaryTerm resource.", + "file": "BusinessGlossaryClient/GetGlossaryTerm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetGlossaryTerm_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetGlossaryTerm Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetIamPolicy_sync", - "title": "dataplex 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": "BusinessGlossaryClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "BusinessGlossaryClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "BusinessGlossaryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "BusinessGlossaryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "BusinessGlossaryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "BusinessGlossaryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListGlossaries_sync", - "title": "dataplex ListGlossaries Sample", - "description": "ListGlossaries lists Glossary resources in a project and location.", - "file": "BusinessGlossaryClient/ListGlossaries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGlossaries", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.ListGlossaries", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.ListGlossaries", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "ListGlossaries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListGlossariesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListGlossariesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GlossaryIterator", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "ListGlossaries", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.ListGlossaries", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "ListGlossaries" }, + "description": "ListGlossaries lists Glossary resources in a project and location.", + "file": "BusinessGlossaryClient/ListGlossaries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListGlossaries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListGlossaries Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListGlossaryCategories_sync", - "title": "dataplex ListGlossaryCategories Sample", - "description": "ListGlossaryCategories lists GlossaryCategory resources in a Glossary.", - "file": "BusinessGlossaryClient/ListGlossaryCategories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGlossaryCategories", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.ListGlossaryCategories", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.ListGlossaryCategories", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "ListGlossaryCategories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListGlossaryCategoriesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListGlossaryCategoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GlossaryCategoryIterator", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "ListGlossaryCategories", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.ListGlossaryCategories", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "ListGlossaryCategories" }, + "description": "ListGlossaryCategories lists GlossaryCategory resources in a Glossary.", + "file": "BusinessGlossaryClient/ListGlossaryCategories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListGlossaryCategories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListGlossaryCategories Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListGlossaryTerms_sync", - "title": "dataplex ListGlossaryTerms Sample", - "description": "ListGlossaryTerms lists GlossaryTerm resources in a Glossary.", - "file": "BusinessGlossaryClient/ListGlossaryTerms/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGlossaryTerms", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.ListGlossaryTerms", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.ListGlossaryTerms", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "ListGlossaryTerms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListGlossaryTermsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListGlossaryTermsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GlossaryTermIterator", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "ListGlossaryTerms", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.ListGlossaryTerms", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "ListGlossaryTerms" }, + "description": "ListGlossaryTerms lists GlossaryTerm resources in a Glossary.", + "file": "BusinessGlossaryClient/ListGlossaryTerms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListGlossaryTerms_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListGlossaryTerms Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "BusinessGlossaryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "BusinessGlossaryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "BusinessGlossaryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "BusinessGlossaryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_SetIamPolicy_sync", - "title": "dataplex 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": "BusinessGlossaryClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "BusinessGlossaryClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_TestIamPermissions_sync", - "title": "dataplex 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": "BusinessGlossaryClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "BusinessGlossaryClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_UpdateGlossary_sync", - "title": "dataplex UpdateGlossary Sample", - "description": "UpdateGlossary updates a Glossary resource.", - "file": "BusinessGlossaryClient/UpdateGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGlossary", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.UpdateGlossary", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.UpdateGlossary", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "UpdateGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateGlossaryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGlossaryOperation", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "UpdateGlossary", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.UpdateGlossary", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "UpdateGlossary" }, + "description": "UpdateGlossary updates a Glossary resource.", + "file": "BusinessGlossaryClient/UpdateGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_UpdateGlossary_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateGlossary Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_UpdateGlossaryCategory_sync", - "title": "dataplex UpdateGlossaryCategory Sample", - "description": "UpdateGlossaryCategory updates a GlossaryCategory resource.", - "file": "BusinessGlossaryClient/UpdateGlossaryCategory/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGlossaryCategory", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.UpdateGlossaryCategory", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.UpdateGlossaryCategory", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "UpdateGlossaryCategory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateGlossaryCategoryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateGlossaryCategoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GlossaryCategory", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "UpdateGlossaryCategory", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.UpdateGlossaryCategory", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "UpdateGlossaryCategory" }, + "description": "UpdateGlossaryCategory updates a GlossaryCategory resource.", + "file": "BusinessGlossaryClient/UpdateGlossaryCategory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_UpdateGlossaryCategory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateGlossaryCategory Sample" }, { - "regionTag": "dataplex_v1_generated_BusinessGlossaryService_UpdateGlossaryTerm_sync", - "title": "dataplex UpdateGlossaryTerm Sample", - "description": "UpdateGlossaryTerm updates a GlossaryTerm resource.", - "file": "BusinessGlossaryClient/UpdateGlossaryTerm/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGlossaryTerm", + "client": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient", + "shortName": "BusinessGlossaryClient" + }, "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient.UpdateGlossaryTerm", + "method": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.UpdateGlossaryTerm", + "service": { + "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService", + "shortName": "BusinessGlossaryService" + }, + "shortName": "UpdateGlossaryTerm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateGlossaryTermRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateGlossaryTermRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GlossaryTerm", - "client": { - "shortName": "BusinessGlossaryClient", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryClient" - }, - "method": { - "shortName": "UpdateGlossaryTerm", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService.UpdateGlossaryTerm", - "service": { - "shortName": "BusinessGlossaryService", - "fullName": "google.cloud.dataplex.v1.BusinessGlossaryService" - } - } + "shortName": "UpdateGlossaryTerm" }, + "description": "UpdateGlossaryTerm updates a GlossaryTerm resource.", + "file": "BusinessGlossaryClient/UpdateGlossaryTerm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_BusinessGlossaryService_UpdateGlossaryTerm_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateGlossaryTerm Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CancelMetadataJob_sync", - "title": "dataplex CancelMetadataJob Sample", - "description": "CancelMetadataJob cancels a metadata job.\n\nIf you cancel a metadata import job that is in progress, the changes in the\njob might be partially applied. We recommend that you reset the state of\nthe entry groups in your project by running another metadata job that\nreverts the changes from the canceled job.", - "file": "CatalogClient/CancelMetadataJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelMetadataJob", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CancelMetadataJob", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CancelMetadataJob", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CancelMetadataJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CancelMetadataJobRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CancelMetadataJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CancelMetadataJob", - "fullName": "google.cloud.dataplex.v1.CatalogService.CancelMetadataJob", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CancelMetadataJob" }, + "description": "CancelMetadataJob cancels a metadata job.\n\nIf you cancel a metadata import job that is in progress, the changes in the\njob might be partially applied. We recommend that you reset the state of\nthe entry groups in your project by running another metadata job that\nreverts the changes from the canceled job.", + "file": "CatalogClient/CancelMetadataJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CancelMetadataJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelMetadataJob Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateAspectType_sync", - "title": "dataplex CreateAspectType Sample", - "description": "CreateAspectType creates an AspectType.", - "file": "CatalogClient/CreateAspectType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAspectType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateAspectType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateAspectType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateAspectType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateAspectTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateAspectTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAspectTypeOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateAspectType", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateAspectType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateAspectType" }, + "description": "CreateAspectType creates an AspectType.", + "file": "CatalogClient/CreateAspectType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateAspectType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateAspectType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateEntry_sync", - "title": "dataplex CreateEntry Sample", - "description": "CreateEntry creates an Entry.", - "file": "CatalogClient/CreateEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntry", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateEntry", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntry", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateEntryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entry", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateEntry", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntry", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateEntry" }, + "description": "CreateEntry creates an Entry.", + "file": "CatalogClient/CreateEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateEntry Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateEntryGroup_sync", - "title": "dataplex CreateEntryGroup Sample", - "description": "CreateEntryGroup creates an EntryGroup.", - "file": "CatalogClient/CreateEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntryGroup", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateEntryGroup", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntryGroup", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateEntryGroupRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEntryGroupOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateEntryGroup", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntryGroup", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateEntryGroup" }, + "description": "CreateEntryGroup creates an EntryGroup.", + "file": "CatalogClient/CreateEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateEntryGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateEntryGroup Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateEntryLink_sync", - "title": "dataplex CreateEntryLink Sample", - "description": "CreateEntryLink creates an Entry Link.", - "file": "CatalogClient/CreateEntryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntryLink", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateEntryLink", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntryLink", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateEntryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateEntryLinkRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateEntryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EntryLink", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateEntryLink", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntryLink", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateEntryLink" }, + "description": "CreateEntryLink creates an Entry Link.", + "file": "CatalogClient/CreateEntryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateEntryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateEntryLink Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateEntryType_sync", - "title": "dataplex CreateEntryType Sample", - "description": "CreateEntryType creates an EntryType.", - "file": "CatalogClient/CreateEntryType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntryType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateEntryType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntryType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateEntryType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateEntryTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateEntryTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEntryTypeOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateEntryType", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateEntryType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateEntryType" }, + "description": "CreateEntryType creates an EntryType.", + "file": "CatalogClient/CreateEntryType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateEntryType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateEntryType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateMetadataFeed_sync", - "title": "dataplex CreateMetadataFeed Sample", - "description": "CreateMetadataFeed creates a MetadataFeed.", - "file": "CatalogClient/CreateMetadataFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataFeed", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateMetadataFeed", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateMetadataFeed", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateMetadataFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateMetadataFeedRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateMetadataFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataFeedOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateMetadataFeed", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateMetadataFeed", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateMetadataFeed" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateMetadataFeed creates a MetadataFeed.", + "file": "CatalogClient/CreateMetadataFeed/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateMetadataFeed_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateMetadataFeed Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_CreateMetadataJob_sync", - "title": "dataplex CreateMetadataJob Sample", - "description": "CreateMetadataJob creates a metadata job. For example, use a metadata job to import metadata\nfrom a third-party system into Dataplex Universal Catalog.", - "file": "CatalogClient/CreateMetadataJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataJob", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.CreateMetadataJob", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.CreateMetadataJob", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateMetadataJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateMetadataJobRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateMetadataJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataJobOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "CreateMetadataJob", - "fullName": "google.cloud.dataplex.v1.CatalogService.CreateMetadataJob", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "CreateMetadataJob" }, + "description": "CreateMetadataJob creates a metadata job. For example, use a metadata job to import metadata\nfrom a third-party system into Dataplex Universal Catalog.", + "file": "CatalogClient/CreateMetadataJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_CreateMetadataJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateMetadataJob Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteAspectType_sync", - "title": "dataplex DeleteAspectType Sample", - "description": "DeleteAspectType deletes an AspectType.", - "file": "CatalogClient/DeleteAspectType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAspectType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteAspectType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteAspectType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteAspectType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteAspectTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteAspectTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAspectTypeOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteAspectType", - "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteAspectType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "DeleteAspectType" }, + "description": "DeleteAspectType deletes an AspectType.", + "file": "CatalogClient/DeleteAspectType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteAspectType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteAspectType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntry_sync", - "title": "dataplex DeleteEntry Sample", - "description": "DeleteEntry deletes an Entry.", - "file": "CatalogClient/DeleteEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntry", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteEntry", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntry", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteEntryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entry", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteEntry", - "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntry", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "DeleteEntry" }, + "description": "DeleteEntry deletes an Entry.", + "file": "CatalogClient/DeleteEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteEntry Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntryGroup_sync", - "title": "dataplex DeleteEntryGroup Sample", - "description": "DeleteEntryGroup deletes an EntryGroup.", - "file": "CatalogClient/DeleteEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntryGroup", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteEntryGroup", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntryGroup", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteEntryGroupRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEntryGroupOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteEntryGroup", - "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntryGroup", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "DeleteEntryGroup" }, + "description": "DeleteEntryGroup deletes an EntryGroup.", + "file": "CatalogClient/DeleteEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntryGroup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteEntryGroup Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntryLink_sync", - "title": "dataplex DeleteEntryLink Sample", - "description": "DeleteEntryLink deletes an Entry Link.", - "file": "CatalogClient/DeleteEntryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntryLink", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteEntryLink", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntryLink", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteEntryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteEntryLinkRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteEntryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EntryLink", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteEntryLink", - "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntryLink", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "DeleteEntryLink" }, + "description": "DeleteEntryLink deletes an Entry Link.", + "file": "CatalogClient/DeleteEntryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteEntryLink Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntryType_sync", - "title": "dataplex DeleteEntryType Sample", - "description": "DeleteEntryType deletes an EntryType.", - "file": "CatalogClient/DeleteEntryType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntryType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteEntryType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntryType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteEntryType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteEntryTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteEntryTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEntryTypeOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteEntryType", - "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteEntryType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "DeleteEntryType" }, + "description": "DeleteEntryType deletes an EntryType.", + "file": "CatalogClient/DeleteEntryType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteEntryType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteEntryType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteMetadataFeed_sync", - "title": "dataplex DeleteMetadataFeed Sample", - "description": "DeleteMetadataFeed deletes a MetadataFeed.", - "file": "CatalogClient/DeleteMetadataFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMetadataFeed", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteMetadataFeed", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteMetadataFeed", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteMetadataFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteMetadataFeedRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteMetadataFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMetadataFeedOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteMetadataFeed", - "fullName": "google.cloud.dataplex.v1.CatalogService.DeleteMetadataFeed", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "DeleteMetadataFeed" }, + "description": "DeleteMetadataFeed deletes a MetadataFeed.", + "file": "CatalogClient/DeleteMetadataFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteMetadataFeed_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteMetadataFeed Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetAspectType_sync", - "title": "dataplex GetAspectType Sample", - "description": "GetAspectType gets an AspectType.", - "file": "CatalogClient/GetAspectType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAspectType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetAspectType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetAspectType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetAspectType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetAspectTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetAspectTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.AspectType", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetAspectType", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetAspectType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetAspectType" }, + "description": "GetAspectType gets an AspectType.", + "file": "CatalogClient/GetAspectType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetAspectType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetAspectType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetEntry_sync", - "title": "dataplex GetEntry Sample", - "description": "GetEntry gets an Entry.", - "file": "CatalogClient/GetEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntry", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetEntry", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntry", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetEntryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entry", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetEntry", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntry", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetEntry" }, + "description": "GetEntry gets an Entry.", + "file": "CatalogClient/GetEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetEntry Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetEntryGroup_sync", - "title": "dataplex GetEntryGroup Sample", - "description": "GetEntryGroup gets an EntryGroup.", - "file": "CatalogClient/GetEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntryGroup", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetEntryGroup", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntryGroup", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetEntryGroup" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetEntryGroupRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EntryGroup", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetEntryGroup", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntryGroup", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetEntryGroup" }, + "description": "GetEntryGroup gets an EntryGroup.", + "file": "CatalogClient/GetEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetEntryGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetEntryGroup Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetEntryLink_sync", - "title": "dataplex GetEntryLink Sample", - "description": "GetEntryLink gets an Entry Link.", - "file": "CatalogClient/GetEntryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntryLink", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetEntryLink", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntryLink", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetEntryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetEntryLinkRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetEntryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EntryLink", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetEntryLink", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntryLink", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetEntryLink" }, + "description": "GetEntryLink gets an Entry Link.", + "file": "CatalogClient/GetEntryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetEntryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetEntryLink Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetEntryType_sync", - "title": "dataplex GetEntryType Sample", - "description": "GetEntryType gets an EntryType.", - "file": "CatalogClient/GetEntryType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntryType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetEntryType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntryType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetEntryType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetEntryTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetEntryTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EntryType", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetEntryType", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetEntryType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetEntryType" }, + "description": "GetEntryType gets an EntryType.", + "file": "CatalogClient/GetEntryType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetEntryType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetEntryType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetIamPolicy_sync", - "title": "dataplex 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": "CatalogClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "CatalogClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CatalogClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CatalogClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetMetadataFeed_sync", - "title": "dataplex GetMetadataFeed Sample", - "description": "GetMetadataFeed gets a MetadataFeed.", - "file": "CatalogClient/GetMetadataFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataFeed", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetMetadataFeed", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetMetadataFeed", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetMetadataFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetMetadataFeedRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetMetadataFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.MetadataFeed", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetMetadataFeed", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetMetadataFeed", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetMetadataFeed" }, + "description": "GetMetadataFeed gets a MetadataFeed.", + "file": "CatalogClient/GetMetadataFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetMetadataFeed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetMetadataFeed Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetMetadataJob_sync", - "title": "dataplex GetMetadataJob Sample", - "description": "GetMetadataJob gets a metadata job.", - "file": "CatalogClient/GetMetadataJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataJob", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetMetadataJob", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.GetMetadataJob", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetMetadataJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetMetadataJobRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetMetadataJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.MetadataJob", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetMetadataJob", - "fullName": "google.cloud.dataplex.v1.CatalogService.GetMetadataJob", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "GetMetadataJob" }, + "description": "GetMetadataJob gets a metadata job.", + "file": "CatalogClient/GetMetadataJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetMetadataJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetMetadataJob Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListAspectTypes_sync", - "title": "dataplex ListAspectTypes Sample", - "description": "ListAspectTypes lists AspectType resources in a project and location.", - "file": "CatalogClient/ListAspectTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAspectTypes", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListAspectTypes", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.ListAspectTypes", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListAspectTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListAspectTypesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListAspectTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AspectTypeIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListAspectTypes", - "fullName": "google.cloud.dataplex.v1.CatalogService.ListAspectTypes", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "ListAspectTypes" }, + "description": "ListAspectTypes lists AspectType resources in a project and location.", + "file": "CatalogClient/ListAspectTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListAspectTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListAspectTypes Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListEntries_sync", - "title": "dataplex ListEntries Sample", - "description": "ListEntries lists Entries within an EntryGroup.", - "file": "CatalogClient/ListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntries", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListEntries", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.ListEntries", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListEntriesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListEntries", - "fullName": "google.cloud.dataplex.v1.CatalogService.ListEntries", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "ListEntries" }, + "description": "ListEntries lists Entries within an EntryGroup.", + "file": "CatalogClient/ListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListEntries Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListEntryGroups_sync", - "title": "dataplex ListEntryGroups Sample", - "description": "ListEntryGroups lists EntryGroup resources in a project and location.", - "file": "CatalogClient/ListEntryGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntryGroups", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListEntryGroups", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.ListEntryGroups", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListEntryGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListEntryGroupsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListEntryGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryGroupIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListEntryGroups", - "fullName": "google.cloud.dataplex.v1.CatalogService.ListEntryGroups", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "ListEntryGroups" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListEntryGroups lists EntryGroup resources in a project and location.", + "file": "CatalogClient/ListEntryGroups/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListEntryGroups_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListEntryGroups Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListEntryTypes_sync", - "title": "dataplex ListEntryTypes Sample", - "description": "ListEntryTypes lists EntryType resources in a project and location.", - "file": "CatalogClient/ListEntryTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntryTypes", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListEntryTypes", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.ListEntryTypes", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListEntryTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListEntryTypesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListEntryTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryTypeIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListEntryTypes", - "fullName": "google.cloud.dataplex.v1.CatalogService.ListEntryTypes", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "ListEntryTypes" }, + "description": "ListEntryTypes lists EntryType resources in a project and location.", + "file": "CatalogClient/ListEntryTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListEntryTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListEntryTypes Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "CatalogClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "CatalogClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListMetadataFeeds_sync", - "title": "dataplex ListMetadataFeeds Sample", - "description": "ListMetadataFeeds retrieve a list of MetadataFeeds.", - "file": "CatalogClient/ListMetadataFeeds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataFeeds", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListMetadataFeeds", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.ListMetadataFeeds", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListMetadataFeeds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListMetadataFeedsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListMetadataFeedsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataFeedIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListMetadataFeeds", - "fullName": "google.cloud.dataplex.v1.CatalogService.ListMetadataFeeds", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "ListMetadataFeeds" }, + "description": "ListMetadataFeeds retrieve a list of MetadataFeeds.", + "file": "CatalogClient/ListMetadataFeeds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListMetadataFeeds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListMetadataFeeds Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListMetadataJobs_sync", - "title": "dataplex ListMetadataJobs Sample", - "description": "ListMetadataJobs lists metadata jobs.", - "file": "CatalogClient/ListMetadataJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataJobs", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListMetadataJobs", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.ListMetadataJobs", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListMetadataJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListMetadataJobsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListMetadataJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataJobIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListMetadataJobs", - "fullName": "google.cloud.dataplex.v1.CatalogService.ListMetadataJobs", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "ListMetadataJobs" }, + "description": "ListMetadataJobs lists metadata jobs.", + "file": "CatalogClient/ListMetadataJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListMetadataJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListMetadataJobs Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_LookupContext_sync", - "title": "dataplex LookupContext Sample", - "description": "LookupContext looks up LLM Context for the specified resources.", - "file": "CatalogClient/LookupContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupContext", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.LookupContext", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.LookupContext", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "LookupContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.LookupContextRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.LookupContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.LookupContextResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "LookupContext", - "fullName": "google.cloud.dataplex.v1.CatalogService.LookupContext", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "LookupContext" }, + "description": "LookupContext looks up LLM Context for the specified resources.", + "file": "CatalogClient/LookupContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_LookupContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex LookupContext Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_LookupEntry_sync", - "title": "dataplex LookupEntry Sample", - "description": "LookupEntry looks up an entry by name using the permission on the source system.", - "file": "CatalogClient/LookupEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEntry", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.LookupEntry", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.LookupEntry", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "LookupEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.LookupEntryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.LookupEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entry", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "LookupEntry", - "fullName": "google.cloud.dataplex.v1.CatalogService.LookupEntry", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "LookupEntry" }, + "description": "LookupEntry looks up an entry by name using the permission on the source system.", + "file": "CatalogClient/LookupEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_LookupEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex LookupEntry Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_LookupEntryLinks_sync", - "title": "dataplex LookupEntryLinks Sample", - "description": "LookupEntryLinks looks up Entry Links referencing the specified Entry.", - "file": "CatalogClient/LookupEntryLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEntryLinks", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.LookupEntryLinks", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.LookupEntryLinks", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "LookupEntryLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.LookupEntryLinksRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.LookupEntryLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntryLinkIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "LookupEntryLinks", - "fullName": "google.cloud.dataplex.v1.CatalogService.LookupEntryLinks", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "LookupEntryLinks" }, + "description": "LookupEntryLinks looks up Entry Links referencing the specified Entry.", + "file": "CatalogClient/LookupEntryLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_LookupEntryLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex LookupEntryLinks Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_SearchEntries_sync", - "title": "dataplex SearchEntries Sample", - "description": "SearchEntries searches for Entries matching the given query and scope.", - "file": "CatalogClient/SearchEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchEntries", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.SearchEntries", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.SearchEntries", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "SearchEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.SearchEntriesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.SearchEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchEntriesResultIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "SearchEntries", - "fullName": "google.cloud.dataplex.v1.CatalogService.SearchEntries", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "SearchEntries" }, + "description": "SearchEntries searches for Entries matching the given query and scope.", + "file": "CatalogClient/SearchEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_SearchEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SearchEntries Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_SetIamPolicy_sync", - "title": "dataplex 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": "CatalogClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "CatalogClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_TestIamPermissions_sync", - "title": "dataplex 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": "CatalogClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.TestIamPermissions", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "CatalogClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_UpdateAspectType_sync", - "title": "dataplex UpdateAspectType Sample", - "description": "UpdateAspectType updates an AspectType.", - "file": "CatalogClient/UpdateAspectType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAspectType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.UpdateAspectType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateAspectType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateAspectType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateAspectTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateAspectTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAspectTypeOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "UpdateAspectType", - "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateAspectType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "UpdateAspectType" }, + "description": "UpdateAspectType updates an AspectType.", + "file": "CatalogClient/UpdateAspectType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_UpdateAspectType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateAspectType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntry_sync", - "title": "dataplex UpdateEntry Sample", - "description": "UpdateEntry updates an Entry.", - "file": "CatalogClient/UpdateEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntry", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.UpdateEntry", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntry", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateEntryRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entry", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "UpdateEntry", - "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntry", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "UpdateEntry" }, + "description": "UpdateEntry updates an Entry.", + "file": "CatalogClient/UpdateEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateEntry Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntryGroup_sync", - "title": "dataplex UpdateEntryGroup Sample", - "description": "UpdateEntryGroup updates an EntryGroup.", - "file": "CatalogClient/UpdateEntryGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntryGroup", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.UpdateEntryGroup", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntryGroup", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateEntryGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateEntryGroupRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateEntryGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEntryGroupOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "UpdateEntryGroup", - "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntryGroup", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "UpdateEntryGroup" }, + "description": "UpdateEntryGroup updates an EntryGroup.", + "file": "CatalogClient/UpdateEntryGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntryGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateEntryGroup Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntryLink_sync", - "title": "dataplex UpdateEntryLink Sample", - "description": "UpdateEntryLink updates an Entry Link.", - "file": "CatalogClient/UpdateEntryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntryLink", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.UpdateEntryLink", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntryLink", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateEntryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateEntryLinkRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateEntryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EntryLink", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "UpdateEntryLink", - "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntryLink", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "UpdateEntryLink" }, + "description": "UpdateEntryLink updates an Entry Link.", + "file": "CatalogClient/UpdateEntryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateEntryLink Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntryType_sync", - "title": "dataplex UpdateEntryType Sample", - "description": "UpdateEntryType updates an EntryType.", - "file": "CatalogClient/UpdateEntryType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntryType", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.UpdateEntryType", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntryType", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateEntryType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateEntryTypeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateEntryTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEntryTypeOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "UpdateEntryType", - "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateEntryType", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "UpdateEntryType" }, + "description": "UpdateEntryType updates an EntryType.", + "file": "CatalogClient/UpdateEntryType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_UpdateEntryType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateEntryType Sample" }, { - "regionTag": "dataplex_v1_generated_CatalogService_UpdateMetadataFeed_sync", - "title": "dataplex UpdateMetadataFeed Sample", - "description": "UpdateMetadataFeed updates a MetadataFeed.", - "file": "CatalogClient/UpdateMetadataFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMetadataFeed", + "client": { + "fullName": "google.cloud.dataplex.v1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.dataplex.v1.CatalogClient.UpdateMetadataFeed", + "method": { + "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateMetadataFeed", + "service": { + "fullName": "google.cloud.dataplex.v1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateMetadataFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateMetadataFeedRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateMetadataFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMetadataFeedOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.dataplex.v1.CatalogClient" - }, - "method": { - "shortName": "UpdateMetadataFeed", - "fullName": "google.cloud.dataplex.v1.CatalogService.UpdateMetadataFeed", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.dataplex.v1.CatalogService" - } - } + "shortName": "UpdateMetadataFeed" }, + "description": "UpdateMetadataFeed updates a MetadataFeed.", + "file": "CatalogClient/UpdateMetadataFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CatalogService_UpdateMetadataFeed_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateMetadataFeed Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CmekClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CmekClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_CreateEncryptionConfig_sync", - "title": "dataplex CreateEncryptionConfig Sample", - "description": "CreateEncryptionConfig create an EncryptionConfig.", - "file": "CmekClient/CreateEncryptionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEncryptionConfig", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.CreateEncryptionConfig", + "method": { + "fullName": "google.cloud.dataplex.v1.CmekService.CreateEncryptionConfig", + "service": { + "fullName": "google.cloud.dataplex.v1.CmekService", + "shortName": "CmekService" + }, + "shortName": "CreateEncryptionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateEncryptionConfigRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateEncryptionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEncryptionConfigOperation", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "CreateEncryptionConfig", - "fullName": "google.cloud.dataplex.v1.CmekService.CreateEncryptionConfig", - "service": { - "shortName": "CmekService", - "fullName": "google.cloud.dataplex.v1.CmekService" - } - } + "shortName": "CreateEncryptionConfig" }, + "description": "CreateEncryptionConfig create an EncryptionConfig.", + "file": "CmekClient/CreateEncryptionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_CreateEncryptionConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateEncryptionConfig Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_DeleteEncryptionConfig_sync", - "title": "dataplex DeleteEncryptionConfig Sample", - "description": "DeleteEncryptionConfig delete an EncryptionConfig.", - "file": "CmekClient/DeleteEncryptionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEncryptionConfig", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.DeleteEncryptionConfig", + "method": { + "fullName": "google.cloud.dataplex.v1.CmekService.DeleteEncryptionConfig", + "service": { + "fullName": "google.cloud.dataplex.v1.CmekService", + "shortName": "CmekService" + }, + "shortName": "DeleteEncryptionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteEncryptionConfigRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteEncryptionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEncryptionConfigOperation", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "DeleteEncryptionConfig", - "fullName": "google.cloud.dataplex.v1.CmekService.DeleteEncryptionConfig", - "service": { - "shortName": "CmekService", - "fullName": "google.cloud.dataplex.v1.CmekService" - } - } + "shortName": "DeleteEncryptionConfig" }, + "description": "DeleteEncryptionConfig delete an EncryptionConfig.", + "file": "CmekClient/DeleteEncryptionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_DeleteEncryptionConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteEncryptionConfig Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CmekClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CmekClient/DeleteOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_DeleteOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_GetEncryptionConfig_sync", - "title": "dataplex GetEncryptionConfig Sample", - "description": "GetEncryptionConfig get an EncryptionConfig.", - "file": "CmekClient/GetEncryptionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEncryptionConfig", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.GetEncryptionConfig", + "method": { + "fullName": "google.cloud.dataplex.v1.CmekService.GetEncryptionConfig", + "service": { + "fullName": "google.cloud.dataplex.v1.CmekService", + "shortName": "CmekService" + }, + "shortName": "GetEncryptionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetEncryptionConfigRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetEncryptionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.EncryptionConfig", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "GetEncryptionConfig", - "fullName": "google.cloud.dataplex.v1.CmekService.GetEncryptionConfig", - "service": { - "shortName": "CmekService", - "fullName": "google.cloud.dataplex.v1.CmekService" - } - } + "shortName": "GetEncryptionConfig" }, + "description": "GetEncryptionConfig get an EncryptionConfig.", + "file": "CmekClient/GetEncryptionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_GetEncryptionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetEncryptionConfig Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_GetIamPolicy_sync", - "title": "dataplex 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": "CmekClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "CmekClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CmekClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CmekClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CmekClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CmekClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_ListEncryptionConfigs_sync", - "title": "dataplex ListEncryptionConfigs Sample", - "description": "ListEncryptionConfigs list EncryptionConfigs.", - "file": "CmekClient/ListEncryptionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEncryptionConfigs", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.ListEncryptionConfigs", + "method": { + "fullName": "google.cloud.dataplex.v1.CmekService.ListEncryptionConfigs", + "service": { + "fullName": "google.cloud.dataplex.v1.CmekService", + "shortName": "CmekService" + }, + "shortName": "ListEncryptionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListEncryptionConfigsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListEncryptionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EncryptionConfigIterator", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "ListEncryptionConfigs", - "fullName": "google.cloud.dataplex.v1.CmekService.ListEncryptionConfigs", - "service": { - "shortName": "CmekService", - "fullName": "google.cloud.dataplex.v1.CmekService" - } - } + "shortName": "ListEncryptionConfigs" }, + "description": "ListEncryptionConfigs list EncryptionConfigs.", + "file": "CmekClient/ListEncryptionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_ListEncryptionConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListEncryptionConfigs Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "CmekClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "CmekClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CmekClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CmekClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_SetIamPolicy_sync", - "title": "dataplex 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": "CmekClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "CmekClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_TestIamPermissions_sync", - "title": "dataplex 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": "CmekClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "CmekClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_CmekService_UpdateEncryptionConfig_sync", - "title": "dataplex UpdateEncryptionConfig Sample", - "description": "UpdateEncryptionConfig update an EncryptionConfig.", - "file": "CmekClient/UpdateEncryptionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEncryptionConfig", + "client": { + "fullName": "google.cloud.dataplex.v1.CmekClient", + "shortName": "CmekClient" + }, "fullName": "google.cloud.dataplex.v1.CmekClient.UpdateEncryptionConfig", + "method": { + "fullName": "google.cloud.dataplex.v1.CmekService.UpdateEncryptionConfig", + "service": { + "fullName": "google.cloud.dataplex.v1.CmekService", + "shortName": "CmekService" + }, + "shortName": "UpdateEncryptionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateEncryptionConfigRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateEncryptionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEncryptionConfigOperation", - "client": { - "shortName": "CmekClient", - "fullName": "google.cloud.dataplex.v1.CmekClient" - }, - "method": { - "shortName": "UpdateEncryptionConfig", - "fullName": "google.cloud.dataplex.v1.CmekService.UpdateEncryptionConfig", - "service": { - "shortName": "CmekService", - "fullName": "google.cloud.dataplex.v1.CmekService" - } - } + "shortName": "UpdateEncryptionConfig" }, + "description": "UpdateEncryptionConfig update an EncryptionConfig.", + "file": "CmekClient/UpdateEncryptionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_CmekService_UpdateEncryptionConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateEncryptionConfig Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ContentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ContentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ContentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ContentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_GetIamPolicy_sync", - "title": "dataplex 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": "ContentClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ContentClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ContentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ContentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ContentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ContentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "ContentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "ContentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ContentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ContentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_SetIamPolicy_sync", - "title": "dataplex 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": "ContentClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ContentClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_ContentService_TestIamPermissions_sync", - "title": "dataplex 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": "ContentClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.ContentClient", + "shortName": "ContentClient" + }, "fullName": "google.cloud.dataplex.v1.ContentClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ContentClient", - "fullName": "google.cloud.dataplex.v1.ContentClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ContentClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_ContentService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataProductClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataProductClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_CreateDataAsset_sync", - "title": "dataplex CreateDataAsset Sample", - "description": "CreateDataAsset creates a data asset.", - "file": "DataProductClient/CreateDataAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.CreateDataAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.CreateDataAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "CreateDataAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateDataAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateDataAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataAssetOperation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "CreateDataAsset", - "fullName": "google.cloud.dataplex.v1.DataProductService.CreateDataAsset", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "CreateDataAsset" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateDataAsset creates a data asset.", + "file": "DataProductClient/CreateDataAsset/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_CreateDataAsset_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateDataAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_CreateDataProduct_sync", - "title": "dataplex CreateDataProduct Sample", - "description": "CreateDataProduct creates a data product.", - "file": "DataProductClient/CreateDataProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataProduct", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.CreateDataProduct", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.CreateDataProduct", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "CreateDataProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateDataProductRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateDataProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataProductOperation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "CreateDataProduct", - "fullName": "google.cloud.dataplex.v1.DataProductService.CreateDataProduct", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "CreateDataProduct" }, + "description": "CreateDataProduct creates a data product.", + "file": "DataProductClient/CreateDataProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_CreateDataProduct_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateDataProduct Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_DeleteDataAsset_sync", - "title": "dataplex DeleteDataAsset Sample", - "description": "DeleteDataAsset deletes a data asset.", - "file": "DataProductClient/DeleteDataAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.DeleteDataAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.DeleteDataAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "DeleteDataAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteDataAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteDataAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataAssetOperation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "DeleteDataAsset", - "fullName": "google.cloud.dataplex.v1.DataProductService.DeleteDataAsset", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "DeleteDataAsset" }, + "description": "DeleteDataAsset deletes a data asset.", + "file": "DataProductClient/DeleteDataAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_DeleteDataAsset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteDataAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_DeleteDataProduct_sync", - "title": "dataplex DeleteDataProduct Sample", - "description": "DeleteDataProduct deletes a data product. The deletion will fail if the data product is not\nempty (i.e. contains at least one data asset).", - "file": "DataProductClient/DeleteDataProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataProduct", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.DeleteDataProduct", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.DeleteDataProduct", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "DeleteDataProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteDataProductRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteDataProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataProductOperation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "DeleteDataProduct", - "fullName": "google.cloud.dataplex.v1.DataProductService.DeleteDataProduct", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "DeleteDataProduct" }, + "description": "DeleteDataProduct deletes a data product. The deletion will fail if the data product is not\nempty (i.e. contains at least one data asset).", + "file": "DataProductClient/DeleteDataProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_DeleteDataProduct_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteDataProduct Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataProductClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataProductClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_GetDataAsset_sync", - "title": "dataplex GetDataAsset Sample", - "description": "GetDataAsset gets a data asset.", - "file": "DataProductClient/GetDataAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.GetDataAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.GetDataAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "GetDataAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataAsset", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "GetDataAsset", - "fullName": "google.cloud.dataplex.v1.DataProductService.GetDataAsset", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "GetDataAsset" }, + "description": "GetDataAsset gets a data asset.", + "file": "DataProductClient/GetDataAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_GetDataAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_GetDataProduct_sync", - "title": "dataplex GetDataProduct Sample", - "description": "GetDataProduct gets a data product.", - "file": "DataProductClient/GetDataProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataProduct", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.GetDataProduct", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.GetDataProduct", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "GetDataProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataProductRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataProduct", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "GetDataProduct", - "fullName": "google.cloud.dataplex.v1.DataProductService.GetDataProduct", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "GetDataProduct" }, + "description": "GetDataProduct gets a data product.", + "file": "DataProductClient/GetDataProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_GetDataProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataProduct Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_GetIamPolicy_sync", - "title": "dataplex 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": "DataProductClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataProductClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataProductClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataProductClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataProductClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataProductClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_ListDataAssets_sync", - "title": "dataplex ListDataAssets Sample", - "description": "ListDataAssets lists data assets for a given data product.", - "file": "DataProductClient/ListDataAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataAssets", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.ListDataAssets", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.ListDataAssets", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "ListDataAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataAssetsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAssetIterator", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "ListDataAssets", - "fullName": "google.cloud.dataplex.v1.DataProductService.ListDataAssets", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "ListDataAssets" }, + "description": "ListDataAssets lists data assets for a given data product.", + "file": "DataProductClient/ListDataAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_ListDataAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataAssets Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_ListDataProducts_sync", - "title": "dataplex ListDataProducts Sample", - "description": "ListDataProducts lists data products for a given project.", - "file": "DataProductClient/ListDataProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataProducts", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.ListDataProducts", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.ListDataProducts", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "ListDataProducts" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataProductsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataProductIterator", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "ListDataProducts", - "fullName": "google.cloud.dataplex.v1.DataProductService.ListDataProducts", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "ListDataProducts" }, + "description": "ListDataProducts lists data products for a given project.", + "file": "DataProductClient/ListDataProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_ListDataProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataProducts Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataProductClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataProductClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataProductClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataProductClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_SetIamPolicy_sync", - "title": "dataplex 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": "DataProductClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataProductClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_TestIamPermissions_sync", - "title": "dataplex 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": "DataProductClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataProductClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_UpdateDataAsset_sync", - "title": "dataplex UpdateDataAsset Sample", - "description": "UpdateDataAsset updates a data asset.", - "file": "DataProductClient/UpdateDataAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.UpdateDataAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.UpdateDataAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "UpdateDataAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateDataAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateDataAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataAssetOperation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "UpdateDataAsset", - "fullName": "google.cloud.dataplex.v1.DataProductService.UpdateDataAsset", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "UpdateDataAsset" }, + "description": "UpdateDataAsset updates a data asset.", + "file": "DataProductClient/UpdateDataAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_UpdateDataAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateDataAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataProductService_UpdateDataProduct_sync", - "title": "dataplex UpdateDataProduct Sample", - "description": "UpdateDataProduct updates a data product.", - "file": "DataProductClient/UpdateDataProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataProduct", + "client": { + "fullName": "google.cloud.dataplex.v1.DataProductClient", + "shortName": "DataProductClient" + }, "fullName": "google.cloud.dataplex.v1.DataProductClient.UpdateDataProduct", + "method": { + "fullName": "google.cloud.dataplex.v1.DataProductService.UpdateDataProduct", + "service": { + "fullName": "google.cloud.dataplex.v1.DataProductService", + "shortName": "DataProductService" + }, + "shortName": "UpdateDataProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateDataProductRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateDataProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataProductOperation", - "client": { - "shortName": "DataProductClient", - "fullName": "google.cloud.dataplex.v1.DataProductClient" - }, - "method": { - "shortName": "UpdateDataProduct", - "fullName": "google.cloud.dataplex.v1.DataProductService.UpdateDataProduct", - "service": { - "shortName": "DataProductService", - "fullName": "google.cloud.dataplex.v1.DataProductService" - } - } + "shortName": "UpdateDataProduct" }, + "description": "UpdateDataProduct updates a data product.", + "file": "DataProductClient/UpdateDataProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataProductService_UpdateDataProduct_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateDataProduct Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataScanClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataScanClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_CreateDataScan_sync", - "title": "dataplex CreateDataScan Sample", - "description": "CreateDataScan creates a DataScan resource.", - "file": "DataScanClient/CreateDataScan/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataScan", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.CreateDataScan", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.CreateDataScan", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "CreateDataScan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateDataScanRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateDataScanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataScanOperation", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "CreateDataScan", - "fullName": "google.cloud.dataplex.v1.DataScanService.CreateDataScan", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "CreateDataScan" }, + "description": "CreateDataScan creates a DataScan resource.", + "file": "DataScanClient/CreateDataScan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_CreateDataScan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateDataScan Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_DeleteDataScan_sync", - "title": "dataplex DeleteDataScan Sample", - "description": "DeleteDataScan deletes a DataScan resource.", - "file": "DataScanClient/DeleteDataScan/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataScan", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.DeleteDataScan", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.DeleteDataScan", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "DeleteDataScan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteDataScanRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteDataScanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataScanOperation", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "DeleteDataScan", - "fullName": "google.cloud.dataplex.v1.DataScanService.DeleteDataScan", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "DeleteDataScan" }, + "description": "DeleteDataScan deletes a DataScan resource.", + "file": "DataScanClient/DeleteDataScan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_DeleteDataScan_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteDataScan Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataScanClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataScanClient/DeleteOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_DeleteOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_GenerateDataQualityRules_sync", - "title": "dataplex GenerateDataQualityRules Sample", - "description": "GenerateDataQualityRules generates recommended data quality rules based on the results of a data\nprofiling scan.\n\nUse the recommendations to build rules for a data quality scan.", - "file": "DataScanClient/GenerateDataQualityRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateDataQualityRules", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.GenerateDataQualityRules", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.GenerateDataQualityRules", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "GenerateDataQualityRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GenerateDataQualityRulesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GenerateDataQualityRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.GenerateDataQualityRulesResponse", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "GenerateDataQualityRules", - "fullName": "google.cloud.dataplex.v1.DataScanService.GenerateDataQualityRules", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "GenerateDataQualityRules" }, + "description": "GenerateDataQualityRules generates recommended data quality rules based on the results of a data\nprofiling scan.\n\nUse the recommendations to build rules for a data quality scan.", + "file": "DataScanClient/GenerateDataQualityRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_GenerateDataQualityRules_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GenerateDataQualityRules Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_GetDataScan_sync", - "title": "dataplex GetDataScan Sample", - "description": "GetDataScan gets a DataScan resource.", - "file": "DataScanClient/GetDataScan/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataScan", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.GetDataScan", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.GetDataScan", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "GetDataScan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataScanRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataScanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataScan", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "GetDataScan", - "fullName": "google.cloud.dataplex.v1.DataScanService.GetDataScan", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "GetDataScan" }, + "description": "GetDataScan gets a DataScan resource.", + "file": "DataScanClient/GetDataScan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_GetDataScan_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataScan Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_GetDataScanJob_sync", - "title": "dataplex GetDataScanJob Sample", - "description": "GetDataScanJob gets a DataScanJob resource.", - "file": "DataScanClient/GetDataScanJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataScanJob", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.GetDataScanJob", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.GetDataScanJob", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "GetDataScanJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataScanJobRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataScanJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataScanJob", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "GetDataScanJob", - "fullName": "google.cloud.dataplex.v1.DataScanService.GetDataScanJob", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "GetDataScanJob" }, + "description": "GetDataScanJob gets a DataScanJob resource.", + "file": "DataScanClient/GetDataScanJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_GetDataScanJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataScanJob Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_GetIamPolicy_sync", - "title": "dataplex 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": "DataScanClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataScanClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataScanClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataScanClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataScanClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataScanClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_ListDataScanJobs_sync", - "title": "dataplex ListDataScanJobs Sample", - "description": "ListDataScanJobs lists DataScanJobs under the given DataScan.", - "file": "DataScanClient/ListDataScanJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataScanJobs", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.ListDataScanJobs", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.ListDataScanJobs", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "ListDataScanJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataScanJobsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataScanJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataScanJobIterator", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "ListDataScanJobs", - "fullName": "google.cloud.dataplex.v1.DataScanService.ListDataScanJobs", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "ListDataScanJobs" }, + "description": "ListDataScanJobs lists DataScanJobs under the given DataScan.", + "file": "DataScanClient/ListDataScanJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_ListDataScanJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataScanJobs Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_ListDataScans_sync", - "title": "dataplex ListDataScans Sample", - "description": "ListDataScans lists DataScans.", - "file": "DataScanClient/ListDataScans/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataScans", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.ListDataScans", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.ListDataScans", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "ListDataScans" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataScansRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataScansRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataScanIterator", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "ListDataScans", - "fullName": "google.cloud.dataplex.v1.DataScanService.ListDataScans", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "ListDataScans" }, + "description": "ListDataScans lists DataScans.", + "file": "DataScanClient/ListDataScans/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_ListDataScans_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataScans Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataScanClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataScanClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataScanClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataScanClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_RunDataScan_sync", - "title": "dataplex RunDataScan Sample", - "description": "RunDataScan runs an on-demand execution of a DataScan", - "file": "DataScanClient/RunDataScan/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunDataScan", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.RunDataScan", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.RunDataScan", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "RunDataScan" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.RunDataScanRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.RunDataScanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.RunDataScanResponse", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "RunDataScan", - "fullName": "google.cloud.dataplex.v1.DataScanService.RunDataScan", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "RunDataScan" }, + "description": "RunDataScan runs an on-demand execution of a DataScan", + "file": "DataScanClient/RunDataScan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_RunDataScan_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex RunDataScan Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_SetIamPolicy_sync", - "title": "dataplex 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": "DataScanClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataScanClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_TestIamPermissions_sync", - "title": "dataplex 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": "DataScanClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataScanClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_DataScanService_UpdateDataScan_sync", - "title": "dataplex UpdateDataScan Sample", - "description": "UpdateDataScan updates a DataScan resource.", - "file": "DataScanClient/UpdateDataScan/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataScan", + "client": { + "fullName": "google.cloud.dataplex.v1.DataScanClient", + "shortName": "DataScanClient" + }, "fullName": "google.cloud.dataplex.v1.DataScanClient.UpdateDataScan", + "method": { + "fullName": "google.cloud.dataplex.v1.DataScanService.UpdateDataScan", + "service": { + "fullName": "google.cloud.dataplex.v1.DataScanService", + "shortName": "DataScanService" + }, + "shortName": "UpdateDataScan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateDataScanRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateDataScanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataScanOperation", - "client": { - "shortName": "DataScanClient", - "fullName": "google.cloud.dataplex.v1.DataScanClient" - }, - "method": { - "shortName": "UpdateDataScan", - "fullName": "google.cloud.dataplex.v1.DataScanService.UpdateDataScan", - "service": { - "shortName": "DataScanService", - "fullName": "google.cloud.dataplex.v1.DataScanService" - } - } + "shortName": "UpdateDataScan" }, + "description": "UpdateDataScan updates a DataScan resource.", + "file": "DataScanClient/UpdateDataScan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataScanService_UpdateDataScan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateDataScan Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataTaxonomyClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataTaxonomyClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_CreateDataAttribute_sync", - "title": "dataplex CreateDataAttribute Sample", - "description": "CreateDataAttribute create a DataAttribute resource.\n\n\nDeprecated: CreateDataAttribute may be removed in a future version.", - "file": "DataTaxonomyClient/CreateDataAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAttribute", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.CreateDataAttribute", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataAttribute", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "CreateDataAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateDataAttributeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateDataAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataAttributeOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "CreateDataAttribute", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataAttribute", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "CreateDataAttribute" }, + "description": "CreateDataAttribute create a DataAttribute resource.\n\n\nDeprecated: CreateDataAttribute may be removed in a future version.", + "file": "DataTaxonomyClient/CreateDataAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_CreateDataAttribute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateDataAttribute Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_CreateDataAttributeBinding_sync", - "title": "dataplex CreateDataAttributeBinding Sample", - "description": "CreateDataAttributeBinding create a DataAttributeBinding resource.\n\n\nDeprecated: CreateDataAttributeBinding may be removed in a future version.", - "file": "DataTaxonomyClient/CreateDataAttributeBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAttributeBinding", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.CreateDataAttributeBinding", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataAttributeBinding", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "CreateDataAttributeBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateDataAttributeBindingRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateDataAttributeBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataAttributeBindingOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "CreateDataAttributeBinding", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataAttributeBinding", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "CreateDataAttributeBinding" }, + "description": "CreateDataAttributeBinding create a DataAttributeBinding resource.\n\n\nDeprecated: CreateDataAttributeBinding may be removed in a future version.", + "file": "DataTaxonomyClient/CreateDataAttributeBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_CreateDataAttributeBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateDataAttributeBinding Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_CreateDataTaxonomy_sync", - "title": "dataplex CreateDataTaxonomy Sample", - "description": "CreateDataTaxonomy create a DataTaxonomy resource.\n\n\nDeprecated: CreateDataTaxonomy may be removed in a future version.", - "file": "DataTaxonomyClient/CreateDataTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataTaxonomy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.CreateDataTaxonomy", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataTaxonomy", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "CreateDataTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateDataTaxonomyRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateDataTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataTaxonomyOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "CreateDataTaxonomy", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataTaxonomy", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "CreateDataTaxonomy" }, + "description": "CreateDataTaxonomy create a DataTaxonomy resource.\n\n\nDeprecated: CreateDataTaxonomy may be removed in a future version.", + "file": "DataTaxonomyClient/CreateDataTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_CreateDataTaxonomy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateDataTaxonomy Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteDataAttribute_sync", - "title": "dataplex DeleteDataAttribute Sample", - "description": "DeleteDataAttribute deletes a Data Attribute resource.\n\n\nDeprecated: DeleteDataAttribute may be removed in a future version.", - "file": "DataTaxonomyClient/DeleteDataAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAttribute", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.DeleteDataAttribute", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataAttribute", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "DeleteDataAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteDataAttributeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteDataAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataAttributeOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "DeleteDataAttribute", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataAttribute", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "DeleteDataAttribute" }, + "description": "DeleteDataAttribute deletes a Data Attribute resource.\n\n\nDeprecated: DeleteDataAttribute may be removed in a future version.", + "file": "DataTaxonomyClient/DeleteDataAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteDataAttribute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteDataAttribute Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteDataAttributeBinding_sync", - "title": "dataplex DeleteDataAttributeBinding Sample", - "description": "DeleteDataAttributeBinding deletes a DataAttributeBinding resource. All attributes within the\nDataAttributeBinding must be deleted before the DataAttributeBinding can be\ndeleted.\n\n\nDeprecated: DeleteDataAttributeBinding may be removed in a future version.", - "file": "DataTaxonomyClient/DeleteDataAttributeBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAttributeBinding", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.DeleteDataAttributeBinding", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataAttributeBinding", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "DeleteDataAttributeBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteDataAttributeBindingRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteDataAttributeBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataAttributeBindingOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "DeleteDataAttributeBinding", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataAttributeBinding", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "DeleteDataAttributeBinding" }, + "description": "DeleteDataAttributeBinding deletes a DataAttributeBinding resource. All attributes within the\nDataAttributeBinding must be deleted before the DataAttributeBinding can be\ndeleted.\n\n\nDeprecated: DeleteDataAttributeBinding may be removed in a future version.", + "file": "DataTaxonomyClient/DeleteDataAttributeBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteDataAttributeBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteDataAttributeBinding Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteDataTaxonomy_sync", - "title": "dataplex DeleteDataTaxonomy Sample", - "description": "DeleteDataTaxonomy deletes a DataTaxonomy resource. All attributes within the DataTaxonomy\nmust be deleted before the DataTaxonomy can be deleted.\n\n\nDeprecated: DeleteDataTaxonomy may be removed in a future version.", - "file": "DataTaxonomyClient/DeleteDataTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataTaxonomy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.DeleteDataTaxonomy", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataTaxonomy", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "DeleteDataTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteDataTaxonomyRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteDataTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataTaxonomyOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "DeleteDataTaxonomy", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataTaxonomy", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "DeleteDataTaxonomy" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteDataTaxonomy deletes a DataTaxonomy resource. All attributes within the DataTaxonomy\nmust be deleted before the DataTaxonomy can be deleted.\n\n\nDeprecated: DeleteDataTaxonomy may be removed in a future version.", + "file": "DataTaxonomyClient/DeleteDataTaxonomy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteDataTaxonomy_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteDataTaxonomy Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataTaxonomyClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataTaxonomyClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetDataAttribute_sync", - "title": "dataplex GetDataAttribute Sample", - "description": "GetDataAttribute retrieves a Data Attribute resource.\n\n\nDeprecated: GetDataAttribute may be removed in a future version.", - "file": "DataTaxonomyClient/GetDataAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataAttribute", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.GetDataAttribute", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataAttribute", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "GetDataAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataAttributeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataAttribute", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "GetDataAttribute", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataAttribute", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "GetDataAttribute" }, + "description": "GetDataAttribute retrieves a Data Attribute resource.\n\n\nDeprecated: GetDataAttribute may be removed in a future version.", + "file": "DataTaxonomyClient/GetDataAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetDataAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataAttribute Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetDataAttributeBinding_sync", - "title": "dataplex GetDataAttributeBinding Sample", - "description": "GetDataAttributeBinding retrieves a DataAttributeBinding resource.\n\n\nDeprecated: GetDataAttributeBinding may be removed in a future version.", - "file": "DataTaxonomyClient/GetDataAttributeBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataAttributeBinding", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.GetDataAttributeBinding", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataAttributeBinding", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "GetDataAttributeBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataAttributeBindingRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataAttributeBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataAttributeBinding", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "GetDataAttributeBinding", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataAttributeBinding", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "GetDataAttributeBinding" }, + "description": "GetDataAttributeBinding retrieves a DataAttributeBinding resource.\n\n\nDeprecated: GetDataAttributeBinding may be removed in a future version.", + "file": "DataTaxonomyClient/GetDataAttributeBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetDataAttributeBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataAttributeBinding Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetDataTaxonomy_sync", - "title": "dataplex GetDataTaxonomy Sample", - "description": "GetDataTaxonomy retrieves a DataTaxonomy resource.\n\n\nDeprecated: GetDataTaxonomy may be removed in a future version.", - "file": "DataTaxonomyClient/GetDataTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataTaxonomy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.GetDataTaxonomy", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataTaxonomy", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "GetDataTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetDataTaxonomyRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetDataTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.DataTaxonomy", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "GetDataTaxonomy", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataTaxonomy", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "GetDataTaxonomy" }, + "description": "GetDataTaxonomy retrieves a DataTaxonomy resource.\n\n\nDeprecated: GetDataTaxonomy may be removed in a future version.", + "file": "DataTaxonomyClient/GetDataTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetDataTaxonomy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetDataTaxonomy Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetIamPolicy_sync", - "title": "dataplex 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": "DataTaxonomyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataTaxonomyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataTaxonomyClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataTaxonomyClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataTaxonomyClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataTaxonomyClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListDataAttributeBindings_sync", - "title": "dataplex ListDataAttributeBindings Sample", - "description": "ListDataAttributeBindings lists DataAttributeBinding resources in a project and location.\n\n\nDeprecated: ListDataAttributeBindings may be removed in a future version.", - "file": "DataTaxonomyClient/ListDataAttributeBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataAttributeBindings", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.ListDataAttributeBindings", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataAttributeBindings", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "ListDataAttributeBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataAttributeBindingsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataAttributeBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAttributeBindingIterator", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "ListDataAttributeBindings", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataAttributeBindings", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "ListDataAttributeBindings" }, + "description": "ListDataAttributeBindings lists DataAttributeBinding resources in a project and location.\n\n\nDeprecated: ListDataAttributeBindings may be removed in a future version.", + "file": "DataTaxonomyClient/ListDataAttributeBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListDataAttributeBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataAttributeBindings Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListDataAttributes_sync", - "title": "dataplex ListDataAttributes Sample", - "description": "ListDataAttributes lists Data Attribute resources in a DataTaxonomy.\n\n\nDeprecated: ListDataAttributes may be removed in a future version.", - "file": "DataTaxonomyClient/ListDataAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataAttributes", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.ListDataAttributes", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataAttributes", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "ListDataAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataAttributesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataAttributesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAttributeIterator", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "ListDataAttributes", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataAttributes", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "ListDataAttributes" }, + "description": "ListDataAttributes lists Data Attribute resources in a DataTaxonomy.\n\n\nDeprecated: ListDataAttributes may be removed in a future version.", + "file": "DataTaxonomyClient/ListDataAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListDataAttributes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataAttributes Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListDataTaxonomies_sync", - "title": "dataplex ListDataTaxonomies Sample", - "description": "ListDataTaxonomies lists DataTaxonomy resources in a project and location.\n\n\nDeprecated: ListDataTaxonomies may be removed in a future version.", - "file": "DataTaxonomyClient/ListDataTaxonomies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataTaxonomies", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.ListDataTaxonomies", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataTaxonomies", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "ListDataTaxonomies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListDataTaxonomiesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListDataTaxonomiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataTaxonomyIterator", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "ListDataTaxonomies", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataTaxonomies", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "ListDataTaxonomies" }, + "description": "ListDataTaxonomies lists DataTaxonomy resources in a project and location.\n\n\nDeprecated: ListDataTaxonomies may be removed in a future version.", + "file": "DataTaxonomyClient/ListDataTaxonomies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListDataTaxonomies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListDataTaxonomies Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataTaxonomyClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.ListLocations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataTaxonomyClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataTaxonomyClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataTaxonomyClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_SetIamPolicy_sync", - "title": "dataplex 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": "DataTaxonomyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataTaxonomyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_TestIamPermissions_sync", - "title": "dataplex 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": "DataTaxonomyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataTaxonomyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_UpdateDataAttribute_sync", - "title": "dataplex UpdateDataAttribute Sample", - "description": "UpdateDataAttribute updates a DataAttribute resource.\n\n\nDeprecated: UpdateDataAttribute may be removed in a future version.", - "file": "DataTaxonomyClient/UpdateDataAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAttribute", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.UpdateDataAttribute", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataAttribute", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "UpdateDataAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateDataAttributeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateDataAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataAttributeOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "UpdateDataAttribute", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataAttribute", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "UpdateDataAttribute" }, + "description": "UpdateDataAttribute updates a DataAttribute resource.\n\n\nDeprecated: UpdateDataAttribute may be removed in a future version.", + "file": "DataTaxonomyClient/UpdateDataAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_UpdateDataAttribute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateDataAttribute Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_UpdateDataAttributeBinding_sync", - "title": "dataplex UpdateDataAttributeBinding Sample", - "description": "UpdateDataAttributeBinding updates a DataAttributeBinding resource.\n\n\nDeprecated: UpdateDataAttributeBinding may be removed in a future version.", - "file": "DataTaxonomyClient/UpdateDataAttributeBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAttributeBinding", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.UpdateDataAttributeBinding", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataAttributeBinding", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "UpdateDataAttributeBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateDataAttributeBindingRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateDataAttributeBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataAttributeBindingOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "UpdateDataAttributeBinding", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataAttributeBinding", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "UpdateDataAttributeBinding" }, + "description": "UpdateDataAttributeBinding updates a DataAttributeBinding resource.\n\n\nDeprecated: UpdateDataAttributeBinding may be removed in a future version.", + "file": "DataTaxonomyClient/UpdateDataAttributeBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_UpdateDataAttributeBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateDataAttributeBinding Sample" }, { - "regionTag": "dataplex_v1_generated_DataTaxonomyService_UpdateDataTaxonomy_sync", - "title": "dataplex UpdateDataTaxonomy Sample", - "description": "UpdateDataTaxonomy updates a DataTaxonomy resource.\n\n\nDeprecated: UpdateDataTaxonomy may be removed in a future version.", - "file": "DataTaxonomyClient/UpdateDataTaxonomy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataTaxonomy", + "client": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient", + "shortName": "DataTaxonomyClient" + }, "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient.UpdateDataTaxonomy", + "method": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataTaxonomy", + "service": { + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "shortName": "DataTaxonomyService" + }, + "shortName": "UpdateDataTaxonomy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateDataTaxonomyRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateDataTaxonomyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataTaxonomyOperation", - "client": { - "shortName": "DataTaxonomyClient", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyClient" - }, - "method": { - "shortName": "UpdateDataTaxonomy", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataTaxonomy", - "service": { - "shortName": "DataTaxonomyService", - "fullName": "google.cloud.dataplex.v1.DataTaxonomyService" - } - } + "shortName": "UpdateDataTaxonomy" }, + "description": "UpdateDataTaxonomy updates a DataTaxonomy resource.\n\n\nDeprecated: UpdateDataTaxonomy may be removed in a future version.", + "file": "DataTaxonomyClient/UpdateDataTaxonomy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataTaxonomyService_UpdateDataTaxonomy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateDataTaxonomy Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_CancelJob_sync", - "title": "dataplex CancelJob Sample", - "description": "CancelJob cancel jobs running for the task resource.", - "file": "Client/CancelJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelJob", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.CancelJob", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.CancelJob", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "CancelJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CancelJobRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CancelJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "CancelJob", - "fullName": "google.cloud.dataplex.v1.DataplexService.CancelJob", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "CancelJob" }, + "description": "CancelJob cancel jobs running for the task resource.", + "file": "Client/CancelJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_CancelJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelJob Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_CreateAsset_sync", - "title": "dataplex CreateAsset Sample", - "description": "CreateAsset creates an asset resource.", - "file": "Client/CreateAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.CreateAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.CreateAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "CreateAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAssetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "CreateAsset", - "fullName": "google.cloud.dataplex.v1.DataplexService.CreateAsset", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "CreateAsset" }, + "description": "CreateAsset creates an asset resource.", + "file": "Client/CreateAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_CreateAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_CreateLake_sync", - "title": "dataplex CreateLake Sample", - "description": "CreateLake creates a lake resource.", - "file": "Client/CreateLake/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLake", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.CreateLake", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.CreateLake", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "CreateLake" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateLakeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateLakeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLakeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "CreateLake", - "fullName": "google.cloud.dataplex.v1.DataplexService.CreateLake", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "CreateLake" }, + "description": "CreateLake creates a lake resource.", + "file": "Client/CreateLake/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_CreateLake_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateLake Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_CreateTask_sync", - "title": "dataplex CreateTask Sample", - "description": "CreateTask creates a task resource within a lake.", - "file": "Client/CreateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTask", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.CreateTask", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.CreateTask", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "CreateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateTaskRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTaskOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "CreateTask", - "fullName": "google.cloud.dataplex.v1.DataplexService.CreateTask", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "CreateTask" }, + "description": "CreateTask creates a task resource within a lake.", + "file": "Client/CreateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_CreateTask_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateTask Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_CreateZone_sync", - "title": "dataplex CreateZone Sample", - "description": "CreateZone creates a zone resource within a lake.", - "file": "Client/CreateZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateZone", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.CreateZone", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.CreateZone", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "CreateZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateZoneRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateZoneOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "CreateZone", - "fullName": "google.cloud.dataplex.v1.DataplexService.CreateZone", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "CreateZone" }, + "description": "CreateZone creates a zone resource within a lake.", + "file": "Client/CreateZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_CreateZone_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateZone Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_DeleteAsset_sync", - "title": "dataplex DeleteAsset Sample", - "description": "DeleteAsset deletes an asset resource. The referenced storage resource is detached\n(default) or deleted based on the associated Lifecycle policy.", - "file": "Client/DeleteAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.DeleteAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "DeleteAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAssetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "DeleteAsset", - "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteAsset", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "DeleteAsset" }, + "description": "DeleteAsset deletes an asset resource. The referenced storage resource is detached\n(default) or deleted based on the associated Lifecycle policy.", + "file": "Client/DeleteAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_DeleteAsset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_DeleteLake_sync", - "title": "dataplex DeleteLake Sample", - "description": "DeleteLake deletes a lake resource. All zones within the lake must be deleted before\nthe lake can be deleted.", - "file": "Client/DeleteLake/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLake", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.DeleteLake", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteLake", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "DeleteLake" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteLakeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteLakeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLakeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "DeleteLake", - "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteLake", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "DeleteLake" }, + "description": "DeleteLake deletes a lake resource. All zones within the lake must be deleted before\nthe lake can be deleted.", + "file": "Client/DeleteLake/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_DeleteLake_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteLake Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_DeleteTask_sync", - "title": "dataplex DeleteTask Sample", - "description": "DeleteTask delete the task resource.", - "file": "Client/DeleteTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTask", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.DeleteTask", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteTask", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "DeleteTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteTaskRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTaskOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "DeleteTask", - "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteTask", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "DeleteTask" }, + "description": "DeleteTask delete the task resource.", + "file": "Client/DeleteTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_DeleteTask_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteTask Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_DeleteZone_sync", - "title": "dataplex DeleteZone Sample", - "description": "DeleteZone deletes a zone resource. All assets within a zone must be deleted before\nthe zone can be deleted.", - "file": "Client/DeleteZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteZone", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.DeleteZone", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteZone", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "DeleteZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteZoneRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteZoneOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "DeleteZone", - "fullName": "google.cloud.dataplex.v1.DataplexService.DeleteZone", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "DeleteZone" }, + "description": "DeleteZone deletes a zone resource. All assets within a zone must be deleted before\nthe zone can be deleted.", + "file": "Client/DeleteZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_DeleteZone_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteZone Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetAsset_sync", - "title": "dataplex GetAsset Sample", - "description": "GetAsset retrieves an asset resource.", - "file": "Client/GetAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAsset", - "fullName": "google.cloud.dataplex.v1.Client.GetAsset", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "dataplexpb.GetAssetRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*dataplexpb.Asset", "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.dataplex.v1.Client.GetAsset", "method": { - "shortName": "GetAsset", "fullName": "google.cloud.dataplex.v1.DataplexService.GetAsset", "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "GetAsset" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "dataplexpb.GetAssetRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*dataplexpb.Asset", + "shortName": "GetAsset" }, + "description": "GetAsset retrieves an asset resource.", + "file": "Client/GetAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetIamPolicy_sync", - "title": "dataplex 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", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetJob_sync", - "title": "dataplex GetJob Sample", - "description": "GetJob get job resource.", - "file": "Client/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetJob", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.GetJob", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Job", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.dataplex.v1.DataplexService.GetJob", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "GetJob" }, + "description": "GetJob get job resource.", + "file": "Client/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetJob Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetLake_sync", - "title": "dataplex GetLake Sample", - "description": "GetLake retrieves a lake resource.", - "file": "Client/GetLake/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLake", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetLake", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.GetLake", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "GetLake" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetLakeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetLakeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Lake", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetLake", - "fullName": "google.cloud.dataplex.v1.DataplexService.GetLake", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "GetLake" }, + "description": "GetLake retrieves a lake resource.", + "file": "Client/GetLake/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetLake_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLake Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetTask_sync", - "title": "dataplex GetTask Sample", - "description": "GetTask get task resource.", - "file": "Client/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetTask", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.GetTask", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Task", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetTask", - "fullName": "google.cloud.dataplex.v1.DataplexService.GetTask", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "GetTask" }, + "description": "GetTask get task resource.", + "file": "Client/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetTask Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_GetZone_sync", - "title": "dataplex GetZone Sample", - "description": "GetZone retrieves a zone resource.", - "file": "Client/GetZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetZone", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.GetZone", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.GetZone", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "GetZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetZoneRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Zone", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "GetZone", - "fullName": "google.cloud.dataplex.v1.DataplexService.GetZone", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "GetZone" }, + "description": "GetZone retrieves a zone resource.", + "file": "Client/GetZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_GetZone_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetZone Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListAssetActions_sync", - "title": "dataplex ListAssetActions Sample", - "description": "ListAssetActions lists action resources in an asset.", - "file": "Client/ListAssetActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssetActions", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListAssetActions", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListAssetActions", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListAssetActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListAssetActionsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListAssetActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListAssetActions", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListAssetActions", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListAssetActions" }, + "description": "ListAssetActions lists action resources in an asset.", + "file": "Client/ListAssetActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListAssetActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListAssetActions Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListAssets_sync", - "title": "dataplex ListAssets Sample", - "description": "ListAssets lists asset resources in a zone.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListAssets", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListAssets", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListAssets", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists asset resources in a zone.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListAssets Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListJobs_sync", - "title": "dataplex ListJobs Sample", - "description": "ListJobs lists Jobs under the given task.", - "file": "Client/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListJobs", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListJobs", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListJobs", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists Jobs under the given task.", + "file": "Client/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListJobs Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListLakeActions_sync", - "title": "dataplex ListLakeActions Sample", - "description": "ListLakeActions lists action resources in a lake.", - "file": "Client/ListLakeActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLakeActions", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListLakeActions", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListLakeActions", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListLakeActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListLakeActionsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListLakeActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListLakeActions", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListLakeActions", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListLakeActions" }, + "description": "ListLakeActions lists action resources in a lake.", + "file": "Client/ListLakeActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListLakeActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLakeActions Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListLakes_sync", - "title": "dataplex ListLakes Sample", - "description": "ListLakes lists lake resources in a project and location.", - "file": "Client/ListLakes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLakes", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListLakes", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListLakes", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListLakes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListLakesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListLakesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LakeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListLakes", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListLakes", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListLakes" }, + "description": "ListLakes lists lake resources in a project and location.", + "file": "Client/ListLakes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListLakes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLakes Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListTasks_sync", - "title": "dataplex ListTasks Sample", - "description": "ListTasks lists tasks under the given lake.", - "file": "Client/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListTasks", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListTasks", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListTasks", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListTasks", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks lists tasks under the given lake.", + "file": "Client/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListTasks Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListZoneActions_sync", - "title": "dataplex ListZoneActions Sample", - "description": "ListZoneActions lists action resources in a zone.", - "file": "Client/ListZoneActions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListZoneActions", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListZoneActions", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListZoneActions", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListZoneActions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListZoneActionsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListZoneActionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ActionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListZoneActions", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListZoneActions", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListZoneActions" }, + "description": "ListZoneActions lists action resources in a zone.", + "file": "Client/ListZoneActions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListZoneActions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListZoneActions Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_ListZones_sync", - "title": "dataplex ListZones Sample", - "description": "ListZones lists zone resources in a lake.", - "file": "Client/ListZones/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListZones", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.ListZones", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.ListZones", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "ListZones" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListZonesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListZonesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ZoneIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "ListZones", - "fullName": "google.cloud.dataplex.v1.DataplexService.ListZones", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "ListZones" }, + "description": "ListZones lists zone resources in a lake.", + "file": "Client/ListZones/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_ListZones_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListZones Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_RunTask_sync", - "title": "dataplex RunTask Sample", - "description": "RunTask run an on demand execution of a Task.", - "file": "Client/RunTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTask", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.RunTask", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.RunTask", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "RunTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.RunTaskRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.RunTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.RunTaskResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "RunTask", - "fullName": "google.cloud.dataplex.v1.DataplexService.RunTask", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "RunTask" }, + "description": "RunTask run an on demand execution of a Task.", + "file": "Client/RunTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_RunTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex RunTask Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_SetIamPolicy_sync", - "title": "dataplex 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", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_TestIamPermissions_sync", - "title": "dataplex 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", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_UpdateAsset_sync", - "title": "dataplex UpdateAsset Sample", - "description": "UpdateAsset updates an asset resource.", - "file": "Client/UpdateAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAsset", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.UpdateAsset", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateAsset", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "UpdateAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateAssetRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "UpdateAssetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "UpdateAsset", - "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateAsset", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "UpdateAssetOperation", + "shortName": "UpdateAsset" }, + "description": "UpdateAsset updates an asset resource.", + "file": "Client/UpdateAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_UpdateAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateAsset Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_UpdateLake_sync", - "title": "dataplex UpdateLake Sample", - "description": "UpdateLake updates a lake resource.", - "file": "Client/UpdateLake/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLake", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.UpdateLake", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateLake", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "UpdateLake" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateLakeRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateLakeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateLakeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "UpdateLake", - "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateLake", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "UpdateLake" }, + "description": "UpdateLake updates a lake resource.", + "file": "Client/UpdateLake/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_UpdateLake_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateLake Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_UpdateTask_sync", - "title": "dataplex UpdateTask Sample", - "description": "UpdateTask update the task resource.", - "file": "Client/UpdateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTask", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.UpdateTask", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateTask", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "UpdateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateTaskRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTaskOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "UpdateTask", - "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateTask", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "UpdateTask" }, + "description": "UpdateTask update the task resource.", + "file": "Client/UpdateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_UpdateTask_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateTask Sample" }, { - "regionTag": "dataplex_v1_generated_DataplexService_UpdateZone_sync", - "title": "dataplex UpdateZone Sample", - "description": "UpdateZone updates a zone resource.", - "file": "Client/UpdateZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateZone", + "client": { + "fullName": "google.cloud.dataplex.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.dataplex.v1.Client.UpdateZone", + "method": { + "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateZone", + "service": { + "fullName": "google.cloud.dataplex.v1.DataplexService", + "shortName": "DataplexService" + }, + "shortName": "UpdateZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateZoneRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateZoneOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.dataplex.v1.Client" - }, - "method": { - "shortName": "UpdateZone", - "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateZone", - "service": { - "shortName": "DataplexService", - "fullName": "google.cloud.dataplex.v1.DataplexService" - } - } + "shortName": "UpdateZone" }, + "description": "UpdateZone updates a zone resource.", + "file": "Client/UpdateZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_DataplexService_UpdateZone_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateZone Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_CancelOperation_sync", - "title": "dataplex CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CancelOperation Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_CreateEntity_sync", - "title": "dataplex CreateEntity Sample", - "description": "CreateEntity create a metadata entity.", - "file": "MetadataClient/CreateEntity/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntity", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.CreateEntity", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.CreateEntity", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreateEntity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreateEntityRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreateEntityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entity", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "CreateEntity", - "fullName": "google.cloud.dataplex.v1.MetadataService.CreateEntity", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "CreateEntity" }, + "description": "CreateEntity create a metadata entity.", + "file": "MetadataClient/CreateEntity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_CreateEntity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreateEntity Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_CreatePartition_sync", - "title": "dataplex CreatePartition Sample", - "description": "CreatePartition create a metadata partition.", - "file": "MetadataClient/CreatePartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePartition", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.CreatePartition", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.CreatePartition", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "CreatePartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.CreatePartitionRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.CreatePartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Partition", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "CreatePartition", - "fullName": "google.cloud.dataplex.v1.MetadataService.CreatePartition", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "CreatePartition" }, + "description": "CreatePartition create a metadata partition.", + "file": "MetadataClient/CreatePartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_CreatePartition_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex CreatePartition Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_DeleteEntity_sync", - "title": "dataplex DeleteEntity Sample", - "description": "DeleteEntity delete a metadata entity.", - "file": "MetadataClient/DeleteEntity/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntity", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.DeleteEntity", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.DeleteEntity", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeleteEntity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeleteEntityRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeleteEntityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteEntity", - "fullName": "google.cloud.dataplex.v1.MetadataService.DeleteEntity", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "DeleteEntity" }, + "description": "DeleteEntity delete a metadata entity.", + "file": "MetadataClient/DeleteEntity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_DeleteEntity_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteEntity Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_DeleteOperation_sync", - "title": "dataplex DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeleteOperation Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_DeletePartition_sync", - "title": "dataplex DeletePartition Sample", - "description": "DeletePartition delete a metadata partition.", - "file": "MetadataClient/DeletePartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePartition", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.DeletePartition", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.DeletePartition", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "DeletePartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.DeletePartitionRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.DeletePartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "DeletePartition", - "fullName": "google.cloud.dataplex.v1.MetadataService.DeletePartition", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "DeletePartition" }, + "description": "DeletePartition delete a metadata partition.", + "file": "MetadataClient/DeletePartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_DeletePartition_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex DeletePartition Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_GetEntity_sync", - "title": "dataplex GetEntity Sample", - "description": "GetEntity get a metadata entity.", - "file": "MetadataClient/GetEntity/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntity", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.GetEntity", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.GetEntity", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetEntity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetEntityRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetEntityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entity", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "GetEntity", - "fullName": "google.cloud.dataplex.v1.MetadataService.GetEntity", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "GetEntity" }, + "description": "GetEntity get a metadata entity.", + "file": "MetadataClient/GetEntity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_GetEntity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetEntity Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_GetIamPolicy_sync", - "title": "dataplex 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": "MetadataClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "MetadataClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_GetLocation_sync", - "title": "dataplex GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MetadataClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MetadataClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetLocation Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_GetOperation_sync", - "title": "dataplex GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetOperation Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_GetPartition_sync", - "title": "dataplex GetPartition Sample", - "description": "GetPartition get a metadata partition of an entity.", - "file": "MetadataClient/GetPartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPartition", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.GetPartition", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.GetPartition", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "GetPartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.GetPartitionRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.GetPartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Partition", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "GetPartition", - "fullName": "google.cloud.dataplex.v1.MetadataService.GetPartition", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "GetPartition" }, + "description": "GetPartition get a metadata partition of an entity.", + "file": "MetadataClient/GetPartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_GetPartition_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex GetPartition Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_ListEntities_sync", - "title": "dataplex ListEntities Sample", - "description": "ListEntities list metadata entities in a zone.", - "file": "MetadataClient/ListEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntities", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.ListEntities", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.ListEntities", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListEntitiesRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "ListEntities", - "fullName": "google.cloud.dataplex.v1.MetadataService.ListEntities", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "ListEntities" }, + "description": "ListEntities list metadata entities in a zone.", + "file": "MetadataClient/ListEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_ListEntities_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListEntities Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_ListLocations_sync", - "title": "dataplex ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "MetadataClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "MetadataClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListLocations Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_ListOperations_sync", - "title": "dataplex ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MetadataClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MetadataClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListOperations Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_ListPartitions_sync", - "title": "dataplex ListPartitions Sample", - "description": "ListPartitions list metadata partitions of an entity.", - "file": "MetadataClient/ListPartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPartitions", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.ListPartitions", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.ListPartitions", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "ListPartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.ListPartitionsRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.ListPartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PartitionIterator", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "ListPartitions", - "fullName": "google.cloud.dataplex.v1.MetadataService.ListPartitions", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "ListPartitions" }, + "description": "ListPartitions list metadata partitions of an entity.", + "file": "MetadataClient/ListPartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_ListPartitions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex ListPartitions Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_SetIamPolicy_sync", - "title": "dataplex 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": "MetadataClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "MetadataClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex SetIamPolicy Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_TestIamPermissions_sync", - "title": "dataplex 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": "MetadataClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "MetadataClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex TestIamPermissions Sample" }, { - "regionTag": "dataplex_v1_generated_MetadataService_UpdateEntity_sync", - "title": "dataplex UpdateEntity Sample", - "description": "UpdateEntity update a metadata entity. Only supports full resource update.", - "file": "MetadataClient/UpdateEntity/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntity", + "client": { + "fullName": "google.cloud.dataplex.v1.MetadataClient", + "shortName": "MetadataClient" + }, "fullName": "google.cloud.dataplex.v1.MetadataClient.UpdateEntity", + "method": { + "fullName": "google.cloud.dataplex.v1.MetadataService.UpdateEntity", + "service": { + "fullName": "google.cloud.dataplex.v1.MetadataService", + "shortName": "MetadataService" + }, + "shortName": "UpdateEntity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataplexpb.UpdateEntityRequest", - "name": "req" + "name": "req", + "type": "dataplexpb.UpdateEntityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataplexpb.Entity", - "client": { - "shortName": "MetadataClient", - "fullName": "google.cloud.dataplex.v1.MetadataClient" - }, - "method": { - "shortName": "UpdateEntity", - "fullName": "google.cloud.dataplex.v1.MetadataService.UpdateEntity", - "service": { - "shortName": "MetadataService", - "fullName": "google.cloud.dataplex.v1.MetadataService" - } - } + "shortName": "UpdateEntity" }, + "description": "UpdateEntity update a metadata entity. Only supports full resource update.", + "file": "MetadataClient/UpdateEntity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataplex_v1_generated_MetadataService_UpdateEntity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataplex UpdateEntity Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json index 6dd430f3b6f1..f22016898672 100644 --- a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json +++ b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json @@ -1,4594 +1,4594 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dataproc/v2/apiv1", - "version": "2.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.dataproc.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dataproc/v2/apiv1", + "version": "2.16.0" }, "snippets": [ { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AutoscalingPolicyClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AutoscalingPolicyClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_CreateAutoscalingPolicy_sync", - "title": "dataproc CreateAutoscalingPolicy Sample", - "description": "CreateAutoscalingPolicy creates new autoscaling policy.", - "file": "AutoscalingPolicyClient/CreateAutoscalingPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAutoscalingPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.CreateAutoscalingPolicy", + "method": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.CreateAutoscalingPolicy", + "service": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService", + "shortName": "AutoscalingPolicyService" + }, + "shortName": "CreateAutoscalingPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateAutoscalingPolicyRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateAutoscalingPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.AutoscalingPolicy", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "CreateAutoscalingPolicy", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.CreateAutoscalingPolicy", - "service": { - "shortName": "AutoscalingPolicyService", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService" - } - } + "shortName": "CreateAutoscalingPolicy" }, + "description": "CreateAutoscalingPolicy creates new autoscaling policy.", + "file": "AutoscalingPolicyClient/CreateAutoscalingPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_CreateAutoscalingPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateAutoscalingPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_DeleteAutoscalingPolicy_sync", - "title": "dataproc DeleteAutoscalingPolicy Sample", - "description": "DeleteAutoscalingPolicy deletes an autoscaling policy. It is an error to delete an autoscaling\npolicy that is in use by one or more clusters.", - "file": "AutoscalingPolicyClient/DeleteAutoscalingPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAutoscalingPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.DeleteAutoscalingPolicy", + "method": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.DeleteAutoscalingPolicy", + "service": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService", + "shortName": "AutoscalingPolicyService" + }, + "shortName": "DeleteAutoscalingPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteAutoscalingPolicyRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteAutoscalingPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "DeleteAutoscalingPolicy", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.DeleteAutoscalingPolicy", - "service": { - "shortName": "AutoscalingPolicyService", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService" - } - } + "shortName": "DeleteAutoscalingPolicy" }, + "description": "DeleteAutoscalingPolicy deletes an autoscaling policy. It is an error to delete an autoscaling\npolicy that is in use by one or more clusters.", + "file": "AutoscalingPolicyClient/DeleteAutoscalingPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_DeleteAutoscalingPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteAutoscalingPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AutoscalingPolicyClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AutoscalingPolicyClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_GetAutoscalingPolicy_sync", - "title": "dataproc GetAutoscalingPolicy Sample", - "description": "GetAutoscalingPolicy retrieves autoscaling policy.", - "file": "AutoscalingPolicyClient/GetAutoscalingPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutoscalingPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.GetAutoscalingPolicy", + "method": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.GetAutoscalingPolicy", + "service": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService", + "shortName": "AutoscalingPolicyService" + }, + "shortName": "GetAutoscalingPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetAutoscalingPolicyRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetAutoscalingPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.AutoscalingPolicy", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "GetAutoscalingPolicy", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.GetAutoscalingPolicy", - "service": { - "shortName": "AutoscalingPolicyService", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService" - } - } + "shortName": "GetAutoscalingPolicy" }, + "description": "GetAutoscalingPolicy retrieves autoscaling policy.", + "file": "AutoscalingPolicyClient/GetAutoscalingPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_GetAutoscalingPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetAutoscalingPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_GetIamPolicy_sync", - "title": "dataproc 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": "AutoscalingPolicyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "AutoscalingPolicyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AutoscalingPolicyClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AutoscalingPolicyClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_ListAutoscalingPolicies_sync", - "title": "dataproc ListAutoscalingPolicies Sample", - "description": "ListAutoscalingPolicies lists autoscaling policies in the project.", - "file": "AutoscalingPolicyClient/ListAutoscalingPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutoscalingPolicies", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.ListAutoscalingPolicies", + "method": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.ListAutoscalingPolicies", + "service": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService", + "shortName": "AutoscalingPolicyService" + }, + "shortName": "ListAutoscalingPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListAutoscalingPoliciesRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListAutoscalingPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutoscalingPolicyIterator", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "ListAutoscalingPolicies", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.ListAutoscalingPolicies", - "service": { - "shortName": "AutoscalingPolicyService", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService" - } - } + "shortName": "ListAutoscalingPolicies" }, + "description": "ListAutoscalingPolicies lists autoscaling policies in the project.", + "file": "AutoscalingPolicyClient/ListAutoscalingPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_ListAutoscalingPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListAutoscalingPolicies Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AutoscalingPolicyClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AutoscalingPolicyClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_SetIamPolicy_sync", - "title": "dataproc 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": "AutoscalingPolicyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "AutoscalingPolicyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_TestIamPermissions_sync", - "title": "dataproc 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": "AutoscalingPolicyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "AutoscalingPolicyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_UpdateAutoscalingPolicy_sync", - "title": "dataproc UpdateAutoscalingPolicy Sample", - "description": "UpdateAutoscalingPolicy updates (replaces) autoscaling policy.\n\nDisabled check for update_mask, because all updates will be full\nreplacements.", - "file": "AutoscalingPolicyClient/UpdateAutoscalingPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutoscalingPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient", + "shortName": "AutoscalingPolicyClient" + }, "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient.UpdateAutoscalingPolicy", + "method": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.UpdateAutoscalingPolicy", + "service": { + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService", + "shortName": "AutoscalingPolicyService" + }, + "shortName": "UpdateAutoscalingPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.UpdateAutoscalingPolicyRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.UpdateAutoscalingPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.AutoscalingPolicy", - "client": { - "shortName": "AutoscalingPolicyClient", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyClient" - }, - "method": { - "shortName": "UpdateAutoscalingPolicy", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.UpdateAutoscalingPolicy", - "service": { - "shortName": "AutoscalingPolicyService", - "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService" - } - } + "shortName": "UpdateAutoscalingPolicy" }, + "description": "UpdateAutoscalingPolicy updates (replaces) autoscaling policy.\n\nDisabled check for update_mask, because all updates will be full\nreplacements.", + "file": "AutoscalingPolicyClient/UpdateAutoscalingPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_AutoscalingPolicyService_UpdateAutoscalingPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc UpdateAutoscalingPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "BatchControllerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "BatchControllerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_CreateBatch_sync", - "title": "dataproc CreateBatch Sample", - "description": "CreateBatch creates a batch workload that executes asynchronously.", - "file": "BatchControllerClient/CreateBatch/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBatch", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.CreateBatch", + "method": { + "fullName": "google.cloud.dataproc.v1.BatchController.CreateBatch", + "service": { + "fullName": "google.cloud.dataproc.v1.BatchController", + "shortName": "BatchController" + }, + "shortName": "CreateBatch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateBatchRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateBatchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBatchOperation", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "CreateBatch", - "fullName": "google.cloud.dataproc.v1.BatchController.CreateBatch", - "service": { - "shortName": "BatchController", - "fullName": "google.cloud.dataproc.v1.BatchController" - } - } + "shortName": "CreateBatch" }, + "description": "CreateBatch creates a batch workload that executes asynchronously.", + "file": "BatchControllerClient/CreateBatch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_CreateBatch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateBatch Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_DeleteBatch_sync", - "title": "dataproc DeleteBatch Sample", - "description": "DeleteBatch deletes the batch workload resource. If the batch is not in terminal state,\nthe delete fails and the response returns `FAILED_PRECONDITION`.", - "file": "BatchControllerClient/DeleteBatch/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBatch", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.DeleteBatch", + "method": { + "fullName": "google.cloud.dataproc.v1.BatchController.DeleteBatch", + "service": { + "fullName": "google.cloud.dataproc.v1.BatchController", + "shortName": "BatchController" + }, + "shortName": "DeleteBatch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteBatchRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteBatchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "DeleteBatch", - "fullName": "google.cloud.dataproc.v1.BatchController.DeleteBatch", - "service": { - "shortName": "BatchController", - "fullName": "google.cloud.dataproc.v1.BatchController" - } - } + "shortName": "DeleteBatch" }, + "description": "DeleteBatch deletes the batch workload resource. If the batch is not in terminal state,\nthe delete fails and the response returns `FAILED_PRECONDITION`.", + "file": "BatchControllerClient/DeleteBatch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_DeleteBatch_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteBatch Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "BatchControllerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "BatchControllerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_GetBatch_sync", - "title": "dataproc GetBatch Sample", - "description": "GetBatch gets the batch workload resource representation.", - "file": "BatchControllerClient/GetBatch/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBatch", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.GetBatch", + "method": { + "fullName": "google.cloud.dataproc.v1.BatchController.GetBatch", + "service": { + "fullName": "google.cloud.dataproc.v1.BatchController", + "shortName": "BatchController" + }, + "shortName": "GetBatch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetBatchRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetBatchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Batch", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "GetBatch", - "fullName": "google.cloud.dataproc.v1.BatchController.GetBatch", - "service": { - "shortName": "BatchController", - "fullName": "google.cloud.dataproc.v1.BatchController" - } - } + "shortName": "GetBatch" }, + "description": "GetBatch gets the batch workload resource representation.", + "file": "BatchControllerClient/GetBatch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_GetBatch_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetBatch Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_GetIamPolicy_sync", - "title": "dataproc 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": "BatchControllerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "BatchControllerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "BatchControllerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "BatchControllerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_ListBatches_sync", - "title": "dataproc ListBatches Sample", - "description": "ListBatches lists batch workloads.", - "file": "BatchControllerClient/ListBatches/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBatches", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.ListBatches", + "method": { + "fullName": "google.cloud.dataproc.v1.BatchController.ListBatches", + "service": { + "fullName": "google.cloud.dataproc.v1.BatchController", + "shortName": "BatchController" + }, + "shortName": "ListBatches" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListBatchesRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListBatchesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchIterator", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "ListBatches", - "fullName": "google.cloud.dataproc.v1.BatchController.ListBatches", - "service": { - "shortName": "BatchController", - "fullName": "google.cloud.dataproc.v1.BatchController" - } - } + "shortName": "ListBatches" }, + "description": "ListBatches lists batch workloads.", + "file": "BatchControllerClient/ListBatches/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_ListBatches_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListBatches Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "BatchControllerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "BatchControllerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_SetIamPolicy_sync", - "title": "dataproc 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": "BatchControllerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "BatchControllerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_BatchController_TestIamPermissions_sync", - "title": "dataproc 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": "BatchControllerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.BatchControllerClient", + "shortName": "BatchControllerClient" + }, "fullName": "google.cloud.dataproc.v1.BatchControllerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "BatchControllerClient", - "fullName": "google.cloud.dataproc.v1.BatchControllerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "BatchControllerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_BatchController_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ClusterControllerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ClusterControllerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_CreateCluster_sync", - "title": "dataproc CreateCluster Sample", - "description": "CreateCluster creates a cluster in a project. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).", - "file": "ClusterControllerClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.CreateCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.CreateCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.CreateCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a cluster in a project. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).", + "file": "ClusterControllerClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateCluster Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_DeleteCluster_sync", - "title": "dataproc DeleteCluster Sample", - "description": "DeleteCluster deletes a cluster in a project. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).", - "file": "ClusterControllerClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.DeleteCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.DeleteCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.DeleteCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a cluster in a project. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).", + "file": "ClusterControllerClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteCluster Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ClusterControllerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ClusterControllerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_DiagnoseCluster_sync", - "title": "dataproc DiagnoseCluster Sample", - "description": "DiagnoseCluster gets cluster diagnostic information. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).\nAfter the operation completes,\n[Operation.response][google.longrunning.Operation.response]\ncontains\n[DiagnoseClusterResults](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).", - "file": "ClusterControllerClient/DiagnoseCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.DiagnoseCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.DiagnoseCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "DiagnoseCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DiagnoseClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DiagnoseClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiagnoseClusterOperation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "DiagnoseCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.DiagnoseCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "DiagnoseCluster" }, + "description": "DiagnoseCluster gets cluster diagnostic information. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).\nAfter the operation completes,\n[Operation.response][google.longrunning.Operation.response]\ncontains\n[DiagnoseClusterResults](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).", + "file": "ClusterControllerClient/DiagnoseCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_DiagnoseCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DiagnoseCluster Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_GetCluster_sync", - "title": "dataproc GetCluster Sample", - "description": "GetCluster gets the resource representation for a cluster in a project.", - "file": "ClusterControllerClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.GetCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.GetCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Cluster", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.GetCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets the resource representation for a cluster in a project.", + "file": "ClusterControllerClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetCluster Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_GetIamPolicy_sync", - "title": "dataproc 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": "ClusterControllerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ClusterControllerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ClusterControllerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ClusterControllerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_ListClusters_sync", - "title": "dataproc ListClusters Sample", - "description": "ListClusters lists all regions/{region}/clusters in a project alphabetically.", - "file": "ClusterControllerClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.ListClusters", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.ListClusters", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.dataproc.v1.ClusterController.ListClusters", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "ListClusters" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListClusters lists all regions/{region}/clusters in a project alphabetically.", + "file": "ClusterControllerClient/ListClusters/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_ListClusters_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListClusters Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ClusterControllerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ClusterControllerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_SetIamPolicy_sync", - "title": "dataproc 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": "ClusterControllerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ClusterControllerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_StartCluster_sync", - "title": "dataproc StartCluster Sample", - "description": "StartCluster starts a cluster in a project.", - "file": "ClusterControllerClient/StartCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.StartCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.StartCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "StartCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.StartClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.StartClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartClusterOperation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "StartCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.StartCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "StartCluster" }, + "description": "StartCluster starts a cluster in a project.", + "file": "ClusterControllerClient/StartCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_StartCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc StartCluster Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_StopCluster_sync", - "title": "dataproc StopCluster Sample", - "description": "StopCluster stops a cluster in a project.", - "file": "ClusterControllerClient/StopCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.StopCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.StopCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "StopCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.StopClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.StopClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopClusterOperation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "StopCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.StopCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "StopCluster" }, + "description": "StopCluster stops a cluster in a project.", + "file": "ClusterControllerClient/StopCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_StopCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc StopCluster Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_TestIamPermissions_sync", - "title": "dataproc 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": "ClusterControllerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ClusterControllerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_ClusterController_UpdateCluster_sync", - "title": "dataproc UpdateCluster Sample", - "description": "UpdateCluster updates a cluster in a project. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).\nThe cluster must be in a\n[`RUNNING`][google.cloud.dataproc.v1.ClusterStatus.State] state or an error\nis returned.", - "file": "ClusterControllerClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.dataproc.v1.ClusterControllerClient", + "shortName": "ClusterControllerClient" + }, "fullName": "google.cloud.dataproc.v1.ClusterControllerClient.UpdateCluster", + "method": { + "fullName": "google.cloud.dataproc.v1.ClusterController.UpdateCluster", + "service": { + "fullName": "google.cloud.dataproc.v1.ClusterController", + "shortName": "ClusterController" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "ClusterControllerClient", - "fullName": "google.cloud.dataproc.v1.ClusterControllerClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.dataproc.v1.ClusterController.UpdateCluster", - "service": { - "shortName": "ClusterController", - "fullName": "google.cloud.dataproc.v1.ClusterController" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates a cluster in a project. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] will be\n[ClusterOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).\nThe cluster must be in a\n[`RUNNING`][google.cloud.dataproc.v1.ClusterStatus.State] state or an error\nis returned.", + "file": "ClusterControllerClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_ClusterController_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc UpdateCluster Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_CancelJob_sync", - "title": "dataproc CancelJob Sample", - "description": "CancelJob starts a job cancellation request. To access the job resource\nafter cancellation, call\n[regions/{region}/jobs.list](https: //cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list)\nor\n[regions/{region}/jobs.get](https: //cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).", - "file": "JobControllerClient/CancelJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelJob", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.CancelJob", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.CancelJob", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "CancelJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CancelJobRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CancelJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Job", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "CancelJob", - "fullName": "google.cloud.dataproc.v1.JobController.CancelJob", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "CancelJob" }, + "description": "CancelJob starts a job cancellation request. To access the job resource\nafter cancellation, call\n[regions/{region}/jobs.list](https: //cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list)\nor\n[regions/{region}/jobs.get](https: //cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).", + "file": "JobControllerClient/CancelJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_CancelJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelJob Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "JobControllerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "JobControllerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_DeleteJob_sync", - "title": "dataproc DeleteJob Sample", - "description": "DeleteJob deletes the job from the project. If the job is active, the delete fails,\nand the response returns `FAILED_PRECONDITION`.", - "file": "JobControllerClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.DeleteJob", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.DeleteJob", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.dataproc.v1.JobController.DeleteJob", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes the job from the project. If the job is active, the delete fails,\nand the response returns `FAILED_PRECONDITION`.", + "file": "JobControllerClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteJob Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "JobControllerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "JobControllerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_GetIamPolicy_sync", - "title": "dataproc 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": "JobControllerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.GetIamPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "JobControllerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_GetJob_sync", - "title": "dataproc GetJob Sample", - "description": "GetJob gets the resource representation for a job in a project.", - "file": "JobControllerClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.GetJob", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.GetJob", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Job", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.dataproc.v1.JobController.GetJob", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "GetJob" }, + "description": "GetJob gets the resource representation for a job in a project.", + "file": "JobControllerClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetJob Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "JobControllerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "JobControllerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_ListJobs_sync", - "title": "dataproc ListJobs Sample", - "description": "ListJobs lists regions/{region}/jobs in a project.", - "file": "JobControllerClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.ListJobs", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.ListJobs", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.dataproc.v1.JobController.ListJobs", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists regions/{region}/jobs in a project.", + "file": "JobControllerClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListJobs Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "JobControllerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "JobControllerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_SetIamPolicy_sync", - "title": "dataproc 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": "JobControllerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "JobControllerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_SubmitJob_sync", - "title": "dataproc SubmitJob Sample", - "description": "SubmitJob submits a job to a cluster.", - "file": "JobControllerClient/SubmitJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitJob", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.SubmitJob", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.SubmitJob", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "SubmitJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.SubmitJobRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.SubmitJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Job", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "SubmitJob", - "fullName": "google.cloud.dataproc.v1.JobController.SubmitJob", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "SubmitJob" }, + "description": "SubmitJob submits a job to a cluster.", + "file": "JobControllerClient/SubmitJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_SubmitJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SubmitJob Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_SubmitJobAsOperation_sync", - "title": "dataproc SubmitJobAsOperation Sample", - "description": "SubmitJobAsOperation submits job to a cluster.", - "file": "JobControllerClient/SubmitJobAsOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitJobAsOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.SubmitJobAsOperation", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.SubmitJobAsOperation", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "SubmitJobAsOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.SubmitJobRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.SubmitJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubmitJobAsOperationOperation", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "SubmitJobAsOperation", - "fullName": "google.cloud.dataproc.v1.JobController.SubmitJobAsOperation", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "SubmitJobAsOperation" }, + "description": "SubmitJobAsOperation submits job to a cluster.", + "file": "JobControllerClient/SubmitJobAsOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_SubmitJobAsOperation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SubmitJobAsOperation Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_TestIamPermissions_sync", - "title": "dataproc 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": "JobControllerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "JobControllerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_JobController_UpdateJob_sync", - "title": "dataproc UpdateJob Sample", - "description": "UpdateJob updates a job in a project.", - "file": "JobControllerClient/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.cloud.dataproc.v1.JobControllerClient", + "shortName": "JobControllerClient" + }, "fullName": "google.cloud.dataproc.v1.JobControllerClient.UpdateJob", + "method": { + "fullName": "google.cloud.dataproc.v1.JobController.UpdateJob", + "service": { + "fullName": "google.cloud.dataproc.v1.JobController", + "shortName": "JobController" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Job", - "client": { - "shortName": "JobControllerClient", - "fullName": "google.cloud.dataproc.v1.JobControllerClient" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.cloud.dataproc.v1.JobController.UpdateJob", - "service": { - "shortName": "JobController", - "fullName": "google.cloud.dataproc.v1.JobController" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates a job in a project.", + "file": "JobControllerClient/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_JobController_UpdateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc UpdateJob Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "NodeGroupControllerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "NodeGroupControllerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_CreateNodeGroup_sync", - "title": "dataproc CreateNodeGroup Sample", - "description": "CreateNodeGroup creates a node group in a cluster. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] is\n[NodeGroupOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", - "file": "NodeGroupControllerClient/CreateNodeGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNodeGroup", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.CreateNodeGroup", + "method": { + "fullName": "google.cloud.dataproc.v1.NodeGroupController.CreateNodeGroup", + "service": { + "fullName": "google.cloud.dataproc.v1.NodeGroupController", + "shortName": "NodeGroupController" + }, + "shortName": "CreateNodeGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateNodeGroupRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNodeGroupOperation", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "CreateNodeGroup", - "fullName": "google.cloud.dataproc.v1.NodeGroupController.CreateNodeGroup", - "service": { - "shortName": "NodeGroupController", - "fullName": "google.cloud.dataproc.v1.NodeGroupController" - } - } + "shortName": "CreateNodeGroup" }, + "description": "CreateNodeGroup creates a node group in a cluster. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] is\n[NodeGroupOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", + "file": "NodeGroupControllerClient/CreateNodeGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_CreateNodeGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateNodeGroup Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "NodeGroupControllerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "NodeGroupControllerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_GetIamPolicy_sync", - "title": "dataproc 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": "NodeGroupControllerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "NodeGroupControllerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_GetNodeGroup_sync", - "title": "dataproc GetNodeGroup Sample", - "description": "GetNodeGroup gets the resource representation for a node group in a\ncluster.", - "file": "NodeGroupControllerClient/GetNodeGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNodeGroup", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.GetNodeGroup", + "method": { + "fullName": "google.cloud.dataproc.v1.NodeGroupController.GetNodeGroup", + "service": { + "fullName": "google.cloud.dataproc.v1.NodeGroupController", + "shortName": "NodeGroupController" + }, + "shortName": "GetNodeGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetNodeGroupRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.NodeGroup", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "GetNodeGroup", - "fullName": "google.cloud.dataproc.v1.NodeGroupController.GetNodeGroup", - "service": { - "shortName": "NodeGroupController", - "fullName": "google.cloud.dataproc.v1.NodeGroupController" - } - } + "shortName": "GetNodeGroup" }, + "description": "GetNodeGroup gets the resource representation for a node group in a\ncluster.", + "file": "NodeGroupControllerClient/GetNodeGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_GetNodeGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetNodeGroup Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "NodeGroupControllerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.GetOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.GetOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" }, + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.GetOperation", "method": { - "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.GetOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "NodeGroupControllerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "NodeGroupControllerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "NodeGroupControllerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_ResizeNodeGroup_sync", - "title": "dataproc ResizeNodeGroup Sample", - "description": "ResizeNodeGroup resizes a node group in a cluster. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] is\n[NodeGroupOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", - "file": "NodeGroupControllerClient/ResizeNodeGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResizeNodeGroup", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.ResizeNodeGroup", + "method": { + "fullName": "google.cloud.dataproc.v1.NodeGroupController.ResizeNodeGroup", + "service": { + "fullName": "google.cloud.dataproc.v1.NodeGroupController", + "shortName": "NodeGroupController" + }, + "shortName": "ResizeNodeGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ResizeNodeGroupRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ResizeNodeGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResizeNodeGroupOperation", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "ResizeNodeGroup", - "fullName": "google.cloud.dataproc.v1.NodeGroupController.ResizeNodeGroup", - "service": { - "shortName": "NodeGroupController", - "fullName": "google.cloud.dataproc.v1.NodeGroupController" - } - } + "shortName": "ResizeNodeGroup" }, + "description": "ResizeNodeGroup resizes a node group in a cluster. The returned\n[Operation.metadata][google.longrunning.Operation.metadata] is\n[NodeGroupOperationMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", + "file": "NodeGroupControllerClient/ResizeNodeGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_ResizeNodeGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ResizeNodeGroup Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_SetIamPolicy_sync", - "title": "dataproc 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": "NodeGroupControllerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "NodeGroupControllerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_NodeGroupController_TestIamPermissions_sync", - "title": "dataproc 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": "NodeGroupControllerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient", + "shortName": "NodeGroupControllerClient" + }, "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "NodeGroupControllerClient", - "fullName": "google.cloud.dataproc.v1.NodeGroupControllerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "NodeGroupControllerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_NodeGroupController_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionControllerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionControllerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_CreateSession_sync", - "title": "dataproc CreateSession Sample", - "description": "CreateSession create an interactive session asynchronously.", - "file": "SessionControllerClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.CreateSession", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionController.CreateSession", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionController", + "shortName": "SessionController" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSessionOperation", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.dataproc.v1.SessionController.CreateSession", - "service": { - "shortName": "SessionController", - "fullName": "google.cloud.dataproc.v1.SessionController" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession create an interactive session asynchronously.", + "file": "SessionControllerClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_CreateSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateSession Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SessionControllerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SessionControllerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_DeleteSession_sync", - "title": "dataproc DeleteSession Sample", - "description": "DeleteSession deletes the interactive session resource. If the session is not in terminal\nstate, it is terminated, and then deleted.", - "file": "SessionControllerClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.DeleteSession", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionController.DeleteSession", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionController", + "shortName": "SessionController" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSessionOperation", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.dataproc.v1.SessionController.DeleteSession", - "service": { - "shortName": "SessionController", - "fullName": "google.cloud.dataproc.v1.SessionController" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes the interactive session resource. If the session is not in terminal\nstate, it is terminated, and then deleted.", + "file": "SessionControllerClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_DeleteSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteSession Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_GetIamPolicy_sync", - "title": "dataproc 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": "SessionControllerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SessionControllerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionControllerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionControllerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_GetSession_sync", - "title": "dataproc GetSession Sample", - "description": "GetSession gets the resource representation for an interactive session.", - "file": "SessionControllerClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.GetSession", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionController.GetSession", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionController", + "shortName": "SessionController" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.Session", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.dataproc.v1.SessionController.GetSession", - "service": { - "shortName": "SessionController", - "fullName": "google.cloud.dataproc.v1.SessionController" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets the resource representation for an interactive session.", + "file": "SessionControllerClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetSession Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionControllerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionControllerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_ListSessions_sync", - "title": "dataproc ListSessions Sample", - "description": "ListSessions lists interactive sessions.", - "file": "SessionControllerClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.ListSessions", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionController.ListSessions", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionController", + "shortName": "SessionController" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.dataproc.v1.SessionController.ListSessions", - "service": { - "shortName": "SessionController", - "fullName": "google.cloud.dataproc.v1.SessionController" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists interactive sessions.", + "file": "SessionControllerClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListSessions Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_SetIamPolicy_sync", - "title": "dataproc 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": "SessionControllerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SessionControllerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_TerminateSession_sync", - "title": "dataproc TerminateSession Sample", - "description": "TerminateSession terminates the interactive session.", - "file": "SessionControllerClient/TerminateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "TerminateSession", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.TerminateSession", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionController.TerminateSession", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionController", + "shortName": "SessionController" + }, + "shortName": "TerminateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.TerminateSessionRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.TerminateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TerminateSessionOperation", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "TerminateSession", - "fullName": "google.cloud.dataproc.v1.SessionController.TerminateSession", - "service": { - "shortName": "SessionController", - "fullName": "google.cloud.dataproc.v1.SessionController" - } - } + "shortName": "TerminateSession" }, + "description": "TerminateSession terminates the interactive session.", + "file": "SessionControllerClient/TerminateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_TerminateSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TerminateSession Sample" }, { - "regionTag": "dataproc_v1_generated_SessionController_TestIamPermissions_sync", - "title": "dataproc 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": "SessionControllerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionControllerClient", + "shortName": "SessionControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionControllerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SessionControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionControllerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SessionControllerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionController_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionTemplateControllerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionTemplateControllerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_CreateSessionTemplate_sync", - "title": "dataproc CreateSessionTemplate Sample", - "description": "CreateSessionTemplate create a session template synchronously.", - "file": "SessionTemplateControllerClient/CreateSessionTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSessionTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.CreateSessionTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.CreateSessionTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController", + "shortName": "SessionTemplateController" + }, + "shortName": "CreateSessionTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateSessionTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateSessionTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.SessionTemplate", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "CreateSessionTemplate", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController.CreateSessionTemplate", - "service": { - "shortName": "SessionTemplateController", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController" - } - } + "shortName": "CreateSessionTemplate" }, + "description": "CreateSessionTemplate create a session template synchronously.", + "file": "SessionTemplateControllerClient/CreateSessionTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_CreateSessionTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateSessionTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SessionTemplateControllerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SessionTemplateControllerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_DeleteSessionTemplate_sync", - "title": "dataproc DeleteSessionTemplate Sample", - "description": "DeleteSessionTemplate deletes a session template.", - "file": "SessionTemplateControllerClient/DeleteSessionTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSessionTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.DeleteSessionTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.DeleteSessionTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController", + "shortName": "SessionTemplateController" + }, + "shortName": "DeleteSessionTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteSessionTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteSessionTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "DeleteSessionTemplate", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController.DeleteSessionTemplate", - "service": { - "shortName": "SessionTemplateController", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController" - } - } + "shortName": "DeleteSessionTemplate" }, + "description": "DeleteSessionTemplate deletes a session template.", + "file": "SessionTemplateControllerClient/DeleteSessionTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_DeleteSessionTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteSessionTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_GetIamPolicy_sync", - "title": "dataproc 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": "SessionTemplateControllerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*iampb.Policy", + "shortName": "GetIamPolicy" }, + "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": "SessionTemplateControllerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionTemplateControllerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionTemplateControllerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_GetSessionTemplate_sync", - "title": "dataproc GetSessionTemplate Sample", - "description": "GetSessionTemplate gets the resource representation for a session template.", - "file": "SessionTemplateControllerClient/GetSessionTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSessionTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.GetSessionTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.GetSessionTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController", + "shortName": "SessionTemplateController" + }, + "shortName": "GetSessionTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetSessionTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetSessionTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.SessionTemplate", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "GetSessionTemplate", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController.GetSessionTemplate", - "service": { - "shortName": "SessionTemplateController", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController" - } - } + "shortName": "GetSessionTemplate" }, + "description": "GetSessionTemplate gets the resource representation for a session template.", + "file": "SessionTemplateControllerClient/GetSessionTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_GetSessionTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetSessionTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionTemplateControllerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionTemplateControllerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_ListSessionTemplates_sync", - "title": "dataproc ListSessionTemplates Sample", - "description": "ListSessionTemplates lists session templates.", - "file": "SessionTemplateControllerClient/ListSessionTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessionTemplates", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.ListSessionTemplates", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.ListSessionTemplates", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController", + "shortName": "SessionTemplateController" + }, + "shortName": "ListSessionTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListSessionTemplatesRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListSessionTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionTemplateIterator", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "ListSessionTemplates", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController.ListSessionTemplates", - "service": { - "shortName": "SessionTemplateController", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController" - } - } + "shortName": "ListSessionTemplates" }, + "description": "ListSessionTemplates lists session templates.", + "file": "SessionTemplateControllerClient/ListSessionTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_ListSessionTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListSessionTemplates Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_SetIamPolicy_sync", - "title": "dataproc 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": "SessionTemplateControllerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SessionTemplateControllerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_TestIamPermissions_sync", - "title": "dataproc 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": "SessionTemplateControllerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SessionTemplateControllerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_SessionTemplateController_UpdateSessionTemplate_sync", - "title": "dataproc UpdateSessionTemplate Sample", - "description": "UpdateSessionTemplate updates the session template synchronously.", - "file": "SessionTemplateControllerClient/UpdateSessionTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSessionTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient", + "shortName": "SessionTemplateControllerClient" + }, "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient.UpdateSessionTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.UpdateSessionTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.SessionTemplateController", + "shortName": "SessionTemplateController" + }, + "shortName": "UpdateSessionTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.UpdateSessionTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.UpdateSessionTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.SessionTemplate", - "client": { - "shortName": "SessionTemplateControllerClient", - "fullName": "google.cloud.dataproc.v1.SessionTemplateControllerClient" - }, - "method": { - "shortName": "UpdateSessionTemplate", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController.UpdateSessionTemplate", - "service": { - "shortName": "SessionTemplateController", - "fullName": "google.cloud.dataproc.v1.SessionTemplateController" - } - } + "shortName": "UpdateSessionTemplate" }, + "description": "UpdateSessionTemplate updates the session template synchronously.", + "file": "SessionTemplateControllerClient/UpdateSessionTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_SessionTemplateController_UpdateSessionTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc UpdateSessionTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_CancelOperation_sync", - "title": "dataproc CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "WorkflowTemplateClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "WorkflowTemplateClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CancelOperation Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_CreateWorkflowTemplate_sync", - "title": "dataproc CreateWorkflowTemplate Sample", - "description": "CreateWorkflowTemplate creates new workflow template.", - "file": "WorkflowTemplateClient/CreateWorkflowTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflowTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.CreateWorkflowTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "CreateWorkflowTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.CreateWorkflowTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.CreateWorkflowTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.WorkflowTemplate", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "CreateWorkflowTemplate", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "CreateWorkflowTemplate" }, + "description": "CreateWorkflowTemplate creates new workflow template.", + "file": "WorkflowTemplateClient/CreateWorkflowTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_CreateWorkflowTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc CreateWorkflowTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_DeleteOperation_sync", - "title": "dataproc DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "WorkflowTemplateClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "WorkflowTemplateClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteOperation Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_DeleteWorkflowTemplate_sync", - "title": "dataproc DeleteWorkflowTemplate Sample", - "description": "DeleteWorkflowTemplate deletes a workflow template. It does not cancel in-progress workflows.", - "file": "WorkflowTemplateClient/DeleteWorkflowTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflowTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.DeleteWorkflowTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "DeleteWorkflowTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.DeleteWorkflowTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.DeleteWorkflowTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "DeleteWorkflowTemplate", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "DeleteWorkflowTemplate" }, + "description": "DeleteWorkflowTemplate deletes a workflow template. It does not cancel in-progress workflows.", + "file": "WorkflowTemplateClient/DeleteWorkflowTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_DeleteWorkflowTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc DeleteWorkflowTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_GetIamPolicy_sync", - "title": "dataproc 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": "WorkflowTemplateClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "WorkflowTemplateClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_GetOperation_sync", - "title": "dataproc GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WorkflowTemplateClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WorkflowTemplateClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetOperation Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_GetWorkflowTemplate_sync", - "title": "dataproc GetWorkflowTemplate Sample", - "description": "GetWorkflowTemplate retrieves the latest workflow template.\n\nCan retrieve previously instantiated template by specifying optional\nversion parameter.", - "file": "WorkflowTemplateClient/GetWorkflowTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflowTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.GetWorkflowTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.GetWorkflowTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "GetWorkflowTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.GetWorkflowTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.GetWorkflowTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.WorkflowTemplate", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "GetWorkflowTemplate", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.GetWorkflowTemplate", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "GetWorkflowTemplate" }, + "description": "GetWorkflowTemplate retrieves the latest workflow template.\n\nCan retrieve previously instantiated template by specifying optional\nversion parameter.", + "file": "WorkflowTemplateClient/GetWorkflowTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_GetWorkflowTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc GetWorkflowTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_InstantiateInlineWorkflowTemplate_sync", - "title": "dataproc InstantiateInlineWorkflowTemplate Sample", - "description": "InstantiateInlineWorkflowTemplate instantiates a template and begins execution.\n\nThis method is equivalent to executing the sequence\n[CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],\n[InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],\n[DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].\n\nThe returned Operation can be used to track execution of\nworkflow by polling\n[operations.get][google.longrunning.Operations.GetOperation].\nThe Operation will complete when entire workflow is finished.\n\nThe running workflow can be aborted via\n[operations.cancel][google.longrunning.Operations.CancelOperation].\nThis will cause any inflight jobs to be cancelled and workflow-owned\nclusters to be deleted.\n\nThe [Operation.metadata][google.longrunning.Operation.metadata] will be\n[WorkflowMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).\nAlso see [Using\nWorkflowMetadata](https: //cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).\n\nOn successful completion,\n[Operation.response][google.longrunning.Operation.response] will be\n[Empty][google.protobuf.Empty].", - "file": "WorkflowTemplateClient/InstantiateInlineWorkflowTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "InstantiateInlineWorkflowTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.InstantiateInlineWorkflowTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateInlineWorkflowTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "InstantiateInlineWorkflowTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.InstantiateInlineWorkflowTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.InstantiateInlineWorkflowTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantiateInlineWorkflowTemplateOperation", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "InstantiateInlineWorkflowTemplate", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateInlineWorkflowTemplate", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "InstantiateInlineWorkflowTemplate" }, + "description": "InstantiateInlineWorkflowTemplate instantiates a template and begins execution.\n\nThis method is equivalent to executing the sequence\n[CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],\n[InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],\n[DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].\n\nThe returned Operation can be used to track execution of\nworkflow by polling\n[operations.get][google.longrunning.Operations.GetOperation].\nThe Operation will complete when entire workflow is finished.\n\nThe running workflow can be aborted via\n[operations.cancel][google.longrunning.Operations.CancelOperation].\nThis will cause any inflight jobs to be cancelled and workflow-owned\nclusters to be deleted.\n\nThe [Operation.metadata][google.longrunning.Operation.metadata] will be\n[WorkflowMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).\nAlso see [Using\nWorkflowMetadata](https: //cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).\n\nOn successful completion,\n[Operation.response][google.longrunning.Operation.response] will be\n[Empty][google.protobuf.Empty].", + "file": "WorkflowTemplateClient/InstantiateInlineWorkflowTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_InstantiateInlineWorkflowTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc InstantiateInlineWorkflowTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_InstantiateWorkflowTemplate_sync", - "title": "dataproc InstantiateWorkflowTemplate Sample", - "description": "InstantiateWorkflowTemplate instantiates a template and begins execution.\n\nThe returned Operation can be used to track execution of\nworkflow by polling\n[operations.get][google.longrunning.Operations.GetOperation].\nThe Operation will complete when entire workflow is finished.\n\nThe running workflow can be aborted via\n[operations.cancel][google.longrunning.Operations.CancelOperation].\nThis will cause any inflight jobs to be cancelled and workflow-owned\nclusters to be deleted.\n\nThe [Operation.metadata][google.longrunning.Operation.metadata] will be\n[WorkflowMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).\nAlso see [Using\nWorkflowMetadata](https: //cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).\n\nOn successful completion,\n[Operation.response][google.longrunning.Operation.response] will be\n[Empty][google.protobuf.Empty].", - "file": "WorkflowTemplateClient/InstantiateWorkflowTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "InstantiateWorkflowTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.InstantiateWorkflowTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "InstantiateWorkflowTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.InstantiateWorkflowTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.InstantiateWorkflowTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstantiateWorkflowTemplateOperation", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "InstantiateWorkflowTemplate", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "InstantiateWorkflowTemplate" }, + "description": "InstantiateWorkflowTemplate instantiates a template and begins execution.\n\nThe returned Operation can be used to track execution of\nworkflow by polling\n[operations.get][google.longrunning.Operations.GetOperation].\nThe Operation will complete when entire workflow is finished.\n\nThe running workflow can be aborted via\n[operations.cancel][google.longrunning.Operations.CancelOperation].\nThis will cause any inflight jobs to be cancelled and workflow-owned\nclusters to be deleted.\n\nThe [Operation.metadata][google.longrunning.Operation.metadata] will be\n[WorkflowMetadata](https: //cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).\nAlso see [Using\nWorkflowMetadata](https: //cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).\n\nOn successful completion,\n[Operation.response][google.longrunning.Operation.response] will be\n[Empty][google.protobuf.Empty].", + "file": "WorkflowTemplateClient/InstantiateWorkflowTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_InstantiateWorkflowTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc InstantiateWorkflowTemplate Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_ListOperations_sync", - "title": "dataproc ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WorkflowTemplateClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WorkflowTemplateClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListOperations Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_ListWorkflowTemplates_sync", - "title": "dataproc ListWorkflowTemplates Sample", - "description": "ListWorkflowTemplates lists workflows that match the specified filter in the request.", - "file": "WorkflowTemplateClient/ListWorkflowTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflowTemplates", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.ListWorkflowTemplates", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.ListWorkflowTemplates", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "ListWorkflowTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.ListWorkflowTemplatesRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.ListWorkflowTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowTemplateIterator", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "ListWorkflowTemplates", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.ListWorkflowTemplates", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "ListWorkflowTemplates" }, + "description": "ListWorkflowTemplates lists workflows that match the specified filter in the request.", + "file": "WorkflowTemplateClient/ListWorkflowTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_ListWorkflowTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc ListWorkflowTemplates Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_SetIamPolicy_sync", - "title": "dataproc 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": "WorkflowTemplateClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "WorkflowTemplateClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc SetIamPolicy Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_TestIamPermissions_sync", - "title": "dataproc 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": "WorkflowTemplateClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "WorkflowTemplateClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc TestIamPermissions Sample" }, { - "regionTag": "dataproc_v1_generated_WorkflowTemplateService_UpdateWorkflowTemplate_sync", - "title": "dataproc UpdateWorkflowTemplate Sample", - "description": "UpdateWorkflowTemplate updates (replaces) workflow template. The updated template\nmust contain version that matches the current server version.", - "file": "WorkflowTemplateClient/UpdateWorkflowTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkflowTemplate", + "client": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient", + "shortName": "WorkflowTemplateClient" + }, "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient.UpdateWorkflowTemplate", + "method": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.UpdateWorkflowTemplate", + "service": { + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "shortName": "WorkflowTemplateService" + }, + "shortName": "UpdateWorkflowTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataprocpb.UpdateWorkflowTemplateRequest", - "name": "req" + "name": "req", + "type": "dataprocpb.UpdateWorkflowTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataprocpb.WorkflowTemplate", - "client": { - "shortName": "WorkflowTemplateClient", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateClient" - }, - "method": { - "shortName": "UpdateWorkflowTemplate", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.UpdateWorkflowTemplate", - "service": { - "shortName": "WorkflowTemplateService", - "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService" - } - } + "shortName": "UpdateWorkflowTemplate" }, + "description": "UpdateWorkflowTemplate updates (replaces) workflow template. The updated template\nmust contain version that matches the current server version.", + "file": "WorkflowTemplateClient/UpdateWorkflowTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataproc_v1_generated_WorkflowTemplateService_UpdateWorkflowTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataproc UpdateWorkflowTemplate Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json index 568def427116..9f1362200514 100644 --- a/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json +++ b/internal/generated/snippets/dataqna/apiv1alpha/snippet_metadata.google.cloud.dataqna.v1alpha.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dataqna/apiv1alpha", - "version": "0.9.8", - "language": "GO", "apis": [ { "id": "google.cloud.dataqna.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dataqna/apiv1alpha", + "version": "0.9.8" }, "snippets": [ { - "regionTag": "dataqna_v1alpha_generated_AutoSuggestionService_SuggestQueries_sync", - "title": "dataqna SuggestQueries Sample", - "description": "SuggestQueries gets a list of suggestions based on a prefix string.\nAutoSuggestion tolerance should be less than 1 second.", - "file": "AutoSuggestionClient/SuggestQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestQueries", + "client": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionClient", + "shortName": "AutoSuggestionClient" + }, "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionClient.SuggestQueries", + "method": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", + "service": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService", + "shortName": "AutoSuggestionService" + }, + "shortName": "SuggestQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataqnapb.SuggestQueriesRequest", - "name": "req" + "name": "req", + "type": "dataqnapb.SuggestQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataqnapb.SuggestQueriesResponse", - "client": { - "shortName": "AutoSuggestionClient", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionClient" - }, - "method": { - "shortName": "SuggestQueries", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", - "service": { - "shortName": "AutoSuggestionService", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService" - } - } + "shortName": "SuggestQueries" }, + "description": "SuggestQueries gets a list of suggestions based on a prefix string.\nAutoSuggestion tolerance should be less than 1 second.", + "file": "AutoSuggestionClient/SuggestQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataqna_v1alpha_generated_AutoSuggestionService_SuggestQueries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataqna SuggestQueries Sample" }, { - "regionTag": "dataqna_v1alpha_generated_QuestionService_CreateQuestion_sync", - "title": "dataqna CreateQuestion Sample", - "description": "CreateQuestion creates a question.", - "file": "QuestionClient/CreateQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQuestion", + "client": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionClient", + "shortName": "QuestionClient" + }, "fullName": "google.cloud.dataqna.v1alpha.QuestionClient.CreateQuestion", + "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", + "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", + "shortName": "QuestionService" + }, + "shortName": "CreateQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataqnapb.CreateQuestionRequest", - "name": "req" + "name": "req", + "type": "dataqnapb.CreateQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataqnapb.Question", - "client": { - "shortName": "QuestionClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionClient" - }, - "method": { - "shortName": "CreateQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } + "shortName": "CreateQuestion" }, + "description": "CreateQuestion creates a question.", + "file": "QuestionClient/CreateQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataqna_v1alpha_generated_QuestionService_CreateQuestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataqna CreateQuestion Sample" }, { - "regionTag": "dataqna_v1alpha_generated_QuestionService_ExecuteQuestion_sync", - "title": "dataqna ExecuteQuestion Sample", - "description": "ExecuteQuestion executes an interpretation.", - "file": "QuestionClient/ExecuteQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteQuestion", + "client": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionClient", + "shortName": "QuestionClient" + }, "fullName": "google.cloud.dataqna.v1alpha.QuestionClient.ExecuteQuestion", + "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", + "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", + "shortName": "QuestionService" + }, + "shortName": "ExecuteQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataqnapb.ExecuteQuestionRequest", - "name": "req" + "name": "req", + "type": "dataqnapb.ExecuteQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataqnapb.Question", - "client": { - "shortName": "QuestionClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionClient" - }, - "method": { - "shortName": "ExecuteQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } + "shortName": "ExecuteQuestion" }, + "description": "ExecuteQuestion executes an interpretation.", + "file": "QuestionClient/ExecuteQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataqna_v1alpha_generated_QuestionService_ExecuteQuestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataqna ExecuteQuestion Sample" }, { - "regionTag": "dataqna_v1alpha_generated_QuestionService_GetQuestion_sync", - "title": "dataqna GetQuestion Sample", - "description": "GetQuestion gets a previously created question.", - "file": "QuestionClient/GetQuestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuestion", + "client": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionClient", + "shortName": "QuestionClient" + }, "fullName": "google.cloud.dataqna.v1alpha.QuestionClient.GetQuestion", + "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", + "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", + "shortName": "QuestionService" + }, + "shortName": "GetQuestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataqnapb.GetQuestionRequest", - "name": "req" + "name": "req", + "type": "dataqnapb.GetQuestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataqnapb.Question", - "client": { - "shortName": "QuestionClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionClient" - }, - "method": { - "shortName": "GetQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } + "shortName": "GetQuestion" }, + "description": "GetQuestion gets a previously created question.", + "file": "QuestionClient/GetQuestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataqna_v1alpha_generated_QuestionService_GetQuestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataqna GetQuestion Sample" }, { - "regionTag": "dataqna_v1alpha_generated_QuestionService_GetUserFeedback_sync", - "title": "dataqna GetUserFeedback Sample", - "description": "GetUserFeedback gets previously created user feedback.", - "file": "QuestionClient/GetUserFeedback/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserFeedback", + "client": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionClient", + "shortName": "QuestionClient" + }, "fullName": "google.cloud.dataqna.v1alpha.QuestionClient.GetUserFeedback", + "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", + "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", + "shortName": "QuestionService" + }, + "shortName": "GetUserFeedback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataqnapb.GetUserFeedbackRequest", - "name": "req" + "name": "req", + "type": "dataqnapb.GetUserFeedbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataqnapb.UserFeedback", - "client": { - "shortName": "QuestionClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionClient" - }, - "method": { - "shortName": "GetUserFeedback", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } + "shortName": "GetUserFeedback" }, + "description": "GetUserFeedback gets previously created user feedback.", + "file": "QuestionClient/GetUserFeedback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataqna_v1alpha_generated_QuestionService_GetUserFeedback_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataqna GetUserFeedback Sample" }, { - "regionTag": "dataqna_v1alpha_generated_QuestionService_UpdateUserFeedback_sync", - "title": "dataqna UpdateUserFeedback Sample", - "description": "UpdateUserFeedback updates user feedback. This creates user feedback if there was none before\n(upsert).", - "file": "QuestionClient/UpdateUserFeedback/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUserFeedback", + "client": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionClient", + "shortName": "QuestionClient" + }, "fullName": "google.cloud.dataqna.v1alpha.QuestionClient.UpdateUserFeedback", + "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", + "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", + "shortName": "QuestionService" + }, + "shortName": "UpdateUserFeedback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dataqnapb.UpdateUserFeedbackRequest", - "name": "req" + "name": "req", + "type": "dataqnapb.UpdateUserFeedbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dataqnapb.UserFeedback", - "client": { - "shortName": "QuestionClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionClient" - }, - "method": { - "shortName": "UpdateUserFeedback", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } + "shortName": "UpdateUserFeedback" }, + "description": "UpdateUserFeedback updates user feedback. This creates user feedback if there was none before\n(upsert).", + "file": "QuestionClient/UpdateUserFeedback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dataqna_v1alpha_generated_QuestionService_UpdateUserFeedback_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dataqna UpdateUserFeedback Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json index bd410c0c75da..8adf710582dd 100644 --- a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json +++ b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json @@ -1,473 +1,473 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datastore/admin/apiv1", - "version": "1.22.0", - "language": "GO", "apis": [ { "id": "google.datastore.admin.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datastore/admin/apiv1", + "version": "1.22.0" }, "snippets": [ { - "regionTag": "datastore_v1_generated_DatastoreAdmin_CancelOperation_sync", - "title": "datastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DatastoreAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DatastoreAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore CancelOperation Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_CreateIndex_sync", - "title": "datastore CreateIndex Sample", - "description": "CreateIndex creates the specified index.\nA newly created index's initial state is `CREATING`. On completion of the\nreturned [google.longrunning.Operation][google.longrunning.Operation], the\nstate will be `READY`. If the index already exists, the call will return an\n`ALREADY_EXISTS` status.\n\nDuring index creation, the process could result in an error, in which\ncase the index will move to the `ERROR` state. The process can be recovered\nby fixing the data that caused the error, removing the index with\n[delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then\nre-creating the index with [create]\n[google.datastore.admin.v1.DatastoreAdmin.CreateIndex].\n\nIndexes with a single property cannot be created.", - "file": "DatastoreAdminClient/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.CreateIndex", + "method": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin.CreateIndex", + "service": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "shortName": "DatastoreAdmin" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.datastore.admin.v1.DatastoreAdmin.CreateIndex", - "service": { - "shortName": "DatastoreAdmin", - "fullName": "google.datastore.admin.v1.DatastoreAdmin" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates the specified index.\nA newly created index's initial state is `CREATING`. On completion of the\nreturned [google.longrunning.Operation][google.longrunning.Operation], the\nstate will be `READY`. If the index already exists, the call will return an\n`ALREADY_EXISTS` status.\n\nDuring index creation, the process could result in an error, in which\ncase the index will move to the `ERROR` state. The process can be recovered\nby fixing the data that caused the error, removing the index with\n[delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then\nre-creating the index with [create]\n[google.datastore.admin.v1.DatastoreAdmin.CreateIndex].\n\nIndexes with a single property cannot be created.", + "file": "DatastoreAdminClient/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore CreateIndex Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_DeleteIndex_sync", - "title": "datastore DeleteIndex Sample", - "description": "DeleteIndex deletes an existing index.\nAn index can only be deleted if it is in a `READY` or `ERROR` state. On\nsuccessful execution of the request, the index will be in a `DELETING`\n[state][google.datastore.admin.v1.Index.State]. And on completion of the\nreturned [google.longrunning.Operation][google.longrunning.Operation], the\nindex will be removed.\n\nDuring index deletion, the process could result in an error, in which\ncase the index will move to the `ERROR` state. The process can be recovered\nby fixing the data that caused the error, followed by calling\n[delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.", - "file": "DatastoreAdminClient/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.DeleteIndex", + "method": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin.DeleteIndex", + "service": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "shortName": "DatastoreAdmin" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexOperation", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.datastore.admin.v1.DatastoreAdmin.DeleteIndex", - "service": { - "shortName": "DatastoreAdmin", - "fullName": "google.datastore.admin.v1.DatastoreAdmin" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex deletes an existing index.\nAn index can only be deleted if it is in a `READY` or `ERROR` state. On\nsuccessful execution of the request, the index will be in a `DELETING`\n[state][google.datastore.admin.v1.Index.State]. And on completion of the\nreturned [google.longrunning.Operation][google.longrunning.Operation], the\nindex will be removed.\n\nDuring index deletion, the process could result in an error, in which\ncase the index will move to the `ERROR` state. The process can be recovered\nby fixing the data that caused the error, followed by calling\n[delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.", + "file": "DatastoreAdminClient/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore DeleteIndex Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_DeleteOperation_sync", - "title": "datastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DatastoreAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DatastoreAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore DeleteOperation Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_ExportEntities_sync", - "title": "datastore ExportEntities Sample", - "description": "ExportEntities exports a copy of all or a subset of entities from Google Cloud Datastore\nto another storage system, such as Google Cloud Storage. Recent updates to\nentities may not be reflected in the export. The export occurs in the\nbackground and its progress can be monitored and managed via the\nOperation resource that is created. The output of an export may only be\nused once the associated operation is done. If an export operation is\ncancelled before completion it may leave partial data behind in Google\nCloud Storage.", - "file": "DatastoreAdminClient/ExportEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportEntities", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.ExportEntities", + "method": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin.ExportEntities", + "service": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "shortName": "DatastoreAdmin" + }, + "shortName": "ExportEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ExportEntitiesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ExportEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportEntitiesOperation", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "ExportEntities", - "fullName": "google.datastore.admin.v1.DatastoreAdmin.ExportEntities", - "service": { - "shortName": "DatastoreAdmin", - "fullName": "google.datastore.admin.v1.DatastoreAdmin" - } - } + "shortName": "ExportEntities" }, + "description": "ExportEntities exports a copy of all or a subset of entities from Google Cloud Datastore\nto another storage system, such as Google Cloud Storage. Recent updates to\nentities may not be reflected in the export. The export occurs in the\nbackground and its progress can be monitored and managed via the\nOperation resource that is created. The output of an export may only be\nused once the associated operation is done. If an export operation is\ncancelled before completion it may leave partial data behind in Google\nCloud Storage.", + "file": "DatastoreAdminClient/ExportEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_ExportEntities_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore ExportEntities Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_GetIndex_sync", - "title": "datastore GetIndex Sample", - "description": "GetIndex gets an index.", - "file": "DatastoreAdminClient/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.GetIndex", + "method": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin.GetIndex", + "service": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "shortName": "DatastoreAdmin" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Index", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.datastore.admin.v1.DatastoreAdmin.GetIndex", - "service": { - "shortName": "DatastoreAdmin", - "fullName": "google.datastore.admin.v1.DatastoreAdmin" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets an index.", + "file": "DatastoreAdminClient/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore GetIndex Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_GetOperation_sync", - "title": "datastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DatastoreAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DatastoreAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore GetOperation Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_ImportEntities_sync", - "title": "datastore ImportEntities Sample", - "description": "ImportEntities imports entities into Google Cloud Datastore. Existing entities with the\nsame key are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportEntities operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Datastore.", - "file": "DatastoreAdminClient/ImportEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportEntities", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.ImportEntities", + "method": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin.ImportEntities", + "service": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "shortName": "DatastoreAdmin" + }, + "shortName": "ImportEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ImportEntitiesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ImportEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportEntitiesOperation", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "ImportEntities", - "fullName": "google.datastore.admin.v1.DatastoreAdmin.ImportEntities", - "service": { - "shortName": "DatastoreAdmin", - "fullName": "google.datastore.admin.v1.DatastoreAdmin" - } - } + "shortName": "ImportEntities" }, + "description": "ImportEntities imports entities into Google Cloud Datastore. Existing entities with the\nsame key are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportEntities operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Datastore.", + "file": "DatastoreAdminClient/ImportEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_ImportEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore ImportEntities Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_ListIndexes_sync", - "title": "datastore ListIndexes Sample", - "description": "ListIndexes lists the indexes that match the specified filters. Datastore uses an\neventually consistent query to fetch the list of indexes and may\noccasionally return stale results.", - "file": "DatastoreAdminClient/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.ListIndexes", + "method": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin.ListIndexes", + "service": { + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "shortName": "DatastoreAdmin" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexIterator", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.datastore.admin.v1.DatastoreAdmin.ListIndexes", - "service": { - "shortName": "DatastoreAdmin", - "fullName": "google.datastore.admin.v1.DatastoreAdmin" - } - } + "shortName": "ListIndexes" }, + "description": "ListIndexes lists the indexes that match the specified filters. Datastore uses an\neventually consistent query to fetch the list of indexes and may\noccasionally return stale results.", + "file": "DatastoreAdminClient/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore ListIndexes Sample" }, { - "regionTag": "datastore_v1_generated_DatastoreAdmin_ListOperations_sync", - "title": "datastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DatastoreAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.datastore.admin.v1.DatastoreAdminClient", + "shortName": "DatastoreAdminClient" + }, "fullName": "google.datastore.admin.v1.DatastoreAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DatastoreAdminClient", - "fullName": "google.datastore.admin.v1.DatastoreAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DatastoreAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastore_v1_generated_DatastoreAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastore ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json index 8a43160614c8..bb37cef71065 100644 --- a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json +++ b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json @@ -1,1485 +1,1485 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datastream/apiv1", - "version": "1.15.1", - "language": "GO", "apis": [ { "id": "google.cloud.datastream.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datastream/apiv1", + "version": "1.15.1" }, "snippets": [ { - "regionTag": "datastream_v1_generated_Datastream_CancelOperation_sync", - "title": "datastream CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CancelOperation Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_CreateConnectionProfile_sync", - "title": "datastream CreateConnectionProfile Sample", - "description": "CreateConnectionProfile use this method to create a connection profile in a project and location.", - "file": "Client/CreateConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.CreateConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreateConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreateConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreateConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectionProfileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "CreateConnectionProfile" }, + "description": "CreateConnectionProfile use this method to create a connection profile in a project and location.", + "file": "Client/CreateConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_CreateConnectionProfile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreateConnectionProfile Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_CreatePrivateConnection_sync", - "title": "datastream CreatePrivateConnection Sample", - "description": "CreatePrivateConnection use this method to create a private connectivity configuration.", - "file": "Client/CreatePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrivateConnection", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.CreatePrivateConnection", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreatePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreatePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreatePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "CreatePrivateConnection" }, + "description": "CreatePrivateConnection use this method to create a private connectivity configuration.", + "file": "Client/CreatePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_CreatePrivateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreatePrivateConnection Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_CreateRoute_sync", - "title": "datastream CreateRoute Sample", - "description": "CreateRoute use this method to create a route for a private connectivity configuration\nin a project and location.", - "file": "Client/CreateRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRoute", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.CreateRoute", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreateRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreateRouteRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreateRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "CreateRoute", - "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "CreateRoute" }, + "description": "CreateRoute use this method to create a route for a private connectivity configuration\nin a project and location.", + "file": "Client/CreateRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_CreateRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreateRoute Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_CreateStream_sync", - "title": "datastream CreateStream Sample", - "description": "CreateStream use this method to create a stream.", - "file": "Client/CreateStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStream", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.CreateStream", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreateStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreateStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreateStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "CreateStream", - "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "CreateStream" }, + "description": "CreateStream use this method to create a stream.", + "file": "Client/CreateStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_CreateStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreateStream Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_DeleteConnectionProfile_sync", - "title": "datastream DeleteConnectionProfile Sample", - "description": "DeleteConnectionProfile use this method to delete a connection profile.", - "file": "Client/DeleteConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.DeleteConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeleteConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeleteConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeleteConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectionProfileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "DeleteConnectionProfile" }, + "description": "DeleteConnectionProfile use this method to delete a connection profile.", + "file": "Client/DeleteConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_DeleteConnectionProfile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteConnectionProfile Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_DeleteOperation_sync", - "title": "datastream DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteOperation Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_DeletePrivateConnection_sync", - "title": "datastream DeletePrivateConnection Sample", - "description": "DeletePrivateConnection use this method to delete a private connectivity configuration.", - "file": "Client/DeletePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrivateConnection", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.DeletePrivateConnection", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeletePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeletePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeletePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "DeletePrivateConnection" }, + "description": "DeletePrivateConnection use this method to delete a private connectivity configuration.", + "file": "Client/DeletePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_DeletePrivateConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeletePrivateConnection Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_DeleteRoute_sync", - "title": "datastream DeleteRoute Sample", - "description": "DeleteRoute use this method to delete a route.", - "file": "Client/DeleteRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRoute", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.DeleteRoute", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeleteRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeleteRouteRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeleteRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "DeleteRoute", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "DeleteRoute" }, + "description": "DeleteRoute use this method to delete a route.", + "file": "Client/DeleteRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_DeleteRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteRoute Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_DeleteStream_sync", - "title": "datastream DeleteStream Sample", - "description": "DeleteStream use this method to delete a stream.", - "file": "Client/DeleteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStream", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.DeleteStream", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeleteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeleteStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeleteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "DeleteStream", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "DeleteStream" }, + "description": "DeleteStream use this method to delete a stream.", + "file": "Client/DeleteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_DeleteStream_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteStream Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_DiscoverConnectionProfile_sync", - "title": "datastream DiscoverConnectionProfile Sample", - "description": "DiscoverConnectionProfile use this method to discover a connection profile.\nThe discover API call exposes the data objects and metadata belonging to\nthe profile. Typically, a request returns children data objects of a\nparent data object that's optionally supplied in the request.", - "file": "Client/DiscoverConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiscoverConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.DiscoverConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DiscoverConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DiscoverConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DiscoverConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.DiscoverConnectionProfileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "DiscoverConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "DiscoverConnectionProfile" }, + "description": "DiscoverConnectionProfile use this method to discover a connection profile.\nThe discover API call exposes the data objects and metadata belonging to\nthe profile. Typically, a request returns children data objects of a\nparent data object that's optionally supplied in the request.", + "file": "Client/DiscoverConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_DiscoverConnectionProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DiscoverConnectionProfile Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_FetchStaticIps_sync", - "title": "datastream FetchStaticIps Sample", - "description": "FetchStaticIps the FetchStaticIps API call exposes the static IP addresses used by\nDatastream.", - "file": "Client/FetchStaticIps/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchStaticIps", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.FetchStaticIps", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "FetchStaticIps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.FetchStaticIpsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.FetchStaticIpsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "FetchStaticIps" }, + "description": "FetchStaticIps the FetchStaticIps API call exposes the static IP addresses used by\nDatastream.", + "file": "Client/FetchStaticIps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_FetchStaticIps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream FetchStaticIps Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetConnectionProfile_sync", - "title": "datastream GetConnectionProfile Sample", - "description": "GetConnectionProfile use this method to get details about a connection profile.", - "file": "Client/GetConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.ConnectionProfile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "GetConnectionProfile" }, + "description": "GetConnectionProfile use this method to get details about a connection profile.", + "file": "Client/GetConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetConnectionProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetConnectionProfile Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetLocation_sync", - "title": "datastream GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetLocation Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetOperation_sync", - "title": "datastream GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetOperation Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetPrivateConnection_sync", - "title": "datastream GetPrivateConnection Sample", - "description": "GetPrivateConnection use this method to get details about a private connectivity configuration.", - "file": "Client/GetPrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrivateConnection", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetPrivateConnection", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetPrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetPrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetPrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.PrivateConnection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "GetPrivateConnection" }, + "description": "GetPrivateConnection use this method to get details about a private connectivity configuration.", + "file": "Client/GetPrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetPrivateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetPrivateConnection Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetRoute_sync", - "title": "datastream GetRoute Sample", - "description": "GetRoute use this method to get details about a route.", - "file": "Client/GetRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoute", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetRoute", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetRouteRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.Route", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetRoute", - "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "GetRoute" }, + "description": "GetRoute use this method to get details about a route.", + "file": "Client/GetRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetRoute Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetStream_sync", - "title": "datastream GetStream Sample", - "description": "GetStream use this method to get details about a stream.", - "file": "Client/GetStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStream", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetStream", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.GetStream", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.Stream", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetStream", - "fullName": "google.cloud.datastream.v1.Datastream.GetStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "GetStream" }, + "description": "GetStream use this method to get details about a stream.", + "file": "Client/GetStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetStream Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_GetStreamObject_sync", - "title": "datastream GetStreamObject Sample", - "description": "GetStreamObject use this method to get details about a stream object.", - "file": "Client/GetStreamObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStreamObject", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.GetStreamObject", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetStreamObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetStreamObjectRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetStreamObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.StreamObject", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "GetStreamObject", - "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "GetStreamObject" }, + "description": "GetStreamObject use this method to get details about a stream object.", + "file": "Client/GetStreamObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_GetStreamObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetStreamObject Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListConnectionProfiles_sync", - "title": "datastream ListConnectionProfiles Sample", - "description": "ListConnectionProfiles use this method to list connection profiles created in a project and\nlocation.", - "file": "Client/ListConnectionProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectionProfiles", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListConnectionProfiles", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListConnectionProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListConnectionProfilesRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListConnectionProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionProfileIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "ListConnectionProfiles" }, + "description": "ListConnectionProfiles use this method to list connection profiles created in a project and\nlocation.", + "file": "Client/ListConnectionProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListConnectionProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListConnectionProfiles Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListLocations_sync", - "title": "datastream ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListLocations Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListOperations_sync", - "title": "datastream ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListOperations Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListPrivateConnections_sync", - "title": "datastream ListPrivateConnections Sample", - "description": "ListPrivateConnections use this method to list private connectivity configurations in a project\nand location.", - "file": "Client/ListPrivateConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrivateConnections", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListPrivateConnections", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListPrivateConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListPrivateConnectionsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListPrivateConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrivateConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "ListPrivateConnections" }, + "description": "ListPrivateConnections use this method to list private connectivity configurations in a project\nand location.", + "file": "Client/ListPrivateConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListPrivateConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListPrivateConnections Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListRoutes_sync", - "title": "datastream ListRoutes Sample", - "description": "ListRoutes use this method to list routes created for a private connectivity\nconfiguration in a project and location.", - "file": "Client/ListRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutes", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListRoutes", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListRoutesRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListRoutes", - "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "ListRoutes" }, + "description": "ListRoutes use this method to list routes created for a private connectivity\nconfiguration in a project and location.", + "file": "Client/ListRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListRoutes Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListStreamObjects_sync", - "title": "datastream ListStreamObjects Sample", - "description": "ListStreamObjects use this method to list the objects of a specific stream.", - "file": "Client/ListStreamObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStreamObjects", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListStreamObjects", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListStreamObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListStreamObjectsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListStreamObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StreamObjectIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListStreamObjects", - "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "ListStreamObjects" }, + "description": "ListStreamObjects use this method to list the objects of a specific stream.", + "file": "Client/ListStreamObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListStreamObjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListStreamObjects Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_ListStreams_sync", - "title": "datastream ListStreams Sample", - "description": "ListStreams use this method to list streams in a project and location.", - "file": "Client/ListStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStreams", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.ListStreams", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListStreamsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StreamIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "ListStreams", - "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "ListStreams" }, + "description": "ListStreams use this method to list streams in a project and location.", + "file": "Client/ListStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_ListStreams_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListStreams Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_LookupStreamObject_sync", - "title": "datastream LookupStreamObject Sample", - "description": "LookupStreamObject use this method to look up a stream object by its source object identifier.", - "file": "Client/LookupStreamObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupStreamObject", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.LookupStreamObject", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "LookupStreamObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.LookupStreamObjectRequest", - "name": "req" + "name": "req", + "type": "datastreampb.LookupStreamObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.StreamObject", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "LookupStreamObject", - "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "LookupStreamObject" }, + "description": "LookupStreamObject use this method to look up a stream object by its source object identifier.", + "file": "Client/LookupStreamObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_LookupStreamObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream LookupStreamObject Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_RunStream_sync", - "title": "datastream RunStream Sample", - "description": "RunStream use this method to start, resume or recover a stream with a non default CDC\nstrategy.", - "file": "Client/RunStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunStream", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.RunStream", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.RunStream", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "RunStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.RunStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.RunStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "RunStream", - "fullName": "google.cloud.datastream.v1.Datastream.RunStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "RunStream" }, + "description": "RunStream use this method to start, resume or recover a stream with a non default CDC\nstrategy.", + "file": "Client/RunStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_RunStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream RunStream Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_StartBackfillJob_sync", - "title": "datastream StartBackfillJob Sample", - "description": "StartBackfillJob use this method to start a backfill job for the specified stream object.", - "file": "Client/StartBackfillJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartBackfillJob", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.StartBackfillJob", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "StartBackfillJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.StartBackfillJobRequest", - "name": "req" + "name": "req", + "type": "datastreampb.StartBackfillJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.StartBackfillJobResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "StartBackfillJob", - "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "StartBackfillJob" }, + "description": "StartBackfillJob use this method to start a backfill job for the specified stream object.", + "file": "Client/StartBackfillJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_StartBackfillJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream StartBackfillJob Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_StopBackfillJob_sync", - "title": "datastream StopBackfillJob Sample", - "description": "StopBackfillJob use this method to stop a backfill job for the specified stream object.", - "file": "Client/StopBackfillJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopBackfillJob", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.StopBackfillJob", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "StopBackfillJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.StopBackfillJobRequest", - "name": "req" + "name": "req", + "type": "datastreampb.StopBackfillJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.StopBackfillJobResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "StopBackfillJob", - "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "StopBackfillJob" }, + "description": "StopBackfillJob use this method to stop a backfill job for the specified stream object.", + "file": "Client/StopBackfillJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_StopBackfillJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream StopBackfillJob Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_UpdateConnectionProfile_sync", - "title": "datastream UpdateConnectionProfile Sample", - "description": "UpdateConnectionProfile use this method to update the parameters of a connection profile.", - "file": "Client/UpdateConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.UpdateConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "UpdateConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.UpdateConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.UpdateConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectionProfileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "UpdateConnectionProfile" }, + "description": "UpdateConnectionProfile use this method to update the parameters of a connection profile.", + "file": "Client/UpdateConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_UpdateConnectionProfile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream UpdateConnectionProfile Sample" }, { - "regionTag": "datastream_v1_generated_Datastream_UpdateStream_sync", - "title": "datastream UpdateStream Sample", - "description": "UpdateStream use this method to update the configuration of a stream.", - "file": "Client/UpdateStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateStream", + "client": { + "fullName": "google.cloud.datastream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1.Client.UpdateStream", + "method": { + "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", + "service": { + "fullName": "google.cloud.datastream.v1.Datastream", + "shortName": "Datastream" + }, + "shortName": "UpdateStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.UpdateStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.UpdateStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1.Client" - }, - "method": { - "shortName": "UpdateStream", - "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } + "shortName": "UpdateStream" }, + "description": "UpdateStream use this method to update the configuration of a stream.", + "file": "Client/UpdateStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1_generated_Datastream_UpdateStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream UpdateStream Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json index 6a98acf8a26b..d71b68c30e05 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json +++ b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json @@ -1,981 +1,981 @@ { "clientLibrary": { - "name": "cloud.google.com/go/datastream/apiv1alpha1", - "version": "1.15.1", - "language": "GO", "apis": [ { "id": "google.cloud.datastream.v1alpha1", "version": "v1alpha1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/datastream/apiv1alpha1", + "version": "1.15.1" }, "snippets": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreateConnectionProfile_sync", - "title": "datastream CreateConnectionProfile Sample", - "description": "CreateConnectionProfile use this method to create a connection profile in a project and location.", - "file": "Client/CreateConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.CreateConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreateConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreateConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreateConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectionProfileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "CreateConnectionProfile" }, + "description": "CreateConnectionProfile use this method to create a connection profile in a project and location.", + "file": "Client/CreateConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_CreateConnectionProfile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreateConnectionProfile Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreatePrivateConnection_sync", - "title": "datastream CreatePrivateConnection Sample", - "description": "CreatePrivateConnection use this method to create a private connectivity configuration.", - "file": "Client/CreatePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrivateConnection", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.CreatePrivateConnection", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnection", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreatePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreatePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreatePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "CreatePrivateConnection" }, + "description": "CreatePrivateConnection use this method to create a private connectivity configuration.", + "file": "Client/CreatePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_CreatePrivateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreatePrivateConnection Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreateRoute_sync", - "title": "datastream CreateRoute Sample", - "description": "CreateRoute use this method to create a route for a private connectivity in a project\nand location.", - "file": "Client/CreateRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRoute", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.CreateRoute", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateRoute", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreateRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreateRouteRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreateRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "CreateRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "CreateRoute" }, + "description": "CreateRoute use this method to create a route for a private connectivity in a project\nand location.", + "file": "Client/CreateRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_CreateRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreateRoute Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreateStream_sync", - "title": "datastream CreateStream Sample", - "description": "CreateStream use this method to create a stream.", - "file": "Client/CreateStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStream", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.CreateStream", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateStream", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "CreateStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.CreateStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.CreateStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "CreateStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "CreateStream" }, + "description": "CreateStream use this method to create a stream.", + "file": "Client/CreateStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_CreateStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream CreateStream Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteConnectionProfile_sync", - "title": "datastream DeleteConnectionProfile Sample", - "description": "DeleteConnectionProfile use this method to delete a connection profile..", - "file": "Client/DeleteConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.DeleteConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeleteConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeleteConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeleteConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectionProfileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "DeleteConnectionProfile" }, + "description": "DeleteConnectionProfile use this method to delete a connection profile..", + "file": "Client/DeleteConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteConnectionProfile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteConnectionProfile Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeletePrivateConnection_sync", - "title": "datastream DeletePrivateConnection Sample", - "description": "DeletePrivateConnection use this method to delete a private connectivity configuration.", - "file": "Client/DeletePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrivateConnection", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.DeletePrivateConnection", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnection", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeletePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeletePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeletePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "DeletePrivateConnection" }, + "description": "DeletePrivateConnection use this method to delete a private connectivity configuration.", + "file": "Client/DeletePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_DeletePrivateConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeletePrivateConnection Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteRoute_sync", - "title": "datastream DeleteRoute Sample", - "description": "DeleteRoute use this method to delete a route.", - "file": "Client/DeleteRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRoute", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.DeleteRoute", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteRoute", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeleteRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeleteRouteRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeleteRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "DeleteRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "DeleteRoute" }, + "description": "DeleteRoute use this method to delete a route.", + "file": "Client/DeleteRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteRoute Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteStream_sync", - "title": "datastream DeleteStream Sample", - "description": "DeleteStream use this method to delete a stream.", - "file": "Client/DeleteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStream", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.DeleteStream", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteStream", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DeleteStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DeleteStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DeleteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "DeleteStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "DeleteStream" }, + "description": "DeleteStream use this method to delete a stream.", + "file": "Client/DeleteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteStream_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DeleteStream Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_DiscoverConnectionProfile_sync", - "title": "datastream DiscoverConnectionProfile Sample", - "description": "DiscoverConnectionProfile use this method to discover a connection profile.\nThe discover API call exposes the data objects and metadata belonging to\nthe profile. Typically, a request returns children data objects under a\nparent data object that's optionally supplied in the request.", - "file": "Client/DiscoverConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiscoverConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.DiscoverConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "DiscoverConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.DiscoverConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.DiscoverConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.DiscoverConnectionProfileResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "DiscoverConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "DiscoverConnectionProfile" }, + "description": "DiscoverConnectionProfile use this method to discover a connection profile.\nThe discover API call exposes the data objects and metadata belonging to\nthe profile. Typically, a request returns children data objects under a\nparent data object that's optionally supplied in the request.", + "file": "Client/DiscoverConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_DiscoverConnectionProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream DiscoverConnectionProfile Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_FetchErrors_sync", - "title": "datastream FetchErrors Sample", - "description": "FetchErrors use this method to fetch any errors associated with a stream.", - "file": "Client/FetchErrors/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchErrors", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.FetchErrors", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchErrors", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "FetchErrors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.FetchErrorsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.FetchErrorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FetchErrorsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "FetchErrors", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchErrors", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "FetchErrors" }, + "description": "FetchErrors use this method to fetch any errors associated with a stream.", + "file": "Client/FetchErrors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_FetchErrors_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream FetchErrors Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_FetchStaticIps_sync", - "title": "datastream FetchStaticIps Sample", - "description": "FetchStaticIps the FetchStaticIps API call exposes the static ips used by Datastream.\nTypically, a request returns children data objects under\na parent data object that's optionally supplied in the request.", - "file": "Client/FetchStaticIps/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchStaticIps", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.FetchStaticIps", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchStaticIps", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "FetchStaticIps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.FetchStaticIpsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.FetchStaticIpsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchStaticIps", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "FetchStaticIps" }, + "description": "FetchStaticIps the FetchStaticIps API call exposes the static ips used by Datastream.\nTypically, a request returns children data objects under\na parent data object that's optionally supplied in the request.", + "file": "Client/FetchStaticIps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_FetchStaticIps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream FetchStaticIps Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetConnectionProfile_sync", - "title": "datastream GetConnectionProfile Sample", - "description": "GetConnectionProfile use this method to get details about a connection profile.", - "file": "Client/GetConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.GetConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.ConnectionProfile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "GetConnectionProfile" }, + "description": "GetConnectionProfile use this method to get details about a connection profile.", + "file": "Client/GetConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_GetConnectionProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetConnectionProfile Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetPrivateConnection_sync", - "title": "datastream GetPrivateConnection Sample", - "description": "GetPrivateConnection use this method to get details about a private connectivity configuration.", - "file": "Client/GetPrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrivateConnection", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.GetPrivateConnection", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnection", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetPrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetPrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetPrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.PrivateConnection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "GetPrivateConnection" }, + "description": "GetPrivateConnection use this method to get details about a private connectivity configuration.", + "file": "Client/GetPrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_GetPrivateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetPrivateConnection Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetRoute_sync", - "title": "datastream GetRoute Sample", - "description": "GetRoute use this method to get details about a route.", - "file": "Client/GetRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoute", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.GetRoute", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetRoute", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetRouteRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.Route", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "GetRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "GetRoute" }, + "description": "GetRoute use this method to get details about a route.", + "file": "Client/GetRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_GetRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetRoute Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetStream_sync", - "title": "datastream GetStream Sample", - "description": "GetStream use this method to get details about a stream.", - "file": "Client/GetStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStream", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.GetStream", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetStream", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "GetStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.GetStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.GetStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datastreampb.Stream", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "GetStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "GetStream" }, + "description": "GetStream use this method to get details about a stream.", + "file": "Client/GetStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_GetStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream GetStream Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListConnectionProfiles_sync", - "title": "datastream ListConnectionProfiles Sample", - "description": "ListConnectionProfiles use this method to list connection profiles created in a project and\nlocation.", - "file": "Client/ListConnectionProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectionProfiles", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.ListConnectionProfiles", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfiles", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListConnectionProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListConnectionProfilesRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListConnectionProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionProfileIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfiles", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "ListConnectionProfiles" }, + "description": "ListConnectionProfiles use this method to list connection profiles created in a project and\nlocation.", + "file": "Client/ListConnectionProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_ListConnectionProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListConnectionProfiles Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListPrivateConnections_sync", - "title": "datastream ListPrivateConnections Sample", - "description": "ListPrivateConnections use this method to list private connectivity configurations in a project\nand location.", - "file": "Client/ListPrivateConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrivateConnections", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.ListPrivateConnections", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnections", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListPrivateConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListPrivateConnectionsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListPrivateConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrivateConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnections", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "ListPrivateConnections" }, + "description": "ListPrivateConnections use this method to list private connectivity configurations in a project\nand location.", + "file": "Client/ListPrivateConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_ListPrivateConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListPrivateConnections Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListRoutes_sync", - "title": "datastream ListRoutes Sample", - "description": "ListRoutes use this method to list routes created for a private connectivity in a\nproject and location.", - "file": "Client/ListRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutes", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.ListRoutes", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListRoutes", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListRoutesRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "ListRoutes", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListRoutes", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "ListRoutes" }, + "description": "ListRoutes use this method to list routes created for a private connectivity in a\nproject and location.", + "file": "Client/ListRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_ListRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListRoutes Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListStreams_sync", - "title": "datastream ListStreams Sample", - "description": "ListStreams use this method to list streams in a project and location.", - "file": "Client/ListStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStreams", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.ListStreams", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListStreams", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "ListStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.ListStreamsRequest", - "name": "req" + "name": "req", + "type": "datastreampb.ListStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StreamIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "ListStreams", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListStreams", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "ListStreams" }, + "description": "ListStreams use this method to list streams in a project and location.", + "file": "Client/ListStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_ListStreams_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream ListStreams Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateConnectionProfile_sync", - "title": "datastream UpdateConnectionProfile Sample", - "description": "UpdateConnectionProfile use this method to update the parameters of a connection profile.", - "file": "Client/UpdateConnectionProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnectionProfile", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.UpdateConnectionProfile", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfile", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "UpdateConnectionProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.UpdateConnectionProfileRequest", - "name": "req" + "name": "req", + "type": "datastreampb.UpdateConnectionProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectionProfileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "UpdateConnectionProfile" }, + "description": "UpdateConnectionProfile use this method to update the parameters of a connection profile.", + "file": "Client/UpdateConnectionProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateConnectionProfile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream UpdateConnectionProfile Sample" }, { - "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateStream_sync", - "title": "datastream UpdateStream Sample", - "description": "UpdateStream use this method to update the configuration of a stream.", - "file": "Client/UpdateStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateStream", + "client": { + "fullName": "google.cloud.datastream.v1alpha1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.datastream.v1alpha1.Client.UpdateStream", + "method": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateStream", + "service": { + "fullName": "google.cloud.datastream.v1alpha1.Datastream", + "shortName": "Datastream" + }, + "shortName": "UpdateStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datastreampb.UpdateStreamRequest", - "name": "req" + "name": "req", + "type": "datastreampb.UpdateStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateStreamOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.datastream.v1alpha1.Client" - }, - "method": { - "shortName": "UpdateStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } + "shortName": "UpdateStream" }, + "description": "UpdateStream use this method to update the configuration of a stream.", + "file": "Client/UpdateStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "datastream UpdateStream Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json b/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json index a7e5591803d1..cdab4c2040f3 100644 --- a/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json +++ b/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json @@ -1,2497 +1,2497 @@ { "clientLibrary": { - "name": "cloud.google.com/go/deploy/apiv1", - "version": "1.27.3", - "language": "GO", "apis": [ { "id": "google.cloud.deploy.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/deploy/apiv1", + "version": "1.27.3" }, "snippets": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync", - "title": "clouddeploy AbandonRelease Sample", - "description": "AbandonRelease abandons a Release in the Delivery Pipeline.", - "file": "CloudDeployClient/AbandonRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "AbandonRelease", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.AbandonRelease", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.AbandonRelease", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "AbandonRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.AbandonReleaseRequest", - "name": "req" + "name": "req", + "type": "deploypb.AbandonReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.AbandonReleaseResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "AbandonRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.AbandonRelease", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "AbandonRelease" }, + "description": "AbandonRelease abandons a Release in the Delivery Pipeline.", + "file": "CloudDeployClient/AbandonRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_AbandonRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy AbandonRelease Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_sync", - "title": "clouddeploy AdvanceRollout Sample", - "description": "AdvanceRollout advances a Rollout in a given project and location.", - "file": "CloudDeployClient/AdvanceRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "AdvanceRollout", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.AdvanceRollout", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "AdvanceRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.AdvanceRolloutRequest", - "name": "req" + "name": "req", + "type": "deploypb.AdvanceRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.AdvanceRolloutResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "AdvanceRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "AdvanceRollout" }, + "description": "AdvanceRollout advances a Rollout in a given project and location.", + "file": "CloudDeployClient/AdvanceRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy AdvanceRollout Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ApproveRollout_sync", - "title": "clouddeploy ApproveRollout Sample", - "description": "ApproveRollout approves a Rollout.", - "file": "CloudDeployClient/ApproveRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveRollout", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ApproveRollout", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ApproveRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ApproveRolloutRequest", - "name": "req" + "name": "req", + "type": "deploypb.ApproveRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.ApproveRolloutResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ApproveRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ApproveRollout" }, + "description": "ApproveRollout approves a Rollout.", + "file": "CloudDeployClient/ApproveRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ApproveRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ApproveRollout Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelAutomationRun_sync", - "title": "clouddeploy CancelAutomationRun Sample", - "description": "CancelAutomationRun cancels an AutomationRun. The `state` of the `AutomationRun` after\ncancelling is `CANCELLED`. `CancelAutomationRun` can be called on\nAutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun\nin a different state returns an `FAILED_PRECONDITION` error.", - "file": "CloudDeployClient/CancelAutomationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelAutomationRun", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CancelAutomationRun", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CancelAutomationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CancelAutomationRunRequest", - "name": "req" + "name": "req", + "type": "deploypb.CancelAutomationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.CancelAutomationRunResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CancelAutomationRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CancelAutomationRun" }, + "description": "CancelAutomationRun cancels an AutomationRun. The `state` of the `AutomationRun` after\ncancelling is `CANCELLED`. `CancelAutomationRun` can be called on\nAutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun\nin a different state returns an `FAILED_PRECONDITION` error.", + "file": "CloudDeployClient/CancelAutomationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelAutomationRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CancelAutomationRun Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelOperation_sync", - "title": "clouddeploy CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudDeployClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudDeployClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CancelOperation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelRollout_sync", - "title": "clouddeploy CancelRollout Sample", - "description": "CancelRollout cancels a Rollout in a given project and location.", - "file": "CloudDeployClient/CancelRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelRollout", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CancelRollout", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CancelRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CancelRolloutRequest", - "name": "req" + "name": "req", + "type": "deploypb.CancelRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.CancelRolloutResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CancelRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CancelRollout" }, + "description": "CancelRollout cancels a Rollout in a given project and location.", + "file": "CloudDeployClient/CancelRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CancelRollout Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateAutomation_sync", - "title": "clouddeploy CreateAutomation Sample", - "description": "CreateAutomation creates a new Automation in a given project and location.", - "file": "CloudDeployClient/CreateAutomation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAutomation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateAutomation", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateAutomation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateAutomationRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateAutomationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAutomationOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateAutomation" }, + "description": "CreateAutomation creates a new Automation in a given project and location.", + "file": "CloudDeployClient/CreateAutomation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateAutomation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateAutomation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateCustomTargetType_sync", - "title": "clouddeploy CreateCustomTargetType Sample", - "description": "CreateCustomTargetType creates a new CustomTargetType in a given project and location.", - "file": "CloudDeployClient/CreateCustomTargetType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomTargetType", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateCustomTargetType", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateCustomTargetType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateCustomTargetTypeRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateCustomTargetTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCustomTargetTypeOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateCustomTargetType" }, + "description": "CreateCustomTargetType creates a new CustomTargetType in a given project and location.", + "file": "CloudDeployClient/CreateCustomTargetType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateCustomTargetType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateCustomTargetType Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeliveryPipeline_sync", - "title": "clouddeploy CreateDeliveryPipeline Sample", - "description": "CreateDeliveryPipeline creates a new DeliveryPipeline in a given project and location.", - "file": "CloudDeployClient/CreateDeliveryPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeliveryPipeline", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateDeliveryPipeline", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateDeliveryPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateDeliveryPipelineRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateDeliveryPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDeliveryPipelineOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateDeliveryPipeline" }, + "description": "CreateDeliveryPipeline creates a new DeliveryPipeline in a given project and location.", + "file": "CloudDeployClient/CreateDeliveryPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeliveryPipeline_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateDeliveryPipeline Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeployPolicy_sync", - "title": "clouddeploy CreateDeployPolicy Sample", - "description": "CreateDeployPolicy creates a new DeployPolicy in a given project and location.", - "file": "CloudDeployClient/CreateDeployPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployPolicy", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateDeployPolicy", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeployPolicy", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateDeployPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateDeployPolicyRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateDeployPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDeployPolicyOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateDeployPolicy" }, + "description": "CreateDeployPolicy creates a new DeployPolicy in a given project and location.", + "file": "CloudDeployClient/CreateDeployPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeployPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateDeployPolicy Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRelease_sync", - "title": "clouddeploy CreateRelease Sample", - "description": "CreateRelease creates a new Release in a given project and location.", - "file": "CloudDeployClient/CreateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRelease", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateRelease", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRelease", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateReleaseRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReleaseOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRelease", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateRelease" }, + "description": "CreateRelease creates a new Release in a given project and location.", + "file": "CloudDeployClient/CreateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRelease_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateRelease Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRollout_sync", - "title": "clouddeploy CreateRollout Sample", - "description": "CreateRollout creates a new Rollout in a given project and location.", - "file": "CloudDeployClient/CreateRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRollout", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateRollout", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRollout", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateRolloutRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRolloutOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateRollout" }, + "description": "CreateRollout creates a new Rollout in a given project and location.", + "file": "CloudDeployClient/CreateRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateRollout Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateTarget_sync", - "title": "clouddeploy CreateTarget Sample", - "description": "CreateTarget creates a new Target in a given project and location.", - "file": "CloudDeployClient/CreateTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTarget", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.CreateTarget", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateTarget", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "CreateTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.CreateTargetRequest", - "name": "req" + "name": "req", + "type": "deploypb.CreateTargetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTargetOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "CreateTarget" }, + "description": "CreateTarget creates a new Target in a given project and location.", + "file": "CloudDeployClient/CreateTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateTarget_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy CreateTarget Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteAutomation_sync", - "title": "clouddeploy DeleteAutomation Sample", - "description": "DeleteAutomation deletes a single Automation resource.", - "file": "CloudDeployClient/DeleteAutomation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAutomation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.DeleteAutomation", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "DeleteAutomation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.DeleteAutomationRequest", - "name": "req" + "name": "req", + "type": "deploypb.DeleteAutomationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAutomationOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "DeleteAutomation" }, + "description": "DeleteAutomation deletes a single Automation resource.", + "file": "CloudDeployClient/DeleteAutomation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteAutomation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy DeleteAutomation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteCustomTargetType_sync", - "title": "clouddeploy DeleteCustomTargetType Sample", - "description": "DeleteCustomTargetType deletes a single CustomTargetType.", - "file": "CloudDeployClient/DeleteCustomTargetType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomTargetType", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.DeleteCustomTargetType", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "DeleteCustomTargetType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.DeleteCustomTargetTypeRequest", - "name": "req" + "name": "req", + "type": "deploypb.DeleteCustomTargetTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCustomTargetTypeOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "DeleteCustomTargetType" }, + "description": "DeleteCustomTargetType deletes a single CustomTargetType.", + "file": "CloudDeployClient/DeleteCustomTargetType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteCustomTargetType_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy DeleteCustomTargetType Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeliveryPipeline_sync", - "title": "clouddeploy DeleteDeliveryPipeline Sample", - "description": "DeleteDeliveryPipeline deletes a single DeliveryPipeline.", - "file": "CloudDeployClient/DeleteDeliveryPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeliveryPipeline", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.DeleteDeliveryPipeline", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "DeleteDeliveryPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.DeleteDeliveryPipelineRequest", - "name": "req" + "name": "req", + "type": "deploypb.DeleteDeliveryPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDeliveryPipelineOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "DeleteDeliveryPipeline" }, + "description": "DeleteDeliveryPipeline deletes a single DeliveryPipeline.", + "file": "CloudDeployClient/DeleteDeliveryPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeliveryPipeline_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy DeleteDeliveryPipeline Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeployPolicy_sync", - "title": "clouddeploy DeleteDeployPolicy Sample", - "description": "DeleteDeployPolicy deletes a single DeployPolicy.", - "file": "CloudDeployClient/DeleteDeployPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeployPolicy", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.DeleteDeployPolicy", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeployPolicy", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "DeleteDeployPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.DeleteDeployPolicyRequest", - "name": "req" + "name": "req", + "type": "deploypb.DeleteDeployPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDeployPolicyOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "DeleteDeployPolicy" }, + "description": "DeleteDeployPolicy deletes a single DeployPolicy.", + "file": "CloudDeployClient/DeleteDeployPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeployPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy DeleteDeployPolicy Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteOperation_sync", - "title": "clouddeploy DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudDeployClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudDeployClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy DeleteOperation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteTarget_sync", - "title": "clouddeploy DeleteTarget Sample", - "description": "DeleteTarget deletes a single Target.", - "file": "CloudDeployClient/DeleteTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTarget", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.DeleteTarget", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteTarget", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "DeleteTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.DeleteTargetRequest", - "name": "req" + "name": "req", + "type": "deploypb.DeleteTargetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTargetOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "DeleteTarget" }, + "description": "DeleteTarget deletes a single Target.", + "file": "CloudDeployClient/DeleteTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteTarget_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy DeleteTarget Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomation_sync", - "title": "clouddeploy GetAutomation Sample", - "description": "GetAutomation gets details of a single Automation.", - "file": "CloudDeployClient/GetAutomation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutomation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetAutomation", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetAutomation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetAutomationRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetAutomationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.Automation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetAutomation" }, + "description": "GetAutomation gets details of a single Automation.", + "file": "CloudDeployClient/GetAutomation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetAutomation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomationRun_sync", - "title": "clouddeploy GetAutomationRun Sample", - "description": "GetAutomationRun gets details of a single AutomationRun.", - "file": "CloudDeployClient/GetAutomationRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutomationRun", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetAutomationRun", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetAutomationRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetAutomationRunRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetAutomationRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.AutomationRun", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetAutomationRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetAutomationRun" }, + "description": "GetAutomationRun gets details of a single AutomationRun.", + "file": "CloudDeployClient/GetAutomationRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomationRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetAutomationRun Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetConfig_sync", - "title": "clouddeploy GetConfig Sample", - "description": "GetConfig gets the configuration for a location.", - "file": "CloudDeployClient/GetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConfig", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetConfig", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetConfigRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.Config", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetConfig", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetConfig" }, + "description": "GetConfig gets the configuration for a location.", + "file": "CloudDeployClient/GetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetConfig Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetCustomTargetType_sync", - "title": "clouddeploy GetCustomTargetType Sample", - "description": "GetCustomTargetType gets details of a single CustomTargetType.", - "file": "CloudDeployClient/GetCustomTargetType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomTargetType", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetCustomTargetType", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetCustomTargetType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetCustomTargetTypeRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetCustomTargetTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.CustomTargetType", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetCustomTargetType" }, + "description": "GetCustomTargetType gets details of a single CustomTargetType.", + "file": "CloudDeployClient/GetCustomTargetType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetCustomTargetType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetCustomTargetType Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeliveryPipeline_sync", - "title": "clouddeploy GetDeliveryPipeline Sample", - "description": "GetDeliveryPipeline gets details of a single DeliveryPipeline.", - "file": "CloudDeployClient/GetDeliveryPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeliveryPipeline", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetDeliveryPipeline", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetDeliveryPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetDeliveryPipelineRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetDeliveryPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.DeliveryPipeline", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetDeliveryPipeline" }, + "description": "GetDeliveryPipeline gets details of a single DeliveryPipeline.", + "file": "CloudDeployClient/GetDeliveryPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeliveryPipeline_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetDeliveryPipeline Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeployPolicy_sync", - "title": "clouddeploy GetDeployPolicy Sample", - "description": "GetDeployPolicy gets details of a single DeployPolicy.", - "file": "CloudDeployClient/GetDeployPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployPolicy", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetDeployPolicy", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeployPolicy", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetDeployPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetDeployPolicyRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetDeployPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.DeployPolicy", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetDeployPolicy" }, + "description": "GetDeployPolicy gets details of a single DeployPolicy.", + "file": "CloudDeployClient/GetDeployPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeployPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetDeployPolicy Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetIamPolicy_sync", - "title": "clouddeploy 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": "CloudDeployClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "CloudDeployClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetIamPolicy Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetJobRun_sync", - "title": "clouddeploy GetJobRun Sample", - "description": "GetJobRun gets details of a single JobRun.", - "file": "CloudDeployClient/GetJobRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJobRun", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetJobRun", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetJobRun", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetJobRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetJobRunRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetJobRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.JobRun", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetJobRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetJobRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetJobRun" }, + "description": "GetJobRun gets details of a single JobRun.", + "file": "CloudDeployClient/GetJobRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetJobRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetJobRun Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetLocation_sync", - "title": "clouddeploy GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudDeployClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudDeployClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetLocation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetOperation_sync", - "title": "clouddeploy GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudDeployClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudDeployClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetOperation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRelease_sync", - "title": "clouddeploy GetRelease Sample", - "description": "GetRelease gets details of a single Release.", - "file": "CloudDeployClient/GetRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRelease", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetRelease", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRelease", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetReleaseRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.Release", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRelease", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetRelease" }, + "description": "GetRelease gets details of a single Release.", + "file": "CloudDeployClient/GetRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetRelease Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRollout_sync", - "title": "clouddeploy GetRollout Sample", - "description": "GetRollout gets details of a single Rollout.", - "file": "CloudDeployClient/GetRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRollout", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetRollout", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRollout", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetRolloutRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.Rollout", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetRollout" }, + "description": "GetRollout gets details of a single Rollout.", + "file": "CloudDeployClient/GetRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetRollout Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetTarget_sync", - "title": "clouddeploy GetTarget Sample", - "description": "GetTarget gets details of a single Target.", - "file": "CloudDeployClient/GetTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTarget", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.GetTarget", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetTarget", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "GetTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.GetTargetRequest", - "name": "req" + "name": "req", + "type": "deploypb.GetTargetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.Target", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "GetTarget" }, + "description": "GetTarget gets details of a single Target.", + "file": "CloudDeployClient/GetTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetTarget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy GetTarget Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_IgnoreJob_sync", - "title": "clouddeploy IgnoreJob Sample", - "description": "IgnoreJob ignores the specified Job in a Rollout.", - "file": "CloudDeployClient/IgnoreJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "IgnoreJob", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.IgnoreJob", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "IgnoreJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.IgnoreJobRequest", - "name": "req" + "name": "req", + "type": "deploypb.IgnoreJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*deploypb.IgnoreJobResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "IgnoreJob", - "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*deploypb.IgnoreJobResponse", + "shortName": "IgnoreJob" }, + "description": "IgnoreJob ignores the specified Job in a Rollout.", + "file": "CloudDeployClient/IgnoreJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_IgnoreJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy IgnoreJob Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomationRuns_sync", - "title": "clouddeploy ListAutomationRuns Sample", - "description": "ListAutomationRuns lists AutomationRuns in a given project and location.", - "file": "CloudDeployClient/ListAutomationRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutomationRuns", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListAutomationRuns", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListAutomationRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListAutomationRunsRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListAutomationRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutomationRunIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListAutomationRuns", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListAutomationRuns" }, + "description": "ListAutomationRuns lists AutomationRuns in a given project and location.", + "file": "CloudDeployClient/ListAutomationRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomationRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListAutomationRuns Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomations_sync", - "title": "clouddeploy ListAutomations Sample", - "description": "ListAutomations lists Automations in a given project and location.", - "file": "CloudDeployClient/ListAutomations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutomations", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListAutomations", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListAutomations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListAutomationsRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListAutomationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutomationIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListAutomations", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListAutomations" }, + "description": "ListAutomations lists Automations in a given project and location.", + "file": "CloudDeployClient/ListAutomations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListAutomations Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListCustomTargetTypes_sync", - "title": "clouddeploy ListCustomTargetTypes Sample", - "description": "ListCustomTargetTypes lists CustomTargetTypes in a given project and location.", - "file": "CloudDeployClient/ListCustomTargetTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomTargetTypes", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListCustomTargetTypes", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListCustomTargetTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListCustomTargetTypesRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListCustomTargetTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomTargetTypeIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListCustomTargetTypes", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListCustomTargetTypes" }, + "description": "ListCustomTargetTypes lists CustomTargetTypes in a given project and location.", + "file": "CloudDeployClient/ListCustomTargetTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListCustomTargetTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListCustomTargetTypes Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeliveryPipelines_sync", - "title": "clouddeploy ListDeliveryPipelines Sample", - "description": "ListDeliveryPipelines lists DeliveryPipelines in a given project and location.", - "file": "CloudDeployClient/ListDeliveryPipelines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeliveryPipelines", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListDeliveryPipelines", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListDeliveryPipelines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListDeliveryPipelinesRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListDeliveryPipelinesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeliveryPipelineIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListDeliveryPipelines", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListDeliveryPipelines" }, + "description": "ListDeliveryPipelines lists DeliveryPipelines in a given project and location.", + "file": "CloudDeployClient/ListDeliveryPipelines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeliveryPipelines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListDeliveryPipelines Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeployPolicies_sync", - "title": "clouddeploy ListDeployPolicies Sample", - "description": "ListDeployPolicies lists DeployPolicies in a given project and location.", - "file": "CloudDeployClient/ListDeployPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployPolicies", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListDeployPolicies", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeployPolicies", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListDeployPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListDeployPoliciesRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListDeployPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployPolicyIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListDeployPolicies", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeployPolicies", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListDeployPolicies" }, + "description": "ListDeployPolicies lists DeployPolicies in a given project and location.", + "file": "CloudDeployClient/ListDeployPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeployPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListDeployPolicies Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListJobRuns_sync", - "title": "clouddeploy ListJobRuns Sample", - "description": "ListJobRuns lists JobRuns in a given project and location.", - "file": "CloudDeployClient/ListJobRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobRuns", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListJobRuns", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListJobRuns", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListJobRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListJobRunsRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListJobRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobRunIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListJobRuns", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListJobRuns", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListJobRuns" }, + "description": "ListJobRuns lists JobRuns in a given project and location.", + "file": "CloudDeployClient/ListJobRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListJobRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListJobRuns Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListLocations_sync", - "title": "clouddeploy ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudDeployClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudDeployClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListLocations Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListOperations_sync", - "title": "clouddeploy ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudDeployClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudDeployClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListOperations Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListReleases_sync", - "title": "clouddeploy ListReleases Sample", - "description": "ListReleases lists Releases in a given project and location.", - "file": "CloudDeployClient/ListReleases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReleases", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListReleases", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListReleases", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListReleases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListReleasesRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListReleasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReleaseIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListReleases", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListReleases", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListReleases" }, + "description": "ListReleases lists Releases in a given project and location.", + "file": "CloudDeployClient/ListReleases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListReleases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListReleases Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListRollouts_sync", - "title": "clouddeploy ListRollouts Sample", - "description": "ListRollouts lists Rollouts in a given project and location.", - "file": "CloudDeployClient/ListRollouts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRollouts", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListRollouts", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListRollouts", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListRollouts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListRolloutsRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListRolloutsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListRollouts", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListRollouts", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListRollouts" }, + "description": "ListRollouts lists Rollouts in a given project and location.", + "file": "CloudDeployClient/ListRollouts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListRollouts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListRollouts Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListTargets_sync", - "title": "clouddeploy ListTargets Sample", - "description": "ListTargets lists Targets in a given project and location.", - "file": "CloudDeployClient/ListTargets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTargets", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.ListTargets", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListTargets", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "ListTargets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.ListTargetsRequest", - "name": "req" + "name": "req", + "type": "deploypb.ListTargetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetIterator", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListTargets", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListTargets", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "ListTargets" }, + "description": "ListTargets lists Targets in a given project and location.", + "file": "CloudDeployClient/ListTargets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListTargets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy ListTargets Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_RetryJob_sync", - "title": "clouddeploy RetryJob Sample", - "description": "RetryJob retries the specified Job in a Rollout.", - "file": "CloudDeployClient/RetryJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetryJob", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.RetryJob", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.RetryJob", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "RetryJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.RetryJobRequest", - "name": "req" + "name": "req", + "type": "deploypb.RetryJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.RetryJobResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "RetryJob", - "fullName": "google.cloud.deploy.v1.CloudDeploy.RetryJob", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "RetryJob" }, + "description": "RetryJob retries the specified Job in a Rollout.", + "file": "CloudDeployClient/RetryJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_RetryJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy RetryJob Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_RollbackTarget_sync", - "title": "clouddeploy RollbackTarget Sample", - "description": "RollbackTarget creates a `Rollout` to roll back the specified target.", - "file": "CloudDeployClient/RollbackTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackTarget", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.RollbackTarget", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "RollbackTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.RollbackTargetRequest", - "name": "req" + "name": "req", + "type": "deploypb.RollbackTargetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.RollbackTargetResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "RollbackTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "RollbackTarget" }, + "description": "RollbackTarget creates a `Rollout` to roll back the specified target.", + "file": "CloudDeployClient/RollbackTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_RollbackTarget_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy RollbackTarget Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_SetIamPolicy_sync", - "title": "clouddeploy 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": "CloudDeployClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "CloudDeployClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy SetIamPolicy Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_TerminateJobRun_sync", - "title": "clouddeploy TerminateJobRun Sample", - "description": "TerminateJobRun terminates a Job Run in a given project and location.", - "file": "CloudDeployClient/TerminateJobRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "TerminateJobRun", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.TerminateJobRun", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "TerminateJobRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.TerminateJobRunRequest", - "name": "req" + "name": "req", + "type": "deploypb.TerminateJobRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deploypb.TerminateJobRunResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "TerminateJobRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "TerminateJobRun" }, + "description": "TerminateJobRun terminates a Job Run in a given project and location.", + "file": "CloudDeployClient/TerminateJobRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_TerminateJobRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy TerminateJobRun Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_TestIamPermissions_sync", - "title": "clouddeploy 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": "CloudDeployClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "CloudDeployClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy TestIamPermissions Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateAutomation_sync", - "title": "clouddeploy UpdateAutomation Sample", - "description": "UpdateAutomation updates the parameters of a single Automation resource.", - "file": "CloudDeployClient/UpdateAutomation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutomation", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.UpdateAutomation", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "UpdateAutomation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.UpdateAutomationRequest", - "name": "req" + "name": "req", + "type": "deploypb.UpdateAutomationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAutomationOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "UpdateAutomation" }, + "description": "UpdateAutomation updates the parameters of a single Automation resource.", + "file": "CloudDeployClient/UpdateAutomation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateAutomation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy UpdateAutomation Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateCustomTargetType_sync", - "title": "clouddeploy UpdateCustomTargetType Sample", - "description": "UpdateCustomTargetType updates a single CustomTargetType.", - "file": "CloudDeployClient/UpdateCustomTargetType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomTargetType", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.UpdateCustomTargetType", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "UpdateCustomTargetType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.UpdateCustomTargetTypeRequest", - "name": "req" + "name": "req", + "type": "deploypb.UpdateCustomTargetTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCustomTargetTypeOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "UpdateCustomTargetType" }, + "description": "UpdateCustomTargetType updates a single CustomTargetType.", + "file": "CloudDeployClient/UpdateCustomTargetType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateCustomTargetType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy UpdateCustomTargetType Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeliveryPipeline_sync", - "title": "clouddeploy UpdateDeliveryPipeline Sample", - "description": "UpdateDeliveryPipeline updates the parameters of a single DeliveryPipeline.", - "file": "CloudDeployClient/UpdateDeliveryPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeliveryPipeline", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.UpdateDeliveryPipeline", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "UpdateDeliveryPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.UpdateDeliveryPipelineRequest", - "name": "req" + "name": "req", + "type": "deploypb.UpdateDeliveryPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDeliveryPipelineOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "UpdateDeliveryPipeline" }, + "description": "UpdateDeliveryPipeline updates the parameters of a single DeliveryPipeline.", + "file": "CloudDeployClient/UpdateDeliveryPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeliveryPipeline_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy UpdateDeliveryPipeline Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeployPolicy_sync", - "title": "clouddeploy UpdateDeployPolicy Sample", - "description": "UpdateDeployPolicy updates the parameters of a single DeployPolicy.", - "file": "CloudDeployClient/UpdateDeployPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeployPolicy", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.UpdateDeployPolicy", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeployPolicy", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "UpdateDeployPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.UpdateDeployPolicyRequest", - "name": "req" + "name": "req", + "type": "deploypb.UpdateDeployPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDeployPolicyOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "UpdateDeployPolicy" }, + "description": "UpdateDeployPolicy updates the parameters of a single DeployPolicy.", + "file": "CloudDeployClient/UpdateDeployPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeployPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy UpdateDeployPolicy Sample" }, { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateTarget_sync", - "title": "clouddeploy UpdateTarget Sample", - "description": "UpdateTarget updates the parameters of a single Target.", - "file": "CloudDeployClient/UpdateTarget/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTarget", + "client": { + "fullName": "google.cloud.deploy.v1.CloudDeployClient", + "shortName": "CloudDeployClient" + }, "fullName": "google.cloud.deploy.v1.CloudDeployClient.UpdateTarget", + "method": { + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateTarget", + "service": { + "fullName": "google.cloud.deploy.v1.CloudDeploy", + "shortName": "CloudDeploy" + }, + "shortName": "UpdateTarget" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deploypb.UpdateTargetRequest", - "name": "req" + "name": "req", + "type": "deploypb.UpdateTargetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTargetOperation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } + "shortName": "UpdateTarget" }, + "description": "UpdateTarget updates the parameters of a single Target.", + "file": "CloudDeployClient/UpdateTarget/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateTarget_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouddeploy UpdateTarget Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json b/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json index d741a5187dcc..56b633ff940e 100644 --- a/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json +++ b/internal/generated/snippets/developerconnect/apiv1/snippet_metadata.google.cloud.developerconnect.v1.json @@ -1,2081 +1,2081 @@ { "clientLibrary": { - "name": "cloud.google.com/go/developerconnect/apiv1", - "version": "0.5.0", - "language": "GO", "apis": [ { "id": "google.cloud.developerconnect.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/developerconnect/apiv1", + "version": "0.5.0" }, "snippets": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CancelOperation_sync", - "title": "developerconnect CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect CancelOperation Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateAccountConnector_sync", - "title": "developerconnect CreateAccountConnector Sample", - "description": "CreateAccountConnector creates a new AccountConnector in a given project and location.", - "file": "Client/CreateAccountConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAccountConnector", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.CreateAccountConnector", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateAccountConnector", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "CreateAccountConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.CreateAccountConnectorRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.CreateAccountConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAccountConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "CreateAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "CreateAccountConnector" }, + "description": "CreateAccountConnector creates a new AccountConnector in a given project and location.", + "file": "Client/CreateAccountConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateAccountConnector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect CreateAccountConnector Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateConnection_sync", - "title": "developerconnect CreateConnection Sample", - "description": "CreateConnection creates a new Connection in a given project and location.", - "file": "Client/CreateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnection", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.CreateConnection", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateConnection", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "CreateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.CreateConnectionRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.CreateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "CreateConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "CreateConnection" }, + "description": "CreateConnection creates a new Connection in a given project and location.", + "file": "Client/CreateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect CreateConnection Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateGitRepositoryLink_sync", - "title": "developerconnect CreateGitRepositoryLink Sample", - "description": "CreateGitRepositoryLink creates a GitRepositoryLink. Upon linking a Git Repository, Developer\nConnect will configure the Git Repository to send webhook events to\nDeveloper Connect. Connections that use Firebase GitHub Application will\nhave events forwarded to the Firebase service. Connections that use Gemini\nCode Assist will have events forwarded to Gemini Code Assist service. All\nother Connections will have events forwarded to Cloud Build.", - "file": "Client/CreateGitRepositoryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGitRepositoryLink", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.CreateGitRepositoryLink", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateGitRepositoryLink", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "CreateGitRepositoryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.CreateGitRepositoryLinkRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.CreateGitRepositoryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGitRepositoryLinkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "CreateGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateGitRepositoryLink", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "CreateGitRepositoryLink" }, + "description": "CreateGitRepositoryLink creates a GitRepositoryLink. Upon linking a Git Repository, Developer\nConnect will configure the Git Repository to send webhook events to\nDeveloper Connect. Connections that use Firebase GitHub Application will\nhave events forwarded to the Firebase service. Connections that use Gemini\nCode Assist will have events forwarded to Gemini Code Assist service. All\nother Connections will have events forwarded to Cloud Build.", + "file": "Client/CreateGitRepositoryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateGitRepositoryLink_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect CreateGitRepositoryLink Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteAccountConnector_sync", - "title": "developerconnect DeleteAccountConnector Sample", - "description": "DeleteAccountConnector deletes a single AccountConnector.", - "file": "Client/DeleteAccountConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccountConnector", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.DeleteAccountConnector", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteAccountConnector", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "DeleteAccountConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.DeleteAccountConnectorRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.DeleteAccountConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAccountConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "DeleteAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "DeleteAccountConnector" }, + "description": "DeleteAccountConnector deletes a single AccountConnector.", + "file": "Client/DeleteAccountConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteAccountConnector_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteAccountConnector Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteConnection_sync", - "title": "developerconnect DeleteConnection Sample", - "description": "DeleteConnection deletes a single Connection.", - "file": "Client/DeleteConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnection", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.DeleteConnection", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteConnection", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "DeleteConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.DeleteConnectionRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.DeleteConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "DeleteConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "DeleteConnection" }, + "description": "DeleteConnection deletes a single Connection.", + "file": "Client/DeleteConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteConnection Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteGitRepositoryLink_sync", - "title": "developerconnect DeleteGitRepositoryLink Sample", - "description": "DeleteGitRepositoryLink deletes a single GitRepositoryLink.", - "file": "Client/DeleteGitRepositoryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGitRepositoryLink", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.DeleteGitRepositoryLink", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteGitRepositoryLink", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "DeleteGitRepositoryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.DeleteGitRepositoryLinkRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.DeleteGitRepositoryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGitRepositoryLinkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "DeleteGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteGitRepositoryLink", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "DeleteGitRepositoryLink" }, + "description": "DeleteGitRepositoryLink deletes a single GitRepositoryLink.", + "file": "Client/DeleteGitRepositoryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteGitRepositoryLink_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteGitRepositoryLink Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteOperation_sync", - "title": "developerconnect DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteOperation Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteSelf_sync", - "title": "developerconnect DeleteSelf Sample", - "description": "DeleteSelf delete the User based on the user credentials.", - "file": "Client/DeleteSelf/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSelf", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.DeleteSelf", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteSelf", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "DeleteSelf" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.DeleteSelfRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.DeleteSelfRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSelfOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "DeleteSelf", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteSelf", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "DeleteSelf" }, + "description": "DeleteSelf delete the User based on the user credentials.", + "file": "Client/DeleteSelf/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteSelf_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteSelf Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteUser_sync", - "title": "developerconnect DeleteUser Sample", - "description": "DeleteUser deletes a single User.", - "file": "Client/DeleteUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUser", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.DeleteUser", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteUser", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "DeleteUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.DeleteUserRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.DeleteUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteUserOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteUser", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "DeleteUser" }, + "description": "DeleteUser deletes a single User.", + "file": "Client/DeleteUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteUser_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteUser Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchAccessToken_sync", - "title": "developerconnect FetchAccessToken Sample", - "description": "FetchAccessToken fetches OAuth access token based on end user credentials.", - "file": "Client/FetchAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchAccessToken", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchAccessToken", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchAccessToken", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchAccessTokenRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.FetchAccessTokenResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchAccessToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchAccessToken", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchAccessToken" }, + "description": "FetchAccessToken fetches OAuth access token based on end user credentials.", + "file": "Client/FetchAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchAccessToken Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitHubInstallations_sync", - "title": "developerconnect FetchGitHubInstallations Sample", - "description": "FetchGitHubInstallations fetchGitHubInstallations returns the list of GitHub Installations that\nare available to be added to a Connection.\nFor github.com, only installations accessible to the authorizer token\nare returned. For GitHub Enterprise, all installations are returned.", - "file": "Client/FetchGitHubInstallations/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchGitHubInstallations", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchGitHubInstallations", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitHubInstallations", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchGitHubInstallations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchGitHubInstallationsRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchGitHubInstallationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.FetchGitHubInstallationsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchGitHubInstallations", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitHubInstallations", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchGitHubInstallations" }, + "description": "FetchGitHubInstallations fetchGitHubInstallations returns the list of GitHub Installations that\nare available to be added to a Connection.\nFor github.com, only installations accessible to the authorizer token\nare returned. For GitHub Enterprise, all installations are returned.", + "file": "Client/FetchGitHubInstallations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitHubInstallations_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchGitHubInstallations Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitRefs_sync", - "title": "developerconnect FetchGitRefs Sample", - "description": "FetchGitRefs fetch the list of branches or tags for a given repository.", - "file": "Client/FetchGitRefs/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchGitRefs", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchGitRefs", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitRefs", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchGitRefs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchGitRefsRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchGitRefsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchGitRefs", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitRefs", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchGitRefs" }, + "description": "FetchGitRefs fetch the list of branches or tags for a given repository.", + "file": "Client/FetchGitRefs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitRefs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchGitRefs Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchLinkableGitRepositories_sync", - "title": "developerconnect FetchLinkableGitRepositories Sample", - "description": "FetchLinkableGitRepositories fetchLinkableGitRepositories returns a list of git repositories from an SCM\nthat are available to be added to a Connection.", - "file": "Client/FetchLinkableGitRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchLinkableGitRepositories", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchLinkableGitRepositories", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchLinkableGitRepositories", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchLinkableGitRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchLinkableGitRepositoriesRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchLinkableGitRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LinkableGitRepositoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchLinkableGitRepositories", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchLinkableGitRepositories", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchLinkableGitRepositories" }, + "description": "FetchLinkableGitRepositories fetchLinkableGitRepositories returns a list of git repositories from an SCM\nthat are available to be added to a Connection.", + "file": "Client/FetchLinkableGitRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchLinkableGitRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchLinkableGitRepositories Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadToken_sync", - "title": "developerconnect FetchReadToken Sample", - "description": "FetchReadToken fetches read token of a given gitRepositoryLink.", - "file": "Client/FetchReadToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchReadToken", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchReadToken", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadToken", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchReadToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchReadTokenRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchReadTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.FetchReadTokenResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchReadToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadToken", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchReadToken" }, + "description": "FetchReadToken fetches read token of a given gitRepositoryLink.", + "file": "Client/FetchReadToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchReadToken Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadWriteToken_sync", - "title": "developerconnect FetchReadWriteToken Sample", - "description": "FetchReadWriteToken fetches read/write token of a given gitRepositoryLink.", - "file": "Client/FetchReadWriteToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchReadWriteToken", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchReadWriteToken", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadWriteToken", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchReadWriteToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchReadWriteTokenRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchReadWriteTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.FetchReadWriteTokenResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchReadWriteToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadWriteToken", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchReadWriteToken" }, + "description": "FetchReadWriteToken fetches read/write token of a given gitRepositoryLink.", + "file": "Client/FetchReadWriteToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadWriteToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchReadWriteToken Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchSelf_sync", - "title": "developerconnect FetchSelf Sample", - "description": "FetchSelf fetch the User based on the user credentials.", - "file": "Client/FetchSelf/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchSelf", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FetchSelf", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchSelf", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FetchSelf" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FetchSelfRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FetchSelfRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.User", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FetchSelf", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchSelf", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FetchSelf" }, + "description": "FetchSelf fetch the User based on the user credentials.", + "file": "Client/FetchSelf/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchSelf_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FetchSelf Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FinishOAuth_sync", - "title": "developerconnect FinishOAuth Sample", - "description": "FinishOAuth finishes OAuth flow for an account connector.", - "file": "Client/FinishOAuth/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinishOAuth", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.FinishOAuth", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FinishOAuth", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "FinishOAuth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.FinishOAuthRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.FinishOAuthRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.FinishOAuthResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "FinishOAuth", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FinishOAuth", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "FinishOAuth" }, + "description": "FinishOAuth finishes OAuth flow for an account connector.", + "file": "Client/FinishOAuth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FinishOAuth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect FinishOAuth Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetAccountConnector_sync", - "title": "developerconnect GetAccountConnector Sample", - "description": "GetAccountConnector gets details of a single AccountConnector.", - "file": "Client/GetAccountConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccountConnector", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.GetAccountConnector", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetAccountConnector", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "GetAccountConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.GetAccountConnectorRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.GetAccountConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.AccountConnector", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "GetAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "GetAccountConnector" }, + "description": "GetAccountConnector gets details of a single AccountConnector.", + "file": "Client/GetAccountConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetAccountConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetAccountConnector Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetConnection_sync", - "title": "developerconnect GetConnection Sample", - "description": "GetConnection gets details of a single Connection.", - "file": "Client/GetConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnection", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.GetConnection", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetConnection", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "GetConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.GetConnectionRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.GetConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "GetConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "GetConnection" }, + "description": "GetConnection gets details of a single Connection.", + "file": "Client/GetConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetConnection Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetGitRepositoryLink_sync", - "title": "developerconnect GetGitRepositoryLink Sample", - "description": "GetGitRepositoryLink gets details of a single GitRepositoryLink.", - "file": "Client/GetGitRepositoryLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGitRepositoryLink", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.GetGitRepositoryLink", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetGitRepositoryLink", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "GetGitRepositoryLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.GetGitRepositoryLinkRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.GetGitRepositoryLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.GitRepositoryLink", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "GetGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetGitRepositoryLink", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "GetGitRepositoryLink" }, + "description": "GetGitRepositoryLink gets details of a single GitRepositoryLink.", + "file": "Client/GetGitRepositoryLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetGitRepositoryLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetGitRepositoryLink Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetLocation_sync", - "title": "developerconnect GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetLocation Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetOperation_sync", - "title": "developerconnect GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetOperation Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListAccountConnectors_sync", - "title": "developerconnect ListAccountConnectors Sample", - "description": "ListAccountConnectors lists AccountConnectors in a given project and location.", - "file": "Client/ListAccountConnectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountConnectors", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.ListAccountConnectors", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListAccountConnectors", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "ListAccountConnectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.ListAccountConnectorsRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.ListAccountConnectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "AccountConnectorIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "ListAccountConnectors", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListAccountConnectors", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "AccountConnectorIterator", + "shortName": "ListAccountConnectors" }, + "description": "ListAccountConnectors lists AccountConnectors in a given project and location.", + "file": "Client/ListAccountConnectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListAccountConnectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListAccountConnectors Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListConnections_sync", - "title": "developerconnect ListConnections Sample", - "description": "ListConnections lists Connections in a given project and location.", - "file": "Client/ListConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnections", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.ListConnections", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListConnections", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "ListConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.ListConnectionsRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.ListConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListConnections", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "ListConnections" }, + "description": "ListConnections lists Connections in a given project and location.", + "file": "Client/ListConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListConnections Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListGitRepositoryLinks_sync", - "title": "developerconnect ListGitRepositoryLinks Sample", - "description": "ListGitRepositoryLinks lists GitRepositoryLinks in a given project, location, and connection.", - "file": "Client/ListGitRepositoryLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGitRepositoryLinks", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.ListGitRepositoryLinks", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListGitRepositoryLinks", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "ListGitRepositoryLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.ListGitRepositoryLinksRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.ListGitRepositoryLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GitRepositoryLinkIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "ListGitRepositoryLinks", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListGitRepositoryLinks", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "ListGitRepositoryLinks" }, + "description": "ListGitRepositoryLinks lists GitRepositoryLinks in a given project, location, and connection.", + "file": "Client/ListGitRepositoryLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListGitRepositoryLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListGitRepositoryLinks Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListLocations_sync", - "title": "developerconnect ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListLocations Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListOperations_sync", - "title": "developerconnect ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListOperations Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListUsers_sync", - "title": "developerconnect ListUsers Sample", - "description": "ListUsers lists Users in a given project, location, and account_connector.", - "file": "Client/ListUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsers", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.ListUsers", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListUsers", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "ListUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.ListUsersRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.ListUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListUsers", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "ListUsers" }, + "description": "ListUsers lists Users in a given project, location, and account_connector.", + "file": "Client/ListUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListUsers Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_StartOAuth_sync", - "title": "developerconnect StartOAuth Sample", - "description": "StartOAuth starts OAuth flow for an account connector.", - "file": "Client/StartOAuth/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartOAuth", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.StartOAuth", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.StartOAuth", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "StartOAuth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.StartOAuthRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.StartOAuthRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.StartOAuthResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "StartOAuth", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.StartOAuth", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "StartOAuth" }, + "description": "StartOAuth starts OAuth flow for an account connector.", + "file": "Client/StartOAuth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_StartOAuth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect StartOAuth Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateAccountConnector_sync", - "title": "developerconnect UpdateAccountConnector Sample", - "description": "UpdateAccountConnector updates the parameters of a single AccountConnector.", - "file": "Client/UpdateAccountConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccountConnector", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.UpdateAccountConnector", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateAccountConnector", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "UpdateAccountConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.UpdateAccountConnectorRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.UpdateAccountConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAccountConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "UpdateAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "UpdateAccountConnector" }, + "description": "UpdateAccountConnector updates the parameters of a single AccountConnector.", + "file": "Client/UpdateAccountConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateAccountConnector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect UpdateAccountConnector Sample" }, { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateConnection_sync", - "title": "developerconnect UpdateConnection Sample", - "description": "UpdateConnection updates the parameters of a single Connection.", - "file": "Client/UpdateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnection", + "client": { + "fullName": "google.cloud.developerconnect.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.developerconnect.v1.Client.UpdateConnection", + "method": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateConnection", + "service": { + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect", + "shortName": "DeveloperConnect" + }, + "shortName": "UpdateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.UpdateConnectionRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.UpdateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.developerconnect.v1.Client" - }, - "method": { - "shortName": "UpdateConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } + "shortName": "UpdateConnection" }, + "description": "UpdateConnection updates the parameters of a single Connection.", + "file": "Client/UpdateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect UpdateConnection Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_CancelOperation_sync", - "title": "developerconnect CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "InsightsConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "InsightsConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect CancelOperation Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_CreateInsightsConfig_sync", - "title": "developerconnect CreateInsightsConfig Sample", - "description": "CreateInsightsConfig creates a new InsightsConfig in a given project and location.", - "file": "InsightsConfigClient/CreateInsightsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInsightsConfig", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.CreateInsightsConfig", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.CreateInsightsConfig", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "CreateInsightsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.CreateInsightsConfigRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.CreateInsightsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInsightsConfigOperation", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "CreateInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.CreateInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "CreateInsightsConfig" }, + "description": "CreateInsightsConfig creates a new InsightsConfig in a given project and location.", + "file": "InsightsConfigClient/CreateInsightsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_CreateInsightsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect CreateInsightsConfig Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_DeleteInsightsConfig_sync", - "title": "developerconnect DeleteInsightsConfig Sample", - "description": "DeleteInsightsConfig deletes a single Insight.", - "file": "InsightsConfigClient/DeleteInsightsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInsightsConfig", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.DeleteInsightsConfig", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.DeleteInsightsConfig", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "DeleteInsightsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.DeleteInsightsConfigRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.DeleteInsightsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInsightsConfigOperation", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "DeleteInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.DeleteInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "DeleteInsightsConfig" }, + "description": "DeleteInsightsConfig deletes a single Insight.", + "file": "InsightsConfigClient/DeleteInsightsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_DeleteInsightsConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteInsightsConfig Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_DeleteOperation_sync", - "title": "developerconnect DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "InsightsConfigClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "InsightsConfigClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect DeleteOperation Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetDeploymentEvent_sync", - "title": "developerconnect GetDeploymentEvent Sample", - "description": "GetDeploymentEvent gets a single Deployment Event.", - "file": "InsightsConfigClient/GetDeploymentEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeploymentEvent", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.GetDeploymentEvent", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetDeploymentEvent", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "GetDeploymentEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.GetDeploymentEventRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.GetDeploymentEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.DeploymentEvent", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "GetDeploymentEvent", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetDeploymentEvent", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "GetDeploymentEvent" }, + "description": "GetDeploymentEvent gets a single Deployment Event.", + "file": "InsightsConfigClient/GetDeploymentEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetDeploymentEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetDeploymentEvent Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetInsightsConfig_sync", - "title": "developerconnect GetInsightsConfig Sample", - "description": "GetInsightsConfig gets details of a single Insight.", - "file": "InsightsConfigClient/GetInsightsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInsightsConfig", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.GetInsightsConfig", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetInsightsConfig", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "GetInsightsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.GetInsightsConfigRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.GetInsightsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*developerconnectpb.InsightsConfig", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "GetInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "GetInsightsConfig" }, + "description": "GetInsightsConfig gets details of a single Insight.", + "file": "InsightsConfigClient/GetInsightsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetInsightsConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetInsightsConfig Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetLocation_sync", - "title": "developerconnect GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "InsightsConfigClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "InsightsConfigClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetLocation Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetOperation_sync", - "title": "developerconnect GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "InsightsConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "InsightsConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect GetOperation Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListDeploymentEvents_sync", - "title": "developerconnect ListDeploymentEvents Sample", - "description": "ListDeploymentEvents lists Deployment Events in a given insights config.", - "file": "InsightsConfigClient/ListDeploymentEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeploymentEvents", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.ListDeploymentEvents", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListDeploymentEvents", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "ListDeploymentEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.ListDeploymentEventsRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.ListDeploymentEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentEventIterator", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "ListDeploymentEvents", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListDeploymentEvents", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "ListDeploymentEvents" }, + "description": "ListDeploymentEvents lists Deployment Events in a given insights config.", + "file": "InsightsConfigClient/ListDeploymentEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListDeploymentEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListDeploymentEvents Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListInsightsConfigs_sync", - "title": "developerconnect ListInsightsConfigs Sample", - "description": "ListInsightsConfigs lists InsightsConfigs in a given project and location.", - "file": "InsightsConfigClient/ListInsightsConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInsightsConfigs", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.ListInsightsConfigs", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListInsightsConfigs", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "ListInsightsConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.ListInsightsConfigsRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.ListInsightsConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InsightsConfigIterator", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "ListInsightsConfigs", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListInsightsConfigs", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "ListInsightsConfigs" }, + "description": "ListInsightsConfigs lists InsightsConfigs in a given project and location.", + "file": "InsightsConfigClient/ListInsightsConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListInsightsConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListInsightsConfigs Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListLocations_sync", - "title": "developerconnect ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "InsightsConfigClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "InsightsConfigClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListLocations Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListOperations_sync", - "title": "developerconnect ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "InsightsConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "InsightsConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect ListOperations Sample" }, { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_UpdateInsightsConfig_sync", - "title": "developerconnect UpdateInsightsConfig Sample", - "description": "UpdateInsightsConfig updates the parameters of a single InsightsConfig.", - "file": "InsightsConfigClient/UpdateInsightsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInsightsConfig", + "client": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient", + "shortName": "InsightsConfigClient" + }, "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient.UpdateInsightsConfig", + "method": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.UpdateInsightsConfig", + "service": { + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService", + "shortName": "InsightsConfigService" + }, + "shortName": "UpdateInsightsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "developerconnectpb.UpdateInsightsConfigRequest", - "name": "req" + "name": "req", + "type": "developerconnectpb.UpdateInsightsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInsightsConfigOperation", - "client": { - "shortName": "InsightsConfigClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigClient" - }, - "method": { - "shortName": "UpdateInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.UpdateInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } + "shortName": "UpdateInsightsConfig" }, + "description": "UpdateInsightsConfig updates the parameters of a single InsightsConfig.", + "file": "InsightsConfigClient/UpdateInsightsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "developerconnect_v1_generated_InsightsConfigService_UpdateInsightsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "developerconnect UpdateInsightsConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/devicestreaming/apiv1/snippet_metadata.google.cloud.devicestreaming.v1.json b/internal/generated/snippets/devicestreaming/apiv1/snippet_metadata.google.cloud.devicestreaming.v1.json index 05322ff48ab1..25a067174f7c 100644 --- a/internal/generated/snippets/devicestreaming/apiv1/snippet_metadata.google.cloud.devicestreaming.v1.json +++ b/internal/generated/snippets/devicestreaming/apiv1/snippet_metadata.google.cloud.devicestreaming.v1.json @@ -1,286 +1,286 @@ { "clientLibrary": { - "name": "cloud.google.com/go/devicestreaming/apiv1", - "version": "0.1.1", - "language": "GO", "apis": [ { "id": "google.cloud.devicestreaming.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/devicestreaming/apiv1", + "version": "0.1.1" }, "snippets": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_AdbConnect_sync", - "title": "devicestreaming AdbConnect Sample", - "description": "AdbConnect exposes an ADB connection if the device supports ADB.\ngRPC headers are used to authenticate the Connect RPC, as well as\nassociate to a particular DeviceSession.\nIn particular, the user must specify the \"X-Omnilab-Session-Name\" header.\n\n\nThis method is not supported for the REST transport.", - "file": "DirectAccessClient/AdbConnect/main.go", - "language": "GO", "clientMethod": { - "shortName": "AdbConnect", + "client": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient", + "shortName": "DirectAccessClient" + }, "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient.AdbConnect", + "method": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.AdbConnect", + "service": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService", + "shortName": "DirectAccessService" + }, + "shortName": "AdbConnect" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "devicestreamingpb.DirectAccessService_AdbConnectClient", - "client": { - "shortName": "DirectAccessClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient" - }, - "method": { - "shortName": "AdbConnect", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.AdbConnect", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } + "shortName": "AdbConnect" }, + "description": "AdbConnect exposes an ADB connection if the device supports ADB.\ngRPC headers are used to authenticate the Connect RPC, as well as\nassociate to a particular DeviceSession.\nIn particular, the user must specify the \"X-Omnilab-Session-Name\" header.\n\n\nThis method is not supported for the REST transport.", + "file": "DirectAccessClient/AdbConnect/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "devicestreaming_v1_generated_DirectAccessService_AdbConnect_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "devicestreaming AdbConnect Sample" }, { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_CancelDeviceSession_sync", - "title": "devicestreaming CancelDeviceSession Sample", - "description": "CancelDeviceSession cancel a DeviceSession.\nThis RPC changes the DeviceSession to state FINISHED and terminates all\nconnections.\nCanceled sessions are not deleted and can be retrieved or\nlisted by the user until they expire based on the 28 day deletion policy.", - "file": "DirectAccessClient/CancelDeviceSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelDeviceSession", + "client": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient", + "shortName": "DirectAccessClient" + }, "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient.CancelDeviceSession", + "method": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CancelDeviceSession", + "service": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService", + "shortName": "DirectAccessService" + }, + "shortName": "CancelDeviceSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "devicestreamingpb.CancelDeviceSessionRequest", - "name": "req" + "name": "req", + "type": "devicestreamingpb.CancelDeviceSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DirectAccessClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient" - }, - "method": { - "shortName": "CancelDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CancelDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } + "shortName": "CancelDeviceSession" }, + "description": "CancelDeviceSession cancel a DeviceSession.\nThis RPC changes the DeviceSession to state FINISHED and terminates all\nconnections.\nCanceled sessions are not deleted and can be retrieved or\nlisted by the user until they expire based on the 28 day deletion policy.", + "file": "DirectAccessClient/CancelDeviceSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "devicestreaming_v1_generated_DirectAccessService_CancelDeviceSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "devicestreaming CancelDeviceSession Sample" }, { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_CreateDeviceSession_sync", - "title": "devicestreaming CreateDeviceSession Sample", - "description": "CreateDeviceSession creates a DeviceSession.", - "file": "DirectAccessClient/CreateDeviceSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeviceSession", + "client": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient", + "shortName": "DirectAccessClient" + }, "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient.CreateDeviceSession", + "method": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CreateDeviceSession", + "service": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService", + "shortName": "DirectAccessService" + }, + "shortName": "CreateDeviceSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "devicestreamingpb.CreateDeviceSessionRequest", - "name": "req" + "name": "req", + "type": "devicestreamingpb.CreateDeviceSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*devicestreamingpb.DeviceSession", - "client": { - "shortName": "DirectAccessClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient" - }, - "method": { - "shortName": "CreateDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CreateDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } + "shortName": "CreateDeviceSession" }, + "description": "CreateDeviceSession creates a DeviceSession.", + "file": "DirectAccessClient/CreateDeviceSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "devicestreaming_v1_generated_DirectAccessService_CreateDeviceSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "devicestreaming CreateDeviceSession Sample" }, { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_GetDeviceSession_sync", - "title": "devicestreaming GetDeviceSession Sample", - "description": "GetDeviceSession gets a DeviceSession, which documents the allocation status and\nwhether the device is allocated. Clients making requests from this API\nmust poll GetDeviceSession.", - "file": "DirectAccessClient/GetDeviceSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeviceSession", + "client": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient", + "shortName": "DirectAccessClient" + }, "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient.GetDeviceSession", + "method": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.GetDeviceSession", + "service": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService", + "shortName": "DirectAccessService" + }, + "shortName": "GetDeviceSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "devicestreamingpb.GetDeviceSessionRequest", - "name": "req" + "name": "req", + "type": "devicestreamingpb.GetDeviceSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*devicestreamingpb.DeviceSession", - "client": { - "shortName": "DirectAccessClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient" - }, - "method": { - "shortName": "GetDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.GetDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } + "shortName": "GetDeviceSession" }, + "description": "GetDeviceSession gets a DeviceSession, which documents the allocation status and\nwhether the device is allocated. Clients making requests from this API\nmust poll GetDeviceSession.", + "file": "DirectAccessClient/GetDeviceSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "devicestreaming_v1_generated_DirectAccessService_GetDeviceSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "devicestreaming GetDeviceSession Sample" }, { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_ListDeviceSessions_sync", - "title": "devicestreaming ListDeviceSessions Sample", - "description": "ListDeviceSessions lists DeviceSessions owned by the project user.", - "file": "DirectAccessClient/ListDeviceSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeviceSessions", + "client": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient", + "shortName": "DirectAccessClient" + }, "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient.ListDeviceSessions", + "method": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.ListDeviceSessions", + "service": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService", + "shortName": "DirectAccessService" + }, + "shortName": "ListDeviceSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "devicestreamingpb.ListDeviceSessionsRequest", - "name": "req" + "name": "req", + "type": "devicestreamingpb.ListDeviceSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeviceSessionIterator", - "client": { - "shortName": "DirectAccessClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient" - }, - "method": { - "shortName": "ListDeviceSessions", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.ListDeviceSessions", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } + "shortName": "ListDeviceSessions" }, + "description": "ListDeviceSessions lists DeviceSessions owned by the project user.", + "file": "DirectAccessClient/ListDeviceSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "devicestreaming_v1_generated_DirectAccessService_ListDeviceSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "devicestreaming ListDeviceSessions Sample" }, { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_UpdateDeviceSession_sync", - "title": "devicestreaming UpdateDeviceSession Sample", - "description": "UpdateDeviceSession updates the current DeviceSession to the fields described by the\nupdate_mask.", - "file": "DirectAccessClient/UpdateDeviceSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeviceSession", + "client": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient", + "shortName": "DirectAccessClient" + }, "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient.UpdateDeviceSession", + "method": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.UpdateDeviceSession", + "service": { + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService", + "shortName": "DirectAccessService" + }, + "shortName": "UpdateDeviceSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "devicestreamingpb.UpdateDeviceSessionRequest", - "name": "req" + "name": "req", + "type": "devicestreamingpb.UpdateDeviceSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*devicestreamingpb.DeviceSession", - "client": { - "shortName": "DirectAccessClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessClient" - }, - "method": { - "shortName": "UpdateDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.UpdateDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } + "shortName": "UpdateDeviceSession" }, + "description": "UpdateDeviceSession updates the current DeviceSession to the fields described by the\nupdate_mask.", + "file": "DirectAccessClient/UpdateDeviceSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "devicestreaming_v1_generated_DirectAccessService_UpdateDeviceSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "devicestreaming UpdateDeviceSession Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json index f268ede67f7e..bdf393880a20 100644 --- a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json +++ b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json @@ -1,11011 +1,11011 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dialogflow/apiv2", - "version": "1.76.0", - "language": "GO", "apis": [ { "id": "google.cloud.dialogflow.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dialogflow/apiv2", + "version": "1.76.0" }, "snippets": [ { - "regionTag": "dialogflow_v2_generated_Agents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_DeleteAgent_sync", - "title": "dialogflow DeleteAgent Sample", - "description": "DeleteAgent deletes the specified agent.", - "file": "AgentsClient/DeleteAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.DeleteAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "DeleteAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "DeleteAgent" }, + "description": "DeleteAgent deletes the specified agent.", + "file": "AgentsClient/DeleteAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_DeleteAgent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_ExportAgent_sync", - "title": "dialogflow ExportAgent Sample", - "description": "ExportAgent exports the specified agent to a ZIP file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]", - "file": "AgentsClient/ExportAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.ExportAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "ExportAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ExportAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ExportAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "ExportAgent" }, + "description": "ExportAgent exports the specified agent to a ZIP file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]", + "file": "AgentsClient/ExportAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_ExportAgent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_GetAgent_sync", - "title": "dialogflow GetAgent Sample", - "description": "GetAgent retrieves the specified agent.", - "file": "AgentsClient/GetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.GetAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "GetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "GetAgent" }, + "description": "GetAgent retrieves the specified agent.", + "file": "AgentsClient/GetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_GetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AgentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AgentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_GetValidationResult_sync", - "title": "dialogflow GetValidationResult Sample", - "description": "GetValidationResult gets agent validation result. Agent validation is performed during\ntraining time and is updated automatically when training is completed.", - "file": "AgentsClient/GetValidationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetValidationResult", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.GetValidationResult", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "GetValidationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetValidationResultRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetValidationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "GetValidationResult", - "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "GetValidationResult" }, + "description": "GetValidationResult gets agent validation result. Agent validation is performed during\ntraining time and is updated automatically when training is completed.", + "file": "AgentsClient/GetValidationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_GetValidationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetValidationResult Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_ImportAgent_sync", - "title": "dialogflow ImportAgent Sample", - "description": "ImportAgent imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from\n[ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After\nthe import, the imported draft agent will be trained automatically (unless\ndisabled in agent settings). However, once the import is done, training may\nnot be completed yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the\noperation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when importing is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/ImportAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.ImportAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "ImportAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ImportAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ImportAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "ImportAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "ImportAgent" }, + "description": "ImportAgent imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from\n[ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After\nthe import, the imported draft agent will be trained automatically (unless\ndisabled in agent settings). However, once the import is done, training may\nnot be completed yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the\noperation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when importing is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/ImportAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_ImportAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AgentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AgentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_RestoreAgent_sync", - "title": "dialogflow RestoreAgent Sample", - "description": "RestoreAgent restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the\noperation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when restoring is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/RestoreAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.RestoreAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "RestoreAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.RestoreAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.RestoreAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "RestoreAgent" }, + "description": "RestoreAgent restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the\noperation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when restoring is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/RestoreAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_RestoreAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestoreAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_SearchAgents_sync", - "title": "dialogflow SearchAgents Sample", - "description": "SearchAgents returns the list of agents.\n\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https: //cloud.google.com/apis/design/design_patterns#list_sub-collections).", - "file": "AgentsClient/SearchAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAgents", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.SearchAgents", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "SearchAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SearchAgentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SearchAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "SearchAgents", - "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "SearchAgents" }, + "description": "SearchAgents returns the list of agents.\n\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https: //cloud.google.com/apis/design/design_patterns#list_sub-collections).", + "file": "AgentsClient/SearchAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_SearchAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SearchAgents Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_SetAgent_sync", - "title": "dialogflow SetAgent Sample", - "description": "SetAgent creates/updates the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/SetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.SetAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "SetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SetAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "SetAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "SetAgent" }, + "description": "SetAgent creates/updates the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/SetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_SetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SetAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_Agents_TrainAgent_sync", - "title": "dialogflow TrainAgent Sample", - "description": "TrainAgent trains the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/TrainAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2.AgentsClient.TrainAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Agents", + "shortName": "Agents" + }, + "shortName": "TrainAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.TrainAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.TrainAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "TrainAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } + "shortName": "TrainAgent" }, + "description": "TrainAgent trains the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/TrainAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Agents_TrainAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow TrainAgent Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AnswerRecordsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AnswerRecordsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AnswerRecordsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AnswerRecordsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AnswerRecordsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AnswerRecordsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_ListAnswerRecords_sync", - "title": "dialogflow ListAnswerRecords Sample", - "description": "ListAnswerRecords returns the list of all answer records in the specified project in reverse\nchronological order.", - "file": "AnswerRecordsClient/ListAnswerRecords/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnswerRecords", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.ListAnswerRecords", + "method": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", + "service": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecords", + "shortName": "AnswerRecords" + }, + "shortName": "ListAnswerRecords" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListAnswerRecordsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListAnswerRecordsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnswerRecordIterator", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "ListAnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords" - } - } + "shortName": "ListAnswerRecords" }, + "description": "ListAnswerRecords returns the list of all answer records in the specified project in reverse\nchronological order.", + "file": "AnswerRecordsClient/ListAnswerRecords/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_ListAnswerRecords_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListAnswerRecords Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AnswerRecordsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AnswerRecordsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AnswerRecordsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AnswerRecordsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_AnswerRecords_UpdateAnswerRecord_sync", - "title": "dialogflow UpdateAnswerRecord Sample", - "description": "UpdateAnswerRecord updates the specified answer record.", - "file": "AnswerRecordsClient/UpdateAnswerRecord/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAnswerRecord", + "client": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient.UpdateAnswerRecord", + "method": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", + "service": { + "fullName": "google.cloud.dialogflow.v2.AnswerRecords", + "shortName": "AnswerRecords" + }, + "shortName": "UpdateAnswerRecord" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateAnswerRecordRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateAnswerRecordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.AnswerRecord", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "UpdateAnswerRecord", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords" - } - } + "shortName": "UpdateAnswerRecord" }, + "description": "UpdateAnswerRecord updates the specified answer record.", + "file": "AnswerRecordsClient/UpdateAnswerRecord/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_AnswerRecords_UpdateAnswerRecord_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateAnswerRecord Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ContextsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ContextsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_CreateContext_sync", - "title": "dialogflow CreateContext Sample", - "description": "CreateContext creates a context.\n\nIf the specified context already exists, overrides the context.", - "file": "ContextsClient/CreateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateContext", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.CreateContext", + "method": { + "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", + "service": { + "fullName": "google.cloud.dialogflow.v2.Contexts", + "shortName": "Contexts" + }, + "shortName": "CreateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "CreateContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } + "shortName": "CreateContext" }, + "description": "CreateContext creates a context.\n\nIf the specified context already exists, overrides the context.", + "file": "ContextsClient/CreateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_CreateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateContext Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_DeleteAllContexts_sync", - "title": "dialogflow DeleteAllContexts Sample", - "description": "DeleteAllContexts deletes all active contexts in the specified session.", - "file": "ContextsClient/DeleteAllContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAllContexts", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.DeleteAllContexts", + "method": { + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", + "service": { + "fullName": "google.cloud.dialogflow.v2.Contexts", + "shortName": "Contexts" + }, + "shortName": "DeleteAllContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteAllContextsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteAllContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "DeleteAllContexts", - "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } + "shortName": "DeleteAllContexts" }, + "description": "DeleteAllContexts deletes all active contexts in the specified session.", + "file": "ContextsClient/DeleteAllContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_DeleteAllContexts_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteAllContexts Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_DeleteContext_sync", - "title": "dialogflow DeleteContext Sample", - "description": "DeleteContext deletes the specified context.", - "file": "ContextsClient/DeleteContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteContext", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.DeleteContext", + "method": { + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", + "service": { + "fullName": "google.cloud.dialogflow.v2.Contexts", + "shortName": "Contexts" + }, + "shortName": "DeleteContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "DeleteContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } + "shortName": "DeleteContext" }, + "description": "DeleteContext deletes the specified context.", + "file": "ContextsClient/DeleteContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_DeleteContext_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteContext Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_GetContext_sync", - "title": "dialogflow GetContext Sample", - "description": "GetContext retrieves the specified context.", - "file": "ContextsClient/GetContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetContext", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.GetContext", + "method": { + "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", + "service": { + "fullName": "google.cloud.dialogflow.v2.Contexts", + "shortName": "Contexts" + }, + "shortName": "GetContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } + "shortName": "GetContext" }, + "description": "GetContext retrieves the specified context.", + "file": "ContextsClient/GetContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_GetContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetContext Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ContextsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ContextsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ContextsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ContextsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_ListContexts_sync", - "title": "dialogflow ListContexts Sample", - "description": "ListContexts returns the list of all contexts in the specified session.", - "file": "ContextsClient/ListContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContexts", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.ListContexts", + "method": { + "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", + "service": { + "fullName": "google.cloud.dialogflow.v2.Contexts", + "shortName": "Contexts" + }, + "shortName": "ListContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListContextsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContextIterator", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } + "shortName": "ListContexts" }, + "description": "ListContexts returns the list of all contexts in the specified session.", + "file": "ContextsClient/ListContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_ListContexts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListContexts Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ContextsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ContextsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ContextsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ContextsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Contexts_UpdateContext_sync", - "title": "dialogflow UpdateContext Sample", - "description": "UpdateContext updates the specified context.", - "file": "ContextsClient/UpdateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateContext", + "client": { + "fullName": "google.cloud.dialogflow.v2.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2.ContextsClient.UpdateContext", + "method": { + "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", + "service": { + "fullName": "google.cloud.dialogflow.v2.Contexts", + "shortName": "Contexts" + }, + "shortName": "UpdateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "UpdateContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } + "shortName": "UpdateContext" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateContext updates the specified context.", + "file": "ContextsClient/UpdateContext/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Contexts_UpdateContext_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateContext Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationDatasetsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationDatasetsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_CreateConversationDataset_sync", - "title": "dialogflow CreateConversationDataset Sample", - "description": "CreateConversationDataset creates a new conversation dataset.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]\n- `response`: \n[ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]", - "file": "ConversationDatasetsClient/CreateConversationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversationDataset", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.CreateConversationDataset", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets", + "shortName": "ConversationDatasets" + }, + "shortName": "CreateConversationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationDatasetRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConversationDatasetOperation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "CreateConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } + "shortName": "CreateConversationDataset" }, + "description": "CreateConversationDataset creates a new conversation dataset.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]\n- `response`: \n[ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]", + "file": "ConversationDatasetsClient/CreateConversationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_CreateConversationDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversationDataset Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_DeleteConversationDataset_sync", - "title": "dialogflow DeleteConversationDataset Sample", - "description": "DeleteConversationDataset deletes the specified conversation dataset.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "ConversationDatasetsClient/DeleteConversationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversationDataset", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.DeleteConversationDataset", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets", + "shortName": "ConversationDatasets" + }, + "shortName": "DeleteConversationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteConversationDatasetRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteConversationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConversationDatasetOperation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "DeleteConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } + "shortName": "DeleteConversationDataset" }, + "description": "DeleteConversationDataset deletes the specified conversation dataset.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "ConversationDatasetsClient/DeleteConversationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_DeleteConversationDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteConversationDataset Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetConversationDataset_sync", - "title": "dialogflow GetConversationDataset Sample", - "description": "GetConversationDataset retrieves the specified conversation dataset.", - "file": "ConversationDatasetsClient/GetConversationDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversationDataset", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.GetConversationDataset", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets", + "shortName": "ConversationDatasets" + }, + "shortName": "GetConversationDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationDatasetRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationDataset", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "GetConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } + "shortName": "GetConversationDataset" }, + "description": "GetConversationDataset retrieves the specified conversation dataset.", + "file": "ConversationDatasetsClient/GetConversationDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetConversationDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversationDataset Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationDatasetsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationDatasetsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationDatasetsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationDatasetsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_ImportConversationData_sync", - "title": "dialogflow ImportConversationData Sample", - "description": "ImportConversationData import data into the specified conversation dataset. Note that it\nis not allowed to import data to a conversation dataset that\nalready has data in it.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]\n- `response`: \n[ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]", - "file": "ConversationDatasetsClient/ImportConversationData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportConversationData", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.ImportConversationData", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets", + "shortName": "ConversationDatasets" + }, + "shortName": "ImportConversationData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ImportConversationDataRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ImportConversationDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportConversationDataOperation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "ImportConversationData", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } + "shortName": "ImportConversationData" }, + "description": "ImportConversationData import data into the specified conversation dataset. Note that it\nis not allowed to import data to a conversation dataset that\nalready has data in it.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]\n- `response`: \n[ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]", + "file": "ConversationDatasetsClient/ImportConversationData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_ImportConversationData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportConversationData Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListConversationDatasets_sync", - "title": "dialogflow ListConversationDatasets Sample", - "description": "ListConversationDatasets returns the list of all conversation datasets in the specified\nproject and location.", - "file": "ConversationDatasetsClient/ListConversationDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversationDatasets", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.ListConversationDatasets", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets", + "shortName": "ConversationDatasets" + }, + "shortName": "ListConversationDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationDatasetsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationDatasetIterator", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "ListConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } + "shortName": "ListConversationDatasets" }, + "description": "ListConversationDatasets returns the list of all conversation datasets in the specified\nproject and location.", + "file": "ConversationDatasetsClient/ListConversationDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListConversationDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversationDatasets Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationDatasetsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationDatasetsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationDatasetsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient", + "shortName": "ConversationDatasetsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationDatasetsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationModelsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationModelsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModel_sync", - "title": "dialogflow CreateConversationModel Sample", - "description": "CreateConversationModel creates a model.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]\n- `response`: \n[ConversationModel][google.cloud.dialogflow.v2.ConversationModel]", - "file": "ConversationModelsClient/CreateConversationModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversationModel", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.CreateConversationModel", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "CreateConversationModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationModelRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConversationModelOperation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "CreateConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "CreateConversationModel" }, + "description": "CreateConversationModel creates a model.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]\n- `response`: \n[ConversationModel][google.cloud.dialogflow.v2.ConversationModel]", + "file": "ConversationModelsClient/CreateConversationModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversationModel Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModelEvaluation_sync", - "title": "dialogflow CreateConversationModelEvaluation Sample", - "description": "CreateConversationModelEvaluation creates evaluation of a conversation model.", - "file": "ConversationModelsClient/CreateConversationModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversationModelEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.CreateConversationModelEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "CreateConversationModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConversationModelEvaluationOperation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "CreateConversationModelEvaluation", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "CreateConversationModelEvaluation" }, + "description": "CreateConversationModelEvaluation creates evaluation of a conversation model.", + "file": "ConversationModelsClient/CreateConversationModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModelEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversationModelEvaluation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_DeleteConversationModel_sync", - "title": "dialogflow DeleteConversationModel Sample", - "description": "DeleteConversationModel deletes a model.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "ConversationModelsClient/DeleteConversationModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversationModel", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.DeleteConversationModel", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "DeleteConversationModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteConversationModelRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteConversationModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConversationModelOperation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "DeleteConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "DeleteConversationModel" }, + "description": "DeleteConversationModel deletes a model.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "ConversationModelsClient/DeleteConversationModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_DeleteConversationModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteConversationModel Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_DeployConversationModel_sync", - "title": "dialogflow DeployConversationModel Sample", - "description": "DeployConversationModel deploys a model. If a model is already deployed, deploying it\nhas no effect. A model can only serve prediction requests after it gets\ndeployed. For article suggestion, custom model will not be used unless\nit is deployed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "ConversationModelsClient/DeployConversationModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployConversationModel", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.DeployConversationModel", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "DeployConversationModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeployConversationModelRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeployConversationModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployConversationModelOperation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "DeployConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "DeployConversationModel" }, + "description": "DeployConversationModel deploys a model. If a model is already deployed, deploying it\nhas no effect. A model can only serve prediction requests after it gets\ndeployed. For article suggestion, custom model will not be used unless\nit is deployed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "ConversationModelsClient/DeployConversationModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_DeployConversationModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeployConversationModel Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModel_sync", - "title": "dialogflow GetConversationModel Sample", - "description": "GetConversationModel gets conversation model.", - "file": "ConversationModelsClient/GetConversationModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversationModel", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.GetConversationModel", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModel", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "GetConversationModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationModelRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationModel", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "GetConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "GetConversationModel" }, + "description": "GetConversationModel gets conversation model.", + "file": "ConversationModelsClient/GetConversationModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversationModel Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModelEvaluation_sync", - "title": "dialogflow GetConversationModelEvaluation Sample", - "description": "GetConversationModelEvaluation gets an evaluation of conversation model.", - "file": "ConversationModelsClient/GetConversationModelEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversationModelEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.GetConversationModelEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "GetConversationModelEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationModelEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationModelEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationModelEvaluation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "GetConversationModelEvaluation", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "GetConversationModelEvaluation" }, + "description": "GetConversationModelEvaluation gets an evaluation of conversation model.", + "file": "ConversationModelsClient/GetConversationModelEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModelEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversationModelEvaluation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationModelsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationModelsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationModelsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationModelsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModelEvaluations_sync", - "title": "dialogflow ListConversationModelEvaluations Sample", - "description": "ListConversationModelEvaluations lists evaluations of a conversation model.", - "file": "ConversationModelsClient/ListConversationModelEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversationModelEvaluations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.ListConversationModelEvaluations", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "ListConversationModelEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationModelEvaluationsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationModelEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationModelEvaluationIterator", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "ListConversationModelEvaluations", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "ListConversationModelEvaluations" }, + "description": "ListConversationModelEvaluations lists evaluations of a conversation model.", + "file": "ConversationModelsClient/ListConversationModelEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModelEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversationModelEvaluations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModels_sync", - "title": "dialogflow ListConversationModels Sample", - "description": "ListConversationModels lists conversation models.", - "file": "ConversationModelsClient/ListConversationModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversationModels", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.ListConversationModels", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModels", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "ListConversationModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationModelsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationModelIterator", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "ListConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModels", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "ListConversationModels" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListConversationModels lists conversation models.", + "file": "ConversationModelsClient/ListConversationModels/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModels_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversationModels Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationModelsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationModelsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationModelsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationModelsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationModels_UndeployConversationModel_sync", - "title": "dialogflow UndeployConversationModel Sample", - "description": "UndeployConversationModel undeploys a model. If the model is not deployed this method has no effect.\nIf the model is currently being used: \n- For article suggestion, article suggestion will fallback to the default\nmodel if model is undeployed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "ConversationModelsClient/UndeployConversationModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployConversationModel", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient", + "shortName": "ConversationModelsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient.UndeployConversationModel", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationModels", + "shortName": "ConversationModels" + }, + "shortName": "UndeployConversationModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UndeployConversationModelRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UndeployConversationModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployConversationModelOperation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "UndeployConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } + "shortName": "UndeployConversationModel" }, + "description": "UndeployConversationModel undeploys a model. If the model is not deployed this method has no effect.\nIf the model is currently being used: \n- For article suggestion, article suggestion will fallback to the default\nmodel if model is undeployed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "ConversationModelsClient/UndeployConversationModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationModels_UndeployConversationModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UndeployConversationModel Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationProfilesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationProfilesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_ClearSuggestionFeatureConfig_sync", - "title": "dialogflow ClearSuggestionFeatureConfig Sample", - "description": "ClearSuggestionFeatureConfig clears a suggestion feature from a conversation profile for the given\nparticipant role.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]", - "file": "ConversationProfilesClient/ClearSuggestionFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClearSuggestionFeatureConfig", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.ClearSuggestionFeatureConfig", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "ClearSuggestionFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ClearSuggestionFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ClearSuggestionFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClearSuggestionFeatureConfigOperation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "ClearSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "ClearSuggestionFeatureConfig" }, + "description": "ClearSuggestionFeatureConfig clears a suggestion feature from a conversation profile for the given\nparticipant role.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]", + "file": "ConversationProfilesClient/ClearSuggestionFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_ClearSuggestionFeatureConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ClearSuggestionFeatureConfig Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_CreateConversationProfile_sync", - "title": "dialogflow CreateConversationProfile Sample", - "description": "CreateConversationProfile creates a conversation profile in the specified project.\n\n[ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]\nand\n[ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]\nAPI.", - "file": "ConversationProfilesClient/CreateConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.CreateConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "CreateConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "CreateConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "CreateConversationProfile" }, + "description": "CreateConversationProfile creates a conversation profile in the specified project.\n\n[ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]\nand\n[ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]\nAPI.", + "file": "ConversationProfilesClient/CreateConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_CreateConversationProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversationProfile Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_DeleteConversationProfile_sync", - "title": "dialogflow DeleteConversationProfile Sample", - "description": "DeleteConversationProfile deletes the specified conversation profile.", - "file": "ConversationProfilesClient/DeleteConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.DeleteConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "DeleteConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "DeleteConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "DeleteConversationProfile" }, + "description": "DeleteConversationProfile deletes the specified conversation profile.", + "file": "ConversationProfilesClient/DeleteConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_DeleteConversationProfile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteConversationProfile Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetConversationProfile_sync", - "title": "dialogflow GetConversationProfile Sample", - "description": "GetConversationProfile retrieves the specified conversation profile.", - "file": "ConversationProfilesClient/GetConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.GetConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "GetConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "GetConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "GetConversationProfile" }, + "description": "GetConversationProfile retrieves the specified conversation profile.", + "file": "ConversationProfilesClient/GetConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetConversationProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversationProfile Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationProfilesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationProfilesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationProfilesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationProfilesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListConversationProfiles_sync", - "title": "dialogflow ListConversationProfiles Sample", - "description": "ListConversationProfiles returns the list of all conversation profiles in the specified project.", - "file": "ConversationProfilesClient/ListConversationProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversationProfiles", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.ListConversationProfiles", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "ListConversationProfiles" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationProfilesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationProfileIterator", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "ListConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "ListConversationProfiles" }, + "description": "ListConversationProfiles returns the list of all conversation profiles in the specified project.", + "file": "ConversationProfilesClient/ListConversationProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListConversationProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversationProfiles Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationProfilesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationProfilesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationProfilesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationProfilesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_SetSuggestionFeatureConfig_sync", - "title": "dialogflow SetSuggestionFeatureConfig Sample", - "description": "SetSuggestionFeatureConfig adds or updates a suggestion feature in a conversation profile.\nIf the conversation profile contains the type of suggestion feature for\nthe participant role, it will update it. Otherwise it will insert the\nsuggestion feature.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]\n\nIf a long running operation to add or update suggestion feature\nconfig for the same conversation profile, participant role and suggestion\nfeature type exists, please cancel the existing long running operation\nbefore sending such request, otherwise the request will be rejected.", - "file": "ConversationProfilesClient/SetSuggestionFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSuggestionFeatureConfig", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.SetSuggestionFeatureConfig", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "SetSuggestionFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SetSuggestionFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SetSuggestionFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetSuggestionFeatureConfigOperation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "SetSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "SetSuggestionFeatureConfig" }, + "description": "SetSuggestionFeatureConfig adds or updates a suggestion feature in a conversation profile.\nIf the conversation profile contains the type of suggestion feature for\nthe participant role, it will update it. Otherwise it will insert the\nsuggestion feature.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]\n\nIf a long running operation to add or update suggestion feature\nconfig for the same conversation profile, participant role and suggestion\nfeature type exists, please cancel the existing long running operation\nbefore sending such request, otherwise the request will be rejected.", + "file": "ConversationProfilesClient/SetSuggestionFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_SetSuggestionFeatureConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SetSuggestionFeatureConfig Sample" }, { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_UpdateConversationProfile_sync", - "title": "dialogflow UpdateConversationProfile Sample", - "description": "UpdateConversationProfile updates the specified conversation profile.\n\n[ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]\nand\n[ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]\nAPI.", - "file": "ConversationProfilesClient/UpdateConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient.UpdateConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "UpdateConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "UpdateConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } + "shortName": "UpdateConversationProfile" }, + "description": "UpdateConversationProfile updates the specified conversation profile.\n\n[ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]\nand\n[ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]\nAPI.", + "file": "ConversationProfilesClient/UpdateConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_ConversationProfiles_UpdateConversationProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateConversationProfile Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_CompleteConversation_sync", - "title": "dialogflow CompleteConversation Sample", - "description": "CompleteConversation completes the specified conversation. Finished conversations are purged\nfrom the database after 30 days.", - "file": "ConversationsClient/CompleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteConversation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.CompleteConversation", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "CompleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CompleteConversationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CompleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "CompleteConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "CompleteConversation" }, + "description": "CompleteConversation completes the specified conversation. Finished conversations are purged\nfrom the database after 30 days.", + "file": "ConversationsClient/CompleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_CompleteConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CompleteConversation Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_CreateConversation_sync", - "title": "dialogflow CreateConversation Sample", - "description": "CreateConversation creates a new conversation. Conversations are auto-completed after 24\nhours.\n\nConversation Lifecycle: \nThere are two stages during a conversation: Automated Agent Stage and\nAssist Stage.\n\nFor Automated Agent Stage, there will be a dialogflow agent responding to\nuser queries.\n\nFor Assist Stage, there's no dialogflow agent responding to user queries.\nBut we will provide suggestions which are generated from conversation.\n\nIf\n[Conversation.conversation_profile][google.cloud.dialogflow.v2.Conversation.conversation_profile]\nis configured for a dialogflow agent, conversation will start from\n`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And\nduring `Automated Agent Stage`, once an\n[Intent][google.cloud.dialogflow.v2.Intent] with\n[Intent.live_agent_handoff][google.cloud.dialogflow.v2.Intent.live_agent_handoff]\nis triggered, conversation will transfer to Assist Stage.", - "file": "ConversationsClient/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.CreateConversation", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a new conversation. Conversations are auto-completed after 24\nhours.\n\nConversation Lifecycle: \nThere are two stages during a conversation: Automated Agent Stage and\nAssist Stage.\n\nFor Automated Agent Stage, there will be a dialogflow agent responding to\nuser queries.\n\nFor Assist Stage, there's no dialogflow agent responding to user queries.\nBut we will provide suggestions which are generated from conversation.\n\nIf\n[Conversation.conversation_profile][google.cloud.dialogflow.v2.Conversation.conversation_profile]\nis configured for a dialogflow agent, conversation will start from\n`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And\nduring `Automated Agent Stage`, once an\n[Intent][google.cloud.dialogflow.v2.Intent] with\n[Intent.live_agent_handoff][google.cloud.dialogflow.v2.Intent.live_agent_handoff]\nis triggered, conversation will transfer to Assist Stage.", + "file": "ConversationsClient/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversation Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSuggestion_sync", - "title": "dialogflow GenerateStatelessSuggestion Sample", - "description": "GenerateStatelessSuggestion generates and returns a suggestion for a conversation that does not have a\nresource created for it.", - "file": "ConversationsClient/GenerateStatelessSuggestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateStatelessSuggestion", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.GenerateStatelessSuggestion", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "GenerateStatelessSuggestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GenerateStatelessSuggestionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GenerateStatelessSuggestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GenerateStatelessSuggestionResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSuggestion", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "GenerateStatelessSuggestion" }, + "description": "GenerateStatelessSuggestion generates and returns a suggestion for a conversation that does not have a\nresource created for it.", + "file": "ConversationsClient/GenerateStatelessSuggestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSuggestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GenerateStatelessSuggestion Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSummary_sync", - "title": "dialogflow GenerateStatelessSummary Sample", - "description": "GenerateStatelessSummary generates and returns a summary for a conversation that does not have a\nresource created for it.", - "file": "ConversationsClient/GenerateStatelessSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateStatelessSummary", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.GenerateStatelessSummary", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "GenerateStatelessSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GenerateStatelessSummaryRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GenerateStatelessSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GenerateStatelessSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSummary", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "GenerateStatelessSummary" }, + "description": "GenerateStatelessSummary generates and returns a summary for a conversation that does not have a\nresource created for it.", + "file": "ConversationsClient/GenerateStatelessSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GenerateStatelessSummary Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_GenerateSuggestions_sync", - "title": "dialogflow GenerateSuggestions Sample", - "description": "GenerateSuggestions generates all the suggestions using generators configured in the\nconversation profile. A generator is used only if its trigger event is\nmatched.", - "file": "ConversationsClient/GenerateSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateSuggestions", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.GenerateSuggestions", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateSuggestions", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "GenerateSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GenerateSuggestionsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GenerateSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GenerateSuggestionsResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GenerateSuggestions", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateSuggestions", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "GenerateSuggestions" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GenerateSuggestions generates all the suggestions using generators configured in the\nconversation profile. A generator is used only if its trigger event is\nmatched.", + "file": "ConversationsClient/GenerateSuggestions/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_GenerateSuggestions_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GenerateSuggestions Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_GetConversation_sync", - "title": "dialogflow GetConversation Sample", - "description": "GetConversation retrieves the specific conversation.", - "file": "ConversationsClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.GetConversation", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation retrieves the specific conversation.", + "file": "ConversationsClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversation Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_IngestContextReferences_sync", - "title": "dialogflow IngestContextReferences Sample", - "description": "IngestContextReferences data ingestion API.\nIngests context references for an existing conversation.", - "file": "ConversationsClient/IngestContextReferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "IngestContextReferences", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.IngestContextReferences", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.IngestContextReferences", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "IngestContextReferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.IngestContextReferencesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.IngestContextReferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.IngestContextReferencesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "IngestContextReferences", - "fullName": "google.cloud.dialogflow.v2.Conversations.IngestContextReferences", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "IngestContextReferences" }, + "description": "IngestContextReferences data ingestion API.\nIngests context references for an existing conversation.", + "file": "ConversationsClient/IngestContextReferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_IngestContextReferences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow IngestContextReferences Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_ListConversations_sync", - "title": "dialogflow ListConversations Sample", - "description": "ListConversations returns the list of all conversations in the specified project.", - "file": "ConversationsClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.ListConversations", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations returns the list of all conversations in the specified project.", + "file": "ConversationsClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversations Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_ListMessages_sync", - "title": "dialogflow ListMessages Sample", - "description": "ListMessages lists messages that belong to a given conversation.\n`messages` are ordered by `create_time` in descending order. To fetch\nupdates without duplication, send request with filter\n`create_time_epoch_microseconds >\n[first item's create_time of previous request]` and empty page_token.", - "file": "ConversationsClient/ListMessages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMessages", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.ListMessages", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "ListMessages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListMessagesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListMessagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MessageIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "ListMessages", - "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "ListMessages" }, + "description": "ListMessages lists messages that belong to a given conversation.\n`messages` are ordered by `create_time` in descending order. To fetch\nupdates without duplication, send request with filter\n`create_time_epoch_microseconds >\n[first item's create_time of previous request]` and empty page_token.", + "file": "ConversationsClient/ListMessages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_ListMessages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListMessages Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_SearchKnowledge_sync", - "title": "dialogflow SearchKnowledge Sample", - "description": "SearchKnowledge get answers for the given query based on knowledge documents.", - "file": "ConversationsClient/SearchKnowledge/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchKnowledge", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.SearchKnowledge", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "SearchKnowledge" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SearchKnowledgeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SearchKnowledgeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SearchKnowledgeResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "SearchKnowledge", - "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "SearchKnowledge" }, + "description": "SearchKnowledge get answers for the given query based on knowledge documents.", + "file": "ConversationsClient/SearchKnowledge/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_SearchKnowledge_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SearchKnowledge Sample" }, { - "regionTag": "dialogflow_v2_generated_Conversations_SuggestConversationSummary_sync", - "title": "dialogflow SuggestConversationSummary Sample", - "description": "SuggestConversationSummary suggests summary for a conversation based on specific historical messages.\nThe range of the messages to be used for summary can be specified in the\nrequest.", - "file": "ConversationsClient/SuggestConversationSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestConversationSummary", + "client": { + "fullName": "google.cloud.dialogflow.v2.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2.ConversationsClient.SuggestConversationSummary", + "method": { + "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", + "service": { + "fullName": "google.cloud.dialogflow.v2.Conversations", + "shortName": "Conversations" + }, + "shortName": "SuggestConversationSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestConversationSummaryRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestConversationSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestConversationSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "SuggestConversationSummary", - "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } + "shortName": "SuggestConversationSummary" }, + "description": "SuggestConversationSummary suggests summary for a conversation based on specific historical messages.\nThe range of the messages to be used for summary can be specified in the\nrequest.", + "file": "ConversationsClient/SuggestConversationSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Conversations_SuggestConversationSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestConversationSummary Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_CreateDocument_sync", - "title": "dialogflow CreateDocument Sample", - "description": "CreateDocument creates a new document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]", - "file": "DocumentsClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.CreateDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates a new document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]", + "file": "DocumentsClient/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_CreateDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateDocument Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_DeleteDocument_sync", - "title": "dialogflow DeleteDocument Sample", - "description": "DeleteDocument deletes the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "DocumentsClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.DeleteDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "DocumentsClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteDocument Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_ExportDocument_sync", - "title": "dialogflow ExportDocument Sample", - "description": "ExportDocument exports a smart messaging candidate document into the specified\ndestination.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]", - "file": "DocumentsClient/ExportDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.ExportDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.ExportDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "ExportDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ExportDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ExportDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ExportDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.ExportDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "ExportDocument" }, + "description": "ExportDocument exports a smart messaging candidate document into the specified\ndestination.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]", + "file": "DocumentsClient/ExportDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_ExportDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportDocument Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_GetDocument_sync", - "title": "dialogflow GetDocument Sample", - "description": "GetDocument retrieves the specified document.", - "file": "DocumentsClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.GetDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Document", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument retrieves the specified document.", + "file": "DocumentsClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetDocument Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DocumentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DocumentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_ImportDocuments_sync", - "title": "dialogflow ImportDocuments Sample", - "description": "ImportDocuments creates documents by importing data from external sources.\nDialogflow supports up to 350 documents in each request. If you try to\nimport more, Dialogflow will return an error.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: \n[ImportDocumentsResponse][google.cloud.dialogflow.v2.ImportDocumentsResponse]", - "file": "DocumentsClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.ImportDocuments", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.ImportDocuments", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.dialogflow.v2.Documents.ImportDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments creates documents by importing data from external sources.\nDialogflow supports up to 350 documents in each request. If you try to\nimport more, Dialogflow will return an error.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: \n[ImportDocumentsResponse][google.cloud.dialogflow.v2.ImportDocumentsResponse]", + "file": "DocumentsClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportDocuments Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_ListDocuments_sync", - "title": "dialogflow ListDocuments Sample", - "description": "ListDocuments returns the list of all documents of the knowledge base.", - "file": "DocumentsClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.ListDocuments", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments returns the list of all documents of the knowledge base.", + "file": "DocumentsClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListDocuments Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "DocumentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "DocumentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentsClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_ReloadDocument_sync", - "title": "dialogflow ReloadDocument Sample", - "description": "ReloadDocument reloads the specified document from its specified source, content_uri or\ncontent. The previously loaded content of the document will be deleted.\nNote: Even when the content of the document has not changed, there still\nmay be side effects because of internal implementation changes.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/ReloadDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReloadDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.ReloadDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "ReloadDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ReloadDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ReloadDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReloadDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ReloadDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "ReloadDocument" }, + "description": "ReloadDocument reloads the specified document from its specified source, content_uri or\ncontent. The previously loaded content of the document will be deleted.\nNote: Even when the content of the document has not changed, there still\nmay be side effects because of internal implementation changes.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/ReloadDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_ReloadDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ReloadDocument Sample" }, { - "regionTag": "dialogflow_v2_generated_Documents_UpdateDocument_sync", - "title": "dialogflow UpdateDocument Sample", - "description": "UpdateDocument updates the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]", - "file": "DocumentsClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2.DocumentsClient.UpdateDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2.Documents", + "shortName": "Documents" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2.Document]", + "file": "DocumentsClient/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Documents_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateDocument Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EncryptionSpecClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EncryptionSpecClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetEncryptionSpec_sync", - "title": "dialogflow GetEncryptionSpec Sample", - "description": "GetEncryptionSpec gets location-level encryption key specification.", - "file": "EncryptionSpecClient/GetEncryptionSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEncryptionSpec", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.GetEncryptionSpec", + "method": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.GetEncryptionSpec", + "service": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService", + "shortName": "EncryptionSpecService" + }, + "shortName": "GetEncryptionSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEncryptionSpecRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEncryptionSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EncryptionSpec", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.GetEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService" - } - } + "shortName": "GetEncryptionSpec" }, + "description": "GetEncryptionSpec gets location-level encryption key specification.", + "file": "EncryptionSpecClient/GetEncryptionSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetEncryptionSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEncryptionSpec Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EncryptionSpecClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EncryptionSpecClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EncryptionSpecClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EncryptionSpecClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_InitializeEncryptionSpec_sync", - "title": "dialogflow InitializeEncryptionSpec Sample", - "description": "InitializeEncryptionSpec initializes a location-level encryption key specification. An error will\nbe thrown if the location has resources already created before the\ninitialization. Once the encryption specification is initialized at a\nlocation, it is immutable and all newly created resources under the\nlocation will be encrypted with the existing specification.", - "file": "EncryptionSpecClient/InitializeEncryptionSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "InitializeEncryptionSpec", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.InitializeEncryptionSpec", + "method": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.InitializeEncryptionSpec", + "service": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService", + "shortName": "EncryptionSpecService" + }, + "shortName": "InitializeEncryptionSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.InitializeEncryptionSpecRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.InitializeEncryptionSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InitializeEncryptionSpecOperation", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.InitializeEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService" - } - } + "shortName": "InitializeEncryptionSpec" }, + "description": "InitializeEncryptionSpec initializes a location-level encryption key specification. An error will\nbe thrown if the location has resources already created before the\ninitialization. Once the encryption specification is initialized at a\nlocation, it is immutable and all newly created resources under the\nlocation will be encrypted with the existing specification.", + "file": "EncryptionSpecClient/InitializeEncryptionSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_InitializeEncryptionSpec_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow InitializeEncryptionSpec Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EncryptionSpecClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EncryptionSpecClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EncryptionSpecClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EncryptionSpecClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchCreateEntities_sync", - "title": "dialogflow BatchCreateEntities Sample", - "description": "BatchCreateEntities creates multiple new entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchCreateEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateEntities", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.BatchCreateEntities", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchCreateEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchCreateEntitiesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchCreateEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateEntitiesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchCreateEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "BatchCreateEntities" }, + "description": "BatchCreateEntities creates multiple new entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchCreateEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchCreateEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchCreateEntities Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntities_sync", - "title": "dialogflow BatchDeleteEntities Sample", - "description": "BatchDeleteEntities deletes entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchDeleteEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteEntities", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.BatchDeleteEntities", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchDeleteEntities" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchDeleteEntitiesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchDeleteEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteEntitiesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "BatchDeleteEntities" }, + "description": "BatchDeleteEntities deletes entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchDeleteEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteEntities Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntityTypes_sync", - "title": "dialogflow BatchDeleteEntityTypes Sample", - "description": "BatchDeleteEntityTypes deletes entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchDeleteEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.BatchDeleteEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchDeleteEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchDeleteEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchDeleteEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "BatchDeleteEntityTypes" }, + "description": "BatchDeleteEntityTypes deletes entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchDeleteEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntityTypes_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteEntityTypes Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntities_sync", - "title": "dialogflow BatchUpdateEntities Sample", - "description": "BatchUpdateEntities updates or creates multiple entities in the specified entity type. This\nmethod does not affect entities in the entity type that aren't explicitly\nspecified in the request.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchUpdateEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateEntities", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.BatchUpdateEntities", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchUpdateEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchUpdateEntitiesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchUpdateEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateEntitiesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "BatchUpdateEntities" }, + "description": "BatchUpdateEntities updates or creates multiple entities in the specified entity type. This\nmethod does not affect entities in the entity type that aren't explicitly\nspecified in the request.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchUpdateEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchUpdateEntities Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntityTypes_sync", - "title": "dialogflow BatchUpdateEntityTypes Sample", - "description": "BatchUpdateEntityTypes updates/Creates multiple entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchUpdateEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.BatchUpdateEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchUpdateEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchUpdateEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchUpdateEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "BatchUpdateEntityTypes" }, + "description": "BatchUpdateEntityTypes updates/Creates multiple entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchUpdateEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntityTypes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchUpdateEntityTypes Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_CreateEntityType_sync", - "title": "dialogflow CreateEntityType Sample", - "description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/CreateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.CreateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "CreateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "CreateEntityType" }, + "description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/CreateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_CreateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_DeleteEntityType_sync", - "title": "dialogflow DeleteEntityType Sample", - "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/DeleteEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.DeleteEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "DeleteEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "DeleteEntityType" }, + "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/DeleteEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_DeleteEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_GetEntityType_sync", - "title": "dialogflow GetEntityType Sample", - "description": "GetEntityType retrieves the specified entity type.", - "file": "EntityTypesClient/GetEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.GetEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "GetEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "GetEntityType" }, + "description": "GetEntityType retrieves the specified entity type.", + "file": "EntityTypesClient/GetEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_GetEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_ListEntityTypes_sync", - "title": "dialogflow ListEntityTypes Sample", - "description": "ListEntityTypes returns the list of all entity types in the specified agent.", - "file": "EntityTypesClient/ListEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.ListEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ListEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityTypeIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "ListEntityTypes" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListEntityTypes returns the list of all entity types in the specified agent.", + "file": "EntityTypesClient/ListEntityTypes/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_ListEntityTypes_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEntityTypes Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_EntityTypes_UpdateEntityType_sync", - "title": "dialogflow UpdateEntityType Sample", - "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/UpdateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.EntityTypesClient.UpdateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "UpdateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } + "shortName": "UpdateEntityType" }, + "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/UpdateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_EntityTypes_UpdateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_CreateEnvironment_sync", - "title": "dialogflow CreateEnvironment Sample", - "description": "CreateEnvironment creates an agent environment.", - "file": "EnvironmentsClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2.Environments", + "shortName": "Environments" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment creates an agent environment.", + "file": "EnvironmentsClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEnvironment Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_DeleteEnvironment_sync", - "title": "dialogflow DeleteEnvironment Sample", - "description": "DeleteEnvironment deletes the specified agent environment.", - "file": "EnvironmentsClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } + "shortName": "DeleteEnvironment" }, + "description": "DeleteEnvironment deletes the specified agent environment.", + "file": "EnvironmentsClient/DeleteEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_DeleteEnvironment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEnvironment Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_GetEnvironment_sync", - "title": "dialogflow GetEnvironment Sample", - "description": "GetEnvironment retrieves the specified agent environment.", - "file": "EnvironmentsClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.GetEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment retrieves the specified agent environment.", + "file": "EnvironmentsClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEnvironment Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_GetEnvironmentHistory_sync", - "title": "dialogflow GetEnvironmentHistory Sample", - "description": "GetEnvironmentHistory gets the history of the specified environment.", - "file": "EnvironmentsClient/GetEnvironmentHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironmentHistory", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.GetEnvironmentHistory", + "method": { + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", + "service": { + "fullName": "google.cloud.dialogflow.v2.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironmentHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEnvironmentHistoryRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEnvironmentHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentHistory_EntryIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironmentHistory", - "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } + "shortName": "GetEnvironmentHistory" }, + "description": "GetEnvironmentHistory gets the history of the specified environment.", + "file": "EnvironmentsClient/GetEnvironmentHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_GetEnvironmentHistory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEnvironmentHistory Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EnvironmentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EnvironmentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_ListEnvironments_sync", - "title": "dialogflow ListEnvironments Sample", - "description": "ListEnvironments returns the list of all non-default environments of the specified agent.", - "file": "EnvironmentsClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironments", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", + "service": { + "fullName": "google.cloud.dialogflow.v2.Environments", + "shortName": "Environments" + }, + "shortName": "ListEnvironments" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments returns the list of all non-default environments of the specified agent.", + "file": "EnvironmentsClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEnvironments Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EnvironmentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EnvironmentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Environments_UpdateEnvironment_sync", - "title": "dialogflow UpdateEnvironment Sample", - "description": "UpdateEnvironment updates the specified agent environment.\n\nThis method allows you to deploy new agent versions into the environment.\nWhen an environment is pointed to a new agent version by setting\n`environment.agent_version`, the environment is temporarily set to the\n`LOADING` state. During that time, the environment continues serving the\nprevious version of the agent. After the new agent version is done loading,\nthe environment is set back to the `RUNNING` state.\nYou can use \"-\" as Environment ID in environment name to update an agent\nversion in the default environment. WARNING: this will negate all recent\nchanges to the draft agent and can't be undone. You may want to save the\ndraft agent to a version before calling this method.", - "file": "EnvironmentsClient/UpdateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient.UpdateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } + "shortName": "UpdateEnvironment" }, + "description": "UpdateEnvironment updates the specified agent environment.\n\nThis method allows you to deploy new agent versions into the environment.\nWhen an environment is pointed to a new agent version by setting\n`environment.agent_version`, the environment is temporarily set to the\n`LOADING` state. During that time, the environment continues serving the\nprevious version of the agent. After the new agent version is done loading,\nthe environment is set back to the `RUNNING` state.\nYou can use \"-\" as Environment ID in environment name to update an agent\nversion in the default environment. WARNING: this will negate all recent\nchanges to the draft agent and can't be undone. You may want to save the\ndraft agent to a version before calling this method.", + "file": "EnvironmentsClient/UpdateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Environments_UpdateEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEnvironment Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FulfillmentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FulfillmentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_GetFulfillment_sync", - "title": "dialogflow GetFulfillment Sample", - "description": "GetFulfillment retrieves the fulfillment.", - "file": "FulfillmentsClient/GetFulfillment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFulfillment", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.GetFulfillment", + "method": { + "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", + "service": { + "fullName": "google.cloud.dialogflow.v2.Fulfillments", + "shortName": "Fulfillments" + }, + "shortName": "GetFulfillment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetFulfillmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetFulfillmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "GetFulfillment", - "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2.Fulfillments" - } - } + "shortName": "GetFulfillment" }, + "description": "GetFulfillment retrieves the fulfillment.", + "file": "FulfillmentsClient/GetFulfillment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_GetFulfillment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetFulfillment Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FulfillmentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FulfillmentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FulfillmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FulfillmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "FulfillmentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "FulfillmentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FulfillmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FulfillmentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Fulfillments_UpdateFulfillment_sync", - "title": "dialogflow UpdateFulfillment Sample", - "description": "UpdateFulfillment updates the fulfillment.", - "file": "FulfillmentsClient/UpdateFulfillment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFulfillment", + "client": { + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient.UpdateFulfillment", + "method": { + "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", + "service": { + "fullName": "google.cloud.dialogflow.v2.Fulfillments", + "shortName": "Fulfillments" + }, + "shortName": "UpdateFulfillment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateFulfillmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateFulfillmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "UpdateFulfillment", - "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2.Fulfillments" - } - } + "shortName": "UpdateFulfillment" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateFulfillment updates the fulfillment.", + "file": "FulfillmentsClient/UpdateFulfillment/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Fulfillments_UpdateFulfillment_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateFulfillment Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorEvaluationsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorEvaluationsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_CreateGeneratorEvaluation_sync", - "title": "dialogflow CreateGeneratorEvaluation Sample", - "description": "CreateGeneratorEvaluation creates evaluation of a generator.", - "file": "GeneratorEvaluationsClient/CreateGeneratorEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGeneratorEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.CreateGeneratorEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.CreateGeneratorEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "CreateGeneratorEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateGeneratorEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateGeneratorEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGeneratorEvaluationOperation", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "CreateGeneratorEvaluation", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.CreateGeneratorEvaluation", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations" - } - } + "shortName": "CreateGeneratorEvaluation" }, + "description": "CreateGeneratorEvaluation creates evaluation of a generator.", + "file": "GeneratorEvaluationsClient/CreateGeneratorEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_CreateGeneratorEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateGeneratorEvaluation Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_DeleteGeneratorEvaluation_sync", - "title": "dialogflow DeleteGeneratorEvaluation Sample", - "description": "DeleteGeneratorEvaluation deletes an evaluation of generator.", - "file": "GeneratorEvaluationsClient/DeleteGeneratorEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGeneratorEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.DeleteGeneratorEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.DeleteGeneratorEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "DeleteGeneratorEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteGeneratorEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteGeneratorEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "DeleteGeneratorEvaluation", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.DeleteGeneratorEvaluation", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations" - } - } + "shortName": "DeleteGeneratorEvaluation" }, + "description": "DeleteGeneratorEvaluation deletes an evaluation of generator.", + "file": "GeneratorEvaluationsClient/DeleteGeneratorEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_DeleteGeneratorEvaluation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteGeneratorEvaluation Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_GetGeneratorEvaluation_sync", - "title": "dialogflow GetGeneratorEvaluation Sample", - "description": "GetGeneratorEvaluation gets an evaluation of generator.", - "file": "GeneratorEvaluationsClient/GetGeneratorEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGeneratorEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.GetGeneratorEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.GetGeneratorEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "GetGeneratorEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetGeneratorEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetGeneratorEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GeneratorEvaluation", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "GetGeneratorEvaluation", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.GetGeneratorEvaluation", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations" - } - } + "shortName": "GetGeneratorEvaluation" }, + "description": "GetGeneratorEvaluation gets an evaluation of generator.", + "file": "GeneratorEvaluationsClient/GetGeneratorEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_GetGeneratorEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGeneratorEvaluation Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GeneratorEvaluationsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GeneratorEvaluationsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorEvaluationsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorEvaluationsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_ListGeneratorEvaluations_sync", - "title": "dialogflow ListGeneratorEvaluations Sample", - "description": "ListGeneratorEvaluations lists evaluations of generator.", - "file": "GeneratorEvaluationsClient/ListGeneratorEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGeneratorEvaluations", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.ListGeneratorEvaluations", + "method": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.ListGeneratorEvaluations", + "service": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "ListGeneratorEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListGeneratorEvaluationsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListGeneratorEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GeneratorEvaluationIterator", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "ListGeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations.ListGeneratorEvaluations", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluations" - } - } + "shortName": "ListGeneratorEvaluations" }, + "description": "ListGeneratorEvaluations lists evaluations of generator.", + "file": "GeneratorEvaluationsClient/ListGeneratorEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_ListGeneratorEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListGeneratorEvaluations Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "GeneratorEvaluationsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "GeneratorEvaluationsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GeneratorEvaluationsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GeneratorEvaluationsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_GeneratorEvaluations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_CreateGenerator_sync", - "title": "dialogflow CreateGenerator Sample", - "description": "CreateGenerator creates a generator.", - "file": "GeneratorsClient/CreateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.CreateGenerator", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2.Generators.CreateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2.Generators", + "shortName": "Generators" + }, + "shortName": "CreateGenerator" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } + "shortName": "CreateGenerator" }, + "description": "CreateGenerator creates a generator.", + "file": "GeneratorsClient/CreateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_CreateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateGenerator Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_DeleteGenerator_sync", - "title": "dialogflow DeleteGenerator Sample", - "description": "DeleteGenerator deletes a generator.", - "file": "GeneratorsClient/DeleteGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.DeleteGenerator", + "method": { + "fullName": "google.cloud.dialogflow.v2.Generators.DeleteGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2.Generators", + "shortName": "Generators" + }, + "shortName": "DeleteGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } + "shortName": "DeleteGenerator" }, + "description": "DeleteGenerator deletes a generator.", + "file": "GeneratorsClient/DeleteGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_DeleteGenerator_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteGenerator Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_GetGenerator_sync", - "title": "dialogflow GetGenerator Sample", - "description": "GetGenerator retrieves a generator.", - "file": "GeneratorsClient/GetGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.GetGenerator", + "method": { + "fullName": "google.cloud.dialogflow.v2.Generators.GetGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2.Generators", + "shortName": "Generators" + }, + "shortName": "GetGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } + "shortName": "GetGenerator" }, + "description": "GetGenerator retrieves a generator.", + "file": "GeneratorsClient/GetGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_GetGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGenerator Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GeneratorsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GeneratorsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_ListGenerators_sync", - "title": "dialogflow ListGenerators Sample", - "description": "ListGenerators lists generators.", - "file": "GeneratorsClient/ListGenerators/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerators", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.ListGenerators", + "method": { + "fullName": "google.cloud.dialogflow.v2.Generators.ListGenerators", + "service": { + "fullName": "google.cloud.dialogflow.v2.Generators", + "shortName": "Generators" + }, + "shortName": "ListGenerators" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListGeneratorsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListGeneratorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GeneratorIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.v2.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } + "shortName": "ListGenerators" }, + "description": "ListGenerators lists generators.", + "file": "GeneratorsClient/ListGenerators/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_ListGenerators_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListGenerators Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "GeneratorsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "GeneratorsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Generators_UpdateGenerator_sync", - "title": "dialogflow UpdateGenerator Sample", - "description": "UpdateGenerator updates a generator.", - "file": "GeneratorsClient/UpdateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2.GeneratorsClient.UpdateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.v2.Generators.UpdateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2.Generators", + "shortName": "Generators" + }, + "shortName": "UpdateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } + "shortName": "UpdateGenerator" }, + "description": "UpdateGenerator updates a generator.", + "file": "GeneratorsClient/UpdateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Generators_UpdateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateGenerator Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_BatchDeleteIntents_sync", - "title": "dialogflow BatchDeleteIntents Sample", - "description": "BatchDeleteIntents deletes intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/BatchDeleteIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteIntents", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.BatchDeleteIntents", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "BatchDeleteIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchDeleteIntentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchDeleteIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "BatchDeleteIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "BatchDeleteIntents" }, + "description": "BatchDeleteIntents deletes intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/BatchDeleteIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_BatchDeleteIntents_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteIntents Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_BatchUpdateIntents_sync", - "title": "dialogflow BatchUpdateIntents Sample", - "description": "BatchUpdateIntents updates/Creates multiple intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/BatchUpdateIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateIntents", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.BatchUpdateIntents", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "BatchUpdateIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchUpdateIntentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchUpdateIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "BatchUpdateIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "BatchUpdateIntents" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "BatchUpdateIntents updates/Creates multiple intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/BatchUpdateIntents/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_BatchUpdateIntents_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchUpdateIntents Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_CreateIntent_sync", - "title": "dialogflow CreateIntent Sample", - "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/CreateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.CreateIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "CreateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "CreateIntent" }, + "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/CreateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_CreateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateIntent Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_DeleteIntent_sync", - "title": "dialogflow DeleteIntent Sample", - "description": "DeleteIntent deletes the specified intent and its direct or indirect followup intents.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/DeleteIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.DeleteIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "DeleteIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "DeleteIntent" }, + "description": "DeleteIntent deletes the specified intent and its direct or indirect followup intents.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/DeleteIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_DeleteIntent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteIntent Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_GetIntent_sync", - "title": "dialogflow GetIntent Sample", - "description": "GetIntent retrieves the specified intent.", - "file": "IntentsClient/GetIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.GetIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "GetIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "GetIntent" }, + "description": "GetIntent retrieves the specified intent.", + "file": "IntentsClient/GetIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_GetIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetIntent Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IntentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IntentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_ListIntents_sync", - "title": "dialogflow ListIntents Sample", - "description": "ListIntents returns the list of all intents in the specified agent.", - "file": "IntentsClient/ListIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIntents", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.ListIntents", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "ListIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListIntentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IntentIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "ListIntents" }, + "description": "ListIntents returns the list of all intents in the specified agent.", + "file": "IntentsClient/ListIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_ListIntents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListIntents Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "IntentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "IntentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Intents_UpdateIntent_sync", - "title": "dialogflow UpdateIntent Sample", - "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/UpdateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2.IntentsClient.UpdateIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Intents", + "shortName": "Intents" + }, + "shortName": "UpdateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } + "shortName": "UpdateIntent" }, + "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/UpdateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Intents_UpdateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateIntent Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "KnowledgeBasesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "KnowledgeBasesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_CreateKnowledgeBase_sync", - "title": "dialogflow CreateKnowledgeBase Sample", - "description": "CreateKnowledgeBase creates a knowledge base.", - "file": "KnowledgeBasesClient/CreateKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.CreateKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "CreateKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "CreateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } + "shortName": "CreateKnowledgeBase" }, + "description": "CreateKnowledgeBase creates a knowledge base.", + "file": "KnowledgeBasesClient/CreateKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_CreateKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_DeleteKnowledgeBase_sync", - "title": "dialogflow DeleteKnowledgeBase Sample", - "description": "DeleteKnowledgeBase deletes the specified knowledge base.", - "file": "KnowledgeBasesClient/DeleteKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.DeleteKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "DeleteKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "DeleteKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } + "shortName": "DeleteKnowledgeBase" }, + "description": "DeleteKnowledgeBase deletes the specified knowledge base.", + "file": "KnowledgeBasesClient/DeleteKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_DeleteKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetKnowledgeBase_sync", - "title": "dialogflow GetKnowledgeBase Sample", - "description": "GetKnowledgeBase retrieves the specified knowledge base.", - "file": "KnowledgeBasesClient/GetKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.GetKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "GetKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } + "shortName": "GetKnowledgeBase" }, + "description": "GetKnowledgeBase retrieves the specified knowledge base.", + "file": "KnowledgeBasesClient/GetKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "KnowledgeBasesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "KnowledgeBasesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "KnowledgeBasesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "KnowledgeBasesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListKnowledgeBases_sync", - "title": "dialogflow ListKnowledgeBases Sample", - "description": "ListKnowledgeBases returns the list of all knowledge bases of the specified agent.", - "file": "KnowledgeBasesClient/ListKnowledgeBases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKnowledgeBases", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.ListKnowledgeBases", + "method": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", + "service": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "ListKnowledgeBases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListKnowledgeBasesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListKnowledgeBasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KnowledgeBaseIterator", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListKnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } + "shortName": "ListKnowledgeBases" }, + "description": "ListKnowledgeBases returns the list of all knowledge bases of the specified agent.", + "file": "KnowledgeBasesClient/ListKnowledgeBases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListKnowledgeBases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListKnowledgeBases Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "KnowledgeBasesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "KnowledgeBasesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "KnowledgeBasesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "KnowledgeBasesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_UpdateKnowledgeBase_sync", - "title": "dialogflow UpdateKnowledgeBase Sample", - "description": "UpdateKnowledgeBase updates the specified knowledge base.", - "file": "KnowledgeBasesClient/UpdateKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient.UpdateKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "UpdateKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "UpdateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } + "shortName": "UpdateKnowledgeBase" }, + "description": "UpdateKnowledgeBase updates the specified knowledge base.", + "file": "KnowledgeBasesClient/UpdateKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_KnowledgeBases_UpdateKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_AnalyzeContent_sync", - "title": "dialogflow AnalyzeContent Sample", - "description": "AnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", - "file": "ParticipantsClient/AnalyzeContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeContent", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.AnalyzeContent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "AnalyzeContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.AnalyzeContentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.AnalyzeContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.AnalyzeContentResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "AnalyzeContent", - "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "AnalyzeContent" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "AnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", + "file": "ParticipantsClient/AnalyzeContent/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_AnalyzeContent_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow AnalyzeContent Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ParticipantsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ParticipantsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_CreateParticipant_sync", - "title": "dialogflow CreateParticipant Sample", - "description": "CreateParticipant creates a new participant in a conversation.", - "file": "ParticipantsClient/CreateParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateParticipant", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.CreateParticipant", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "CreateParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateParticipantRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "CreateParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "CreateParticipant" }, + "description": "CreateParticipant creates a new participant in a conversation.", + "file": "ParticipantsClient/CreateParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_CreateParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateParticipant Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ParticipantsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ParticipantsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ParticipantsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ParticipantsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_GetParticipant_sync", - "title": "dialogflow GetParticipant Sample", - "description": "GetParticipant retrieves a conversation participant.", - "file": "ParticipantsClient/GetParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParticipant", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.GetParticipant", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "GetParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetParticipantRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "GetParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "GetParticipant" }, + "description": "GetParticipant retrieves a conversation participant.", + "file": "ParticipantsClient/GetParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_GetParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetParticipant Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ParticipantsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ParticipantsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ParticipantsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ParticipantsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_ListParticipants_sync", - "title": "dialogflow ListParticipants Sample", - "description": "ListParticipants returns the list of all participants in the specified conversation.", - "file": "ParticipantsClient/ListParticipants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParticipants", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.ListParticipants", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "ListParticipants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListParticipantsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListParticipantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParticipantIterator", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "ListParticipants", - "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "ListParticipants" }, + "description": "ListParticipants returns the list of all participants in the specified conversation.", + "file": "ParticipantsClient/ListParticipants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_ListParticipants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListParticipants Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_StreamingAnalyzeContent_sync", - "title": "dialogflow StreamingAnalyzeContent Sample", - "description": "StreamingAnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\nNote: This method is only available through the gRPC API (not REST).\n\nThe top-level message sent to the client by the server is\n`StreamingAnalyzeContentResponse`. Multiple response messages can be\nreturned in order. The first one or more messages contain the\n`recognition_result` field. Each result represents a more complete\ntranscript of what the user said. The next message contains the\n`reply_text` field and potentially the `reply_audio` field. The message can\nalso contain the `automated_agent_reply` field.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", - "file": "ParticipantsClient/StreamingAnalyzeContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingAnalyzeContent", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.StreamingAnalyzeContent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "StreamingAnalyzeContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "dialogflowpb.Participants_StreamingAnalyzeContentClient", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "StreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "StreamingAnalyzeContent" }, + "description": "StreamingAnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\nNote: This method is only available through the gRPC API (not REST).\n\nThe top-level message sent to the client by the server is\n`StreamingAnalyzeContentResponse`. Multiple response messages can be\nreturned in order. The first one or more messages contain the\n`recognition_result` field. Each result represents a more complete\ntranscript of what the user said. The next message contains the\n`reply_text` field and potentially the `reply_audio` field. The message can\nalso contain the `automated_agent_reply` field.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", + "file": "ParticipantsClient/StreamingAnalyzeContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_StreamingAnalyzeContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StreamingAnalyzeContent Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_SuggestArticles_sync", - "title": "dialogflow SuggestArticles Sample", - "description": "SuggestArticles gets suggested articles for a participant based on specific historical\nmessages.", - "file": "ParticipantsClient/SuggestArticles/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestArticles", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.SuggestArticles", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestArticles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestArticlesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestArticlesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestArticlesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestArticles", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "SuggestArticles" }, + "description": "SuggestArticles gets suggested articles for a participant based on specific historical\nmessages.", + "file": "ParticipantsClient/SuggestArticles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_SuggestArticles_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestArticles Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_SuggestFaqAnswers_sync", - "title": "dialogflow SuggestFaqAnswers Sample", - "description": "SuggestFaqAnswers gets suggested faq answers for a participant based on specific historical\nmessages.", - "file": "ParticipantsClient/SuggestFaqAnswers/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestFaqAnswers", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.SuggestFaqAnswers", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestFaqAnswers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestFaqAnswersRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestFaqAnswersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestFaqAnswersResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestFaqAnswers", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "SuggestFaqAnswers" }, + "description": "SuggestFaqAnswers gets suggested faq answers for a participant based on specific historical\nmessages.", + "file": "ParticipantsClient/SuggestFaqAnswers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_SuggestFaqAnswers_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestFaqAnswers Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_SuggestKnowledgeAssist_sync", - "title": "dialogflow SuggestKnowledgeAssist Sample", - "description": "SuggestKnowledgeAssist gets knowledge assist suggestions based on historical messages.", - "file": "ParticipantsClient/SuggestKnowledgeAssist/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestKnowledgeAssist", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.SuggestKnowledgeAssist", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestKnowledgeAssist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestKnowledgeAssistRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestKnowledgeAssistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestKnowledgeAssistResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestKnowledgeAssist", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "SuggestKnowledgeAssist" }, + "description": "SuggestKnowledgeAssist gets knowledge assist suggestions based on historical messages.", + "file": "ParticipantsClient/SuggestKnowledgeAssist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_SuggestKnowledgeAssist_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestKnowledgeAssist Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_SuggestSmartReplies_sync", - "title": "dialogflow SuggestSmartReplies Sample", - "description": "SuggestSmartReplies gets smart replies for a participant based on specific historical\nmessages.", - "file": "ParticipantsClient/SuggestSmartReplies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestSmartReplies", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.SuggestSmartReplies", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestSmartReplies", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestSmartReplies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestSmartRepliesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestSmartRepliesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestSmartRepliesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestSmartReplies", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestSmartReplies", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "SuggestSmartReplies" }, + "description": "SuggestSmartReplies gets smart replies for a participant based on specific historical\nmessages.", + "file": "ParticipantsClient/SuggestSmartReplies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_SuggestSmartReplies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestSmartReplies Sample" }, { - "regionTag": "dialogflow_v2_generated_Participants_UpdateParticipant_sync", - "title": "dialogflow UpdateParticipant Sample", - "description": "UpdateParticipant updates the specified participant.", - "file": "ParticipantsClient/UpdateParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateParticipant", + "client": { + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2.ParticipantsClient.UpdateParticipant", + "method": { + "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", + "service": { + "fullName": "google.cloud.dialogflow.v2.Participants", + "shortName": "Participants" + }, + "shortName": "UpdateParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateParticipantRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "UpdateParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } + "shortName": "UpdateParticipant" }, + "description": "UpdateParticipant updates the specified participant.", + "file": "ParticipantsClient/UpdateParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Participants_UpdateParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateParticipant Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_CreateSessionEntityType_sync", - "title": "dialogflow CreateSessionEntityType Sample", - "description": "CreateSessionEntityType creates a session entity type.\n\nIf the specified session entity type already exists, overrides the session\nentity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.CreateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "CreateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } + "shortName": "CreateSessionEntityType" }, + "description": "CreateSessionEntityType creates a session entity type.\n\nIf the specified session entity type already exists, overrides the session\nentity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_CreateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_DeleteSessionEntityType_sync", - "title": "dialogflow DeleteSessionEntityType Sample", - "description": "DeleteSessionEntityType deletes the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.DeleteSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "DeleteSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } + "shortName": "DeleteSessionEntityType" }, + "description": "DeleteSessionEntityType deletes the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_DeleteSessionEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionEntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionEntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.GetOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.GetOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" }, + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.GetOperation", "method": { - "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.GetOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetSessionEntityType_sync", - "title": "dialogflow GetSessionEntityType Sample", - "description": "GetSessionEntityType retrieves the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.GetSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "GetSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } + "shortName": "GetSessionEntityType" }, + "description": "GetSessionEntityType retrieves the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionEntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionEntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListSessionEntityTypes_sync", - "title": "dialogflow ListSessionEntityTypes Sample", - "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessionEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.ListSessionEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "ListSessionEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListSessionEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListSessionEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionEntityTypeIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } + "shortName": "ListSessionEntityTypes" }, + "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListSessionEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSessionEntityTypes Sample" }, { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_UpdateSessionEntityType_sync", - "title": "dialogflow UpdateSessionEntityType Sample", - "description": "UpdateSessionEntityType updates the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient.UpdateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "UpdateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } + "shortName": "UpdateSessionEntityType" }, + "description": "UpdateSessionEntityType updates the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_UpdateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_DetectIntent_sync", - "title": "dialogflow DetectIntent Sample", - "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause contexts\nand session entity types to be updated, which in turn might affect\nresults of future queries.\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent]\ninstead of `DetectIntent`. `AnalyzeContent` has additional\nfunctionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", - "file": "SessionsClient/DetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.DetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Sessions", + "shortName": "Sessions" + }, + "shortName": "DetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DetectIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DetectIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2.Sessions" - } - } + "shortName": "DetectIntent" }, + "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause contexts\nand session entity types to be updated, which in turn might affect\nresults of future queries.\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent]\ninstead of `DetectIntent`. `AnalyzeContent` has additional\nfunctionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", + "file": "SessionsClient/DetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_DetectIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DetectIntent Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Sessions_StreamingDetectIntent_sync", - "title": "dialogflow StreamingDetectIntent Sample", - "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent]\ninstead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has\nadditional functionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", - "file": "SessionsClient/StreamingDetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingDetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2.SessionsClient.StreamingDetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2.Sessions", + "shortName": "Sessions" + }, + "shortName": "StreamingDetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "dialogflowpb.Sessions_StreamingDetectIntentClient", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2.Sessions" - } - } + "shortName": "StreamingDetectIntent" }, + "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent]\ninstead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has\nadditional functionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", + "file": "SessionsClient/StreamingDetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Sessions_StreamingDetectIntent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StreamingDetectIntent Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SipTrunksClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SipTrunksClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_CreateSipTrunk_sync", - "title": "dialogflow CreateSipTrunk Sample", - "description": "CreateSipTrunk creates a SipTrunk for a specified location.", - "file": "SipTrunksClient/CreateSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.CreateSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks.CreateSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "CreateSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "CreateSipTrunk", - "fullName": "google.cloud.dialogflow.v2.SipTrunks.CreateSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2.SipTrunks" - } - } + "shortName": "CreateSipTrunk" }, + "description": "CreateSipTrunk creates a SipTrunk for a specified location.", + "file": "SipTrunksClient/CreateSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_CreateSipTrunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSipTrunk Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_DeleteSipTrunk_sync", - "title": "dialogflow DeleteSipTrunk Sample", - "description": "DeleteSipTrunk deletes a specified SipTrunk.", - "file": "SipTrunksClient/DeleteSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.DeleteSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks.DeleteSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "DeleteSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "DeleteSipTrunk", - "fullName": "google.cloud.dialogflow.v2.SipTrunks.DeleteSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2.SipTrunks" - } - } + "shortName": "DeleteSipTrunk" }, + "description": "DeleteSipTrunk deletes a specified SipTrunk.", + "file": "SipTrunksClient/DeleteSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_DeleteSipTrunk_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSipTrunk Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SipTrunksClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SipTrunksClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SipTrunksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SipTrunksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_GetSipTrunk_sync", - "title": "dialogflow GetSipTrunk Sample", - "description": "GetSipTrunk retrieves the specified SipTrunk.", - "file": "SipTrunksClient/GetSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.GetSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks.GetSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "GetSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "GetSipTrunk", - "fullName": "google.cloud.dialogflow.v2.SipTrunks.GetSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2.SipTrunks" - } - } + "shortName": "GetSipTrunk" }, + "description": "GetSipTrunk retrieves the specified SipTrunk.", + "file": "SipTrunksClient/GetSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_GetSipTrunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSipTrunk Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SipTrunksClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SipTrunksClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SipTrunksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SipTrunksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_ListSipTrunks_sync", - "title": "dialogflow ListSipTrunks Sample", - "description": "ListSipTrunks returns a list of SipTrunks in the specified location.", - "file": "SipTrunksClient/ListSipTrunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSipTrunks", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.ListSipTrunks", + "method": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks.ListSipTrunks", + "service": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "ListSipTrunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListSipTrunksRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListSipTrunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "SipTrunkIterator", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "ListSipTrunks", - "fullName": "google.cloud.dialogflow.v2.SipTrunks.ListSipTrunks", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2.SipTrunks" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "SipTrunkIterator", + "shortName": "ListSipTrunks" }, + "description": "ListSipTrunks returns a list of SipTrunks in the specified location.", + "file": "SipTrunksClient/ListSipTrunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_ListSipTrunks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSipTrunks Sample" }, { - "regionTag": "dialogflow_v2_generated_SipTrunks_UpdateSipTrunk_sync", - "title": "dialogflow UpdateSipTrunk Sample", - "description": "UpdateSipTrunk updates the specified SipTrunk.", - "file": "SipTrunksClient/UpdateSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2.SipTrunksClient.UpdateSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks.UpdateSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "UpdateSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2.SipTrunksClient" - }, - "method": { - "shortName": "UpdateSipTrunk", - "fullName": "google.cloud.dialogflow.v2.SipTrunks.UpdateSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2.SipTrunks" - } - } + "shortName": "UpdateSipTrunk" }, + "description": "UpdateSipTrunk updates the specified SipTrunk.", + "file": "SipTrunksClient/UpdateSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_SipTrunks_UpdateSipTrunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSipTrunk Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_CreateTool_sync", - "title": "dialogflow CreateTool Sample", - "description": "CreateTool creates a tool.", - "file": "ToolsClient/CreateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTool", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.CreateTool", + "method": { + "fullName": "google.cloud.dialogflow.v2.Tools.CreateTool", + "service": { + "fullName": "google.cloud.dialogflow.v2.Tools", + "shortName": "Tools" + }, + "shortName": "CreateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.dialogflow.v2.Tools.CreateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2.Tools" - } - } + "shortName": "CreateTool" }, + "description": "CreateTool creates a tool.", + "file": "ToolsClient/CreateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_CreateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTool Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_DeleteTool_sync", - "title": "dialogflow DeleteTool Sample", - "description": "DeleteTool deletes a tool.", - "file": "ToolsClient/DeleteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTool", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.DeleteTool", + "method": { + "fullName": "google.cloud.dialogflow.v2.Tools.DeleteTool", + "service": { + "fullName": "google.cloud.dialogflow.v2.Tools", + "shortName": "Tools" + }, + "shortName": "DeleteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.dialogflow.v2.Tools.DeleteTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2.Tools" - } - } + "shortName": "DeleteTool" }, + "description": "DeleteTool deletes a tool.", + "file": "ToolsClient/DeleteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_DeleteTool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteTool Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ToolsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ToolsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_GetTool_sync", - "title": "dialogflow GetTool Sample", - "description": "GetTool retrieves a tool.", - "file": "ToolsClient/GetTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTool", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.GetTool", + "method": { + "fullName": "google.cloud.dialogflow.v2.Tools.GetTool", + "service": { + "fullName": "google.cloud.dialogflow.v2.Tools", + "shortName": "Tools" + }, + "shortName": "GetTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "GetTool", - "fullName": "google.cloud.dialogflow.v2.Tools.GetTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2.Tools" - } - } + "shortName": "GetTool" }, + "description": "GetTool retrieves a tool.", + "file": "ToolsClient/GetTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_GetTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTool Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ToolsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ToolsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_ListTools_sync", - "title": "dialogflow ListTools Sample", - "description": "ListTools lists tools.", - "file": "ToolsClient/ListTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTools", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.ListTools", + "method": { + "fullName": "google.cloud.dialogflow.v2.Tools.ListTools", + "service": { + "fullName": "google.cloud.dialogflow.v2.Tools", + "shortName": "Tools" + }, + "shortName": "ListTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListToolsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.dialogflow.v2.Tools.ListTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2.Tools" - } - } + "shortName": "ListTools" }, + "description": "ListTools lists tools.", + "file": "ToolsClient/ListTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_ListTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTools Sample" }, { - "regionTag": "dialogflow_v2_generated_Tools_UpdateTool_sync", - "title": "dialogflow UpdateTool Sample", - "description": "UpdateTool updates a tool.", - "file": "ToolsClient/UpdateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTool", + "client": { + "fullName": "google.cloud.dialogflow.v2.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2.ToolsClient.UpdateTool", + "method": { + "fullName": "google.cloud.dialogflow.v2.Tools.UpdateTool", + "service": { + "fullName": "google.cloud.dialogflow.v2.Tools", + "shortName": "Tools" + }, + "shortName": "UpdateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2.ToolsClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.dialogflow.v2.Tools.UpdateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2.Tools" - } - } + "shortName": "UpdateTool" }, + "description": "UpdateTool updates a tool.", + "file": "ToolsClient/UpdateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Tools_UpdateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateTool Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_CreateVersion_sync", - "title": "dialogflow CreateVersion Sample", - "description": "CreateVersion creates an agent version.\n\nThe new version points to the agent instance in the \"default\" environment.", - "file": "VersionsClient/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.CreateVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2.Versions", + "shortName": "Versions" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion creates an agent version.\n\nThe new version points to the agent instance in the \"default\" environment.", + "file": "VersionsClient/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_CreateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateVersion Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_DeleteVersion_sync", - "title": "dialogflow DeleteVersion Sample", - "description": "DeleteVersion delete the specified agent version.", - "file": "VersionsClient/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.DeleteVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2.Versions", + "shortName": "Versions" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion delete the specified agent version.", + "file": "VersionsClient/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteVersion Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VersionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VersionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_GetVersion_sync", - "title": "dialogflow GetVersion Sample", - "description": "GetVersion retrieves the specified agent version.", - "file": "VersionsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.GetVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2.Versions", + "shortName": "Versions" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion retrieves the specified agent version.", + "file": "VersionsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetVersion Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "VersionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "VersionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_ListVersions_sync", - "title": "dialogflow ListVersions Sample", - "description": "ListVersions returns the list of all versions of the specified agent.", - "file": "VersionsClient/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.ListVersions", + "method": { + "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", + "service": { + "fullName": "google.cloud.dialogflow.v2.Versions", + "shortName": "Versions" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions returns the list of all versions of the specified agent.", + "file": "VersionsClient/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListVersions Sample" }, { - "regionTag": "dialogflow_v2_generated_Versions_UpdateVersion_sync", - "title": "dialogflow UpdateVersion Sample", - "description": "UpdateVersion updates the specified agent version.\n\nNote that this method does not allow you to update the state of the agent\nthe given version points to. It allows you to update only mutable\nproperties of the version resource.", - "file": "VersionsClient/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2.VersionsClient.UpdateVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2.Versions", + "shortName": "Versions" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion updates the specified agent version.\n\nNote that this method does not allow you to update the state of the agent\nthe given version points to. It allows you to update only mutable\nproperties of the version resource.", + "file": "VersionsClient/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2_generated_Versions_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json index ab7681fcbb8a..cf55e0819c96 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json +++ b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json @@ -1,10502 +1,10502 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dialogflow/apiv2beta1", - "version": "1.76.0", - "language": "GO", "apis": [ { "id": "google.cloud.dialogflow.v2beta1", "version": "v2beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dialogflow/apiv2beta1", + "version": "1.76.0" }, "snippets": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_DeleteAgent_sync", - "title": "dialogflow DeleteAgent Sample", - "description": "DeleteAgent deletes the specified agent.", - "file": "AgentsClient/DeleteAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.DeleteAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "DeleteAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "DeleteAgent" }, + "description": "DeleteAgent deletes the specified agent.", + "file": "AgentsClient/DeleteAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_DeleteAgent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_ExportAgent_sync", - "title": "dialogflow ExportAgent Sample", - "description": "ExportAgent exports the specified agent to a ZIP file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]", - "file": "AgentsClient/ExportAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ExportAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "ExportAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ExportAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ExportAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "ExportAgent" }, + "description": "ExportAgent exports the specified agent to a ZIP file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]", + "file": "AgentsClient/ExportAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_ExportAgent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_GetAgent_sync", - "title": "dialogflow GetAgent Sample", - "description": "GetAgent retrieves the specified agent.", - "file": "AgentsClient/GetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "GetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "GetAgent" }, + "description": "GetAgent retrieves the specified agent.", + "file": "AgentsClient/GetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_GetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AgentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AgentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_GetValidationResult_sync", - "title": "dialogflow GetValidationResult Sample", - "description": "GetValidationResult gets agent validation result. Agent validation is performed during\ntraining time and is updated automatically when training is completed.", - "file": "AgentsClient/GetValidationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetValidationResult", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.GetValidationResult", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "GetValidationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetValidationResultRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetValidationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "GetValidationResult", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "GetValidationResult" }, + "description": "GetValidationResult gets agent validation result. Agent validation is performed during\ntraining time and is updated automatically when training is completed.", + "file": "AgentsClient/GetValidationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_GetValidationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetValidationResult Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_ImportAgent_sync", - "title": "dialogflow ImportAgent Sample", - "description": "ImportAgent imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from\n[ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest].\nAfter the import, the imported draft agent will be trained automatically\n(unless disabled in agent settings). However, once the import is done,\ntraining may not be completed yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait\nfor the operation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when importing is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/ImportAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ImportAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "ImportAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ImportAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ImportAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "ImportAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "ImportAgent" }, + "description": "ImportAgent imports the specified agent from a ZIP file.\n\nUploads new intents and entity types without deleting the existing ones.\nIntents and entity types with the same name are replaced with the new\nversions from\n[ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest].\nAfter the import, the imported draft agent will be trained automatically\n(unless disabled in agent settings). However, once the import is done,\ntraining may not be completed yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait\nfor the operation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when importing is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/ImportAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_ImportAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AgentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AgentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_RestoreAgent_sync", - "title": "dialogflow RestoreAgent Sample", - "description": "RestoreAgent restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait\nfor the operation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when restoring is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/RestoreAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.RestoreAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "RestoreAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.RestoreAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.RestoreAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "RestoreAgent" }, + "description": "RestoreAgent restores the specified agent from a ZIP file.\n\nReplaces the current agent version with a new one. All the intents and\nentity types in the older version are deleted. After the restore, the\nrestored draft agent will be trained automatically (unless disabled in\nagent settings). However, once the restore is done, training may not be\ncompleted yet. Please call\n[TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait\nfor the operation it returns in order to train explicitly.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nThe operation only tracks when restoring is complete, not when it is done\ntraining.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/RestoreAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_RestoreAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestoreAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_SearchAgents_sync", - "title": "dialogflow SearchAgents Sample", - "description": "SearchAgents returns the list of agents.\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https: //cloud.google.com/apis/design/design_patterns#list_sub-collections).", - "file": "AgentsClient/SearchAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAgents", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.SearchAgents", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "SearchAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SearchAgentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SearchAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "SearchAgents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "SearchAgents" }, + "description": "SearchAgents returns the list of agents.\nSince there is at most one conversational agent per project, this method is\nuseful primarily for listing all agents across projects the caller has\naccess to. One can achieve that with a wildcard project collection id \"-\".\nRefer to [List\nSub-Collections](https: //cloud.google.com/apis/design/design_patterns#list_sub-collections).", + "file": "AgentsClient/SearchAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_SearchAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SearchAgents Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_SetAgent_sync", - "title": "dialogflow SetAgent Sample", - "description": "SetAgent creates/updates the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/SetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.SetAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "SetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SetAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "SetAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "SetAgent" }, + "description": "SetAgent creates/updates the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/SetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_SetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SetAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Agents_TrainAgent_sync", - "title": "dialogflow TrainAgent Sample", - "description": "TrainAgent trains the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "AgentsClient/TrainAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainAgent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient.TrainAgent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "shortName": "Agents" + }, + "shortName": "TrainAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.TrainAgentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.TrainAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "TrainAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } + "shortName": "TrainAgent" }, + "description": "TrainAgent trains the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "AgentsClient/TrainAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Agents_TrainAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow TrainAgent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AnswerRecordsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AnswerRecordsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetAnswerRecord_sync", - "title": "dialogflow GetAnswerRecord Sample", - "description": "GetAnswerRecord deprecated.\nRetrieves a specific answer record.\n\n\nDeprecated: GetAnswerRecord may be removed in a future version.", - "file": "AnswerRecordsClient/GetAnswerRecord/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnswerRecord", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.GetAnswerRecord", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords", + "shortName": "AnswerRecords" + }, + "shortName": "GetAnswerRecord" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetAnswerRecordRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetAnswerRecordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.AnswerRecord", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "GetAnswerRecord", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" - } - } + "shortName": "GetAnswerRecord" }, + "description": "GetAnswerRecord deprecated.\nRetrieves a specific answer record.\n\n\nDeprecated: GetAnswerRecord may be removed in a future version.", + "file": "AnswerRecordsClient/GetAnswerRecord/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetAnswerRecord_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAnswerRecord Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AnswerRecordsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AnswerRecordsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AnswerRecordsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AnswerRecordsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListAnswerRecords_sync", - "title": "dialogflow ListAnswerRecords Sample", - "description": "ListAnswerRecords returns the list of all answer records in the specified project in reverse\nchronological order.", - "file": "AnswerRecordsClient/ListAnswerRecords/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnswerRecords", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.ListAnswerRecords", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords", + "shortName": "AnswerRecords" + }, + "shortName": "ListAnswerRecords" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListAnswerRecordsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListAnswerRecordsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnswerRecordIterator", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "ListAnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" - } - } + "shortName": "ListAnswerRecords" }, + "description": "ListAnswerRecords returns the list of all answer records in the specified project in reverse\nchronological order.", + "file": "AnswerRecordsClient/ListAnswerRecords/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListAnswerRecords_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListAnswerRecords Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AnswerRecordsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AnswerRecordsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AnswerRecordsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AnswerRecordsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_UpdateAnswerRecord_sync", - "title": "dialogflow UpdateAnswerRecord Sample", - "description": "UpdateAnswerRecord updates the specified answer record.", - "file": "AnswerRecordsClient/UpdateAnswerRecord/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAnswerRecord", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient", + "shortName": "AnswerRecordsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient.UpdateAnswerRecord", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords", + "shortName": "AnswerRecords" + }, + "shortName": "UpdateAnswerRecord" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateAnswerRecordRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateAnswerRecordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.AnswerRecord", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "UpdateAnswerRecord", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" - } - } + "shortName": "UpdateAnswerRecord" }, + "description": "UpdateAnswerRecord updates the specified answer record.", + "file": "AnswerRecordsClient/UpdateAnswerRecord/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_UpdateAnswerRecord_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateAnswerRecord Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ContextsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ContextsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_CreateContext_sync", - "title": "dialogflow CreateContext Sample", - "description": "CreateContext creates a context.\n\nIf the specified context already exists, overrides the context.", - "file": "ContextsClient/CreateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateContext", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.CreateContext", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "shortName": "Contexts" + }, + "shortName": "CreateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "CreateContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } + "shortName": "CreateContext" }, + "description": "CreateContext creates a context.\n\nIf the specified context already exists, overrides the context.", + "file": "ContextsClient/CreateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_CreateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateContext Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteAllContexts_sync", - "title": "dialogflow DeleteAllContexts Sample", - "description": "DeleteAllContexts deletes all active contexts in the specified session.", - "file": "ContextsClient/DeleteAllContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAllContexts", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.DeleteAllContexts", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "shortName": "Contexts" + }, + "shortName": "DeleteAllContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteAllContextsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteAllContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "DeleteAllContexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } + "shortName": "DeleteAllContexts" }, + "description": "DeleteAllContexts deletes all active contexts in the specified session.", + "file": "ContextsClient/DeleteAllContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteAllContexts_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteAllContexts Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteContext_sync", - "title": "dialogflow DeleteContext Sample", - "description": "DeleteContext deletes the specified context.", - "file": "ContextsClient/DeleteContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteContext", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.DeleteContext", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "shortName": "Contexts" + }, + "shortName": "DeleteContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "DeleteContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } + "shortName": "DeleteContext" }, + "description": "DeleteContext deletes the specified context.", + "file": "ContextsClient/DeleteContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteContext_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteContext Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_GetContext_sync", - "title": "dialogflow GetContext Sample", - "description": "GetContext retrieves the specified context.", - "file": "ContextsClient/GetContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetContext", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.GetContext", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "shortName": "Contexts" + }, + "shortName": "GetContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } + "shortName": "GetContext" }, + "description": "GetContext retrieves the specified context.", + "file": "ContextsClient/GetContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_GetContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetContext Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ContextsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ContextsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ContextsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ContextsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_ListContexts_sync", - "title": "dialogflow ListContexts Sample", - "description": "ListContexts returns the list of all contexts in the specified session.", - "file": "ContextsClient/ListContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContexts", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.ListContexts", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "shortName": "Contexts" + }, + "shortName": "ListContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListContextsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContextIterator", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } + "shortName": "ListContexts" }, + "description": "ListContexts returns the list of all contexts in the specified session.", + "file": "ContextsClient/ListContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_ListContexts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListContexts Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ContextsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ContextsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ContextsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ContextsClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Contexts_UpdateContext_sync", - "title": "dialogflow UpdateContext Sample", - "description": "UpdateContext updates the specified context.", - "file": "ContextsClient/UpdateContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateContext", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient", + "shortName": "ContextsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient.UpdateContext", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "shortName": "Contexts" + }, + "shortName": "UpdateContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateContextRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "UpdateContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } + "shortName": "UpdateContext" }, + "description": "UpdateContext updates the specified context.", + "file": "ContextsClient/UpdateContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Contexts_UpdateContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateContext Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationProfilesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationProfilesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ClearSuggestionFeatureConfig_sync", - "title": "dialogflow ClearSuggestionFeatureConfig Sample", - "description": "ClearSuggestionFeatureConfig clears a suggestion feature from a conversation profile for the given\nparticipant role.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]", - "file": "ConversationProfilesClient/ClearSuggestionFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClearSuggestionFeatureConfig", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ClearSuggestionFeatureConfig", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "ClearSuggestionFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ClearSuggestionFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ClearSuggestionFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClearSuggestionFeatureConfigOperation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "ClearSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "ClearSuggestionFeatureConfig" }, + "description": "ClearSuggestionFeatureConfig clears a suggestion feature from a conversation profile for the given\nparticipant role.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]", + "file": "ConversationProfilesClient/ClearSuggestionFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ClearSuggestionFeatureConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ClearSuggestionFeatureConfig Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CreateConversationProfile_sync", - "title": "dialogflow CreateConversationProfile Sample", - "description": "CreateConversationProfile creates a conversation profile in the specified project.\n\n[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]\nAPI.", - "file": "ConversationProfilesClient/CreateConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.CreateConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "CreateConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "CreateConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "CreateConversationProfile" }, + "description": "CreateConversationProfile creates a conversation profile in the specified project.\n\n[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]\nAPI.", + "file": "ConversationProfilesClient/CreateConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CreateConversationProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversationProfile Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_DeleteConversationProfile_sync", - "title": "dialogflow DeleteConversationProfile Sample", - "description": "DeleteConversationProfile deletes the specified conversation profile.", - "file": "ConversationProfilesClient/DeleteConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.DeleteConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "DeleteConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "DeleteConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "DeleteConversationProfile" }, + "description": "DeleteConversationProfile deletes the specified conversation profile.", + "file": "ConversationProfilesClient/DeleteConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_DeleteConversationProfile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteConversationProfile Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetConversationProfile_sync", - "title": "dialogflow GetConversationProfile Sample", - "description": "GetConversationProfile retrieves the specified conversation profile.", - "file": "ConversationProfilesClient/GetConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.GetConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "GetConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "GetConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "GetConversationProfile" }, + "description": "GetConversationProfile retrieves the specified conversation profile.", + "file": "ConversationProfilesClient/GetConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetConversationProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversationProfile Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationProfilesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationProfilesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationProfilesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationProfilesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListConversationProfiles_sync", - "title": "dialogflow ListConversationProfiles Sample", - "description": "ListConversationProfiles returns the list of all conversation profiles in the specified project.", - "file": "ConversationProfilesClient/ListConversationProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversationProfiles", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ListConversationProfiles", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "ListConversationProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationProfilesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationProfileIterator", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "ListConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "ListConversationProfiles" }, + "description": "ListConversationProfiles returns the list of all conversation profiles in the specified project.", + "file": "ConversationProfilesClient/ListConversationProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListConversationProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversationProfiles Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationProfilesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationProfilesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationProfilesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.ListOperations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationProfilesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_SetSuggestionFeatureConfig_sync", - "title": "dialogflow SetSuggestionFeatureConfig Sample", - "description": "SetSuggestionFeatureConfig adds or updates a suggestion feature in a conversation profile.\nIf the conversation profile contains the type of suggestion feature for\nthe participant role, it will update it. Otherwise it will insert the\nsuggestion feature.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]\n\nIf a long running operation to add or update suggestion feature\nconfig for the same conversation profile, participant role and suggestion\nfeature type exists, please cancel the existing long running operation\nbefore sending such request, otherwise the request will be rejected.", - "file": "ConversationProfilesClient/SetSuggestionFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetSuggestionFeatureConfig", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.SetSuggestionFeatureConfig", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "SetSuggestionFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SetSuggestionFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SetSuggestionFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetSuggestionFeatureConfigOperation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "SetSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "SetSuggestionFeatureConfig" }, + "description": "SetSuggestionFeatureConfig adds or updates a suggestion feature in a conversation profile.\nIf the conversation profile contains the type of suggestion feature for\nthe participant role, it will update it. Otherwise it will insert the\nsuggestion feature.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata]\n- `response`: \n[ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]\n\nIf a long running operation to add or update suggestion feature\nconfig for the same conversation profile, participant role and suggestion\nfeature type exists, please cancel the existing long running operation\nbefore sending such request, otherwise the request will be rejected.", + "file": "ConversationProfilesClient/SetSuggestionFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_SetSuggestionFeatureConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SetSuggestionFeatureConfig Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_UpdateConversationProfile_sync", - "title": "dialogflow UpdateConversationProfile Sample", - "description": "UpdateConversationProfile updates the specified conversation profile.\n\n[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]\nAPI.", - "file": "ConversationProfilesClient/UpdateConversationProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversationProfile", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient", + "shortName": "ConversationProfilesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient.UpdateConversationProfile", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "shortName": "ConversationProfiles" + }, + "shortName": "UpdateConversationProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateConversationProfileRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateConversationProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "UpdateConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } + "shortName": "UpdateConversationProfile" }, + "description": "UpdateConversationProfile updates the specified conversation profile.\n\n[ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]\naren't populated in the response. You can retrieve them via\n[GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]\nAPI.", + "file": "ConversationProfilesClient/UpdateConversationProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_UpdateConversationProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateConversationProfile Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_BatchCreateMessages_sync", - "title": "dialogflow BatchCreateMessages Sample", - "description": "BatchCreateMessages batch ingests messages to conversation. Customers can use this RPC to\ningest historical messages to conversation.", - "file": "ConversationsClient/BatchCreateMessages/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateMessages", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.BatchCreateMessages", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "BatchCreateMessages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchCreateMessagesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchCreateMessagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.BatchCreateMessagesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "BatchCreateMessages", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "BatchCreateMessages" }, + "description": "BatchCreateMessages batch ingests messages to conversation. Customers can use this RPC to\ningest historical messages to conversation.", + "file": "ConversationsClient/BatchCreateMessages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_BatchCreateMessages_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchCreateMessages Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_CompleteConversation_sync", - "title": "dialogflow CompleteConversation Sample", - "description": "CompleteConversation completes the specified conversation. Finished conversations are purged\nfrom the database after 30 days.", - "file": "ConversationsClient/CompleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteConversation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.CompleteConversation", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "CompleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CompleteConversationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CompleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "CompleteConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "CompleteConversation" }, + "description": "CompleteConversation completes the specified conversation. Finished conversations are purged\nfrom the database after 30 days.", + "file": "ConversationsClient/CompleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_CompleteConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CompleteConversation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_CreateConversation_sync", - "title": "dialogflow CreateConversation Sample", - "description": "CreateConversation creates a new conversation. Conversations are auto-completed after 24\nhours.\n\nConversation Lifecycle: \nThere are two stages during a conversation: Automated Agent Stage and\nAssist Stage.\n\nFor Automated Agent Stage, there will be a dialogflow agent responding to\nuser queries.\n\nFor Assist Stage, there's no dialogflow agent responding to user queries.\nBut we will provide suggestions which are generated from conversation.\n\nIf\n[Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile]\nis configured for a dialogflow agent, conversation will start from\n`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And\nduring `Automated Agent Stage`, once an\n[Intent][google.cloud.dialogflow.v2beta1.Intent] with\n[Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff]\nis triggered, conversation will transfer to Assist Stage.", - "file": "ConversationsClient/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.CreateConversation", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a new conversation. Conversations are auto-completed after 24\nhours.\n\nConversation Lifecycle: \nThere are two stages during a conversation: Automated Agent Stage and\nAssist Stage.\n\nFor Automated Agent Stage, there will be a dialogflow agent responding to\nuser queries.\n\nFor Assist Stage, there's no dialogflow agent responding to user queries.\nBut we will provide suggestions which are generated from conversation.\n\nIf\n[Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile]\nis configured for a dialogflow agent, conversation will start from\n`Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And\nduring `Automated Agent Stage`, once an\n[Intent][google.cloud.dialogflow.v2beta1.Intent] with\n[Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff]\nis triggered, conversation will transfer to Assist Stage.", + "file": "ConversationsClient/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateConversation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSuggestion_sync", - "title": "dialogflow GenerateStatelessSuggestion Sample", - "description": "GenerateStatelessSuggestion generates and returns a suggestion for a conversation that does not have a\nresource created for it.", - "file": "ConversationsClient/GenerateStatelessSuggestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateStatelessSuggestion", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GenerateStatelessSuggestion", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "GenerateStatelessSuggestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GenerateStatelessSuggestionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GenerateStatelessSuggestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GenerateStatelessSuggestionResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSuggestion", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "GenerateStatelessSuggestion" }, + "description": "GenerateStatelessSuggestion generates and returns a suggestion for a conversation that does not have a\nresource created for it.", + "file": "ConversationsClient/GenerateStatelessSuggestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSuggestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GenerateStatelessSuggestion Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSummary_sync", - "title": "dialogflow GenerateStatelessSummary Sample", - "description": "GenerateStatelessSummary generates and returns a summary for a conversation that does not have a\nresource created for it.", - "file": "ConversationsClient/GenerateStatelessSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateStatelessSummary", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GenerateStatelessSummary", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "GenerateStatelessSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GenerateStatelessSummaryRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GenerateStatelessSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GenerateStatelessSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSummary", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "GenerateStatelessSummary" }, + "description": "GenerateStatelessSummary generates and returns a summary for a conversation that does not have a\nresource created for it.", + "file": "ConversationsClient/GenerateStatelessSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GenerateStatelessSummary Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateSuggestions_sync", - "title": "dialogflow GenerateSuggestions Sample", - "description": "GenerateSuggestions generates all the suggestions using generators configured in the\nconversation profile. A generator is used only if its trigger event is\nmatched.", - "file": "ConversationsClient/GenerateSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateSuggestions", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GenerateSuggestions", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "GenerateSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GenerateSuggestionsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GenerateSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GenerateSuggestionsResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GenerateSuggestions", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "GenerateSuggestions" }, + "description": "GenerateSuggestions generates all the suggestions using generators configured in the\nconversation profile. A generator is used only if its trigger event is\nmatched.", + "file": "ConversationsClient/GenerateSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateSuggestions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GenerateSuggestions Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GetConversation_sync", - "title": "dialogflow GetConversation Sample", - "description": "GetConversation retrieves the specific conversation.", - "file": "ConversationsClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GetConversation", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "GetConversation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetConversation retrieves the specific conversation.", + "file": "ConversationsClient/GetConversation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_GetConversation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_IngestContextReferences_sync", - "title": "dialogflow IngestContextReferences Sample", - "description": "IngestContextReferences data ingestion API.\nIngests context references for an existing conversation.", - "file": "ConversationsClient/IngestContextReferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "IngestContextReferences", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.IngestContextReferences", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.IngestContextReferences", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "IngestContextReferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.IngestContextReferencesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.IngestContextReferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.IngestContextReferencesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "IngestContextReferences", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.IngestContextReferences", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "IngestContextReferences" }, + "description": "IngestContextReferences data ingestion API.\nIngests context references for an existing conversation.", + "file": "ConversationsClient/IngestContextReferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_IngestContextReferences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow IngestContextReferences Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_ListConversations_sync", - "title": "dialogflow ListConversations Sample", - "description": "ListConversations returns the list of all conversations in the specified project.", - "file": "ConversationsClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListConversations", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations returns the list of all conversations in the specified project.", + "file": "ConversationsClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_ListMessages_sync", - "title": "dialogflow ListMessages Sample", - "description": "ListMessages lists messages that belong to a given conversation.\n`messages` are ordered by `create_time` in descending order. To fetch\nupdates without duplication, send request with filter\n`create_time_epoch_microseconds >\n[first item's create_time of previous request]` and empty page_token.", - "file": "ConversationsClient/ListMessages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMessages", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListMessages", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "ListMessages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListMessagesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListMessagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MessageIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "ListMessages", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "ListMessages" }, + "description": "ListMessages lists messages that belong to a given conversation.\n`messages` are ordered by `create_time` in descending order. To fetch\nupdates without duplication, send request with filter\n`create_time_epoch_microseconds >\n[first item's create_time of previous request]` and empty page_token.", + "file": "ConversationsClient/ListMessages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_ListMessages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListMessages Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_SearchKnowledge_sync", - "title": "dialogflow SearchKnowledge Sample", - "description": "SearchKnowledge get answers for the given query based on knowledge documents.", - "file": "ConversationsClient/SearchKnowledge/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchKnowledge", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.SearchKnowledge", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "SearchKnowledge" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SearchKnowledgeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SearchKnowledgeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SearchKnowledgeResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "SearchKnowledge", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "SearchKnowledge" }, + "description": "SearchKnowledge get answers for the given query based on knowledge documents.", + "file": "ConversationsClient/SearchKnowledge/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_SearchKnowledge_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SearchKnowledge Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Conversations_SuggestConversationSummary_sync", - "title": "dialogflow SuggestConversationSummary Sample", - "description": "SuggestConversationSummary suggest summary for a conversation based on specific historical messages.\nThe range of the messages to be used for summary can be specified in the\nrequest.", - "file": "ConversationsClient/SuggestConversationSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestConversationSummary", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient", + "shortName": "ConversationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient.SuggestConversationSummary", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "shortName": "Conversations" + }, + "shortName": "SuggestConversationSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestConversationSummaryRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestConversationSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestConversationSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "SuggestConversationSummary", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } + "shortName": "SuggestConversationSummary" }, + "description": "SuggestConversationSummary suggest summary for a conversation based on specific historical messages.\nThe range of the messages to be used for summary can be specified in the\nrequest.", + "file": "ConversationsClient/SuggestConversationSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Conversations_SuggestConversationSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestConversationSummary Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_CreateDocument_sync", - "title": "dialogflow CreateDocument Sample", - "description": "CreateDocument creates a new document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2beta1.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.CreateDocument", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "CreateDocument" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates a new document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2beta1.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_CreateDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateDocument Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_DeleteDocument_sync", - "title": "dialogflow DeleteDocument Sample", - "description": "DeleteDocument deletes the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.DeleteDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteDocument Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_GetDocument_sync", - "title": "dialogflow GetDocument Sample", - "description": "GetDocument retrieves the specified document.\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.GetDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Document", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument retrieves the specified document.\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetDocument Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DocumentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DocumentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_ImportDocuments_sync", - "title": "dialogflow ImportDocuments Sample", - "description": "ImportDocuments create documents by importing data from external sources.\nDialogflow supports up to 350 documents in each request. If you try to\nimport more, Dialogflow will return an error.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: \n[ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse]", - "file": "DocumentsClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ImportDocuments", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments create documents by importing data from external sources.\nDialogflow supports up to 350 documents in each request. If you try to\nimport more, Dialogflow will return an error.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: \n[ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse]", + "file": "DocumentsClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportDocuments Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_ListDocuments_sync", - "title": "dialogflow ListDocuments Sample", - "description": "ListDocuments returns the list of all documents of the knowledge base.\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ListDocuments", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments returns the list of all documents of the knowledge base.\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListDocuments Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "DocumentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "DocumentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_ReloadDocument_sync", - "title": "dialogflow ReloadDocument Sample", - "description": "ReloadDocument reloads the specified document from its specified source, content_uri or\ncontent. The previously loaded content of the document will be deleted.\nNote: Even when the content of the document has not changed, there still\nmay be side effects because of internal implementation changes.\nNote: If the document source is Google Cloud Storage URI, its metadata will\nbe replaced with the custom metadata from Google Cloud Storage if the\n`import_gcs_custom_metadata` field is set to true in the request.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2beta1.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/ReloadDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReloadDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.ReloadDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "ReloadDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ReloadDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ReloadDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReloadDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ReloadDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "ReloadDocument" }, + "description": "ReloadDocument reloads the specified document from its specified source, content_uri or\ncontent. The previously loaded content of the document will be deleted.\nNote: Even when the content of the document has not changed, there still\nmay be side effects because of internal implementation changes.\nNote: If the document source is Google Cloud Storage URI, its metadata will\nbe replaced with the custom metadata from Google Cloud Storage if the\n`import_gcs_custom_metadata` field is set to true in the request.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2beta1.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/ReloadDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_ReloadDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ReloadDocument Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Documents_UpdateDocument_sync", - "title": "dialogflow UpdateDocument Sample", - "description": "UpdateDocument updates the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2beta1.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", - "file": "DocumentsClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient", + "shortName": "DocumentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient.UpdateDocument", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "shortName": "Documents" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDocumentOperation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } + "shortName": "UpdateDocument" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateDocument updates the specified document.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]\n- `response`: [Document][google.cloud.dialogflow.v2beta1.Document]\n\nNote: The `projects.agent.knowledgeBases.documents` resource is deprecated;\nonly use `projects.knowledgeBases.documents`.", + "file": "DocumentsClient/UpdateDocument/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Documents_UpdateDocument_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateDocument Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EncryptionSpecClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EncryptionSpecClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetEncryptionSpec_sync", - "title": "dialogflow GetEncryptionSpec Sample", - "description": "GetEncryptionSpec gets location-level encryption key specification.", - "file": "EncryptionSpecClient/GetEncryptionSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEncryptionSpec", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.GetEncryptionSpec", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpec", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService", + "shortName": "EncryptionSpecService" + }, + "shortName": "GetEncryptionSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEncryptionSpecRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEncryptionSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EncryptionSpec", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" - } - } + "shortName": "GetEncryptionSpec" }, + "description": "GetEncryptionSpec gets location-level encryption key specification.", + "file": "EncryptionSpecClient/GetEncryptionSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetEncryptionSpec_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEncryptionSpec Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EncryptionSpecClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EncryptionSpecClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EncryptionSpecClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EncryptionSpecClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_InitializeEncryptionSpec_sync", - "title": "dialogflow InitializeEncryptionSpec Sample", - "description": "InitializeEncryptionSpec initializes a location-level encryption key specification. An error will\nbe thrown if the location has resources already created before the\ninitialization. Once the encryption specification is initialized at a\nlocation, it is immutable and all newly created resources under the\nlocation will be encrypted with the existing specification.", - "file": "EncryptionSpecClient/InitializeEncryptionSpec/main.go", - "language": "GO", "clientMethod": { - "shortName": "InitializeEncryptionSpec", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.InitializeEncryptionSpec", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpec", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService", + "shortName": "EncryptionSpecService" + }, + "shortName": "InitializeEncryptionSpec" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.InitializeEncryptionSpecRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.InitializeEncryptionSpecRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InitializeEncryptionSpecOperation", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" - } - } + "shortName": "InitializeEncryptionSpec" }, + "description": "InitializeEncryptionSpec initializes a location-level encryption key specification. An error will\nbe thrown if the location has resources already created before the\ninitialization. Once the encryption specification is initialized at a\nlocation, it is immutable and all newly created resources under the\nlocation will be encrypted with the existing specification.", + "file": "EncryptionSpecClient/InitializeEncryptionSpec/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_InitializeEncryptionSpec_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow InitializeEncryptionSpec Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EncryptionSpecClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EncryptionSpecClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EncryptionSpecClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient", + "shortName": "EncryptionSpecClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EncryptionSpecClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EncryptionSpecClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchCreateEntities_sync", - "title": "dialogflow BatchCreateEntities Sample", - "description": "BatchCreateEntities creates multiple new entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchCreateEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateEntities", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchCreateEntities", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchCreateEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchCreateEntitiesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchCreateEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateEntitiesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchCreateEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "BatchCreateEntities" }, + "description": "BatchCreateEntities creates multiple new entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchCreateEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchCreateEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchCreateEntities Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntities_sync", - "title": "dialogflow BatchDeleteEntities Sample", - "description": "BatchDeleteEntities deletes entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchDeleteEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteEntities", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchDeleteEntities", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchDeleteEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchDeleteEntitiesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchDeleteEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteEntitiesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "BatchDeleteEntities" }, + "description": "BatchDeleteEntities deletes entities in the specified entity type.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchDeleteEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteEntities Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntityTypes_sync", - "title": "dialogflow BatchDeleteEntityTypes Sample", - "description": "BatchDeleteEntityTypes deletes entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchDeleteEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchDeleteEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchDeleteEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchDeleteEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchDeleteEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "BatchDeleteEntityTypes" }, + "description": "BatchDeleteEntityTypes deletes entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchDeleteEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntityTypes_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteEntityTypes Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntities_sync", - "title": "dialogflow BatchUpdateEntities Sample", - "description": "BatchUpdateEntities updates or creates multiple entities in the specified entity type. This\nmethod does not affect entities in the entity type that aren't explicitly\nspecified in the request.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "EntityTypesClient/BatchUpdateEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateEntities", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchUpdateEntities", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchUpdateEntities" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchUpdateEntitiesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchUpdateEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateEntitiesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "BatchUpdateEntities" }, + "description": "BatchUpdateEntities updates or creates multiple entities in the specified entity type. This\nmethod does not affect entities in the entity type that aren't explicitly\nspecified in the request.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "EntityTypesClient/BatchUpdateEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntities_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchUpdateEntities Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntityTypes_sync", - "title": "dialogflow BatchUpdateEntityTypes Sample", - "description": "BatchUpdateEntityTypes updates/Creates multiple entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/BatchUpdateEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.BatchUpdateEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "BatchUpdateEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchUpdateEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchUpdateEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "BatchUpdateEntityTypes" }, + "description": "BatchUpdateEntityTypes updates/Creates multiple entity types in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/BatchUpdateEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntityTypes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchUpdateEntityTypes Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_CreateEntityType_sync", - "title": "dialogflow CreateEntityType Sample", - "description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/CreateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.CreateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "CreateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "CreateEntityType" }, + "description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/CreateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_CreateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_DeleteEntityType_sync", - "title": "dialogflow DeleteEntityType Sample", - "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/DeleteEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.DeleteEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "DeleteEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "DeleteEntityType" }, + "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/DeleteEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_DeleteEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetEntityType_sync", - "title": "dialogflow GetEntityType Sample", - "description": "GetEntityType retrieves the specified entity type.", - "file": "EntityTypesClient/GetEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.GetEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "GetEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "GetEntityType" }, + "description": "GetEntityType retrieves the specified entity type.", + "file": "EntityTypesClient/GetEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListEntityTypes_sync", - "title": "dialogflow ListEntityTypes Sample", - "description": "ListEntityTypes returns the list of all entity types in the specified agent.", - "file": "EntityTypesClient/ListEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.ListEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ListEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityTypeIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "ListEntityTypes" }, + "description": "ListEntityTypes returns the list of all entity types in the specified agent.", + "file": "EntityTypesClient/ListEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEntityTypes Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_UpdateEntityType_sync", - "title": "dialogflow UpdateEntityType Sample", - "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "EntityTypesClient/UpdateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient.UpdateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "UpdateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } + "shortName": "UpdateEntityType" }, + "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "EntityTypesClient/UpdateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_UpdateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_CreateEnvironment_sync", - "title": "dialogflow CreateEnvironment Sample", - "description": "CreateEnvironment creates an agent environment.", - "file": "EnvironmentsClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "shortName": "Environments" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment creates an agent environment.", + "file": "EnvironmentsClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEnvironment Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_DeleteEnvironment_sync", - "title": "dialogflow DeleteEnvironment Sample", - "description": "DeleteEnvironment deletes the specified agent environment.", - "file": "EnvironmentsClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } + "shortName": "DeleteEnvironment" }, + "description": "DeleteEnvironment deletes the specified agent environment.", + "file": "EnvironmentsClient/DeleteEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_DeleteEnvironment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEnvironment Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironment_sync", - "title": "dialogflow GetEnvironment Sample", - "description": "GetEnvironment retrieves the specified agent environment.", - "file": "EnvironmentsClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment retrieves the specified agent environment.", + "file": "EnvironmentsClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEnvironment Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironmentHistory_sync", - "title": "dialogflow GetEnvironmentHistory Sample", - "description": "GetEnvironmentHistory gets the history of the specified environment.", - "file": "EnvironmentsClient/GetEnvironmentHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironmentHistory", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetEnvironmentHistory", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironmentHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetEnvironmentHistoryRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetEnvironmentHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentHistory_EntryIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironmentHistory", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } + "shortName": "GetEnvironmentHistory" }, + "description": "GetEnvironmentHistory gets the history of the specified environment.", + "file": "EnvironmentsClient/GetEnvironmentHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironmentHistory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEnvironmentHistory Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EnvironmentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EnvironmentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_ListEnvironments_sync", - "title": "dialogflow ListEnvironments Sample", - "description": "ListEnvironments returns the list of all non-draft environments of the specified agent.", - "file": "EnvironmentsClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.ListEnvironments", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "shortName": "Environments" + }, + "shortName": "ListEnvironments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments returns the list of all non-draft environments of the specified agent.", + "file": "EnvironmentsClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEnvironments Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EnvironmentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EnvironmentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.ListOperations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Environments_UpdateEnvironment_sync", - "title": "dialogflow UpdateEnvironment Sample", - "description": "UpdateEnvironment updates the specified agent environment.\n\nThis method allows you to deploy new agent versions into the environment.\nWhen an environment is pointed to a new agent version by setting\n`environment.agent_version`, the environment is temporarily set to the\n`LOADING` state. During that time, the environment keeps on serving the\nprevious version of the agent. After the new agent version is done loading,\nthe environment is set back to the `RUNNING` state.\nYou can use \"-\" as Environment ID in environment name to update version\nin \"draft\" environment. WARNING: this will negate all recent changes to\ndraft and can't be undone. You may want to save the draft to a version\nbefore calling this function.", - "file": "EnvironmentsClient/UpdateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient.UpdateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } + "shortName": "UpdateEnvironment" }, + "description": "UpdateEnvironment updates the specified agent environment.\n\nThis method allows you to deploy new agent versions into the environment.\nWhen an environment is pointed to a new agent version by setting\n`environment.agent_version`, the environment is temporarily set to the\n`LOADING` state. During that time, the environment keeps on serving the\nprevious version of the agent. After the new agent version is done loading,\nthe environment is set back to the `RUNNING` state.\nYou can use \"-\" as Environment ID in environment name to update version\nin \"draft\" environment. WARNING: this will negate all recent changes to\ndraft and can't be undone. You may want to save the draft to a version\nbefore calling this function.", + "file": "EnvironmentsClient/UpdateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Environments_UpdateEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEnvironment Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FulfillmentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FulfillmentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetFulfillment_sync", - "title": "dialogflow GetFulfillment Sample", - "description": "GetFulfillment retrieves the fulfillment.", - "file": "FulfillmentsClient/GetFulfillment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFulfillment", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.GetFulfillment", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments", + "shortName": "Fulfillments" + }, + "shortName": "GetFulfillment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetFulfillmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetFulfillmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "GetFulfillment", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments" - } - } + "shortName": "GetFulfillment" }, + "description": "GetFulfillment retrieves the fulfillment.", + "file": "FulfillmentsClient/GetFulfillment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetFulfillment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetFulfillment Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FulfillmentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FulfillmentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FulfillmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FulfillmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "FulfillmentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "FulfillmentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FulfillmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FulfillmentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_UpdateFulfillment_sync", - "title": "dialogflow UpdateFulfillment Sample", - "description": "UpdateFulfillment updates the fulfillment.", - "file": "FulfillmentsClient/UpdateFulfillment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFulfillment", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient", + "shortName": "FulfillmentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient.UpdateFulfillment", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments", + "shortName": "Fulfillments" + }, + "shortName": "UpdateFulfillment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateFulfillmentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateFulfillmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "UpdateFulfillment", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments" - } - } + "shortName": "UpdateFulfillment" }, + "description": "UpdateFulfillment updates the fulfillment.", + "file": "FulfillmentsClient/UpdateFulfillment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_UpdateFulfillment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateFulfillment Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorEvaluationsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorEvaluationsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_CreateGeneratorEvaluation_sync", - "title": "dialogflow CreateGeneratorEvaluation Sample", - "description": "CreateGeneratorEvaluation creates evaluation of a generator.", - "file": "GeneratorEvaluationsClient/CreateGeneratorEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGeneratorEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.CreateGeneratorEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.CreateGeneratorEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "CreateGeneratorEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateGeneratorEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateGeneratorEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGeneratorEvaluationOperation", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "CreateGeneratorEvaluation", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.CreateGeneratorEvaluation", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations" - } - } + "shortName": "CreateGeneratorEvaluation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateGeneratorEvaluation creates evaluation of a generator.", + "file": "GeneratorEvaluationsClient/CreateGeneratorEvaluation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_CreateGeneratorEvaluation_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateGeneratorEvaluation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_DeleteGeneratorEvaluation_sync", - "title": "dialogflow DeleteGeneratorEvaluation Sample", - "description": "DeleteGeneratorEvaluation deletes an evaluation of generator.", - "file": "GeneratorEvaluationsClient/DeleteGeneratorEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGeneratorEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.DeleteGeneratorEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.DeleteGeneratorEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "DeleteGeneratorEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteGeneratorEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteGeneratorEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "DeleteGeneratorEvaluation", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.DeleteGeneratorEvaluation", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations" - } - } + "shortName": "DeleteGeneratorEvaluation" }, + "description": "DeleteGeneratorEvaluation deletes an evaluation of generator.", + "file": "GeneratorEvaluationsClient/DeleteGeneratorEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_DeleteGeneratorEvaluation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteGeneratorEvaluation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_GetGeneratorEvaluation_sync", - "title": "dialogflow GetGeneratorEvaluation Sample", - "description": "GetGeneratorEvaluation gets an evaluation of generator.", - "file": "GeneratorEvaluationsClient/GetGeneratorEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGeneratorEvaluation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.GetGeneratorEvaluation", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.GetGeneratorEvaluation", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "GetGeneratorEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetGeneratorEvaluationRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetGeneratorEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.GeneratorEvaluation", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "GetGeneratorEvaluation", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.GetGeneratorEvaluation", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations" - } - } + "shortName": "GetGeneratorEvaluation" }, + "description": "GetGeneratorEvaluation gets an evaluation of generator.", + "file": "GeneratorEvaluationsClient/GetGeneratorEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_GetGeneratorEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGeneratorEvaluation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GeneratorEvaluationsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GeneratorEvaluationsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorEvaluationsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorEvaluationsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_ListGeneratorEvaluations_sync", - "title": "dialogflow ListGeneratorEvaluations Sample", - "description": "ListGeneratorEvaluations lists evaluations of generator.", - "file": "GeneratorEvaluationsClient/ListGeneratorEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGeneratorEvaluations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.ListGeneratorEvaluations", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.ListGeneratorEvaluations", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations", + "shortName": "GeneratorEvaluations" + }, + "shortName": "ListGeneratorEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListGeneratorEvaluationsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListGeneratorEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GeneratorEvaluationIterator", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "ListGeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations.ListGeneratorEvaluations", - "service": { - "shortName": "GeneratorEvaluations", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluations" - } - } + "shortName": "ListGeneratorEvaluations" }, + "description": "ListGeneratorEvaluations lists evaluations of generator.", + "file": "GeneratorEvaluationsClient/ListGeneratorEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_ListGeneratorEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListGeneratorEvaluations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "GeneratorEvaluationsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "GeneratorEvaluationsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GeneratorEvaluationsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient", + "shortName": "GeneratorEvaluationsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GeneratorEvaluationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorEvaluationsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GeneratorEvaluationsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_GeneratorEvaluations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_CreateGenerator_sync", - "title": "dialogflow CreateGenerator Sample", - "description": "CreateGenerator creates a generator.", - "file": "GeneratorsClient/CreateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.CreateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators.CreateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators", + "shortName": "Generators" + }, + "shortName": "CreateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } + "shortName": "CreateGenerator" }, + "description": "CreateGenerator creates a generator.", + "file": "GeneratorsClient/CreateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_CreateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateGenerator Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_DeleteGenerator_sync", - "title": "dialogflow DeleteGenerator Sample", - "description": "DeleteGenerator deletes a generator.", - "file": "GeneratorsClient/DeleteGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.DeleteGenerator", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators.DeleteGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators", + "shortName": "Generators" + }, + "shortName": "DeleteGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } + "shortName": "DeleteGenerator" }, + "description": "DeleteGenerator deletes a generator.", + "file": "GeneratorsClient/DeleteGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_DeleteGenerator_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteGenerator Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_GetGenerator_sync", - "title": "dialogflow GetGenerator Sample", - "description": "GetGenerator retrieves a generator.", - "file": "GeneratorsClient/GetGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.GetGenerator", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators.GetGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators", + "shortName": "Generators" + }, + "shortName": "GetGenerator" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } + "shortName": "GetGenerator" }, + "description": "GetGenerator retrieves a generator.", + "file": "GeneratorsClient/GetGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_GetGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGenerator Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GeneratorsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GeneratorsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_ListGenerators_sync", - "title": "dialogflow ListGenerators Sample", - "description": "ListGenerators lists generators.", - "file": "GeneratorsClient/ListGenerators/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerators", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.ListGenerators", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators.ListGenerators", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators", + "shortName": "Generators" + }, + "shortName": "ListGenerators" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListGeneratorsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListGeneratorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GeneratorIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } + "shortName": "ListGenerators" }, + "description": "ListGenerators lists generators.", + "file": "GeneratorsClient/ListGenerators/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_ListGenerators_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListGenerators Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "GeneratorsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "GeneratorsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Generators_UpdateGenerator_sync", - "title": "dialogflow UpdateGenerator Sample", - "description": "UpdateGenerator updates a generator.", - "file": "GeneratorsClient/UpdateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient.UpdateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators.UpdateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Generators", + "shortName": "Generators" + }, + "shortName": "UpdateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateGeneratorRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } + "shortName": "UpdateGenerator" }, + "description": "UpdateGenerator updates a generator.", + "file": "GeneratorsClient/UpdateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Generators_UpdateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateGenerator Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_BatchDeleteIntents_sync", - "title": "dialogflow BatchDeleteIntents Sample", - "description": "BatchDeleteIntents deletes intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/BatchDeleteIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteIntents", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.BatchDeleteIntents", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "BatchDeleteIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchDeleteIntentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchDeleteIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "BatchDeleteIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "BatchDeleteIntents" }, + "description": "BatchDeleteIntents deletes intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/BatchDeleteIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_BatchDeleteIntents_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteIntents Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_BatchUpdateIntents_sync", - "title": "dialogflow BatchUpdateIntents Sample", - "description": "BatchUpdateIntents updates/Creates multiple intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/BatchUpdateIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateIntents", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.BatchUpdateIntents", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "BatchUpdateIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.BatchUpdateIntentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.BatchUpdateIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "BatchUpdateIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "BatchUpdateIntents" }, + "description": "BatchUpdateIntents updates/Creates multiple intents in the specified agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/es/docs/how/long-running-operations).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse]\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/BatchUpdateIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_BatchUpdateIntents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchUpdateIntents Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_CreateIntent_sync", - "title": "dialogflow CreateIntent Sample", - "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/CreateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.CreateIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "CreateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "CreateIntent" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/CreateIntent/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_CreateIntent_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateIntent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_DeleteIntent_sync", - "title": "dialogflow DeleteIntent Sample", - "description": "DeleteIntent deletes the specified intent and its direct or indirect followup intents.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/DeleteIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.DeleteIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "DeleteIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "DeleteIntent" }, + "description": "DeleteIntent deletes the specified intent and its direct or indirect followup intents.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/DeleteIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_DeleteIntent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteIntent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_GetIntent_sync", - "title": "dialogflow GetIntent Sample", - "description": "GetIntent retrieves the specified intent.", - "file": "IntentsClient/GetIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.GetIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "GetIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "GetIntent" }, + "description": "GetIntent retrieves the specified intent.", + "file": "IntentsClient/GetIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_GetIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetIntent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IntentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IntentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_ListIntents_sync", - "title": "dialogflow ListIntents Sample", - "description": "ListIntents returns the list of all intents in the specified agent.", - "file": "IntentsClient/ListIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIntents", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.ListIntents", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "ListIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListIntentsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IntentIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "ListIntents" }, + "description": "ListIntents returns the list of all intents in the specified agent.", + "file": "IntentsClient/ListIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_ListIntents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListIntents Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "IntentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "IntentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Intents_UpdateIntent_sync", - "title": "dialogflow UpdateIntent Sample", - "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", - "file": "IntentsClient/UpdateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient.UpdateIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "shortName": "Intents" + }, + "shortName": "UpdateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } + "shortName": "UpdateIntent" }, + "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train an agent prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/es/docs/training).", + "file": "IntentsClient/UpdateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Intents_UpdateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateIntent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "KnowledgeBasesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "KnowledgeBasesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CreateKnowledgeBase_sync", - "title": "dialogflow CreateKnowledgeBase Sample", - "description": "CreateKnowledgeBase creates a knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", - "file": "KnowledgeBasesClient/CreateKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.CreateKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "CreateKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "CreateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } + "shortName": "CreateKnowledgeBase" }, + "description": "CreateKnowledgeBase creates a knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", + "file": "KnowledgeBasesClient/CreateKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CreateKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_DeleteKnowledgeBase_sync", - "title": "dialogflow DeleteKnowledgeBase Sample", - "description": "DeleteKnowledgeBase deletes the specified knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", - "file": "KnowledgeBasesClient/DeleteKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.DeleteKnowledgeBase", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "DeleteKnowledgeBase" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "DeleteKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } + "shortName": "DeleteKnowledgeBase" }, + "description": "DeleteKnowledgeBase deletes the specified knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", + "file": "KnowledgeBasesClient/DeleteKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_DeleteKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetKnowledgeBase_sync", - "title": "dialogflow GetKnowledgeBase Sample", - "description": "GetKnowledgeBase retrieves the specified knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", - "file": "KnowledgeBasesClient/GetKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.GetKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "GetKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } + "shortName": "GetKnowledgeBase" }, + "description": "GetKnowledgeBase retrieves the specified knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", + "file": "KnowledgeBasesClient/GetKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "KnowledgeBasesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "KnowledgeBasesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "KnowledgeBasesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "KnowledgeBasesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListKnowledgeBases_sync", - "title": "dialogflow ListKnowledgeBases Sample", - "description": "ListKnowledgeBases returns the list of all knowledge bases of the specified agent.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", - "file": "KnowledgeBasesClient/ListKnowledgeBases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKnowledgeBases", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.ListKnowledgeBases", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "ListKnowledgeBases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListKnowledgeBasesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListKnowledgeBasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KnowledgeBaseIterator", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListKnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } + "shortName": "ListKnowledgeBases" }, + "description": "ListKnowledgeBases returns the list of all knowledge bases of the specified agent.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", + "file": "KnowledgeBasesClient/ListKnowledgeBases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListKnowledgeBases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListKnowledgeBases Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "KnowledgeBasesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "KnowledgeBasesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "KnowledgeBasesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "KnowledgeBasesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_UpdateKnowledgeBase_sync", - "title": "dialogflow UpdateKnowledgeBase Sample", - "description": "UpdateKnowledgeBase updates the specified knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", - "file": "KnowledgeBasesClient/UpdateKnowledgeBase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateKnowledgeBase", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient", + "shortName": "KnowledgeBasesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient.UpdateKnowledgeBase", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases", + "shortName": "KnowledgeBases" + }, + "shortName": "UpdateKnowledgeBase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateKnowledgeBaseRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateKnowledgeBaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "UpdateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } + "shortName": "UpdateKnowledgeBase" }, + "description": "UpdateKnowledgeBase updates the specified knowledge base.\n\nNote: The `projects.agent.knowledgeBases` resource is deprecated;\nonly use `projects.knowledgeBases`.", + "file": "KnowledgeBasesClient/UpdateKnowledgeBase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_UpdateKnowledgeBase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateKnowledgeBase Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_AnalyzeContent_sync", - "title": "dialogflow AnalyzeContent Sample", - "description": "AnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", - "file": "ParticipantsClient/AnalyzeContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeContent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.AnalyzeContent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "AnalyzeContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.AnalyzeContentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.AnalyzeContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.AnalyzeContentResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "AnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "AnalyzeContent" }, + "description": "AnalyzeContent adds a text (chat, for example), or audio (phone recording, for example)\nmessage from a participant into the conversation.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", + "file": "ParticipantsClient/AnalyzeContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_AnalyzeContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow AnalyzeContent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_BidiStreamingAnalyzeContent_sync", - "title": "dialogflow BidiStreamingAnalyzeContent Sample", - "description": "BidiStreamingAnalyzeContent bidirectional endless streaming version of\n[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent].\n\n\nThis method is not supported for the REST transport.", - "file": "ParticipantsClient/BidiStreamingAnalyzeContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "BidiStreamingAnalyzeContent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.BidiStreamingAnalyzeContent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.BidiStreamingAnalyzeContent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "BidiStreamingAnalyzeContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "dialogflowpb.Participants_BidiStreamingAnalyzeContentClient", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "BidiStreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.BidiStreamingAnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "BidiStreamingAnalyzeContent" }, + "description": "BidiStreamingAnalyzeContent bidirectional endless streaming version of\n[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent].\n\n\nThis method is not supported for the REST transport.", + "file": "ParticipantsClient/BidiStreamingAnalyzeContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_BidiStreamingAnalyzeContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BidiStreamingAnalyzeContent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ParticipantsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ParticipantsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_CompileSuggestion_sync", - "title": "dialogflow CompileSuggestion Sample", - "description": "CompileSuggestion deprecated. use\n[SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]\nand\n[SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers]\ninstead.\n\nGets suggestions for a participant based on specific historical\nmessages.\n\nNote that\n[ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]\nwill only list the auto-generated suggestions, while\n[CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]\nwill try to compile suggestion based on the provided conversation context\nin the real time.\n\n\nDeprecated: CompileSuggestion may be removed in a future version.", - "file": "ParticipantsClient/CompileSuggestion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompileSuggestion", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.CompileSuggestion", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "CompileSuggestion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CompileSuggestionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CompileSuggestionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.CompileSuggestionResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "CompileSuggestion", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "CompileSuggestion" }, + "description": "CompileSuggestion deprecated. use\n[SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]\nand\n[SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers]\ninstead.\n\nGets suggestions for a participant based on specific historical\nmessages.\n\nNote that\n[ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]\nwill only list the auto-generated suggestions, while\n[CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]\nwill try to compile suggestion based on the provided conversation context\nin the real time.\n\n\nDeprecated: CompileSuggestion may be removed in a future version.", + "file": "ParticipantsClient/CompileSuggestion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_CompileSuggestion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CompileSuggestion Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_CreateParticipant_sync", - "title": "dialogflow CreateParticipant Sample", - "description": "CreateParticipant creates a new participant in a conversation.", - "file": "ParticipantsClient/CreateParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateParticipant", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.CreateParticipant", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "CreateParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateParticipantRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "CreateParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "CreateParticipant" }, + "description": "CreateParticipant creates a new participant in a conversation.", + "file": "ParticipantsClient/CreateParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_CreateParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateParticipant Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ParticipantsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ParticipantsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ParticipantsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ParticipantsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_GetParticipant_sync", - "title": "dialogflow GetParticipant Sample", - "description": "GetParticipant retrieves a conversation participant.", - "file": "ParticipantsClient/GetParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParticipant", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.GetParticipant", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "GetParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetParticipantRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "GetParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "GetParticipant" }, + "description": "GetParticipant retrieves a conversation participant.", + "file": "ParticipantsClient/GetParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_GetParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetParticipant Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ParticipantsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ParticipantsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ParticipantsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ParticipantsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_ListParticipants_sync", - "title": "dialogflow ListParticipants Sample", - "description": "ListParticipants returns the list of all participants in the specified conversation.", - "file": "ParticipantsClient/ListParticipants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParticipants", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListParticipants", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "dialogflowpb.ListParticipantsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ParticipantIterator", "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" }, + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListParticipants", "method": { - "shortName": "ListParticipants", "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants", "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "ListParticipants" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "dialogflowpb.ListParticipantsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ParticipantIterator", + "shortName": "ListParticipants" }, + "description": "ListParticipants returns the list of all participants in the specified conversation.", + "file": "ParticipantsClient/ListParticipants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_ListParticipants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListParticipants Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_ListSuggestions_sync", - "title": "dialogflow ListSuggestions Sample", - "description": "ListSuggestions deprecated: Use inline suggestion, event based suggestion or\nSuggestion* API instead.\nSee\n[HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]\nfor more details. Removal Date: 2020-09-01.\n\nRetrieves suggestions for live agents.\n\nThis method should be used by human agent client software to fetch auto\ngenerated suggestions in real-time, while the conversation with an end user\nis in progress. The functionality is implemented in terms of the\n[list\npagination](https: //cloud.google.com/apis/design/design_patterns#list_pagination)\ndesign pattern. The client app should use the `next_page_token` field\nto fetch the next batch of suggestions. `suggestions` are sorted by\n`create_time` in descending order.\nTo fetch latest suggestion, just set `page_size` to 1.\nTo fetch new suggestions without duplication, send request with filter\n`create_time_epoch_microseconds > [first item's create_time of previous\nrequest]` and empty page_token.\n\n\nDeprecated: ListSuggestions may be removed in a future version.", - "file": "ParticipantsClient/ListSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSuggestions", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.ListSuggestions", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "ListSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListSuggestionsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SuggestionIterator", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "ListSuggestions", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "ListSuggestions" }, + "description": "ListSuggestions deprecated: Use inline suggestion, event based suggestion or\nSuggestion* API instead.\nSee\n[HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]\nfor more details. Removal Date: 2020-09-01.\n\nRetrieves suggestions for live agents.\n\nThis method should be used by human agent client software to fetch auto\ngenerated suggestions in real-time, while the conversation with an end user\nis in progress. The functionality is implemented in terms of the\n[list\npagination](https: //cloud.google.com/apis/design/design_patterns#list_pagination)\ndesign pattern. The client app should use the `next_page_token` field\nto fetch the next batch of suggestions. `suggestions` are sorted by\n`create_time` in descending order.\nTo fetch latest suggestion, just set `page_size` to 1.\nTo fetch new suggestions without duplication, send request with filter\n`create_time_epoch_microseconds > [first item's create_time of previous\nrequest]` and empty page_token.\n\n\nDeprecated: ListSuggestions may be removed in a future version.", + "file": "ParticipantsClient/ListSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_ListSuggestions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSuggestions Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_StreamingAnalyzeContent_sync", - "title": "dialogflow StreamingAnalyzeContent Sample", - "description": "StreamingAnalyzeContent adds a text (e.g., chat) or audio (e.g., phone recording) message from a\nparticipant into the conversation.\nNote: This method is only available through the gRPC API (not REST).\n\nThe top-level message sent to the client by the server is\n`StreamingAnalyzeContentResponse`. Multiple response messages can be\nreturned in order. The first one or more messages contain the\n`recognition_result` field. Each result represents a more complete\ntranscript of what the user said. The next message contains the\n`reply_text` field, and potentially the `reply_audio` and/or the\n`automated_agent_reply` fields.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", - "file": "ParticipantsClient/StreamingAnalyzeContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingAnalyzeContent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.StreamingAnalyzeContent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "StreamingAnalyzeContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "dialogflowpb.Participants_StreamingAnalyzeContentClient", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "StreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "StreamingAnalyzeContent" }, + "description": "StreamingAnalyzeContent adds a text (e.g., chat) or audio (e.g., phone recording) message from a\nparticipant into the conversation.\nNote: This method is only available through the gRPC API (not REST).\n\nThe top-level message sent to the client by the server is\n`StreamingAnalyzeContentResponse`. Multiple response messages can be\nreturned in order. The first one or more messages contain the\n`recognition_result` field. Each result represents a more complete\ntranscript of what the user said. The next message contains the\n`reply_text` field, and potentially the `reply_audio` and/or the\n`automated_agent_reply` fields.\n\nNote: Always use agent versions for production traffic\nsent to virtual agents. See [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", + "file": "ParticipantsClient/StreamingAnalyzeContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_StreamingAnalyzeContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StreamingAnalyzeContent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestArticles_sync", - "title": "dialogflow SuggestArticles Sample", - "description": "SuggestArticles gets suggested articles for a participant based on specific historical\nmessages.\n\nNote that\n[ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]\nwill only list the auto-generated suggestions, while\n[CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]\nwill try to compile suggestion based on the provided conversation context\nin the real time.", - "file": "ParticipantsClient/SuggestArticles/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestArticles", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestArticles", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestArticles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestArticlesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestArticlesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestArticlesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestArticles", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "SuggestArticles" }, + "description": "SuggestArticles gets suggested articles for a participant based on specific historical\nmessages.\n\nNote that\n[ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]\nwill only list the auto-generated suggestions, while\n[CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]\nwill try to compile suggestion based on the provided conversation context\nin the real time.", + "file": "ParticipantsClient/SuggestArticles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestArticles_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestArticles Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestFaqAnswers_sync", - "title": "dialogflow SuggestFaqAnswers Sample", - "description": "SuggestFaqAnswers gets suggested faq answers for a participant based on specific historical\nmessages.", - "file": "ParticipantsClient/SuggestFaqAnswers/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestFaqAnswers", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestFaqAnswers", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestFaqAnswers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestFaqAnswersRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestFaqAnswersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestFaqAnswersResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestFaqAnswers", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "SuggestFaqAnswers" }, + "description": "SuggestFaqAnswers gets suggested faq answers for a participant based on specific historical\nmessages.", + "file": "ParticipantsClient/SuggestFaqAnswers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestFaqAnswers_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestFaqAnswers Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestKnowledgeAssist_sync", - "title": "dialogflow SuggestKnowledgeAssist Sample", - "description": "SuggestKnowledgeAssist gets knowledge assist suggestions based on historical messages.", - "file": "ParticipantsClient/SuggestKnowledgeAssist/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestKnowledgeAssist", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestKnowledgeAssist", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestKnowledgeAssist" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestKnowledgeAssistRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestKnowledgeAssistRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestKnowledgeAssistResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestKnowledgeAssist", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "SuggestKnowledgeAssist" }, + "description": "SuggestKnowledgeAssist gets knowledge assist suggestions based on historical messages.", + "file": "ParticipantsClient/SuggestKnowledgeAssist/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestKnowledgeAssist_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestKnowledgeAssist Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestSmartReplies_sync", - "title": "dialogflow SuggestSmartReplies Sample", - "description": "SuggestSmartReplies gets smart replies for a participant based on specific historical\nmessages.", - "file": "ParticipantsClient/SuggestSmartReplies/main.go", - "language": "GO", "clientMethod": { - "shortName": "SuggestSmartReplies", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.SuggestSmartReplies", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "SuggestSmartReplies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.SuggestSmartRepliesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.SuggestSmartRepliesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SuggestSmartRepliesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestSmartReplies", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "SuggestSmartReplies" }, + "description": "SuggestSmartReplies gets smart replies for a participant based on specific historical\nmessages.", + "file": "ParticipantsClient/SuggestSmartReplies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestSmartReplies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SuggestSmartReplies Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Participants_UpdateParticipant_sync", - "title": "dialogflow UpdateParticipant Sample", - "description": "UpdateParticipant updates the specified participant.", - "file": "ParticipantsClient/UpdateParticipant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateParticipant", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient", + "shortName": "ParticipantsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient.UpdateParticipant", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "shortName": "Participants" + }, + "shortName": "UpdateParticipant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateParticipantRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateParticipantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "UpdateParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } + "shortName": "UpdateParticipant" }, + "description": "UpdateParticipant updates the specified participant.", + "file": "ParticipantsClient/UpdateParticipant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Participants_UpdateParticipant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateParticipant Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PhoneNumbersClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PhoneNumbersClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_DeletePhoneNumber_sync", - "title": "dialogflow DeletePhoneNumber Sample", - "description": "DeletePhoneNumber requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the\n[DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED]\nstate immediately, and is deleted approximately 30 days later. This method\nmay only be called on a `PhoneNumber` in the\n[ACTIVE][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.ACTIVE]\nstate.", - "file": "PhoneNumbersClient/DeletePhoneNumber/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhoneNumber", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.DeletePhoneNumber", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers", + "shortName": "PhoneNumbers" + }, + "shortName": "DeletePhoneNumber" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeletePhoneNumberRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeletePhoneNumberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.PhoneNumber", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "DeletePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } + "shortName": "DeletePhoneNumber" }, + "description": "DeletePhoneNumber requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the\n[DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED]\nstate immediately, and is deleted approximately 30 days later. This method\nmay only be called on a `PhoneNumber` in the\n[ACTIVE][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.ACTIVE]\nstate.", + "file": "PhoneNumbersClient/DeletePhoneNumber/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_DeletePhoneNumber_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePhoneNumber Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PhoneNumbersClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PhoneNumbersClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PhoneNumbersClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PhoneNumbersClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "PhoneNumbersClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "PhoneNumbersClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PhoneNumbersClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PhoneNumbersClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListPhoneNumbers_sync", - "title": "dialogflow ListPhoneNumbers Sample", - "description": "ListPhoneNumbers returns the list of all phone numbers in the specified project.", - "file": "PhoneNumbersClient/ListPhoneNumbers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhoneNumbers", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.ListPhoneNumbers", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers", + "shortName": "PhoneNumbers" + }, + "shortName": "ListPhoneNumbers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListPhoneNumbersRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListPhoneNumbersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PhoneNumberIterator", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "ListPhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } + "shortName": "ListPhoneNumbers" }, + "description": "ListPhoneNumbers returns the list of all phone numbers in the specified project.", + "file": "PhoneNumbersClient/ListPhoneNumbers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListPhoneNumbers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPhoneNumbers Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UndeletePhoneNumber_sync", - "title": "dialogflow UndeletePhoneNumber Sample", - "description": "UndeletePhoneNumber cancels the deletion request for a `PhoneNumber`. This method may only be\ncalled on a `PhoneNumber` in the\n[DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED]\nstate.", - "file": "PhoneNumbersClient/UndeletePhoneNumber/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeletePhoneNumber", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.UndeletePhoneNumber", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers", + "shortName": "PhoneNumbers" + }, + "shortName": "UndeletePhoneNumber" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UndeletePhoneNumberRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UndeletePhoneNumberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.PhoneNumber", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "UndeletePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } + "shortName": "UndeletePhoneNumber" }, + "description": "UndeletePhoneNumber cancels the deletion request for a `PhoneNumber`. This method may only be\ncalled on a `PhoneNumber` in the\n[DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED]\nstate.", + "file": "PhoneNumbersClient/UndeletePhoneNumber/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UndeletePhoneNumber_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UndeletePhoneNumber Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UpdatePhoneNumber_sync", - "title": "dialogflow UpdatePhoneNumber Sample", - "description": "UpdatePhoneNumber updates the specified `PhoneNumber`.", - "file": "PhoneNumbersClient/UpdatePhoneNumber/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePhoneNumber", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient", + "shortName": "PhoneNumbersClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient.UpdatePhoneNumber", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers", + "shortName": "PhoneNumbers" + }, + "shortName": "UpdatePhoneNumber" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdatePhoneNumberRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdatePhoneNumberRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.PhoneNumber", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "UpdatePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } + "shortName": "UpdatePhoneNumber" }, + "description": "UpdatePhoneNumber updates the specified `PhoneNumber`.", + "file": "PhoneNumbersClient/UpdatePhoneNumber/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UpdatePhoneNumber_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdatePhoneNumber Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CreateSessionEntityType_sync", - "title": "dialogflow CreateSessionEntityType Sample", - "description": "CreateSessionEntityType creates a session entity type.\n\nIf the specified session entity type already exists, overrides the\nsession entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.CreateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "CreateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } + "shortName": "CreateSessionEntityType" }, + "description": "CreateSessionEntityType creates a session entity type.\n\nIf the specified session entity type already exists, overrides the\nsession entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CreateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_DeleteSessionEntityType_sync", - "title": "dialogflow DeleteSessionEntityType Sample", - "description": "DeleteSessionEntityType deletes the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.DeleteSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "DeleteSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } + "shortName": "DeleteSessionEntityType" }, + "description": "DeleteSessionEntityType deletes the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_DeleteSessionEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionEntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionEntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.GetOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" }, + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetOperation", "method": { - "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.GetOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetSessionEntityType_sync", - "title": "dialogflow GetSessionEntityType Sample", - "description": "GetSessionEntityType retrieves the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.GetSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "GetSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } + "shortName": "GetSessionEntityType" }, + "description": "GetSessionEntityType retrieves the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionEntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionEntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListSessionEntityTypes_sync", - "title": "dialogflow ListSessionEntityTypes Sample", - "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessionEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.ListSessionEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "ListSessionEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListSessionEntityTypesRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListSessionEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionEntityTypeIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } + "shortName": "ListSessionEntityTypes" }, + "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListSessionEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSessionEntityTypes Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_UpdateSessionEntityType_sync", - "title": "dialogflow UpdateSessionEntityType Sample", - "description": "UpdateSessionEntityType updates the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", - "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient.UpdateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "UpdateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } + "shortName": "UpdateSessionEntityType" }, + "description": "UpdateSessionEntityType updates the specified session entity type.\n\nThis method doesn't work with Google Assistant integration.\nContact Dialogflow support if you need to use session entities\nwith Google Assistant integration.", + "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_UpdateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_DetectIntent_sync", - "title": "dialogflow DetectIntent Sample", - "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause contexts\nand session entity types to be updated, which in turn might affect\nresults of future queries.\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]\ninstead of `DetectIntent`. `AnalyzeContent` has additional\nfunctionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", - "file": "SessionsClient/DetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.DetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "DetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DetectIntentRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DetectIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions" - } - } + "shortName": "DetectIntent" }, + "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause contexts\nand session entity types to be updated, which in turn might affect\nresults of future queries.\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]\ninstead of `DetectIntent`. `AnalyzeContent` has additional\nfunctionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).", + "file": "SessionsClient/DetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_DetectIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DetectIntent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Sessions_StreamingDetectIntent_sync", - "title": "dialogflow StreamingDetectIntent Sample", - "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]\ninstead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has\nadditional functionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", - "file": "SessionsClient/StreamingDetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingDetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient.StreamingDetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "StreamingDetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "dialogflowpb.Sessions_StreamingDetectIntentClient", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions" - } - } + "shortName": "StreamingDetectIntent" }, + "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nIf you might use\n[Agent Assist](https: //cloud.google.com/dialogflow/docs/#aa)\nor other CCAI products now or in the future, consider using\n[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]\ninstead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has\nadditional functionality for Agent Assist and other CCAI products.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/es/docs/agents-versions).\n\n\nThis method is not supported for the REST transport.", + "file": "SessionsClient/StreamingDetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Sessions_StreamingDetectIntent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StreamingDetectIntent Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SipTrunksClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SipTrunksClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_CreateSipTrunk_sync", - "title": "dialogflow CreateSipTrunk Sample", - "description": "CreateSipTrunk creates a SipTrunk for a specified location.", - "file": "SipTrunksClient/CreateSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.CreateSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "CreateSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "CreateSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } + "shortName": "CreateSipTrunk" }, + "description": "CreateSipTrunk creates a SipTrunk for a specified location.", + "file": "SipTrunksClient/CreateSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_CreateSipTrunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSipTrunk Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_DeleteSipTrunk_sync", - "title": "dialogflow DeleteSipTrunk Sample", - "description": "DeleteSipTrunk deletes a specified SipTrunk.", - "file": "SipTrunksClient/DeleteSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.DeleteSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "DeleteSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "DeleteSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } + "shortName": "DeleteSipTrunk" }, + "description": "DeleteSipTrunk deletes a specified SipTrunk.", + "file": "SipTrunksClient/DeleteSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_DeleteSipTrunk_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSipTrunk Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SipTrunksClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SipTrunksClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SipTrunksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SipTrunksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetSipTrunk_sync", - "title": "dialogflow GetSipTrunk Sample", - "description": "GetSipTrunk retrieves the specified SipTrunk.", - "file": "SipTrunksClient/GetSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.GetSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "GetSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "GetSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } + "shortName": "GetSipTrunk" }, + "description": "GetSipTrunk retrieves the specified SipTrunk.", + "file": "SipTrunksClient/GetSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetSipTrunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSipTrunk Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SipTrunksClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SipTrunksClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SipTrunksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SipTrunksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListSipTrunks_sync", - "title": "dialogflow ListSipTrunks Sample", - "description": "ListSipTrunks returns a list of SipTrunks in the specified location.", - "file": "SipTrunksClient/ListSipTrunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSipTrunks", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.ListSipTrunks", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "ListSipTrunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListSipTrunksRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListSipTrunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "SipTrunkIterator", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "ListSipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "SipTrunkIterator", + "shortName": "ListSipTrunks" }, + "description": "ListSipTrunks returns a list of SipTrunks in the specified location.", + "file": "SipTrunksClient/ListSipTrunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListSipTrunks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSipTrunks Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_UpdateSipTrunk_sync", - "title": "dialogflow UpdateSipTrunk Sample", - "description": "UpdateSipTrunk updates the specified SipTrunk.", - "file": "SipTrunksClient/UpdateSipTrunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSipTrunk", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient", + "shortName": "SipTrunksClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient.UpdateSipTrunk", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks", + "shortName": "SipTrunks" + }, + "shortName": "UpdateSipTrunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateSipTrunkRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateSipTrunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "UpdateSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } + "shortName": "UpdateSipTrunk" }, + "description": "UpdateSipTrunk updates the specified SipTrunk.", + "file": "SipTrunksClient/UpdateSipTrunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_UpdateSipTrunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSipTrunk Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_CreateTool_sync", - "title": "dialogflow CreateTool Sample", - "description": "CreateTool creates a tool.", - "file": "ToolsClient/CreateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTool", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.CreateTool", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools.CreateTool", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools", + "shortName": "Tools" + }, + "shortName": "CreateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.dialogflow.v2beta1.Tools.CreateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2beta1.Tools" - } - } + "shortName": "CreateTool" }, + "description": "CreateTool creates a tool.", + "file": "ToolsClient/CreateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_CreateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTool Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_DeleteTool_sync", - "title": "dialogflow DeleteTool Sample", - "description": "DeleteTool deletes a tool.", - "file": "ToolsClient/DeleteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTool", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.DeleteTool", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools.DeleteTool", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools", + "shortName": "Tools" + }, + "shortName": "DeleteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.dialogflow.v2beta1.Tools.DeleteTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2beta1.Tools" - } - } + "shortName": "DeleteTool" }, + "description": "DeleteTool deletes a tool.", + "file": "ToolsClient/DeleteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_DeleteTool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteTool Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ToolsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ToolsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_GetTool_sync", - "title": "dialogflow GetTool Sample", - "description": "GetTool retrieves a tool.", - "file": "ToolsClient/GetTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTool", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.GetTool", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools.GetTool", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools", + "shortName": "Tools" + }, + "shortName": "GetTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "GetTool", - "fullName": "google.cloud.dialogflow.v2beta1.Tools.GetTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2beta1.Tools" - } - } + "shortName": "GetTool" }, + "description": "GetTool retrieves a tool.", + "file": "ToolsClient/GetTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_GetTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTool Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ToolsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ToolsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_ListTools_sync", - "title": "dialogflow ListTools Sample", - "description": "ListTools lists tools.", - "file": "ToolsClient/ListTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTools", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.ListTools", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools.ListTools", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools", + "shortName": "Tools" + }, + "shortName": "ListTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListToolsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.dialogflow.v2beta1.Tools.ListTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2beta1.Tools" - } - } + "shortName": "ListTools" }, + "description": "ListTools lists tools.", + "file": "ToolsClient/ListTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_ListTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTools Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Tools_UpdateTool_sync", - "title": "dialogflow UpdateTool Sample", - "description": "UpdateTool updates a tool.", - "file": "ToolsClient/UpdateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTool", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient.UpdateTool", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools.UpdateTool", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Tools", + "shortName": "Tools" + }, + "shortName": "UpdateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateToolRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ToolsClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.dialogflow.v2beta1.Tools.UpdateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.v2beta1.Tools" - } - } + "shortName": "UpdateTool" }, + "description": "UpdateTool updates a tool.", + "file": "ToolsClient/UpdateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Tools_UpdateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateTool Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_CreateVersion_sync", - "title": "dialogflow CreateVersion Sample", - "description": "CreateVersion creates an agent version.\n\nThe new version points to the agent instance in the \"default\" environment.", - "file": "VersionsClient/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.CreateVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions", + "shortName": "Versions" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion creates an agent version.\n\nThe new version points to the agent instance in the \"default\" environment.", + "file": "VersionsClient/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_CreateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateVersion Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_DeleteVersion_sync", - "title": "dialogflow DeleteVersion Sample", - "description": "DeleteVersion delete the specified agent version.", - "file": "VersionsClient/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.DeleteVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions", + "shortName": "Versions" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion delete the specified agent version.", + "file": "VersionsClient/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteVersion Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VersionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VersionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_GetVersion_sync", - "title": "dialogflow GetVersion Sample", - "description": "GetVersion retrieves the specified agent version.", - "file": "VersionsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.GetVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions", + "shortName": "Versions" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion retrieves the specified agent version.", + "file": "VersionsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetVersion Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "VersionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "VersionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_ListVersions_sync", - "title": "dialogflow ListVersions Sample", - "description": "ListVersions returns the list of all versions of the specified agent.", - "file": "VersionsClient/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.ListVersions", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions", + "shortName": "Versions" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions returns the list of all versions of the specified agent.", + "file": "VersionsClient/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListVersions Sample" }, { - "regionTag": "dialogflow_v2beta1_generated_Versions_UpdateVersion_sync", - "title": "dialogflow UpdateVersion Sample", - "description": "UpdateVersion updates the specified agent version.\n\nNote that this method does not allow you to update the state of the agent\nthe given version points to. It allows you to update only mutable\nproperties of the version resource.", - "file": "VersionsClient/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient.UpdateVersion", + "method": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", + "service": { + "fullName": "google.cloud.dialogflow.v2beta1.Versions", + "shortName": "Versions" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dialogflowpb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "dialogflowpb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dialogflowpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion updates the specified agent version.\n\nNote that this method does not allow you to update the state of the agent\nthe given version points to. It allows you to update only mutable\nproperties of the version resource.", + "file": "VersionsClient/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v2beta1_generated_Versions_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json index 2fc7e26f3d2e..b464358427bc 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json @@ -1,10828 +1,10828 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dialogflow/cx/apiv3", - "version": "1.76.0", - "language": "GO", "apis": [ { "id": "google.cloud.dialogflow.cx.v3", "version": "v3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dialogflow/cx/apiv3", + "version": "1.76.0" }, "snippets": [ { - "regionTag": "dialogflow_v3_generated_Agents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_CreateAgent_sync", - "title": "dialogflow CreateAgent Sample", - "description": "CreateAgent creates an agent in the specified location.\n\nNote: You should always train flows prior to sending them queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "AgentsClient/CreateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.CreateAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "CreateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "CreateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "CreateAgent" }, + "description": "CreateAgent creates an agent in the specified location.\n\nNote: You should always train flows prior to sending them queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "AgentsClient/CreateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_CreateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_DeleteAgent_sync", - "title": "dialogflow DeleteAgent Sample", - "description": "DeleteAgent deletes the specified agent.", - "file": "AgentsClient/DeleteAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.DeleteAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "DeleteAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "DeleteAgent" }, + "description": "DeleteAgent deletes the specified agent.", + "file": "AgentsClient/DeleteAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_DeleteAgent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_ExportAgent_sync", - "title": "dialogflow ExportAgent Sample", - "description": "ExportAgent exports the specified agent to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]", - "file": "AgentsClient/ExportAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.ExportAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "ExportAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "ExportAgent" }, + "description": "ExportAgent exports the specified agent to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]", + "file": "AgentsClient/ExportAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_ExportAgent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_GetAgent_sync", - "title": "dialogflow GetAgent Sample", - "description": "GetAgent retrieves the specified agent.", - "file": "AgentsClient/GetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.GetAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "GetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "GetAgent" }, + "description": "GetAgent retrieves the specified agent.", + "file": "AgentsClient/GetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_GetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_GetAgentValidationResult_sync", - "title": "dialogflow GetAgentValidationResult Sample", - "description": "GetAgentValidationResult gets the latest agent validation result. Agent validation is performed\nwhen ValidateAgent is called.", - "file": "AgentsClient/GetAgentValidationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgentValidationResult", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.GetAgentValidationResult", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "GetAgentValidationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetAgentValidationResultRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetAgentValidationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetAgentValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "GetAgentValidationResult" }, + "description": "GetAgentValidationResult gets the latest agent validation result. Agent validation is performed\nwhen ValidateAgent is called.", + "file": "AgentsClient/GetAgentValidationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_GetAgentValidationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAgentValidationResult Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_GetGenerativeSettings_sync", - "title": "dialogflow GetGenerativeSettings Sample", - "description": "GetGenerativeSettings gets the generative settings for the agent.", - "file": "AgentsClient/GetGenerativeSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerativeSettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.GetGenerativeSettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "GetGenerativeSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetGenerativeSettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetGenerativeSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "GetGenerativeSettings" }, + "description": "GetGenerativeSettings gets the generative settings for the agent.", + "file": "AgentsClient/GetGenerativeSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_GetGenerativeSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGenerativeSettings Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AgentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AgentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_ListAgents_sync", - "title": "dialogflow ListAgents Sample", - "description": "ListAgents returns the list of all agents in the specified location.", - "file": "AgentsClient/ListAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAgents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.ListAgents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "ListAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListAgentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ListAgents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "ListAgents" }, + "description": "ListAgents returns the list of all agents in the specified location.", + "file": "AgentsClient/ListAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_ListAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListAgents Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AgentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AgentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_RestoreAgent_sync", - "title": "dialogflow RestoreAgent Sample", - "description": "RestoreAgent restores the specified agent from a binary file.\n\nReplaces the current agent with a new one. Note that all existing resources\nin agent (e.g. intents, entity types, flows) will be removed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train flows prior to sending them queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "AgentsClient/RestoreAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.RestoreAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "RestoreAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RestoreAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.RestoreAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "RestoreAgent" }, + "description": "RestoreAgent restores the specified agent from a binary file.\n\nReplaces the current agent with a new one. Note that all existing resources\nin agent (e.g. intents, entity types, flows) will be removed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train flows prior to sending them queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "AgentsClient/RestoreAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_RestoreAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestoreAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_UpdateAgent_sync", - "title": "dialogflow UpdateAgent Sample", - "description": "UpdateAgent updates the specified agent.\n\nNote: You should always train flows prior to sending them queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "AgentsClient/UpdateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.UpdateAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "UpdateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "UpdateAgent" }, + "description": "UpdateAgent updates the specified agent.\n\nNote: You should always train flows prior to sending them queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "AgentsClient/UpdateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_UpdateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_UpdateGenerativeSettings_sync", - "title": "dialogflow UpdateGenerativeSettings Sample", - "description": "UpdateGenerativeSettings updates the generative settings for the agent.", - "file": "AgentsClient/UpdateGenerativeSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeSettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.UpdateGenerativeSettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "UpdateGenerativeSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateGenerativeSettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateGenerativeSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "UpdateGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "UpdateGenerativeSettings" }, + "description": "UpdateGenerativeSettings updates the generative settings for the agent.", + "file": "AgentsClient/UpdateGenerativeSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_UpdateGenerativeSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateGenerativeSettings Sample" }, { - "regionTag": "dialogflow_v3_generated_Agents_ValidateAgent_sync", - "title": "dialogflow ValidateAgent Sample", - "description": "ValidateAgent validates the specified agent and creates or updates validation results.\nThe agent in draft version is validated. Please call this API after the\ntraining is completed to get the complete validation results.", - "file": "AgentsClient/ValidateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient.ValidateAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "shortName": "Agents" + }, + "shortName": "ValidateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ValidateAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.ValidateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ValidateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } + "shortName": "ValidateAgent" }, + "description": "ValidateAgent validates the specified agent and creates or updates validation results.\nThe agent in draft version is validated. Please call this API after the\ntraining is completed to get the complete validation results.", + "file": "AgentsClient/ValidateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Agents_ValidateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ValidateAgent Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ChangelogsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ChangelogsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_GetChangelog_sync", - "title": "dialogflow GetChangelog Sample", - "description": "GetChangelog retrieves the specified Changelog.", - "file": "ChangelogsClient/GetChangelog/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChangelog", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.GetChangelog", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs", + "shortName": "Changelogs" + }, + "shortName": "GetChangelog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetChangelogRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetChangelogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Changelog", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "GetChangelog", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs" - } - } + "shortName": "GetChangelog" }, + "description": "GetChangelog retrieves the specified Changelog.", + "file": "ChangelogsClient/GetChangelog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_GetChangelog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetChangelog Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ChangelogsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ChangelogsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ChangelogsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ChangelogsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_ListChangelogs_sync", - "title": "dialogflow ListChangelogs Sample", - "description": "ListChangelogs returns the list of Changelogs.", - "file": "ChangelogsClient/ListChangelogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChangelogs", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.ListChangelogs", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs", + "shortName": "Changelogs" + }, + "shortName": "ListChangelogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListChangelogsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListChangelogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangelogIterator", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs" - } - } + "shortName": "ListChangelogs" }, + "description": "ListChangelogs returns the list of Changelogs.", + "file": "ChangelogsClient/ListChangelogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_ListChangelogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListChangelogs Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ChangelogsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ChangelogsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Changelogs_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ChangelogsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ChangelogsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Changelogs_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_GetDeployment_sync", - "title": "dialogflow GetDeployment Sample", - "description": "GetDeployment retrieves the specified\n[Deployment][google.cloud.dialogflow.cx.v3.Deployment].", - "file": "DeploymentsClient/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.GetDeployment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Deployments.GetDeployment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Deployments", + "shortName": "Deployments" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Deployment", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments.GetDeployment", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment retrieves the specified\n[Deployment][google.cloud.dialogflow.cx.v3.Deployment].", + "file": "DeploymentsClient/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetDeployment Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DeploymentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DeploymentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_ListDeployments_sync", - "title": "dialogflow ListDeployments Sample", - "description": "ListDeployments returns the list of all deployments in the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", - "file": "DeploymentsClient/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.ListDeployments", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Deployments.ListDeployments", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Deployments", + "shortName": "Deployments" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments.ListDeployments", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments returns the list of all deployments in the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", + "file": "DeploymentsClient/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListDeployments Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "DeploymentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "DeploymentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Deployments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DeploymentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DeploymentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Deployments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_CreateEntityType_sync", - "title": "dialogflow CreateEntityType Sample", - "description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "EntityTypesClient/CreateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.CreateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "CreateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "CreateEntityType" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateEntityType creates an entity type in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "EntityTypesClient/CreateEntityType/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_CreateEntityType_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_DeleteEntityType_sync", - "title": "dialogflow DeleteEntityType Sample", - "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "EntityTypesClient/DeleteEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.DeleteEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "DeleteEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "DeleteEntityType" }, + "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "EntityTypesClient/DeleteEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_DeleteEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_ExportEntityTypes_sync", - "title": "dialogflow ExportEntityTypes Sample", - "description": "ExportEntityTypes exports the selected entity types.", - "file": "EntityTypesClient/ExportEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.ExportEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ExportEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ExportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "ExportEntityTypes" }, + "description": "ExportEntityTypes exports the selected entity types.", + "file": "EntityTypesClient/ExportEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_ExportEntityTypes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportEntityTypes Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_GetEntityType_sync", - "title": "dialogflow GetEntityType Sample", - "description": "GetEntityType retrieves the specified entity type.", - "file": "EntityTypesClient/GetEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.GetEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "GetEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "GetEntityType" }, + "description": "GetEntityType retrieves the specified entity type.", + "file": "EntityTypesClient/GetEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_GetEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_ImportEntityTypes_sync", - "title": "dialogflow ImportEntityTypes Sample", - "description": "ImportEntityTypes imports the specified entitytypes into the agent.", - "file": "EntityTypesClient/ImportEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.ImportEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ImportEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ImportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "ImportEntityTypes" }, + "description": "ImportEntityTypes imports the specified entitytypes into the agent.", + "file": "EntityTypesClient/ImportEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_ImportEntityTypes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportEntityTypes Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_ListEntityTypes_sync", - "title": "dialogflow ListEntityTypes Sample", - "description": "ListEntityTypes returns the list of all entity types in the specified agent.", - "file": "EntityTypesClient/ListEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.ListEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ListEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityTypeIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "ListEntityTypes" }, + "description": "ListEntityTypes returns the list of all entity types in the specified agent.", + "file": "EntityTypesClient/ListEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_ListEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEntityTypes Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_EntityTypes_UpdateEntityType_sync", - "title": "dialogflow UpdateEntityType Sample", - "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "EntityTypesClient/UpdateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient.UpdateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "UpdateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } + "shortName": "UpdateEntityType" }, + "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "EntityTypesClient/UpdateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_EntityTypes_UpdateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_CreateEnvironment_sync", - "title": "dialogflow CreateEnvironment Sample", - "description": "CreateEnvironment creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the\nspecified [Agent][google.cloud.dialogflow.cx.v3.Agent].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", - "file": "EnvironmentsClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the\nspecified [Agent][google.cloud.dialogflow.cx.v3.Agent].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", + "file": "EnvironmentsClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEnvironment Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_DeleteEnvironment_sync", - "title": "dialogflow DeleteEnvironment Sample", - "description": "DeleteEnvironment deletes the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", - "file": "EnvironmentsClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "DeleteEnvironment" }, + "description": "DeleteEnvironment deletes the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", + "file": "EnvironmentsClient/DeleteEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_DeleteEnvironment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEnvironment Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_DeployFlow_sync", - "title": "dialogflow DeployFlow Sample", - "description": "DeployFlow deploys a flow to the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata]\n- `response`: \n[DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]", - "file": "EnvironmentsClient/DeployFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.DeployFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeployFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "DeployFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeployFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeployFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployFlowOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "DeployFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeployFlow", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "DeployFlow" }, + "description": "DeployFlow deploys a flow to the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata]\n- `response`: \n[DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]", + "file": "EnvironmentsClient/DeployFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_DeployFlow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeployFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_GetEnvironment_sync", - "title": "dialogflow GetEnvironment Sample", - "description": "GetEnvironment retrieves the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", - "file": "EnvironmentsClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.GetEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment retrieves the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", + "file": "EnvironmentsClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEnvironment Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EnvironmentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EnvironmentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_ListContinuousTestResults_sync", - "title": "dialogflow ListContinuousTestResults Sample", - "description": "ListContinuousTestResults fetches a list of continuous test results for a given environment.", - "file": "EnvironmentsClient/ListContinuousTestResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContinuousTestResults", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.ListContinuousTestResults", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "ListContinuousTestResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListContinuousTestResultsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListContinuousTestResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContinuousTestResultIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "ListContinuousTestResults", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "ListContinuousTestResults" }, + "description": "ListContinuousTestResults fetches a list of continuous test results for a given environment.", + "file": "EnvironmentsClient/ListContinuousTestResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_ListContinuousTestResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListContinuousTestResults Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_ListEnvironments_sync", - "title": "dialogflow ListEnvironments Sample", - "description": "ListEnvironments returns the list of all environments in the specified\n[Agent][google.cloud.dialogflow.cx.v3.Agent].", - "file": "EnvironmentsClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.ListEnvironments", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "ListEnvironments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments returns the list of all environments in the specified\n[Agent][google.cloud.dialogflow.cx.v3.Agent].", + "file": "EnvironmentsClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEnvironments Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EnvironmentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EnvironmentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_LookupEnvironmentHistory_sync", - "title": "dialogflow LookupEnvironmentHistory Sample", - "description": "LookupEnvironmentHistory looks up the history of the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", - "file": "EnvironmentsClient/LookupEnvironmentHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEnvironmentHistory", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.LookupEnvironmentHistory", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "LookupEnvironmentHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.LookupEnvironmentHistoryRequest", - "name": "req" + "name": "req", + "type": "cxpb.LookupEnvironmentHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "LookupEnvironmentHistory", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "LookupEnvironmentHistory" }, + "description": "LookupEnvironmentHistory looks up the history of the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", + "file": "EnvironmentsClient/LookupEnvironmentHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_LookupEnvironmentHistory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow LookupEnvironmentHistory Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_RunContinuousTest_sync", - "title": "dialogflow RunContinuousTest Sample", - "description": "RunContinuousTest kicks off a continuous test under the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata]\n- `response`: \n[RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]", - "file": "EnvironmentsClient/RunContinuousTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunContinuousTest", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.RunContinuousTest", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "RunContinuousTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RunContinuousTestRequest", - "name": "req" + "name": "req", + "type": "cxpb.RunContinuousTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunContinuousTestOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "RunContinuousTest", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "RunContinuousTest" }, + "description": "RunContinuousTest kicks off a continuous test under the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata]\n- `response`: \n[RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]", + "file": "EnvironmentsClient/RunContinuousTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_RunContinuousTest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RunContinuousTest Sample" }, { - "regionTag": "dialogflow_v3_generated_Environments_UpdateEnvironment_sync", - "title": "dialogflow UpdateEnvironment Sample", - "description": "UpdateEnvironment updates the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", - "file": "EnvironmentsClient/UpdateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient.UpdateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } + "shortName": "UpdateEnvironment" }, + "description": "UpdateEnvironment updates the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", + "file": "EnvironmentsClient/UpdateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Environments_UpdateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEnvironment Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExamplesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExamplesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_CreateExample_sync", - "title": "dialogflow CreateExample Sample", - "description": "CreateExample creates an example in the specified playbook.", - "file": "ExamplesClient/CreateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.CreateExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples.CreateExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples", + "shortName": "Examples" + }, + "shortName": "CreateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "CreateExample", - "fullName": "google.cloud.dialogflow.cx.v3.Examples.CreateExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3.Examples" - } - } + "shortName": "CreateExample" }, + "description": "CreateExample creates an example in the specified playbook.", + "file": "ExamplesClient/CreateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_CreateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateExample Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_DeleteExample_sync", - "title": "dialogflow DeleteExample Sample", - "description": "DeleteExample deletes the specified example.", - "file": "ExamplesClient/DeleteExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.DeleteExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples.DeleteExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples", + "shortName": "Examples" + }, + "shortName": "DeleteExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "DeleteExample", - "fullName": "google.cloud.dialogflow.cx.v3.Examples.DeleteExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3.Examples" - } - } + "shortName": "DeleteExample" }, + "description": "DeleteExample deletes the specified example.", + "file": "ExamplesClient/DeleteExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_DeleteExample_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteExample Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_GetExample_sync", - "title": "dialogflow GetExample Sample", - "description": "GetExample retrieves the specified example.", - "file": "ExamplesClient/GetExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.GetExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples.GetExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples", + "shortName": "Examples" + }, + "shortName": "GetExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "GetExample", - "fullName": "google.cloud.dialogflow.cx.v3.Examples.GetExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3.Examples" - } - } + "shortName": "GetExample" }, + "description": "GetExample retrieves the specified example.", + "file": "ExamplesClient/GetExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_GetExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetExample Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExamplesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExamplesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExamplesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExamplesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_ListExamples_sync", - "title": "dialogflow ListExamples Sample", - "description": "ListExamples returns a list of examples in the specified playbook.", - "file": "ExamplesClient/ListExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExamples", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.ListExamples", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples.ListExamples", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples", + "shortName": "Examples" + }, + "shortName": "ListExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListExamplesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.dialogflow.cx.v3.Examples.ListExamples", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3.Examples" - } - } + "shortName": "ListExamples" }, + "description": "ListExamples returns a list of examples in the specified playbook.", + "file": "ExamplesClient/ListExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_ListExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListExamples Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ExamplesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.ListLocations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ExamplesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExamplesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExamplesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Examples_UpdateExample_sync", - "title": "dialogflow UpdateExample Sample", - "description": "UpdateExample update the specified example.", - "file": "ExamplesClient/UpdateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient.UpdateExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples.UpdateExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Examples", + "shortName": "Examples" + }, + "shortName": "UpdateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExamplesClient" - }, - "method": { - "shortName": "UpdateExample", - "fullName": "google.cloud.dialogflow.cx.v3.Examples.UpdateExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3.Examples" - } - } + "shortName": "UpdateExample" }, + "description": "UpdateExample update the specified example.", + "file": "ExamplesClient/UpdateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Examples_UpdateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateExample Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExperimentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExperimentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_CreateExperiment_sync", - "title": "dialogflow CreateExperiment Sample", - "description": "CreateExperiment creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the\nspecified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "file": "ExperimentsClient/CreateExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.CreateExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "CreateExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "CreateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "CreateExperiment" }, + "description": "CreateExperiment creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the\nspecified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "file": "ExperimentsClient/CreateExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_CreateExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateExperiment Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_DeleteExperiment_sync", - "title": "dialogflow DeleteExperiment Sample", - "description": "DeleteExperiment deletes the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment].", - "file": "ExperimentsClient/DeleteExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.DeleteExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "DeleteExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "DeleteExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "DeleteExperiment" }, + "description": "DeleteExperiment deletes the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment].", + "file": "ExperimentsClient/DeleteExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_DeleteExperiment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteExperiment Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_GetExperiment_sync", - "title": "dialogflow GetExperiment Sample", - "description": "GetExperiment retrieves the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment].", - "file": "ExperimentsClient/GetExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.GetExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "GetExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "GetExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "GetExperiment" }, + "description": "GetExperiment retrieves the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment].", + "file": "ExperimentsClient/GetExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_GetExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetExperiment Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExperimentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExperimentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExperimentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExperimentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_ListExperiments_sync", - "title": "dialogflow ListExperiments Sample", - "description": "ListExperiments returns the list of all experiments in the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", - "file": "ExperimentsClient/ListExperiments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExperiments", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.ListExperiments", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "ListExperiments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListExperimentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListExperimentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExperimentIterator", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "ListExperiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "ListExperiments" }, + "description": "ListExperiments returns the list of all experiments in the specified\n[Environment][google.cloud.dialogflow.cx.v3.Environment].", + "file": "ExperimentsClient/ListExperiments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_ListExperiments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListExperiments Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ExperimentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ExperimentsClient/ListLocations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_ListLocations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExperimentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExperimentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_StartExperiment_sync", - "title": "dialogflow StartExperiment Sample", - "description": "StartExperiment starts the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only\nchanges the state of experiment from PENDING to RUNNING.", - "file": "ExperimentsClient/StartExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.StartExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "StartExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.StartExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.StartExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "StartExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "StartExperiment" }, + "description": "StartExperiment starts the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only\nchanges the state of experiment from PENDING to RUNNING.", + "file": "ExperimentsClient/StartExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_StartExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StartExperiment Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_StopExperiment_sync", - "title": "dialogflow StopExperiment Sample", - "description": "StopExperiment stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].\nThis rpc only changes the state of experiment from RUNNING to DONE.", - "file": "ExperimentsClient/StopExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.StopExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "StopExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.StopExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.StopExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "StopExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "StopExperiment" }, + "description": "StopExperiment stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].\nThis rpc only changes the state of experiment from RUNNING to DONE.", + "file": "ExperimentsClient/StopExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_StopExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StopExperiment Sample" }, { - "regionTag": "dialogflow_v3_generated_Experiments_UpdateExperiment_sync", - "title": "dialogflow UpdateExperiment Sample", - "description": "UpdateExperiment updates the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment].", - "file": "ExperimentsClient/UpdateExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient.UpdateExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "shortName": "Experiments" + }, + "shortName": "UpdateExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "UpdateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } + "shortName": "UpdateExperiment" }, + "description": "UpdateExperiment updates the specified\n[Experiment][google.cloud.dialogflow.cx.v3.Experiment].", + "file": "ExperimentsClient/UpdateExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Experiments_UpdateExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateExperiment Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FlowsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FlowsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_CreateFlow_sync", - "title": "dialogflow CreateFlow Sample", - "description": "CreateFlow creates a flow in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/CreateFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.CreateFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "CreateFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "CreateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "CreateFlow" }, + "description": "CreateFlow creates a flow in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/CreateFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_CreateFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_DeleteFlow_sync", - "title": "dialogflow DeleteFlow Sample", - "description": "DeleteFlow deletes a specified flow.", - "file": "FlowsClient/DeleteFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.DeleteFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "DeleteFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "DeleteFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "DeleteFlow" }, + "description": "DeleteFlow deletes a specified flow.", + "file": "FlowsClient/DeleteFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_DeleteFlow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_ExportFlow_sync", - "title": "dialogflow ExportFlow Sample", - "description": "ExportFlow exports the specified flow to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse]\n\nNote that resources (e.g. intents, entities, webhooks) that the flow\nreferences will also be exported.", - "file": "FlowsClient/ExportFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.ExportFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "ExportFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportFlowOperation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ExportFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "ExportFlow" }, + "description": "ExportFlow exports the specified flow to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse]\n\nNote that resources (e.g. intents, entities, webhooks) that the flow\nreferences will also be exported.", + "file": "FlowsClient/ExportFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_ExportFlow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_GetFlow_sync", - "title": "dialogflow GetFlow Sample", - "description": "GetFlow retrieves the specified flow.", - "file": "FlowsClient/GetFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.GetFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "GetFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "GetFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "GetFlow" }, + "description": "GetFlow retrieves the specified flow.", + "file": "FlowsClient/GetFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_GetFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_GetFlowValidationResult_sync", - "title": "dialogflow GetFlowValidationResult Sample", - "description": "GetFlowValidationResult gets the latest flow validation result. Flow validation is performed\nwhen ValidateFlow is called.", - "file": "FlowsClient/GetFlowValidationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFlowValidationResult", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.GetFlowValidationResult", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "GetFlowValidationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetFlowValidationResultRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetFlowValidationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "GetFlowValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "GetFlowValidationResult" }, + "description": "GetFlowValidationResult gets the latest flow validation result. Flow validation is performed\nwhen ValidateFlow is called.", + "file": "FlowsClient/GetFlowValidationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_GetFlowValidationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetFlowValidationResult Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FlowsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FlowsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FlowsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FlowsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_ImportFlow_sync", - "title": "dialogflow ImportFlow Sample", - "description": "ImportFlow imports the specified flow to the specified agent from a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse]\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/ImportFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.ImportFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "ImportFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportFlowOperation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ImportFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "ImportFlow" }, + "description": "ImportFlow imports the specified flow to the specified agent from a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse]\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/ImportFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_ImportFlow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_ListFlows_sync", - "title": "dialogflow ListFlows Sample", - "description": "ListFlows returns the list of all flows in the specified agent.", - "file": "FlowsClient/ListFlows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFlows", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.ListFlows", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "ListFlows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListFlowsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListFlowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FlowIterator", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ListFlows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "ListFlows" }, + "description": "ListFlows returns the list of all flows in the specified agent.", + "file": "FlowsClient/ListFlows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_ListFlows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListFlows Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "FlowsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "FlowsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FlowsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FlowsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_TrainFlow_sync", - "title": "dialogflow TrainFlow Sample", - "description": "TrainFlow trains the specified flow. Note that only the flow in 'draft' environment\nis trained.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/TrainFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.TrainFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "TrainFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.TrainFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.TrainFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainFlowOperation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "TrainFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "TrainFlow" }, + "description": "TrainFlow trains the specified flow. Note that only the flow in 'draft' environment\nis trained.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/TrainFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_TrainFlow_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow TrainFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_UpdateFlow_sync", - "title": "dialogflow UpdateFlow Sample", - "description": "UpdateFlow updates the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/UpdateFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.UpdateFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "UpdateFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "UpdateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "UpdateFlow" }, + "description": "UpdateFlow updates the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/UpdateFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_UpdateFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Flows_ValidateFlow_sync", - "title": "dialogflow ValidateFlow Sample", - "description": "ValidateFlow validates the specified flow and creates or updates validation results.\nPlease call this API after the training is completed to get the complete\nvalidation results.", - "file": "FlowsClient/ValidateFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient.ValidateFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "shortName": "Flows" + }, + "shortName": "ValidateFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ValidateFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.ValidateFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ValidateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } + "shortName": "ValidateFlow" }, + "description": "ValidateFlow validates the specified flow and creates or updates validation results.\nPlease call this API after the training is completed to get the complete\nvalidation results.", + "file": "FlowsClient/ValidateFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Flows_ValidateFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ValidateFlow Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_CreateGenerator_sync", - "title": "dialogflow CreateGenerator Sample", - "description": "CreateGenerator creates a generator in the specified agent.", - "file": "GeneratorsClient/CreateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.CreateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators", + "shortName": "Generators" + }, + "shortName": "CreateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } + "shortName": "CreateGenerator" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateGenerator creates a generator in the specified agent.", + "file": "GeneratorsClient/CreateGenerator/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_CreateGenerator_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateGenerator Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_DeleteGenerator_sync", - "title": "dialogflow DeleteGenerator Sample", - "description": "DeleteGenerator deletes the specified generators.", - "file": "GeneratorsClient/DeleteGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.DeleteGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators", + "shortName": "Generators" + }, + "shortName": "DeleteGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } + "shortName": "DeleteGenerator" }, + "description": "DeleteGenerator deletes the specified generators.", + "file": "GeneratorsClient/DeleteGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_DeleteGenerator_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteGenerator Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_GetGenerator_sync", - "title": "dialogflow GetGenerator Sample", - "description": "GetGenerator retrieves the specified generator.", - "file": "GeneratorsClient/GetGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.GetGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators", + "shortName": "Generators" + }, + "shortName": "GetGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } + "shortName": "GetGenerator" }, + "description": "GetGenerator retrieves the specified generator.", + "file": "GeneratorsClient/GetGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_GetGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGenerator Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GeneratorsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GeneratorsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_ListGenerators_sync", - "title": "dialogflow ListGenerators Sample", - "description": "ListGenerators returns the list of all generators in the specified agent.", - "file": "GeneratorsClient/ListGenerators/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerators", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.ListGenerators", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators", + "shortName": "Generators" + }, + "shortName": "ListGenerators" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListGeneratorsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListGeneratorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GeneratorIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } + "shortName": "ListGenerators" }, + "description": "ListGenerators returns the list of all generators in the specified agent.", + "file": "GeneratorsClient/ListGenerators/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_ListGenerators_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListGenerators Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "GeneratorsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "GeneratorsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Generators_UpdateGenerator_sync", - "title": "dialogflow UpdateGenerator Sample", - "description": "UpdateGenerator update the specified generator.", - "file": "GeneratorsClient/UpdateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient.UpdateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Generators", + "shortName": "Generators" + }, + "shortName": "UpdateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } + "shortName": "UpdateGenerator" }, + "description": "UpdateGenerator update the specified generator.", + "file": "GeneratorsClient/UpdateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Generators_UpdateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateGenerator Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_CreateIntent_sync", - "title": "dialogflow CreateIntent Sample", - "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "IntentsClient/CreateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.CreateIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "CreateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "CreateIntent" }, + "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "IntentsClient/CreateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_CreateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_DeleteIntent_sync", - "title": "dialogflow DeleteIntent Sample", - "description": "DeleteIntent deletes the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "IntentsClient/DeleteIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.DeleteIntent", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "DeleteIntent" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "DeleteIntent" }, + "description": "DeleteIntent deletes the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "IntentsClient/DeleteIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_DeleteIntent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_ExportIntents_sync", - "title": "dialogflow ExportIntents Sample", - "description": "ExportIntents exports the selected intents.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata]\n- `response`: \n[ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]", - "file": "IntentsClient/ExportIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportIntents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.ExportIntents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "ExportIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportIntentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ExportIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "ExportIntents" }, + "description": "ExportIntents exports the selected intents.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata]\n- `response`: \n[ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]", + "file": "IntentsClient/ExportIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_ExportIntents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportIntents Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_GetIntent_sync", - "title": "dialogflow GetIntent Sample", - "description": "GetIntent retrieves the specified intent.", - "file": "IntentsClient/GetIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.GetIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "GetIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "GetIntent" }, + "description": "GetIntent retrieves the specified intent.", + "file": "IntentsClient/GetIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_GetIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IntentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IntentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_ImportIntents_sync", - "title": "dialogflow ImportIntents Sample", - "description": "ImportIntents imports the specified intents into the agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata]\n- `response`: \n[ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]", - "file": "IntentsClient/ImportIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportIntents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.ImportIntents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "ImportIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportIntentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ImportIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "ImportIntents" }, + "description": "ImportIntents imports the specified intents into the agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata]\n- `response`: \n[ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]", + "file": "IntentsClient/ImportIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_ImportIntents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportIntents Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_ListIntents_sync", - "title": "dialogflow ListIntents Sample", - "description": "ListIntents returns the list of all intents in the specified agent.", - "file": "IntentsClient/ListIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIntents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.ListIntents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "ListIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListIntentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IntentIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "ListIntents" }, + "description": "ListIntents returns the list of all intents in the specified agent.", + "file": "IntentsClient/ListIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_ListIntents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListIntents Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "IntentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "IntentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Intents_UpdateIntent_sync", - "title": "dialogflow UpdateIntent Sample", - "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "IntentsClient/UpdateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient.UpdateIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "shortName": "Intents" + }, + "shortName": "UpdateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } + "shortName": "UpdateIntent" }, + "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "IntentsClient/UpdateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Intents_UpdateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PagesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PagesClient/CancelOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_CancelOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_CreatePage_sync", - "title": "dialogflow CreatePage Sample", - "description": "CreatePage creates a page in the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "PagesClient/CreatePage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.CreatePage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages", + "shortName": "Pages" + }, + "shortName": "CreatePage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreatePageRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreatePageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "CreatePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } + "shortName": "CreatePage" }, + "description": "CreatePage creates a page in the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "PagesClient/CreatePage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_CreatePage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreatePage Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_DeletePage_sync", - "title": "dialogflow DeletePage Sample", - "description": "DeletePage deletes the specified page.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "PagesClient/DeletePage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.DeletePage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages", + "shortName": "Pages" + }, + "shortName": "DeletePage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeletePageRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeletePageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "DeletePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } + "shortName": "DeletePage" }, + "description": "DeletePage deletes the specified page.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "PagesClient/DeletePage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_DeletePage_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePage Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PagesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PagesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PagesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PagesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_GetPage_sync", - "title": "dialogflow GetPage Sample", - "description": "GetPage retrieves the specified page.", - "file": "PagesClient/GetPage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.GetPage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages", + "shortName": "Pages" + }, + "shortName": "GetPage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetPageRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetPageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "GetPage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } + "shortName": "GetPage" }, + "description": "GetPage retrieves the specified page.", + "file": "PagesClient/GetPage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_GetPage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetPage Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "PagesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "PagesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PagesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PagesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_ListPages_sync", - "title": "dialogflow ListPages Sample", - "description": "ListPages returns the list of all pages in the specified flow.", - "file": "PagesClient/ListPages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPages", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.ListPages", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages", + "shortName": "Pages" + }, + "shortName": "ListPages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListPagesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListPagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PageIterator", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "ListPages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } + "shortName": "ListPages" }, + "description": "ListPages returns the list of all pages in the specified flow.", + "file": "PagesClient/ListPages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_ListPages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPages Sample" }, { - "regionTag": "dialogflow_v3_generated_Pages_UpdatePage_sync", - "title": "dialogflow UpdatePage Sample", - "description": "UpdatePage updates the specified page.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "PagesClient/UpdatePage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PagesClient.UpdatePage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Pages", + "shortName": "Pages" + }, + "shortName": "UpdatePage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdatePageRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdatePageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "UpdatePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } + "shortName": "UpdatePage" }, + "description": "UpdatePage updates the specified page.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "PagesClient/UpdatePage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Pages_UpdatePage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdatePage Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PlaybooksClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PlaybooksClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_CreatePlaybook_sync", - "title": "dialogflow CreatePlaybook Sample", - "description": "CreatePlaybook creates a playbook in a specified agent.", - "file": "PlaybooksClient/CreatePlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.CreatePlaybook", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.CreatePlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "CreatePlaybook" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreatePlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreatePlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "CreatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.CreatePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "CreatePlaybook" }, + "description": "CreatePlaybook creates a playbook in a specified agent.", + "file": "PlaybooksClient/CreatePlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_CreatePlaybook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreatePlaybook Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_CreatePlaybookVersion_sync", - "title": "dialogflow CreatePlaybookVersion Sample", - "description": "CreatePlaybookVersion creates a version for the specified Playbook.", - "file": "PlaybooksClient/CreatePlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.CreatePlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.CreatePlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "CreatePlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreatePlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreatePlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.PlaybookVersion", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "CreatePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.CreatePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "CreatePlaybookVersion" }, + "description": "CreatePlaybookVersion creates a version for the specified Playbook.", + "file": "PlaybooksClient/CreatePlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_CreatePlaybookVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreatePlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_DeletePlaybook_sync", - "title": "dialogflow DeletePlaybook Sample", - "description": "DeletePlaybook deletes a specified playbook.", - "file": "PlaybooksClient/DeletePlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.DeletePlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.DeletePlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "DeletePlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeletePlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeletePlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "DeletePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.DeletePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "DeletePlaybook" }, + "description": "DeletePlaybook deletes a specified playbook.", + "file": "PlaybooksClient/DeletePlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_DeletePlaybook_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePlaybook Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_DeletePlaybookVersion_sync", - "title": "dialogflow DeletePlaybookVersion Sample", - "description": "DeletePlaybookVersion deletes the specified version of the Playbook.", - "file": "PlaybooksClient/DeletePlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.DeletePlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.DeletePlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "DeletePlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeletePlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeletePlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "DeletePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.DeletePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "DeletePlaybookVersion" }, + "description": "DeletePlaybookVersion deletes the specified version of the Playbook.", + "file": "PlaybooksClient/DeletePlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_DeletePlaybookVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_ExportPlaybook_sync", - "title": "dialogflow ExportPlaybook Sample", - "description": "ExportPlaybook exports the specified playbook to a binary file.\n\nNote that resources (e.g. examples, tools) that the playbook\nreferences will also be exported.", - "file": "PlaybooksClient/ExportPlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportPlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.ExportPlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ExportPlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ExportPlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportPlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportPlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportPlaybookOperation", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "ExportPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ExportPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "ExportPlaybook" }, + "description": "ExportPlaybook exports the specified playbook to a binary file.\n\nNote that resources (e.g. examples, tools) that the playbook\nreferences will also be exported.", + "file": "PlaybooksClient/ExportPlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_ExportPlaybook_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportPlaybook Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PlaybooksClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PlaybooksClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PlaybooksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PlaybooksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_GetPlaybook_sync", - "title": "dialogflow GetPlaybook Sample", - "description": "GetPlaybook retrieves the specified Playbook.", - "file": "PlaybooksClient/GetPlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.GetPlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.GetPlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "GetPlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetPlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetPlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "GetPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.GetPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "GetPlaybook" }, + "description": "GetPlaybook retrieves the specified Playbook.", + "file": "PlaybooksClient/GetPlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_GetPlaybook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetPlaybook Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_GetPlaybookVersion_sync", - "title": "dialogflow GetPlaybookVersion Sample", - "description": "GetPlaybookVersion retrieves the specified version of the Playbook.", - "file": "PlaybooksClient/GetPlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.GetPlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.GetPlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "GetPlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetPlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetPlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.PlaybookVersion", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "GetPlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.GetPlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "GetPlaybookVersion" }, + "description": "GetPlaybookVersion retrieves the specified version of the Playbook.", + "file": "PlaybooksClient/GetPlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_GetPlaybookVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetPlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_ImportPlaybook_sync", - "title": "dialogflow ImportPlaybook Sample", - "description": "ImportPlaybook imports the specified playbook to the specified agent from a binary file.", - "file": "PlaybooksClient/ImportPlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportPlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.ImportPlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ImportPlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ImportPlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportPlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportPlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportPlaybookOperation", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "ImportPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ImportPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "ImportPlaybook" }, + "description": "ImportPlaybook imports the specified playbook to the specified agent from a binary file.", + "file": "PlaybooksClient/ImportPlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_ImportPlaybook_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportPlaybook Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "PlaybooksClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "PlaybooksClient/ListLocations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_ListLocations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PlaybooksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PlaybooksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_ListPlaybookVersions_sync", - "title": "dialogflow ListPlaybookVersions Sample", - "description": "ListPlaybookVersions lists versions for the specified Playbook.", - "file": "PlaybooksClient/ListPlaybookVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPlaybookVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.ListPlaybookVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybookVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ListPlaybookVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListPlaybookVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListPlaybookVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PlaybookVersionIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "ListPlaybookVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybookVersions", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "ListPlaybookVersions" }, + "description": "ListPlaybookVersions lists versions for the specified Playbook.", + "file": "PlaybooksClient/ListPlaybookVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_ListPlaybookVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPlaybookVersions Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_ListPlaybooks_sync", - "title": "dialogflow ListPlaybooks Sample", - "description": "ListPlaybooks returns a list of playbooks in the specified agent.", - "file": "PlaybooksClient/ListPlaybooks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPlaybooks", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.ListPlaybooks", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybooks", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ListPlaybooks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListPlaybooksRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListPlaybooksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PlaybookIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "ListPlaybooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybooks", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "ListPlaybooks" }, + "description": "ListPlaybooks returns a list of playbooks in the specified agent.", + "file": "PlaybooksClient/ListPlaybooks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_ListPlaybooks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPlaybooks Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_RestorePlaybookVersion_sync", - "title": "dialogflow RestorePlaybookVersion Sample", - "description": "RestorePlaybookVersion retrieves the specified version of the Playbook and stores it as the\ncurrent playbook draft, returning the playbook with resources updated.", - "file": "PlaybooksClient/RestorePlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestorePlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.RestorePlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.RestorePlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "RestorePlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RestorePlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.RestorePlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.RestorePlaybookVersionResponse", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "RestorePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.RestorePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "RestorePlaybookVersion" }, + "description": "RestorePlaybookVersion retrieves the specified version of the Playbook and stores it as the\ncurrent playbook draft, returning the playbook with resources updated.", + "file": "PlaybooksClient/RestorePlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_RestorePlaybookVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestorePlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Playbooks_UpdatePlaybook_sync", - "title": "dialogflow UpdatePlaybook Sample", - "description": "UpdatePlaybook updates the specified Playbook.", - "file": "PlaybooksClient/UpdatePlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient.UpdatePlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.UpdatePlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "UpdatePlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdatePlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdatePlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.PlaybooksClient" - }, - "method": { - "shortName": "UpdatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks.UpdatePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3.Playbooks" - } - } + "shortName": "UpdatePlaybook" }, + "description": "UpdatePlaybook updates the specified Playbook.", + "file": "PlaybooksClient/UpdatePlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Playbooks_UpdatePlaybook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdatePlaybook Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SecuritySettingsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SecuritySettingsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_CreateSecuritySettings_sync", - "title": "dialogflow CreateSecuritySettings Sample", - "description": "CreateSecuritySettings create security settings in the specified location.", - "file": "SecuritySettingsClient/CreateSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.CreateSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "CreateSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SecuritySettings", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "CreateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } + "shortName": "CreateSecuritySettings" }, + "description": "CreateSecuritySettings create security settings in the specified location.", + "file": "SecuritySettingsClient/CreateSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_CreateSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_DeleteSecuritySettings_sync", - "title": "dialogflow DeleteSecuritySettings Sample", - "description": "DeleteSecuritySettings deletes the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", - "file": "SecuritySettingsClient/DeleteSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.DeleteSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "DeleteSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "DeleteSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } + "shortName": "DeleteSecuritySettings" }, + "description": "DeleteSecuritySettings deletes the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", + "file": "SecuritySettingsClient/DeleteSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_DeleteSecuritySettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SecuritySettingsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SecuritySettingsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SecuritySettingsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SecuritySettingsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetSecuritySettings_sync", - "title": "dialogflow GetSecuritySettings Sample", - "description": "GetSecuritySettings retrieves the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The\nreturned settings may be stale by up to 1 minute.", - "file": "SecuritySettingsClient/GetSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.GetSecuritySettings", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "GetSecuritySettings" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SecuritySettings", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } + "shortName": "GetSecuritySettings" }, + "description": "GetSecuritySettings retrieves the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The\nreturned settings may be stale by up to 1 minute.", + "file": "SecuritySettingsClient/GetSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SecuritySettingsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SecuritySettingsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SecuritySettingsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SecuritySettingsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListSecuritySettings_sync", - "title": "dialogflow ListSecuritySettings Sample", - "description": "ListSecuritySettings returns the list of all security settings in the specified location.", - "file": "SecuritySettingsClient/ListSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.ListSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "ListSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecuritySettingsIterator", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "ListSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } + "shortName": "ListSecuritySettings" }, + "description": "ListSecuritySettings returns the list of all security settings in the specified location.", + "file": "SecuritySettingsClient/ListSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListSecuritySettings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_UpdateSecuritySettings_sync", - "title": "dialogflow UpdateSecuritySettings Sample", - "description": "UpdateSecuritySettings updates the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", - "file": "SecuritySettingsClient/UpdateSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient.UpdateSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "UpdateSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SecuritySettings", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsClient" - }, - "method": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } + "shortName": "UpdateSecuritySettings" }, + "description": "UpdateSecuritySettings updates the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", + "file": "SecuritySettingsClient/UpdateSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_UpdateSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_CreateSessionEntityType_sync", - "title": "dialogflow CreateSessionEntityType Sample", - "description": "CreateSessionEntityType creates a session entity type.", - "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.CreateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "CreateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } + "shortName": "CreateSessionEntityType" }, + "description": "CreateSessionEntityType creates a session entity type.", + "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_CreateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_DeleteSessionEntityType_sync", - "title": "dialogflow DeleteSessionEntityType Sample", - "description": "DeleteSessionEntityType deletes the specified session entity type.", - "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.DeleteSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "DeleteSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } + "shortName": "DeleteSessionEntityType" }, + "description": "DeleteSessionEntityType deletes the specified session entity type.", + "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_DeleteSessionEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionEntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionEntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetSessionEntityType_sync", - "title": "dialogflow GetSessionEntityType Sample", - "description": "GetSessionEntityType retrieves the specified session entity type.", - "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.GetSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "GetSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } + "shortName": "GetSessionEntityType" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetSessionEntityType retrieves the specified session entity type.", + "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetSessionEntityType_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionEntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionEntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListSessionEntityTypes_sync", - "title": "dialogflow ListSessionEntityTypes Sample", - "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.", - "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessionEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.ListSessionEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "ListSessionEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListSessionEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListSessionEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionEntityTypeIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } + "shortName": "ListSessionEntityTypes" }, + "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.", + "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListSessionEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSessionEntityTypes Sample" }, { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_UpdateSessionEntityType_sync", - "title": "dialogflow UpdateSessionEntityType Sample", - "description": "UpdateSessionEntityType updates the specified session entity type.", - "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient.UpdateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "UpdateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } + "shortName": "UpdateSessionEntityType" }, + "description": "UpdateSessionEntityType updates the specified session entity type.", + "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_UpdateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_DetectIntent_sync", - "title": "dialogflow DetectIntent Sample", - "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause session\nentity types to be updated, which in turn might affect results of future\nqueries.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).", - "file": "SessionsClient/DetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.DetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions", + "shortName": "Sessions" + }, + "shortName": "DetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DetectIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DetectIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } + "shortName": "DetectIntent" }, + "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause session\nentity types to be updated, which in turn might affect results of future\nqueries.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).", + "file": "SessionsClient/DetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_DetectIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DetectIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_FulfillIntent_sync", - "title": "dialogflow FulfillIntent Sample", - "description": "FulfillIntent fulfills a matched intent returned by\n[MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be\ncalled after\n[MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with\ninput from\n[MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].\nOtherwise, the behavior is undefined.", - "file": "SessionsClient/FulfillIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "FulfillIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.FulfillIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions", + "shortName": "Sessions" + }, + "shortName": "FulfillIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.FulfillIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.FulfillIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.FulfillIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "FulfillIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } + "shortName": "FulfillIntent" }, + "description": "FulfillIntent fulfills a matched intent returned by\n[MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be\ncalled after\n[MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with\ninput from\n[MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].\nOtherwise, the behavior is undefined.", + "file": "SessionsClient/FulfillIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_FulfillIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow FulfillIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.ListOperations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_MatchIntent_sync", - "title": "dialogflow MatchIntent Sample", - "description": "MatchIntent returns preliminary intent match results, doesn't change the session\nstatus.", - "file": "SessionsClient/MatchIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "MatchIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.MatchIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions", + "shortName": "Sessions" + }, + "shortName": "MatchIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.MatchIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.MatchIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.MatchIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "MatchIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } + "shortName": "MatchIntent" }, + "description": "MatchIntent returns preliminary intent match results, doesn't change the session\nstatus.", + "file": "SessionsClient/MatchIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_MatchIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow MatchIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_StreamingDetectIntent_sync", - "title": "dialogflow StreamingDetectIntent Sample", - "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).\n\n\nThis method is not supported for the REST transport.", - "file": "SessionsClient/StreamingDetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingDetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.StreamingDetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions", + "shortName": "Sessions" + }, + "shortName": "StreamingDetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "cxpb.Sessions_StreamingDetectIntentClient", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } + "shortName": "StreamingDetectIntent" }, + "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).\n\n\nThis method is not supported for the REST transport.", + "file": "SessionsClient/StreamingDetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_StreamingDetectIntent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StreamingDetectIntent Sample" }, { - "regionTag": "dialogflow_v3_generated_Sessions_SubmitAnswerFeedback_sync", - "title": "dialogflow SubmitAnswerFeedback Sample", - "description": "SubmitAnswerFeedback updates the feedback received from the user for a single turn of the bot\nresponse.", - "file": "SessionsClient/SubmitAnswerFeedback/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitAnswerFeedback", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient.SubmitAnswerFeedback", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Sessions", + "shortName": "Sessions" + }, + "shortName": "SubmitAnswerFeedback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.SubmitAnswerFeedbackRequest", - "name": "req" + "name": "req", + "type": "cxpb.SubmitAnswerFeedbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.AnswerFeedback", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "SubmitAnswerFeedback", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } + "shortName": "SubmitAnswerFeedback" }, + "description": "SubmitAnswerFeedback updates the feedback received from the user for a single turn of the bot\nresponse.", + "file": "SessionsClient/SubmitAnswerFeedback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Sessions_SubmitAnswerFeedback_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SubmitAnswerFeedback Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_BatchDeleteTestCases_sync", - "title": "dialogflow BatchDeleteTestCases Sample", - "description": "BatchDeleteTestCases batch deletes test cases.", - "file": "TestCasesClient/BatchDeleteTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.BatchDeleteTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "BatchDeleteTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.BatchDeleteTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.BatchDeleteTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "BatchDeleteTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "BatchDeleteTestCases" }, + "description": "BatchDeleteTestCases batch deletes test cases.", + "file": "TestCasesClient/BatchDeleteTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_BatchDeleteTestCases_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteTestCases Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_BatchRunTestCases_sync", - "title": "dialogflow BatchRunTestCases Sample", - "description": "BatchRunTestCases kicks off a batch run of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata]\n- `response`: \n[BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]", - "file": "TestCasesClient/BatchRunTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchRunTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.BatchRunTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "BatchRunTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.BatchRunTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.BatchRunTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchRunTestCasesOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "BatchRunTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "BatchRunTestCases" }, + "description": "BatchRunTestCases kicks off a batch run of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata]\n- `response`: \n[BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]", + "file": "TestCasesClient/BatchRunTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_BatchRunTestCases_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchRunTestCases Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_CalculateCoverage_sync", - "title": "dialogflow CalculateCoverage Sample", - "description": "CalculateCoverage calculates the test coverage for an agent.", - "file": "TestCasesClient/CalculateCoverage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateCoverage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.CalculateCoverage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "CalculateCoverage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CalculateCoverageRequest", - "name": "req" + "name": "req", + "type": "cxpb.CalculateCoverageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.CalculateCoverageResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "CalculateCoverage", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "CalculateCoverage" }, + "description": "CalculateCoverage calculates the test coverage for an agent.", + "file": "TestCasesClient/CalculateCoverage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_CalculateCoverage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CalculateCoverage Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TestCasesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TestCasesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_CreateTestCase_sync", - "title": "dialogflow CreateTestCase Sample", - "description": "CreateTestCase creates a test case for the given agent.", - "file": "TestCasesClient/CreateTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.CreateTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "CreateTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "CreateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "CreateTestCase" }, + "description": "CreateTestCase creates a test case for the given agent.", + "file": "TestCasesClient/CreateTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_CreateTestCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTestCase Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_ExportTestCases_sync", - "title": "dialogflow ExportTestCases Sample", - "description": "ExportTestCases exports the test cases under the agent to a Cloud Storage bucket or a local\nfile. Filter can be applied to export a subset of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata]\n- `response`: \n[ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]", - "file": "TestCasesClient/ExportTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.ExportTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "ExportTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportTestCasesOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ExportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "ExportTestCases" }, + "description": "ExportTestCases exports the test cases under the agent to a Cloud Storage bucket or a local\nfile. Filter can be applied to export a subset of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata]\n- `response`: \n[ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]", + "file": "TestCasesClient/ExportTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_ExportTestCases_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportTestCases Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TestCasesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TestCasesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TestCasesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TestCasesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_GetTestCase_sync", - "title": "dialogflow GetTestCase Sample", - "description": "GetTestCase gets a test case.", - "file": "TestCasesClient/GetTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.GetTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "GetTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "GetTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "GetTestCase" }, + "description": "GetTestCase gets a test case.", + "file": "TestCasesClient/GetTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_GetTestCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTestCase Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_GetTestCaseResult_sync", - "title": "dialogflow GetTestCaseResult Sample", - "description": "GetTestCaseResult gets a test case result.", - "file": "TestCasesClient/GetTestCaseResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTestCaseResult", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.GetTestCaseResult", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "GetTestCaseResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetTestCaseResultRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetTestCaseResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCaseResult", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "GetTestCaseResult", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "GetTestCaseResult" }, + "description": "GetTestCaseResult gets a test case result.", + "file": "TestCasesClient/GetTestCaseResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_GetTestCaseResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTestCaseResult Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_ImportTestCases_sync", - "title": "dialogflow ImportTestCases Sample", - "description": "ImportTestCases imports the test cases from a Cloud Storage bucket or a local file. It\nalways creates new test cases and won't overwrite any existing ones. The\nprovided ID in the imported test case is neglected.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata]\n- `response`: \n[ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]", - "file": "TestCasesClient/ImportTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.ImportTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "ImportTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportTestCasesOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ImportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "ImportTestCases" }, + "description": "ImportTestCases imports the test cases from a Cloud Storage bucket or a local file. It\nalways creates new test cases and won't overwrite any existing ones. The\nprovided ID in the imported test case is neglected.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata]\n- `response`: \n[ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]", + "file": "TestCasesClient/ImportTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_ImportTestCases_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportTestCases Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "TestCasesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "TestCasesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TestCasesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TestCasesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_ListTestCaseResults_sync", - "title": "dialogflow ListTestCaseResults Sample", - "description": "ListTestCaseResults fetches the list of run results for the given test case. A maximum of 100\nresults are kept for each test case.", - "file": "TestCasesClient/ListTestCaseResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTestCaseResults", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.ListTestCaseResults", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "ListTestCaseResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListTestCaseResultsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListTestCaseResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TestCaseResultIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ListTestCaseResults", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "ListTestCaseResults" }, + "description": "ListTestCaseResults fetches the list of run results for the given test case. A maximum of 100\nresults are kept for each test case.", + "file": "TestCasesClient/ListTestCaseResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_ListTestCaseResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTestCaseResults Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_ListTestCases_sync", - "title": "dialogflow ListTestCases Sample", - "description": "ListTestCases fetches a list of test cases for a given agent.", - "file": "TestCasesClient/ListTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.ListTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "ListTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TestCaseIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ListTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "ListTestCases" }, + "description": "ListTestCases fetches a list of test cases for a given agent.", + "file": "TestCasesClient/ListTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_ListTestCases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTestCases Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_RunTestCase_sync", - "title": "dialogflow RunTestCase Sample", - "description": "RunTestCase kicks off a test case run.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]\n- `response`: \n[RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]", - "file": "TestCasesClient/RunTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.RunTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "RunTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RunTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.RunTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunTestCaseOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "RunTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "RunTestCase" }, + "description": "RunTestCase kicks off a test case run.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]\n- `response`: \n[RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]", + "file": "TestCasesClient/RunTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_RunTestCase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RunTestCase Sample" }, { - "regionTag": "dialogflow_v3_generated_TestCases_UpdateTestCase_sync", - "title": "dialogflow UpdateTestCase Sample", - "description": "UpdateTestCase updates the specified test case.", - "file": "TestCasesClient/UpdateTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient.UpdateTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "shortName": "TestCases" + }, + "shortName": "UpdateTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "UpdateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } + "shortName": "UpdateTestCase" }, + "description": "UpdateTestCase updates the specified test case.", + "file": "TestCasesClient/UpdateTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TestCases_UpdateTestCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateTestCase Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_CreateTool_sync", - "title": "dialogflow CreateTool Sample", - "description": "CreateTool creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified\nagent.", - "file": "ToolsClient/CreateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.CreateTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.CreateTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "CreateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.CreateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "CreateTool" }, + "description": "CreateTool creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified\nagent.", + "file": "ToolsClient/CreateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_CreateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTool Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_CreateToolVersion_sync", - "title": "dialogflow CreateToolVersion Sample", - "description": "CreateToolVersion creates a version for the specified\n[Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/CreateToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.CreateToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.CreateToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "CreateToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.ToolVersion", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "CreateToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.CreateToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "CreateToolVersion" }, + "description": "CreateToolVersion creates a version for the specified\n[Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/CreateToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_CreateToolVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateToolVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_DeleteTool_sync", - "title": "dialogflow DeleteTool Sample", - "description": "DeleteTool deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/DeleteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.DeleteTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.DeleteTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "DeleteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.DeleteTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "DeleteTool" }, + "description": "DeleteTool deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/DeleteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_DeleteTool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteTool Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_DeleteToolVersion_sync", - "title": "dialogflow DeleteToolVersion Sample", - "description": "DeleteToolVersion deletes the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/DeleteToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.DeleteToolVersion", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "cxpb.DeleteToolVersionRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" }, + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.DeleteToolVersion", "method": { - "shortName": "DeleteToolVersion", "fullName": "google.cloud.dialogflow.cx.v3.Tools.DeleteToolVersion", "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "DeleteToolVersion" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "cxpb.DeleteToolVersionRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "DeleteToolVersion" }, + "description": "DeleteToolVersion deletes the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/DeleteToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_DeleteToolVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteToolVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ToolsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ToolsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_GetTool_sync", - "title": "dialogflow GetTool Sample", - "description": "GetTool retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/GetTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.GetTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.GetTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "GetTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "GetTool", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.GetTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "GetTool" }, + "description": "GetTool retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/GetTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_GetTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTool Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_GetToolVersion_sync", - "title": "dialogflow GetToolVersion Sample", - "description": "GetToolVersion retrieves the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/GetToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.GetToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.GetToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "GetToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.ToolVersion", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "GetToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.GetToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "GetToolVersion" }, + "description": "GetToolVersion retrieves the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/GetToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_GetToolVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetToolVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ToolsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ToolsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_ListToolVersions_sync", - "title": "dialogflow ListToolVersions Sample", - "description": "ListToolVersions list versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/ListToolVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListToolVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.ListToolVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.ListToolVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "ListToolVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListToolVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListToolVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolVersionIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "ListToolVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.ListToolVersions", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "ListToolVersions" }, + "description": "ListToolVersions list versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/ListToolVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_ListToolVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListToolVersions Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_ListTools_sync", - "title": "dialogflow ListTools Sample", - "description": "ListTools returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the\nspecified agent.", - "file": "ToolsClient/ListTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTools", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.ListTools", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.ListTools", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "ListTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListToolsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.ListTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "ListTools" }, + "description": "ListTools returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the\nspecified agent.", + "file": "ToolsClient/ListTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_ListTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTools Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_RestoreToolVersion_sync", - "title": "dialogflow RestoreToolVersion Sample", - "description": "RestoreToolVersion retrieves the specified version of the Tool and stores it as the\ncurrent tool draft, returning the tool with resources updated.", - "file": "ToolsClient/RestoreToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.RestoreToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.RestoreToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "RestoreToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RestoreToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.RestoreToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.RestoreToolVersionResponse", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "RestoreToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.RestoreToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "RestoreToolVersion" }, + "description": "RestoreToolVersion retrieves the specified version of the Tool and stores it as the\ncurrent tool draft, returning the tool with resources updated.", + "file": "ToolsClient/RestoreToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_RestoreToolVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestoreToolVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Tools_UpdateTool_sync", - "title": "dialogflow UpdateTool Sample", - "description": "UpdateTool update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", - "file": "ToolsClient/UpdateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient.UpdateTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools.UpdateTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Tools", + "shortName": "Tools" + }, + "shortName": "UpdateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ToolsClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.dialogflow.cx.v3.Tools.UpdateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3.Tools" - } - } + "shortName": "UpdateTool" }, + "description": "UpdateTool update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].", + "file": "ToolsClient/UpdateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Tools_UpdateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TransitionRouteGroupsClient/CancelOperation/main.go", - "language": "GO", + ], + "title": "dialogflow UpdateTool Sample" + }, + { "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TransitionRouteGroupsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_CreateTransitionRouteGroup_sync", - "title": "dialogflow CreateTransitionRouteGroup Sample", - "description": "CreateTransitionRouteGroup creates an\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]\nin the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "TransitionRouteGroupsClient/CreateTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.CreateTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "CreateTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "CreateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } + "shortName": "CreateTransitionRouteGroup" }, + "description": "CreateTransitionRouteGroup creates an\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]\nin the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "TransitionRouteGroupsClient/CreateTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_CreateTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_sync", - "title": "dialogflow DeleteTransitionRouteGroup Sample", - "description": "DeleteTransitionRouteGroup deletes the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "TransitionRouteGroupsClient/DeleteTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.DeleteTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "DeleteTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "DeleteTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } + "shortName": "DeleteTransitionRouteGroup" }, + "description": "DeleteTransitionRouteGroup deletes the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "TransitionRouteGroupsClient/DeleteTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TransitionRouteGroupsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TransitionRouteGroupsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TransitionRouteGroupsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TransitionRouteGroupsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetTransitionRouteGroup_sync", - "title": "dialogflow GetTransitionRouteGroup Sample", - "description": "GetTransitionRouteGroup retrieves the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].", - "file": "TransitionRouteGroupsClient/GetTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.GetTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "GetTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } + "shortName": "GetTransitionRouteGroup" }, + "description": "GetTransitionRouteGroup retrieves the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].", + "file": "TransitionRouteGroupsClient/GetTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "TransitionRouteGroupsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "TransitionRouteGroupsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TransitionRouteGroupsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TransitionRouteGroupsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListTransitionRouteGroups_sync", - "title": "dialogflow ListTransitionRouteGroups Sample", - "description": "ListTransitionRouteGroups returns the list of all transition route groups in the specified flow.", - "file": "TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransitionRouteGroups", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.ListTransitionRouteGroups", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "ListTransitionRouteGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListTransitionRouteGroupsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListTransitionRouteGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransitionRouteGroupIterator", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListTransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } + "shortName": "ListTransitionRouteGroups" }, + "description": "ListTransitionRouteGroups returns the list of all transition route groups in the specified flow.", + "file": "TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListTransitionRouteGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTransitionRouteGroups Sample" }, { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_sync", - "title": "dialogflow UpdateTransitionRouteGroup Sample", - "description": "UpdateTransitionRouteGroup updates the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "TransitionRouteGroupsClient/UpdateTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient.UpdateTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "UpdateTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "UpdateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } + "shortName": "UpdateTransitionRouteGroup" }, + "description": "UpdateTransitionRouteGroup updates the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "TransitionRouteGroupsClient/UpdateTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_CompareVersions_sync", - "title": "dialogflow CompareVersions Sample", - "description": "CompareVersions compares the specified base version with target version.", - "file": "VersionsClient/CompareVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompareVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.CompareVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CompareVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "CompareVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CompareVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.CompareVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.CompareVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "CompareVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.CompareVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "CompareVersions" }, + "description": "CompareVersions compares the specified base version with target version.", + "file": "VersionsClient/CompareVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_CompareVersions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CompareVersions Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_CreateVersion_sync", - "title": "dialogflow CreateVersion Sample", - "description": "CreateVersion creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified\n[Flow][google.cloud.dialogflow.cx.v3.Flow].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]\n- `response`: [Version][google.cloud.dialogflow.cx.v3.Version]", - "file": "VersionsClient/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.CreateVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified\n[Flow][google.cloud.dialogflow.cx.v3.Flow].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]\n- `response`: [Version][google.cloud.dialogflow.cx.v3.Version]", + "file": "VersionsClient/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_CreateVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_DeleteVersion_sync", - "title": "dialogflow DeleteVersion Sample", - "description": "DeleteVersion deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].", - "file": "VersionsClient/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.DeleteVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].", + "file": "VersionsClient/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VersionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VersionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_GetVersion_sync", - "title": "dialogflow GetVersion Sample", - "description": "GetVersion retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].", - "file": "VersionsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.GetVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].", + "file": "VersionsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "VersionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "VersionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_ListVersions_sync", - "title": "dialogflow ListVersions Sample", - "description": "ListVersions returns the list of all versions in the specified\n[Flow][google.cloud.dialogflow.cx.v3.Flow].", - "file": "VersionsClient/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.ListVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions returns the list of all versions in the specified\n[Flow][google.cloud.dialogflow.cx.v3.Flow].", + "file": "VersionsClient/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListVersions Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_LoadVersion_sync", - "title": "dialogflow LoadVersion Sample", - "description": "LoadVersion loads resources in the specified version to the draft flow.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "VersionsClient/LoadVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "LoadVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.LoadVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "LoadVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.LoadVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.LoadVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LoadVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "LoadVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "LoadVersion" }, + "description": "LoadVersion loads resources in the specified version to the draft flow.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "VersionsClient/LoadVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_LoadVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow LoadVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Versions_UpdateVersion_sync", - "title": "dialogflow UpdateVersion Sample", - "description": "UpdateVersion updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].", - "file": "VersionsClient/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient.UpdateVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "shortName": "Versions" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].", + "file": "VersionsClient/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Versions_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateVersion Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "WebhooksClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "WebhooksClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_CreateWebhook_sync", - "title": "dialogflow CreateWebhook Sample", - "description": "CreateWebhook creates a webhook in the specified agent.", - "file": "WebhooksClient/CreateWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.CreateWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "CreateWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "CreateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } + "shortName": "CreateWebhook" }, + "description": "CreateWebhook creates a webhook in the specified agent.", + "file": "WebhooksClient/CreateWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_CreateWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateWebhook Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_DeleteWebhook_sync", - "title": "dialogflow DeleteWebhook Sample", - "description": "DeleteWebhook deletes the specified webhook.", - "file": "WebhooksClient/DeleteWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.DeleteWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "DeleteWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "DeleteWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } + "shortName": "DeleteWebhook" }, + "description": "DeleteWebhook deletes the specified webhook.", + "file": "WebhooksClient/DeleteWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_DeleteWebhook_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteWebhook Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "WebhooksClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "WebhooksClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WebhooksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WebhooksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_GetWebhook_sync", - "title": "dialogflow GetWebhook Sample", - "description": "GetWebhook retrieves the specified webhook.", - "file": "WebhooksClient/GetWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.GetWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "GetWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "GetWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } + "shortName": "GetWebhook" }, + "description": "GetWebhook retrieves the specified webhook.", + "file": "WebhooksClient/GetWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_GetWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetWebhook Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "WebhooksClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "WebhooksClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WebhooksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WebhooksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_ListWebhooks_sync", - "title": "dialogflow ListWebhooks Sample", - "description": "ListWebhooks returns the list of all webhooks in the specified agent.", - "file": "WebhooksClient/ListWebhooks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWebhooks", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.ListWebhooks", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "ListWebhooks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListWebhooksRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListWebhooksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WebhookIterator", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "ListWebhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } + "shortName": "ListWebhooks" }, + "description": "ListWebhooks returns the list of all webhooks in the specified agent.", + "file": "WebhooksClient/ListWebhooks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_ListWebhooks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListWebhooks Sample" }, { - "regionTag": "dialogflow_v3_generated_Webhooks_UpdateWebhook_sync", - "title": "dialogflow UpdateWebhook Sample", - "description": "UpdateWebhook updates the specified webhook.", - "file": "WebhooksClient/UpdateWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient.UpdateWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "UpdateWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "UpdateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } + "shortName": "UpdateWebhook" }, + "description": "UpdateWebhook updates the specified webhook.", + "file": "WebhooksClient/UpdateWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3_generated_Webhooks_UpdateWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateWebhook Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json index 05a2fc4172af..b284da88fcad 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json @@ -1,11240 +1,11240 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dialogflow/cx/apiv3beta1", - "version": "1.76.0", - "language": "GO", "apis": [ { "id": "google.cloud.dialogflow.cx.v3beta1", "version": "v3beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dialogflow/cx/apiv3beta1", + "version": "1.76.0" }, "snippets": [ { - "regionTag": "dialogflow_v3beta1_generated_Agents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_CreateAgent_sync", - "title": "dialogflow CreateAgent Sample", - "description": "CreateAgent creates an agent in the specified location.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "AgentsClient/CreateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.CreateAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "CreateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "CreateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "CreateAgent" }, + "description": "CreateAgent creates an agent in the specified location.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "AgentsClient/CreateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_CreateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_DeleteAgent_sync", - "title": "dialogflow DeleteAgent Sample", - "description": "DeleteAgent deletes the specified agent.", - "file": "AgentsClient/DeleteAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.DeleteAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "DeleteAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "DeleteAgent" }, + "description": "DeleteAgent deletes the specified agent.", + "file": "AgentsClient/DeleteAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_DeleteAgent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_ExportAgent_sync", - "title": "dialogflow ExportAgent Sample", - "description": "ExportAgent exports the specified agent to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse]", - "file": "AgentsClient/ExportAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ExportAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "ExportAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "ExportAgent" }, + "description": "ExportAgent exports the specified agent to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse]", + "file": "AgentsClient/ExportAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_ExportAgent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgent_sync", - "title": "dialogflow GetAgent Sample", - "description": "GetAgent retrieves the specified agent.", - "file": "AgentsClient/GetAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "GetAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "GetAgent" }, + "description": "GetAgent retrieves the specified agent.", + "file": "AgentsClient/GetAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgentValidationResult_sync", - "title": "dialogflow GetAgentValidationResult Sample", - "description": "GetAgentValidationResult gets the latest agent validation result. Agent validation is performed\nwhen ValidateAgent is called.", - "file": "AgentsClient/GetAgentValidationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgentValidationResult", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetAgentValidationResult", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "GetAgentValidationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetAgentValidationResultRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetAgentValidationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetAgentValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "GetAgentValidationResult" }, + "description": "GetAgentValidationResult gets the latest agent validation result. Agent validation is performed\nwhen ValidateAgent is called.", + "file": "AgentsClient/GetAgentValidationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgentValidationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetAgentValidationResult Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetGenerativeSettings_sync", - "title": "dialogflow GetGenerativeSettings Sample", - "description": "GetGenerativeSettings gets the generative settings for the agent.", - "file": "AgentsClient/GetGenerativeSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerativeSettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetGenerativeSettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "GetGenerativeSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetGenerativeSettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetGenerativeSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "GetGenerativeSettings" }, + "description": "GetGenerativeSettings gets the generative settings for the agent.", + "file": "AgentsClient/GetGenerativeSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_GetGenerativeSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGenerativeSettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AgentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AgentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_ListAgents_sync", - "title": "dialogflow ListAgents Sample", - "description": "ListAgents returns the list of all agents in the specified location.", - "file": "AgentsClient/ListAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAgents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ListAgents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "ListAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListAgentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ListAgents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "ListAgents" }, + "description": "ListAgents returns the list of all agents in the specified location.", + "file": "AgentsClient/ListAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_ListAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListAgents Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "AgentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "AgentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AgentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AgentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_RestoreAgent_sync", - "title": "dialogflow RestoreAgent Sample", - "description": "RestoreAgent restores the specified agent from a binary file.\n\nReplaces the current agent with a new one. Note that all existing resources\nin agent (e.g. intents, entity types, flows) will be removed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "AgentsClient/RestoreAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.RestoreAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "RestoreAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RestoreAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.RestoreAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAgentOperation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "RestoreAgent" }, + "description": "RestoreAgent restores the specified agent from a binary file.\n\nReplaces the current agent with a new one. Note that all existing resources\nin agent (e.g. intents, entity types, flows) will be removed.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "AgentsClient/RestoreAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_RestoreAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestoreAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateAgent_sync", - "title": "dialogflow UpdateAgent Sample", - "description": "UpdateAgent updates the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "AgentsClient/UpdateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.UpdateAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "UpdateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "UpdateAgent" }, + "description": "UpdateAgent updates the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "AgentsClient/UpdateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateGenerativeSettings_sync", - "title": "dialogflow UpdateGenerativeSettings Sample", - "description": "UpdateGenerativeSettings updates the generative settings for the agent.", - "file": "AgentsClient/UpdateGenerativeSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeSettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.UpdateGenerativeSettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "UpdateGenerativeSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateGenerativeSettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateGenerativeSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "UpdateGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "UpdateGenerativeSettings" }, + "description": "UpdateGenerativeSettings updates the generative settings for the agent.", + "file": "AgentsClient/UpdateGenerativeSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateGenerativeSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateGenerativeSettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Agents_ValidateAgent_sync", - "title": "dialogflow ValidateAgent Sample", - "description": "ValidateAgent validates the specified agent and creates or updates validation results.\nThe agent in draft version is validated. Please call this API after the\ntraining is completed to get the complete validation results.", - "file": "AgentsClient/ValidateAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateAgent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient", + "shortName": "AgentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient.ValidateAgent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "shortName": "Agents" + }, + "shortName": "ValidateAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ValidateAgentRequest", - "name": "req" + "name": "req", + "type": "cxpb.ValidateAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ValidateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } + "shortName": "ValidateAgent" }, + "description": "ValidateAgent validates the specified agent and creates or updates validation results.\nThe agent in draft version is validated. Please call this API after the\ntraining is completed to get the complete validation results.", + "file": "AgentsClient/ValidateAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Agents_ValidateAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ValidateAgent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ChangelogsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ChangelogsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetChangelog_sync", - "title": "dialogflow GetChangelog Sample", - "description": "GetChangelog retrieves the specified Changelog.", - "file": "ChangelogsClient/GetChangelog/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChangelog", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.GetChangelog", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs", + "shortName": "Changelogs" + }, + "shortName": "GetChangelog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetChangelogRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetChangelogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Changelog", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "GetChangelog", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs" - } - } + "shortName": "GetChangelog" }, + "description": "GetChangelog retrieves the specified Changelog.", + "file": "ChangelogsClient/GetChangelog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetChangelog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetChangelog Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ChangelogsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ChangelogsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ChangelogsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ChangelogsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListChangelogs_sync", - "title": "dialogflow ListChangelogs Sample", - "description": "ListChangelogs returns the list of Changelogs.", - "file": "ChangelogsClient/ListChangelogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChangelogs", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.ListChangelogs", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs", + "shortName": "Changelogs" + }, + "shortName": "ListChangelogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListChangelogsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListChangelogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChangelogIterator", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs" - } - } + "shortName": "ListChangelogs" }, + "description": "ListChangelogs returns the list of Changelogs.", + "file": "ChangelogsClient/ListChangelogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListChangelogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListChangelogs Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ChangelogsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ChangelogsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ChangelogsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient", + "shortName": "ChangelogsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ChangelogsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationHistoryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationHistoryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_sync", - "title": "dialogflow DeleteConversation Sample", - "description": "DeleteConversation deletes the specified conversation.", - "file": "ConversationHistoryClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.DeleteConversation", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.DeleteConversation", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory", + "shortName": "ConversationHistory" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.DeleteConversation", - "service": { - "shortName": "ConversationHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" - } - } + "shortName": "DeleteConversation" }, + "description": "DeleteConversation deletes the specified conversation.", + "file": "ConversationHistoryClient/DeleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteConversation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetConversation_sync", - "title": "dialogflow GetConversation Sample", - "description": "GetConversation retrieves the specified conversation.", - "file": "ConversationHistoryClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.GetConversation", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.GetConversation", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory", + "shortName": "ConversationHistory" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Conversation", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.GetConversation", - "service": { - "shortName": "ConversationHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation retrieves the specified conversation.", + "file": "ConversationHistoryClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetConversation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ConversationHistoryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ConversationHistoryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationHistoryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationHistoryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListConversations_sync", - "title": "dialogflow ListConversations Sample", - "description": "ListConversations returns the list of all conversations.", - "file": "ConversationHistoryClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversations", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.ListConversations", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory", + "shortName": "ConversationHistory" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.ListConversations", - "service": { - "shortName": "ConversationHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations returns the list of all conversations.", + "file": "ConversationHistoryClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListConversations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ConversationHistoryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ConversationHistoryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationHistoryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient", + "shortName": "ConversationHistoryClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationHistoryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentsClient/CancelOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_CancelOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_GetDeployment_sync", - "title": "dialogflow GetDeployment Sample", - "description": "GetDeployment retrieves the specified\n[Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].", - "file": "DeploymentsClient/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.GetDeployment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments", + "shortName": "Deployments" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Deployment", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment retrieves the specified\n[Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].", + "file": "DeploymentsClient/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetDeployment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DeploymentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DeploymentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DeploymentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DeploymentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_ListDeployments_sync", - "title": "dialogflow ListDeployments Sample", - "description": "ListDeployments returns the list of all deployments in the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "file": "DeploymentsClient/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.ListDeployments", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments", + "shortName": "Deployments" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments returns the list of all deployments in the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "file": "DeploymentsClient/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListDeployments Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "DeploymentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "DeploymentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Deployments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DeploymentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient", + "shortName": "DeploymentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DeploymentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Deployments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_CreateEntityType_sync", - "title": "dialogflow CreateEntityType Sample", - "description": "CreateEntityType creates an entity type in the specified agent.", - "file": "EntityTypesClient/CreateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.CreateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "CreateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "CreateEntityType" }, + "description": "CreateEntityType creates an entity type in the specified agent.", + "file": "EntityTypesClient/CreateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_CreateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_DeleteEntityType_sync", - "title": "dialogflow DeleteEntityType Sample", - "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "EntityTypesClient/DeleteEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.DeleteEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "DeleteEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "DeleteEntityType" }, + "description": "DeleteEntityType deletes the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "EntityTypesClient/DeleteEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_DeleteEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ExportEntityTypes_sync", - "title": "dialogflow ExportEntityTypes Sample", - "description": "ExportEntityTypes exports the selected entity types.", - "file": "EntityTypesClient/ExportEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ExportEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ExportEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ExportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "ExportEntityTypes" }, + "description": "ExportEntityTypes exports the selected entity types.", + "file": "EntityTypesClient/ExportEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ExportEntityTypes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportEntityTypes Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetEntityType_sync", - "title": "dialogflow GetEntityType Sample", - "description": "GetEntityType retrieves the specified entity type.", - "file": "EntityTypesClient/GetEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.GetEntityType", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "GetEntityType" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "GetEntityType" }, + "description": "GetEntityType retrieves the specified entity type.", + "file": "EntityTypesClient/GetEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ImportEntityTypes_sync", - "title": "dialogflow ImportEntityTypes Sample", - "description": "ImportEntityTypes imports the specified entitytypes into the agent.", - "file": "EntityTypesClient/ImportEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ImportEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ImportEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportEntityTypesOperation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ImportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "ImportEntityTypes" }, + "description": "ImportEntityTypes imports the specified entitytypes into the agent.", + "file": "EntityTypesClient/ImportEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ImportEntityTypes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportEntityTypes Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListEntityTypes_sync", - "title": "dialogflow ListEntityTypes Sample", - "description": "ListEntityTypes returns the list of all entity types in the specified agent.", - "file": "EntityTypesClient/ListEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ListEntityTypes", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "ListEntityTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntityTypeIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "ListEntityTypes" }, + "description": "ListEntityTypes returns the list of all entity types in the specified agent.", + "file": "EntityTypesClient/ListEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEntityTypes Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_UpdateEntityType_sync", - "title": "dialogflow UpdateEntityType Sample", - "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "EntityTypesClient/UpdateEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient", + "shortName": "EntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient.UpdateEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "shortName": "EntityTypes" + }, + "shortName": "UpdateEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } + "shortName": "UpdateEntityType" }, + "description": "UpdateEntityType updates the specified entity type.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "EntityTypesClient/UpdateEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_UpdateEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_CreateEnvironment_sync", - "title": "dialogflow CreateEnvironment Sample", - "description": "CreateEnvironment creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in\nthe specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", - "file": "EnvironmentsClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in\nthe specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", + "file": "EnvironmentsClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateEnvironment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_DeleteEnvironment_sync", - "title": "dialogflow DeleteEnvironment Sample", - "description": "DeleteEnvironment deletes the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "file": "EnvironmentsClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "DeleteEnvironment" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteEnvironment deletes the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "file": "EnvironmentsClient/DeleteEnvironment/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_DeleteEnvironment_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteEnvironment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_DeployFlow_sync", - "title": "dialogflow DeployFlow Sample", - "description": "DeployFlow deploys a flow to the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata]\n- `response`: \n[DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]", - "file": "EnvironmentsClient/DeployFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.DeployFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "DeployFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeployFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeployFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployFlowOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "DeployFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "DeployFlow" }, + "description": "DeployFlow deploys a flow to the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata]\n- `response`: \n[DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]", + "file": "EnvironmentsClient/DeployFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_DeployFlow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeployFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_GetEnvironment_sync", - "title": "dialogflow GetEnvironment Sample", - "description": "GetEnvironment retrieves the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "file": "EnvironmentsClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.GetEnvironment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment retrieves the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "file": "EnvironmentsClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetEnvironment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EnvironmentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EnvironmentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_ListContinuousTestResults_sync", - "title": "dialogflow ListContinuousTestResults Sample", - "description": "ListContinuousTestResults fetches a list of continuous test results for a given environment.", - "file": "EnvironmentsClient/ListContinuousTestResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContinuousTestResults", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.ListContinuousTestResults", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "ListContinuousTestResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListContinuousTestResultsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListContinuousTestResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContinuousTestResultIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListContinuousTestResults", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "ListContinuousTestResults" }, + "description": "ListContinuousTestResults fetches a list of continuous test results for a given environment.", + "file": "EnvironmentsClient/ListContinuousTestResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_ListContinuousTestResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListContinuousTestResults Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_ListEnvironments_sync", - "title": "dialogflow ListEnvironments Sample", - "description": "ListEnvironments returns the list of all environments in the specified\n[Agent][google.cloud.dialogflow.cx.v3beta1.Agent].", - "file": "EnvironmentsClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.ListEnvironments", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "ListEnvironments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments returns the list of all environments in the specified\n[Agent][google.cloud.dialogflow.cx.v3beta1.Agent].", + "file": "EnvironmentsClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListEnvironments Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "EnvironmentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "EnvironmentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_LookupEnvironmentHistory_sync", - "title": "dialogflow LookupEnvironmentHistory Sample", - "description": "LookupEnvironmentHistory looks up the history of the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "file": "EnvironmentsClient/LookupEnvironmentHistory/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEnvironmentHistory", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.LookupEnvironmentHistory", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "LookupEnvironmentHistory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.LookupEnvironmentHistoryRequest", - "name": "req" + "name": "req", + "type": "cxpb.LookupEnvironmentHistoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "LookupEnvironmentHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "LookupEnvironmentHistory" }, + "description": "LookupEnvironmentHistory looks up the history of the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "file": "EnvironmentsClient/LookupEnvironmentHistory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_LookupEnvironmentHistory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow LookupEnvironmentHistory Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_RunContinuousTest_sync", - "title": "dialogflow RunContinuousTest Sample", - "description": "RunContinuousTest kicks off a continuous test under the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata]\n- `response`: \n[RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]", - "file": "EnvironmentsClient/RunContinuousTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunContinuousTest", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.RunContinuousTest", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "RunContinuousTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RunContinuousTestRequest", - "name": "req" + "name": "req", + "type": "cxpb.RunContinuousTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunContinuousTestOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "RunContinuousTest", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "RunContinuousTest" }, + "description": "RunContinuousTest kicks off a continuous test under the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata]\n- `response`: \n[RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]", + "file": "EnvironmentsClient/RunContinuousTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_RunContinuousTest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RunContinuousTest Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Environments_UpdateEnvironment_sync", - "title": "dialogflow UpdateEnvironment Sample", - "description": "UpdateEnvironment updates the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", - "file": "EnvironmentsClient/UpdateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEnvironment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient.UpdateEnvironment", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateEnvironment" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } + "shortName": "UpdateEnvironment" }, + "description": "UpdateEnvironment updates the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", + "file": "EnvironmentsClient/UpdateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Environments_UpdateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateEnvironment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExamplesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExamplesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_CreateExample_sync", - "title": "dialogflow CreateExample Sample", - "description": "CreateExample creates an example in the specified playbook.", - "file": "ExamplesClient/CreateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.CreateExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples", + "shortName": "Examples" + }, + "shortName": "CreateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "CreateExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } + "shortName": "CreateExample" }, + "description": "CreateExample creates an example in the specified playbook.", + "file": "ExamplesClient/CreateExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_CreateExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateExample Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_DeleteExample_sync", - "title": "dialogflow DeleteExample Sample", - "description": "DeleteExample deletes the specified example.", - "file": "ExamplesClient/DeleteExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.DeleteExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples", + "shortName": "Examples" + }, + "shortName": "DeleteExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "DeleteExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } + "shortName": "DeleteExample" }, + "description": "DeleteExample deletes the specified example.", + "file": "ExamplesClient/DeleteExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_DeleteExample_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteExample Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_GetExample_sync", - "title": "dialogflow GetExample Sample", - "description": "GetExample retrieves the specified example.", - "file": "ExamplesClient/GetExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.GetExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples", + "shortName": "Examples" + }, + "shortName": "GetExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "GetExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } + "shortName": "GetExample" }, + "description": "GetExample retrieves the specified example.", + "file": "ExamplesClient/GetExample/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_GetExample_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetExample Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExamplesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExamplesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExamplesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExamplesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_ListExamples_sync", - "title": "dialogflow ListExamples Sample", - "description": "ListExamples returns a list of examples in the specified playbook.", - "file": "ExamplesClient/ListExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExamples", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.ListExamples", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples", + "shortName": "Examples" + }, + "shortName": "ListExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListExamplesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } + "shortName": "ListExamples" }, + "description": "ListExamples returns a list of examples in the specified playbook.", + "file": "ExamplesClient/ListExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_ListExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListExamples Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ExamplesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ExamplesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExamplesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExamplesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Examples_UpdateExample_sync", - "title": "dialogflow UpdateExample Sample", - "description": "UpdateExample update the specified example.", - "file": "ExamplesClient/UpdateExample/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExample", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient", + "shortName": "ExamplesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient.UpdateExample", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples", + "shortName": "Examples" + }, + "shortName": "UpdateExample" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateExampleRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateExampleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "UpdateExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } + "shortName": "UpdateExample" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateExample update the specified example.", + "file": "ExamplesClient/UpdateExample/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Examples_UpdateExample_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateExample Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ExperimentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ExperimentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_CreateExperiment_sync", - "title": "dialogflow CreateExperiment Sample", - "description": "CreateExperiment creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in\nthe specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "file": "ExperimentsClient/CreateExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.CreateExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "CreateExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "CreateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "CreateExperiment" }, + "description": "CreateExperiment creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in\nthe specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "file": "ExperimentsClient/CreateExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_CreateExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateExperiment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_DeleteExperiment_sync", - "title": "dialogflow DeleteExperiment Sample", - "description": "DeleteExperiment deletes the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", - "file": "ExperimentsClient/DeleteExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.DeleteExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "DeleteExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "DeleteExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "DeleteExperiment" }, + "description": "DeleteExperiment deletes the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", + "file": "ExperimentsClient/DeleteExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_DeleteExperiment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteExperiment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_GetExperiment_sync", - "title": "dialogflow GetExperiment Sample", - "description": "GetExperiment retrieves the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", - "file": "ExperimentsClient/GetExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.GetExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "GetExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "GetExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "GetExperiment" }, + "description": "GetExperiment retrieves the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", + "file": "ExperimentsClient/GetExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_GetExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetExperiment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ExperimentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ExperimentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExperimentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExperimentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_ListExperiments_sync", - "title": "dialogflow ListExperiments Sample", - "description": "ListExperiments returns the list of all experiments in the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "file": "ExperimentsClient/ListExperiments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExperiments", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.ListExperiments", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "ListExperiments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListExperimentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListExperimentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExperimentIterator", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "ListExperiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "ListExperiments" }, + "description": "ListExperiments returns the list of all experiments in the specified\n[Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "file": "ExperimentsClient/ListExperiments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_ListExperiments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListExperiments Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ExperimentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ExperimentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExperimentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExperimentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_StartExperiment_sync", - "title": "dialogflow StartExperiment Sample", - "description": "StartExperiment starts the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only\nchanges the state of experiment from PENDING to RUNNING.", - "file": "ExperimentsClient/StartExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.StartExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "StartExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.StartExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.StartExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "StartExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "StartExperiment" }, + "description": "StartExperiment starts the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only\nchanges the state of experiment from PENDING to RUNNING.", + "file": "ExperimentsClient/StartExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_StartExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StartExperiment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_StopExperiment_sync", - "title": "dialogflow StopExperiment Sample", - "description": "StopExperiment stops the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only\nchanges the state of experiment from RUNNING to DONE.", - "file": "ExperimentsClient/StopExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.StopExperiment", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "StopExperiment" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.StopExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.StopExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "StopExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "StopExperiment" }, + "description": "StopExperiment stops the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only\nchanges the state of experiment from RUNNING to DONE.", + "file": "ExperimentsClient/StopExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_StopExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StopExperiment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Experiments_UpdateExperiment_sync", - "title": "dialogflow UpdateExperiment Sample", - "description": "UpdateExperiment updates the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", - "file": "ExperimentsClient/UpdateExperiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExperiment", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient", + "shortName": "ExperimentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient.UpdateExperiment", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "shortName": "Experiments" + }, + "shortName": "UpdateExperiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateExperimentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateExperimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "UpdateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } + "shortName": "UpdateExperiment" }, + "description": "UpdateExperiment updates the specified\n[Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", + "file": "ExperimentsClient/UpdateExperiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Experiments_UpdateExperiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateExperiment Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FlowsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FlowsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_CreateFlow_sync", - "title": "dialogflow CreateFlow Sample", - "description": "CreateFlow creates a flow in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/CreateFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.CreateFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "CreateFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "CreateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "CreateFlow" }, + "description": "CreateFlow creates a flow in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/CreateFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_CreateFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_DeleteFlow_sync", - "title": "dialogflow DeleteFlow Sample", - "description": "DeleteFlow deletes a specified flow.", - "file": "FlowsClient/DeleteFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.DeleteFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "DeleteFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "DeleteFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "DeleteFlow" }, + "description": "DeleteFlow deletes a specified flow.", + "file": "FlowsClient/DeleteFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_DeleteFlow_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_ExportFlow_sync", - "title": "dialogflow ExportFlow Sample", - "description": "ExportFlow exports the specified flow to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse]\n\nNote that resources (e.g. intents, entities, webhooks) that the flow\nreferences will also be exported.", - "file": "FlowsClient/ExportFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ExportFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "ExportFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportFlowOperation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ExportFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "ExportFlow" }, + "description": "ExportFlow exports the specified flow to a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ExportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse]\n\nNote that resources (e.g. intents, entities, webhooks) that the flow\nreferences will also be exported.", + "file": "FlowsClient/ExportFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_ExportFlow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlow_sync", - "title": "dialogflow GetFlow Sample", - "description": "GetFlow retrieves the specified flow.", - "file": "FlowsClient/GetFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "GetFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "GetFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "GetFlow" }, + "description": "GetFlow retrieves the specified flow.", + "file": "FlowsClient/GetFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlowValidationResult_sync", - "title": "dialogflow GetFlowValidationResult Sample", - "description": "GetFlowValidationResult gets the latest flow validation result. Flow validation is performed\nwhen ValidateFlow is called.", - "file": "FlowsClient/GetFlowValidationResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFlowValidationResult", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetFlowValidationResult", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "GetFlowValidationResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetFlowValidationResultRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetFlowValidationResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "GetFlowValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "GetFlowValidationResult" }, + "description": "GetFlowValidationResult gets the latest flow validation result. Flow validation is performed\nwhen ValidateFlow is called.", + "file": "FlowsClient/GetFlowValidationResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlowValidationResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetFlowValidationResult Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "FlowsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "FlowsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FlowsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FlowsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_ImportFlow_sync", - "title": "dialogflow ImportFlow Sample", - "description": "ImportFlow imports the specified flow to the specified agent from a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ImportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse]\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/ImportFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ImportFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "ImportFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportFlowOperation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ImportFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "ImportFlow" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ImportFlow imports the specified flow to the specified agent from a binary file.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: \n[ImportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse]\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/ImportFlow/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_ImportFlow_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_ListFlows_sync", - "title": "dialogflow ListFlows Sample", - "description": "ListFlows returns the list of all flows in the specified agent.", - "file": "FlowsClient/ListFlows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFlows", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ListFlows", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "ListFlows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListFlowsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListFlowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FlowIterator", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ListFlows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "ListFlows" }, + "description": "ListFlows returns the list of all flows in the specified agent.", + "file": "FlowsClient/ListFlows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_ListFlows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListFlows Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "FlowsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "FlowsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FlowsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FlowsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_TrainFlow_sync", - "title": "dialogflow TrainFlow Sample", - "description": "TrainFlow trains the specified flow. Note that only the flow in 'draft' environment\nis trained.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/TrainFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.TrainFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "TrainFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.TrainFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.TrainFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainFlowOperation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "TrainFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "TrainFlow" }, + "description": "TrainFlow trains the specified flow. Note that only the flow in 'draft' environment\nis trained.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/TrainFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_TrainFlow_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow TrainFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_UpdateFlow_sync", - "title": "dialogflow UpdateFlow Sample", - "description": "UpdateFlow updates the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "FlowsClient/UpdateFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.UpdateFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "UpdateFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "UpdateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "UpdateFlow" }, + "description": "UpdateFlow updates the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "FlowsClient/UpdateFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_UpdateFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Flows_ValidateFlow_sync", - "title": "dialogflow ValidateFlow Sample", - "description": "ValidateFlow validates the specified flow and creates or updates validation results.\nPlease call this API after the training is completed to get the complete\nvalidation results.", - "file": "FlowsClient/ValidateFlow/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateFlow", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient", + "shortName": "FlowsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient.ValidateFlow", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "shortName": "Flows" + }, + "shortName": "ValidateFlow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ValidateFlowRequest", - "name": "req" + "name": "req", + "type": "cxpb.ValidateFlowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ValidateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } + "shortName": "ValidateFlow" }, + "description": "ValidateFlow validates the specified flow and creates or updates validation results.\nPlease call this API after the training is completed to get the complete\nvalidation results.", + "file": "FlowsClient/ValidateFlow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Flows_ValidateFlow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ValidateFlow Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_CreateGenerator_sync", - "title": "dialogflow CreateGenerator Sample", - "description": "CreateGenerator creates a generator in the specified agent.", - "file": "GeneratorsClient/CreateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.CreateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators", + "shortName": "Generators" + }, + "shortName": "CreateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } + "shortName": "CreateGenerator" }, + "description": "CreateGenerator creates a generator in the specified agent.", + "file": "GeneratorsClient/CreateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_CreateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateGenerator Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_DeleteGenerator_sync", - "title": "dialogflow DeleteGenerator Sample", - "description": "DeleteGenerator deletes the specified generators.", - "file": "GeneratorsClient/DeleteGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.DeleteGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators", + "shortName": "Generators" + }, + "shortName": "DeleteGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } + "shortName": "DeleteGenerator" }, + "description": "DeleteGenerator deletes the specified generators.", + "file": "GeneratorsClient/DeleteGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_DeleteGenerator_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteGenerator Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_GetGenerator_sync", - "title": "dialogflow GetGenerator Sample", - "description": "GetGenerator retrieves the specified generator.", - "file": "GeneratorsClient/GetGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.GetGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators", + "shortName": "Generators" + }, + "shortName": "GetGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } + "shortName": "GetGenerator" }, + "description": "GetGenerator retrieves the specified generator.", + "file": "GeneratorsClient/GetGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_GetGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetGenerator Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GeneratorsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GeneratorsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_ListGenerators_sync", - "title": "dialogflow ListGenerators Sample", - "description": "ListGenerators returns the list of all generators in the specified agent.", - "file": "GeneratorsClient/ListGenerators/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerators", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.ListGenerators", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators", + "shortName": "Generators" + }, + "shortName": "ListGenerators" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListGeneratorsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListGeneratorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GeneratorIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } + "shortName": "ListGenerators" }, + "description": "ListGenerators returns the list of all generators in the specified agent.", + "file": "GeneratorsClient/ListGenerators/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_ListGenerators_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListGenerators Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "GeneratorsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "GeneratorsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GeneratorsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GeneratorsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Generators_UpdateGenerator_sync", - "title": "dialogflow UpdateGenerator Sample", - "description": "UpdateGenerator update the specified generator.", - "file": "GeneratorsClient/UpdateGenerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerator", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient", + "shortName": "GeneratorsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient.UpdateGenerator", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators", + "shortName": "Generators" + }, + "shortName": "UpdateGenerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateGeneratorRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateGeneratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } + "shortName": "UpdateGenerator" }, + "description": "UpdateGenerator update the specified generator.", + "file": "GeneratorsClient/UpdateGenerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Generators_UpdateGenerator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateGenerator Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_CreateIntent_sync", - "title": "dialogflow CreateIntent Sample", - "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "IntentsClient/CreateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.CreateIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "CreateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "CreateIntent" }, + "description": "CreateIntent creates an intent in the specified agent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "IntentsClient/CreateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_CreateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_DeleteIntent_sync", - "title": "dialogflow DeleteIntent Sample", - "description": "DeleteIntent deletes the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "IntentsClient/DeleteIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.DeleteIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "DeleteIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "DeleteIntent" }, + "description": "DeleteIntent deletes the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "IntentsClient/DeleteIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_DeleteIntent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_ExportIntents_sync", - "title": "dialogflow ExportIntents Sample", - "description": "ExportIntents exports the selected intents.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata]\n- `response`: \n[ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse]", - "file": "IntentsClient/ExportIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportIntents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ExportIntents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "ExportIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportIntentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ExportIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "ExportIntents" }, + "description": "ExportIntents exports the selected intents.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata]\n- `response`: \n[ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse]", + "file": "IntentsClient/ExportIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_ExportIntents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportIntents Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_GetIntent_sync", - "title": "dialogflow GetIntent Sample", - "description": "GetIntent retrieves the specified intent.", - "file": "IntentsClient/GetIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.GetIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "GetIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "GetIntent" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetIntent retrieves the specified intent.", + "file": "IntentsClient/GetIntent/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_GetIntent_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "IntentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "IntentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_ImportIntents_sync", - "title": "dialogflow ImportIntents Sample", - "description": "ImportIntents imports the specified intents into the agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata]\n- `response`: \n[ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse]", - "file": "IntentsClient/ImportIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportIntents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ImportIntents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "ImportIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportIntentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportIntentsOperation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ImportIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "ImportIntents" }, + "description": "ImportIntents imports the specified intents into the agent.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata]\n- `response`: \n[ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse]", + "file": "IntentsClient/ImportIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_ImportIntents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportIntents Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_ListIntents_sync", - "title": "dialogflow ListIntents Sample", - "description": "ListIntents returns the list of all intents in the specified agent.", - "file": "IntentsClient/ListIntents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIntents", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ListIntents", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "ListIntents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListIntentsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListIntentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IntentIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "ListIntents" }, + "description": "ListIntents returns the list of all intents in the specified agent.", + "file": "IntentsClient/ListIntents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_ListIntents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListIntents Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "IntentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "IntentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IntentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IntentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Intents_UpdateIntent_sync", - "title": "dialogflow UpdateIntent Sample", - "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "IntentsClient/UpdateIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient", + "shortName": "IntentsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient.UpdateIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "shortName": "Intents" + }, + "shortName": "UpdateIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } + "shortName": "UpdateIntent" }, + "description": "UpdateIntent updates the specified intent.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "IntentsClient/UpdateIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Intents_UpdateIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PagesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PagesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_CreatePage_sync", - "title": "dialogflow CreatePage Sample", - "description": "CreatePage creates a page in the specified flow.", - "file": "PagesClient/CreatePage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.CreatePage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages", + "shortName": "Pages" + }, + "shortName": "CreatePage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreatePageRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreatePageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "CreatePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } + "shortName": "CreatePage" }, + "description": "CreatePage creates a page in the specified flow.", + "file": "PagesClient/CreatePage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_CreatePage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreatePage Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_DeletePage_sync", - "title": "dialogflow DeletePage Sample", - "description": "DeletePage deletes the specified page.", - "file": "PagesClient/DeletePage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.DeletePage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages", + "shortName": "Pages" + }, + "shortName": "DeletePage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeletePageRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeletePageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "DeletePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } + "shortName": "DeletePage" }, + "description": "DeletePage deletes the specified page.", + "file": "PagesClient/DeletePage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_DeletePage_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePage Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PagesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.GetLocation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PagesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PagesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PagesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_GetPage_sync", - "title": "dialogflow GetPage Sample", - "description": "GetPage retrieves the specified page.", - "file": "PagesClient/GetPage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.GetPage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages", + "shortName": "Pages" + }, + "shortName": "GetPage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetPageRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetPageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "GetPage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } + "shortName": "GetPage" }, + "description": "GetPage retrieves the specified page.", + "file": "PagesClient/GetPage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_GetPage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetPage Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "PagesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "PagesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PagesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PagesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_ListPages_sync", - "title": "dialogflow ListPages Sample", - "description": "ListPages returns the list of all pages in the specified flow.", - "file": "PagesClient/ListPages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPages", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.ListPages", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages", + "shortName": "Pages" + }, + "shortName": "ListPages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListPagesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListPagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PageIterator", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "ListPages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } + "shortName": "ListPages" }, + "description": "ListPages returns the list of all pages in the specified flow.", + "file": "PagesClient/ListPages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_ListPages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPages Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Pages_UpdatePage_sync", - "title": "dialogflow UpdatePage Sample", - "description": "UpdatePage updates the specified page.", - "file": "PagesClient/UpdatePage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient", + "shortName": "PagesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient.UpdatePage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages", + "shortName": "Pages" + }, + "shortName": "UpdatePage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdatePageRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdatePageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "UpdatePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } + "shortName": "UpdatePage" }, + "description": "UpdatePage updates the specified page.", + "file": "PagesClient/UpdatePage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Pages_UpdatePage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdatePage Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PlaybooksClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PlaybooksClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybook_sync", - "title": "dialogflow CreatePlaybook Sample", - "description": "CreatePlaybook creates a playbook in a specified agent.", - "file": "PlaybooksClient/CreatePlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.CreatePlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "CreatePlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreatePlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreatePlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "CreatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "CreatePlaybook" }, + "description": "CreatePlaybook creates a playbook in a specified agent.", + "file": "PlaybooksClient/CreatePlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreatePlaybook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybookVersion_sync", - "title": "dialogflow CreatePlaybookVersion Sample", - "description": "CreatePlaybookVersion creates a version for the specified Playbook.", - "file": "PlaybooksClient/CreatePlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.CreatePlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "CreatePlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreatePlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreatePlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.PlaybookVersion", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "CreatePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "CreatePlaybookVersion" }, + "description": "CreatePlaybookVersion creates a version for the specified Playbook.", + "file": "PlaybooksClient/CreatePlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybookVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreatePlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybook_sync", - "title": "dialogflow DeletePlaybook Sample", - "description": "DeletePlaybook deletes a specified playbook.", - "file": "PlaybooksClient/DeletePlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.DeletePlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "DeletePlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeletePlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeletePlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "DeletePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "DeletePlaybook" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeletePlaybook deletes a specified playbook.", + "file": "PlaybooksClient/DeletePlaybook/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybook_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePlaybook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybookVersion_sync", - "title": "dialogflow DeletePlaybookVersion Sample", - "description": "DeletePlaybookVersion deletes the specified version of the Playbook.", - "file": "PlaybooksClient/DeletePlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.DeletePlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "DeletePlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeletePlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeletePlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "DeletePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "DeletePlaybookVersion" }, + "description": "DeletePlaybookVersion deletes the specified version of the Playbook.", + "file": "PlaybooksClient/DeletePlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybookVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeletePlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ExportPlaybook_sync", - "title": "dialogflow ExportPlaybook Sample", - "description": "ExportPlaybook exports the specified playbook to a binary file.\n\nNote that resources (e.g. examples, tools) that the playbook\nreferences will also be exported.", - "file": "PlaybooksClient/ExportPlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportPlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ExportPlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ExportPlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ExportPlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportPlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportPlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportPlaybookOperation", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ExportPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ExportPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "ExportPlaybook" }, + "description": "ExportPlaybook exports the specified playbook to a binary file.\n\nNote that resources (e.g. examples, tools) that the playbook\nreferences will also be exported.", + "file": "PlaybooksClient/ExportPlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ExportPlaybook_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportPlaybook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PlaybooksClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PlaybooksClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PlaybooksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PlaybooksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybook_sync", - "title": "dialogflow GetPlaybook Sample", - "description": "GetPlaybook retrieves the specified Playbook.", - "file": "PlaybooksClient/GetPlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetPlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "GetPlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetPlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetPlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "GetPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "GetPlaybook" }, + "description": "GetPlaybook retrieves the specified Playbook.", + "file": "PlaybooksClient/GetPlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetPlaybook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybookVersion_sync", - "title": "dialogflow GetPlaybookVersion Sample", - "description": "GetPlaybookVersion retrieves the specified version of the Playbook.", - "file": "PlaybooksClient/GetPlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.GetPlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "GetPlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetPlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetPlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.PlaybookVersion", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "GetPlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "GetPlaybookVersion" }, + "description": "GetPlaybookVersion retrieves the specified version of the Playbook.", + "file": "PlaybooksClient/GetPlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybookVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetPlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ImportPlaybook_sync", - "title": "dialogflow ImportPlaybook Sample", - "description": "ImportPlaybook imports the specified playbook to the specified agent from a binary file.", - "file": "PlaybooksClient/ImportPlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportPlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ImportPlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ImportPlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ImportPlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportPlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportPlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportPlaybookOperation", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ImportPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ImportPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "ImportPlaybook" }, + "description": "ImportPlaybook imports the specified playbook to the specified agent from a binary file.", + "file": "PlaybooksClient/ImportPlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ImportPlaybook_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportPlaybook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "PlaybooksClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "PlaybooksClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PlaybooksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PlaybooksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybookVersions_sync", - "title": "dialogflow ListPlaybookVersions Sample", - "description": "ListPlaybookVersions lists versions for the specified Playbook.", - "file": "PlaybooksClient/ListPlaybookVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPlaybookVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListPlaybookVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ListPlaybookVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListPlaybookVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListPlaybookVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PlaybookVersionIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ListPlaybookVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "ListPlaybookVersions" }, + "description": "ListPlaybookVersions lists versions for the specified Playbook.", + "file": "PlaybooksClient/ListPlaybookVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybookVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPlaybookVersions Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybooks_sync", - "title": "dialogflow ListPlaybooks Sample", - "description": "ListPlaybooks returns a list of playbooks in the specified agent.", - "file": "PlaybooksClient/ListPlaybooks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPlaybooks", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.ListPlaybooks", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "ListPlaybooks" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListPlaybooksRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListPlaybooksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PlaybookIterator", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ListPlaybooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "ListPlaybooks" }, + "description": "ListPlaybooks returns a list of playbooks in the specified agent.", + "file": "PlaybooksClient/ListPlaybooks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybooks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListPlaybooks Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_RestorePlaybookVersion_sync", - "title": "dialogflow RestorePlaybookVersion Sample", - "description": "RestorePlaybookVersion retrieves the specified version of the Playbook and stores it as the\ncurrent playbook draft, returning the playbook with resources updated.", - "file": "PlaybooksClient/RestorePlaybookVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestorePlaybookVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.RestorePlaybookVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.RestorePlaybookVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "RestorePlaybookVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RestorePlaybookVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.RestorePlaybookVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.RestorePlaybookVersionResponse", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "RestorePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.RestorePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "RestorePlaybookVersion" }, + "description": "RestorePlaybookVersion retrieves the specified version of the Playbook and stores it as the\ncurrent playbook draft, returning the playbook with resources updated.", + "file": "PlaybooksClient/RestorePlaybookVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_RestorePlaybookVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestorePlaybookVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_UpdatePlaybook_sync", - "title": "dialogflow UpdatePlaybook Sample", - "description": "UpdatePlaybook updates the specified Playbook.", - "file": "PlaybooksClient/UpdatePlaybook/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePlaybook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient", + "shortName": "PlaybooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient.UpdatePlaybook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "shortName": "Playbooks" + }, + "shortName": "UpdatePlaybook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdatePlaybookRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdatePlaybookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "UpdatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } + "shortName": "UpdatePlaybook" }, + "description": "UpdatePlaybook updates the specified Playbook.", + "file": "PlaybooksClient/UpdatePlaybook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Playbooks_UpdatePlaybook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdatePlaybook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SecuritySettingsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SecuritySettingsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CreateSecuritySettings_sync", - "title": "dialogflow CreateSecuritySettings Sample", - "description": "CreateSecuritySettings create security settings in the specified location.", - "file": "SecuritySettingsClient/CreateSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.CreateSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "CreateSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SecuritySettings", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "CreateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } + "shortName": "CreateSecuritySettings" }, + "description": "CreateSecuritySettings create security settings in the specified location.", + "file": "SecuritySettingsClient/CreateSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CreateSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_DeleteSecuritySettings_sync", - "title": "dialogflow DeleteSecuritySettings Sample", - "description": "DeleteSecuritySettings deletes the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", - "file": "SecuritySettingsClient/DeleteSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.DeleteSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "DeleteSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "DeleteSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } + "shortName": "DeleteSecuritySettings" }, + "description": "DeleteSecuritySettings deletes the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", + "file": "SecuritySettingsClient/DeleteSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_DeleteSecuritySettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SecuritySettingsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SecuritySettingsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SecuritySettingsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SecuritySettingsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetSecuritySettings_sync", - "title": "dialogflow GetSecuritySettings Sample", - "description": "GetSecuritySettings retrieves the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].\nThe returned settings may be stale by up to 1 minute.", - "file": "SecuritySettingsClient/GetSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.GetSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "GetSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SecuritySettings", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } + "shortName": "GetSecuritySettings" }, + "description": "GetSecuritySettings retrieves the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].\nThe returned settings may be stale by up to 1 minute.", + "file": "SecuritySettingsClient/GetSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SecuritySettingsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SecuritySettingsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SecuritySettingsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SecuritySettingsClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListSecuritySettings_sync", - "title": "dialogflow ListSecuritySettings Sample", - "description": "ListSecuritySettings returns the list of all security settings in the specified location.", - "file": "SecuritySettingsClient/ListSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.ListSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "ListSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecuritySettingsIterator", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "ListSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } + "shortName": "ListSecuritySettings" }, + "description": "ListSecuritySettings returns the list of all security settings in the specified location.", + "file": "SecuritySettingsClient/ListSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListSecuritySettings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_UpdateSecuritySettings_sync", - "title": "dialogflow UpdateSecuritySettings Sample", - "description": "UpdateSecuritySettings updates the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", - "file": "SecuritySettingsClient/UpdateSecuritySettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecuritySettings", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient", + "shortName": "SecuritySettingsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient.UpdateSecuritySettings", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", + "shortName": "SecuritySettingsService" + }, + "shortName": "UpdateSecuritySettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateSecuritySettingsRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateSecuritySettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SecuritySettings", - "client": { - "shortName": "SecuritySettingsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsClient" - }, - "method": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } + "shortName": "UpdateSecuritySettings" }, + "description": "UpdateSecuritySettings updates the specified\n[SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", + "file": "SecuritySettingsClient/UpdateSecuritySettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_UpdateSecuritySettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSecuritySettings Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CreateSessionEntityType_sync", - "title": "dialogflow CreateSessionEntityType Sample", - "description": "CreateSessionEntityType creates a session entity type.", - "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.CreateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "CreateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } + "shortName": "CreateSessionEntityType" }, + "description": "CreateSessionEntityType creates a session entity type.", + "file": "SessionEntityTypesClient/CreateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CreateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_DeleteSessionEntityType_sync", - "title": "dialogflow DeleteSessionEntityType Sample", - "description": "DeleteSessionEntityType deletes the specified session entity type.", - "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.DeleteSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "DeleteSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } + "shortName": "DeleteSessionEntityType" }, + "description": "DeleteSessionEntityType deletes the specified session entity type.", + "file": "SessionEntityTypesClient/DeleteSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_DeleteSessionEntityType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionEntityTypesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionEntityTypesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetSessionEntityType_sync", - "title": "dialogflow GetSessionEntityType Sample", - "description": "GetSessionEntityType retrieves the specified session entity type.", - "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.GetSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "GetSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } + "shortName": "GetSessionEntityType" }, + "description": "GetSessionEntityType retrieves the specified session entity type.", + "file": "SessionEntityTypesClient/GetSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionEntityTypesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionEntityTypesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionEntityTypesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionEntityTypesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListSessionEntityTypes_sync", - "title": "dialogflow ListSessionEntityTypes Sample", - "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.", - "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessionEntityTypes", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.ListSessionEntityTypes", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "ListSessionEntityTypes" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListSessionEntityTypesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListSessionEntityTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionEntityTypeIterator", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } + "shortName": "ListSessionEntityTypes" }, + "description": "ListSessionEntityTypes returns the list of all session entity types in the specified session.", + "file": "SessionEntityTypesClient/ListSessionEntityTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListSessionEntityTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListSessionEntityTypes Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_UpdateSessionEntityType_sync", - "title": "dialogflow UpdateSessionEntityType Sample", - "description": "UpdateSessionEntityType updates the specified session entity type.", - "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSessionEntityType", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient", + "shortName": "SessionEntityTypesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient.UpdateSessionEntityType", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", + "shortName": "SessionEntityTypes" + }, + "shortName": "UpdateSessionEntityType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateSessionEntityTypeRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateSessionEntityTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } + "shortName": "UpdateSessionEntityType" }, + "description": "UpdateSessionEntityType updates the specified session entity type.", + "file": "SessionEntityTypesClient/UpdateSessionEntityType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_UpdateSessionEntityType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateSessionEntityType Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_DetectIntent_sync", - "title": "dialogflow DetectIntent Sample", - "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause session\nentity types to be updated, which in turn might affect results of future\nqueries.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).", - "file": "SessionsClient/DetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.DetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "DetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DetectIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.DetectIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } + "shortName": "DetectIntent" }, + "description": "DetectIntent processes a natural language query and returns structured, actionable data\nas a result. This method is not idempotent, because it may cause session\nentity types to be updated, which in turn might affect results of future\nqueries.\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).", + "file": "SessionsClient/DetectIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_DetectIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DetectIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_FulfillIntent_sync", - "title": "dialogflow FulfillIntent Sample", - "description": "FulfillIntent fulfills a matched intent returned by\n[MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].\nMust be called after\n[MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],\nwith input from\n[MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].\nOtherwise, the behavior is undefined.", - "file": "SessionsClient/FulfillIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "FulfillIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.FulfillIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "FulfillIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.FulfillIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.FulfillIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.FulfillIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "FulfillIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } + "shortName": "FulfillIntent" }, + "description": "FulfillIntent fulfills a matched intent returned by\n[MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent].\nMust be called after\n[MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent],\nwith input from\n[MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse].\nOtherwise, the behavior is undefined.", + "file": "SessionsClient/FulfillIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_FulfillIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow FulfillIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SessionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SessionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "SessionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "SessionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_MatchIntent_sync", - "title": "dialogflow MatchIntent Sample", - "description": "MatchIntent returns preliminary intent match results, doesn't change the session\nstatus.", - "file": "SessionsClient/MatchIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "MatchIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.MatchIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "MatchIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.MatchIntentRequest", - "name": "req" + "name": "req", + "type": "cxpb.MatchIntentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.MatchIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "MatchIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } + "shortName": "MatchIntent" }, + "description": "MatchIntent returns preliminary intent match results, doesn't change the session\nstatus.", + "file": "SessionsClient/MatchIntent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_MatchIntent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow MatchIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_StreamingDetectIntent_sync", - "title": "dialogflow StreamingDetectIntent Sample", - "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).\n\n\nThis method is not supported for the REST transport.", - "file": "SessionsClient/StreamingDetectIntent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingDetectIntent", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.StreamingDetectIntent", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "StreamingDetectIntent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "cxpb.Sessions_StreamingDetectIntentClient", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } + "shortName": "StreamingDetectIntent" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "StreamingDetectIntent processes a natural language query in audio format in a streaming fashion\nand returns structured, actionable data as a result. This method is only\navailable via the gRPC API (not REST).\n\nNote: Always use agent versions for production traffic.\nSee [Versions and\nenvironments](https: //cloud.google.com/dialogflow/cx/docs/concept/version).\n\n\nThis method is not supported for the REST transport.", + "file": "SessionsClient/StreamingDetectIntent/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_StreamingDetectIntent_sync", + "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow StreamingDetectIntent Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Sessions_SubmitAnswerFeedback_sync", - "title": "dialogflow SubmitAnswerFeedback Sample", - "description": "SubmitAnswerFeedback updates the feedback received from the user for a single turn of the bot\nresponse.", - "file": "SessionsClient/SubmitAnswerFeedback/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitAnswerFeedback", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient", + "shortName": "SessionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient.SubmitAnswerFeedback", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "shortName": "Sessions" + }, + "shortName": "SubmitAnswerFeedback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.SubmitAnswerFeedbackRequest", - "name": "req" + "name": "req", + "type": "cxpb.SubmitAnswerFeedbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.AnswerFeedback", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "SubmitAnswerFeedback", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } + "shortName": "SubmitAnswerFeedback" }, + "description": "SubmitAnswerFeedback updates the feedback received from the user for a single turn of the bot\nresponse.", + "file": "SessionsClient/SubmitAnswerFeedback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Sessions_SubmitAnswerFeedback_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow SubmitAnswerFeedback Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchDeleteTestCases_sync", - "title": "dialogflow BatchDeleteTestCases Sample", - "description": "BatchDeleteTestCases batch deletes test cases.", - "file": "TestCasesClient/BatchDeleteTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.BatchDeleteTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "BatchDeleteTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.BatchDeleteTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.BatchDeleteTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "BatchDeleteTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "BatchDeleteTestCases" }, + "description": "BatchDeleteTestCases batch deletes test cases.", + "file": "TestCasesClient/BatchDeleteTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchDeleteTestCases_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchDeleteTestCases Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchRunTestCases_sync", - "title": "dialogflow BatchRunTestCases Sample", - "description": "BatchRunTestCases kicks off a batch run of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata]\n- `response`: \n[BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse]", - "file": "TestCasesClient/BatchRunTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchRunTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.BatchRunTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "BatchRunTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.BatchRunTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.BatchRunTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchRunTestCasesOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "BatchRunTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "BatchRunTestCases" }, + "description": "BatchRunTestCases kicks off a batch run of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata]\n- `response`: \n[BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse]", + "file": "TestCasesClient/BatchRunTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchRunTestCases_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow BatchRunTestCases Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_CalculateCoverage_sync", - "title": "dialogflow CalculateCoverage Sample", - "description": "CalculateCoverage calculates the test coverage for an agent.", - "file": "TestCasesClient/CalculateCoverage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateCoverage", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.CalculateCoverage", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "CalculateCoverage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CalculateCoverageRequest", - "name": "req" + "name": "req", + "type": "cxpb.CalculateCoverageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.CalculateCoverageResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "CalculateCoverage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "CalculateCoverage" }, + "description": "CalculateCoverage calculates the test coverage for an agent.", + "file": "TestCasesClient/CalculateCoverage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_CalculateCoverage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CalculateCoverage Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TestCasesClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TestCasesClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_CreateTestCase_sync", - "title": "dialogflow CreateTestCase Sample", - "description": "CreateTestCase creates a test case for the given agent.", - "file": "TestCasesClient/CreateTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.CreateTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "CreateTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "CreateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "CreateTestCase" }, + "description": "CreateTestCase creates a test case for the given agent.", + "file": "TestCasesClient/CreateTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_CreateTestCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTestCase Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ExportTestCases_sync", - "title": "dialogflow ExportTestCases Sample", - "description": "ExportTestCases exports the test cases under the agent to a Cloud Storage bucket or a local\nfile. Filter can be applied to export a subset of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata]\n- `response`: \n[ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse]", - "file": "TestCasesClient/ExportTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ExportTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "ExportTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportTestCasesOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ExportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "ExportTestCases" }, + "description": "ExportTestCases exports the test cases under the agent to a Cloud Storage bucket or a local\nfile. Filter can be applied to export a subset of test cases.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata]\n- `response`: \n[ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse]", + "file": "TestCasesClient/ExportTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_ExportTestCases_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportTestCases Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TestCasesClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TestCasesClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TestCasesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TestCasesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCase_sync", - "title": "dialogflow GetTestCase Sample", - "description": "GetTestCase gets a test case.", - "file": "TestCasesClient/GetTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "GetTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "GetTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "GetTestCase" }, + "description": "GetTestCase gets a test case.", + "file": "TestCasesClient/GetTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTestCase Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCaseResult_sync", - "title": "dialogflow GetTestCaseResult Sample", - "description": "GetTestCaseResult gets a test case result.", - "file": "TestCasesClient/GetTestCaseResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTestCaseResult", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.GetTestCaseResult", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" }, + "shortName": "GetTestCaseResult" + }, + "parameters": [ { - "type": "cxpb.GetTestCaseResultRequest", - "name": "req" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "req", + "type": "cxpb.GetTestCaseResultRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCaseResult", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "GetTestCaseResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "GetTestCaseResult" }, + "description": "GetTestCaseResult gets a test case result.", + "file": "TestCasesClient/GetTestCaseResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCaseResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTestCaseResult Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ImportTestCases_sync", - "title": "dialogflow ImportTestCases Sample", - "description": "ImportTestCases imports the test cases from a Cloud Storage bucket or a local file. It\nalways creates new test cases and won't overwrite any existing ones. The\nprovided ID in the imported test case is neglected.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata]\n- `response`: \n[ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse]", - "file": "TestCasesClient/ImportTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ImportTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "ImportTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ImportTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ImportTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportTestCasesOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ImportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "ImportTestCases" }, + "description": "ImportTestCases imports the test cases from a Cloud Storage bucket or a local file. It\nalways creates new test cases and won't overwrite any existing ones. The\nprovided ID in the imported test case is neglected.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata]\n- `response`: \n[ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse]", + "file": "TestCasesClient/ImportTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_ImportTestCases_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ImportTestCases Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "TestCasesClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "TestCasesClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TestCasesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TestCasesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCaseResults_sync", - "title": "dialogflow ListTestCaseResults Sample", - "description": "ListTestCaseResults fetches the list of run results for the given test case. A maximum of 100\nresults are kept for each test case.", - "file": "TestCasesClient/ListTestCaseResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTestCaseResults", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListTestCaseResults", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "ListTestCaseResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListTestCaseResultsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListTestCaseResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TestCaseResultIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ListTestCaseResults", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "ListTestCaseResults" }, + "description": "ListTestCaseResults fetches the list of run results for the given test case. A maximum of 100\nresults are kept for each test case.", + "file": "TestCasesClient/ListTestCaseResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCaseResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTestCaseResults Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCases_sync", - "title": "dialogflow ListTestCases Sample", - "description": "ListTestCases fetches a list of test cases for a given agent.", - "file": "TestCasesClient/ListTestCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTestCases", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.ListTestCases", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "ListTestCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListTestCasesRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListTestCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TestCaseIterator", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ListTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "ListTestCases" }, + "description": "ListTestCases fetches a list of test cases for a given agent.", + "file": "TestCasesClient/ListTestCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTestCases Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_RunTestCase_sync", - "title": "dialogflow RunTestCase Sample", - "description": "RunTestCase kicks off a test case run.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata]\n- `response`: \n[RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.RunTestCaseResponse]", - "file": "TestCasesClient/RunTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.RunTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "RunTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RunTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.RunTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunTestCaseOperation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "RunTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "RunTestCase" }, + "description": "RunTestCase kicks off a test case run.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata]\n- `response`: \n[RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.RunTestCaseResponse]", + "file": "TestCasesClient/RunTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_RunTestCase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RunTestCase Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TestCases_UpdateTestCase_sync", - "title": "dialogflow UpdateTestCase Sample", - "description": "UpdateTestCase updates the specified test case.", - "file": "TestCasesClient/UpdateTestCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTestCase", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient", + "shortName": "TestCasesClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient.UpdateTestCase", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "shortName": "TestCases" + }, + "shortName": "UpdateTestCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateTestCaseRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateTestCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "UpdateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } + "shortName": "UpdateTestCase" }, + "description": "UpdateTestCase updates the specified test case.", + "file": "TestCasesClient/UpdateTestCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TestCases_UpdateTestCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateTestCase Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_CreateTool_sync", - "title": "dialogflow CreateTool Sample", - "description": "CreateTool creates a [Tool][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified\nagent.", - "file": "ToolsClient/CreateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.CreateTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "CreateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "CreateTool" }, + "description": "CreateTool creates a [Tool][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified\nagent.", + "file": "ToolsClient/CreateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_CreateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTool Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_CreateToolVersion_sync", - "title": "dialogflow CreateToolVersion Sample", - "description": "CreateToolVersion creates a version for the specified\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/CreateToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.CreateToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "CreateToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.ToolVersion", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "CreateToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "CreateToolVersion" }, + "description": "CreateToolVersion creates a version for the specified\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/CreateToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_CreateToolVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateToolVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteTool_sync", - "title": "dialogflow DeleteTool Sample", - "description": "DeleteTool deletes a specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/DeleteTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.DeleteTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "DeleteTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "DeleteTool" }, + "description": "DeleteTool deletes a specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/DeleteTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteTool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteTool Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteToolVersion_sync", - "title": "dialogflow DeleteToolVersion Sample", - "description": "DeleteToolVersion deletes the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/DeleteToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.DeleteToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "DeleteToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "DeleteToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "DeleteToolVersion" }, + "description": "DeleteToolVersion deletes the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/DeleteToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteToolVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteToolVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_ExportTools_sync", - "title": "dialogflow ExportTools Sample", - "description": "ExportTools exports the selected tools.", - "file": "ToolsClient/ExportTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportTools", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ExportTools", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "ExportTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ExportToolsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ExportToolsRequest" }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ExportToolsOperation", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ExportTools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ExportToolsOperation", + "shortName": "ExportTools" }, + "description": "ExportTools exports the selected tools.", + "file": "ToolsClient/ExportTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_ExportTools_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ExportTools Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ToolsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ToolsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_GetTool_sync", - "title": "dialogflow GetTool Sample", - "description": "GetTool retrieves the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/GetTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "GetTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "GetTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "GetTool" }, + "description": "GetTool retrieves the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/GetTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_GetTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTool Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_GetToolVersion_sync", - "title": "dialogflow GetToolVersion Sample", - "description": "GetToolVersion retrieves the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/GetToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.GetToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "GetToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.ToolVersion", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "GetToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "GetToolVersion" }, + "description": "GetToolVersion retrieves the specified version of the\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/GetToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_GetToolVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetToolVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "ToolsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "ToolsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ToolsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ToolsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_ListToolVersions_sync", - "title": "dialogflow ListToolVersions Sample", - "description": "ListToolVersions list versions of the specified\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/ListToolVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListToolVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListToolVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListToolVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "ListToolVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListToolVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListToolVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolVersionIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ListToolVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListToolVersions", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "ListToolVersions" }, + "description": "ListToolVersions list versions of the specified\n[Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/ListToolVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_ListToolVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListToolVersions Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_ListTools_sync", - "title": "dialogflow ListTools Sample", - "description": "ListTools returns a list of [Tools][google.cloud.dialogflow.cx.v3beta1.Tool] in the\nspecified agent.", - "file": "ToolsClient/ListTools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTools", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.ListTools", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "ListTools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListToolsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListToolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ToolIterator", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "ListTools" }, + "description": "ListTools returns a list of [Tools][google.cloud.dialogflow.cx.v3beta1.Tool] in the\nspecified agent.", + "file": "ToolsClient/ListTools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_ListTools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTools Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_RestoreToolVersion_sync", - "title": "dialogflow RestoreToolVersion Sample", - "description": "RestoreToolVersion retrieves the specified version of the Tool and stores it as the\ncurrent tool draft, returning the tool with resources updated.", - "file": "ToolsClient/RestoreToolVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreToolVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.RestoreToolVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.RestoreToolVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "RestoreToolVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.RestoreToolVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.RestoreToolVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.RestoreToolVersionResponse", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "RestoreToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.RestoreToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "RestoreToolVersion" }, + "description": "RestoreToolVersion retrieves the specified version of the Tool and stores it as the\ncurrent tool draft, returning the tool with resources updated.", + "file": "ToolsClient/RestoreToolVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_RestoreToolVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow RestoreToolVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Tools_UpdateTool_sync", - "title": "dialogflow UpdateTool Sample", - "description": "UpdateTool update the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "file": "ToolsClient/UpdateTool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTool", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient", + "shortName": "ToolsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient.UpdateTool", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "shortName": "Tools" + }, + "shortName": "UpdateTool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateToolRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateToolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } + "shortName": "UpdateTool" }, + "description": "UpdateTool update the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "file": "ToolsClient/UpdateTool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Tools_UpdateTool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TransitionRouteGroupsClient/CancelOperation/main.go", - "language": "GO", + ], + "title": "dialogflow UpdateTool Sample" + }, + { "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TransitionRouteGroupsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CreateTransitionRouteGroup_sync", - "title": "dialogflow CreateTransitionRouteGroup Sample", - "description": "CreateTransitionRouteGroup creates an\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]\nin the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "TransitionRouteGroupsClient/CreateTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.CreateTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "CreateTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "CreateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } + "shortName": "CreateTransitionRouteGroup" }, + "description": "CreateTransitionRouteGroup creates an\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]\nin the specified flow.\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "TransitionRouteGroupsClient/CreateTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CreateTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_sync", - "title": "dialogflow DeleteTransitionRouteGroup Sample", - "description": "DeleteTransitionRouteGroup deletes the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "TransitionRouteGroupsClient/DeleteTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.DeleteTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "DeleteTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "DeleteTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } + "shortName": "DeleteTransitionRouteGroup" }, + "description": "DeleteTransitionRouteGroup deletes the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "TransitionRouteGroupsClient/DeleteTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TransitionRouteGroupsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TransitionRouteGroupsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TransitionRouteGroupsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TransitionRouteGroupsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetTransitionRouteGroup_sync", - "title": "dialogflow GetTransitionRouteGroup Sample", - "description": "GetTransitionRouteGroup retrieves the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].", - "file": "TransitionRouteGroupsClient/GetTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.GetTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "GetTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } + "shortName": "GetTransitionRouteGroup" }, + "description": "GetTransitionRouteGroup retrieves the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].", + "file": "TransitionRouteGroupsClient/GetTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "TransitionRouteGroupsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "TransitionRouteGroupsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TransitionRouteGroupsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TransitionRouteGroupsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListTransitionRouteGroups_sync", - "title": "dialogflow ListTransitionRouteGroups Sample", - "description": "ListTransitionRouteGroups returns the list of all transition route groups in the specified flow.", - "file": "TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransitionRouteGroups", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.ListTransitionRouteGroups", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "ListTransitionRouteGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListTransitionRouteGroupsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListTransitionRouteGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransitionRouteGroupIterator", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListTransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } + "shortName": "ListTransitionRouteGroups" }, + "description": "ListTransitionRouteGroups returns the list of all transition route groups in the specified flow.", + "file": "TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListTransitionRouteGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListTransitionRouteGroups Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_sync", - "title": "dialogflow UpdateTransitionRouteGroup Sample", - "description": "UpdateTransitionRouteGroup updates the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", - "file": "TransitionRouteGroupsClient/UpdateTransitionRouteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTransitionRouteGroup", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient", + "shortName": "TransitionRouteGroupsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient.UpdateTransitionRouteGroup", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", + "shortName": "TransitionRouteGroups" + }, + "shortName": "UpdateTransitionRouteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateTransitionRouteGroupRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateTransitionRouteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "UpdateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } + "shortName": "UpdateTransitionRouteGroup" }, + "description": "UpdateTransitionRouteGroup updates the specified\n[TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].\n\nNote: You should always train a flow prior to sending it queries. See the\n[training\ndocumentation](https: //cloud.google.com/dialogflow/cx/docs/concept/training).", + "file": "TransitionRouteGroupsClient/UpdateTransitionRouteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateTransitionRouteGroup Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_CompareVersions_sync", - "title": "dialogflow CompareVersions Sample", - "description": "CompareVersions compares the specified base version with target version.", - "file": "VersionsClient/CompareVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompareVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.CompareVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "CompareVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CompareVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.CompareVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.CompareVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "CompareVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "CompareVersions" }, + "description": "CompareVersions compares the specified base version with target version.", + "file": "VersionsClient/CompareVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_CompareVersions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CompareVersions Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_CreateVersion_sync", - "title": "dialogflow CreateVersion Sample", - "description": "CreateVersion creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the\nspecified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata]\n- `response`: [Version][google.cloud.dialogflow.cx.v3beta1.Version]", - "file": "VersionsClient/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.CreateVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the\nspecified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: \n[CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata]\n- `response`: [Version][google.cloud.dialogflow.cx.v3beta1.Version]", + "file": "VersionsClient/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_CreateVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_DeleteVersion_sync", - "title": "dialogflow DeleteVersion Sample", - "description": "DeleteVersion deletes the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.Version].", - "file": "VersionsClient/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.DeleteVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion deletes the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.Version].", + "file": "VersionsClient/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VersionsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VersionsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_GetVersion_sync", - "title": "dialogflow GetVersion Sample", - "description": "GetVersion retrieves the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.Version].", - "file": "VersionsClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.GetVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion retrieves the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.Version].", + "file": "VersionsClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "VersionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "VersionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VersionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VersionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_ListVersions_sync", - "title": "dialogflow ListVersions Sample", - "description": "ListVersions returns the list of all versions in the specified\n[Flow][google.cloud.dialogflow.cx.v3beta1.Flow].", - "file": "VersionsClient/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.ListVersions", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions returns the list of all versions in the specified\n[Flow][google.cloud.dialogflow.cx.v3beta1.Flow].", + "file": "VersionsClient/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_ListVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListVersions Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_LoadVersion_sync", - "title": "dialogflow LoadVersion Sample", - "description": "LoadVersion loads resources in the specified version to the draft flow.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "file": "VersionsClient/LoadVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "LoadVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.LoadVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "LoadVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.LoadVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.LoadVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LoadVersionOperation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "LoadVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "LoadVersion" }, + "description": "LoadVersion loads resources in the specified version to the draft flow.\n\nThis method is a [long-running\noperation](https: //cloud.google.com/dialogflow/cx/docs/how/long-running-operation).\nThe returned `Operation` type has the following method-specific fields: \n\n- `metadata`: An empty [Struct\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)\n- `response`: An [Empty\nmessage](https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "file": "VersionsClient/LoadVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_LoadVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow LoadVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Versions_UpdateVersion_sync", - "title": "dialogflow UpdateVersion Sample", - "description": "UpdateVersion updates the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.Version].", - "file": "VersionsClient/UpdateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVersion", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient", + "shortName": "VersionsClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient.UpdateVersion", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "shortName": "Versions" + }, + "shortName": "UpdateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateVersionRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } + "shortName": "UpdateVersion" }, + "description": "UpdateVersion updates the specified\n[Version][google.cloud.dialogflow.cx.v3beta1.Version].", + "file": "VersionsClient/UpdateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Versions_UpdateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateVersion Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_CancelOperation_sync", - "title": "dialogflow CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "WebhooksClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "WebhooksClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CancelOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_CreateWebhook_sync", - "title": "dialogflow CreateWebhook Sample", - "description": "CreateWebhook creates a webhook in the specified agent.", - "file": "WebhooksClient/CreateWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.CreateWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "CreateWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.CreateWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.CreateWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "CreateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } + "shortName": "CreateWebhook" }, + "description": "CreateWebhook creates a webhook in the specified agent.", + "file": "WebhooksClient/CreateWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_CreateWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow CreateWebhook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_DeleteWebhook_sync", - "title": "dialogflow DeleteWebhook Sample", - "description": "DeleteWebhook deletes the specified webhook.", - "file": "WebhooksClient/DeleteWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.DeleteWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "DeleteWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.DeleteWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.DeleteWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "DeleteWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } + "shortName": "DeleteWebhook" }, + "description": "DeleteWebhook deletes the specified webhook.", + "file": "WebhooksClient/DeleteWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_DeleteWebhook_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow DeleteWebhook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetLocation_sync", - "title": "dialogflow GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "WebhooksClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "WebhooksClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetLocation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetOperation_sync", - "title": "dialogflow GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WebhooksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WebhooksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetOperation Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetWebhook_sync", - "title": "dialogflow GetWebhook Sample", - "description": "GetWebhook retrieves the specified webhook.", - "file": "WebhooksClient/GetWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.GetWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "GetWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.GetWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.GetWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "GetWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } + "shortName": "GetWebhook" }, + "description": "GetWebhook retrieves the specified webhook.", + "file": "WebhooksClient/GetWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow GetWebhook Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListLocations_sync", - "title": "dialogflow ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", - "file": "WebhooksClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\n\nThis method lists locations based on the resource scope provided in\nthe [ListLocationsRequest.name] field: \n\n* **Global locations**: If `name` is empty, the method lists the\npublic locations available to all projects. * **Project-specific\nlocations**: If `name` follows the format\n`projects/{project}`, the method lists locations visible to that\nspecific project. This includes public, private, or other\nproject-specific locations enabled for the project.\n\nFor gRPC and client library implementations, the resource name is\npassed as the `name` field. For direct service calls, the resource\nname is\nincorporated into the request path based on the specific service\nimplementation and version.", + "file": "WebhooksClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListLocations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListOperations_sync", - "title": "dialogflow ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WebhooksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WebhooksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListOperations Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListWebhooks_sync", - "title": "dialogflow ListWebhooks Sample", - "description": "ListWebhooks returns the list of all webhooks in the specified agent.", - "file": "WebhooksClient/ListWebhooks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWebhooks", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListWebhooks", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "ListWebhooks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.ListWebhooksRequest", - "name": "req" + "name": "req", + "type": "cxpb.ListWebhooksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WebhookIterator", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "ListWebhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } + "shortName": "ListWebhooks" }, + "description": "ListWebhooks returns the list of all webhooks in the specified agent.", + "file": "WebhooksClient/ListWebhooks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListWebhooks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow ListWebhooks Sample" }, { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_UpdateWebhook_sync", - "title": "dialogflow UpdateWebhook Sample", - "description": "UpdateWebhook updates the specified webhook.", - "file": "WebhooksClient/UpdateWebhook/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWebhook", + "client": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient", + "shortName": "WebhooksClient" + }, "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient.UpdateWebhook", + "method": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", + "service": { + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks", + "shortName": "Webhooks" + }, + "shortName": "UpdateWebhook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "cxpb.UpdateWebhookRequest", - "name": "req" + "name": "req", + "type": "cxpb.UpdateWebhookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*cxpb.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "UpdateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } + "shortName": "UpdateWebhook" }, + "description": "UpdateWebhook updates the specified webhook.", + "file": "WebhooksClient/UpdateWebhook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dialogflow_v3beta1_generated_Webhooks_UpdateWebhook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dialogflow UpdateWebhook Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json b/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json index d550eac21738..1b63b0f3353c 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json +++ b/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json @@ -1,7207 +1,7207 @@ { "clientLibrary": { - "name": "cloud.google.com/go/discoveryengine/apiv1", - "version": "1.23.0", - "language": "GO", "apis": [ { "id": "google.cloud.discoveryengine.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/discoveryengine/apiv1", + "version": "1.23.0" }, "snippets": [ { - "regionTag": "discoveryengine_v1_generated_AssistantService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AssistantClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.AssistantClient", + "shortName": "AssistantClient" + }, "fullName": "google.cloud.discoveryengine.v1.AssistantClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AssistantClient", - "fullName": "google.cloud.discoveryengine.v1.AssistantClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AssistantClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_AssistantService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_AssistantService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AssistantClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.AssistantClient", + "shortName": "AssistantClient" + }, "fullName": "google.cloud.discoveryengine.v1.AssistantClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AssistantClient", - "fullName": "google.cloud.discoveryengine.v1.AssistantClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AssistantClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_AssistantService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_AssistantService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AssistantClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.AssistantClient", + "shortName": "AssistantClient" + }, "fullName": "google.cloud.discoveryengine.v1.AssistantClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AssistantClient", - "fullName": "google.cloud.discoveryengine.v1.AssistantClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AssistantClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_AssistantService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CmekConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CmekConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_DeleteCmekConfig_sync", - "title": "discoveryengine DeleteCmekConfig Sample", - "description": "DeleteCmekConfig de-provisions a CmekConfig.", - "file": "CmekConfigClient/DeleteCmekConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCmekConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.DeleteCmekConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService", + "shortName": "CmekConfigService" + }, + "shortName": "DeleteCmekConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteCmekConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteCmekConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCmekConfigOperation", - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "DeleteCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } + "shortName": "DeleteCmekConfig" }, + "description": "DeleteCmekConfig de-provisions a CmekConfig.", + "file": "CmekConfigClient/DeleteCmekConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_DeleteCmekConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteCmekConfig Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_GetCmekConfig_sync", - "title": "discoveryengine GetCmekConfig Sample", - "description": "GetCmekConfig gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].", - "file": "CmekConfigClient/GetCmekConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCmekConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.GetCmekConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.GetCmekConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService", + "shortName": "CmekConfigService" + }, + "shortName": "GetCmekConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetCmekConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetCmekConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CmekConfig", - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "GetCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.GetCmekConfig", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } + "shortName": "GetCmekConfig" }, + "description": "GetCmekConfig gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].", + "file": "CmekConfigClient/GetCmekConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_GetCmekConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetCmekConfig Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CmekConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CmekConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_ListCmekConfigs_sync", - "title": "discoveryengine ListCmekConfigs Sample", - "description": "ListCmekConfigs lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s\nwith the project.", - "file": "CmekConfigClient/ListCmekConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCmekConfigs", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.ListCmekConfigs", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService", + "shortName": "CmekConfigService" + }, + "shortName": "ListCmekConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListCmekConfigsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListCmekConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ListCmekConfigsResponse", - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "ListCmekConfigs", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } + "shortName": "ListCmekConfigs" }, + "description": "ListCmekConfigs lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s\nwith the project.", + "file": "CmekConfigClient/ListCmekConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_ListCmekConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListCmekConfigs Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CmekConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CmekConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_UpdateCmekConfig_sync", - "title": "discoveryengine UpdateCmekConfig Sample", - "description": "UpdateCmekConfig provisions a CMEK key for use in a location of a customer's project.\nThis method will also conduct location validation on the provided\ncmekConfig to make sure the key is valid and can be used in the\nselected location.", - "file": "CmekConfigClient/UpdateCmekConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCmekConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient", + "shortName": "CmekConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient.UpdateCmekConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService", + "shortName": "CmekConfigService" + }, + "shortName": "UpdateCmekConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateCmekConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateCmekConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCmekConfigOperation", - "client": { - "shortName": "CmekConfigClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigClient" - }, - "method": { - "shortName": "UpdateCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } + "shortName": "UpdateCmekConfig" }, + "description": "UpdateCmekConfig provisions a CMEK key for use in a location of a customer's project.\nThis method will also conduct location validation on the provided\ncmekConfig to make sure the key is valid and can be used in the\nselected location.", + "file": "CmekConfigClient/UpdateCmekConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CmekConfigService_UpdateCmekConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateCmekConfig Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_CompleteQuery_sync", - "title": "discoveryengine CompleteQuery Sample", - "description": "CompleteQuery completes the specified user input with keyword suggestions.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified user input with keyword suggestions.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CompleteQuery Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_sync", - "title": "discoveryengine ImportCompletionSuggestions Sample", - "description": "ImportCompletionSuggestions imports\n[CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s\nfor a DataStore.", - "file": "CompletionClient/ImportCompletionSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCompletionSuggestions", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.ImportCompletionSuggestions", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportCompletionSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportCompletionSuggestionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportCompletionSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCompletionSuggestionsOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } + "shortName": "ImportCompletionSuggestions" }, + "description": "ImportCompletionSuggestions imports\n[CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s\nfor a DataStore.", + "file": "CompletionClient/ImportCompletionSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportCompletionSuggestions Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_ImportSuggestionDenyListEntries_sync", - "title": "discoveryengine ImportSuggestionDenyListEntries Sample", - "description": "ImportSuggestionDenyListEntries imports all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry]\nfor a DataStore.", - "file": "CompletionClient/ImportSuggestionDenyListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.ImportSuggestionDenyListEntries", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportSuggestionDenyListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportSuggestionDenyListEntriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportSuggestionDenyListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportSuggestionDenyListEntriesOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } + "shortName": "ImportSuggestionDenyListEntries" }, + "description": "ImportSuggestionDenyListEntries imports all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry]\nfor a DataStore.", + "file": "CompletionClient/ImportSuggestionDenyListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_ImportSuggestionDenyListEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportSuggestionDenyListEntries Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_sync", - "title": "discoveryengine PurgeCompletionSuggestions Sample", - "description": "PurgeCompletionSuggestions permanently deletes all\n[CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s\nfor a DataStore.", - "file": "CompletionClient/PurgeCompletionSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeCompletionSuggestions", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.PurgeCompletionSuggestions", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "PurgeCompletionSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeCompletionSuggestionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeCompletionSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeCompletionSuggestionsOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } + "shortName": "PurgeCompletionSuggestions" }, + "description": "PurgeCompletionSuggestions permanently deletes all\n[CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s\nfor a DataStore.", + "file": "CompletionClient/PurgeCompletionSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeCompletionSuggestions Sample" }, { - "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", - "title": "discoveryengine PurgeSuggestionDenyListEntries Sample", - "description": "PurgeSuggestionDenyListEntries permanently deletes all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry]\nfor a DataStore.", - "file": "CompletionClient/PurgeSuggestionDenyListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", + "client": { + "fullName": "google.cloud.discoveryengine.v1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1.CompletionClient.PurgeSuggestionDenyListEntries", + "method": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", + "service": { + "fullName": "google.cloud.discoveryengine.v1.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "PurgeSuggestionDenyListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeSuggestionDenyListEntriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeSuggestionDenyListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeSuggestionDenyListEntriesOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionClient" - }, - "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } + "shortName": "PurgeSuggestionDenyListEntries" }, + "description": "PurgeSuggestionDenyListEntries permanently deletes all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry]\nfor a DataStore.", + "file": "CompletionClient/PurgeSuggestionDenyListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeSuggestionDenyListEntries Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_CreateControl_sync", - "title": "discoveryengine CreateControl Sample", - "description": "CreateControl creates a Control.\n\nBy default 1000 controls are allowed for a data store.\nA request can be submitted to adjust this limit.\nIf the [Control][google.cloud.discoveryengine.v1.Control] to create already\nexists, an ALREADY_EXISTS error is returned.", - "file": "ControlClient/CreateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.CreateControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ControlService.CreateControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ControlService", + "shortName": "ControlService" + }, + "shortName": "CreateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } + "shortName": "CreateControl" }, + "description": "CreateControl creates a Control.\n\nBy default 1000 controls are allowed for a data store.\nA request can be submitted to adjust this limit.\nIf the [Control][google.cloud.discoveryengine.v1.Control] to create already\nexists, an ALREADY_EXISTS error is returned.", + "file": "ControlClient/CreateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_CreateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateControl Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_DeleteControl_sync", - "title": "discoveryengine DeleteControl Sample", - "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.discoveryengine.v1.Control] to delete does\nnot exist, a NOT_FOUND error is returned.", - "file": "ControlClient/DeleteControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.DeleteControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ControlService.DeleteControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ControlService", + "shortName": "ControlService" + }, + "shortName": "DeleteControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } + "shortName": "DeleteControl" }, + "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.discoveryengine.v1.Control] to delete does\nnot exist, a NOT_FOUND error is returned.", + "file": "ControlClient/DeleteControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_DeleteControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteControl Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_GetControl_sync", - "title": "discoveryengine GetControl Sample", - "description": "GetControl gets a Control.", - "file": "ControlClient/GetControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.GetControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ControlService.GetControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ControlService", + "shortName": "ControlService" + }, + "shortName": "GetControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } + "shortName": "GetControl" }, + "description": "GetControl gets a Control.", + "file": "ControlClient/GetControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_GetControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetControl Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_ListControls_sync", - "title": "discoveryengine ListControls Sample", - "description": "ListControls lists all Controls by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "ControlClient/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.ListControls", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ControlService.ListControls", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ControlService", + "shortName": "ControlService" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } + "shortName": "ListControls" }, + "description": "ListControls lists all Controls by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "ControlClient/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListControls Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_ControlService_UpdateControl_sync", - "title": "discoveryengine UpdateControl Sample", - "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.discoveryengine.v1.Control] action type cannot be\nchanged. If the [Control][google.cloud.discoveryengine.v1.Control] to\nupdate does not exist, a NOT_FOUND error is returned.", - "file": "ControlClient/UpdateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1.ControlClient.UpdateControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ControlService.UpdateControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ControlService", + "shortName": "ControlService" + }, + "shortName": "UpdateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1.ControlClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } + "shortName": "UpdateControl" }, + "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.discoveryengine.v1.Control] action type cannot be\nchanged. If the [Control][google.cloud.discoveryengine.v1.Control] to\nupdate does not exist, a NOT_FOUND error is returned.", + "file": "ControlClient/UpdateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ControlService_UpdateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateControl Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_AnswerQuery_sync", - "title": "discoveryengine AnswerQuery Sample", - "description": "AnswerQuery answer query method.", - "file": "ConversationalSearchClient/AnswerQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnswerQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.AnswerQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "AnswerQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.AnswerQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.AnswerQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "AnswerQuery" }, + "description": "AnswerQuery answer query method.", + "file": "ConversationalSearchClient/AnswerQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_AnswerQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine AnswerQuery Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ConverseConversation_sync", - "title": "discoveryengine ConverseConversation Sample", - "description": "ConverseConversation converses a conversation.", - "file": "ConversationalSearchClient/ConverseConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConverseConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.ConverseConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ConverseConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ConverseConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ConverseConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ConverseConversationResponse", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "ConverseConversation" }, + "description": "ConverseConversation converses a conversation.", + "file": "ConversationalSearchClient/ConverseConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ConverseConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ConverseConversation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateConversation_sync", - "title": "discoveryengine CreateConversation Sample", - "description": "CreateConversation creates a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1.Conversation] to\ncreate already exists, an ALREADY_EXISTS error is returned.", - "file": "ConversationalSearchClient/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.CreateConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1.Conversation] to\ncreate already exists, an ALREADY_EXISTS error is returned.", + "file": "ConversationalSearchClient/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateConversation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateSession_sync", - "title": "discoveryengine CreateSession Sample", - "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to create already\nexists, an ALREADY_EXISTS error is returned.", - "file": "ConversationalSearchClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.CreateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to create already\nexists, an ALREADY_EXISTS error is returned.", + "file": "ConversationalSearchClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteConversation_sync", - "title": "discoveryengine DeleteConversation Sample", - "description": "DeleteConversation deletes a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1.Conversation] to\ndelete does not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.DeleteConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "DeleteConversation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteConversation deletes a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1.Conversation] to\ndelete does not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/DeleteConversation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteConversation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteConversation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteSession_sync", - "title": "discoveryengine DeleteSession Sample", - "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to delete does\nnot exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.DeleteSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to delete does\nnot exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetAnswer_sync", - "title": "discoveryengine GetAnswer Sample", - "description": "GetAnswer gets a Answer.", - "file": "ConversationalSearchClient/GetAnswer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnswer", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.GetAnswer", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetAnswer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetAnswerRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetAnswerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Answer", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "GetAnswer" }, + "description": "GetAnswer gets a Answer.", + "file": "ConversationalSearchClient/GetAnswer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetAnswer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetAnswer Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetConversation_sync", - "title": "discoveryengine GetConversation Sample", - "description": "GetConversation gets a Conversation.", - "file": "ConversationalSearchClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.GetConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation gets a Conversation.", + "file": "ConversationalSearchClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetConversation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetSession_sync", - "title": "discoveryengine GetSession Sample", - "description": "GetSession gets a Session.", - "file": "ConversationalSearchClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.GetSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a Session.", + "file": "ConversationalSearchClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListConversations_sync", - "title": "discoveryengine ListConversations Sample", - "description": "ListConversations lists all Conversations by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "ConversationalSearchClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.ListConversations", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists all Conversations by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "ConversationalSearchClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListConversations Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListSessions_sync", - "title": "discoveryengine ListSessions Sample", - "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "ConversationalSearchClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.ListSessions", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListSessions", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListSessions", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "ConversationalSearchClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSessions Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateConversation_sync", - "title": "discoveryengine UpdateConversation Sample", - "description": "UpdateConversation updates a Conversation.\n\n[Conversation][google.cloud.discoveryengine.v1.Conversation] action type\ncannot be changed. If the\n[Conversation][google.cloud.discoveryengine.v1.Conversation] to update does\nnot exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/UpdateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.UpdateConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "UpdateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "UpdateConversation" }, + "description": "UpdateConversation updates a Conversation.\n\n[Conversation][google.cloud.discoveryengine.v1.Conversation] action type\ncannot be changed. If the\n[Conversation][google.cloud.discoveryengine.v1.Conversation] to update does\nnot exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/UpdateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateConversation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateSession_sync", - "title": "discoveryengine UpdateSession Sample", - "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1.Session] action type cannot be\nchanged. If the [Session][google.cloud.discoveryengine.v1.Session] to\nupdate does not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient.UpdateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1.Session] action type cannot be\nchanged. If the [Session][google.cloud.discoveryengine.v1.Session] to\nupdate does not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_CreateDataStore_sync", - "title": "discoveryengine CreateDataStore Sample", - "description": "CreateDataStore creates a [DataStore][google.cloud.discoveryengine.v1.DataStore].\n\nDataStore is for storing\n[Documents][google.cloud.discoveryengine.v1.Document]. To serve these\ndocuments for Search, or Recommendation use case, an\n[Engine][google.cloud.discoveryengine.v1.Engine] needs to be created\nseparately.", - "file": "DataStoreClient/CreateDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.CreateDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "CreateDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataStoreOperation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } + "shortName": "CreateDataStore" }, + "description": "CreateDataStore creates a [DataStore][google.cloud.discoveryengine.v1.DataStore].\n\nDataStore is for storing\n[Documents][google.cloud.discoveryengine.v1.Document]. To serve these\ndocuments for Search, or Recommendation use case, an\n[Engine][google.cloud.discoveryengine.v1.Engine] needs to be created\nseparately.", + "file": "DataStoreClient/CreateDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_CreateDataStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateDataStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_DeleteDataStore_sync", - "title": "discoveryengine DeleteDataStore Sample", - "description": "DeleteDataStore deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "DataStoreClient/DeleteDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.DeleteDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "DeleteDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataStoreOperation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } + "shortName": "DeleteDataStore" }, + "description": "DeleteDataStore deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "DataStoreClient/DeleteDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_DeleteDataStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteDataStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_GetDataStore_sync", - "title": "discoveryengine GetDataStore Sample", - "description": "GetDataStore gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "DataStoreClient/GetDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.GetDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "GetDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DataStore", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } + "shortName": "GetDataStore" }, + "description": "GetDataStore gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "DataStoreClient/GetDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_GetDataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDataStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_ListDataStores_sync", - "title": "discoveryengine ListDataStores Sample", - "description": "ListDataStores lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s\nassociated with the project.", - "file": "DataStoreClient/ListDataStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataStores", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.ListDataStores", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "ListDataStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListDataStoresRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListDataStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataStoreIterator", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } + "shortName": "ListDataStores" }, + "description": "ListDataStores lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s\nassociated with the project.", + "file": "DataStoreClient/ListDataStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_ListDataStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListDataStores Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_DataStoreService_UpdateDataStore_sync", - "title": "discoveryengine UpdateDataStore Sample", - "description": "UpdateDataStore updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]", - "file": "DataStoreClient/UpdateDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.DataStoreClient.UpdateDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "UpdateDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DataStore", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreClient" - }, - "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } + "shortName": "UpdateDataStore" }, + "description": "UpdateDataStore updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]", + "file": "DataStoreClient/UpdateDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DataStoreService_UpdateDataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDataStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_BatchGetDocumentsMetadata_sync", - "title": "discoveryengine BatchGetDocumentsMetadata Sample", - "description": "BatchGetDocumentsMetadata gets index freshness metadata for\n[Document][google.cloud.discoveryengine.v1.Document]s. Supported for\nwebsite search only.", - "file": "DocumentClient/BatchGetDocumentsMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.BatchGetDocumentsMetadata", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.BatchGetDocumentsMetadata", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "BatchGetDocumentsMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchGetDocumentsMetadataRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchGetDocumentsMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.BatchGetDocumentsMetadataResponse", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.BatchGetDocumentsMetadata", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "BatchGetDocumentsMetadata" }, + "description": "BatchGetDocumentsMetadata gets index freshness metadata for\n[Document][google.cloud.discoveryengine.v1.Document]s. Supported for\nwebsite search only.", + "file": "DocumentClient/BatchGetDocumentsMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_BatchGetDocumentsMetadata_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchGetDocumentsMetadata Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_CreateDocument_sync", - "title": "discoveryengine CreateDocument Sample", - "description": "CreateDocument creates a [Document][google.cloud.discoveryengine.v1.Document].", - "file": "DocumentClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.CreateDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "CreateDocument" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateDocument creates a [Document][google.cloud.discoveryengine.v1.Document].", + "file": "DocumentClient/CreateDocument/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_CreateDocument_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateDocument Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_DeleteDocument_sync", - "title": "discoveryengine DeleteDocument Sample", - "description": "DeleteDocument deletes a [Document][google.cloud.discoveryengine.v1.Document].", - "file": "DocumentClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.DeleteDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes a [Document][google.cloud.discoveryengine.v1.Document].", + "file": "DocumentClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteDocument Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_GetDocument_sync", - "title": "discoveryengine GetDocument Sample", - "description": "GetDocument gets a [Document][google.cloud.discoveryengine.v1.Document].", - "file": "DocumentClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.GetDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument gets a [Document][google.cloud.discoveryengine.v1.Document].", + "file": "DocumentClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDocument Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_ImportDocuments_sync", - "title": "discoveryengine ImportDocuments Sample", - "description": "ImportDocuments bulk import of multiple\n[Document][google.cloud.discoveryengine.v1.Document]s. Request processing\nmay be synchronous. Non-existing items are created.\n\nNote: It is possible for a subset of the\n[Document][google.cloud.discoveryengine.v1.Document]s to be successfully\nupdated.", - "file": "DocumentClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.ImportDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments bulk import of multiple\n[Document][google.cloud.discoveryengine.v1.Document]s. Request processing\nmay be synchronous. Non-existing items are created.\n\nNote: It is possible for a subset of the\n[Document][google.cloud.discoveryengine.v1.Document]s to be successfully\nupdated.", + "file": "DocumentClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportDocuments Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_ListDocuments_sync", - "title": "discoveryengine ListDocuments Sample", - "description": "ListDocuments gets a list of [Document][google.cloud.discoveryengine.v1.Document]s.", - "file": "DocumentClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.ListDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments gets a list of [Document][google.cloud.discoveryengine.v1.Document]s.", + "file": "DocumentClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListDocuments Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_PurgeDocuments_sync", - "title": "discoveryengine PurgeDocuments Sample", - "description": "PurgeDocuments permanently deletes all selected\n[Document][google.cloud.discoveryengine.v1.Document]s in a branch.\n\nThis process is asynchronous. Depending on the number of\n[Document][google.cloud.discoveryengine.v1.Document]s to be deleted, this\noperation can take hours to complete. Before the delete operation\ncompletes, some [Document][google.cloud.discoveryengine.v1.Document]s might\nstill be returned by\n[DocumentService.GetDocument][google.cloud.discoveryengine.v1.DocumentService.GetDocument]\nor\n[DocumentService.ListDocuments][google.cloud.discoveryengine.v1.DocumentService.ListDocuments].\n\nTo get a list of the [Document][google.cloud.discoveryengine.v1.Document]s\nto be deleted, set\n[PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1.PurgeDocumentsRequest.force]\nto false.", - "file": "DocumentClient/PurgeDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.PurgeDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "PurgeDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "PurgeDocuments" }, + "description": "PurgeDocuments permanently deletes all selected\n[Document][google.cloud.discoveryengine.v1.Document]s in a branch.\n\nThis process is asynchronous. Depending on the number of\n[Document][google.cloud.discoveryengine.v1.Document]s to be deleted, this\noperation can take hours to complete. Before the delete operation\ncompletes, some [Document][google.cloud.discoveryengine.v1.Document]s might\nstill be returned by\n[DocumentService.GetDocument][google.cloud.discoveryengine.v1.DocumentService.GetDocument]\nor\n[DocumentService.ListDocuments][google.cloud.discoveryengine.v1.DocumentService.ListDocuments].\n\nTo get a list of the [Document][google.cloud.discoveryengine.v1.Document]s\nto be deleted, set\n[PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1.PurgeDocumentsRequest.force]\nto false.", + "file": "DocumentClient/PurgeDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_PurgeDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeDocuments Sample" }, { - "regionTag": "discoveryengine_v1_generated_DocumentService_UpdateDocument_sync", - "title": "discoveryengine UpdateDocument Sample", - "description": "UpdateDocument updates a [Document][google.cloud.discoveryengine.v1.Document].", - "file": "DocumentClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1.DocumentClient.UpdateDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates a [Document][google.cloud.discoveryengine.v1.Document].", + "file": "DocumentClient/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_DocumentService_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDocument Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_CreateEngine_sync", - "title": "discoveryengine CreateEngine Sample", - "description": "CreateEngine creates a [Engine][google.cloud.discoveryengine.v1.Engine].", - "file": "EngineClient/CreateEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.CreateEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1.EngineService", + "shortName": "EngineService" + }, + "shortName": "CreateEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } + "shortName": "CreateEngine" }, + "description": "CreateEngine creates a [Engine][google.cloud.discoveryengine.v1.Engine].", + "file": "EngineClient/CreateEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_CreateEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateEngine Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_DeleteEngine_sync", - "title": "discoveryengine DeleteEngine Sample", - "description": "DeleteEngine deletes a [Engine][google.cloud.discoveryengine.v1.Engine].", - "file": "EngineClient/DeleteEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.DeleteEngine", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1.EngineService", + "shortName": "EngineService" + }, + "shortName": "DeleteEngine" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } + "shortName": "DeleteEngine" }, + "description": "DeleteEngine deletes a [Engine][google.cloud.discoveryengine.v1.Engine].", + "file": "EngineClient/DeleteEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_DeleteEngine_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteEngine Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_GetEngine_sync", - "title": "discoveryengine GetEngine Sample", - "description": "GetEngine gets a [Engine][google.cloud.discoveryengine.v1.Engine].", - "file": "EngineClient/GetEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.GetEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1.EngineService", + "shortName": "EngineService" + }, + "shortName": "GetEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } + "shortName": "GetEngine" }, + "description": "GetEngine gets a [Engine][google.cloud.discoveryengine.v1.Engine].", + "file": "EngineClient/GetEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_GetEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetEngine Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_ListEngines_sync", - "title": "discoveryengine ListEngines Sample", - "description": "ListEngines lists all the [Engine][google.cloud.discoveryengine.v1.Engine]s associated\nwith the project.", - "file": "EngineClient/ListEngines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEngines", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.ListEngines", + "method": { + "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", + "service": { + "fullName": "google.cloud.discoveryengine.v1.EngineService", + "shortName": "EngineService" + }, + "shortName": "ListEngines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEnginesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEnginesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EngineIterator", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } + "shortName": "ListEngines" }, + "description": "ListEngines lists all the [Engine][google.cloud.discoveryengine.v1.Engine]s associated\nwith the project.", + "file": "EngineClient/ListEngines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_ListEngines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEngines Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_EngineService_UpdateEngine_sync", - "title": "discoveryengine UpdateEngine Sample", - "description": "UpdateEngine updates an [Engine][google.cloud.discoveryengine.v1.Engine]", - "file": "EngineClient/UpdateEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.EngineClient.UpdateEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1.EngineService", + "shortName": "EngineService" + }, + "shortName": "UpdateEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1.EngineClient" - }, - "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } + "shortName": "UpdateEngine" }, + "description": "UpdateEngine updates an [Engine][google.cloud.discoveryengine.v1.Engine]", + "file": "EngineClient/UpdateEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_EngineService_UpdateEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateEngine Sample" }, { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_CheckGrounding_sync", - "title": "discoveryengine CheckGrounding Sample", - "description": "CheckGrounding performs a grounding check.", - "file": "GroundedGenerationClient/CheckGrounding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckGrounding", + "client": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient.CheckGrounding", + "method": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.CheckGrounding", + "service": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "CheckGrounding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CheckGroundingRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CheckGroundingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CheckGroundingResponse", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient" - }, - "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.CheckGrounding", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" - } - } + "shortName": "CheckGrounding" }, + "description": "CheckGrounding performs a grounding check.", + "file": "GroundedGenerationClient/CheckGrounding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_CheckGrounding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CheckGrounding Sample" }, { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_GenerateGroundedContent_sync", - "title": "discoveryengine GenerateGroundedContent Sample", - "description": "GenerateGroundedContent generates grounded content.", - "file": "GroundedGenerationClient/GenerateGroundedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateGroundedContent", + "client": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient.GenerateGroundedContent", + "method": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.GenerateGroundedContent", + "service": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "GenerateGroundedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GenerateGroundedContentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GenerateGroundedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.GenerateGroundedContentResponse", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient" - }, - "method": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.GenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" - } - } + "shortName": "GenerateGroundedContent" }, + "description": "GenerateGroundedContent generates grounded content.", + "file": "GroundedGenerationClient/GenerateGroundedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_GenerateGroundedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GenerateGroundedContent Sample" }, { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/ListOperations/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_ListOperations_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_StreamGenerateGroundedContent_sync", - "title": "discoveryengine StreamGenerateGroundedContent Sample", - "description": "StreamGenerateGroundedContent generates grounded content in a streaming fashion.\n\n\nThis method is not supported for the REST transport.", - "file": "GroundedGenerationClient/StreamGenerateGroundedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamGenerateGroundedContent", + "client": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient.StreamGenerateGroundedContent", + "method": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.StreamGenerateGroundedContent", + "service": { + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "StreamGenerateGroundedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "discoveryenginepb.GroundedGenerationService_StreamGenerateGroundedContentClient", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationClient" - }, - "method": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.StreamGenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" - } - } + "shortName": "StreamGenerateGroundedContent" }, + "description": "StreamGenerateGroundedContent generates grounded content in a streaming fashion.\n\n\nThis method is not supported for the REST transport.", + "file": "GroundedGenerationClient/StreamGenerateGroundedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_StreamGenerateGroundedContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine StreamGenerateGroundedContent Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "IdentityMappingStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "IdentityMappingStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync", - "title": "discoveryengine CreateIdentityMappingStore Sample", - "description": "CreateIdentityMappingStore creates a new Identity Mapping Store.", - "file": "IdentityMappingStoreClient/CreateIdentityMappingStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIdentityMappingStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.CreateIdentityMappingStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "CreateIdentityMappingStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateIdentityMappingStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateIdentityMappingStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.IdentityMappingStore", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "CreateIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "CreateIdentityMappingStore" }, + "description": "CreateIdentityMappingStore creates a new Identity Mapping Store.", + "file": "IdentityMappingStoreClient/CreateIdentityMappingStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_CreateIdentityMappingStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateIdentityMappingStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync", - "title": "discoveryengine DeleteIdentityMappingStore Sample", - "description": "DeleteIdentityMappingStore deletes the Identity Mapping Store.", - "file": "IdentityMappingStoreClient/DeleteIdentityMappingStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIdentityMappingStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.DeleteIdentityMappingStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "DeleteIdentityMappingStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteIdentityMappingStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteIdentityMappingStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIdentityMappingStoreOperation", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "DeleteIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "DeleteIdentityMappingStore" }, + "description": "DeleteIdentityMappingStore deletes the Identity Mapping Store.", + "file": "IdentityMappingStoreClient/DeleteIdentityMappingStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteIdentityMappingStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync", - "title": "discoveryengine GetIdentityMappingStore Sample", - "description": "GetIdentityMappingStore gets the Identity Mapping Store.", - "file": "IdentityMappingStoreClient/GetIdentityMappingStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIdentityMappingStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.GetIdentityMappingStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "GetIdentityMappingStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetIdentityMappingStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetIdentityMappingStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.IdentityMappingStore", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "GetIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "GetIdentityMappingStore" }, + "description": "GetIdentityMappingStore gets the Identity Mapping Store.", + "file": "IdentityMappingStoreClient/GetIdentityMappingStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_GetIdentityMappingStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetIdentityMappingStore Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "IdentityMappingStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "IdentityMappingStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ImportIdentityMappings_sync", - "title": "discoveryengine ImportIdentityMappings Sample", - "description": "ImportIdentityMappings imports a list of Identity Mapping Entries to an Identity Mapping Store.", - "file": "IdentityMappingStoreClient/ImportIdentityMappings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportIdentityMappings", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.ImportIdentityMappings", + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "ImportIdentityMappings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportIdentityMappingsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportIdentityMappingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportIdentityMappingsOperation", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "ImportIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "ImportIdentityMappings" }, + "description": "ImportIdentityMappings imports a list of Identity Mapping Entries to an Identity Mapping Store.", + "file": "IdentityMappingStoreClient/ImportIdentityMappings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ImportIdentityMappings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportIdentityMappings Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync", - "title": "discoveryengine ListIdentityMappingStores Sample", - "description": "ListIdentityMappingStores lists all Identity Mapping Stores.", - "file": "IdentityMappingStoreClient/ListIdentityMappingStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIdentityMappingStores", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.ListIdentityMappingStores", + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "ListIdentityMappingStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListIdentityMappingStoresRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListIdentityMappingStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IdentityMappingStoreIterator", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "ListIdentityMappingStores", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "ListIdentityMappingStores" }, + "description": "ListIdentityMappingStores lists all Identity Mapping Stores.", + "file": "IdentityMappingStoreClient/ListIdentityMappingStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappingStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListIdentityMappingStores Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappings_sync", - "title": "discoveryengine ListIdentityMappings Sample", - "description": "ListIdentityMappings lists Identity Mappings in an Identity Mapping Store.", - "file": "IdentityMappingStoreClient/ListIdentityMappings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIdentityMappings", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.ListIdentityMappings", + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "ListIdentityMappings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListIdentityMappingsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListIdentityMappingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IdentityMappingEntryIterator", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "ListIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "ListIdentityMappings" }, + "description": "ListIdentityMappings lists Identity Mappings in an Identity Mapping Store.", + "file": "IdentityMappingStoreClient/ListIdentityMappings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListIdentityMappings Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "IdentityMappingStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "IdentityMappingStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_PurgeIdentityMappings_sync", - "title": "discoveryengine PurgeIdentityMappings Sample", - "description": "PurgeIdentityMappings purges specified or all Identity Mapping Entries from an Identity Mapping\nStore.", - "file": "IdentityMappingStoreClient/PurgeIdentityMappings/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeIdentityMappings", + "client": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient", + "shortName": "IdentityMappingStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient.PurgeIdentityMappings", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings", + "service": { + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService", + "shortName": "IdentityMappingStoreService" + }, + "shortName": "PurgeIdentityMappings" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeIdentityMappingsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeIdentityMappingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeIdentityMappingsOperation", - "client": { - "shortName": "IdentityMappingStoreClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreClient" - }, - "method": { - "shortName": "PurgeIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } + "shortName": "PurgeIdentityMappings" }, + "description": "PurgeIdentityMappings purges specified or all Identity Mapping Entries from an Identity Mapping\nStore.", + "file": "IdentityMappingStoreClient/PurgeIdentityMappings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_PurgeIdentityMappings_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeIdentityMappings Sample" }, { - "regionTag": "discoveryengine_v1_generated_ProjectService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1.ProjectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1.ProjectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ProjectService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ProjectService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1.ProjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1.ProjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ProjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ProjectService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1.ProjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1.ProjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ProjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_ProjectService_ProvisionProject_sync", - "title": "discoveryengine ProvisionProject Sample", - "description": "ProvisionProject provisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https: //cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.", - "file": "ProjectClient/ProvisionProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvisionProject", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1.ProjectClient.ProvisionProject", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ProjectService.ProvisionProject", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "ProvisionProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ProvisionProjectRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ProvisionProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProvisionProjectOperation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1.ProjectClient" - }, - "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1.ProjectService.ProvisionProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1.ProjectService" - } - } + "shortName": "ProvisionProject" }, + "description": "ProvisionProject provisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https: //cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.", + "file": "ProjectClient/ProvisionProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ProjectService_ProvisionProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ProvisionProject Sample" }, { - "regionTag": "discoveryengine_v1_generated_RankService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RankClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1.RankClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1.RankClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RankClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RankService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_RankService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RankClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1.RankClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1.RankClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RankClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RankService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_RankService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RankClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1.RankClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1.RankClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RankClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RankService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_RankService_Rank_sync", - "title": "discoveryengine Rank Sample", - "description": "Rank ranks a list of text records based on the given input query.", - "file": "RankClient/Rank/main.go", - "language": "GO", "clientMethod": { - "shortName": "Rank", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1.RankClient.Rank", + "method": { + "fullName": "google.cloud.discoveryengine.v1.RankService.Rank", + "service": { + "fullName": "google.cloud.discoveryengine.v1.RankService", + "shortName": "RankService" + }, + "shortName": "Rank" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RankRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RankRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.RankResponse", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1.RankClient" - }, - "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1.RankService.Rank", - "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1.RankService" - } - } + "shortName": "Rank" }, + "description": "Rank ranks a list of text records based on the given input query.", + "file": "RankClient/Rank/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RankService_Rank_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Rank Sample" }, { - "regionTag": "discoveryengine_v1_generated_RecommendationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1.RecommendationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1.RecommendationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RecommendationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_RecommendationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1.RecommendationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1.RecommendationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/GetOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RecommendationService_GetOperation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_RecommendationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1.RecommendationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1.RecommendationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RecommendationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_RecommendationService_Recommend_sync", - "title": "discoveryengine Recommend Sample", - "description": "Recommend makes a recommendation, which requires a contextual user event.", - "file": "RecommendationClient/Recommend/main.go", - "language": "GO", "clientMethod": { - "shortName": "Recommend", + "client": { + "fullName": "google.cloud.discoveryengine.v1.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1.RecommendationClient.Recommend", + "method": { + "fullName": "google.cloud.discoveryengine.v1.RecommendationService.Recommend", + "service": { + "fullName": "google.cloud.discoveryengine.v1.RecommendationService", + "shortName": "RecommendationService" + }, + "shortName": "Recommend" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RecommendRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RecommendRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.RecommendResponse", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1.RecommendationClient" - }, - "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1.RecommendationService.Recommend", - "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1.RecommendationService" - } - } + "shortName": "Recommend" }, + "description": "Recommend makes a recommendation, which requires a contextual user event.", + "file": "RecommendationClient/Recommend/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_RecommendationService_Recommend_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Recommend Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_CreateSchema_sync", - "title": "discoveryengine CreateSchema Sample", - "description": "CreateSchema creates a [Schema][google.cloud.discoveryengine.v1.Schema].", - "file": "SchemaClient/CreateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.CreateSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "CreateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } + "shortName": "CreateSchema" }, + "description": "CreateSchema creates a [Schema][google.cloud.discoveryengine.v1.Schema].", + "file": "SchemaClient/CreateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_CreateSchema_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSchema Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_DeleteSchema_sync", - "title": "discoveryengine DeleteSchema Sample", - "description": "DeleteSchema deletes a [Schema][google.cloud.discoveryengine.v1.Schema].", - "file": "SchemaClient/DeleteSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.DeleteSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "DeleteSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } + "shortName": "DeleteSchema" }, + "description": "DeleteSchema deletes a [Schema][google.cloud.discoveryengine.v1.Schema].", + "file": "SchemaClient/DeleteSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_DeleteSchema_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSchema Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_GetSchema_sync", - "title": "discoveryengine GetSchema Sample", - "description": "GetSchema gets a [Schema][google.cloud.discoveryengine.v1.Schema].", - "file": "SchemaClient/GetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.GetSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "GetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } + "shortName": "GetSchema" }, + "description": "GetSchema gets a [Schema][google.cloud.discoveryengine.v1.Schema].", + "file": "SchemaClient/GetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_GetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSchema Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_ListSchemas_sync", - "title": "discoveryengine ListSchemas Sample", - "description": "ListSchemas gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.", - "file": "SchemaClient/ListSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemas", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.ListSchemas", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ListSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSchemasRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SchemaIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } + "shortName": "ListSchemas" }, + "description": "ListSchemas gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.", + "file": "SchemaClient/ListSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_ListSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSchemas Sample" }, { - "regionTag": "discoveryengine_v1_generated_SchemaService_UpdateSchema_sync", - "title": "discoveryengine UpdateSchema Sample", - "description": "UpdateSchema updates a [Schema][google.cloud.discoveryengine.v1.Schema].", - "file": "SchemaClient/UpdateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1.SchemaClient.UpdateSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "UpdateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaClient" - }, - "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } + "shortName": "UpdateSchema" }, + "description": "UpdateSchema updates a [Schema][google.cloud.discoveryengine.v1.Schema].", + "file": "SchemaClient/UpdateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SchemaService_UpdateSchema_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSchema Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1.SearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1.SearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1.SearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchService_Search_sync", - "title": "discoveryengine Search Sample", - "description": "Search performs a search.", - "file": "SearchClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchClient.Search", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SearchService", + "shortName": "SearchService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.SearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1.SearchClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1.SearchService" - } - } + "shortName": "Search" }, + "description": "Search performs a search.", + "file": "SearchClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Search Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchService_SearchLite_sync", - "title": "discoveryengine SearchLite Sample", - "description": "SearchLite performs a search. Similar to the\n[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]\nmethod, but a lite version that allows API key for authentication, where\nOAuth and IAM checks are not required.\n\nOnly public website search is supported by this method. If data stores and\nengines not associated with public website search are specified, a\n`FAILED_PRECONDITION` error is returned.\n\nThis method can be used for easy onboarding without having to implement an\nauthentication backend. However, it is strongly recommended to use\n[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]\ninstead with required OAuth and IAM checks to provide better data security.", - "file": "SearchClient/SearchLite/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchLite", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchClient.SearchLite", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SearchService.SearchLite", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SearchService", + "shortName": "SearchService" + }, + "shortName": "SearchLite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.SearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1.SearchClient" - }, - "method": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1.SearchService.SearchLite", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1.SearchService" - } - } + "shortName": "SearchLite" }, + "description": "SearchLite performs a search. Similar to the\n[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]\nmethod, but a lite version that allows API key for authentication, where\nOAuth and IAM checks are not required.\n\nOnly public website search is supported by this method. If data stores and\nengines not associated with public website search are specified, a\n`FAILED_PRECONDITION` error is returned.\n\nThis method can be used for easy onboarding without having to implement an\nauthentication backend. However, it is strongly recommended to use\n[SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search]\ninstead with required OAuth and IAM checks to provide better data security.", + "file": "SearchClient/SearchLite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchService_SearchLite_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine SearchLite Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchTuningService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchTuningService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_ListCustomModels_sync", - "title": "discoveryengine ListCustomModels Sample", - "description": "ListCustomModels gets a list of all the custom models.", - "file": "SearchTuningClient/ListCustomModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomModels", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient.ListCustomModels", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService", + "shortName": "SearchTuningService" + }, + "shortName": "ListCustomModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListCustomModelsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListCustomModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ListCustomModelsResponse", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient" - }, - "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService" - } - } + "shortName": "ListCustomModels" }, + "description": "ListCustomModels gets a list of all the custom models.", + "file": "SearchTuningClient/ListCustomModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchTuningService_ListCustomModels_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListCustomModels Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchTuningService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_TrainCustomModel_sync", - "title": "discoveryengine TrainCustomModel Sample", - "description": "TrainCustomModel trains a custom model.", - "file": "SearchTuningClient/TrainCustomModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient.TrainCustomModel", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "discoveryenginepb.TrainCustomModelRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "TrainCustomModelOperation", "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient" + "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient", + "shortName": "SearchTuningClient" }, + "fullName": "google.cloud.discoveryengine.v1.SearchTuningClient.TrainCustomModel", "method": { - "shortName": "TrainCustomModel", "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel", "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService" + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService", + "shortName": "SearchTuningService" + }, + "shortName": "TrainCustomModel" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "discoveryenginepb.TrainCustomModelRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "TrainCustomModelOperation", + "shortName": "TrainCustomModel" }, + "description": "TrainCustomModel trains a custom model.", + "file": "SearchTuningClient/TrainCustomModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SearchTuningService_TrainCustomModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine TrainCustomModel Sample" }, { - "regionTag": "discoveryengine_v1_generated_ServingConfigService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ServingConfigService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ServingConfigService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ServingConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_ServingConfigService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ServingConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "discoveryengine UpdateServingConfig Sample", - "description": "UpdateServingConfig updates a ServingConfig.\n\nReturns a NOT_FOUND error if the ServingConfig does not exist.", - "file": "ServingConfigClient/UpdateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient.UpdateServingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1.ServingConfigService.UpdateServingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "UpdateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateServingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigService" - } - } + "shortName": "UpdateServingConfig" }, + "description": "UpdateServingConfig updates a ServingConfig.\n\nReturns a NOT_FOUND error if the ServingConfig does not exist.", + "file": "ServingConfigClient/UpdateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_ServingConfigService_UpdateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateServingConfig Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_CreateSession_sync", - "title": "discoveryengine CreateSession Sample", - "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to create already\nexists, an ALREADY_EXISTS error is returned.", - "file": "SessionClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.CreateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SessionService.CreateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to create already\nexists, an ALREADY_EXISTS error is returned.", + "file": "SessionClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_DeleteSession_sync", - "title": "discoveryengine DeleteSession Sample", - "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to delete does\nnot exist, a NOT_FOUND error is returned.", - "file": "SessionClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.DeleteSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SessionService.DeleteSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1.Session] to delete does\nnot exist, a NOT_FOUND error is returned.", + "file": "SessionClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_GetSession_sync", - "title": "discoveryengine GetSession Sample", - "description": "GetSession gets a Session.", - "file": "SessionClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.GetSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SessionService.GetSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a Session.", + "file": "SessionClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_ListSessions_sync", - "title": "discoveryengine ListSessions Sample", - "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "SessionClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.ListSessions", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SessionService.ListSessions", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "SessionClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSessions Sample" }, { - "regionTag": "discoveryengine_v1_generated_SessionService_UpdateSession_sync", - "title": "discoveryengine UpdateSession Sample", - "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1.Session] action type cannot be\nchanged. If the [Session][google.cloud.discoveryengine.v1.Session] to\nupdate does not exist, a NOT_FOUND error is returned.", - "file": "SessionClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1.SessionClient.UpdateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SessionService.UpdateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SessionService", + "shortName": "SessionService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1.SessionClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1.Session] action type cannot be\nchanged. If the [Session][google.cloud.discoveryengine.v1.Session] to\nupdate does not exist, a NOT_FOUND error is returned.", + "file": "SessionClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SessionService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSession Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", - "title": "discoveryengine BatchCreateTargetSites Sample", - "description": "BatchCreateTargetSites creates [TargetSite][google.cloud.discoveryengine.v1.TargetSite] in a\nbatch.", - "file": "SiteSearchEngineClient/BatchCreateTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.BatchCreateTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "BatchCreateTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchCreateTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchCreateTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateTargetSitesOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "BatchCreateTargetSites" }, + "description": "BatchCreateTargetSites creates [TargetSite][google.cloud.discoveryengine.v1.TargetSite] in a\nbatch.", + "file": "SiteSearchEngineClient/BatchCreateTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchCreateTargetSites Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", - "title": "discoveryengine BatchVerifyTargetSites Sample", - "description": "BatchVerifyTargetSites verify target sites' ownership and validity.\nThis API sends all the target sites under site search engine for\nverification.", - "file": "SiteSearchEngineClient/BatchVerifyTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchVerifyTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.BatchVerifyTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "BatchVerifyTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchVerifyTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchVerifyTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchVerifyTargetSitesOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "BatchVerifyTargetSites" }, + "description": "BatchVerifyTargetSites verify target sites' ownership and validity.\nThis API sends all the target sites under site search engine for\nverification.", + "file": "SiteSearchEngineClient/BatchVerifyTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchVerifyTargetSites Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateSitemap_sync", - "title": "discoveryengine CreateSitemap Sample", - "description": "CreateSitemap creates a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", - "file": "SiteSearchEngineClient/CreateSitemap/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSitemap", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.CreateSitemap", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateSitemap", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "CreateSitemap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSitemapRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSitemapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSitemapOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "CreateSitemap" }, + "description": "CreateSitemap creates a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", + "file": "SiteSearchEngineClient/CreateSitemap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateSitemap_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSitemap Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateTargetSite_sync", - "title": "discoveryengine CreateTargetSite Sample", - "description": "CreateTargetSite creates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "file": "SiteSearchEngineClient/CreateTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.CreateTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "CreateTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "CreateTargetSite" }, + "description": "CreateTargetSite creates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "file": "SiteSearchEngineClient/CreateTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateTargetSite_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateTargetSite Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteSitemap_sync", - "title": "discoveryengine DeleteSitemap Sample", - "description": "DeleteSitemap deletes a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", - "file": "SiteSearchEngineClient/DeleteSitemap/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSitemap", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.DeleteSitemap", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteSitemap", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DeleteSitemap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSitemapRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSitemapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSitemapOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "DeleteSitemap" }, + "description": "DeleteSitemap deletes a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", + "file": "SiteSearchEngineClient/DeleteSitemap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteSitemap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSitemap Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteTargetSite_sync", - "title": "discoveryengine DeleteTargetSite Sample", - "description": "DeleteTargetSite deletes a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "file": "SiteSearchEngineClient/DeleteTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.DeleteTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DeleteTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "DeleteTargetSite" }, + "description": "DeleteTargetSite deletes a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "file": "SiteSearchEngineClient/DeleteTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteTargetSite_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteTargetSite Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", - "title": "discoveryengine DisableAdvancedSiteSearch Sample", - "description": "DisableAdvancedSiteSearch downgrade from advanced site search to basic site search.", - "file": "SiteSearchEngineClient/DisableAdvancedSiteSearch/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.DisableAdvancedSiteSearch", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DisableAdvancedSiteSearch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DisableAdvancedSiteSearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DisableAdvancedSiteSearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableAdvancedSiteSearchOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "DisableAdvancedSiteSearch" }, + "description": "DisableAdvancedSiteSearch downgrade from advanced site search to basic site search.", + "file": "SiteSearchEngineClient/DisableAdvancedSiteSearch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DisableAdvancedSiteSearch Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", - "title": "discoveryengine EnableAdvancedSiteSearch Sample", - "description": "EnableAdvancedSiteSearch upgrade from basic site search to advanced site search.", - "file": "SiteSearchEngineClient/EnableAdvancedSiteSearch/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.EnableAdvancedSiteSearch", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "EnableAdvancedSiteSearch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.EnableAdvancedSiteSearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.EnableAdvancedSiteSearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "EnableAdvancedSiteSearchOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "EnableAdvancedSiteSearchOperation", + "shortName": "EnableAdvancedSiteSearch" }, + "description": "EnableAdvancedSiteSearch upgrade from basic site search to advanced site search.", + "file": "SiteSearchEngineClient/EnableAdvancedSiteSearch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine EnableAdvancedSiteSearch Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", - "title": "discoveryengine FetchDomainVerificationStatus Sample", - "description": "FetchDomainVerificationStatus returns list of target sites with its domain verification status.\nThis method can only be called under data store with BASIC_SITE_SEARCH\nstate at the moment.", - "file": "SiteSearchEngineClient/FetchDomainVerificationStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDomainVerificationStatus", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.FetchDomainVerificationStatus", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "FetchDomainVerificationStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.FetchDomainVerificationStatusRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.FetchDomainVerificationStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSiteIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "FetchDomainVerificationStatus" }, + "description": "FetchDomainVerificationStatus returns list of target sites with its domain verification status.\nThis method can only be called under data store with BASIC_SITE_SEARCH\nstate at the moment.", + "file": "SiteSearchEngineClient/FetchDomainVerificationStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine FetchDomainVerificationStatus Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchSitemaps_sync", - "title": "discoveryengine FetchSitemaps Sample", - "description": "FetchSitemaps fetch [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s in a\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", - "file": "SiteSearchEngineClient/FetchSitemaps/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchSitemaps", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.FetchSitemaps", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchSitemaps", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "FetchSitemaps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.FetchSitemapsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.FetchSitemapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.FetchSitemapsResponse", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchSitemaps", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "FetchSitemaps" }, + "description": "FetchSitemaps fetch [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s in a\n[DataStore][google.cloud.discoveryengine.v1.DataStore].", + "file": "SiteSearchEngineClient/FetchSitemaps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchSitemaps_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine FetchSitemaps Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", - "title": "discoveryengine GetSiteSearchEngine Sample", - "description": "GetSiteSearchEngine gets the\n[SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine].", - "file": "SiteSearchEngineClient/GetSiteSearchEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSiteSearchEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.GetSiteSearchEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetSiteSearchEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSiteSearchEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSiteSearchEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SiteSearchEngine", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "GetSiteSearchEngine" }, + "description": "GetSiteSearchEngine gets the\n[SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine].", + "file": "SiteSearchEngineClient/GetSiteSearchEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSiteSearchEngine Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetTargetSite_sync", - "title": "discoveryengine GetTargetSite Sample", - "description": "GetTargetSite gets a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "file": "SiteSearchEngineClient/GetTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.GetTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.TargetSite", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "GetTargetSite" }, + "description": "GetTargetSite gets a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "file": "SiteSearchEngineClient/GetTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetTargetSite_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetTargetSite Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_ListTargetSites_sync", - "title": "discoveryengine ListTargetSites Sample", - "description": "ListTargetSites gets a list of [TargetSite][google.cloud.discoveryengine.v1.TargetSite]s.", - "file": "SiteSearchEngineClient/ListTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.ListTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "ListTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSiteIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "ListTargetSites" }, + "description": "ListTargetSites gets a list of [TargetSite][google.cloud.discoveryengine.v1.TargetSite]s.", + "file": "SiteSearchEngineClient/ListTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_ListTargetSites_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListTargetSites Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_RecrawlUris_sync", - "title": "discoveryengine RecrawlUris Sample", - "description": "RecrawlUris request on-demand recrawl for a list of URIs.", - "file": "SiteSearchEngineClient/RecrawlUris/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecrawlUris", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.RecrawlUris", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "RecrawlUris" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RecrawlUrisRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RecrawlUrisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecrawlUrisOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "RecrawlUris" }, + "description": "RecrawlUris request on-demand recrawl for a list of URIs.", + "file": "SiteSearchEngineClient/RecrawlUris/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_RecrawlUris_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine RecrawlUris Sample" }, { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_UpdateTargetSite_sync", - "title": "discoveryengine UpdateTargetSite Sample", - "description": "UpdateTargetSite updates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "file": "SiteSearchEngineClient/UpdateTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient.UpdateTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "UpdateTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineClient" - }, - "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } + "shortName": "UpdateTargetSite" }, + "description": "UpdateTargetSite updates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "file": "SiteSearchEngineClient/UpdateTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_UpdateTargetSite_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateTargetSite Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_CollectUserEvent_sync", - "title": "discoveryengine CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a third-party domain.\n\nThis method is used only by the Discovery Engine API JavaScript pixel and\nGoogle Tag Manager. Users should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a third-party domain.\n\nThis method is used only by the Discovery Engine API JavaScript pixel and\nGoogle Tag Manager. Users should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CollectUserEvent Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_ImportUserEvents_sync", - "title": "discoveryengine ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of user events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of user events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportUserEvents Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_PurgeUserEvents_sync", - "title": "discoveryengine PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeUserEvents Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserEventService_WriteUserEvent_sync", - "title": "discoveryengine WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.discoveryengine.v1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine WriteUserEvent Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_BatchUpdateUserLicenses_sync", - "title": "discoveryengine BatchUpdateUserLicenses Sample", - "description": "BatchUpdateUserLicenses updates the User License.\nThis method is used for batch assign/unassign licenses to users.", - "file": "UserLicenseClient/BatchUpdateUserLicenses/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateUserLicenses", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient", + "shortName": "UserLicenseClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient.BatchUpdateUserLicenses", + "method": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses", + "service": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService", + "shortName": "UserLicenseService" + }, + "shortName": "BatchUpdateUserLicenses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchUpdateUserLicensesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchUpdateUserLicensesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateUserLicensesOperation", - "client": { - "shortName": "UserLicenseClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient" - }, - "method": { - "shortName": "BatchUpdateUserLicenses", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses", - "service": { - "shortName": "UserLicenseService", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService" - } - } + "shortName": "BatchUpdateUserLicenses" }, + "description": "BatchUpdateUserLicenses updates the User License.\nThis method is used for batch assign/unassign licenses to users.", + "file": "UserLicenseClient/BatchUpdateUserLicenses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserLicenseService_BatchUpdateUserLicenses_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchUpdateUserLicenses Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "UserLicenseClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient", + "shortName": "UserLicenseClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserLicenseClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "UserLicenseClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserLicenseService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserLicenseClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient", + "shortName": "UserLicenseClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserLicenseClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserLicenseClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserLicenseService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserLicenseClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient", + "shortName": "UserLicenseClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserLicenseClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserLicenseClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserLicenseService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_ListUserLicenses_sync", - "title": "discoveryengine ListUserLicenses Sample", - "description": "ListUserLicenses lists the User Licenses.", - "file": "UserLicenseClient/ListUserLicenses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserLicenses", + "client": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient", + "shortName": "UserLicenseClient" + }, "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient.ListUserLicenses", + "method": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.ListUserLicenses", + "service": { + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService", + "shortName": "UserLicenseService" + }, + "shortName": "ListUserLicenses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListUserLicensesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListUserLicensesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserLicenseIterator", - "client": { - "shortName": "UserLicenseClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseClient" - }, - "method": { - "shortName": "ListUserLicenses", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.ListUserLicenses", - "service": { - "shortName": "UserLicenseService", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService" - } - } + "shortName": "ListUserLicenses" }, + "description": "ListUserLicenses lists the User Licenses.", + "file": "UserLicenseClient/ListUserLicenses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1_generated_UserLicenseService_ListUserLicenses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListUserLicenses Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json b/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json index f0267684bee6..956419234304 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json @@ -1,8127 +1,8127 @@ { "clientLibrary": { - "name": "cloud.google.com/go/discoveryengine/apiv1alpha", - "version": "1.23.0", - "language": "GO", "apis": [ { "id": "google.cloud.discoveryengine.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/discoveryengine/apiv1alpha", + "version": "1.23.0" }, "snippets": [ { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AclConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient", + "shortName": "AclConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AclConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AclConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_GetAclConfig_sync", - "title": "discoveryengine GetAclConfig Sample", - "description": "GetAclConfig gets the [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig].", - "file": "AclConfigClient/GetAclConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAclConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient", + "shortName": "AclConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient.GetAclConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService", + "shortName": "AclConfigService" + }, + "shortName": "GetAclConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetAclConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetAclConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.AclConfig", - "client": { - "shortName": "AclConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient" - }, - "method": { - "shortName": "GetAclConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfig", - "service": { - "shortName": "AclConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService" - } - } + "shortName": "GetAclConfig" }, + "description": "GetAclConfig gets the [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig].", + "file": "AclConfigClient/GetAclConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_GetAclConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetAclConfig Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AclConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient", + "shortName": "AclConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AclConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AclConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AclConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient", + "shortName": "AclConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AclConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AclConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_UpdateAclConfig_sync", - "title": "discoveryengine UpdateAclConfig Sample", - "description": "UpdateAclConfig default ACL configuration for use in a location of a customer's project.\nUpdates will only reflect to new data stores. Existing data stores will\nstill use the old value.", - "file": "AclConfigClient/UpdateAclConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAclConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient", + "shortName": "AclConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient.UpdateAclConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService", + "shortName": "AclConfigService" + }, + "shortName": "UpdateAclConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateAclConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateAclConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.AclConfig", - "client": { - "shortName": "AclConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigClient" - }, - "method": { - "shortName": "UpdateAclConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfig", - "service": { - "shortName": "AclConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService" - } - } + "shortName": "UpdateAclConfig" }, + "description": "UpdateAclConfig default ACL configuration for use in a location of a customer's project.\nUpdates will only reflect to new data stores. Existing data stores will\nstill use the old value.", + "file": "AclConfigClient/UpdateAclConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_UpdateAclConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateAclConfig Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ChunkClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient", + "shortName": "ChunkClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ChunkClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ChunkClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_GetChunk_sync", - "title": "discoveryengine GetChunk Sample", - "description": "GetChunk gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "file": "ChunkClient/GetChunk/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChunk", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient", + "shortName": "ChunkClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient.GetChunk", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService", + "shortName": "ChunkService" + }, + "shortName": "GetChunk" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetChunkRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetChunkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Chunk", - "client": { - "shortName": "ChunkClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient" - }, - "method": { - "shortName": "GetChunk", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk", - "service": { - "shortName": "ChunkService", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService" - } - } + "shortName": "GetChunk" }, + "description": "GetChunk gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "file": "ChunkClient/GetChunk/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_GetChunk_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetChunk Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ChunkClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient", + "shortName": "ChunkClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ChunkClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ChunkClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_ListChunks_sync", - "title": "discoveryengine ListChunks Sample", - "description": "ListChunks gets a list of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.", - "file": "ChunkClient/ListChunks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChunks", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient", + "shortName": "ChunkClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient.ListChunks", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService", + "shortName": "ChunkService" + }, + "shortName": "ListChunks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListChunksRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListChunksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChunkIterator", - "client": { - "shortName": "ChunkClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient" - }, - "method": { - "shortName": "ListChunks", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks", - "service": { - "shortName": "ChunkService", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService" - } - } + "shortName": "ListChunks" }, + "description": "ListChunks gets a list of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.", + "file": "ChunkClient/ListChunks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_ListChunks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListChunks Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ChunkClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient", + "shortName": "ChunkClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ChunkClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ChunkClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_CompleteQuery_sync", - "title": "discoveryengine CompleteQuery Sample", - "description": "CompleteQuery completes the specified user input with keyword suggestions.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified user input with keyword suggestions.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CompleteQuery Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportCompletionSuggestions_sync", - "title": "discoveryengine ImportCompletionSuggestions Sample", - "description": "ImportCompletionSuggestions imports\n[CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s\nfor a DataStore.", - "file": "CompletionClient/ImportCompletionSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCompletionSuggestions", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.ImportCompletionSuggestions", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportCompletionSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportCompletionSuggestionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportCompletionSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCompletionSuggestionsOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } + "shortName": "ImportCompletionSuggestions" }, + "description": "ImportCompletionSuggestions imports\n[CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s\nfor a DataStore.", + "file": "CompletionClient/ImportCompletionSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportCompletionSuggestions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportCompletionSuggestions Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportSuggestionDenyListEntries_sync", - "title": "discoveryengine ImportSuggestionDenyListEntries Sample", - "description": "ImportSuggestionDenyListEntries imports all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry]\nfor a DataStore.", - "file": "CompletionClient/ImportSuggestionDenyListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.ImportSuggestionDenyListEntries", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportSuggestionDenyListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportSuggestionDenyListEntriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportSuggestionDenyListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportSuggestionDenyListEntriesOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } + "shortName": "ImportSuggestionDenyListEntries" }, + "description": "ImportSuggestionDenyListEntries imports all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry]\nfor a DataStore.", + "file": "CompletionClient/ImportSuggestionDenyListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportSuggestionDenyListEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportSuggestionDenyListEntries Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeCompletionSuggestions_sync", - "title": "discoveryengine PurgeCompletionSuggestions Sample", - "description": "PurgeCompletionSuggestions permanently deletes all\n[CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s\nfor a DataStore.", - "file": "CompletionClient/PurgeCompletionSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeCompletionSuggestions", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.PurgeCompletionSuggestions", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "PurgeCompletionSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeCompletionSuggestionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeCompletionSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeCompletionSuggestionsOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } + "shortName": "PurgeCompletionSuggestions" }, + "description": "PurgeCompletionSuggestions permanently deletes all\n[CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s\nfor a DataStore.", + "file": "CompletionClient/PurgeCompletionSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeCompletionSuggestions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeCompletionSuggestions Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", - "title": "discoveryengine PurgeSuggestionDenyListEntries Sample", - "description": "PurgeSuggestionDenyListEntries permanently deletes all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry]\nfor a DataStore.", - "file": "CompletionClient/PurgeSuggestionDenyListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient.PurgeSuggestionDenyListEntries", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "PurgeSuggestionDenyListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeSuggestionDenyListEntriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeSuggestionDenyListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeSuggestionDenyListEntriesOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionClient" - }, - "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } + "shortName": "PurgeSuggestionDenyListEntries" }, + "description": "PurgeSuggestionDenyListEntries permanently deletes all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry]\nfor a DataStore.", + "file": "CompletionClient/PurgeSuggestionDenyListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeSuggestionDenyListEntries Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_CreateControl_sync", - "title": "discoveryengine CreateControl Sample", - "description": "CreateControl creates a Control.\n\nBy default 1000 controls are allowed for a data store.\nA request can be submitted to adjust this limit.\nIf the [Control][google.cloud.discoveryengine.v1alpha.Control] to create\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "ControlClient/CreateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.CreateControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.CreateControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "CreateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } + "shortName": "CreateControl" }, + "description": "CreateControl creates a Control.\n\nBy default 1000 controls are allowed for a data store.\nA request can be submitted to adjust this limit.\nIf the [Control][google.cloud.discoveryengine.v1alpha.Control] to create\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "ControlClient/CreateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_CreateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateControl Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_DeleteControl_sync", - "title": "discoveryengine DeleteControl Sample", - "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.discoveryengine.v1alpha.Control] to delete\ndoes not exist, a NOT_FOUND error is returned.", - "file": "ControlClient/DeleteControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.DeleteControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.DeleteControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "DeleteControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } + "shortName": "DeleteControl" }, + "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.discoveryengine.v1alpha.Control] to delete\ndoes not exist, a NOT_FOUND error is returned.", + "file": "ControlClient/DeleteControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_DeleteControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteControl Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_GetControl_sync", - "title": "discoveryengine GetControl Sample", - "description": "GetControl gets a Control.", - "file": "ControlClient/GetControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.GetControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.GetControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "GetControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } + "shortName": "GetControl" }, + "description": "GetControl gets a Control.", + "file": "ControlClient/GetControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_GetControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetControl Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_ListControls_sync", - "title": "discoveryengine ListControls Sample", - "description": "ListControls lists all Controls by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "file": "ControlClient/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.ListControls", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.ListControls", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } + "shortName": "ListControls" }, + "description": "ListControls lists all Controls by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "file": "ControlClient/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListControls Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_UpdateControl_sync", - "title": "discoveryengine UpdateControl Sample", - "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.discoveryengine.v1alpha.Control] action type cannot\nbe changed. If the [Control][google.cloud.discoveryengine.v1alpha.Control]\nto update does not exist, a NOT_FOUND error is returned.", - "file": "ControlClient/UpdateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient.UpdateControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.UpdateControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "UpdateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } + "shortName": "UpdateControl" }, + "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.discoveryengine.v1alpha.Control] action type cannot\nbe changed. If the [Control][google.cloud.discoveryengine.v1alpha.Control]\nto update does not exist, a NOT_FOUND error is returned.", + "file": "ControlClient/UpdateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ControlService_UpdateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateControl Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_AnswerQuery_sync", - "title": "discoveryengine AnswerQuery Sample", - "description": "AnswerQuery answer query method.", - "file": "ConversationalSearchClient/AnswerQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnswerQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.AnswerQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.AnswerQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "AnswerQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.AnswerQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.AnswerQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.AnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "AnswerQuery" }, + "description": "AnswerQuery answer query method.", + "file": "ConversationalSearchClient/AnswerQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_AnswerQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine AnswerQuery Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ConverseConversation_sync", - "title": "discoveryengine ConverseConversation Sample", - "description": "ConverseConversation converses a conversation.", - "file": "ConversationalSearchClient/ConverseConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConverseConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.ConverseConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ConverseConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ConverseConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ConverseConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ConverseConversationResponse", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "ConverseConversation" }, + "description": "ConverseConversation converses a conversation.", + "file": "ConversationalSearchClient/ConverseConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ConverseConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ConverseConversation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateConversation_sync", - "title": "discoveryengine CreateConversation Sample", - "description": "CreateConversation creates a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to\ncreate already exists, an ALREADY_EXISTS error is returned.", - "file": "ConversationalSearchClient/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.CreateConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to\ncreate already exists, an ALREADY_EXISTS error is returned.", + "file": "ConversationalSearchClient/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateConversation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateSession_sync", - "title": "discoveryengine CreateSession Sample", - "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "ConversationalSearchClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.CreateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "ConversationalSearchClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteConversation_sync", - "title": "discoveryengine DeleteConversation Sample", - "description": "DeleteConversation deletes a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to\ndelete does not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.DeleteConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "DeleteConversation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteConversation deletes a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to\ndelete does not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/DeleteConversation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteConversation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteConversation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteSession_sync", - "title": "discoveryengine DeleteSession Sample", - "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.DeleteSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetAnswer_sync", - "title": "discoveryengine GetAnswer Sample", - "description": "GetAnswer gets a Answer.", - "file": "ConversationalSearchClient/GetAnswer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnswer", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.GetAnswer", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetAnswer", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetAnswer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetAnswerRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetAnswerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Answer", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetAnswer", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "GetAnswer" }, + "description": "GetAnswer gets a Answer.", + "file": "ConversationalSearchClient/GetAnswer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetAnswer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetAnswer Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetConversation_sync", - "title": "discoveryengine GetConversation Sample", - "description": "GetConversation gets a Conversation.", - "file": "ConversationalSearchClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.GetConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation gets a Conversation.", + "file": "ConversationalSearchClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetConversation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetSession_sync", - "title": "discoveryengine GetSession Sample", - "description": "GetSession gets a Session.", - "file": "ConversationalSearchClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.GetSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a Session.", + "file": "ConversationalSearchClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListConversations_sync", - "title": "discoveryengine ListConversations Sample", - "description": "ListConversations lists all Conversations by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "file": "ConversationalSearchClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.ListConversations", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists all Conversations by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "file": "ConversationalSearchClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListConversations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListSessions_sync", - "title": "discoveryengine ListSessions Sample", - "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "file": "ConversationalSearchClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.ListSessions", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListSessions", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListSessions", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "file": "ConversationalSearchClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSessions Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateConversation_sync", - "title": "discoveryengine UpdateConversation Sample", - "description": "UpdateConversation updates a Conversation.\n\n[Conversation][google.cloud.discoveryengine.v1alpha.Conversation] action\ntype cannot be changed. If the\n[Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to update\ndoes not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/UpdateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.UpdateConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "UpdateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "UpdateConversation" }, + "description": "UpdateConversation updates a Conversation.\n\n[Conversation][google.cloud.discoveryengine.v1alpha.Conversation] action\ntype cannot be changed. If the\n[Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to update\ndoes not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/UpdateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateConversation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateSession_sync", - "title": "discoveryengine UpdateSession Sample", - "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session]\nto update does not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient.UpdateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session]\nto update does not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_CreateDataStore_sync", - "title": "discoveryengine CreateDataStore Sample", - "description": "CreateDataStore creates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].\n\nDataStore is for storing\n[Documents][google.cloud.discoveryengine.v1alpha.Document]. To serve these\ndocuments for Search, or Recommendation use case, an\n[Engine][google.cloud.discoveryengine.v1alpha.Engine] needs to be created\nseparately.", - "file": "DataStoreClient/CreateDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.CreateDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "CreateDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataStoreOperation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "CreateDataStore" }, + "description": "CreateDataStore creates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].\n\nDataStore is for storing\n[Documents][google.cloud.discoveryengine.v1alpha.Document]. To serve these\ndocuments for Search, or Recommendation use case, an\n[Engine][google.cloud.discoveryengine.v1alpha.Engine] needs to be created\nseparately.", + "file": "DataStoreClient/CreateDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_CreateDataStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateDataStore Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_DeleteDataStore_sync", - "title": "discoveryengine DeleteDataStore Sample", - "description": "DeleteDataStore deletes a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "file": "DataStoreClient/DeleteDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.DeleteDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "DeleteDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataStoreOperation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "DeleteDataStore" }, + "description": "DeleteDataStore deletes a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "file": "DataStoreClient/DeleteDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_DeleteDataStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteDataStore Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDataStore_sync", - "title": "discoveryengine GetDataStore Sample", - "description": "GetDataStore gets a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "file": "DataStoreClient/GetDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.GetDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "GetDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DataStore", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "GetDataStore" }, + "description": "GetDataStore gets a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "file": "DataStoreClient/GetDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDataStore Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDocumentProcessingConfig_sync", - "title": "discoveryengine GetDocumentProcessingConfig Sample", - "description": "GetDocumentProcessingConfig gets a\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", - "file": "DataStoreClient/GetDocumentProcessingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocumentProcessingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.GetDocumentProcessingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "GetDocumentProcessingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDocumentProcessingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDocumentProcessingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DocumentProcessingConfig", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "GetDocumentProcessingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "GetDocumentProcessingConfig" }, + "description": "GetDocumentProcessingConfig gets a\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", + "file": "DataStoreClient/GetDocumentProcessingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDocumentProcessingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDocumentProcessingConfig Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_ListDataStores_sync", - "title": "discoveryengine ListDataStores Sample", - "description": "ListDataStores lists all the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s\nassociated with the project.", - "file": "DataStoreClient/ListDataStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataStores", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.ListDataStores", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "ListDataStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListDataStoresRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListDataStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataStoreIterator", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "ListDataStores" }, + "description": "ListDataStores lists all the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s\nassociated with the project.", + "file": "DataStoreClient/ListDataStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_ListDataStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListDataStores Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDataStore_sync", - "title": "discoveryengine UpdateDataStore Sample", - "description": "UpdateDataStore updates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]", - "file": "DataStoreClient/UpdateDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.UpdateDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "UpdateDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DataStore", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "UpdateDataStore" }, + "description": "UpdateDataStore updates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]", + "file": "DataStoreClient/UpdateDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDataStore Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDocumentProcessingConfig_sync", - "title": "discoveryengine UpdateDocumentProcessingConfig Sample", - "description": "UpdateDocumentProcessingConfig updates the\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig]\nis a singleon resource of\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. It's empty\nwhen [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] is\ncreated. The first call to this method will set up\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", - "file": "DataStoreClient/UpdateDocumentProcessingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocumentProcessingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient.UpdateDocumentProcessingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "UpdateDocumentProcessingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDocumentProcessingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDocumentProcessingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DocumentProcessingConfig", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreClient" - }, - "method": { - "shortName": "UpdateDocumentProcessingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } + "shortName": "UpdateDocumentProcessingConfig" }, + "description": "UpdateDocumentProcessingConfig updates the\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig]\nis a singleon resource of\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. It's empty\nwhen [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] is\ncreated. The first call to this method will set up\n[DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", + "file": "DataStoreClient/UpdateDocumentProcessingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDocumentProcessingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDocumentProcessingConfig Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_BatchGetDocumentsMetadata_sync", - "title": "discoveryengine BatchGetDocumentsMetadata Sample", - "description": "BatchGetDocumentsMetadata gets index freshness metadata for\n[Document][google.cloud.discoveryengine.v1alpha.Document]s. Supported for\nwebsite search only.", - "file": "DocumentClient/BatchGetDocumentsMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.BatchGetDocumentsMetadata", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.BatchGetDocumentsMetadata", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "BatchGetDocumentsMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchGetDocumentsMetadataRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchGetDocumentsMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.BatchGetDocumentsMetadataResponse", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.BatchGetDocumentsMetadata", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "BatchGetDocumentsMetadata" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "BatchGetDocumentsMetadata gets index freshness metadata for\n[Document][google.cloud.discoveryengine.v1alpha.Document]s. Supported for\nwebsite search only.", + "file": "DocumentClient/BatchGetDocumentsMetadata/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_BatchGetDocumentsMetadata_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchGetDocumentsMetadata Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_CreateDocument_sync", - "title": "discoveryengine CreateDocument Sample", - "description": "CreateDocument creates a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "file": "DocumentClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.CreateDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "file": "DocumentClient/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_CreateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateDocument Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_DeleteDocument_sync", - "title": "discoveryengine DeleteDocument Sample", - "description": "DeleteDocument deletes a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "file": "DocumentClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.DeleteDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "file": "DocumentClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteDocument Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetDocument_sync", - "title": "discoveryengine GetDocument Sample", - "description": "GetDocument gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "file": "DocumentClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.GetDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "file": "DocumentClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDocument Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetProcessedDocument_sync", - "title": "discoveryengine GetProcessedDocument Sample", - "description": "GetProcessedDocument gets the parsed layout information for a\n[Document][google.cloud.discoveryengine.v1alpha.Document].", - "file": "DocumentClient/GetProcessedDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessedDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.GetProcessedDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "GetProcessedDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetProcessedDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetProcessedDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ProcessedDocument", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "GetProcessedDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "GetProcessedDocument" }, + "description": "GetProcessedDocument gets the parsed layout information for a\n[Document][google.cloud.discoveryengine.v1alpha.Document].", + "file": "DocumentClient/GetProcessedDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetProcessedDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetProcessedDocument Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ImportDocuments_sync", - "title": "discoveryengine ImportDocuments Sample", - "description": "ImportDocuments bulk import of multiple\n[Document][google.cloud.discoveryengine.v1alpha.Document]s. Request\nprocessing may be synchronous. Non-existing items are created.\n\nNote: It is possible for a subset of the\n[Document][google.cloud.discoveryengine.v1alpha.Document]s to be\nsuccessfully updated.", - "file": "DocumentClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.ImportDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments bulk import of multiple\n[Document][google.cloud.discoveryengine.v1alpha.Document]s. Request\nprocessing may be synchronous. Non-existing items are created.\n\nNote: It is possible for a subset of the\n[Document][google.cloud.discoveryengine.v1alpha.Document]s to be\nsuccessfully updated.", + "file": "DocumentClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportDocuments Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ListDocuments_sync", - "title": "discoveryengine ListDocuments Sample", - "description": "ListDocuments gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s.", - "file": "DocumentClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.ListDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s.", + "file": "DocumentClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListDocuments Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_PurgeDocuments_sync", - "title": "discoveryengine PurgeDocuments Sample", - "description": "PurgeDocuments permanently deletes all selected\n[Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch.\n\nThis process is asynchronous. Depending on the number of\n[Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted,\nthis operation can take hours to complete. Before the delete operation\ncompletes, some [Document][google.cloud.discoveryengine.v1alpha.Document]s\nmight still be returned by\n[DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument]\nor\n[DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments].\n\nTo get a list of the\n[Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted,\nset\n[PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.force]\nto false.", - "file": "DocumentClient/PurgeDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.PurgeDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "PurgeDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "PurgeDocuments" }, + "description": "PurgeDocuments permanently deletes all selected\n[Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch.\n\nThis process is asynchronous. Depending on the number of\n[Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted,\nthis operation can take hours to complete. Before the delete operation\ncompletes, some [Document][google.cloud.discoveryengine.v1alpha.Document]s\nmight still be returned by\n[DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument]\nor\n[DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments].\n\nTo get a list of the\n[Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted,\nset\n[PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.force]\nto false.", + "file": "DocumentClient/PurgeDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_PurgeDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeDocuments Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_UpdateDocument_sync", - "title": "discoveryengine UpdateDocument Sample", - "description": "UpdateDocument updates a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "file": "DocumentClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient.UpdateDocument", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "UpdateDocument" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "file": "DocumentClient/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDocument Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_CreateEngine_sync", - "title": "discoveryengine CreateEngine Sample", - "description": "CreateEngine creates a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", - "file": "EngineClient/CreateEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.CreateEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "CreateEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "CreateEngine" }, + "description": "CreateEngine creates a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", + "file": "EngineClient/CreateEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_CreateEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_DeleteEngine_sync", - "title": "discoveryengine DeleteEngine Sample", - "description": "DeleteEngine deletes a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", - "file": "EngineClient/DeleteEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.DeleteEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "DeleteEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "DeleteEngine" }, + "description": "DeleteEngine deletes a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", + "file": "EngineClient/DeleteEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_DeleteEngine_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_GetEngine_sync", - "title": "discoveryengine GetEngine Sample", - "description": "GetEngine gets a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", - "file": "EngineClient/GetEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.GetEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "GetEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "GetEngine" }, + "description": "GetEngine gets a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", + "file": "EngineClient/GetEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_GetEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_ListEngines_sync", - "title": "discoveryengine ListEngines Sample", - "description": "ListEngines lists all the [Engine][google.cloud.discoveryengine.v1alpha.Engine]s\nassociated with the project.", - "file": "EngineClient/ListEngines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEngines", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.ListEngines", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "ListEngines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEnginesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEnginesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EngineIterator", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "ListEngines" }, + "description": "ListEngines lists all the [Engine][google.cloud.discoveryengine.v1alpha.Engine]s\nassociated with the project.", + "file": "EngineClient/ListEngines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_ListEngines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEngines Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_PauseEngine_sync", - "title": "discoveryengine PauseEngine Sample", - "description": "PauseEngine pauses the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "file": "EngineClient/PauseEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.PauseEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "PauseEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PauseEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PauseEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "PauseEngine" }, + "description": "PauseEngine pauses the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "file": "EngineClient/PauseEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_PauseEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PauseEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_ResumeEngine_sync", - "title": "discoveryengine ResumeEngine Sample", - "description": "ResumeEngine resumes the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "file": "EngineClient/ResumeEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.ResumeEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "ResumeEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ResumeEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ResumeEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "ResumeEngine" }, + "description": "ResumeEngine resumes the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "file": "EngineClient/ResumeEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_ResumeEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ResumeEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_TuneEngine_sync", - "title": "discoveryengine TuneEngine Sample", - "description": "TuneEngine tunes an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "file": "EngineClient/TuneEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "TuneEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.TuneEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "TuneEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.TuneEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.TuneEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuneEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "TuneEngine" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "TuneEngine tunes an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "file": "EngineClient/TuneEngine/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_TuneEngine_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine TuneEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_UpdateEngine_sync", - "title": "discoveryengine UpdateEngine Sample", - "description": "UpdateEngine updates an [Engine][google.cloud.discoveryengine.v1alpha.Engine]", - "file": "EngineClient/UpdateEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient.UpdateEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", + "shortName": "EngineService" + }, + "shortName": "UpdateEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineClient" - }, - "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } + "shortName": "UpdateEngine" }, + "description": "UpdateEngine updates an [Engine][google.cloud.discoveryengine.v1alpha.Engine]", + "file": "EngineClient/UpdateEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EngineService_UpdateEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EstimateBillingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient", + "shortName": "EstimateBillingClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EstimateBillingClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EstimateBillingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_EstimateDataSize_sync", - "title": "discoveryengine EstimateDataSize Sample", - "description": "EstimateDataSize estimates the data size to be used by a customer.", - "file": "EstimateBillingClient/EstimateDataSize/main.go", - "language": "GO", "clientMethod": { - "shortName": "EstimateDataSize", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient", + "shortName": "EstimateBillingClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient.EstimateDataSize", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSize", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService", + "shortName": "EstimateBillingService" + }, + "shortName": "EstimateDataSize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.EstimateDataSizeRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.EstimateDataSizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EstimateDataSizeOperation", - "client": { - "shortName": "EstimateBillingClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient" - }, - "method": { - "shortName": "EstimateDataSize", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSize", - "service": { - "shortName": "EstimateBillingService", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService" - } - } + "shortName": "EstimateDataSize" }, + "description": "EstimateDataSize estimates the data size to be used by a customer.", + "file": "EstimateBillingClient/EstimateDataSize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_EstimateDataSize_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine EstimateDataSize Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EstimateBillingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient", + "shortName": "EstimateBillingClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EstimateBillingClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EstimateBillingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EstimateBillingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient", + "shortName": "EstimateBillingClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EstimateBillingClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EstimateBillingClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_CreateEvaluation_sync", - "title": "discoveryengine CreateEvaluation Sample", - "description": "CreateEvaluation creates a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].\n\nUpon creation, the evaluation will be automatically triggered and begin\nexecution.", - "file": "EvaluationClient/CreateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.CreateEvaluation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.CreateEvaluation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "CreateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateEvaluationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEvaluationOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.CreateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } + "shortName": "CreateEvaluation" }, + "description": "CreateEvaluation creates a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].\n\nUpon creation, the evaluation will be automatically triggered and begin\nexecution.", + "file": "EvaluationClient/CreateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_CreateEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateEvaluation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_GetEvaluation_sync", - "title": "discoveryengine GetEvaluation Sample", - "description": "GetEvaluation gets a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", - "file": "EvaluationClient/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.GetEvaluation", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.GetEvaluation", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Evaluation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.GetEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation gets a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", + "file": "EvaluationClient/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetEvaluation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluationResults_sync", - "title": "discoveryengine ListEvaluationResults Sample", - "description": "ListEvaluationResults gets a list of results for a given a\n[Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", - "file": "EvaluationClient/ListEvaluationResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationResults", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.ListEvaluationResults", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluationResults", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluationResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEvaluationResultsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEvaluationResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListEvaluationResultsResponse_EvaluationResultIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluationResults", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } + "shortName": "ListEvaluationResults" }, + "description": "ListEvaluationResults gets a list of results for a given a\n[Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", + "file": "EvaluationClient/ListEvaluationResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluationResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEvaluationResults Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluations_sync", - "title": "discoveryengine ListEvaluations Sample", - "description": "ListEvaluations gets a list of\n[Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation]s.", - "file": "EvaluationClient/ListEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.ListEvaluations", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluations", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluations" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEvaluationsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } + "shortName": "ListEvaluations" }, + "description": "ListEvaluations gets a list of\n[Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation]s.", + "file": "EvaluationClient/ListEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEvaluations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_CheckGrounding_sync", - "title": "discoveryengine CheckGrounding Sample", - "description": "CheckGrounding performs a grounding check.", - "file": "GroundedGenerationClient/CheckGrounding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckGrounding", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient.CheckGrounding", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "CheckGrounding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CheckGroundingRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CheckGroundingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CheckGroundingResponse", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient" - }, - "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService" - } - } + "shortName": "CheckGrounding" }, + "description": "CheckGrounding performs a grounding check.", + "file": "GroundedGenerationClient/CheckGrounding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_CheckGrounding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CheckGrounding Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_GetProject_sync", - "title": "discoveryengine GetProject Sample", - "description": "GetProject gets a [Project][google.cloud.discoveryengine.v1alpha.Project].\nReturns NOT_FOUND when the project is not yet created.", - "file": "ProjectClient/GetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProject", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient.GetProject", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.GetProject", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "GetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetProjectRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Project", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient" - }, - "method": { - "shortName": "GetProject", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.GetProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" - } - } + "shortName": "GetProject" }, + "description": "GetProject gets a [Project][google.cloud.discoveryengine.v1alpha.Project].\nReturns NOT_FOUND when the project is not yet created.", + "file": "ProjectClient/GetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_GetProject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetProject Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ProvisionProject_sync", - "title": "discoveryengine ProvisionProject Sample", - "description": "ProvisionProject provisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https: //cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.", - "file": "ProjectClient/ProvisionProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvisionProject", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient.ProvisionProject", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ProvisionProject", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "ProvisionProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ProvisionProjectRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ProvisionProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProvisionProjectOperation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient" - }, - "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ProvisionProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" - } - } + "shortName": "ProvisionProject" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ProvisionProject provisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https: //cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.", + "file": "ProjectClient/ProvisionProject/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ProvisionProject_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ProvisionProject Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ReportConsentChange_sync", - "title": "discoveryengine ReportConsentChange Sample", - "description": "ReportConsentChange updates service terms for this project.\n\nThis method can be used to retroactively accept the latest terms.\n\nTerms available for update: \n\n* [Terms for data use](https: //cloud.google.com/retail/data-use-terms)", - "file": "ProjectClient/ReportConsentChange/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportConsentChange", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient.ReportConsentChange", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ReportConsentChange", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "ReportConsentChange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ReportConsentChangeRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ReportConsentChangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Project", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectClient" - }, - "method": { - "shortName": "ReportConsentChange", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ReportConsentChange", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" - } - } + "shortName": "ReportConsentChange" }, + "description": "ReportConsentChange updates service terms for this project.\n\nThis method can be used to retroactively accept the latest terms.\n\nTerms available for update: \n\n* [Terms for data use](https: //cloud.google.com/retail/data-use-terms)", + "file": "ProjectClient/ReportConsentChange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ReportConsentChange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ReportConsentChange Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RankService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RankClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RankClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RankClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RankClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RankService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RankService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RankClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RankClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RankClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RankClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RankService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RankService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RankClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RankClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RankClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RankClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RankService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RankService_Rank_sync", - "title": "discoveryengine Rank Sample", - "description": "Rank ranks a list of text records based on the given input query.", - "file": "RankClient/Rank/main.go", - "language": "GO", "clientMethod": { - "shortName": "Rank", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RankClient.Rank", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.RankService.Rank", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.RankService", + "shortName": "RankService" + }, + "shortName": "Rank" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RankRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RankRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.RankResponse", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RankClient" - }, - "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1alpha.RankService.Rank", - "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1alpha.RankService" - } - } + "shortName": "Rank" }, + "description": "Rank ranks a list of text records based on the given input query.", + "file": "RankClient/Rank/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RankService_Rank_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Rank Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_Recommend_sync", - "title": "discoveryengine Recommend Sample", - "description": "Recommend makes a recommendation, which requires a contextual user event.", - "file": "RecommendationClient/Recommend/main.go", - "language": "GO", "clientMethod": { - "shortName": "Recommend", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient.Recommend", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService", + "shortName": "RecommendationService" + }, + "shortName": "Recommend" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RecommendRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RecommendRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.RecommendResponse", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationClient" - }, - "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", - "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService" - } - } + "shortName": "Recommend" }, + "description": "Recommend makes a recommendation, which requires a contextual user event.", + "file": "RecommendationClient/Recommend/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_Recommend_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Recommend Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQueryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQueryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_CreateSampleQuery_sync", - "title": "discoveryengine CreateSampleQuery Sample", - "description": "CreateSampleQuery creates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]", - "file": "SampleQueryClient/CreateSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.CreateSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.CreateSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "CreateSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuery", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.CreateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } + "shortName": "CreateSampleQuery" }, + "description": "CreateSampleQuery creates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]", + "file": "SampleQueryClient/CreateSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_CreateSampleQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_DeleteSampleQuery_sync", - "title": "discoveryengine DeleteSampleQuery Sample", - "description": "DeleteSampleQuery deletes a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", - "file": "SampleQueryClient/DeleteSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.DeleteSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.DeleteSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "DeleteSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.DeleteSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } + "shortName": "DeleteSampleQuery" }, + "description": "DeleteSampleQuery deletes a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", + "file": "SampleQueryClient/DeleteSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_DeleteSampleQuery_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQueryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQueryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_GetSampleQuery_sync", - "title": "discoveryengine GetSampleQuery Sample", - "description": "GetSampleQuery gets a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", - "file": "SampleQueryClient/GetSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.GetSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.GetSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "GetSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuery", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.GetSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } + "shortName": "GetSampleQuery" }, + "description": "GetSampleQuery gets a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", + "file": "SampleQueryClient/GetSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_GetSampleQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ImportSampleQueries_sync", - "title": "discoveryengine ImportSampleQueries Sample", - "description": "ImportSampleQueries bulk import of multiple\n[SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s. Sample\nqueries that already exist may be deleted.\n\nNote: It is possible for a subset of the\n[SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s to be\nsuccessfully imported.", - "file": "SampleQueryClient/ImportSampleQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSampleQueries", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.ImportSampleQueries", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "ImportSampleQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportSampleQueriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportSampleQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportSampleQueriesOperation", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } + "shortName": "ImportSampleQueries" }, + "description": "ImportSampleQueries bulk import of multiple\n[SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s. Sample\nqueries that already exist may be deleted.\n\nNote: It is possible for a subset of the\n[SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s to be\nsuccessfully imported.", + "file": "SampleQueryClient/ImportSampleQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ImportSampleQueries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportSampleQueries Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SampleQueryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SampleQueryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ListSampleQueries_sync", - "title": "discoveryengine ListSampleQueries Sample", - "description": "ListSampleQueries gets a list of\n[SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s.", - "file": "SampleQueryClient/ListSampleQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSampleQueries", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.ListSampleQueries", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "ListSampleQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSampleQueriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSampleQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SampleQueryIterator", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } + "shortName": "ListSampleQueries" }, + "description": "ListSampleQueries gets a list of\n[SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s.", + "file": "SampleQueryClient/ListSampleQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ListSampleQueries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSampleQueries Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_UpdateSampleQuery_sync", - "title": "discoveryengine UpdateSampleQuery Sample", - "description": "UpdateSampleQuery updates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", - "file": "SampleQueryClient/UpdateSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient.UpdateSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.UpdateSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "UpdateSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuery", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryClient" - }, - "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.UpdateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } + "shortName": "UpdateSampleQuery" }, + "description": "UpdateSampleQuery updates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", + "file": "SampleQueryClient/UpdateSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_UpdateSampleQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQuerySetClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" }, + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.CancelOperation", "method": { - "shortName": "CancelOperation", "fullName": "google.longrunning.Operations.CancelOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.CancelOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQuerySetClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_CreateSampleQuerySet_sync", - "title": "discoveryengine CreateSampleQuerySet Sample", - "description": "CreateSampleQuerySet creates a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]", - "file": "SampleQuerySetClient/CreateSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.CreateSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "CreateSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } + "shortName": "CreateSampleQuerySet" }, + "description": "CreateSampleQuerySet creates a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]", + "file": "SampleQuerySetClient/CreateSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_CreateSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_DeleteSampleQuerySet_sync", - "title": "discoveryengine DeleteSampleQuerySet Sample", - "description": "DeleteSampleQuerySet deletes a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", - "file": "SampleQuerySetClient/DeleteSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.DeleteSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "DeleteSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.DeleteSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } + "shortName": "DeleteSampleQuerySet" }, + "description": "DeleteSampleQuerySet deletes a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", + "file": "SampleQuerySetClient/DeleteSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_DeleteSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQuerySetClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQuerySetClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_GetSampleQuerySet_sync", - "title": "discoveryengine GetSampleQuerySet Sample", - "description": "GetSampleQuerySet gets a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", - "file": "SampleQuerySetClient/GetSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.GetSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.GetSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "GetSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.GetSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } + "shortName": "GetSampleQuerySet" }, + "description": "GetSampleQuerySet gets a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", + "file": "SampleQuerySetClient/GetSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_GetSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SampleQuerySetClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SampleQuerySetClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_ListSampleQuerySets_sync", - "title": "discoveryengine ListSampleQuerySets Sample", - "description": "ListSampleQuerySets gets a list of\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]s.", - "file": "SampleQuerySetClient/ListSampleQuerySets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSampleQuerySets", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.ListSampleQuerySets", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.ListSampleQuerySets", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "ListSampleQuerySets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSampleQuerySetsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSampleQuerySetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SampleQuerySetIterator", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.ListSampleQuerySets", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } + "shortName": "ListSampleQuerySets" }, + "description": "ListSampleQuerySets gets a list of\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]s.", + "file": "SampleQuerySetClient/ListSampleQuerySets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_ListSampleQuerySets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSampleQuerySets Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_UpdateSampleQuerySet_sync", - "title": "discoveryengine UpdateSampleQuerySet Sample", - "description": "UpdateSampleQuerySet updates a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", - "file": "SampleQuerySetClient/UpdateSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient.UpdateSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "UpdateSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetClient" - }, - "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.UpdateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } + "shortName": "UpdateSampleQuerySet" }, + "description": "UpdateSampleQuerySet updates a\n[SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", + "file": "SampleQuerySetClient/UpdateSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_UpdateSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_CreateSchema_sync", - "title": "discoveryengine CreateSchema Sample", - "description": "CreateSchema creates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "file": "SchemaClient/CreateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.CreateSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "CreateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } + "shortName": "CreateSchema" }, + "description": "CreateSchema creates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "file": "SchemaClient/CreateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_CreateSchema_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSchema Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_DeleteSchema_sync", - "title": "discoveryengine DeleteSchema Sample", - "description": "DeleteSchema deletes a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "file": "SchemaClient/DeleteSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.DeleteSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "DeleteSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } + "shortName": "DeleteSchema" }, + "description": "DeleteSchema deletes a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "file": "SchemaClient/DeleteSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_DeleteSchema_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSchema Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_GetSchema_sync", - "title": "discoveryengine GetSchema Sample", - "description": "GetSchema gets a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "file": "SchemaClient/GetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.GetSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "GetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } + "shortName": "GetSchema" }, + "description": "GetSchema gets a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "file": "SchemaClient/GetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_GetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSchema Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_ListSchemas_sync", - "title": "discoveryengine ListSchemas Sample", - "description": "ListSchemas gets a list of [Schema][google.cloud.discoveryengine.v1alpha.Schema]s.", - "file": "SchemaClient/ListSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemas", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.ListSchemas", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ListSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSchemasRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SchemaIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } + "shortName": "ListSchemas" }, + "description": "ListSchemas gets a list of [Schema][google.cloud.discoveryengine.v1alpha.Schema]s.", + "file": "SchemaClient/ListSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_ListSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSchemas Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_UpdateSchema_sync", - "title": "discoveryengine UpdateSchema Sample", - "description": "UpdateSchema updates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "file": "SchemaClient/UpdateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient.UpdateSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "UpdateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaClient" - }, - "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } + "shortName": "UpdateSchema" }, + "description": "UpdateSchema updates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "file": "SchemaClient/UpdateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_UpdateSchema_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSchema Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchService_Search_sync", - "title": "discoveryengine Search Sample", - "description": "Search performs a search.", - "file": "SearchClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient.Search", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService", + "shortName": "SearchService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.SearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchService" - } - } + "shortName": "Search" }, + "description": "Search performs a search.", + "file": "SearchClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Search Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_ListCustomModels_sync", - "title": "discoveryengine ListCustomModels Sample", - "description": "ListCustomModels gets a list of all the custom models.", - "file": "SearchTuningClient/ListCustomModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomModels", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient.ListCustomModels", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.ListCustomModels", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService", + "shortName": "SearchTuningService" + }, + "shortName": "ListCustomModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListCustomModelsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListCustomModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ListCustomModelsResponse", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient" - }, - "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.ListCustomModels", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService" - } - } + "shortName": "ListCustomModels" }, + "description": "ListCustomModels gets a list of all the custom models.", + "file": "SearchTuningClient/ListCustomModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_ListCustomModels_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListCustomModels Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_TrainCustomModel_sync", - "title": "discoveryengine TrainCustomModel Sample", - "description": "TrainCustomModel trains a custom model.", - "file": "SearchTuningClient/TrainCustomModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainCustomModel", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient.TrainCustomModel", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService", + "shortName": "SearchTuningService" + }, + "shortName": "TrainCustomModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.TrainCustomModelRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.TrainCustomModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainCustomModelOperation", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningClient" - }, - "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService" - } - } + "shortName": "TrainCustomModel" }, + "description": "TrainCustomModel trains a custom model.", + "file": "SearchTuningClient/TrainCustomModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_TrainCustomModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine TrainCustomModel Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_GetServingConfig_sync", - "title": "discoveryengine GetServingConfig Sample", - "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/GetServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient.GetServingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.GetServingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "GetServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetServingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" - } - } + "shortName": "GetServingConfig" }, + "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/GetServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_GetServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetServingConfig Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_ListServingConfigs_sync", - "title": "discoveryengine ListServingConfigs Sample", - "description": "ListServingConfigs lists all ServingConfigs linked to this dataStore.", - "file": "ServingConfigClient/ListServingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServingConfigs", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient.ListServingConfigs", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.ListServingConfigs", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "ListServingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListServingConfigsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListServingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServingConfigIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" - } - } + "shortName": "ListServingConfigs" }, + "description": "ListServingConfigs lists all ServingConfigs linked to this dataStore.", + "file": "ServingConfigClient/ListServingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_ListServingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListServingConfigs Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "discoveryengine UpdateServingConfig Sample", - "description": "UpdateServingConfig updates a ServingConfig.\n\nReturns a NOT_FOUND error if the ServingConfig does not exist.", - "file": "ServingConfigClient/UpdateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient.UpdateServingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.UpdateServingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "UpdateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateServingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" - } - } + "shortName": "UpdateServingConfig" }, + "description": "UpdateServingConfig updates a ServingConfig.\n\nReturns a NOT_FOUND error if the ServingConfig does not exist.", + "file": "ServingConfigClient/UpdateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_UpdateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateServingConfig Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] - }, - { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_CreateSession_sync", - "title": "discoveryengine CreateSession Sample", - "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "SessionClient/CreateSession/main.go", - "language": "GO", + ], + "title": "discoveryengine CancelOperation Sample" + }, + { "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.CreateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.CreateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService", + "shortName": "SessionService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "SessionClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_DeleteSession_sync", - "title": "discoveryengine DeleteSession Sample", - "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", - "file": "SessionClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.DeleteSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.DeleteSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService", + "shortName": "SessionService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", + "file": "SessionClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_GetSession_sync", - "title": "discoveryengine GetSession Sample", - "description": "GetSession gets a Session.", - "file": "SessionClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.GetSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.GetSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService", + "shortName": "SessionService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a Session.", + "file": "SessionClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListFiles_sync", - "title": "discoveryengine ListFiles Sample", - "description": "ListFiles lists metadata for all files in the current session.", - "file": "SessionClient/ListFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFiles", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.ListFiles", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListFiles", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListFilesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileMetadataIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "ListFiles", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListFiles", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } + "shortName": "ListFiles" }, + "description": "ListFiles lists metadata for all files in the current session.", + "file": "SessionClient/ListFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListFiles Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListSessions_sync", - "title": "discoveryengine ListSessions Sample", - "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "file": "SessionClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.ListSessions", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListSessions", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "file": "SessionClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSessions Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_UpdateSession_sync", - "title": "discoveryengine UpdateSession Sample", - "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session]\nto update does not exist, a NOT_FOUND error is returned.", - "file": "SessionClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient.UpdateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.UpdateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService", + "shortName": "SessionService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session]\nto update does not exist, a NOT_FOUND error is returned.", + "file": "SessionClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SessionService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSession Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", - "title": "discoveryengine BatchCreateTargetSites Sample", - "description": "BatchCreateTargetSites creates [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite] in a\nbatch.", - "file": "SiteSearchEngineClient/BatchCreateTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.BatchCreateTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "BatchCreateTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchCreateTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchCreateTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateTargetSitesOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "BatchCreateTargetSites" }, + "description": "BatchCreateTargetSites creates [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite] in a\nbatch.", + "file": "SiteSearchEngineClient/BatchCreateTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchCreateTargetSites Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", - "title": "discoveryengine BatchVerifyTargetSites Sample", - "description": "BatchVerifyTargetSites verify target sites' ownership and validity.\nThis API sends all the target sites under site search engine for\nverification.", - "file": "SiteSearchEngineClient/BatchVerifyTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchVerifyTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.BatchVerifyTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "BatchVerifyTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchVerifyTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchVerifyTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchVerifyTargetSitesOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "BatchVerifyTargetSites" }, + "description": "BatchVerifyTargetSites verify target sites' ownership and validity.\nThis API sends all the target sites under site search engine for\nverification.", + "file": "SiteSearchEngineClient/BatchVerifyTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchVerifyTargetSites Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_CreateTargetSite_sync", - "title": "discoveryengine CreateTargetSite Sample", - "description": "CreateTargetSite creates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "file": "SiteSearchEngineClient/CreateTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.CreateTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "CreateTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "CreateTargetSite" }, + "description": "CreateTargetSite creates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "file": "SiteSearchEngineClient/CreateTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_CreateTargetSite_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateTargetSite Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DeleteTargetSite_sync", - "title": "discoveryengine DeleteTargetSite Sample", - "description": "DeleteTargetSite deletes a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "file": "SiteSearchEngineClient/DeleteTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.DeleteTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DeleteTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "DeleteTargetSite" }, + "description": "DeleteTargetSite deletes a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "file": "SiteSearchEngineClient/DeleteTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DeleteTargetSite_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteTargetSite Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", - "title": "discoveryengine DisableAdvancedSiteSearch Sample", - "description": "DisableAdvancedSiteSearch downgrade from advanced site search to basic site search.", - "file": "SiteSearchEngineClient/DisableAdvancedSiteSearch/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.DisableAdvancedSiteSearch", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DisableAdvancedSiteSearch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DisableAdvancedSiteSearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DisableAdvancedSiteSearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableAdvancedSiteSearchOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "DisableAdvancedSiteSearch" }, + "description": "DisableAdvancedSiteSearch downgrade from advanced site search to basic site search.", + "file": "SiteSearchEngineClient/DisableAdvancedSiteSearch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DisableAdvancedSiteSearch Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", - "title": "discoveryengine EnableAdvancedSiteSearch Sample", - "description": "EnableAdvancedSiteSearch upgrade from basic site search to advanced site search.", - "file": "SiteSearchEngineClient/EnableAdvancedSiteSearch/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.EnableAdvancedSiteSearch", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "EnableAdvancedSiteSearch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.EnableAdvancedSiteSearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.EnableAdvancedSiteSearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableAdvancedSiteSearchOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "EnableAdvancedSiteSearch" }, + "description": "EnableAdvancedSiteSearch upgrade from basic site search to advanced site search.", + "file": "SiteSearchEngineClient/EnableAdvancedSiteSearch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine EnableAdvancedSiteSearch Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", - "title": "discoveryengine FetchDomainVerificationStatus Sample", - "description": "FetchDomainVerificationStatus returns list of target sites with its domain verification status.\nThis method can only be called under data store with BASIC_SITE_SEARCH\nstate at the moment.", - "file": "SiteSearchEngineClient/FetchDomainVerificationStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDomainVerificationStatus", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.FetchDomainVerificationStatus", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "FetchDomainVerificationStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.FetchDomainVerificationStatusRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.FetchDomainVerificationStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSiteIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "FetchDomainVerificationStatus" }, + "description": "FetchDomainVerificationStatus returns list of target sites with its domain verification status.\nThis method can only be called under data store with BASIC_SITE_SEARCH\nstate at the moment.", + "file": "SiteSearchEngineClient/FetchDomainVerificationStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine FetchDomainVerificationStatus Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", - "title": "discoveryengine GetSiteSearchEngine Sample", - "description": "GetSiteSearchEngine gets the\n[SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine].", - "file": "SiteSearchEngineClient/GetSiteSearchEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSiteSearchEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.GetSiteSearchEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetSiteSearchEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSiteSearchEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSiteSearchEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SiteSearchEngine", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "GetSiteSearchEngine" }, + "description": "GetSiteSearchEngine gets the\n[SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine].", + "file": "SiteSearchEngineClient/GetSiteSearchEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSiteSearchEngine Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetTargetSite_sync", - "title": "discoveryengine GetTargetSite Sample", - "description": "GetTargetSite gets a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "file": "SiteSearchEngineClient/GetTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.GetTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.TargetSite", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "GetTargetSite" }, + "description": "GetTargetSite gets a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "file": "SiteSearchEngineClient/GetTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetTargetSite_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetTargetSite Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetUriPatternDocumentData_sync", - "title": "discoveryengine GetUriPatternDocumentData Sample", - "description": "GetUriPatternDocumentData gets the URI Pattern to Document data mapping for an Advanced Site Search\nDataStore.", - "file": "SiteSearchEngineClient/GetUriPatternDocumentData/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUriPatternDocumentData", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.GetUriPatternDocumentData", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetUriPatternDocumentData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetUriPatternDocumentDataRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetUriPatternDocumentDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.GetUriPatternDocumentDataResponse", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetUriPatternDocumentData", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "GetUriPatternDocumentData" }, + "description": "GetUriPatternDocumentData gets the URI Pattern to Document data mapping for an Advanced Site Search\nDataStore.", + "file": "SiteSearchEngineClient/GetUriPatternDocumentData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetUriPatternDocumentData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetUriPatternDocumentData Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_ListTargetSites_sync", - "title": "discoveryengine ListTargetSites Sample", - "description": "ListTargetSites gets a list of\n[TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]s.", - "file": "SiteSearchEngineClient/ListTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.ListTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "ListTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSiteIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "ListTargetSites" }, + "description": "ListTargetSites gets a list of\n[TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]s.", + "file": "SiteSearchEngineClient/ListTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_ListTargetSites_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListTargetSites Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_sync", - "title": "discoveryengine RecrawlUris Sample", - "description": "RecrawlUris request on-demand recrawl for a list of URIs.", - "file": "SiteSearchEngineClient/RecrawlUris/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecrawlUris", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.RecrawlUris", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "RecrawlUris" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RecrawlUrisRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RecrawlUrisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecrawlUrisOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "RecrawlUris" }, + "description": "RecrawlUris request on-demand recrawl for a list of URIs.", + "file": "SiteSearchEngineClient/RecrawlUris/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine RecrawlUris Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_SetUriPatternDocumentData_sync", - "title": "discoveryengine SetUriPatternDocumentData Sample", - "description": "SetUriPatternDocumentData sets the URI Pattern to Document data mapping for an Advanced Site Search\nDataStore.", - "file": "SiteSearchEngineClient/SetUriPatternDocumentData/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetUriPatternDocumentData", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.SetUriPatternDocumentData", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "SetUriPatternDocumentData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.SetUriPatternDocumentDataRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.SetUriPatternDocumentDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetUriPatternDocumentDataOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "SetUriPatternDocumentData", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "SetUriPatternDocumentData" }, + "description": "SetUriPatternDocumentData sets the URI Pattern to Document data mapping for an Advanced Site Search\nDataStore.", + "file": "SiteSearchEngineClient/SetUriPatternDocumentData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_SetUriPatternDocumentData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine SetUriPatternDocumentData Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_UpdateTargetSite_sync", - "title": "discoveryengine UpdateTargetSite Sample", - "description": "UpdateTargetSite updates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "file": "SiteSearchEngineClient/UpdateTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient.UpdateTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "UpdateTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineClient" - }, - "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } + "shortName": "UpdateTargetSite" }, + "description": "UpdateTargetSite updates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "file": "SiteSearchEngineClient/UpdateTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_UpdateTargetSite_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateTargetSite Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_CollectUserEvent_sync", - "title": "discoveryengine CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a third-party domain.\n\nThis method is used only by the Discovery Engine API JavaScript pixel and\nGoogle Tag Manager. Users should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a third-party domain.\n\nThis method is used only by the Discovery Engine API JavaScript pixel and\nGoogle Tag Manager. Users should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CollectUserEvent Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_ImportUserEvents_sync", - "title": "discoveryengine ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of user events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of user events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportUserEvents Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_PurgeUserEvents_sync", - "title": "discoveryengine PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeUserEvents Sample" }, { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_WriteUserEvent_sync", - "title": "discoveryengine WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine WriteUserEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json b/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json index d999967028f4..e3d89104a01e 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json +++ b/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json @@ -1,7436 +1,7436 @@ { "clientLibrary": { - "name": "cloud.google.com/go/discoveryengine/apiv1beta", - "version": "1.23.0", - "language": "GO", "apis": [ { "id": "google.cloud.discoveryengine.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/discoveryengine/apiv1beta", + "version": "1.23.0" }, "snippets": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_sync", - "title": "discoveryengine AdvancedCompleteQuery Sample", - "description": "AdvancedCompleteQuery completes the user input with advanced keyword suggestions.", - "file": "CompletionClient/AdvancedCompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "AdvancedCompleteQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.AdvancedCompleteQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "AdvancedCompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.AdvancedCompleteQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.AdvancedCompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.AdvancedCompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "AdvancedCompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } + "shortName": "AdvancedCompleteQuery" }, + "description": "AdvancedCompleteQuery completes the user input with advanced keyword suggestions.", + "file": "CompletionClient/AdvancedCompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine AdvancedCompleteQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_sync", - "title": "discoveryengine CompleteQuery Sample", - "description": "CompleteQuery completes the specified user input with keyword suggestions.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified user input with keyword suggestions.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CompleteQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_sync", - "title": "discoveryengine ImportCompletionSuggestions Sample", - "description": "ImportCompletionSuggestions imports\n[CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s\nfor a DataStore.", - "file": "CompletionClient/ImportCompletionSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCompletionSuggestions", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.ImportCompletionSuggestions", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportCompletionSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportCompletionSuggestionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportCompletionSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCompletionSuggestionsOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } + "shortName": "ImportCompletionSuggestions" }, + "description": "ImportCompletionSuggestions imports\n[CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s\nfor a DataStore.", + "file": "CompletionClient/ImportCompletionSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportCompletionSuggestions Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_sync", - "title": "discoveryengine ImportSuggestionDenyListEntries Sample", - "description": "ImportSuggestionDenyListEntries imports all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry]\nfor a DataStore.", - "file": "CompletionClient/ImportSuggestionDenyListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.ImportSuggestionDenyListEntries", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportSuggestionDenyListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportSuggestionDenyListEntriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportSuggestionDenyListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportSuggestionDenyListEntriesOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } + "shortName": "ImportSuggestionDenyListEntries" }, + "description": "ImportSuggestionDenyListEntries imports all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry]\nfor a DataStore.", + "file": "CompletionClient/ImportSuggestionDenyListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportSuggestionDenyListEntries Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_sync", - "title": "discoveryengine PurgeCompletionSuggestions Sample", - "description": "PurgeCompletionSuggestions permanently deletes all\n[CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s\nfor a DataStore.", - "file": "CompletionClient/PurgeCompletionSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeCompletionSuggestions", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.PurgeCompletionSuggestions", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "PurgeCompletionSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeCompletionSuggestionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeCompletionSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeCompletionSuggestionsOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } + "shortName": "PurgeCompletionSuggestions" }, + "description": "PurgeCompletionSuggestions permanently deletes all\n[CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s\nfor a DataStore.", + "file": "CompletionClient/PurgeCompletionSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeCompletionSuggestions Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", - "title": "discoveryengine PurgeSuggestionDenyListEntries Sample", - "description": "PurgeSuggestionDenyListEntries permanently deletes all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry]\nfor a DataStore.", - "file": "CompletionClient/PurgeSuggestionDenyListEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient.PurgeSuggestionDenyListEntries", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "PurgeSuggestionDenyListEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeSuggestionDenyListEntriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeSuggestionDenyListEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeSuggestionDenyListEntriesOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionClient" - }, - "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } + "shortName": "PurgeSuggestionDenyListEntries" }, + "description": "PurgeSuggestionDenyListEntries permanently deletes all\n[SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry]\nfor a DataStore.", + "file": "CompletionClient/PurgeSuggestionDenyListEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeSuggestionDenyListEntries Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync", - "title": "discoveryengine CreateControl Sample", - "description": "CreateControl creates a Control.\n\nBy default 1000 controls are allowed for a data store.\nA request can be submitted to adjust this limit.\nIf the [Control][google.cloud.discoveryengine.v1beta.Control] to create\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "ControlClient/CreateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.CreateControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "CreateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } + "shortName": "CreateControl" }, + "description": "CreateControl creates a Control.\n\nBy default 1000 controls are allowed for a data store.\nA request can be submitted to adjust this limit.\nIf the [Control][google.cloud.discoveryengine.v1beta.Control] to create\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "ControlClient/CreateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateControl Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync", - "title": "discoveryengine DeleteControl Sample", - "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.discoveryengine.v1beta.Control] to delete\ndoes not exist, a NOT_FOUND error is returned.", - "file": "ControlClient/DeleteControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.DeleteControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "DeleteControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } + "shortName": "DeleteControl" }, + "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.discoveryengine.v1beta.Control] to delete\ndoes not exist, a NOT_FOUND error is returned.", + "file": "ControlClient/DeleteControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteControl Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync", - "title": "discoveryengine GetControl Sample", - "description": "GetControl gets a Control.", - "file": "ControlClient/GetControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.GetControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "GetControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } + "shortName": "GetControl" }, + "description": "GetControl gets a Control.", + "file": "ControlClient/GetControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetControl Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync", - "title": "discoveryengine ListControls Sample", - "description": "ListControls lists all Controls by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "ControlClient/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.ListControls", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } + "shortName": "ListControls" }, + "description": "ListControls lists all Controls by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "ControlClient/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListControls Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_sync", - "title": "discoveryengine UpdateControl Sample", - "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.discoveryengine.v1beta.Control] action type cannot\nbe changed. If the [Control][google.cloud.discoveryengine.v1beta.Control]\nto update does not exist, a NOT_FOUND error is returned.", - "file": "ControlClient/UpdateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateControl", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ControlClient.UpdateControl", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "UpdateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateControlRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } + "shortName": "UpdateControl" }, + "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.discoveryengine.v1beta.Control] action type cannot\nbe changed. If the [Control][google.cloud.discoveryengine.v1beta.Control]\nto update does not exist, a NOT_FOUND error is returned.", + "file": "ControlClient/UpdateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateControl Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_sync", - "title": "discoveryengine AnswerQuery Sample", - "description": "AnswerQuery answer query method.", - "file": "ConversationalSearchClient/AnswerQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnswerQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.AnswerQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "AnswerQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.AnswerQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.AnswerQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "AnswerQuery" }, + "description": "AnswerQuery answer query method.", + "file": "ConversationalSearchClient/AnswerQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine AnswerQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync", - "title": "discoveryengine ConverseConversation Sample", - "description": "ConverseConversation converses a conversation.", - "file": "ConversationalSearchClient/ConverseConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConverseConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.ConverseConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ConverseConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ConverseConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ConverseConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ConverseConversationResponse", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "ConverseConversation" }, + "description": "ConverseConversation converses a conversation.", + "file": "ConversationalSearchClient/ConverseConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ConverseConversation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync", - "title": "discoveryengine CreateConversation Sample", - "description": "CreateConversation creates a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to\ncreate already exists, an ALREADY_EXISTS error is returned.", - "file": "ConversationalSearchClient/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.CreateConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to\ncreate already exists, an ALREADY_EXISTS error is returned.", + "file": "ConversationalSearchClient/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateConversation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync", - "title": "discoveryengine CreateSession Sample", - "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "ConversationalSearchClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.CreateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "ConversationalSearchClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync", - "title": "discoveryengine DeleteConversation Sample", - "description": "DeleteConversation deletes a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to\ndelete does not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.DeleteConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "DeleteConversation" }, + "description": "DeleteConversation deletes a Conversation.\n\nIf the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to\ndelete does not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/DeleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteConversation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync", - "title": "discoveryengine DeleteSession Sample", - "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.DeleteSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync", - "title": "discoveryengine GetAnswer Sample", - "description": "GetAnswer gets a Answer.", - "file": "ConversationalSearchClient/GetAnswer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnswer", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.GetAnswer", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetAnswer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetAnswerRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetAnswerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Answer", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "GetAnswer" }, + "description": "GetAnswer gets a Answer.", + "file": "ConversationalSearchClient/GetAnswer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetAnswer Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync", - "title": "discoveryengine GetConversation Sample", - "description": "GetConversation gets a Conversation.", - "file": "ConversationalSearchClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.GetConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation gets a Conversation.", + "file": "ConversationalSearchClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetConversation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync", - "title": "discoveryengine GetSession Sample", - "description": "GetSession gets a Session.", - "file": "ConversationalSearchClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.GetSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a Session.", + "file": "ConversationalSearchClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync", - "title": "discoveryengine ListConversations Sample", - "description": "ListConversations lists all Conversations by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "ConversationalSearchClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.ListConversations", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists all Conversations by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "ConversationalSearchClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListConversations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync", - "title": "discoveryengine ListSessions Sample", - "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "ConversationalSearchClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.ListSessions", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "ConversationalSearchClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSessions Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_sync", - "title": "discoveryengine UpdateConversation Sample", - "description": "UpdateConversation updates a Conversation.\n\n[Conversation][google.cloud.discoveryengine.v1beta.Conversation] action\ntype cannot be changed. If the\n[Conversation][google.cloud.discoveryengine.v1beta.Conversation] to update\ndoes not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/UpdateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.UpdateConversation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "UpdateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateConversationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Conversation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "UpdateConversation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateConversation updates a Conversation.\n\n[Conversation][google.cloud.discoveryengine.v1beta.Conversation] action\ntype cannot be changed. If the\n[Conversation][google.cloud.discoveryengine.v1beta.Conversation] to update\ndoes not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/UpdateConversation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateConversation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_sync", - "title": "discoveryengine UpdateSession Sample", - "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1beta.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1beta.Session]\nto update does not exist, a NOT_FOUND error is returned.", - "file": "ConversationalSearchClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient.UpdateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "shortName": "ConversationalSearchService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1beta.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1beta.Session]\nto update does not exist, a NOT_FOUND error is returned.", + "file": "ConversationalSearchClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync", - "title": "discoveryengine CreateDataStore Sample", - "description": "CreateDataStore creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].\n\nDataStore is for storing\n[Documents][google.cloud.discoveryengine.v1beta.Document]. To serve these\ndocuments for Search, or Recommendation use case, an\n[Engine][google.cloud.discoveryengine.v1beta.Engine] needs to be created\nseparately.", - "file": "DataStoreClient/CreateDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.CreateDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "CreateDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataStoreOperation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } + "shortName": "CreateDataStore" }, + "description": "CreateDataStore creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].\n\nDataStore is for storing\n[Documents][google.cloud.discoveryengine.v1beta.Document]. To serve these\ndocuments for Search, or Recommendation use case, an\n[Engine][google.cloud.discoveryengine.v1beta.Engine] needs to be created\nseparately.", + "file": "DataStoreClient/CreateDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateDataStore Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync", - "title": "discoveryengine DeleteDataStore Sample", - "description": "DeleteDataStore deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "DataStoreClient/DeleteDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.DeleteDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "DeleteDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataStoreOperation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } + "shortName": "DeleteDataStore" }, + "description": "DeleteDataStore deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "DataStoreClient/DeleteDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteDataStore Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync", - "title": "discoveryengine GetDataStore Sample", - "description": "GetDataStore gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "DataStoreClient/GetDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.GetDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "GetDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DataStore", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } + "shortName": "GetDataStore" }, + "description": "GetDataStore gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "DataStoreClient/GetDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDataStore Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync", - "title": "discoveryengine ListDataStores Sample", - "description": "ListDataStores lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s\nassociated with the project.", - "file": "DataStoreClient/ListDataStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataStores", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.ListDataStores", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "ListDataStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListDataStoresRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListDataStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataStoreIterator", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } + "shortName": "ListDataStores" }, + "description": "ListDataStores lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s\nassociated with the project.", + "file": "DataStoreClient/ListDataStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListDataStores Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataStoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataStoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_sync", - "title": "discoveryengine UpdateDataStore Sample", - "description": "UpdateDataStore updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]", - "file": "DataStoreClient/UpdateDataStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataStore", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient", + "shortName": "DataStoreClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient.UpdateDataStore", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService", + "shortName": "DataStoreService" + }, + "shortName": "UpdateDataStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDataStoreRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDataStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.DataStore", - "client": { - "shortName": "DataStoreClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreClient" - }, - "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } + "shortName": "UpdateDataStore" }, + "description": "UpdateDataStore updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]", + "file": "DataStoreClient/UpdateDataStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDataStore Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync", - "title": "discoveryengine BatchGetDocumentsMetadata Sample", - "description": "BatchGetDocumentsMetadata gets index freshness metadata for\n[Document][google.cloud.discoveryengine.v1beta.Document]s. Supported for\nwebsite search only.", - "file": "DocumentClient/BatchGetDocumentsMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.BatchGetDocumentsMetadata", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "BatchGetDocumentsMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchGetDocumentsMetadataRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchGetDocumentsMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.BatchGetDocumentsMetadataResponse", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "BatchGetDocumentsMetadata" }, + "description": "BatchGetDocumentsMetadata gets index freshness metadata for\n[Document][google.cloud.discoveryengine.v1beta.Document]s. Supported for\nwebsite search only.", + "file": "DocumentClient/BatchGetDocumentsMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchGetDocumentsMetadata Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync", - "title": "discoveryengine CreateDocument Sample", - "description": "CreateDocument creates a [Document][google.cloud.discoveryengine.v1beta.Document].", - "file": "DocumentClient/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.CreateDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates a [Document][google.cloud.discoveryengine.v1beta.Document].", + "file": "DocumentClient/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateDocument Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync", - "title": "discoveryengine DeleteDocument Sample", - "description": "DeleteDocument deletes a [Document][google.cloud.discoveryengine.v1beta.Document].", - "file": "DocumentClient/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.DeleteDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes a [Document][google.cloud.discoveryengine.v1beta.Document].", + "file": "DocumentClient/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteDocument Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync", - "title": "discoveryengine GetDocument Sample", - "description": "GetDocument gets a [Document][google.cloud.discoveryengine.v1beta.Document].", - "file": "DocumentClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.GetDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument gets a [Document][google.cloud.discoveryengine.v1beta.Document].", + "file": "DocumentClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetDocument Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_sync", - "title": "discoveryengine ImportDocuments Sample", - "description": "ImportDocuments bulk import of multiple\n[Document][google.cloud.discoveryengine.v1beta.Document]s. Request\nprocessing may be synchronous. Non-existing items are created.\n\nNote: It is possible for a subset of the\n[Document][google.cloud.discoveryengine.v1beta.Document]s to be\nsuccessfully updated.", - "file": "DocumentClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.ImportDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments bulk import of multiple\n[Document][google.cloud.discoveryengine.v1beta.Document]s. Request\nprocessing may be synchronous. Non-existing items are created.\n\nNote: It is possible for a subset of the\n[Document][google.cloud.discoveryengine.v1beta.Document]s to be\nsuccessfully updated.", + "file": "DocumentClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportDocuments Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync", - "title": "discoveryengine ListDocuments Sample", - "description": "ListDocuments gets a list of [Document][google.cloud.discoveryengine.v1beta.Document]s.", - "file": "DocumentClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.ListDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments gets a list of [Document][google.cloud.discoveryengine.v1beta.Document]s.", + "file": "DocumentClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListDocuments Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_sync", - "title": "discoveryengine PurgeDocuments Sample", - "description": "PurgeDocuments permanently deletes all selected\n[Document][google.cloud.discoveryengine.v1beta.Document]s in a branch.\n\nThis process is asynchronous. Depending on the number of\n[Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted,\nthis operation can take hours to complete. Before the delete operation\ncompletes, some [Document][google.cloud.discoveryengine.v1beta.Document]s\nmight still be returned by\n[DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument]\nor\n[DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments].\n\nTo get a list of the\n[Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted,\nset\n[PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.force]\nto false.", - "file": "DocumentClient/PurgeDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeDocuments", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.PurgeDocuments", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "PurgeDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeDocumentsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "PurgeDocuments" }, + "description": "PurgeDocuments permanently deletes all selected\n[Document][google.cloud.discoveryengine.v1beta.Document]s in a branch.\n\nThis process is asynchronous. Depending on the number of\n[Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted,\nthis operation can take hours to complete. Before the delete operation\ncompletes, some [Document][google.cloud.discoveryengine.v1beta.Document]s\nmight still be returned by\n[DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument]\nor\n[DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments].\n\nTo get a list of the\n[Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted,\nset\n[PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.force]\nto false.", + "file": "DocumentClient/PurgeDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeDocuments Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_sync", - "title": "discoveryengine UpdateDocument Sample", - "description": "UpdateDocument updates a [Document][google.cloud.discoveryengine.v1beta.Document].", - "file": "DocumentClient/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient.UpdateDocument", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Document", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates a [Document][google.cloud.discoveryengine.v1beta.Document].", + "file": "DocumentClient/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateDocument Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EngineClient/CancelOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CancelOperation_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync", - "title": "discoveryengine CreateEngine Sample", - "description": "CreateEngine creates a [Engine][google.cloud.discoveryengine.v1beta.Engine].", - "file": "EngineClient/CreateEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.CreateEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "CreateEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "CreateEngine" }, + "description": "CreateEngine creates a [Engine][google.cloud.discoveryengine.v1beta.Engine].", + "file": "EngineClient/CreateEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync", - "title": "discoveryengine DeleteEngine Sample", - "description": "DeleteEngine deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine].", - "file": "EngineClient/DeleteEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.DeleteEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "DeleteEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "DeleteEngine" }, + "description": "DeleteEngine deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine].", + "file": "EngineClient/DeleteEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync", - "title": "discoveryengine GetEngine Sample", - "description": "GetEngine gets a [Engine][google.cloud.discoveryengine.v1beta.Engine].", - "file": "EngineClient/GetEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.GetEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "GetEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "GetEngine" }, + "description": "GetEngine gets a [Engine][google.cloud.discoveryengine.v1beta.Engine].", + "file": "EngineClient/GetEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync", - "title": "discoveryengine ListEngines Sample", - "description": "ListEngines lists all the [Engine][google.cloud.discoveryengine.v1beta.Engine]s\nassociated with the project.", - "file": "EngineClient/ListEngines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEngines", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.ListEngines", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "ListEngines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEnginesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEnginesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EngineIterator", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "ListEngines" }, + "description": "ListEngines lists all the [Engine][google.cloud.discoveryengine.v1beta.Engine]s\nassociated with the project.", + "file": "EngineClient/ListEngines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEngines Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync", - "title": "discoveryengine PauseEngine Sample", - "description": "PauseEngine pauses the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "file": "EngineClient/PauseEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.PauseEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "PauseEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PauseEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PauseEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "PauseEngine" }, + "description": "PauseEngine pauses the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "file": "EngineClient/PauseEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PauseEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync", - "title": "discoveryengine ResumeEngine Sample", - "description": "ResumeEngine resumes the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "file": "EngineClient/ResumeEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.ResumeEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "ResumeEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ResumeEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ResumeEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "ResumeEngine" }, + "description": "ResumeEngine resumes the training of an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "file": "EngineClient/ResumeEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ResumeEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync", - "title": "discoveryengine TuneEngine Sample", - "description": "TuneEngine tunes an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "file": "EngineClient/TuneEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "TuneEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.TuneEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "TuneEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.TuneEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.TuneEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuneEngineOperation", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "TuneEngine" }, + "description": "TuneEngine tunes an existing engine. Only applicable if\n[SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is\n[SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "file": "EngineClient/TuneEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine TuneEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_sync", - "title": "discoveryengine UpdateEngine Sample", - "description": "UpdateEngine updates an [Engine][google.cloud.discoveryengine.v1beta.Engine]", - "file": "EngineClient/UpdateEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineClient", + "shortName": "EngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EngineClient.UpdateEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "shortName": "EngineService" + }, + "shortName": "UpdateEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Engine", - "client": { - "shortName": "EngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineClient" - }, - "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } + "shortName": "UpdateEngine" }, + "description": "UpdateEngine updates an [Engine][google.cloud.discoveryengine.v1beta.Engine]", + "file": "EngineClient/UpdateEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync", - "title": "discoveryengine CreateEvaluation Sample", - "description": "CreateEvaluation creates a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].\n\nUpon creation, the evaluation will be automatically triggered and begin\nexecution.", - "file": "EvaluationClient/CreateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.CreateEvaluation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "CreateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateEvaluationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEvaluationOperation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } + "shortName": "CreateEvaluation" }, + "description": "CreateEvaluation creates a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].\n\nUpon creation, the evaluation will be automatically triggered and begin\nexecution.", + "file": "EvaluationClient/CreateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateEvaluation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync", - "title": "discoveryengine GetEvaluation Sample", - "description": "GetEvaluation gets a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", - "file": "EvaluationClient/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.GetEvaluation", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Evaluation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation gets a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", + "file": "EvaluationClient/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetEvaluation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync", - "title": "discoveryengine ListEvaluationResults Sample", - "description": "ListEvaluationResults gets a list of results for a given a\n[Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", - "file": "EvaluationClient/ListEvaluationResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluationResults", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.ListEvaluationResults", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluationResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEvaluationResultsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEvaluationResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListEvaluationResultsResponse_EvaluationResultIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluationResults" }, + "description": "ListEvaluationResults gets a list of results for a given a\n[Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", + "file": "EvaluationClient/ListEvaluationResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEvaluationResults Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync", - "title": "discoveryengine ListEvaluations Sample", - "description": "ListEvaluations gets a list of\n[Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.", - "file": "EvaluationClient/ListEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.ListEvaluations", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService", + "shortName": "EvaluationService" + }, + "shortName": "ListEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListEvaluationsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } + "shortName": "ListEvaluations" }, + "description": "ListEvaluations gets a list of\n[Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.", + "file": "EvaluationClient/ListEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListEvaluations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EvaluationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient", + "shortName": "EvaluationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EvaluationClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EvaluationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_sync", - "title": "discoveryengine CheckGrounding Sample", - "description": "CheckGrounding performs a grounding check.", - "file": "GroundedGenerationClient/CheckGrounding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckGrounding", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient.CheckGrounding", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "CheckGrounding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CheckGroundingRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CheckGroundingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.CheckGroundingResponse", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient" - }, - "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" - } - } + "shortName": "CheckGrounding" }, + "description": "CheckGrounding performs a grounding check.", + "file": "GroundedGenerationClient/CheckGrounding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CheckGrounding Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_sync", - "title": "discoveryengine GenerateGroundedContent Sample", - "description": "GenerateGroundedContent generates grounded content.", - "file": "GroundedGenerationClient/GenerateGroundedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateGroundedContent", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient.GenerateGroundedContent", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "GenerateGroundedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GenerateGroundedContentRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GenerateGroundedContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.GenerateGroundedContentResponse", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient" - }, - "method": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" - } - } + "shortName": "GenerateGroundedContent" }, + "description": "GenerateGroundedContent generates grounded content.", + "file": "GroundedGenerationClient/GenerateGroundedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GenerateGroundedContent Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/GetOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GetOperation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GroundedGenerationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GroundedGenerationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_StreamGenerateGroundedContent_sync", - "title": "discoveryengine StreamGenerateGroundedContent Sample", - "description": "StreamGenerateGroundedContent generates grounded content in a streaming fashion.\n\n\nThis method is not supported for the REST transport.", - "file": "GroundedGenerationClient/StreamGenerateGroundedContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamGenerateGroundedContent", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient", + "shortName": "GroundedGenerationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient.StreamGenerateGroundedContent", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService", + "shortName": "GroundedGenerationService" + }, + "shortName": "StreamGenerateGroundedContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "discoveryenginepb.GroundedGenerationService_StreamGenerateGroundedContentClient", - "client": { - "shortName": "GroundedGenerationClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationClient" - }, - "method": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" - } - } + "shortName": "StreamGenerateGroundedContent" }, + "description": "StreamGenerateGroundedContent generates grounded content in a streaming fashion.\n\n\nThis method is not supported for the REST transport.", + "file": "GroundedGenerationClient/StreamGenerateGroundedContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_StreamGenerateGroundedContent_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine StreamGenerateGroundedContent Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ProjectService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ProjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync", - "title": "discoveryengine ProvisionProject Sample", - "description": "ProvisionProject provisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https: //cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.", - "file": "ProjectClient/ProvisionProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvisionProject", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient.ProvisionProject", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "ProvisionProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ProvisionProjectRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ProvisionProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProvisionProjectOperation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectClient" - }, - "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" - } - } + "shortName": "ProvisionProject" }, + "description": "ProvisionProject provisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https: //cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.", + "file": "ProjectClient/ProvisionProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ProvisionProject Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RankService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RankClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RankClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1beta.RankClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RankClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RankService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RankService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RankClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RankClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1beta.RankClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RankClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RankService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RankService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RankClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RankClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1beta.RankClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RankClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RankService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_sync", - "title": "discoveryengine Rank Sample", - "description": "Rank ranks a list of text records based on the given input query.", - "file": "RankClient/Rank/main.go", - "language": "GO", "clientMethod": { - "shortName": "Rank", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RankClient", + "shortName": "RankClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RankClient.Rank", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.RankService", + "shortName": "RankService" + }, + "shortName": "Rank" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RankRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RankRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.RankResponse", - "client": { - "shortName": "RankClient", - "fullName": "google.cloud.discoveryengine.v1beta.RankClient" - }, - "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", - "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1beta.RankService" - } - } + "shortName": "Rank" }, + "description": "Rank ranks a list of text records based on the given input query.", + "file": "RankClient/Rank/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Rank Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient.CancelOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" }, + "shortName": "CancelOperation" + }, + "parameters": [ { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RecommendationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RecommendationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_sync", - "title": "discoveryengine Recommend Sample", - "description": "Recommend makes a recommendation, which requires a contextual user event.", - "file": "RecommendationClient/Recommend/main.go", - "language": "GO", "clientMethod": { - "shortName": "Recommend", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient", + "shortName": "RecommendationClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient.Recommend", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService", + "shortName": "RecommendationService" + }, + "shortName": "Recommend" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RecommendRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RecommendRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.RecommendResponse", - "client": { - "shortName": "RecommendationClient", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationClient" - }, - "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", - "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" - } - } + "shortName": "Recommend" }, + "description": "Recommend makes a recommendation, which requires a contextual user event.", + "file": "RecommendationClient/Recommend/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Recommend Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQueryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQueryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync", - "title": "discoveryengine CreateSampleQuery Sample", - "description": "CreateSampleQuery creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]", - "file": "SampleQueryClient/CreateSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.CreateSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "CreateSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuery", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } + "shortName": "CreateSampleQuery" }, + "description": "CreateSampleQuery creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]", + "file": "SampleQueryClient/CreateSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync", - "title": "discoveryengine DeleteSampleQuery Sample", - "description": "DeleteSampleQuery deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", - "file": "SampleQueryClient/DeleteSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.DeleteSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "DeleteSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } + "shortName": "DeleteSampleQuery" }, + "description": "DeleteSampleQuery deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", + "file": "SampleQueryClient/DeleteSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQueryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQueryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync", - "title": "discoveryengine GetSampleQuery Sample", - "description": "GetSampleQuery gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", - "file": "SampleQueryClient/GetSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.GetSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "GetSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuery", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } + "shortName": "GetSampleQuery" }, + "description": "GetSampleQuery gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", + "file": "SampleQueryClient/GetSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_sync", - "title": "discoveryengine ImportSampleQueries Sample", - "description": "ImportSampleQueries bulk import of multiple\n[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample\nqueries that already exist may be deleted.\n\nNote: It is possible for a subset of the\n[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be\nsuccessfully imported.", - "file": "SampleQueryClient/ImportSampleQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSampleQueries", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.ImportSampleQueries", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "ImportSampleQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportSampleQueriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportSampleQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportSampleQueriesOperation", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } + "shortName": "ImportSampleQueries" }, + "description": "ImportSampleQueries bulk import of multiple\n[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample\nqueries that already exist may be deleted.\n\nNote: It is possible for a subset of the\n[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be\nsuccessfully imported.", + "file": "SampleQueryClient/ImportSampleQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportSampleQueries Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SampleQueryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SampleQueryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync", - "title": "discoveryengine ListSampleQueries Sample", - "description": "ListSampleQueries gets a list of\n[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.", - "file": "SampleQueryClient/ListSampleQueries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSampleQueries", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.ListSampleQueries", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "ListSampleQueries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSampleQueriesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSampleQueriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SampleQueryIterator", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } + "shortName": "ListSampleQueries" }, + "description": "ListSampleQueries gets a list of\n[SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.", + "file": "SampleQueryClient/ListSampleQueries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSampleQueries Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_sync", - "title": "discoveryengine UpdateSampleQuery Sample", - "description": "UpdateSampleQuery updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", - "file": "SampleQueryClient/UpdateSampleQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSampleQuery", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient", + "shortName": "SampleQueryClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient.UpdateSampleQuery", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService", + "shortName": "SampleQueryService" + }, + "shortName": "UpdateSampleQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSampleQueryRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSampleQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuery", - "client": { - "shortName": "SampleQueryClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryClient" - }, - "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } + "shortName": "UpdateSampleQuery" }, + "description": "UpdateSampleQuery updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", + "file": "SampleQueryClient/UpdateSampleQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSampleQuery Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQuerySetClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQuerySetClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync", - "title": "discoveryengine CreateSampleQuerySet Sample", - "description": "CreateSampleQuerySet creates a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]", - "file": "SampleQuerySetClient/CreateSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.CreateSampleQuerySet", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "discoveryenginepb.CreateSampleQuerySetRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*discoveryenginepb.SampleQuerySet", "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" }, + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.CreateSampleQuerySet", "method": { - "shortName": "CreateSampleQuerySet", "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "CreateSampleQuerySet" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "discoveryenginepb.CreateSampleQuerySetRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*discoveryenginepb.SampleQuerySet", + "shortName": "CreateSampleQuerySet" }, + "description": "CreateSampleQuerySet creates a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]", + "file": "SampleQuerySetClient/CreateSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync", - "title": "discoveryengine DeleteSampleQuerySet Sample", - "description": "DeleteSampleQuerySet deletes a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", - "file": "SampleQuerySetClient/DeleteSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.DeleteSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "DeleteSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } + "shortName": "DeleteSampleQuerySet" }, + "description": "DeleteSampleQuerySet deletes a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", + "file": "SampleQuerySetClient/DeleteSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SampleQuerySetClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SampleQuerySetClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync", - "title": "discoveryengine GetSampleQuerySet Sample", - "description": "GetSampleQuerySet gets a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", - "file": "SampleQuerySetClient/GetSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.GetSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "GetSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } + "shortName": "GetSampleQuerySet" }, + "description": "GetSampleQuerySet gets a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", + "file": "SampleQuerySetClient/GetSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SampleQuerySetClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SampleQuerySetClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync", - "title": "discoveryengine ListSampleQuerySets Sample", - "description": "ListSampleQuerySets gets a list of\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.", - "file": "SampleQuerySetClient/ListSampleQuerySets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSampleQuerySets", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.ListSampleQuerySets", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "ListSampleQuerySets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSampleQuerySetsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSampleQuerySetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SampleQuerySetIterator", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } + "shortName": "ListSampleQuerySets" }, + "description": "ListSampleQuerySets gets a list of\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.", + "file": "SampleQuerySetClient/ListSampleQuerySets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSampleQuerySets Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_sync", - "title": "discoveryengine UpdateSampleQuerySet Sample", - "description": "UpdateSampleQuerySet updates a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", - "file": "SampleQuerySetClient/UpdateSampleQuerySet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSampleQuerySet", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient", + "shortName": "SampleQuerySetClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient.UpdateSampleQuerySet", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService", + "shortName": "SampleQuerySetService" + }, + "shortName": "UpdateSampleQuerySet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSampleQuerySetRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSampleQuerySetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetClient" - }, - "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } + "shortName": "UpdateSampleQuerySet" }, + "description": "UpdateSampleQuerySet updates a\n[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", + "file": "SampleQuerySetClient/UpdateSampleQuerySet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSampleQuerySet Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync", - "title": "discoveryengine CreateSchema Sample", - "description": "CreateSchema creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "file": "SchemaClient/CreateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.CreateSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "CreateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } + "shortName": "CreateSchema" }, + "description": "CreateSchema creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "file": "SchemaClient/CreateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSchema Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync", - "title": "discoveryengine DeleteSchema Sample", - "description": "DeleteSchema deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "file": "SchemaClient/DeleteSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.DeleteSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "DeleteSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } + "shortName": "DeleteSchema" }, + "description": "DeleteSchema deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "file": "SchemaClient/DeleteSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSchema Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync", - "title": "discoveryengine GetSchema Sample", - "description": "GetSchema gets a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "file": "SchemaClient/GetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.GetSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "GetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } + "shortName": "GetSchema" }, + "description": "GetSchema gets a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "file": "SchemaClient/GetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSchema Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SchemaClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SchemaClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync", - "title": "discoveryengine ListSchemas Sample", - "description": "ListSchemas gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s.", - "file": "SchemaClient/ListSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemas", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.ListSchemas", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ListSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSchemasRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SchemaIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } + "shortName": "ListSchemas" }, + "description": "ListSchemas gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s.", + "file": "SchemaClient/ListSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSchemas Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_sync", - "title": "discoveryengine UpdateSchema Sample", - "description": "UpdateSchema updates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "file": "SchemaClient/UpdateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchema", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient.UpdateSchema", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "UpdateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSchemaRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSchemaOperation", - "client": { - "shortName": "SchemaClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaClient" - }, - "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } + "shortName": "UpdateSchema" }, + "description": "UpdateSchema updates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "file": "SchemaClient/UpdateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSchema Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_sync", - "title": "discoveryengine Search Sample", - "description": "Search performs a search.", - "file": "SearchClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchClient.Search", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchService", + "shortName": "SearchService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.SearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" - } - } + "shortName": "Search" }, + "description": "Search performs a search.", + "file": "SearchClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine Search Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_sync", - "title": "discoveryengine SearchLite Sample", - "description": "SearchLite performs a search. Similar to the\n[SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]\nmethod, but a lite version that allows API key for authentication, where\nOAuth and IAM checks are not required.\n\nOnly public website search is supported by this method. If data stores and\nengines not associated with public website search are specified, a\n`FAILED_PRECONDITION` error is returned.\n\nThis method can be used for easy onboarding without having to implement an\nauthentication backend. However, it is strongly recommended to use\n[SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]\ninstead with required OAuth and IAM checks to provide better data security.", - "file": "SearchClient/SearchLite/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchLite", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchClient.SearchLite", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchService", + "shortName": "SearchService" + }, + "shortName": "SearchLite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.SearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchClient" - }, - "method": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" - } - } + "shortName": "SearchLite" }, + "description": "SearchLite performs a search. Similar to the\n[SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]\nmethod, but a lite version that allows API key for authentication, where\nOAuth and IAM checks are not required.\n\nOnly public website search is supported by this method. If data stores and\nengines not associated with public website search are specified, a\n`FAILED_PRECONDITION` error is returned.\n\nThis method can be used for easy onboarding without having to implement an\nauthentication backend. However, it is strongly recommended to use\n[SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]\ninstead with required OAuth and IAM checks to provide better data security.", + "file": "SearchClient/SearchLite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine SearchLite Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient.GetOperation", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "longrunningpb.GetOperationRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient" + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient", + "shortName": "SearchTuningClient" }, + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient.GetOperation", "method": { - "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.GetOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_sync", - "title": "discoveryengine ListCustomModels Sample", - "description": "ListCustomModels gets a list of all the custom models.", - "file": "SearchTuningClient/ListCustomModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomModels", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient.ListCustomModels", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService", + "shortName": "SearchTuningService" + }, + "shortName": "ListCustomModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListCustomModelsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListCustomModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ListCustomModelsResponse", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient" - }, - "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" - } - } + "shortName": "ListCustomModels" }, + "description": "ListCustomModels gets a list of all the custom models.", + "file": "SearchTuningClient/ListCustomModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListCustomModels Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchTuningClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchTuningClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_sync", - "title": "discoveryengine TrainCustomModel Sample", - "description": "TrainCustomModel trains a custom model.", - "file": "SearchTuningClient/TrainCustomModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainCustomModel", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient", + "shortName": "SearchTuningClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient.TrainCustomModel", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService", + "shortName": "SearchTuningService" + }, + "shortName": "TrainCustomModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.TrainCustomModelRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.TrainCustomModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainCustomModelOperation", - "client": { - "shortName": "SearchTuningClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningClient" - }, - "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" - } - } + "shortName": "TrainCustomModel" }, + "description": "TrainCustomModel trains a custom model.", + "file": "SearchTuningClient/TrainCustomModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine TrainCustomModel Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync", - "title": "discoveryengine GetServingConfig Sample", - "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/GetServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient.GetServingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "GetServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetServingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" - } - } + "shortName": "GetServingConfig" }, + "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/GetServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetServingConfig Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync", - "title": "discoveryengine ListServingConfigs Sample", - "description": "ListServingConfigs lists all ServingConfigs linked to this dataStore.", - "file": "ServingConfigClient/ListServingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServingConfigs", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient.ListServingConfigs", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "ListServingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListServingConfigsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListServingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServingConfigIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" - } - } + "shortName": "ListServingConfigs" }, + "description": "ListServingConfigs lists all ServingConfigs linked to this dataStore.", + "file": "ServingConfigClient/ListServingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListServingConfigs Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "discoveryengine UpdateServingConfig Sample", - "description": "UpdateServingConfig updates a ServingConfig.\n\nReturns a NOT_FOUND error if the ServingConfig does not exist.", - "file": "ServingConfigClient/UpdateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServingConfig", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient.UpdateServingConfig", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "UpdateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateServingConfigRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" - } - } + "shortName": "UpdateServingConfig" }, + "description": "UpdateServingConfig updates a ServingConfig.\n\nReturns a NOT_FOUND error if the ServingConfig does not exist.", + "file": "ServingConfigClient/UpdateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateServingConfig Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync", - "title": "discoveryengine CreateSession Sample", - "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "SessionClient/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.CreateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to create\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "SessionClient/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync", - "title": "discoveryengine DeleteSession Sample", - "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", - "file": "SessionClient/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.DeleteSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession deletes a Session.\n\nIf the [Session][google.cloud.discoveryengine.v1beta.Session] to delete\ndoes not exist, a NOT_FOUND error is returned.", + "file": "SessionClient/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SessionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SessionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync", - "title": "discoveryengine GetSession Sample", - "description": "GetSession gets a Session.", - "file": "SessionClient/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.GetSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a Session.", + "file": "SessionClient/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SessionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SessionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync", - "title": "discoveryengine ListSessions Sample", - "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "SessionClient/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.ListSessions", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all Sessions by their parent\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "SessionClient/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListSessions Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_sync", - "title": "discoveryengine UpdateSession Sample", - "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1beta.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1beta.Session]\nto update does not exist, a NOT_FOUND error is returned.", - "file": "SessionClient/UpdateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSession", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionClient", + "shortName": "SessionClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SessionClient.UpdateSession", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SessionService", + "shortName": "SessionService" + }, + "shortName": "UpdateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateSessionRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.Session", - "client": { - "shortName": "SessionClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } + "shortName": "UpdateSession" }, + "description": "UpdateSession updates a Session.\n\n[Session][google.cloud.discoveryengine.v1beta.Session] action type cannot\nbe changed. If the [Session][google.cloud.discoveryengine.v1beta.Session]\nto update does not exist, a NOT_FOUND error is returned.", + "file": "SessionClient/UpdateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateSession Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", - "title": "discoveryengine BatchCreateTargetSites Sample", - "description": "BatchCreateTargetSites creates [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite] in a\nbatch.", - "file": "SiteSearchEngineClient/BatchCreateTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.BatchCreateTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "BatchCreateTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchCreateTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchCreateTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateTargetSitesOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "BatchCreateTargetSites" }, + "description": "BatchCreateTargetSites creates [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite] in a\nbatch.", + "file": "SiteSearchEngineClient/BatchCreateTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchCreateTargetSites Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", - "title": "discoveryengine BatchVerifyTargetSites Sample", - "description": "BatchVerifyTargetSites verify target sites' ownership and validity.\nThis API sends all the target sites under site search engine for\nverification.", - "file": "SiteSearchEngineClient/BatchVerifyTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchVerifyTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.BatchVerifyTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "BatchVerifyTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.BatchVerifyTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.BatchVerifyTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchVerifyTargetSitesOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "BatchVerifyTargetSites" }, + "description": "BatchVerifyTargetSites verify target sites' ownership and validity.\nThis API sends all the target sites under site search engine for\nverification.", + "file": "SiteSearchEngineClient/BatchVerifyTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine BatchVerifyTargetSites Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync", - "title": "discoveryengine CreateSitemap Sample", - "description": "CreateSitemap creates a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", - "file": "SiteSearchEngineClient/CreateSitemap/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSitemap", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.CreateSitemap", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "CreateSitemap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateSitemapRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateSitemapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "CreateSitemapOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "CreateSitemapOperation", + "shortName": "CreateSitemap" }, + "description": "CreateSitemap creates a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", + "file": "SiteSearchEngineClient/CreateSitemap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateSitemap Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync", - "title": "discoveryengine CreateTargetSite Sample", - "description": "CreateTargetSite creates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "file": "SiteSearchEngineClient/CreateTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.CreateTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "CreateTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CreateTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CreateTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "CreateTargetSite" }, + "description": "CreateTargetSite creates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "file": "SiteSearchEngineClient/CreateTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CreateTargetSite Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync", - "title": "discoveryengine DeleteSitemap Sample", - "description": "DeleteSitemap deletes a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", - "file": "SiteSearchEngineClient/DeleteSitemap/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSitemap", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.DeleteSitemap", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DeleteSitemap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteSitemapRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteSitemapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSitemapOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "DeleteSitemap" }, + "description": "DeleteSitemap deletes a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", + "file": "SiteSearchEngineClient/DeleteSitemap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteSitemap Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync", - "title": "discoveryengine DeleteTargetSite Sample", - "description": "DeleteTargetSite deletes a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "file": "SiteSearchEngineClient/DeleteTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.DeleteTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DeleteTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DeleteTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DeleteTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "DeleteTargetSite" }, + "description": "DeleteTargetSite deletes a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "file": "SiteSearchEngineClient/DeleteTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DeleteTargetSite Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", - "title": "discoveryengine DisableAdvancedSiteSearch Sample", - "description": "DisableAdvancedSiteSearch downgrade from advanced site search to basic site search.", - "file": "SiteSearchEngineClient/DisableAdvancedSiteSearch/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.DisableAdvancedSiteSearch", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "DisableAdvancedSiteSearch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.DisableAdvancedSiteSearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.DisableAdvancedSiteSearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableAdvancedSiteSearchOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "DisableAdvancedSiteSearch" }, + "description": "DisableAdvancedSiteSearch downgrade from advanced site search to basic site search.", + "file": "SiteSearchEngineClient/DisableAdvancedSiteSearch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine DisableAdvancedSiteSearch Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", - "title": "discoveryengine EnableAdvancedSiteSearch Sample", - "description": "EnableAdvancedSiteSearch upgrade from basic site search to advanced site search.", - "file": "SiteSearchEngineClient/EnableAdvancedSiteSearch/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.EnableAdvancedSiteSearch", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "EnableAdvancedSiteSearch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.EnableAdvancedSiteSearchRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.EnableAdvancedSiteSearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableAdvancedSiteSearchOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "EnableAdvancedSiteSearch" }, + "description": "EnableAdvancedSiteSearch upgrade from basic site search to advanced site search.", + "file": "SiteSearchEngineClient/EnableAdvancedSiteSearch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine EnableAdvancedSiteSearch Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", - "title": "discoveryengine FetchDomainVerificationStatus Sample", - "description": "FetchDomainVerificationStatus returns list of target sites with its domain verification status.\nThis method can only be called under data store with BASIC_SITE_SEARCH\nstate at the moment.", - "file": "SiteSearchEngineClient/FetchDomainVerificationStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDomainVerificationStatus", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.FetchDomainVerificationStatus", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "FetchDomainVerificationStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.FetchDomainVerificationStatusRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.FetchDomainVerificationStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSiteIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "FetchDomainVerificationStatus" }, + "description": "FetchDomainVerificationStatus returns list of target sites with its domain verification status.\nThis method can only be called under data store with BASIC_SITE_SEARCH\nstate at the moment.", + "file": "SiteSearchEngineClient/FetchDomainVerificationStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine FetchDomainVerificationStatus Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync", - "title": "discoveryengine FetchSitemaps Sample", - "description": "FetchSitemaps fetch [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]s in a\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "file": "SiteSearchEngineClient/FetchSitemaps/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchSitemaps", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.FetchSitemaps", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "FetchSitemaps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.FetchSitemapsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.FetchSitemapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.FetchSitemapsResponse", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "FetchSitemaps" }, + "description": "FetchSitemaps fetch [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]s in a\n[DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "file": "SiteSearchEngineClient/FetchSitemaps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine FetchSitemaps Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", - "title": "discoveryengine GetSiteSearchEngine Sample", - "description": "GetSiteSearchEngine gets the\n[SiteSearchEngine][google.cloud.discoveryengine.v1beta.SiteSearchEngine].", - "file": "SiteSearchEngineClient/GetSiteSearchEngine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSiteSearchEngine", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.GetSiteSearchEngine", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetSiteSearchEngine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetSiteSearchEngineRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetSiteSearchEngineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.SiteSearchEngine", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "GetSiteSearchEngine" }, + "description": "GetSiteSearchEngine gets the\n[SiteSearchEngine][google.cloud.discoveryengine.v1beta.SiteSearchEngine].", + "file": "SiteSearchEngineClient/GetSiteSearchEngine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetSiteSearchEngine Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync", - "title": "discoveryengine GetTargetSite Sample", - "description": "GetTargetSite gets a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "file": "SiteSearchEngineClient/GetTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.GetTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "GetTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.GetTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.GetTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.TargetSite", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "GetTargetSite" }, + "description": "GetTargetSite gets a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "file": "SiteSearchEngineClient/GetTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetTargetSite Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SiteSearchEngineClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SiteSearchEngineClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync", - "title": "discoveryengine ListTargetSites Sample", - "description": "ListTargetSites gets a list of\n[TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s.", - "file": "SiteSearchEngineClient/ListTargetSites/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTargetSites", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.ListTargetSites", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "ListTargetSites" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ListTargetSitesRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ListTargetSitesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetSiteIterator", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "ListTargetSites" }, + "description": "ListTargetSites gets a list of\n[TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s.", + "file": "SiteSearchEngineClient/ListTargetSites/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListTargetSites Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_sync", - "title": "discoveryengine RecrawlUris Sample", - "description": "RecrawlUris request on-demand recrawl for a list of URIs.", - "file": "SiteSearchEngineClient/RecrawlUris/main.go", - "language": "GO", "clientMethod": { - "shortName": "RecrawlUris", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.RecrawlUris", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "RecrawlUris" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.RecrawlUrisRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.RecrawlUrisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecrawlUrisOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "RecrawlUris" }, + "description": "RecrawlUris request on-demand recrawl for a list of URIs.", + "file": "SiteSearchEngineClient/RecrawlUris/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine RecrawlUris Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_sync", - "title": "discoveryengine UpdateTargetSite Sample", - "description": "UpdateTargetSite updates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "file": "SiteSearchEngineClient/UpdateTargetSite/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTargetSite", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient", + "shortName": "SiteSearchEngineClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient.UpdateTargetSite", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "shortName": "SiteSearchEngineService" + }, + "shortName": "UpdateTargetSite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.UpdateTargetSiteRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.UpdateTargetSiteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTargetSiteOperation", - "client": { - "shortName": "SiteSearchEngineClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineClient" - }, - "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } + "shortName": "UpdateTargetSite" }, + "description": "UpdateTargetSite updates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "file": "SiteSearchEngineClient/UpdateTargetSite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine UpdateTargetSite Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_CancelOperation_sync", - "title": "discoveryengine CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CancelOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_sync", - "title": "discoveryengine CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a third-party domain.\n\nThis method is used only by the Discovery Engine API JavaScript pixel and\nGoogle Tag Manager. Users should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a third-party domain.\n\nThis method is used only by the Discovery Engine API JavaScript pixel and\nGoogle Tag Manager. Users should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine CollectUserEvent Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_GetOperation_sync", - "title": "discoveryengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine GetOperation Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_sync", - "title": "discoveryengine ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of user events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of user events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ImportUserEvents Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_ListOperations_sync", - "title": "discoveryengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine ListOperations Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_sync", - "title": "discoveryengine PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine PurgeUserEvents Sample" }, { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_sync", - "title": "discoveryengine WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "discoveryenginepb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "discoveryenginepb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*discoveryenginepb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "discoveryengine WriteUserEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json b/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json index 2f0ffa3c6d05..86089c4b8051 100644 --- a/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json +++ b/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json @@ -1,2534 +1,2534 @@ { "clientLibrary": { - "name": "cloud.google.com/go/dlp/apiv2", - "version": "1.28.0", - "language": "GO", "apis": [ { "id": "google.privacy.dlp.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/dlp/apiv2", + "version": "1.28.0" }, "snippets": [ { - "regionTag": "dlp_v2_generated_DlpService_ActivateJobTrigger_sync", - "title": "dlp ActivateJobTrigger Sample", - "description": "ActivateJobTrigger activate a job trigger. Causes the immediate execute of a trigger\ninstead of waiting on the trigger event to occur.", - "file": "Client/ActivateJobTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "ActivateJobTrigger", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ActivateJobTrigger", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ActivateJobTrigger", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ActivateJobTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ActivateJobTriggerRequest", - "name": "req" + "name": "req", + "type": "dlppb.ActivateJobTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DlpJob", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ActivateJobTrigger", - "fullName": "google.privacy.dlp.v2.DlpService.ActivateJobTrigger", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ActivateJobTrigger" }, + "description": "ActivateJobTrigger activate a job trigger. Causes the immediate execute of a trigger\ninstead of waiting on the trigger event to occur.", + "file": "Client/ActivateJobTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ActivateJobTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ActivateJobTrigger Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CancelDlpJob_sync", - "title": "dlp CancelDlpJob Sample", - "description": "CancelDlpJob starts asynchronous cancellation on a long-running DlpJob. The server\nmakes a best effort to cancel the DlpJob, but success is not\nguaranteed.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", - "file": "Client/CancelDlpJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelDlpJob", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CancelDlpJob", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CancelDlpJob", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CancelDlpJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CancelDlpJobRequest", - "name": "req" + "name": "req", + "type": "dlppb.CancelDlpJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CancelDlpJob", - "fullName": "google.privacy.dlp.v2.DlpService.CancelDlpJob", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CancelDlpJob" }, + "description": "CancelDlpJob starts asynchronous cancellation on a long-running DlpJob. The server\nmakes a best effort to cancel the DlpJob, but success is not\nguaranteed.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", + "file": "Client/CancelDlpJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CancelDlpJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CancelDlpJob Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateConnection_sync", - "title": "dlp CreateConnection Sample", - "description": "CreateConnection create a Connection to an external data source.", - "file": "Client/CreateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnection", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateConnection", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateConnection", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateConnectionRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateConnection", - "fullName": "google.privacy.dlp.v2.DlpService.CreateConnection", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateConnection" }, + "description": "CreateConnection create a Connection to an external data source.", + "file": "Client/CreateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateConnection Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateDeidentifyTemplate_sync", - "title": "dlp CreateDeidentifyTemplate Sample", - "description": "CreateDeidentifyTemplate creates a DeidentifyTemplate for reusing frequently used configuration\nfor de-identifying content, images, and storage.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", - "file": "Client/CreateDeidentifyTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeidentifyTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateDeidentifyTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateDeidentifyTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateDeidentifyTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateDeidentifyTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DeidentifyTemplate", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateDeidentifyTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateDeidentifyTemplate" }, + "description": "CreateDeidentifyTemplate creates a DeidentifyTemplate for reusing frequently used configuration\nfor de-identifying content, images, and storage.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", + "file": "Client/CreateDeidentifyTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateDeidentifyTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateDeidentifyTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateDiscoveryConfig_sync", - "title": "dlp CreateDiscoveryConfig Sample", - "description": "CreateDiscoveryConfig creates a config for discovery to scan and profile storage.", - "file": "Client/CreateDiscoveryConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDiscoveryConfig", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateDiscoveryConfig", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateDiscoveryConfig", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateDiscoveryConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateDiscoveryConfigRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateDiscoveryConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DiscoveryConfig", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateDiscoveryConfig", - "fullName": "google.privacy.dlp.v2.DlpService.CreateDiscoveryConfig", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateDiscoveryConfig" }, + "description": "CreateDiscoveryConfig creates a config for discovery to scan and profile storage.", + "file": "Client/CreateDiscoveryConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateDiscoveryConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateDiscoveryConfig Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateDlpJob_sync", - "title": "dlp CreateDlpJob Sample", - "description": "CreateDlpJob creates a new job to inspect storage or calculate risk metrics.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in inspect jobs, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.", - "file": "Client/CreateDlpJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDlpJob", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateDlpJob", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateDlpJob", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateDlpJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateDlpJobRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateDlpJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DlpJob", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateDlpJob", - "fullName": "google.privacy.dlp.v2.DlpService.CreateDlpJob", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateDlpJob" }, + "description": "CreateDlpJob creates a new job to inspect storage or calculate risk metrics.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in inspect jobs, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.", + "file": "Client/CreateDlpJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateDlpJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateDlpJob Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateInspectTemplate_sync", - "title": "dlp CreateInspectTemplate Sample", - "description": "CreateInspectTemplate creates an InspectTemplate for reusing frequently used configuration\nfor inspecting content, images, and storage.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", - "file": "Client/CreateInspectTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInspectTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateInspectTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateInspectTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateInspectTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateInspectTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateInspectTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.InspectTemplate", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateInspectTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.CreateInspectTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateInspectTemplate" }, + "description": "CreateInspectTemplate creates an InspectTemplate for reusing frequently used configuration\nfor inspecting content, images, and storage.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", + "file": "Client/CreateInspectTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateInspectTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateInspectTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateJobTrigger_sync", - "title": "dlp CreateJobTrigger Sample", - "description": "CreateJobTrigger creates a job trigger to run DLP actions such as scanning storage for\nsensitive information on a set schedule.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", - "file": "Client/CreateJobTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJobTrigger", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateJobTrigger", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateJobTrigger", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateJobTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateJobTriggerRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateJobTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.JobTrigger", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateJobTrigger", - "fullName": "google.privacy.dlp.v2.DlpService.CreateJobTrigger", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateJobTrigger" }, + "description": "CreateJobTrigger creates a job trigger to run DLP actions such as scanning storage for\nsensitive information on a set schedule.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", + "file": "Client/CreateJobTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateJobTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateJobTrigger Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_CreateStoredInfoType_sync", - "title": "dlp CreateStoredInfoType Sample", - "description": "CreateStoredInfoType creates a pre-built stored infoType to be used for inspection.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", - "file": "Client/CreateStoredInfoType/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStoredInfoType", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.CreateStoredInfoType", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.CreateStoredInfoType", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "CreateStoredInfoType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.CreateStoredInfoTypeRequest", - "name": "req" + "name": "req", + "type": "dlppb.CreateStoredInfoTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.StoredInfoType", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "CreateStoredInfoType", - "fullName": "google.privacy.dlp.v2.DlpService.CreateStoredInfoType", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "CreateStoredInfoType" }, + "description": "CreateStoredInfoType creates a pre-built stored infoType to be used for inspection.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", + "file": "Client/CreateStoredInfoType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_CreateStoredInfoType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp CreateStoredInfoType Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeidentifyContent_sync", - "title": "dlp DeidentifyContent Sample", - "description": "DeidentifyContent de-identifies potentially sensitive info from a ContentItem.\nThis method has limits on input size and output size.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data\nto learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.", - "file": "Client/DeidentifyContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeidentifyContent", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeidentifyContent", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeidentifyContent", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeidentifyContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeidentifyContentRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeidentifyContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DeidentifyContentResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeidentifyContent", - "fullName": "google.privacy.dlp.v2.DlpService.DeidentifyContent", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeidentifyContent" }, + "description": "DeidentifyContent de-identifies potentially sensitive info from a ContentItem.\nThis method has limits on input size and output size.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data\nto learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.", + "file": "Client/DeidentifyContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeidentifyContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeidentifyContent Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteConnection_sync", - "title": "dlp DeleteConnection Sample", - "description": "DeleteConnection delete a Connection.", - "file": "Client/DeleteConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnection", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteConnection", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteConnection", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteConnectionRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteConnection", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteConnection", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteConnection" }, + "description": "DeleteConnection delete a Connection.", + "file": "Client/DeleteConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteConnection_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteConnection Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteDeidentifyTemplate_sync", - "title": "dlp DeleteDeidentifyTemplate Sample", - "description": "DeleteDeidentifyTemplate deletes a DeidentifyTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", - "file": "Client/DeleteDeidentifyTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeidentifyTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteDeidentifyTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteDeidentifyTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteDeidentifyTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteDeidentifyTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteDeidentifyTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteDeidentifyTemplate" }, + "description": "DeleteDeidentifyTemplate deletes a DeidentifyTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", + "file": "Client/DeleteDeidentifyTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteDeidentifyTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteDeidentifyTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteDiscoveryConfig_sync", - "title": "dlp DeleteDiscoveryConfig Sample", - "description": "DeleteDiscoveryConfig deletes a discovery configuration.", - "file": "Client/DeleteDiscoveryConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDiscoveryConfig", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteDiscoveryConfig", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfig", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteDiscoveryConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteDiscoveryConfigRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteDiscoveryConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteDiscoveryConfig", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfig", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteDiscoveryConfig" }, + "description": "DeleteDiscoveryConfig deletes a discovery configuration.", + "file": "Client/DeleteDiscoveryConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteDiscoveryConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteDiscoveryConfig Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteDlpJob_sync", - "title": "dlp DeleteDlpJob Sample", - "description": "DeleteDlpJob deletes a long-running DlpJob. This method indicates that the client is\nno longer interested in the DlpJob result. The job will be canceled if\npossible.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", - "file": "Client/DeleteDlpJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDlpJob", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteDlpJob", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteDlpJob", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteDlpJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteDlpJobRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteDlpJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteDlpJob", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteDlpJob", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteDlpJob" }, + "description": "DeleteDlpJob deletes a long-running DlpJob. This method indicates that the client is\nno longer interested in the DlpJob result. The job will be canceled if\npossible.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", + "file": "Client/DeleteDlpJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteDlpJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteDlpJob Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteFileStoreDataProfile_sync", - "title": "dlp DeleteFileStoreDataProfile Sample", - "description": "DeleteFileStoreDataProfile delete a FileStoreDataProfile. Will not prevent the profile from being\nregenerated if the resource is still included in a discovery configuration.", - "file": "Client/DeleteFileStoreDataProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFileStoreDataProfile", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteFileStoreDataProfile", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteFileStoreDataProfile", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteFileStoreDataProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteFileStoreDataProfileRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteFileStoreDataProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteFileStoreDataProfile", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteFileStoreDataProfile", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteFileStoreDataProfile" }, + "description": "DeleteFileStoreDataProfile delete a FileStoreDataProfile. Will not prevent the profile from being\nregenerated if the resource is still included in a discovery configuration.", + "file": "Client/DeleteFileStoreDataProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteFileStoreDataProfile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteFileStoreDataProfile Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteInspectTemplate_sync", - "title": "dlp DeleteInspectTemplate Sample", - "description": "DeleteInspectTemplate deletes an InspectTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", - "file": "Client/DeleteInspectTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInspectTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteInspectTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteInspectTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteInspectTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteInspectTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteInspectTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteInspectTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteInspectTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteInspectTemplate" }, + "description": "DeleteInspectTemplate deletes an InspectTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", + "file": "Client/DeleteInspectTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteInspectTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteInspectTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteJobTrigger_sync", - "title": "dlp DeleteJobTrigger Sample", - "description": "DeleteJobTrigger deletes a job trigger.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", - "file": "Client/DeleteJobTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJobTrigger", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteJobTrigger", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteJobTrigger", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteJobTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteJobTriggerRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteJobTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteJobTrigger", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteJobTrigger", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteJobTrigger" }, + "description": "DeleteJobTrigger deletes a job trigger.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", + "file": "Client/DeleteJobTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteJobTrigger_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteJobTrigger Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteStoredInfoType_sync", - "title": "dlp DeleteStoredInfoType Sample", - "description": "DeleteStoredInfoType deletes a stored infoType.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", - "file": "Client/DeleteStoredInfoType/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStoredInfoType", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteStoredInfoType", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteStoredInfoType", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteStoredInfoType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteStoredInfoTypeRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteStoredInfoTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteStoredInfoType", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteStoredInfoType", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteStoredInfoType" }, + "description": "DeleteStoredInfoType deletes a stored infoType.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", + "file": "Client/DeleteStoredInfoType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteStoredInfoType_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteStoredInfoType Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_DeleteTableDataProfile_sync", - "title": "dlp DeleteTableDataProfile Sample", - "description": "DeleteTableDataProfile delete a TableDataProfile. Will not prevent the profile from being\nregenerated if the table is still included in a discovery configuration.", - "file": "Client/DeleteTableDataProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTableDataProfile", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.DeleteTableDataProfile", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.DeleteTableDataProfile", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "DeleteTableDataProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.DeleteTableDataProfileRequest", - "name": "req" + "name": "req", + "type": "dlppb.DeleteTableDataProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "DeleteTableDataProfile", - "fullName": "google.privacy.dlp.v2.DlpService.DeleteTableDataProfile", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "DeleteTableDataProfile" }, + "description": "DeleteTableDataProfile delete a TableDataProfile. Will not prevent the profile from being\nregenerated if the table is still included in a discovery configuration.", + "file": "Client/DeleteTableDataProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_DeleteTableDataProfile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp DeleteTableDataProfile Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_FinishDlpJob_sync", - "title": "dlp FinishDlpJob Sample", - "description": "FinishDlpJob finish a running hybrid DlpJob. Triggers the finalization steps and running\nof any enabled actions that have not yet run.", - "file": "Client/FinishDlpJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinishDlpJob", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.FinishDlpJob", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.FinishDlpJob", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "FinishDlpJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.FinishDlpJobRequest", - "name": "req" + "name": "req", + "type": "dlppb.FinishDlpJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "FinishDlpJob", - "fullName": "google.privacy.dlp.v2.DlpService.FinishDlpJob", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "FinishDlpJob" }, + "description": "FinishDlpJob finish a running hybrid DlpJob. Triggers the finalization steps and running\nof any enabled actions that have not yet run.", + "file": "Client/FinishDlpJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_FinishDlpJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp FinishDlpJob Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetColumnDataProfile_sync", - "title": "dlp GetColumnDataProfile Sample", - "description": "GetColumnDataProfile gets a column data profile.", - "file": "Client/GetColumnDataProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetColumnDataProfile", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetColumnDataProfile", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetColumnDataProfile", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetColumnDataProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetColumnDataProfileRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetColumnDataProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.ColumnDataProfile", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetColumnDataProfile", - "fullName": "google.privacy.dlp.v2.DlpService.GetColumnDataProfile", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetColumnDataProfile" }, + "description": "GetColumnDataProfile gets a column data profile.", + "file": "Client/GetColumnDataProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetColumnDataProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetColumnDataProfile Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetConnection_sync", - "title": "dlp GetConnection Sample", - "description": "GetConnection get a Connection by name.", - "file": "Client/GetConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnection", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetConnection", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetConnection", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetConnectionRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetConnection", - "fullName": "google.privacy.dlp.v2.DlpService.GetConnection", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetConnection" }, + "description": "GetConnection get a Connection by name.", + "file": "Client/GetConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetConnection Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetDeidentifyTemplate_sync", - "title": "dlp GetDeidentifyTemplate Sample", - "description": "GetDeidentifyTemplate gets a DeidentifyTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", - "file": "Client/GetDeidentifyTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeidentifyTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetDeidentifyTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetDeidentifyTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetDeidentifyTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetDeidentifyTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetDeidentifyTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DeidentifyTemplate", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetDeidentifyTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.GetDeidentifyTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetDeidentifyTemplate" }, + "description": "GetDeidentifyTemplate gets a DeidentifyTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", + "file": "Client/GetDeidentifyTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetDeidentifyTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetDeidentifyTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetDiscoveryConfig_sync", - "title": "dlp GetDiscoveryConfig Sample", - "description": "GetDiscoveryConfig gets a discovery configuration.", - "file": "Client/GetDiscoveryConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiscoveryConfig", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetDiscoveryConfig", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetDiscoveryConfig", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetDiscoveryConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetDiscoveryConfigRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetDiscoveryConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DiscoveryConfig", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetDiscoveryConfig", - "fullName": "google.privacy.dlp.v2.DlpService.GetDiscoveryConfig", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetDiscoveryConfig" }, + "description": "GetDiscoveryConfig gets a discovery configuration.", + "file": "Client/GetDiscoveryConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetDiscoveryConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetDiscoveryConfig Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetDlpJob_sync", - "title": "dlp GetDlpJob Sample", - "description": "GetDlpJob gets the latest state of a long-running DlpJob.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", - "file": "Client/GetDlpJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDlpJob", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetDlpJob", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetDlpJob", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetDlpJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetDlpJobRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetDlpJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DlpJob", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetDlpJob", - "fullName": "google.privacy.dlp.v2.DlpService.GetDlpJob", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetDlpJob" }, + "description": "GetDlpJob gets the latest state of a long-running DlpJob.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", + "file": "Client/GetDlpJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetDlpJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetDlpJob Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetFileStoreDataProfile_sync", - "title": "dlp GetFileStoreDataProfile Sample", - "description": "GetFileStoreDataProfile gets a file store data profile.", - "file": "Client/GetFileStoreDataProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFileStoreDataProfile", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetFileStoreDataProfile", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetFileStoreDataProfile", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetFileStoreDataProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetFileStoreDataProfileRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetFileStoreDataProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.FileStoreDataProfile", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetFileStoreDataProfile", - "fullName": "google.privacy.dlp.v2.DlpService.GetFileStoreDataProfile", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetFileStoreDataProfile" }, + "description": "GetFileStoreDataProfile gets a file store data profile.", + "file": "Client/GetFileStoreDataProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetFileStoreDataProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetFileStoreDataProfile Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetInspectTemplate_sync", - "title": "dlp GetInspectTemplate Sample", - "description": "GetInspectTemplate gets an InspectTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", - "file": "Client/GetInspectTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInspectTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetInspectTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetInspectTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetInspectTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetInspectTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetInspectTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.InspectTemplate", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetInspectTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.GetInspectTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetInspectTemplate" }, + "description": "GetInspectTemplate gets an InspectTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", + "file": "Client/GetInspectTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetInspectTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetInspectTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetJobTrigger_sync", - "title": "dlp GetJobTrigger Sample", - "description": "GetJobTrigger gets a job trigger.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", - "file": "Client/GetJobTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJobTrigger", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetJobTrigger", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetJobTrigger", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetJobTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetJobTriggerRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetJobTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.JobTrigger", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetJobTrigger", - "fullName": "google.privacy.dlp.v2.DlpService.GetJobTrigger", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetJobTrigger" }, + "description": "GetJobTrigger gets a job trigger.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", + "file": "Client/GetJobTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetJobTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetJobTrigger Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetProjectDataProfile_sync", - "title": "dlp GetProjectDataProfile Sample", - "description": "GetProjectDataProfile gets a project data profile.", - "file": "Client/GetProjectDataProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProjectDataProfile", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetProjectDataProfile", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetProjectDataProfile", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetProjectDataProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetProjectDataProfileRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetProjectDataProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.ProjectDataProfile", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetProjectDataProfile", - "fullName": "google.privacy.dlp.v2.DlpService.GetProjectDataProfile", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetProjectDataProfile" }, + "description": "GetProjectDataProfile gets a project data profile.", + "file": "Client/GetProjectDataProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetProjectDataProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetProjectDataProfile Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetStoredInfoType_sync", - "title": "dlp GetStoredInfoType Sample", - "description": "GetStoredInfoType gets a stored infoType.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", - "file": "Client/GetStoredInfoType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStoredInfoType", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetStoredInfoType", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetStoredInfoType", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetStoredInfoType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetStoredInfoTypeRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetStoredInfoTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.StoredInfoType", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetStoredInfoType", - "fullName": "google.privacy.dlp.v2.DlpService.GetStoredInfoType", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetStoredInfoType" }, + "description": "GetStoredInfoType gets a stored infoType.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", + "file": "Client/GetStoredInfoType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetStoredInfoType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetStoredInfoType Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_GetTableDataProfile_sync", - "title": "dlp GetTableDataProfile Sample", - "description": "GetTableDataProfile gets a table data profile.", - "file": "Client/GetTableDataProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTableDataProfile", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.GetTableDataProfile", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.GetTableDataProfile", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "GetTableDataProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.GetTableDataProfileRequest", - "name": "req" + "name": "req", + "type": "dlppb.GetTableDataProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.TableDataProfile", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "GetTableDataProfile", - "fullName": "google.privacy.dlp.v2.DlpService.GetTableDataProfile", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "GetTableDataProfile" }, + "description": "GetTableDataProfile gets a table data profile.", + "file": "Client/GetTableDataProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_GetTableDataProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp GetTableDataProfile Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_HybridInspectDlpJob_sync", - "title": "dlp HybridInspectDlpJob Sample", - "description": "HybridInspectDlpJob inspect hybrid content and store findings to a job.\nTo review the findings, inspect the job. Inspection will occur\nasynchronously.", - "file": "Client/HybridInspectDlpJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "HybridInspectDlpJob", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.HybridInspectDlpJob", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.HybridInspectDlpJob", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "HybridInspectDlpJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.HybridInspectDlpJobRequest", - "name": "req" + "name": "req", + "type": "dlppb.HybridInspectDlpJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.HybridInspectResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "HybridInspectDlpJob", - "fullName": "google.privacy.dlp.v2.DlpService.HybridInspectDlpJob", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "HybridInspectDlpJob" }, + "description": "HybridInspectDlpJob inspect hybrid content and store findings to a job.\nTo review the findings, inspect the job. Inspection will occur\nasynchronously.", + "file": "Client/HybridInspectDlpJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_HybridInspectDlpJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp HybridInspectDlpJob Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_HybridInspectJobTrigger_sync", - "title": "dlp HybridInspectJobTrigger Sample", - "description": "HybridInspectJobTrigger inspect hybrid content and store findings to a trigger. The inspection\nwill be processed asynchronously. To review the findings monitor the\njobs within the trigger.", - "file": "Client/HybridInspectJobTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "HybridInspectJobTrigger", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.HybridInspectJobTrigger", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.HybridInspectJobTrigger", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "HybridInspectJobTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.HybridInspectJobTriggerRequest", - "name": "req" + "name": "req", + "type": "dlppb.HybridInspectJobTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.HybridInspectResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "HybridInspectJobTrigger", - "fullName": "google.privacy.dlp.v2.DlpService.HybridInspectJobTrigger", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "HybridInspectJobTrigger" }, + "description": "HybridInspectJobTrigger inspect hybrid content and store findings to a trigger. The inspection\nwill be processed asynchronously. To review the findings monitor the\njobs within the trigger.", + "file": "Client/HybridInspectJobTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_HybridInspectJobTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp HybridInspectJobTrigger Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_InspectContent_sync", - "title": "dlp InspectContent Sample", - "description": "InspectContent finds potentially sensitive info in content.\nThis method has limits on input size, processing time, and output size.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.\n\nFor how to guides, see\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-images\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-text,", - "file": "Client/InspectContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "InspectContent", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.InspectContent", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.InspectContent", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "InspectContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.InspectContentRequest", - "name": "req" + "name": "req", + "type": "dlppb.InspectContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*dlppb.InspectContentResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "InspectContent", - "fullName": "google.privacy.dlp.v2.DlpService.InspectContent", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*dlppb.InspectContentResponse", + "shortName": "InspectContent" }, + "description": "InspectContent finds potentially sensitive info in content.\nThis method has limits on input size, processing time, and output size.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.\n\nFor how to guides, see\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-images\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-text,", + "file": "Client/InspectContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_InspectContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp InspectContent Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListColumnDataProfiles_sync", - "title": "dlp ListColumnDataProfiles Sample", - "description": "ListColumnDataProfiles lists column data profiles for an organization.", - "file": "Client/ListColumnDataProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListColumnDataProfiles", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListColumnDataProfiles", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListColumnDataProfiles", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListColumnDataProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListColumnDataProfilesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListColumnDataProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ColumnDataProfileIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListColumnDataProfiles", - "fullName": "google.privacy.dlp.v2.DlpService.ListColumnDataProfiles", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListColumnDataProfiles" }, + "description": "ListColumnDataProfiles lists column data profiles for an organization.", + "file": "Client/ListColumnDataProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListColumnDataProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListColumnDataProfiles Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListConnections_sync", - "title": "dlp ListConnections Sample", - "description": "ListConnections lists Connections in a parent. Use SearchConnections to see all connections\nwithin an organization.", - "file": "Client/ListConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnections", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListConnections", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListConnections", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListConnectionsRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.privacy.dlp.v2.DlpService.ListConnections", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListConnections" }, + "description": "ListConnections lists Connections in a parent. Use SearchConnections to see all connections\nwithin an organization.", + "file": "Client/ListConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListConnections Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListDeidentifyTemplates_sync", - "title": "dlp ListDeidentifyTemplates Sample", - "description": "ListDeidentifyTemplates lists DeidentifyTemplates.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", - "file": "Client/ListDeidentifyTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeidentifyTemplates", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListDeidentifyTemplates", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListDeidentifyTemplates", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListDeidentifyTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListDeidentifyTemplatesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListDeidentifyTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeidentifyTemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListDeidentifyTemplates", - "fullName": "google.privacy.dlp.v2.DlpService.ListDeidentifyTemplates", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListDeidentifyTemplates" }, + "description": "ListDeidentifyTemplates lists DeidentifyTemplates.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", + "file": "Client/ListDeidentifyTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListDeidentifyTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListDeidentifyTemplates Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListDiscoveryConfigs_sync", - "title": "dlp ListDiscoveryConfigs Sample", - "description": "ListDiscoveryConfigs lists discovery configurations.", - "file": "Client/ListDiscoveryConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDiscoveryConfigs", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListDiscoveryConfigs", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListDiscoveryConfigs", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListDiscoveryConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListDiscoveryConfigsRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListDiscoveryConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiscoveryConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListDiscoveryConfigs", - "fullName": "google.privacy.dlp.v2.DlpService.ListDiscoveryConfigs", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListDiscoveryConfigs" }, + "description": "ListDiscoveryConfigs lists discovery configurations.", + "file": "Client/ListDiscoveryConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListDiscoveryConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListDiscoveryConfigs Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListDlpJobs_sync", - "title": "dlp ListDlpJobs Sample", - "description": "ListDlpJobs lists DlpJobs that match the specified filter in the request.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", - "file": "Client/ListDlpJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDlpJobs", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListDlpJobs", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListDlpJobs", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListDlpJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListDlpJobsRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListDlpJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DlpJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListDlpJobs", - "fullName": "google.privacy.dlp.v2.DlpService.ListDlpJobs", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListDlpJobs" }, + "description": "ListDlpJobs lists DlpJobs that match the specified filter in the request.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/inspecting-storage\nand\nhttps: //cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis\nto learn more.", + "file": "Client/ListDlpJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListDlpJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListDlpJobs Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListFileStoreDataProfiles_sync", - "title": "dlp ListFileStoreDataProfiles Sample", - "description": "ListFileStoreDataProfiles lists file store data profiles for an organization.", - "file": "Client/ListFileStoreDataProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFileStoreDataProfiles", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListFileStoreDataProfiles", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListFileStoreDataProfiles", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListFileStoreDataProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListFileStoreDataProfilesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListFileStoreDataProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileStoreDataProfileIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListFileStoreDataProfiles", - "fullName": "google.privacy.dlp.v2.DlpService.ListFileStoreDataProfiles", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListFileStoreDataProfiles" }, + "description": "ListFileStoreDataProfiles lists file store data profiles for an organization.", + "file": "Client/ListFileStoreDataProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListFileStoreDataProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListFileStoreDataProfiles Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListInfoTypes_sync", - "title": "dlp ListInfoTypes Sample", - "description": "ListInfoTypes returns a list of the sensitive information types that the DLP API\nsupports. See\nhttps: //cloud.google.com/sensitive-data-protection/docs/infotypes-reference\nto learn more.", - "file": "Client/ListInfoTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInfoTypes", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListInfoTypes", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListInfoTypes", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListInfoTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListInfoTypesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListInfoTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.ListInfoTypesResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListInfoTypes", - "fullName": "google.privacy.dlp.v2.DlpService.ListInfoTypes", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListInfoTypes" }, + "description": "ListInfoTypes returns a list of the sensitive information types that the DLP API\nsupports. See\nhttps: //cloud.google.com/sensitive-data-protection/docs/infotypes-reference\nto learn more.", + "file": "Client/ListInfoTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListInfoTypes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListInfoTypes Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListInspectTemplates_sync", - "title": "dlp ListInspectTemplates Sample", - "description": "ListInspectTemplates lists InspectTemplates.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", - "file": "Client/ListInspectTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInspectTemplates", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListInspectTemplates", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListInspectTemplates", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListInspectTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListInspectTemplatesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListInspectTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InspectTemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListInspectTemplates", - "fullName": "google.privacy.dlp.v2.DlpService.ListInspectTemplates", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListInspectTemplates" }, + "description": "ListInspectTemplates lists InspectTemplates.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", + "file": "Client/ListInspectTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListInspectTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListInspectTemplates Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListJobTriggers_sync", - "title": "dlp ListJobTriggers Sample", - "description": "ListJobTriggers lists job triggers.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", - "file": "Client/ListJobTriggers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobTriggers", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListJobTriggers", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListJobTriggers", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListJobTriggers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListJobTriggersRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListJobTriggersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobTriggerIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListJobTriggers", - "fullName": "google.privacy.dlp.v2.DlpService.ListJobTriggers", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListJobTriggers" }, + "description": "ListJobTriggers lists job triggers.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", + "file": "Client/ListJobTriggers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListJobTriggers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListJobTriggers Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListProjectDataProfiles_sync", - "title": "dlp ListProjectDataProfiles Sample", - "description": "ListProjectDataProfiles lists project data profiles for an organization.", - "file": "Client/ListProjectDataProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProjectDataProfiles", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListProjectDataProfiles", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListProjectDataProfiles", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListProjectDataProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListProjectDataProfilesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListProjectDataProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProjectDataProfileIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListProjectDataProfiles", - "fullName": "google.privacy.dlp.v2.DlpService.ListProjectDataProfiles", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListProjectDataProfiles" }, + "description": "ListProjectDataProfiles lists project data profiles for an organization.", + "file": "Client/ListProjectDataProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListProjectDataProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListProjectDataProfiles Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListStoredInfoTypes_sync", - "title": "dlp ListStoredInfoTypes Sample", - "description": "ListStoredInfoTypes lists stored infoTypes.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", - "file": "Client/ListStoredInfoTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStoredInfoTypes", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListStoredInfoTypes", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListStoredInfoTypes", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListStoredInfoTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListStoredInfoTypesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListStoredInfoTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StoredInfoTypeIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListStoredInfoTypes", - "fullName": "google.privacy.dlp.v2.DlpService.ListStoredInfoTypes", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListStoredInfoTypes" }, + "description": "ListStoredInfoTypes lists stored infoTypes.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", + "file": "Client/ListStoredInfoTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListStoredInfoTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListStoredInfoTypes Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ListTableDataProfiles_sync", - "title": "dlp ListTableDataProfiles Sample", - "description": "ListTableDataProfiles lists table data profiles for an organization.", - "file": "Client/ListTableDataProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTableDataProfiles", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ListTableDataProfiles", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ListTableDataProfiles", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ListTableDataProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ListTableDataProfilesRequest", - "name": "req" + "name": "req", + "type": "dlppb.ListTableDataProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TableDataProfileIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ListTableDataProfiles", - "fullName": "google.privacy.dlp.v2.DlpService.ListTableDataProfiles", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ListTableDataProfiles" }, + "description": "ListTableDataProfiles lists table data profiles for an organization.", + "file": "Client/ListTableDataProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ListTableDataProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ListTableDataProfiles Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_RedactImage_sync", - "title": "dlp RedactImage Sample", - "description": "RedactImage redacts potentially sensitive info from an image.\nThis method has limits on input size, processing time, and output size.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images\nto learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.\n\nOnly the first frame of each multiframe image is redacted. Metadata and\nother frames are omitted in the response.", - "file": "Client/RedactImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "RedactImage", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.RedactImage", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.RedactImage", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "RedactImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.RedactImageRequest", - "name": "req" + "name": "req", + "type": "dlppb.RedactImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.RedactImageResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "RedactImage", - "fullName": "google.privacy.dlp.v2.DlpService.RedactImage", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "RedactImage" }, + "description": "RedactImage redacts potentially sensitive info from an image.\nThis method has limits on input size, processing time, and output size.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images\nto learn more.\n\nWhen no InfoTypes or CustomInfoTypes are specified in this request, the\nsystem will automatically choose what detectors to run. By default this may\nbe all types, but may change over time as detectors are updated.\n\nOnly the first frame of each multiframe image is redacted. Metadata and\nother frames are omitted in the response.", + "file": "Client/RedactImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_RedactImage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp RedactImage Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_ReidentifyContent_sync", - "title": "dlp ReidentifyContent Sample", - "description": "ReidentifyContent re-identifies content that has been de-identified.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example\nto learn more.", - "file": "Client/ReidentifyContent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReidentifyContent", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.ReidentifyContent", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.ReidentifyContent", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "ReidentifyContent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.ReidentifyContentRequest", - "name": "req" + "name": "req", + "type": "dlppb.ReidentifyContentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.ReidentifyContentResponse", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "ReidentifyContent", - "fullName": "google.privacy.dlp.v2.DlpService.ReidentifyContent", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "ReidentifyContent" }, + "description": "ReidentifyContent re-identifies content that has been de-identified.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example\nto learn more.", + "file": "Client/ReidentifyContent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_ReidentifyContent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp ReidentifyContent Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_SearchConnections_sync", - "title": "dlp SearchConnections Sample", - "description": "SearchConnections searches for Connections in a parent.", - "file": "Client/SearchConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchConnections", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.SearchConnections", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.SearchConnections", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "SearchConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.SearchConnectionsRequest", - "name": "req" + "name": "req", + "type": "dlppb.SearchConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "SearchConnections", - "fullName": "google.privacy.dlp.v2.DlpService.SearchConnections", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "SearchConnections" }, + "description": "SearchConnections searches for Connections in a parent.", + "file": "Client/SearchConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_SearchConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp SearchConnections Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_UpdateConnection_sync", - "title": "dlp UpdateConnection Sample", - "description": "UpdateConnection update a Connection.", - "file": "Client/UpdateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnection", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.UpdateConnection", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.UpdateConnection", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "UpdateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.UpdateConnectionRequest", - "name": "req" + "name": "req", + "type": "dlppb.UpdateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.Connection", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "UpdateConnection", - "fullName": "google.privacy.dlp.v2.DlpService.UpdateConnection", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "UpdateConnection" }, + "description": "UpdateConnection update a Connection.", + "file": "Client/UpdateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_UpdateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp UpdateConnection Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_UpdateDeidentifyTemplate_sync", - "title": "dlp UpdateDeidentifyTemplate Sample", - "description": "UpdateDeidentifyTemplate updates the DeidentifyTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", - "file": "Client/UpdateDeidentifyTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeidentifyTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.UpdateDeidentifyTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "UpdateDeidentifyTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.UpdateDeidentifyTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.UpdateDeidentifyTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DeidentifyTemplate", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "UpdateDeidentifyTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "UpdateDeidentifyTemplate" }, + "description": "UpdateDeidentifyTemplate updates the DeidentifyTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates-deid\nto learn more.", + "file": "Client/UpdateDeidentifyTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_UpdateDeidentifyTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp UpdateDeidentifyTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_UpdateDiscoveryConfig_sync", - "title": "dlp UpdateDiscoveryConfig Sample", - "description": "UpdateDiscoveryConfig updates a discovery configuration.", - "file": "Client/UpdateDiscoveryConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDiscoveryConfig", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.UpdateDiscoveryConfig", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfig", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "UpdateDiscoveryConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.UpdateDiscoveryConfigRequest", - "name": "req" + "name": "req", + "type": "dlppb.UpdateDiscoveryConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.DiscoveryConfig", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "UpdateDiscoveryConfig", - "fullName": "google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfig", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "UpdateDiscoveryConfig" }, + "description": "UpdateDiscoveryConfig updates a discovery configuration.", + "file": "Client/UpdateDiscoveryConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_UpdateDiscoveryConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp UpdateDiscoveryConfig Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_UpdateInspectTemplate_sync", - "title": "dlp UpdateInspectTemplate Sample", - "description": "UpdateInspectTemplate updates the InspectTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", - "file": "Client/UpdateInspectTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInspectTemplate", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.UpdateInspectTemplate", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.UpdateInspectTemplate", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "UpdateInspectTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.UpdateInspectTemplateRequest", - "name": "req" + "name": "req", + "type": "dlppb.UpdateInspectTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.InspectTemplate", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "UpdateInspectTemplate", - "fullName": "google.privacy.dlp.v2.DlpService.UpdateInspectTemplate", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "UpdateInspectTemplate" }, + "description": "UpdateInspectTemplate updates the InspectTemplate.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-templates\nto learn more.", + "file": "Client/UpdateInspectTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_UpdateInspectTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp UpdateInspectTemplate Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_UpdateJobTrigger_sync", - "title": "dlp UpdateJobTrigger Sample", - "description": "UpdateJobTrigger updates a job trigger.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", - "file": "Client/UpdateJobTrigger/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJobTrigger", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.UpdateJobTrigger", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.UpdateJobTrigger", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "UpdateJobTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.UpdateJobTriggerRequest", - "name": "req" + "name": "req", + "type": "dlppb.UpdateJobTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.JobTrigger", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "UpdateJobTrigger", - "fullName": "google.privacy.dlp.v2.DlpService.UpdateJobTrigger", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "UpdateJobTrigger" }, + "description": "UpdateJobTrigger updates a job trigger.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-job-triggers\nto learn more.", + "file": "Client/UpdateJobTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_UpdateJobTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp UpdateJobTrigger Sample" }, { - "regionTag": "dlp_v2_generated_DlpService_UpdateStoredInfoType_sync", - "title": "dlp UpdateStoredInfoType Sample", - "description": "UpdateStoredInfoType updates the stored infoType by creating a new version. The existing version\nwill continue to be used until the new version is ready.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", - "file": "Client/UpdateStoredInfoType/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateStoredInfoType", + "client": { + "fullName": "google.privacy.dlp.v2.Client", + "shortName": "Client" + }, "fullName": "google.privacy.dlp.v2.Client.UpdateStoredInfoType", + "method": { + "fullName": "google.privacy.dlp.v2.DlpService.UpdateStoredInfoType", + "service": { + "fullName": "google.privacy.dlp.v2.DlpService", + "shortName": "DlpService" + }, + "shortName": "UpdateStoredInfoType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dlppb.UpdateStoredInfoTypeRequest", - "name": "req" + "name": "req", + "type": "dlppb.UpdateStoredInfoTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dlppb.StoredInfoType", - "client": { - "shortName": "Client", - "fullName": "google.privacy.dlp.v2.Client" - }, - "method": { - "shortName": "UpdateStoredInfoType", - "fullName": "google.privacy.dlp.v2.DlpService.UpdateStoredInfoType", - "service": { - "shortName": "DlpService", - "fullName": "google.privacy.dlp.v2.DlpService" - } - } + "shortName": "UpdateStoredInfoType" }, + "description": "UpdateStoredInfoType updates the stored infoType by creating a new version. The existing version\nwill continue to be used until the new version is ready.\nSee\nhttps: //cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes\nto learn more.", + "file": "Client/UpdateStoredInfoType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "dlp_v2_generated_DlpService_UpdateStoredInfoType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "dlp UpdateStoredInfoType Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json index 91cca43c7a8e..71dc82d40841 100644 --- a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json +++ b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json @@ -1,1256 +1,1256 @@ { "clientLibrary": { - "name": "cloud.google.com/go/documentai/apiv1", - "version": "1.43.0", - "language": "GO", "apis": [ { "id": "google.cloud.documentai.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/documentai/apiv1", + "version": "1.43.0" }, "snippets": [ { - "regionTag": "documentai_v1_generated_DocumentProcessorService_BatchProcessDocuments_sync", - "title": "documentai BatchProcessDocuments Sample", - "description": "BatchProcessDocuments lRO endpoint to batch process many documents. The output is written\nto Cloud Storage as JSON in the [Document] format.", - "file": "DocumentProcessorClient/BatchProcessDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchProcessDocuments", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.BatchProcessDocuments", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "BatchProcessDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.BatchProcessRequest", - "name": "req" + "name": "req", + "type": "documentaipb.BatchProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchProcessDocumentsOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "BatchProcessDocuments", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "BatchProcessDocuments" }, + "description": "BatchProcessDocuments lRO endpoint to batch process many documents. The output is written\nto Cloud Storage as JSON in the [Document] format.", + "file": "DocumentProcessorClient/BatchProcessDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_BatchProcessDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai BatchProcessDocuments Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_CancelOperation_sync", - "title": "documentai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentProcessorClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentProcessorClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai CancelOperation Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_CreateProcessor_sync", - "title": "documentai CreateProcessor Sample", - "description": "CreateProcessor creates a processor from the\n[ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The\nprocessor will be at `ENABLED` state by default after its creation. Note\nthat this method requires the `documentai.processors.create` permission on\nthe project, which is highly privileged. A user or service account with\nthis permission can create new processors that can interact with any gcs\nbucket in your project.", - "file": "DocumentProcessorClient/CreateProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProcessor", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.CreateProcessor", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "CreateProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.CreateProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.CreateProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.Processor", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "CreateProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "CreateProcessor" }, + "description": "CreateProcessor creates a processor from the\n[ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The\nprocessor will be at `ENABLED` state by default after its creation. Note\nthat this method requires the `documentai.processors.create` permission on\nthe project, which is highly privileged. A user or service account with\nthis permission can create new processors that can interact with any gcs\nbucket in your project.", + "file": "DocumentProcessorClient/CreateProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_CreateProcessor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai CreateProcessor Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_DeleteProcessor_sync", - "title": "documentai DeleteProcessor Sample", - "description": "DeleteProcessor deletes the processor, unloads all deployed model artifacts if it was\nenabled and then deletes all artifacts associated with this processor.", - "file": "DocumentProcessorClient/DeleteProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcessor", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.DeleteProcessor", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DeleteProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DeleteProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DeleteProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessorOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "DeleteProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "DeleteProcessor" }, + "description": "DeleteProcessor deletes the processor, unloads all deployed model artifacts if it was\nenabled and then deletes all artifacts associated with this processor.", + "file": "DocumentProcessorClient/DeleteProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_DeleteProcessor_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DeleteProcessor Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_DeleteProcessorVersion_sync", - "title": "documentai DeleteProcessorVersion Sample", - "description": "DeleteProcessorVersion deletes the processor version, all artifacts under the processor version\nwill be deleted.", - "file": "DocumentProcessorClient/DeleteProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.DeleteProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DeleteProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DeleteProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DeleteProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "DeleteProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "DeleteProcessorVersion" }, + "description": "DeleteProcessorVersion deletes the processor version, all artifacts under the processor version\nwill be deleted.", + "file": "DocumentProcessorClient/DeleteProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_DeleteProcessorVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DeleteProcessorVersion Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_DeployProcessorVersion_sync", - "title": "documentai DeployProcessorVersion Sample", - "description": "DeployProcessorVersion deploys the processor version.", - "file": "DocumentProcessorClient/DeployProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.DeployProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DeployProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DeployProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DeployProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "DeployProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "DeployProcessorVersion" }, + "description": "DeployProcessorVersion deploys the processor version.", + "file": "DocumentProcessorClient/DeployProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_DeployProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DeployProcessorVersion Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_DisableProcessor_sync", - "title": "documentai DisableProcessor Sample", - "description": "DisableProcessor disables a processor", - "file": "DocumentProcessorClient/DisableProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableProcessor", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.DisableProcessor", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DisableProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DisableProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DisableProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableProcessorOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "DisableProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "DisableProcessor" }, + "description": "DisableProcessor disables a processor", + "file": "DocumentProcessorClient/DisableProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_DisableProcessor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DisableProcessor Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_EnableProcessor_sync", - "title": "documentai EnableProcessor Sample", - "description": "EnableProcessor enables a processor", - "file": "DocumentProcessorClient/EnableProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableProcessor", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.EnableProcessor", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "EnableProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.EnableProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.EnableProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableProcessorOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "EnableProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "EnableProcessor" }, + "description": "EnableProcessor enables a processor", + "file": "DocumentProcessorClient/EnableProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_EnableProcessor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai EnableProcessor Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_EvaluateProcessorVersion_sync", - "title": "documentai EvaluateProcessorVersion Sample", - "description": "EvaluateProcessorVersion evaluates a ProcessorVersion against annotated documents, producing an\nEvaluation.", - "file": "DocumentProcessorClient/EvaluateProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvaluateProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.EvaluateProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EvaluateProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "EvaluateProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.EvaluateProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.EvaluateProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluateProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "EvaluateProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EvaluateProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "EvaluateProcessorVersion" }, + "description": "EvaluateProcessorVersion evaluates a ProcessorVersion against annotated documents, producing an\nEvaluation.", + "file": "DocumentProcessorClient/EvaluateProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_EvaluateProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai EvaluateProcessorVersion Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_FetchProcessorTypes_sync", - "title": "documentai FetchProcessorTypes Sample", - "description": "FetchProcessorTypes fetches processor types. Note that we don't use\n[ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]\nhere, because it isn't paginated.", - "file": "DocumentProcessorClient/FetchProcessorTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchProcessorTypes", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.FetchProcessorTypes", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "FetchProcessorTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.FetchProcessorTypesRequest", - "name": "req" + "name": "req", + "type": "documentaipb.FetchProcessorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.FetchProcessorTypesResponse", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "FetchProcessorTypes", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "FetchProcessorTypes" }, + "description": "FetchProcessorTypes fetches processor types. Note that we don't use\n[ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]\nhere, because it isn't paginated.", + "file": "DocumentProcessorClient/FetchProcessorTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_FetchProcessorTypes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai FetchProcessorTypes Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_GetEvaluation_sync", - "title": "documentai GetEvaluation Sample", - "description": "GetEvaluation retrieves a specific evaluation.", - "file": "DocumentProcessorClient/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.GetEvaluation", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetEvaluation", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.Evaluation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetEvaluation", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation retrieves a specific evaluation.", + "file": "DocumentProcessorClient/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetEvaluation Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_GetLocation_sync", - "title": "documentai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DocumentProcessorClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DocumentProcessorClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetLocation Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_GetOperation_sync", - "title": "documentai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentProcessorClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentProcessorClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetOperation Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_GetProcessor_sync", - "title": "documentai GetProcessor Sample", - "description": "GetProcessor gets a processor detail.", - "file": "DocumentProcessorClient/GetProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessor", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.GetProcessor", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessor", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.Processor", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "GetProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "GetProcessor" }, + "description": "GetProcessor gets a processor detail.", + "file": "DocumentProcessorClient/GetProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_GetProcessor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetProcessor Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_GetProcessorType_sync", - "title": "documentai GetProcessorType Sample", - "description": "GetProcessorType gets a processor type detail.", - "file": "DocumentProcessorClient/GetProcessorType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessorType", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.GetProcessorType", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetProcessorType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetProcessorTypeRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetProcessorTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.ProcessorType", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "GetProcessorType", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "GetProcessorType" }, + "description": "GetProcessorType gets a processor type detail.", + "file": "DocumentProcessorClient/GetProcessorType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_GetProcessorType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetProcessorType Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_GetProcessorVersion_sync", - "title": "documentai GetProcessorVersion Sample", - "description": "GetProcessorVersion gets a processor version detail.", - "file": "DocumentProcessorClient/GetProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.GetProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.ProcessorVersion", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "GetProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "GetProcessorVersion" }, + "description": "GetProcessorVersion gets a processor version detail.", + "file": "DocumentProcessorClient/GetProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_GetProcessorVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetProcessorVersion Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ListEvaluations_sync", - "title": "documentai ListEvaluations Sample", - "description": "ListEvaluations retrieves a set of evaluations for a given processor version.", - "file": "DocumentProcessorClient/ListEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluations", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ListEvaluations", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListEvaluations", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListEvaluationsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListEvaluations", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "ListEvaluations" }, + "description": "ListEvaluations retrieves a set of evaluations for a given processor version.", + "file": "DocumentProcessorClient/ListEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ListEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListEvaluations Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ListLocations_sync", - "title": "documentai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DocumentProcessorClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DocumentProcessorClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListLocations Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ListOperations_sync", - "title": "documentai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentProcessorClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentProcessorClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListOperations Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ListProcessorTypes_sync", - "title": "documentai ListProcessorTypes Sample", - "description": "ListProcessorTypes lists the processor types that exist.", - "file": "DocumentProcessorClient/ListProcessorTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessorTypes", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ListProcessorTypes", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListProcessorTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListProcessorTypesRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListProcessorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorTypeIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ListProcessorTypes", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "ListProcessorTypes" }, + "description": "ListProcessorTypes lists the processor types that exist.", + "file": "DocumentProcessorClient/ListProcessorTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ListProcessorTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListProcessorTypes Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ListProcessorVersions_sync", - "title": "documentai ListProcessorVersions Sample", - "description": "ListProcessorVersions lists all versions of a processor.", - "file": "DocumentProcessorClient/ListProcessorVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessorVersions", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ListProcessorVersions", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorVersions", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListProcessorVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListProcessorVersionsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListProcessorVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorVersionIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ListProcessorVersions", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorVersions", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "ListProcessorVersions" }, + "description": "ListProcessorVersions lists all versions of a processor.", + "file": "DocumentProcessorClient/ListProcessorVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ListProcessorVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListProcessorVersions Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ListProcessors_sync", - "title": "documentai ListProcessors Sample", - "description": "ListProcessors lists all processors which belong to this project.", - "file": "DocumentProcessorClient/ListProcessors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessors", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ListProcessors", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessors", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListProcessors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListProcessorsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListProcessorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ListProcessors", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessors", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "ListProcessors" }, + "description": "ListProcessors lists all processors which belong to this project.", + "file": "DocumentProcessorClient/ListProcessors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ListProcessors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListProcessors Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ProcessDocument_sync", - "title": "documentai ProcessDocument Sample", - "description": "ProcessDocument processes a single document.", - "file": "DocumentProcessorClient/ProcessDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProcessDocument", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ProcessDocument", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ProcessDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ProcessRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.ProcessResponse", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ProcessDocument", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "ProcessDocument" }, + "description": "ProcessDocument processes a single document.", + "file": "DocumentProcessorClient/ProcessDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ProcessDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ProcessDocument Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_ReviewDocument_sync", - "title": "documentai ReviewDocument Sample", - "description": "ReviewDocument send a document for Human Review. The input document should be processed by\nthe specified processor.", - "file": "DocumentProcessorClient/ReviewDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReviewDocument", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.ReviewDocument", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ReviewDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ReviewDocumentRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ReviewDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReviewDocumentOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "ReviewDocument", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "ReviewDocument" }, + "description": "ReviewDocument send a document for Human Review. The input document should be processed by\nthe specified processor.", + "file": "DocumentProcessorClient/ReviewDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_ReviewDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ReviewDocument Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_SetDefaultProcessorVersion_sync", - "title": "documentai SetDefaultProcessorVersion Sample", - "description": "SetDefaultProcessorVersion set the default (active) version of a\n[Processor][google.cloud.documentai.v1.Processor] that will be used in\n[ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]\nand\n[BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].", - "file": "DocumentProcessorClient/SetDefaultProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.SetDefaultProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "SetDefaultProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.SetDefaultProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.SetDefaultProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetDefaultProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "SetDefaultProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "SetDefaultProcessorVersion" }, + "description": "SetDefaultProcessorVersion set the default (active) version of a\n[Processor][google.cloud.documentai.v1.Processor] that will be used in\n[ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]\nand\n[BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].", + "file": "DocumentProcessorClient/SetDefaultProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_SetDefaultProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai SetDefaultProcessorVersion Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_TrainProcessorVersion_sync", - "title": "documentai TrainProcessorVersion Sample", - "description": "TrainProcessorVersion trains a new processor version.\nOperation metadata is returned as\n[TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].", - "file": "DocumentProcessorClient/TrainProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.TrainProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "TrainProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.TrainProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.TrainProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "TrainProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "TrainProcessorVersion" }, + "description": "TrainProcessorVersion trains a new processor version.\nOperation metadata is returned as\n[TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].", + "file": "DocumentProcessorClient/TrainProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_TrainProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai TrainProcessorVersion Sample" }, { - "regionTag": "documentai_v1_generated_DocumentProcessorService_UndeployProcessorVersion_sync", - "title": "documentai UndeployProcessorVersion Sample", - "description": "UndeployProcessorVersion undeploys the processor version.", - "file": "DocumentProcessorClient/UndeployProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1.DocumentProcessorClient.UndeployProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "UndeployProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.UndeployProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.UndeployProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1.DocumentProcessorClient" - }, - "method": { - "shortName": "UndeployProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService" - } - } + "shortName": "UndeployProcessorVersion" }, + "description": "UndeployProcessorVersion undeploys the processor version.", + "file": "DocumentProcessorClient/UndeployProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1_generated_DocumentProcessorService_UndeployProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai UndeployProcessorVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json index f4175301157d..a64be9fa85fe 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json +++ b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json @@ -1,1853 +1,1853 @@ { "clientLibrary": { - "name": "cloud.google.com/go/documentai/apiv1beta3", - "version": "1.43.0", - "language": "GO", "apis": [ { "id": "google.cloud.documentai.v1beta3", "version": "v1beta3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/documentai/apiv1beta3", + "version": "1.43.0" }, "snippets": [ { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_BatchProcessDocuments_sync", - "title": "documentai BatchProcessDocuments Sample", - "description": "BatchProcessDocuments lRO endpoint to batch process many documents. The output is written\nto Cloud Storage as JSON in the [Document] format.", - "file": "DocumentProcessorClient/BatchProcessDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchProcessDocuments", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.BatchProcessDocuments", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "BatchProcessDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.BatchProcessRequest", - "name": "req" + "name": "req", + "type": "documentaipb.BatchProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchProcessDocumentsOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "BatchProcessDocuments", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "BatchProcessDocuments" }, + "description": "BatchProcessDocuments lRO endpoint to batch process many documents. The output is written\nto Cloud Storage as JSON in the [Document] format.", + "file": "DocumentProcessorClient/BatchProcessDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_BatchProcessDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai BatchProcessDocuments Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_CancelOperation_sync", - "title": "documentai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentProcessorClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentProcessorClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai CancelOperation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_CreateProcessor_sync", - "title": "documentai CreateProcessor Sample", - "description": "CreateProcessor creates a processor from the\n[ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided.\nThe processor will be at `ENABLED` state by default after its creation.\nNote that this method requires the `documentai.processors.create`\npermission on the project, which is highly privileged. A user or service\naccount with this permission can create new processors that can interact\nwith any gcs bucket in your project.", - "file": "DocumentProcessorClient/CreateProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProcessor", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.CreateProcessor", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.CreateProcessor", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "CreateProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.CreateProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.CreateProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.Processor", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "CreateProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.CreateProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "CreateProcessor" }, + "description": "CreateProcessor creates a processor from the\n[ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided.\nThe processor will be at `ENABLED` state by default after its creation.\nNote that this method requires the `documentai.processors.create`\npermission on the project, which is highly privileged. A user or service\naccount with this permission can create new processors that can interact\nwith any gcs bucket in your project.", + "file": "DocumentProcessorClient/CreateProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_CreateProcessor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai CreateProcessor Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DeleteProcessor_sync", - "title": "documentai DeleteProcessor Sample", - "description": "DeleteProcessor deletes the processor, unloads all deployed model artifacts if it was\nenabled and then deletes all artifacts associated with this processor.", - "file": "DocumentProcessorClient/DeleteProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcessor", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.DeleteProcessor", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessor", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DeleteProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DeleteProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DeleteProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessorOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "DeleteProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "DeleteProcessor" }, + "description": "DeleteProcessor deletes the processor, unloads all deployed model artifacts if it was\nenabled and then deletes all artifacts associated with this processor.", + "file": "DocumentProcessorClient/DeleteProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DeleteProcessor_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DeleteProcessor Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DeleteProcessorVersion_sync", - "title": "documentai DeleteProcessorVersion Sample", - "description": "DeleteProcessorVersion deletes the processor version, all artifacts under the processor version\nwill be deleted.", - "file": "DocumentProcessorClient/DeleteProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.DeleteProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DeleteProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DeleteProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DeleteProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "DeleteProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "DeleteProcessorVersion" }, + "description": "DeleteProcessorVersion deletes the processor version, all artifacts under the processor version\nwill be deleted.", + "file": "DocumentProcessorClient/DeleteProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DeleteProcessorVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DeleteProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DeployProcessorVersion_sync", - "title": "documentai DeployProcessorVersion Sample", - "description": "DeployProcessorVersion deploys the processor version.", - "file": "DocumentProcessorClient/DeployProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.DeployProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DeployProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DeployProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DeployProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "DeployProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "DeployProcessorVersion" }, + "description": "DeployProcessorVersion deploys the processor version.", + "file": "DocumentProcessorClient/DeployProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DeployProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DeployProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DisableProcessor_sync", - "title": "documentai DisableProcessor Sample", - "description": "DisableProcessor disables a processor", - "file": "DocumentProcessorClient/DisableProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableProcessor", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.DisableProcessor", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "DisableProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.DisableProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.DisableProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableProcessorOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "DisableProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "DisableProcessor" }, + "description": "DisableProcessor disables a processor", + "file": "DocumentProcessorClient/DisableProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_DisableProcessor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai DisableProcessor Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_EnableProcessor_sync", - "title": "documentai EnableProcessor Sample", - "description": "EnableProcessor enables a processor", - "file": "DocumentProcessorClient/EnableProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableProcessor", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.EnableProcessor", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "EnableProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.EnableProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.EnableProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableProcessorOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "EnableProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "EnableProcessor" }, + "description": "EnableProcessor enables a processor", + "file": "DocumentProcessorClient/EnableProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_EnableProcessor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai EnableProcessor Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_EvaluateProcessorVersion_sync", - "title": "documentai EvaluateProcessorVersion Sample", - "description": "EvaluateProcessorVersion evaluates a ProcessorVersion against annotated documents, producing an\nEvaluation.", - "file": "DocumentProcessorClient/EvaluateProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "EvaluateProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.EvaluateProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EvaluateProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "EvaluateProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.EvaluateProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.EvaluateProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluateProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "EvaluateProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EvaluateProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "EvaluateProcessorVersion" }, + "description": "EvaluateProcessorVersion evaluates a ProcessorVersion against annotated documents, producing an\nEvaluation.", + "file": "DocumentProcessorClient/EvaluateProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_EvaluateProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai EvaluateProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_FetchProcessorTypes_sync", - "title": "documentai FetchProcessorTypes Sample", - "description": "FetchProcessorTypes fetches processor types. Note that we don't use\n[ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes]\nhere, because it isn't paginated.", - "file": "DocumentProcessorClient/FetchProcessorTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchProcessorTypes", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.FetchProcessorTypes", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "FetchProcessorTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.FetchProcessorTypesRequest", - "name": "req" + "name": "req", + "type": "documentaipb.FetchProcessorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.FetchProcessorTypesResponse", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "FetchProcessorTypes", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "FetchProcessorTypes" }, + "description": "FetchProcessorTypes fetches processor types. Note that we don't use\n[ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes]\nhere, because it isn't paginated.", + "file": "DocumentProcessorClient/FetchProcessorTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_FetchProcessorTypes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai FetchProcessorTypes Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetEvaluation_sync", - "title": "documentai GetEvaluation Sample", - "description": "GetEvaluation retrieves a specific evaluation.", - "file": "DocumentProcessorClient/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.GetEvaluation", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetEvaluation", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.Evaluation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetEvaluation", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation retrieves a specific evaluation.", + "file": "DocumentProcessorClient/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetEvaluation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetLocation_sync", - "title": "documentai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DocumentProcessorClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DocumentProcessorClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetLocation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetOperation_sync", - "title": "documentai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentProcessorClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentProcessorClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetOperation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetProcessor_sync", - "title": "documentai GetProcessor Sample", - "description": "GetProcessor gets a processor detail.", - "file": "DocumentProcessorClient/GetProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessor", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.GetProcessor", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessor", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetProcessorRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.Processor", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "GetProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessor", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "GetProcessor" }, + "description": "GetProcessor gets a processor detail.", + "file": "DocumentProcessorClient/GetProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetProcessor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetProcessor Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetProcessorType_sync", - "title": "documentai GetProcessorType Sample", - "description": "GetProcessorType gets a processor type detail.", - "file": "DocumentProcessorClient/GetProcessorType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessorType", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.GetProcessorType", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorType", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetProcessorType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetProcessorTypeRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetProcessorTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.ProcessorType", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "GetProcessorType", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorType", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "GetProcessorType" }, + "description": "GetProcessorType gets a processor type detail.", + "file": "DocumentProcessorClient/GetProcessorType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetProcessorType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetProcessorType Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetProcessorVersion_sync", - "title": "documentai GetProcessorVersion Sample", - "description": "GetProcessorVersion gets a processor version detail.", - "file": "DocumentProcessorClient/GetProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.GetProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "GetProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.ProcessorVersion", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "GetProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "GetProcessorVersion" }, + "description": "GetProcessorVersion gets a processor version detail.", + "file": "DocumentProcessorClient/GetProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_GetProcessorVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ImportProcessorVersion_sync", - "title": "documentai ImportProcessorVersion Sample", - "description": "ImportProcessorVersion imports a processor version from source processor version.", - "file": "DocumentProcessorClient/ImportProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ImportProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ImportProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ImportProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ImportProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ImportProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ImportProcessorVersion" }, + "description": "ImportProcessorVersion imports a processor version from source processor version.", + "file": "DocumentProcessorClient/ImportProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ImportProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ImportProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListEvaluations_sync", - "title": "documentai ListEvaluations Sample", - "description": "ListEvaluations retrieves a set of evaluations for a given processor version.", - "file": "DocumentProcessorClient/ListEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluations", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ListEvaluations", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListEvaluations", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListEvaluationsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListEvaluations", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ListEvaluations" }, + "description": "ListEvaluations retrieves a set of evaluations for a given processor version.", + "file": "DocumentProcessorClient/ListEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListEvaluations Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListLocations_sync", - "title": "documentai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DocumentProcessorClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DocumentProcessorClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListLocations Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListOperations_sync", - "title": "documentai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentProcessorClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentProcessorClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListOperations Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListProcessorTypes_sync", - "title": "documentai ListProcessorTypes Sample", - "description": "ListProcessorTypes lists the processor types that exist.", - "file": "DocumentProcessorClient/ListProcessorTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessorTypes", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ListProcessorTypes", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListProcessorTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListProcessorTypesRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListProcessorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorTypeIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ListProcessorTypes", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ListProcessorTypes" }, + "description": "ListProcessorTypes lists the processor types that exist.", + "file": "DocumentProcessorClient/ListProcessorTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListProcessorTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListProcessorTypes Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListProcessorVersions_sync", - "title": "documentai ListProcessorVersions Sample", - "description": "ListProcessorVersions lists all versions of a processor.", - "file": "DocumentProcessorClient/ListProcessorVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessorVersions", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ListProcessorVersions", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorVersions", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListProcessorVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListProcessorVersionsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListProcessorVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorVersionIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ListProcessorVersions", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorVersions", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ListProcessorVersions" }, + "description": "ListProcessorVersions lists all versions of a processor.", + "file": "DocumentProcessorClient/ListProcessorVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListProcessorVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListProcessorVersions Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListProcessors_sync", - "title": "documentai ListProcessors Sample", - "description": "ListProcessors lists all processors which belong to this project.", - "file": "DocumentProcessorClient/ListProcessors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessors", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ListProcessors", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessors", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ListProcessors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListProcessorsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListProcessorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorIterator", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ListProcessors", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessors", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ListProcessors" }, + "description": "ListProcessors lists all processors which belong to this project.", + "file": "DocumentProcessorClient/ListProcessors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ListProcessors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListProcessors Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ProcessDocument_sync", - "title": "documentai ProcessDocument Sample", - "description": "ProcessDocument processes a single document.", - "file": "DocumentProcessorClient/ProcessDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProcessDocument", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ProcessDocument", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ProcessDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ProcessRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.ProcessResponse", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ProcessDocument", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ProcessDocument" }, + "description": "ProcessDocument processes a single document.", + "file": "DocumentProcessorClient/ProcessDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ProcessDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ProcessDocument Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ReviewDocument_sync", - "title": "documentai ReviewDocument Sample", - "description": "ReviewDocument send a document for Human Review. The input document should be processed by\nthe specified processor.\n\n\nDeprecated: ReviewDocument may be removed in a future version.", - "file": "DocumentProcessorClient/ReviewDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReviewDocument", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.ReviewDocument", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "ReviewDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ReviewDocumentRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ReviewDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReviewDocumentOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "ReviewDocument", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "ReviewDocument" }, + "description": "ReviewDocument send a document for Human Review. The input document should be processed by\nthe specified processor.\n\n\nDeprecated: ReviewDocument may be removed in a future version.", + "file": "DocumentProcessorClient/ReviewDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_ReviewDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ReviewDocument Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_SetDefaultProcessorVersion_sync", - "title": "documentai SetDefaultProcessorVersion Sample", - "description": "SetDefaultProcessorVersion set the default (active) version of a\n[Processor][google.cloud.documentai.v1beta3.Processor] that will be used in\n[ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument]\nand\n[BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments].", - "file": "DocumentProcessorClient/SetDefaultProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.SetDefaultProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "SetDefaultProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.SetDefaultProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.SetDefaultProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetDefaultProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "SetDefaultProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "SetDefaultProcessorVersion" }, + "description": "SetDefaultProcessorVersion set the default (active) version of a\n[Processor][google.cloud.documentai.v1beta3.Processor] that will be used in\n[ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument]\nand\n[BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments].", + "file": "DocumentProcessorClient/SetDefaultProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_SetDefaultProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai SetDefaultProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_TrainProcessorVersion_sync", - "title": "documentai TrainProcessorVersion Sample", - "description": "TrainProcessorVersion trains a new processor version.\nOperation metadata is returned as\n[TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata].", - "file": "DocumentProcessorClient/TrainProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "TrainProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.TrainProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "TrainProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.TrainProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.TrainProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TrainProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "TrainProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "TrainProcessorVersion" }, + "description": "TrainProcessorVersion trains a new processor version.\nOperation metadata is returned as\n[TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata].", + "file": "DocumentProcessorClient/TrainProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_TrainProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai TrainProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_UndeployProcessorVersion_sync", - "title": "documentai UndeployProcessorVersion Sample", - "description": "UndeployProcessorVersion undeploys the processor version.", - "file": "DocumentProcessorClient/UndeployProcessorVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployProcessorVersion", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient", + "shortName": "DocumentProcessorClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient.UndeployProcessorVersion", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "DocumentProcessorService" + }, + "shortName": "UndeployProcessorVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.UndeployProcessorVersionRequest", - "name": "req" + "name": "req", + "type": "documentaipb.UndeployProcessorVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployProcessorVersionOperation", - "client": { - "shortName": "DocumentProcessorClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorClient" - }, - "method": { - "shortName": "UndeployProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion", - "service": { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService" - } - } + "shortName": "UndeployProcessorVersion" }, + "description": "UndeployProcessorVersion undeploys the processor version.", + "file": "DocumentProcessorClient/UndeployProcessorVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentProcessorService_UndeployProcessorVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai UndeployProcessorVersion Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_BatchDeleteDocuments_sync", - "title": "documentai BatchDeleteDocuments Sample", - "description": "BatchDeleteDocuments deletes a set of documents.", - "file": "DocumentClient/BatchDeleteDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteDocuments", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.BatchDeleteDocuments", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.BatchDeleteDocuments", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "BatchDeleteDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.BatchDeleteDocumentsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.BatchDeleteDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "BatchDeleteDocuments", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.BatchDeleteDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "BatchDeleteDocuments" }, + "description": "BatchDeleteDocuments deletes a set of documents.", + "file": "DocumentClient/BatchDeleteDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_BatchDeleteDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai BatchDeleteDocuments Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_CancelOperation_sync", - "title": "documentai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai CancelOperation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_GetDatasetSchema_sync", - "title": "documentai GetDatasetSchema Sample", - "description": "GetDatasetSchema gets the `DatasetSchema` of a `Dataset`.", - "file": "DocumentClient/GetDatasetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatasetSchema", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.GetDatasetSchema", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.GetDatasetSchema", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "GetDatasetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetDatasetSchemaRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetDatasetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.DatasetSchema", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "GetDatasetSchema", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.GetDatasetSchema", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "GetDatasetSchema" }, + "description": "GetDatasetSchema gets the `DatasetSchema` of a `Dataset`.", + "file": "DocumentClient/GetDatasetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_GetDatasetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetDatasetSchema Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_GetDocument_sync", - "title": "documentai GetDocument Sample", - "description": "GetDocument returns relevant fields present in the requested document.", - "file": "DocumentClient/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.GetDocument", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.GetDocument", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "documentaipb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.GetDocumentResponse", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument returns relevant fields present in the requested document.", + "file": "DocumentClient/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetDocument Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_GetLocation_sync", - "title": "documentai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DocumentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DocumentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetLocation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_GetOperation_sync", - "title": "documentai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai GetOperation Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_ImportDocuments_sync", - "title": "documentai ImportDocuments Sample", - "description": "ImportDocuments import documents into a dataset.", - "file": "DocumentClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.ImportDocuments", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.ImportDocuments", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments import documents into a dataset.", + "file": "DocumentClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ImportDocuments Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_ListDocuments_sync", - "title": "documentai ListDocuments Sample", - "description": "ListDocuments returns a list of documents present in the dataset.", - "file": "DocumentClient/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.ListDocuments", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.ListDocuments", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "documentaipb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentMetadataIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments returns a list of documents present in the dataset.", + "file": "DocumentClient/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListDocuments Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_ListLocations_sync", - "title": "documentai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DocumentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DocumentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListLocations Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_ListOperations_sync", - "title": "documentai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DocumentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DocumentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai ListOperations Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_UpdateDataset_sync", - "title": "documentai UpdateDataset Sample", - "description": "UpdateDataset updates metadata associated with a dataset.\nNote that this method requires the\n`documentai.googleapis.com/datasets.update` permission on the project,\nwhich is highly privileged. A user or service account with this permission\ncan create new processors that can interact with any gcs bucket in your\nproject.", - "file": "DocumentClient/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.UpdateDataset", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.UpdateDataset", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.UpdateDatasetRequest", - "name": "req" + "name": "req", + "type": "documentaipb.UpdateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDatasetOperation", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.UpdateDataset", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates metadata associated with a dataset.\nNote that this method requires the\n`documentai.googleapis.com/datasets.update` permission on the project,\nwhich is highly privileged. A user or service account with this permission\ncan create new processors that can interact with any gcs bucket in your\nproject.", + "file": "DocumentClient/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai UpdateDataset Sample" }, { - "regionTag": "documentai_v1beta3_generated_DocumentService_UpdateDatasetSchema_sync", - "title": "documentai UpdateDatasetSchema Sample", - "description": "UpdateDatasetSchema updates a `DatasetSchema`.", - "file": "DocumentClient/UpdateDatasetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatasetSchema", + "client": { + "fullName": "google.cloud.documentai.v1beta3.DocumentClient", + "shortName": "DocumentClient" + }, "fullName": "google.cloud.documentai.v1beta3.DocumentClient.UpdateDatasetSchema", + "method": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService.UpdateDatasetSchema", + "service": { + "fullName": "google.cloud.documentai.v1beta3.DocumentService", + "shortName": "DocumentService" + }, + "shortName": "UpdateDatasetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "documentaipb.UpdateDatasetSchemaRequest", - "name": "req" + "name": "req", + "type": "documentaipb.UpdateDatasetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*documentaipb.DatasetSchema", - "client": { - "shortName": "DocumentClient", - "fullName": "google.cloud.documentai.v1beta3.DocumentClient" - }, - "method": { - "shortName": "UpdateDatasetSchema", - "fullName": "google.cloud.documentai.v1beta3.DocumentService.UpdateDatasetSchema", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.documentai.v1beta3.DocumentService" - } - } + "shortName": "UpdateDatasetSchema" }, + "description": "UpdateDatasetSchema updates a `DatasetSchema`.", + "file": "DocumentClient/UpdateDatasetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "documentai_v1beta3_generated_DocumentService_UpdateDatasetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "documentai UpdateDatasetSchema Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json index a9db4254ad2e..76618dc9a240 100644 --- a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json +++ b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json @@ -1,705 +1,705 @@ { "clientLibrary": { - "name": "cloud.google.com/go/domains/apiv1beta1", - "version": "0.10.7", - "language": "GO", "apis": [ { "id": "google.cloud.domains.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/domains/apiv1beta1", + "version": "0.10.7" }, "snippets": [ { - "regionTag": "domains_v1beta1_generated_Domains_ConfigureContactSettings_sync", - "title": "domains ConfigureContactSettings Sample", - "description": "ConfigureContactSettings updates a `Registration`'s contact settings. Some changes require\nconfirmation by the domain's registrant contact .", - "file": "Client/ConfigureContactSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConfigureContactSettings", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.ConfigureContactSettings", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureContactSettings", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "ConfigureContactSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.ConfigureContactSettingsRequest", - "name": "req" + "name": "req", + "type": "domainspb.ConfigureContactSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConfigureContactSettingsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "ConfigureContactSettings", - "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureContactSettings", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "ConfigureContactSettings" }, + "description": "ConfigureContactSettings updates a `Registration`'s contact settings. Some changes require\nconfirmation by the domain's registrant contact .", + "file": "Client/ConfigureContactSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_ConfigureContactSettings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains ConfigureContactSettings Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_ConfigureDnsSettings_sync", - "title": "domains ConfigureDnsSettings Sample", - "description": "ConfigureDnsSettings updates a `Registration`'s DNS settings.", - "file": "Client/ConfigureDnsSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConfigureDnsSettings", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.ConfigureDnsSettings", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureDnsSettings", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "ConfigureDnsSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.ConfigureDnsSettingsRequest", - "name": "req" + "name": "req", + "type": "domainspb.ConfigureDnsSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConfigureDnsSettingsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "ConfigureDnsSettings", - "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureDnsSettings", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "ConfigureDnsSettings" }, + "description": "ConfigureDnsSettings updates a `Registration`'s DNS settings.", + "file": "Client/ConfigureDnsSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_ConfigureDnsSettings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains ConfigureDnsSettings Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_ConfigureManagementSettings_sync", - "title": "domains ConfigureManagementSettings Sample", - "description": "ConfigureManagementSettings updates a `Registration`'s management settings.", - "file": "Client/ConfigureManagementSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ConfigureManagementSettings", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.ConfigureManagementSettings", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureManagementSettings", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "ConfigureManagementSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.ConfigureManagementSettingsRequest", - "name": "req" + "name": "req", + "type": "domainspb.ConfigureManagementSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConfigureManagementSettingsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "ConfigureManagementSettings", - "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureManagementSettings", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "ConfigureManagementSettings" }, + "description": "ConfigureManagementSettings updates a `Registration`'s management settings.", + "file": "Client/ConfigureManagementSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_ConfigureManagementSettings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains ConfigureManagementSettings Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_DeleteRegistration_sync", - "title": "domains DeleteRegistration Sample", - "description": "DeleteRegistration deletes a `Registration` resource.\n\nThis method works on any `Registration` resource using [Subscription or\nCommitment billing](/domains/pricing#billing-models), provided that the\nresource was created at least 1 day in the past.\n\nFor `Registration` resources using\n[Monthly billing](/domains/pricing#billing-models), this method works if: \n\n* `state` is `EXPORTED` with `expire_time` in the past\n* `state` is `REGISTRATION_FAILED`\n* `state` is `TRANSFER_FAILED`\n\nWhen an active registration is successfully deleted, you can continue to\nuse the domain in [Google Domains](https: //domains.google/) until it\nexpires. The calling user becomes the domain's sole owner in Google\nDomains, and permissions for the domain are subsequently managed there. The\ndomain does not renew automatically unless the new owner sets up billing in\nGoogle Domains.", - "file": "Client/DeleteRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRegistration", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.DeleteRegistration", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.DeleteRegistration", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "DeleteRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.DeleteRegistrationRequest", - "name": "req" + "name": "req", + "type": "domainspb.DeleteRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRegistrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "DeleteRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.DeleteRegistration", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "DeleteRegistration" }, + "description": "DeleteRegistration deletes a `Registration` resource.\n\nThis method works on any `Registration` resource using [Subscription or\nCommitment billing](/domains/pricing#billing-models), provided that the\nresource was created at least 1 day in the past.\n\nFor `Registration` resources using\n[Monthly billing](/domains/pricing#billing-models), this method works if: \n\n* `state` is `EXPORTED` with `expire_time` in the past\n* `state` is `REGISTRATION_FAILED`\n* `state` is `TRANSFER_FAILED`\n\nWhen an active registration is successfully deleted, you can continue to\nuse the domain in [Google Domains](https: //domains.google/) until it\nexpires. The calling user becomes the domain's sole owner in Google\nDomains, and permissions for the domain are subsequently managed there. The\ndomain does not renew automatically unless the new owner sets up billing in\nGoogle Domains.", + "file": "Client/DeleteRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_DeleteRegistration_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains DeleteRegistration Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_ExportRegistration_sync", - "title": "domains ExportRegistration Sample", - "description": "ExportRegistration exports a `Registration` resource, such that it is no longer managed by\nCloud Domains.\n\nWhen an active domain is successfully exported, you can continue to use the\ndomain in [Google Domains](https: //domains.google/) until it expires. The\ncalling user becomes the domain's sole owner in Google Domains, and\npermissions for the domain are subsequently managed there. The domain does\nnot renew automatically unless the new owner sets up billing in Google\nDomains.", - "file": "Client/ExportRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportRegistration", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.ExportRegistration", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.ExportRegistration", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "ExportRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.ExportRegistrationRequest", - "name": "req" + "name": "req", + "type": "domainspb.ExportRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportRegistrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "ExportRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.ExportRegistration", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "ExportRegistration" }, + "description": "ExportRegistration exports a `Registration` resource, such that it is no longer managed by\nCloud Domains.\n\nWhen an active domain is successfully exported, you can continue to use the\ndomain in [Google Domains](https: //domains.google/) until it expires. The\ncalling user becomes the domain's sole owner in Google Domains, and\npermissions for the domain are subsequently managed there. The domain does\nnot renew automatically unless the new owner sets up billing in Google\nDomains.", + "file": "Client/ExportRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_ExportRegistration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains ExportRegistration Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_GetRegistration_sync", - "title": "domains GetRegistration Sample", - "description": "GetRegistration gets the details of a `Registration` resource.", - "file": "Client/GetRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRegistration", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.GetRegistration", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.GetRegistration", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "GetRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.GetRegistrationRequest", - "name": "req" + "name": "req", + "type": "domainspb.GetRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*domainspb.Registration", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "GetRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.GetRegistration", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "GetRegistration" }, + "description": "GetRegistration gets the details of a `Registration` resource.", + "file": "Client/GetRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_GetRegistration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains GetRegistration Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_ListRegistrations_sync", - "title": "domains ListRegistrations Sample", - "description": "ListRegistrations lists the `Registration` resources in a project.", - "file": "Client/ListRegistrations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRegistrations", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.ListRegistrations", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.ListRegistrations", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "ListRegistrations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.ListRegistrationsRequest", - "name": "req" + "name": "req", + "type": "domainspb.ListRegistrationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegistrationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "ListRegistrations", - "fullName": "google.cloud.domains.v1beta1.Domains.ListRegistrations", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "ListRegistrations" }, + "description": "ListRegistrations lists the `Registration` resources in a project.", + "file": "Client/ListRegistrations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_ListRegistrations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains ListRegistrations Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_RegisterDomain_sync", - "title": "domains RegisterDomain Sample", - "description": "RegisterDomain registers a new domain name and creates a corresponding `Registration`\nresource.\n\nCall `RetrieveRegisterParameters` first to check availability of the domain\nname and determine parameters like price that are needed to build a call to\nthis method.\n\nA successful call creates a `Registration` resource in state\n`REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2\nminutes, indicating that the domain was successfully registered. If the\nresource ends up in state `REGISTRATION_FAILED`, it indicates that the\ndomain was not registered successfully, and you can safely delete the\nresource and retry registration.", - "file": "Client/RegisterDomain/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterDomain", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.RegisterDomain", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.RegisterDomain", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "RegisterDomain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.RegisterDomainRequest", - "name": "req" + "name": "req", + "type": "domainspb.RegisterDomainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegisterDomainOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "RegisterDomain", - "fullName": "google.cloud.domains.v1beta1.Domains.RegisterDomain", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "RegisterDomain" }, + "description": "RegisterDomain registers a new domain name and creates a corresponding `Registration`\nresource.\n\nCall `RetrieveRegisterParameters` first to check availability of the domain\nname and determine parameters like price that are needed to build a call to\nthis method.\n\nA successful call creates a `Registration` resource in state\n`REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2\nminutes, indicating that the domain was successfully registered. If the\nresource ends up in state `REGISTRATION_FAILED`, it indicates that the\ndomain was not registered successfully, and you can safely delete the\nresource and retry registration.", + "file": "Client/RegisterDomain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_RegisterDomain_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains RegisterDomain Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_ResetAuthorizationCode_sync", - "title": "domains ResetAuthorizationCode Sample", - "description": "ResetAuthorizationCode resets the authorization code of the `Registration` to a new random string.\n\nYou can call this method only after 60 days have elapsed since the initial\ndomain registration.", - "file": "Client/ResetAuthorizationCode/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetAuthorizationCode", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.ResetAuthorizationCode", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.ResetAuthorizationCode", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "ResetAuthorizationCode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.ResetAuthorizationCodeRequest", - "name": "req" + "name": "req", + "type": "domainspb.ResetAuthorizationCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*domainspb.AuthorizationCode", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "ResetAuthorizationCode", - "fullName": "google.cloud.domains.v1beta1.Domains.ResetAuthorizationCode", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "ResetAuthorizationCode" }, + "description": "ResetAuthorizationCode resets the authorization code of the `Registration` to a new random string.\n\nYou can call this method only after 60 days have elapsed since the initial\ndomain registration.", + "file": "Client/ResetAuthorizationCode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_ResetAuthorizationCode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains ResetAuthorizationCode Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_RetrieveAuthorizationCode_sync", - "title": "domains RetrieveAuthorizationCode Sample", - "description": "RetrieveAuthorizationCode gets the authorization code of the `Registration` for the purpose of\ntransferring the domain to another registrar.\n\nYou can call this method only after 60 days have elapsed since the initial\ndomain registration.", - "file": "Client/RetrieveAuthorizationCode/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveAuthorizationCode", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.RetrieveAuthorizationCode", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveAuthorizationCode", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "RetrieveAuthorizationCode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.RetrieveAuthorizationCodeRequest", - "name": "req" + "name": "req", + "type": "domainspb.RetrieveAuthorizationCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*domainspb.AuthorizationCode", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "RetrieveAuthorizationCode", - "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveAuthorizationCode", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "RetrieveAuthorizationCode" }, + "description": "RetrieveAuthorizationCode gets the authorization code of the `Registration` for the purpose of\ntransferring the domain to another registrar.\n\nYou can call this method only after 60 days have elapsed since the initial\ndomain registration.", + "file": "Client/RetrieveAuthorizationCode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_RetrieveAuthorizationCode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains RetrieveAuthorizationCode Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_RetrieveRegisterParameters_sync", - "title": "domains RetrieveRegisterParameters Sample", - "description": "RetrieveRegisterParameters gets parameters needed to register a new domain name, including price and\nup-to-date availability. Use the returned values to call `RegisterDomain`.", - "file": "Client/RetrieveRegisterParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveRegisterParameters", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.RetrieveRegisterParameters", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveRegisterParameters", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "RetrieveRegisterParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.RetrieveRegisterParametersRequest", - "name": "req" + "name": "req", + "type": "domainspb.RetrieveRegisterParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*domainspb.RetrieveRegisterParametersResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "RetrieveRegisterParameters", - "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveRegisterParameters", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "RetrieveRegisterParameters" }, + "description": "RetrieveRegisterParameters gets parameters needed to register a new domain name, including price and\nup-to-date availability. Use the returned values to call `RegisterDomain`.", + "file": "Client/RetrieveRegisterParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_RetrieveRegisterParameters_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains RetrieveRegisterParameters Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_RetrieveTransferParameters_sync", - "title": "domains RetrieveTransferParameters Sample", - "description": "RetrieveTransferParameters gets parameters needed to transfer a domain name from another registrar to\nCloud Domains. For domains managed by Google Domains, transferring to Cloud\nDomains is not supported.\n\n\nUse the returned values to call `TransferDomain`.", - "file": "Client/RetrieveTransferParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveTransferParameters", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.RetrieveTransferParameters", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveTransferParameters", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "RetrieveTransferParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.RetrieveTransferParametersRequest", - "name": "req" + "name": "req", + "type": "domainspb.RetrieveTransferParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*domainspb.RetrieveTransferParametersResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "RetrieveTransferParameters", - "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveTransferParameters", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "RetrieveTransferParameters" }, + "description": "RetrieveTransferParameters gets parameters needed to transfer a domain name from another registrar to\nCloud Domains. For domains managed by Google Domains, transferring to Cloud\nDomains is not supported.\n\n\nUse the returned values to call `TransferDomain`.", + "file": "Client/RetrieveTransferParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_RetrieveTransferParameters_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains RetrieveTransferParameters Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_SearchDomains_sync", - "title": "domains SearchDomains Sample", - "description": "SearchDomains searches for available domain names similar to the provided query.\n\nAvailability results from this method are approximate; call\n`RetrieveRegisterParameters` on a domain before registering to confirm\navailability.", - "file": "Client/SearchDomains/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchDomains", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.SearchDomains", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.SearchDomains", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "SearchDomains" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.SearchDomainsRequest", - "name": "req" + "name": "req", + "type": "domainspb.SearchDomainsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*domainspb.SearchDomainsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "SearchDomains", - "fullName": "google.cloud.domains.v1beta1.Domains.SearchDomains", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "SearchDomains" }, + "description": "SearchDomains searches for available domain names similar to the provided query.\n\nAvailability results from this method are approximate; call\n`RetrieveRegisterParameters` on a domain before registering to confirm\navailability.", + "file": "Client/SearchDomains/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_SearchDomains_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains SearchDomains Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_TransferDomain_sync", - "title": "domains TransferDomain Sample", - "description": "TransferDomain transfers a domain name from another registrar to Cloud Domains. For\ndomains managed by Google Domains, transferring to Cloud Domains is not\nsupported.\n\n\nBefore calling this method, go to the domain's current registrar to unlock\nthe domain for transfer and retrieve the domain's transfer authorization\ncode. Then call `RetrieveTransferParameters` to confirm that the domain is\nunlocked and to get values needed to build a call to this method.\n\nA successful call creates a `Registration` resource in state\n`TRANSFER_PENDING`. It can take several days to complete the transfer\nprocess. The registrant can often speed up this process by approving the\ntransfer through the current registrar, either by clicking a link in an\nemail from the registrar or by visiting the registrar's website.\n\nA few minutes after transfer approval, the resource transitions to state\n`ACTIVE`, indicating that the transfer was successful. If the transfer is\nrejected or the request expires without being approved, the resource can\nend up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete\nthe resource and retry the transfer.", - "file": "Client/TransferDomain/main.go", - "language": "GO", "clientMethod": { - "shortName": "TransferDomain", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.TransferDomain", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.TransferDomain", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "TransferDomain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.TransferDomainRequest", - "name": "req" + "name": "req", + "type": "domainspb.TransferDomainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferDomainOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "TransferDomain", - "fullName": "google.cloud.domains.v1beta1.Domains.TransferDomain", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "TransferDomain" }, + "description": "TransferDomain transfers a domain name from another registrar to Cloud Domains. For\ndomains managed by Google Domains, transferring to Cloud Domains is not\nsupported.\n\n\nBefore calling this method, go to the domain's current registrar to unlock\nthe domain for transfer and retrieve the domain's transfer authorization\ncode. Then call `RetrieveTransferParameters` to confirm that the domain is\nunlocked and to get values needed to build a call to this method.\n\nA successful call creates a `Registration` resource in state\n`TRANSFER_PENDING`. It can take several days to complete the transfer\nprocess. The registrant can often speed up this process by approving the\ntransfer through the current registrar, either by clicking a link in an\nemail from the registrar or by visiting the registrar's website.\n\nA few minutes after transfer approval, the resource transitions to state\n`ACTIVE`, indicating that the transfer was successful. If the transfer is\nrejected or the request expires without being approved, the resource can\nend up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete\nthe resource and retry the transfer.", + "file": "Client/TransferDomain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_TransferDomain_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains TransferDomain Sample" }, { - "regionTag": "domains_v1beta1_generated_Domains_UpdateRegistration_sync", - "title": "domains UpdateRegistration Sample", - "description": "UpdateRegistration updates select fields of a `Registration` resource, notably `labels`. To\nupdate other fields, use the appropriate custom update method: \n\n* To update management settings, see `ConfigureManagementSettings`\n* To update DNS configuration, see `ConfigureDnsSettings`\n* To update contact information, see `ConfigureContactSettings`", - "file": "Client/UpdateRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRegistration", + "client": { + "fullName": "google.cloud.domains.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.domains.v1beta1.Client.UpdateRegistration", + "method": { + "fullName": "google.cloud.domains.v1beta1.Domains.UpdateRegistration", + "service": { + "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "Domains" + }, + "shortName": "UpdateRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "domainspb.UpdateRegistrationRequest", - "name": "req" + "name": "req", + "type": "domainspb.UpdateRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRegistrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.domains.v1beta1.Client" - }, - "method": { - "shortName": "UpdateRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.UpdateRegistration", - "service": { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains" - } - } + "shortName": "UpdateRegistration" }, + "description": "UpdateRegistration updates select fields of a `Registration` resource, notably `labels`. To\nupdate other fields, use the appropriate custom update method: \n\n* To update management settings, see `ConfigureManagementSettings`\n* To update DNS configuration, see `ConfigureDnsSettings`\n* To update contact information, see `ConfigureContactSettings`", + "file": "Client/UpdateRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "domains_v1beta1_generated_Domains_UpdateRegistration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "domains UpdateRegistration Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json b/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json index 52cf6fdd21be..cef0c17463af 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json +++ b/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json @@ -1,1209 +1,1209 @@ { "clientLibrary": { - "name": "cloud.google.com/go/edgecontainer/apiv1", - "version": "1.4.4", - "language": "GO", "apis": [ { "id": "google.cloud.edgecontainer.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/edgecontainer/apiv1", + "version": "1.4.4" }, "snippets": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CancelOperation_sync", - "title": "edgecontainer CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer CancelOperation Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateCluster_sync", - "title": "edgecontainer CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "Client/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.CreateCluster", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "Client/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer CreateCluster Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateNodePool_sync", - "title": "edgecontainer CreateNodePool Sample", - "description": "CreateNodePool creates a new NodePool in a given project and location.", - "file": "Client/CreateNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNodePool", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.CreateNodePool", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "CreateNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.CreateNodePoolRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.CreateNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNodePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "CreateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "CreateNodePool" }, + "description": "CreateNodePool creates a new NodePool in a given project and location.", + "file": "Client/CreateNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateNodePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer CreateNodePool Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateVpnConnection_sync", - "title": "edgecontainer CreateVpnConnection Sample", - "description": "CreateVpnConnection creates a new VPN connection in a given project and location.", - "file": "Client/CreateVpnConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVpnConnection", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.CreateVpnConnection", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "CreateVpnConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.CreateVpnConnectionRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.CreateVpnConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVpnConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "CreateVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "CreateVpnConnection" }, + "description": "CreateVpnConnection creates a new VPN connection in a given project and location.", + "file": "Client/CreateVpnConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateVpnConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer CreateVpnConnection Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteCluster_sync", - "title": "edgecontainer DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "Client/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.DeleteCluster", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "Client/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer DeleteCluster Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteNodePool_sync", - "title": "edgecontainer DeleteNodePool Sample", - "description": "DeleteNodePool deletes a single NodePool.", - "file": "Client/DeleteNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNodePool", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.DeleteNodePool", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "DeleteNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.DeleteNodePoolRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.DeleteNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNodePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "DeleteNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "DeleteNodePool" }, + "description": "DeleteNodePool deletes a single NodePool.", + "file": "Client/DeleteNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteNodePool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer DeleteNodePool Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteOperation_sync", - "title": "edgecontainer DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer DeleteOperation Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteVpnConnection_sync", - "title": "edgecontainer DeleteVpnConnection Sample", - "description": "DeleteVpnConnection deletes a single VPN connection.", - "file": "Client/DeleteVpnConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVpnConnection", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.DeleteVpnConnection", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "DeleteVpnConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.DeleteVpnConnectionRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.DeleteVpnConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVpnConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "DeleteVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "DeleteVpnConnection" }, + "description": "DeleteVpnConnection deletes a single VPN connection.", + "file": "Client/DeleteVpnConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteVpnConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer DeleteVpnConnection Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateAccessToken_sync", - "title": "edgecontainer GenerateAccessToken Sample", - "description": "GenerateAccessToken generates an access token for a Cluster.", - "file": "Client/GenerateAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAccessToken", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GenerateAccessToken", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GenerateAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GenerateAccessTokenRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GenerateAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.GenerateAccessTokenResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GenerateAccessToken", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GenerateAccessToken" }, + "description": "GenerateAccessToken generates an access token for a Cluster.", + "file": "Client/GenerateAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GenerateAccessToken Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_sync", - "title": "edgecontainer GenerateOfflineCredential Sample", - "description": "GenerateOfflineCredential generates an offline credential for a Cluster.", - "file": "Client/GenerateOfflineCredential/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateOfflineCredential", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GenerateOfflineCredential", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateOfflineCredential", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GenerateOfflineCredential" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GenerateOfflineCredentialRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GenerateOfflineCredentialRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.GenerateOfflineCredentialResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GenerateOfflineCredential", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateOfflineCredential", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GenerateOfflineCredential" }, + "description": "GenerateOfflineCredential generates an offline credential for a Cluster.", + "file": "Client/GenerateOfflineCredential/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GenerateOfflineCredential Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetCluster_sync", - "title": "edgecontainer GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "Client/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetCluster", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.Cluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "Client/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetCluster Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetLocation_sync", - "title": "edgecontainer GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetLocation Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetMachine_sync", - "title": "edgecontainer GetMachine Sample", - "description": "GetMachine gets details of a single Machine.", - "file": "Client/GetMachine/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMachine", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetMachine", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GetMachine" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GetMachineRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GetMachineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.Machine", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetMachine", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GetMachine" }, + "description": "GetMachine gets details of a single Machine.", + "file": "Client/GetMachine/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetMachine_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetMachine Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetNodePool_sync", - "title": "edgecontainer GetNodePool Sample", - "description": "GetNodePool gets details of a single NodePool.", - "file": "Client/GetNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNodePool", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetNodePool", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GetNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GetNodePoolRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GetNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.NodePool", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GetNodePool" }, + "description": "GetNodePool gets details of a single NodePool.", + "file": "Client/GetNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetNodePool Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetOperation_sync", - "title": "edgecontainer GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetOperation Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetServerConfig_sync", - "title": "edgecontainer GetServerConfig Sample", - "description": "GetServerConfig gets the server config.", - "file": "Client/GetServerConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServerConfig", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetServerConfig", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetServerConfig", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GetServerConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GetServerConfigRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GetServerConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.ServerConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetServerConfig", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetServerConfig", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GetServerConfig" }, + "description": "GetServerConfig gets the server config.", + "file": "Client/GetServerConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetServerConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetServerConfig Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetVpnConnection_sync", - "title": "edgecontainer GetVpnConnection Sample", - "description": "GetVpnConnection gets details of a single VPN connection.", - "file": "Client/GetVpnConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVpnConnection", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.GetVpnConnection", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "GetVpnConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.GetVpnConnectionRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.GetVpnConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgecontainerpb.VpnConnection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "GetVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "GetVpnConnection" }, + "description": "GetVpnConnection gets details of a single VPN connection.", + "file": "Client/GetVpnConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetVpnConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer GetVpnConnection Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListClusters_sync", - "title": "edgecontainer ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "Client/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.ListClusters", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "Client/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer ListClusters Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListLocations_sync", - "title": "edgecontainer ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer ListLocations Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListMachines_sync", - "title": "edgecontainer ListMachines Sample", - "description": "ListMachines lists Machines in a given project and location.", - "file": "Client/ListMachines/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMachines", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.ListMachines", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "ListMachines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.ListMachinesRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.ListMachinesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MachineIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "ListMachines", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "ListMachines" }, + "description": "ListMachines lists Machines in a given project and location.", + "file": "Client/ListMachines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListMachines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer ListMachines Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListNodePools_sync", - "title": "edgecontainer ListNodePools Sample", - "description": "ListNodePools lists NodePools in a given project and location.", - "file": "Client/ListNodePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodePools", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.ListNodePools", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "ListNodePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.ListNodePoolsRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.ListNodePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodePoolIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "ListNodePools", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "ListNodePools" }, + "description": "ListNodePools lists NodePools in a given project and location.", + "file": "Client/ListNodePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListNodePools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer ListNodePools Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListOperations_sync", - "title": "edgecontainer ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer ListOperations Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListVpnConnections_sync", - "title": "edgecontainer ListVpnConnections Sample", - "description": "ListVpnConnections lists VPN connections in a given project and location.", - "file": "Client/ListVpnConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVpnConnections", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.ListVpnConnections", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "ListVpnConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.ListVpnConnectionsRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.ListVpnConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpnConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "ListVpnConnections", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "ListVpnConnections" }, + "description": "ListVpnConnections lists VPN connections in a given project and location.", + "file": "Client/ListVpnConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListVpnConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer ListVpnConnections Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateCluster_sync", - "title": "edgecontainer UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "Client/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.UpdateCluster", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "Client/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer UpdateCluster Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateNodePool_sync", - "title": "edgecontainer UpdateNodePool Sample", - "description": "UpdateNodePool updates the parameters of a single NodePool.", - "file": "Client/UpdateNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNodePool", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.UpdateNodePool", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "UpdateNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.UpdateNodePoolRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.UpdateNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateNodePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "UpdateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "UpdateNodePool" }, + "description": "UpdateNodePool updates the parameters of a single NodePool.", + "file": "Client/UpdateNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateNodePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer UpdateNodePool Sample" }, { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_sync", - "title": "edgecontainer UpgradeCluster Sample", - "description": "UpgradeCluster upgrades a single cluster.", - "file": "Client/UpgradeCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeCluster", + "client": { + "fullName": "google.cloud.edgecontainer.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgecontainer.v1.Client.UpgradeCluster", + "method": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpgradeCluster", + "service": { + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "EdgeContainer" + }, + "shortName": "UpgradeCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgecontainerpb.UpgradeClusterRequest", - "name": "req" + "name": "req", + "type": "edgecontainerpb.UpgradeClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgecontainer.v1.Client" - }, - "method": { - "shortName": "UpgradeCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpgradeCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } + "shortName": "UpgradeCluster" }, + "description": "UpgradeCluster upgrades a single cluster.", + "file": "Client/UpgradeCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgecontainer UpgradeCluster Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json b/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json index 00fe8528e7b7..e86def9cc74f 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json +++ b/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json @@ -1,1485 +1,1485 @@ { "clientLibrary": { - "name": "cloud.google.com/go/edgenetwork/apiv1", - "version": "1.3.0", - "language": "GO", "apis": [ { "id": "google.cloud.edgenetwork.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/edgenetwork/apiv1", + "version": "1.3.0" }, "snippets": [ { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CancelOperation_sync", - "title": "edgenetwork CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork CancelOperation Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateInterconnectAttachment_sync", - "title": "edgenetwork CreateInterconnectAttachment Sample", - "description": "CreateInterconnectAttachment creates a new InterconnectAttachment in a given project and location.", - "file": "Client/CreateInterconnectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInterconnectAttachment", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.CreateInterconnectAttachment", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateInterconnectAttachment", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "CreateInterconnectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.CreateInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.CreateInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInterconnectAttachmentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "CreateInterconnectAttachment", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateInterconnectAttachment", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "CreateInterconnectAttachment" }, + "description": "CreateInterconnectAttachment creates a new InterconnectAttachment in a given project and location.", + "file": "Client/CreateInterconnectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateInterconnectAttachment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork CreateInterconnectAttachment Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateNetwork_sync", - "title": "edgenetwork CreateNetwork Sample", - "description": "CreateNetwork creates a new Network in a given project and location.", - "file": "Client/CreateNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNetwork", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.CreateNetwork", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateNetwork", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "CreateNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.CreateNetworkRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.CreateNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "CreateNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateNetwork", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "CreateNetwork" }, + "description": "CreateNetwork creates a new Network in a given project and location.", + "file": "Client/CreateNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateNetwork_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork CreateNetwork Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateRouter_sync", - "title": "edgenetwork CreateRouter Sample", - "description": "CreateRouter creates a new Router in a given project and location.", - "file": "Client/CreateRouter/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRouter", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.CreateRouter", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateRouter", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "CreateRouter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.CreateRouterRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.CreateRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRouterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "CreateRouter", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateRouter", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "CreateRouter" }, + "description": "CreateRouter creates a new Router in a given project and location.", + "file": "Client/CreateRouter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateRouter_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork CreateRouter Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateSubnet_sync", - "title": "edgenetwork CreateSubnet Sample", - "description": "CreateSubnet creates a new Subnet in a given project and location.", - "file": "Client/CreateSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubnet", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.CreateSubnet", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateSubnet", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "CreateSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.CreateSubnetRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.CreateSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSubnetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "CreateSubnet", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateSubnet", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "CreateSubnet" }, + "description": "CreateSubnet creates a new Subnet in a given project and location.", + "file": "Client/CreateSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_CreateSubnet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork CreateSubnet Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteInterconnectAttachment_sync", - "title": "edgenetwork DeleteInterconnectAttachment Sample", - "description": "DeleteInterconnectAttachment deletes a single InterconnectAttachment.", - "file": "Client/DeleteInterconnectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInterconnectAttachment", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DeleteInterconnectAttachment", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteInterconnectAttachment", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DeleteInterconnectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DeleteInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DeleteInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInterconnectAttachmentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DeleteInterconnectAttachment", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteInterconnectAttachment", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DeleteInterconnectAttachment" }, + "description": "DeleteInterconnectAttachment deletes a single InterconnectAttachment.", + "file": "Client/DeleteInterconnectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteInterconnectAttachment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DeleteInterconnectAttachment Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteNetwork_sync", - "title": "edgenetwork DeleteNetwork Sample", - "description": "DeleteNetwork deletes a single Network.", - "file": "Client/DeleteNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNetwork", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DeleteNetwork", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteNetwork", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DeleteNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DeleteNetworkRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DeleteNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DeleteNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteNetwork", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DeleteNetwork" }, + "description": "DeleteNetwork deletes a single Network.", + "file": "Client/DeleteNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteNetwork_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DeleteNetwork Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteOperation_sync", - "title": "edgenetwork DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DeleteOperation Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteRouter_sync", - "title": "edgenetwork DeleteRouter Sample", - "description": "DeleteRouter deletes a single Router.", - "file": "Client/DeleteRouter/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRouter", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DeleteRouter", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteRouter", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DeleteRouter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DeleteRouterRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DeleteRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRouterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DeleteRouter", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteRouter", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DeleteRouter" }, + "description": "DeleteRouter deletes a single Router.", + "file": "Client/DeleteRouter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteRouter_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DeleteRouter Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteSubnet_sync", - "title": "edgenetwork DeleteSubnet Sample", - "description": "DeleteSubnet deletes a single Subnet.", - "file": "Client/DeleteSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubnet", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DeleteSubnet", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteSubnet", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DeleteSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DeleteSubnetRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DeleteSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSubnetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DeleteSubnet", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteSubnet", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DeleteSubnet" }, + "description": "DeleteSubnet deletes a single Subnet.", + "file": "Client/DeleteSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DeleteSubnet_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DeleteSubnet Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DiagnoseInterconnect_sync", - "title": "edgenetwork DiagnoseInterconnect Sample", - "description": "DiagnoseInterconnect get the diagnostics of a single interconnect resource.", - "file": "Client/DiagnoseInterconnect/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseInterconnect", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DiagnoseInterconnect", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseInterconnect", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DiagnoseInterconnect" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DiagnoseInterconnectRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DiagnoseInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.DiagnoseInterconnectResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DiagnoseInterconnect", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseInterconnect", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DiagnoseInterconnect" }, + "description": "DiagnoseInterconnect get the diagnostics of a single interconnect resource.", + "file": "Client/DiagnoseInterconnect/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DiagnoseInterconnect_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DiagnoseInterconnect Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DiagnoseNetwork_sync", - "title": "edgenetwork DiagnoseNetwork Sample", - "description": "DiagnoseNetwork get the diagnostics of a single network resource.", - "file": "Client/DiagnoseNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseNetwork", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DiagnoseNetwork", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseNetwork", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DiagnoseNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DiagnoseNetworkRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DiagnoseNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.DiagnoseNetworkResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DiagnoseNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseNetwork", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DiagnoseNetwork" }, + "description": "DiagnoseNetwork get the diagnostics of a single network resource.", + "file": "Client/DiagnoseNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DiagnoseNetwork_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DiagnoseNetwork Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DiagnoseRouter_sync", - "title": "edgenetwork DiagnoseRouter Sample", - "description": "DiagnoseRouter get the diagnostics of a single router resource.", - "file": "Client/DiagnoseRouter/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseRouter", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.DiagnoseRouter", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseRouter", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "DiagnoseRouter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.DiagnoseRouterRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.DiagnoseRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.DiagnoseRouterResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "DiagnoseRouter", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseRouter", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "DiagnoseRouter" }, + "description": "DiagnoseRouter get the diagnostics of a single router resource.", + "file": "Client/DiagnoseRouter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_DiagnoseRouter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork DiagnoseRouter Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetInterconnect_sync", - "title": "edgenetwork GetInterconnect Sample", - "description": "GetInterconnect gets details of a single Interconnect.", - "file": "Client/GetInterconnect/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInterconnect", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetInterconnect", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetInterconnect", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "GetInterconnect" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.GetInterconnectRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.GetInterconnectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.Interconnect", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetInterconnect", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetInterconnect", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "GetInterconnect" }, + "description": "GetInterconnect gets details of a single Interconnect.", + "file": "Client/GetInterconnect/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetInterconnect_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetInterconnect Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetInterconnectAttachment_sync", - "title": "edgenetwork GetInterconnectAttachment Sample", - "description": "GetInterconnectAttachment gets details of a single InterconnectAttachment.", - "file": "Client/GetInterconnectAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInterconnectAttachment", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetInterconnectAttachment", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetInterconnectAttachment", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "GetInterconnectAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.GetInterconnectAttachmentRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.GetInterconnectAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.InterconnectAttachment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetInterconnectAttachment", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetInterconnectAttachment", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "GetInterconnectAttachment" }, + "description": "GetInterconnectAttachment gets details of a single InterconnectAttachment.", + "file": "Client/GetInterconnectAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetInterconnectAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetInterconnectAttachment Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetLocation_sync", - "title": "edgenetwork GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetLocation Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetNetwork_sync", - "title": "edgenetwork GetNetwork Sample", - "description": "GetNetwork gets details of a single Network.", - "file": "Client/GetNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNetwork", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetNetwork", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetNetwork", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "GetNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.GetNetworkRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.GetNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.Network", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetNetwork", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "GetNetwork" }, + "description": "GetNetwork gets details of a single Network.", + "file": "Client/GetNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetNetwork_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetNetwork Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetOperation_sync", - "title": "edgenetwork GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetOperation Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetRouter_sync", - "title": "edgenetwork GetRouter Sample", - "description": "GetRouter gets details of a single Router.", - "file": "Client/GetRouter/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRouter", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetRouter", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetRouter", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "GetRouter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.GetRouterRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.GetRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.Router", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetRouter", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetRouter", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "GetRouter" }, + "description": "GetRouter gets details of a single Router.", + "file": "Client/GetRouter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetRouter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetRouter Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetSubnet_sync", - "title": "edgenetwork GetSubnet Sample", - "description": "GetSubnet gets details of a single Subnet.", - "file": "Client/GetSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubnet", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetSubnet", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetSubnet", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "GetSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.GetSubnetRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.GetSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.Subnet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetSubnet", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetSubnet", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "GetSubnet" }, + "description": "GetSubnet gets details of a single Subnet.", + "file": "Client/GetSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetSubnet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetSubnet Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetZone_sync", - "title": "edgenetwork GetZone Sample", - "description": "GetZone deprecated: not implemented.\nGets details of a single Zone.\n\n\nDeprecated: GetZone may be removed in a future version.", - "file": "Client/GetZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetZone", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.GetZone", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetZone", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "GetZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.GetZoneRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.GetZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.Zone", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "GetZone", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetZone", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "GetZone" }, + "description": "GetZone deprecated: not implemented.\nGets details of a single Zone.\n\n\nDeprecated: GetZone may be removed in a future version.", + "file": "Client/GetZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_GetZone_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork GetZone Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_InitializeZone_sync", - "title": "edgenetwork InitializeZone Sample", - "description": "InitializeZone initializeZone will initialize resources for a zone in a project.", - "file": "Client/InitializeZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "InitializeZone", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.InitializeZone", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.InitializeZone", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "InitializeZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.InitializeZoneRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.InitializeZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*edgenetworkpb.InitializeZoneResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "InitializeZone", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.InitializeZone", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "InitializeZone" }, + "description": "InitializeZone initializeZone will initialize resources for a zone in a project.", + "file": "Client/InitializeZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_InitializeZone_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork InitializeZone Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListInterconnectAttachments_sync", - "title": "edgenetwork ListInterconnectAttachments Sample", - "description": "ListInterconnectAttachments lists InterconnectAttachments in a given project and location.", - "file": "Client/ListInterconnectAttachments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInterconnectAttachments", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListInterconnectAttachments", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListInterconnectAttachments", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "ListInterconnectAttachments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.ListInterconnectAttachmentsRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.ListInterconnectAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectAttachmentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListInterconnectAttachments", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListInterconnectAttachments", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "ListInterconnectAttachments" }, + "description": "ListInterconnectAttachments lists InterconnectAttachments in a given project and location.", + "file": "Client/ListInterconnectAttachments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListInterconnectAttachments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListInterconnectAttachments Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListInterconnects_sync", - "title": "edgenetwork ListInterconnects Sample", - "description": "ListInterconnects lists Interconnects in a given project and location.", - "file": "Client/ListInterconnects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInterconnects", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListInterconnects", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListInterconnects", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "ListInterconnects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.ListInterconnectsRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.ListInterconnectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InterconnectIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListInterconnects", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListInterconnects", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "ListInterconnects" }, + "description": "ListInterconnects lists Interconnects in a given project and location.", + "file": "Client/ListInterconnects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListInterconnects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListInterconnects Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListLocations_sync", - "title": "edgenetwork ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListLocations Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListNetworks_sync", - "title": "edgenetwork ListNetworks Sample", - "description": "ListNetworks lists Networks in a given project and location.", - "file": "Client/ListNetworks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworks", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListNetworks", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListNetworks", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "ListNetworks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.ListNetworksRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.ListNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListNetworks", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListNetworks", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "ListNetworks" }, + "description": "ListNetworks lists Networks in a given project and location.", + "file": "Client/ListNetworks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListNetworks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListNetworks Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListOperations_sync", - "title": "edgenetwork ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListOperations Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListRouters_sync", - "title": "edgenetwork ListRouters Sample", - "description": "ListRouters lists Routers in a given project and location.", - "file": "Client/ListRouters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRouters", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListRouters", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListRouters", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "ListRouters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.ListRoutersRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.ListRoutersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListRouters", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListRouters", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "ListRouters" }, + "description": "ListRouters lists Routers in a given project and location.", + "file": "Client/ListRouters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListRouters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListRouters Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListSubnets_sync", - "title": "edgenetwork ListSubnets Sample", - "description": "ListSubnets lists Subnets in a given project and location.", - "file": "Client/ListSubnets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubnets", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListSubnets", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListSubnets", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "ListSubnets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.ListSubnetsRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.ListSubnetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubnetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListSubnets", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListSubnets", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "ListSubnets" }, + "description": "ListSubnets lists Subnets in a given project and location.", + "file": "Client/ListSubnets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListSubnets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListSubnets Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListZones_sync", - "title": "edgenetwork ListZones Sample", - "description": "ListZones deprecated: not implemented.\nLists Zones in a given project and location.\n\n\nDeprecated: ListZones may be removed in a future version.", - "file": "Client/ListZones/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListZones", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.ListZones", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListZones", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "ListZones" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.ListZonesRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.ListZonesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ZoneIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "ListZones", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListZones", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "ListZones" }, + "description": "ListZones deprecated: not implemented.\nLists Zones in a given project and location.\n\n\nDeprecated: ListZones may be removed in a future version.", + "file": "Client/ListZones/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_ListZones_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork ListZones Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_UpdateRouter_sync", - "title": "edgenetwork UpdateRouter Sample", - "description": "UpdateRouter updates the parameters of a single Router.", - "file": "Client/UpdateRouter/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRouter", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.UpdateRouter", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.UpdateRouter", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "UpdateRouter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.UpdateRouterRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.UpdateRouterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRouterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "UpdateRouter", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.UpdateRouter", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "UpdateRouter" }, + "description": "UpdateRouter updates the parameters of a single Router.", + "file": "Client/UpdateRouter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_UpdateRouter_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork UpdateRouter Sample" }, { - "regionTag": "edgenetwork_v1_generated_EdgeNetwork_UpdateSubnet_sync", - "title": "edgenetwork UpdateSubnet Sample", - "description": "UpdateSubnet updates the parameters of a single Subnet.", - "file": "Client/UpdateSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubnet", + "client": { + "fullName": "google.cloud.edgenetwork.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.edgenetwork.v1.Client.UpdateSubnet", + "method": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.UpdateSubnet", + "service": { + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", + "shortName": "EdgeNetwork" + }, + "shortName": "UpdateSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "edgenetworkpb.UpdateSubnetRequest", - "name": "req" + "name": "req", + "type": "edgenetworkpb.UpdateSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSubnetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.edgenetwork.v1.Client" - }, - "method": { - "shortName": "UpdateSubnet", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.UpdateSubnet", - "service": { - "shortName": "EdgeNetwork", - "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork" - } - } + "shortName": "UpdateSubnet" }, + "description": "UpdateSubnet updates the parameters of a single Subnet.", + "file": "Client/UpdateSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "edgenetwork_v1_generated_EdgeNetwork_UpdateSubnet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "edgenetwork UpdateSubnet Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/errorreporting/apiv1beta1/snippet_metadata.google.devtools.clouderrorreporting.v1beta1.json b/internal/generated/snippets/errorreporting/apiv1beta1/snippet_metadata.google.devtools.clouderrorreporting.v1beta1.json index bd15871e32b5..cb5c3f52a955 100644 --- a/internal/generated/snippets/errorreporting/apiv1beta1/snippet_metadata.google.devtools.clouderrorreporting.v1beta1.json +++ b/internal/generated/snippets/errorreporting/apiv1beta1/snippet_metadata.google.devtools.clouderrorreporting.v1beta1.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/errorreporting/apiv1beta1", - "version": "0.4.0", - "language": "GO", "apis": [ { "id": "google.devtools.clouderrorreporting.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/errorreporting/apiv1beta1", + "version": "0.4.0" }, "snippets": [ { - "regionTag": "clouderrorreporting_v1beta1_generated_ErrorGroupService_GetGroup_sync", - "title": "clouderrorreporting GetGroup Sample", - "description": "GetGroup get the specified group.", - "file": "ErrorGroupClient/GetGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGroup", + "client": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupClient", + "shortName": "ErrorGroupClient" + }, "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupClient.GetGroup", + "method": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.GetGroup", + "service": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService", + "shortName": "ErrorGroupService" + }, + "shortName": "GetGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "errorreportingpb.GetGroupRequest", - "name": "req" + "name": "req", + "type": "errorreportingpb.GetGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*errorreportingpb.ErrorGroup", - "client": { - "shortName": "ErrorGroupClient", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupClient" - }, - "method": { - "shortName": "GetGroup", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.GetGroup", - "service": { - "shortName": "ErrorGroupService", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService" - } - } + "shortName": "GetGroup" }, + "description": "GetGroup get the specified group.", + "file": "ErrorGroupClient/GetGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouderrorreporting_v1beta1_generated_ErrorGroupService_GetGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouderrorreporting GetGroup Sample" }, { - "regionTag": "clouderrorreporting_v1beta1_generated_ErrorGroupService_UpdateGroup_sync", - "title": "clouderrorreporting UpdateGroup Sample", - "description": "UpdateGroup replace the data for the specified group.\nFails if the group does not exist.", - "file": "ErrorGroupClient/UpdateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGroup", + "client": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupClient", + "shortName": "ErrorGroupClient" + }, "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupClient.UpdateGroup", + "method": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.UpdateGroup", + "service": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService", + "shortName": "ErrorGroupService" + }, + "shortName": "UpdateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "errorreportingpb.UpdateGroupRequest", - "name": "req" + "name": "req", + "type": "errorreportingpb.UpdateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*errorreportingpb.ErrorGroup", - "client": { - "shortName": "ErrorGroupClient", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupClient" - }, - "method": { - "shortName": "UpdateGroup", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.UpdateGroup", - "service": { - "shortName": "ErrorGroupService", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService" - } - } + "shortName": "UpdateGroup" }, + "description": "UpdateGroup replace the data for the specified group.\nFails if the group does not exist.", + "file": "ErrorGroupClient/UpdateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouderrorreporting_v1beta1_generated_ErrorGroupService_UpdateGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouderrorreporting UpdateGroup Sample" }, { - "regionTag": "clouderrorreporting_v1beta1_generated_ErrorStatsService_DeleteEvents_sync", - "title": "clouderrorreporting DeleteEvents Sample", - "description": "DeleteEvents deletes all error events of a given project.", - "file": "ErrorStatsClient/DeleteEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvents", + "client": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient", + "shortName": "ErrorStatsClient" + }, "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient.DeleteEvents", + "method": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.DeleteEvents", + "service": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService", + "shortName": "ErrorStatsService" + }, + "shortName": "DeleteEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "errorreportingpb.DeleteEventsRequest", - "name": "req" + "name": "req", + "type": "errorreportingpb.DeleteEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*errorreportingpb.DeleteEventsResponse", - "client": { - "shortName": "ErrorStatsClient", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient" - }, - "method": { - "shortName": "DeleteEvents", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.DeleteEvents", - "service": { - "shortName": "ErrorStatsService", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService" - } - } + "shortName": "DeleteEvents" }, + "description": "DeleteEvents deletes all error events of a given project.", + "file": "ErrorStatsClient/DeleteEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouderrorreporting_v1beta1_generated_ErrorStatsService_DeleteEvents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouderrorreporting DeleteEvents Sample" }, { - "regionTag": "clouderrorreporting_v1beta1_generated_ErrorStatsService_ListEvents_sync", - "title": "clouderrorreporting ListEvents Sample", - "description": "ListEvents lists the specified events.", - "file": "ErrorStatsClient/ListEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvents", + "client": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient", + "shortName": "ErrorStatsClient" + }, "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient.ListEvents", + "method": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListEvents", + "service": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService", + "shortName": "ErrorStatsService" + }, + "shortName": "ListEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "errorreportingpb.ListEventsRequest", - "name": "req" + "name": "req", + "type": "errorreportingpb.ListEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ErrorEventIterator", - "client": { - "shortName": "ErrorStatsClient", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient" - }, - "method": { - "shortName": "ListEvents", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListEvents", - "service": { - "shortName": "ErrorStatsService", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService" - } - } + "shortName": "ListEvents" }, + "description": "ListEvents lists the specified events.", + "file": "ErrorStatsClient/ListEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouderrorreporting_v1beta1_generated_ErrorStatsService_ListEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouderrorreporting ListEvents Sample" }, { - "regionTag": "clouderrorreporting_v1beta1_generated_ErrorStatsService_ListGroupStats_sync", - "title": "clouderrorreporting ListGroupStats Sample", - "description": "ListGroupStats lists the specified groups.", - "file": "ErrorStatsClient/ListGroupStats/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroupStats", + "client": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient", + "shortName": "ErrorStatsClient" + }, "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient.ListGroupStats", + "method": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListGroupStats", + "service": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService", + "shortName": "ErrorStatsService" + }, + "shortName": "ListGroupStats" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "errorreportingpb.ListGroupStatsRequest", - "name": "req" + "name": "req", + "type": "errorreportingpb.ListGroupStatsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ErrorGroupStatsIterator", - "client": { - "shortName": "ErrorStatsClient", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsClient" - }, - "method": { - "shortName": "ListGroupStats", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListGroupStats", - "service": { - "shortName": "ErrorStatsService", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService" - } - } + "shortName": "ListGroupStats" }, + "description": "ListGroupStats lists the specified groups.", + "file": "ErrorStatsClient/ListGroupStats/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouderrorreporting_v1beta1_generated_ErrorStatsService_ListGroupStats_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouderrorreporting ListGroupStats Sample" }, { - "regionTag": "clouderrorreporting_v1beta1_generated_ReportErrorsService_ReportErrorEvent_sync", - "title": "clouderrorreporting ReportErrorEvent Sample", - "description": "ReportErrorEvent report an individual error event and record the event to a log.\n\nThis endpoint accepts **either** an OAuth token,\n**or** an [API key](https: //support.google.com/cloud/answer/6158862)\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example: \n\n`POST\nhttps: //clouderrorreporting.googleapis.com/v1beta1/{projectName}/events: report?key=123ABC456`\n\n**Note: ** [Error Reporting] (https: //cloud.google.com/error-reporting)\nis a service built on Cloud Logging and can analyze log entries when all of\nthe following are true: \n\n* Customer-managed encryption keys (CMEK) are disabled on the log bucket.\n* The log bucket satisfies one of the following: \n* The log bucket is stored in the same project where the logs\noriginated.\n* The logs were routed to a project, and then that project stored those\nlogs in a log bucket that it owns.", - "file": "ReportErrorsClient/ReportErrorEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportErrorEvent", + "client": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsClient", + "shortName": "ReportErrorsClient" + }, "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsClient.ReportErrorEvent", + "method": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService.ReportErrorEvent", + "service": { + "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService", + "shortName": "ReportErrorsService" + }, + "shortName": "ReportErrorEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "errorreportingpb.ReportErrorEventRequest", - "name": "req" + "name": "req", + "type": "errorreportingpb.ReportErrorEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*errorreportingpb.ReportErrorEventResponse", - "client": { - "shortName": "ReportErrorsClient", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsClient" - }, - "method": { - "shortName": "ReportErrorEvent", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService.ReportErrorEvent", - "service": { - "shortName": "ReportErrorsService", - "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService" - } - } + "shortName": "ReportErrorEvent" }, + "description": "ReportErrorEvent report an individual error event and record the event to a log.\n\nThis endpoint accepts **either** an OAuth token,\n**or** an [API key](https: //support.google.com/cloud/answer/6158862)\nfor authentication. To use an API key, append it to the URL as the value of\na `key` parameter. For example: \n\n`POST\nhttps: //clouderrorreporting.googleapis.com/v1beta1/{projectName}/events: report?key=123ABC456`\n\n**Note: ** [Error Reporting] (https: //cloud.google.com/error-reporting)\nis a service built on Cloud Logging and can analyze log entries when all of\nthe following are true: \n\n* Customer-managed encryption keys (CMEK) are disabled on the log bucket.\n* The log bucket satisfies one of the following: \n* The log bucket is stored in the same project where the logs\noriginated.\n* The logs were routed to a project, and then that project stored those\nlogs in a log bucket that it owns.", + "file": "ReportErrorsClient/ReportErrorEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "clouderrorreporting_v1beta1_generated_ReportErrorsService_ReportErrorEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "clouderrorreporting ReportErrorEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json b/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json index ee9b9613da3c..2e3b8597d02c 100644 --- a/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json +++ b/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json @@ -1,335 +1,335 @@ { "clientLibrary": { - "name": "cloud.google.com/go/essentialcontacts/apiv1", - "version": "1.7.7", - "language": "GO", "apis": [ { "id": "google.cloud.essentialcontacts.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/essentialcontacts/apiv1", + "version": "1.7.7" }, "snippets": [ { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_ComputeContacts_sync", - "title": "essentialcontacts ComputeContacts Sample", - "description": "ComputeContacts lists all contacts for the resource that are subscribed to the\nspecified notification categories, including contacts inherited from\nany parent resources.", - "file": "Client/ComputeContacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeContacts", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.ComputeContacts", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "ComputeContacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.ComputeContactsRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.ComputeContactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContactIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "ComputeContacts", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "ComputeContacts" }, + "description": "ComputeContacts lists all contacts for the resource that are subscribed to the\nspecified notification categories, including contacts inherited from\nany parent resources.", + "file": "Client/ComputeContacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_ComputeContacts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts ComputeContacts Sample" }, { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_CreateContact_sync", - "title": "essentialcontacts CreateContact Sample", - "description": "CreateContact adds a new contact for a resource.", - "file": "Client/CreateContact/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateContact", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.CreateContact", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "CreateContact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.CreateContactRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.CreateContactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*essentialcontactspb.Contact", - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "CreateContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "CreateContact" }, + "description": "CreateContact adds a new contact for a resource.", + "file": "Client/CreateContact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_CreateContact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts CreateContact Sample" }, { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_DeleteContact_sync", - "title": "essentialcontacts DeleteContact Sample", - "description": "DeleteContact deletes a contact.", - "file": "Client/DeleteContact/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteContact", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.DeleteContact", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "DeleteContact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.DeleteContactRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.DeleteContactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "DeleteContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "DeleteContact" }, + "description": "DeleteContact deletes a contact.", + "file": "Client/DeleteContact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_DeleteContact_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts DeleteContact Sample" }, { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_GetContact_sync", - "title": "essentialcontacts GetContact Sample", - "description": "GetContact gets a single contact.", - "file": "Client/GetContact/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetContact", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.GetContact", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "GetContact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.GetContactRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.GetContactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*essentialcontactspb.Contact", - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "GetContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "GetContact" }, + "description": "GetContact gets a single contact.", + "file": "Client/GetContact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_GetContact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts GetContact Sample" }, { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_ListContacts_sync", - "title": "essentialcontacts ListContacts Sample", - "description": "ListContacts lists the contacts that have been set on a resource.", - "file": "Client/ListContacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContacts", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.ListContacts", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "ListContacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.ListContactsRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.ListContactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ContactIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "ListContacts", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "ListContacts" }, + "description": "ListContacts lists the contacts that have been set on a resource.", + "file": "Client/ListContacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_ListContacts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts ListContacts Sample" }, { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_SendTestMessage_sync", - "title": "essentialcontacts SendTestMessage Sample", - "description": "SendTestMessage allows a contact admin to send a test message to contact to verify that it\nhas been configured correctly.", - "file": "Client/SendTestMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "SendTestMessage", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.SendTestMessage", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "SendTestMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.SendTestMessageRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.SendTestMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "SendTestMessage", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "SendTestMessage" }, + "description": "SendTestMessage allows a contact admin to send a test message to contact to verify that it\nhas been configured correctly.", + "file": "Client/SendTestMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_SendTestMessage_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts SendTestMessage Sample" }, { - "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_UpdateContact_sync", - "title": "essentialcontacts UpdateContact Sample", - "description": "UpdateContact updates a contact.\nNote: A contact's email address cannot be changed.", - "file": "Client/UpdateContact/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateContact", + "client": { + "fullName": "google.cloud.essentialcontacts.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.essentialcontacts.v1.Client.UpdateContact", + "method": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact", + "service": { + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "EssentialContactsService" + }, + "shortName": "UpdateContact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "essentialcontactspb.UpdateContactRequest", - "name": "req" + "name": "req", + "type": "essentialcontactspb.UpdateContactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*essentialcontactspb.Contact", - "client": { - "shortName": "Client", - "fullName": "google.cloud.essentialcontacts.v1.Client" - }, - "method": { - "shortName": "UpdateContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact", - "service": { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService" - } - } + "shortName": "UpdateContact" }, + "description": "UpdateContact updates a contact.\nNote: A contact's email address cannot be changed.", + "file": "Client/UpdateContact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_UpdateContact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "essentialcontacts UpdateContact Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json index 7c62ad914a98..78d42c719da5 100644 --- a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json +++ b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json @@ -1,2221 +1,2221 @@ { "clientLibrary": { - "name": "cloud.google.com/go/eventarc/apiv1", - "version": "1.18.0", - "language": "GO", "apis": [ { "id": "google.cloud.eventarc.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/eventarc/apiv1", + "version": "1.18.0" }, "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.eventarc.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CancelOperation Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreateChannel", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannel", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreateChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreateChannelRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreateChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreateChannel" }, + "description": "CreateChannel create a new channel in a particular project and location.", + "file": "Client/CreateChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreateChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreateChannel Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreateChannelConnection", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannelConnection", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreateChannelConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreateChannelConnectionRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreateChannelConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreateChannelConnection" }, + "description": "CreateChannelConnection create a new ChannelConnection in a particular project and location.", + "file": "Client/CreateChannelConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreateChannelConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreateChannelConnection Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreateEnrollment", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateEnrollment", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreateEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreateEnrollmentRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreateEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreateEnrollment" }, + "description": "CreateEnrollment create a new Enrollment in a particular project and location.", + "file": "Client/CreateEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreateEnrollment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreateEnrollment Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreateGoogleApiSource", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateGoogleApiSource", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreateGoogleApiSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreateGoogleApiSourceRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreateGoogleApiSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreateGoogleApiSource" }, + "description": "CreateGoogleApiSource create a new GoogleApiSource in a particular project and location.", + "file": "Client/CreateGoogleApiSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreateGoogleApiSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreateGoogleApiSource Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreateMessageBus", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateMessageBus", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreateMessageBus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreateMessageBusRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreateMessageBusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreateMessageBus" }, + "description": "CreateMessageBus create a new MessageBus in a particular project and location.", + "file": "Client/CreateMessageBus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreateMessageBus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreateMessageBus Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreatePipeline", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreatePipeline", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreatePipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreatePipelineRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreatePipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreatePipeline" }, + "description": "CreatePipeline create a new Pipeline in a particular project and location.", + "file": "Client/CreatePipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreatePipeline_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreatePipeline Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.CreateTrigger", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateTrigger", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "CreateTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.CreateTriggerRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.CreateTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "CreateTrigger" }, + "description": "CreateTrigger create a new trigger in a particular project and location.", + "file": "Client/CreateTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_CreateTrigger_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc CreateTrigger Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteChannel", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannel", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeleteChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeleteChannelRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeleteChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeleteChannel" }, + "description": "DeleteChannel delete a single channel.", + "file": "Client/DeleteChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteChannel Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteChannelConnection", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeleteChannelConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeleteChannelConnectionRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeleteChannelConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeleteChannelConnection" }, + "description": "DeleteChannelConnection delete a single ChannelConnection.", + "file": "Client/DeleteChannelConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteChannelConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteChannelConnection Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteEnrollment", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteEnrollment", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeleteEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeleteEnrollmentRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeleteEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeleteEnrollment" }, + "description": "DeleteEnrollment delete a single Enrollment.", + "file": "Client/DeleteEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteEnrollment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteEnrollment Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteGoogleApiSource", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteGoogleApiSource", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeleteGoogleApiSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeleteGoogleApiSourceRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeleteGoogleApiSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeleteGoogleApiSource" }, + "description": "DeleteGoogleApiSource delete a single GoogleApiSource.", + "file": "Client/DeleteGoogleApiSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteGoogleApiSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteGoogleApiSource Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteMessageBus", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteMessageBus", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeleteMessageBus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeleteMessageBusRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeleteMessageBusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeleteMessageBus" }, + "description": "DeleteMessageBus delete a single message bus.", + "file": "Client/DeleteMessageBus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteMessageBus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteMessageBus Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.eventarc.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteOperation Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeletePipeline", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeletePipeline", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeletePipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeletePipelineRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeletePipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeletePipeline" }, + "description": "DeletePipeline delete a single pipeline.", + "file": "Client/DeletePipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeletePipeline_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeletePipeline Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.DeleteTrigger", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteTrigger", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "DeleteTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.DeleteTriggerRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.DeleteTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "DeleteTrigger" }, + "description": "DeleteTrigger delete a single trigger.", + "file": "Client/DeleteTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_DeleteTrigger_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc DeleteTrigger Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetChannel", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannel", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetChannelRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetChannel" }, + "description": "GetChannel get a single Channel.", + "file": "Client/GetChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetChannel Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetChannelConnection", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannelConnection", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetChannelConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetChannelConnectionRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetChannelConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetChannelConnection" }, + "description": "GetChannelConnection get a single ChannelConnection.", + "file": "Client/GetChannelConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetChannelConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetChannelConnection Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetEnrollment", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetEnrollment", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetEnrollmentRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetEnrollment" }, + "description": "GetEnrollment get a single Enrollment.", + "file": "Client/GetEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetEnrollment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetEnrollment Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetGoogleApiSource", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetGoogleApiSource", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetGoogleApiSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetGoogleApiSourceRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetGoogleApiSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetGoogleApiSource" }, + "description": "GetGoogleApiSource get a single GoogleApiSource.", + "file": "Client/GetGoogleApiSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetGoogleApiSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetGoogleApiSource Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetGoogleChannelConfig", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetGoogleChannelConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetGoogleChannelConfigRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetGoogleChannelConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetGoogleChannelConfig" }, + "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", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetGoogleChannelConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetGoogleChannelConfig Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetIamPolicy Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetLocation Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetMessageBus", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetMessageBus", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetMessageBus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetMessageBusRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetMessageBusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetMessageBus" }, + "description": "GetMessageBus get a single MessageBus.", + "file": "Client/GetMessageBus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetMessageBus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetMessageBus Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetOperation Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetPipeline", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetPipeline", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetPipelineRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetPipeline" }, + "description": "GetPipeline get a single Pipeline.", + "file": "Client/GetPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetPipeline_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetPipeline Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetProvider", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetProvider", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetProvider" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetProviderRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetProviderRequest" }, { - "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" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*eventarcpb.Provider", + "shortName": "GetProvider" }, + "description": "GetProvider get a single Provider.", + "file": "Client/GetProvider/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetProvider_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetProvider Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.GetTrigger", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.GetTrigger", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "GetTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.GetTriggerRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.GetTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "GetTrigger" }, + "description": "GetTrigger get a single trigger.", + "file": "Client/GetTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_GetTrigger_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc GetTrigger Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListChannelConnections", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannelConnections", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListChannelConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListChannelConnectionsRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListChannelConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListChannelConnections" }, + "description": "ListChannelConnections list channel connections.", + "file": "Client/ListChannelConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListChannelConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListChannelConnections Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListChannels", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannels", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListChannels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListChannelsRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListChannelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListChannels" }, + "description": "ListChannels list channels.", + "file": "Client/ListChannels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListChannels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListChannels Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListEnrollments", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListEnrollments", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListEnrollments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListEnrollmentsRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListEnrollmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListEnrollments" }, + "description": "ListEnrollments list Enrollments.", + "file": "Client/ListEnrollments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListEnrollments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListEnrollments Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListGoogleApiSources", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListGoogleApiSources", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListGoogleApiSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListGoogleApiSourcesRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListGoogleApiSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListGoogleApiSources" }, + "description": "ListGoogleApiSources list GoogleApiSources.", + "file": "Client/ListGoogleApiSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListGoogleApiSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListGoogleApiSources Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListLocations Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListMessageBusEnrollments", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListMessageBusEnrollments", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListMessageBusEnrollments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListMessageBusEnrollmentsRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListMessageBusEnrollmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListMessageBusEnrollments" }, + "description": "ListMessageBusEnrollments list message bus enrollments.", + "file": "Client/ListMessageBusEnrollments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListMessageBusEnrollments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListMessageBusEnrollments Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListMessageBuses", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListMessageBuses", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListMessageBuses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListMessageBusesRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListMessageBusesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListMessageBuses" }, + "description": "ListMessageBuses list message buses.", + "file": "Client/ListMessageBuses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListMessageBuses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListMessageBuses Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListOperations Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListPipelines", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListPipelines", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListPipelines" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListPipelinesRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListPipelinesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListPipelines" }, + "description": "ListPipelines list pipelines.", + "file": "Client/ListPipelines/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListPipelines_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListPipelines Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListProviders", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListProviders", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListProviders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListProvidersRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListProvidersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListProviders" }, + "description": "ListProviders list providers.", + "file": "Client/ListProviders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListProviders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListProviders Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.ListTriggers", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.ListTriggers", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "ListTriggers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.ListTriggersRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.ListTriggersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "ListTriggers" }, + "description": "ListTriggers list triggers.", + "file": "Client/ListTriggers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_ListTriggers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc ListTriggers Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc SetIamPolicy Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc TestIamPermissions Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdateChannel", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateChannel", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdateChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdateChannelRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdateChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdateChannel" }, + "description": "UpdateChannel update a single channel.", + "file": "Client/UpdateChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdateChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdateChannel Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdateEnrollment", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateEnrollment", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdateEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdateEnrollmentRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdateEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdateEnrollment" }, + "description": "UpdateEnrollment update a single Enrollment.", + "file": "Client/UpdateEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdateEnrollment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdateEnrollment Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdateGoogleApiSource", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateGoogleApiSource", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdateGoogleApiSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdateGoogleApiSourceRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdateGoogleApiSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdateGoogleApiSource" }, + "description": "UpdateGoogleApiSource update a single GoogleApiSource.", + "file": "Client/UpdateGoogleApiSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdateGoogleApiSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdateGoogleApiSource Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdateGoogleChannelConfig", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdateGoogleChannelConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdateGoogleChannelConfigRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdateGoogleChannelConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdateGoogleChannelConfig" }, + "description": "UpdateGoogleChannelConfig update a single GoogleChannelConfig", + "file": "Client/UpdateGoogleChannelConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdateGoogleChannelConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdateGoogleChannelConfig Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdateMessageBus", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateMessageBus", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdateMessageBus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdateMessageBusRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdateMessageBusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdateMessageBus" }, + "description": "UpdateMessageBus update a single message bus.", + "file": "Client/UpdateMessageBus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdateMessageBus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdateMessageBus Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdatePipeline", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdatePipeline", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdatePipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdatePipelineRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdatePipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdatePipeline" }, + "description": "UpdatePipeline update a single pipeline.", + "file": "Client/UpdatePipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdatePipeline_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdatePipeline Sample" }, { - "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", + "client": { + "fullName": "google.cloud.eventarc.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.eventarc.v1.Client.UpdateTrigger", + "method": { + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateTrigger", + "service": { + "fullName": "google.cloud.eventarc.v1.Eventarc", + "shortName": "Eventarc" + }, + "shortName": "UpdateTrigger" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "eventarcpb.UpdateTriggerRequest", - "name": "req" + "name": "req", + "type": "eventarcpb.UpdateTriggerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "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" - } - } + "shortName": "UpdateTrigger" }, + "description": "UpdateTrigger update a single trigger.", + "file": "Client/UpdateTrigger/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarc_v1_generated_Eventarc_UpdateTrigger_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarc UpdateTrigger Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json index 6816f2e98b0c..215e9fc2b141 100644 --- a/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json +++ b/internal/generated/snippets/eventarc/publishing/apiv1/snippet_metadata.google.cloud.eventarc.publishing.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/eventarc/publishing/apiv1", - "version": "1.18.0", - "language": "GO", "apis": [ { "id": "google.cloud.eventarc.publishing.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/eventarc/publishing/apiv1", + "version": "1.18.0" }, "snippets": [ { - "regionTag": "eventarcpublishing_v1_generated_Publisher_Publish_sync", - "title": "eventarcpublishing Publish Sample", - "description": "Publish publish events to a message bus.", - "file": "PublisherClient/Publish/main.go", - "language": "GO", "clientMethod": { - "shortName": "Publish", + "client": { + "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient.Publish", + "method": { + "fullName": "google.cloud.eventarc.publishing.v1.Publisher.Publish", + "service": { + "fullName": "google.cloud.eventarc.publishing.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "Publish" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishingpb.PublishRequest", - "name": "req" + "name": "req", + "type": "publishingpb.PublishRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishingpb.PublishResponse", - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient" - }, - "method": { - "shortName": "Publish", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher.Publish", - "service": { - "shortName": "Publisher", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher" - } - } + "shortName": "Publish" }, + "description": "Publish publish events to a message bus.", + "file": "PublisherClient/Publish/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarcpublishing_v1_generated_Publisher_Publish_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarcpublishing Publish Sample" }, { - "regionTag": "eventarcpublishing_v1_generated_Publisher_PublishChannelConnectionEvents_sync", - "title": "eventarcpublishing PublishChannelConnectionEvents Sample", - "description": "PublishChannelConnectionEvents publish events to a ChannelConnection in a partner's project.", - "file": "PublisherClient/PublishChannelConnectionEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PublishChannelConnectionEvents", + "client": { + "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient.PublishChannelConnectionEvents", + "method": { + "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents", + "service": { + "fullName": "google.cloud.eventarc.publishing.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "PublishChannelConnectionEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishingpb.PublishChannelConnectionEventsRequest", - "name": "req" + "name": "req", + "type": "publishingpb.PublishChannelConnectionEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishingpb.PublishChannelConnectionEventsResponse", - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient" - }, - "method": { - "shortName": "PublishChannelConnectionEvents", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents", - "service": { - "shortName": "Publisher", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher" - } - } + "shortName": "PublishChannelConnectionEvents" }, + "description": "PublishChannelConnectionEvents publish events to a ChannelConnection in a partner's project.", + "file": "PublisherClient/PublishChannelConnectionEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarcpublishing_v1_generated_Publisher_PublishChannelConnectionEvents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarcpublishing PublishChannelConnectionEvents Sample" }, { - "regionTag": "eventarcpublishing_v1_generated_Publisher_PublishEvents_sync", - "title": "eventarcpublishing PublishEvents Sample", - "description": "PublishEvents publish events to a subscriber's channel.", - "file": "PublisherClient/PublishEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PublishEvents", + "client": { + "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient.PublishEvents", + "method": { + "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishEvents", + "service": { + "fullName": "google.cloud.eventarc.publishing.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "PublishEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishingpb.PublishEventsRequest", - "name": "req" + "name": "req", + "type": "publishingpb.PublishEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishingpb.PublishEventsResponse", - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.eventarc.publishing.v1.PublisherClient" - }, - "method": { - "shortName": "PublishEvents", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishEvents", - "service": { - "shortName": "Publisher", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher" - } - } + "shortName": "PublishEvents" }, + "description": "PublishEvents publish events to a subscriber's channel.", + "file": "PublisherClient/PublishEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "eventarcpublishing_v1_generated_Publisher_PublishEvents_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "eventarcpublishing PublishEvents Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json b/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json index df617bcf9d52..660d3b271835 100644 --- a/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json +++ b/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json @@ -1,1117 +1,1117 @@ { "clientLibrary": { - "name": "cloud.google.com/go/filestore/apiv1", - "version": "1.10.3", - "language": "GO", "apis": [ { "id": "google.cloud.filestore.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/filestore/apiv1", + "version": "1.10.3" }, "snippets": [ { - "regionTag": "file_v1_generated_CloudFilestoreManager_CancelOperation_sync", - "title": "file CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudFilestoreManagerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudFilestoreManagerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "file CancelOperation Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_CreateBackup_sync", - "title": "file CreateBackup Sample", - "description": "CreateBackup creates a backup.", - "file": "CloudFilestoreManagerClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CreateBackup", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "filestorepb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a backup.", + "file": "CloudFilestoreManagerClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file CreateBackup Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_CreateInstance_sync", - "title": "file CreateInstance Sample", - "description": "CreateInstance creates an instance.\nWhen creating from a backup, the capacity of the new instance needs to be\nequal to or larger than the capacity of the backup (and also equal to or\nlarger than the minimum capacity of the tier).", - "file": "CloudFilestoreManagerClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CreateInstance", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "filestorepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates an instance.\nWhen creating from a backup, the capacity of the new instance needs to be\nequal to or larger than the capacity of the backup (and also equal to or\nlarger than the minimum capacity of the tier).", + "file": "CloudFilestoreManagerClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file CreateInstance Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_CreateSnapshot_sync", - "title": "file CreateSnapshot Sample", - "description": "CreateSnapshot creates a snapshot.", - "file": "CloudFilestoreManagerClient/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.CreateSnapshot", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.CreateSnapshotRequest", - "name": "req" + "name": "req", + "type": "filestorepb.CreateSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSnapshotOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot creates a snapshot.", + "file": "CloudFilestoreManagerClient/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file CreateSnapshot Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteBackup_sync", - "title": "file DeleteBackup Sample", - "description": "DeleteBackup deletes a backup.", - "file": "CloudFilestoreManagerClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteBackup", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackup", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "filestorepb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackup", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a backup.", + "file": "CloudFilestoreManagerClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "file DeleteBackup Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteInstance_sync", - "title": "file DeleteInstance Sample", - "description": "DeleteInstance deletes an instance.", - "file": "CloudFilestoreManagerClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteInstance", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "filestorepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes an instance.", + "file": "CloudFilestoreManagerClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "file DeleteInstance Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteOperation_sync", - "title": "file DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudFilestoreManagerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudFilestoreManagerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "file DeleteOperation Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteSnapshot_sync", - "title": "file DeleteSnapshot Sample", - "description": "DeleteSnapshot deletes a snapshot.", - "file": "CloudFilestoreManagerClient/DeleteSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSnapshot", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.DeleteSnapshot", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "DeleteSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.DeleteSnapshotRequest", - "name": "req" + "name": "req", + "type": "filestorepb.DeleteSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSnapshotOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "DeleteSnapshot", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "DeleteSnapshot" }, + "description": "DeleteSnapshot deletes a snapshot.", + "file": "CloudFilestoreManagerClient/DeleteSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_DeleteSnapshot_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "file DeleteSnapshot Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_GetBackup_sync", - "title": "file GetBackup Sample", - "description": "GetBackup gets the details of a specific backup.", - "file": "CloudFilestoreManagerClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetBackup", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetBackup", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "filestorepb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*filestorepb.Backup", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetBackup", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets the details of a specific backup.", + "file": "CloudFilestoreManagerClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "file GetBackup Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_GetInstance_sync", - "title": "file GetInstance Sample", - "description": "GetInstance gets the details of a specific instance.", - "file": "CloudFilestoreManagerClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetInstance", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetInstance", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "filestorepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*filestorepb.Instance", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetInstance", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets the details of a specific instance.", + "file": "CloudFilestoreManagerClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "file GetInstance Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_GetLocation_sync", - "title": "file GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudFilestoreManagerClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudFilestoreManagerClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "file GetLocation Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_GetOperation_sync", - "title": "file GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudFilestoreManagerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudFilestoreManagerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "file GetOperation Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_GetSnapshot_sync", - "title": "file GetSnapshot Sample", - "description": "GetSnapshot gets the details of a specific snapshot.", - "file": "CloudFilestoreManagerClient/GetSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSnapshot", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.GetSnapshot", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "GetSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.GetSnapshotRequest", - "name": "req" + "name": "req", + "type": "filestorepb.GetSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*filestorepb.Snapshot", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "GetSnapshot", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "GetSnapshot" }, + "description": "GetSnapshot gets the details of a specific snapshot.", + "file": "CloudFilestoreManagerClient/GetSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_GetSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "file GetSnapshot Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_ListBackups_sync", - "title": "file ListBackups Sample", - "description": "ListBackups lists all backups in a project for either a specified location or for all\nlocations.", - "file": "CloudFilestoreManagerClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListBackups", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListBackups", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "filestorepb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListBackups", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists all backups in a project for either a specified location or for all\nlocations.", + "file": "CloudFilestoreManagerClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "file ListBackups Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_ListInstances_sync", - "title": "file ListInstances Sample", - "description": "ListInstances lists all instances in a project for either a specified location\nor for all locations.", - "file": "CloudFilestoreManagerClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListInstances", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListInstances", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "filestorepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListInstances", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists all instances in a project for either a specified location\nor for all locations.", + "file": "CloudFilestoreManagerClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "file ListInstances Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_ListLocations_sync", - "title": "file ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudFilestoreManagerClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudFilestoreManagerClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "file ListLocations Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_ListOperations_sync", - "title": "file ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudFilestoreManagerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudFilestoreManagerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "file ListOperations Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_ListSnapshots_sync", - "title": "file ListSnapshots Sample", - "description": "ListSnapshots lists all snapshots in a project for either a specified location\nor for all locations.", - "file": "CloudFilestoreManagerClient/ListSnapshots/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSnapshots", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.ListSnapshots", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "ListSnapshots" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.ListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "filestorepb.ListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotIterator", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "ListSnapshots", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "ListSnapshots" }, + "description": "ListSnapshots lists all snapshots in a project for either a specified location\nor for all locations.", + "file": "CloudFilestoreManagerClient/ListSnapshots/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_ListSnapshots_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "file ListSnapshots Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_PromoteReplica_sync", - "title": "file PromoteReplica Sample", - "description": "PromoteReplica promote the standby instance (replica).", - "file": "CloudFilestoreManagerClient/PromoteReplica/main.go", - "language": "GO", "clientMethod": { - "shortName": "PromoteReplica", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.PromoteReplica", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.PromoteReplica", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "PromoteReplica" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.PromoteReplicaRequest", - "name": "req" + "name": "req", + "type": "filestorepb.PromoteReplicaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromoteReplicaOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "PromoteReplica", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.PromoteReplica", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "PromoteReplica" }, + "description": "PromoteReplica promote the standby instance (replica).", + "file": "CloudFilestoreManagerClient/PromoteReplica/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_PromoteReplica_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file PromoteReplica Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_RestoreInstance_sync", - "title": "file RestoreInstance Sample", - "description": "RestoreInstance restores an existing instance's file share from a backup.\n\nThe capacity of the instance needs to be equal to or larger than the\ncapacity of the backup (and also equal to or larger than the minimum\ncapacity of the tier).", - "file": "CloudFilestoreManagerClient/RestoreInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreInstance", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.RestoreInstance", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "RestoreInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.RestoreInstanceRequest", - "name": "req" + "name": "req", + "type": "filestorepb.RestoreInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreInstanceOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "RestoreInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "RestoreInstance" }, + "description": "RestoreInstance restores an existing instance's file share from a backup.\n\nThe capacity of the instance needs to be equal to or larger than the\ncapacity of the backup (and also equal to or larger than the minimum\ncapacity of the tier).", + "file": "CloudFilestoreManagerClient/RestoreInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_RestoreInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file RestoreInstance Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_RevertInstance_sync", - "title": "file RevertInstance Sample", - "description": "RevertInstance revert an existing instance's file system to a specified snapshot.", - "file": "CloudFilestoreManagerClient/RevertInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RevertInstance", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.RevertInstance", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "RevertInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.RevertInstanceRequest", - "name": "req" + "name": "req", + "type": "filestorepb.RevertInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RevertInstanceOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "RevertInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "RevertInstance" }, + "description": "RevertInstance revert an existing instance's file system to a specified snapshot.", + "file": "CloudFilestoreManagerClient/RevertInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_RevertInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file RevertInstance Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateBackup_sync", - "title": "file UpdateBackup Sample", - "description": "UpdateBackup updates the settings of a specific backup.", - "file": "CloudFilestoreManagerClient/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.UpdateBackup", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackup", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "filestorepb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackup", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup updates the settings of a specific backup.", + "file": "CloudFilestoreManagerClient/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file UpdateBackup Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateInstance_sync", - "title": "file UpdateInstance Sample", - "description": "UpdateInstance updates the settings of a specific instance.", - "file": "CloudFilestoreManagerClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.UpdateInstance", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "filestorepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the settings of a specific instance.", + "file": "CloudFilestoreManagerClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file UpdateInstance Sample" }, { - "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateSnapshot_sync", - "title": "file UpdateSnapshot Sample", - "description": "UpdateSnapshot updates the settings of a specific snapshot.", - "file": "CloudFilestoreManagerClient/UpdateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSnapshot", + "client": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient", + "shortName": "CloudFilestoreManagerClient" + }, "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient.UpdateSnapshot", + "method": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot", + "service": { + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "CloudFilestoreManager" + }, + "shortName": "UpdateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "filestorepb.UpdateSnapshotRequest", - "name": "req" + "name": "req", + "type": "filestorepb.UpdateSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSnapshotOperation", - "client": { - "shortName": "CloudFilestoreManagerClient", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManagerClient" - }, - "method": { - "shortName": "UpdateSnapshot", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot", - "service": { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager" - } - } + "shortName": "UpdateSnapshot" }, + "description": "UpdateSnapshot updates the settings of a specific snapshot.", + "file": "CloudFilestoreManagerClient/UpdateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "file_v1_generated_CloudFilestoreManager_UpdateSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "file UpdateSnapshot Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/financialservices/apiv1/snippet_metadata.google.cloud.financialservices.v1.json b/internal/generated/snippets/financialservices/apiv1/snippet_metadata.google.cloud.financialservices.v1.json index 19c4312ad852..cab1d4dd3c4f 100644 --- a/internal/generated/snippets/financialservices/apiv1/snippet_metadata.google.cloud.financialservices.v1.json +++ b/internal/generated/snippets/financialservices/apiv1/snippet_metadata.google.cloud.financialservices.v1.json @@ -1,2037 +1,2037 @@ { "clientLibrary": { - "name": "cloud.google.com/go/financialservices/apiv1", - "version": "0.1.4", - "language": "GO", "apis": [ { "id": "google.cloud.financialservices.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/financialservices/apiv1", + "version": "0.1.4" }, "snippets": [ { - "regionTag": "financialservices_v1_generated_AML_CancelOperation_sync", - "title": "financialservices CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AMLClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AMLClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CancelOperation Sample" }, { - "regionTag": "financialservices_v1_generated_AML_CreateBacktestResult_sync", - "title": "financialservices CreateBacktestResult Sample", - "description": "CreateBacktestResult create a BacktestResult.", - "file": "AMLClient/CreateBacktestResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBacktestResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CreateBacktestResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.CreateBacktestResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "CreateBacktestResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.CreateBacktestResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.CreateBacktestResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBacktestResultOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CreateBacktestResult", - "fullName": "google.cloud.financialservices.v1.AML.CreateBacktestResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "CreateBacktestResult" }, + "description": "CreateBacktestResult create a BacktestResult.", + "file": "AMLClient/CreateBacktestResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CreateBacktestResult_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CreateBacktestResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_CreateDataset_sync", - "title": "financialservices CreateDataset Sample", - "description": "CreateDataset creates a dataset.", - "file": "AMLClient/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CreateDataset", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.CreateDataset", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.financialservices.v1.AML.CreateDataset", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates a dataset.", + "file": "AMLClient/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CreateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CreateDataset Sample" }, { - "regionTag": "financialservices_v1_generated_AML_CreateEngineConfig_sync", - "title": "financialservices CreateEngineConfig Sample", - "description": "CreateEngineConfig creates an engine config.", - "file": "AMLClient/CreateEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEngineConfig", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CreateEngineConfig", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.CreateEngineConfig", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "CreateEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.CreateEngineConfigRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.CreateEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEngineConfigOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CreateEngineConfig", - "fullName": "google.cloud.financialservices.v1.AML.CreateEngineConfig", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "CreateEngineConfig" }, + "description": "CreateEngineConfig creates an engine config.", + "file": "AMLClient/CreateEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CreateEngineConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CreateEngineConfig Sample" }, { - "regionTag": "financialservices_v1_generated_AML_CreateInstance_sync", - "title": "financialservices CreateInstance Sample", - "description": "CreateInstance creates an instance.", - "file": "AMLClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CreateInstance", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.CreateInstance", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.financialservices.v1.AML.CreateInstance", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates an instance.", + "file": "AMLClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CreateInstance Sample" }, { - "regionTag": "financialservices_v1_generated_AML_CreateModel_sync", - "title": "financialservices CreateModel Sample", - "description": "CreateModel creates a model.", - "file": "AMLClient/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CreateModel", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.CreateModel", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.financialservices.v1.AML.CreateModel", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a model.", + "file": "AMLClient/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CreateModel Sample" }, { - "regionTag": "financialservices_v1_generated_AML_CreatePredictionResult_sync", - "title": "financialservices CreatePredictionResult Sample", - "description": "CreatePredictionResult create a PredictionResult.", - "file": "AMLClient/CreatePredictionResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePredictionResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.CreatePredictionResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.CreatePredictionResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "CreatePredictionResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.CreatePredictionResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.CreatePredictionResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePredictionResultOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "CreatePredictionResult", - "fullName": "google.cloud.financialservices.v1.AML.CreatePredictionResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "CreatePredictionResult" }, + "description": "CreatePredictionResult create a PredictionResult.", + "file": "AMLClient/CreatePredictionResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_CreatePredictionResult_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices CreatePredictionResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeleteBacktestResult_sync", - "title": "financialservices DeleteBacktestResult Sample", - "description": "DeleteBacktestResult deletes a BacktestResult.", - "file": "AMLClient/DeleteBacktestResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBacktestResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeleteBacktestResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.DeleteBacktestResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "DeleteBacktestResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.DeleteBacktestResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.DeleteBacktestResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBacktestResultOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeleteBacktestResult", - "fullName": "google.cloud.financialservices.v1.AML.DeleteBacktestResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "DeleteBacktestResult" }, + "description": "DeleteBacktestResult deletes a BacktestResult.", + "file": "AMLClient/DeleteBacktestResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeleteBacktestResult_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeleteBacktestResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeleteDataset_sync", - "title": "financialservices DeleteDataset Sample", - "description": "DeleteDataset deletes a dataset.", - "file": "AMLClient/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeleteDataset", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.DeleteDataset", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.financialservices.v1.AML.DeleteDataset", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a dataset.", + "file": "AMLClient/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeleteDataset Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeleteEngineConfig_sync", - "title": "financialservices DeleteEngineConfig Sample", - "description": "DeleteEngineConfig deletes an engine config.", - "file": "AMLClient/DeleteEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEngineConfig", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeleteEngineConfig", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.DeleteEngineConfig", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "DeleteEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.DeleteEngineConfigRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.DeleteEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEngineConfigOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeleteEngineConfig", - "fullName": "google.cloud.financialservices.v1.AML.DeleteEngineConfig", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "DeleteEngineConfig" }, + "description": "DeleteEngineConfig deletes an engine config.", + "file": "AMLClient/DeleteEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeleteEngineConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeleteEngineConfig Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeleteInstance_sync", - "title": "financialservices DeleteInstance Sample", - "description": "DeleteInstance deletes an instance.", - "file": "AMLClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeleteInstance", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.DeleteInstance", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.financialservices.v1.AML.DeleteInstance", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes an instance.", + "file": "AMLClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeleteInstance Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeleteModel_sync", - "title": "financialservices DeleteModel Sample", - "description": "DeleteModel deletes a model.", - "file": "AMLClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeleteModel", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.DeleteModel", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.financialservices.v1.AML.DeleteModel", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes a model.", + "file": "AMLClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeleteModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeleteModel Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeleteOperation_sync", - "title": "financialservices DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AMLClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AMLClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeleteOperation Sample" }, { - "regionTag": "financialservices_v1_generated_AML_DeletePredictionResult_sync", - "title": "financialservices DeletePredictionResult Sample", - "description": "DeletePredictionResult deletes a PredictionResult.", - "file": "AMLClient/DeletePredictionResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePredictionResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.DeletePredictionResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.DeletePredictionResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "DeletePredictionResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.DeletePredictionResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.DeletePredictionResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePredictionResultOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "DeletePredictionResult", - "fullName": "google.cloud.financialservices.v1.AML.DeletePredictionResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "DeletePredictionResult" }, + "description": "DeletePredictionResult deletes a PredictionResult.", + "file": "AMLClient/DeletePredictionResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_DeletePredictionResult_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices DeletePredictionResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ExportBacktestResultMetadata_sync", - "title": "financialservices ExportBacktestResultMetadata Sample", - "description": "ExportBacktestResultMetadata export governance information for a BacktestResult resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#backtest-results).", - "file": "AMLClient/ExportBacktestResultMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportBacktestResultMetadata", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ExportBacktestResultMetadata", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ExportBacktestResultMetadata", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ExportBacktestResultMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ExportBacktestResultMetadataRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ExportBacktestResultMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportBacktestResultMetadataOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ExportBacktestResultMetadata", - "fullName": "google.cloud.financialservices.v1.AML.ExportBacktestResultMetadata", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ExportBacktestResultMetadata" }, + "description": "ExportBacktestResultMetadata export governance information for a BacktestResult resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#backtest-results).", + "file": "AMLClient/ExportBacktestResultMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ExportBacktestResultMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ExportBacktestResultMetadata Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ExportEngineConfigMetadata_sync", - "title": "financialservices ExportEngineConfigMetadata Sample", - "description": "ExportEngineConfigMetadata export governance information for an EngineConfig resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#engine-config).", - "file": "AMLClient/ExportEngineConfigMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportEngineConfigMetadata", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ExportEngineConfigMetadata", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ExportEngineConfigMetadata", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ExportEngineConfigMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ExportEngineConfigMetadataRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ExportEngineConfigMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportEngineConfigMetadataOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ExportEngineConfigMetadata", - "fullName": "google.cloud.financialservices.v1.AML.ExportEngineConfigMetadata", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ExportEngineConfigMetadata" }, + "description": "ExportEngineConfigMetadata export governance information for an EngineConfig resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#engine-config).", + "file": "AMLClient/ExportEngineConfigMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ExportEngineConfigMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ExportEngineConfigMetadata Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ExportModelMetadata_sync", - "title": "financialservices ExportModelMetadata Sample", - "description": "ExportModelMetadata export governance information for a Model resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#model).", - "file": "AMLClient/ExportModelMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportModelMetadata", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ExportModelMetadata", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ExportModelMetadata", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ExportModelMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ExportModelMetadataRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ExportModelMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportModelMetadataOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ExportModelMetadata", - "fullName": "google.cloud.financialservices.v1.AML.ExportModelMetadata", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ExportModelMetadata" }, + "description": "ExportModelMetadata export governance information for a Model resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#model).", + "file": "AMLClient/ExportModelMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ExportModelMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ExportModelMetadata Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ExportPredictionResultMetadata_sync", - "title": "financialservices ExportPredictionResultMetadata Sample", - "description": "ExportPredictionResultMetadata export governance information for a PredictionResult resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#prediction-results).", - "file": "AMLClient/ExportPredictionResultMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportPredictionResultMetadata", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ExportPredictionResultMetadata", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ExportPredictionResultMetadata", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ExportPredictionResultMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ExportPredictionResultMetadataRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ExportPredictionResultMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportPredictionResultMetadataOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ExportPredictionResultMetadata", - "fullName": "google.cloud.financialservices.v1.AML.ExportPredictionResultMetadata", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ExportPredictionResultMetadata" }, + "description": "ExportPredictionResultMetadata export governance information for a PredictionResult resource. For\ninformation on the exported fields, see\n[AML output data\nmodel](https: //cloud.google.com/financial-services/anti-money-laundering/docs/reference/schemas/aml-output-data-model#prediction-results).", + "file": "AMLClient/ExportPredictionResultMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ExportPredictionResultMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ExportPredictionResultMetadata Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ExportRegisteredParties_sync", - "title": "financialservices ExportRegisteredParties Sample", - "description": "ExportRegisteredParties exports the list of registered parties. See\n[Create and manage\ninstances](https: //cloud.google.com/financial-services/anti-money-laundering/docs/create-and-manage-instances#export-registered-parties)\nfor information on the output schema for this method.", - "file": "AMLClient/ExportRegisteredParties/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportRegisteredParties", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ExportRegisteredParties", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ExportRegisteredParties", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ExportRegisteredParties" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ExportRegisteredPartiesRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ExportRegisteredPartiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportRegisteredPartiesOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ExportRegisteredParties", - "fullName": "google.cloud.financialservices.v1.AML.ExportRegisteredParties", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ExportRegisteredParties" }, + "description": "ExportRegisteredParties exports the list of registered parties. See\n[Create and manage\ninstances](https: //cloud.google.com/financial-services/anti-money-laundering/docs/create-and-manage-instances#export-registered-parties)\nfor information on the output schema for this method.", + "file": "AMLClient/ExportRegisteredParties/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ExportRegisteredParties_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ExportRegisteredParties Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetBacktestResult_sync", - "title": "financialservices GetBacktestResult Sample", - "description": "GetBacktestResult gets a BacktestResult.", - "file": "AMLClient/GetBacktestResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBacktestResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetBacktestResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetBacktestResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetBacktestResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetBacktestResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetBacktestResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*financialservicespb.BacktestResult", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetBacktestResult", - "fullName": "google.cloud.financialservices.v1.AML.GetBacktestResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "GetBacktestResult" }, + "description": "GetBacktestResult gets a BacktestResult.", + "file": "AMLClient/GetBacktestResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetBacktestResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetBacktestResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetDataset_sync", - "title": "financialservices GetDataset Sample", - "description": "GetDataset gets a dataset.", - "file": "AMLClient/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetDataset", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetDataset", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*financialservicespb.Dataset", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.financialservices.v1.AML.GetDataset", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets a dataset.", + "file": "AMLClient/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetDataset Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetEngineConfig_sync", - "title": "financialservices GetEngineConfig Sample", - "description": "GetEngineConfig gets an engine config.", - "file": "AMLClient/GetEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEngineConfig", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetEngineConfig", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetEngineConfig", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetEngineConfigRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*financialservicespb.EngineConfig", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetEngineConfig", - "fullName": "google.cloud.financialservices.v1.AML.GetEngineConfig", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "GetEngineConfig" }, + "description": "GetEngineConfig gets an engine config.", + "file": "AMLClient/GetEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetEngineConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetEngineConfig Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetEngineVersion_sync", - "title": "financialservices GetEngineVersion Sample", - "description": "GetEngineVersion gets a single EngineVersion.", - "file": "AMLClient/GetEngineVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEngineVersion", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetEngineVersion", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetEngineVersion", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetEngineVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetEngineVersionRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetEngineVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "*financialservicespb.EngineVersion", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetEngineVersion", - "fullName": "google.cloud.financialservices.v1.AML.GetEngineVersion", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + ], + "resultType": "*financialservicespb.EngineVersion", + "shortName": "GetEngineVersion" }, + "description": "GetEngineVersion gets a single EngineVersion.", + "file": "AMLClient/GetEngineVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetEngineVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetEngineVersion Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetInstance_sync", - "title": "financialservices GetInstance Sample", - "description": "GetInstance gets an instance.", - "file": "AMLClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetInstance", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetInstance", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*financialservicespb.Instance", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.financialservices.v1.AML.GetInstance", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets an instance.", + "file": "AMLClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetInstance Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetLocation_sync", - "title": "financialservices GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AMLClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AMLClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetLocation Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetModel_sync", - "title": "financialservices GetModel Sample", - "description": "GetModel gets a model.", - "file": "AMLClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetModel", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetModel", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetModelRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*financialservicespb.Model", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.financialservices.v1.AML.GetModel", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "AMLClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetModel Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetOperation_sync", - "title": "financialservices GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AMLClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AMLClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetOperation Sample" }, { - "regionTag": "financialservices_v1_generated_AML_GetPredictionResult_sync", - "title": "financialservices GetPredictionResult Sample", - "description": "GetPredictionResult gets a PredictionResult.", - "file": "AMLClient/GetPredictionResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPredictionResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.GetPredictionResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.GetPredictionResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "GetPredictionResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.GetPredictionResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.GetPredictionResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*financialservicespb.PredictionResult", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "GetPredictionResult", - "fullName": "google.cloud.financialservices.v1.AML.GetPredictionResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "GetPredictionResult" }, + "description": "GetPredictionResult gets a PredictionResult.", + "file": "AMLClient/GetPredictionResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_GetPredictionResult_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices GetPredictionResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ImportRegisteredParties_sync", - "title": "financialservices ImportRegisteredParties Sample", - "description": "ImportRegisteredParties imports the list of registered parties. See\n[Create and manage\ninstances](https: //cloud.google.com/financial-services/anti-money-laundering/docs/create-and-manage-instances#import-registered-parties)\nfor information on the input schema and response for this method.", - "file": "AMLClient/ImportRegisteredParties/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportRegisteredParties", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ImportRegisteredParties", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ImportRegisteredParties", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ImportRegisteredParties" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ImportRegisteredPartiesRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ImportRegisteredPartiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportRegisteredPartiesOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ImportRegisteredParties", - "fullName": "google.cloud.financialservices.v1.AML.ImportRegisteredParties", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ImportRegisteredParties" }, + "description": "ImportRegisteredParties imports the list of registered parties. See\n[Create and manage\ninstances](https: //cloud.google.com/financial-services/anti-money-laundering/docs/create-and-manage-instances#import-registered-parties)\nfor information on the input schema and response for this method.", + "file": "AMLClient/ImportRegisteredParties/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ImportRegisteredParties_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ImportRegisteredParties Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListBacktestResults_sync", - "title": "financialservices ListBacktestResults Sample", - "description": "ListBacktestResults list BacktestResults.", - "file": "AMLClient/ListBacktestResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBacktestResults", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListBacktestResults", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListBacktestResults", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListBacktestResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListBacktestResultsRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListBacktestResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BacktestResultIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListBacktestResults", - "fullName": "google.cloud.financialservices.v1.AML.ListBacktestResults", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListBacktestResults" }, + "description": "ListBacktestResults list BacktestResults.", + "file": "AMLClient/ListBacktestResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListBacktestResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListBacktestResults Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListDatasets_sync", - "title": "financialservices ListDatasets Sample", - "description": "ListDatasets lists datasets.", - "file": "AMLClient/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListDatasets", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListDatasets", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.financialservices.v1.AML.ListDatasets", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists datasets.", + "file": "AMLClient/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListDatasets Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListEngineConfigs_sync", - "title": "financialservices ListEngineConfigs Sample", - "description": "ListEngineConfigs lists engine configs.", - "file": "AMLClient/ListEngineConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEngineConfigs", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListEngineConfigs", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListEngineConfigs", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListEngineConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListEngineConfigsRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListEngineConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EngineConfigIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListEngineConfigs", - "fullName": "google.cloud.financialservices.v1.AML.ListEngineConfigs", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListEngineConfigs" }, + "description": "ListEngineConfigs lists engine configs.", + "file": "AMLClient/ListEngineConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListEngineConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListEngineConfigs Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListEngineVersions_sync", - "title": "financialservices ListEngineVersions Sample", - "description": "ListEngineVersions lists EngineVersions for given location.", - "file": "AMLClient/ListEngineVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEngineVersions", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListEngineVersions", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListEngineVersions", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListEngineVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListEngineVersionsRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListEngineVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EngineVersionIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListEngineVersions", - "fullName": "google.cloud.financialservices.v1.AML.ListEngineVersions", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListEngineVersions" }, + "description": "ListEngineVersions lists EngineVersions for given location.", + "file": "AMLClient/ListEngineVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListEngineVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListEngineVersions Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListInstances_sync", - "title": "financialservices ListInstances Sample", - "description": "ListInstances lists instances.", - "file": "AMLClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListInstances", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListInstances", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.financialservices.v1.AML.ListInstances", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists instances.", + "file": "AMLClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListInstances Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListLocations_sync", - "title": "financialservices ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AMLClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AMLClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListLocations Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListModels_sync", - "title": "financialservices ListModels Sample", - "description": "ListModels lists models.", - "file": "AMLClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListModels", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListModels", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.financialservices.v1.AML.ListModels", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists models.", + "file": "AMLClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListModels Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListOperations_sync", - "title": "financialservices ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AMLClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AMLClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListOperations Sample" }, { - "regionTag": "financialservices_v1_generated_AML_ListPredictionResults_sync", - "title": "financialservices ListPredictionResults Sample", - "description": "ListPredictionResults list PredictionResults.", - "file": "AMLClient/ListPredictionResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPredictionResults", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.ListPredictionResults", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.ListPredictionResults", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "ListPredictionResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.ListPredictionResultsRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.ListPredictionResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PredictionResultIterator", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "ListPredictionResults", - "fullName": "google.cloud.financialservices.v1.AML.ListPredictionResults", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "ListPredictionResults" }, + "description": "ListPredictionResults list PredictionResults.", + "file": "AMLClient/ListPredictionResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_ListPredictionResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices ListPredictionResults Sample" }, { - "regionTag": "financialservices_v1_generated_AML_UpdateBacktestResult_sync", - "title": "financialservices UpdateBacktestResult Sample", - "description": "UpdateBacktestResult updates the parameters of a single BacktestResult.", - "file": "AMLClient/UpdateBacktestResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBacktestResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.UpdateBacktestResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.UpdateBacktestResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "UpdateBacktestResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.UpdateBacktestResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.UpdateBacktestResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBacktestResultOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "UpdateBacktestResult", - "fullName": "google.cloud.financialservices.v1.AML.UpdateBacktestResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "UpdateBacktestResult" }, + "description": "UpdateBacktestResult updates the parameters of a single BacktestResult.", + "file": "AMLClient/UpdateBacktestResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_UpdateBacktestResult_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices UpdateBacktestResult Sample" }, { - "regionTag": "financialservices_v1_generated_AML_UpdateDataset_sync", - "title": "financialservices UpdateDataset Sample", - "description": "UpdateDataset updates the parameters of a single Dataset.", - "file": "AMLClient/UpdateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataset", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.UpdateDataset", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.UpdateDataset", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "UpdateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.UpdateDatasetRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.UpdateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDatasetOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "UpdateDataset", - "fullName": "google.cloud.financialservices.v1.AML.UpdateDataset", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "UpdateDataset" }, + "description": "UpdateDataset updates the parameters of a single Dataset.", + "file": "AMLClient/UpdateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_UpdateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices UpdateDataset Sample" }, { - "regionTag": "financialservices_v1_generated_AML_UpdateEngineConfig_sync", - "title": "financialservices UpdateEngineConfig Sample", - "description": "UpdateEngineConfig updates the parameters of a single EngineConfig.", - "file": "AMLClient/UpdateEngineConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEngineConfig", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.UpdateEngineConfig", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.UpdateEngineConfig", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "UpdateEngineConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.UpdateEngineConfigRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.UpdateEngineConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEngineConfigOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "UpdateEngineConfig", - "fullName": "google.cloud.financialservices.v1.AML.UpdateEngineConfig", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "UpdateEngineConfig" }, + "description": "UpdateEngineConfig updates the parameters of a single EngineConfig.", + "file": "AMLClient/UpdateEngineConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_UpdateEngineConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices UpdateEngineConfig Sample" }, { - "regionTag": "financialservices_v1_generated_AML_UpdateInstance_sync", - "title": "financialservices UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single Instance.", - "file": "AMLClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.UpdateInstance", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.UpdateInstance", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.financialservices.v1.AML.UpdateInstance", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single Instance.", + "file": "AMLClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices UpdateInstance Sample" }, { - "regionTag": "financialservices_v1_generated_AML_UpdateModel_sync", - "title": "financialservices UpdateModel Sample", - "description": "UpdateModel updates the parameters of a single Model.", - "file": "AMLClient/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.UpdateModel", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.UpdateModel", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "UpdateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.UpdateModelRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.UpdateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateModelOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "UpdateModel", - "fullName": "google.cloud.financialservices.v1.AML.UpdateModel", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "UpdateModel" }, + "description": "UpdateModel updates the parameters of a single Model.", + "file": "AMLClient/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_UpdateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices UpdateModel Sample" }, { - "regionTag": "financialservices_v1_generated_AML_UpdatePredictionResult_sync", - "title": "financialservices UpdatePredictionResult Sample", - "description": "UpdatePredictionResult updates the parameters of a single PredictionResult.", - "file": "AMLClient/UpdatePredictionResult/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePredictionResult", + "client": { + "fullName": "google.cloud.financialservices.v1.AMLClient", + "shortName": "AMLClient" + }, "fullName": "google.cloud.financialservices.v1.AMLClient.UpdatePredictionResult", + "method": { + "fullName": "google.cloud.financialservices.v1.AML.UpdatePredictionResult", + "service": { + "fullName": "google.cloud.financialservices.v1.AML", + "shortName": "AML" + }, + "shortName": "UpdatePredictionResult" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "financialservicespb.UpdatePredictionResultRequest", - "name": "req" + "name": "req", + "type": "financialservicespb.UpdatePredictionResultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePredictionResultOperation", - "client": { - "shortName": "AMLClient", - "fullName": "google.cloud.financialservices.v1.AMLClient" - }, - "method": { - "shortName": "UpdatePredictionResult", - "fullName": "google.cloud.financialservices.v1.AML.UpdatePredictionResult", - "service": { - "shortName": "AML", - "fullName": "google.cloud.financialservices.v1.AML" - } - } + "shortName": "UpdatePredictionResult" }, + "description": "UpdatePredictionResult updates the parameters of a single PredictionResult.", + "file": "AMLClient/UpdatePredictionResult/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "financialservices_v1_generated_AML_UpdatePredictionResult_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "financialservices UpdatePredictionResult Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json b/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json index ed1712aa463d..588adf550835 100644 --- a/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json +++ b/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json @@ -1,1665 +1,1665 @@ { "clientLibrary": { - "name": "cloud.google.com/go/firestore/apiv1/admin", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.firestore.admin.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/firestore/apiv1/admin", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "firestore_v1_generated_FirestoreAdmin_BulkDeleteDocuments_sync", - "title": "firestore BulkDeleteDocuments Sample", - "description": "BulkDeleteDocuments bulk deletes a subset of documents from Google Cloud Firestore.\nDocuments created or updated after the underlying system starts to process\nthe request will not be deleted. The bulk delete occurs in the background\nand its progress can be monitored and managed via the Operation resource\nthat is created.\n\nFor more details on bulk delete behavior, refer to: \nhttps: //cloud.google.com/firestore/docs/manage-data/bulk-delete", - "file": "FirestoreAdminClient/BulkDeleteDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkDeleteDocuments", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.BulkDeleteDocuments", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "BulkDeleteDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.BulkDeleteDocumentsRequest", - "name": "req" + "name": "req", + "type": "adminpb.BulkDeleteDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkDeleteDocumentsOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "BulkDeleteDocuments", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "BulkDeleteDocuments" }, + "description": "BulkDeleteDocuments bulk deletes a subset of documents from Google Cloud Firestore.\nDocuments created or updated after the underlying system starts to process\nthe request will not be deleted. The bulk delete occurs in the background\nand its progress can be monitored and managed via the Operation resource\nthat is created.\n\nFor more details on bulk delete behavior, refer to: \nhttps: //cloud.google.com/firestore/docs/manage-data/bulk-delete", + "file": "FirestoreAdminClient/BulkDeleteDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_BulkDeleteDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore BulkDeleteDocuments Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_CancelOperation_sync", - "title": "firestore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "FirestoreAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "FirestoreAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CancelOperation Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_CloneDatabase_sync", - "title": "firestore CloneDatabase Sample", - "description": "CloneDatabase creates a new database by cloning an existing one.\n\nThe new database must be in the same cloud region or multi-region location\nas the existing database. This behaves similar to\n[FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase]\nexcept instead of creating a new empty database, a new database is created\nwith the database type, index configuration, and documents from an existing\ndatabase.\n\nThe [long-running operation][google.longrunning.Operation] can be used to\ntrack the progress of the clone, with the Operation's\n[metadata][google.longrunning.Operation.metadata] field type being the\n[CloneDatabaseMetadata][google.firestore.admin.v1.CloneDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] type is the\n[Database][google.firestore.admin.v1.Database] if the clone was\nsuccessful. The new database is not readable or writeable until the LRO has\ncompleted.", - "file": "FirestoreAdminClient/CloneDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloneDatabase", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.CloneDatabase", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CloneDatabase", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "CloneDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CloneDatabaseRequest", - "name": "req" + "name": "req", + "type": "adminpb.CloneDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloneDatabaseOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "CloneDatabase", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.CloneDatabase", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "CloneDatabase" }, + "description": "CloneDatabase creates a new database by cloning an existing one.\n\nThe new database must be in the same cloud region or multi-region location\nas the existing database. This behaves similar to\n[FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase]\nexcept instead of creating a new empty database, a new database is created\nwith the database type, index configuration, and documents from an existing\ndatabase.\n\nThe [long-running operation][google.longrunning.Operation] can be used to\ntrack the progress of the clone, with the Operation's\n[metadata][google.longrunning.Operation.metadata] field type being the\n[CloneDatabaseMetadata][google.firestore.admin.v1.CloneDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] type is the\n[Database][google.firestore.admin.v1.Database] if the clone was\nsuccessful. The new database is not readable or writeable until the LRO has\ncompleted.", + "file": "FirestoreAdminClient/CloneDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_CloneDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CloneDatabase Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateBackupSchedule_sync", - "title": "firestore CreateBackupSchedule Sample", - "description": "CreateBackupSchedule creates a backup schedule on a database.\nAt most two backup schedules can be configured on a database, one daily\nbackup schedule and one weekly backup schedule.", - "file": "FirestoreAdminClient/CreateBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupSchedule", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.CreateBackupSchedule", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateBackupSchedule", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "CreateBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BackupSchedule", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "CreateBackupSchedule", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateBackupSchedule", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "CreateBackupSchedule" }, + "description": "CreateBackupSchedule creates a backup schedule on a database.\nAt most two backup schedules can be configured on a database, one daily\nbackup schedule and one weekly backup schedule.", + "file": "FirestoreAdminClient/CreateBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateBackupSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CreateBackupSchedule Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateDatabase_sync", - "title": "firestore CreateDatabase Sample", - "description": "CreateDatabase create a database.", - "file": "FirestoreAdminClient/CreateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatabase", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.CreateDatabase", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateDatabase", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "CreateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateDatabaseRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatabaseOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "CreateDatabase", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateDatabase", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "CreateDatabase" }, + "description": "CreateDatabase create a database.", + "file": "FirestoreAdminClient/CreateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CreateDatabase Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateIndex_sync", - "title": "firestore CreateIndex Sample", - "description": "CreateIndex creates a composite index. This returns a\n[google.longrunning.Operation][google.longrunning.Operation] which may be\nused to track the status of the creation. The metadata for the operation\nwill be the type\n[IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].", - "file": "FirestoreAdminClient/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.CreateIndex", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateIndex", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateIndex", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates a composite index. This returns a\n[google.longrunning.Operation][google.longrunning.Operation] which may be\nused to track the status of the creation. The metadata for the operation\nwill be the type\n[IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].", + "file": "FirestoreAdminClient/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CreateIndex Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateUserCreds_sync", - "title": "firestore CreateUserCreds Sample", - "description": "CreateUserCreds create a user creds.", - "file": "FirestoreAdminClient/CreateUserCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUserCreds", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.CreateUserCreds", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateUserCreds", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "CreateUserCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.CreateUserCredsRequest", - "name": "req" + "name": "req", + "type": "adminpb.CreateUserCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.UserCreds", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "CreateUserCreds", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateUserCreds", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "CreateUserCreds" }, + "description": "CreateUserCreds create a user creds.", + "file": "FirestoreAdminClient/CreateUserCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_CreateUserCreds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CreateUserCreds Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteBackup_sync", - "title": "firestore DeleteBackup Sample", - "description": "DeleteBackup deletes a backup.", - "file": "FirestoreAdminClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DeleteBackup", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteBackup", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteBackup", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a backup.", + "file": "FirestoreAdminClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteBackup Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteBackupSchedule_sync", - "title": "firestore DeleteBackupSchedule Sample", - "description": "DeleteBackupSchedule deletes a backup schedule.", - "file": "FirestoreAdminClient/DeleteBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupSchedule", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DeleteBackupSchedule", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteBackupSchedule", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "DeleteBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DeleteBackupSchedule", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteBackupSchedule", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "DeleteBackupSchedule" }, + "description": "DeleteBackupSchedule deletes a backup schedule.", + "file": "FirestoreAdminClient/DeleteBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteBackupSchedule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteBackupSchedule Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteDatabase_sync", - "title": "firestore DeleteDatabase Sample", - "description": "DeleteDatabase deletes a database.", - "file": "FirestoreAdminClient/DeleteDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatabase", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DeleteDatabase", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteDatabase", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "DeleteDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteDatabaseRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatabaseOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DeleteDatabase", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteDatabase", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "DeleteDatabase" }, + "description": "DeleteDatabase deletes a database.", + "file": "FirestoreAdminClient/DeleteDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteDatabase Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteIndex_sync", - "title": "firestore DeleteIndex Sample", - "description": "DeleteIndex deletes a composite index.", - "file": "FirestoreAdminClient/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DeleteIndex", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteIndex", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteIndex", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex deletes a composite index.", + "file": "FirestoreAdminClient/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteIndex Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteOperation_sync", - "title": "firestore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "FirestoreAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "FirestoreAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteOperation Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteUserCreds_sync", - "title": "firestore DeleteUserCreds Sample", - "description": "DeleteUserCreds deletes a user creds.", - "file": "FirestoreAdminClient/DeleteUserCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUserCreds", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DeleteUserCreds", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteUserCreds", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "DeleteUserCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DeleteUserCredsRequest", - "name": "req" + "name": "req", + "type": "adminpb.DeleteUserCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DeleteUserCreds", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteUserCreds", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "DeleteUserCreds" }, + "description": "DeleteUserCreds deletes a user creds.", + "file": "FirestoreAdminClient/DeleteUserCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DeleteUserCreds_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteUserCreds Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_DisableUserCreds_sync", - "title": "firestore DisableUserCreds Sample", - "description": "DisableUserCreds disables a user creds. No-op if the user creds are already disabled.", - "file": "FirestoreAdminClient/DisableUserCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableUserCreds", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.DisableUserCreds", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DisableUserCreds", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "DisableUserCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.DisableUserCredsRequest", - "name": "req" + "name": "req", + "type": "adminpb.DisableUserCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.UserCreds", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "DisableUserCreds", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.DisableUserCreds", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "DisableUserCreds" }, + "description": "DisableUserCreds disables a user creds. No-op if the user creds are already disabled.", + "file": "FirestoreAdminClient/DisableUserCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_DisableUserCreds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DisableUserCreds Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_EnableUserCreds_sync", - "title": "firestore EnableUserCreds Sample", - "description": "EnableUserCreds enables a user creds. No-op if the user creds are already enabled.", - "file": "FirestoreAdminClient/EnableUserCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableUserCreds", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.EnableUserCreds", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.EnableUserCreds", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "EnableUserCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.EnableUserCredsRequest", - "name": "req" + "name": "req", + "type": "adminpb.EnableUserCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.UserCreds", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "EnableUserCreds", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.EnableUserCreds", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "EnableUserCreds" }, + "description": "EnableUserCreds enables a user creds. No-op if the user creds are already enabled.", + "file": "FirestoreAdminClient/EnableUserCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_EnableUserCreds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore EnableUserCreds Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ExportDocuments_sync", - "title": "firestore ExportDocuments Sample", - "description": "ExportDocuments exports a copy of all or a subset of documents from Google Cloud Firestore\nto another storage system, such as Google Cloud Storage. Recent updates to\ndocuments may not be reflected in the export. The export occurs in the\nbackground and its progress can be monitored and managed via the\nOperation resource that is created. The output of an export may only be\nused once the associated operation is done. If an export operation is\ncancelled before completion it may leave partial data behind in Google\nCloud Storage.\n\nFor more details on export behavior and output format, refer to: \nhttps: //cloud.google.com/firestore/docs/manage-data/export-import", - "file": "FirestoreAdminClient/ExportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportDocuments", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ExportDocuments", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ExportDocuments", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ExportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ExportDocumentsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ExportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDocumentsOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ExportDocuments", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ExportDocuments", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ExportDocuments" }, + "description": "ExportDocuments exports a copy of all or a subset of documents from Google Cloud Firestore\nto another storage system, such as Google Cloud Storage. Recent updates to\ndocuments may not be reflected in the export. The export occurs in the\nbackground and its progress can be monitored and managed via the\nOperation resource that is created. The output of an export may only be\nused once the associated operation is done. If an export operation is\ncancelled before completion it may leave partial data behind in Google\nCloud Storage.\n\nFor more details on export behavior and output format, refer to: \nhttps: //cloud.google.com/firestore/docs/manage-data/export-import", + "file": "FirestoreAdminClient/ExportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ExportDocuments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ExportDocuments Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetBackup_sync", - "title": "firestore GetBackup Sample", - "description": "GetBackup gets information about a backup.", - "file": "FirestoreAdminClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetBackup", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetBackup", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Backup", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetBackup", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets information about a backup.", + "file": "FirestoreAdminClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetBackup Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetBackupSchedule_sync", - "title": "firestore GetBackupSchedule Sample", - "description": "GetBackupSchedule gets information about a backup schedule.", - "file": "FirestoreAdminClient/GetBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupSchedule", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetBackupSchedule", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetBackupSchedule", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "GetBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BackupSchedule", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetBackupSchedule", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetBackupSchedule", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "GetBackupSchedule" }, + "description": "GetBackupSchedule gets information about a backup schedule.", + "file": "FirestoreAdminClient/GetBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetBackupSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetBackupSchedule Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetDatabase_sync", - "title": "firestore GetDatabase Sample", - "description": "GetDatabase gets information about a database.", - "file": "FirestoreAdminClient/GetDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatabase", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetDatabase", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetDatabase", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "GetDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetDatabaseRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Database", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetDatabase", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetDatabase", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "GetDatabase" }, + "description": "GetDatabase gets information about a database.", + "file": "FirestoreAdminClient/GetDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetDatabase Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetField_sync", - "title": "firestore GetField Sample", - "description": "GetField gets the metadata and configuration for a Field.", - "file": "FirestoreAdminClient/GetField/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetField", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetField", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetField", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "GetField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetFieldRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Field", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetField", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetField", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "GetField" }, + "description": "GetField gets the metadata and configuration for a Field.", + "file": "FirestoreAdminClient/GetField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetField_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetField Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetIndex_sync", - "title": "firestore GetIndex Sample", - "description": "GetIndex gets a composite index.", - "file": "FirestoreAdminClient/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetIndex", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetIndex", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.Index", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetIndex", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets a composite index.", + "file": "FirestoreAdminClient/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetIndex Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetOperation_sync", - "title": "firestore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FirestoreAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FirestoreAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetOperation Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_GetUserCreds_sync", - "title": "firestore GetUserCreds Sample", - "description": "GetUserCreds gets a user creds resource. Note that the returned resource does not\ncontain the secret value itself.", - "file": "FirestoreAdminClient/GetUserCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserCreds", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.GetUserCreds", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetUserCreds", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "GetUserCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.GetUserCredsRequest", - "name": "req" + "name": "req", + "type": "adminpb.GetUserCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.UserCreds", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "GetUserCreds", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetUserCreds", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "GetUserCreds" }, + "description": "GetUserCreds gets a user creds resource. Note that the returned resource does not\ncontain the secret value itself.", + "file": "FirestoreAdminClient/GetUserCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_GetUserCreds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetUserCreds Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ImportDocuments_sync", - "title": "firestore ImportDocuments Sample", - "description": "ImportDocuments imports documents into Google Cloud Firestore. Existing documents with the\nsame name are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportDocuments operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Firestore.", - "file": "FirestoreAdminClient/ImportDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDocuments", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ImportDocuments", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ImportDocuments", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ImportDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ImportDocumentsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ImportDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDocumentsOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ImportDocuments", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ImportDocuments" }, + "description": "ImportDocuments imports documents into Google Cloud Firestore. Existing documents with the\nsame name are overwritten. The import occurs in the background and its\nprogress can be monitored and managed via the Operation resource that is\ncreated. If an ImportDocuments operation is cancelled, it is possible\nthat a subset of the data has already been imported to Cloud Firestore.", + "file": "FirestoreAdminClient/ImportDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ImportDocuments_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ImportDocuments Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListBackupSchedules_sync", - "title": "firestore ListBackupSchedules Sample", - "description": "ListBackupSchedules list backup schedules.", - "file": "FirestoreAdminClient/ListBackupSchedules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupSchedules", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListBackupSchedules", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListBackupSchedules", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ListBackupSchedules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListBackupSchedulesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListBackupSchedulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ListBackupSchedulesResponse", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListBackupSchedules", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListBackupSchedules", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ListBackupSchedules" }, + "description": "ListBackupSchedules list backup schedules.", + "file": "FirestoreAdminClient/ListBackupSchedules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListBackupSchedules_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListBackupSchedules Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListBackups_sync", - "title": "firestore ListBackups Sample", - "description": "ListBackups lists all the backups.", - "file": "FirestoreAdminClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListBackups", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListBackups", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ListBackupsResponse", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListBackups", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists all the backups.", + "file": "FirestoreAdminClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListBackups_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListBackups Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListDatabases_sync", - "title": "firestore ListDatabases Sample", - "description": "ListDatabases list all the databases in the project.", - "file": "FirestoreAdminClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListDatabases", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListDatabases", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ListDatabasesResponse", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListDatabases", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ListDatabases" }, + "description": "ListDatabases list all the databases in the project.", + "file": "FirestoreAdminClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListDatabases_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListDatabases Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListFields_sync", - "title": "firestore ListFields Sample", - "description": "ListFields lists the field configuration and metadata for this database.\n\nCurrently,\n[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]\nonly supports listing fields that have been explicitly overridden. To issue\nthis query, call\n[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]\nwith the filter set to `indexConfig.usesAncestorConfig: false` or\n`ttlConfig: *`.", - "file": "FirestoreAdminClient/ListFields/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFields", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListFields", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListFields", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ListFields" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListFieldsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListFieldsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FieldIterator", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListFields", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListFields", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ListFields" }, + "description": "ListFields lists the field configuration and metadata for this database.\n\nCurrently,\n[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]\nonly supports listing fields that have been explicitly overridden. To issue\nthis query, call\n[FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]\nwith the filter set to `indexConfig.usesAncestorConfig: false` or\n`ttlConfig: *`.", + "file": "FirestoreAdminClient/ListFields/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListFields_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListFields Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListIndexes_sync", - "title": "firestore ListIndexes Sample", - "description": "ListIndexes lists composite indexes.", - "file": "FirestoreAdminClient/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListIndexes", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListIndexes", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexIterator", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListIndexes", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ListIndexes" }, + "description": "ListIndexes lists composite indexes.", + "file": "FirestoreAdminClient/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListIndexes Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListOperations_sync", - "title": "firestore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FirestoreAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FirestoreAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListOperations Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ListUserCreds_sync", - "title": "firestore ListUserCreds Sample", - "description": "ListUserCreds list all user creds in the database. Note that the returned resource\ndoes not contain the secret value itself.", - "file": "FirestoreAdminClient/ListUserCreds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserCreds", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ListUserCreds", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListUserCreds", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ListUserCreds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ListUserCredsRequest", - "name": "req" + "name": "req", + "type": "adminpb.ListUserCredsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.ListUserCredsResponse", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ListUserCreds", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListUserCreds", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ListUserCreds" }, + "description": "ListUserCreds list all user creds in the database. Note that the returned resource\ndoes not contain the secret value itself.", + "file": "FirestoreAdminClient/ListUserCreds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ListUserCreds_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListUserCreds Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_ResetUserPassword_sync", - "title": "firestore ResetUserPassword Sample", - "description": "ResetUserPassword resets the password of a user creds.", - "file": "FirestoreAdminClient/ResetUserPassword/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetUserPassword", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.ResetUserPassword", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ResetUserPassword", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "ResetUserPassword" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.ResetUserPasswordRequest", - "name": "req" + "name": "req", + "type": "adminpb.ResetUserPasswordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.UserCreds", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "ResetUserPassword", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.ResetUserPassword", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "ResetUserPassword" }, + "description": "ResetUserPassword resets the password of a user creds.", + "file": "FirestoreAdminClient/ResetUserPassword/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_ResetUserPassword_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ResetUserPassword Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_RestoreDatabase_sync", - "title": "firestore RestoreDatabase Sample", - "description": "RestoreDatabase creates a new database by restoring from an existing backup.\n\nThe new database must be in the same cloud region or multi-region location\nas the existing backup. This behaves similar to\n[FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase]\nexcept instead of creating a new empty database, a new database is created\nwith the database type, index configuration, and documents from an existing\nbackup.\n\nThe [long-running operation][google.longrunning.Operation] can be used to\ntrack the progress of the restore, with the Operation's\n[metadata][google.longrunning.Operation.metadata] field type being the\n[RestoreDatabaseMetadata][google.firestore.admin.v1.RestoreDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] type is the\n[Database][google.firestore.admin.v1.Database] if the restore was\nsuccessful. The new database is not readable or writeable until the LRO has\ncompleted.", - "file": "FirestoreAdminClient/RestoreDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreDatabase", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.RestoreDatabase", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.RestoreDatabase", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "RestoreDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.RestoreDatabaseRequest", - "name": "req" + "name": "req", + "type": "adminpb.RestoreDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreDatabaseOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "RestoreDatabase", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.RestoreDatabase", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "RestoreDatabase" }, + "description": "RestoreDatabase creates a new database by restoring from an existing backup.\n\nThe new database must be in the same cloud region or multi-region location\nas the existing backup. This behaves similar to\n[FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase]\nexcept instead of creating a new empty database, a new database is created\nwith the database type, index configuration, and documents from an existing\nbackup.\n\nThe [long-running operation][google.longrunning.Operation] can be used to\ntrack the progress of the restore, with the Operation's\n[metadata][google.longrunning.Operation.metadata] field type being the\n[RestoreDatabaseMetadata][google.firestore.admin.v1.RestoreDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] type is the\n[Database][google.firestore.admin.v1.Database] if the restore was\nsuccessful. The new database is not readable or writeable until the LRO has\ncompleted.", + "file": "FirestoreAdminClient/RestoreDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_RestoreDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore RestoreDatabase Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_UpdateBackupSchedule_sync", - "title": "firestore UpdateBackupSchedule Sample", - "description": "UpdateBackupSchedule updates a backup schedule.", - "file": "FirestoreAdminClient/UpdateBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupSchedule", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.UpdateBackupSchedule", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateBackupSchedule", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "UpdateBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adminpb.BackupSchedule", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "UpdateBackupSchedule", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateBackupSchedule", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "UpdateBackupSchedule" }, + "description": "UpdateBackupSchedule updates a backup schedule.", + "file": "FirestoreAdminClient/UpdateBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_UpdateBackupSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore UpdateBackupSchedule Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_UpdateDatabase_sync", - "title": "firestore UpdateDatabase Sample", - "description": "UpdateDatabase updates a database.", - "file": "FirestoreAdminClient/UpdateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatabase", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.UpdateDatabase", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "UpdateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateDatabaseRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDatabaseOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "UpdateDatabase", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "UpdateDatabase" }, + "description": "UpdateDatabase updates a database.", + "file": "FirestoreAdminClient/UpdateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_UpdateDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore UpdateDatabase Sample" }, { - "regionTag": "firestore_v1_generated_FirestoreAdmin_UpdateField_sync", - "title": "firestore UpdateField Sample", - "description": "UpdateField updates a field configuration. Currently, field updates apply only to\nsingle field index configuration. However, calls to\n[FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]\nshould provide a field mask to avoid changing any configuration that the\ncaller isn't aware of. The field mask should be specified as: `{ paths: \n\"index_config\" }`.\n\nThis call returns a\n[google.longrunning.Operation][google.longrunning.Operation] which may be\nused to track the status of the field update. The metadata for the\noperation will be the type\n[FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].\n\nTo configure the default field settings for the database, use\nthe special `Field` with resource name: \n`projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.", - "file": "FirestoreAdminClient/UpdateField/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateField", + "client": { + "fullName": "google.firestore.admin.v1.FirestoreAdminClient", + "shortName": "FirestoreAdminClient" + }, "fullName": "google.firestore.admin.v1.FirestoreAdminClient.UpdateField", + "method": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateField", + "service": { + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "shortName": "FirestoreAdmin" + }, + "shortName": "UpdateField" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adminpb.UpdateFieldRequest", - "name": "req" + "name": "req", + "type": "adminpb.UpdateFieldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFieldOperation", - "client": { - "shortName": "FirestoreAdminClient", - "fullName": "google.firestore.admin.v1.FirestoreAdminClient" - }, - "method": { - "shortName": "UpdateField", - "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateField", - "service": { - "shortName": "FirestoreAdmin", - "fullName": "google.firestore.admin.v1.FirestoreAdmin" - } - } + "shortName": "UpdateField" }, + "description": "UpdateField updates a field configuration. Currently, field updates apply only to\nsingle field index configuration. However, calls to\n[FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]\nshould provide a field mask to avoid changing any configuration that the\ncaller isn't aware of. The field mask should be specified as: `{ paths: \n\"index_config\" }`.\n\nThis call returns a\n[google.longrunning.Operation][google.longrunning.Operation] which may be\nused to track the status of the field update. The metadata for the\noperation will be the type\n[FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].\n\nTo configure the default field settings for the database, use\nthe special `Field` with resource name: \n`projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.", + "file": "FirestoreAdminClient/UpdateField/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_FirestoreAdmin_UpdateField_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore UpdateField Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json b/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json index 48d905f5dcba..799de7e45635 100644 --- a/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json +++ b/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json @@ -1,785 +1,785 @@ { "clientLibrary": { - "name": "cloud.google.com/go/firestore/apiv1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.firestore.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/firestore/apiv1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "firestore_v1_generated_Firestore_BatchWrite_sync", - "title": "firestore BatchWrite Sample", - "description": "BatchWrite applies a batch of write operations.\n\nThe BatchWrite method does not apply the write operations atomically\nand can apply them out of order. Method does not allow more than one write\nper document. Each write succeeds or fails independently. See the\n[BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the\nsuccess status of each write.\n\nIf you require an atomically applied set of writes, use\n[Commit][google.firestore.v1.Firestore.Commit] instead.", - "file": "Client/BatchWrite/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchWrite", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.BatchWrite", + "method": { + "fullName": "google.firestore.v1.Firestore.BatchWrite", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "BatchWrite" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.BatchWriteRequest", - "name": "req" + "name": "req", + "type": "firestorepb.BatchWriteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*firestorepb.BatchWriteResponse", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "BatchWrite", - "fullName": "google.firestore.v1.Firestore.BatchWrite", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "BatchWrite" }, + "description": "BatchWrite applies a batch of write operations.\n\nThe BatchWrite method does not apply the write operations atomically\nand can apply them out of order. Method does not allow more than one write\nper document. Each write succeeds or fails independently. See the\n[BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the\nsuccess status of each write.\n\nIf you require an atomically applied set of writes, use\n[Commit][google.firestore.v1.Firestore.Commit] instead.", + "file": "Client/BatchWrite/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_BatchWrite_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore BatchWrite Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_BeginTransaction_sync", - "title": "firestore BeginTransaction Sample", - "description": "BeginTransaction starts a new transaction.", - "file": "Client/BeginTransaction/main.go", - "language": "GO", "clientMethod": { - "shortName": "BeginTransaction", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.BeginTransaction", + "method": { + "fullName": "google.firestore.v1.Firestore.BeginTransaction", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "BeginTransaction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.BeginTransactionRequest", - "name": "req" + "name": "req", + "type": "firestorepb.BeginTransactionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*firestorepb.BeginTransactionResponse", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "BeginTransaction", - "fullName": "google.firestore.v1.Firestore.BeginTransaction", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "BeginTransaction" }, + "description": "BeginTransaction starts a new transaction.", + "file": "Client/BeginTransaction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_BeginTransaction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore BeginTransaction Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_CancelOperation_sync", - "title": "firestore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CancelOperation Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_Commit_sync", - "title": "firestore Commit Sample", - "description": "Commit commits a transaction, while optionally updating documents.", - "file": "Client/Commit/main.go", - "language": "GO", "clientMethod": { - "shortName": "Commit", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.Commit", + "method": { + "fullName": "google.firestore.v1.Firestore.Commit", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "Commit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.CommitRequest", - "name": "req" + "name": "req", + "type": "firestorepb.CommitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*firestorepb.CommitResponse", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "Commit", - "fullName": "google.firestore.v1.Firestore.Commit", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "Commit" }, + "description": "Commit commits a transaction, while optionally updating documents.", + "file": "Client/Commit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_Commit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore Commit Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_CreateDocument_sync", - "title": "firestore CreateDocument Sample", - "description": "CreateDocument creates a new document.", - "file": "Client/CreateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDocument", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.CreateDocument", + "method": { + "fullName": "google.firestore.v1.Firestore.CreateDocument", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "CreateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.CreateDocumentRequest", - "name": "req" + "name": "req", + "type": "firestorepb.CreateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*firestorepb.Document", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.firestore.v1.Firestore.CreateDocument", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "CreateDocument" }, + "description": "CreateDocument creates a new document.", + "file": "Client/CreateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_CreateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore CreateDocument Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_DeleteDocument_sync", - "title": "firestore DeleteDocument Sample", - "description": "DeleteDocument deletes a document.", - "file": "Client/DeleteDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDocument", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.DeleteDocument", + "method": { + "fullName": "google.firestore.v1.Firestore.DeleteDocument", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "DeleteDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.DeleteDocumentRequest", - "name": "req" + "name": "req", + "type": "firestorepb.DeleteDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.firestore.v1.Firestore.DeleteDocument", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "DeleteDocument" }, + "description": "DeleteDocument deletes a document.", + "file": "Client/DeleteDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_DeleteDocument_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteDocument Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_DeleteOperation_sync", - "title": "firestore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore DeleteOperation Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_GetDocument_sync", - "title": "firestore GetDocument Sample", - "description": "GetDocument gets a single document.", - "file": "Client/GetDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDocument", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.GetDocument", + "method": { + "fullName": "google.firestore.v1.Firestore.GetDocument", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "GetDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.GetDocumentRequest", - "name": "req" + "name": "req", + "type": "firestorepb.GetDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*firestorepb.Document", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.firestore.v1.Firestore.GetDocument", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "GetDocument" }, + "description": "GetDocument gets a single document.", + "file": "Client/GetDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_GetDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetDocument Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_GetOperation_sync", - "title": "firestore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore GetOperation Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_ListCollectionIds_sync", - "title": "firestore ListCollectionIds Sample", - "description": "ListCollectionIds lists all the collection IDs underneath a document.", - "file": "Client/ListCollectionIds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCollectionIds", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.ListCollectionIds", + "method": { + "fullName": "google.firestore.v1.Firestore.ListCollectionIds", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "ListCollectionIds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.ListCollectionIdsRequest", - "name": "req" + "name": "req", + "type": "firestorepb.ListCollectionIdsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "ListCollectionIds", - "fullName": "google.firestore.v1.Firestore.ListCollectionIds", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "ListCollectionIds" }, + "description": "ListCollectionIds lists all the collection IDs underneath a document.", + "file": "Client/ListCollectionIds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_ListCollectionIds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListCollectionIds Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_ListDocuments_sync", - "title": "firestore ListDocuments Sample", - "description": "ListDocuments lists documents.", - "file": "Client/ListDocuments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDocuments", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.ListDocuments", + "method": { + "fullName": "google.firestore.v1.Firestore.ListDocuments", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "ListDocuments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.ListDocumentsRequest", - "name": "req" + "name": "req", + "type": "firestorepb.ListDocumentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DocumentIterator", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.firestore.v1.Firestore.ListDocuments", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "ListDocuments" }, + "description": "ListDocuments lists documents.", + "file": "Client/ListDocuments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_ListDocuments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListDocuments Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_ListOperations_sync", - "title": "firestore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore ListOperations Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_Listen_sync", - "title": "firestore Listen Sample", - "description": "Listen listens to changes. This method is only available via gRPC or WebChannel\n(not REST).\n\n\nThis method is not supported for the REST transport.", - "file": "Client/Listen/main.go", - "language": "GO", "clientMethod": { - "shortName": "Listen", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.Listen", + "method": { + "fullName": "google.firestore.v1.Firestore.Listen", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "Listen" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "firestorepb.Firestore_ListenClient", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "Listen", - "fullName": "google.firestore.v1.Firestore.Listen", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "Listen" }, + "description": "Listen listens to changes. This method is only available via gRPC or WebChannel\n(not REST).\n\n\nThis method is not supported for the REST transport.", + "file": "Client/Listen/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_Listen_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore Listen Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_PartitionQuery_sync", - "title": "firestore PartitionQuery Sample", - "description": "PartitionQuery partitions a query by returning partition cursors that can be used to run\nthe query in parallel. The returned partition cursors are split points that\ncan be used by RunQuery as starting/end points for the query results.", - "file": "Client/PartitionQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "PartitionQuery", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.PartitionQuery", + "method": { + "fullName": "google.firestore.v1.Firestore.PartitionQuery", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "PartitionQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.PartitionQueryRequest", - "name": "req" + "name": "req", + "type": "firestorepb.PartitionQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CursorIterator", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "PartitionQuery", - "fullName": "google.firestore.v1.Firestore.PartitionQuery", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "PartitionQuery" }, + "description": "PartitionQuery partitions a query by returning partition cursors that can be used to run\nthe query in parallel. The returned partition cursors are split points that\ncan be used by RunQuery as starting/end points for the query results.", + "file": "Client/PartitionQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_PartitionQuery_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore PartitionQuery Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_Rollback_sync", - "title": "firestore Rollback Sample", - "description": "Rollback rolls back a transaction.", - "file": "Client/Rollback/main.go", - "language": "GO", "clientMethod": { - "shortName": "Rollback", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.Rollback", + "method": { + "fullName": "google.firestore.v1.Firestore.Rollback", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "Rollback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.RollbackRequest", - "name": "req" + "name": "req", + "type": "firestorepb.RollbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "Rollback", - "fullName": "google.firestore.v1.Firestore.Rollback", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "Rollback" }, + "description": "Rollback rolls back a transaction.", + "file": "Client/Rollback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_Rollback_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore Rollback Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_UpdateDocument_sync", - "title": "firestore UpdateDocument Sample", - "description": "UpdateDocument updates or inserts a document.", - "file": "Client/UpdateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDocument", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.UpdateDocument", + "method": { + "fullName": "google.firestore.v1.Firestore.UpdateDocument", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "UpdateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "firestorepb.UpdateDocumentRequest", - "name": "req" + "name": "req", + "type": "firestorepb.UpdateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*firestorepb.Document", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.firestore.v1.Firestore.UpdateDocument", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "UpdateDocument" }, + "description": "UpdateDocument updates or inserts a document.", + "file": "Client/UpdateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_UpdateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore UpdateDocument Sample" }, { - "regionTag": "firestore_v1_generated_Firestore_Write_sync", - "title": "firestore Write Sample", - "description": "Write streams batches of document updates and deletes, in order. This method is\nonly available via gRPC or WebChannel (not REST).\n\n\nThis method is not supported for the REST transport.", - "file": "Client/Write/main.go", - "language": "GO", "clientMethod": { - "shortName": "Write", + "client": { + "fullName": "google.firestore.v1.Client", + "shortName": "Client" + }, "fullName": "google.firestore.v1.Client.Write", + "method": { + "fullName": "google.firestore.v1.Firestore.Write", + "service": { + "fullName": "google.firestore.v1.Firestore", + "shortName": "Firestore" + }, + "shortName": "Write" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "firestorepb.Firestore_WriteClient", - "client": { - "shortName": "Client", - "fullName": "google.firestore.v1.Client" - }, - "method": { - "shortName": "Write", - "fullName": "google.firestore.v1.Firestore.Write", - "service": { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore" - } - } + "shortName": "Write" }, + "description": "Write streams batches of document updates and deletes, in order. This method is\nonly available via gRPC or WebChannel (not REST).\n\n\nThis method is not supported for the REST transport.", + "file": "Client/Write/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "firestore_v1_generated_Firestore_Write_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "firestore Write Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json b/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json index 84683f27efc4..98b3fedcf882 100644 --- a/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json +++ b/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/functions/apiv1", - "version": "1.19.7", - "language": "GO", "apis": [ { "id": "google.cloud.functions.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/functions/apiv1", + "version": "1.19.7" }, "snippets": [ { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_CallFunction_sync", - "title": "cloudfunctions CallFunction Sample", - "description": "CallFunction synchronously invokes a deployed Cloud Function. To be used for testing\npurposes as very limited traffic is allowed. For more information on\nthe actual limits, refer to\n[Rate Limits](https: //cloud.google.com/functions/quotas#rate_limits).", - "file": "CloudFunctionsClient/CallFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "CallFunction", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.CallFunction", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.CallFunction", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "CallFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.CallFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.CallFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.CallFunctionResponse", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "CallFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.CallFunction", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "CallFunction" }, + "description": "CallFunction synchronously invokes a deployed Cloud Function. To be used for testing\npurposes as very limited traffic is allowed. For more information on\nthe actual limits, refer to\n[Rate Limits](https: //cloud.google.com/functions/quotas#rate_limits).", + "file": "CloudFunctionsClient/CallFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_CallFunction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions CallFunction Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_CreateFunction_sync", - "title": "cloudfunctions CreateFunction Sample", - "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", - "file": "CloudFunctionsClient/CreateFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFunction", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.CreateFunction", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.CreateFunction", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "CreateFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.CreateFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.CreateFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFunctionOperation", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.CreateFunction", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "CreateFunction" }, + "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", + "file": "CloudFunctionsClient/CreateFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_CreateFunction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions CreateFunction Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_DeleteFunction_sync", - "title": "cloudfunctions DeleteFunction Sample", - "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", - "file": "CloudFunctionsClient/DeleteFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFunction", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.DeleteFunction", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.DeleteFunction", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "DeleteFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.DeleteFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.DeleteFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFunctionOperation", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.DeleteFunction", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "DeleteFunction" }, + "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", + "file": "CloudFunctionsClient/DeleteFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_DeleteFunction_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions DeleteFunction Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GenerateDownloadUrl_sync", - "title": "cloudfunctions GenerateDownloadUrl Sample", - "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\nminutes after generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls", - "file": "CloudFunctionsClient/GenerateDownloadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateDownloadUrl", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.GenerateDownloadUrl", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "GenerateDownloadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GenerateDownloadUrlRequest", - "name": "req" + "name": "req", + "type": "functionspb.GenerateDownloadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.GenerateDownloadUrlResponse", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "GenerateDownloadUrl" }, + "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\nminutes after generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls", + "file": "CloudFunctionsClient/GenerateDownloadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GenerateDownloadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GenerateDownloadUrl Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GenerateUploadUrl_sync", - "title": "cloudfunctions GenerateUploadUrl Sample", - "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls.\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n* Source file type should be a zip file.\n* Source file size should not exceed 100MB limit.\n* No credentials should be attached - the signed URLs provide access to the\ntarget bucket using internal service identity; if credentials were\nattached, the identity from the credentials would be used, but that\nidentity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, these two headers need to be specified: \n\n* `content-type: application/zip`\n* `x-goog-content-length-range: 0,104857600`\n\nAnd this header SHOULD NOT be specified: \n\n* `Authorization: Bearer YOUR_TOKEN`", - "file": "CloudFunctionsClient/GenerateUploadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateUploadUrl", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.GenerateUploadUrl", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "GenerateUploadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GenerateUploadUrlRequest", - "name": "req" + "name": "req", + "type": "functionspb.GenerateUploadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.GenerateUploadUrlResponse", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "GenerateUploadUrl" }, + "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls.\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n* Source file type should be a zip file.\n* Source file size should not exceed 100MB limit.\n* No credentials should be attached - the signed URLs provide access to the\ntarget bucket using internal service identity; if credentials were\nattached, the identity from the credentials would be used, but that\nidentity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, these two headers need to be specified: \n\n* `content-type: application/zip`\n* `x-goog-content-length-range: 0,104857600`\n\nAnd this header SHOULD NOT be specified: \n\n* `Authorization: Bearer YOUR_TOKEN`", + "file": "CloudFunctionsClient/GenerateUploadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GenerateUploadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GenerateUploadUrl Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GetFunction_sync", - "title": "cloudfunctions GetFunction Sample", - "description": "GetFunction returns a function with the given name from the requested project.", - "file": "CloudFunctionsClient/GetFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFunction", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.GetFunction", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetFunction", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "GetFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GetFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.GetFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.CloudFunction", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetFunction", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "GetFunction" }, + "description": "GetFunction returns a function with the given name from the requested project.", + "file": "CloudFunctionsClient/GetFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GetFunction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetFunction Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GetIamPolicy_sync", - "title": "cloudfunctions GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM access control policy for a function.\nReturns an empty policy if the function exists and does not have a policy\nset.", - "file": "CloudFunctionsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM access control policy for a function.\nReturns an empty policy if the function exists and does not have a policy\nset.", + "file": "CloudFunctionsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetIamPolicy Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GetOperation_sync", - "title": "cloudfunctions GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudFunctionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudFunctionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetOperation Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_ListFunctions_sync", - "title": "cloudfunctions ListFunctions Sample", - "description": "ListFunctions returns a list of functions that belong to the requested project.", - "file": "CloudFunctionsClient/ListFunctions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFunctions", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.ListFunctions", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.ListFunctions", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "ListFunctions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.ListFunctionsRequest", - "name": "req" + "name": "req", + "type": "functionspb.ListFunctionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudFunctionIterator", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.ListFunctions", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "ListFunctions" }, + "description": "ListFunctions returns a list of functions that belong to the requested project.", + "file": "CloudFunctionsClient/ListFunctions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_ListFunctions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListFunctions Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_sync", - "title": "cloudfunctions ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudFunctionsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudFunctionsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListLocations Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_ListOperations_sync", - "title": "cloudfunctions ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudFunctionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudFunctionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListOperations Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_SetIamPolicy_sync", - "title": "cloudfunctions SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM access control policy on the specified function.\nReplaces any existing policy.", - "file": "CloudFunctionsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM access control policy on the specified function.\nReplaces any existing policy.", + "file": "CloudFunctionsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions SetIamPolicy Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_TestIamPermissions_sync", - "title": "cloudfunctions TestIamPermissions Sample", - "description": "TestIamPermissions tests the specified permissions against the IAM access control policy\nfor a function.\nIf the function does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.", - "file": "CloudFunctionsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.TestIamPermissions", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.TestIamPermissions", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests the specified permissions against the IAM access control policy\nfor a function.\nIf the function does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.", + "file": "CloudFunctionsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions TestIamPermissions Sample" }, { - "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_UpdateFunction_sync", - "title": "cloudfunctions UpdateFunction Sample", - "description": "UpdateFunction updates existing function.", - "file": "CloudFunctionsClient/UpdateFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFunction", + "client": { + "fullName": "google.cloud.functions.v1.CloudFunctionsClient", + "shortName": "CloudFunctionsClient" + }, "fullName": "google.cloud.functions.v1.CloudFunctionsClient.UpdateFunction", + "method": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService.UpdateFunction", + "service": { + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "CloudFunctionsService" + }, + "shortName": "UpdateFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.UpdateFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.UpdateFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFunctionOperation", - "client": { - "shortName": "CloudFunctionsClient", - "fullName": "google.cloud.functions.v1.CloudFunctionsClient" - }, - "method": { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.UpdateFunction", - "service": { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService" - } - } + "shortName": "UpdateFunction" }, + "description": "UpdateFunction updates existing function.", + "file": "CloudFunctionsClient/UpdateFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v1_generated_CloudFunctionsService_UpdateFunction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions UpdateFunction Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json b/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json index 24adbc46e2e0..501fa41c0713 100644 --- a/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json +++ b/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/functions/apiv2", - "version": "1.19.7", - "language": "GO", "apis": [ { "id": "google.cloud.functions.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/functions/apiv2", + "version": "1.19.7" }, "snippets": [ { - "regionTag": "cloudfunctions_v2_generated_FunctionService_CreateFunction_sync", - "title": "cloudfunctions CreateFunction Sample", - "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", - "file": "FunctionClient/CreateFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFunction", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.CreateFunction", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.CreateFunction", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "CreateFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.CreateFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.CreateFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFunctionOperation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v2.FunctionService.CreateFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "CreateFunction" }, + "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", + "file": "FunctionClient/CreateFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_CreateFunction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions CreateFunction Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_DeleteFunction_sync", - "title": "cloudfunctions DeleteFunction Sample", - "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", - "file": "FunctionClient/DeleteFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFunction", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.DeleteFunction", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.DeleteFunction", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "DeleteFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.DeleteFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.DeleteFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFunctionOperation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v2.FunctionService.DeleteFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "DeleteFunction" }, + "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", + "file": "FunctionClient/DeleteFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_DeleteFunction_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions DeleteFunction Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_GenerateDownloadUrl_sync", - "title": "cloudfunctions GenerateDownloadUrl Sample", - "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\n30 minutes of generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls", - "file": "FunctionClient/GenerateDownloadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateDownloadUrl", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.GenerateDownloadUrl", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.GenerateDownloadUrl", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "GenerateDownloadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GenerateDownloadUrlRequest", - "name": "req" + "name": "req", + "type": "functionspb.GenerateDownloadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.GenerateDownloadUrlResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v2.FunctionService.GenerateDownloadUrl", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "GenerateDownloadUrl" }, + "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\n30 minutes of generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls", + "file": "FunctionClient/GenerateDownloadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_GenerateDownloadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GenerateDownloadUrl Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_GenerateUploadUrl_sync", - "title": "cloudfunctions GenerateUploadUrl Sample", - "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls.\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n* Source file type should be a zip file.\n* No credentials should be attached - the signed URLs provide access to the\ntarget bucket using internal service identity; if credentials were\nattached, the identity from the credentials would be used, but that\nidentity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, specify this header: \n\n* `content-type: application/zip`\n\nDo not specify this header: \n\n* `Authorization: Bearer YOUR_TOKEN`", - "file": "FunctionClient/GenerateUploadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateUploadUrl", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.GenerateUploadUrl", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.GenerateUploadUrl", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "GenerateUploadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GenerateUploadUrlRequest", - "name": "req" + "name": "req", + "type": "functionspb.GenerateUploadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.GenerateUploadUrlResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v2.FunctionService.GenerateUploadUrl", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "GenerateUploadUrl" }, + "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls.\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n* Source file type should be a zip file.\n* No credentials should be attached - the signed URLs provide access to the\ntarget bucket using internal service identity; if credentials were\nattached, the identity from the credentials would be used, but that\nidentity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, specify this header: \n\n* `content-type: application/zip`\n\nDo not specify this header: \n\n* `Authorization: Bearer YOUR_TOKEN`", + "file": "FunctionClient/GenerateUploadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_GenerateUploadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GenerateUploadUrl Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_GetFunction_sync", - "title": "cloudfunctions GetFunction Sample", - "description": "GetFunction returns a function with the given name from the requested project.", - "file": "FunctionClient/GetFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFunction", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.GetFunction", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.GetFunction", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "GetFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GetFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.GetFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.Function", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v2.FunctionService.GetFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "GetFunction" }, + "description": "GetFunction returns a function with the given name from the requested project.", + "file": "FunctionClient/GetFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_GetFunction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetFunction Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_GetIamPolicy_sync", - "title": "cloudfunctions 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": "FunctionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FunctionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetIamPolicy Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_GetOperation_sync", - "title": "cloudfunctions GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FunctionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FunctionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetOperation Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_ListFunctions_sync", - "title": "cloudfunctions ListFunctions Sample", - "description": "ListFunctions returns a list of functions that belong to the requested project.", - "file": "FunctionClient/ListFunctions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFunctions", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.ListFunctions", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.ListFunctions", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "ListFunctions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.ListFunctionsRequest", - "name": "req" + "name": "req", + "type": "functionspb.ListFunctionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FunctionIterator", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v2.FunctionService.ListFunctions", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "ListFunctions" }, + "description": "ListFunctions returns a list of functions that belong to the requested project.", + "file": "FunctionClient/ListFunctions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_ListFunctions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListFunctions Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_ListLocations_sync", - "title": "cloudfunctions ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FunctionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FunctionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListLocations Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_ListOperations_sync", - "title": "cloudfunctions ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FunctionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FunctionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListOperations Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_ListRuntimes_sync", - "title": "cloudfunctions ListRuntimes Sample", - "description": "ListRuntimes returns a list of runtimes that are supported for the requested project.", - "file": "FunctionClient/ListRuntimes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuntimes", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.ListRuntimes", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.ListRuntimes", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "ListRuntimes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.ListRuntimesRequest", - "name": "req" + "name": "req", + "type": "functionspb.ListRuntimesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.ListRuntimesResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "ListRuntimes", - "fullName": "google.cloud.functions.v2.FunctionService.ListRuntimes", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "ListRuntimes" }, + "description": "ListRuntimes returns a list of runtimes that are supported for the requested project.", + "file": "FunctionClient/ListRuntimes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_ListRuntimes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListRuntimes Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_SetIamPolicy_sync", - "title": "cloudfunctions 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": "FunctionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FunctionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions SetIamPolicy Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_TestIamPermissions_sync", - "title": "cloudfunctions 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": "FunctionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FunctionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions TestIamPermissions Sample" }, { - "regionTag": "cloudfunctions_v2_generated_FunctionService_UpdateFunction_sync", - "title": "cloudfunctions UpdateFunction Sample", - "description": "UpdateFunction updates existing function.", - "file": "FunctionClient/UpdateFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFunction", + "client": { + "fullName": "google.cloud.functions.v2.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2.FunctionClient.UpdateFunction", + "method": { + "fullName": "google.cloud.functions.v2.FunctionService.UpdateFunction", + "service": { + "fullName": "google.cloud.functions.v2.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "UpdateFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.UpdateFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.UpdateFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFunctionOperation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2.FunctionClient" - }, - "method": { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v2.FunctionService.UpdateFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService" - } - } + "shortName": "UpdateFunction" }, + "description": "UpdateFunction updates existing function.", + "file": "FunctionClient/UpdateFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2_generated_FunctionService_UpdateFunction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions UpdateFunction Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json index 0f704084f541..9843ec6bf485 100644 --- a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json +++ b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/functions/apiv2beta", - "version": "1.19.7", - "language": "GO", "apis": [ { "id": "google.cloud.functions.v2beta", "version": "v2beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/functions/apiv2beta", + "version": "1.19.7" }, "snippets": [ { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_CreateFunction_sync", - "title": "cloudfunctions CreateFunction Sample", - "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", - "file": "FunctionClient/CreateFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFunction", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.CreateFunction", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.CreateFunction", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "CreateFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.CreateFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.CreateFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFunctionOperation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.CreateFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "CreateFunction" }, + "description": "CreateFunction creates a new function. If a function with the given name already exists in\nthe specified project, the long running operation will return\n`ALREADY_EXISTS` error.", + "file": "FunctionClient/CreateFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_CreateFunction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions CreateFunction Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_DeleteFunction_sync", - "title": "cloudfunctions DeleteFunction Sample", - "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", - "file": "FunctionClient/DeleteFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFunction", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.DeleteFunction", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.DeleteFunction", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "DeleteFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.DeleteFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.DeleteFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFunctionOperation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.DeleteFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "DeleteFunction" }, + "description": "DeleteFunction deletes a function with the given name from the specified project. If the\ngiven function is used by some trigger, the trigger will be updated to\nremove this function.", + "file": "FunctionClient/DeleteFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_DeleteFunction_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions DeleteFunction Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GenerateDownloadUrl_sync", - "title": "cloudfunctions GenerateDownloadUrl Sample", - "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\n30 minutes of generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls", - "file": "FunctionClient/GenerateDownloadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateDownloadUrl", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.GenerateDownloadUrl", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "GenerateDownloadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GenerateDownloadUrlRequest", - "name": "req" + "name": "req", + "type": "functionspb.GenerateDownloadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.GenerateDownloadUrlResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "GenerateDownloadUrl" }, + "description": "GenerateDownloadUrl returns a signed URL for downloading deployed function source code.\nThe URL is only valid for a limited period and should be used within\n30 minutes of generation.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls", + "file": "FunctionClient/GenerateDownloadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GenerateDownloadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GenerateDownloadUrl Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GenerateUploadUrl_sync", - "title": "cloudfunctions GenerateUploadUrl Sample", - "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls.\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n* Source file type should be a zip file.\n* No credentials should be attached - the signed URLs provide access to the\ntarget bucket using internal service identity; if credentials were\nattached, the identity from the credentials would be used, but that\nidentity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, specify this header: \n\n* `content-type: application/zip`\n\nDo not specify this header: \n\n* `Authorization: Bearer YOUR_TOKEN`", - "file": "FunctionClient/GenerateUploadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateUploadUrl", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.GenerateUploadUrl", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "GenerateUploadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GenerateUploadUrlRequest", - "name": "req" + "name": "req", + "type": "functionspb.GenerateUploadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.GenerateUploadUrlResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "GenerateUploadUrl" }, + "description": "GenerateUploadUrl returns a signed URL for uploading a function source code.\nFor more information about the signed URL usage see: \nhttps: //cloud.google.com/storage/docs/access-control/signed-urls.\nOnce the function source code upload is complete, the used signed\nURL should be provided in CreateFunction or UpdateFunction request\nas a reference to the function source code.\n\nWhen uploading source code to the generated signed URL, please follow\nthese restrictions: \n\n* Source file type should be a zip file.\n* No credentials should be attached - the signed URLs provide access to the\ntarget bucket using internal service identity; if credentials were\nattached, the identity from the credentials would be used, but that\nidentity does not have permissions to upload files to the URL.\n\nWhen making a HTTP PUT request, specify this header: \n\n* `content-type: application/zip`\n\nDo not specify this header: \n\n* `Authorization: Bearer YOUR_TOKEN`", + "file": "FunctionClient/GenerateUploadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GenerateUploadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GenerateUploadUrl Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetFunction_sync", - "title": "cloudfunctions GetFunction Sample", - "description": "GetFunction returns a function with the given name from the requested project.", - "file": "FunctionClient/GetFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFunction", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.GetFunction", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.GetFunction", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "GetFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.GetFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.GetFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.Function", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.GetFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "GetFunction" }, + "description": "GetFunction returns a function with the given name from the requested project.", + "file": "FunctionClient/GetFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetFunction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetFunction Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetIamPolicy_sync", - "title": "cloudfunctions 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": "FunctionClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "FunctionClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetIamPolicy Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetOperation_sync", - "title": "cloudfunctions GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FunctionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FunctionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions GetOperation Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListFunctions_sync", - "title": "cloudfunctions ListFunctions Sample", - "description": "ListFunctions returns a list of functions that belong to the requested project.", - "file": "FunctionClient/ListFunctions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFunctions", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.ListFunctions", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.ListFunctions", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "ListFunctions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.ListFunctionsRequest", - "name": "req" + "name": "req", + "type": "functionspb.ListFunctionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FunctionIterator", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v2beta.FunctionService.ListFunctions", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "ListFunctions" }, + "description": "ListFunctions returns a list of functions that belong to the requested project.", + "file": "FunctionClient/ListFunctions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListFunctions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListFunctions Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListLocations_sync", - "title": "cloudfunctions ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "FunctionClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "FunctionClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListLocations Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListOperations_sync", - "title": "cloudfunctions ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "FunctionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "FunctionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListOperations Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListRuntimes_sync", - "title": "cloudfunctions ListRuntimes Sample", - "description": "ListRuntimes returns a list of runtimes that are supported for the requested project.", - "file": "FunctionClient/ListRuntimes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuntimes", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.ListRuntimes", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.ListRuntimes", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "ListRuntimes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.ListRuntimesRequest", - "name": "req" + "name": "req", + "type": "functionspb.ListRuntimesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*functionspb.ListRuntimesResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "ListRuntimes", - "fullName": "google.cloud.functions.v2beta.FunctionService.ListRuntimes", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "ListRuntimes" }, + "description": "ListRuntimes returns a list of runtimes that are supported for the requested project.", + "file": "FunctionClient/ListRuntimes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_ListRuntimes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions ListRuntimes Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_SetIamPolicy_sync", - "title": "cloudfunctions 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": "FunctionClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "FunctionClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions SetIamPolicy Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_TestIamPermissions_sync", - "title": "cloudfunctions 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": "FunctionClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "FunctionClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions TestIamPermissions Sample" }, { - "regionTag": "cloudfunctions_v2beta_generated_FunctionService_UpdateFunction_sync", - "title": "cloudfunctions UpdateFunction Sample", - "description": "UpdateFunction updates existing function.", - "file": "FunctionClient/UpdateFunction/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFunction", + "client": { + "fullName": "google.cloud.functions.v2beta.FunctionClient", + "shortName": "FunctionClient" + }, "fullName": "google.cloud.functions.v2beta.FunctionClient.UpdateFunction", + "method": { + "fullName": "google.cloud.functions.v2beta.FunctionService.UpdateFunction", + "service": { + "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "FunctionService" + }, + "shortName": "UpdateFunction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "functionspb.UpdateFunctionRequest", - "name": "req" + "name": "req", + "type": "functionspb.UpdateFunctionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFunctionOperation", - "client": { - "shortName": "FunctionClient", - "fullName": "google.cloud.functions.v2beta.FunctionClient" - }, - "method": { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.UpdateFunction", - "service": { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService" - } - } + "shortName": "UpdateFunction" }, + "description": "UpdateFunction updates existing function.", + "file": "FunctionClient/UpdateFunction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudfunctions_v2beta_generated_FunctionService_UpdateFunction_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudfunctions UpdateFunction Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/geminidataanalytics/apiv1beta/snippet_metadata.google.cloud.geminidataanalytics.v1beta.json b/internal/generated/snippets/geminidataanalytics/apiv1beta/snippet_metadata.google.cloud.geminidataanalytics.v1beta.json index f954186076e9..f383e49fe25b 100644 --- a/internal/generated/snippets/geminidataanalytics/apiv1beta/snippet_metadata.google.cloud.geminidataanalytics.v1beta.json +++ b/internal/generated/snippets/geminidataanalytics/apiv1beta/snippet_metadata.google.cloud.geminidataanalytics.v1beta.json @@ -1,1343 +1,1343 @@ { "clientLibrary": { - "name": "cloud.google.com/go/geminidataanalytics/apiv1beta", - "version": "0.8.0", - "language": "GO", "apis": [ { "id": "google.cloud.geminidataanalytics.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/geminidataanalytics/apiv1beta", + "version": "0.8.0" }, "snippets": [ { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_CancelOperation_sync", - "title": "geminidataanalytics CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataAgentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataAgentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics CancelOperation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_CreateDataAgent_sync", - "title": "geminidataanalytics CreateDataAgent Sample", - "description": "CreateDataAgent creates a new DataAgent in a given project and location.", - "file": "DataAgentClient/CreateDataAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAgent", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.CreateDataAgent", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.CreateDataAgent", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "CreateDataAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.CreateDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.CreateDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDataAgentOperation", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "CreateDataAgent", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.CreateDataAgent", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "CreateDataAgent" }, + "description": "CreateDataAgent creates a new DataAgent in a given project and location.", + "file": "DataAgentClient/CreateDataAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_CreateDataAgent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics CreateDataAgent Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_CreateDataAgentSync_sync", - "title": "geminidataanalytics CreateDataAgentSync Sample", - "description": "CreateDataAgentSync creates a new DataAgent in a given project and location synchronously.", - "file": "DataAgentClient/CreateDataAgentSync/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataAgentSync", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.CreateDataAgentSync", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.CreateDataAgentSync", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "CreateDataAgentSync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.CreateDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.CreateDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*geminidataanalyticspb.DataAgent", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "CreateDataAgentSync", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.CreateDataAgentSync", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "CreateDataAgentSync" }, + "description": "CreateDataAgentSync creates a new DataAgent in a given project and location synchronously.", + "file": "DataAgentClient/CreateDataAgentSync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_CreateDataAgentSync_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics CreateDataAgentSync Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_DeleteDataAgent_sync", - "title": "geminidataanalytics DeleteDataAgent Sample", - "description": "DeleteDataAgent deletes a single DataAgent.", - "file": "DataAgentClient/DeleteDataAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAgent", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.DeleteDataAgent", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.DeleteDataAgent", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "DeleteDataAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.DeleteDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.DeleteDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDataAgentOperation", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "DeleteDataAgent", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.DeleteDataAgent", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "DeleteDataAgent" }, + "description": "DeleteDataAgent deletes a single DataAgent.", + "file": "DataAgentClient/DeleteDataAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_DeleteDataAgent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics DeleteDataAgent Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_DeleteDataAgentSync_sync", - "title": "geminidataanalytics DeleteDataAgentSync Sample", - "description": "DeleteDataAgentSync deletes a single DataAgent synchronously.", - "file": "DataAgentClient/DeleteDataAgentSync/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataAgentSync", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.DeleteDataAgentSync", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.DeleteDataAgentSync", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "DeleteDataAgentSync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.DeleteDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.DeleteDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "DeleteDataAgentSync", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.DeleteDataAgentSync", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "DeleteDataAgentSync" }, + "description": "DeleteDataAgentSync deletes a single DataAgent synchronously.", + "file": "DataAgentClient/DeleteDataAgentSync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_DeleteDataAgentSync_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics DeleteDataAgentSync Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_DeleteOperation_sync", - "title": "geminidataanalytics DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataAgentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataAgentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics DeleteOperation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetDataAgent_sync", - "title": "geminidataanalytics GetDataAgent Sample", - "description": "GetDataAgent gets details of a single DataAgent.", - "file": "DataAgentClient/GetDataAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataAgent", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.GetDataAgent", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.GetDataAgent", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "GetDataAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.GetDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.GetDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*geminidataanalyticspb.DataAgent", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "GetDataAgent", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.GetDataAgent", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "GetDataAgent" }, + "description": "GetDataAgent gets details of a single DataAgent.", + "file": "DataAgentClient/GetDataAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetDataAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetDataAgent Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetIamPolicy_sync", - "title": "geminidataanalytics GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for DataAgent", - "file": "DataAgentClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.GetIamPolicy", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.GetIamPolicy", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for DataAgent", + "file": "DataAgentClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetIamPolicy Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetLocation_sync", - "title": "geminidataanalytics GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataAgentClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataAgentClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetLocation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetOperation_sync", - "title": "geminidataanalytics GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataAgentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataAgentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetOperation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListAccessibleDataAgents_sync", - "title": "geminidataanalytics ListAccessibleDataAgents Sample", - "description": "ListAccessibleDataAgents lists DataAgents that are accessible to the caller in a given project and\nlocation.", - "file": "DataAgentClient/ListAccessibleDataAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccessibleDataAgents", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.ListAccessibleDataAgents", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.ListAccessibleDataAgents", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "ListAccessibleDataAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.ListAccessibleDataAgentsRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.ListAccessibleDataAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAgentIterator", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "ListAccessibleDataAgents", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.ListAccessibleDataAgents", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "ListAccessibleDataAgents" }, + "description": "ListAccessibleDataAgents lists DataAgents that are accessible to the caller in a given project and\nlocation.", + "file": "DataAgentClient/ListAccessibleDataAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListAccessibleDataAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListAccessibleDataAgents Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListDataAgents_sync", - "title": "geminidataanalytics ListDataAgents Sample", - "description": "ListDataAgents lists DataAgents in a given project and location.", - "file": "DataAgentClient/ListDataAgents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataAgents", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.ListDataAgents", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.ListDataAgents", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "ListDataAgents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.ListDataAgentsRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.ListDataAgentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataAgentIterator", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "ListDataAgents", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.ListDataAgents", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "ListDataAgents" }, + "description": "ListDataAgents lists DataAgents in a given project and location.", + "file": "DataAgentClient/ListDataAgents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListDataAgents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListDataAgents Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListLocations_sync", - "title": "geminidataanalytics ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataAgentClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataAgentClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListLocations Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListOperations_sync", - "title": "geminidataanalytics ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataAgentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataAgentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListOperations Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_SetIamPolicy_sync", - "title": "geminidataanalytics SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM policy for a DataAgent.", - "file": "DataAgentClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.SetIamPolicy", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.SetIamPolicy", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM policy for a DataAgent.", + "file": "DataAgentClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics SetIamPolicy Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_UpdateDataAgent_sync", - "title": "geminidataanalytics UpdateDataAgent Sample", - "description": "UpdateDataAgent updates the parameters of a single DataAgent.", - "file": "DataAgentClient/UpdateDataAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAgent", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.UpdateDataAgent", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.UpdateDataAgent", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "UpdateDataAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.UpdateDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.UpdateDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDataAgentOperation", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "UpdateDataAgent", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.UpdateDataAgent", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "UpdateDataAgent" }, + "description": "UpdateDataAgent updates the parameters of a single DataAgent.", + "file": "DataAgentClient/UpdateDataAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_UpdateDataAgent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics UpdateDataAgent Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_UpdateDataAgentSync_sync", - "title": "geminidataanalytics UpdateDataAgentSync Sample", - "description": "UpdateDataAgentSync updates the parameters of a single DataAgent synchronously.", - "file": "DataAgentClient/UpdateDataAgentSync/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataAgentSync", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient", + "shortName": "DataAgentClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient.UpdateDataAgentSync", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.UpdateDataAgentSync", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService", + "shortName": "DataAgentService" + }, + "shortName": "UpdateDataAgentSync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.UpdateDataAgentRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.UpdateDataAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*geminidataanalyticspb.DataAgent", - "client": { - "shortName": "DataAgentClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentClient" - }, - "method": { - "shortName": "UpdateDataAgentSync", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService.UpdateDataAgentSync", - "service": { - "shortName": "DataAgentService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataAgentService" - } - } + "shortName": "UpdateDataAgentSync" }, + "description": "UpdateDataAgentSync updates the parameters of a single DataAgent synchronously.", + "file": "DataAgentClient/UpdateDataAgentSync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataAgentService_UpdateDataAgentSync_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics UpdateDataAgentSync Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_CancelOperation_sync", - "title": "geminidataanalytics CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataChatClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataChatClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics CancelOperation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_CreateConversation_sync", - "title": "geminidataanalytics CreateConversation Sample", - "description": "CreateConversation creates a new conversation to persist the conversation history. Each\nconversation will have multiple messages associated with it.", - "file": "DataChatClient/CreateConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.CreateConversation", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.CreateConversation", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService", + "shortName": "DataChatService" + }, + "shortName": "CreateConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.CreateConversationRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.CreateConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*geminidataanalyticspb.Conversation", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.CreateConversation", - "service": { - "shortName": "DataChatService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService" - } - } + "shortName": "CreateConversation" }, + "description": "CreateConversation creates a new conversation to persist the conversation history. Each\nconversation will have multiple messages associated with it.", + "file": "DataChatClient/CreateConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_CreateConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics CreateConversation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_DeleteConversation_sync", - "title": "geminidataanalytics DeleteConversation Sample", - "description": "DeleteConversation deletes a conversation.", - "file": "DataChatClient/DeleteConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.DeleteConversation", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.DeleteConversation", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService", + "shortName": "DataChatService" + }, + "shortName": "DeleteConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.DeleteConversationRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.DeleteConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.DeleteConversation", - "service": { - "shortName": "DataChatService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService" - } - } + "shortName": "DeleteConversation" }, + "description": "DeleteConversation deletes a conversation.", + "file": "DataChatClient/DeleteConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_DeleteConversation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics DeleteConversation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_DeleteOperation_sync", - "title": "geminidataanalytics DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataChatClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataChatClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics DeleteOperation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_GetConversation_sync", - "title": "geminidataanalytics GetConversation Sample", - "description": "GetConversation gets details of a single conversation by using conversation id and parent.", - "file": "DataChatClient/GetConversation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.GetConversation", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.GetConversation", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService", + "shortName": "DataChatService" + }, + "shortName": "GetConversation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.GetConversationRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.GetConversationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*geminidataanalyticspb.Conversation", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.GetConversation", - "service": { - "shortName": "DataChatService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService" - } - } + "shortName": "GetConversation" }, + "description": "GetConversation gets details of a single conversation by using conversation id and parent.", + "file": "DataChatClient/GetConversation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_GetConversation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetConversation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_GetLocation_sync", - "title": "geminidataanalytics GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataChatClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataChatClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetLocation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_GetOperation_sync", - "title": "geminidataanalytics GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataChatClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataChatClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics GetOperation Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListConversations_sync", - "title": "geminidataanalytics ListConversations Sample", - "description": "ListConversations lists all conversations for a given parent.", - "file": "DataChatClient/ListConversations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversations", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.ListConversations", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.ListConversations", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService", + "shortName": "DataChatService" + }, + "shortName": "ListConversations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.ListConversationsRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.ListConversationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversationIterator", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.ListConversations", - "service": { - "shortName": "DataChatService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService" - } - } + "shortName": "ListConversations" }, + "description": "ListConversations lists all conversations for a given parent.", + "file": "DataChatClient/ListConversations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListConversations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListConversations Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListLocations_sync", - "title": "geminidataanalytics ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataChatClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataChatClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListLocations Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListMessages_sync", - "title": "geminidataanalytics ListMessages Sample", - "description": "ListMessages lists all messages for a given conversation.", - "file": "DataChatClient/ListMessages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMessages", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.ListMessages", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.ListMessages", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService", + "shortName": "DataChatService" + }, + "shortName": "ListMessages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.ListMessagesRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.ListMessagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StorageMessageIterator", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "ListMessages", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.ListMessages", - "service": { - "shortName": "DataChatService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService" - } - } + "shortName": "ListMessages" }, + "description": "ListMessages lists all messages for a given conversation.", + "file": "DataChatClient/ListMessages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListMessages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListMessages Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListOperations_sync", - "title": "geminidataanalytics ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataChatClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataChatClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics ListOperations Sample" }, { - "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_QueryData_sync", - "title": "geminidataanalytics QueryData Sample", - "description": "QueryData queries data from a natural language user query.", - "file": "DataChatClient/QueryData/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryData", + "client": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient", + "shortName": "DataChatClient" + }, "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient.QueryData", + "method": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.QueryData", + "service": { + "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService", + "shortName": "DataChatService" + }, + "shortName": "QueryData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "geminidataanalyticspb.QueryDataRequest", - "name": "req" + "name": "req", + "type": "geminidataanalyticspb.QueryDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*geminidataanalyticspb.QueryDataResponse", - "client": { - "shortName": "DataChatClient", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatClient" - }, - "method": { - "shortName": "QueryData", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService.QueryData", - "service": { - "shortName": "DataChatService", - "fullName": "google.cloud.geminidataanalytics.v1beta.DataChatService" - } - } + "shortName": "QueryData" }, + "description": "QueryData queries data from a natural language user query.", + "file": "DataChatClient/QueryData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "geminidataanalytics_v1beta_generated_DataChatService_QueryData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "geminidataanalytics QueryData Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json b/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json index 96889c65090e..56443d485ce8 100644 --- a/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json +++ b/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json @@ -1,2221 +1,2221 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gkebackup/apiv1", - "version": "1.8.1", - "language": "GO", "apis": [ { "id": "google.cloud.gkebackup.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gkebackup/apiv1", + "version": "1.8.1" }, "snippets": [ { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CancelOperation_sync", - "title": "gkebackup CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "BackupForGKEClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "BackupForGKEClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CancelOperation Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateBackup_sync", - "title": "gkebackup CreateBackup Sample", - "description": "CreateBackup creates a Backup for the given BackupPlan.", - "file": "BackupForGKEClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackup", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackup", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackup", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a Backup for the given BackupPlan.", + "file": "BackupForGKEClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CreateBackup Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateBackupChannel_sync", - "title": "gkebackup CreateBackupChannel Sample", - "description": "CreateBackupChannel creates a new BackupChannel in a given location.", - "file": "BackupForGKEClient/CreateBackupChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackupChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "CreateBackupChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.CreateBackupChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.CreateBackupChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupChannelOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CreateBackupChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "CreateBackupChannel" }, + "description": "CreateBackupChannel creates a new BackupChannel in a given location.", + "file": "BackupForGKEClient/CreateBackupChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateBackupChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CreateBackupChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateBackupPlan_sync", - "title": "gkebackup CreateBackupPlan Sample", - "description": "CreateBackupPlan creates a new BackupPlan in a given location.", - "file": "BackupForGKEClient/CreateBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupPlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackupPlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupPlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "CreateBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.CreateBackupPlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.CreateBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupPlanOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CreateBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupPlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "CreateBackupPlan" }, + "description": "CreateBackupPlan creates a new BackupPlan in a given location.", + "file": "BackupForGKEClient/CreateBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateBackupPlan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CreateBackupPlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateRestore_sync", - "title": "gkebackup CreateRestore Sample", - "description": "CreateRestore creates a new Restore for the given RestorePlan.", - "file": "BackupForGKEClient/CreateRestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRestore", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestore", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestore", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "CreateRestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.CreateRestoreRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.CreateRestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRestoreOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CreateRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestore", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "CreateRestore" }, + "description": "CreateRestore creates a new Restore for the given RestorePlan.", + "file": "BackupForGKEClient/CreateRestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateRestore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CreateRestore Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateRestoreChannel_sync", - "title": "gkebackup CreateRestoreChannel Sample", - "description": "CreateRestoreChannel creates a new RestoreChannel in a given location.", - "file": "BackupForGKEClient/CreateRestoreChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRestoreChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestoreChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestoreChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "CreateRestoreChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.CreateRestoreChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.CreateRestoreChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRestoreChannelOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CreateRestoreChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestoreChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "CreateRestoreChannel" }, + "description": "CreateRestoreChannel creates a new RestoreChannel in a given location.", + "file": "BackupForGKEClient/CreateRestoreChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateRestoreChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CreateRestoreChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateRestorePlan_sync", - "title": "gkebackup CreateRestorePlan Sample", - "description": "CreateRestorePlan creates a new RestorePlan in a given location.", - "file": "BackupForGKEClient/CreateRestorePlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRestorePlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestorePlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestorePlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "CreateRestorePlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.CreateRestorePlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.CreateRestorePlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRestorePlanOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "CreateRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestorePlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "CreateRestorePlan" }, + "description": "CreateRestorePlan creates a new RestorePlan in a given location.", + "file": "BackupForGKEClient/CreateRestorePlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_CreateRestorePlan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup CreateRestorePlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackup_sync", - "title": "gkebackup DeleteBackup Sample", - "description": "DeleteBackup deletes an existing Backup.", - "file": "BackupForGKEClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackup", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackup", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackup", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes an existing Backup.", + "file": "BackupForGKEClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteBackup Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackupChannel_sync", - "title": "gkebackup DeleteBackupChannel Sample", - "description": "DeleteBackupChannel deletes an existing BackupChannel.", - "file": "BackupForGKEClient/DeleteBackupChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackupChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "DeleteBackupChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.DeleteBackupChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.DeleteBackupChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupChannelOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteBackupChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "DeleteBackupChannel" }, + "description": "DeleteBackupChannel deletes an existing BackupChannel.", + "file": "BackupForGKEClient/DeleteBackupChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackupChannel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteBackupChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackupPlan_sync", - "title": "gkebackup DeleteBackupPlan Sample", - "description": "DeleteBackupPlan deletes an existing BackupPlan.", - "file": "BackupForGKEClient/DeleteBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupPlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackupPlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupPlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "DeleteBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.DeleteBackupPlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.DeleteBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupPlanOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupPlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "DeleteBackupPlan" }, + "description": "DeleteBackupPlan deletes an existing BackupPlan.", + "file": "BackupForGKEClient/DeleteBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteBackupPlan_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteBackupPlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteOperation_sync", - "title": "gkebackup DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "BackupForGKEClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "BackupForGKEClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteOperation Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestore_sync", - "title": "gkebackup DeleteRestore Sample", - "description": "DeleteRestore deletes an existing Restore.", - "file": "BackupForGKEClient/DeleteRestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRestore", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestore", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestore", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "DeleteRestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.DeleteRestoreRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.DeleteRestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRestoreOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestore", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "DeleteRestore" }, + "description": "DeleteRestore deletes an existing Restore.", + "file": "BackupForGKEClient/DeleteRestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestore_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteRestore Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestoreChannel_sync", - "title": "gkebackup DeleteRestoreChannel Sample", - "description": "DeleteRestoreChannel deletes an existing RestoreChannel.", - "file": "BackupForGKEClient/DeleteRestoreChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRestoreChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestoreChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestoreChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "DeleteRestoreChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.DeleteRestoreChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.DeleteRestoreChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRestoreChannelOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteRestoreChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestoreChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "DeleteRestoreChannel" }, + "description": "DeleteRestoreChannel deletes an existing RestoreChannel.", + "file": "BackupForGKEClient/DeleteRestoreChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestoreChannel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteRestoreChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestorePlan_sync", - "title": "gkebackup DeleteRestorePlan Sample", - "description": "DeleteRestorePlan deletes an existing RestorePlan.", - "file": "BackupForGKEClient/DeleteRestorePlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRestorePlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestorePlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestorePlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "DeleteRestorePlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.DeleteRestorePlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.DeleteRestorePlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRestorePlanOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "DeleteRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestorePlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "DeleteRestorePlan" }, + "description": "DeleteRestorePlan deletes an existing RestorePlan.", + "file": "BackupForGKEClient/DeleteRestorePlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_DeleteRestorePlan_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup DeleteRestorePlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackup_sync", - "title": "gkebackup GetBackup Sample", - "description": "GetBackup retrieve the details of a single Backup.", - "file": "BackupForGKEClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackup", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackup", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.Backup", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackup", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup retrieve the details of a single Backup.", + "file": "BackupForGKEClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetBackup Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupChannel_sync", - "title": "gkebackup GetBackupChannel Sample", - "description": "GetBackupChannel retrieve the details of a single BackupChannel.", - "file": "BackupForGKEClient/GetBackupChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetBackupChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetBackupChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetBackupChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.BackupChannel", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetBackupChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetBackupChannel" }, + "description": "GetBackupChannel retrieve the details of a single BackupChannel.", + "file": "BackupForGKEClient/GetBackupChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetBackupChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupIndexDownloadUrl_sync", - "title": "gkebackup GetBackupIndexDownloadUrl Sample", - "description": "GetBackupIndexDownloadUrl retrieve the link to the backupIndex.", - "file": "BackupForGKEClient/GetBackupIndexDownloadUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupIndexDownloadUrl", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupIndexDownloadUrl", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupIndexDownloadUrl", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetBackupIndexDownloadUrl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetBackupIndexDownloadUrlRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetBackupIndexDownloadUrlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.GetBackupIndexDownloadUrlResponse", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetBackupIndexDownloadUrl", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupIndexDownloadUrl", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetBackupIndexDownloadUrl" }, + "description": "GetBackupIndexDownloadUrl retrieve the link to the backupIndex.", + "file": "BackupForGKEClient/GetBackupIndexDownloadUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupIndexDownloadUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetBackupIndexDownloadUrl Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupPlan_sync", - "title": "gkebackup GetBackupPlan Sample", - "description": "GetBackupPlan retrieve the details of a single BackupPlan.", - "file": "BackupForGKEClient/GetBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupPlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupPlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetBackupPlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.BackupPlan", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetBackupPlan" }, + "description": "GetBackupPlan retrieve the details of a single BackupPlan.", + "file": "BackupForGKEClient/GetBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupPlan_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetBackupPlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupPlanBinding_sync", - "title": "gkebackup GetBackupPlanBinding Sample", - "description": "GetBackupPlanBinding retrieve the details of a single BackupPlanBinding.", - "file": "BackupForGKEClient/GetBackupPlanBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupPlanBinding", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupPlanBinding", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlanBinding", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetBackupPlanBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetBackupPlanBindingRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetBackupPlanBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.BackupPlanBinding", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetBackupPlanBinding", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlanBinding", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetBackupPlanBinding" }, + "description": "GetBackupPlanBinding retrieve the details of a single BackupPlanBinding.", + "file": "BackupForGKEClient/GetBackupPlanBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetBackupPlanBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetBackupPlanBinding Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetIamPolicy_sync", - "title": "gkebackup 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": "BackupForGKEClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "BackupForGKEClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetIamPolicy Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetLocation_sync", - "title": "gkebackup GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "BackupForGKEClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "BackupForGKEClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetLocation Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetOperation_sync", - "title": "gkebackup GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "BackupForGKEClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "BackupForGKEClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetOperation Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestore_sync", - "title": "gkebackup GetRestore Sample", - "description": "GetRestore retrieves the details of a single Restore.", - "file": "BackupForGKEClient/GetRestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRestore", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestore", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestore", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetRestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetRestoreRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetRestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.Restore", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestore", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetRestore" }, + "description": "GetRestore retrieves the details of a single Restore.", + "file": "BackupForGKEClient/GetRestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetRestore Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestoreChannel_sync", - "title": "gkebackup GetRestoreChannel Sample", - "description": "GetRestoreChannel retrieve the details of a single RestoreChannel.", - "file": "BackupForGKEClient/GetRestoreChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRestoreChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestoreChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestoreChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetRestoreChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetRestoreChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetRestoreChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.RestoreChannel", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetRestoreChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestoreChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetRestoreChannel" }, + "description": "GetRestoreChannel retrieve the details of a single RestoreChannel.", + "file": "BackupForGKEClient/GetRestoreChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestoreChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetRestoreChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestorePlan_sync", - "title": "gkebackup GetRestorePlan Sample", - "description": "GetRestorePlan retrieve the details of a single RestorePlan.", - "file": "BackupForGKEClient/GetRestorePlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRestorePlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestorePlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetRestorePlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetRestorePlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetRestorePlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.RestorePlan", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetRestorePlan" }, + "description": "GetRestorePlan retrieve the details of a single RestorePlan.", + "file": "BackupForGKEClient/GetRestorePlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestorePlan_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetRestorePlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestorePlanBinding_sync", - "title": "gkebackup GetRestorePlanBinding Sample", - "description": "GetRestorePlanBinding retrieve the details of a single RestorePlanBinding.", - "file": "BackupForGKEClient/GetRestorePlanBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRestorePlanBinding", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestorePlanBinding", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlanBinding", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetRestorePlanBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetRestorePlanBindingRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetRestorePlanBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.RestorePlanBinding", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetRestorePlanBinding", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlanBinding", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetRestorePlanBinding" }, + "description": "GetRestorePlanBinding retrieve the details of a single RestorePlanBinding.", + "file": "BackupForGKEClient/GetRestorePlanBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetRestorePlanBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetRestorePlanBinding Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetVolumeBackup_sync", - "title": "gkebackup GetVolumeBackup Sample", - "description": "GetVolumeBackup retrieve the details of a single VolumeBackup.", - "file": "BackupForGKEClient/GetVolumeBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVolumeBackup", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetVolumeBackup", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeBackup", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetVolumeBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetVolumeBackupRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetVolumeBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*gkebackuppb.VolumeBackup", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetVolumeBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeBackup", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*gkebackuppb.VolumeBackup", + "shortName": "GetVolumeBackup" }, + "description": "GetVolumeBackup retrieve the details of a single VolumeBackup.", + "file": "BackupForGKEClient/GetVolumeBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetVolumeBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetVolumeBackup Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_GetVolumeRestore_sync", - "title": "gkebackup GetVolumeRestore Sample", - "description": "GetVolumeRestore retrieve the details of a single VolumeRestore.", - "file": "BackupForGKEClient/GetVolumeRestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVolumeRestore", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetVolumeRestore", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeRestore", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "GetVolumeRestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.GetVolumeRestoreRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.GetVolumeRestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkebackuppb.VolumeRestore", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "GetVolumeRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeRestore", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "GetVolumeRestore" }, + "description": "GetVolumeRestore retrieve the details of a single VolumeRestore.", + "file": "BackupForGKEClient/GetVolumeRestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_GetVolumeRestore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup GetVolumeRestore Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupChannels_sync", - "title": "gkebackup ListBackupChannels Sample", - "description": "ListBackupChannels lists BackupChannels in a given location.", - "file": "BackupForGKEClient/ListBackupChannels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupChannels", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupChannels", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupChannels", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListBackupChannels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListBackupChannelsRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListBackupChannelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupChannelIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListBackupChannels", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupChannels", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListBackupChannels" }, + "description": "ListBackupChannels lists BackupChannels in a given location.", + "file": "BackupForGKEClient/ListBackupChannels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupChannels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListBackupChannels Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupPlanBindings_sync", - "title": "gkebackup ListBackupPlanBindings Sample", - "description": "ListBackupPlanBindings lists BackupPlanBindings in a given location.", - "file": "BackupForGKEClient/ListBackupPlanBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupPlanBindings", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupPlanBindings", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlanBindings", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListBackupPlanBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListBackupPlanBindingsRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListBackupPlanBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPlanBindingIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListBackupPlanBindings", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlanBindings", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListBackupPlanBindings" }, + "description": "ListBackupPlanBindings lists BackupPlanBindings in a given location.", + "file": "BackupForGKEClient/ListBackupPlanBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupPlanBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListBackupPlanBindings Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupPlans_sync", - "title": "gkebackup ListBackupPlans Sample", - "description": "ListBackupPlans lists BackupPlans in a given location.", - "file": "BackupForGKEClient/ListBackupPlans/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupPlans", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupPlans", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlans", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListBackupPlans" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListBackupPlansRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListBackupPlansRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPlanIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListBackupPlans", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlans", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListBackupPlans" }, + "description": "ListBackupPlans lists BackupPlans in a given location.", + "file": "BackupForGKEClient/ListBackupPlans/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackupPlans_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListBackupPlans Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackups_sync", - "title": "gkebackup ListBackups Sample", - "description": "ListBackups lists the Backups for a given BackupPlan.", - "file": "BackupForGKEClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackups", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackups", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackups", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists the Backups for a given BackupPlan.", + "file": "BackupForGKEClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListBackups Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListLocations_sync", - "title": "gkebackup ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "BackupForGKEClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "BackupForGKEClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListLocations Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListOperations_sync", - "title": "gkebackup ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "BackupForGKEClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "BackupForGKEClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListOperations Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestoreChannels_sync", - "title": "gkebackup ListRestoreChannels Sample", - "description": "ListRestoreChannels lists RestoreChannels in a given location.", - "file": "BackupForGKEClient/ListRestoreChannels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRestoreChannels", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestoreChannels", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestoreChannels", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListRestoreChannels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListRestoreChannelsRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListRestoreChannelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreChannelIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListRestoreChannels", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestoreChannels", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListRestoreChannels" }, + "description": "ListRestoreChannels lists RestoreChannels in a given location.", + "file": "BackupForGKEClient/ListRestoreChannels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestoreChannels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListRestoreChannels Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestorePlanBindings_sync", - "title": "gkebackup ListRestorePlanBindings Sample", - "description": "ListRestorePlanBindings lists RestorePlanBindings in a given location.", - "file": "BackupForGKEClient/ListRestorePlanBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRestorePlanBindings", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestorePlanBindings", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlanBindings", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListRestorePlanBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListRestorePlanBindingsRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListRestorePlanBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestorePlanBindingIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListRestorePlanBindings", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlanBindings", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListRestorePlanBindings" }, + "description": "ListRestorePlanBindings lists RestorePlanBindings in a given location.", + "file": "BackupForGKEClient/ListRestorePlanBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestorePlanBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListRestorePlanBindings Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestorePlans_sync", - "title": "gkebackup ListRestorePlans Sample", - "description": "ListRestorePlans lists RestorePlans in a given location.", - "file": "BackupForGKEClient/ListRestorePlans/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRestorePlans", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestorePlans", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlans", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListRestorePlans" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListRestorePlansRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListRestorePlansRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestorePlanIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListRestorePlans", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlans", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListRestorePlans" }, + "description": "ListRestorePlans lists RestorePlans in a given location.", + "file": "BackupForGKEClient/ListRestorePlans/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestorePlans_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListRestorePlans Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestores_sync", - "title": "gkebackup ListRestores Sample", - "description": "ListRestores lists the Restores for a given RestorePlan.", - "file": "BackupForGKEClient/ListRestores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRestores", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestores", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestores", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListRestores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListRestoresRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListRestoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListRestores", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestores", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListRestores" }, + "description": "ListRestores lists the Restores for a given RestorePlan.", + "file": "BackupForGKEClient/ListRestores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListRestores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListRestores Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListVolumeBackups_sync", - "title": "gkebackup ListVolumeBackups Sample", - "description": "ListVolumeBackups lists the VolumeBackups for a given Backup.", - "file": "BackupForGKEClient/ListVolumeBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVolumeBackups", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListVolumeBackups", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeBackups", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListVolumeBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListVolumeBackupsRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListVolumeBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VolumeBackupIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListVolumeBackups", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeBackups", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListVolumeBackups" }, + "description": "ListVolumeBackups lists the VolumeBackups for a given Backup.", + "file": "BackupForGKEClient/ListVolumeBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListVolumeBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListVolumeBackups Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_ListVolumeRestores_sync", - "title": "gkebackup ListVolumeRestores Sample", - "description": "ListVolumeRestores lists the VolumeRestores for a given Restore.", - "file": "BackupForGKEClient/ListVolumeRestores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVolumeRestores", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListVolumeRestores", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeRestores", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "ListVolumeRestores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.ListVolumeRestoresRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.ListVolumeRestoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VolumeRestoreIterator", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "ListVolumeRestores", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeRestores", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "ListVolumeRestores" }, + "description": "ListVolumeRestores lists the VolumeRestores for a given Restore.", + "file": "BackupForGKEClient/ListVolumeRestores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_ListVolumeRestores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup ListVolumeRestores Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_SetIamPolicy_sync", - "title": "gkebackup 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": "BackupForGKEClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "BackupForGKEClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup SetIamPolicy Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_TestIamPermissions_sync", - "title": "gkebackup 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": "BackupForGKEClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "BackupForGKEClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup TestIamPermissions Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackup_sync", - "title": "gkebackup UpdateBackup Sample", - "description": "UpdateBackup update a Backup.", - "file": "BackupForGKEClient/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackup", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackup", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackup", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup update a Backup.", + "file": "BackupForGKEClient/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup UpdateBackup Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackupChannel_sync", - "title": "gkebackup UpdateBackupChannel Sample", - "description": "UpdateBackupChannel update a BackupChannel.", - "file": "BackupForGKEClient/UpdateBackupChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackupChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "UpdateBackupChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.UpdateBackupChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.UpdateBackupChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupChannelOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "UpdateBackupChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "UpdateBackupChannel" }, + "description": "UpdateBackupChannel update a BackupChannel.", + "file": "BackupForGKEClient/UpdateBackupChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackupChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup UpdateBackupChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackupPlan_sync", - "title": "gkebackup UpdateBackupPlan Sample", - "description": "UpdateBackupPlan update a BackupPlan.", - "file": "BackupForGKEClient/UpdateBackupPlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupPlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackupPlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupPlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "UpdateBackupPlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.UpdateBackupPlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.UpdateBackupPlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupPlanOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "UpdateBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupPlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "UpdateBackupPlan" }, + "description": "UpdateBackupPlan update a BackupPlan.", + "file": "BackupForGKEClient/UpdateBackupPlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateBackupPlan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup UpdateBackupPlan Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestore_sync", - "title": "gkebackup UpdateRestore Sample", - "description": "UpdateRestore update a Restore.", - "file": "BackupForGKEClient/UpdateRestore/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRestore", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestore", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestore", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "UpdateRestore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.UpdateRestoreRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.UpdateRestoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRestoreOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "UpdateRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestore", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "UpdateRestore" }, + "description": "UpdateRestore update a Restore.", + "file": "BackupForGKEClient/UpdateRestore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestore_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup UpdateRestore Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestoreChannel_sync", - "title": "gkebackup UpdateRestoreChannel Sample", - "description": "UpdateRestoreChannel update a RestoreChannel.", - "file": "BackupForGKEClient/UpdateRestoreChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRestoreChannel", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestoreChannel", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestoreChannel", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "UpdateRestoreChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.UpdateRestoreChannelRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.UpdateRestoreChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRestoreChannelOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "UpdateRestoreChannel", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestoreChannel", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "UpdateRestoreChannel" }, + "description": "UpdateRestoreChannel update a RestoreChannel.", + "file": "BackupForGKEClient/UpdateRestoreChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestoreChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup UpdateRestoreChannel Sample" }, { - "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestorePlan_sync", - "title": "gkebackup UpdateRestorePlan Sample", - "description": "UpdateRestorePlan update a RestorePlan.", - "file": "BackupForGKEClient/UpdateRestorePlan/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRestorePlan", + "client": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient", + "shortName": "BackupForGKEClient" + }, "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestorePlan", + "method": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestorePlan", + "service": { + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "BackupForGKE" + }, + "shortName": "UpdateRestorePlan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkebackuppb.UpdateRestorePlanRequest", - "name": "req" + "name": "req", + "type": "gkebackuppb.UpdateRestorePlanRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRestorePlanOperation", - "client": { - "shortName": "BackupForGKEClient", - "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" - }, - "method": { - "shortName": "UpdateRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestorePlan", - "service": { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE" - } - } + "shortName": "UpdateRestorePlan" }, + "description": "UpdateRestorePlan update a RestorePlan.", + "file": "BackupForGKEClient/UpdateRestorePlan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkebackup_v1_generated_BackupForGKE_UpdateRestorePlan_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkebackup UpdateRestorePlan Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json b/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json index 83e82e64d0a7..1ff19b7171a1 100644 --- a/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json +++ b/internal/generated/snippets/gkeconnect/gateway/apiv1/snippet_metadata.google.cloud.gkeconnect.gateway.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gkeconnect/gateway/apiv1", - "version": "0.12.5", - "language": "GO", "apis": [ { "id": "google.cloud.gkeconnect.gateway.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gkeconnect/gateway/apiv1", + "version": "0.12.5" }, "snippets": [ { - "regionTag": "connectgateway_v1_generated_GatewayControl_GenerateCredentials_sync", - "title": "connectgateway GenerateCredentials Sample", - "description": "GenerateCredentials generateCredentials provides connection information that allows a user to\naccess the specified membership using Connect Gateway.", - "file": "GatewayControlClient/GenerateCredentials/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateCredentials", + "client": { + "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControlClient", + "shortName": "GatewayControlClient" + }, "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControlClient.GenerateCredentials", + "method": { + "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControl.GenerateCredentials", + "service": { + "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControl", + "shortName": "GatewayControl" + }, + "shortName": "GenerateCredentials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gatewaypb.GenerateCredentialsRequest", - "name": "req" + "name": "req", + "type": "gatewaypb.GenerateCredentialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gatewaypb.GenerateCredentialsResponse", - "client": { - "shortName": "GatewayControlClient", - "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControlClient" - }, - "method": { - "shortName": "GenerateCredentials", - "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControl.GenerateCredentials", - "service": { - "shortName": "GatewayControl", - "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayControl" - } - } + "shortName": "GenerateCredentials" }, + "description": "GenerateCredentials generateCredentials provides connection information that allows a user to\naccess the specified membership using Connect Gateway.", + "file": "GatewayControlClient/GenerateCredentials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "connectgateway_v1_generated_GatewayControl_GenerateCredentials_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "connectgateway GenerateCredentials Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json index 30db727bd300..cf4b7f71f65d 100644 --- a/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json +++ b/internal/generated/snippets/gkeconnect/gateway/apiv1beta1/snippet_metadata.google.cloud.gkeconnect.gateway.v1beta1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", - "version": "0.12.5", - "language": "GO", "apis": [ { "id": "google.cloud.gkeconnect.gateway.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", + "version": "0.12.5" }, "snippets": [ { - "regionTag": "connectgateway_v1beta1_generated_GatewayControl_GenerateCredentials_sync", - "title": "connectgateway GenerateCredentials Sample", - "description": "GenerateCredentials generateCredentials provides connection information that allows a user to\naccess the specified membership using Connect Gateway.", - "file": "GatewayControlClient/GenerateCredentials/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateCredentials", + "client": { + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControlClient", + "shortName": "GatewayControlClient" + }, "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControlClient.GenerateCredentials", + "method": { + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControl.GenerateCredentials", + "service": { + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControl", + "shortName": "GatewayControl" + }, + "shortName": "GenerateCredentials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gatewaypb.GenerateCredentialsRequest", - "name": "req" + "name": "req", + "type": "gatewaypb.GenerateCredentialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gatewaypb.GenerateCredentialsResponse", - "client": { - "shortName": "GatewayControlClient", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControlClient" - }, - "method": { - "shortName": "GenerateCredentials", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControl.GenerateCredentials", - "service": { - "shortName": "GatewayControl", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayControl" - } - } + "shortName": "GenerateCredentials" }, + "description": "GenerateCredentials generateCredentials provides connection information that allows a user to\naccess the specified membership using Connect Gateway.", + "file": "GatewayControlClient/GenerateCredentials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "connectgateway_v1beta1_generated_GatewayControl_GenerateCredentials_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "connectgateway GenerateCredentials Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json index 0da10b0115b0..be624ef38cd5 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json +++ b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json @@ -1,795 +1,795 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gkehub/apiv1beta1", - "version": "0.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.gkehub.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gkehub/apiv1beta1", + "version": "0.16.0" }, "snippets": [ { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_CancelOperation_sync", - "title": "gkehub CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "GkeHubMembershipClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "GkeHubMembershipClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub CancelOperation Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_CreateMembership_sync", - "title": "gkehub CreateMembership Sample", - "description": "CreateMembership creates a new Membership.\n\n**This is currently only supported for GKE clusters on Google Cloud**.\nTo register other clusters, follow the instructions at\nhttps: //cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", - "file": "GkeHubMembershipClient/CreateMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMembership", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.CreateMembership", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembership", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "CreateMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.CreateMembershipRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.CreateMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMembershipOperation", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "CreateMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembership", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "CreateMembership" }, + "description": "CreateMembership creates a new Membership.\n\n**This is currently only supported for GKE clusters on Google Cloud**.\nTo register other clusters, follow the instructions at\nhttps: //cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", + "file": "GkeHubMembershipClient/CreateMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_CreateMembership_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub CreateMembership Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_DeleteMembership_sync", - "title": "gkehub DeleteMembership Sample", - "description": "DeleteMembership removes a Membership.\n\n**This is currently only supported for GKE clusters on Google Cloud**.\nTo unregister other clusters, follow the instructions at\nhttps: //cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", - "file": "GkeHubMembershipClient/DeleteMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMembership", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.DeleteMembership", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembership", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "DeleteMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.DeleteMembershipRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.DeleteMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMembershipOperation", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "DeleteMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembership", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "DeleteMembership" }, + "description": "DeleteMembership removes a Membership.\n\n**This is currently only supported for GKE clusters on Google Cloud**.\nTo unregister other clusters, follow the instructions at\nhttps: //cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", + "file": "GkeHubMembershipClient/DeleteMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_DeleteMembership_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub DeleteMembership Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_DeleteOperation_sync", - "title": "gkehub DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "GkeHubMembershipClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "GkeHubMembershipClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub DeleteOperation Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GenerateConnectManifest_sync", - "title": "gkehub GenerateConnectManifest Sample", - "description": "GenerateConnectManifest generates the manifest for deployment of the GKE connect agent.\n\n**This method is used internally by Google-provided libraries.**\nMost clients should not need to call this method directly.", - "file": "GkeHubMembershipClient/GenerateConnectManifest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateConnectManifest", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.GenerateConnectManifest", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifest", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "GenerateConnectManifest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.GenerateConnectManifestRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.GenerateConnectManifestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkehubpb.GenerateConnectManifestResponse", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "GenerateConnectManifest", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifest", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "GenerateConnectManifest" }, + "description": "GenerateConnectManifest generates the manifest for deployment of the GKE connect agent.\n\n**This method is used internally by Google-provided libraries.**\nMost clients should not need to call this method directly.", + "file": "GkeHubMembershipClient/GenerateConnectManifest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GenerateConnectManifest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub GenerateConnectManifest Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GenerateExclusivityManifest_sync", - "title": "gkehub GenerateExclusivityManifest Sample", - "description": "GenerateExclusivityManifest generateExclusivityManifest generates the manifests to update the\nexclusivity artifacts in the cluster if needed.\n\nExclusivity artifacts include the Membership custom resource definition\n(CRD) and the singleton Membership custom resource (CR). Combined with\nValidateExclusivity, exclusivity artifacts guarantee that a Kubernetes\ncluster is only registered to a single GKE Hub.\n\nThe Membership CRD is versioned, and may require conversion when the GKE\nHub API server begins serving a newer version of the CRD and\ncorresponding CR. The response will be the converted CRD and CR if there\nare any differences between the versions.", - "file": "GkeHubMembershipClient/GenerateExclusivityManifest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateExclusivityManifest", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.GenerateExclusivityManifest", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifest", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "GenerateExclusivityManifest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.GenerateExclusivityManifestRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.GenerateExclusivityManifestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkehubpb.GenerateExclusivityManifestResponse", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "GenerateExclusivityManifest", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifest", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "GenerateExclusivityManifest" }, + "description": "GenerateExclusivityManifest generateExclusivityManifest generates the manifests to update the\nexclusivity artifacts in the cluster if needed.\n\nExclusivity artifacts include the Membership custom resource definition\n(CRD) and the singleton Membership custom resource (CR). Combined with\nValidateExclusivity, exclusivity artifacts guarantee that a Kubernetes\ncluster is only registered to a single GKE Hub.\n\nThe Membership CRD is versioned, and may require conversion when the GKE\nHub API server begins serving a newer version of the CRD and\ncorresponding CR. The response will be the converted CRD and CR if there\nare any differences between the versions.", + "file": "GkeHubMembershipClient/GenerateExclusivityManifest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GenerateExclusivityManifest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub GenerateExclusivityManifest Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetIamPolicy_sync", - "title": "gkehub 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": "GkeHubMembershipClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "GkeHubMembershipClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub GetIamPolicy Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetLocation_sync", - "title": "gkehub GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "GkeHubMembershipClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "GkeHubMembershipClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub GetLocation Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetMembership_sync", - "title": "gkehub GetMembership Sample", - "description": "GetMembership gets the details of a Membership.", - "file": "GkeHubMembershipClient/GetMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMembership", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.GetMembership", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembership", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "GetMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.GetMembershipRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.GetMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkehubpb.Membership", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "GetMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembership", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "GetMembership" }, + "description": "GetMembership gets the details of a Membership.", + "file": "GkeHubMembershipClient/GetMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetMembership_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub GetMembership Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetOperation_sync", - "title": "gkehub GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GkeHubMembershipClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GkeHubMembershipClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub GetOperation Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ListLocations_sync", - "title": "gkehub ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "GkeHubMembershipClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "GkeHubMembershipClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub ListLocations Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ListMemberships_sync", - "title": "gkehub ListMemberships Sample", - "description": "ListMemberships lists Memberships in a given project and location.", - "file": "GkeHubMembershipClient/ListMemberships/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMemberships", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.ListMemberships", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMemberships", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "ListMemberships" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.ListMembershipsRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.ListMembershipsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MembershipIterator", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "ListMemberships", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMemberships", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "ListMemberships" }, + "description": "ListMemberships lists Memberships in a given project and location.", + "file": "GkeHubMembershipClient/ListMemberships/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ListMemberships_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub ListMemberships Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ListOperations_sync", - "title": "gkehub ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GkeHubMembershipClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GkeHubMembershipClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub ListOperations Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_SetIamPolicy_sync", - "title": "gkehub 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": "GkeHubMembershipClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "GkeHubMembershipClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub SetIamPolicy Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_TestIamPermissions_sync", - "title": "gkehub 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": "GkeHubMembershipClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "GkeHubMembershipClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub TestIamPermissions Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_UpdateMembership_sync", - "title": "gkehub UpdateMembership Sample", - "description": "UpdateMembership updates an existing Membership.", - "file": "GkeHubMembershipClient/UpdateMembership/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMembership", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.UpdateMembership", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembership", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "UpdateMembership" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.UpdateMembershipRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.UpdateMembershipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMembershipOperation", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "UpdateMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembership", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "UpdateMembership" }, + "description": "UpdateMembership updates an existing Membership.", + "file": "GkeHubMembershipClient/UpdateMembership/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_UpdateMembership_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub UpdateMembership Sample" }, { - "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ValidateExclusivity_sync", - "title": "gkehub ValidateExclusivity Sample", - "description": "ValidateExclusivity validateExclusivity validates the state of exclusivity in the cluster.\nThe validation does not depend on an existing Hub membership resource.", - "file": "GkeHubMembershipClient/ValidateExclusivity/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateExclusivity", + "client": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient", + "shortName": "GkeHubMembershipClient" + }, "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient.ValidateExclusivity", + "method": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivity", + "service": { + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "GkeHubMembershipService" + }, + "shortName": "ValidateExclusivity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkehubpb.ValidateExclusivityRequest", - "name": "req" + "name": "req", + "type": "gkehubpb.ValidateExclusivityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkehubpb.ValidateExclusivityResponse", - "client": { - "shortName": "GkeHubMembershipClient", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipClient" - }, - "method": { - "shortName": "ValidateExclusivity", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivity", - "service": { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService" - } - } + "shortName": "ValidateExclusivity" }, + "description": "ValidateExclusivity validateExclusivity validates the state of exclusivity in the cluster.\nThe validation does not depend on an existing Hub membership resource.", + "file": "GkeHubMembershipClient/ValidateExclusivity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkehub_v1beta1_generated_GkeHubMembershipService_ValidateExclusivity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkehub ValidateExclusivity Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json b/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json index 10a32ac8785c..0f363680cb6e 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json +++ b/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json @@ -1,2585 +1,2585 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gkemulticloud/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.cloud.gkemulticloud.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gkemulticloud/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_CancelOperation_sync", - "title": "gkemulticloud CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AttachedClustersClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AttachedClustersClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CancelOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_CreateAttachedCluster_sync", - "title": "gkemulticloud CreateAttachedCluster Sample", - "description": "CreateAttachedCluster creates a new\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource\non a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.", - "file": "AttachedClustersClient/CreateAttachedCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAttachedCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.CreateAttachedCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "CreateAttachedCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.CreateAttachedClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.CreateAttachedClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAttachedClusterOperation", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "CreateAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedCluster", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "CreateAttachedCluster" }, + "description": "CreateAttachedCluster creates a new\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource\non a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.", + "file": "AttachedClustersClient/CreateAttachedCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_CreateAttachedCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CreateAttachedCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_DeleteAttachedCluster_sync", - "title": "gkemulticloud DeleteAttachedCluster Sample", - "description": "DeleteAttachedCluster deletes a specific\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.", - "file": "AttachedClustersClient/DeleteAttachedCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAttachedCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.DeleteAttachedCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "DeleteAttachedCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.DeleteAttachedClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.DeleteAttachedClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAttachedClusterOperation", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "DeleteAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedCluster", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "DeleteAttachedCluster" }, + "description": "DeleteAttachedCluster deletes a specific\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.", + "file": "AttachedClustersClient/DeleteAttachedCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_DeleteAttachedCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteAttachedCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_DeleteOperation_sync", - "title": "gkemulticloud DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AttachedClustersClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AttachedClustersClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterAgentToken_sync", - "title": "gkemulticloud GenerateAttachedClusterAgentToken Sample", - "description": "GenerateAttachedClusterAgentToken generates an access token for a cluster agent.", - "file": "AttachedClustersClient/GenerateAttachedClusterAgentToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAttachedClusterAgentToken", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GenerateAttachedClusterAgentToken", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterAgentToken", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "GenerateAttachedClusterAgentToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GenerateAttachedClusterAgentTokenRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GenerateAttachedClusterAgentTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.GenerateAttachedClusterAgentTokenResponse", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "GenerateAttachedClusterAgentToken", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterAgentToken", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "GenerateAttachedClusterAgentToken" }, + "description": "GenerateAttachedClusterAgentToken generates an access token for a cluster agent.", + "file": "AttachedClustersClient/GenerateAttachedClusterAgentToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterAgentToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GenerateAttachedClusterAgentToken Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterInstallManifest_sync", - "title": "gkemulticloud GenerateAttachedClusterInstallManifest Sample", - "description": "GenerateAttachedClusterInstallManifest generates the install manifest to be installed on the target cluster.", - "file": "AttachedClustersClient/GenerateAttachedClusterInstallManifest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAttachedClusterInstallManifest", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GenerateAttachedClusterInstallManifest", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifest", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "GenerateAttachedClusterInstallManifest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GenerateAttachedClusterInstallManifestRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GenerateAttachedClusterInstallManifestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.GenerateAttachedClusterInstallManifestResponse", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "GenerateAttachedClusterInstallManifest", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifest", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "GenerateAttachedClusterInstallManifest" }, + "description": "GenerateAttachedClusterInstallManifest generates the install manifest to be installed on the target cluster.", + "file": "AttachedClustersClient/GenerateAttachedClusterInstallManifest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterInstallManifest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GenerateAttachedClusterInstallManifest Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetAttachedCluster_sync", - "title": "gkemulticloud GetAttachedCluster Sample", - "description": "GetAttachedCluster describes a specific\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.", - "file": "AttachedClustersClient/GetAttachedCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttachedCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GetAttachedCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "GetAttachedCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAttachedClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAttachedClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AttachedCluster", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "GetAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedCluster", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "GetAttachedCluster" }, + "description": "GetAttachedCluster describes a specific\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.", + "file": "AttachedClustersClient/GetAttachedCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetAttachedCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAttachedCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetAttachedServerConfig_sync", - "title": "gkemulticloud GetAttachedServerConfig Sample", - "description": "GetAttachedServerConfig returns information, such as supported Kubernetes versions, on a given\nGoogle Cloud location.", - "file": "AttachedClustersClient/GetAttachedServerConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttachedServerConfig", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GetAttachedServerConfig", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "GetAttachedServerConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAttachedServerConfigRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAttachedServerConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AttachedServerConfig", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "GetAttachedServerConfig", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "GetAttachedServerConfig" }, + "description": "GetAttachedServerConfig returns information, such as supported Kubernetes versions, on a given\nGoogle Cloud location.", + "file": "AttachedClustersClient/GetAttachedServerConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetAttachedServerConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAttachedServerConfig Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetOperation_sync", - "title": "gkemulticloud GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AttachedClustersClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AttachedClustersClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_ImportAttachedCluster_sync", - "title": "gkemulticloud ImportAttachedCluster Sample", - "description": "ImportAttachedCluster imports creates a new\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource\nby importing an existing Fleet Membership resource.\n\nAttached Clusters created before the introduction of the Anthos Multi-Cloud\nAPI can be imported through this method.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.", - "file": "AttachedClustersClient/ImportAttachedCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAttachedCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.ImportAttachedCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "ImportAttachedCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ImportAttachedClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ImportAttachedClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAttachedClusterOperation", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "ImportAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedCluster", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "ImportAttachedCluster" }, + "description": "ImportAttachedCluster imports creates a new\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource\nby importing an existing Fleet Membership resource.\n\nAttached Clusters created before the introduction of the Anthos Multi-Cloud\nAPI can be imported through this method.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.", + "file": "AttachedClustersClient/ImportAttachedCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_ImportAttachedCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ImportAttachedCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_ListAttachedClusters_sync", - "title": "gkemulticloud ListAttachedClusters Sample", - "description": "ListAttachedClusters lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]\nresources on a given Google Cloud project and region.", - "file": "AttachedClustersClient/ListAttachedClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttachedClusters", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.ListAttachedClusters", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "ListAttachedClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ListAttachedClustersRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ListAttachedClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttachedClusterIterator", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "ListAttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "ListAttachedClusters" }, + "description": "ListAttachedClusters lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]\nresources on a given Google Cloud project and region.", + "file": "AttachedClustersClient/ListAttachedClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_ListAttachedClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListAttachedClusters Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_ListOperations_sync", - "title": "gkemulticloud ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AttachedClustersClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AttachedClustersClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListOperations Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AttachedClusters_UpdateAttachedCluster_sync", - "title": "gkemulticloud UpdateAttachedCluster Sample", - "description": "UpdateAttachedCluster updates an\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].", - "file": "AttachedClustersClient/UpdateAttachedCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttachedCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient", + "shortName": "AttachedClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient.UpdateAttachedCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", + "shortName": "AttachedClusters" + }, + "shortName": "UpdateAttachedCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.UpdateAttachedClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.UpdateAttachedClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAttachedClusterOperation", - "client": { - "shortName": "AttachedClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClustersClient" - }, - "method": { - "shortName": "UpdateAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedCluster", - "service": { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters" - } - } + "shortName": "UpdateAttachedCluster" }, + "description": "UpdateAttachedCluster updates an\n[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].", + "file": "AttachedClustersClient/UpdateAttachedCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AttachedClusters_UpdateAttachedCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud UpdateAttachedCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_CancelOperation_sync", - "title": "gkemulticloud CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AwsClustersClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AwsClustersClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CancelOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_CreateAwsCluster_sync", - "title": "gkemulticloud CreateAwsCluster Sample", - "description": "CreateAwsCluster creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]\nresource on a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAwsCluster may be removed in a future version.", - "file": "AwsClustersClient/CreateAwsCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAwsCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.CreateAwsCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "CreateAwsCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.CreateAwsClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.CreateAwsClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAwsClusterOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "CreateAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsCluster", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "CreateAwsCluster" }, + "description": "CreateAwsCluster creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]\nresource on a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAwsCluster may be removed in a future version.", + "file": "AwsClustersClient/CreateAwsCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_CreateAwsCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CreateAwsCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_CreateAwsNodePool_sync", - "title": "gkemulticloud CreateAwsNodePool Sample", - "description": "CreateAwsNodePool creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],\nattached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAwsNodePool may be removed in a future version.", - "file": "AwsClustersClient/CreateAwsNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAwsNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.CreateAwsNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "CreateAwsNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.CreateAwsNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.CreateAwsNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAwsNodePoolOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "CreateAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsNodePool", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "CreateAwsNodePool" }, + "description": "CreateAwsNodePool creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],\nattached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAwsNodePool may be removed in a future version.", + "file": "AwsClustersClient/CreateAwsNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_CreateAwsNodePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CreateAwsNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteAwsCluster_sync", - "title": "gkemulticloud DeleteAwsCluster Sample", - "description": "DeleteAwsCluster deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]\nresource.\n\nFails if the cluster has one or more associated\n[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAwsCluster may be removed in a future version.", - "file": "AwsClustersClient/DeleteAwsCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAwsCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.DeleteAwsCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "DeleteAwsCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.DeleteAwsClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.DeleteAwsClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAwsClusterOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "DeleteAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsCluster", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "DeleteAwsCluster" }, + "description": "DeleteAwsCluster deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]\nresource.\n\nFails if the cluster has one or more associated\n[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAwsCluster may be removed in a future version.", + "file": "AwsClustersClient/DeleteAwsCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteAwsCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteAwsCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteAwsNodePool_sync", - "title": "gkemulticloud DeleteAwsNodePool Sample", - "description": "DeleteAwsNodePool deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]\nresource.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAwsNodePool may be removed in a future version.", - "file": "AwsClustersClient/DeleteAwsNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAwsNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.DeleteAwsNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "DeleteAwsNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.DeleteAwsNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.DeleteAwsNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAwsNodePoolOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "DeleteAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsNodePool", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "DeleteAwsNodePool" }, + "description": "DeleteAwsNodePool deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]\nresource.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAwsNodePool may be removed in a future version.", + "file": "AwsClustersClient/DeleteAwsNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteAwsNodePool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteAwsNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteOperation_sync", - "title": "gkemulticloud DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AwsClustersClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AwsClustersClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GenerateAwsAccessToken_sync", - "title": "gkemulticloud GenerateAwsAccessToken Sample", - "description": "GenerateAwsAccessToken generates a short-lived access token to authenticate to a given\n[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.\n\n\nDeprecated: GenerateAwsAccessToken may be removed in a future version.", - "file": "AwsClustersClient/GenerateAwsAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAwsAccessToken", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GenerateAwsAccessToken", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsAccessToken", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GenerateAwsAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GenerateAwsAccessTokenRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GenerateAwsAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.GenerateAwsAccessTokenResponse", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GenerateAwsAccessToken", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsAccessToken", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GenerateAwsAccessToken" }, + "description": "GenerateAwsAccessToken generates a short-lived access token to authenticate to a given\n[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.\n\n\nDeprecated: GenerateAwsAccessToken may be removed in a future version.", + "file": "AwsClustersClient/GenerateAwsAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GenerateAwsAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GenerateAwsAccessToken Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GenerateAwsClusterAgentToken_sync", - "title": "gkemulticloud GenerateAwsClusterAgentToken Sample", - "description": "GenerateAwsClusterAgentToken generates an access token for a cluster agent.\n\n\nDeprecated: GenerateAwsClusterAgentToken may be removed in a future version.", - "file": "AwsClustersClient/GenerateAwsClusterAgentToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAwsClusterAgentToken", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GenerateAwsClusterAgentToken", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsClusterAgentToken", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GenerateAwsClusterAgentToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GenerateAwsClusterAgentTokenRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GenerateAwsClusterAgentTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.GenerateAwsClusterAgentTokenResponse", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GenerateAwsClusterAgentToken", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsClusterAgentToken", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GenerateAwsClusterAgentToken" }, + "description": "GenerateAwsClusterAgentToken generates an access token for a cluster agent.\n\n\nDeprecated: GenerateAwsClusterAgentToken may be removed in a future version.", + "file": "AwsClustersClient/GenerateAwsClusterAgentToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GenerateAwsClusterAgentToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GenerateAwsClusterAgentToken Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsCluster_sync", - "title": "gkemulticloud GetAwsCluster Sample", - "description": "GetAwsCluster describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]\nresource.\n\n\nDeprecated: GetAwsCluster may be removed in a future version.", - "file": "AwsClustersClient/GetAwsCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAwsCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GetAwsCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAwsClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAwsClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AwsCluster", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GetAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsCluster", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GetAwsCluster" }, + "description": "GetAwsCluster describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]\nresource.\n\n\nDeprecated: GetAwsCluster may be removed in a future version.", + "file": "AwsClustersClient/GetAwsCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAwsCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsJsonWebKeys_sync", - "title": "gkemulticloud GetAwsJsonWebKeys Sample", - "description": "GetAwsJsonWebKeys gets the public component of the cluster signing keys in\nJSON Web Key format.\n\n\nDeprecated: GetAwsJsonWebKeys may be removed in a future version.", - "file": "AwsClustersClient/GetAwsJsonWebKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAwsJsonWebKeys", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsJsonWebKeys", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsJsonWebKeys", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GetAwsJsonWebKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAwsJsonWebKeysRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAwsJsonWebKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AwsJsonWebKeys", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GetAwsJsonWebKeys", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsJsonWebKeys", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GetAwsJsonWebKeys" }, + "description": "GetAwsJsonWebKeys gets the public component of the cluster signing keys in\nJSON Web Key format.\n\n\nDeprecated: GetAwsJsonWebKeys may be removed in a future version.", + "file": "AwsClustersClient/GetAwsJsonWebKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsJsonWebKeys_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAwsJsonWebKeys Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsNodePool_sync", - "title": "gkemulticloud GetAwsNodePool Sample", - "description": "GetAwsNodePool describes a specific\n[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.\n\n\nDeprecated: GetAwsNodePool may be removed in a future version.", - "file": "AwsClustersClient/GetAwsNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAwsNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GetAwsNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAwsNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAwsNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AwsNodePool", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GetAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsNodePool", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GetAwsNodePool" }, + "description": "GetAwsNodePool describes a specific\n[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.\n\n\nDeprecated: GetAwsNodePool may be removed in a future version.", + "file": "AwsClustersClient/GetAwsNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAwsNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsOpenIdConfig_sync", - "title": "gkemulticloud GetAwsOpenIdConfig Sample", - "description": "GetAwsOpenIdConfig gets the OIDC discovery document for the cluster.\nSee the\n[OpenID Connect Discovery 1.0\nspecification](https: //openid.net/specs/openid-connect-discovery-1_0.html)\nfor details.\n\n\nDeprecated: GetAwsOpenIdConfig may be removed in a future version.", - "file": "AwsClustersClient/GetAwsOpenIdConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAwsOpenIdConfig", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsOpenIdConfig", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsOpenIdConfig", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GetAwsOpenIdConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAwsOpenIdConfigRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAwsOpenIdConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AwsOpenIdConfig", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GetAwsOpenIdConfig", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsOpenIdConfig", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GetAwsOpenIdConfig" }, + "description": "GetAwsOpenIdConfig gets the OIDC discovery document for the cluster.\nSee the\n[OpenID Connect Discovery 1.0\nspecification](https: //openid.net/specs/openid-connect-discovery-1_0.html)\nfor details.\n\n\nDeprecated: GetAwsOpenIdConfig may be removed in a future version.", + "file": "AwsClustersClient/GetAwsOpenIdConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsOpenIdConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAwsOpenIdConfig Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsServerConfig_sync", - "title": "gkemulticloud GetAwsServerConfig Sample", - "description": "GetAwsServerConfig returns information, such as supported AWS regions and Kubernetes\nversions, on a given Google Cloud location.\n\n\nDeprecated: GetAwsServerConfig may be removed in a future version.", - "file": "AwsClustersClient/GetAwsServerConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAwsServerConfig", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetAwsServerConfig", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "GetAwsServerConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAwsServerConfigRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAwsServerConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AwsServerConfig", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GetAwsServerConfig", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "GetAwsServerConfig" }, + "description": "GetAwsServerConfig returns information, such as supported AWS regions and Kubernetes\nversions, on a given Google Cloud location.\n\n\nDeprecated: GetAwsServerConfig may be removed in a future version.", + "file": "AwsClustersClient/GetAwsServerConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetAwsServerConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAwsServerConfig Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetOperation_sync", - "title": "gkemulticloud GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AwsClustersClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AwsClustersClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_ListAwsClusters_sync", - "title": "gkemulticloud ListAwsClusters Sample", - "description": "ListAwsClusters lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources\non a given Google Cloud project and region.\n\n\nDeprecated: ListAwsClusters may be removed in a future version.", - "file": "AwsClustersClient/ListAwsClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAwsClusters", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClusters", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "ListAwsClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ListAwsClustersRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ListAwsClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AwsClusterIterator", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "ListAwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "ListAwsClusters" }, + "description": "ListAwsClusters lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources\non a given Google Cloud project and region.\n\n\nDeprecated: ListAwsClusters may be removed in a future version.", + "file": "AwsClustersClient/ListAwsClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_ListAwsClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListAwsClusters Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_ListAwsNodePools_sync", - "title": "gkemulticloud ListAwsNodePools Sample", - "description": "ListAwsNodePools lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]\nresources on a given\n[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].\n\n\nDeprecated: ListAwsNodePools may be removed in a future version.", - "file": "AwsClustersClient/ListAwsNodePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAwsNodePools", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePools", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "ListAwsNodePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ListAwsNodePoolsRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ListAwsNodePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AwsNodePoolIterator", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "ListAwsNodePools", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "ListAwsNodePools" }, + "description": "ListAwsNodePools lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]\nresources on a given\n[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].\n\n\nDeprecated: ListAwsNodePools may be removed in a future version.", + "file": "AwsClustersClient/ListAwsNodePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_ListAwsNodePools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListAwsNodePools Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_ListOperations_sync", - "title": "gkemulticloud ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AwsClustersClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AwsClustersClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListOperations Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_sync", - "title": "gkemulticloud RollbackAwsNodePoolUpdate Sample", - "description": "RollbackAwsNodePoolUpdate rolls back a previously aborted or failed\n[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.\nMakes no changes if the last update request successfully finished.\nIf an update request is in progress, you cannot rollback the update.\nYou must first cancel or let it finish unsuccessfully before you can\nrollback.\n\n\nDeprecated: RollbackAwsNodePoolUpdate may be removed in a future version.", - "file": "AwsClustersClient/RollbackAwsNodePoolUpdate/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackAwsNodePoolUpdate", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.RollbackAwsNodePoolUpdate", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.RollbackAwsNodePoolUpdate", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "RollbackAwsNodePoolUpdate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.RollbackAwsNodePoolUpdateRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.RollbackAwsNodePoolUpdateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RollbackAwsNodePoolUpdateOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "RollbackAwsNodePoolUpdate", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.RollbackAwsNodePoolUpdate", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "RollbackAwsNodePoolUpdate" }, + "description": "RollbackAwsNodePoolUpdate rolls back a previously aborted or failed\n[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.\nMakes no changes if the last update request successfully finished.\nIf an update request is in progress, you cannot rollback the update.\nYou must first cancel or let it finish unsuccessfully before you can\nrollback.\n\n\nDeprecated: RollbackAwsNodePoolUpdate may be removed in a future version.", + "file": "AwsClustersClient/RollbackAwsNodePoolUpdate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud RollbackAwsNodePoolUpdate Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_UpdateAwsCluster_sync", - "title": "gkemulticloud UpdateAwsCluster Sample", - "description": "UpdateAwsCluster updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].\n\n\nDeprecated: UpdateAwsCluster may be removed in a future version.", - "file": "AwsClustersClient/UpdateAwsCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAwsCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.UpdateAwsCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "UpdateAwsCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.UpdateAwsClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.UpdateAwsClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAwsClusterOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "UpdateAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsCluster", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "UpdateAwsCluster" }, + "description": "UpdateAwsCluster updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].\n\n\nDeprecated: UpdateAwsCluster may be removed in a future version.", + "file": "AwsClustersClient/UpdateAwsCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_UpdateAwsCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud UpdateAwsCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AwsClusters_UpdateAwsNodePool_sync", - "title": "gkemulticloud UpdateAwsNodePool Sample", - "description": "UpdateAwsNodePool updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].\n\n\nDeprecated: UpdateAwsNodePool may be removed in a future version.", - "file": "AwsClustersClient/UpdateAwsNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAwsNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient", + "shortName": "AwsClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient.UpdateAwsNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "AwsClusters" + }, + "shortName": "UpdateAwsNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.UpdateAwsNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.UpdateAwsNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAwsNodePoolOperation", - "client": { - "shortName": "AwsClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AwsClustersClient" - }, - "method": { - "shortName": "UpdateAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsNodePool", - "service": { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters" - } - } + "shortName": "UpdateAwsNodePool" }, + "description": "UpdateAwsNodePool updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].\n\n\nDeprecated: UpdateAwsNodePool may be removed in a future version.", + "file": "AwsClustersClient/UpdateAwsNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AwsClusters_UpdateAwsNodePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud UpdateAwsNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_CancelOperation_sync", - "title": "gkemulticloud CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AzureClustersClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AzureClustersClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CancelOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureClient_sync", - "title": "gkemulticloud CreateAzureClient Sample", - "description": "CreateAzureClient creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]\nresource on a given Google Cloud project and region.\n\n`AzureClient` resources hold client authentication\ninformation needed by the Anthos Multicloud API to manage Azure resources\non your Azure subscription on your behalf.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAzureClient may be removed in a future version.", - "file": "AzureClustersClient/CreateAzureClient/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAzureClient", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CreateAzureClient", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureClient", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "CreateAzureClient" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.CreateAzureClientRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.CreateAzureClientRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "CreateAzureClientOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "CreateAzureClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureClient", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "CreateAzureClientOperation", + "shortName": "CreateAzureClient" }, + "description": "CreateAzureClient creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]\nresource on a given Google Cloud project and region.\n\n`AzureClient` resources hold client authentication\ninformation needed by the Anthos Multicloud API to manage Azure resources\non your Azure subscription on your behalf.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAzureClient may be removed in a future version.", + "file": "AzureClustersClient/CreateAzureClient/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureClient_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CreateAzureClient Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureCluster_sync", - "title": "gkemulticloud CreateAzureCluster Sample", - "description": "CreateAzureCluster creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]\nresource on a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAzureCluster may be removed in a future version.", - "file": "AzureClustersClient/CreateAzureCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAzureCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CreateAzureCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "CreateAzureCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.CreateAzureClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.CreateAzureClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAzureClusterOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "CreateAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureCluster", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "CreateAzureCluster" }, + "description": "CreateAzureCluster creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]\nresource on a given Google Cloud Platform project and region.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAzureCluster may be removed in a future version.", + "file": "AzureClustersClient/CreateAzureCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CreateAzureCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureNodePool_sync", - "title": "gkemulticloud CreateAzureNodePool Sample", - "description": "CreateAzureNodePool creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],\nattached to a given\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAzureNodePool may be removed in a future version.", - "file": "AzureClustersClient/CreateAzureNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAzureNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.CreateAzureNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "CreateAzureNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.CreateAzureNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.CreateAzureNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAzureNodePoolOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "CreateAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureNodePool", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "CreateAzureNodePool" }, + "description": "CreateAzureNodePool creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],\nattached to a given\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: CreateAzureNodePool may be removed in a future version.", + "file": "AzureClustersClient/CreateAzureNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_CreateAzureNodePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud CreateAzureNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureClient_sync", - "title": "gkemulticloud DeleteAzureClient Sample", - "description": "DeleteAzureClient deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]\nresource.\n\nIf the client is used by one or more clusters, deletion will\nfail and a `FAILED_PRECONDITION` error will be returned.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAzureClient may be removed in a future version.", - "file": "AzureClustersClient/DeleteAzureClient/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAzureClient", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteAzureClient", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureClient", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "DeleteAzureClient" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.DeleteAzureClientRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.DeleteAzureClientRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAzureClientOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "DeleteAzureClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureClient", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "DeleteAzureClient" }, + "description": "DeleteAzureClient deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]\nresource.\n\nIf the client is used by one or more clusters, deletion will\nfail and a `FAILED_PRECONDITION` error will be returned.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAzureClient may be removed in a future version.", + "file": "AzureClustersClient/DeleteAzureClient/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureClient_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteAzureClient Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureCluster_sync", - "title": "gkemulticloud DeleteAzureCluster Sample", - "description": "DeleteAzureCluster deletes a specific\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.\n\nFails if the cluster has one or more associated\n[AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAzureCluster may be removed in a future version.", - "file": "AzureClustersClient/DeleteAzureCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAzureCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteAzureCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "DeleteAzureCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.DeleteAzureClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.DeleteAzureClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAzureClusterOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "DeleteAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureCluster", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "DeleteAzureCluster" }, + "description": "DeleteAzureCluster deletes a specific\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.\n\nFails if the cluster has one or more associated\n[AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAzureCluster may be removed in a future version.", + "file": "AzureClustersClient/DeleteAzureCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteAzureCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureNodePool_sync", - "title": "gkemulticloud DeleteAzureNodePool Sample", - "description": "DeleteAzureNodePool deletes a specific\n[AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAzureNodePool may be removed in a future version.", - "file": "AzureClustersClient/DeleteAzureNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAzureNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteAzureNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "DeleteAzureNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.DeleteAzureNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.DeleteAzureNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAzureNodePoolOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "DeleteAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureNodePool", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "DeleteAzureNodePool" }, + "description": "DeleteAzureNodePool deletes a specific\n[AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.\n\nIf successful, the response contains a newly created\n[Operation][google.longrunning.Operation] resource that can be\ndescribed to track the status of the operation.\n\n\nDeprecated: DeleteAzureNodePool may be removed in a future version.", + "file": "AzureClustersClient/DeleteAzureNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteAzureNodePool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteAzureNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteOperation_sync", - "title": "gkemulticloud DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AzureClustersClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AzureClustersClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud DeleteOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GenerateAzureAccessToken_sync", - "title": "gkemulticloud GenerateAzureAccessToken Sample", - "description": "GenerateAzureAccessToken generates a short-lived access token to authenticate to a given\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.\n\n\nDeprecated: GenerateAzureAccessToken may be removed in a future version.", - "file": "AzureClustersClient/GenerateAzureAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAzureAccessToken", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GenerateAzureAccessToken", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureAccessToken", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GenerateAzureAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GenerateAzureAccessTokenRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GenerateAzureAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.GenerateAzureAccessTokenResponse", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GenerateAzureAccessToken", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureAccessToken", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GenerateAzureAccessToken" }, + "description": "GenerateAzureAccessToken generates a short-lived access token to authenticate to a given\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.\n\n\nDeprecated: GenerateAzureAccessToken may be removed in a future version.", + "file": "AzureClustersClient/GenerateAzureAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GenerateAzureAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GenerateAzureAccessToken Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GenerateAzureClusterAgentToken_sync", - "title": "gkemulticloud GenerateAzureClusterAgentToken Sample", - "description": "GenerateAzureClusterAgentToken generates an access token for a cluster agent.\n\n\nDeprecated: GenerateAzureClusterAgentToken may be removed in a future version.", - "file": "AzureClustersClient/GenerateAzureClusterAgentToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAzureClusterAgentToken", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GenerateAzureClusterAgentToken", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureClusterAgentToken", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GenerateAzureClusterAgentToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GenerateAzureClusterAgentTokenRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GenerateAzureClusterAgentTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.GenerateAzureClusterAgentTokenResponse", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GenerateAzureClusterAgentToken", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureClusterAgentToken", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GenerateAzureClusterAgentToken" }, + "description": "GenerateAzureClusterAgentToken generates an access token for a cluster agent.\n\n\nDeprecated: GenerateAzureClusterAgentToken may be removed in a future version.", + "file": "AzureClustersClient/GenerateAzureClusterAgentToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GenerateAzureClusterAgentToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GenerateAzureClusterAgentToken Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureClient_sync", - "title": "gkemulticloud GetAzureClient Sample", - "description": "GetAzureClient describes a specific\n[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.\n\n\nDeprecated: GetAzureClient may be removed in a future version.", - "file": "AzureClustersClient/GetAzureClient/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAzureClient", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureClient", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureClient", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GetAzureClient" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAzureClientRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAzureClientRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AzureClient", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetAzureClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureClient", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GetAzureClient" }, + "description": "GetAzureClient describes a specific\n[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.\n\n\nDeprecated: GetAzureClient may be removed in a future version.", + "file": "AzureClustersClient/GetAzureClient/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureClient_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAzureClient Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureCluster_sync", - "title": "gkemulticloud GetAzureCluster Sample", - "description": "GetAzureCluster describes a specific\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.\n\n\nDeprecated: GetAzureCluster may be removed in a future version.", - "file": "AzureClustersClient/GetAzureCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAzureCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GetAzureCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAzureClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAzureClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AzureCluster", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureCluster", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GetAzureCluster" }, + "description": "GetAzureCluster describes a specific\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.\n\n\nDeprecated: GetAzureCluster may be removed in a future version.", + "file": "AzureClustersClient/GetAzureCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAzureCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_sync", - "title": "gkemulticloud GetAzureJsonWebKeys Sample", - "description": "GetAzureJsonWebKeys gets the public component of the cluster signing keys in\nJSON Web Key format.\n\n\nDeprecated: GetAzureJsonWebKeys may be removed in a future version.", - "file": "AzureClustersClient/GetAzureJsonWebKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAzureJsonWebKeys", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureJsonWebKeys", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureJsonWebKeys", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GetAzureJsonWebKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAzureJsonWebKeysRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAzureJsonWebKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AzureJsonWebKeys", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetAzureJsonWebKeys", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureJsonWebKeys", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GetAzureJsonWebKeys" }, + "description": "GetAzureJsonWebKeys gets the public component of the cluster signing keys in\nJSON Web Key format.\n\n\nDeprecated: GetAzureJsonWebKeys may be removed in a future version.", + "file": "AzureClustersClient/GetAzureJsonWebKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAzureJsonWebKeys Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureNodePool_sync", - "title": "gkemulticloud GetAzureNodePool Sample", - "description": "GetAzureNodePool describes a specific\n[AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.\n\n\nDeprecated: GetAzureNodePool may be removed in a future version.", - "file": "AzureClustersClient/GetAzureNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAzureNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GetAzureNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAzureNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAzureNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AzureNodePool", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureNodePool", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GetAzureNodePool" }, + "description": "GetAzureNodePool describes a specific\n[AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.\n\n\nDeprecated: GetAzureNodePool may be removed in a future version.", + "file": "AzureClustersClient/GetAzureNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureNodePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAzureNodePool Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_sync", - "title": "gkemulticloud GetAzureOpenIdConfig Sample", - "description": "GetAzureOpenIdConfig gets the OIDC discovery document for the cluster.\nSee the\n[OpenID Connect Discovery 1.0\nspecification](https: //openid.net/specs/openid-connect-discovery-1_0.html)\nfor details.\n\n\nDeprecated: GetAzureOpenIdConfig may be removed in a future version.", - "file": "AzureClustersClient/GetAzureOpenIdConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAzureOpenIdConfig", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureOpenIdConfig", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureOpenIdConfig", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GetAzureOpenIdConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAzureOpenIdConfigRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAzureOpenIdConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AzureOpenIdConfig", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetAzureOpenIdConfig", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureOpenIdConfig", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GetAzureOpenIdConfig" }, + "description": "GetAzureOpenIdConfig gets the OIDC discovery document for the cluster.\nSee the\n[OpenID Connect Discovery 1.0\nspecification](https: //openid.net/specs/openid-connect-discovery-1_0.html)\nfor details.\n\n\nDeprecated: GetAzureOpenIdConfig may be removed in a future version.", + "file": "AzureClustersClient/GetAzureOpenIdConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAzureOpenIdConfig Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureServerConfig_sync", - "title": "gkemulticloud GetAzureServerConfig Sample", - "description": "GetAzureServerConfig returns information, such as supported Azure regions and Kubernetes\nversions, on a given Google Cloud location.\n\n\nDeprecated: GetAzureServerConfig may be removed in a future version.", - "file": "AzureClustersClient/GetAzureServerConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAzureServerConfig", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetAzureServerConfig", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "GetAzureServerConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.GetAzureServerConfigRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.GetAzureServerConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkemulticloudpb.AzureServerConfig", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetAzureServerConfig", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "GetAzureServerConfig" }, + "description": "GetAzureServerConfig returns information, such as supported Azure regions and Kubernetes\nversions, on a given Google Cloud location.\n\n\nDeprecated: GetAzureServerConfig may be removed in a future version.", + "file": "AzureClustersClient/GetAzureServerConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetAzureServerConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetAzureServerConfig Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetOperation_sync", - "title": "gkemulticloud GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AzureClustersClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AzureClustersClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud GetOperation Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureClients_sync", - "title": "gkemulticloud ListAzureClients Sample", - "description": "ListAzureClients lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]\nresources on a given Google Cloud project and region.\n\n\nDeprecated: ListAzureClients may be removed in a future version.", - "file": "AzureClustersClient/ListAzureClients/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAzureClients", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClients", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "ListAzureClients" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ListAzureClientsRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ListAzureClientsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AzureClientIterator", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "ListAzureClients", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "ListAzureClients" }, + "description": "ListAzureClients lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]\nresources on a given Google Cloud project and region.\n\n\nDeprecated: ListAzureClients may be removed in a future version.", + "file": "AzureClustersClient/ListAzureClients/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureClients_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListAzureClients Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureClusters_sync", - "title": "gkemulticloud ListAzureClusters Sample", - "description": "ListAzureClusters lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]\nresources on a given Google Cloud project and region.\n\n\nDeprecated: ListAzureClusters may be removed in a future version.", - "file": "AzureClustersClient/ListAzureClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAzureClusters", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClusters", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "ListAzureClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ListAzureClustersRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ListAzureClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AzureClusterIterator", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "ListAzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "ListAzureClusters" }, + "description": "ListAzureClusters lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]\nresources on a given Google Cloud project and region.\n\n\nDeprecated: ListAzureClusters may be removed in a future version.", + "file": "AzureClustersClient/ListAzureClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListAzureClusters Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureNodePools_sync", - "title": "gkemulticloud ListAzureNodePools Sample", - "description": "ListAzureNodePools lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]\nresources on a given\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].\n\n\nDeprecated: ListAzureNodePools may be removed in a future version.", - "file": "AzureClustersClient/ListAzureNodePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAzureNodePools", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureNodePools", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "ListAzureNodePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.ListAzureNodePoolsRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.ListAzureNodePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AzureNodePoolIterator", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "ListAzureNodePools", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "ListAzureNodePools" }, + "description": "ListAzureNodePools lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]\nresources on a given\n[AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].\n\n\nDeprecated: ListAzureNodePools may be removed in a future version.", + "file": "AzureClustersClient/ListAzureNodePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListAzureNodePools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListAzureNodePools Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListOperations_sync", - "title": "gkemulticloud ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AzureClustersClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AzureClustersClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud ListOperations Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_UpdateAzureCluster_sync", - "title": "gkemulticloud UpdateAzureCluster Sample", - "description": "UpdateAzureCluster updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].\n\n\nDeprecated: UpdateAzureCluster may be removed in a future version.", - "file": "AzureClustersClient/UpdateAzureCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAzureCluster", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.UpdateAzureCluster", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureCluster", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "UpdateAzureCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.UpdateAzureClusterRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.UpdateAzureClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAzureClusterOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "UpdateAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureCluster", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "UpdateAzureCluster" }, + "description": "UpdateAzureCluster updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].\n\n\nDeprecated: UpdateAzureCluster may be removed in a future version.", + "file": "AzureClustersClient/UpdateAzureCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_UpdateAzureCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud UpdateAzureCluster Sample" }, { - "regionTag": "gkemulticloud_v1_generated_AzureClusters_UpdateAzureNodePool_sync", - "title": "gkemulticloud UpdateAzureNodePool Sample", - "description": "UpdateAzureNodePool updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].\n\n\nDeprecated: UpdateAzureNodePool may be removed in a future version.", - "file": "AzureClustersClient/UpdateAzureNodePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAzureNodePool", + "client": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient", + "shortName": "AzureClustersClient" + }, "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient.UpdateAzureNodePool", + "method": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureNodePool", + "service": { + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "AzureClusters" + }, + "shortName": "UpdateAzureNodePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkemulticloudpb.UpdateAzureNodePoolRequest", - "name": "req" + "name": "req", + "type": "gkemulticloudpb.UpdateAzureNodePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAzureNodePoolOperation", - "client": { - "shortName": "AzureClustersClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClustersClient" - }, - "method": { - "shortName": "UpdateAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureNodePool", - "service": { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters" - } - } + "shortName": "UpdateAzureNodePool" }, + "description": "UpdateAzureNodePool updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].\n\n\nDeprecated: UpdateAzureNodePool may be removed in a future version.", + "file": "AzureClustersClient/UpdateAzureNodePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkemulticloud_v1_generated_AzureClusters_UpdateAzureNodePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkemulticloud UpdateAzureNodePool Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gkerecommender/apiv1/snippet_metadata.google.cloud.gkerecommender.v1.json b/internal/generated/snippets/gkerecommender/apiv1/snippet_metadata.google.cloud.gkerecommender.v1.json index 8fa1a827d6ef..113f6dd7583d 100644 --- a/internal/generated/snippets/gkerecommender/apiv1/snippet_metadata.google.cloud.gkerecommender.v1.json +++ b/internal/generated/snippets/gkerecommender/apiv1/snippet_metadata.google.cloud.gkerecommender.v1.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gkerecommender/apiv1", - "version": "0.1.0", - "language": "GO", "apis": [ { "id": "google.cloud.gkerecommender.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gkerecommender/apiv1", + "version": "0.1.0" }, "snippets": [ { - "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchBenchmarkingData_sync", - "title": "gkerecommender FetchBenchmarkingData Sample", - "description": "FetchBenchmarkingData fetches all of the benchmarking data available for a profile. Benchmarking\ndata returns all of the performance metrics available for a given model\nserver setup on a given instance type.", - "file": "GkeInferenceQuickstartClient/FetchBenchmarkingData/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchBenchmarkingData", + "client": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient", + "shortName": "GkeInferenceQuickstartClient" + }, "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient.FetchBenchmarkingData", + "method": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchBenchmarkingData", + "service": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart", + "shortName": "GkeInferenceQuickstart" + }, + "shortName": "FetchBenchmarkingData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkerecommenderpb.FetchBenchmarkingDataRequest", - "name": "req" + "name": "req", + "type": "gkerecommenderpb.FetchBenchmarkingDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkerecommenderpb.FetchBenchmarkingDataResponse", - "client": { - "shortName": "GkeInferenceQuickstartClient", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient" - }, - "method": { - "shortName": "FetchBenchmarkingData", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchBenchmarkingData", - "service": { - "shortName": "GkeInferenceQuickstart", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart" - } - } + "shortName": "FetchBenchmarkingData" }, + "description": "FetchBenchmarkingData fetches all of the benchmarking data available for a profile. Benchmarking\ndata returns all of the performance metrics available for a given model\nserver setup on a given instance type.", + "file": "GkeInferenceQuickstartClient/FetchBenchmarkingData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchBenchmarkingData_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkerecommender FetchBenchmarkingData Sample" }, { - "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchModelServerVersions_sync", - "title": "gkerecommender FetchModelServerVersions Sample", - "description": "FetchModelServerVersions fetches available model server versions. Open-source servers use their own\nversioning schemas (e.g., `vllm` uses semver like `v1.0.0`).\n\nSome model servers have different versioning schemas depending on the\naccelerator. For example, `vllm` uses semver on GPUs, but returns nightly\nbuild tags on TPUs. All available versions will be returned when different\nschemas are present.", - "file": "GkeInferenceQuickstartClient/FetchModelServerVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchModelServerVersions", + "client": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient", + "shortName": "GkeInferenceQuickstartClient" + }, "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient.FetchModelServerVersions", + "method": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions", + "service": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart", + "shortName": "GkeInferenceQuickstart" + }, + "shortName": "FetchModelServerVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkerecommenderpb.FetchModelServerVersionsRequest", - "name": "req" + "name": "req", + "type": "gkerecommenderpb.FetchModelServerVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "GkeInferenceQuickstartClient", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient" - }, - "method": { - "shortName": "FetchModelServerVersions", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions", - "service": { - "shortName": "GkeInferenceQuickstart", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart" - } - } + "shortName": "FetchModelServerVersions" }, + "description": "FetchModelServerVersions fetches available model server versions. Open-source servers use their own\nversioning schemas (e.g., `vllm` uses semver like `v1.0.0`).\n\nSome model servers have different versioning schemas depending on the\naccelerator. For example, `vllm` uses semver on GPUs, but returns nightly\nbuild tags on TPUs. All available versions will be returned when different\nschemas are present.", + "file": "GkeInferenceQuickstartClient/FetchModelServerVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchModelServerVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkerecommender FetchModelServerVersions Sample" }, { - "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchModelServers_sync", - "title": "gkerecommender FetchModelServers Sample", - "description": "FetchModelServers fetches available model servers. Open-source model servers use simplified,\nlowercase names (e.g., `vllm`).", - "file": "GkeInferenceQuickstartClient/FetchModelServers/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchModelServers", + "client": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient", + "shortName": "GkeInferenceQuickstartClient" + }, "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient.FetchModelServers", + "method": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers", + "service": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart", + "shortName": "GkeInferenceQuickstart" + }, + "shortName": "FetchModelServers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkerecommenderpb.FetchModelServersRequest", - "name": "req" + "name": "req", + "type": "gkerecommenderpb.FetchModelServersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "GkeInferenceQuickstartClient", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient" - }, - "method": { - "shortName": "FetchModelServers", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers", - "service": { - "shortName": "GkeInferenceQuickstart", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart" - } - } + "shortName": "FetchModelServers" }, + "description": "FetchModelServers fetches available model servers. Open-source model servers use simplified,\nlowercase names (e.g., `vllm`).", + "file": "GkeInferenceQuickstartClient/FetchModelServers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchModelServers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkerecommender FetchModelServers Sample" }, { - "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchModels_sync", - "title": "gkerecommender FetchModels Sample", - "description": "FetchModels fetches available models. Open-source models follow the Huggingface Hub\n`owner/model_name` format.", - "file": "GkeInferenceQuickstartClient/FetchModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchModels", + "client": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient", + "shortName": "GkeInferenceQuickstartClient" + }, "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient.FetchModels", + "method": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels", + "service": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart", + "shortName": "GkeInferenceQuickstart" + }, + "shortName": "FetchModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkerecommenderpb.FetchModelsRequest", - "name": "req" + "name": "req", + "type": "gkerecommenderpb.FetchModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "GkeInferenceQuickstartClient", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient" - }, - "method": { - "shortName": "FetchModels", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels", - "service": { - "shortName": "GkeInferenceQuickstart", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart" - } - } + "shortName": "FetchModels" }, + "description": "FetchModels fetches available models. Open-source models follow the Huggingface Hub\n`owner/model_name` format.", + "file": "GkeInferenceQuickstartClient/FetchModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkerecommender FetchModels Sample" }, { - "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchProfiles_sync", - "title": "gkerecommender FetchProfiles Sample", - "description": "FetchProfiles fetches available profiles. A profile contains performance metrics and\ncost information for a specific model server setup. Profiles can be\nfiltered by parameters. If no filters are provided, all profiles are\nreturned.\n\nProfiles display a single value per performance metric based on the\nprovided performance requirements. If no requirements are given, the\nmetrics represent the inflection point. See [Run best practice inference\nwith GKE Inference Quickstart\nrecipes](https: //cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference/inference-quickstart#how)\nfor details.", - "file": "GkeInferenceQuickstartClient/FetchProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchProfiles", + "client": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient", + "shortName": "GkeInferenceQuickstartClient" + }, "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient.FetchProfiles", + "method": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles", + "service": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart", + "shortName": "GkeInferenceQuickstart" + }, + "shortName": "FetchProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkerecommenderpb.FetchProfilesRequest", - "name": "req" + "name": "req", + "type": "gkerecommenderpb.FetchProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProfileIterator", - "client": { - "shortName": "GkeInferenceQuickstartClient", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient" - }, - "method": { - "shortName": "FetchProfiles", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles", - "service": { - "shortName": "GkeInferenceQuickstart", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart" - } - } + "shortName": "FetchProfiles" }, + "description": "FetchProfiles fetches available profiles. A profile contains performance metrics and\ncost information for a specific model server setup. Profiles can be\nfiltered by parameters. If no filters are provided, all profiles are\nreturned.\n\nProfiles display a single value per performance metric based on the\nprovided performance requirements. If no requirements are given, the\nmetrics represent the inflection point. See [Run best practice inference\nwith GKE Inference Quickstart\nrecipes](https: //cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference/inference-quickstart#how)\nfor details.", + "file": "GkeInferenceQuickstartClient/FetchProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_FetchProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkerecommender FetchProfiles Sample" }, { - "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_GenerateOptimizedManifest_sync", - "title": "gkerecommender GenerateOptimizedManifest Sample", - "description": "GenerateOptimizedManifest generates an optimized deployment manifest for a given model and model\nserver, based on the specified accelerator, performance targets, and\nconfigurations. See [Run best practice inference with GKE Inference\nQuickstart\nrecipes](https: //cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference/inference-quickstart)\nfor deployment details.", - "file": "GkeInferenceQuickstartClient/GenerateOptimizedManifest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateOptimizedManifest", + "client": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient", + "shortName": "GkeInferenceQuickstartClient" + }, "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient.GenerateOptimizedManifest", + "method": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.GenerateOptimizedManifest", + "service": { + "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart", + "shortName": "GkeInferenceQuickstart" + }, + "shortName": "GenerateOptimizedManifest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gkerecommenderpb.GenerateOptimizedManifestRequest", - "name": "req" + "name": "req", + "type": "gkerecommenderpb.GenerateOptimizedManifestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gkerecommenderpb.GenerateOptimizedManifestResponse", - "client": { - "shortName": "GkeInferenceQuickstartClient", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstartClient" - }, - "method": { - "shortName": "GenerateOptimizedManifest", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart.GenerateOptimizedManifest", - "service": { - "shortName": "GkeInferenceQuickstart", - "fullName": "google.cloud.gkerecommender.v1.GkeInferenceQuickstart" - } - } + "shortName": "GenerateOptimizedManifest" }, + "description": "GenerateOptimizedManifest generates an optimized deployment manifest for a given model and model\nserver, based on the specified accelerator, performance targets, and\nconfigurations. See [Run best practice inference with GKE Inference\nQuickstart\nrecipes](https: //cloud.google.com/kubernetes-engine/docs/how-to/machine-learning/inference/inference-quickstart)\nfor deployment details.", + "file": "GkeInferenceQuickstartClient/GenerateOptimizedManifest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gkerecommender_v1_generated_GkeInferenceQuickstart_GenerateOptimizedManifest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gkerecommender GenerateOptimizedManifest Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json b/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json index 59e2b4291148..50ba26e96147 100644 --- a/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json +++ b/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json @@ -1,426 +1,426 @@ { "clientLibrary": { - "name": "cloud.google.com/go/gsuiteaddons/apiv1", - "version": "1.7.8", - "language": "GO", "apis": [ { "id": "google.cloud.gsuiteaddons.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/gsuiteaddons/apiv1", + "version": "1.7.8" }, "snippets": [ { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_CreateDeployment_sync", - "title": "gsuiteaddons CreateDeployment Sample", - "description": "CreateDeployment creates a deployment with the specified name and configuration.", - "file": "Client/CreateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployment", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.CreateDeployment", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.CreateDeployment", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "CreateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.CreateDeploymentRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.CreateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gsuiteaddonspb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "CreateDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.CreateDeployment", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "CreateDeployment" }, + "description": "CreateDeployment creates a deployment with the specified name and configuration.", + "file": "Client/CreateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_CreateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons CreateDeployment Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_DeleteDeployment_sync", - "title": "gsuiteaddons DeleteDeployment Sample", - "description": "DeleteDeployment deletes the deployment with the given name.", - "file": "Client/DeleteDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeployment", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.DeleteDeployment", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.DeleteDeployment", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "DeleteDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.DeleteDeploymentRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.DeleteDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "DeleteDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.DeleteDeployment", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "DeleteDeployment" }, + "description": "DeleteDeployment deletes the deployment with the given name.", + "file": "Client/DeleteDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_DeleteDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons DeleteDeployment Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetAuthorization_sync", - "title": "gsuiteaddons GetAuthorization Sample", - "description": "GetAuthorization gets the authorization information for deployments in a given project.", - "file": "Client/GetAuthorization/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAuthorization", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.GetAuthorization", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetAuthorization", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "GetAuthorization" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.GetAuthorizationRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.GetAuthorizationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gsuiteaddonspb.Authorization", - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "GetAuthorization", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetAuthorization", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "GetAuthorization" }, + "description": "GetAuthorization gets the authorization information for deployments in a given project.", + "file": "Client/GetAuthorization/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetAuthorization_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons GetAuthorization Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetDeployment_sync", - "title": "gsuiteaddons GetDeployment Sample", - "description": "GetDeployment gets the deployment with the specified name.", - "file": "Client/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.GetDeployment", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetDeployment", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gsuiteaddonspb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetDeployment", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment gets the deployment with the specified name.", + "file": "Client/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons GetDeployment Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetInstallStatus_sync", - "title": "gsuiteaddons GetInstallStatus Sample", - "description": "GetInstallStatus fetches the install status of a developer mode deployment.", - "file": "Client/GetInstallStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstallStatus", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.GetInstallStatus", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetInstallStatus", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "GetInstallStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.GetInstallStatusRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.GetInstallStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gsuiteaddonspb.InstallStatus", - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "GetInstallStatus", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetInstallStatus", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "GetInstallStatus" }, + "description": "GetInstallStatus fetches the install status of a developer mode deployment.", + "file": "Client/GetInstallStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetInstallStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons GetInstallStatus Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_InstallDeployment_sync", - "title": "gsuiteaddons InstallDeployment Sample", - "description": "InstallDeployment installs a deployment in developer mode.\nSee: \nhttps: //developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.", - "file": "Client/InstallDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "InstallDeployment", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.InstallDeployment", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.InstallDeployment", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "InstallDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.InstallDeploymentRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.InstallDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "InstallDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.InstallDeployment", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "InstallDeployment" }, + "description": "InstallDeployment installs a deployment in developer mode.\nSee: \nhttps: //developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.", + "file": "Client/InstallDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_InstallDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons InstallDeployment Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_ListDeployments_sync", - "title": "gsuiteaddons ListDeployments Sample", - "description": "ListDeployments lists all deployments in a particular project.", - "file": "Client/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.ListDeployments", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ListDeployments", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ListDeployments", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments lists all deployments in a particular project.", + "file": "Client/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons ListDeployments Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_ReplaceDeployment_sync", - "title": "gsuiteaddons ReplaceDeployment Sample", - "description": "ReplaceDeployment creates or replaces a deployment with the specified name.", - "file": "Client/ReplaceDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceDeployment", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.ReplaceDeployment", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ReplaceDeployment", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "ReplaceDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.ReplaceDeploymentRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.ReplaceDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*gsuiteaddonspb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "ReplaceDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ReplaceDeployment", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "ReplaceDeployment" }, + "description": "ReplaceDeployment creates or replaces a deployment with the specified name.", + "file": "Client/ReplaceDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_ReplaceDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons ReplaceDeployment Sample" }, { - "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_UninstallDeployment_sync", - "title": "gsuiteaddons UninstallDeployment Sample", - "description": "UninstallDeployment uninstalls a developer mode deployment.\nSee: \nhttps: //developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.", - "file": "Client/UninstallDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UninstallDeployment", + "client": { + "fullName": "google.cloud.gsuiteaddons.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.gsuiteaddons.v1.Client.UninstallDeployment", + "method": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.UninstallDeployment", + "service": { + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "GSuiteAddOns" + }, + "shortName": "UninstallDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "gsuiteaddonspb.UninstallDeploymentRequest", - "name": "req" + "name": "req", + "type": "gsuiteaddonspb.UninstallDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.gsuiteaddons.v1.Client" - }, - "method": { - "shortName": "UninstallDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.UninstallDeployment", - "service": { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns" - } - } + "shortName": "UninstallDeployment" }, + "description": "UninstallDeployment uninstalls a developer mode deployment.\nSee: \nhttps: //developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.", + "file": "Client/UninstallDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_UninstallDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "gsuiteaddons UninstallDeployment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/hypercomputecluster/apiv1/snippet_metadata.google.cloud.hypercomputecluster.v1.json b/internal/generated/snippets/hypercomputecluster/apiv1/snippet_metadata.google.cloud.hypercomputecluster.v1.json index 9b3461934bcd..734375c18af4 100644 --- a/internal/generated/snippets/hypercomputecluster/apiv1/snippet_metadata.google.cloud.hypercomputecluster.v1.json +++ b/internal/generated/snippets/hypercomputecluster/apiv1/snippet_metadata.google.cloud.hypercomputecluster.v1.json @@ -1,519 +1,519 @@ { "clientLibrary": { - "name": "cloud.google.com/go/hypercomputecluster/apiv1", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.hypercomputecluster.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/hypercomputecluster/apiv1", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_CancelOperation_sync", - "title": "hypercomputecluster CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster CancelOperation Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_CreateCluster_sync", - "title": "hypercomputecluster CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "Client/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.CreateCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.CreateCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.CreateCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "Client/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster CreateCluster Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_DeleteCluster_sync", - "title": "hypercomputecluster DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "Client/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.DeleteCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.DeleteCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.DeleteCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "Client/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster DeleteCluster Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_DeleteOperation_sync", - "title": "hypercomputecluster DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster DeleteOperation Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_GetCluster_sync", - "title": "hypercomputecluster GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "Client/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.GetCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.GetCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*hypercomputeclusterpb.Cluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.GetCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "Client/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster GetCluster Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_GetLocation_sync", - "title": "hypercomputecluster GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster GetLocation Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_GetOperation_sync", - "title": "hypercomputecluster GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster GetOperation Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_ListClusters_sync", - "title": "hypercomputecluster ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "Client/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.ListClusters", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.ListClusters", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.ListClusters", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "Client/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster ListClusters Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_ListLocations_sync", - "title": "hypercomputecluster ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster ListLocations Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_ListOperations_sync", - "title": "hypercomputecluster ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster ListOperations Sample" }, { - "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_UpdateCluster_sync", - "title": "hypercomputecluster UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "Client/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1.Client.UpdateCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.UpdateCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1.Client" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster.UpdateCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1.HypercomputeCluster" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "Client/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1_generated_HypercomputeCluster_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster UpdateCluster Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/hypercomputecluster/apiv1beta/snippet_metadata.google.cloud.hypercomputecluster.v1beta.json b/internal/generated/snippets/hypercomputecluster/apiv1beta/snippet_metadata.google.cloud.hypercomputecluster.v1beta.json index 8d50350632b1..f7f250afa245 100644 --- a/internal/generated/snippets/hypercomputecluster/apiv1beta/snippet_metadata.google.cloud.hypercomputecluster.v1beta.json +++ b/internal/generated/snippets/hypercomputecluster/apiv1beta/snippet_metadata.google.cloud.hypercomputecluster.v1beta.json @@ -1,519 +1,519 @@ { "clientLibrary": { - "name": "cloud.google.com/go/hypercomputecluster/apiv1beta", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.hypercomputecluster.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/hypercomputecluster/apiv1beta", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_CancelOperation_sync", - "title": "hypercomputecluster CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster CancelOperation Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_CreateCluster_sync", - "title": "hypercomputecluster CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "Client/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.CreateCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.CreateCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.CreateCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "Client/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster CreateCluster Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_DeleteCluster_sync", - "title": "hypercomputecluster DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "Client/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.DeleteCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.DeleteCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.DeleteCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "Client/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster DeleteCluster Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_DeleteOperation_sync", - "title": "hypercomputecluster DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster DeleteOperation Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_GetCluster_sync", - "title": "hypercomputecluster GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "Client/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.GetCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.GetCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*hypercomputeclusterpb.Cluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.GetCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "Client/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster GetCluster Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_GetLocation_sync", - "title": "hypercomputecluster GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster GetLocation Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_GetOperation_sync", - "title": "hypercomputecluster GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster GetOperation Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_ListClusters_sync", - "title": "hypercomputecluster ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "Client/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.ListClusters", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.ListClusters", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.ListClusters", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "Client/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster ListClusters Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_ListLocations_sync", - "title": "hypercomputecluster ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster ListLocations Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_ListOperations_sync", - "title": "hypercomputecluster ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster ListOperations Sample" }, { - "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_UpdateCluster_sync", - "title": "hypercomputecluster UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "Client/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.hypercomputecluster.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.hypercomputecluster.v1beta.Client.UpdateCluster", + "method": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.UpdateCluster", + "service": { + "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster", + "shortName": "HypercomputeCluster" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "hypercomputeclusterpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "hypercomputeclusterpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.hypercomputecluster.v1beta.Client" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster.UpdateCluster", - "service": { - "shortName": "HypercomputeCluster", - "fullName": "google.cloud.hypercomputecluster.v1beta.HypercomputeCluster" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "Client/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "hypercomputecluster_v1beta_generated_HypercomputeCluster_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "hypercomputecluster UpdateCluster Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json index 7cbd96f2c612..951094c88e76 100644 --- a/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json +++ b/internal/generated/snippets/iam/apiv1/snippet_metadata.google.iam.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iam/apiv1", - "version": "1.5.3", - "language": "GO", "apis": [ { "id": "google.iam.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iam/apiv1", + "version": "1.5.3" }, "snippets": [ { - "regionTag": "iam-meta-api_v1_generated_IAMPolicy_GetIamPolicy_sync", - "title": "iam-meta-api GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "file": "IamPolicyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.iam.v1.IamPolicyClient", + "shortName": "IamPolicyClient" + }, "fullName": "google.iam.v1.IamPolicyClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IamPolicyClient", - "fullName": "google.iam.v1.IamPolicyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "file": "IamPolicyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam-meta-api_v1_generated_IAMPolicy_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam-meta-api GetIamPolicy Sample" }, { - "regionTag": "iam-meta-api_v1_generated_IAMPolicy_SetIamPolicy_sync", - "title": "iam-meta-api SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "file": "IamPolicyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.iam.v1.IamPolicyClient", + "shortName": "IamPolicyClient" + }, "fullName": "google.iam.v1.IamPolicyClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IamPolicyClient", - "fullName": "google.iam.v1.IamPolicyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "file": "IamPolicyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam-meta-api_v1_generated_IAMPolicy_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam-meta-api SetIamPolicy Sample" }, { - "regionTag": "iam-meta-api_v1_generated_IAMPolicy_TestIamPermissions_sync", - "title": "iam-meta-api TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "IamPolicyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.iam.v1.IamPolicyClient", + "shortName": "IamPolicyClient" + }, "fullName": "google.iam.v1.IamPolicyClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "IamPolicyClient", - "fullName": "google.iam.v1.IamPolicyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource 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 permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "IamPolicyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam-meta-api_v1_generated_IAMPolicy_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam-meta-api TestIamPermissions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json b/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json index 2d4e6b9b40cc..11b4a4de725a 100644 --- a/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json +++ b/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iam/apiv2", - "version": "1.5.3", - "language": "GO", "apis": [ { "id": "google.iam.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iam/apiv2", + "version": "1.5.3" }, "snippets": [ { - "regionTag": "iam_v2_generated_Policies_CreatePolicy_sync", - "title": "iam CreatePolicy Sample", - "description": "CreatePolicy creates a policy.", - "file": "PoliciesClient/CreatePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicy", + "client": { + "fullName": "google.iam.v2.PoliciesClient", + "shortName": "PoliciesClient" + }, "fullName": "google.iam.v2.PoliciesClient.CreatePolicy", + "method": { + "fullName": "google.iam.v2.Policies.CreatePolicy", + "service": { + "fullName": "google.iam.v2.Policies", + "shortName": "Policies" + }, + "shortName": "CreatePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.CreatePolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.CreatePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePolicyOperation", - "client": { - "shortName": "PoliciesClient", - "fullName": "google.iam.v2.PoliciesClient" - }, - "method": { - "shortName": "CreatePolicy", - "fullName": "google.iam.v2.Policies.CreatePolicy", - "service": { - "shortName": "Policies", - "fullName": "google.iam.v2.Policies" - } - } + "shortName": "CreatePolicy" }, + "description": "CreatePolicy creates a policy.", + "file": "PoliciesClient/CreatePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v2_generated_Policies_CreatePolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam CreatePolicy Sample" }, { - "regionTag": "iam_v2_generated_Policies_DeletePolicy_sync", - "title": "iam DeletePolicy Sample", - "description": "DeletePolicy deletes a policy. This action is permanent.", - "file": "PoliciesClient/DeletePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicy", + "client": { + "fullName": "google.iam.v2.PoliciesClient", + "shortName": "PoliciesClient" + }, "fullName": "google.iam.v2.PoliciesClient.DeletePolicy", + "method": { + "fullName": "google.iam.v2.Policies.DeletePolicy", + "service": { + "fullName": "google.iam.v2.Policies", + "shortName": "Policies" + }, + "shortName": "DeletePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.DeletePolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.DeletePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePolicyOperation", - "client": { - "shortName": "PoliciesClient", - "fullName": "google.iam.v2.PoliciesClient" - }, - "method": { - "shortName": "DeletePolicy", - "fullName": "google.iam.v2.Policies.DeletePolicy", - "service": { - "shortName": "Policies", - "fullName": "google.iam.v2.Policies" - } - } + "shortName": "DeletePolicy" }, + "description": "DeletePolicy deletes a policy. This action is permanent.", + "file": "PoliciesClient/DeletePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v2_generated_Policies_DeletePolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam DeletePolicy Sample" }, { - "regionTag": "iam_v2_generated_Policies_GetOperation_sync", - "title": "iam GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PoliciesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.iam.v2.PoliciesClient", + "shortName": "PoliciesClient" + }, "fullName": "google.iam.v2.PoliciesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PoliciesClient", - "fullName": "google.iam.v2.PoliciesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PoliciesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v2_generated_Policies_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetOperation Sample" }, { - "regionTag": "iam_v2_generated_Policies_GetPolicy_sync", - "title": "iam GetPolicy Sample", - "description": "GetPolicy gets a policy.", - "file": "PoliciesClient/GetPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicy", + "client": { + "fullName": "google.iam.v2.PoliciesClient", + "shortName": "PoliciesClient" + }, "fullName": "google.iam.v2.PoliciesClient.GetPolicy", + "method": { + "fullName": "google.iam.v2.Policies.GetPolicy", + "service": { + "fullName": "google.iam.v2.Policies", + "shortName": "Policies" + }, + "shortName": "GetPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PoliciesClient", - "fullName": "google.iam.v2.PoliciesClient" - }, - "method": { - "shortName": "GetPolicy", - "fullName": "google.iam.v2.Policies.GetPolicy", - "service": { - "shortName": "Policies", - "fullName": "google.iam.v2.Policies" - } - } + "shortName": "GetPolicy" }, + "description": "GetPolicy gets a policy.", + "file": "PoliciesClient/GetPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v2_generated_Policies_GetPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetPolicy Sample" }, { - "regionTag": "iam_v2_generated_Policies_ListPolicies_sync", - "title": "iam ListPolicies Sample", - "description": "ListPolicies retrieves the policies of the specified kind that are attached to a\nresource.\n\nThe response lists only policy metadata. In particular, policy rules are\nomitted.", - "file": "PoliciesClient/ListPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicies", + "client": { + "fullName": "google.iam.v2.PoliciesClient", + "shortName": "PoliciesClient" + }, "fullName": "google.iam.v2.PoliciesClient.ListPolicies", + "method": { + "fullName": "google.iam.v2.Policies.ListPolicies", + "service": { + "fullName": "google.iam.v2.Policies", + "shortName": "Policies" + }, + "shortName": "ListPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.ListPoliciesRequest", - "name": "req" + "name": "req", + "type": "iampb.ListPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyIterator", - "client": { - "shortName": "PoliciesClient", - "fullName": "google.iam.v2.PoliciesClient" - }, - "method": { - "shortName": "ListPolicies", - "fullName": "google.iam.v2.Policies.ListPolicies", - "service": { - "shortName": "Policies", - "fullName": "google.iam.v2.Policies" - } - } + "shortName": "ListPolicies" }, + "description": "ListPolicies retrieves the policies of the specified kind that are attached to a\nresource.\n\nThe response lists only policy metadata. In particular, policy rules are\nomitted.", + "file": "PoliciesClient/ListPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v2_generated_Policies_ListPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam ListPolicies Sample" }, { - "regionTag": "iam_v2_generated_Policies_UpdatePolicy_sync", - "title": "iam UpdatePolicy Sample", - "description": "UpdatePolicy updates the specified policy.\n\nYou can update only the rules and the display name for the policy.\n\nTo update a policy, you should use a read-modify-write loop: \n\n1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy.\n2. Modify the policy as needed.\n3. Use `UpdatePolicy` to write the updated policy.\n\nThis pattern helps prevent conflicts between concurrent updates.", - "file": "PoliciesClient/UpdatePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicy", + "client": { + "fullName": "google.iam.v2.PoliciesClient", + "shortName": "PoliciesClient" + }, "fullName": "google.iam.v2.PoliciesClient.UpdatePolicy", + "method": { + "fullName": "google.iam.v2.Policies.UpdatePolicy", + "service": { + "fullName": "google.iam.v2.Policies", + "shortName": "Policies" + }, + "shortName": "UpdatePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.UpdatePolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.UpdatePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePolicyOperation", - "client": { - "shortName": "PoliciesClient", - "fullName": "google.iam.v2.PoliciesClient" - }, - "method": { - "shortName": "UpdatePolicy", - "fullName": "google.iam.v2.Policies.UpdatePolicy", - "service": { - "shortName": "Policies", - "fullName": "google.iam.v2.Policies" - } - } + "shortName": "UpdatePolicy" }, + "description": "UpdatePolicy updates the specified policy.\n\nYou can update only the rules and the display name for the policy.\n\nTo update a policy, you should use a read-modify-write loop: \n\n1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy.\n2. Modify the policy as needed.\n3. Use `UpdatePolicy` to write the updated policy.\n\nThis pattern helps prevent conflicts between concurrent updates.", + "file": "PoliciesClient/UpdatePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v2_generated_Policies_UpdatePolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam UpdatePolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iam/apiv3/snippet_metadata.google.iam.v3.json b/internal/generated/snippets/iam/apiv3/snippet_metadata.google.iam.v3.json index 9dd6e3cf209c..beb4f36ad9d2 100644 --- a/internal/generated/snippets/iam/apiv3/snippet_metadata.google.iam.v3.json +++ b/internal/generated/snippets/iam/apiv3/snippet_metadata.google.iam.v3.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iam/apiv3", - "version": "1.5.3", - "language": "GO", "apis": [ { "id": "google.iam.v3", "version": "v3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iam/apiv3", + "version": "1.5.3" }, "snippets": [ { - "regionTag": "iam_v3_generated_PolicyBindings_CreatePolicyBinding_sync", - "title": "iam CreatePolicyBinding Sample", - "description": "CreatePolicyBinding creates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is created, the policy is applied to the target.", - "file": "PolicyBindingsClient/CreatePolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicyBinding", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.CreatePolicyBinding", + "method": { + "fullName": "google.iam.v3.PolicyBindings.CreatePolicyBinding", + "service": { + "fullName": "google.iam.v3.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "CreatePolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.CreatePolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.CreatePolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePolicyBindingOperation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "CreatePolicyBinding", - "fullName": "google.iam.v3.PolicyBindings.CreatePolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3.PolicyBindings" - } - } + "shortName": "CreatePolicyBinding" }, + "description": "CreatePolicyBinding creates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is created, the policy is applied to the target.", + "file": "PolicyBindingsClient/CreatePolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_CreatePolicyBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam CreatePolicyBinding Sample" }, { - "regionTag": "iam_v3_generated_PolicyBindings_DeletePolicyBinding_sync", - "title": "iam DeletePolicyBinding Sample", - "description": "DeletePolicyBinding deletes a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is deleted, the policy no longer applies to the target.", - "file": "PolicyBindingsClient/DeletePolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicyBinding", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.DeletePolicyBinding", + "method": { + "fullName": "google.iam.v3.PolicyBindings.DeletePolicyBinding", + "service": { + "fullName": "google.iam.v3.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "DeletePolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.DeletePolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.DeletePolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePolicyBindingOperation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "DeletePolicyBinding", - "fullName": "google.iam.v3.PolicyBindings.DeletePolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3.PolicyBindings" - } - } + "shortName": "DeletePolicyBinding" }, + "description": "DeletePolicyBinding deletes a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is deleted, the policy no longer applies to the target.", + "file": "PolicyBindingsClient/DeletePolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_DeletePolicyBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam DeletePolicyBinding Sample" }, { - "regionTag": "iam_v3_generated_PolicyBindings_GetOperation_sync", - "title": "iam GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBindingsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBindingsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetOperation Sample" }, { - "regionTag": "iam_v3_generated_PolicyBindings_GetPolicyBinding_sync", - "title": "iam GetPolicyBinding Sample", - "description": "GetPolicyBinding gets a policy binding.", - "file": "PolicyBindingsClient/GetPolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicyBinding", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.GetPolicyBinding", + "method": { + "fullName": "google.iam.v3.PolicyBindings.GetPolicyBinding", + "service": { + "fullName": "google.iam.v3.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "GetPolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetPolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.GetPolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.PolicyBinding", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "GetPolicyBinding", - "fullName": "google.iam.v3.PolicyBindings.GetPolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3.PolicyBindings" - } - } + "shortName": "GetPolicyBinding" }, + "description": "GetPolicyBinding gets a policy binding.", + "file": "PolicyBindingsClient/GetPolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_GetPolicyBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetPolicyBinding Sample" }, { - "regionTag": "iam_v3_generated_PolicyBindings_ListPolicyBindings_sync", - "title": "iam ListPolicyBindings Sample", - "description": "ListPolicyBindings lists policy bindings.", - "file": "PolicyBindingsClient/ListPolicyBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicyBindings", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.ListPolicyBindings", + "method": { + "fullName": "google.iam.v3.PolicyBindings.ListPolicyBindings", + "service": { + "fullName": "google.iam.v3.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "ListPolicyBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.ListPolicyBindingsRequest", - "name": "req" + "name": "req", + "type": "iampb.ListPolicyBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBindingIterator", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "ListPolicyBindings", - "fullName": "google.iam.v3.PolicyBindings.ListPolicyBindings", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3.PolicyBindings" - } - } + "shortName": "ListPolicyBindings" }, + "description": "ListPolicyBindings lists policy bindings.", + "file": "PolicyBindingsClient/ListPolicyBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_ListPolicyBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam ListPolicyBindings Sample" }, { - "regionTag": "iam_v3_generated_PolicyBindings_SearchTargetPolicyBindings_sync", - "title": "iam SearchTargetPolicyBindings Sample", - "description": "SearchTargetPolicyBindings search policy bindings by target. Returns all policy binding objects bound\ndirectly to target.", - "file": "PolicyBindingsClient/SearchTargetPolicyBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchTargetPolicyBindings", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.SearchTargetPolicyBindings", + "method": { + "fullName": "google.iam.v3.PolicyBindings.SearchTargetPolicyBindings", + "service": { + "fullName": "google.iam.v3.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "SearchTargetPolicyBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SearchTargetPolicyBindingsRequest", - "name": "req" + "name": "req", + "type": "iampb.SearchTargetPolicyBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBindingIterator", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "SearchTargetPolicyBindings", - "fullName": "google.iam.v3.PolicyBindings.SearchTargetPolicyBindings", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3.PolicyBindings" - } - } + "shortName": "SearchTargetPolicyBindings" }, + "description": "SearchTargetPolicyBindings search policy bindings by target. Returns all policy binding objects bound\ndirectly to target.", + "file": "PolicyBindingsClient/SearchTargetPolicyBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_SearchTargetPolicyBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam SearchTargetPolicyBindings Sample" }, { - "regionTag": "iam_v3_generated_PolicyBindings_UpdatePolicyBinding_sync", - "title": "iam UpdatePolicyBinding Sample", - "description": "UpdatePolicyBinding updates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on the policy and target in the\nbinding to update, and the IAM permission to remove the existing policy\nfrom the binding. Target is immutable and cannot be updated. Once the\nbinding is updated, the new policy is applied to the target.", - "file": "PolicyBindingsClient/UpdatePolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicyBinding", + "client": { + "fullName": "google.iam.v3.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3.PolicyBindingsClient.UpdatePolicyBinding", + "method": { + "fullName": "google.iam.v3.PolicyBindings.UpdatePolicyBinding", + "service": { + "fullName": "google.iam.v3.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "UpdatePolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.UpdatePolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.UpdatePolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePolicyBindingOperation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3.PolicyBindingsClient" - }, - "method": { - "shortName": "UpdatePolicyBinding", - "fullName": "google.iam.v3.PolicyBindings.UpdatePolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3.PolicyBindings" - } - } + "shortName": "UpdatePolicyBinding" }, + "description": "UpdatePolicyBinding updates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on the policy and target in the\nbinding to update, and the IAM permission to remove the existing policy\nfrom the binding. Target is immutable and cannot be updated. Once the\nbinding is updated, the new policy is applied to the target.", + "file": "PolicyBindingsClient/UpdatePolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PolicyBindings_UpdatePolicyBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam UpdatePolicyBinding Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_CreatePrincipalAccessBoundaryPolicy_sync", - "title": "iam CreatePrincipalAccessBoundaryPolicy Sample", - "description": "CreatePrincipalAccessBoundaryPolicy creates a principal access boundary policy, and returns a long running\noperation.", - "file": "PrincipalAccessBoundaryPoliciesClient/CreatePrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.CreatePrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.CreatePrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "CreatePrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.CreatePrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.CreatePrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrincipalAccessBoundaryPolicyOperation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "CreatePrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.CreatePrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "CreatePrincipalAccessBoundaryPolicy" }, + "description": "CreatePrincipalAccessBoundaryPolicy creates a principal access boundary policy, and returns a long running\noperation.", + "file": "PrincipalAccessBoundaryPoliciesClient/CreatePrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_CreatePrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam CreatePrincipalAccessBoundaryPolicy Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_DeletePrincipalAccessBoundaryPolicy_sync", - "title": "iam DeletePrincipalAccessBoundaryPolicy Sample", - "description": "DeletePrincipalAccessBoundaryPolicy deletes a principal access boundary policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/DeletePrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.DeletePrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.DeletePrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "DeletePrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.DeletePrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.DeletePrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrincipalAccessBoundaryPolicyOperation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "DeletePrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.DeletePrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "DeletePrincipalAccessBoundaryPolicy" }, + "description": "DeletePrincipalAccessBoundaryPolicy deletes a principal access boundary policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/DeletePrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_DeletePrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam DeletePrincipalAccessBoundaryPolicy Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_GetOperation_sync", - "title": "iam GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PrincipalAccessBoundaryPoliciesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PrincipalAccessBoundaryPoliciesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetOperation Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_GetPrincipalAccessBoundaryPolicy_sync", - "title": "iam GetPrincipalAccessBoundaryPolicy Sample", - "description": "GetPrincipalAccessBoundaryPolicy gets a principal access boundary policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/GetPrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.GetPrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.GetPrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "GetPrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetPrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetPrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.PrincipalAccessBoundaryPolicy", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "GetPrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.GetPrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "GetPrincipalAccessBoundaryPolicy" }, + "description": "GetPrincipalAccessBoundaryPolicy gets a principal access boundary policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/GetPrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_GetPrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetPrincipalAccessBoundaryPolicy Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_ListPrincipalAccessBoundaryPolicies_sync", - "title": "iam ListPrincipalAccessBoundaryPolicies Sample", - "description": "ListPrincipalAccessBoundaryPolicies lists principal access boundary policies.", - "file": "PrincipalAccessBoundaryPoliciesClient/ListPrincipalAccessBoundaryPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrincipalAccessBoundaryPolicies", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.ListPrincipalAccessBoundaryPolicies", + "method": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.ListPrincipalAccessBoundaryPolicies", + "service": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "ListPrincipalAccessBoundaryPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.ListPrincipalAccessBoundaryPoliciesRequest", - "name": "req" + "name": "req", + "type": "iampb.ListPrincipalAccessBoundaryPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrincipalAccessBoundaryPolicyIterator", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "ListPrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.ListPrincipalAccessBoundaryPolicies", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "ListPrincipalAccessBoundaryPolicies" }, + "description": "ListPrincipalAccessBoundaryPolicies lists principal access boundary policies.", + "file": "PrincipalAccessBoundaryPoliciesClient/ListPrincipalAccessBoundaryPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_ListPrincipalAccessBoundaryPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam ListPrincipalAccessBoundaryPolicies Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_SearchPrincipalAccessBoundaryPolicyBindings_sync", - "title": "iam SearchPrincipalAccessBoundaryPolicyBindings Sample", - "description": "SearchPrincipalAccessBoundaryPolicyBindings returns all policy bindings that bind a specific policy if a user has\nsearchPolicyBindings permission on that policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/SearchPrincipalAccessBoundaryPolicyBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchPrincipalAccessBoundaryPolicyBindings", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.SearchPrincipalAccessBoundaryPolicyBindings", + "method": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.SearchPrincipalAccessBoundaryPolicyBindings", + "service": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "SearchPrincipalAccessBoundaryPolicyBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SearchPrincipalAccessBoundaryPolicyBindingsRequest", - "name": "req" + "name": "req", + "type": "iampb.SearchPrincipalAccessBoundaryPolicyBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBindingIterator", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "SearchPrincipalAccessBoundaryPolicyBindings", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.SearchPrincipalAccessBoundaryPolicyBindings", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "SearchPrincipalAccessBoundaryPolicyBindings" }, + "description": "SearchPrincipalAccessBoundaryPolicyBindings returns all policy bindings that bind a specific policy if a user has\nsearchPolicyBindings permission on that policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/SearchPrincipalAccessBoundaryPolicyBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_SearchPrincipalAccessBoundaryPolicyBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam SearchPrincipalAccessBoundaryPolicyBindings Sample" }, { - "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_UpdatePrincipalAccessBoundaryPolicy_sync", - "title": "iam UpdatePrincipalAccessBoundaryPolicy Sample", - "description": "UpdatePrincipalAccessBoundaryPolicy updates a principal access boundary policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/UpdatePrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient.UpdatePrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.UpdatePrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "UpdatePrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.UpdatePrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.UpdatePrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePrincipalAccessBoundaryPolicyOperation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "UpdatePrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies.UpdatePrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "UpdatePrincipalAccessBoundaryPolicy" }, + "description": "UpdatePrincipalAccessBoundaryPolicy updates a principal access boundary policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/UpdatePrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3_generated_PrincipalAccessBoundaryPolicies_UpdatePrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam UpdatePrincipalAccessBoundaryPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iam/apiv3beta/snippet_metadata.google.iam.v3beta.json b/internal/generated/snippets/iam/apiv3beta/snippet_metadata.google.iam.v3beta.json index 054303667481..b2bfd9b66665 100644 --- a/internal/generated/snippets/iam/apiv3beta/snippet_metadata.google.iam.v3beta.json +++ b/internal/generated/snippets/iam/apiv3beta/snippet_metadata.google.iam.v3beta.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iam/apiv3beta", - "version": "1.5.3", - "language": "GO", "apis": [ { "id": "google.iam.v3beta", "version": "v3beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iam/apiv3beta", + "version": "1.5.3" }, "snippets": [ { - "regionTag": "iam_v3beta_generated_PolicyBindings_CreatePolicyBinding_sync", - "title": "iam CreatePolicyBinding Sample", - "description": "CreatePolicyBinding creates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is created, the policy is applied to the target.", - "file": "PolicyBindingsClient/CreatePolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicyBinding", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.CreatePolicyBinding", + "method": { + "fullName": "google.iam.v3beta.PolicyBindings.CreatePolicyBinding", + "service": { + "fullName": "google.iam.v3beta.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "CreatePolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.CreatePolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.CreatePolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePolicyBindingOperation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "CreatePolicyBinding", - "fullName": "google.iam.v3beta.PolicyBindings.CreatePolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings" - } - } + "shortName": "CreatePolicyBinding" }, + "description": "CreatePolicyBinding creates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is created, the policy is applied to the target.", + "file": "PolicyBindingsClient/CreatePolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_CreatePolicyBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam CreatePolicyBinding Sample" }, { - "regionTag": "iam_v3beta_generated_PolicyBindings_DeletePolicyBinding_sync", - "title": "iam DeletePolicyBinding Sample", - "description": "DeletePolicyBinding deletes a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is deleted, the policy no longer applies to the target.", - "file": "PolicyBindingsClient/DeletePolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicyBinding", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.DeletePolicyBinding", + "method": { + "fullName": "google.iam.v3beta.PolicyBindings.DeletePolicyBinding", + "service": { + "fullName": "google.iam.v3beta.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "DeletePolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.DeletePolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.DeletePolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePolicyBindingOperation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "DeletePolicyBinding", - "fullName": "google.iam.v3beta.PolicyBindings.DeletePolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings" - } - } + "shortName": "DeletePolicyBinding" }, + "description": "DeletePolicyBinding deletes a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on both the policy and target.\nOnce the binding is deleted, the policy no longer applies to the target.", + "file": "PolicyBindingsClient/DeletePolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_DeletePolicyBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam DeletePolicyBinding Sample" }, { - "regionTag": "iam_v3beta_generated_PolicyBindings_GetOperation_sync", - "title": "iam GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBindingsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBindingsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetOperation Sample" }, { - "regionTag": "iam_v3beta_generated_PolicyBindings_GetPolicyBinding_sync", - "title": "iam GetPolicyBinding Sample", - "description": "GetPolicyBinding gets a policy binding.", - "file": "PolicyBindingsClient/GetPolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicyBinding", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.GetPolicyBinding", + "method": { + "fullName": "google.iam.v3beta.PolicyBindings.GetPolicyBinding", + "service": { + "fullName": "google.iam.v3beta.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "GetPolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetPolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.GetPolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.PolicyBinding", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "GetPolicyBinding", - "fullName": "google.iam.v3beta.PolicyBindings.GetPolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings" - } - } + "shortName": "GetPolicyBinding" }, + "description": "GetPolicyBinding gets a policy binding.", + "file": "PolicyBindingsClient/GetPolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_GetPolicyBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetPolicyBinding Sample" }, { - "regionTag": "iam_v3beta_generated_PolicyBindings_ListPolicyBindings_sync", - "title": "iam ListPolicyBindings Sample", - "description": "ListPolicyBindings lists policy bindings.", - "file": "PolicyBindingsClient/ListPolicyBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicyBindings", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.ListPolicyBindings", + "method": { + "fullName": "google.iam.v3beta.PolicyBindings.ListPolicyBindings", + "service": { + "fullName": "google.iam.v3beta.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "ListPolicyBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.ListPolicyBindingsRequest", - "name": "req" + "name": "req", + "type": "iampb.ListPolicyBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBindingIterator", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "ListPolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings.ListPolicyBindings", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings" - } - } + "shortName": "ListPolicyBindings" }, + "description": "ListPolicyBindings lists policy bindings.", + "file": "PolicyBindingsClient/ListPolicyBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_ListPolicyBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam ListPolicyBindings Sample" }, { - "regionTag": "iam_v3beta_generated_PolicyBindings_SearchTargetPolicyBindings_sync", - "title": "iam SearchTargetPolicyBindings Sample", - "description": "SearchTargetPolicyBindings search policy bindings by target. Returns all policy binding objects bound\ndirectly to target.", - "file": "PolicyBindingsClient/SearchTargetPolicyBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchTargetPolicyBindings", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.SearchTargetPolicyBindings", + "method": { + "fullName": "google.iam.v3beta.PolicyBindings.SearchTargetPolicyBindings", + "service": { + "fullName": "google.iam.v3beta.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "SearchTargetPolicyBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SearchTargetPolicyBindingsRequest", - "name": "req" + "name": "req", + "type": "iampb.SearchTargetPolicyBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBindingIterator", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "SearchTargetPolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings.SearchTargetPolicyBindings", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings" - } - } + "shortName": "SearchTargetPolicyBindings" }, + "description": "SearchTargetPolicyBindings search policy bindings by target. Returns all policy binding objects bound\ndirectly to target.", + "file": "PolicyBindingsClient/SearchTargetPolicyBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_SearchTargetPolicyBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam SearchTargetPolicyBindings Sample" }, { - "regionTag": "iam_v3beta_generated_PolicyBindings_UpdatePolicyBinding_sync", - "title": "iam UpdatePolicyBinding Sample", - "description": "UpdatePolicyBinding updates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on the policy and target in the\nbinding to update, and the IAM permission to remove the existing policy\nfrom the binding. Target is immutable and cannot be updated. Once the\nbinding is updated, the new policy is applied to the target.", - "file": "PolicyBindingsClient/UpdatePolicyBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicyBinding", + "client": { + "fullName": "google.iam.v3beta.PolicyBindingsClient", + "shortName": "PolicyBindingsClient" + }, "fullName": "google.iam.v3beta.PolicyBindingsClient.UpdatePolicyBinding", + "method": { + "fullName": "google.iam.v3beta.PolicyBindings.UpdatePolicyBinding", + "service": { + "fullName": "google.iam.v3beta.PolicyBindings", + "shortName": "PolicyBindings" + }, + "shortName": "UpdatePolicyBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.UpdatePolicyBindingRequest", - "name": "req" + "name": "req", + "type": "iampb.UpdatePolicyBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePolicyBindingOperation", - "client": { - "shortName": "PolicyBindingsClient", - "fullName": "google.iam.v3beta.PolicyBindingsClient" - }, - "method": { - "shortName": "UpdatePolicyBinding", - "fullName": "google.iam.v3beta.PolicyBindings.UpdatePolicyBinding", - "service": { - "shortName": "PolicyBindings", - "fullName": "google.iam.v3beta.PolicyBindings" - } - } + "shortName": "UpdatePolicyBinding" }, + "description": "UpdatePolicyBinding updates a policy binding and returns a long-running operation.\nCallers will need the IAM permissions on the policy and target in the\nbinding to update, and the IAM permission to remove the existing policy\nfrom the binding. Target is immutable and cannot be updated. Once the\nbinding is updated, the new policy is applied to the target.", + "file": "PolicyBindingsClient/UpdatePolicyBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PolicyBindings_UpdatePolicyBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam UpdatePolicyBinding Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_CreatePrincipalAccessBoundaryPolicy_sync", - "title": "iam CreatePrincipalAccessBoundaryPolicy Sample", - "description": "CreatePrincipalAccessBoundaryPolicy creates a principal access boundary policy, and returns a long running\noperation.", - "file": "PrincipalAccessBoundaryPoliciesClient/CreatePrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.CreatePrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.CreatePrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "CreatePrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.CreatePrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.CreatePrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrincipalAccessBoundaryPolicyOperation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "CreatePrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.CreatePrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "CreatePrincipalAccessBoundaryPolicy" }, + "description": "CreatePrincipalAccessBoundaryPolicy creates a principal access boundary policy, and returns a long running\noperation.", + "file": "PrincipalAccessBoundaryPoliciesClient/CreatePrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_CreatePrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam CreatePrincipalAccessBoundaryPolicy Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_DeletePrincipalAccessBoundaryPolicy_sync", - "title": "iam DeletePrincipalAccessBoundaryPolicy Sample", - "description": "DeletePrincipalAccessBoundaryPolicy deletes a principal access boundary policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/DeletePrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.DeletePrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.DeletePrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "DeletePrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.DeletePrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.DeletePrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrincipalAccessBoundaryPolicyOperation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "DeletePrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.DeletePrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "DeletePrincipalAccessBoundaryPolicy" }, + "description": "DeletePrincipalAccessBoundaryPolicy deletes a principal access boundary policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/DeletePrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_DeletePrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam DeletePrincipalAccessBoundaryPolicy Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_GetOperation_sync", - "title": "iam GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PrincipalAccessBoundaryPoliciesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PrincipalAccessBoundaryPoliciesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetOperation Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_GetPrincipalAccessBoundaryPolicy_sync", - "title": "iam GetPrincipalAccessBoundaryPolicy Sample", - "description": "GetPrincipalAccessBoundaryPolicy gets a principal access boundary policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/GetPrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.GetPrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.GetPrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "GetPrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetPrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetPrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.PrincipalAccessBoundaryPolicy", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "GetPrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.GetPrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "GetPrincipalAccessBoundaryPolicy" }, + "description": "GetPrincipalAccessBoundaryPolicy gets a principal access boundary policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/GetPrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_GetPrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam GetPrincipalAccessBoundaryPolicy Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_ListPrincipalAccessBoundaryPolicies_sync", - "title": "iam ListPrincipalAccessBoundaryPolicies Sample", - "description": "ListPrincipalAccessBoundaryPolicies lists principal access boundary policies.", - "file": "PrincipalAccessBoundaryPoliciesClient/ListPrincipalAccessBoundaryPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrincipalAccessBoundaryPolicies", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.ListPrincipalAccessBoundaryPolicies", + "method": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.ListPrincipalAccessBoundaryPolicies", + "service": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "ListPrincipalAccessBoundaryPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.ListPrincipalAccessBoundaryPoliciesRequest", - "name": "req" + "name": "req", + "type": "iampb.ListPrincipalAccessBoundaryPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrincipalAccessBoundaryPolicyIterator", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "ListPrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.ListPrincipalAccessBoundaryPolicies", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "ListPrincipalAccessBoundaryPolicies" }, + "description": "ListPrincipalAccessBoundaryPolicies lists principal access boundary policies.", + "file": "PrincipalAccessBoundaryPoliciesClient/ListPrincipalAccessBoundaryPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_ListPrincipalAccessBoundaryPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam ListPrincipalAccessBoundaryPolicies Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_SearchPrincipalAccessBoundaryPolicyBindings_sync", - "title": "iam SearchPrincipalAccessBoundaryPolicyBindings Sample", - "description": "SearchPrincipalAccessBoundaryPolicyBindings returns all policy bindings that bind a specific policy if a user has\nsearchPolicyBindings permission on that policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/SearchPrincipalAccessBoundaryPolicyBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchPrincipalAccessBoundaryPolicyBindings", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.SearchPrincipalAccessBoundaryPolicyBindings", + "method": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.SearchPrincipalAccessBoundaryPolicyBindings", + "service": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "SearchPrincipalAccessBoundaryPolicyBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SearchPrincipalAccessBoundaryPolicyBindingsRequest", - "name": "req" + "name": "req", + "type": "iampb.SearchPrincipalAccessBoundaryPolicyBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBindingIterator", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "SearchPrincipalAccessBoundaryPolicyBindings", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.SearchPrincipalAccessBoundaryPolicyBindings", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "SearchPrincipalAccessBoundaryPolicyBindings" }, + "description": "SearchPrincipalAccessBoundaryPolicyBindings returns all policy bindings that bind a specific policy if a user has\nsearchPolicyBindings permission on that policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/SearchPrincipalAccessBoundaryPolicyBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_SearchPrincipalAccessBoundaryPolicyBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam SearchPrincipalAccessBoundaryPolicyBindings Sample" }, { - "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_UpdatePrincipalAccessBoundaryPolicy_sync", - "title": "iam UpdatePrincipalAccessBoundaryPolicy Sample", - "description": "UpdatePrincipalAccessBoundaryPolicy updates a principal access boundary policy.", - "file": "PrincipalAccessBoundaryPoliciesClient/UpdatePrincipalAccessBoundaryPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePrincipalAccessBoundaryPolicy", + "client": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient", + "shortName": "PrincipalAccessBoundaryPoliciesClient" + }, "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient.UpdatePrincipalAccessBoundaryPolicy", + "method": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.UpdatePrincipalAccessBoundaryPolicy", + "service": { + "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies", + "shortName": "PrincipalAccessBoundaryPolicies" + }, + "shortName": "UpdatePrincipalAccessBoundaryPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.UpdatePrincipalAccessBoundaryPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.UpdatePrincipalAccessBoundaryPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePrincipalAccessBoundaryPolicyOperation", - "client": { - "shortName": "PrincipalAccessBoundaryPoliciesClient", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPoliciesClient" - }, - "method": { - "shortName": "UpdatePrincipalAccessBoundaryPolicy", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies.UpdatePrincipalAccessBoundaryPolicy", - "service": { - "shortName": "PrincipalAccessBoundaryPolicies", - "fullName": "google.iam.v3beta.PrincipalAccessBoundaryPolicies" - } - } + "shortName": "UpdatePrincipalAccessBoundaryPolicy" }, + "description": "UpdatePrincipalAccessBoundaryPolicy updates a principal access boundary policy.", + "file": "PrincipalAccessBoundaryPoliciesClient/UpdatePrincipalAccessBoundaryPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iam_v3beta_generated_PrincipalAccessBoundaryPolicies_UpdatePrincipalAccessBoundaryPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "iam UpdatePrincipalAccessBoundaryPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json index 0306f7f8cd64..e8f813d8cfd2 100644 --- a/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json +++ b/internal/generated/snippets/iam/credentials/apiv1/snippet_metadata.google.iam.credentials.v1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iam/credentials/apiv1", - "version": "1.5.3", - "language": "GO", "apis": [ { "id": "google.iam.credentials.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iam/credentials/apiv1", + "version": "1.5.3" }, "snippets": [ { - "regionTag": "iamcredentials_v1_generated_IAMCredentials_GenerateAccessToken_sync", - "title": "iamcredentials GenerateAccessToken Sample", - "description": "GenerateAccessToken generates an OAuth 2.0 access token for a service account.", - "file": "IamCredentialsClient/GenerateAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAccessToken", + "client": { + "fullName": "google.iam.credentials.v1.IamCredentialsClient", + "shortName": "IamCredentialsClient" + }, "fullName": "google.iam.credentials.v1.IamCredentialsClient.GenerateAccessToken", + "method": { + "fullName": "google.iam.credentials.v1.IAMCredentials.GenerateAccessToken", + "service": { + "fullName": "google.iam.credentials.v1.IAMCredentials", + "shortName": "IAMCredentials" + }, + "shortName": "GenerateAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "credentialspb.GenerateAccessTokenRequest", - "name": "req" + "name": "req", + "type": "credentialspb.GenerateAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*credentialspb.GenerateAccessTokenResponse", - "client": { - "shortName": "IamCredentialsClient", - "fullName": "google.iam.credentials.v1.IamCredentialsClient" - }, - "method": { - "shortName": "GenerateAccessToken", - "fullName": "google.iam.credentials.v1.IAMCredentials.GenerateAccessToken", - "service": { - "shortName": "IAMCredentials", - "fullName": "google.iam.credentials.v1.IAMCredentials" - } - } + "shortName": "GenerateAccessToken" }, + "description": "GenerateAccessToken generates an OAuth 2.0 access token for a service account.", + "file": "IamCredentialsClient/GenerateAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iamcredentials_v1_generated_IAMCredentials_GenerateAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iamcredentials GenerateAccessToken Sample" }, { - "regionTag": "iamcredentials_v1_generated_IAMCredentials_GenerateIdToken_sync", - "title": "iamcredentials GenerateIdToken Sample", - "description": "GenerateIdToken generates an OpenID Connect ID token for a service account.", - "file": "IamCredentialsClient/GenerateIdToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateIdToken", + "client": { + "fullName": "google.iam.credentials.v1.IamCredentialsClient", + "shortName": "IamCredentialsClient" + }, "fullName": "google.iam.credentials.v1.IamCredentialsClient.GenerateIdToken", + "method": { + "fullName": "google.iam.credentials.v1.IAMCredentials.GenerateIdToken", + "service": { + "fullName": "google.iam.credentials.v1.IAMCredentials", + "shortName": "IAMCredentials" + }, + "shortName": "GenerateIdToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "credentialspb.GenerateIdTokenRequest", - "name": "req" + "name": "req", + "type": "credentialspb.GenerateIdTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*credentialspb.GenerateIdTokenResponse", - "client": { - "shortName": "IamCredentialsClient", - "fullName": "google.iam.credentials.v1.IamCredentialsClient" - }, - "method": { - "shortName": "GenerateIdToken", - "fullName": "google.iam.credentials.v1.IAMCredentials.GenerateIdToken", - "service": { - "shortName": "IAMCredentials", - "fullName": "google.iam.credentials.v1.IAMCredentials" - } - } + "shortName": "GenerateIdToken" }, + "description": "GenerateIdToken generates an OpenID Connect ID token for a service account.", + "file": "IamCredentialsClient/GenerateIdToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iamcredentials_v1_generated_IAMCredentials_GenerateIdToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iamcredentials GenerateIdToken Sample" }, { - "regionTag": "iamcredentials_v1_generated_IAMCredentials_SignBlob_sync", - "title": "iamcredentials SignBlob Sample", - "description": "SignBlob signs a blob using a service account's system-managed private key.", - "file": "IamCredentialsClient/SignBlob/main.go", - "language": "GO", "clientMethod": { - "shortName": "SignBlob", + "client": { + "fullName": "google.iam.credentials.v1.IamCredentialsClient", + "shortName": "IamCredentialsClient" + }, "fullName": "google.iam.credentials.v1.IamCredentialsClient.SignBlob", + "method": { + "fullName": "google.iam.credentials.v1.IAMCredentials.SignBlob", + "service": { + "fullName": "google.iam.credentials.v1.IAMCredentials", + "shortName": "IAMCredentials" + }, + "shortName": "SignBlob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "credentialspb.SignBlobRequest", - "name": "req" + "name": "req", + "type": "credentialspb.SignBlobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*credentialspb.SignBlobResponse", - "client": { - "shortName": "IamCredentialsClient", - "fullName": "google.iam.credentials.v1.IamCredentialsClient" - }, - "method": { - "shortName": "SignBlob", - "fullName": "google.iam.credentials.v1.IAMCredentials.SignBlob", - "service": { - "shortName": "IAMCredentials", - "fullName": "google.iam.credentials.v1.IAMCredentials" - } - } + "shortName": "SignBlob" }, + "description": "SignBlob signs a blob using a service account's system-managed private key.", + "file": "IamCredentialsClient/SignBlob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iamcredentials_v1_generated_IAMCredentials_SignBlob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iamcredentials SignBlob Sample" }, { - "regionTag": "iamcredentials_v1_generated_IAMCredentials_SignJwt_sync", - "title": "iamcredentials SignJwt Sample", - "description": "SignJwt signs a JWT using a service account's system-managed private key.", - "file": "IamCredentialsClient/SignJwt/main.go", - "language": "GO", "clientMethod": { - "shortName": "SignJwt", + "client": { + "fullName": "google.iam.credentials.v1.IamCredentialsClient", + "shortName": "IamCredentialsClient" + }, "fullName": "google.iam.credentials.v1.IamCredentialsClient.SignJwt", + "method": { + "fullName": "google.iam.credentials.v1.IAMCredentials.SignJwt", + "service": { + "fullName": "google.iam.credentials.v1.IAMCredentials", + "shortName": "IAMCredentials" + }, + "shortName": "SignJwt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "credentialspb.SignJwtRequest", - "name": "req" + "name": "req", + "type": "credentialspb.SignJwtRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*credentialspb.SignJwtResponse", - "client": { - "shortName": "IamCredentialsClient", - "fullName": "google.iam.credentials.v1.IamCredentialsClient" - }, - "method": { - "shortName": "SignJwt", - "fullName": "google.iam.credentials.v1.IAMCredentials.SignJwt", - "service": { - "shortName": "IAMCredentials", - "fullName": "google.iam.credentials.v1.IAMCredentials" - } - } + "shortName": "SignJwt" }, + "description": "SignJwt signs a JWT using a service account's system-managed private key.", + "file": "IamCredentialsClient/SignJwt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iamcredentials_v1_generated_IAMCredentials_SignJwt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iamcredentials SignJwt Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json b/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json index 8e197a83ac3a..d39526748d19 100644 --- a/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json +++ b/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json @@ -1,887 +1,887 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iap/apiv1", - "version": "1.12.0", - "language": "GO", "apis": [ { "id": "google.cloud.iap.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iap/apiv1", + "version": "1.12.0" }, "snippets": [ { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_CreateTunnelDestGroup_sync", - "title": "iap CreateTunnelDestGroup Sample", - "description": "CreateTunnelDestGroup creates a new TunnelDestGroup.", - "file": "IdentityAwareProxyAdminClient/CreateTunnelDestGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTunnelDestGroup", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.CreateTunnelDestGroup", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.CreateTunnelDestGroup", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "CreateTunnelDestGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.CreateTunnelDestGroupRequest", - "name": "req" + "name": "req", + "type": "iappb.CreateTunnelDestGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.TunnelDestGroup", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "CreateTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.CreateTunnelDestGroup", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "CreateTunnelDestGroup" }, + "description": "CreateTunnelDestGroup creates a new TunnelDestGroup.", + "file": "IdentityAwareProxyAdminClient/CreateTunnelDestGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_CreateTunnelDestGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap CreateTunnelDestGroup Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_DeleteTunnelDestGroup_sync", - "title": "iap DeleteTunnelDestGroup Sample", - "description": "DeleteTunnelDestGroup deletes a TunnelDestGroup.", - "file": "IdentityAwareProxyAdminClient/DeleteTunnelDestGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTunnelDestGroup", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.DeleteTunnelDestGroup", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.DeleteTunnelDestGroup", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "DeleteTunnelDestGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.DeleteTunnelDestGroupRequest", - "name": "req" + "name": "req", + "type": "iappb.DeleteTunnelDestGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "DeleteTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.DeleteTunnelDestGroup", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "DeleteTunnelDestGroup" }, + "description": "DeleteTunnelDestGroup deletes a TunnelDestGroup.", + "file": "IdentityAwareProxyAdminClient/DeleteTunnelDestGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_DeleteTunnelDestGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap DeleteTunnelDestGroup Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_sync", - "title": "iap GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for an Identity-Aware Proxy protected\nresource.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", - "file": "IdentityAwareProxyAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIamPolicy", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIamPolicy", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for an Identity-Aware Proxy protected\nresource.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", + "file": "IdentityAwareProxyAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap GetIamPolicy Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_sync", - "title": "iap GetIapSettings Sample", - "description": "GetIapSettings gets the IAP settings on a particular IAP protected resource.", - "file": "IdentityAwareProxyAdminClient/GetIapSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIapSettings", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.GetIapSettings", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIapSettings", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "GetIapSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.GetIapSettingsRequest", - "name": "req" + "name": "req", + "type": "iappb.GetIapSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.IapSettings", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "GetIapSettings", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIapSettings", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "GetIapSettings" }, + "description": "GetIapSettings gets the IAP settings on a particular IAP protected resource.", + "file": "IdentityAwareProxyAdminClient/GetIapSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap GetIapSettings Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetTunnelDestGroup_sync", - "title": "iap GetTunnelDestGroup Sample", - "description": "GetTunnelDestGroup retrieves an existing TunnelDestGroup.", - "file": "IdentityAwareProxyAdminClient/GetTunnelDestGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTunnelDestGroup", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.GetTunnelDestGroup", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetTunnelDestGroup", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "GetTunnelDestGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.GetTunnelDestGroupRequest", - "name": "req" + "name": "req", + "type": "iappb.GetTunnelDestGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.TunnelDestGroup", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "GetTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetTunnelDestGroup", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "GetTunnelDestGroup" }, + "description": "GetTunnelDestGroup retrieves an existing TunnelDestGroup.", + "file": "IdentityAwareProxyAdminClient/GetTunnelDestGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetTunnelDestGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap GetTunnelDestGroup Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_ListTunnelDestGroups_sync", - "title": "iap ListTunnelDestGroups Sample", - "description": "ListTunnelDestGroups lists the existing TunnelDestGroups. To group across all locations, use a\n`-` as the location ID. For example: \n`/v1/projects/123/iap_tunnel/locations/-/destGroups`", - "file": "IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTunnelDestGroups", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.ListTunnelDestGroups", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ListTunnelDestGroups", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "ListTunnelDestGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.ListTunnelDestGroupsRequest", - "name": "req" + "name": "req", + "type": "iappb.ListTunnelDestGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TunnelDestGroupIterator", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "ListTunnelDestGroups", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ListTunnelDestGroups", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "ListTunnelDestGroups" }, + "description": "ListTunnelDestGroups lists the existing TunnelDestGroups. To group across all locations, use a\n`-` as the location ID. For example: \n`/v1/projects/123/iap_tunnel/locations/-/destGroups`", + "file": "IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_ListTunnelDestGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap ListTunnelDestGroups Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_sync", - "title": "iap SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy for an Identity-Aware Proxy protected\nresource. Replaces any existing policy.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", - "file": "IdentityAwareProxyAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.SetIamPolicy", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.SetIamPolicy", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy for an Identity-Aware Proxy protected\nresource. Replaces any existing policy.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", + "file": "IdentityAwareProxyAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap SetIamPolicy Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_sync", - "title": "iap TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the Identity-Aware Proxy protected\nresource.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", - "file": "IdentityAwareProxyAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.TestIamPermissions", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.TestIamPermissions", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the Identity-Aware Proxy protected\nresource.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", + "file": "IdentityAwareProxyAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap TestIamPermissions Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_sync", - "title": "iap UpdateIapSettings Sample", - "description": "UpdateIapSettings updates the IAP settings on a particular IAP protected resource. It\nreplaces all fields unless the `update_mask` is set.", - "file": "IdentityAwareProxyAdminClient/UpdateIapSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIapSettings", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.UpdateIapSettings", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateIapSettings", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "UpdateIapSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.UpdateIapSettingsRequest", - "name": "req" + "name": "req", + "type": "iappb.UpdateIapSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.IapSettings", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "UpdateIapSettings", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateIapSettings", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "UpdateIapSettings" }, + "description": "UpdateIapSettings updates the IAP settings on a particular IAP protected resource. It\nreplaces all fields unless the `update_mask` is set.", + "file": "IdentityAwareProxyAdminClient/UpdateIapSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap UpdateIapSettings Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_UpdateTunnelDestGroup_sync", - "title": "iap UpdateTunnelDestGroup Sample", - "description": "UpdateTunnelDestGroup updates a TunnelDestGroup.", - "file": "IdentityAwareProxyAdminClient/UpdateTunnelDestGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTunnelDestGroup", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.UpdateTunnelDestGroup", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateTunnelDestGroup", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "UpdateTunnelDestGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.UpdateTunnelDestGroupRequest", - "name": "req" + "name": "req", + "type": "iappb.UpdateTunnelDestGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.TunnelDestGroup", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "UpdateTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateTunnelDestGroup", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "UpdateTunnelDestGroup" }, + "description": "UpdateTunnelDestGroup updates a TunnelDestGroup.", + "file": "IdentityAwareProxyAdminClient/UpdateTunnelDestGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_UpdateTunnelDestGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap UpdateTunnelDestGroup Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_ValidateIapAttributeExpression_sync", - "title": "iap ValidateIapAttributeExpression Sample", - "description": "ValidateIapAttributeExpression validates that a given CEL expression conforms to IAP restrictions.", - "file": "IdentityAwareProxyAdminClient/ValidateIapAttributeExpression/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateIapAttributeExpression", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient", + "shortName": "IdentityAwareProxyAdminClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.ValidateIapAttributeExpression", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ValidateIapAttributeExpression", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "IdentityAwareProxyAdminService" + }, + "shortName": "ValidateIapAttributeExpression" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.ValidateIapAttributeExpressionRequest", - "name": "req" + "name": "req", + "type": "iappb.ValidateIapAttributeExpressionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.ValidateIapAttributeExpressionResponse", - "client": { - "shortName": "IdentityAwareProxyAdminClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" - }, - "method": { - "shortName": "ValidateIapAttributeExpression", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ValidateIapAttributeExpression", - "service": { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" - } - } + "shortName": "ValidateIapAttributeExpression" }, + "description": "ValidateIapAttributeExpression validates that a given CEL expression conforms to IAP restrictions.", + "file": "IdentityAwareProxyAdminClient/ValidateIapAttributeExpression/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_ValidateIapAttributeExpression_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap ValidateIapAttributeExpression Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_CreateBrand_sync", - "title": "iap CreateBrand Sample", - "description": "CreateBrand constructs a new OAuth brand for the project if one does not exist.\nThe created brand is \"internal only\", meaning that OAuth clients created\nunder it only accept requests from users who belong to the same Google\nWorkspace organization as the project. The brand is created in an\nun-reviewed status. NOTE: The \"internal only\" status can be manually\nchanged in the Google Cloud Console. Requires that a brand does not already\nexist for the project, and that the specified support email is owned by the\ncaller.", - "file": "IdentityAwareProxyOAuthClient/CreateBrand/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBrand", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.CreateBrand", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateBrand", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "CreateBrand" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.CreateBrandRequest", - "name": "req" + "name": "req", + "type": "iappb.CreateBrandRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.Brand", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "CreateBrand", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateBrand", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "CreateBrand" }, + "description": "CreateBrand constructs a new OAuth brand for the project if one does not exist.\nThe created brand is \"internal only\", meaning that OAuth clients created\nunder it only accept requests from users who belong to the same Google\nWorkspace organization as the project. The brand is created in an\nun-reviewed status. NOTE: The \"internal only\" status can be manually\nchanged in the Google Cloud Console. Requires that a brand does not already\nexist for the project, and that the specified support email is owned by the\ncaller.", + "file": "IdentityAwareProxyOAuthClient/CreateBrand/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_CreateBrand_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap CreateBrand Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_CreateIdentityAwareProxyClient_sync", - "title": "iap CreateIdentityAwareProxyClient Sample", - "description": "CreateIdentityAwareProxyClient creates an Identity Aware Proxy (IAP) OAuth client. The client is owned\nby IAP. Requires that the brand for the project exists and that it is\nset for internal-only use.", - "file": "IdentityAwareProxyOAuthClient/CreateIdentityAwareProxyClient/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIdentityAwareProxyClient", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.CreateIdentityAwareProxyClient", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateIdentityAwareProxyClient", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "CreateIdentityAwareProxyClient" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.CreateIdentityAwareProxyClientRequest", - "name": "req" + "name": "req", + "type": "iappb.CreateIdentityAwareProxyClientRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.IdentityAwareProxyClient", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "CreateIdentityAwareProxyClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateIdentityAwareProxyClient", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "CreateIdentityAwareProxyClient" }, + "description": "CreateIdentityAwareProxyClient creates an Identity Aware Proxy (IAP) OAuth client. The client is owned\nby IAP. Requires that the brand for the project exists and that it is\nset for internal-only use.", + "file": "IdentityAwareProxyOAuthClient/CreateIdentityAwareProxyClient/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_CreateIdentityAwareProxyClient_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap CreateIdentityAwareProxyClient Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_DeleteIdentityAwareProxyClient_sync", - "title": "iap DeleteIdentityAwareProxyClient Sample", - "description": "DeleteIdentityAwareProxyClient deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing\nobsolete clients, managing the number of clients in a given project, and\ncleaning up after tests. Requires that the client is owned by IAP.", - "file": "IdentityAwareProxyOAuthClient/DeleteIdentityAwareProxyClient/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIdentityAwareProxyClient", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.DeleteIdentityAwareProxyClient", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.DeleteIdentityAwareProxyClient", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "DeleteIdentityAwareProxyClient" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.DeleteIdentityAwareProxyClientRequest", - "name": "req" + "name": "req", + "type": "iappb.DeleteIdentityAwareProxyClientRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "DeleteIdentityAwareProxyClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.DeleteIdentityAwareProxyClient", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "DeleteIdentityAwareProxyClient" }, + "description": "DeleteIdentityAwareProxyClient deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing\nobsolete clients, managing the number of clients in a given project, and\ncleaning up after tests. Requires that the client is owned by IAP.", + "file": "IdentityAwareProxyOAuthClient/DeleteIdentityAwareProxyClient/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_DeleteIdentityAwareProxyClient_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap DeleteIdentityAwareProxyClient Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_GetBrand_sync", - "title": "iap GetBrand Sample", - "description": "GetBrand retrieves the OAuth brand of the project.", - "file": "IdentityAwareProxyOAuthClient/GetBrand/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBrand", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.GetBrand", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetBrand", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "GetBrand" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.GetBrandRequest", - "name": "req" + "name": "req", + "type": "iappb.GetBrandRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.Brand", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "GetBrand", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetBrand", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "GetBrand" }, + "description": "GetBrand retrieves the OAuth brand of the project.", + "file": "IdentityAwareProxyOAuthClient/GetBrand/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_GetBrand_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap GetBrand Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_GetIdentityAwareProxyClient_sync", - "title": "iap GetIdentityAwareProxyClient Sample", - "description": "GetIdentityAwareProxyClient retrieves an Identity Aware Proxy (IAP) OAuth client.\nRequires that the client is owned by IAP.", - "file": "IdentityAwareProxyOAuthClient/GetIdentityAwareProxyClient/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIdentityAwareProxyClient", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.GetIdentityAwareProxyClient", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetIdentityAwareProxyClient", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "GetIdentityAwareProxyClient" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.GetIdentityAwareProxyClientRequest", - "name": "req" + "name": "req", + "type": "iappb.GetIdentityAwareProxyClientRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.IdentityAwareProxyClient", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "GetIdentityAwareProxyClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetIdentityAwareProxyClient", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "GetIdentityAwareProxyClient" }, + "description": "GetIdentityAwareProxyClient retrieves an Identity Aware Proxy (IAP) OAuth client.\nRequires that the client is owned by IAP.", + "file": "IdentityAwareProxyOAuthClient/GetIdentityAwareProxyClient/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_GetIdentityAwareProxyClient_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap GetIdentityAwareProxyClient Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ListBrands_sync", - "title": "iap ListBrands Sample", - "description": "ListBrands lists the existing brands for the project.", - "file": "IdentityAwareProxyOAuthClient/ListBrands/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBrands", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.ListBrands", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListBrands", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "ListBrands" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.ListBrandsRequest", - "name": "req" + "name": "req", + "type": "iappb.ListBrandsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.ListBrandsResponse", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "ListBrands", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListBrands", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "ListBrands" }, + "description": "ListBrands lists the existing brands for the project.", + "file": "IdentityAwareProxyOAuthClient/ListBrands/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ListBrands_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap ListBrands Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ListIdentityAwareProxyClients_sync", - "title": "iap ListIdentityAwareProxyClients Sample", - "description": "ListIdentityAwareProxyClients lists the existing clients for the brand.", - "file": "IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIdentityAwareProxyClients", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.ListIdentityAwareProxyClients", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListIdentityAwareProxyClients", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "ListIdentityAwareProxyClients" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.ListIdentityAwareProxyClientsRequest", - "name": "req" + "name": "req", + "type": "iappb.ListIdentityAwareProxyClientsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IdentityAwareProxyClientIterator", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "ListIdentityAwareProxyClients", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListIdentityAwareProxyClients", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "ListIdentityAwareProxyClients" }, + "description": "ListIdentityAwareProxyClients lists the existing clients for the brand.", + "file": "IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ListIdentityAwareProxyClients_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap ListIdentityAwareProxyClients Sample" }, { - "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ResetIdentityAwareProxyClientSecret_sync", - "title": "iap ResetIdentityAwareProxyClientSecret Sample", - "description": "ResetIdentityAwareProxyClientSecret resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the\nsecret was compromised. Requires that the client is owned by IAP.", - "file": "IdentityAwareProxyOAuthClient/ResetIdentityAwareProxyClientSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetIdentityAwareProxyClientSecret", + "client": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient", + "shortName": "IdentityAwareProxyOAuthClient" + }, "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.ResetIdentityAwareProxyClientSecret", + "method": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ResetIdentityAwareProxyClientSecret", + "service": { + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "IdentityAwareProxyOAuthService" + }, + "shortName": "ResetIdentityAwareProxyClientSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iappb.ResetIdentityAwareProxyClientSecretRequest", - "name": "req" + "name": "req", + "type": "iappb.ResetIdentityAwareProxyClientSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iappb.IdentityAwareProxyClient", - "client": { - "shortName": "IdentityAwareProxyOAuthClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" - }, - "method": { - "shortName": "ResetIdentityAwareProxyClientSecret", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ResetIdentityAwareProxyClientSecret", - "service": { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" - } - } + "shortName": "ResetIdentityAwareProxyClientSecret" }, + "description": "ResetIdentityAwareProxyClientSecret resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the\nsecret was compromised. Requires that the client is owned by IAP.", + "file": "IdentityAwareProxyOAuthClient/ResetIdentityAwareProxyClientSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ResetIdentityAwareProxyClientSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "iap ResetIdentityAwareProxyClientSecret Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json b/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json index b37a3a7c2502..0c623704ff92 100644 --- a/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json +++ b/internal/generated/snippets/identitytoolkit/apiv2/snippet_metadata.google.cloud.identitytoolkit.v2.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/identitytoolkit/apiv2", - "version": "0.2.6", - "language": "GO", "apis": [ { "id": "google.cloud.identitytoolkit.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/identitytoolkit/apiv2", + "version": "0.2.6" }, "snippets": [ { - "regionTag": "identitytoolkit_v2_generated_AccountManagementService_FinalizeMfaEnrollment_sync", - "title": "identitytoolkit FinalizeMfaEnrollment Sample", - "description": "FinalizeMfaEnrollment finishes enrolling a second factor for the user.", - "file": "AccountManagementClient/FinalizeMfaEnrollment/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinalizeMfaEnrollment", + "client": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient", + "shortName": "AccountManagementClient" + }, "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient.FinalizeMfaEnrollment", + "method": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.FinalizeMfaEnrollment", + "service": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService", + "shortName": "AccountManagementService" + }, + "shortName": "FinalizeMfaEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "identitytoolkitpb.FinalizeMfaEnrollmentRequest", - "name": "req" + "name": "req", + "type": "identitytoolkitpb.FinalizeMfaEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*identitytoolkitpb.FinalizeMfaEnrollmentResponse", - "client": { - "shortName": "AccountManagementClient", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient" - }, - "method": { - "shortName": "FinalizeMfaEnrollment", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.FinalizeMfaEnrollment", - "service": { - "shortName": "AccountManagementService", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService" - } - } + "shortName": "FinalizeMfaEnrollment" }, + "description": "FinalizeMfaEnrollment finishes enrolling a second factor for the user.", + "file": "AccountManagementClient/FinalizeMfaEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "identitytoolkit_v2_generated_AccountManagementService_FinalizeMfaEnrollment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "identitytoolkit FinalizeMfaEnrollment Sample" }, { - "regionTag": "identitytoolkit_v2_generated_AccountManagementService_StartMfaEnrollment_sync", - "title": "identitytoolkit StartMfaEnrollment Sample", - "description": "StartMfaEnrollment step one of the MFA enrollment process. In SMS case, this sends an\nSMS verification code to the user.", - "file": "AccountManagementClient/StartMfaEnrollment/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartMfaEnrollment", + "client": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient", + "shortName": "AccountManagementClient" + }, "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient.StartMfaEnrollment", + "method": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.StartMfaEnrollment", + "service": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService", + "shortName": "AccountManagementService" + }, + "shortName": "StartMfaEnrollment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "identitytoolkitpb.StartMfaEnrollmentRequest", - "name": "req" + "name": "req", + "type": "identitytoolkitpb.StartMfaEnrollmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*identitytoolkitpb.StartMfaEnrollmentResponse", - "client": { - "shortName": "AccountManagementClient", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient" - }, - "method": { - "shortName": "StartMfaEnrollment", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.StartMfaEnrollment", - "service": { - "shortName": "AccountManagementService", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService" - } - } + "shortName": "StartMfaEnrollment" }, + "description": "StartMfaEnrollment step one of the MFA enrollment process. In SMS case, this sends an\nSMS verification code to the user.", + "file": "AccountManagementClient/StartMfaEnrollment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "identitytoolkit_v2_generated_AccountManagementService_StartMfaEnrollment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "identitytoolkit StartMfaEnrollment Sample" }, { - "regionTag": "identitytoolkit_v2_generated_AccountManagementService_WithdrawMfa_sync", - "title": "identitytoolkit WithdrawMfa Sample", - "description": "WithdrawMfa revokes one second factor from the enrolled second factors for an account.", - "file": "AccountManagementClient/WithdrawMfa/main.go", - "language": "GO", "clientMethod": { - "shortName": "WithdrawMfa", + "client": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient", + "shortName": "AccountManagementClient" + }, "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient.WithdrawMfa", + "method": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.WithdrawMfa", + "service": { + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService", + "shortName": "AccountManagementService" + }, + "shortName": "WithdrawMfa" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "identitytoolkitpb.WithdrawMfaRequest", - "name": "req" + "name": "req", + "type": "identitytoolkitpb.WithdrawMfaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*identitytoolkitpb.WithdrawMfaResponse", - "client": { - "shortName": "AccountManagementClient", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementClient" - }, - "method": { - "shortName": "WithdrawMfa", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.WithdrawMfa", - "service": { - "shortName": "AccountManagementService", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService" - } - } + "shortName": "WithdrawMfa" }, + "description": "WithdrawMfa revokes one second factor from the enrolled second factors for an account.", + "file": "AccountManagementClient/WithdrawMfa/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "identitytoolkit_v2_generated_AccountManagementService_WithdrawMfa_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "identitytoolkit WithdrawMfa Sample" }, { - "regionTag": "identitytoolkit_v2_generated_AuthenticationService_FinalizeMfaSignIn_sync", - "title": "identitytoolkit FinalizeMfaSignIn Sample", - "description": "FinalizeMfaSignIn verifies the MFA challenge and performs sign-in", - "file": "AuthenticationClient/FinalizeMfaSignIn/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinalizeMfaSignIn", + "client": { + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationClient", + "shortName": "AuthenticationClient" + }, "fullName": "google.cloud.identitytoolkit.v2.AuthenticationClient.FinalizeMfaSignIn", + "method": { + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.FinalizeMfaSignIn", + "service": { + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService", + "shortName": "AuthenticationService" + }, + "shortName": "FinalizeMfaSignIn" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "identitytoolkitpb.FinalizeMfaSignInRequest", - "name": "req" + "name": "req", + "type": "identitytoolkitpb.FinalizeMfaSignInRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*identitytoolkitpb.FinalizeMfaSignInResponse", - "client": { - "shortName": "AuthenticationClient", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationClient" - }, - "method": { - "shortName": "FinalizeMfaSignIn", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.FinalizeMfaSignIn", - "service": { - "shortName": "AuthenticationService", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService" - } - } + "shortName": "FinalizeMfaSignIn" }, + "description": "FinalizeMfaSignIn verifies the MFA challenge and performs sign-in", + "file": "AuthenticationClient/FinalizeMfaSignIn/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "identitytoolkit_v2_generated_AuthenticationService_FinalizeMfaSignIn_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "identitytoolkit FinalizeMfaSignIn Sample" }, { - "regionTag": "identitytoolkit_v2_generated_AuthenticationService_StartMfaSignIn_sync", - "title": "identitytoolkit StartMfaSignIn Sample", - "description": "StartMfaSignIn sends the MFA challenge", - "file": "AuthenticationClient/StartMfaSignIn/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartMfaSignIn", + "client": { + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationClient", + "shortName": "AuthenticationClient" + }, "fullName": "google.cloud.identitytoolkit.v2.AuthenticationClient.StartMfaSignIn", + "method": { + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.StartMfaSignIn", + "service": { + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService", + "shortName": "AuthenticationService" + }, + "shortName": "StartMfaSignIn" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "identitytoolkitpb.StartMfaSignInRequest", - "name": "req" + "name": "req", + "type": "identitytoolkitpb.StartMfaSignInRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*identitytoolkitpb.StartMfaSignInResponse", - "client": { - "shortName": "AuthenticationClient", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationClient" - }, - "method": { - "shortName": "StartMfaSignIn", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.StartMfaSignIn", - "service": { - "shortName": "AuthenticationService", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService" - } - } + "shortName": "StartMfaSignIn" }, + "description": "StartMfaSignIn sends the MFA challenge", + "file": "AuthenticationClient/StartMfaSignIn/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "identitytoolkit_v2_generated_AuthenticationService_StartMfaSignIn_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "identitytoolkit StartMfaSignIn Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json b/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json index 0db7d8c5ba13..79a75ab8a2a0 100644 --- a/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json +++ b/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/ids/apiv1", - "version": "1.5.7", - "language": "GO", "apis": [ { "id": "google.cloud.ids.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/ids/apiv1", + "version": "1.5.7" }, "snippets": [ { - "regionTag": "ids_v1_generated_IDS_CreateEndpoint_sync", - "title": "ids CreateEndpoint Sample", - "description": "CreateEndpoint creates a new Endpoint in a given project and location.", - "file": "Client/CreateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEndpoint", + "client": { + "fullName": "google.cloud.ids.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.ids.v1.Client.CreateEndpoint", + "method": { + "fullName": "google.cloud.ids.v1.IDS.CreateEndpoint", + "service": { + "fullName": "google.cloud.ids.v1.IDS", + "shortName": "IDS" + }, + "shortName": "CreateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "idspb.CreateEndpointRequest", - "name": "req" + "name": "req", + "type": "idspb.CreateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEndpointOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.ids.v1.Client" - }, - "method": { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.ids.v1.IDS.CreateEndpoint", - "service": { - "shortName": "IDS", - "fullName": "google.cloud.ids.v1.IDS" - } - } + "shortName": "CreateEndpoint" }, + "description": "CreateEndpoint creates a new Endpoint in a given project and location.", + "file": "Client/CreateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ids_v1_generated_IDS_CreateEndpoint_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "ids CreateEndpoint Sample" }, { - "regionTag": "ids_v1_generated_IDS_DeleteEndpoint_sync", - "title": "ids DeleteEndpoint Sample", - "description": "DeleteEndpoint deletes a single Endpoint.", - "file": "Client/DeleteEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEndpoint", + "client": { + "fullName": "google.cloud.ids.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.ids.v1.Client.DeleteEndpoint", + "method": { + "fullName": "google.cloud.ids.v1.IDS.DeleteEndpoint", + "service": { + "fullName": "google.cloud.ids.v1.IDS", + "shortName": "IDS" + }, + "shortName": "DeleteEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "idspb.DeleteEndpointRequest", - "name": "req" + "name": "req", + "type": "idspb.DeleteEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEndpointOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.ids.v1.Client" - }, - "method": { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.ids.v1.IDS.DeleteEndpoint", - "service": { - "shortName": "IDS", - "fullName": "google.cloud.ids.v1.IDS" - } - } + "shortName": "DeleteEndpoint" }, + "description": "DeleteEndpoint deletes a single Endpoint.", + "file": "Client/DeleteEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ids_v1_generated_IDS_DeleteEndpoint_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "ids DeleteEndpoint Sample" }, { - "regionTag": "ids_v1_generated_IDS_GetEndpoint_sync", - "title": "ids GetEndpoint Sample", - "description": "GetEndpoint gets details of a single Endpoint.", - "file": "Client/GetEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEndpoint", + "client": { + "fullName": "google.cloud.ids.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.ids.v1.Client.GetEndpoint", + "method": { + "fullName": "google.cloud.ids.v1.IDS.GetEndpoint", + "service": { + "fullName": "google.cloud.ids.v1.IDS", + "shortName": "IDS" + }, + "shortName": "GetEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "idspb.GetEndpointRequest", - "name": "req" + "name": "req", + "type": "idspb.GetEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*idspb.Endpoint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.ids.v1.Client" - }, - "method": { - "shortName": "GetEndpoint", - "fullName": "google.cloud.ids.v1.IDS.GetEndpoint", - "service": { - "shortName": "IDS", - "fullName": "google.cloud.ids.v1.IDS" - } - } + "shortName": "GetEndpoint" }, + "description": "GetEndpoint gets details of a single Endpoint.", + "file": "Client/GetEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ids_v1_generated_IDS_GetEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "ids GetEndpoint Sample" }, { - "regionTag": "ids_v1_generated_IDS_ListEndpoints_sync", - "title": "ids ListEndpoints Sample", - "description": "ListEndpoints lists Endpoints in a given project and location.", - "file": "Client/ListEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEndpoints", + "client": { + "fullName": "google.cloud.ids.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.ids.v1.Client.ListEndpoints", + "method": { + "fullName": "google.cloud.ids.v1.IDS.ListEndpoints", + "service": { + "fullName": "google.cloud.ids.v1.IDS", + "shortName": "IDS" + }, + "shortName": "ListEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "idspb.ListEndpointsRequest", - "name": "req" + "name": "req", + "type": "idspb.ListEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EndpointIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.ids.v1.Client" - }, - "method": { - "shortName": "ListEndpoints", - "fullName": "google.cloud.ids.v1.IDS.ListEndpoints", - "service": { - "shortName": "IDS", - "fullName": "google.cloud.ids.v1.IDS" - } - } + "shortName": "ListEndpoints" }, + "description": "ListEndpoints lists Endpoints in a given project and location.", + "file": "Client/ListEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "ids_v1_generated_IDS_ListEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "ids ListEndpoints Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json b/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json index fcdc8c9a8662..61af1afcbd58 100644 --- a/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json +++ b/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json @@ -1,887 +1,887 @@ { "clientLibrary": { - "name": "cloud.google.com/go/iot/apiv1", - "version": "1.8.7", - "language": "GO", "apis": [ { "id": "google.cloud.iot.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/iot/apiv1", + "version": "1.8.7" }, "snippets": [ { - "regionTag": "cloudiot_v1_generated_DeviceManager_BindDeviceToGateway_sync", - "title": "cloudiot BindDeviceToGateway Sample", - "description": "BindDeviceToGateway associates the device with the gateway.", - "file": "DeviceManagerClient/BindDeviceToGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "BindDeviceToGateway", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.BindDeviceToGateway", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.BindDeviceToGateway", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "BindDeviceToGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.BindDeviceToGatewayRequest", - "name": "req" + "name": "req", + "type": "iotpb.BindDeviceToGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.BindDeviceToGatewayResponse", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "BindDeviceToGateway", - "fullName": "google.cloud.iot.v1.DeviceManager.BindDeviceToGateway", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "BindDeviceToGateway" }, + "description": "BindDeviceToGateway associates the device with the gateway.", + "file": "DeviceManagerClient/BindDeviceToGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_BindDeviceToGateway_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot BindDeviceToGateway Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_CreateDevice_sync", - "title": "cloudiot CreateDevice Sample", - "description": "CreateDevice creates a device in a device registry.", - "file": "DeviceManagerClient/CreateDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDevice", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.CreateDevice", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.CreateDevice", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "CreateDevice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.CreateDeviceRequest", - "name": "req" + "name": "req", + "type": "iotpb.CreateDeviceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.Device", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "CreateDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.CreateDevice", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "CreateDevice" }, + "description": "CreateDevice creates a device in a device registry.", + "file": "DeviceManagerClient/CreateDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_CreateDevice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot CreateDevice Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_CreateDeviceRegistry_sync", - "title": "cloudiot CreateDeviceRegistry Sample", - "description": "CreateDeviceRegistry creates a device registry that contains devices.", - "file": "DeviceManagerClient/CreateDeviceRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeviceRegistry", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.CreateDeviceRegistry", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.CreateDeviceRegistry", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "CreateDeviceRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.CreateDeviceRegistryRequest", - "name": "req" + "name": "req", + "type": "iotpb.CreateDeviceRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.DeviceRegistry", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "CreateDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.CreateDeviceRegistry", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "CreateDeviceRegistry" }, + "description": "CreateDeviceRegistry creates a device registry that contains devices.", + "file": "DeviceManagerClient/CreateDeviceRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_CreateDeviceRegistry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot CreateDeviceRegistry Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_DeleteDevice_sync", - "title": "cloudiot DeleteDevice Sample", - "description": "DeleteDevice deletes a device.", - "file": "DeviceManagerClient/DeleteDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDevice", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.DeleteDevice", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDevice", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "DeleteDevice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.DeleteDeviceRequest", - "name": "req" + "name": "req", + "type": "iotpb.DeleteDeviceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "DeleteDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDevice", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "DeleteDevice" }, + "description": "DeleteDevice deletes a device.", + "file": "DeviceManagerClient/DeleteDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_DeleteDevice_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot DeleteDevice Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_DeleteDeviceRegistry_sync", - "title": "cloudiot DeleteDeviceRegistry Sample", - "description": "DeleteDeviceRegistry deletes a device registry configuration.", - "file": "DeviceManagerClient/DeleteDeviceRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeviceRegistry", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.DeleteDeviceRegistry", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "DeleteDeviceRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.DeleteDeviceRegistryRequest", - "name": "req" + "name": "req", + "type": "iotpb.DeleteDeviceRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "DeleteDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "DeleteDeviceRegistry" }, + "description": "DeleteDeviceRegistry deletes a device registry configuration.", + "file": "DeviceManagerClient/DeleteDeviceRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_DeleteDeviceRegistry_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot DeleteDeviceRegistry Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_GetDevice_sync", - "title": "cloudiot GetDevice Sample", - "description": "GetDevice gets details about a device.", - "file": "DeviceManagerClient/GetDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDevice", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.GetDevice", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.GetDevice", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "GetDevice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.GetDeviceRequest", - "name": "req" + "name": "req", + "type": "iotpb.GetDeviceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.Device", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "GetDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.GetDevice", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "GetDevice" }, + "description": "GetDevice gets details about a device.", + "file": "DeviceManagerClient/GetDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_GetDevice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot GetDevice Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_GetDeviceRegistry_sync", - "title": "cloudiot GetDeviceRegistry Sample", - "description": "GetDeviceRegistry gets a device registry configuration.", - "file": "DeviceManagerClient/GetDeviceRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeviceRegistry", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.GetDeviceRegistry", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.GetDeviceRegistry", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "GetDeviceRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.GetDeviceRegistryRequest", - "name": "req" + "name": "req", + "type": "iotpb.GetDeviceRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.DeviceRegistry", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "GetDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.GetDeviceRegistry", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "GetDeviceRegistry" }, + "description": "GetDeviceRegistry gets a device registry configuration.", + "file": "DeviceManagerClient/GetDeviceRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_GetDeviceRegistry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot GetDeviceRegistry Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_GetIamPolicy_sync", - "title": "cloudiot GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", - "file": "DeviceManagerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.GetIamPolicy", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.iot.v1.DeviceManager.GetIamPolicy", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", + "file": "DeviceManagerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot GetIamPolicy Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_ListDeviceConfigVersions_sync", - "title": "cloudiot ListDeviceConfigVersions Sample", - "description": "ListDeviceConfigVersions lists the last few versions of the device configuration in descending\norder (i.e.: newest first).", - "file": "DeviceManagerClient/ListDeviceConfigVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeviceConfigVersions", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.ListDeviceConfigVersions", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceConfigVersions", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "ListDeviceConfigVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.ListDeviceConfigVersionsRequest", - "name": "req" + "name": "req", + "type": "iotpb.ListDeviceConfigVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.ListDeviceConfigVersionsResponse", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "ListDeviceConfigVersions", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceConfigVersions", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "ListDeviceConfigVersions" }, + "description": "ListDeviceConfigVersions lists the last few versions of the device configuration in descending\norder (i.e.: newest first).", + "file": "DeviceManagerClient/ListDeviceConfigVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_ListDeviceConfigVersions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot ListDeviceConfigVersions Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_ListDeviceRegistries_sync", - "title": "cloudiot ListDeviceRegistries Sample", - "description": "ListDeviceRegistries lists device registries.", - "file": "DeviceManagerClient/ListDeviceRegistries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeviceRegistries", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.ListDeviceRegistries", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceRegistries", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "ListDeviceRegistries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.ListDeviceRegistriesRequest", - "name": "req" + "name": "req", + "type": "iotpb.ListDeviceRegistriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeviceRegistryIterator", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "ListDeviceRegistries", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceRegistries", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "ListDeviceRegistries" }, + "description": "ListDeviceRegistries lists device registries.", + "file": "DeviceManagerClient/ListDeviceRegistries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_ListDeviceRegistries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot ListDeviceRegistries Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_ListDeviceStates_sync", - "title": "cloudiot ListDeviceStates Sample", - "description": "ListDeviceStates lists the last few versions of the device state in descending order (i.e.: \nnewest first).", - "file": "DeviceManagerClient/ListDeviceStates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeviceStates", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.ListDeviceStates", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceStates", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "ListDeviceStates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.ListDeviceStatesRequest", - "name": "req" + "name": "req", + "type": "iotpb.ListDeviceStatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.ListDeviceStatesResponse", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "ListDeviceStates", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceStates", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "ListDeviceStates" }, + "description": "ListDeviceStates lists the last few versions of the device state in descending order (i.e.: \nnewest first).", + "file": "DeviceManagerClient/ListDeviceStates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_ListDeviceStates_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot ListDeviceStates Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_ListDevices_sync", - "title": "cloudiot ListDevices Sample", - "description": "ListDevices list devices in a device registry.", - "file": "DeviceManagerClient/ListDevices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDevices", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.ListDevices", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.ListDevices", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "ListDevices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.ListDevicesRequest", - "name": "req" + "name": "req", + "type": "iotpb.ListDevicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeviceIterator", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "ListDevices", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDevices", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "ListDevices" }, + "description": "ListDevices list devices in a device registry.", + "file": "DeviceManagerClient/ListDevices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_ListDevices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot ListDevices Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_ModifyCloudToDeviceConfig_sync", - "title": "cloudiot ModifyCloudToDeviceConfig Sample", - "description": "ModifyCloudToDeviceConfig modifies the configuration for the device, which is eventually sent from\nthe Cloud IoT Core servers. Returns the modified configuration version and\nits metadata.", - "file": "DeviceManagerClient/ModifyCloudToDeviceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModifyCloudToDeviceConfig", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.ModifyCloudToDeviceConfig", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.ModifyCloudToDeviceConfig", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "ModifyCloudToDeviceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.ModifyCloudToDeviceConfigRequest", - "name": "req" + "name": "req", + "type": "iotpb.ModifyCloudToDeviceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.DeviceConfig", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "ModifyCloudToDeviceConfig", - "fullName": "google.cloud.iot.v1.DeviceManager.ModifyCloudToDeviceConfig", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "ModifyCloudToDeviceConfig" }, + "description": "ModifyCloudToDeviceConfig modifies the configuration for the device, which is eventually sent from\nthe Cloud IoT Core servers. Returns the modified configuration version and\nits metadata.", + "file": "DeviceManagerClient/ModifyCloudToDeviceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_ModifyCloudToDeviceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot ModifyCloudToDeviceConfig Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_SendCommandToDevice_sync", - "title": "cloudiot SendCommandToDevice Sample", - "description": "SendCommandToDevice sends a command to the specified device. In order for a device to be able\nto receive commands, it must: \n1) be connected to Cloud IoT Core using the MQTT protocol, and\n2) be subscribed to the group of MQTT topics specified by\n/devices/{device-id}/commands/#. This subscription will receive commands\nat the top-level topic /devices/{device-id}/commands as well as commands\nfor subfolders, like /devices/{device-id}/commands/subfolder.\nNote that subscribing to specific subfolders is not supported.\nIf the command could not be delivered to the device, this method will\nreturn an error; in particular, if the device is not subscribed, this\nmethod will return FAILED_PRECONDITION. Otherwise, this method will\nreturn OK. If the subscription is QoS 1, at least once delivery will be\nguaranteed; for QoS 0, no acknowledgment will be expected from the device.", - "file": "DeviceManagerClient/SendCommandToDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "SendCommandToDevice", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.SendCommandToDevice", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.SendCommandToDevice", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "SendCommandToDevice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.SendCommandToDeviceRequest", - "name": "req" + "name": "req", + "type": "iotpb.SendCommandToDeviceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.SendCommandToDeviceResponse", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "SendCommandToDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.SendCommandToDevice", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "SendCommandToDevice" }, + "description": "SendCommandToDevice sends a command to the specified device. In order for a device to be able\nto receive commands, it must: \n1) be connected to Cloud IoT Core using the MQTT protocol, and\n2) be subscribed to the group of MQTT topics specified by\n/devices/{device-id}/commands/#. This subscription will receive commands\nat the top-level topic /devices/{device-id}/commands as well as commands\nfor subfolders, like /devices/{device-id}/commands/subfolder.\nNote that subscribing to specific subfolders is not supported.\nIf the command could not be delivered to the device, this method will\nreturn an error; in particular, if the device is not subscribed, this\nmethod will return FAILED_PRECONDITION. Otherwise, this method will\nreturn OK. If the subscription is QoS 1, at least once delivery will be\nguaranteed; for QoS 0, no acknowledgment will be expected from the device.", + "file": "DeviceManagerClient/SendCommandToDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_SendCommandToDevice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot SendCommandToDevice Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_SetIamPolicy_sync", - "title": "cloudiot SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.", - "file": "DeviceManagerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.SetIamPolicy", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.iot.v1.DeviceManager.SetIamPolicy", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces any\nexisting policy.", + "file": "DeviceManagerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot SetIamPolicy Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_TestIamPermissions_sync", - "title": "cloudiot TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.", - "file": "DeviceManagerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.TestIamPermissions", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.iot.v1.DeviceManager.TestIamPermissions", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.", + "file": "DeviceManagerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot TestIamPermissions Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_UnbindDeviceFromGateway_sync", - "title": "cloudiot UnbindDeviceFromGateway Sample", - "description": "UnbindDeviceFromGateway deletes the association between the device and the gateway.", - "file": "DeviceManagerClient/UnbindDeviceFromGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnbindDeviceFromGateway", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.UnbindDeviceFromGateway", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.UnbindDeviceFromGateway", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "UnbindDeviceFromGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.UnbindDeviceFromGatewayRequest", - "name": "req" + "name": "req", + "type": "iotpb.UnbindDeviceFromGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.UnbindDeviceFromGatewayResponse", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "UnbindDeviceFromGateway", - "fullName": "google.cloud.iot.v1.DeviceManager.UnbindDeviceFromGateway", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "UnbindDeviceFromGateway" }, + "description": "UnbindDeviceFromGateway deletes the association between the device and the gateway.", + "file": "DeviceManagerClient/UnbindDeviceFromGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_UnbindDeviceFromGateway_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot UnbindDeviceFromGateway Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_UpdateDevice_sync", - "title": "cloudiot UpdateDevice Sample", - "description": "UpdateDevice updates a device.", - "file": "DeviceManagerClient/UpdateDevice/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDevice", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.UpdateDevice", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDevice", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "UpdateDevice" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.UpdateDeviceRequest", - "name": "req" + "name": "req", + "type": "iotpb.UpdateDeviceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.Device", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "UpdateDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDevice", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "UpdateDevice" }, + "description": "UpdateDevice updates a device.", + "file": "DeviceManagerClient/UpdateDevice/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_UpdateDevice_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot UpdateDevice Sample" }, { - "regionTag": "cloudiot_v1_generated_DeviceManager_UpdateDeviceRegistry_sync", - "title": "cloudiot UpdateDeviceRegistry Sample", - "description": "UpdateDeviceRegistry updates a device registry configuration.", - "file": "DeviceManagerClient/UpdateDeviceRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeviceRegistry", + "client": { + "fullName": "google.cloud.iot.v1.DeviceManagerClient", + "shortName": "DeviceManagerClient" + }, "fullName": "google.cloud.iot.v1.DeviceManagerClient.UpdateDeviceRegistry", + "method": { + "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry", + "service": { + "fullName": "google.cloud.iot.v1.DeviceManager", + "shortName": "DeviceManager" + }, + "shortName": "UpdateDeviceRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iotpb.UpdateDeviceRegistryRequest", - "name": "req" + "name": "req", + "type": "iotpb.UpdateDeviceRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iotpb.DeviceRegistry", - "client": { - "shortName": "DeviceManagerClient", - "fullName": "google.cloud.iot.v1.DeviceManagerClient" - }, - "method": { - "shortName": "UpdateDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry", - "service": { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager" - } - } + "shortName": "UpdateDeviceRegistry" }, + "description": "UpdateDeviceRegistry updates a device registry configuration.", + "file": "DeviceManagerClient/UpdateDeviceRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudiot_v1_generated_DeviceManager_UpdateDeviceRegistry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudiot UpdateDeviceRegistry Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json b/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json index ceae7e7a53bd..6fc42fb3a3b2 100644 --- a/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json +++ b/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json @@ -1,3924 +1,3924 @@ { "clientLibrary": { - "name": "cloud.google.com/go/kms/apiv1", - "version": "1.26.0", - "language": "GO", "apis": [ { "id": "google.cloud.kms.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/kms/apiv1", + "version": "1.26.0" }, "snippets": [ { - "regionTag": "cloudkms_v1_generated_Autokey_CreateKeyHandle_sync", - "title": "cloudkms CreateKeyHandle Sample", - "description": "CreateKeyHandle creates a new [KeyHandle][google.cloud.kms.v1.KeyHandle], triggering the\nprovisioning of a new [CryptoKey][google.cloud.kms.v1.CryptoKey] for CMEK\nuse with the given resource type in the configured key project and the same\nlocation. [GetOperation][google.longrunning.Operations.GetOperation] should\nbe used to resolve the resulting long-running operation and get the\nresulting [KeyHandle][google.cloud.kms.v1.KeyHandle] and\n[CryptoKey][google.cloud.kms.v1.CryptoKey].", - "file": "AutokeyClient/CreateKeyHandle/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKeyHandle", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.CreateKeyHandle", + "method": { + "fullName": "google.cloud.kms.v1.Autokey.CreateKeyHandle", + "service": { + "fullName": "google.cloud.kms.v1.Autokey", + "shortName": "Autokey" + }, + "shortName": "CreateKeyHandle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateKeyHandleRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateKeyHandleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateKeyHandleOperation", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "CreateKeyHandle", - "fullName": "google.cloud.kms.v1.Autokey.CreateKeyHandle", - "service": { - "shortName": "Autokey", - "fullName": "google.cloud.kms.v1.Autokey" - } - } + "shortName": "CreateKeyHandle" }, + "description": "CreateKeyHandle creates a new [KeyHandle][google.cloud.kms.v1.KeyHandle], triggering the\nprovisioning of a new [CryptoKey][google.cloud.kms.v1.CryptoKey] for CMEK\nuse with the given resource type in the configured key project and the same\nlocation. [GetOperation][google.longrunning.Operations.GetOperation] should\nbe used to resolve the resulting long-running operation and get the\nresulting [KeyHandle][google.cloud.kms.v1.KeyHandle] and\n[CryptoKey][google.cloud.kms.v1.CryptoKey].", + "file": "AutokeyClient/CreateKeyHandle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_CreateKeyHandle_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateKeyHandle Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_GetIamPolicy_sync", - "title": "cloudkms 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": "AutokeyClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "AutokeyClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_GetKeyHandle_sync", - "title": "cloudkms GetKeyHandle Sample", - "description": "GetKeyHandle returns the [KeyHandle][google.cloud.kms.v1.KeyHandle].", - "file": "AutokeyClient/GetKeyHandle/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKeyHandle", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.GetKeyHandle", + "method": { + "fullName": "google.cloud.kms.v1.Autokey.GetKeyHandle", + "service": { + "fullName": "google.cloud.kms.v1.Autokey", + "shortName": "Autokey" + }, + "shortName": "GetKeyHandle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetKeyHandleRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetKeyHandleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.KeyHandle", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "GetKeyHandle", - "fullName": "google.cloud.kms.v1.Autokey.GetKeyHandle", - "service": { - "shortName": "Autokey", - "fullName": "google.cloud.kms.v1.Autokey" - } - } + "shortName": "GetKeyHandle" }, + "description": "GetKeyHandle returns the [KeyHandle][google.cloud.kms.v1.KeyHandle].", + "file": "AutokeyClient/GetKeyHandle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_GetKeyHandle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetKeyHandle Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_GetLocation_sync", - "title": "cloudkms GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AutokeyClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AutokeyClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetLocation Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_GetOperation_sync", - "title": "cloudkms GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AutokeyClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AutokeyClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetOperation Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_ListKeyHandles_sync", - "title": "cloudkms ListKeyHandles Sample", - "description": "ListKeyHandles lists [KeyHandles][google.cloud.kms.v1.KeyHandle].", - "file": "AutokeyClient/ListKeyHandles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKeyHandles", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.ListKeyHandles", + "method": { + "fullName": "google.cloud.kms.v1.Autokey.ListKeyHandles", + "service": { + "fullName": "google.cloud.kms.v1.Autokey", + "shortName": "Autokey" + }, + "shortName": "ListKeyHandles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListKeyHandlesRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListKeyHandlesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KeyHandleIterator", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "ListKeyHandles", - "fullName": "google.cloud.kms.v1.Autokey.ListKeyHandles", - "service": { - "shortName": "Autokey", - "fullName": "google.cloud.kms.v1.Autokey" - } - } + "shortName": "ListKeyHandles" }, + "description": "ListKeyHandles lists [KeyHandles][google.cloud.kms.v1.KeyHandle].", + "file": "AutokeyClient/ListKeyHandles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_ListKeyHandles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListKeyHandles Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_ListLocations_sync", - "title": "cloudkms ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "AutokeyClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "AutokeyClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListLocations Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_SetIamPolicy_sync", - "title": "cloudkms 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": "AutokeyClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "AutokeyClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms SetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_Autokey_TestIamPermissions_sync", - "title": "cloudkms 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": "AutokeyClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyClient", + "shortName": "AutokeyClient" + }, "fullName": "google.cloud.kms.v1.AutokeyClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "AutokeyClient", - "fullName": "google.cloud.kms.v1.AutokeyClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "AutokeyClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_Autokey_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms TestIamPermissions Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetAutokeyConfig_sync", - "title": "cloudkms GetAutokeyConfig Sample", - "description": "GetAutokeyConfig returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder\nor project.", - "file": "AutokeyAdminClient/GetAutokeyConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutokeyConfig", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.GetAutokeyConfig", + "method": { + "fullName": "google.cloud.kms.v1.AutokeyAdmin.GetAutokeyConfig", + "service": { + "fullName": "google.cloud.kms.v1.AutokeyAdmin", + "shortName": "AutokeyAdmin" + }, + "shortName": "GetAutokeyConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetAutokeyConfigRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetAutokeyConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.AutokeyConfig", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "GetAutokeyConfig", - "fullName": "google.cloud.kms.v1.AutokeyAdmin.GetAutokeyConfig", - "service": { - "shortName": "AutokeyAdmin", - "fullName": "google.cloud.kms.v1.AutokeyAdmin" - } - } + "shortName": "GetAutokeyConfig" }, + "description": "GetAutokeyConfig returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder\nor project.", + "file": "AutokeyAdminClient/GetAutokeyConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetAutokeyConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetAutokeyConfig Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetIamPolicy_sync", - "title": "cloudkms 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": "AutokeyAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "AutokeyAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetLocation_sync", - "title": "cloudkms GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AutokeyAdminClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AutokeyAdminClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetLocation Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetOperation_sync", - "title": "cloudkms GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AutokeyAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AutokeyAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetOperation Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_ListLocations_sync", - "title": "cloudkms ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "AutokeyAdminClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "AutokeyAdminClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListLocations Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_SetIamPolicy_sync", - "title": "cloudkms 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": "AutokeyAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "AutokeyAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms SetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_ShowEffectiveAutokeyConfig_sync", - "title": "cloudkms ShowEffectiveAutokeyConfig Sample", - "description": "ShowEffectiveAutokeyConfig returns the effective Cloud KMS Autokey configuration for a given project.", - "file": "AutokeyAdminClient/ShowEffectiveAutokeyConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "ShowEffectiveAutokeyConfig", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.ShowEffectiveAutokeyConfig", + "method": { + "fullName": "google.cloud.kms.v1.AutokeyAdmin.ShowEffectiveAutokeyConfig", + "service": { + "fullName": "google.cloud.kms.v1.AutokeyAdmin", + "shortName": "AutokeyAdmin" + }, + "shortName": "ShowEffectiveAutokeyConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ShowEffectiveAutokeyConfigRequest", - "name": "req" + "name": "req", + "type": "kmspb.ShowEffectiveAutokeyConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.ShowEffectiveAutokeyConfigResponse", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "ShowEffectiveAutokeyConfig", - "fullName": "google.cloud.kms.v1.AutokeyAdmin.ShowEffectiveAutokeyConfig", - "service": { - "shortName": "AutokeyAdmin", - "fullName": "google.cloud.kms.v1.AutokeyAdmin" - } - } + "shortName": "ShowEffectiveAutokeyConfig" }, + "description": "ShowEffectiveAutokeyConfig returns the effective Cloud KMS Autokey configuration for a given project.", + "file": "AutokeyAdminClient/ShowEffectiveAutokeyConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_ShowEffectiveAutokeyConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ShowEffectiveAutokeyConfig Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_TestIamPermissions_sync", - "title": "cloudkms 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": "AutokeyAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "AutokeyAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms TestIamPermissions Sample" }, { - "regionTag": "cloudkms_v1_generated_AutokeyAdmin_UpdateAutokeyConfig_sync", - "title": "cloudkms UpdateAutokeyConfig Sample", - "description": "UpdateAutokeyConfig updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder\nor a project. The caller must have both `cloudkms.autokeyConfigs.update`\npermission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy`\npermission on the provided key project. A\n[KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's\ndescendant projects will use this configuration to determine where to\ncreate the resulting [CryptoKey][google.cloud.kms.v1.CryptoKey].", - "file": "AutokeyAdminClient/UpdateAutokeyConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutokeyConfig", + "client": { + "fullName": "google.cloud.kms.v1.AutokeyAdminClient", + "shortName": "AutokeyAdminClient" + }, "fullName": "google.cloud.kms.v1.AutokeyAdminClient.UpdateAutokeyConfig", + "method": { + "fullName": "google.cloud.kms.v1.AutokeyAdmin.UpdateAutokeyConfig", + "service": { + "fullName": "google.cloud.kms.v1.AutokeyAdmin", + "shortName": "AutokeyAdmin" + }, + "shortName": "UpdateAutokeyConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.UpdateAutokeyConfigRequest", - "name": "req" + "name": "req", + "type": "kmspb.UpdateAutokeyConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.AutokeyConfig", - "client": { - "shortName": "AutokeyAdminClient", - "fullName": "google.cloud.kms.v1.AutokeyAdminClient" - }, - "method": { - "shortName": "UpdateAutokeyConfig", - "fullName": "google.cloud.kms.v1.AutokeyAdmin.UpdateAutokeyConfig", - "service": { - "shortName": "AutokeyAdmin", - "fullName": "google.cloud.kms.v1.AutokeyAdmin" - } - } + "shortName": "UpdateAutokeyConfig" }, + "description": "UpdateAutokeyConfig updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder\nor a project. The caller must have both `cloudkms.autokeyConfigs.update`\npermission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy`\npermission on the provided key project. A\n[KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's\ndescendant projects will use this configuration to determine where to\ncreate the resulting [CryptoKey][google.cloud.kms.v1.CryptoKey].", + "file": "AutokeyAdminClient/UpdateAutokeyConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_AutokeyAdmin_UpdateAutokeyConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms UpdateAutokeyConfig Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_CreateEkmConnection_sync", - "title": "cloudkms CreateEkmConnection Sample", - "description": "CreateEkmConnection creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given\nProject and Location.", - "file": "EkmClient/CreateEkmConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEkmConnection", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.CreateEkmConnection", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.CreateEkmConnection", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "CreateEkmConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateEkmConnectionRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateEkmConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.EkmConnection", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "CreateEkmConnection", - "fullName": "google.cloud.kms.v1.EkmService.CreateEkmConnection", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "CreateEkmConnection" }, + "description": "CreateEkmConnection creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given\nProject and Location.", + "file": "EkmClient/CreateEkmConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_CreateEkmConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateEkmConnection Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_GetEkmConfig_sync", - "title": "cloudkms GetEkmConfig Sample", - "description": "GetEkmConfig returns the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource\nfor a given project and location.", - "file": "EkmClient/GetEkmConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEkmConfig", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.GetEkmConfig", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.GetEkmConfig", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "GetEkmConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetEkmConfigRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetEkmConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.EkmConfig", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "GetEkmConfig", - "fullName": "google.cloud.kms.v1.EkmService.GetEkmConfig", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "GetEkmConfig" }, + "description": "GetEkmConfig returns the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource\nfor a given project and location.", + "file": "EkmClient/GetEkmConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_GetEkmConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetEkmConfig Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_GetEkmConnection_sync", - "title": "cloudkms GetEkmConnection Sample", - "description": "GetEkmConnection returns metadata for a given\n[EkmConnection][google.cloud.kms.v1.EkmConnection].", - "file": "EkmClient/GetEkmConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEkmConnection", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.GetEkmConnection", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.GetEkmConnection", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "GetEkmConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetEkmConnectionRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetEkmConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.EkmConnection", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "GetEkmConnection", - "fullName": "google.cloud.kms.v1.EkmService.GetEkmConnection", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "GetEkmConnection" }, + "description": "GetEkmConnection returns metadata for a given\n[EkmConnection][google.cloud.kms.v1.EkmConnection].", + "file": "EkmClient/GetEkmConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_GetEkmConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetEkmConnection Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_GetIamPolicy_sync", - "title": "cloudkms 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": "EkmClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "EkmClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_GetLocation_sync", - "title": "cloudkms GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "EkmClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "EkmClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetLocation Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_GetOperation_sync", - "title": "cloudkms GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EkmClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EkmClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetOperation Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_ListEkmConnections_sync", - "title": "cloudkms ListEkmConnections Sample", - "description": "ListEkmConnections lists [EkmConnections][google.cloud.kms.v1.EkmConnection].", - "file": "EkmClient/ListEkmConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEkmConnections", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.ListEkmConnections", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.ListEkmConnections", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "ListEkmConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListEkmConnectionsRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListEkmConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EkmConnectionIterator", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "ListEkmConnections", - "fullName": "google.cloud.kms.v1.EkmService.ListEkmConnections", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "ListEkmConnections" }, + "description": "ListEkmConnections lists [EkmConnections][google.cloud.kms.v1.EkmConnection].", + "file": "EkmClient/ListEkmConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_ListEkmConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListEkmConnections Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_ListLocations_sync", - "title": "cloudkms ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "EkmClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "EkmClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListLocations Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_SetIamPolicy_sync", - "title": "cloudkms 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": "EkmClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "EkmClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms SetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_TestIamPermissions_sync", - "title": "cloudkms 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": "EkmClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "EkmClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms TestIamPermissions Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_UpdateEkmConfig_sync", - "title": "cloudkms UpdateEkmConfig Sample", - "description": "UpdateEkmConfig updates the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource\nfor a given project and location.", - "file": "EkmClient/UpdateEkmConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEkmConfig", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.UpdateEkmConfig", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConfig", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "UpdateEkmConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.UpdateEkmConfigRequest", - "name": "req" + "name": "req", + "type": "kmspb.UpdateEkmConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.EkmConfig", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "UpdateEkmConfig", - "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConfig", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "UpdateEkmConfig" }, + "description": "UpdateEkmConfig updates the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource\nfor a given project and location.", + "file": "EkmClient/UpdateEkmConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_UpdateEkmConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms UpdateEkmConfig Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_UpdateEkmConnection_sync", - "title": "cloudkms UpdateEkmConnection Sample", - "description": "UpdateEkmConnection updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.", - "file": "EkmClient/UpdateEkmConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEkmConnection", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.UpdateEkmConnection", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConnection", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "UpdateEkmConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.UpdateEkmConnectionRequest", - "name": "req" + "name": "req", + "type": "kmspb.UpdateEkmConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.EkmConnection", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "UpdateEkmConnection", - "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConnection", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "UpdateEkmConnection" }, + "description": "UpdateEkmConnection updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.", + "file": "EkmClient/UpdateEkmConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_UpdateEkmConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms UpdateEkmConnection Sample" }, { - "regionTag": "cloudkms_v1_generated_EkmService_VerifyConnectivity_sync", - "title": "cloudkms VerifyConnectivity Sample", - "description": "VerifyConnectivity verifies that Cloud KMS can successfully connect to the external key\nmanager specified by an [EkmConnection][google.cloud.kms.v1.EkmConnection].\nIf there is an error connecting to the EKM, this method returns a\nFAILED_PRECONDITION status containing structured information as described\nat https: //cloud.google.com/kms/docs/reference/ekm_errors.", - "file": "EkmClient/VerifyConnectivity/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyConnectivity", + "client": { + "fullName": "google.cloud.kms.v1.EkmClient", + "shortName": "EkmClient" + }, "fullName": "google.cloud.kms.v1.EkmClient.VerifyConnectivity", + "method": { + "fullName": "google.cloud.kms.v1.EkmService.VerifyConnectivity", + "service": { + "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "EkmService" + }, + "shortName": "VerifyConnectivity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.VerifyConnectivityRequest", - "name": "req" + "name": "req", + "type": "kmspb.VerifyConnectivityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.VerifyConnectivityResponse", - "client": { - "shortName": "EkmClient", - "fullName": "google.cloud.kms.v1.EkmClient" - }, - "method": { - "shortName": "VerifyConnectivity", - "fullName": "google.cloud.kms.v1.EkmService.VerifyConnectivity", - "service": { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService" - } - } + "shortName": "VerifyConnectivity" }, + "description": "VerifyConnectivity verifies that Cloud KMS can successfully connect to the external key\nmanager specified by an [EkmConnection][google.cloud.kms.v1.EkmConnection].\nIf there is an error connecting to the EKM, this method returns a\nFAILED_PRECONDITION status containing structured information as described\nat https: //cloud.google.com/kms/docs/reference/ekm_errors.", + "file": "EkmClient/VerifyConnectivity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_EkmService_VerifyConnectivity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms VerifyConnectivity Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_ApproveSingleTenantHsmInstanceProposal_sync", - "title": "cloudkms ApproveSingleTenantHsmInstanceProposal Sample", - "description": "ApproveSingleTenantHsmInstanceProposal approves a\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal]\nfor a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. The\nproposal must be in the\n[PENDING][google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State.PENDING]\nstate.", - "file": "HsmManagementClient/ApproveSingleTenantHsmInstanceProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveSingleTenantHsmInstanceProposal", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.ApproveSingleTenantHsmInstanceProposal", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.ApproveSingleTenantHsmInstanceProposal", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "ApproveSingleTenantHsmInstanceProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ApproveSingleTenantHsmInstanceProposalRequest", - "name": "req" + "name": "req", + "type": "kmspb.ApproveSingleTenantHsmInstanceProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.ApproveSingleTenantHsmInstanceProposalResponse", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "ApproveSingleTenantHsmInstanceProposal", - "fullName": "google.cloud.kms.v1.HsmManagement.ApproveSingleTenantHsmInstanceProposal", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "ApproveSingleTenantHsmInstanceProposal" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ApproveSingleTenantHsmInstanceProposal approves a\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal]\nfor a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. The\nproposal must be in the\n[PENDING][google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State.PENDING]\nstate.", + "file": "HsmManagementClient/ApproveSingleTenantHsmInstanceProposal/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_ApproveSingleTenantHsmInstanceProposal_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ApproveSingleTenantHsmInstanceProposal Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_CreateSingleTenantHsmInstance_sync", - "title": "cloudkms CreateSingleTenantHsmInstance Sample", - "description": "CreateSingleTenantHsmInstance creates a new\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in a\ngiven Project and Location. User must create a RegisterTwoFactorAuthKeys\nproposal with this single-tenant HSM instance to finish setup of the\ninstance.", - "file": "HsmManagementClient/CreateSingleTenantHsmInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSingleTenantHsmInstance", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.CreateSingleTenantHsmInstance", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.CreateSingleTenantHsmInstance", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "CreateSingleTenantHsmInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateSingleTenantHsmInstanceRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateSingleTenantHsmInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSingleTenantHsmInstanceOperation", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "CreateSingleTenantHsmInstance", - "fullName": "google.cloud.kms.v1.HsmManagement.CreateSingleTenantHsmInstance", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "CreateSingleTenantHsmInstance" }, + "description": "CreateSingleTenantHsmInstance creates a new\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in a\ngiven Project and Location. User must create a RegisterTwoFactorAuthKeys\nproposal with this single-tenant HSM instance to finish setup of the\ninstance.", + "file": "HsmManagementClient/CreateSingleTenantHsmInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_CreateSingleTenantHsmInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateSingleTenantHsmInstance Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_CreateSingleTenantHsmInstanceProposal_sync", - "title": "cloudkms CreateSingleTenantHsmInstanceProposal Sample", - "description": "CreateSingleTenantHsmInstanceProposal creates a new\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal]\nfor a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].", - "file": "HsmManagementClient/CreateSingleTenantHsmInstanceProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSingleTenantHsmInstanceProposal", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.CreateSingleTenantHsmInstanceProposal", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.CreateSingleTenantHsmInstanceProposal", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "CreateSingleTenantHsmInstanceProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateSingleTenantHsmInstanceProposalRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateSingleTenantHsmInstanceProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSingleTenantHsmInstanceProposalOperation", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "CreateSingleTenantHsmInstanceProposal", - "fullName": "google.cloud.kms.v1.HsmManagement.CreateSingleTenantHsmInstanceProposal", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "CreateSingleTenantHsmInstanceProposal" }, + "description": "CreateSingleTenantHsmInstanceProposal creates a new\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal]\nfor a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].", + "file": "HsmManagementClient/CreateSingleTenantHsmInstanceProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_CreateSingleTenantHsmInstanceProposal_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateSingleTenantHsmInstanceProposal Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_DeleteSingleTenantHsmInstanceProposal_sync", - "title": "cloudkms DeleteSingleTenantHsmInstanceProposal Sample", - "description": "DeleteSingleTenantHsmInstanceProposal deletes a\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].", - "file": "HsmManagementClient/DeleteSingleTenantHsmInstanceProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSingleTenantHsmInstanceProposal", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.DeleteSingleTenantHsmInstanceProposal", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.DeleteSingleTenantHsmInstanceProposal", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "DeleteSingleTenantHsmInstanceProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.DeleteSingleTenantHsmInstanceProposalRequest", - "name": "req" + "name": "req", + "type": "kmspb.DeleteSingleTenantHsmInstanceProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "DeleteSingleTenantHsmInstanceProposal", - "fullName": "google.cloud.kms.v1.HsmManagement.DeleteSingleTenantHsmInstanceProposal", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "DeleteSingleTenantHsmInstanceProposal" }, + "description": "DeleteSingleTenantHsmInstanceProposal deletes a\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].", + "file": "HsmManagementClient/DeleteSingleTenantHsmInstanceProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_DeleteSingleTenantHsmInstanceProposal_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms DeleteSingleTenantHsmInstanceProposal Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_ExecuteSingleTenantHsmInstanceProposal_sync", - "title": "cloudkms ExecuteSingleTenantHsmInstanceProposal Sample", - "description": "ExecuteSingleTenantHsmInstanceProposal executes a\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal]\nfor a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. The\nproposal must be in the\n[APPROVED][google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State.APPROVED]\nstate.", - "file": "HsmManagementClient/ExecuteSingleTenantHsmInstanceProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteSingleTenantHsmInstanceProposal", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.ExecuteSingleTenantHsmInstanceProposal", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.ExecuteSingleTenantHsmInstanceProposal", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "ExecuteSingleTenantHsmInstanceProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ExecuteSingleTenantHsmInstanceProposalRequest", - "name": "req" + "name": "req", + "type": "kmspb.ExecuteSingleTenantHsmInstanceProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecuteSingleTenantHsmInstanceProposalOperation", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "ExecuteSingleTenantHsmInstanceProposal", - "fullName": "google.cloud.kms.v1.HsmManagement.ExecuteSingleTenantHsmInstanceProposal", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "ExecuteSingleTenantHsmInstanceProposal" }, + "description": "ExecuteSingleTenantHsmInstanceProposal executes a\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal]\nfor a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. The\nproposal must be in the\n[APPROVED][google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State.APPROVED]\nstate.", + "file": "HsmManagementClient/ExecuteSingleTenantHsmInstanceProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_ExecuteSingleTenantHsmInstanceProposal_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ExecuteSingleTenantHsmInstanceProposal Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_GetIamPolicy_sync", - "title": "cloudkms 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": "HsmManagementClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "HsmManagementClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_GetLocation_sync", - "title": "cloudkms GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "HsmManagementClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "HsmManagementClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetLocation Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_GetOperation_sync", - "title": "cloudkms GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "HsmManagementClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "HsmManagementClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetOperation Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_GetSingleTenantHsmInstance_sync", - "title": "cloudkms GetSingleTenantHsmInstance Sample", - "description": "GetSingleTenantHsmInstance returns metadata for a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].", - "file": "HsmManagementClient/GetSingleTenantHsmInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSingleTenantHsmInstance", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.GetSingleTenantHsmInstance", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.GetSingleTenantHsmInstance", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "GetSingleTenantHsmInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetSingleTenantHsmInstanceRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetSingleTenantHsmInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.SingleTenantHsmInstance", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "GetSingleTenantHsmInstance", - "fullName": "google.cloud.kms.v1.HsmManagement.GetSingleTenantHsmInstance", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "GetSingleTenantHsmInstance" }, + "description": "GetSingleTenantHsmInstance returns metadata for a given\n[SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].", + "file": "HsmManagementClient/GetSingleTenantHsmInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_GetSingleTenantHsmInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetSingleTenantHsmInstance Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_GetSingleTenantHsmInstanceProposal_sync", - "title": "cloudkms GetSingleTenantHsmInstanceProposal Sample", - "description": "GetSingleTenantHsmInstanceProposal returns metadata for a given\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].", - "file": "HsmManagementClient/GetSingleTenantHsmInstanceProposal/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSingleTenantHsmInstanceProposal", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.GetSingleTenantHsmInstanceProposal", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.GetSingleTenantHsmInstanceProposal", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "GetSingleTenantHsmInstanceProposal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetSingleTenantHsmInstanceProposalRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetSingleTenantHsmInstanceProposalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.SingleTenantHsmInstanceProposal", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "GetSingleTenantHsmInstanceProposal", - "fullName": "google.cloud.kms.v1.HsmManagement.GetSingleTenantHsmInstanceProposal", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "GetSingleTenantHsmInstanceProposal" }, + "description": "GetSingleTenantHsmInstanceProposal returns metadata for a given\n[SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].", + "file": "HsmManagementClient/GetSingleTenantHsmInstanceProposal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_GetSingleTenantHsmInstanceProposal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetSingleTenantHsmInstanceProposal Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_ListLocations_sync", - "title": "cloudkms ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "HsmManagementClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "HsmManagementClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListLocations Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_ListSingleTenantHsmInstanceProposals_sync", - "title": "cloudkms ListSingleTenantHsmInstanceProposals Sample", - "description": "ListSingleTenantHsmInstanceProposals lists\n[SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].", - "file": "HsmManagementClient/ListSingleTenantHsmInstanceProposals/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSingleTenantHsmInstanceProposals", - "fullName": "google.cloud.kms.v1.HsmManagementClient.ListSingleTenantHsmInstanceProposals", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "kmspb.ListSingleTenantHsmInstanceProposalsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "SingleTenantHsmInstanceProposalIterator", "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" }, + "fullName": "google.cloud.kms.v1.HsmManagementClient.ListSingleTenantHsmInstanceProposals", "method": { - "shortName": "ListSingleTenantHsmInstanceProposals", "fullName": "google.cloud.kms.v1.HsmManagement.ListSingleTenantHsmInstanceProposals", "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "ListSingleTenantHsmInstanceProposals" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "kmspb.ListSingleTenantHsmInstanceProposalsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "SingleTenantHsmInstanceProposalIterator", + "shortName": "ListSingleTenantHsmInstanceProposals" }, + "description": "ListSingleTenantHsmInstanceProposals lists\n[SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].", + "file": "HsmManagementClient/ListSingleTenantHsmInstanceProposals/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_ListSingleTenantHsmInstanceProposals_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListSingleTenantHsmInstanceProposals Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_ListSingleTenantHsmInstances_sync", - "title": "cloudkms ListSingleTenantHsmInstances Sample", - "description": "ListSingleTenantHsmInstances lists\n[SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].", - "file": "HsmManagementClient/ListSingleTenantHsmInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSingleTenantHsmInstances", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.ListSingleTenantHsmInstances", + "method": { + "fullName": "google.cloud.kms.v1.HsmManagement.ListSingleTenantHsmInstances", + "service": { + "fullName": "google.cloud.kms.v1.HsmManagement", + "shortName": "HsmManagement" + }, + "shortName": "ListSingleTenantHsmInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListSingleTenantHsmInstancesRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListSingleTenantHsmInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SingleTenantHsmInstanceIterator", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "ListSingleTenantHsmInstances", - "fullName": "google.cloud.kms.v1.HsmManagement.ListSingleTenantHsmInstances", - "service": { - "shortName": "HsmManagement", - "fullName": "google.cloud.kms.v1.HsmManagement" - } - } + "shortName": "ListSingleTenantHsmInstances" }, + "description": "ListSingleTenantHsmInstances lists\n[SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].", + "file": "HsmManagementClient/ListSingleTenantHsmInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_ListSingleTenantHsmInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListSingleTenantHsmInstances Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_SetIamPolicy_sync", - "title": "cloudkms 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": "HsmManagementClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "HsmManagementClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms SetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_HsmManagement_TestIamPermissions_sync", - "title": "cloudkms 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": "HsmManagementClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.kms.v1.HsmManagementClient", + "shortName": "HsmManagementClient" + }, "fullName": "google.cloud.kms.v1.HsmManagementClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "HsmManagementClient", - "fullName": "google.cloud.kms.v1.HsmManagementClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "HsmManagementClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_HsmManagement_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms TestIamPermissions Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_sync", - "title": "cloudkms AsymmetricDecrypt Sample", - "description": "AsymmetricDecrypt decrypts data that was encrypted with a public key retrieved from\n[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]\ncorresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nASYMMETRIC_DECRYPT.", - "file": "KeyManagementClient/AsymmetricDecrypt/main.go", - "language": "GO", "clientMethod": { - "shortName": "AsymmetricDecrypt", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.AsymmetricDecrypt", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "AsymmetricDecrypt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.AsymmetricDecryptRequest", - "name": "req" + "name": "req", + "type": "kmspb.AsymmetricDecryptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.AsymmetricDecryptResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "AsymmetricDecrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "AsymmetricDecrypt" }, + "description": "AsymmetricDecrypt decrypts data that was encrypted with a public key retrieved from\n[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]\ncorresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nASYMMETRIC_DECRYPT.", + "file": "KeyManagementClient/AsymmetricDecrypt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms AsymmetricDecrypt Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_AsymmetricSign_sync", - "title": "cloudkms AsymmetricSign Sample", - "description": "AsymmetricSign signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nASYMMETRIC_SIGN, producing a signature that can be verified with the public\nkey retrieved from\n[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].", - "file": "KeyManagementClient/AsymmetricSign/main.go", - "language": "GO", "clientMethod": { - "shortName": "AsymmetricSign", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.AsymmetricSign", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricSign", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "AsymmetricSign" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.AsymmetricSignRequest", - "name": "req" + "name": "req", + "type": "kmspb.AsymmetricSignRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.AsymmetricSignResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "AsymmetricSign", - "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricSign", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "AsymmetricSign" }, + "description": "AsymmetricSign signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nASYMMETRIC_SIGN, producing a signature that can be verified with the public\nkey retrieved from\n[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].", + "file": "KeyManagementClient/AsymmetricSign/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_AsymmetricSign_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms AsymmetricSign Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_sync", - "title": "cloudkms CreateCryptoKey Sample", - "description": "CreateCryptoKey create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a\n[KeyRing][google.cloud.kms.v1.KeyRing].\n\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and\n[CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm]\nare required.", - "file": "KeyManagementClient/CreateCryptoKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCryptoKey", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.CreateCryptoKey", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKey", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "CreateCryptoKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateCryptoKeyRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateCryptoKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKey", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "CreateCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKey", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "CreateCryptoKey" }, + "description": "CreateCryptoKey create a new [CryptoKey][google.cloud.kms.v1.CryptoKey] within a\n[KeyRing][google.cloud.kms.v1.KeyRing].\n\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] and\n[CryptoKey.version_template.algorithm][google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm]\nare required.", + "file": "KeyManagementClient/CreateCryptoKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateCryptoKey Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_sync", - "title": "cloudkms CreateCryptoKeyVersion Sample", - "description": "CreateCryptoKeyVersion create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a\n[CryptoKey][google.cloud.kms.v1.CryptoKey].\n\nThe server will assign the next sequential id. If unset,\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to\n[ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].", - "file": "KeyManagementClient/CreateCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.CreateCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "CreateCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKeyVersion", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "CreateCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "CreateCryptoKeyVersion" }, + "description": "CreateCryptoKeyVersion create a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in a\n[CryptoKey][google.cloud.kms.v1.CryptoKey].\n\nThe server will assign the next sequential id. If unset,\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to\n[ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].", + "file": "KeyManagementClient/CreateCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateCryptoKeyVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateImportJob_sync", - "title": "cloudkms CreateImportJob Sample", - "description": "CreateImportJob create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a\n[KeyRing][google.cloud.kms.v1.KeyRing].\n\n[ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is\nrequired.", - "file": "KeyManagementClient/CreateImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateImportJob", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.CreateImportJob", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateImportJob", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "CreateImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateImportJobRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.ImportJob", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "CreateImportJob", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateImportJob", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "CreateImportJob" }, + "description": "CreateImportJob create a new [ImportJob][google.cloud.kms.v1.ImportJob] within a\n[KeyRing][google.cloud.kms.v1.KeyRing].\n\n[ImportJob.import_method][google.cloud.kms.v1.ImportJob.import_method] is\nrequired.", + "file": "KeyManagementClient/CreateImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateImportJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateImportJob Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateKeyRing_sync", - "title": "cloudkms CreateKeyRing Sample", - "description": "CreateKeyRing create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and\nLocation.", - "file": "KeyManagementClient/CreateKeyRing/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKeyRing", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.CreateKeyRing", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateKeyRing", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "CreateKeyRing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.CreateKeyRingRequest", - "name": "req" + "name": "req", + "type": "kmspb.CreateKeyRingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.KeyRing", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "CreateKeyRing", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateKeyRing", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "CreateKeyRing" }, + "description": "CreateKeyRing create a new [KeyRing][google.cloud.kms.v1.KeyRing] in a given Project and\nLocation.", + "file": "KeyManagementClient/CreateKeyRing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_CreateKeyRing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms CreateKeyRing Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_Decapsulate_sync", - "title": "cloudkms Decapsulate Sample", - "description": "Decapsulate decapsulates data that was encapsulated with a public key retrieved from\n[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]\ncorresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nKEY_ENCAPSULATION.", - "file": "KeyManagementClient/Decapsulate/main.go", - "language": "GO", "clientMethod": { - "shortName": "Decapsulate", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.Decapsulate", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.Decapsulate", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "Decapsulate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.DecapsulateRequest", - "name": "req" + "name": "req", + "type": "kmspb.DecapsulateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.DecapsulateResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "Decapsulate", - "fullName": "google.cloud.kms.v1.KeyManagementService.Decapsulate", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "Decapsulate" }, + "description": "Decapsulate decapsulates data that was encapsulated with a public key retrieved from\n[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]\ncorresponding to a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nKEY_ENCAPSULATION.", + "file": "KeyManagementClient/Decapsulate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_Decapsulate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms Decapsulate Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_Decrypt_sync", - "title": "cloudkms Decrypt Sample", - "description": "Decrypt decrypts data that was protected by\n[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].", - "file": "KeyManagementClient/Decrypt/main.go", - "language": "GO", "clientMethod": { - "shortName": "Decrypt", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.Decrypt", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.Decrypt", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "Decrypt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.DecryptRequest", - "name": "req" + "name": "req", + "type": "kmspb.DecryptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.DecryptResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "Decrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.Decrypt", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "Decrypt" }, + "description": "Decrypt decrypts data that was protected by\n[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].", + "file": "KeyManagementClient/Decrypt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_Decrypt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms Decrypt Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_DeleteCryptoKey_sync", - "title": "cloudkms DeleteCryptoKey Sample", - "description": "DeleteCryptoKey permanently deletes the given [CryptoKey][google.cloud.kms.v1.CryptoKey].\nAll child [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] must\nhave been previously deleted using\n[KeyManagementService.DeleteCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DeleteCryptoKeyVersion].\nThe specified crypto key will be immediately and permanently deleted upon\ncalling this method. This action cannot be undone.", - "file": "KeyManagementClient/DeleteCryptoKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCryptoKey", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.DeleteCryptoKey", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.DeleteCryptoKey", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "DeleteCryptoKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.DeleteCryptoKeyRequest", - "name": "req" + "name": "req", + "type": "kmspb.DeleteCryptoKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCryptoKeyOperation", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "DeleteCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.DeleteCryptoKey", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "DeleteCryptoKey" }, + "description": "DeleteCryptoKey permanently deletes the given [CryptoKey][google.cloud.kms.v1.CryptoKey].\nAll child [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] must\nhave been previously deleted using\n[KeyManagementService.DeleteCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DeleteCryptoKeyVersion].\nThe specified crypto key will be immediately and permanently deleted upon\ncalling this method. This action cannot be undone.", + "file": "KeyManagementClient/DeleteCryptoKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_DeleteCryptoKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms DeleteCryptoKey Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_DeleteCryptoKeyVersion_sync", - "title": "cloudkms DeleteCryptoKeyVersion Sample", - "description": "DeleteCryptoKeyVersion permanently deletes the given\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only possible if\nthe version has not been previously imported and if its\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] is one of\n[DESTROYED][CryptoKeyVersionState.DESTROYED],\n[IMPORT_FAILED][CryptoKeyVersionState.IMPORT_FAILED], or\n[GENERATION_FAILED][CryptoKeyVersionState.GENERATION_FAILED].\nSuccessfully imported\n[CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] cannot be deleted\nat this time. The specified version will be immediately and permanently\ndeleted upon calling this method. This action cannot be undone.", - "file": "KeyManagementClient/DeleteCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.DeleteCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.DeleteCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "DeleteCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.DeleteCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.DeleteCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCryptoKeyVersionOperation", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "DeleteCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.DeleteCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "DeleteCryptoKeyVersion" }, + "description": "DeleteCryptoKeyVersion permanently deletes the given\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only possible if\nthe version has not been previously imported and if its\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] is one of\n[DESTROYED][CryptoKeyVersionState.DESTROYED],\n[IMPORT_FAILED][CryptoKeyVersionState.IMPORT_FAILED], or\n[GENERATION_FAILED][CryptoKeyVersionState.GENERATION_FAILED].\nSuccessfully imported\n[CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] cannot be deleted\nat this time. The specified version will be immediately and permanently\ndeleted upon calling this method. This action cannot be undone.", + "file": "KeyManagementClient/DeleteCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_DeleteCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms DeleteCryptoKeyVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_sync", - "title": "cloudkms DestroyCryptoKeyVersion Sample", - "description": "DestroyCryptoKeyVersion schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for\ndestruction.\n\nUpon calling this method,\n[CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will\nbe set to\n[DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED],\nand [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will\nbe set to the time\n[destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration]\nin the future. At that time, the\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically\nchange to\n[DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED],\nand the key material will be irrevocably destroyed.\n\nBefore the\n[destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is\nreached,\n[RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]\nmay be called to reverse the process.", - "file": "KeyManagementClient/DestroyCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DestroyCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.DestroyCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "DestroyCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.DestroyCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.DestroyCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKeyVersion", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "DestroyCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "DestroyCryptoKeyVersion" }, + "description": "DestroyCryptoKeyVersion schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for\ndestruction.\n\nUpon calling this method,\n[CryptoKeyVersion.state][google.cloud.kms.v1.CryptoKeyVersion.state] will\nbe set to\n[DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED],\nand [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will\nbe set to the time\n[destroy_scheduled_duration][google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration]\nin the future. At that time, the\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] will automatically\nchange to\n[DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED],\nand the key material will be irrevocably destroyed.\n\nBefore the\n[destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] is\nreached,\n[RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]\nmay be called to reverse the process.", + "file": "KeyManagementClient/DestroyCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms DestroyCryptoKeyVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_Encrypt_sync", - "title": "cloudkms Encrypt Sample", - "description": "Encrypt encrypts data, so that it can only be recovered by a call to\n[Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].", - "file": "KeyManagementClient/Encrypt/main.go", - "language": "GO", "clientMethod": { - "shortName": "Encrypt", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.Encrypt", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.Encrypt", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "Encrypt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.EncryptRequest", - "name": "req" + "name": "req", + "type": "kmspb.EncryptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.EncryptResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "Encrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.Encrypt", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "Encrypt" }, + "description": "Encrypt encrypts data, so that it can only be recovered by a call to\n[Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].", + "file": "KeyManagementClient/Encrypt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_Encrypt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms Encrypt Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GenerateRandomBytes_sync", - "title": "cloudkms GenerateRandomBytes Sample", - "description": "GenerateRandomBytes generate random bytes using the Cloud KMS randomness source in the provided\nlocation.", - "file": "KeyManagementClient/GenerateRandomBytes/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateRandomBytes", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GenerateRandomBytes", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GenerateRandomBytes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GenerateRandomBytesRequest", - "name": "req" + "name": "req", + "type": "kmspb.GenerateRandomBytesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.GenerateRandomBytesResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GenerateRandomBytes", - "fullName": "google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "GenerateRandomBytes" }, + "description": "GenerateRandomBytes generate random bytes using the Cloud KMS randomness source in the provided\nlocation.", + "file": "KeyManagementClient/GenerateRandomBytes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GenerateRandomBytes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GenerateRandomBytes Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetCryptoKey_sync", - "title": "cloudkms GetCryptoKey Sample", - "description": "GetCryptoKey returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as\nwell as its [primary][google.cloud.kms.v1.CryptoKey.primary]\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].", - "file": "KeyManagementClient/GetCryptoKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCryptoKey", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetCryptoKey", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKey", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GetCryptoKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetCryptoKeyRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetCryptoKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKey", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKey", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "GetCryptoKey" }, + "description": "GetCryptoKey returns metadata for a given [CryptoKey][google.cloud.kms.v1.CryptoKey], as\nwell as its [primary][google.cloud.kms.v1.CryptoKey.primary]\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].", + "file": "KeyManagementClient/GetCryptoKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetCryptoKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetCryptoKey Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_sync", - "title": "cloudkms GetCryptoKeyVersion Sample", - "description": "GetCryptoKeyVersion returns metadata for a given\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].", - "file": "KeyManagementClient/GetCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GetCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKeyVersion", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "GetCryptoKeyVersion" }, + "description": "GetCryptoKeyVersion returns metadata for a given\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].", + "file": "KeyManagementClient/GetCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetCryptoKeyVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetIamPolicy_sync", - "title": "cloudkms 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": "KeyManagementClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "KeyManagementClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetImportJob_sync", - "title": "cloudkms GetImportJob Sample", - "description": "GetImportJob returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob].", - "file": "KeyManagementClient/GetImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetImportJob", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetImportJob", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GetImportJob", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GetImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetImportJobRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.ImportJob", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetImportJob", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetImportJob", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "GetImportJob" }, + "description": "GetImportJob returns metadata for a given [ImportJob][google.cloud.kms.v1.ImportJob].", + "file": "KeyManagementClient/GetImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetImportJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetImportJob Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetKeyRing_sync", - "title": "cloudkms GetKeyRing Sample", - "description": "GetKeyRing returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing].", - "file": "KeyManagementClient/GetKeyRing/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKeyRing", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetKeyRing", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GetKeyRing", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GetKeyRing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetKeyRingRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetKeyRingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*kmspb.KeyRing", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetKeyRing", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetKeyRing", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*kmspb.KeyRing", + "shortName": "GetKeyRing" }, + "description": "GetKeyRing returns metadata for a given [KeyRing][google.cloud.kms.v1.KeyRing].", + "file": "KeyManagementClient/GetKeyRing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetKeyRing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetKeyRing Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetLocation_sync", - "title": "cloudkms GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "KeyManagementClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "KeyManagementClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetLocation Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetOperation_sync", - "title": "cloudkms GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "KeyManagementClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "KeyManagementClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetOperation Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetPublicKey_sync", - "title": "cloudkms GetPublicKey Sample", - "description": "GetPublicKey returns the public key for the given\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]\nor\n[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].", - "file": "KeyManagementClient/GetPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPublicKey", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetPublicKey", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GetPublicKey", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GetPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetPublicKeyRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.PublicKey", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetPublicKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetPublicKey", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "GetPublicKey" }, + "description": "GetPublicKey returns the public key for the given\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]\nor\n[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].", + "file": "KeyManagementClient/GetPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetPublicKey Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_GetRetiredResource_sync", - "title": "cloudkms GetRetiredResource Sample", - "description": "GetRetiredResource retrieves a specific [RetiredResource][google.cloud.kms.v1.RetiredResource]\nresource, which represents the record of a deleted\n[CryptoKey][google.cloud.kms.v1.CryptoKey].", - "file": "KeyManagementClient/GetRetiredResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRetiredResource", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.GetRetiredResource", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.GetRetiredResource", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "GetRetiredResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.GetRetiredResourceRequest", - "name": "req" + "name": "req", + "type": "kmspb.GetRetiredResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.RetiredResource", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "GetRetiredResource", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetRetiredResource", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "GetRetiredResource" }, + "description": "GetRetiredResource retrieves a specific [RetiredResource][google.cloud.kms.v1.RetiredResource]\nresource, which represents the record of a deleted\n[CryptoKey][google.cloud.kms.v1.CryptoKey].", + "file": "KeyManagementClient/GetRetiredResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_GetRetiredResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms GetRetiredResource Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_sync", - "title": "cloudkms ImportCryptoKeyVersion Sample", - "description": "ImportCryptoKeyVersion import wrapped key material into a\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].\n\nAll requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If\na [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally\nspecified in the request, key material will be reimported into that\nversion. Otherwise, a new version will be created, and will be assigned the\nnext sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].", - "file": "KeyManagementClient/ImportCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ImportCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "ImportCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ImportCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.ImportCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKeyVersion", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ImportCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "ImportCryptoKeyVersion" }, + "description": "ImportCryptoKeyVersion import wrapped key material into a\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].\n\nAll requests must specify a [CryptoKey][google.cloud.kms.v1.CryptoKey]. If\na [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] is additionally\nspecified in the request, key material will be reimported into that\nversion. Otherwise, a new version will be created, and will be assigned the\nnext sequential id within the [CryptoKey][google.cloud.kms.v1.CryptoKey].", + "file": "KeyManagementClient/ImportCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ImportCryptoKeyVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_sync", - "title": "cloudkms ListCryptoKeyVersions Sample", - "description": "ListCryptoKeyVersions lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].", - "file": "KeyManagementClient/ListCryptoKeyVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCryptoKeyVersions", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ListCryptoKeyVersions", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "ListCryptoKeyVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListCryptoKeyVersionsRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListCryptoKeyVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CryptoKeyVersionIterator", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ListCryptoKeyVersions", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "ListCryptoKeyVersions" }, + "description": "ListCryptoKeyVersions lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].", + "file": "KeyManagementClient/ListCryptoKeyVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListCryptoKeyVersions Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_sync", - "title": "cloudkms ListCryptoKeys Sample", - "description": "ListCryptoKeys lists [CryptoKeys][google.cloud.kms.v1.CryptoKey].", - "file": "KeyManagementClient/ListCryptoKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCryptoKeys", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ListCryptoKeys", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeys", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "ListCryptoKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListCryptoKeysRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListCryptoKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CryptoKeyIterator", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ListCryptoKeys", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeys", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "ListCryptoKeys" }, + "description": "ListCryptoKeys lists [CryptoKeys][google.cloud.kms.v1.CryptoKey].", + "file": "KeyManagementClient/ListCryptoKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListCryptoKeys Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ListImportJobs_sync", - "title": "cloudkms ListImportJobs Sample", - "description": "ListImportJobs lists [ImportJobs][google.cloud.kms.v1.ImportJob].", - "file": "KeyManagementClient/ListImportJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListImportJobs", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ListImportJobs", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.ListImportJobs", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "ListImportJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListImportJobsRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListImportJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportJobIterator", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ListImportJobs", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListImportJobs", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "ListImportJobs" }, + "description": "ListImportJobs lists [ImportJobs][google.cloud.kms.v1.ImportJob].", + "file": "KeyManagementClient/ListImportJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ListImportJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListImportJobs Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ListKeyRings_sync", - "title": "cloudkms ListKeyRings Sample", - "description": "ListKeyRings lists [KeyRings][google.cloud.kms.v1.KeyRing].", - "file": "KeyManagementClient/ListKeyRings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKeyRings", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ListKeyRings", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.ListKeyRings", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "ListKeyRings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListKeyRingsRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListKeyRingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KeyRingIterator", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ListKeyRings", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListKeyRings", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "ListKeyRings" }, + "description": "ListKeyRings lists [KeyRings][google.cloud.kms.v1.KeyRing].", + "file": "KeyManagementClient/ListKeyRings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ListKeyRings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListKeyRings Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ListLocations_sync", - "title": "cloudkms ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "KeyManagementClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "KeyManagementClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListLocations Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_ListRetiredResources_sync", - "title": "cloudkms ListRetiredResources Sample", - "description": "ListRetiredResources lists the [RetiredResources][google.cloud.kms.v1.RetiredResource] which are\nthe records of deleted [CryptoKeys][google.cloud.kms.v1.CryptoKey].\nRetiredResources prevent the reuse of these resource names after deletion.", - "file": "KeyManagementClient/ListRetiredResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRetiredResources", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.ListRetiredResources", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.ListRetiredResources", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "ListRetiredResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.ListRetiredResourcesRequest", - "name": "req" + "name": "req", + "type": "kmspb.ListRetiredResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RetiredResourceIterator", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "ListRetiredResources", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListRetiredResources", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "ListRetiredResources" }, + "description": "ListRetiredResources lists the [RetiredResources][google.cloud.kms.v1.RetiredResource] which are\nthe records of deleted [CryptoKeys][google.cloud.kms.v1.CryptoKey].\nRetiredResources prevent the reuse of these resource names after deletion.", + "file": "KeyManagementClient/ListRetiredResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_ListRetiredResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms ListRetiredResources Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_MacSign_sync", - "title": "cloudkms MacSign Sample", - "description": "MacSign signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC,\nproducing a tag that can be verified by another source with the same key.", - "file": "KeyManagementClient/MacSign/main.go", - "language": "GO", "clientMethod": { - "shortName": "MacSign", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.MacSign", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.MacSign", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "MacSign" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.MacSignRequest", - "name": "req" + "name": "req", + "type": "kmspb.MacSignRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.MacSignResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "MacSign", - "fullName": "google.cloud.kms.v1.KeyManagementService.MacSign", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "MacSign" }, + "description": "MacSign signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]\nwith [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC,\nproducing a tag that can be verified by another source with the same key.", + "file": "KeyManagementClient/MacSign/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_MacSign_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms MacSign Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_MacVerify_sync", - "title": "cloudkms MacVerify Sample", - "description": "MacVerify verifies MAC tag using a\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns\na response that indicates whether or not the verification was successful.", - "file": "KeyManagementClient/MacVerify/main.go", - "language": "GO", "clientMethod": { - "shortName": "MacVerify", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.MacVerify", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.MacVerify", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "MacVerify" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.MacVerifyRequest", - "name": "req" + "name": "req", + "type": "kmspb.MacVerifyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.MacVerifyResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "MacVerify", - "fullName": "google.cloud.kms.v1.KeyManagementService.MacVerify", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "MacVerify" }, + "description": "MacVerify verifies MAC tag using a\n[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] MAC, and returns\na response that indicates whether or not the verification was successful.", + "file": "KeyManagementClient/MacVerify/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_MacVerify_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms MacVerify Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_RawDecrypt_sync", - "title": "cloudkms RawDecrypt Sample", - "description": "RawDecrypt decrypts data that was originally encrypted using a raw cryptographic\nmechanism. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nmust be\n[RAW_ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT].", - "file": "KeyManagementClient/RawDecrypt/main.go", - "language": "GO", "clientMethod": { - "shortName": "RawDecrypt", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.RawDecrypt", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.RawDecrypt", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "RawDecrypt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.RawDecryptRequest", - "name": "req" + "name": "req", + "type": "kmspb.RawDecryptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.RawDecryptResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "RawDecrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.RawDecrypt", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "RawDecrypt" }, + "description": "RawDecrypt decrypts data that was originally encrypted using a raw cryptographic\nmechanism. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]\nmust be\n[RAW_ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT].", + "file": "KeyManagementClient/RawDecrypt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_RawDecrypt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms RawDecrypt Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_RawEncrypt_sync", - "title": "cloudkms RawEncrypt Sample", - "description": "RawEncrypt encrypts data using portable cryptographic primitives. Most users should\nchoose [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and\n[Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt] rather than\ntheir raw counterparts. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[RAW_ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT].", - "file": "KeyManagementClient/RawEncrypt/main.go", - "language": "GO", "clientMethod": { - "shortName": "RawEncrypt", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.RawEncrypt", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.RawEncrypt", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "RawEncrypt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.RawEncryptRequest", - "name": "req" + "name": "req", + "type": "kmspb.RawEncryptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.RawEncryptResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "RawEncrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.RawEncrypt", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "RawEncrypt" }, + "description": "RawEncrypt encrypts data using portable cryptographic primitives. Most users should\nchoose [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and\n[Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt] rather than\ntheir raw counterparts. The\n[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be\n[RAW_ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT].", + "file": "KeyManagementClient/RawEncrypt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_RawEncrypt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms RawEncrypt Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_sync", - "title": "cloudkms RestoreCryptoKeyVersion Sample", - "description": "RestoreCryptoKeyVersion restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the\n[DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]\nstate.\n\nUpon restoration of the CryptoKeyVersion,\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to\n[DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED],\nand [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will\nbe cleared.", - "file": "KeyManagementClient/RestoreCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.RestoreCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "RestoreCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.RestoreCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.RestoreCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKeyVersion", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "RestoreCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "RestoreCryptoKeyVersion" }, + "description": "RestoreCryptoKeyVersion restore a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the\n[DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]\nstate.\n\nUpon restoration of the CryptoKeyVersion,\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] will be set to\n[DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED],\nand [destroy_time][google.cloud.kms.v1.CryptoKeyVersion.destroy_time] will\nbe cleared.", + "file": "KeyManagementClient/RestoreCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms RestoreCryptoKeyVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_SetIamPolicy_sync", - "title": "cloudkms 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": "KeyManagementClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "KeyManagementClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms SetIamPolicy Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_TestIamPermissions_sync", - "title": "cloudkms 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": "KeyManagementClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "KeyManagementClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms TestIamPermissions Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_sync", - "title": "cloudkms UpdateCryptoKey Sample", - "description": "UpdateCryptoKey update a [CryptoKey][google.cloud.kms.v1.CryptoKey].", - "file": "KeyManagementClient/UpdateCryptoKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCryptoKey", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.UpdateCryptoKey", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "UpdateCryptoKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.UpdateCryptoKeyRequest", - "name": "req" + "name": "req", + "type": "kmspb.UpdateCryptoKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKey", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "UpdateCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "UpdateCryptoKey" }, + "description": "UpdateCryptoKey update a [CryptoKey][google.cloud.kms.v1.CryptoKey].", + "file": "KeyManagementClient/UpdateCryptoKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms UpdateCryptoKey Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_sync", - "title": "cloudkms UpdateCryptoKeyPrimaryVersion Sample", - "description": "UpdateCryptoKeyPrimaryVersion update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that\nwill be used in\n[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].\n\nReturns an error if called on a key whose purpose is not\n[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].", - "file": "KeyManagementClient/UpdateCryptoKeyPrimaryVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCryptoKeyPrimaryVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.UpdateCryptoKeyPrimaryVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "UpdateCryptoKeyPrimaryVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.UpdateCryptoKeyPrimaryVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.UpdateCryptoKeyPrimaryVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKey", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "UpdateCryptoKeyPrimaryVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "UpdateCryptoKeyPrimaryVersion" }, + "description": "UpdateCryptoKeyPrimaryVersion update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that\nwill be used in\n[Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].\n\nReturns an error if called on a key whose purpose is not\n[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].", + "file": "KeyManagementClient/UpdateCryptoKeyPrimaryVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms UpdateCryptoKeyPrimaryVersion Sample" }, { - "regionTag": "cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_sync", - "title": "cloudkms UpdateCryptoKeyVersion Sample", - "description": "UpdateCryptoKeyVersion update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s\nmetadata.\n\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between\n[ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]\nand\n[DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED]\nusing this method. See\n[DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]\nand\n[RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]\nto move between other states.", - "file": "KeyManagementClient/UpdateCryptoKeyVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCryptoKeyVersion", + "client": { + "fullName": "google.cloud.kms.v1.KeyManagementClient", + "shortName": "KeyManagementClient" + }, "fullName": "google.cloud.kms.v1.KeyManagementClient.UpdateCryptoKeyVersion", + "method": { + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion", + "service": { + "fullName": "google.cloud.kms.v1.KeyManagementService", + "shortName": "KeyManagementService" + }, + "shortName": "UpdateCryptoKeyVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "kmspb.UpdateCryptoKeyVersionRequest", - "name": "req" + "name": "req", + "type": "kmspb.UpdateCryptoKeyVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*kmspb.CryptoKeyVersion", - "client": { - "shortName": "KeyManagementClient", - "fullName": "google.cloud.kms.v1.KeyManagementClient" - }, - "method": { - "shortName": "UpdateCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion", - "service": { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService" - } - } + "shortName": "UpdateCryptoKeyVersion" }, + "description": "UpdateCryptoKeyVersion update a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s\nmetadata.\n\n[state][google.cloud.kms.v1.CryptoKeyVersion.state] may be changed between\n[ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]\nand\n[DISABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED]\nusing this method. See\n[DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]\nand\n[RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]\nto move between other states.", + "file": "KeyManagementClient/UpdateCryptoKeyVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudkms UpdateCryptoKeyVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json b/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json index 97129e3d7ff7..dd2f1f3a42a1 100644 --- a/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json +++ b/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/kms/inventory/apiv1", - "version": "1.26.0", - "language": "GO", "apis": [ { "id": "google.cloud.kms.inventory.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/kms/inventory/apiv1", + "version": "1.26.0" }, "snippets": [ { - "regionTag": "kmsinventory_v1_generated_KeyDashboardService_ListCryptoKeys_sync", - "title": "kmsinventory ListCryptoKeys Sample", - "description": "ListCryptoKeys returns cryptographic keys managed by Cloud KMS in a given Cloud project.\nNote that this data is sourced from snapshots, meaning it may not\ncompletely reflect the actual state of key metadata at call time.", - "file": "KeyDashboardClient/ListCryptoKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCryptoKeys", + "client": { + "fullName": "google.cloud.kms.inventory.v1.KeyDashboardClient", + "shortName": "KeyDashboardClient" + }, "fullName": "google.cloud.kms.inventory.v1.KeyDashboardClient.ListCryptoKeys", + "method": { + "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys", + "service": { + "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService", + "shortName": "KeyDashboardService" + }, + "shortName": "ListCryptoKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventorypb.ListCryptoKeysRequest", - "name": "req" + "name": "req", + "type": "inventorypb.ListCryptoKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CryptoKeyIterator", - "client": { - "shortName": "KeyDashboardClient", - "fullName": "google.cloud.kms.inventory.v1.KeyDashboardClient" - }, - "method": { - "shortName": "ListCryptoKeys", - "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys", - "service": { - "shortName": "KeyDashboardService", - "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService" - } - } + "shortName": "ListCryptoKeys" }, + "description": "ListCryptoKeys returns cryptographic keys managed by Cloud KMS in a given Cloud project.\nNote that this data is sourced from snapshots, meaning it may not\ncompletely reflect the actual state of key metadata at call time.", + "file": "KeyDashboardClient/ListCryptoKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "kmsinventory_v1_generated_KeyDashboardService_ListCryptoKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "kmsinventory ListCryptoKeys Sample" }, { - "regionTag": "kmsinventory_v1_generated_KeyTrackingService_GetProtectedResourcesSummary_sync", - "title": "kmsinventory GetProtectedResourcesSummary Sample", - "description": "GetProtectedResourcesSummary returns aggregate information about the resources protected by the given\nCloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey]. By default,\nsummary of resources within the same Cloud organization as the key will be\nreturned, which requires the KMS organization service account to be\nconfigured(refer\nhttps: //docs.cloud.google.com/kms/docs/view-key-usage#required-roles).\nIf the KMS organization service account is not configured or key's project\nis not part of an organization, set\n[fallback_scope][google.cloud.kms.inventory.v1.GetProtectedResourcesSummaryRequest.fallback_scope]\nto `FALLBACK_SCOPE_PROJECT` to retrieve a summary of protected resources\nwithin the key's project.", - "file": "KeyTrackingClient/GetProtectedResourcesSummary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProtectedResourcesSummary", + "client": { + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient", + "shortName": "KeyTrackingClient" + }, "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient.GetProtectedResourcesSummary", + "method": { + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.GetProtectedResourcesSummary", + "service": { + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService", + "shortName": "KeyTrackingService" + }, + "shortName": "GetProtectedResourcesSummary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventorypb.GetProtectedResourcesSummaryRequest", - "name": "req" + "name": "req", + "type": "inventorypb.GetProtectedResourcesSummaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*inventorypb.ProtectedResourcesSummary", - "client": { - "shortName": "KeyTrackingClient", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient" - }, - "method": { - "shortName": "GetProtectedResourcesSummary", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.GetProtectedResourcesSummary", - "service": { - "shortName": "KeyTrackingService", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService" - } - } + "shortName": "GetProtectedResourcesSummary" }, + "description": "GetProtectedResourcesSummary returns aggregate information about the resources protected by the given\nCloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey]. By default,\nsummary of resources within the same Cloud organization as the key will be\nreturned, which requires the KMS organization service account to be\nconfigured(refer\nhttps: //docs.cloud.google.com/kms/docs/view-key-usage#required-roles).\nIf the KMS organization service account is not configured or key's project\nis not part of an organization, set\n[fallback_scope][google.cloud.kms.inventory.v1.GetProtectedResourcesSummaryRequest.fallback_scope]\nto `FALLBACK_SCOPE_PROJECT` to retrieve a summary of protected resources\nwithin the key's project.", + "file": "KeyTrackingClient/GetProtectedResourcesSummary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "kmsinventory_v1_generated_KeyTrackingService_GetProtectedResourcesSummary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "kmsinventory GetProtectedResourcesSummary Sample" }, { - "regionTag": "kmsinventory_v1_generated_KeyTrackingService_SearchProtectedResources_sync", - "title": "kmsinventory SearchProtectedResources Sample", - "description": "SearchProtectedResources returns metadata about the resources protected by the given Cloud KMS\n[CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud\norganization/project.", - "file": "KeyTrackingClient/SearchProtectedResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchProtectedResources", + "client": { + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient", + "shortName": "KeyTrackingClient" + }, "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient.SearchProtectedResources", + "method": { + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.SearchProtectedResources", + "service": { + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService", + "shortName": "KeyTrackingService" + }, + "shortName": "SearchProtectedResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventorypb.SearchProtectedResourcesRequest", - "name": "req" + "name": "req", + "type": "inventorypb.SearchProtectedResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProtectedResourceIterator", - "client": { - "shortName": "KeyTrackingClient", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingClient" - }, - "method": { - "shortName": "SearchProtectedResources", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.SearchProtectedResources", - "service": { - "shortName": "KeyTrackingService", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService" - } - } + "shortName": "SearchProtectedResources" }, + "description": "SearchProtectedResources returns metadata about the resources protected by the given Cloud KMS\n[CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud\norganization/project.", + "file": "KeyTrackingClient/SearchProtectedResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "kmsinventory_v1_generated_KeyTrackingService_SearchProtectedResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "kmsinventory SearchProtectedResources Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json index 78bb0079cdb0..28e6eab1fe16 100644 --- a/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json +++ b/internal/generated/snippets/language/apiv1/snippet_metadata.google.cloud.language.v1.json @@ -1,337 +1,337 @@ { "clientLibrary": { - "name": "cloud.google.com/go/language/apiv1", - "version": "1.14.6", - "language": "GO", "apis": [ { "id": "google.cloud.language.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/language/apiv1", + "version": "1.14.6" }, "snippets": [ { - "regionTag": "language_v1_generated_LanguageService_AnalyzeEntities_sync", - "title": "language AnalyzeEntities Sample", - "description": "AnalyzeEntities finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", - "file": "Client/AnalyzeEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeEntities", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.AnalyzeEntities", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntities", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeEntitiesRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeEntitiesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "AnalyzeEntities", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntities", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "AnalyzeEntities" }, + "description": "AnalyzeEntities finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", + "file": "Client/AnalyzeEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_AnalyzeEntities_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeEntities Sample" }, { - "regionTag": "language_v1_generated_LanguageService_AnalyzeEntitySentiment_sync", - "title": "language AnalyzeEntitySentiment Sample", - "description": "AnalyzeEntitySentiment finds entities, similar to\n[AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]\nin the text and analyzes sentiment associated with each entity and its\nmentions.", - "file": "Client/AnalyzeEntitySentiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeEntitySentiment", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.AnalyzeEntitySentiment", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntitySentiment", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeEntitySentiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeEntitySentimentRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeEntitySentimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeEntitySentimentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "AnalyzeEntitySentiment", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntitySentiment", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "AnalyzeEntitySentiment" }, + "description": "AnalyzeEntitySentiment finds entities, similar to\n[AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]\nin the text and analyzes sentiment associated with each entity and its\nmentions.", + "file": "Client/AnalyzeEntitySentiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_AnalyzeEntitySentiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeEntitySentiment Sample" }, { - "regionTag": "language_v1_generated_LanguageService_AnalyzeSentiment_sync", - "title": "language AnalyzeSentiment Sample", - "description": "AnalyzeSentiment analyzes the sentiment of the provided text.", - "file": "Client/AnalyzeSentiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeSentiment", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.AnalyzeSentiment", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSentiment", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeSentiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeSentimentRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeSentimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeSentimentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "AnalyzeSentiment", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSentiment", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "AnalyzeSentiment" }, + "description": "AnalyzeSentiment analyzes the sentiment of the provided text.", + "file": "Client/AnalyzeSentiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_AnalyzeSentiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeSentiment Sample" }, { - "regionTag": "language_v1_generated_LanguageService_AnalyzeSyntax_sync", - "title": "language AnalyzeSyntax Sample", - "description": "AnalyzeSyntax analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", - "file": "Client/AnalyzeSyntax/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeSyntax", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.AnalyzeSyntax", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSyntax", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeSyntax" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeSyntaxRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeSyntaxRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeSyntaxResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "AnalyzeSyntax", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSyntax", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "AnalyzeSyntax" }, + "description": "AnalyzeSyntax analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", + "file": "Client/AnalyzeSyntax/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_AnalyzeSyntax_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeSyntax Sample" }, { - "regionTag": "language_v1_generated_LanguageService_AnnotateText_sync", - "title": "language AnnotateText Sample", - "description": "AnnotateText a convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.", - "file": "Client/AnnotateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateText", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.AnnotateText", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.AnnotateText", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnnotateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnnotateTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnnotateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnnotateTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "AnnotateText", - "fullName": "google.cloud.language.v1.LanguageService.AnnotateText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "AnnotateText" }, + "description": "AnnotateText a convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.", + "file": "Client/AnnotateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_AnnotateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnnotateText Sample" }, { - "regionTag": "language_v1_generated_LanguageService_ClassifyText_sync", - "title": "language ClassifyText Sample", - "description": "ClassifyText classifies a document into categories.", - "file": "Client/ClassifyText/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClassifyText", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.ClassifyText", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.ClassifyText", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "ClassifyText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.ClassifyTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.ClassifyTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.ClassifyTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "ClassifyText", - "fullName": "google.cloud.language.v1.LanguageService.ClassifyText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "ClassifyText" }, + "description": "ClassifyText classifies a document into categories.", + "file": "Client/ClassifyText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_ClassifyText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language ClassifyText Sample" }, { - "regionTag": "language_v1_generated_LanguageService_ModerateText_sync", - "title": "language ModerateText Sample", - "description": "ModerateText moderates a document for harmful and sensitive categories.", - "file": "Client/ModerateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModerateText", + "client": { + "fullName": "google.cloud.language.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1.Client.ModerateText", + "method": { + "fullName": "google.cloud.language.v1.LanguageService.ModerateText", + "service": { + "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "ModerateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.ModerateTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.ModerateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.ModerateTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1.Client" - }, - "method": { - "shortName": "ModerateText", - "fullName": "google.cloud.language.v1.LanguageService.ModerateText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService" - } - } + "shortName": "ModerateText" }, + "description": "ModerateText moderates a document for harmful and sensitive categories.", + "file": "Client/ModerateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1_generated_LanguageService_ModerateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language ModerateText Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json index a1927f150f9d..24c61d9b13cb 100644 --- a/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json +++ b/internal/generated/snippets/language/apiv1beta2/snippet_metadata.google.cloud.language.v1beta2.json @@ -1,337 +1,337 @@ { "clientLibrary": { - "name": "cloud.google.com/go/language/apiv1beta2", - "version": "1.14.6", - "language": "GO", "apis": [ { "id": "google.cloud.language.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/language/apiv1beta2", + "version": "1.14.6" }, "snippets": [ { - "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeEntities_sync", - "title": "language AnalyzeEntities Sample", - "description": "AnalyzeEntities finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", - "file": "Client/AnalyzeEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeEntities", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.AnalyzeEntities", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntities", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeEntitiesRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeEntitiesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "AnalyzeEntities", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntities", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "AnalyzeEntities" }, + "description": "AnalyzeEntities finds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.", + "file": "Client/AnalyzeEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeEntities_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeEntities Sample" }, { - "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeEntitySentiment_sync", - "title": "language AnalyzeEntitySentiment Sample", - "description": "AnalyzeEntitySentiment finds entities, similar to\n[AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities]\nin the text and analyzes sentiment associated with each entity and its\nmentions.", - "file": "Client/AnalyzeEntitySentiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeEntitySentiment", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.AnalyzeEntitySentiment", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeEntitySentiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeEntitySentimentRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeEntitySentimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeEntitySentimentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "AnalyzeEntitySentiment", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "AnalyzeEntitySentiment" }, + "description": "AnalyzeEntitySentiment finds entities, similar to\n[AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities]\nin the text and analyzes sentiment associated with each entity and its\nmentions.", + "file": "Client/AnalyzeEntitySentiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeEntitySentiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeEntitySentiment Sample" }, { - "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeSentiment_sync", - "title": "language AnalyzeSentiment Sample", - "description": "AnalyzeSentiment analyzes the sentiment of the provided text.", - "file": "Client/AnalyzeSentiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeSentiment", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.AnalyzeSentiment", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeSentiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeSentimentRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeSentimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeSentimentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "AnalyzeSentiment", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "AnalyzeSentiment" }, + "description": "AnalyzeSentiment analyzes the sentiment of the provided text.", + "file": "Client/AnalyzeSentiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeSentiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeSentiment Sample" }, { - "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeSyntax_sync", - "title": "language AnalyzeSyntax Sample", - "description": "AnalyzeSyntax analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", - "file": "Client/AnalyzeSyntax/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeSyntax", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.AnalyzeSyntax", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeSyntax" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeSyntaxRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeSyntaxRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeSyntaxResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "AnalyzeSyntax", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "AnalyzeSyntax" }, + "description": "AnalyzeSyntax analyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.", + "file": "Client/AnalyzeSyntax/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_AnalyzeSyntax_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeSyntax Sample" }, { - "regionTag": "language_v1beta2_generated_LanguageService_AnnotateText_sync", - "title": "language AnnotateText Sample", - "description": "AnnotateText a convenience method that provides all syntax, sentiment, entity, and\nclassification features in one call.", - "file": "Client/AnnotateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateText", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.AnnotateText", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.AnnotateText", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnnotateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnnotateTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnnotateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnnotateTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "AnnotateText", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnnotateText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "AnnotateText" }, + "description": "AnnotateText a convenience method that provides all syntax, sentiment, entity, and\nclassification features in one call.", + "file": "Client/AnnotateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_AnnotateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnnotateText Sample" }, { - "regionTag": "language_v1beta2_generated_LanguageService_ClassifyText_sync", - "title": "language ClassifyText Sample", - "description": "ClassifyText classifies a document into categories.", - "file": "Client/ClassifyText/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClassifyText", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.ClassifyText", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.ClassifyText", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "ClassifyText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.ClassifyTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.ClassifyTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.ClassifyTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "ClassifyText", - "fullName": "google.cloud.language.v1beta2.LanguageService.ClassifyText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "ClassifyText" }, + "description": "ClassifyText classifies a document into categories.", + "file": "Client/ClassifyText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_ClassifyText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language ClassifyText Sample" }, { - "regionTag": "language_v1beta2_generated_LanguageService_ModerateText_sync", - "title": "language ModerateText Sample", - "description": "ModerateText moderates a document for harmful and sensitive categories.", - "file": "Client/ModerateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModerateText", + "client": { + "fullName": "google.cloud.language.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v1beta2.Client.ModerateText", + "method": { + "fullName": "google.cloud.language.v1beta2.LanguageService.ModerateText", + "service": { + "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "ModerateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.ModerateTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.ModerateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.ModerateTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v1beta2.Client" - }, - "method": { - "shortName": "ModerateText", - "fullName": "google.cloud.language.v1beta2.LanguageService.ModerateText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService" - } - } + "shortName": "ModerateText" }, + "description": "ModerateText moderates a document for harmful and sensitive categories.", + "file": "Client/ModerateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v1beta2_generated_LanguageService_ModerateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language ModerateText Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json index cc17ffa98cb9..ad223d97bc86 100644 --- a/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json +++ b/internal/generated/snippets/language/apiv2/snippet_metadata.google.cloud.language.v2.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/language/apiv2", - "version": "1.14.6", - "language": "GO", "apis": [ { "id": "google.cloud.language.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/language/apiv2", + "version": "1.14.6" }, "snippets": [ { - "regionTag": "language_v2_generated_LanguageService_AnalyzeEntities_sync", - "title": "language AnalyzeEntities Sample", - "description": "AnalyzeEntities finds named entities (currently proper names and common nouns) in the text\nalong with entity types, probability, mentions for each entity, and\nother properties.", - "file": "Client/AnalyzeEntities/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeEntities", + "client": { + "fullName": "google.cloud.language.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v2.Client.AnalyzeEntities", + "method": { + "fullName": "google.cloud.language.v2.LanguageService.AnalyzeEntities", + "service": { + "fullName": "google.cloud.language.v2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeEntities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeEntitiesRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeEntitiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeEntitiesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v2.Client" - }, - "method": { - "shortName": "AnalyzeEntities", - "fullName": "google.cloud.language.v2.LanguageService.AnalyzeEntities", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v2.LanguageService" - } - } + "shortName": "AnalyzeEntities" }, + "description": "AnalyzeEntities finds named entities (currently proper names and common nouns) in the text\nalong with entity types, probability, mentions for each entity, and\nother properties.", + "file": "Client/AnalyzeEntities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v2_generated_LanguageService_AnalyzeEntities_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeEntities Sample" }, { - "regionTag": "language_v2_generated_LanguageService_AnalyzeSentiment_sync", - "title": "language AnalyzeSentiment Sample", - "description": "AnalyzeSentiment analyzes the sentiment of the provided text.", - "file": "Client/AnalyzeSentiment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeSentiment", + "client": { + "fullName": "google.cloud.language.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v2.Client.AnalyzeSentiment", + "method": { + "fullName": "google.cloud.language.v2.LanguageService.AnalyzeSentiment", + "service": { + "fullName": "google.cloud.language.v2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnalyzeSentiment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnalyzeSentimentRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnalyzeSentimentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnalyzeSentimentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v2.Client" - }, - "method": { - "shortName": "AnalyzeSentiment", - "fullName": "google.cloud.language.v2.LanguageService.AnalyzeSentiment", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v2.LanguageService" - } - } + "shortName": "AnalyzeSentiment" }, + "description": "AnalyzeSentiment analyzes the sentiment of the provided text.", + "file": "Client/AnalyzeSentiment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v2_generated_LanguageService_AnalyzeSentiment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnalyzeSentiment Sample" }, { - "regionTag": "language_v2_generated_LanguageService_AnnotateText_sync", - "title": "language AnnotateText Sample", - "description": "AnnotateText a convenience method that provides all features in one call.", - "file": "Client/AnnotateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateText", + "client": { + "fullName": "google.cloud.language.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v2.Client.AnnotateText", + "method": { + "fullName": "google.cloud.language.v2.LanguageService.AnnotateText", + "service": { + "fullName": "google.cloud.language.v2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "AnnotateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.AnnotateTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.AnnotateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.AnnotateTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v2.Client" - }, - "method": { - "shortName": "AnnotateText", - "fullName": "google.cloud.language.v2.LanguageService.AnnotateText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v2.LanguageService" - } - } + "shortName": "AnnotateText" }, + "description": "AnnotateText a convenience method that provides all features in one call.", + "file": "Client/AnnotateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v2_generated_LanguageService_AnnotateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language AnnotateText Sample" }, { - "regionTag": "language_v2_generated_LanguageService_ClassifyText_sync", - "title": "language ClassifyText Sample", - "description": "ClassifyText classifies a document into categories.", - "file": "Client/ClassifyText/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClassifyText", + "client": { + "fullName": "google.cloud.language.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v2.Client.ClassifyText", + "method": { + "fullName": "google.cloud.language.v2.LanguageService.ClassifyText", + "service": { + "fullName": "google.cloud.language.v2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "ClassifyText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.ClassifyTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.ClassifyTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.ClassifyTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v2.Client" - }, - "method": { - "shortName": "ClassifyText", - "fullName": "google.cloud.language.v2.LanguageService.ClassifyText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v2.LanguageService" - } - } + "shortName": "ClassifyText" }, + "description": "ClassifyText classifies a document into categories.", + "file": "Client/ClassifyText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v2_generated_LanguageService_ClassifyText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language ClassifyText Sample" }, { - "regionTag": "language_v2_generated_LanguageService_ModerateText_sync", - "title": "language ModerateText Sample", - "description": "ModerateText moderates a document for harmful and sensitive categories.", - "file": "Client/ModerateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModerateText", + "client": { + "fullName": "google.cloud.language.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.language.v2.Client.ModerateText", + "method": { + "fullName": "google.cloud.language.v2.LanguageService.ModerateText", + "service": { + "fullName": "google.cloud.language.v2.LanguageService", + "shortName": "LanguageService" + }, + "shortName": "ModerateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "languagepb.ModerateTextRequest", - "name": "req" + "name": "req", + "type": "languagepb.ModerateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*languagepb.ModerateTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.language.v2.Client" - }, - "method": { - "shortName": "ModerateText", - "fullName": "google.cloud.language.v2.LanguageService.ModerateText", - "service": { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v2.LanguageService" - } - } + "shortName": "ModerateText" }, + "description": "ModerateText moderates a document for harmful and sensitive categories.", + "file": "Client/ModerateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "language_v2_generated_LanguageService_ModerateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "language ModerateText Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/licensemanager/apiv1/snippet_metadata.google.cloud.licensemanager.v1.json b/internal/generated/snippets/licensemanager/apiv1/snippet_metadata.google.cloud.licensemanager.v1.json index 6fdf92603347..286d770b43f3 100644 --- a/internal/generated/snippets/licensemanager/apiv1/snippet_metadata.google.cloud.licensemanager.v1.json +++ b/internal/generated/snippets/licensemanager/apiv1/snippet_metadata.google.cloud.licensemanager.v1.json @@ -1,887 +1,887 @@ { "clientLibrary": { - "name": "cloud.google.com/go/licensemanager/apiv1", - "version": "0.1.1", - "language": "GO", "apis": [ { "id": "google.cloud.licensemanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/licensemanager/apiv1", + "version": "0.1.1" }, "snippets": [ { - "regionTag": "licensemanager_v1_generated_LicenseManager_AggregateUsage_sync", - "title": "licensemanager AggregateUsage Sample", - "description": "AggregateUsage aggregates Usage per Instance for a Configuration.", - "file": "Client/AggregateUsage/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregateUsage", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.AggregateUsage", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.AggregateUsage", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "AggregateUsage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.AggregateUsageRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.AggregateUsageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UsageIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "AggregateUsage", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.AggregateUsage", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "AggregateUsage" }, + "description": "AggregateUsage aggregates Usage per Instance for a Configuration.", + "file": "Client/AggregateUsage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_AggregateUsage_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager AggregateUsage Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_CancelOperation_sync", - "title": "licensemanager CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager CancelOperation Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_CreateConfiguration_sync", - "title": "licensemanager CreateConfiguration Sample", - "description": "CreateConfiguration creates a new Configuration in a given project and location.", - "file": "Client/CreateConfiguration/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConfiguration", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.CreateConfiguration", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.CreateConfiguration", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "CreateConfiguration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.CreateConfigurationRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.CreateConfigurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConfigurationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "CreateConfiguration", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.CreateConfiguration", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "CreateConfiguration" }, + "description": "CreateConfiguration creates a new Configuration in a given project and location.", + "file": "Client/CreateConfiguration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_CreateConfiguration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager CreateConfiguration Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_DeactivateConfiguration_sync", - "title": "licensemanager DeactivateConfiguration Sample", - "description": "DeactivateConfiguration deactivates the given configuration.", - "file": "Client/DeactivateConfiguration/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeactivateConfiguration", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.DeactivateConfiguration", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.DeactivateConfiguration", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "DeactivateConfiguration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.DeactivateConfigurationRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.DeactivateConfigurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeactivateConfigurationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "DeactivateConfiguration", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.DeactivateConfiguration", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "DeactivateConfiguration" }, + "description": "DeactivateConfiguration deactivates the given configuration.", + "file": "Client/DeactivateConfiguration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_DeactivateConfiguration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager DeactivateConfiguration Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_DeleteConfiguration_sync", - "title": "licensemanager DeleteConfiguration Sample", - "description": "DeleteConfiguration deletes a single Configuration.", - "file": "Client/DeleteConfiguration/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConfiguration", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.DeleteConfiguration", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.DeleteConfiguration", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "DeleteConfiguration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.DeleteConfigurationRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.DeleteConfigurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConfigurationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "DeleteConfiguration", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.DeleteConfiguration", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "DeleteConfiguration" }, + "description": "DeleteConfiguration deletes a single Configuration.", + "file": "Client/DeleteConfiguration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_DeleteConfiguration_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager DeleteConfiguration Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_DeleteOperation_sync", - "title": "licensemanager DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager DeleteOperation Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_GetConfiguration_sync", - "title": "licensemanager GetConfiguration Sample", - "description": "GetConfiguration gets details of a single Configuration.", - "file": "Client/GetConfiguration/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConfiguration", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.GetConfiguration", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.GetConfiguration", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "GetConfiguration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.GetConfigurationRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.GetConfigurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*licensemanagerpb.Configuration", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "GetConfiguration", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.GetConfiguration", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "GetConfiguration" }, + "description": "GetConfiguration gets details of a single Configuration.", + "file": "Client/GetConfiguration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_GetConfiguration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager GetConfiguration Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_GetInstance_sync", - "title": "licensemanager GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.GetInstance", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.GetInstance", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*licensemanagerpb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.GetInstance", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager GetInstance Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_GetLocation_sync", - "title": "licensemanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager GetLocation Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_GetOperation_sync", - "title": "licensemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager GetOperation Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_GetProduct_sync", - "title": "licensemanager GetProduct Sample", - "description": "GetProduct gets details of a single Product.", - "file": "Client/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.GetProduct", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.GetProduct", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.GetProductRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*licensemanagerpb.Product", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.GetProduct", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct gets details of a single Product.", + "file": "Client/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager GetProduct Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_ListConfigurations_sync", - "title": "licensemanager ListConfigurations Sample", - "description": "ListConfigurations lists Configurations in a given project and location.", - "file": "Client/ListConfigurations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConfigurations", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.ListConfigurations", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.ListConfigurations", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "ListConfigurations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.ListConfigurationsRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.ListConfigurationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConfigurationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "ListConfigurations", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.ListConfigurations", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "ListConfigurations" }, + "description": "ListConfigurations lists Configurations in a given project and location.", + "file": "Client/ListConfigurations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_ListConfigurations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager ListConfigurations Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_ListInstances_sync", - "title": "licensemanager ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.ListInstances", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.ListInstances", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.ListInstances", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager ListInstances Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_ListLocations_sync", - "title": "licensemanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager ListLocations Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_ListOperations_sync", - "title": "licensemanager ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager ListOperations Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_ListProducts_sync", - "title": "licensemanager ListProducts Sample", - "description": "ListProducts lists Products in a given project and location.", - "file": "Client/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.ListProducts", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.ListProducts", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.ListProducts", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts lists Products in a given project and location.", + "file": "Client/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager ListProducts Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_QueryConfigurationLicenseUsage_sync", - "title": "licensemanager QueryConfigurationLicenseUsage Sample", - "description": "QueryConfigurationLicenseUsage license Usage information for a Configuration.", - "file": "Client/QueryConfigurationLicenseUsage/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryConfigurationLicenseUsage", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.QueryConfigurationLicenseUsage", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.QueryConfigurationLicenseUsage", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "QueryConfigurationLicenseUsage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.QueryConfigurationLicenseUsageRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.QueryConfigurationLicenseUsageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*licensemanagerpb.QueryConfigurationLicenseUsageResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "QueryConfigurationLicenseUsage", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.QueryConfigurationLicenseUsage", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "QueryConfigurationLicenseUsage" }, + "description": "QueryConfigurationLicenseUsage license Usage information for a Configuration.", + "file": "Client/QueryConfigurationLicenseUsage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_QueryConfigurationLicenseUsage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager QueryConfigurationLicenseUsage Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_ReactivateConfiguration_sync", - "title": "licensemanager ReactivateConfiguration Sample", - "description": "ReactivateConfiguration reactivates the given configuration.", - "file": "Client/ReactivateConfiguration/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReactivateConfiguration", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.ReactivateConfiguration", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.ReactivateConfiguration", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "ReactivateConfiguration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.ReactivateConfigurationRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.ReactivateConfigurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReactivateConfigurationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "ReactivateConfiguration", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.ReactivateConfiguration", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "ReactivateConfiguration" }, + "description": "ReactivateConfiguration reactivates the given configuration.", + "file": "Client/ReactivateConfiguration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_ReactivateConfiguration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager ReactivateConfiguration Sample" }, { - "regionTag": "licensemanager_v1_generated_LicenseManager_UpdateConfiguration_sync", - "title": "licensemanager UpdateConfiguration Sample", - "description": "UpdateConfiguration updates the parameters of a single Configuration.", - "file": "Client/UpdateConfiguration/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConfiguration", + "client": { + "fullName": "google.cloud.licensemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.licensemanager.v1.Client.UpdateConfiguration", + "method": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager.UpdateConfiguration", + "service": { + "fullName": "google.cloud.licensemanager.v1.LicenseManager", + "shortName": "LicenseManager" + }, + "shortName": "UpdateConfiguration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "licensemanagerpb.UpdateConfigurationRequest", - "name": "req" + "name": "req", + "type": "licensemanagerpb.UpdateConfigurationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConfigurationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.licensemanager.v1.Client" - }, - "method": { - "shortName": "UpdateConfiguration", - "fullName": "google.cloud.licensemanager.v1.LicenseManager.UpdateConfiguration", - "service": { - "shortName": "LicenseManager", - "fullName": "google.cloud.licensemanager.v1.LicenseManager" - } - } + "shortName": "UpdateConfiguration" }, + "description": "UpdateConfiguration updates the parameters of a single Configuration.", + "file": "Client/UpdateConfiguration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "licensemanager_v1_generated_LicenseManager_UpdateConfiguration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "licensemanager UpdateConfiguration Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json index 04f861bdbde7..ae74afe7a215 100644 --- a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json +++ b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json @@ -1,290 +1,290 @@ { "clientLibrary": { - "name": "cloud.google.com/go/lifesciences/apiv2beta", - "version": "0.10.7", - "language": "GO", "apis": [ { "id": "google.cloud.lifesciences.v2beta", "version": "v2beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/lifesciences/apiv2beta", + "version": "0.10.7" }, "snippets": [ { - "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_CancelOperation_sync", - "title": "lifesciences CancelOperation Sample", - "description": "CancelOperation starts asynchronous cancellation on a long-running operation. The\nserver makes a best effort to cancel the operation, but success is\nnot guaranteed. Clients may use\n[Operations.GetOperation][google.longrunning.Operations.GetOperation] or\n[Operations.ListOperations][google.longrunning.Operations.ListOperations] to\ncheck whether the cancellation succeeded or the operation completed\ndespite cancellation.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.cancel`", - "file": "WorkflowsServiceV2BetaClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient", + "shortName": "WorkflowsServiceV2BetaClient" + }, "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WorkflowsServiceV2BetaClient", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation starts asynchronous cancellation on a long-running operation. The\nserver makes a best effort to cancel the operation, but success is\nnot guaranteed. Clients may use\n[Operations.GetOperation][google.longrunning.Operations.GetOperation] or\n[Operations.ListOperations][google.longrunning.Operations.ListOperations] to\ncheck whether the cancellation succeeded or the operation completed\ndespite cancellation.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.cancel`", + "file": "WorkflowsServiceV2BetaClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "lifesciences CancelOperation Sample" }, { - "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_GetLocation_sync", - "title": "lifesciences GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "WorkflowsServiceV2BetaClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient", + "shortName": "WorkflowsServiceV2BetaClient" + }, "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "WorkflowsServiceV2BetaClient", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "WorkflowsServiceV2BetaClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "lifesciences GetLocation Sample" }, { - "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_GetOperation_sync", - "title": "lifesciences GetOperation Sample", - "description": "GetOperation gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the\nAPI service.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.get`", - "file": "WorkflowsServiceV2BetaClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient", + "shortName": "WorkflowsServiceV2BetaClient" + }, "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WorkflowsServiceV2BetaClient", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the\nAPI service.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.get`", + "file": "WorkflowsServiceV2BetaClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "lifesciences GetOperation Sample" }, { - "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_ListLocations_sync", - "title": "lifesciences ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "WorkflowsServiceV2BetaClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient", + "shortName": "WorkflowsServiceV2BetaClient" + }, "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "WorkflowsServiceV2BetaClient", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "WorkflowsServiceV2BetaClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "lifesciences ListLocations Sample" }, { - "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_ListOperations_sync", - "title": "lifesciences ListOperations Sample", - "description": "ListOperations lists operations that match the specified filter in the\nrequest. Authorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.list`", - "file": "WorkflowsServiceV2BetaClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient", + "shortName": "WorkflowsServiceV2BetaClient" + }, "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WorkflowsServiceV2BetaClient", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations lists operations that match the specified filter in the\nrequest. Authorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.list`", + "file": "WorkflowsServiceV2BetaClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "lifesciences ListOperations Sample" }, { - "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_RunPipeline_sync", - "title": "lifesciences RunPipeline Sample", - "description": "RunPipeline runs a pipeline. The returned Operation's [metadata]\n[google.longrunning.Operation.metadata] field will contain a\n[google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]\nobject describing the status of the pipeline execution. The\n[response][google.longrunning.Operation.response] field will contain a\n[google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]\nobject if the pipeline completes successfully.\n\n**Note: ** Before you can use this method, the *Life Sciences Service Agent*\nmust have access to your project. This is done automatically when the\nCloud Life Sciences API is first enabled, but if you delete this permission\nyou must disable and re-enable the API to grant the Life Sciences\nService Agent the required permissions.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam/) permission: \n\n* `lifesciences.workflows.run`", - "file": "WorkflowsServiceV2BetaClient/RunPipeline/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunPipeline", + "client": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient", + "shortName": "WorkflowsServiceV2BetaClient" + }, "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.RunPipeline", + "method": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline", + "service": { + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta", + "shortName": "WorkflowsServiceV2Beta" + }, + "shortName": "RunPipeline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lifesciencespb.RunPipelineRequest", - "name": "req" + "name": "req", + "type": "lifesciencespb.RunPipelineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunPipelineOperation", - "client": { - "shortName": "WorkflowsServiceV2BetaClient", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient" - }, - "method": { - "shortName": "RunPipeline", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline", - "service": { - "shortName": "WorkflowsServiceV2Beta", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta" - } - } + "shortName": "RunPipeline" }, + "description": "RunPipeline runs a pipeline. The returned Operation's [metadata]\n[google.longrunning.Operation.metadata] field will contain a\n[google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]\nobject describing the status of the pipeline execution. The\n[response][google.longrunning.Operation.response] field will contain a\n[google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]\nobject if the pipeline completes successfully.\n\n**Note: ** Before you can use this method, the *Life Sciences Service Agent*\nmust have access to your project. This is done automatically when the\nCloud Life Sciences API is first enabled, but if you delete this permission\nyou must disable and re-enable the API to grant the Life Sciences\nService Agent the required permissions.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam/) permission: \n\n* `lifesciences.workflows.run`", + "file": "WorkflowsServiceV2BetaClient/RunPipeline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_RunPipeline_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "lifesciences RunPipeline Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/locationfinder/apiv1/snippet_metadata.google.cloud.locationfinder.v1.json b/internal/generated/snippets/locationfinder/apiv1/snippet_metadata.google.cloud.locationfinder.v1.json index bd0b613f6e47..9ea304189702 100644 --- a/internal/generated/snippets/locationfinder/apiv1/snippet_metadata.google.cloud.locationfinder.v1.json +++ b/internal/generated/snippets/locationfinder/apiv1/snippet_metadata.google.cloud.locationfinder.v1.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/locationfinder/apiv1", - "version": "0.1.1", - "language": "GO", "apis": [ { "id": "google.cloud.locationfinder.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/locationfinder/apiv1", + "version": "0.1.1" }, "snippets": [ { - "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_GetCloudLocation_sync", - "title": "cloudlocationfinder GetCloudLocation Sample", - "description": "GetCloudLocation retrieves a resource containing information about a cloud location.", - "file": "CloudLocationFinderClient/GetCloudLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCloudLocation", + "client": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient", + "shortName": "CloudLocationFinderClient" + }, "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient.GetCloudLocation", + "method": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder.GetCloudLocation", + "service": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder", + "shortName": "CloudLocationFinder" + }, + "shortName": "GetCloudLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationfinderpb.GetCloudLocationRequest", - "name": "req" + "name": "req", + "type": "locationfinderpb.GetCloudLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationfinderpb.CloudLocation", - "client": { - "shortName": "CloudLocationFinderClient", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient" - }, - "method": { - "shortName": "GetCloudLocation", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder.GetCloudLocation", - "service": { - "shortName": "CloudLocationFinder", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder" - } - } + "shortName": "GetCloudLocation" }, + "description": "GetCloudLocation retrieves a resource containing information about a cloud location.", + "file": "CloudLocationFinderClient/GetCloudLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_GetCloudLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudlocationfinder GetCloudLocation Sample" }, { - "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_GetLocation_sync", - "title": "cloudlocationfinder GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudLocationFinderClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient", + "shortName": "CloudLocationFinderClient" + }, "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudLocationFinderClient", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudLocationFinderClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudlocationfinder GetLocation Sample" }, { - "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_ListCloudLocations_sync", - "title": "cloudlocationfinder ListCloudLocations Sample", - "description": "ListCloudLocations lists cloud locations under a given project and location.", - "file": "CloudLocationFinderClient/ListCloudLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCloudLocations", + "client": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient", + "shortName": "CloudLocationFinderClient" + }, "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient.ListCloudLocations", + "method": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder.ListCloudLocations", + "service": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder", + "shortName": "CloudLocationFinder" + }, + "shortName": "ListCloudLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationfinderpb.ListCloudLocationsRequest", - "name": "req" + "name": "req", + "type": "locationfinderpb.ListCloudLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudLocationIterator", - "client": { - "shortName": "CloudLocationFinderClient", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient" - }, - "method": { - "shortName": "ListCloudLocations", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder.ListCloudLocations", - "service": { - "shortName": "CloudLocationFinder", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder" - } - } + "shortName": "ListCloudLocations" }, + "description": "ListCloudLocations lists cloud locations under a given project and location.", + "file": "CloudLocationFinderClient/ListCloudLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_ListCloudLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudlocationfinder ListCloudLocations Sample" }, { - "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_ListLocations_sync", - "title": "cloudlocationfinder ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudLocationFinderClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient", + "shortName": "CloudLocationFinderClient" + }, "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudLocationFinderClient", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudLocationFinderClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudlocationfinder ListLocations Sample" }, { - "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_SearchCloudLocations_sync", - "title": "cloudlocationfinder SearchCloudLocations Sample", - "description": "SearchCloudLocations searches for cloud locations from a given source location.", - "file": "CloudLocationFinderClient/SearchCloudLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCloudLocations", + "client": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient", + "shortName": "CloudLocationFinderClient" + }, "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient.SearchCloudLocations", + "method": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder.SearchCloudLocations", + "service": { + "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder", + "shortName": "CloudLocationFinder" + }, + "shortName": "SearchCloudLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationfinderpb.SearchCloudLocationsRequest", - "name": "req" + "name": "req", + "type": "locationfinderpb.SearchCloudLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudLocationIterator", - "client": { - "shortName": "CloudLocationFinderClient", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinderClient" - }, - "method": { - "shortName": "SearchCloudLocations", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder.SearchCloudLocations", - "service": { - "shortName": "CloudLocationFinder", - "fullName": "google.cloud.locationfinder.v1.CloudLocationFinder" - } - } + "shortName": "SearchCloudLocations" }, + "description": "SearchCloudLocations searches for cloud locations from a given source location.", + "file": "CloudLocationFinderClient/SearchCloudLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudlocationfinder_v1_generated_CloudLocationFinder_SearchCloudLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudlocationfinder SearchCloudLocations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json b/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json index 7002115ed671..252c5a2ea25d 100644 --- a/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json +++ b/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json @@ -1,2393 +1,2393 @@ { "clientLibrary": { - "name": "cloud.google.com/go/logging/apiv2", - "version": "1.13.2", - "language": "GO", "apis": [ { "id": "google.logging.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/logging/apiv2", + "version": "1.13.2" }, "snippets": [ { - "regionTag": "logging_v2_generated_ConfigServiceV2_CancelOperation_sync", - "title": "logging CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CancelOperation Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CopyLogEntries_sync", - "title": "logging CopyLogEntries Sample", - "description": "CopyLogEntries copies a set of log entries from a log bucket to a Cloud Storage bucket.", - "file": "ConfigClient/CopyLogEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "CopyLogEntries", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CopyLogEntries", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CopyLogEntries", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CopyLogEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CopyLogEntriesRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CopyLogEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CopyLogEntriesOperation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CopyLogEntries", - "fullName": "google.logging.v2.ConfigServiceV2.CopyLogEntries", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CopyLogEntries" }, + "description": "CopyLogEntries copies a set of log entries from a log bucket to a Cloud Storage bucket.", + "file": "ConfigClient/CopyLogEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CopyLogEntries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CopyLogEntries Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CreateBucket_sync", - "title": "logging CreateBucket Sample", - "description": "CreateBucket creates a log bucket that can be used to store log entries. After a bucket\nhas been created, the bucket's location cannot be changed.", - "file": "ConfigClient/CreateBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBucket", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CreateBucket", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CreateBucket", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CreateBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogBucket", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CreateBucket", - "fullName": "google.logging.v2.ConfigServiceV2.CreateBucket", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CreateBucket" }, + "description": "CreateBucket creates a log bucket that can be used to store log entries. After a bucket\nhas been created, the bucket's location cannot be changed.", + "file": "ConfigClient/CreateBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CreateBucket_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateBucket Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CreateBucketAsync_sync", - "title": "logging CreateBucketAsync Sample", - "description": "CreateBucketAsync creates a log bucket asynchronously that can be used to store log entries.\n\nAfter a bucket has been created, the bucket's location cannot be changed.", - "file": "ConfigClient/CreateBucketAsync/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBucketAsync", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CreateBucketAsync", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CreateBucketAsync", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CreateBucketAsync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBucketAsyncOperation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CreateBucketAsync", - "fullName": "google.logging.v2.ConfigServiceV2.CreateBucketAsync", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CreateBucketAsync" }, + "description": "CreateBucketAsync creates a log bucket asynchronously that can be used to store log entries.\n\nAfter a bucket has been created, the bucket's location cannot be changed.", + "file": "ConfigClient/CreateBucketAsync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CreateBucketAsync_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateBucketAsync Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CreateExclusion_sync", - "title": "logging CreateExclusion Sample", - "description": "CreateExclusion creates a new exclusion in the _Default sink in a specified parent\nresource. Only log entries belonging to that resource can be excluded. You\ncan have up to 10 exclusions in a resource.", - "file": "ConfigClient/CreateExclusion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExclusion", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CreateExclusion", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CreateExclusion", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CreateExclusion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateExclusionRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateExclusionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogExclusion", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CreateExclusion", - "fullName": "google.logging.v2.ConfigServiceV2.CreateExclusion", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CreateExclusion" }, + "description": "CreateExclusion creates a new exclusion in the _Default sink in a specified parent\nresource. Only log entries belonging to that resource can be excluded. You\ncan have up to 10 exclusions in a resource.", + "file": "ConfigClient/CreateExclusion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CreateExclusion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateExclusion Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CreateLink_sync", - "title": "logging CreateLink Sample", - "description": "CreateLink asynchronously creates a linked dataset in BigQuery which makes it possible\nto use BigQuery to read the logs stored in the log bucket. A log bucket may\ncurrently only contain one link.", - "file": "ConfigClient/CreateLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CreateLink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CreateLink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CreateLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateLinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLinkOperation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CreateLink", - "fullName": "google.logging.v2.ConfigServiceV2.CreateLink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CreateLink" }, + "description": "CreateLink asynchronously creates a linked dataset in BigQuery which makes it possible\nto use BigQuery to read the logs stored in the log bucket. A log bucket may\ncurrently only contain one link.", + "file": "ConfigClient/CreateLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CreateLink_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateLink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CreateSink_sync", - "title": "logging CreateSink Sample", - "description": "CreateSink creates a sink that exports specified log entries to a destination. The\nexport of newly-ingested log entries begins immediately, unless the sink's\n`writer_identity` is not permitted to write to the destination. A sink can\nexport log entries only from the resource owning the sink.", - "file": "ConfigClient/CreateSink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CreateSink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CreateSink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CreateSink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateSinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateSinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogSink", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CreateSink", - "fullName": "google.logging.v2.ConfigServiceV2.CreateSink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CreateSink" }, + "description": "CreateSink creates a sink that exports specified log entries to a destination. The\nexport of newly-ingested log entries begins immediately, unless the sink's\n`writer_identity` is not permitted to write to the destination. A sink can\nexport log entries only from the resource owning the sink.", + "file": "ConfigClient/CreateSink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CreateSink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateSink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_CreateView_sync", - "title": "logging CreateView Sample", - "description": "CreateView creates a view over log entries in a log bucket. A bucket may contain a\nmaximum of 30 views.", - "file": "ConfigClient/CreateView/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateView", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.CreateView", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.CreateView", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "CreateView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateViewRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogView", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "CreateView", - "fullName": "google.logging.v2.ConfigServiceV2.CreateView", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "CreateView" }, + "description": "CreateView creates a view over log entries in a log bucket. A bucket may contain a\nmaximum of 30 views.", + "file": "ConfigClient/CreateView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_CreateView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateView Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteBucket_sync", - "title": "logging DeleteBucket Sample", - "description": "DeleteBucket deletes a log bucket.\n\nChanges the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state.\nAfter 7 days, the bucket will be purged and all log entries in the bucket\nwill be permanently deleted.", - "file": "ConfigClient/DeleteBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBucket", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.DeleteBucket", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.DeleteBucket", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "DeleteBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "DeleteBucket", - "fullName": "google.logging.v2.ConfigServiceV2.DeleteBucket", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "DeleteBucket" }, + "description": "DeleteBucket deletes a log bucket.\n\nChanges the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state.\nAfter 7 days, the bucket will be purged and all log entries in the bucket\nwill be permanently deleted.", + "file": "ConfigClient/DeleteBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteBucket_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteBucket Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteExclusion_sync", - "title": "logging DeleteExclusion Sample", - "description": "DeleteExclusion deletes an exclusion in the _Default sink.", - "file": "ConfigClient/DeleteExclusion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExclusion", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.DeleteExclusion", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.DeleteExclusion", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "DeleteExclusion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteExclusionRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteExclusionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "DeleteExclusion", - "fullName": "google.logging.v2.ConfigServiceV2.DeleteExclusion", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "DeleteExclusion" }, + "description": "DeleteExclusion deletes an exclusion in the _Default sink.", + "file": "ConfigClient/DeleteExclusion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteExclusion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteExclusion Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteLink_sync", - "title": "logging DeleteLink Sample", - "description": "DeleteLink deletes a link. This will also delete the corresponding BigQuery linked\ndataset.", - "file": "ConfigClient/DeleteLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.DeleteLink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.DeleteLink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "DeleteLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteLinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLinkOperation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "DeleteLink", - "fullName": "google.logging.v2.ConfigServiceV2.DeleteLink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "DeleteLink" }, + "description": "DeleteLink deletes a link. This will also delete the corresponding BigQuery linked\ndataset.", + "file": "ConfigClient/DeleteLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteLink_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteLink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteSink_sync", - "title": "logging DeleteSink Sample", - "description": "DeleteSink deletes a sink. If the sink has a unique `writer_identity`, then that\nservice account is also deleted.", - "file": "ConfigClient/DeleteSink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.DeleteSink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.DeleteSink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "DeleteSink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteSinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteSinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "DeleteSink", - "fullName": "google.logging.v2.ConfigServiceV2.DeleteSink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "DeleteSink" }, + "description": "DeleteSink deletes a sink. If the sink has a unique `writer_identity`, then that\nservice account is also deleted.", + "file": "ConfigClient/DeleteSink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteSink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteSink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteView_sync", - "title": "logging DeleteView Sample", - "description": "DeleteView deletes a view on a log bucket.\nIf an `UNAVAILABLE` error is returned, this indicates that system is not in\na state where it can delete the view. If this occurs, please try again in a\nfew minutes.", - "file": "ConfigClient/DeleteView/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteView", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.DeleteView", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.DeleteView", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "DeleteView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteViewRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "DeleteView", - "fullName": "google.logging.v2.ConfigServiceV2.DeleteView", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "DeleteView" }, + "description": "DeleteView deletes a view on a log bucket.\nIf an `UNAVAILABLE` error is returned, this indicates that system is not in\na state where it can delete the view. If this occurs, please try again in a\nfew minutes.", + "file": "ConfigClient/DeleteView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_DeleteView_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteView Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetBucket_sync", - "title": "logging GetBucket Sample", - "description": "GetBucket gets a log bucket.", - "file": "ConfigClient/GetBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBucket", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetBucket", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetBucket", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogBucket", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetBucket", - "fullName": "google.logging.v2.ConfigServiceV2.GetBucket", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetBucket" }, + "description": "GetBucket gets a log bucket.", + "file": "ConfigClient/GetBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetBucket_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetBucket Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetCmekSettings_sync", - "title": "logging GetCmekSettings Sample", - "description": "GetCmekSettings gets the Logging CMEK settings for the given resource.\n\nNote: CMEK for the Log Router can be configured for Google Cloud projects,\nfolders, organizations and billing accounts. Once configured for an\norganization, it applies to all projects and folders in the Google Cloud\norganization.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", - "file": "ConfigClient/GetCmekSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCmekSettings", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetCmekSettings", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetCmekSettings", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetCmekSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetCmekSettingsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetCmekSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.CmekSettings", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetCmekSettings", - "fullName": "google.logging.v2.ConfigServiceV2.GetCmekSettings", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetCmekSettings" }, + "description": "GetCmekSettings gets the Logging CMEK settings for the given resource.\n\nNote: CMEK for the Log Router can be configured for Google Cloud projects,\nfolders, organizations and billing accounts. Once configured for an\norganization, it applies to all projects and folders in the Google Cloud\norganization.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", + "file": "ConfigClient/GetCmekSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetCmekSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetCmekSettings Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetExclusion_sync", - "title": "logging GetExclusion Sample", - "description": "GetExclusion gets the description of an exclusion in the _Default sink.", - "file": "ConfigClient/GetExclusion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExclusion", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetExclusion", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetExclusion", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetExclusion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetExclusionRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetExclusionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogExclusion", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetExclusion", - "fullName": "google.logging.v2.ConfigServiceV2.GetExclusion", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetExclusion" }, + "description": "GetExclusion gets the description of an exclusion in the _Default sink.", + "file": "ConfigClient/GetExclusion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetExclusion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetExclusion Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetLink_sync", - "title": "logging GetLink Sample", - "description": "GetLink gets a link.", - "file": "ConfigClient/GetLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetLink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetLink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetLinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.Link", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetLink", - "fullName": "google.logging.v2.ConfigServiceV2.GetLink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetLink" }, + "description": "GetLink gets a link.", + "file": "ConfigClient/GetLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetLink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetLink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetOperation_sync", - "title": "logging GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetOperation Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetSettings_sync", - "title": "logging GetSettings Sample", - "description": "GetSettings gets the Log Router settings for the given resource.\n\nNote: Settings for the Log Router can be get for Google Cloud projects,\nfolders, organizations and billing accounts. Currently it can only be\nconfigured for organizations. Once configured for an organization, it\napplies to all projects and folders in the Google Cloud organization.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", - "file": "ConfigClient/GetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSettings", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetSettings", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetSettings", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetSettingsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.Settings", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetSettings", - "fullName": "google.logging.v2.ConfigServiceV2.GetSettings", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetSettings" }, + "description": "GetSettings gets the Log Router settings for the given resource.\n\nNote: Settings for the Log Router can be get for Google Cloud projects,\nfolders, organizations and billing accounts. Currently it can only be\nconfigured for organizations. Once configured for an organization, it\napplies to all projects and folders in the Google Cloud organization.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", + "file": "ConfigClient/GetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetSettings Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetSink_sync", - "title": "logging GetSink Sample", - "description": "GetSink gets a sink.", - "file": "ConfigClient/GetSink/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetSink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetSink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetSink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetSinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetSinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogSink", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetSink", - "fullName": "google.logging.v2.ConfigServiceV2.GetSink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetSink" }, + "description": "GetSink gets a sink.", + "file": "ConfigClient/GetSink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetSink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetSink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_GetView_sync", - "title": "logging GetView Sample", - "description": "GetView gets a view on a log bucket..", - "file": "ConfigClient/GetView/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetView", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.GetView", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.GetView", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "GetView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetViewRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogView", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "GetView", - "fullName": "google.logging.v2.ConfigServiceV2.GetView", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "GetView" }, + "description": "GetView gets a view on a log bucket..", + "file": "ConfigClient/GetView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_GetView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetView Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_ListBuckets_sync", - "title": "logging ListBuckets Sample", - "description": "ListBuckets lists log buckets.", - "file": "ConfigClient/ListBuckets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBuckets", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.ListBuckets", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.ListBuckets", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "ListBuckets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListBucketsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListBucketsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LogBucketIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "ListBuckets", - "fullName": "google.logging.v2.ConfigServiceV2.ListBuckets", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "ListBuckets" }, + "description": "ListBuckets lists log buckets.", + "file": "ConfigClient/ListBuckets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_ListBuckets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListBuckets Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_ListExclusions_sync", - "title": "logging ListExclusions Sample", - "description": "ListExclusions lists all the exclusions on the _Default sink in a parent resource.", - "file": "ConfigClient/ListExclusions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExclusions", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.ListExclusions", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.ListExclusions", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "ListExclusions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListExclusionsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListExclusionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LogExclusionIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "ListExclusions", - "fullName": "google.logging.v2.ConfigServiceV2.ListExclusions", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "ListExclusions" }, + "description": "ListExclusions lists all the exclusions on the _Default sink in a parent resource.", + "file": "ConfigClient/ListExclusions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_ListExclusions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListExclusions Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_ListLinks_sync", - "title": "logging ListLinks Sample", - "description": "ListLinks lists links.", - "file": "ConfigClient/ListLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLinks", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.ListLinks", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.ListLinks", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "ListLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListLinksRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LinkIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "ListLinks", - "fullName": "google.logging.v2.ConfigServiceV2.ListLinks", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "ListLinks" }, + "description": "ListLinks lists links.", + "file": "ConfigClient/ListLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_ListLinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListLinks Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_ListOperations_sync", - "title": "logging ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListOperations Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_ListSinks_sync", - "title": "logging ListSinks Sample", - "description": "ListSinks lists sinks.", - "file": "ConfigClient/ListSinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSinks", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.ListSinks", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.ListSinks", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "ListSinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListSinksRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListSinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LogSinkIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "ListSinks", - "fullName": "google.logging.v2.ConfigServiceV2.ListSinks", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "ListSinks" }, + "description": "ListSinks lists sinks.", + "file": "ConfigClient/ListSinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_ListSinks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListSinks Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_ListViews_sync", - "title": "logging ListViews Sample", - "description": "ListViews lists views on a log bucket.", - "file": "ConfigClient/ListViews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListViews", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.ListViews", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.ListViews", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "ListViews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListViewsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListViewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LogViewIterator", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "ListViews", - "fullName": "google.logging.v2.ConfigServiceV2.ListViews", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "ListViews" }, + "description": "ListViews lists views on a log bucket.", + "file": "ConfigClient/ListViews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_ListViews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListViews Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UndeleteBucket_sync", - "title": "logging UndeleteBucket Sample", - "description": "UndeleteBucket undeletes a log bucket. A bucket that has been deleted can be undeleted\nwithin the grace period of 7 days.", - "file": "ConfigClient/UndeleteBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteBucket", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UndeleteBucket", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UndeleteBucket", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UndeleteBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UndeleteBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UndeleteBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UndeleteBucket", - "fullName": "google.logging.v2.ConfigServiceV2.UndeleteBucket", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UndeleteBucket" }, + "description": "UndeleteBucket undeletes a log bucket. A bucket that has been deleted can be undeleted\nwithin the grace period of 7 days.", + "file": "ConfigClient/UndeleteBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UndeleteBucket_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UndeleteBucket Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateBucket_sync", - "title": "logging UpdateBucket Sample", - "description": "UpdateBucket updates a log bucket.\n\nIf the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then\n`FAILED_PRECONDITION` will be returned.\n\nAfter a bucket has been created, the bucket's location cannot be changed.", - "file": "ConfigClient/UpdateBucket/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBucket", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateBucket", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateBucket", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateBucket" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogBucket", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateBucket", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateBucket", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UpdateBucket" }, + "description": "UpdateBucket updates a log bucket.\n\nIf the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then\n`FAILED_PRECONDITION` will be returned.\n\nAfter a bucket has been created, the bucket's location cannot be changed.", + "file": "ConfigClient/UpdateBucket/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateBucket_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateBucket Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateBucketAsync_sync", - "title": "logging UpdateBucketAsync Sample", - "description": "UpdateBucketAsync updates a log bucket asynchronously.\n\nIf the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then\n`FAILED_PRECONDITION` will be returned.\n\nAfter a bucket has been created, the bucket's location cannot be changed.", - "file": "ConfigClient/UpdateBucketAsync/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBucketAsync", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateBucketAsync", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateBucketAsync", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateBucketAsync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateBucketRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateBucketRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBucketAsyncOperation", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateBucketAsync", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateBucketAsync", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UpdateBucketAsync" }, + "description": "UpdateBucketAsync updates a log bucket asynchronously.\n\nIf the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then\n`FAILED_PRECONDITION` will be returned.\n\nAfter a bucket has been created, the bucket's location cannot be changed.", + "file": "ConfigClient/UpdateBucketAsync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateBucketAsync_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateBucketAsync Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateCmekSettings_sync", - "title": "logging UpdateCmekSettings Sample", - "description": "UpdateCmekSettings updates the Log Router CMEK settings for the given resource.\n\nNote: CMEK for the Log Router can currently only be configured for Google\nCloud organizations. Once configured, it applies to all projects and\nfolders in the Google Cloud organization.\n\n[UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings]\nwill fail if 1) `kms_key_name` is invalid, or 2) the associated service\naccount does not have the required\n`roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or\n3) access to the key is disabled.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", - "file": "ConfigClient/UpdateCmekSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCmekSettings", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateCmekSettings", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateCmekSettings", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateCmekSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateCmekSettingsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateCmekSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "*loggingpb.CmekSettings", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateCmekSettings", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateCmekSettings", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + ], + "resultType": "*loggingpb.CmekSettings", + "shortName": "UpdateCmekSettings" }, + "description": "UpdateCmekSettings updates the Log Router CMEK settings for the given resource.\n\nNote: CMEK for the Log Router can currently only be configured for Google\nCloud organizations. Once configured, it applies to all projects and\nfolders in the Google Cloud organization.\n\n[UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings]\nwill fail if 1) `kms_key_name` is invalid, or 2) the associated service\naccount does not have the required\n`roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or\n3) access to the key is disabled.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", + "file": "ConfigClient/UpdateCmekSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateCmekSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateCmekSettings Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateExclusion_sync", - "title": "logging UpdateExclusion Sample", - "description": "UpdateExclusion changes one or more properties of an existing exclusion in the _Default\nsink.", - "file": "ConfigClient/UpdateExclusion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExclusion", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateExclusion", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateExclusion", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateExclusion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateExclusionRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateExclusionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogExclusion", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateExclusion", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateExclusion", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UpdateExclusion" }, + "description": "UpdateExclusion changes one or more properties of an existing exclusion in the _Default\nsink.", + "file": "ConfigClient/UpdateExclusion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateExclusion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateExclusion Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateSettings_sync", - "title": "logging UpdateSettings Sample", - "description": "UpdateSettings updates the Log Router settings for the given resource.\n\nNote: Settings for the Log Router can currently only be configured for\nGoogle Cloud organizations. Once configured, it applies to all projects and\nfolders in the Google Cloud organization.\n\n[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings]\nwill fail if 1) `kms_key_name` is invalid, or 2) the associated service\naccount does not have the required\n`roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or\n3) access to the key is disabled. 4) `location_id` is not supported by\nLogging. 5) `location_id` violate OrgPolicy.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", - "file": "ConfigClient/UpdateSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSettings", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateSettings", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateSettings", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateSettingsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.Settings", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateSettings", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateSettings", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UpdateSettings" }, + "description": "UpdateSettings updates the Log Router settings for the given resource.\n\nNote: Settings for the Log Router can currently only be configured for\nGoogle Cloud organizations. Once configured, it applies to all projects and\nfolders in the Google Cloud organization.\n\n[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings]\nwill fail if 1) `kms_key_name` is invalid, or 2) the associated service\naccount does not have the required\n`roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or\n3) access to the key is disabled. 4) `location_id` is not supported by\nLogging. 5) `location_id` violate OrgPolicy.\n\nSee [Enabling CMEK for Log\nRouter](https: //cloud.google.com/logging/docs/routing/managed-encryption)\nfor more information.", + "file": "ConfigClient/UpdateSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateSettings Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateSink_sync", - "title": "logging UpdateSink Sample", - "description": "UpdateSink updates a sink. This method replaces the following fields in the existing\nsink with values from the new sink: `destination`, and `filter`.\n\nThe updated sink might also have a new `writer_identity`; see the\n`unique_writer_identity` field.", - "file": "ConfigClient/UpdateSink/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSink", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateSink", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateSink", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateSink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateSinkRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateSinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogSink", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateSink", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateSink", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UpdateSink" }, + "description": "UpdateSink updates a sink. This method replaces the following fields in the existing\nsink with values from the new sink: `destination`, and `filter`.\n\nThe updated sink might also have a new `writer_identity`; see the\n`unique_writer_identity` field.", + "file": "ConfigClient/UpdateSink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateSink_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateSink Sample" }, { - "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateView_sync", - "title": "logging UpdateView Sample", - "description": "UpdateView updates a view on a log bucket. This method replaces the following fields\nin the existing view with values from the new view: `filter`.\nIf an `UNAVAILABLE` error is returned, this indicates that system is not in\na state where it can update the view. If this occurs, please try again in a\nfew minutes.", - "file": "ConfigClient/UpdateView/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateView", + "client": { + "fullName": "google.logging.v2.ConfigClient", + "shortName": "ConfigClient" + }, "fullName": "google.logging.v2.ConfigClient.UpdateView", + "method": { + "fullName": "google.logging.v2.ConfigServiceV2.UpdateView", + "service": { + "fullName": "google.logging.v2.ConfigServiceV2", + "shortName": "ConfigServiceV2" + }, + "shortName": "UpdateView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateViewRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogView", - "client": { - "shortName": "ConfigClient", - "fullName": "google.logging.v2.ConfigClient" - }, - "method": { - "shortName": "UpdateView", - "fullName": "google.logging.v2.ConfigServiceV2.UpdateView", - "service": { - "shortName": "ConfigServiceV2", - "fullName": "google.logging.v2.ConfigServiceV2" - } - } + "shortName": "UpdateView" }, + "description": "UpdateView updates a view on a log bucket. This method replaces the following fields\nin the existing view with values from the new view: `filter`.\nIf an `UNAVAILABLE` error is returned, this indicates that system is not in\na state where it can update the view. If this occurs, please try again in a\nfew minutes.", + "file": "ConfigClient/UpdateView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_ConfigServiceV2_UpdateView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateView Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_CancelOperation_sync", - "title": "logging CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CancelOperation Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_DeleteLog_sync", - "title": "logging DeleteLog Sample", - "description": "DeleteLog deletes all the log entries in a log for the _Default Log Bucket. The log\nreappears if it receives new entries. Log entries written shortly before\nthe delete operation might not be deleted. Entries received after the\ndelete operation with a timestamp before the operation will be deleted.", - "file": "Client/DeleteLog/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLog", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.DeleteLog", + "method": { + "fullName": "google.logging.v2.LoggingServiceV2.DeleteLog", + "service": { + "fullName": "google.logging.v2.LoggingServiceV2", + "shortName": "LoggingServiceV2" + }, + "shortName": "DeleteLog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteLogRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteLogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "DeleteLog", - "fullName": "google.logging.v2.LoggingServiceV2.DeleteLog", - "service": { - "shortName": "LoggingServiceV2", - "fullName": "google.logging.v2.LoggingServiceV2" - } - } + "shortName": "DeleteLog" }, + "description": "DeleteLog deletes all the log entries in a log for the _Default Log Bucket. The log\nreappears if it receives new entries. Log entries written shortly before\nthe delete operation might not be deleted. Entries received after the\ndelete operation with a timestamp before the operation will be deleted.", + "file": "Client/DeleteLog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_DeleteLog_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteLog Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_GetOperation_sync", - "title": "logging GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetOperation Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_ListLogEntries_sync", - "title": "logging ListLogEntries Sample", - "description": "ListLogEntries lists log entries. Use this method to retrieve log entries that originated\nfrom a project/folder/organization/billing account. For ways to export log\nentries, see [Exporting\nLogs](https: //cloud.google.com/logging/docs/export).", - "file": "Client/ListLogEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLogEntries", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.ListLogEntries", + "method": { + "fullName": "google.logging.v2.LoggingServiceV2.ListLogEntries", + "service": { + "fullName": "google.logging.v2.LoggingServiceV2", + "shortName": "LoggingServiceV2" + }, + "shortName": "ListLogEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListLogEntriesRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListLogEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LogEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "ListLogEntries", - "fullName": "google.logging.v2.LoggingServiceV2.ListLogEntries", - "service": { - "shortName": "LoggingServiceV2", - "fullName": "google.logging.v2.LoggingServiceV2" - } - } + "shortName": "ListLogEntries" }, + "description": "ListLogEntries lists log entries. Use this method to retrieve log entries that originated\nfrom a project/folder/organization/billing account. For ways to export log\nentries, see [Exporting\nLogs](https: //cloud.google.com/logging/docs/export).", + "file": "Client/ListLogEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_ListLogEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListLogEntries Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_ListLogs_sync", - "title": "logging ListLogs Sample", - "description": "ListLogs lists the logs in projects, organizations, folders, or billing accounts.\nOnly logs that have entries are listed.", - "file": "Client/ListLogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLogs", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.ListLogs", + "method": { + "fullName": "google.logging.v2.LoggingServiceV2.ListLogs", + "service": { + "fullName": "google.logging.v2.LoggingServiceV2", + "shortName": "LoggingServiceV2" + }, + "shortName": "ListLogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListLogsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListLogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "ListLogs", - "fullName": "google.logging.v2.LoggingServiceV2.ListLogs", - "service": { - "shortName": "LoggingServiceV2", - "fullName": "google.logging.v2.LoggingServiceV2" - } - } + "shortName": "ListLogs" }, + "description": "ListLogs lists the logs in projects, organizations, folders, or billing accounts.\nOnly logs that have entries are listed.", + "file": "Client/ListLogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_ListLogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListLogs Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_ListMonitoredResourceDescriptors_sync", - "title": "logging ListMonitoredResourceDescriptors Sample", - "description": "ListMonitoredResourceDescriptors lists the descriptors for monitored resource types used by Logging.", - "file": "Client/ListMonitoredResourceDescriptors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMonitoredResourceDescriptors", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.ListMonitoredResourceDescriptors", + "method": { + "fullName": "google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors", + "service": { + "fullName": "google.logging.v2.LoggingServiceV2", + "shortName": "LoggingServiceV2" + }, + "shortName": "ListMonitoredResourceDescriptors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListMonitoredResourceDescriptorsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListMonitoredResourceDescriptorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MonitoredResourceDescriptorIterator", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "ListMonitoredResourceDescriptors", - "fullName": "google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors", - "service": { - "shortName": "LoggingServiceV2", - "fullName": "google.logging.v2.LoggingServiceV2" - } - } + "shortName": "ListMonitoredResourceDescriptors" }, + "description": "ListMonitoredResourceDescriptors lists the descriptors for monitored resource types used by Logging.", + "file": "Client/ListMonitoredResourceDescriptors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_ListMonitoredResourceDescriptors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListMonitoredResourceDescriptors Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_ListOperations_sync", - "title": "logging ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListOperations Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_TailLogEntries_sync", - "title": "logging TailLogEntries Sample", - "description": "TailLogEntries streaming read of log entries as they are ingested. Until the stream is\nterminated, it will continue reading logs.\n\n\nThis method is not supported for the REST transport.", - "file": "Client/TailLogEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "TailLogEntries", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.TailLogEntries", + "method": { + "fullName": "google.logging.v2.LoggingServiceV2.TailLogEntries", + "service": { + "fullName": "google.logging.v2.LoggingServiceV2", + "shortName": "LoggingServiceV2" + }, + "shortName": "TailLogEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "loggingpb.LoggingServiceV2_TailLogEntriesClient", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "TailLogEntries", - "fullName": "google.logging.v2.LoggingServiceV2.TailLogEntries", - "service": { - "shortName": "LoggingServiceV2", - "fullName": "google.logging.v2.LoggingServiceV2" - } - } + "shortName": "TailLogEntries" }, + "description": "TailLogEntries streaming read of log entries as they are ingested. Until the stream is\nterminated, it will continue reading logs.\n\n\nThis method is not supported for the REST transport.", + "file": "Client/TailLogEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_TailLogEntries_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging TailLogEntries Sample" }, { - "regionTag": "logging_v2_generated_LoggingServiceV2_WriteLogEntries_sync", - "title": "logging WriteLogEntries Sample", - "description": "WriteLogEntries writes log entries to Logging. This API method is the\nonly way to send log entries to Logging. This method\nis used, directly or indirectly, by the Logging agent\n(fluentd) and all logging libraries configured to use Logging.\nA single request may contain log entries for a maximum of 1000\ndifferent resources (projects, organizations, billing accounts or\nfolders)", - "file": "Client/WriteLogEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteLogEntries", + "client": { + "fullName": "google.logging.v2.Client", + "shortName": "Client" + }, "fullName": "google.logging.v2.Client.WriteLogEntries", + "method": { + "fullName": "google.logging.v2.LoggingServiceV2.WriteLogEntries", + "service": { + "fullName": "google.logging.v2.LoggingServiceV2", + "shortName": "LoggingServiceV2" + }, + "shortName": "WriteLogEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.WriteLogEntriesRequest", - "name": "req" + "name": "req", + "type": "loggingpb.WriteLogEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.WriteLogEntriesResponse", - "client": { - "shortName": "Client", - "fullName": "google.logging.v2.Client" - }, - "method": { - "shortName": "WriteLogEntries", - "fullName": "google.logging.v2.LoggingServiceV2.WriteLogEntries", - "service": { - "shortName": "LoggingServiceV2", - "fullName": "google.logging.v2.LoggingServiceV2" - } - } + "shortName": "WriteLogEntries" }, + "description": "WriteLogEntries writes log entries to Logging. This API method is the\nonly way to send log entries to Logging. This method\nis used, directly or indirectly, by the Logging agent\n(fluentd) and all logging libraries configured to use Logging.\nA single request may contain log entries for a maximum of 1000\ndifferent resources (projects, organizations, billing accounts or\nfolders)", + "file": "Client/WriteLogEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_LoggingServiceV2_WriteLogEntries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging WriteLogEntries Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_CancelOperation_sync", - "title": "logging CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "MetricsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "MetricsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CancelOperation Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_CreateLogMetric_sync", - "title": "logging CreateLogMetric Sample", - "description": "CreateLogMetric creates a logs-based metric.", - "file": "MetricsClient/CreateLogMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLogMetric", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.CreateLogMetric", + "method": { + "fullName": "google.logging.v2.MetricsServiceV2.CreateLogMetric", + "service": { + "fullName": "google.logging.v2.MetricsServiceV2", + "shortName": "MetricsServiceV2" + }, + "shortName": "CreateLogMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.CreateLogMetricRequest", - "name": "req" + "name": "req", + "type": "loggingpb.CreateLogMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogMetric", - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "CreateLogMetric", - "fullName": "google.logging.v2.MetricsServiceV2.CreateLogMetric", - "service": { - "shortName": "MetricsServiceV2", - "fullName": "google.logging.v2.MetricsServiceV2" - } - } + "shortName": "CreateLogMetric" }, + "description": "CreateLogMetric creates a logs-based metric.", + "file": "MetricsClient/CreateLogMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_CreateLogMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging CreateLogMetric Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_DeleteLogMetric_sync", - "title": "logging DeleteLogMetric Sample", - "description": "DeleteLogMetric deletes a logs-based metric.", - "file": "MetricsClient/DeleteLogMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLogMetric", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.DeleteLogMetric", + "method": { + "fullName": "google.logging.v2.MetricsServiceV2.DeleteLogMetric", + "service": { + "fullName": "google.logging.v2.MetricsServiceV2", + "shortName": "MetricsServiceV2" + }, + "shortName": "DeleteLogMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.DeleteLogMetricRequest", - "name": "req" + "name": "req", + "type": "loggingpb.DeleteLogMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "DeleteLogMetric", - "fullName": "google.logging.v2.MetricsServiceV2.DeleteLogMetric", - "service": { - "shortName": "MetricsServiceV2", - "fullName": "google.logging.v2.MetricsServiceV2" - } - } + "shortName": "DeleteLogMetric" }, + "description": "DeleteLogMetric deletes a logs-based metric.", + "file": "MetricsClient/DeleteLogMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_DeleteLogMetric_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging DeleteLogMetric Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_GetLogMetric_sync", - "title": "logging GetLogMetric Sample", - "description": "GetLogMetric gets a logs-based metric.", - "file": "MetricsClient/GetLogMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLogMetric", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.GetLogMetric", + "method": { + "fullName": "google.logging.v2.MetricsServiceV2.GetLogMetric", + "service": { + "fullName": "google.logging.v2.MetricsServiceV2", + "shortName": "MetricsServiceV2" + }, + "shortName": "GetLogMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.GetLogMetricRequest", - "name": "req" + "name": "req", + "type": "loggingpb.GetLogMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogMetric", - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "GetLogMetric", - "fullName": "google.logging.v2.MetricsServiceV2.GetLogMetric", - "service": { - "shortName": "MetricsServiceV2", - "fullName": "google.logging.v2.MetricsServiceV2" - } - } + "shortName": "GetLogMetric" }, + "description": "GetLogMetric gets a logs-based metric.", + "file": "MetricsClient/GetLogMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_GetLogMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetLogMetric Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_GetOperation_sync", - "title": "logging GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MetricsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MetricsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging GetOperation Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_ListLogMetrics_sync", - "title": "logging ListLogMetrics Sample", - "description": "ListLogMetrics lists logs-based metrics.", - "file": "MetricsClient/ListLogMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLogMetrics", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.ListLogMetrics", + "method": { + "fullName": "google.logging.v2.MetricsServiceV2.ListLogMetrics", + "service": { + "fullName": "google.logging.v2.MetricsServiceV2", + "shortName": "MetricsServiceV2" + }, + "shortName": "ListLogMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.ListLogMetricsRequest", - "name": "req" + "name": "req", + "type": "loggingpb.ListLogMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LogMetricIterator", - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "ListLogMetrics", - "fullName": "google.logging.v2.MetricsServiceV2.ListLogMetrics", - "service": { - "shortName": "MetricsServiceV2", - "fullName": "google.logging.v2.MetricsServiceV2" - } - } + "shortName": "ListLogMetrics" }, + "description": "ListLogMetrics lists logs-based metrics.", + "file": "MetricsClient/ListLogMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_ListLogMetrics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListLogMetrics Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_ListOperations_sync", - "title": "logging ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MetricsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MetricsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging ListOperations Sample" }, { - "regionTag": "logging_v2_generated_MetricsServiceV2_UpdateLogMetric_sync", - "title": "logging UpdateLogMetric Sample", - "description": "UpdateLogMetric creates or updates a logs-based metric.", - "file": "MetricsClient/UpdateLogMetric/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLogMetric", + "client": { + "fullName": "google.logging.v2.MetricsClient", + "shortName": "MetricsClient" + }, "fullName": "google.logging.v2.MetricsClient.UpdateLogMetric", + "method": { + "fullName": "google.logging.v2.MetricsServiceV2.UpdateLogMetric", + "service": { + "fullName": "google.logging.v2.MetricsServiceV2", + "shortName": "MetricsServiceV2" + }, + "shortName": "UpdateLogMetric" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "loggingpb.UpdateLogMetricRequest", - "name": "req" + "name": "req", + "type": "loggingpb.UpdateLogMetricRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*loggingpb.LogMetric", - "client": { - "shortName": "MetricsClient", - "fullName": "google.logging.v2.MetricsClient" - }, - "method": { - "shortName": "UpdateLogMetric", - "fullName": "google.logging.v2.MetricsServiceV2.UpdateLogMetric", - "service": { - "shortName": "MetricsServiceV2", - "fullName": "google.logging.v2.MetricsServiceV2" - } - } + "shortName": "UpdateLogMetric" }, + "description": "UpdateLogMetric creates or updates a logs-based metric.", + "file": "MetricsClient/UpdateLogMetric/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "logging_v2_generated_MetricsServiceV2_UpdateLogMetric_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "logging UpdateLogMetric Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json index b45fd0c5f86e..f03c21fcb0c5 100644 --- a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json +++ b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json @@ -1,243 +1,243 @@ { "clientLibrary": { - "name": "cloud.google.com/go/longrunning/autogen", - "version": "0.8.0", - "language": "GO", "apis": [ { "id": "google.longrunning", "version": "longrunning" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/longrunning/autogen", + "version": "0.8.0" }, "snippets": [ { - "regionTag": "longrunning_longrunning_generated_Operations_CancelOperation_sync", - "title": "longrunning CancelOperation Sample", - "description": "CancelOperation starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\n[Operations.GetOperation][google.longrunning.Operations.GetOperation] or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan [Operation.error][google.longrunning.Operation.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to\n`Code.CANCELLED`.", - "file": "OperationsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.longrunning.OperationsClient", + "shortName": "OperationsClient" + }, "fullName": "google.longrunning.OperationsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "OperationsClient", - "fullName": "google.longrunning.OperationsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation starts asynchronous cancellation on a long-running operation. The server\nmakes a best effort to cancel the operation, but success is not\nguaranteed. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\n[Operations.GetOperation][google.longrunning.Operations.GetOperation] or\nother methods to check whether the cancellation succeeded or whether the\noperation completed despite cancellation. On successful cancellation,\nthe operation is not deleted; instead, it becomes an operation with\nan [Operation.error][google.longrunning.Operation.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to\n`Code.CANCELLED`.", + "file": "OperationsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "longrunning_longrunning_generated_Operations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "longrunning CancelOperation Sample" }, { - "regionTag": "longrunning_longrunning_generated_Operations_DeleteOperation_sync", - "title": "longrunning DeleteOperation Sample", - "description": "DeleteOperation deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", - "file": "OperationsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.longrunning.OperationsClient", + "shortName": "OperationsClient" + }, "fullName": "google.longrunning.OperationsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "OperationsClient", - "fullName": "google.longrunning.OperationsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation deletes a long-running operation. This method indicates that the client is\nno longer interested in the operation result. It does not cancel the\noperation. If the server doesn't support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", + "file": "OperationsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "longrunning_longrunning_generated_Operations_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "longrunning DeleteOperation Sample" }, { - "regionTag": "longrunning_longrunning_generated_Operations_GetOperation_sync", - "title": "longrunning GetOperation Sample", - "description": "GetOperation gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", - "file": "OperationsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.longrunning.OperationsClient", + "shortName": "OperationsClient" + }, "fullName": "google.longrunning.OperationsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "OperationsClient", - "fullName": "google.longrunning.OperationsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", + "file": "OperationsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "longrunning_longrunning_generated_Operations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "longrunning GetOperation Sample" }, { - "regionTag": "longrunning_longrunning_generated_Operations_ListOperations_sync", - "title": "longrunning ListOperations Sample", - "description": "ListOperations lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.", - "file": "OperationsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.longrunning.OperationsClient", + "shortName": "OperationsClient" + }, "fullName": "google.longrunning.OperationsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "OperationsClient", - "fullName": "google.longrunning.OperationsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations lists operations that match the specified filter in the request. If the\nserver doesn't support this method, it returns `UNIMPLEMENTED`.", + "file": "OperationsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "longrunning_longrunning_generated_Operations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "longrunning ListOperations Sample" }, { - "regionTag": "longrunning_longrunning_generated_Operations_WaitOperation_sync", - "title": "longrunning WaitOperation Sample", - "description": "WaitOperation waits until the specified long-running operation is done or reaches at most\na specified timeout, returning the latest state. If the operation is\nalready done, the latest state is immediately returned. If the timeout\nspecified is greater than the default HTTP/RPC timeout, the HTTP/RPC\ntimeout is used. If the server does not support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.\nNote that this method is on a best-effort basis. It may return the latest\nstate before the specified timeout (including immediately), meaning even an\nimmediate response is no guarantee that the operation is done.", - "file": "OperationsClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.longrunning.OperationsClient", + "shortName": "OperationsClient" + }, "fullName": "google.longrunning.OperationsClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "OperationsClient", - "fullName": "google.longrunning.OperationsClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation waits until the specified long-running operation is done or reaches at most\na specified timeout, returning the latest state. If the operation is\nalready done, the latest state is immediately returned. If the timeout\nspecified is greater than the default HTTP/RPC timeout, the HTTP/RPC\ntimeout is used. If the server does not support this method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.\nNote that this method is on a best-effort basis. It may return the latest\nstate before the specified timeout (including immediately), meaning even an\nimmediate response is no guarantee that the operation is done.", + "file": "OperationsClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "longrunning_longrunning_generated_Operations_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "longrunning WaitOperation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/lustre/apiv1/snippet_metadata.google.cloud.lustre.v1.json b/internal/generated/snippets/lustre/apiv1/snippet_metadata.google.cloud.lustre.v1.json index 685869fd48fd..2836acc0254a 100644 --- a/internal/generated/snippets/lustre/apiv1/snippet_metadata.google.cloud.lustre.v1.json +++ b/internal/generated/snippets/lustre/apiv1/snippet_metadata.google.cloud.lustre.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/lustre/apiv1", - "version": "0.2.1", - "language": "GO", "apis": [ { "id": "google.cloud.lustre.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/lustre/apiv1", + "version": "0.2.1" }, "snippets": [ { - "regionTag": "lustre_v1_generated_Lustre_CancelOperation_sync", - "title": "lustre CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre CancelOperation Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_CreateInstance_sync", - "title": "lustre CreateInstance Sample", - "description": "CreateInstance creates a new instance in a given project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.CreateInstance", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.CreateInstance", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "lustrepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.lustre.v1.Lustre.CreateInstance", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new instance in a given project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre CreateInstance Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_DeleteInstance_sync", - "title": "lustre DeleteInstance Sample", - "description": "DeleteInstance deletes a single instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.DeleteInstance", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "lustrepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.lustre.v1.Lustre.DeleteInstance", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre DeleteInstance Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_DeleteOperation_sync", - "title": "lustre DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre DeleteOperation Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_ExportData_sync", - "title": "lustre ExportData Sample", - "description": "ExportData exports data from a Managed Lustre instance to Cloud Storage.", - "file": "Client/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.ExportData", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.ExportData", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "lustrepb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.lustre.v1.Lustre.ExportData", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports data from a Managed Lustre instance to Cloud Storage.", + "file": "Client/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_ExportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre ExportData Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_GetInstance_sync", - "title": "lustre GetInstance Sample", - "description": "GetInstance gets details of a single instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.GetInstance", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.GetInstance", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "lustrepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lustrepb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.lustre.v1.Lustre.GetInstance", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre GetInstance Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_GetLocation_sync", - "title": "lustre GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre GetLocation Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_GetOperation_sync", - "title": "lustre GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre GetOperation Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_ImportData_sync", - "title": "lustre ImportData Sample", - "description": "ImportData imports data from Cloud Storage to a Managed Lustre instance.", - "file": "Client/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.ImportData", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.ImportData", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "lustrepb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.lustre.v1.Lustre.ImportData", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "ImportData" }, + "description": "ImportData imports data from Cloud Storage to a Managed Lustre instance.", + "file": "Client/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_ImportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre ImportData Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_ListInstances_sync", - "title": "lustre ListInstances Sample", - "description": "ListInstances lists instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.ListInstances", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.ListInstances", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "lustrepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.lustre.v1.Lustre.ListInstances", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre ListInstances Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_ListLocations_sync", - "title": "lustre ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre ListLocations Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_ListOperations_sync", - "title": "lustre ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre ListOperations Sample" }, { - "regionTag": "lustre_v1_generated_Lustre_UpdateInstance_sync", - "title": "lustre UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single instance.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.lustre.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.lustre.v1.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.lustre.v1.Lustre.UpdateInstance", + "service": { + "fullName": "google.cloud.lustre.v1.Lustre", + "shortName": "Lustre" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lustrepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "lustrepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.lustre.v1.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.lustre.v1.Lustre.UpdateInstance", - "service": { - "shortName": "Lustre", - "fullName": "google.cloud.lustre.v1.Lustre" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single instance.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "lustre_v1_generated_Lustre_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "lustre UpdateInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maintenance/api/apiv1/snippet_metadata.google.cloud.maintenance.api.v1.json b/internal/generated/snippets/maintenance/api/apiv1/snippet_metadata.google.cloud.maintenance.api.v1.json index 7e90b9d03530..230ef8dd04a8 100644 --- a/internal/generated/snippets/maintenance/api/apiv1/snippet_metadata.google.cloud.maintenance.api.v1.json +++ b/internal/generated/snippets/maintenance/api/apiv1/snippet_metadata.google.cloud.maintenance.api.v1.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maintenance/api/apiv1", - "version": "0.3.0", - "language": "GO", "apis": [ { "id": "google.cloud.maintenance.api.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maintenance/api/apiv1", + "version": "0.3.0" }, "snippets": [ { - "regionTag": "maintenance_v1_generated_Maintenance_GetLocation_sync", - "title": "maintenance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MaintenanceClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MaintenanceClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1_generated_Maintenance_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance GetLocation Sample" }, { - "regionTag": "maintenance_v1_generated_Maintenance_GetResourceMaintenance_sync", - "title": "maintenance GetResourceMaintenance Sample", - "description": "GetResourceMaintenance retrieve a single resource maintenance.", - "file": "MaintenanceClient/GetResourceMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceMaintenance", + "client": { + "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient.GetResourceMaintenance", + "method": { + "fullName": "google.cloud.maintenance.api.v1.Maintenance.GetResourceMaintenance", + "service": { + "fullName": "google.cloud.maintenance.api.v1.Maintenance", + "shortName": "Maintenance" + }, + "shortName": "GetResourceMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apipb.GetResourceMaintenanceRequest", - "name": "req" + "name": "req", + "type": "apipb.GetResourceMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apipb.ResourceMaintenance", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient" - }, - "method": { - "shortName": "GetResourceMaintenance", - "fullName": "google.cloud.maintenance.api.v1.Maintenance.GetResourceMaintenance", - "service": { - "shortName": "Maintenance", - "fullName": "google.cloud.maintenance.api.v1.Maintenance" - } - } + "shortName": "GetResourceMaintenance" }, + "description": "GetResourceMaintenance retrieve a single resource maintenance.", + "file": "MaintenanceClient/GetResourceMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1_generated_Maintenance_GetResourceMaintenance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance GetResourceMaintenance Sample" }, { - "regionTag": "maintenance_v1_generated_Maintenance_ListLocations_sync", - "title": "maintenance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MaintenanceClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MaintenanceClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1_generated_Maintenance_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance ListLocations Sample" }, { - "regionTag": "maintenance_v1_generated_Maintenance_ListResourceMaintenances_sync", - "title": "maintenance ListResourceMaintenances Sample", - "description": "ListResourceMaintenances retrieve a collection of resource maintenances.", - "file": "MaintenanceClient/ListResourceMaintenances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceMaintenances", + "client": { + "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient.ListResourceMaintenances", + "method": { + "fullName": "google.cloud.maintenance.api.v1.Maintenance.ListResourceMaintenances", + "service": { + "fullName": "google.cloud.maintenance.api.v1.Maintenance", + "shortName": "Maintenance" + }, + "shortName": "ListResourceMaintenances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apipb.ListResourceMaintenancesRequest", - "name": "req" + "name": "req", + "type": "apipb.ListResourceMaintenancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceMaintenanceIterator", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient" - }, - "method": { - "shortName": "ListResourceMaintenances", - "fullName": "google.cloud.maintenance.api.v1.Maintenance.ListResourceMaintenances", - "service": { - "shortName": "Maintenance", - "fullName": "google.cloud.maintenance.api.v1.Maintenance" - } - } + "shortName": "ListResourceMaintenances" }, + "description": "ListResourceMaintenances retrieve a collection of resource maintenances.", + "file": "MaintenanceClient/ListResourceMaintenances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1_generated_Maintenance_ListResourceMaintenances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance ListResourceMaintenances Sample" }, { - "regionTag": "maintenance_v1_generated_Maintenance_SummarizeMaintenances_sync", - "title": "maintenance SummarizeMaintenances Sample", - "description": "SummarizeMaintenances retrieves the statistics of a specific maintenance.", - "file": "MaintenanceClient/SummarizeMaintenances/main.go", - "language": "GO", "clientMethod": { - "shortName": "SummarizeMaintenances", + "client": { + "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient.SummarizeMaintenances", + "method": { + "fullName": "google.cloud.maintenance.api.v1.Maintenance.SummarizeMaintenances", + "service": { + "fullName": "google.cloud.maintenance.api.v1.Maintenance", + "shortName": "Maintenance" + }, + "shortName": "SummarizeMaintenances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apipb.SummarizeMaintenancesRequest", - "name": "req" + "name": "req", + "type": "apipb.SummarizeMaintenancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MaintenanceSummaryIterator", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1.MaintenanceClient" - }, - "method": { - "shortName": "SummarizeMaintenances", - "fullName": "google.cloud.maintenance.api.v1.Maintenance.SummarizeMaintenances", - "service": { - "shortName": "Maintenance", - "fullName": "google.cloud.maintenance.api.v1.Maintenance" - } - } + "shortName": "SummarizeMaintenances" }, + "description": "SummarizeMaintenances retrieves the statistics of a specific maintenance.", + "file": "MaintenanceClient/SummarizeMaintenances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1_generated_Maintenance_SummarizeMaintenances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance SummarizeMaintenances Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maintenance/api/apiv1beta/snippet_metadata.google.cloud.maintenance.api.v1beta.json b/internal/generated/snippets/maintenance/api/apiv1beta/snippet_metadata.google.cloud.maintenance.api.v1beta.json index c79742ede48d..f466d0892202 100644 --- a/internal/generated/snippets/maintenance/api/apiv1beta/snippet_metadata.google.cloud.maintenance.api.v1beta.json +++ b/internal/generated/snippets/maintenance/api/apiv1beta/snippet_metadata.google.cloud.maintenance.api.v1beta.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maintenance/api/apiv1beta", - "version": "0.3.0", - "language": "GO", "apis": [ { "id": "google.cloud.maintenance.api.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maintenance/api/apiv1beta", + "version": "0.3.0" }, "snippets": [ { - "regionTag": "maintenance_v1beta_generated_Maintenance_GetLocation_sync", - "title": "maintenance GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "MaintenanceClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "MaintenanceClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1beta_generated_Maintenance_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance GetLocation Sample" }, { - "regionTag": "maintenance_v1beta_generated_Maintenance_GetResourceMaintenance_sync", - "title": "maintenance GetResourceMaintenance Sample", - "description": "GetResourceMaintenance retrieve a single resource maintenance.", - "file": "MaintenanceClient/GetResourceMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceMaintenance", + "client": { + "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient.GetResourceMaintenance", + "method": { + "fullName": "google.cloud.maintenance.api.v1beta.Maintenance.GetResourceMaintenance", + "service": { + "fullName": "google.cloud.maintenance.api.v1beta.Maintenance", + "shortName": "Maintenance" + }, + "shortName": "GetResourceMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apipb.GetResourceMaintenanceRequest", - "name": "req" + "name": "req", + "type": "apipb.GetResourceMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*apipb.ResourceMaintenance", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient" - }, - "method": { - "shortName": "GetResourceMaintenance", - "fullName": "google.cloud.maintenance.api.v1beta.Maintenance.GetResourceMaintenance", - "service": { - "shortName": "Maintenance", - "fullName": "google.cloud.maintenance.api.v1beta.Maintenance" - } - } + "shortName": "GetResourceMaintenance" }, + "description": "GetResourceMaintenance retrieve a single resource maintenance.", + "file": "MaintenanceClient/GetResourceMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1beta_generated_Maintenance_GetResourceMaintenance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance GetResourceMaintenance Sample" }, { - "regionTag": "maintenance_v1beta_generated_Maintenance_ListLocations_sync", - "title": "maintenance ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "MaintenanceClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "MaintenanceClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1beta_generated_Maintenance_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance ListLocations Sample" }, { - "regionTag": "maintenance_v1beta_generated_Maintenance_ListResourceMaintenances_sync", - "title": "maintenance ListResourceMaintenances Sample", - "description": "ListResourceMaintenances retrieve a collection of resource maintenances.", - "file": "MaintenanceClient/ListResourceMaintenances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceMaintenances", + "client": { + "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient.ListResourceMaintenances", + "method": { + "fullName": "google.cloud.maintenance.api.v1beta.Maintenance.ListResourceMaintenances", + "service": { + "fullName": "google.cloud.maintenance.api.v1beta.Maintenance", + "shortName": "Maintenance" + }, + "shortName": "ListResourceMaintenances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apipb.ListResourceMaintenancesRequest", - "name": "req" + "name": "req", + "type": "apipb.ListResourceMaintenancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceMaintenanceIterator", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient" - }, - "method": { - "shortName": "ListResourceMaintenances", - "fullName": "google.cloud.maintenance.api.v1beta.Maintenance.ListResourceMaintenances", - "service": { - "shortName": "Maintenance", - "fullName": "google.cloud.maintenance.api.v1beta.Maintenance" - } - } + "shortName": "ListResourceMaintenances" }, + "description": "ListResourceMaintenances retrieve a collection of resource maintenances.", + "file": "MaintenanceClient/ListResourceMaintenances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1beta_generated_Maintenance_ListResourceMaintenances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance ListResourceMaintenances Sample" }, { - "regionTag": "maintenance_v1beta_generated_Maintenance_SummarizeMaintenances_sync", - "title": "maintenance SummarizeMaintenances Sample", - "description": "SummarizeMaintenances retrieves the statistics of a specific maintenance.", - "file": "MaintenanceClient/SummarizeMaintenances/main.go", - "language": "GO", "clientMethod": { - "shortName": "SummarizeMaintenances", + "client": { + "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient", + "shortName": "MaintenanceClient" + }, "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient.SummarizeMaintenances", + "method": { + "fullName": "google.cloud.maintenance.api.v1beta.Maintenance.SummarizeMaintenances", + "service": { + "fullName": "google.cloud.maintenance.api.v1beta.Maintenance", + "shortName": "Maintenance" + }, + "shortName": "SummarizeMaintenances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "apipb.SummarizeMaintenancesRequest", - "name": "req" + "name": "req", + "type": "apipb.SummarizeMaintenancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MaintenanceSummaryIterator", - "client": { - "shortName": "MaintenanceClient", - "fullName": "google.cloud.maintenance.api.v1beta.MaintenanceClient" - }, - "method": { - "shortName": "SummarizeMaintenances", - "fullName": "google.cloud.maintenance.api.v1beta.Maintenance.SummarizeMaintenances", - "service": { - "shortName": "Maintenance", - "fullName": "google.cloud.maintenance.api.v1beta.Maintenance" - } - } + "shortName": "SummarizeMaintenances" }, + "description": "SummarizeMaintenances retrieves the statistics of a specific maintenance.", + "file": "MaintenanceClient/SummarizeMaintenances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "maintenance_v1beta_generated_Maintenance_SummarizeMaintenances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "maintenance SummarizeMaintenances Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json b/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json index c3972e96ab0a..a6733ae5599f 100644 --- a/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json +++ b/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json @@ -1,475 +1,475 @@ { "clientLibrary": { - "name": "cloud.google.com/go/managedidentities/apiv1", - "version": "1.7.7", - "language": "GO", "apis": [ { "id": "google.cloud.managedidentities.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/managedidentities/apiv1", + "version": "1.7.7" }, "snippets": [ { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_AttachTrust_sync", - "title": "managedidentities AttachTrust Sample", - "description": "AttachTrust adds an AD trust to a domain.", - "file": "Client/AttachTrust/main.go", - "language": "GO", "clientMethod": { - "shortName": "AttachTrust", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.AttachTrust", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.AttachTrust", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "AttachTrust" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.AttachTrustRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.AttachTrustRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttachTrustOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "AttachTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.AttachTrust", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "AttachTrust" }, + "description": "AttachTrust adds an AD trust to a domain.", + "file": "Client/AttachTrust/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_AttachTrust_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities AttachTrust Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_CreateMicrosoftAdDomain_sync", - "title": "managedidentities CreateMicrosoftAdDomain Sample", - "description": "CreateMicrosoftAdDomain creates a Microsoft AD domain.", - "file": "Client/CreateMicrosoftAdDomain/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMicrosoftAdDomain", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.CreateMicrosoftAdDomain", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.CreateMicrosoftAdDomain", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "CreateMicrosoftAdDomain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.CreateMicrosoftAdDomainRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.CreateMicrosoftAdDomainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMicrosoftAdDomainOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "CreateMicrosoftAdDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.CreateMicrosoftAdDomain", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "CreateMicrosoftAdDomain" }, + "description": "CreateMicrosoftAdDomain creates a Microsoft AD domain.", + "file": "Client/CreateMicrosoftAdDomain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_CreateMicrosoftAdDomain_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities CreateMicrosoftAdDomain Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_DeleteDomain_sync", - "title": "managedidentities DeleteDomain Sample", - "description": "DeleteDomain deletes a domain.", - "file": "Client/DeleteDomain/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDomain", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.DeleteDomain", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DeleteDomain", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "DeleteDomain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.DeleteDomainRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.DeleteDomainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDomainOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "DeleteDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DeleteDomain", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "DeleteDomain" }, + "description": "DeleteDomain deletes a domain.", + "file": "Client/DeleteDomain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_DeleteDomain_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities DeleteDomain Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_DetachTrust_sync", - "title": "managedidentities DetachTrust Sample", - "description": "DetachTrust removes an AD trust.", - "file": "Client/DetachTrust/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachTrust", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.DetachTrust", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DetachTrust", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "DetachTrust" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.DetachTrustRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.DetachTrustRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DetachTrustOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "DetachTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DetachTrust", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "DetachTrust" }, + "description": "DetachTrust removes an AD trust.", + "file": "Client/DetachTrust/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_DetachTrust_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities DetachTrust Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_GetDomain_sync", - "title": "managedidentities GetDomain Sample", - "description": "GetDomain gets information about a domain.", - "file": "Client/GetDomain/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDomain", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.GetDomain", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.GetDomain", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "GetDomain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.GetDomainRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.GetDomainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedidentitiespb.Domain", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "GetDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.GetDomain", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "GetDomain" }, + "description": "GetDomain gets information about a domain.", + "file": "Client/GetDomain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_GetDomain_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities GetDomain Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ListDomains_sync", - "title": "managedidentities ListDomains Sample", - "description": "ListDomains lists domains in a project.", - "file": "Client/ListDomains/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDomains", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.ListDomains", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ListDomains", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "ListDomains" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.ListDomainsRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.ListDomainsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DomainIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "ListDomains", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ListDomains", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "ListDomains" }, + "description": "ListDomains lists domains in a project.", + "file": "Client/ListDomains/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ListDomains_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities ListDomains Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ReconfigureTrust_sync", - "title": "managedidentities ReconfigureTrust Sample", - "description": "ReconfigureTrust updates the DNS conditional forwarder.", - "file": "Client/ReconfigureTrust/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReconfigureTrust", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.ReconfigureTrust", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ReconfigureTrust", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "ReconfigureTrust" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.ReconfigureTrustRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.ReconfigureTrustRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReconfigureTrustOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "ReconfigureTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ReconfigureTrust", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "ReconfigureTrust" }, + "description": "ReconfigureTrust updates the DNS conditional forwarder.", + "file": "Client/ReconfigureTrust/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ReconfigureTrust_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities ReconfigureTrust Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ResetAdminPassword_sync", - "title": "managedidentities ResetAdminPassword Sample", - "description": "ResetAdminPassword resets a domain's administrator password.", - "file": "Client/ResetAdminPassword/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetAdminPassword", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.ResetAdminPassword", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ResetAdminPassword", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "ResetAdminPassword" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.ResetAdminPasswordRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.ResetAdminPasswordRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedidentitiespb.ResetAdminPasswordResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "ResetAdminPassword", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ResetAdminPassword", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "ResetAdminPassword" }, + "description": "ResetAdminPassword resets a domain's administrator password.", + "file": "Client/ResetAdminPassword/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ResetAdminPassword_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities ResetAdminPassword Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_UpdateDomain_sync", - "title": "managedidentities UpdateDomain Sample", - "description": "UpdateDomain updates the metadata and configuration of a domain.", - "file": "Client/UpdateDomain/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDomain", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.UpdateDomain", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.UpdateDomain", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "UpdateDomain" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.UpdateDomainRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.UpdateDomainRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDomainOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "UpdateDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.UpdateDomain", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "UpdateDomain" }, + "description": "UpdateDomain updates the metadata and configuration of a domain.", + "file": "Client/UpdateDomain/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_UpdateDomain_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities UpdateDomain Sample" }, { - "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ValidateTrust_sync", - "title": "managedidentities ValidateTrust Sample", - "description": "ValidateTrust validates a trust state, that the target domain is reachable, and that the\ntarget domain is able to accept incoming trust requests.", - "file": "Client/ValidateTrust/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateTrust", + "client": { + "fullName": "google.cloud.managedidentities.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedidentities.v1.Client.ValidateTrust", + "method": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ValidateTrust", + "service": { + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "ManagedIdentitiesService" + }, + "shortName": "ValidateTrust" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedidentitiespb.ValidateTrustRequest", - "name": "req" + "name": "req", + "type": "managedidentitiespb.ValidateTrustRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ValidateTrustOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedidentities.v1.Client" - }, - "method": { - "shortName": "ValidateTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ValidateTrust", - "service": { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService" - } - } + "shortName": "ValidateTrust" }, + "description": "ValidateTrust validates a trust state, that the target domain is reachable, and that the\ntarget domain is able to accept incoming trust requests.", + "file": "Client/ValidateTrust/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedidentities_v1_generated_ManagedIdentitiesService_ValidateTrust_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedidentities ValidateTrust Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json b/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json index 41547700d089..b7e1dab3e031 100644 --- a/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json +++ b/internal/generated/snippets/managedkafka/apiv1/snippet_metadata.google.cloud.managedkafka.v1.json @@ -1,2169 +1,2169 @@ { "clientLibrary": { - "name": "cloud.google.com/go/managedkafka/apiv1", - "version": "0.8.1", - "language": "GO", "apis": [ { "id": "google.cloud.managedkafka.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/managedkafka/apiv1", + "version": "0.8.1" }, "snippets": [ { - "regionTag": "managedkafka_v1_generated_ManagedKafka_AddAclEntry_sync", - "title": "managedkafka AddAclEntry Sample", - "description": "AddAclEntry incremental update: Adds an acl entry to an acl. Creates the acl if it does\nnot exist yet.", - "file": "Client/AddAclEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAclEntry", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.AddAclEntry", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.AddAclEntry", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "AddAclEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.AddAclEntryRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.AddAclEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.AddAclEntryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "AddAclEntry", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.AddAclEntry", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "AddAclEntry" }, + "description": "AddAclEntry incremental update: Adds an acl entry to an acl. Creates the acl if it does\nnot exist yet.", + "file": "Client/AddAclEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_AddAclEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka AddAclEntry Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_CancelOperation_sync", - "title": "managedkafka CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CancelOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_CreateAcl_sync", - "title": "managedkafka CreateAcl Sample", - "description": "CreateAcl creates a new acl in the given project, location, and cluster.", - "file": "Client/CreateAcl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAcl", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.CreateAcl", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.CreateAcl", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "CreateAcl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.CreateAclRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.CreateAclRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Acl", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "CreateAcl", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.CreateAcl", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "CreateAcl" }, + "description": "CreateAcl creates a new acl in the given project, location, and cluster.", + "file": "Client/CreateAcl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_CreateAcl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateAcl Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_CreateCluster_sync", - "title": "managedkafka CreateCluster Sample", - "description": "CreateCluster creates a new cluster in a given project and location.", - "file": "Client/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.CreateCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.CreateCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.CreateCluster", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new cluster in a given project and location.", + "file": "Client/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_CreateTopic_sync", - "title": "managedkafka CreateTopic Sample", - "description": "CreateTopic creates a new topic in a given project and location.", - "file": "Client/CreateTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTopic", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.CreateTopic", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.CreateTopic", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "CreateTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.CreateTopicRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.CreateTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Topic", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "CreateTopic", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.CreateTopic", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "CreateTopic" }, + "description": "CreateTopic creates a new topic in a given project and location.", + "file": "Client/CreateTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_CreateTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateTopic Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteAcl_sync", - "title": "managedkafka DeleteAcl Sample", - "description": "DeleteAcl deletes an acl.", - "file": "Client/DeleteAcl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAcl", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.DeleteAcl", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteAcl", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "DeleteAcl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.DeleteAclRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.DeleteAclRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "DeleteAcl", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteAcl", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "DeleteAcl" }, + "description": "DeleteAcl deletes an acl.", + "file": "Client/DeleteAcl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteAcl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteAcl Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteCluster_sync", - "title": "managedkafka DeleteCluster Sample", - "description": "DeleteCluster deletes a single cluster.", - "file": "Client/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.DeleteCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteCluster", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single cluster.", + "file": "Client/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteConsumerGroup_sync", - "title": "managedkafka DeleteConsumerGroup Sample", - "description": "DeleteConsumerGroup deletes a single consumer group.", - "file": "Client/DeleteConsumerGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConsumerGroup", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.DeleteConsumerGroup", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteConsumerGroup", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "DeleteConsumerGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.DeleteConsumerGroupRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.DeleteConsumerGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "DeleteConsumerGroup", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteConsumerGroup", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "DeleteConsumerGroup" }, + "description": "DeleteConsumerGroup deletes a single consumer group.", + "file": "Client/DeleteConsumerGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteConsumerGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteConsumerGroup Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteOperation_sync", - "title": "managedkafka DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteTopic_sync", - "title": "managedkafka DeleteTopic Sample", - "description": "DeleteTopic deletes a single topic.", - "file": "Client/DeleteTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTopic", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.DeleteTopic", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteTopic", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "DeleteTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.DeleteTopicRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.DeleteTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "DeleteTopic", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.DeleteTopic", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "DeleteTopic" }, + "description": "DeleteTopic deletes a single topic.", + "file": "Client/DeleteTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_DeleteTopic_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteTopic Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_GetAcl_sync", - "title": "managedkafka GetAcl Sample", - "description": "GetAcl returns the properties of a single acl.", - "file": "Client/GetAcl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAcl", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.GetAcl", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetAcl", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "GetAcl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.GetAclRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.GetAclRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Acl", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "GetAcl", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetAcl", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "GetAcl" }, + "description": "GetAcl returns the properties of a single acl.", + "file": "Client/GetAcl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_GetAcl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetAcl Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_GetCluster_sync", - "title": "managedkafka GetCluster Sample", - "description": "GetCluster returns the properties of a single cluster.", - "file": "Client/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.GetCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Cluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetCluster", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster returns the properties of a single cluster.", + "file": "Client/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_GetConsumerGroup_sync", - "title": "managedkafka GetConsumerGroup Sample", - "description": "GetConsumerGroup returns the properties of a single consumer group.", - "file": "Client/GetConsumerGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConsumerGroup", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.GetConsumerGroup", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetConsumerGroup", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "GetConsumerGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.GetConsumerGroupRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.GetConsumerGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.ConsumerGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "GetConsumerGroup", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetConsumerGroup", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "GetConsumerGroup" }, + "description": "GetConsumerGroup returns the properties of a single consumer group.", + "file": "Client/GetConsumerGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_GetConsumerGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetConsumerGroup Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_GetLocation_sync", - "title": "managedkafka GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetLocation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_GetOperation_sync", - "title": "managedkafka GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_GetTopic_sync", - "title": "managedkafka GetTopic Sample", - "description": "GetTopic returns the properties of a single topic.", - "file": "Client/GetTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTopic", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.GetTopic", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetTopic", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "GetTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.GetTopicRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.GetTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Topic", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "GetTopic", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.GetTopic", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "GetTopic" }, + "description": "GetTopic returns the properties of a single topic.", + "file": "Client/GetTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_GetTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetTopic Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_ListAcls_sync", - "title": "managedkafka ListAcls Sample", - "description": "ListAcls lists the acls in a given cluster.", - "file": "Client/ListAcls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAcls", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.ListAcls", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListAcls", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "ListAcls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ListAclsRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ListAclsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AclIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "ListAcls", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListAcls", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "ListAcls" }, + "description": "ListAcls lists the acls in a given cluster.", + "file": "Client/ListAcls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_ListAcls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListAcls Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_ListClusters_sync", - "title": "managedkafka ListClusters Sample", - "description": "ListClusters lists the clusters in a given project and location.", - "file": "Client/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.ListClusters", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListClusters", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListClusters", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists the clusters in a given project and location.", + "file": "Client/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListClusters Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_ListConsumerGroups_sync", - "title": "managedkafka ListConsumerGroups Sample", - "description": "ListConsumerGroups lists the consumer groups in a given cluster.", - "file": "Client/ListConsumerGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConsumerGroups", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.ListConsumerGroups", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListConsumerGroups", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "ListConsumerGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ListConsumerGroupsRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ListConsumerGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConsumerGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "ListConsumerGroups", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListConsumerGroups", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "ListConsumerGroups" }, + "description": "ListConsumerGroups lists the consumer groups in a given cluster.", + "file": "Client/ListConsumerGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_ListConsumerGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListConsumerGroups Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_ListLocations_sync", - "title": "managedkafka ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListLocations Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_ListOperations_sync", - "title": "managedkafka ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListOperations Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_ListTopics_sync", - "title": "managedkafka ListTopics Sample", - "description": "ListTopics lists the topics in a given cluster.", - "file": "Client/ListTopics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTopics", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.ListTopics", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListTopics", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "ListTopics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ListTopicsRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ListTopicsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TopicIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "ListTopics", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.ListTopics", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "ListTopics" }, + "description": "ListTopics lists the topics in a given cluster.", + "file": "Client/ListTopics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_ListTopics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListTopics Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_RemoveAclEntry_sync", - "title": "managedkafka RemoveAclEntry Sample", - "description": "RemoveAclEntry incremental update: Removes an acl entry from an acl. Deletes the acl if\nits acl entries become empty (i.e. if the removed entry was the last one in\nthe acl).", - "file": "Client/RemoveAclEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAclEntry", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.RemoveAclEntry", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.RemoveAclEntry", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "RemoveAclEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.RemoveAclEntryRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.RemoveAclEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.RemoveAclEntryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "RemoveAclEntry", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.RemoveAclEntry", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "RemoveAclEntry" }, + "description": "RemoveAclEntry incremental update: Removes an acl entry from an acl. Deletes the acl if\nits acl entries become empty (i.e. if the removed entry was the last one in\nthe acl).", + "file": "Client/RemoveAclEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_RemoveAclEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka RemoveAclEntry Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateAcl_sync", - "title": "managedkafka UpdateAcl Sample", - "description": "UpdateAcl updates the properties of a single acl.", - "file": "Client/UpdateAcl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAcl", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.UpdateAcl", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateAcl", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "UpdateAcl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.UpdateAclRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.UpdateAclRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Acl", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "UpdateAcl", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateAcl", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "UpdateAcl" }, + "description": "UpdateAcl updates the properties of a single acl.", + "file": "Client/UpdateAcl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateAcl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateAcl Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateCluster_sync", - "title": "managedkafka UpdateCluster Sample", - "description": "UpdateCluster updates the properties of a single cluster.", - "file": "Client/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.UpdateCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateCluster", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the properties of a single cluster.", + "file": "Client/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateConsumerGroup_sync", - "title": "managedkafka UpdateConsumerGroup Sample", - "description": "UpdateConsumerGroup updates the properties of a single consumer group.", - "file": "Client/UpdateConsumerGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConsumerGroup", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.UpdateConsumerGroup", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateConsumerGroup", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "UpdateConsumerGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.UpdateConsumerGroupRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.UpdateConsumerGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.ConsumerGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "UpdateConsumerGroup", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateConsumerGroup", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "UpdateConsumerGroup" }, + "description": "UpdateConsumerGroup updates the properties of a single consumer group.", + "file": "Client/UpdateConsumerGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateConsumerGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateConsumerGroup Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateTopic_sync", - "title": "managedkafka UpdateTopic Sample", - "description": "UpdateTopic updates the properties of a single topic.", - "file": "Client/UpdateTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTopic", + "client": { + "fullName": "google.cloud.managedkafka.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.managedkafka.v1.Client.UpdateTopic", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateTopic", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafka", + "shortName": "ManagedKafka" + }, + "shortName": "UpdateTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.UpdateTopicRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.UpdateTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Topic", - "client": { - "shortName": "Client", - "fullName": "google.cloud.managedkafka.v1.Client" - }, - "method": { - "shortName": "UpdateTopic", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka.UpdateTopic", - "service": { - "shortName": "ManagedKafka", - "fullName": "google.cloud.managedkafka.v1.ManagedKafka" - } - } + "shortName": "UpdateTopic" }, + "description": "UpdateTopic updates the properties of a single topic.", + "file": "Client/UpdateTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafka_UpdateTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateTopic Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_CancelOperation_sync", - "title": "managedkafka CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedKafkaConnectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedKafkaConnectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CancelOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_CreateConnectCluster_sync", - "title": "managedkafka CreateConnectCluster Sample", - "description": "CreateConnectCluster creates a new Kafka Connect cluster in a given project and location.", - "file": "ManagedKafkaConnectClient/CreateConnectCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnectCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.CreateConnectCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.CreateConnectCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "CreateConnectCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.CreateConnectClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.CreateConnectClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectClusterOperation", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "CreateConnectCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.CreateConnectCluster", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "CreateConnectCluster" }, + "description": "CreateConnectCluster creates a new Kafka Connect cluster in a given project and location.", + "file": "ManagedKafkaConnectClient/CreateConnectCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_CreateConnectCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateConnectCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_CreateConnector_sync", - "title": "managedkafka CreateConnector Sample", - "description": "CreateConnector creates a new connector in a given Connect cluster.", - "file": "ManagedKafkaConnectClient/CreateConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.CreateConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.CreateConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "CreateConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.CreateConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.CreateConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Connector", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "CreateConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.CreateConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "CreateConnector" }, + "description": "CreateConnector creates a new connector in a given Connect cluster.", + "file": "ManagedKafkaConnectClient/CreateConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_CreateConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_DeleteConnectCluster_sync", - "title": "managedkafka DeleteConnectCluster Sample", - "description": "DeleteConnectCluster deletes a single Connect cluster.", - "file": "ManagedKafkaConnectClient/DeleteConnectCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnectCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.DeleteConnectCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.DeleteConnectCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "DeleteConnectCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.DeleteConnectClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.DeleteConnectClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectClusterOperation", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "DeleteConnectCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.DeleteConnectCluster", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "DeleteConnectCluster" }, + "description": "DeleteConnectCluster deletes a single Connect cluster.", + "file": "ManagedKafkaConnectClient/DeleteConnectCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_DeleteConnectCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteConnectCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_DeleteConnector_sync", - "title": "managedkafka DeleteConnector Sample", - "description": "DeleteConnector deletes a connector.", - "file": "ManagedKafkaConnectClient/DeleteConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.DeleteConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.DeleteConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "DeleteConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.DeleteConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.DeleteConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "DeleteConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.DeleteConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "DeleteConnector" }, + "description": "DeleteConnector deletes a connector.", + "file": "ManagedKafkaConnectClient/DeleteConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_DeleteConnector_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_DeleteOperation_sync", - "title": "managedkafka DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedKafkaConnectClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedKafkaConnectClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetConnectCluster_sync", - "title": "managedkafka GetConnectCluster Sample", - "description": "GetConnectCluster returns the properties of a single Kafka Connect cluster.", - "file": "ManagedKafkaConnectClient/GetConnectCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.GetConnectCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.GetConnectCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "GetConnectCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.GetConnectClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.GetConnectClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.ConnectCluster", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "GetConnectCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.GetConnectCluster", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "GetConnectCluster" }, + "description": "GetConnectCluster returns the properties of a single Kafka Connect cluster.", + "file": "ManagedKafkaConnectClient/GetConnectCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetConnectCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetConnectCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetConnector_sync", - "title": "managedkafka GetConnector Sample", - "description": "GetConnector returns the properties of a single connector.", - "file": "ManagedKafkaConnectClient/GetConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.GetConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.GetConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "GetConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.GetConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.GetConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Connector", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "GetConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.GetConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "GetConnector" }, + "description": "GetConnector returns the properties of a single connector.", + "file": "ManagedKafkaConnectClient/GetConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetLocation_sync", - "title": "managedkafka GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ManagedKafkaConnectClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ManagedKafkaConnectClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetLocation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetOperation_sync", - "title": "managedkafka GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedKafkaConnectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedKafkaConnectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListConnectClusters_sync", - "title": "managedkafka ListConnectClusters Sample", - "description": "ListConnectClusters lists the Kafka Connect clusters in a given project and location.", - "file": "ManagedKafkaConnectClient/ListConnectClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectClusters", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.ListConnectClusters", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.ListConnectClusters", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "ListConnectClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ListConnectClustersRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ListConnectClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectClusterIterator", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "ListConnectClusters", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.ListConnectClusters", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "ListConnectClusters" }, + "description": "ListConnectClusters lists the Kafka Connect clusters in a given project and location.", + "file": "ManagedKafkaConnectClient/ListConnectClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListConnectClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListConnectClusters Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListConnectors_sync", - "title": "managedkafka ListConnectors Sample", - "description": "ListConnectors lists the connectors in a given Connect cluster.", - "file": "ManagedKafkaConnectClient/ListConnectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectors", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.ListConnectors", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.ListConnectors", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "ListConnectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ListConnectorsRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ListConnectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectorIterator", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "ListConnectors", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.ListConnectors", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "ListConnectors" }, + "description": "ListConnectors lists the connectors in a given Connect cluster.", + "file": "ManagedKafkaConnectClient/ListConnectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListConnectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListConnectors Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListLocations_sync", - "title": "managedkafka ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ManagedKafkaConnectClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ManagedKafkaConnectClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListLocations Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListOperations_sync", - "title": "managedkafka ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ManagedKafkaConnectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ManagedKafkaConnectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListOperations Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_PauseConnector_sync", - "title": "managedkafka PauseConnector Sample", - "description": "PauseConnector pauses the connector and its tasks.", - "file": "ManagedKafkaConnectClient/PauseConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.PauseConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.PauseConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "PauseConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.PauseConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.PauseConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.PauseConnectorResponse", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "PauseConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.PauseConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "PauseConnector" }, + "description": "PauseConnector pauses the connector and its tasks.", + "file": "ManagedKafkaConnectClient/PauseConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_PauseConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka PauseConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_RestartConnector_sync", - "title": "managedkafka RestartConnector Sample", - "description": "RestartConnector restarts the connector.", - "file": "ManagedKafkaConnectClient/RestartConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.RestartConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.RestartConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "RestartConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.RestartConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.RestartConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.RestartConnectorResponse", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "RestartConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.RestartConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "RestartConnector" }, + "description": "RestartConnector restarts the connector.", + "file": "ManagedKafkaConnectClient/RestartConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_RestartConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka RestartConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ResumeConnector_sync", - "title": "managedkafka ResumeConnector Sample", - "description": "ResumeConnector resumes the connector and its tasks.", - "file": "ManagedKafkaConnectClient/ResumeConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.ResumeConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.ResumeConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "ResumeConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.ResumeConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.ResumeConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.ResumeConnectorResponse", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "ResumeConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.ResumeConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "ResumeConnector" }, + "description": "ResumeConnector resumes the connector and its tasks.", + "file": "ManagedKafkaConnectClient/ResumeConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_ResumeConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ResumeConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_StopConnector_sync", - "title": "managedkafka StopConnector Sample", - "description": "StopConnector stops the connector.", - "file": "ManagedKafkaConnectClient/StopConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.StopConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.StopConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "StopConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.StopConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.StopConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.StopConnectorResponse", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "StopConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.StopConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "StopConnector" }, + "description": "StopConnector stops the connector.", + "file": "ManagedKafkaConnectClient/StopConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_StopConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka StopConnector Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_UpdateConnectCluster_sync", - "title": "managedkafka UpdateConnectCluster Sample", - "description": "UpdateConnectCluster updates the properties of a single Kafka Connect cluster.", - "file": "ManagedKafkaConnectClient/UpdateConnectCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnectCluster", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.UpdateConnectCluster", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.UpdateConnectCluster", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "UpdateConnectCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.UpdateConnectClusterRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.UpdateConnectClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectClusterOperation", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "UpdateConnectCluster", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.UpdateConnectCluster", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "UpdateConnectCluster" }, + "description": "UpdateConnectCluster updates the properties of a single Kafka Connect cluster.", + "file": "ManagedKafkaConnectClient/UpdateConnectCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_UpdateConnectCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateConnectCluster Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_UpdateConnector_sync", - "title": "managedkafka UpdateConnector Sample", - "description": "UpdateConnector updates the properties of a connector.", - "file": "ManagedKafkaConnectClient/UpdateConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnector", + "client": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient", + "shortName": "ManagedKafkaConnectClient" + }, "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient.UpdateConnector", + "method": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.UpdateConnector", + "service": { + "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect", + "shortName": "ManagedKafkaConnect" + }, + "shortName": "UpdateConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "managedkafkapb.UpdateConnectorRequest", - "name": "req" + "name": "req", + "type": "managedkafkapb.UpdateConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*managedkafkapb.Connector", - "client": { - "shortName": "ManagedKafkaConnectClient", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnectClient" - }, - "method": { - "shortName": "UpdateConnector", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect.UpdateConnector", - "service": { - "shortName": "ManagedKafkaConnect", - "fullName": "google.cloud.managedkafka.v1.ManagedKafkaConnect" - } - } + "shortName": "UpdateConnector" }, + "description": "UpdateConnector updates the properties of a connector.", + "file": "ManagedKafkaConnectClient/UpdateConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedKafkaConnect_UpdateConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateConnector Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/managedkafka/schemaregistry/apiv1/snippet_metadata.google.cloud.managedkafka.schemaregistry.v1.json b/internal/generated/snippets/managedkafka/schemaregistry/apiv1/snippet_metadata.google.cloud.managedkafka.schemaregistry.v1.json index 179b2234b703..2503104055e6 100644 --- a/internal/generated/snippets/managedkafka/schemaregistry/apiv1/snippet_metadata.google.cloud.managedkafka.schemaregistry.v1.json +++ b/internal/generated/snippets/managedkafka/schemaregistry/apiv1/snippet_metadata.google.cloud.managedkafka.schemaregistry.v1.json @@ -1,1530 +1,1530 @@ { "clientLibrary": { - "name": "cloud.google.com/go/managedkafka/schemaregistry/apiv1", - "version": "0.8.1", - "language": "GO", "apis": [ { "id": "google.cloud.managedkafka.schemaregistry.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/managedkafka/schemaregistry/apiv1", + "version": "0.8.1" }, "snippets": [ { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CancelOperation_sync", - "title": "managedkafka CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedSchemaRegistryClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedSchemaRegistryClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CancelOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CheckCompatibility_sync", - "title": "managedkafka CheckCompatibility Sample", - "description": "CheckCompatibility check compatibility of a schema with all versions or a specific version of\na subject.", - "file": "ManagedSchemaRegistryClient/CheckCompatibility/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckCompatibility", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.CheckCompatibility", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.CheckCompatibility", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "CheckCompatibility" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.CheckCompatibilityRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.CheckCompatibilityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.CheckCompatibilityResponse", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "CheckCompatibility", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.CheckCompatibility", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "CheckCompatibility" }, + "description": "CheckCompatibility check compatibility of a schema with all versions or a specific version of\na subject.", + "file": "ManagedSchemaRegistryClient/CheckCompatibility/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CheckCompatibility_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CheckCompatibility Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CreateSchemaRegistry_sync", - "title": "managedkafka CreateSchemaRegistry Sample", - "description": "CreateSchemaRegistry create a schema registry instance.", - "file": "ManagedSchemaRegistryClient/CreateSchemaRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchemaRegistry", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.CreateSchemaRegistry", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.CreateSchemaRegistry", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "CreateSchemaRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.CreateSchemaRegistryRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.CreateSchemaRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaRegistry", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "CreateSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.CreateSchemaRegistry", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "CreateSchemaRegistry" }, + "description": "CreateSchemaRegistry create a schema registry instance.", + "file": "ManagedSchemaRegistryClient/CreateSchemaRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CreateSchemaRegistry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateSchemaRegistry Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CreateVersion_sync", - "title": "managedkafka CreateVersion Sample", - "description": "CreateVersion register a new version under a given subject with the given schema.", - "file": "ManagedSchemaRegistryClient/CreateVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVersion", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.CreateVersion", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.CreateVersion", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "CreateVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.CreateVersionRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.CreateVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.CreateVersionResponse", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.CreateVersion", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "CreateVersion" }, + "description": "CreateVersion register a new version under a given subject with the given schema.", + "file": "ManagedSchemaRegistryClient/CreateVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_CreateVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka CreateVersion Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteOperation_sync", - "title": "managedkafka DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedSchemaRegistryClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedSchemaRegistryClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSchemaConfig_sync", - "title": "managedkafka DeleteSchemaConfig Sample", - "description": "DeleteSchemaConfig delete schema config for a subject.", - "file": "ManagedSchemaRegistryClient/DeleteSchemaConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchemaConfig", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.DeleteSchemaConfig", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSchemaConfig", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "DeleteSchemaConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.DeleteSchemaConfigRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.DeleteSchemaConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaConfig", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "DeleteSchemaConfig", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSchemaConfig", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "DeleteSchemaConfig" }, + "description": "DeleteSchemaConfig delete schema config for a subject.", + "file": "ManagedSchemaRegistryClient/DeleteSchemaConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSchemaConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteSchemaConfig Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSchemaMode_sync", - "title": "managedkafka DeleteSchemaMode Sample", - "description": "DeleteSchemaMode delete schema mode for a subject.", - "file": "ManagedSchemaRegistryClient/DeleteSchemaMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchemaMode", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.DeleteSchemaMode", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSchemaMode", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "DeleteSchemaMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.DeleteSchemaModeRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.DeleteSchemaModeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaMode", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "DeleteSchemaMode", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSchemaMode", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "DeleteSchemaMode" }, + "description": "DeleteSchemaMode delete schema mode for a subject.", + "file": "ManagedSchemaRegistryClient/DeleteSchemaMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSchemaMode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteSchemaMode Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSchemaRegistry_sync", - "title": "managedkafka DeleteSchemaRegistry Sample", - "description": "DeleteSchemaRegistry delete a schema registry instance.", - "file": "ManagedSchemaRegistryClient/DeleteSchemaRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchemaRegistry", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.DeleteSchemaRegistry", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSchemaRegistry", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "DeleteSchemaRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.DeleteSchemaRegistryRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.DeleteSchemaRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "DeleteSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSchemaRegistry", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "DeleteSchemaRegistry" }, + "description": "DeleteSchemaRegistry delete a schema registry instance.", + "file": "ManagedSchemaRegistryClient/DeleteSchemaRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSchemaRegistry_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteSchemaRegistry Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSubject_sync", - "title": "managedkafka DeleteSubject Sample", - "description": "DeleteSubject delete a subject.\nThe response will be an array of versions of the deleted subject.", - "file": "ManagedSchemaRegistryClient/DeleteSubject/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubject", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.DeleteSubject", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSubject", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "DeleteSubject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.DeleteSubjectRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.DeleteSubjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "DeleteSubject", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteSubject", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "DeleteSubject" }, + "description": "DeleteSubject delete a subject.\nThe response will be an array of versions of the deleted subject.", + "file": "ManagedSchemaRegistryClient/DeleteSubject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteSubject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteSubject Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteVersion_sync", - "title": "managedkafka DeleteVersion Sample", - "description": "DeleteVersion delete a version of a subject.\nThe response will be the deleted version id.", - "file": "ManagedSchemaRegistryClient/DeleteVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVersion", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.DeleteVersion", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteVersion", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "DeleteVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.DeleteVersionRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.DeleteVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.DeleteVersion", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "DeleteVersion" }, + "description": "DeleteVersion delete a version of a subject.\nThe response will be the deleted version id.", + "file": "ManagedSchemaRegistryClient/DeleteVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_DeleteVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka DeleteVersion Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetContext_sync", - "title": "managedkafka GetContext Sample", - "description": "GetContext get the context.", - "file": "ManagedSchemaRegistryClient/GetContext/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetContext", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetContext", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetContext", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetContext" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetContextRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetContextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.Context", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetContext", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetContext" }, + "description": "GetContext get the context.", + "file": "ManagedSchemaRegistryClient/GetContext/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetContext_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetContext Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetLocation_sync", - "title": "managedkafka GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ManagedSchemaRegistryClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ManagedSchemaRegistryClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetLocation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetOperation_sync", - "title": "managedkafka GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedSchemaRegistryClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedSchemaRegistryClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetOperation Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetRawSchema_sync", - "title": "managedkafka GetRawSchema Sample", - "description": "GetRawSchema get the schema string for the given schema id.\nThe response will be the schema string.", - "file": "ManagedSchemaRegistryClient/GetRawSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRawSchema", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetRawSchema", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetRawSchema", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetRawSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetSchemaRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetRawSchema", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetRawSchema", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetRawSchema" }, + "description": "GetRawSchema get the schema string for the given schema id.\nThe response will be the schema string.", + "file": "ManagedSchemaRegistryClient/GetRawSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetRawSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetRawSchema Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetRawSchemaVersion_sync", - "title": "managedkafka GetRawSchemaVersion Sample", - "description": "GetRawSchemaVersion get the schema string only for a version of a subject.\nThe response will be the schema string.", - "file": "ManagedSchemaRegistryClient/GetRawSchemaVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRawSchemaVersion", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetRawSchemaVersion", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetRawSchemaVersion", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetRawSchemaVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetRawSchemaVersion", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetRawSchemaVersion", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetRawSchemaVersion" }, + "description": "GetRawSchemaVersion get the schema string only for a version of a subject.\nThe response will be the schema string.", + "file": "ManagedSchemaRegistryClient/GetRawSchemaVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetRawSchemaVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetRawSchemaVersion Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchema_sync", - "title": "managedkafka GetSchema Sample", - "description": "GetSchema get the schema for the given schema id.", - "file": "ManagedSchemaRegistryClient/GetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchema", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetSchema", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchema", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetSchemaRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.Schema", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchema", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetSchema" }, + "description": "GetSchema get the schema for the given schema id.", + "file": "ManagedSchemaRegistryClient/GetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetSchema Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchemaConfig_sync", - "title": "managedkafka GetSchemaConfig Sample", - "description": "GetSchemaConfig get schema config at global level or for a subject.", - "file": "ManagedSchemaRegistryClient/GetSchemaConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchemaConfig", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetSchemaConfig", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchemaConfig", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetSchemaConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetSchemaConfigRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetSchemaConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaConfig", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetSchemaConfig", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchemaConfig", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetSchemaConfig" }, + "description": "GetSchemaConfig get schema config at global level or for a subject.", + "file": "ManagedSchemaRegistryClient/GetSchemaConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchemaConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetSchemaConfig Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchemaMode_sync", - "title": "managedkafka GetSchemaMode Sample", - "description": "GetSchemaMode get mode at global level or for a subject.", - "file": "ManagedSchemaRegistryClient/GetSchemaMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchemaMode", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetSchemaMode", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchemaMode", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetSchemaMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetSchemaModeRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetSchemaModeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaMode", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetSchemaMode", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchemaMode", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetSchemaMode" }, + "description": "GetSchemaMode get mode at global level or for a subject.", + "file": "ManagedSchemaRegistryClient/GetSchemaMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchemaMode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetSchemaMode Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchemaRegistry_sync", - "title": "managedkafka GetSchemaRegistry Sample", - "description": "GetSchemaRegistry get the schema registry instance.", - "file": "ManagedSchemaRegistryClient/GetSchemaRegistry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchemaRegistry", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetSchemaRegistry", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchemaRegistry", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetSchemaRegistry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetSchemaRegistryRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetSchemaRegistryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaRegistry", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetSchemaRegistry", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetSchemaRegistry" }, + "description": "GetSchemaRegistry get the schema registry instance.", + "file": "ManagedSchemaRegistryClient/GetSchemaRegistry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetSchemaRegistry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetSchemaRegistry Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetVersion_sync", - "title": "managedkafka GetVersion Sample", - "description": "GetVersion get a versioned schema (schema with subject/version) of a subject.", - "file": "ManagedSchemaRegistryClient/GetVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVersion", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.GetVersion", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetVersion", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "GetVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.GetVersionRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.GetVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaVersion", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.GetVersion", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "GetVersion" }, + "description": "GetVersion get a versioned schema (schema with subject/version) of a subject.", + "file": "ManagedSchemaRegistryClient/GetVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_GetVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka GetVersion Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListContexts_sync", - "title": "managedkafka ListContexts Sample", - "description": "ListContexts list contexts for a schema registry.", - "file": "ManagedSchemaRegistryClient/ListContexts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListContexts", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListContexts", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListContexts", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListContexts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListContextsRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListContextsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListContexts", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListContexts" }, + "description": "ListContexts list contexts for a schema registry.", + "file": "ManagedSchemaRegistryClient/ListContexts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListContexts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListContexts Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListLocations_sync", - "title": "managedkafka ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ManagedSchemaRegistryClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ManagedSchemaRegistryClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListLocations Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListOperations_sync", - "title": "managedkafka ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ManagedSchemaRegistryClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ManagedSchemaRegistryClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListOperations Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListReferencedSchemas_sync", - "title": "managedkafka ListReferencedSchemas Sample", - "description": "ListReferencedSchemas get a list of IDs of schemas that reference the schema with the given\nsubject and version.", - "file": "ManagedSchemaRegistryClient/ListReferencedSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReferencedSchemas", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListReferencedSchemas", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListReferencedSchemas", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListReferencedSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListReferencedSchemasRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListReferencedSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListReferencedSchemas", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListReferencedSchemas", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListReferencedSchemas" }, + "description": "ListReferencedSchemas get a list of IDs of schemas that reference the schema with the given\nsubject and version.", + "file": "ManagedSchemaRegistryClient/ListReferencedSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListReferencedSchemas_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListReferencedSchemas Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSchemaRegistries_sync", - "title": "managedkafka ListSchemaRegistries Sample", - "description": "ListSchemaRegistries list schema registries.", - "file": "ManagedSchemaRegistryClient/ListSchemaRegistries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemaRegistries", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListSchemaRegistries", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSchemaRegistries", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListSchemaRegistries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListSchemaRegistriesRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListSchemaRegistriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.ListSchemaRegistriesResponse", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListSchemaRegistries", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSchemaRegistries", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListSchemaRegistries" }, + "description": "ListSchemaRegistries list schema registries.", + "file": "ManagedSchemaRegistryClient/ListSchemaRegistries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSchemaRegistries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListSchemaRegistries Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSchemaTypes_sync", - "title": "managedkafka ListSchemaTypes Sample", - "description": "ListSchemaTypes list the supported schema types.\nThe response will be an array of schema types.", - "file": "ManagedSchemaRegistryClient/ListSchemaTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemaTypes", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListSchemaTypes", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSchemaTypes", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListSchemaTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListSchemaTypesRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListSchemaTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListSchemaTypes", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSchemaTypes", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListSchemaTypes" }, + "description": "ListSchemaTypes list the supported schema types.\nThe response will be an array of schema types.", + "file": "ManagedSchemaRegistryClient/ListSchemaTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSchemaTypes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListSchemaTypes Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSchemaVersions_sync", - "title": "managedkafka ListSchemaVersions Sample", - "description": "ListSchemaVersions list the schema versions for the given schema id.\nThe response will be an array of subject-version pairs as: \n[{\"subject\": \"subject1\", \"version\": 1}, {\"subject\": \"subject2\", \"version\": 2}].", - "file": "ManagedSchemaRegistryClient/ListSchemaVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemaVersions", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListSchemaVersions", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSchemaVersions", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListSchemaVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListSchemaVersionsRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListSchemaVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListSchemaVersions", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSchemaVersions", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListSchemaVersions" }, + "description": "ListSchemaVersions list the schema versions for the given schema id.\nThe response will be an array of subject-version pairs as: \n[{\"subject\": \"subject1\", \"version\": 1}, {\"subject\": \"subject2\", \"version\": 2}].", + "file": "ManagedSchemaRegistryClient/ListSchemaVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSchemaVersions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListSchemaVersions Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSubjects_sync", - "title": "managedkafka ListSubjects Sample", - "description": "ListSubjects list subjects in the schema registry.\nThe response will be an array of subject names.", - "file": "ManagedSchemaRegistryClient/ListSubjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubjects", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListSubjects", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSubjects", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListSubjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListSubjectsRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListSubjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListSubjects", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSubjects", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListSubjects" }, + "description": "ListSubjects list subjects in the schema registry.\nThe response will be an array of subject names.", + "file": "ManagedSchemaRegistryClient/ListSubjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSubjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListSubjects Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSubjectsBySchemaId_sync", - "title": "managedkafka ListSubjectsBySchemaId Sample", - "description": "ListSubjectsBySchemaId list subjects which reference a particular schema id.\nThe response will be an array of subject names.", - "file": "ManagedSchemaRegistryClient/ListSubjectsBySchemaId/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubjectsBySchemaId", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListSubjectsBySchemaId", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSubjectsBySchemaId", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListSubjectsBySchemaId" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListSubjectsBySchemaIdRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListSubjectsBySchemaIdRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListSubjectsBySchemaId", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListSubjectsBySchemaId", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListSubjectsBySchemaId" }, + "description": "ListSubjectsBySchemaId list subjects which reference a particular schema id.\nThe response will be an array of subject names.", + "file": "ManagedSchemaRegistryClient/ListSubjectsBySchemaId/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListSubjectsBySchemaId_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListSubjectsBySchemaId Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListVersions_sync", - "title": "managedkafka ListVersions Sample", - "description": "ListVersions get all versions of a subject.\nThe response will be an array of versions of the subject.", - "file": "ManagedSchemaRegistryClient/ListVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVersions", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.ListVersions", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListVersions", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "ListVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.ListVersionsRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.ListVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.ListVersions", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "ListVersions" }, + "description": "ListVersions get all versions of a subject.\nThe response will be an array of versions of the subject.", + "file": "ManagedSchemaRegistryClient/ListVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_ListVersions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka ListVersions Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_LookupVersion_sync", - "title": "managedkafka LookupVersion Sample", - "description": "LookupVersion lookup a schema under the specified subject.", - "file": "ManagedSchemaRegistryClient/LookupVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupVersion", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.LookupVersion", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.LookupVersion", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "LookupVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.LookupVersionRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.LookupVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaVersion", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "LookupVersion", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.LookupVersion", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "LookupVersion" }, + "description": "LookupVersion lookup a schema under the specified subject.", + "file": "ManagedSchemaRegistryClient/LookupVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_LookupVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka LookupVersion Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_UpdateSchemaConfig_sync", - "title": "managedkafka UpdateSchemaConfig Sample", - "description": "UpdateSchemaConfig update config at global level or for a subject.\nCreates a SchemaSubject-level SchemaConfig if it does not exist.", - "file": "ManagedSchemaRegistryClient/UpdateSchemaConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchemaConfig", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.UpdateSchemaConfig", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.UpdateSchemaConfig", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "UpdateSchemaConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.UpdateSchemaConfigRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.UpdateSchemaConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaConfig", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "UpdateSchemaConfig", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.UpdateSchemaConfig", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "UpdateSchemaConfig" }, + "description": "UpdateSchemaConfig update config at global level or for a subject.\nCreates a SchemaSubject-level SchemaConfig if it does not exist.", + "file": "ManagedSchemaRegistryClient/UpdateSchemaConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_UpdateSchemaConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateSchemaConfig Sample" }, { - "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_UpdateSchemaMode_sync", - "title": "managedkafka UpdateSchemaMode Sample", - "description": "UpdateSchemaMode update mode at global level or for a subject.", - "file": "ManagedSchemaRegistryClient/UpdateSchemaMode/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSchemaMode", + "client": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient", + "shortName": "ManagedSchemaRegistryClient" + }, "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient.UpdateSchemaMode", + "method": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.UpdateSchemaMode", + "service": { + "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry", + "shortName": "ManagedSchemaRegistry" + }, + "shortName": "UpdateSchemaMode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schemaregistrypb.UpdateSchemaModeRequest", - "name": "req" + "name": "req", + "type": "schemaregistrypb.UpdateSchemaModeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schemaregistrypb.SchemaMode", - "client": { - "shortName": "ManagedSchemaRegistryClient", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistryClient" - }, - "method": { - "shortName": "UpdateSchemaMode", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry.UpdateSchemaMode", - "service": { - "shortName": "ManagedSchemaRegistry", - "fullName": "google.cloud.managedkafka.schemaregistry.v1.ManagedSchemaRegistry" - } - } + "shortName": "UpdateSchemaMode" }, + "description": "UpdateSchemaMode update mode at global level or for a subject.", + "file": "ManagedSchemaRegistryClient/UpdateSchemaMode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "managedkafka_v1_generated_ManagedSchemaRegistry_UpdateSchemaMode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "managedkafka UpdateSchemaMode Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json index 490cec9a91b3..9ef7411afa49 100644 --- a/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json +++ b/internal/generated/snippets/maps/addressvalidation/apiv1/snippet_metadata.google.maps.addressvalidation.v1.json @@ -1,107 +1,107 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/addressvalidation/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.maps.addressvalidation.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/addressvalidation/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "addressvalidation_v1_generated_AddressValidation_ProvideValidationFeedback_sync", - "title": "addressvalidation ProvideValidationFeedback Sample", - "description": "ProvideValidationFeedback feedback about the outcome of the sequence of validation attempts. This\nshould be the last call made after a sequence of validation calls for the\nsame address, and should be called once the transaction is concluded. This\nshould only be sent once for the sequence of `ValidateAddress` requests\nneeded to validate an address fully.", - "file": "Client/ProvideValidationFeedback/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProvideValidationFeedback", + "client": { + "fullName": "google.maps.addressvalidation.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.addressvalidation.v1.Client.ProvideValidationFeedback", + "method": { + "fullName": "google.maps.addressvalidation.v1.AddressValidation.ProvideValidationFeedback", + "service": { + "fullName": "google.maps.addressvalidation.v1.AddressValidation", + "shortName": "AddressValidation" + }, + "shortName": "ProvideValidationFeedback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "addressvalidationpb.ProvideValidationFeedbackRequest", - "name": "req" + "name": "req", + "type": "addressvalidationpb.ProvideValidationFeedbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*addressvalidationpb.ProvideValidationFeedbackResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.addressvalidation.v1.Client" - }, - "method": { - "shortName": "ProvideValidationFeedback", - "fullName": "google.maps.addressvalidation.v1.AddressValidation.ProvideValidationFeedback", - "service": { - "shortName": "AddressValidation", - "fullName": "google.maps.addressvalidation.v1.AddressValidation" - } - } + "shortName": "ProvideValidationFeedback" }, + "description": "ProvideValidationFeedback feedback about the outcome of the sequence of validation attempts. This\nshould be the last call made after a sequence of validation calls for the\nsame address, and should be called once the transaction is concluded. This\nshould only be sent once for the sequence of `ValidateAddress` requests\nneeded to validate an address fully.", + "file": "Client/ProvideValidationFeedback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "addressvalidation_v1_generated_AddressValidation_ProvideValidationFeedback_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "addressvalidation ProvideValidationFeedback Sample" }, { - "regionTag": "addressvalidation_v1_generated_AddressValidation_ValidateAddress_sync", - "title": "addressvalidation ValidateAddress Sample", - "description": "ValidateAddress validates an address.", - "file": "Client/ValidateAddress/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateAddress", + "client": { + "fullName": "google.maps.addressvalidation.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.addressvalidation.v1.Client.ValidateAddress", + "method": { + "fullName": "google.maps.addressvalidation.v1.AddressValidation.ValidateAddress", + "service": { + "fullName": "google.maps.addressvalidation.v1.AddressValidation", + "shortName": "AddressValidation" + }, + "shortName": "ValidateAddress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "addressvalidationpb.ValidateAddressRequest", - "name": "req" + "name": "req", + "type": "addressvalidationpb.ValidateAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*addressvalidationpb.ValidateAddressResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.addressvalidation.v1.Client" - }, - "method": { - "shortName": "ValidateAddress", - "fullName": "google.maps.addressvalidation.v1.AddressValidation.ValidateAddress", - "service": { - "shortName": "AddressValidation", - "fullName": "google.maps.addressvalidation.v1.AddressValidation" - } - } + "shortName": "ValidateAddress" }, + "description": "ValidateAddress validates an address.", + "file": "Client/ValidateAddress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "addressvalidation_v1_generated_AddressValidation_ValidateAddress_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "addressvalidation ValidateAddress Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json b/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json index 4417eea3aa57..297da24a5685 100644 --- a/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json +++ b/internal/generated/snippets/maps/areainsights/apiv1/snippet_metadata.google.maps.areainsights.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/areainsights/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.maps.areainsights.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/areainsights/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "areainsights_v1_generated_AreaInsights_ComputeInsights_sync", - "title": "areainsights ComputeInsights Sample", - "description": "ComputeInsights this method lets you retrieve insights about areas using a variety of\nfilter such as: area, place type, operating status, price level\nand ratings. Currently \"count\" and \"places\" insights are supported. With\n\"count\" insights you can answer questions such as \"How many restaurant are\nlocated in California that are operational, are inexpensive and have an\naverage rating of at least 4 stars\" (see `insight` enum for more details).\nWith \"places\" insights, you can determine which places match the\nrequested filter. Clients can then use those place resource names to fetch\nmore details about each individual place using the Places API.", - "file": "Client/ComputeInsights/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeInsights", + "client": { + "fullName": "google.maps.areainsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.areainsights.v1.Client.ComputeInsights", + "method": { + "fullName": "google.maps.areainsights.v1.AreaInsights.ComputeInsights", + "service": { + "fullName": "google.maps.areainsights.v1.AreaInsights", + "shortName": "AreaInsights" + }, + "shortName": "ComputeInsights" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "areainsightspb.ComputeInsightsRequest", - "name": "req" + "name": "req", + "type": "areainsightspb.ComputeInsightsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*areainsightspb.ComputeInsightsResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.areainsights.v1.Client" - }, - "method": { - "shortName": "ComputeInsights", - "fullName": "google.maps.areainsights.v1.AreaInsights.ComputeInsights", - "service": { - "shortName": "AreaInsights", - "fullName": "google.maps.areainsights.v1.AreaInsights" - } - } + "shortName": "ComputeInsights" }, + "description": "ComputeInsights this method lets you retrieve insights about areas using a variety of\nfilter such as: area, place type, operating status, price level\nand ratings. Currently \"count\" and \"places\" insights are supported. With\n\"count\" insights you can answer questions such as \"How many restaurant are\nlocated in California that are operational, are inexpensive and have an\naverage rating of at least 4 stars\" (see `insight` enum for more details).\nWith \"places\" insights, you can determine which places match the\nrequested filter. Clients can then use those place resource names to fetch\nmore details about each individual place using the Places API.", + "file": "Client/ComputeInsights/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "areainsights_v1_generated_AreaInsights_ComputeInsights_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "areainsights ComputeInsights Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json b/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json index 04234832d9e9..4d618a1beed1 100644 --- a/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json +++ b/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json @@ -1,610 +1,610 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/fleetengine/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "maps.fleetengine.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/fleetengine/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "fleetengine_v1_generated_TripService_CreateTrip_sync", - "title": "fleetengine CreateTrip Sample", - "description": "CreateTrip creates a trip in the Fleet Engine and returns the new trip.", - "file": "TripClient/CreateTrip/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTrip", + "client": { + "fullName": "maps.fleetengine.v1.TripClient", + "shortName": "TripClient" + }, "fullName": "maps.fleetengine.v1.TripClient.CreateTrip", + "method": { + "fullName": "maps.fleetengine.v1.TripService.CreateTrip", + "service": { + "fullName": "maps.fleetengine.v1.TripService", + "shortName": "TripService" + }, + "shortName": "CreateTrip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.CreateTripRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.CreateTripRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.Trip", - "client": { - "shortName": "TripClient", - "fullName": "maps.fleetengine.v1.TripClient" - }, - "method": { - "shortName": "CreateTrip", - "fullName": "maps.fleetengine.v1.TripService.CreateTrip", - "service": { - "shortName": "TripService", - "fullName": "maps.fleetengine.v1.TripService" - } - } + "shortName": "CreateTrip" }, + "description": "CreateTrip creates a trip in the Fleet Engine and returns the new trip.", + "file": "TripClient/CreateTrip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_TripService_CreateTrip_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine CreateTrip Sample" }, { - "regionTag": "fleetengine_v1_generated_TripService_DeleteTrip_sync", - "title": "fleetengine DeleteTrip Sample", - "description": "DeleteTrip deletes a single Trip.\n\nReturns FAILED_PRECONDITION if the Trip is active and assigned to a\nvehicle.", - "file": "TripClient/DeleteTrip/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTrip", + "client": { + "fullName": "maps.fleetengine.v1.TripClient", + "shortName": "TripClient" + }, "fullName": "maps.fleetengine.v1.TripClient.DeleteTrip", + "method": { + "fullName": "maps.fleetengine.v1.TripService.DeleteTrip", + "service": { + "fullName": "maps.fleetengine.v1.TripService", + "shortName": "TripService" + }, + "shortName": "DeleteTrip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.DeleteTripRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.DeleteTripRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TripClient", - "fullName": "maps.fleetengine.v1.TripClient" - }, - "method": { - "shortName": "DeleteTrip", - "fullName": "maps.fleetengine.v1.TripService.DeleteTrip", - "service": { - "shortName": "TripService", - "fullName": "maps.fleetengine.v1.TripService" - } - } + "shortName": "DeleteTrip" }, + "description": "DeleteTrip deletes a single Trip.\n\nReturns FAILED_PRECONDITION if the Trip is active and assigned to a\nvehicle.", + "file": "TripClient/DeleteTrip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_TripService_DeleteTrip_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine DeleteTrip Sample" }, { - "regionTag": "fleetengine_v1_generated_TripService_GetTrip_sync", - "title": "fleetengine GetTrip Sample", - "description": "GetTrip get information about a single trip.", - "file": "TripClient/GetTrip/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrip", + "client": { + "fullName": "maps.fleetengine.v1.TripClient", + "shortName": "TripClient" + }, "fullName": "maps.fleetengine.v1.TripClient.GetTrip", + "method": { + "fullName": "maps.fleetengine.v1.TripService.GetTrip", + "service": { + "fullName": "maps.fleetengine.v1.TripService", + "shortName": "TripService" + }, + "shortName": "GetTrip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.GetTripRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.GetTripRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.Trip", - "client": { - "shortName": "TripClient", - "fullName": "maps.fleetengine.v1.TripClient" - }, - "method": { - "shortName": "GetTrip", - "fullName": "maps.fleetengine.v1.TripService.GetTrip", - "service": { - "shortName": "TripService", - "fullName": "maps.fleetengine.v1.TripService" - } - } + "shortName": "GetTrip" }, + "description": "GetTrip get information about a single trip.", + "file": "TripClient/GetTrip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_TripService_GetTrip_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine GetTrip Sample" }, { - "regionTag": "fleetengine_v1_generated_TripService_ReportBillableTrip_sync", - "title": "fleetengine ReportBillableTrip Sample", - "description": "ReportBillableTrip report billable trip usage.", - "file": "TripClient/ReportBillableTrip/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportBillableTrip", + "client": { + "fullName": "maps.fleetengine.v1.TripClient", + "shortName": "TripClient" + }, "fullName": "maps.fleetengine.v1.TripClient.ReportBillableTrip", + "method": { + "fullName": "maps.fleetengine.v1.TripService.ReportBillableTrip", + "service": { + "fullName": "maps.fleetengine.v1.TripService", + "shortName": "TripService" + }, + "shortName": "ReportBillableTrip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.ReportBillableTripRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.ReportBillableTripRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TripClient", - "fullName": "maps.fleetengine.v1.TripClient" - }, - "method": { - "shortName": "ReportBillableTrip", - "fullName": "maps.fleetengine.v1.TripService.ReportBillableTrip", - "service": { - "shortName": "TripService", - "fullName": "maps.fleetengine.v1.TripService" - } - } + "shortName": "ReportBillableTrip" }, + "description": "ReportBillableTrip report billable trip usage.", + "file": "TripClient/ReportBillableTrip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_TripService_ReportBillableTrip_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine ReportBillableTrip Sample" }, { - "regionTag": "fleetengine_v1_generated_TripService_SearchTrips_sync", - "title": "fleetengine SearchTrips Sample", - "description": "SearchTrips get all the trips for a specific vehicle.", - "file": "TripClient/SearchTrips/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchTrips", + "client": { + "fullName": "maps.fleetengine.v1.TripClient", + "shortName": "TripClient" + }, "fullName": "maps.fleetengine.v1.TripClient.SearchTrips", + "method": { + "fullName": "maps.fleetengine.v1.TripService.SearchTrips", + "service": { + "fullName": "maps.fleetengine.v1.TripService", + "shortName": "TripService" + }, + "shortName": "SearchTrips" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.SearchTripsRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.SearchTripsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TripIterator", - "client": { - "shortName": "TripClient", - "fullName": "maps.fleetengine.v1.TripClient" - }, - "method": { - "shortName": "SearchTrips", - "fullName": "maps.fleetengine.v1.TripService.SearchTrips", - "service": { - "shortName": "TripService", - "fullName": "maps.fleetengine.v1.TripService" - } - } + "shortName": "SearchTrips" }, + "description": "SearchTrips get all the trips for a specific vehicle.", + "file": "TripClient/SearchTrips/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_TripService_SearchTrips_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine SearchTrips Sample" }, { - "regionTag": "fleetengine_v1_generated_TripService_UpdateTrip_sync", - "title": "fleetengine UpdateTrip Sample", - "description": "UpdateTrip updates trip data.", - "file": "TripClient/UpdateTrip/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTrip", + "client": { + "fullName": "maps.fleetengine.v1.TripClient", + "shortName": "TripClient" + }, "fullName": "maps.fleetengine.v1.TripClient.UpdateTrip", + "method": { + "fullName": "maps.fleetengine.v1.TripService.UpdateTrip", + "service": { + "fullName": "maps.fleetengine.v1.TripService", + "shortName": "TripService" + }, + "shortName": "UpdateTrip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.UpdateTripRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.UpdateTripRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.Trip", - "client": { - "shortName": "TripClient", - "fullName": "maps.fleetengine.v1.TripClient" - }, - "method": { - "shortName": "UpdateTrip", - "fullName": "maps.fleetengine.v1.TripService.UpdateTrip", - "service": { - "shortName": "TripService", - "fullName": "maps.fleetengine.v1.TripService" - } - } + "shortName": "UpdateTrip" }, + "description": "UpdateTrip updates trip data.", + "file": "TripClient/UpdateTrip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_TripService_UpdateTrip_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine UpdateTrip Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_CreateVehicle_sync", - "title": "fleetengine CreateVehicle Sample", - "description": "CreateVehicle instantiates a new vehicle associated with an on-demand rideshare or\ndeliveries provider. Each `Vehicle` must have a unique vehicle ID.\n\nThe following `Vehicle` fields are required when creating a `Vehicle`: \n\n* `vehicleState`\n* `supportedTripTypes`\n* `maximumCapacity`\n* `vehicleType`\n\nThe following `Vehicle` fields are ignored when creating a `Vehicle`: \n\n* `name`\n* `currentTrips`\n* `availableCapacity`\n* `current_route_segment`\n* `current_route_segment_end_point`\n* `current_route_segment_version`\n* `current_route_segment_traffic`\n* `route`\n* `waypoints`\n* `waypoints_version`\n* `remaining_distance_meters`\n* `remaining_time_seconds`\n* `eta_to_next_waypoint`\n* `navigation_status`\n\nAll other fields are optional and used if provided.", - "file": "VehicleClient/CreateVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVehicle", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.CreateVehicle", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.CreateVehicle", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "CreateVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.CreateVehicleRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.CreateVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.Vehicle", - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "CreateVehicle", - "fullName": "maps.fleetengine.v1.VehicleService.CreateVehicle", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "CreateVehicle" }, + "description": "CreateVehicle instantiates a new vehicle associated with an on-demand rideshare or\ndeliveries provider. Each `Vehicle` must have a unique vehicle ID.\n\nThe following `Vehicle` fields are required when creating a `Vehicle`: \n\n* `vehicleState`\n* `supportedTripTypes`\n* `maximumCapacity`\n* `vehicleType`\n\nThe following `Vehicle` fields are ignored when creating a `Vehicle`: \n\n* `name`\n* `currentTrips`\n* `availableCapacity`\n* `current_route_segment`\n* `current_route_segment_end_point`\n* `current_route_segment_version`\n* `current_route_segment_traffic`\n* `route`\n* `waypoints`\n* `waypoints_version`\n* `remaining_distance_meters`\n* `remaining_time_seconds`\n* `eta_to_next_waypoint`\n* `navigation_status`\n\nAll other fields are optional and used if provided.", + "file": "VehicleClient/CreateVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_CreateVehicle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine CreateVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_DeleteVehicle_sync", - "title": "fleetengine DeleteVehicle Sample", - "description": "DeleteVehicle deletes a Vehicle from the Fleet Engine.\n\nReturns FAILED_PRECONDITION if the Vehicle has active Trips.\nassigned to it.", - "file": "VehicleClient/DeleteVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVehicle", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.DeleteVehicle", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.DeleteVehicle", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "DeleteVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.DeleteVehicleRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.DeleteVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "DeleteVehicle", - "fullName": "maps.fleetengine.v1.VehicleService.DeleteVehicle", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "DeleteVehicle" }, + "description": "DeleteVehicle deletes a Vehicle from the Fleet Engine.\n\nReturns FAILED_PRECONDITION if the Vehicle has active Trips.\nassigned to it.", + "file": "VehicleClient/DeleteVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_DeleteVehicle_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine DeleteVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_GetVehicle_sync", - "title": "fleetengine GetVehicle Sample", - "description": "GetVehicle returns a vehicle from the Fleet Engine.", - "file": "VehicleClient/GetVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVehicle", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.GetVehicle", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.GetVehicle", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "GetVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.GetVehicleRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.GetVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.Vehicle", - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "GetVehicle", - "fullName": "maps.fleetengine.v1.VehicleService.GetVehicle", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "GetVehicle" }, + "description": "GetVehicle returns a vehicle from the Fleet Engine.", + "file": "VehicleClient/GetVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_GetVehicle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine GetVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_ListVehicles_sync", - "title": "fleetengine ListVehicles Sample", - "description": "ListVehicles returns a paginated list of vehicles associated with\na provider that match the request options.", - "file": "VehicleClient/ListVehicles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVehicles", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.ListVehicles", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.ListVehicles", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "ListVehicles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.ListVehiclesRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.ListVehiclesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VehicleIterator", - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "ListVehicles", - "fullName": "maps.fleetengine.v1.VehicleService.ListVehicles", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "ListVehicles" }, + "description": "ListVehicles returns a paginated list of vehicles associated with\na provider that match the request options.", + "file": "VehicleClient/ListVehicles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_ListVehicles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine ListVehicles Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_SearchVehicles_sync", - "title": "fleetengine SearchVehicles Sample", - "description": "SearchVehicles returns a list of vehicles that match the request options.", - "file": "VehicleClient/SearchVehicles/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchVehicles", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.SearchVehicles", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.SearchVehicles", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "SearchVehicles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.SearchVehiclesRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.SearchVehiclesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.SearchVehiclesResponse", - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "SearchVehicles", - "fullName": "maps.fleetengine.v1.VehicleService.SearchVehicles", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "SearchVehicles" }, + "description": "SearchVehicles returns a list of vehicles that match the request options.", + "file": "VehicleClient/SearchVehicles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_SearchVehicles_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine SearchVehicles Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_UpdateVehicle_sync", - "title": "fleetengine UpdateVehicle Sample", - "description": "UpdateVehicle writes updated vehicle data to the Fleet Engine.\n\nWhen updating a `Vehicle`, the following fields cannot be updated since\nthey are managed by the server: \n\n* `currentTrips`\n* `availableCapacity`\n* `current_route_segment_version`\n* `waypoints_version`\n\nThe vehicle `name` also cannot be updated.\n\nIf the `attributes` field is updated, **all** the vehicle's attributes are\nreplaced with the attributes provided in the request. If you want to update\nonly some attributes, see the `UpdateVehicleAttributes` method. Likewise,\nthe `waypoints` field can be updated, but must contain all the waypoints\ncurrently on the vehicle, and no other waypoints.", - "file": "VehicleClient/UpdateVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVehicle", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.UpdateVehicle", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.UpdateVehicle", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "UpdateVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.UpdateVehicleRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.UpdateVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.Vehicle", - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "UpdateVehicle", - "fullName": "maps.fleetengine.v1.VehicleService.UpdateVehicle", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "UpdateVehicle" }, + "description": "UpdateVehicle writes updated vehicle data to the Fleet Engine.\n\nWhen updating a `Vehicle`, the following fields cannot be updated since\nthey are managed by the server: \n\n* `currentTrips`\n* `availableCapacity`\n* `current_route_segment_version`\n* `waypoints_version`\n\nThe vehicle `name` also cannot be updated.\n\nIf the `attributes` field is updated, **all** the vehicle's attributes are\nreplaced with the attributes provided in the request. If you want to update\nonly some attributes, see the `UpdateVehicleAttributes` method. Likewise,\nthe `waypoints` field can be updated, but must contain all the waypoints\ncurrently on the vehicle, and no other waypoints.", + "file": "VehicleClient/UpdateVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_UpdateVehicle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine UpdateVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_VehicleService_UpdateVehicleAttributes_sync", - "title": "fleetengine UpdateVehicleAttributes Sample", - "description": "UpdateVehicleAttributes partially updates a vehicle's attributes.\nOnly the attributes mentioned in the request will be updated, other\nattributes will NOT be altered. Note: this is different in `UpdateVehicle`,\nwhere the whole `attributes` field will be replaced by the one in\n`UpdateVehicleRequest`, attributes not in the request would be removed.", - "file": "VehicleClient/UpdateVehicleAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVehicleAttributes", + "client": { + "fullName": "maps.fleetengine.v1.VehicleClient", + "shortName": "VehicleClient" + }, "fullName": "maps.fleetengine.v1.VehicleClient.UpdateVehicleAttributes", + "method": { + "fullName": "maps.fleetengine.v1.VehicleService.UpdateVehicleAttributes", + "service": { + "fullName": "maps.fleetengine.v1.VehicleService", + "shortName": "VehicleService" + }, + "shortName": "UpdateVehicleAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "fleetenginepb.UpdateVehicleAttributesRequest", - "name": "req" + "name": "req", + "type": "fleetenginepb.UpdateVehicleAttributesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*fleetenginepb.UpdateVehicleAttributesResponse", - "client": { - "shortName": "VehicleClient", - "fullName": "maps.fleetengine.v1.VehicleClient" - }, - "method": { - "shortName": "UpdateVehicleAttributes", - "fullName": "maps.fleetengine.v1.VehicleService.UpdateVehicleAttributes", - "service": { - "shortName": "VehicleService", - "fullName": "maps.fleetengine.v1.VehicleService" - } - } + "shortName": "UpdateVehicleAttributes" }, + "description": "UpdateVehicleAttributes partially updates a vehicle's attributes.\nOnly the attributes mentioned in the request will be updated, other\nattributes will NOT be altered. Note: this is different in `UpdateVehicle`,\nwhere the whole `attributes` field will be replaced by the one in\n`UpdateVehicleRequest`, attributes not in the request would be removed.", + "file": "VehicleClient/UpdateVehicleAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_VehicleService_UpdateVehicleAttributes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine UpdateVehicleAttributes Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json index 0e168d56fe56..57694a23b241 100644 --- a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json +++ b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json @@ -1,565 +1,565 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/fleetengine/delivery/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "maps.fleetengine.delivery.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/fleetengine/delivery/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "fleetengine_v1_generated_DeliveryService_BatchCreateTasks_sync", - "title": "fleetengine BatchCreateTasks Sample", - "description": "BatchCreateTasks creates and returns a batch of new `Task` objects.", - "file": "Client/BatchCreateTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateTasks", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.BatchCreateTasks", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.BatchCreateTasks", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "BatchCreateTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.BatchCreateTasksRequest", - "name": "req" + "name": "req", + "type": "deliverypb.BatchCreateTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.BatchCreateTasksResponse", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "BatchCreateTasks", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.BatchCreateTasks", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "BatchCreateTasks" }, + "description": "BatchCreateTasks creates and returns a batch of new `Task` objects.", + "file": "Client/BatchCreateTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_BatchCreateTasks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine BatchCreateTasks Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_CreateDeliveryVehicle_sync", - "title": "fleetengine CreateDeliveryVehicle Sample", - "description": "CreateDeliveryVehicle creates and returns a new `DeliveryVehicle`.", - "file": "Client/CreateDeliveryVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeliveryVehicle", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.CreateDeliveryVehicle", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.CreateDeliveryVehicle", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "CreateDeliveryVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.CreateDeliveryVehicleRequest", - "name": "req" + "name": "req", + "type": "deliverypb.CreateDeliveryVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.DeliveryVehicle", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "CreateDeliveryVehicle", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.CreateDeliveryVehicle", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "CreateDeliveryVehicle" }, + "description": "CreateDeliveryVehicle creates and returns a new `DeliveryVehicle`.", + "file": "Client/CreateDeliveryVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_CreateDeliveryVehicle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine CreateDeliveryVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_CreateTask_sync", - "title": "fleetengine CreateTask Sample", - "description": "CreateTask creates and returns a new `Task` object.", - "file": "Client/CreateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTask", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.CreateTask", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.CreateTask", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "CreateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.CreateTaskRequest", - "name": "req" + "name": "req", + "type": "deliverypb.CreateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.Task", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "CreateTask", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.CreateTask", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "CreateTask" }, + "description": "CreateTask creates and returns a new `Task` object.", + "file": "Client/CreateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_CreateTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine CreateTask Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_DeleteDeliveryVehicle_sync", - "title": "fleetengine DeleteDeliveryVehicle Sample", - "description": "DeleteDeliveryVehicle deletes a DeliveryVehicle from the Fleet Engine.\n\nReturns FAILED_PRECONDITION if the DeliveryVehicle has OPEN Tasks\nassigned to it.", - "file": "Client/DeleteDeliveryVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDeliveryVehicle", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.DeleteDeliveryVehicle", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.DeleteDeliveryVehicle", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "DeleteDeliveryVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.DeleteDeliveryVehicleRequest", - "name": "req" + "name": "req", + "type": "deliverypb.DeleteDeliveryVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "DeleteDeliveryVehicle", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.DeleteDeliveryVehicle", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "DeleteDeliveryVehicle" }, + "description": "DeleteDeliveryVehicle deletes a DeliveryVehicle from the Fleet Engine.\n\nReturns FAILED_PRECONDITION if the DeliveryVehicle has OPEN Tasks\nassigned to it.", + "file": "Client/DeleteDeliveryVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_DeleteDeliveryVehicle_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine DeleteDeliveryVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_DeleteTask_sync", - "title": "fleetengine DeleteTask Sample", - "description": "DeleteTask deletes a single Task.\n\nReturns FAILED_PRECONDITION if the Task is OPEN and assigned to a\nDeliveryVehicle.", - "file": "Client/DeleteTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTask", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.DeleteTask", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.DeleteTask", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "DeleteTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.DeleteTaskRequest", - "name": "req" + "name": "req", + "type": "deliverypb.DeleteTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "DeleteTask", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.DeleteTask", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "DeleteTask" }, + "description": "DeleteTask deletes a single Task.\n\nReturns FAILED_PRECONDITION if the Task is OPEN and assigned to a\nDeliveryVehicle.", + "file": "Client/DeleteTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_DeleteTask_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine DeleteTask Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_GetDeliveryVehicle_sync", - "title": "fleetengine GetDeliveryVehicle Sample", - "description": "GetDeliveryVehicle returns the specified `DeliveryVehicle` instance.", - "file": "Client/GetDeliveryVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeliveryVehicle", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.GetDeliveryVehicle", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.GetDeliveryVehicle", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "GetDeliveryVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.GetDeliveryVehicleRequest", - "name": "req" + "name": "req", + "type": "deliverypb.GetDeliveryVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.DeliveryVehicle", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "GetDeliveryVehicle", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.GetDeliveryVehicle", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "GetDeliveryVehicle" }, + "description": "GetDeliveryVehicle returns the specified `DeliveryVehicle` instance.", + "file": "Client/GetDeliveryVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_GetDeliveryVehicle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine GetDeliveryVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_GetTask_sync", - "title": "fleetengine GetTask Sample", - "description": "GetTask gets information about a `Task`.", - "file": "Client/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.GetTask", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.GetTask", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "deliverypb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.Task", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "GetTask", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.GetTask", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "GetTask" }, + "description": "GetTask gets information about a `Task`.", + "file": "Client/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine GetTask Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_GetTaskTrackingInfo_sync", - "title": "fleetengine GetTaskTrackingInfo Sample", - "description": "GetTaskTrackingInfo returns the specified `TaskTrackingInfo` instance.", - "file": "Client/GetTaskTrackingInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTaskTrackingInfo", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.GetTaskTrackingInfo", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.GetTaskTrackingInfo", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "GetTaskTrackingInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.GetTaskTrackingInfoRequest", - "name": "req" + "name": "req", + "type": "deliverypb.GetTaskTrackingInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.TaskTrackingInfo", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "GetTaskTrackingInfo", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.GetTaskTrackingInfo", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "GetTaskTrackingInfo" }, + "description": "GetTaskTrackingInfo returns the specified `TaskTrackingInfo` instance.", + "file": "Client/GetTaskTrackingInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_GetTaskTrackingInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine GetTaskTrackingInfo Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_ListDeliveryVehicles_sync", - "title": "fleetengine ListDeliveryVehicles Sample", - "description": "ListDeliveryVehicles gets all `DeliveryVehicle`s that meet the specified filtering criteria.", - "file": "Client/ListDeliveryVehicles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeliveryVehicles", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.ListDeliveryVehicles", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.ListDeliveryVehicles", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "ListDeliveryVehicles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.ListDeliveryVehiclesRequest", - "name": "req" + "name": "req", + "type": "deliverypb.ListDeliveryVehiclesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeliveryVehicleIterator", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "ListDeliveryVehicles", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.ListDeliveryVehicles", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "ListDeliveryVehicles" }, + "description": "ListDeliveryVehicles gets all `DeliveryVehicle`s that meet the specified filtering criteria.", + "file": "Client/ListDeliveryVehicles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_ListDeliveryVehicles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine ListDeliveryVehicles Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_ListTasks_sync", - "title": "fleetengine ListTasks Sample", - "description": "ListTasks gets all `Task`s that meet the specified filtering criteria.", - "file": "Client/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.ListTasks", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.ListTasks", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "deliverypb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "ListTasks", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.ListTasks", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks gets all `Task`s that meet the specified filtering criteria.", + "file": "Client/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine ListTasks Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_UpdateDeliveryVehicle_sync", - "title": "fleetengine UpdateDeliveryVehicle Sample", - "description": "UpdateDeliveryVehicle writes updated `DeliveryVehicle` data to Fleet Engine, and assigns\n`Tasks` to the `DeliveryVehicle`. You cannot update the name of the\n`DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,\nbut it must contain all of the `VehicleJourneySegment`s to be persisted on\nthe `DeliveryVehicle`. The `task_id`s are retrieved from\n`remaining_vehicle_journey_segments`, and their corresponding `Tasks` are\nassigned to the `DeliveryVehicle` if they have not yet been assigned.", - "file": "Client/UpdateDeliveryVehicle/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeliveryVehicle", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.UpdateDeliveryVehicle", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.UpdateDeliveryVehicle", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "UpdateDeliveryVehicle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.UpdateDeliveryVehicleRequest", - "name": "req" + "name": "req", + "type": "deliverypb.UpdateDeliveryVehicleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.DeliveryVehicle", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "UpdateDeliveryVehicle", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.UpdateDeliveryVehicle", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "UpdateDeliveryVehicle" }, + "description": "UpdateDeliveryVehicle writes updated `DeliveryVehicle` data to Fleet Engine, and assigns\n`Tasks` to the `DeliveryVehicle`. You cannot update the name of the\n`DeliveryVehicle`. You *can* update `remaining_vehicle_journey_segments`,\nbut it must contain all of the `VehicleJourneySegment`s to be persisted on\nthe `DeliveryVehicle`. The `task_id`s are retrieved from\n`remaining_vehicle_journey_segments`, and their corresponding `Tasks` are\nassigned to the `DeliveryVehicle` if they have not yet been assigned.", + "file": "Client/UpdateDeliveryVehicle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_UpdateDeliveryVehicle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine UpdateDeliveryVehicle Sample" }, { - "regionTag": "fleetengine_v1_generated_DeliveryService_UpdateTask_sync", - "title": "fleetengine UpdateTask Sample", - "description": "UpdateTask updates `Task` data.", - "file": "Client/UpdateTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTask", + "client": { + "fullName": "maps.fleetengine.delivery.v1.Client", + "shortName": "Client" + }, "fullName": "maps.fleetengine.delivery.v1.Client.UpdateTask", + "method": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService.UpdateTask", + "service": { + "fullName": "maps.fleetengine.delivery.v1.DeliveryService", + "shortName": "DeliveryService" + }, + "shortName": "UpdateTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "deliverypb.UpdateTaskRequest", - "name": "req" + "name": "req", + "type": "deliverypb.UpdateTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*deliverypb.Task", - "client": { - "shortName": "Client", - "fullName": "maps.fleetengine.delivery.v1.Client" - }, - "method": { - "shortName": "UpdateTask", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService.UpdateTask", - "service": { - "shortName": "DeliveryService", - "fullName": "maps.fleetengine.delivery.v1.DeliveryService" - } - } + "shortName": "UpdateTask" }, + "description": "UpdateTask updates `Task` data.", + "file": "Client/UpdateTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "fleetengine_v1_generated_DeliveryService_UpdateTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "fleetengine UpdateTask Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json index 71c12a66c937..1d2e8ddecdb7 100644 --- a/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json +++ b/internal/generated/snippets/maps/places/apiv1/snippet_metadata.google.maps.places.v1.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/places/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.maps.places.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/places/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "places_v1_generated_Places_AutocompletePlaces_sync", - "title": "places AutocompletePlaces Sample", - "description": "AutocompletePlaces returns predictions for the given input.", - "file": "Client/AutocompletePlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "AutocompletePlaces", + "client": { + "fullName": "google.maps.places.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.places.v1.Client.AutocompletePlaces", + "method": { + "fullName": "google.maps.places.v1.Places.AutocompletePlaces", + "service": { + "fullName": "google.maps.places.v1.Places", + "shortName": "Places" + }, + "shortName": "AutocompletePlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "placespb.AutocompletePlacesRequest", - "name": "req" + "name": "req", + "type": "placespb.AutocompletePlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*placespb.AutocompletePlacesResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.places.v1.Client" - }, - "method": { - "shortName": "AutocompletePlaces", - "fullName": "google.maps.places.v1.Places.AutocompletePlaces", - "service": { - "shortName": "Places", - "fullName": "google.maps.places.v1.Places" - } - } + "shortName": "AutocompletePlaces" }, + "description": "AutocompletePlaces returns predictions for the given input.", + "file": "Client/AutocompletePlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "places_v1_generated_Places_AutocompletePlaces_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "places AutocompletePlaces Sample" }, { - "regionTag": "places_v1_generated_Places_GetPhotoMedia_sync", - "title": "places GetPhotoMedia Sample", - "description": "GetPhotoMedia get a photo media with a photo reference string.", - "file": "Client/GetPhotoMedia/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhotoMedia", + "client": { + "fullName": "google.maps.places.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.places.v1.Client.GetPhotoMedia", + "method": { + "fullName": "google.maps.places.v1.Places.GetPhotoMedia", + "service": { + "fullName": "google.maps.places.v1.Places", + "shortName": "Places" + }, + "shortName": "GetPhotoMedia" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "placespb.GetPhotoMediaRequest", - "name": "req" + "name": "req", + "type": "placespb.GetPhotoMediaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*placespb.PhotoMedia", - "client": { - "shortName": "Client", - "fullName": "google.maps.places.v1.Client" - }, - "method": { - "shortName": "GetPhotoMedia", - "fullName": "google.maps.places.v1.Places.GetPhotoMedia", - "service": { - "shortName": "Places", - "fullName": "google.maps.places.v1.Places" - } - } + "shortName": "GetPhotoMedia" }, + "description": "GetPhotoMedia get a photo media with a photo reference string.", + "file": "Client/GetPhotoMedia/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "places_v1_generated_Places_GetPhotoMedia_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "places GetPhotoMedia Sample" }, { - "regionTag": "places_v1_generated_Places_GetPlace_sync", - "title": "places GetPlace Sample", - "description": "GetPlace get the details of a place based on its resource name, which is a string\nin the `places/{place_id}` format.", - "file": "Client/GetPlace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPlace", + "client": { + "fullName": "google.maps.places.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.places.v1.Client.GetPlace", + "method": { + "fullName": "google.maps.places.v1.Places.GetPlace", + "service": { + "fullName": "google.maps.places.v1.Places", + "shortName": "Places" + }, + "shortName": "GetPlace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "placespb.GetPlaceRequest", - "name": "req" + "name": "req", + "type": "placespb.GetPlaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*placespb.Place", - "client": { - "shortName": "Client", - "fullName": "google.maps.places.v1.Client" - }, - "method": { - "shortName": "GetPlace", - "fullName": "google.maps.places.v1.Places.GetPlace", - "service": { - "shortName": "Places", - "fullName": "google.maps.places.v1.Places" - } - } + "shortName": "GetPlace" }, + "description": "GetPlace get the details of a place based on its resource name, which is a string\nin the `places/{place_id}` format.", + "file": "Client/GetPlace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "places_v1_generated_Places_GetPlace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "places GetPlace Sample" }, { - "regionTag": "places_v1_generated_Places_SearchNearby_sync", - "title": "places SearchNearby Sample", - "description": "SearchNearby search for places near locations.", - "file": "Client/SearchNearby/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchNearby", + "client": { + "fullName": "google.maps.places.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.places.v1.Client.SearchNearby", + "method": { + "fullName": "google.maps.places.v1.Places.SearchNearby", + "service": { + "fullName": "google.maps.places.v1.Places", + "shortName": "Places" + }, + "shortName": "SearchNearby" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "placespb.SearchNearbyRequest", - "name": "req" + "name": "req", + "type": "placespb.SearchNearbyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*placespb.SearchNearbyResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.places.v1.Client" - }, - "method": { - "shortName": "SearchNearby", - "fullName": "google.maps.places.v1.Places.SearchNearby", - "service": { - "shortName": "Places", - "fullName": "google.maps.places.v1.Places" - } - } + "shortName": "SearchNearby" }, + "description": "SearchNearby search for places near locations.", + "file": "Client/SearchNearby/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "places_v1_generated_Places_SearchNearby_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "places SearchNearby Sample" }, { - "regionTag": "places_v1_generated_Places_SearchText_sync", - "title": "places SearchText Sample", - "description": "SearchText text query based place search.", - "file": "Client/SearchText/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchText", + "client": { + "fullName": "google.maps.places.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.places.v1.Client.SearchText", + "method": { + "fullName": "google.maps.places.v1.Places.SearchText", + "service": { + "fullName": "google.maps.places.v1.Places", + "shortName": "Places" + }, + "shortName": "SearchText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "placespb.SearchTextRequest", - "name": "req" + "name": "req", + "type": "placespb.SearchTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*placespb.SearchTextResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.places.v1.Client" - }, - "method": { - "shortName": "SearchText", - "fullName": "google.maps.places.v1.Places.SearchText", - "service": { - "shortName": "Places", - "fullName": "google.maps.places.v1.Places" - } - } + "shortName": "SearchText" }, + "description": "SearchText text query based place search.", + "file": "Client/SearchText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "places_v1_generated_Places_SearchText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "places SearchText Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json b/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json index d94921aa69db..0c074cee09fb 100644 --- a/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json +++ b/internal/generated/snippets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/routeoptimization/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.maps.routeoptimization.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/routeoptimization/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "routeoptimization_v1_generated_RouteOptimization_BatchOptimizeTours_sync", - "title": "routeoptimization BatchOptimizeTours Sample", - "description": "BatchOptimizeTours optimizes vehicle tours for one or more `OptimizeToursRequest`\nmessages as a batch.\n\nThis method is a Long Running Operation (LRO). The inputs for optimization\n(`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`\nmessages) are read from and written to Cloud Storage in user-specified\nformat. Like the `OptimizeTours` method, each `OptimizeToursRequest`\ncontains a `ShipmentModel` and returns an `OptimizeToursResponse`\ncontaining `ShipmentRoute` fields, which are a set of routes to be\nperformed by vehicles minimizing the overall cost.\n\nThe user can poll `operations.get` to check the status of the LRO: \n\nIf the LRO `done` field is false, then at least one request is still\nbeing processed. Other requests may have completed successfully and their\nresults are available in Cloud Storage.\n\nIf the LRO's `done` field is true, then all requests have been processed.\nAny successfully processed requests will have their results available in\nCloud Storage. Any requests that failed will not have their results\navailable in Cloud Storage. If the LRO's `error` field is set, then it\ncontains the error from one of the failed requests.", - "file": "Client/BatchOptimizeTours/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchOptimizeTours", + "client": { + "fullName": "google.maps.routeoptimization.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.routeoptimization.v1.Client.BatchOptimizeTours", + "method": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization.BatchOptimizeTours", + "service": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization", + "shortName": "RouteOptimization" + }, + "shortName": "BatchOptimizeTours" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "routeoptimizationpb.BatchOptimizeToursRequest", - "name": "req" + "name": "req", + "type": "routeoptimizationpb.BatchOptimizeToursRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchOptimizeToursOperation", - "client": { - "shortName": "Client", - "fullName": "google.maps.routeoptimization.v1.Client" - }, - "method": { - "shortName": "BatchOptimizeTours", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization.BatchOptimizeTours", - "service": { - "shortName": "RouteOptimization", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization" - } - } + "shortName": "BatchOptimizeTours" }, + "description": "BatchOptimizeTours optimizes vehicle tours for one or more `OptimizeToursRequest`\nmessages as a batch.\n\nThis method is a Long Running Operation (LRO). The inputs for optimization\n(`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`\nmessages) are read from and written to Cloud Storage in user-specified\nformat. Like the `OptimizeTours` method, each `OptimizeToursRequest`\ncontains a `ShipmentModel` and returns an `OptimizeToursResponse`\ncontaining `ShipmentRoute` fields, which are a set of routes to be\nperformed by vehicles minimizing the overall cost.\n\nThe user can poll `operations.get` to check the status of the LRO: \n\nIf the LRO `done` field is false, then at least one request is still\nbeing processed. Other requests may have completed successfully and their\nresults are available in Cloud Storage.\n\nIf the LRO's `done` field is true, then all requests have been processed.\nAny successfully processed requests will have their results available in\nCloud Storage. Any requests that failed will not have their results\navailable in Cloud Storage. If the LRO's `error` field is set, then it\ncontains the error from one of the failed requests.", + "file": "Client/BatchOptimizeTours/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "routeoptimization_v1_generated_RouteOptimization_BatchOptimizeTours_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "routeoptimization BatchOptimizeTours Sample" }, { - "regionTag": "routeoptimization_v1_generated_RouteOptimization_GetOperation_sync", - "title": "routeoptimization GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.maps.routeoptimization.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.routeoptimization.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.maps.routeoptimization.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "routeoptimization_v1_generated_RouteOptimization_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "routeoptimization GetOperation Sample" }, { - "regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeTours_sync", - "title": "routeoptimization OptimizeTours Sample", - "description": "OptimizeTours sends an `OptimizeToursRequest` containing a `ShipmentModel` and returns an\n`OptimizeToursResponse` containing `ShipmentRoute`s, which are a set of\nroutes to be performed by vehicles minimizing the overall cost.\n\nA `ShipmentModel` model consists mainly of `Shipment`s that need to be\ncarried out and `Vehicle`s that can be used to transport the `Shipment`s.\nThe `ShipmentRoute`s assign `Shipment`s to `Vehicle`s. More specifically,\nthey assign a series of `Visit`s to each vehicle, where a `Visit`\ncorresponds to a `VisitRequest`, which is a pickup or delivery for a\n`Shipment`.\n\nThe goal is to provide an assignment of `ShipmentRoute`s to `Vehicle`s that\nminimizes the total cost where cost has many components defined in the\n`ShipmentModel`.", - "file": "Client/OptimizeTours/main.go", - "language": "GO", "clientMethod": { - "shortName": "OptimizeTours", + "client": { + "fullName": "google.maps.routeoptimization.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.routeoptimization.v1.Client.OptimizeTours", + "method": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours", + "service": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization", + "shortName": "RouteOptimization" + }, + "shortName": "OptimizeTours" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "routeoptimizationpb.OptimizeToursRequest", - "name": "req" + "name": "req", + "type": "routeoptimizationpb.OptimizeToursRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*routeoptimizationpb.OptimizeToursResponse", - "client": { - "shortName": "Client", - "fullName": "google.maps.routeoptimization.v1.Client" - }, - "method": { - "shortName": "OptimizeTours", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours", - "service": { - "shortName": "RouteOptimization", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization" - } - } + "shortName": "OptimizeTours" }, + "description": "OptimizeTours sends an `OptimizeToursRequest` containing a `ShipmentModel` and returns an\n`OptimizeToursResponse` containing `ShipmentRoute`s, which are a set of\nroutes to be performed by vehicles minimizing the overall cost.\n\nA `ShipmentModel` model consists mainly of `Shipment`s that need to be\ncarried out and `Vehicle`s that can be used to transport the `Shipment`s.\nThe `ShipmentRoute`s assign `Shipment`s to `Vehicle`s. More specifically,\nthey assign a series of `Visit`s to each vehicle, where a `Visit`\ncorresponds to a `VisitRequest`, which is a pickup or delivery for a\n`Shipment`.\n\nThe goal is to provide an assignment of `ShipmentRoute`s to `Vehicle`s that\nminimizes the total cost where cost has many components defined in the\n`ShipmentModel`.", + "file": "Client/OptimizeTours/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeTours_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "routeoptimization OptimizeTours Sample" }, { - "regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_sync", - "title": "routeoptimization OptimizeToursLongRunning Sample", - "description": "OptimizeToursLongRunning this is a variant of the\n[OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]\nmethod designed for\noptimizations with large timeout values. It should be preferred over the\n`OptimizeTours` method for optimizations that take longer than\na few minutes.\n\nThe returned [long-running operation][google.longrunning.Operation] (LRO)\nwill have a name of the format\n`/operations/` and can be used to track\nprogress of the computation. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],\nif successful.\n\nExperimental: See\nhttps: //developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request\nfor more details.", - "file": "Client/OptimizeToursLongRunning/main.go", - "language": "GO", "clientMethod": { - "shortName": "OptimizeToursLongRunning", + "client": { + "fullName": "google.maps.routeoptimization.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.routeoptimization.v1.Client.OptimizeToursLongRunning", + "method": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning", + "service": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization", + "shortName": "RouteOptimization" + }, + "shortName": "OptimizeToursLongRunning" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "routeoptimizationpb.OptimizeToursRequest", - "name": "req" + "name": "req", + "type": "routeoptimizationpb.OptimizeToursRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OptimizeToursLongRunningOperation", - "client": { - "shortName": "Client", - "fullName": "google.maps.routeoptimization.v1.Client" - }, - "method": { - "shortName": "OptimizeToursLongRunning", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning", - "service": { - "shortName": "RouteOptimization", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization" - } - } + "shortName": "OptimizeToursLongRunning" }, + "description": "OptimizeToursLongRunning this is a variant of the\n[OptimizeTours][google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours]\nmethod designed for\noptimizations with large timeout values. It should be preferred over the\n`OptimizeTours` method for optimizations that take longer than\na few minutes.\n\nThe returned [long-running operation][google.longrunning.Operation] (LRO)\nwill have a name of the format\n`/operations/` and can be used to track\nprogress of the computation. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursLongRunningMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[OptimizeToursResponse][google.maps.routeoptimization.v1.OptimizeToursResponse],\nif successful.\n\nExperimental: See\nhttps: //developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request\nfor more details.", + "file": "Client/OptimizeToursLongRunning/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeToursLongRunning_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "routeoptimization OptimizeToursLongRunning Sample" }, { - "regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_sync", - "title": "routeoptimization OptimizeToursUri Sample", - "description": "OptimizeToursUri this is a variant of the\n[OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]\nmethod designed for optimizations with large timeout values and large\ninput/output sizes.\n\nThe client specifies the URI of the `OptimizeToursRequest` stored\nin Google Cloud Storage and the server writes the `OptimizeToursResponse`\nto a client-specified Google Cloud Storage URI.\n\nThis method should be preferred over the `OptimizeTours` method for\noptimizations that take longer than a few minutes and input/output sizes\nthat are larger than 8MB, though it can be used for shorter and smaller\noptimizations as well.\n\nThe returned [long-running operation][google.longrunning.Operation] (LRO)\nwill have a name of the format\n`/operations/` and can be used to track\nprogress of the computation. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],\nif successful.\n\nExperimental: See\nhttps: //developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request\nfor more details.", - "file": "Client/OptimizeToursUri/main.go", - "language": "GO", "clientMethod": { - "shortName": "OptimizeToursUri", + "client": { + "fullName": "google.maps.routeoptimization.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.routeoptimization.v1.Client.OptimizeToursUri", + "method": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursUri", + "service": { + "fullName": "google.maps.routeoptimization.v1.RouteOptimization", + "shortName": "RouteOptimization" + }, + "shortName": "OptimizeToursUri" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "routeoptimizationpb.OptimizeToursUriRequest", - "name": "req" + "name": "req", + "type": "routeoptimizationpb.OptimizeToursUriRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OptimizeToursUriOperation", - "client": { - "shortName": "Client", - "fullName": "google.maps.routeoptimization.v1.Client" - }, - "method": { - "shortName": "OptimizeToursUri", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursUri", - "service": { - "shortName": "RouteOptimization", - "fullName": "google.maps.routeoptimization.v1.RouteOptimization" - } - } + "shortName": "OptimizeToursUri" }, + "description": "OptimizeToursUri this is a variant of the\n[OptimizeToursLongRunning][google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning]\nmethod designed for optimizations with large timeout values and large\ninput/output sizes.\n\nThe client specifies the URI of the `OptimizeToursRequest` stored\nin Google Cloud Storage and the server writes the `OptimizeToursResponse`\nto a client-specified Google Cloud Storage URI.\n\nThis method should be preferred over the `OptimizeTours` method for\noptimizations that take longer than a few minutes and input/output sizes\nthat are larger than 8MB, though it can be used for shorter and smaller\noptimizations as well.\n\nThe returned [long-running operation][google.longrunning.Operation] (LRO)\nwill have a name of the format\n`/operations/` and can be used to track\nprogress of the computation. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[OptimizeToursLongRunningMetadata][google.maps.routeoptimization.v1.OptimizeToursUriMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[OptimizeToursUriResponse][google.maps.routeoptimization.v1.OptimizeToursUriResponse],\nif successful.\n\nExperimental: See\nhttps: //developers.google.com/maps/tt/route-optimization/experimental/otlr/make-request\nfor more details.", + "file": "Client/OptimizeToursUri/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeToursUri_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "routeoptimization OptimizeToursUri Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json index 563f7f1d805b..4a9ebcf27faf 100644 --- a/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json +++ b/internal/generated/snippets/maps/routing/apiv2/snippet_metadata.google.maps.routing.v2.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/routing/apiv2", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.maps.routing.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/routing/apiv2", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "routes_v2_generated_Routes_ComputeRoutes_sync", - "title": "routes ComputeRoutes Sample", - "description": "ComputeRoutes returns the primary route along with optional alternate routes, given a set\nof terminal and intermediate waypoints.\n\n**NOTE: ** This method requires that you specify a response field mask in\nthe input. You can provide the response field mask by using URL parameter\n`$fields` or `fields`, or by using an HTTP/gRPC header `X-Goog-FieldMask`\n(see the [available URL parameters and\nheaders](https: //cloud.google.com/apis/docs/system-parameters)). The value\nis a comma separated list of field paths. See detailed documentation about\n[how to construct the field\npaths](https: //github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto).\n\nFor example, in this method: \n\n* Field mask of all available fields (for manual inspection): \n`X-Goog-FieldMask: *`\n* Field mask of Route-level duration, distance, and polyline (an example\nproduction setup): \n`X-Goog-FieldMask: \nroutes.duration,routes.distanceMeters,routes.polyline.encodedPolyline`\n\nGoogle discourage the use of the wildcard (`*`) response field mask, or\nspecifying the field mask at the top level (`routes`), because: \n\n* Selecting only the fields that you need helps our server save computation\ncycles, allowing us to return the result to you with a lower latency.\n* Selecting only the fields that you need\nin your production job ensures stable latency performance. We might add\nmore response fields in the future, and those new fields might require\nextra computation time. If you select all fields, or if you select all\nfields at the top level, then you might experience performance degradation\nbecause any new field we add will be automatically included in the\nresponse.\n* Selecting only the fields that you need results in a smaller response\nsize, and thus higher network throughput.", - "file": "RoutesClient/ComputeRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeRoutes", + "client": { + "fullName": "google.maps.routing.v2.RoutesClient", + "shortName": "RoutesClient" + }, "fullName": "google.maps.routing.v2.RoutesClient.ComputeRoutes", + "method": { + "fullName": "google.maps.routing.v2.Routes.ComputeRoutes", + "service": { + "fullName": "google.maps.routing.v2.Routes", + "shortName": "Routes" + }, + "shortName": "ComputeRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "routingpb.ComputeRoutesRequest", - "name": "req" + "name": "req", + "type": "routingpb.ComputeRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*routingpb.ComputeRoutesResponse", - "client": { - "shortName": "RoutesClient", - "fullName": "google.maps.routing.v2.RoutesClient" - }, - "method": { - "shortName": "ComputeRoutes", - "fullName": "google.maps.routing.v2.Routes.ComputeRoutes", - "service": { - "shortName": "Routes", - "fullName": "google.maps.routing.v2.Routes" - } - } + "shortName": "ComputeRoutes" }, + "description": "ComputeRoutes returns the primary route along with optional alternate routes, given a set\nof terminal and intermediate waypoints.\n\n**NOTE: ** This method requires that you specify a response field mask in\nthe input. You can provide the response field mask by using URL parameter\n`$fields` or `fields`, or by using an HTTP/gRPC header `X-Goog-FieldMask`\n(see the [available URL parameters and\nheaders](https: //cloud.google.com/apis/docs/system-parameters)). The value\nis a comma separated list of field paths. See detailed documentation about\n[how to construct the field\npaths](https: //github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto).\n\nFor example, in this method: \n\n* Field mask of all available fields (for manual inspection): \n`X-Goog-FieldMask: *`\n* Field mask of Route-level duration, distance, and polyline (an example\nproduction setup): \n`X-Goog-FieldMask: \nroutes.duration,routes.distanceMeters,routes.polyline.encodedPolyline`\n\nGoogle discourage the use of the wildcard (`*`) response field mask, or\nspecifying the field mask at the top level (`routes`), because: \n\n* Selecting only the fields that you need helps our server save computation\ncycles, allowing us to return the result to you with a lower latency.\n* Selecting only the fields that you need\nin your production job ensures stable latency performance. We might add\nmore response fields in the future, and those new fields might require\nextra computation time. If you select all fields, or if you select all\nfields at the top level, then you might experience performance degradation\nbecause any new field we add will be automatically included in the\nresponse.\n* Selecting only the fields that you need results in a smaller response\nsize, and thus higher network throughput.", + "file": "RoutesClient/ComputeRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "routes_v2_generated_Routes_ComputeRoutes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "routes ComputeRoutes Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json b/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json index c267c0ab0ad4..e4225d11be58 100644 --- a/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json +++ b/internal/generated/snippets/maps/solar/apiv1/snippet_metadata.google.maps.solar.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/maps/solar/apiv1", - "version": "1.29.0", - "language": "GO", "apis": [ { "id": "google.maps.solar.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/maps/solar/apiv1", + "version": "1.29.0" }, "snippets": [ { - "regionTag": "solar_v1_generated_Solar_FindClosestBuildingInsights_sync", - "title": "solar FindClosestBuildingInsights Sample", - "description": "FindClosestBuildingInsights locates the building whose centroid is closest to a query point. Returns an\nerror with code `NOT_FOUND` if there are no buildings within approximately\n50m of the query point.", - "file": "Client/FindClosestBuildingInsights/main.go", - "language": "GO", "clientMethod": { - "shortName": "FindClosestBuildingInsights", + "client": { + "fullName": "google.maps.solar.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.solar.v1.Client.FindClosestBuildingInsights", + "method": { + "fullName": "google.maps.solar.v1.Solar.FindClosestBuildingInsights", + "service": { + "fullName": "google.maps.solar.v1.Solar", + "shortName": "Solar" + }, + "shortName": "FindClosestBuildingInsights" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "solarpb.FindClosestBuildingInsightsRequest", - "name": "req" + "name": "req", + "type": "solarpb.FindClosestBuildingInsightsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*solarpb.BuildingInsights", - "client": { - "shortName": "Client", - "fullName": "google.maps.solar.v1.Client" - }, - "method": { - "shortName": "FindClosestBuildingInsights", - "fullName": "google.maps.solar.v1.Solar.FindClosestBuildingInsights", - "service": { - "shortName": "Solar", - "fullName": "google.maps.solar.v1.Solar" - } - } + "shortName": "FindClosestBuildingInsights" }, + "description": "FindClosestBuildingInsights locates the building whose centroid is closest to a query point. Returns an\nerror with code `NOT_FOUND` if there are no buildings within approximately\n50m of the query point.", + "file": "Client/FindClosestBuildingInsights/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "solar_v1_generated_Solar_FindClosestBuildingInsights_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "solar FindClosestBuildingInsights Sample" }, { - "regionTag": "solar_v1_generated_Solar_GetDataLayers_sync", - "title": "solar GetDataLayers Sample", - "description": "GetDataLayers gets solar information for a region surrounding a location.\nReturns an error with code `NOT_FOUND` if the location is outside\nthe coverage area.", - "file": "Client/GetDataLayers/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataLayers", + "client": { + "fullName": "google.maps.solar.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.solar.v1.Client.GetDataLayers", + "method": { + "fullName": "google.maps.solar.v1.Solar.GetDataLayers", + "service": { + "fullName": "google.maps.solar.v1.Solar", + "shortName": "Solar" + }, + "shortName": "GetDataLayers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "solarpb.GetDataLayersRequest", - "name": "req" + "name": "req", + "type": "solarpb.GetDataLayersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*solarpb.DataLayers", - "client": { - "shortName": "Client", - "fullName": "google.maps.solar.v1.Client" - }, - "method": { - "shortName": "GetDataLayers", - "fullName": "google.maps.solar.v1.Solar.GetDataLayers", - "service": { - "shortName": "Solar", - "fullName": "google.maps.solar.v1.Solar" - } - } + "shortName": "GetDataLayers" }, + "description": "GetDataLayers gets solar information for a region surrounding a location.\nReturns an error with code `NOT_FOUND` if the location is outside\nthe coverage area.", + "file": "Client/GetDataLayers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "solar_v1_generated_Solar_GetDataLayers_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "solar GetDataLayers Sample" }, { - "regionTag": "solar_v1_generated_Solar_GetGeoTiff_sync", - "title": "solar GetGeoTiff Sample", - "description": "GetGeoTiff returns an image by its ID.", - "file": "Client/GetGeoTiff/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGeoTiff", + "client": { + "fullName": "google.maps.solar.v1.Client", + "shortName": "Client" + }, "fullName": "google.maps.solar.v1.Client.GetGeoTiff", + "method": { + "fullName": "google.maps.solar.v1.Solar.GetGeoTiff", + "service": { + "fullName": "google.maps.solar.v1.Solar", + "shortName": "Solar" + }, + "shortName": "GetGeoTiff" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "solarpb.GetGeoTiffRequest", - "name": "req" + "name": "req", + "type": "solarpb.GetGeoTiffRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "Client", - "fullName": "google.maps.solar.v1.Client" - }, - "method": { - "shortName": "GetGeoTiff", - "fullName": "google.maps.solar.v1.Solar.GetGeoTiff", - "service": { - "shortName": "Solar", - "fullName": "google.maps.solar.v1.Solar" - } - } + "shortName": "GetGeoTiff" }, + "description": "GetGeoTiff returns an image by its ID.", + "file": "Client/GetGeoTiff/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "solar_v1_generated_Solar_GetGeoTiff_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "solar GetGeoTiff Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json index 161337af599c..a30b0b51c820 100644 --- a/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json +++ b/internal/generated/snippets/mediatranslation/apiv1beta1/snippet_metadata.google.cloud.mediatranslation.v1beta1.json @@ -1,57 +1,57 @@ { "clientLibrary": { - "name": "cloud.google.com/go/mediatranslation/apiv1beta1", - "version": "0.9.7", - "language": "GO", "apis": [ { "id": "google.cloud.mediatranslation.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/mediatranslation/apiv1beta1", + "version": "0.9.7" }, "snippets": [ { - "regionTag": "mediatranslation_v1beta1_generated_SpeechTranslationService_StreamingTranslateSpeech_sync", - "title": "mediatranslation StreamingTranslateSpeech Sample", - "description": "StreamingTranslateSpeech performs bidirectional streaming speech translation: receive results while\nsending audio. This method is only available via the gRPC API (not REST).", - "file": "SpeechTranslationClient/StreamingTranslateSpeech/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingTranslateSpeech", + "client": { + "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationClient", + "shortName": "SpeechTranslationClient" + }, "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationClient.StreamingTranslateSpeech", + "method": { + "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService.StreamingTranslateSpeech", + "service": { + "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService", + "shortName": "SpeechTranslationService" + }, + "shortName": "StreamingTranslateSpeech" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "mediatranslationpb.SpeechTranslationService_StreamingTranslateSpeechClient", - "client": { - "shortName": "SpeechTranslationClient", - "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationClient" - }, - "method": { - "shortName": "StreamingTranslateSpeech", - "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService.StreamingTranslateSpeech", - "service": { - "shortName": "SpeechTranslationService", - "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService" - } - } + "shortName": "StreamingTranslateSpeech" }, + "description": "StreamingTranslateSpeech performs bidirectional streaming speech translation: receive results while\nsending audio. This method is only available via the gRPC API (not REST).", + "file": "SpeechTranslationClient/StreamingTranslateSpeech/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "mediatranslation_v1beta1_generated_SpeechTranslationService_StreamingTranslateSpeech_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "mediatranslation StreamingTranslateSpeech Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json b/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json index d08df43b145a..3ee451660e6a 100644 --- a/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json +++ b/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json @@ -1,657 +1,657 @@ { "clientLibrary": { - "name": "cloud.google.com/go/memcache/apiv1", - "version": "1.11.7", - "language": "GO", "apis": [ { "id": "google.cloud.memcache.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/memcache/apiv1", + "version": "1.11.7" }, "snippets": [ { - "regionTag": "memcache_v1_generated_CloudMemcache_ApplyParameters_sync", - "title": "memcache ApplyParameters Sample", - "description": "ApplyParameters `ApplyParameters` restarts the set of specified nodes in order to update\nthem to the current set of parameters for the Memcached Instance.", - "file": "CloudMemcacheClient/ApplyParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyParameters", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.ApplyParameters", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.ApplyParameters", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "ApplyParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.ApplyParametersRequest", - "name": "req" + "name": "req", + "type": "memcachepb.ApplyParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApplyParametersOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "ApplyParameters", - "fullName": "google.cloud.memcache.v1.CloudMemcache.ApplyParameters", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "ApplyParameters" }, + "description": "ApplyParameters `ApplyParameters` restarts the set of specified nodes in order to update\nthem to the current set of parameters for the Memcached Instance.", + "file": "CloudMemcacheClient/ApplyParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_ApplyParameters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ApplyParameters Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_CancelOperation_sync", - "title": "memcache CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache CancelOperation Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_CreateInstance_sync", - "title": "memcache CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given location.", - "file": "CloudMemcacheClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.CreateInstance", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.CreateInstance", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.CreateInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given location.", + "file": "CloudMemcacheClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache CreateInstance Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_DeleteInstance_sync", - "title": "memcache DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "CloudMemcacheClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.DeleteInstance", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.DeleteInstance", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.DeleteInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "CloudMemcacheClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache DeleteInstance Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_DeleteOperation_sync", - "title": "memcache DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache DeleteOperation Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_GetInstance_sync", - "title": "memcache GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "CloudMemcacheClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.GetInstance", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.GetInstance", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memcachepb.Instance", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.GetInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "CloudMemcacheClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache GetInstance Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_GetLocation_sync", - "title": "memcache GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudMemcacheClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudMemcacheClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache GetLocation Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_GetOperation_sync", - "title": "memcache GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache GetOperation Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_ListInstances_sync", - "title": "memcache ListInstances Sample", - "description": "ListInstances lists Instances in a given location.", - "file": "CloudMemcacheClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.ListInstances", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.ListInstances", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "memcachepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.memcache.v1.CloudMemcache.ListInstances", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given location.", + "file": "CloudMemcacheClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ListInstances Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_ListLocations_sync", - "title": "memcache ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudMemcacheClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudMemcacheClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ListLocations Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_ListOperations_sync", - "title": "memcache ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ListOperations Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_RescheduleMaintenance_sync", - "title": "memcache RescheduleMaintenance Sample", - "description": "RescheduleMaintenance reschedules upcoming maintenance event.", - "file": "CloudMemcacheClient/RescheduleMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RescheduleMaintenance", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.RescheduleMaintenance", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.RescheduleMaintenance", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "RescheduleMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.RescheduleMaintenanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.RescheduleMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RescheduleMaintenanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.RescheduleMaintenance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "RescheduleMaintenance" }, + "description": "RescheduleMaintenance reschedules upcoming maintenance event.", + "file": "CloudMemcacheClient/RescheduleMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_RescheduleMaintenance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache RescheduleMaintenance Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_UpdateInstance_sync", - "title": "memcache UpdateInstance Sample", - "description": "UpdateInstance updates an existing Instance in a given project and location.", - "file": "CloudMemcacheClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.UpdateInstance", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateInstance", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates an existing Instance in a given project and location.", + "file": "CloudMemcacheClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache UpdateInstance Sample" }, { - "regionTag": "memcache_v1_generated_CloudMemcache_UpdateParameters_sync", - "title": "memcache UpdateParameters Sample", - "description": "UpdateParameters updates the defined Memcached parameters for an existing instance.\nThis method only stages the parameters, it must be followed by\n`ApplyParameters` to apply the parameters to nodes of the Memcached\ninstance.", - "file": "CloudMemcacheClient/UpdateParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateParameters", + "client": { + "fullName": "google.cloud.memcache.v1.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1.CloudMemcacheClient.UpdateParameters", + "method": { + "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateParameters", + "service": { + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "UpdateParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.UpdateParametersRequest", - "name": "req" + "name": "req", + "type": "memcachepb.UpdateParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateParametersOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1.CloudMemcacheClient" - }, - "method": { - "shortName": "UpdateParameters", - "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateParameters", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache" - } - } + "shortName": "UpdateParameters" }, + "description": "UpdateParameters updates the defined Memcached parameters for an existing instance.\nThis method only stages the parameters, it must be followed by\n`ApplyParameters` to apply the parameters to nodes of the Memcached\ninstance.", + "file": "CloudMemcacheClient/UpdateParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1_generated_CloudMemcache_UpdateParameters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache UpdateParameters Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json b/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json index 85658e619535..da7fe3afec14 100644 --- a/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json +++ b/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json @@ -1,703 +1,703 @@ { "clientLibrary": { - "name": "cloud.google.com/go/memcache/apiv1beta2", - "version": "1.11.7", - "language": "GO", "apis": [ { "id": "google.cloud.memcache.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/memcache/apiv1beta2", + "version": "1.11.7" }, "snippets": [ { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_ApplyParameters_sync", - "title": "memcache ApplyParameters Sample", - "description": "ApplyParameters `ApplyParameters` restarts the set of specified nodes in order to update\nthem to the current set of parameters for the Memcached Instance.", - "file": "CloudMemcacheClient/ApplyParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyParameters", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.ApplyParameters", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "ApplyParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.ApplyParametersRequest", - "name": "req" + "name": "req", + "type": "memcachepb.ApplyParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApplyParametersOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "ApplyParameters", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "ApplyParameters" }, + "description": "ApplyParameters `ApplyParameters` restarts the set of specified nodes in order to update\nthem to the current set of parameters for the Memcached Instance.", + "file": "CloudMemcacheClient/ApplyParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_ApplyParameters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ApplyParameters Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_ApplySoftwareUpdate_sync", - "title": "memcache ApplySoftwareUpdate Sample", - "description": "ApplySoftwareUpdate updates software on the selected nodes of the Instance.", - "file": "CloudMemcacheClient/ApplySoftwareUpdate/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplySoftwareUpdate", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.ApplySoftwareUpdate", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "ApplySoftwareUpdate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.ApplySoftwareUpdateRequest", - "name": "req" + "name": "req", + "type": "memcachepb.ApplySoftwareUpdateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApplySoftwareUpdateOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "ApplySoftwareUpdate", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "ApplySoftwareUpdate" }, + "description": "ApplySoftwareUpdate updates software on the selected nodes of the Instance.", + "file": "CloudMemcacheClient/ApplySoftwareUpdate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_ApplySoftwareUpdate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ApplySoftwareUpdate Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_CancelOperation_sync", - "title": "memcache CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache CancelOperation Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_CreateInstance_sync", - "title": "memcache CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given location.", - "file": "CloudMemcacheClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.CreateInstance", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given location.", + "file": "CloudMemcacheClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache CreateInstance Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_DeleteInstance_sync", - "title": "memcache DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "CloudMemcacheClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.DeleteInstance", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.DeleteInstance", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.DeleteInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "CloudMemcacheClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache DeleteInstance Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_DeleteOperation_sync", - "title": "memcache DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache DeleteOperation Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_GetInstance_sync", - "title": "memcache GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "CloudMemcacheClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.GetInstance", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.GetInstance", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memcachepb.Instance", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.GetInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "CloudMemcacheClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache GetInstance Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_GetLocation_sync", - "title": "memcache GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudMemcacheClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudMemcacheClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache GetLocation Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_GetOperation_sync", - "title": "memcache GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache GetOperation Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_ListInstances_sync", - "title": "memcache ListInstances Sample", - "description": "ListInstances lists Instances in a given location.", - "file": "CloudMemcacheClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.ListInstances", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ListInstances", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "memcachepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ListInstances", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given location.", + "file": "CloudMemcacheClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ListInstances Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_ListLocations_sync", - "title": "memcache ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudMemcacheClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudMemcacheClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ListLocations Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_ListOperations_sync", - "title": "memcache ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudMemcacheClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudMemcacheClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache ListOperations Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_RescheduleMaintenance_sync", - "title": "memcache RescheduleMaintenance Sample", - "description": "RescheduleMaintenance performs the apply phase of the RescheduleMaintenance verb.", - "file": "CloudMemcacheClient/RescheduleMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RescheduleMaintenance", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.RescheduleMaintenance", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.RescheduleMaintenance", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "RescheduleMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.RescheduleMaintenanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.RescheduleMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RescheduleMaintenanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.RescheduleMaintenance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "RescheduleMaintenance" }, + "description": "RescheduleMaintenance performs the apply phase of the RescheduleMaintenance verb.", + "file": "CloudMemcacheClient/RescheduleMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_RescheduleMaintenance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache RescheduleMaintenance Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_UpdateInstance_sync", - "title": "memcache UpdateInstance Sample", - "description": "UpdateInstance updates an existing Instance in a given project and location.", - "file": "CloudMemcacheClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.UpdateInstance", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateInstance", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "memcachepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateInstance", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates an existing Instance in a given project and location.", + "file": "CloudMemcacheClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache UpdateInstance Sample" }, { - "regionTag": "memcache_v1beta2_generated_CloudMemcache_UpdateParameters_sync", - "title": "memcache UpdateParameters Sample", - "description": "UpdateParameters updates the defined Memcached parameters for an existing instance.\nThis method only stages the parameters, it must be followed by\n`ApplyParameters` to apply the parameters to nodes of the Memcached\ninstance.", - "file": "CloudMemcacheClient/UpdateParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateParameters", + "client": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient", + "shortName": "CloudMemcacheClient" + }, "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient.UpdateParameters", + "method": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters", + "service": { + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "shortName": "CloudMemcache" + }, + "shortName": "UpdateParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memcachepb.UpdateParametersRequest", - "name": "req" + "name": "req", + "type": "memcachepb.UpdateParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateParametersOperation", - "client": { - "shortName": "CloudMemcacheClient", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcacheClient" - }, - "method": { - "shortName": "UpdateParameters", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters", - "service": { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache" - } - } + "shortName": "UpdateParameters" }, + "description": "UpdateParameters updates the defined Memcached parameters for an existing instance.\nThis method only stages the parameters, it must be followed by\n`ApplyParameters` to apply the parameters to nodes of the Memcached\ninstance.", + "file": "CloudMemcacheClient/UpdateParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memcache_v1beta2_generated_CloudMemcache_UpdateParameters_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memcache UpdateParameters Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/memorystore/apiv1/snippet_metadata.google.cloud.memorystore.v1.json b/internal/generated/snippets/memorystore/apiv1/snippet_metadata.google.cloud.memorystore.v1.json index 2fe21e91270d..a7688e36d835 100644 --- a/internal/generated/snippets/memorystore/apiv1/snippet_metadata.google.cloud.memorystore.v1.json +++ b/internal/generated/snippets/memorystore/apiv1/snippet_metadata.google.cloud.memorystore.v1.json @@ -1,933 +1,933 @@ { "clientLibrary": { - "name": "cloud.google.com/go/memorystore/apiv1", - "version": "0.4.0", - "language": "GO", "apis": [ { "id": "google.cloud.memorystore.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/memorystore/apiv1", + "version": "0.4.0" }, "snippets": [ { - "regionTag": "memorystore_v1_generated_Memorystore_BackupInstance_sync", - "title": "memorystore BackupInstance Sample", - "description": "BackupInstance backup Instance.\nIf this is the first time a backup is being created, a backup collection\nwill be created at the backend, and this backup belongs to this collection.\nBoth collection and backup will have a resource name. Backup will be\nexecuted for each shard. A replica (primary if nonHA) will be selected to\nperform the execution. Backup call will be rejected if there is an ongoing\nbackup or update operation. Be aware that during preview, if the instance's\ninternal software version is too old, critical update will be performed\nbefore actual backup. Once the internal software version is updated to the\nminimum version required by the backup feature, subsequent backups will not\nrequire critical update. After preview, there will be no critical update\nneeded for backup.", - "file": "Client/BackupInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "BackupInstance", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.BackupInstance", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.BackupInstance", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "BackupInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.BackupInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.BackupInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "BackupInstance", - "fullName": "google.cloud.memorystore.v1.Memorystore.BackupInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "BackupInstance" }, + "description": "BackupInstance backup Instance.\nIf this is the first time a backup is being created, a backup collection\nwill be created at the backend, and this backup belongs to this collection.\nBoth collection and backup will have a resource name. Backup will be\nexecuted for each shard. A replica (primary if nonHA) will be selected to\nperform the execution. Backup call will be rejected if there is an ongoing\nbackup or update operation. Be aware that during preview, if the instance's\ninternal software version is too old, critical update will be performed\nbefore actual backup. Once the internal software version is updated to the\nminimum version required by the backup feature, subsequent backups will not\nrequire critical update. After preview, there will be no critical update\nneeded for backup.", + "file": "Client/BackupInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_BackupInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore BackupInstance Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_CancelOperation_sync", - "title": "memorystore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore CancelOperation Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_CreateInstance_sync", - "title": "memorystore CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.CreateInstance", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.CreateInstance", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.memorystore.v1.Memorystore.CreateInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore CreateInstance Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_DeleteBackup_sync", - "title": "memorystore DeleteBackup Sample", - "description": "DeleteBackup deletes a specific backup.", - "file": "Client/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.DeleteBackup", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.DeleteBackup", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.memorystore.v1.Memorystore.DeleteBackup", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a specific backup.", + "file": "Client/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore DeleteBackup Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_DeleteInstance_sync", - "title": "memorystore DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.DeleteInstance", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.memorystore.v1.Memorystore.DeleteInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore DeleteInstance Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_DeleteOperation_sync", - "title": "memorystore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore DeleteOperation Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_ExportBackup_sync", - "title": "memorystore ExportBackup Sample", - "description": "ExportBackup exports a specific backup to a customer target Cloud Storage URI.", - "file": "Client/ExportBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportBackup", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.ExportBackup", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.ExportBackup", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "ExportBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.ExportBackupRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.ExportBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "ExportBackup", - "fullName": "google.cloud.memorystore.v1.Memorystore.ExportBackup", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "ExportBackup" }, + "description": "ExportBackup exports a specific backup to a customer target Cloud Storage URI.", + "file": "Client/ExportBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_ExportBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ExportBackup Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_GetBackup_sync", - "title": "memorystore GetBackup Sample", - "description": "GetBackup gets the details of a specific backup.", - "file": "Client/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.GetBackup", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.GetBackup", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memorystorepb.Backup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.memorystore.v1.Memorystore.GetBackup", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets the details of a specific backup.", + "file": "Client/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetBackup Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_GetBackupCollection_sync", - "title": "memorystore GetBackupCollection Sample", - "description": "GetBackupCollection get a backup collection.", - "file": "Client/GetBackupCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupCollection", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.GetBackupCollection", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.GetBackupCollection", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "GetBackupCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.GetBackupCollectionRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.GetBackupCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memorystorepb.BackupCollection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "GetBackupCollection", - "fullName": "google.cloud.memorystore.v1.Memorystore.GetBackupCollection", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "GetBackupCollection" }, + "description": "GetBackupCollection get a backup collection.", + "file": "Client/GetBackupCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_GetBackupCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetBackupCollection Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_GetCertificateAuthority_sync", - "title": "memorystore GetCertificateAuthority Sample", - "description": "GetCertificateAuthority gets details about the certificate authority for an Instance.", - "file": "Client/GetCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateAuthority", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.GetCertificateAuthority", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.GetCertificateAuthority", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "GetCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.GetCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.GetCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memorystorepb.CertificateAuthority", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "GetCertificateAuthority", - "fullName": "google.cloud.memorystore.v1.Memorystore.GetCertificateAuthority", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "GetCertificateAuthority" }, + "description": "GetCertificateAuthority gets details about the certificate authority for an Instance.", + "file": "Client/GetCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_GetCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetCertificateAuthority Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_GetInstance_sync", - "title": "memorystore GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.GetInstance", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.GetInstance", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memorystorepb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.memorystore.v1.Memorystore.GetInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetInstance Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_GetLocation_sync", - "title": "memorystore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetLocation Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_GetOperation_sync", - "title": "memorystore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetOperation Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_ListBackupCollections_sync", - "title": "memorystore ListBackupCollections Sample", - "description": "ListBackupCollections lists all backup collections owned by a consumer project in either the\nspecified location (region) or all locations.\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", - "file": "Client/ListBackupCollections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupCollections", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.ListBackupCollections", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.ListBackupCollections", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "ListBackupCollections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.ListBackupCollectionsRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.ListBackupCollectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupCollectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "ListBackupCollections", - "fullName": "google.cloud.memorystore.v1.Memorystore.ListBackupCollections", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "ListBackupCollections" }, + "description": "ListBackupCollections lists all backup collections owned by a consumer project in either the\nspecified location (region) or all locations.\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", + "file": "Client/ListBackupCollections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_ListBackupCollections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListBackupCollections Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_ListBackups_sync", - "title": "memorystore ListBackups Sample", - "description": "ListBackups lists all backups owned by a backup collection.", - "file": "Client/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.ListBackups", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.ListBackups", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.memorystore.v1.Memorystore.ListBackups", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists all backups owned by a backup collection.", + "file": "Client/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListBackups Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_ListInstances_sync", - "title": "memorystore ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.ListInstances", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.ListInstances", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.memorystore.v1.Memorystore.ListInstances", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListInstances Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_ListLocations_sync", - "title": "memorystore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListLocations Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_ListOperations_sync", - "title": "memorystore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListOperations Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_RescheduleMaintenance_sync", - "title": "memorystore RescheduleMaintenance Sample", - "description": "RescheduleMaintenance reschedules upcoming maintenance event.", - "file": "Client/RescheduleMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RescheduleMaintenance", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.RescheduleMaintenance", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.RescheduleMaintenance", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "RescheduleMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.RescheduleMaintenanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.RescheduleMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RescheduleMaintenanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.memorystore.v1.Memorystore.RescheduleMaintenance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "RescheduleMaintenance" }, + "description": "RescheduleMaintenance reschedules upcoming maintenance event.", + "file": "Client/RescheduleMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_RescheduleMaintenance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore RescheduleMaintenance Sample" }, { - "regionTag": "memorystore_v1_generated_Memorystore_UpdateInstance_sync", - "title": "memorystore UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single Instance.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.memorystore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.memorystore.v1.Memorystore.UpdateInstance", + "service": { + "fullName": "google.cloud.memorystore.v1.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.memorystore.v1.Memorystore.UpdateInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1.Memorystore" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single Instance.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1_generated_Memorystore_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore UpdateInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/memorystore/apiv1beta/snippet_metadata.google.cloud.memorystore.v1beta.json b/internal/generated/snippets/memorystore/apiv1beta/snippet_metadata.google.cloud.memorystore.v1beta.json index e99879db478e..c2ee2a2c7f4e 100644 --- a/internal/generated/snippets/memorystore/apiv1beta/snippet_metadata.google.cloud.memorystore.v1beta.json +++ b/internal/generated/snippets/memorystore/apiv1beta/snippet_metadata.google.cloud.memorystore.v1beta.json @@ -1,565 +1,565 @@ { "clientLibrary": { - "name": "cloud.google.com/go/memorystore/apiv1beta", - "version": "0.4.0", - "language": "GO", "apis": [ { "id": "google.cloud.memorystore.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/memorystore/apiv1beta", + "version": "0.4.0" }, "snippets": [ { - "regionTag": "memorystore_v1beta_generated_Memorystore_CancelOperation_sync", - "title": "memorystore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore CancelOperation Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_CreateInstance_sync", - "title": "memorystore CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.CreateInstance", + "method": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore.CreateInstance", + "service": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.memorystore.v1beta.Memorystore.CreateInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1beta.Memorystore" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore CreateInstance Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_DeleteInstance_sync", - "title": "memorystore DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore.DeleteInstance", + "service": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.memorystore.v1beta.Memorystore.DeleteInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1beta.Memorystore" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore DeleteInstance Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_DeleteOperation_sync", - "title": "memorystore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore DeleteOperation Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_GetCertificateAuthority_sync", - "title": "memorystore GetCertificateAuthority Sample", - "description": "GetCertificateAuthority gets details about the certificate authority for an Instance.", - "file": "Client/GetCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateAuthority", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.GetCertificateAuthority", + "method": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore.GetCertificateAuthority", + "service": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "GetCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.GetCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.GetCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memorystorepb.CertificateAuthority", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "GetCertificateAuthority", - "fullName": "google.cloud.memorystore.v1beta.Memorystore.GetCertificateAuthority", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1beta.Memorystore" - } - } + "shortName": "GetCertificateAuthority" }, + "description": "GetCertificateAuthority gets details about the certificate authority for an Instance.", + "file": "Client/GetCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_GetCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetCertificateAuthority Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_GetInstance_sync", - "title": "memorystore GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.GetInstance", + "method": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore.GetInstance", + "service": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*memorystorepb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.memorystore.v1beta.Memorystore.GetInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1beta.Memorystore" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetInstance Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_GetLocation_sync", - "title": "memorystore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetLocation Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_GetOperation_sync", - "title": "memorystore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore GetOperation Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_ListInstances_sync", - "title": "memorystore ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.ListInstances", + "method": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore.ListInstances", + "service": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.memorystore.v1beta.Memorystore.ListInstances", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1beta.Memorystore" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListInstances Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_ListLocations_sync", - "title": "memorystore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListLocations Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_ListOperations_sync", - "title": "memorystore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore ListOperations Sample" }, { - "regionTag": "memorystore_v1beta_generated_Memorystore_UpdateInstance_sync", - "title": "memorystore UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single Instance.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.memorystore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.memorystore.v1beta.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore.UpdateInstance", + "service": { + "fullName": "google.cloud.memorystore.v1beta.Memorystore", + "shortName": "Memorystore" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "memorystorepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "memorystorepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.memorystore.v1beta.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.memorystore.v1beta.Memorystore.UpdateInstance", - "service": { - "shortName": "Memorystore", - "fullName": "google.cloud.memorystore.v1beta.Memorystore" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single Instance.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "memorystore_v1beta_generated_Memorystore_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "memorystore UpdateInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json b/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json index fa55105c9997..0db8b0d40f76 100644 --- a/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json +++ b/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json @@ -1,1897 +1,1897 @@ { "clientLibrary": { - "name": "cloud.google.com/go/metastore/apiv1", - "version": "1.14.8", - "language": "GO", "apis": [ { "id": "google.cloud.metastore.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/metastore/apiv1", + "version": "1.14.8" }, "snippets": [ { - "regionTag": "metastore_v1_generated_DataprocMetastore_AlterMetadataResourceLocation_sync", - "title": "metastore AlterMetadataResourceLocation Sample", - "description": "AlterMetadataResourceLocation alter metadata resource location. The metadata resource can be a database,\ntable, or partition. This functionality only updates the parent directory\nfor the respective metadata resource and does not transfer any existing\ndata to the new location.", - "file": "DataprocMetastoreClient/AlterMetadataResourceLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AlterMetadataResourceLocation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.AlterMetadataResourceLocation", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "AlterMetadataResourceLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.AlterMetadataResourceLocationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.AlterMetadataResourceLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AlterMetadataResourceLocationOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "AlterMetadataResourceLocation", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "AlterMetadataResourceLocation" }, + "description": "AlterMetadataResourceLocation alter metadata resource location. The metadata resource can be a database,\ntable, or partition. This functionality only updates the parent directory\nfor the respective metadata resource and does not transfer any existing\ndata to the new location.", + "file": "DataprocMetastoreClient/AlterMetadataResourceLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_AlterMetadataResourceLocation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore AlterMetadataResourceLocation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_CancelOperation_sync", - "title": "metastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CancelOperation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_CreateBackup_sync", - "title": "metastore CreateBackup Sample", - "description": "CreateBackup creates a new backup in a given project and location.", - "file": "DataprocMetastoreClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.CreateBackup", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateBackup", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a new backup in a given project and location.", + "file": "DataprocMetastoreClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateBackup Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_CreateMetadataImport_sync", - "title": "metastore CreateMetadataImport Sample", - "description": "CreateMetadataImport creates a new MetadataImport in a given project and location.", - "file": "DataprocMetastoreClient/CreateMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.CreateMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataImportOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateMetadataImport", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "CreateMetadataImport" }, + "description": "CreateMetadataImport creates a new MetadataImport in a given project and location.", + "file": "DataprocMetastoreClient/CreateMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_CreateMetadataImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateMetadataImport Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_CreateService_sync", - "title": "metastore CreateService Sample", - "description": "CreateService creates a metastore service in a project and location.", - "file": "DataprocMetastoreClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.CreateService", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateService", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a metastore service in a project and location.", + "file": "DataprocMetastoreClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_CreateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateService Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_DeleteBackup_sync", - "title": "metastore DeleteBackup Sample", - "description": "DeleteBackup deletes a single backup.", - "file": "DataprocMetastoreClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.DeleteBackup", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteBackup", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a single backup.", + "file": "DataprocMetastoreClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteBackup Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_DeleteOperation_sync", - "title": "metastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteOperation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_DeleteService_sync", - "title": "metastore DeleteService Sample", - "description": "DeleteService deletes a single service.", - "file": "DataprocMetastoreClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.DeleteService", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteService", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a single service.", + "file": "DataprocMetastoreClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_DeleteService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteService Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_ExportMetadata_sync", - "title": "metastore ExportMetadata Sample", - "description": "ExportMetadata exports metadata from a service.", - "file": "DataprocMetastoreClient/ExportMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportMetadata", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.ExportMetadata", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ExportMetadata", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ExportMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ExportMetadataRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ExportMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportMetadataOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "ExportMetadata", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ExportMetadata", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "ExportMetadata" }, + "description": "ExportMetadata exports metadata from a service.", + "file": "DataprocMetastoreClient/ExportMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_ExportMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ExportMetadata Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_GetBackup_sync", - "title": "metastore GetBackup Sample", - "description": "GetBackup gets details of a single backup.", - "file": "DataprocMetastoreClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.GetBackup", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetBackup", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Backup", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a single backup.", + "file": "DataprocMetastoreClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetBackup Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_GetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataprocMetastoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetIamPolicy Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_GetLocation_sync", - "title": "metastore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataprocMetastoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataprocMetastoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetLocation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_GetMetadataImport_sync", - "title": "metastore GetMetadataImport Sample", - "description": "GetMetadataImport gets details of a single import.", - "file": "DataprocMetastoreClient/GetMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.GetMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.MetadataImport", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetMetadataImport", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "GetMetadataImport" }, + "description": "GetMetadataImport gets details of a single import.", + "file": "DataprocMetastoreClient/GetMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_GetMetadataImport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetMetadataImport Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_GetOperation_sync", - "title": "metastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetOperation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_GetService_sync", - "title": "metastore GetService Sample", - "description": "GetService gets the details of a single service.", - "file": "DataprocMetastoreClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.GetService", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetService", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Service", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "GetService" }, + "description": "GetService gets the details of a single service.", + "file": "DataprocMetastoreClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetService Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_ListBackups_sync", - "title": "metastore ListBackups Sample", - "description": "ListBackups lists backups in a service.", - "file": "DataprocMetastoreClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.ListBackups", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListBackups", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListBackups", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists backups in a service.", + "file": "DataprocMetastoreClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListBackups Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_ListLocations_sync", - "title": "metastore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataprocMetastoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataprocMetastoreClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListLocations Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_ListMetadataImports_sync", - "title": "metastore ListMetadataImports Sample", - "description": "ListMetadataImports lists imports in a service.", - "file": "DataprocMetastoreClient/ListMetadataImports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataImports", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.ListMetadataImports", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListMetadataImports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListMetadataImportsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListMetadataImportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataImportIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListMetadataImports", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "ListMetadataImports" }, + "description": "ListMetadataImports lists imports in a service.", + "file": "DataprocMetastoreClient/ListMetadataImports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_ListMetadataImports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListMetadataImports Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_ListOperations_sync", - "title": "metastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListOperations Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_ListServices_sync", - "title": "metastore ListServices Sample", - "description": "ListServices lists services in a project and location.", - "file": "DataprocMetastoreClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.ListServices", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListServices", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListServices", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists services in a project and location.", + "file": "DataprocMetastoreClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListServices Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_MoveTableToDatabase_sync", - "title": "metastore MoveTableToDatabase Sample", - "description": "MoveTableToDatabase move a table to another database.", - "file": "DataprocMetastoreClient/MoveTableToDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveTableToDatabase", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.MoveTableToDatabase", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "MoveTableToDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.MoveTableToDatabaseRequest", - "name": "req" + "name": "req", + "type": "metastorepb.MoveTableToDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveTableToDatabaseOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "MoveTableToDatabase", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "MoveTableToDatabase" }, + "description": "MoveTableToDatabase move a table to another database.", + "file": "DataprocMetastoreClient/MoveTableToDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_MoveTableToDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore MoveTableToDatabase Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_QueryMetadata_sync", - "title": "metastore QueryMetadata Sample", - "description": "QueryMetadata query DPMS metadata.", - "file": "DataprocMetastoreClient/QueryMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryMetadata", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.QueryMetadata", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.QueryMetadata", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "QueryMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.QueryMetadataRequest", - "name": "req" + "name": "req", + "type": "metastorepb.QueryMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryMetadataOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "QueryMetadata", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.QueryMetadata", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "QueryMetadata" }, + "description": "QueryMetadata query DPMS metadata.", + "file": "DataprocMetastoreClient/QueryMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_QueryMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore QueryMetadata Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_RestoreService_sync", - "title": "metastore RestoreService Sample", - "description": "RestoreService restores a service from a backup.", - "file": "DataprocMetastoreClient/RestoreService/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreService", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.RestoreService", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.RestoreService", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "RestoreService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.RestoreServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.RestoreServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "RestoreService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.RestoreService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "RestoreService" }, + "description": "RestoreService restores a service from a backup.", + "file": "DataprocMetastoreClient/RestoreService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_RestoreService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore RestoreService Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_SetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataprocMetastoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore SetIamPolicy Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_TestIamPermissions_sync", - "title": "metastore 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": "DataprocMetastoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataprocMetastoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore TestIamPermissions Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_UpdateMetadataImport_sync", - "title": "metastore UpdateMetadataImport Sample", - "description": "UpdateMetadataImport updates a single import.\nOnly the description field of MetadataImport is supported to be updated.", - "file": "DataprocMetastoreClient/UpdateMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.UpdateMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "UpdateMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMetadataImportOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "UpdateMetadataImport", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "UpdateMetadataImport" }, + "description": "UpdateMetadataImport updates a single import.\nOnly the description field of MetadataImport is supported to be updated.", + "file": "DataprocMetastoreClient/UpdateMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_UpdateMetadataImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateMetadataImport Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastore_UpdateService_sync", - "title": "metastore UpdateService Sample", - "description": "UpdateService updates the parameters of a single service.", - "file": "DataprocMetastoreClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient.UpdateService", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateService", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates the parameters of a single service.", + "file": "DataprocMetastoreClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastore_UpdateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateService Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_CancelOperation_sync", - "title": "metastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CancelOperation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_CreateFederation_sync", - "title": "metastore CreateFederation Sample", - "description": "CreateFederation creates a metastore federation in a project and location.", - "file": "DataprocMetastoreFederationClient/CreateFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFederation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.CreateFederation", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.CreateFederation", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "CreateFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "CreateFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.CreateFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation" - } - } + "shortName": "CreateFederation" }, + "description": "CreateFederation creates a metastore federation in a project and location.", + "file": "DataprocMetastoreFederationClient/CreateFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_CreateFederation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateFederation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_DeleteFederation_sync", - "title": "metastore DeleteFederation Sample", - "description": "DeleteFederation deletes a single federation.", - "file": "DataprocMetastoreFederationClient/DeleteFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFederation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.DeleteFederation", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.DeleteFederation", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "DeleteFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "DeleteFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.DeleteFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation" - } - } + "shortName": "DeleteFederation" }, + "description": "DeleteFederation deletes a single federation.", + "file": "DataprocMetastoreFederationClient/DeleteFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_DeleteFederation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteFederation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_DeleteOperation_sync", - "title": "metastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteOperation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetFederation_sync", - "title": "metastore GetFederation Sample", - "description": "GetFederation gets the details of a single federation.", - "file": "DataprocMetastoreFederationClient/GetFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFederation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.GetFederation", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.GetFederation", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "GetFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Federation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.GetFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation" - } - } + "shortName": "GetFederation" }, + "description": "GetFederation gets the details of a single federation.", + "file": "DataprocMetastoreFederationClient/GetFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetFederation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetFederation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataprocMetastoreFederationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetIamPolicy Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetLocation_sync", - "title": "metastore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataprocMetastoreFederationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataprocMetastoreFederationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetLocation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetOperation_sync", - "title": "metastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetOperation Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_ListFederations_sync", - "title": "metastore ListFederations Sample", - "description": "ListFederations lists federations in a project and location.", - "file": "DataprocMetastoreFederationClient/ListFederations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFederations", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.ListFederations", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.ListFederations", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "ListFederations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListFederationsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListFederationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FederationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListFederations", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.ListFederations", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation" - } - } + "shortName": "ListFederations" }, + "description": "ListFederations lists federations in a project and location.", + "file": "DataprocMetastoreFederationClient/ListFederations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_ListFederations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListFederations Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_ListLocations_sync", - "title": "metastore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataprocMetastoreFederationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataprocMetastoreFederationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListLocations Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_ListOperations_sync", - "title": "metastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListOperations Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_SetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataprocMetastoreFederationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore SetIamPolicy Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_TestIamPermissions_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataprocMetastoreFederationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore TestIamPermissions Sample" }, { - "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_UpdateFederation_sync", - "title": "metastore UpdateFederation Sample", - "description": "UpdateFederation updates the fields of a federation.", - "file": "DataprocMetastoreFederationClient/UpdateFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFederation", + "client": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient.UpdateFederation", + "method": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.UpdateFederation", + "service": { + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "UpdateFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "UpdateFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.UpdateFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation" - } - } + "shortName": "UpdateFederation" }, + "description": "UpdateFederation updates the fields of a federation.", + "file": "DataprocMetastoreFederationClient/UpdateFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1_generated_DataprocMetastoreFederation_UpdateFederation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateFederation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json b/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json index e0c50c0a8d06..87096c7144fe 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json +++ b/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json @@ -1,1943 +1,1943 @@ { "clientLibrary": { - "name": "cloud.google.com/go/metastore/apiv1alpha", - "version": "1.14.8", - "language": "GO", "apis": [ { "id": "google.cloud.metastore.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/metastore/apiv1alpha", + "version": "1.14.8" }, "snippets": [ { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_AlterMetadataResourceLocation_sync", - "title": "metastore AlterMetadataResourceLocation Sample", - "description": "AlterMetadataResourceLocation alter metadata resource location. The metadata resource can be a database,\ntable, or partition. This functionality only updates the parent directory\nfor the respective metadata resource and does not transfer any existing\ndata to the new location.", - "file": "DataprocMetastoreClient/AlterMetadataResourceLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AlterMetadataResourceLocation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.AlterMetadataResourceLocation", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocation", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "AlterMetadataResourceLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.AlterMetadataResourceLocationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.AlterMetadataResourceLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AlterMetadataResourceLocationOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "AlterMetadataResourceLocation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocation", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "AlterMetadataResourceLocation" }, + "description": "AlterMetadataResourceLocation alter metadata resource location. The metadata resource can be a database,\ntable, or partition. This functionality only updates the parent directory\nfor the respective metadata resource and does not transfer any existing\ndata to the new location.", + "file": "DataprocMetastoreClient/AlterMetadataResourceLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_AlterMetadataResourceLocation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore AlterMetadataResourceLocation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CancelOperation_sync", - "title": "metastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CancelOperation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CreateBackup_sync", - "title": "metastore CreateBackup Sample", - "description": "CreateBackup creates a new backup in a given project and location.", - "file": "DataprocMetastoreClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.CreateBackup", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a new backup in a given project and location.", + "file": "DataprocMetastoreClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateBackup Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CreateMetadataImport_sync", - "title": "metastore CreateMetadataImport Sample", - "description": "CreateMetadataImport creates a new MetadataImport in a given project and location.", - "file": "DataprocMetastoreClient/CreateMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.CreateMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataImportOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateMetadataImport", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "CreateMetadataImport" }, + "description": "CreateMetadataImport creates a new MetadataImport in a given project and location.", + "file": "DataprocMetastoreClient/CreateMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CreateMetadataImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateMetadataImport Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CreateService_sync", - "title": "metastore CreateService Sample", - "description": "CreateService creates a metastore service in a project and location.", - "file": "DataprocMetastoreClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.CreateService", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateService", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a metastore service in a project and location.", + "file": "DataprocMetastoreClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_CreateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateService Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_DeleteBackup_sync", - "title": "metastore DeleteBackup Sample", - "description": "DeleteBackup deletes a single backup.", - "file": "DataprocMetastoreClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.DeleteBackup", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackup", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a single backup.", + "file": "DataprocMetastoreClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteBackup Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_DeleteOperation_sync", - "title": "metastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteOperation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_DeleteService_sync", - "title": "metastore DeleteService Sample", - "description": "DeleteService deletes a single service.", - "file": "DataprocMetastoreClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.DeleteService", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a single service.", + "file": "DataprocMetastoreClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_DeleteService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteService Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ExportMetadata_sync", - "title": "metastore ExportMetadata Sample", - "description": "ExportMetadata exports metadata from a service.", - "file": "DataprocMetastoreClient/ExportMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportMetadata", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.ExportMetadata", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ExportMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ExportMetadataRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ExportMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportMetadataOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "ExportMetadata", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "ExportMetadata" }, + "description": "ExportMetadata exports metadata from a service.", + "file": "DataprocMetastoreClient/ExportMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ExportMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ExportMetadata Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetBackup_sync", - "title": "metastore GetBackup Sample", - "description": "GetBackup gets details of a single backup.", - "file": "DataprocMetastoreClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.GetBackup", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetBackup", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Backup", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a single backup.", + "file": "DataprocMetastoreClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetBackup Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataprocMetastoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetIamPolicy Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetLocation_sync", - "title": "metastore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataprocMetastoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataprocMetastoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetLocation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetMetadataImport_sync", - "title": "metastore GetMetadataImport Sample", - "description": "GetMetadataImport gets details of a single import.", - "file": "DataprocMetastoreClient/GetMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.GetMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.MetadataImport", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetMetadataImport", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "GetMetadataImport" }, + "description": "GetMetadataImport gets details of a single import.", + "file": "DataprocMetastoreClient/GetMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetMetadataImport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetMetadataImport Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetOperation_sync", - "title": "metastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetOperation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetService_sync", - "title": "metastore GetService Sample", - "description": "GetService gets the details of a single service.", - "file": "DataprocMetastoreClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.GetService", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetService", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Service", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "GetService" }, + "description": "GetService gets the details of a single service.", + "file": "DataprocMetastoreClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetService Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListBackups_sync", - "title": "metastore ListBackups Sample", - "description": "ListBackups lists backups in a service.", - "file": "DataprocMetastoreClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.ListBackups", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists backups in a service.", + "file": "DataprocMetastoreClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListBackups Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListLocations_sync", - "title": "metastore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataprocMetastoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataprocMetastoreClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListLocations Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListMetadataImports_sync", - "title": "metastore ListMetadataImports Sample", - "description": "ListMetadataImports lists imports in a service.", - "file": "DataprocMetastoreClient/ListMetadataImports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataImports", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.ListMetadataImports", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListMetadataImports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListMetadataImportsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListMetadataImportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataImportIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListMetadataImports", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "ListMetadataImports" }, + "description": "ListMetadataImports lists imports in a service.", + "file": "DataprocMetastoreClient/ListMetadataImports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListMetadataImports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListMetadataImports Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListOperations_sync", - "title": "metastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListOperations Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListServices_sync", - "title": "metastore ListServices Sample", - "description": "ListServices lists services in a project and location.", - "file": "DataprocMetastoreClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.ListServices", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListServices", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListServices", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists services in a project and location.", + "file": "DataprocMetastoreClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListServices Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_MoveTableToDatabase_sync", - "title": "metastore MoveTableToDatabase Sample", - "description": "MoveTableToDatabase move a table to another database.", - "file": "DataprocMetastoreClient/MoveTableToDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveTableToDatabase", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.MoveTableToDatabase", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabase", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "MoveTableToDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.MoveTableToDatabaseRequest", - "name": "req" + "name": "req", + "type": "metastorepb.MoveTableToDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveTableToDatabaseOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "MoveTableToDatabase", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabase", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "MoveTableToDatabase" }, + "description": "MoveTableToDatabase move a table to another database.", + "file": "DataprocMetastoreClient/MoveTableToDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_MoveTableToDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore MoveTableToDatabase Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_QueryMetadata_sync", - "title": "metastore QueryMetadata Sample", - "description": "QueryMetadata query DPMS metadata.", - "file": "DataprocMetastoreClient/QueryMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryMetadata", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.QueryMetadata", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadata", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "QueryMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.QueryMetadataRequest", - "name": "req" + "name": "req", + "type": "metastorepb.QueryMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryMetadataOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "QueryMetadata", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadata", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "QueryMetadata" }, + "description": "QueryMetadata query DPMS metadata.", + "file": "DataprocMetastoreClient/QueryMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_QueryMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore QueryMetadata Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_RemoveIamPolicy_sync", - "title": "metastore RemoveIamPolicy Sample", - "description": "RemoveIamPolicy removes the attached IAM policies for a resource", - "file": "DataprocMetastoreClient/RemoveIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.RemoveIamPolicy", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicy", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "RemoveIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.RemoveIamPolicyRequest", - "name": "req" + "name": "req", + "type": "metastorepb.RemoveIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.RemoveIamPolicyResponse", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "RemoveIamPolicy", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicy", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "RemoveIamPolicy" }, + "description": "RemoveIamPolicy removes the attached IAM policies for a resource", + "file": "DataprocMetastoreClient/RemoveIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_RemoveIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore RemoveIamPolicy Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_RestoreService_sync", - "title": "metastore RestoreService Sample", - "description": "RestoreService restores a service from a backup.", - "file": "DataprocMetastoreClient/RestoreService/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreService", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.RestoreService", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RestoreService", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "RestoreService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.RestoreServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.RestoreServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "RestoreService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RestoreService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "RestoreService" }, + "description": "RestoreService restores a service from a backup.", + "file": "DataprocMetastoreClient/RestoreService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_RestoreService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore RestoreService Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_SetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataprocMetastoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore SetIamPolicy Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_TestIamPermissions_sync", - "title": "metastore 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": "DataprocMetastoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataprocMetastoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore TestIamPermissions Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_UpdateMetadataImport_sync", - "title": "metastore UpdateMetadataImport Sample", - "description": "UpdateMetadataImport updates a single import.\nOnly the description field of MetadataImport is supported to be updated.", - "file": "DataprocMetastoreClient/UpdateMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.UpdateMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "UpdateMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMetadataImportOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "UpdateMetadataImport", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "UpdateMetadataImport" }, + "description": "UpdateMetadataImport updates a single import.\nOnly the description field of MetadataImport is supported to be updated.", + "file": "DataprocMetastoreClient/UpdateMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_UpdateMetadataImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateMetadataImport Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastore_UpdateService_sync", - "title": "metastore UpdateService Sample", - "description": "UpdateService updates the parameters of a single service.", - "file": "DataprocMetastoreClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient.UpdateService", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateService", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates the parameters of a single service.", + "file": "DataprocMetastoreClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastore_UpdateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateService Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_CancelOperation_sync", - "title": "metastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CancelOperation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_CreateFederation_sync", - "title": "metastore CreateFederation Sample", - "description": "CreateFederation creates a metastore federation in a project and location.", - "file": "DataprocMetastoreFederationClient/CreateFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFederation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.CreateFederation", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.CreateFederation", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "CreateFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "CreateFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.CreateFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation" - } - } + "shortName": "CreateFederation" }, + "description": "CreateFederation creates a metastore federation in a project and location.", + "file": "DataprocMetastoreFederationClient/CreateFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_CreateFederation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateFederation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_DeleteFederation_sync", - "title": "metastore DeleteFederation Sample", - "description": "DeleteFederation deletes a single federation.", - "file": "DataprocMetastoreFederationClient/DeleteFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFederation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.DeleteFederation", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.DeleteFederation", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "DeleteFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "DeleteFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.DeleteFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation" - } - } + "shortName": "DeleteFederation" }, + "description": "DeleteFederation deletes a single federation.", + "file": "DataprocMetastoreFederationClient/DeleteFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_DeleteFederation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteFederation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_DeleteOperation_sync", - "title": "metastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteOperation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetFederation_sync", - "title": "metastore GetFederation Sample", - "description": "GetFederation gets the details of a single federation.", - "file": "DataprocMetastoreFederationClient/GetFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFederation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.GetFederation", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.GetFederation", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "GetFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Federation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.GetFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation" - } - } + "shortName": "GetFederation" }, + "description": "GetFederation gets the details of a single federation.", + "file": "DataprocMetastoreFederationClient/GetFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetFederation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetFederation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataprocMetastoreFederationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetIamPolicy Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetLocation_sync", - "title": "metastore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataprocMetastoreFederationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataprocMetastoreFederationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetLocation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetOperation_sync", - "title": "metastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetOperation Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_ListFederations_sync", - "title": "metastore ListFederations Sample", - "description": "ListFederations lists federations in a project and location.", - "file": "DataprocMetastoreFederationClient/ListFederations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFederations", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.ListFederations", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.ListFederations", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "ListFederations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListFederationsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListFederationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FederationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListFederations", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.ListFederations", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation" - } - } + "shortName": "ListFederations" }, + "description": "ListFederations lists federations in a project and location.", + "file": "DataprocMetastoreFederationClient/ListFederations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_ListFederations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListFederations Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_ListLocations_sync", - "title": "metastore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataprocMetastoreFederationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataprocMetastoreFederationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListLocations Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_ListOperations_sync", - "title": "metastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListOperations Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_SetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataprocMetastoreFederationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore SetIamPolicy Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_TestIamPermissions_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataprocMetastoreFederationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore TestIamPermissions Sample" }, { - "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_UpdateFederation_sync", - "title": "metastore UpdateFederation Sample", - "description": "UpdateFederation updates the fields of a federation.", - "file": "DataprocMetastoreFederationClient/UpdateFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFederation", + "client": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient.UpdateFederation", + "method": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.UpdateFederation", + "service": { + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "UpdateFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "UpdateFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.UpdateFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation" - } - } + "shortName": "UpdateFederation" }, + "description": "UpdateFederation updates the fields of a federation.", + "file": "DataprocMetastoreFederationClient/UpdateFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1alpha_generated_DataprocMetastoreFederation_UpdateFederation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateFederation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json b/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json index c33995b0431d..0d176fa03f9b 100644 --- a/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json +++ b/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json @@ -1,1943 +1,1943 @@ { "clientLibrary": { - "name": "cloud.google.com/go/metastore/apiv1beta", - "version": "1.14.8", - "language": "GO", "apis": [ { "id": "google.cloud.metastore.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/metastore/apiv1beta", + "version": "1.14.8" }, "snippets": [ { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_AlterMetadataResourceLocation_sync", - "title": "metastore AlterMetadataResourceLocation Sample", - "description": "AlterMetadataResourceLocation alter metadata resource location. The metadata resource can be a database,\ntable, or partition. This functionality only updates the parent directory\nfor the respective metadata resource and does not transfer any existing\ndata to the new location.", - "file": "DataprocMetastoreClient/AlterMetadataResourceLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "AlterMetadataResourceLocation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.AlterMetadataResourceLocation", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.AlterMetadataResourceLocation", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "AlterMetadataResourceLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.AlterMetadataResourceLocationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.AlterMetadataResourceLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AlterMetadataResourceLocationOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "AlterMetadataResourceLocation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.AlterMetadataResourceLocation", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "AlterMetadataResourceLocation" }, + "description": "AlterMetadataResourceLocation alter metadata resource location. The metadata resource can be a database,\ntable, or partition. This functionality only updates the parent directory\nfor the respective metadata resource and does not transfer any existing\ndata to the new location.", + "file": "DataprocMetastoreClient/AlterMetadataResourceLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_AlterMetadataResourceLocation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore AlterMetadataResourceLocation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_CancelOperation_sync", - "title": "metastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CancelOperation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_CreateBackup_sync", - "title": "metastore CreateBackup Sample", - "description": "CreateBackup creates a new backup in a given project and location.", - "file": "DataprocMetastoreClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.CreateBackup", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateBackup", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a new backup in a given project and location.", + "file": "DataprocMetastoreClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateBackup Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_CreateMetadataImport_sync", - "title": "metastore CreateMetadataImport Sample", - "description": "CreateMetadataImport creates a new MetadataImport in a given project and location.", - "file": "DataprocMetastoreClient/CreateMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.CreateMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMetadataImportOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateMetadataImport", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "CreateMetadataImport" }, + "description": "CreateMetadataImport creates a new MetadataImport in a given project and location.", + "file": "DataprocMetastoreClient/CreateMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_CreateMetadataImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateMetadataImport Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_CreateService_sync", - "title": "metastore CreateService Sample", - "description": "CreateService creates a metastore service in a project and location.", - "file": "DataprocMetastoreClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.CreateService", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateService", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a metastore service in a project and location.", + "file": "DataprocMetastoreClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_CreateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateService Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_DeleteBackup_sync", - "title": "metastore DeleteBackup Sample", - "description": "DeleteBackup deletes a single backup.", - "file": "DataprocMetastoreClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.DeleteBackup", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackup", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a single backup.", + "file": "DataprocMetastoreClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteBackup Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_DeleteOperation_sync", - "title": "metastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteOperation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_DeleteService_sync", - "title": "metastore DeleteService Sample", - "description": "DeleteService deletes a single service.", - "file": "DataprocMetastoreClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.DeleteService", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteService", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a single service.", + "file": "DataprocMetastoreClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_DeleteService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteService Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_ExportMetadata_sync", - "title": "metastore ExportMetadata Sample", - "description": "ExportMetadata exports metadata from a service.", - "file": "DataprocMetastoreClient/ExportMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportMetadata", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.ExportMetadata", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ExportMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ExportMetadataRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ExportMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportMetadataOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "ExportMetadata", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "ExportMetadata" }, + "description": "ExportMetadata exports metadata from a service.", + "file": "DataprocMetastoreClient/ExportMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_ExportMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ExportMetadata Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetBackup_sync", - "title": "metastore GetBackup Sample", - "description": "GetBackup gets details of a single backup.", - "file": "DataprocMetastoreClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.GetBackup", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetBackup", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Backup", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetBackup", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets details of a single backup.", + "file": "DataprocMetastoreClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetBackup Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataprocMetastoreClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetIamPolicy Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetLocation_sync", - "title": "metastore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataprocMetastoreClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataprocMetastoreClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetLocation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetMetadataImport_sync", - "title": "metastore GetMetadataImport Sample", - "description": "GetMetadataImport gets details of a single import.", - "file": "DataprocMetastoreClient/GetMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.GetMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.MetadataImport", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetMetadataImport", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "GetMetadataImport" }, + "description": "GetMetadataImport gets details of a single import.", + "file": "DataprocMetastoreClient/GetMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetMetadataImport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetMetadataImport Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetOperation_sync", - "title": "metastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetOperation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetService_sync", - "title": "metastore GetService Sample", - "description": "GetService gets the details of a single service.", - "file": "DataprocMetastoreClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.GetService", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetService", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Service", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "GetService" }, + "description": "GetService gets the details of a single service.", + "file": "DataprocMetastoreClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetService Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListBackups_sync", - "title": "metastore ListBackups Sample", - "description": "ListBackups lists backups in a service.", - "file": "DataprocMetastoreClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.ListBackups", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListBackups", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListBackups", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists backups in a service.", + "file": "DataprocMetastoreClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListBackups Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListLocations_sync", - "title": "metastore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataprocMetastoreClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataprocMetastoreClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListLocations Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListMetadataImports_sync", - "title": "metastore ListMetadataImports Sample", - "description": "ListMetadataImports lists imports in a service.", - "file": "DataprocMetastoreClient/ListMetadataImports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetadataImports", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.ListMetadataImports", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListMetadataImports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListMetadataImportsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListMetadataImportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetadataImportIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListMetadataImports", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "ListMetadataImports" }, + "description": "ListMetadataImports lists imports in a service.", + "file": "DataprocMetastoreClient/ListMetadataImports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListMetadataImports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListMetadataImports Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListOperations_sync", - "title": "metastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListOperations Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListServices_sync", - "title": "metastore ListServices Sample", - "description": "ListServices lists services in a project and location.", - "file": "DataprocMetastoreClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.ListServices", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListServices", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListServices", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists services in a project and location.", + "file": "DataprocMetastoreClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListServices Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_MoveTableToDatabase_sync", - "title": "metastore MoveTableToDatabase Sample", - "description": "MoveTableToDatabase move a table to another database.", - "file": "DataprocMetastoreClient/MoveTableToDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveTableToDatabase", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.MoveTableToDatabase", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "MoveTableToDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.MoveTableToDatabaseRequest", - "name": "req" + "name": "req", + "type": "metastorepb.MoveTableToDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveTableToDatabaseOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "MoveTableToDatabase", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "MoveTableToDatabase" }, + "description": "MoveTableToDatabase move a table to another database.", + "file": "DataprocMetastoreClient/MoveTableToDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_MoveTableToDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore MoveTableToDatabase Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_QueryMetadata_sync", - "title": "metastore QueryMetadata Sample", - "description": "QueryMetadata query DPMS metadata.", - "file": "DataprocMetastoreClient/QueryMetadata/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryMetadata", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.QueryMetadata", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "QueryMetadata" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.QueryMetadataRequest", - "name": "req" + "name": "req", + "type": "metastorepb.QueryMetadataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QueryMetadataOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "QueryMetadata", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "QueryMetadata" }, + "description": "QueryMetadata query DPMS metadata.", + "file": "DataprocMetastoreClient/QueryMetadata/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_QueryMetadata_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore QueryMetadata Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_RemoveIamPolicy_sync", - "title": "metastore RemoveIamPolicy Sample", - "description": "RemoveIamPolicy removes the attached IAM policies for a resource", - "file": "DataprocMetastoreClient/RemoveIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.RemoveIamPolicy", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "RemoveIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.RemoveIamPolicyRequest", - "name": "req" + "name": "req", + "type": "metastorepb.RemoveIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.RemoveIamPolicyResponse", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "RemoveIamPolicy", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "RemoveIamPolicy" }, + "description": "RemoveIamPolicy removes the attached IAM policies for a resource", + "file": "DataprocMetastoreClient/RemoveIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_RemoveIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore RemoveIamPolicy Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_RestoreService_sync", - "title": "metastore RestoreService Sample", - "description": "RestoreService restores a service from a backup.", - "file": "DataprocMetastoreClient/RestoreService/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreService", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.RestoreService", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RestoreService", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "RestoreService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.RestoreServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.RestoreServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "RestoreService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RestoreService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "RestoreService" }, + "description": "RestoreService restores a service from a backup.", + "file": "DataprocMetastoreClient/RestoreService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_RestoreService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore RestoreService Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_SetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataprocMetastoreClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore SetIamPolicy Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_TestIamPermissions_sync", - "title": "metastore 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": "DataprocMetastoreClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataprocMetastoreClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore TestIamPermissions Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_UpdateMetadataImport_sync", - "title": "metastore UpdateMetadataImport Sample", - "description": "UpdateMetadataImport updates a single import.\nOnly the description field of MetadataImport is supported to be updated.", - "file": "DataprocMetastoreClient/UpdateMetadataImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMetadataImport", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.UpdateMetadataImport", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateMetadataImport", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "UpdateMetadataImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateMetadataImportRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateMetadataImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMetadataImportOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "UpdateMetadataImport", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateMetadataImport", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "UpdateMetadataImport" }, + "description": "UpdateMetadataImport updates a single import.\nOnly the description field of MetadataImport is supported to be updated.", + "file": "DataprocMetastoreClient/UpdateMetadataImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_UpdateMetadataImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateMetadataImport Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastore_UpdateService_sync", - "title": "metastore UpdateService Sample", - "description": "UpdateService updates the parameters of a single service.", - "file": "DataprocMetastoreClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient", + "shortName": "DataprocMetastoreClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient.UpdateService", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateService", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "DataprocMetastore" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceOperation", - "client": { - "shortName": "DataprocMetastoreClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateService", - "service": { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates the parameters of a single service.", + "file": "DataprocMetastoreClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastore_UpdateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateService Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_CancelOperation_sync", - "title": "metastore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CancelOperation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_CreateFederation_sync", - "title": "metastore CreateFederation Sample", - "description": "CreateFederation creates a metastore federation in a project and location.", - "file": "DataprocMetastoreFederationClient/CreateFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFederation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.CreateFederation", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.CreateFederation", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "CreateFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.CreateFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.CreateFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "CreateFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.CreateFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation" - } - } + "shortName": "CreateFederation" }, + "description": "CreateFederation creates a metastore federation in a project and location.", + "file": "DataprocMetastoreFederationClient/CreateFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_CreateFederation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore CreateFederation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_DeleteFederation_sync", - "title": "metastore DeleteFederation Sample", - "description": "DeleteFederation deletes a single federation.", - "file": "DataprocMetastoreFederationClient/DeleteFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFederation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.DeleteFederation", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.DeleteFederation", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "DeleteFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.DeleteFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.DeleteFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "DeleteFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.DeleteFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation" - } - } + "shortName": "DeleteFederation" }, + "description": "DeleteFederation deletes a single federation.", + "file": "DataprocMetastoreFederationClient/DeleteFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_DeleteFederation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteFederation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_DeleteOperation_sync", - "title": "metastore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore DeleteOperation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetFederation_sync", - "title": "metastore GetFederation Sample", - "description": "GetFederation gets the details of a single federation.", - "file": "DataprocMetastoreFederationClient/GetFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFederation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.GetFederation", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.GetFederation", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "GetFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.GetFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.GetFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metastorepb.Federation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.GetFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation" - } - } + "shortName": "GetFederation" }, + "description": "GetFederation gets the details of a single federation.", + "file": "DataprocMetastoreFederationClient/GetFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetFederation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetFederation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataprocMetastoreFederationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetIamPolicy Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetLocation_sync", - "title": "metastore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataprocMetastoreFederationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataprocMetastoreFederationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetLocation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetOperation_sync", - "title": "metastore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore GetOperation Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_ListFederations_sync", - "title": "metastore ListFederations Sample", - "description": "ListFederations lists federations in a project and location.", - "file": "DataprocMetastoreFederationClient/ListFederations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFederations", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.ListFederations", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.ListFederations", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "ListFederations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.ListFederationsRequest", - "name": "req" + "name": "req", + "type": "metastorepb.ListFederationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FederationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListFederations", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.ListFederations", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation" - } - } + "shortName": "ListFederations" }, + "description": "ListFederations lists federations in a project and location.", + "file": "DataprocMetastoreFederationClient/ListFederations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_ListFederations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListFederations Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_ListLocations_sync", - "title": "metastore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataprocMetastoreFederationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataprocMetastoreFederationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListLocations Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_ListOperations_sync", - "title": "metastore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataprocMetastoreFederationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataprocMetastoreFederationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore ListOperations Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_SetIamPolicy_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataprocMetastoreFederationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore SetIamPolicy Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_TestIamPermissions_sync", - "title": "metastore 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": "DataprocMetastoreFederationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataprocMetastoreFederationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore TestIamPermissions Sample" }, { - "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_UpdateFederation_sync", - "title": "metastore UpdateFederation Sample", - "description": "UpdateFederation updates the fields of a federation.", - "file": "DataprocMetastoreFederationClient/UpdateFederation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFederation", + "client": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient", + "shortName": "DataprocMetastoreFederationClient" + }, "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient.UpdateFederation", + "method": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.UpdateFederation", + "service": { + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "shortName": "DataprocMetastoreFederation" + }, + "shortName": "UpdateFederation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metastorepb.UpdateFederationRequest", - "name": "req" + "name": "req", + "type": "metastorepb.UpdateFederationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFederationOperation", - "client": { - "shortName": "DataprocMetastoreFederationClient", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederationClient" - }, - "method": { - "shortName": "UpdateFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.UpdateFederation", - "service": { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation" - } - } + "shortName": "UpdateFederation" }, + "description": "UpdateFederation updates the fields of a federation.", + "file": "DataprocMetastoreFederationClient/UpdateFederation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "metastore_v1beta_generated_DataprocMetastoreFederation_UpdateFederation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "metastore UpdateFederation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json b/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json index e531c5753026..041bafcaff2b 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json +++ b/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json @@ -1,2495 +1,2495 @@ { "clientLibrary": { - "name": "cloud.google.com/go/migrationcenter/apiv1", - "version": "1.1.6", - "language": "GO", "apis": [ { "id": "google.cloud.migrationcenter.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/migrationcenter/apiv1", + "version": "1.1.6" }, "snippets": [ { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_AddAssetsToGroup_sync", - "title": "migrationcenter AddAssetsToGroup Sample", - "description": "AddAssetsToGroup adds assets to a group.", - "file": "Client/AddAssetsToGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddAssetsToGroup", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.AddAssetsToGroup", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.AddAssetsToGroup", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "AddAssetsToGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.AddAssetsToGroupRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.AddAssetsToGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddAssetsToGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "AddAssetsToGroup", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.AddAssetsToGroup", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "AddAssetsToGroup" }, + "description": "AddAssetsToGroup adds assets to a group.", + "file": "Client/AddAssetsToGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_AddAssetsToGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter AddAssetsToGroup Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_AggregateAssetsValues_sync", - "title": "migrationcenter AggregateAssetsValues Sample", - "description": "AggregateAssetsValues aggregates the requested fields based on provided function.", - "file": "Client/AggregateAssetsValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregateAssetsValues", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.AggregateAssetsValues", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.AggregateAssetsValues", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "AggregateAssetsValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.AggregateAssetsValuesRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.AggregateAssetsValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.AggregateAssetsValuesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "AggregateAssetsValues", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.AggregateAssetsValues", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "AggregateAssetsValues" }, + "description": "AggregateAssetsValues aggregates the requested fields based on provided function.", + "file": "Client/AggregateAssetsValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_AggregateAssetsValues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter AggregateAssetsValues Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_BatchDeleteAssets_sync", - "title": "migrationcenter BatchDeleteAssets Sample", - "description": "BatchDeleteAssets deletes list of Assets.", - "file": "Client/BatchDeleteAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteAssets", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.BatchDeleteAssets", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.BatchDeleteAssets", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "BatchDeleteAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.BatchDeleteAssetsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.BatchDeleteAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "BatchDeleteAssets", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.BatchDeleteAssets", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "BatchDeleteAssets" }, + "description": "BatchDeleteAssets deletes list of Assets.", + "file": "Client/BatchDeleteAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_BatchDeleteAssets_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter BatchDeleteAssets Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_BatchUpdateAssets_sync", - "title": "migrationcenter BatchUpdateAssets Sample", - "description": "BatchUpdateAssets updates the parameters of a list of assets.", - "file": "Client/BatchUpdateAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateAssets", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.BatchUpdateAssets", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.BatchUpdateAssets", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "BatchUpdateAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.BatchUpdateAssetsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.BatchUpdateAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.BatchUpdateAssetsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "BatchUpdateAssets", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.BatchUpdateAssets", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "BatchUpdateAssets" }, + "description": "BatchUpdateAssets updates the parameters of a list of assets.", + "file": "Client/BatchUpdateAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_BatchUpdateAssets_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter BatchUpdateAssets Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CancelOperation_sync", - "title": "migrationcenter CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CancelOperation Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateGroup_sync", - "title": "migrationcenter CreateGroup Sample", - "description": "CreateGroup creates a new group in a given project and location.", - "file": "Client/CreateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGroup", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreateGroup", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateGroup", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreateGroupRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreateGroup", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateGroup", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreateGroup" }, + "description": "CreateGroup creates a new group in a given project and location.", + "file": "Client/CreateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreateGroup Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateImportDataFile_sync", - "title": "migrationcenter CreateImportDataFile Sample", - "description": "CreateImportDataFile creates an import data file.", - "file": "Client/CreateImportDataFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateImportDataFile", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreateImportDataFile", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateImportDataFile", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreateImportDataFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreateImportDataFileRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreateImportDataFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateImportDataFileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreateImportDataFile", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateImportDataFile", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreateImportDataFile" }, + "description": "CreateImportDataFile creates an import data file.", + "file": "Client/CreateImportDataFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateImportDataFile_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreateImportDataFile Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateImportJob_sync", - "title": "migrationcenter CreateImportJob Sample", - "description": "CreateImportJob creates an import job.", - "file": "Client/CreateImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateImportJob", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreateImportJob", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateImportJob", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreateImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreateImportJobRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreateImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateImportJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreateImportJob", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateImportJob", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreateImportJob" }, + "description": "CreateImportJob creates an import job.", + "file": "Client/CreateImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateImportJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreateImportJob Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreatePreferenceSet_sync", - "title": "migrationcenter CreatePreferenceSet Sample", - "description": "CreatePreferenceSet creates a new preference set in a given project and location.", - "file": "Client/CreatePreferenceSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePreferenceSet", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreatePreferenceSet", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreatePreferenceSet", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreatePreferenceSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreatePreferenceSetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreatePreferenceSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePreferenceSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreatePreferenceSet", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreatePreferenceSet", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreatePreferenceSet" }, + "description": "CreatePreferenceSet creates a new preference set in a given project and location.", + "file": "Client/CreatePreferenceSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreatePreferenceSet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreatePreferenceSet Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateReport_sync", - "title": "migrationcenter CreateReport Sample", - "description": "CreateReport creates a report.", - "file": "Client/CreateReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReport", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreateReport", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateReport", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreateReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreateReportRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreateReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreateReport", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateReport", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreateReport" }, + "description": "CreateReport creates a report.", + "file": "Client/CreateReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateReport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreateReport Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateReportConfig_sync", - "title": "migrationcenter CreateReportConfig Sample", - "description": "CreateReportConfig creates a report configuration.", - "file": "Client/CreateReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReportConfig", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreateReportConfig", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateReportConfig", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreateReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreateReportConfigRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreateReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReportConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreateReportConfig", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateReportConfig", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreateReportConfig" }, + "description": "CreateReportConfig creates a report configuration.", + "file": "Client/CreateReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateReportConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreateReportConfig Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateSource_sync", - "title": "migrationcenter CreateSource Sample", - "description": "CreateSource creates a new source in a given project and location.", - "file": "Client/CreateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSource", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.CreateSource", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateSource", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "CreateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.CreateSourceRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.CreateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "CreateSource", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateSource", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "CreateSource" }, + "description": "CreateSource creates a new source in a given project and location.", + "file": "Client/CreateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_CreateSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter CreateSource Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteAsset_sync", - "title": "migrationcenter DeleteAsset Sample", - "description": "DeleteAsset deletes an asset.", - "file": "Client/DeleteAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAsset", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteAsset", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteAsset", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteAssetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteAsset", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteAsset", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteAsset" }, + "description": "DeleteAsset deletes an asset.", + "file": "Client/DeleteAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteAsset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteAsset Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteGroup_sync", - "title": "migrationcenter DeleteGroup Sample", - "description": "DeleteGroup deletes a group.", - "file": "Client/DeleteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGroup", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteGroup", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteGroup", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteGroupRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteGroup", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteGroup", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteGroup" }, + "description": "DeleteGroup deletes a group.", + "file": "Client/DeleteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteGroup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteGroup Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteImportDataFile_sync", - "title": "migrationcenter DeleteImportDataFile Sample", - "description": "DeleteImportDataFile delete an import data file.", - "file": "Client/DeleteImportDataFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteImportDataFile", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteImportDataFile", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteImportDataFile", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteImportDataFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteImportDataFileRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteImportDataFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteImportDataFileOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteImportDataFile", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteImportDataFile", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteImportDataFile" }, + "description": "DeleteImportDataFile delete an import data file.", + "file": "Client/DeleteImportDataFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteImportDataFile_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteImportDataFile Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteImportJob_sync", - "title": "migrationcenter DeleteImportJob Sample", - "description": "DeleteImportJob deletes an import job.", - "file": "Client/DeleteImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteImportJob", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteImportJob", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteImportJob", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteImportJobRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteImportJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteImportJob", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteImportJob", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteImportJob" }, + "description": "DeleteImportJob deletes an import job.", + "file": "Client/DeleteImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteImportJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteImportJob Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteOperation_sync", - "title": "migrationcenter DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteOperation Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeletePreferenceSet_sync", - "title": "migrationcenter DeletePreferenceSet Sample", - "description": "DeletePreferenceSet deletes a preference set.", - "file": "Client/DeletePreferenceSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePreferenceSet", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeletePreferenceSet", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeletePreferenceSet", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeletePreferenceSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeletePreferenceSetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeletePreferenceSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePreferenceSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeletePreferenceSet", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeletePreferenceSet", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeletePreferenceSet" }, + "description": "DeletePreferenceSet deletes a preference set.", + "file": "Client/DeletePreferenceSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeletePreferenceSet_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeletePreferenceSet Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteReport_sync", - "title": "migrationcenter DeleteReport Sample", - "description": "DeleteReport deletes a Report.", - "file": "Client/DeleteReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReport", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteReport", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteReport", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteReportRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteReport", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteReport", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteReport" }, + "description": "DeleteReport deletes a Report.", + "file": "Client/DeleteReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteReport_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteReport Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteReportConfig_sync", - "title": "migrationcenter DeleteReportConfig Sample", - "description": "DeleteReportConfig deletes a ReportConfig.", - "file": "Client/DeleteReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReportConfig", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteReportConfig", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteReportConfig", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteReportConfigRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReportConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteReportConfig", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteReportConfig", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteReportConfig" }, + "description": "DeleteReportConfig deletes a ReportConfig.", + "file": "Client/DeleteReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteReportConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteReportConfig Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteSource_sync", - "title": "migrationcenter DeleteSource Sample", - "description": "DeleteSource deletes a source.", - "file": "Client/DeleteSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSource", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.DeleteSource", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteSource", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "DeleteSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.DeleteSourceRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.DeleteSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "DeleteSource", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteSource", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "DeleteSource" }, + "description": "DeleteSource deletes a source.", + "file": "Client/DeleteSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_DeleteSource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter DeleteSource Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetAsset_sync", - "title": "migrationcenter GetAsset Sample", - "description": "GetAsset gets the details of an asset.", - "file": "Client/GetAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAsset", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetAsset", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetAsset", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetAssetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.Asset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetAsset", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetAsset", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetAsset" }, + "description": "GetAsset gets the details of an asset.", + "file": "Client/GetAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetAsset Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetErrorFrame_sync", - "title": "migrationcenter GetErrorFrame Sample", - "description": "GetErrorFrame gets the details of an error frame.", - "file": "Client/GetErrorFrame/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetErrorFrame", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetErrorFrame", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetErrorFrame", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetErrorFrame" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetErrorFrameRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetErrorFrameRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.ErrorFrame", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetErrorFrame", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetErrorFrame", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetErrorFrame" }, + "description": "GetErrorFrame gets the details of an error frame.", + "file": "Client/GetErrorFrame/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetErrorFrame_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetErrorFrame Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetGroup_sync", - "title": "migrationcenter GetGroup Sample", - "description": "GetGroup gets the details of a group.", - "file": "Client/GetGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGroup", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetGroup", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetGroup", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetGroupRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.Group", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetGroup", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetGroup", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetGroup" }, + "description": "GetGroup gets the details of a group.", + "file": "Client/GetGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetGroup Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetImportDataFile_sync", - "title": "migrationcenter GetImportDataFile Sample", - "description": "GetImportDataFile gets an import data file.", - "file": "Client/GetImportDataFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetImportDataFile", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetImportDataFile", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetImportDataFile", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetImportDataFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetImportDataFileRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetImportDataFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.ImportDataFile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetImportDataFile", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetImportDataFile", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetImportDataFile" }, + "description": "GetImportDataFile gets an import data file.", + "file": "Client/GetImportDataFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetImportDataFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetImportDataFile Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetImportJob_sync", - "title": "migrationcenter GetImportJob Sample", - "description": "GetImportJob gets the details of an import job.", - "file": "Client/GetImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetImportJob", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetImportJob", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetImportJob", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetImportJobRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.ImportJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetImportJob", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetImportJob", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetImportJob" }, + "description": "GetImportJob gets the details of an import job.", + "file": "Client/GetImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetImportJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetImportJob Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetLocation_sync", - "title": "migrationcenter GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetLocation Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetOperation_sync", - "title": "migrationcenter GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetOperation Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetPreferenceSet_sync", - "title": "migrationcenter GetPreferenceSet Sample", - "description": "GetPreferenceSet gets the details of a preference set.", - "file": "Client/GetPreferenceSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPreferenceSet", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetPreferenceSet", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetPreferenceSet", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetPreferenceSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetPreferenceSetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetPreferenceSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.PreferenceSet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetPreferenceSet", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetPreferenceSet", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetPreferenceSet" }, + "description": "GetPreferenceSet gets the details of a preference set.", + "file": "Client/GetPreferenceSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetPreferenceSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetPreferenceSet Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetReport_sync", - "title": "migrationcenter GetReport Sample", - "description": "GetReport gets details of a single Report.", - "file": "Client/GetReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReport", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetReport", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetReport", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetReportRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.Report", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetReport", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetReport", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetReport" }, + "description": "GetReport gets details of a single Report.", + "file": "Client/GetReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetReport Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetReportConfig_sync", - "title": "migrationcenter GetReportConfig Sample", - "description": "GetReportConfig gets details of a single ReportConfig.", - "file": "Client/GetReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReportConfig", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetReportConfig", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetReportConfig", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetReportConfigRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.ReportConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetReportConfig", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetReportConfig", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetReportConfig" }, + "description": "GetReportConfig gets details of a single ReportConfig.", + "file": "Client/GetReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetReportConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetReportConfig Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetSettings_sync", - "title": "migrationcenter GetSettings Sample", - "description": "GetSettings gets the details of regional settings.", - "file": "Client/GetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSettings", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetSettings", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetSettings", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetSettingsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.Settings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetSettings", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetSettings", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "GetSettings" }, + "description": "GetSettings gets the details of regional settings.", + "file": "Client/GetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetSettings Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetSource_sync", - "title": "migrationcenter GetSource Sample", - "description": "GetSource gets the details of a source.", - "file": "Client/GetSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSource", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.GetSource", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetSource", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "GetSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.GetSourceRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.GetSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*migrationcenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "GetSource", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetSource", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*migrationcenterpb.Source", + "shortName": "GetSource" }, + "description": "GetSource gets the details of a source.", + "file": "Client/GetSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_GetSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter GetSource Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListAssets_sync", - "title": "migrationcenter ListAssets Sample", - "description": "ListAssets lists all the assets in a given project and location.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListAssets", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListAssets", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListAssets", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists all the assets in a given project and location.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListAssets Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListErrorFrames_sync", - "title": "migrationcenter ListErrorFrames Sample", - "description": "ListErrorFrames lists all error frames in a given source and location.", - "file": "Client/ListErrorFrames/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListErrorFrames", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListErrorFrames", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListErrorFrames", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListErrorFrames" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListErrorFramesRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListErrorFramesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ErrorFrameIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListErrorFrames", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListErrorFrames", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListErrorFrames" }, + "description": "ListErrorFrames lists all error frames in a given source and location.", + "file": "Client/ListErrorFrames/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListErrorFrames_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListErrorFrames Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListGroups_sync", - "title": "migrationcenter ListGroups Sample", - "description": "ListGroups lists all groups in a given project and location.", - "file": "Client/ListGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroups", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListGroups", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListGroups", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListGroupsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListGroups", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListGroups", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListGroups" }, + "description": "ListGroups lists all groups in a given project and location.", + "file": "Client/ListGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListGroups Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListImportDataFiles_sync", - "title": "migrationcenter ListImportDataFiles Sample", - "description": "ListImportDataFiles list import data files.", - "file": "Client/ListImportDataFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListImportDataFiles", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListImportDataFiles", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListImportDataFiles", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListImportDataFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListImportDataFilesRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListImportDataFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataFileIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListImportDataFiles", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListImportDataFiles", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListImportDataFiles" }, + "description": "ListImportDataFiles list import data files.", + "file": "Client/ListImportDataFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListImportDataFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListImportDataFiles Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListImportJobs_sync", - "title": "migrationcenter ListImportJobs Sample", - "description": "ListImportJobs lists all import jobs.", - "file": "Client/ListImportJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListImportJobs", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListImportJobs", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListImportJobs", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListImportJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListImportJobsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListImportJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListImportJobs", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListImportJobs", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListImportJobs" }, + "description": "ListImportJobs lists all import jobs.", + "file": "Client/ListImportJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListImportJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListImportJobs Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListLocations_sync", - "title": "migrationcenter ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListLocations Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListOperations_sync", - "title": "migrationcenter ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListOperations Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListPreferenceSets_sync", - "title": "migrationcenter ListPreferenceSets Sample", - "description": "ListPreferenceSets lists all the preference sets in a given project and location.", - "file": "Client/ListPreferenceSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPreferenceSets", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListPreferenceSets", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListPreferenceSets", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListPreferenceSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListPreferenceSetsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListPreferenceSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PreferenceSetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListPreferenceSets", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListPreferenceSets", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListPreferenceSets" }, + "description": "ListPreferenceSets lists all the preference sets in a given project and location.", + "file": "Client/ListPreferenceSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListPreferenceSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListPreferenceSets Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListReportConfigs_sync", - "title": "migrationcenter ListReportConfigs Sample", - "description": "ListReportConfigs lists ReportConfigs in a given project and location.", - "file": "Client/ListReportConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReportConfigs", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListReportConfigs", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListReportConfigs", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListReportConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListReportConfigsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListReportConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListReportConfigs", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListReportConfigs", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListReportConfigs" }, + "description": "ListReportConfigs lists ReportConfigs in a given project and location.", + "file": "Client/ListReportConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListReportConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListReportConfigs Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListReports_sync", - "title": "migrationcenter ListReports Sample", - "description": "ListReports lists Reports in a given ReportConfig.", - "file": "Client/ListReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReports", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListReports", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListReports", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListReportsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListReports", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListReports", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListReports" }, + "description": "ListReports lists Reports in a given ReportConfig.", + "file": "Client/ListReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListReports Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListSources_sync", - "title": "migrationcenter ListSources Sample", - "description": "ListSources lists all the sources in a given project and location.", - "file": "Client/ListSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSources", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ListSources", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListSources", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ListSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ListSourcesRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ListSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ListSources", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListSources", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ListSources" }, + "description": "ListSources lists all the sources in a given project and location.", + "file": "Client/ListSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ListSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ListSources Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_RemoveAssetsFromGroup_sync", - "title": "migrationcenter RemoveAssetsFromGroup Sample", - "description": "RemoveAssetsFromGroup removes assets from a group.", - "file": "Client/RemoveAssetsFromGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveAssetsFromGroup", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.RemoveAssetsFromGroup", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.RemoveAssetsFromGroup", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "RemoveAssetsFromGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.RemoveAssetsFromGroupRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.RemoveAssetsFromGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveAssetsFromGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "RemoveAssetsFromGroup", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.RemoveAssetsFromGroup", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "RemoveAssetsFromGroup" }, + "description": "RemoveAssetsFromGroup removes assets from a group.", + "file": "Client/RemoveAssetsFromGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_RemoveAssetsFromGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter RemoveAssetsFromGroup Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ReportAssetFrames_sync", - "title": "migrationcenter ReportAssetFrames Sample", - "description": "ReportAssetFrames reports a set of frames.", - "file": "Client/ReportAssetFrames/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportAssetFrames", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ReportAssetFrames", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ReportAssetFrames", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ReportAssetFrames" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ReportAssetFramesRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ReportAssetFramesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.ReportAssetFramesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ReportAssetFrames", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ReportAssetFrames", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ReportAssetFrames" }, + "description": "ReportAssetFrames reports a set of frames.", + "file": "Client/ReportAssetFrames/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ReportAssetFrames_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ReportAssetFrames Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_RunImportJob_sync", - "title": "migrationcenter RunImportJob Sample", - "description": "RunImportJob runs an import job.", - "file": "Client/RunImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunImportJob", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.RunImportJob", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.RunImportJob", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "RunImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.RunImportJobRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.RunImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunImportJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "RunImportJob", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.RunImportJob", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "RunImportJob" }, + "description": "RunImportJob runs an import job.", + "file": "Client/RunImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_RunImportJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter RunImportJob Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateAsset_sync", - "title": "migrationcenter UpdateAsset Sample", - "description": "UpdateAsset updates the parameters of an asset.", - "file": "Client/UpdateAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAsset", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.UpdateAsset", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateAsset", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "UpdateAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.UpdateAssetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.UpdateAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*migrationcenterpb.Asset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "UpdateAsset", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateAsset", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "UpdateAsset" }, + "description": "UpdateAsset updates the parameters of an asset.", + "file": "Client/UpdateAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter UpdateAsset Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateGroup_sync", - "title": "migrationcenter UpdateGroup Sample", - "description": "UpdateGroup updates the parameters of a group.", - "file": "Client/UpdateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGroup", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.UpdateGroup", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateGroup", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "UpdateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.UpdateGroupRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.UpdateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "UpdateGroup", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateGroup", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "UpdateGroup" }, + "description": "UpdateGroup updates the parameters of a group.", + "file": "Client/UpdateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter UpdateGroup Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateImportJob_sync", - "title": "migrationcenter UpdateImportJob Sample", - "description": "UpdateImportJob updates an import job.", - "file": "Client/UpdateImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateImportJob", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.UpdateImportJob", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateImportJob", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "UpdateImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.UpdateImportJobRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.UpdateImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateImportJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "UpdateImportJob", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateImportJob", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "UpdateImportJob" }, + "description": "UpdateImportJob updates an import job.", + "file": "Client/UpdateImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateImportJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter UpdateImportJob Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdatePreferenceSet_sync", - "title": "migrationcenter UpdatePreferenceSet Sample", - "description": "UpdatePreferenceSet updates the parameters of a preference set.", - "file": "Client/UpdatePreferenceSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePreferenceSet", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.UpdatePreferenceSet", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdatePreferenceSet", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "UpdatePreferenceSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.UpdatePreferenceSetRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.UpdatePreferenceSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePreferenceSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "UpdatePreferenceSet", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdatePreferenceSet", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "UpdatePreferenceSet" }, + "description": "UpdatePreferenceSet updates the parameters of a preference set.", + "file": "Client/UpdatePreferenceSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdatePreferenceSet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter UpdatePreferenceSet Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateSettings_sync", - "title": "migrationcenter UpdateSettings Sample", - "description": "UpdateSettings updates the regional-level project settings.", - "file": "Client/UpdateSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSettings", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.UpdateSettings", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateSettings", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "UpdateSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.UpdateSettingsRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.UpdateSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSettingsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "UpdateSettings", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateSettings", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "UpdateSettings" }, + "description": "UpdateSettings updates the regional-level project settings.", + "file": "Client/UpdateSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateSettings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter UpdateSettings Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateSource_sync", - "title": "migrationcenter UpdateSource Sample", - "description": "UpdateSource updates the parameters of a source.", - "file": "Client/UpdateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSource", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.UpdateSource", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateSource", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "UpdateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.UpdateSourceRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.UpdateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "UpdateSource", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateSource", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "UpdateSource" }, + "description": "UpdateSource updates the parameters of a source.", + "file": "Client/UpdateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_UpdateSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter UpdateSource Sample" }, { - "regionTag": "migrationcenter_v1_generated_MigrationCenter_ValidateImportJob_sync", - "title": "migrationcenter ValidateImportJob Sample", - "description": "ValidateImportJob validates an import job.", - "file": "Client/ValidateImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateImportJob", + "client": { + "fullName": "google.cloud.migrationcenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.migrationcenter.v1.Client.ValidateImportJob", + "method": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ValidateImportJob", + "service": { + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", + "shortName": "MigrationCenter" + }, + "shortName": "ValidateImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "migrationcenterpb.ValidateImportJobRequest", - "name": "req" + "name": "req", + "type": "migrationcenterpb.ValidateImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ValidateImportJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.migrationcenter.v1.Client" - }, - "method": { - "shortName": "ValidateImportJob", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ValidateImportJob", - "service": { - "shortName": "MigrationCenter", - "fullName": "google.cloud.migrationcenter.v1.MigrationCenter" - } - } + "shortName": "ValidateImportJob" }, + "description": "ValidateImportJob validates an import job.", + "file": "Client/ValidateImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "migrationcenter_v1_generated_MigrationCenter_ValidateImportJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "migrationcenter ValidateImportJob Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/modelarmor/apiv1/snippet_metadata.google.cloud.modelarmor.v1.json b/internal/generated/snippets/modelarmor/apiv1/snippet_metadata.google.cloud.modelarmor.v1.json index d07b3cc4c15c..db80c4201650 100644 --- a/internal/generated/snippets/modelarmor/apiv1/snippet_metadata.google.cloud.modelarmor.v1.json +++ b/internal/generated/snippets/modelarmor/apiv1/snippet_metadata.google.cloud.modelarmor.v1.json @@ -1,520 +1,520 @@ { "clientLibrary": { - "name": "cloud.google.com/go/modelarmor/apiv1", - "version": "0.6.1", - "language": "GO", "apis": [ { "id": "google.cloud.modelarmor.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/modelarmor/apiv1", + "version": "0.6.1" }, "snippets": [ { - "regionTag": "modelarmor_v1_generated_ModelArmor_CreateTemplate_sync", - "title": "modelarmor CreateTemplate Sample", - "description": "CreateTemplate creates a new Template in a given project and location.", - "file": "Client/CreateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.CreateTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.CreateTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "CreateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.CreateTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.CreateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.Template", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "CreateTemplate", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.CreateTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "CreateTemplate" }, + "description": "CreateTemplate creates a new Template in a given project and location.", + "file": "Client/CreateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_CreateTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor CreateTemplate Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_DeleteTemplate_sync", - "title": "modelarmor DeleteTemplate Sample", - "description": "DeleteTemplate deletes a single Template.", - "file": "Client/DeleteTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.DeleteTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.DeleteTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "DeleteTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.DeleteTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.DeleteTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "DeleteTemplate", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.DeleteTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "DeleteTemplate" }, + "description": "DeleteTemplate deletes a single Template.", + "file": "Client/DeleteTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_DeleteTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor DeleteTemplate Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_GetFloorSetting_sync", - "title": "modelarmor GetFloorSetting Sample", - "description": "GetFloorSetting gets details of a single floor setting of a project", - "file": "Client/GetFloorSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFloorSetting", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.GetFloorSetting", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.GetFloorSetting", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "GetFloorSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.GetFloorSettingRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.GetFloorSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.FloorSetting", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "GetFloorSetting", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.GetFloorSetting", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "GetFloorSetting" }, + "description": "GetFloorSetting gets details of a single floor setting of a project", + "file": "Client/GetFloorSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_GetFloorSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor GetFloorSetting Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_GetLocation_sync", - "title": "modelarmor GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor GetLocation Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_GetTemplate_sync", - "title": "modelarmor GetTemplate Sample", - "description": "GetTemplate gets details of a single Template.", - "file": "Client/GetTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.GetTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.GetTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "GetTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.GetTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.GetTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.Template", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "GetTemplate", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.GetTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "GetTemplate" }, + "description": "GetTemplate gets details of a single Template.", + "file": "Client/GetTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_GetTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor GetTemplate Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_ListLocations_sync", - "title": "modelarmor ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor ListLocations Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_ListTemplates_sync", - "title": "modelarmor ListTemplates Sample", - "description": "ListTemplates lists Templates in a given project and location.", - "file": "Client/ListTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTemplates", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.ListTemplates", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.ListTemplates", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "ListTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.ListTemplatesRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.ListTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "ListTemplates", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.ListTemplates", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "ListTemplates" }, + "description": "ListTemplates lists Templates in a given project and location.", + "file": "Client/ListTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_ListTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor ListTemplates Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_SanitizeModelResponse_sync", - "title": "modelarmor SanitizeModelResponse Sample", - "description": "SanitizeModelResponse sanitizes Model Response.", - "file": "Client/SanitizeModelResponse/main.go", - "language": "GO", "clientMethod": { - "shortName": "SanitizeModelResponse", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.SanitizeModelResponse", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.SanitizeModelResponse", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "SanitizeModelResponse" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.SanitizeModelResponseRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.SanitizeModelResponseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.SanitizeModelResponseResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "SanitizeModelResponse", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.SanitizeModelResponse", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "SanitizeModelResponse" }, + "description": "SanitizeModelResponse sanitizes Model Response.", + "file": "Client/SanitizeModelResponse/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_SanitizeModelResponse_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor SanitizeModelResponse Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_SanitizeUserPrompt_sync", - "title": "modelarmor SanitizeUserPrompt Sample", - "description": "SanitizeUserPrompt sanitizes User Prompt.", - "file": "Client/SanitizeUserPrompt/main.go", - "language": "GO", "clientMethod": { - "shortName": "SanitizeUserPrompt", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.SanitizeUserPrompt", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.SanitizeUserPrompt", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "SanitizeUserPrompt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.SanitizeUserPromptRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.SanitizeUserPromptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.SanitizeUserPromptResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "SanitizeUserPrompt", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.SanitizeUserPrompt", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "SanitizeUserPrompt" }, + "description": "SanitizeUserPrompt sanitizes User Prompt.", + "file": "Client/SanitizeUserPrompt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_SanitizeUserPrompt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor SanitizeUserPrompt Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_UpdateFloorSetting_sync", - "title": "modelarmor UpdateFloorSetting Sample", - "description": "UpdateFloorSetting updates the parameters of a single floor setting of a project", - "file": "Client/UpdateFloorSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFloorSetting", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.UpdateFloorSetting", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.UpdateFloorSetting", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "UpdateFloorSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.UpdateFloorSettingRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.UpdateFloorSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.FloorSetting", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "UpdateFloorSetting", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.UpdateFloorSetting", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "UpdateFloorSetting" }, + "description": "UpdateFloorSetting updates the parameters of a single floor setting of a project", + "file": "Client/UpdateFloorSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_UpdateFloorSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor UpdateFloorSetting Sample" }, { - "regionTag": "modelarmor_v1_generated_ModelArmor_UpdateTemplate_sync", - "title": "modelarmor UpdateTemplate Sample", - "description": "UpdateTemplate updates the parameters of a single Template.", - "file": "Client/UpdateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1.Client.UpdateTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor.UpdateTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "UpdateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.UpdateTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.UpdateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.Template", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1.Client" - }, - "method": { - "shortName": "UpdateTemplate", - "fullName": "google.cloud.modelarmor.v1.ModelArmor.UpdateTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1.ModelArmor" - } - } + "shortName": "UpdateTemplate" }, + "description": "UpdateTemplate updates the parameters of a single Template.", + "file": "Client/UpdateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1_generated_ModelArmor_UpdateTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor UpdateTemplate Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/modelarmor/apiv1beta/snippet_metadata.google.cloud.modelarmor.v1beta.json b/internal/generated/snippets/modelarmor/apiv1beta/snippet_metadata.google.cloud.modelarmor.v1beta.json index 54a3311e16b7..d5c49cdb93ad 100644 --- a/internal/generated/snippets/modelarmor/apiv1beta/snippet_metadata.google.cloud.modelarmor.v1beta.json +++ b/internal/generated/snippets/modelarmor/apiv1beta/snippet_metadata.google.cloud.modelarmor.v1beta.json @@ -1,520 +1,520 @@ { "clientLibrary": { - "name": "cloud.google.com/go/modelarmor/apiv1beta", - "version": "0.6.1", - "language": "GO", "apis": [ { "id": "google.cloud.modelarmor.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/modelarmor/apiv1beta", + "version": "0.6.1" }, "snippets": [ { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_CreateTemplate_sync", - "title": "modelarmor CreateTemplate Sample", - "description": "CreateTemplate creates a new Template in a given project and location.", - "file": "Client/CreateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.CreateTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.CreateTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "CreateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.CreateTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.CreateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.Template", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "CreateTemplate", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.CreateTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "CreateTemplate" }, + "description": "CreateTemplate creates a new Template in a given project and location.", + "file": "Client/CreateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_CreateTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor CreateTemplate Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_DeleteTemplate_sync", - "title": "modelarmor DeleteTemplate Sample", - "description": "DeleteTemplate deletes a single Template.", - "file": "Client/DeleteTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.DeleteTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.DeleteTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "DeleteTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.DeleteTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.DeleteTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "DeleteTemplate", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.DeleteTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "DeleteTemplate" }, + "description": "DeleteTemplate deletes a single Template.", + "file": "Client/DeleteTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_DeleteTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor DeleteTemplate Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_GetFloorSetting_sync", - "title": "modelarmor GetFloorSetting Sample", - "description": "GetFloorSetting gets details of a single floor setting of a project", - "file": "Client/GetFloorSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFloorSetting", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.GetFloorSetting", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.GetFloorSetting", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "GetFloorSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.GetFloorSettingRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.GetFloorSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.FloorSetting", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "GetFloorSetting", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.GetFloorSetting", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "GetFloorSetting" }, + "description": "GetFloorSetting gets details of a single floor setting of a project", + "file": "Client/GetFloorSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_GetFloorSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor GetFloorSetting Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_GetLocation_sync", - "title": "modelarmor GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor GetLocation Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_GetTemplate_sync", - "title": "modelarmor GetTemplate Sample", - "description": "GetTemplate gets details of a single Template.", - "file": "Client/GetTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.GetTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.GetTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "GetTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.GetTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.GetTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.Template", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "GetTemplate", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.GetTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "GetTemplate" }, + "description": "GetTemplate gets details of a single Template.", + "file": "Client/GetTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_GetTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor GetTemplate Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_ListLocations_sync", - "title": "modelarmor ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor ListLocations Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_ListTemplates_sync", - "title": "modelarmor ListTemplates Sample", - "description": "ListTemplates lists Templates in a given project and location.", - "file": "Client/ListTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTemplates", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.ListTemplates", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.ListTemplates", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "ListTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.ListTemplatesRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.ListTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "ListTemplates", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.ListTemplates", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "ListTemplates" }, + "description": "ListTemplates lists Templates in a given project and location.", + "file": "Client/ListTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_ListTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor ListTemplates Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_SanitizeModelResponse_sync", - "title": "modelarmor SanitizeModelResponse Sample", - "description": "SanitizeModelResponse sanitizes Model Response.", - "file": "Client/SanitizeModelResponse/main.go", - "language": "GO", "clientMethod": { - "shortName": "SanitizeModelResponse", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.SanitizeModelResponse", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.SanitizeModelResponse", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "SanitizeModelResponse" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.SanitizeModelResponseRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.SanitizeModelResponseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.SanitizeModelResponseResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "SanitizeModelResponse", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.SanitizeModelResponse", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "SanitizeModelResponse" }, + "description": "SanitizeModelResponse sanitizes Model Response.", + "file": "Client/SanitizeModelResponse/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_SanitizeModelResponse_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor SanitizeModelResponse Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_SanitizeUserPrompt_sync", - "title": "modelarmor SanitizeUserPrompt Sample", - "description": "SanitizeUserPrompt sanitizes User Prompt.", - "file": "Client/SanitizeUserPrompt/main.go", - "language": "GO", "clientMethod": { - "shortName": "SanitizeUserPrompt", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.SanitizeUserPrompt", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.SanitizeUserPrompt", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "SanitizeUserPrompt" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.SanitizeUserPromptRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.SanitizeUserPromptRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.SanitizeUserPromptResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "SanitizeUserPrompt", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.SanitizeUserPrompt", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "SanitizeUserPrompt" }, + "description": "SanitizeUserPrompt sanitizes User Prompt.", + "file": "Client/SanitizeUserPrompt/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_SanitizeUserPrompt_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor SanitizeUserPrompt Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_UpdateFloorSetting_sync", - "title": "modelarmor UpdateFloorSetting Sample", - "description": "UpdateFloorSetting updates the parameters of a single floor setting of a project", - "file": "Client/UpdateFloorSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFloorSetting", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.UpdateFloorSetting", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.UpdateFloorSetting", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "UpdateFloorSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.UpdateFloorSettingRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.UpdateFloorSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.FloorSetting", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "UpdateFloorSetting", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.UpdateFloorSetting", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "UpdateFloorSetting" }, + "description": "UpdateFloorSetting updates the parameters of a single floor setting of a project", + "file": "Client/UpdateFloorSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_UpdateFloorSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor UpdateFloorSetting Sample" }, { - "regionTag": "modelarmor_v1beta_generated_ModelArmor_UpdateTemplate_sync", - "title": "modelarmor UpdateTemplate Sample", - "description": "UpdateTemplate updates the parameters of a single Template.", - "file": "Client/UpdateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTemplate", + "client": { + "fullName": "google.cloud.modelarmor.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.modelarmor.v1beta.Client.UpdateTemplate", + "method": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.UpdateTemplate", + "service": { + "fullName": "google.cloud.modelarmor.v1beta.ModelArmor", + "shortName": "ModelArmor" + }, + "shortName": "UpdateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "modelarmorpb.UpdateTemplateRequest", - "name": "req" + "name": "req", + "type": "modelarmorpb.UpdateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*modelarmorpb.Template", - "client": { - "shortName": "Client", - "fullName": "google.cloud.modelarmor.v1beta.Client" - }, - "method": { - "shortName": "UpdateTemplate", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor.UpdateTemplate", - "service": { - "shortName": "ModelArmor", - "fullName": "google.cloud.modelarmor.v1beta.ModelArmor" - } - } + "shortName": "UpdateTemplate" }, + "description": "UpdateTemplate updates the parameters of a single Template.", + "file": "Client/UpdateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "modelarmor_v1beta_generated_ModelArmor_UpdateTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "modelarmor UpdateTemplate Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json b/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json index d4c2889346f5..6128cf2abc91 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json +++ b/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json @@ -1,2351 +1,2351 @@ { "clientLibrary": { - "name": "cloud.google.com/go/monitoring/apiv3/v2", - "version": "1.24.3", - "language": "GO", "apis": [ { "id": "google.monitoring.v3", "version": "v3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/monitoring/apiv3/v2", + "version": "1.24.3" }, "snippets": [ { - "regionTag": "monitoring_v3_generated_AlertPolicyService_CreateAlertPolicy_sync", - "title": "monitoring CreateAlertPolicy Sample", - "description": "CreateAlertPolicy creates a new alerting policy.\n\nDesign your application to single-thread API calls that modify the state of\nalerting policies in a single project. This includes calls to\nCreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.", - "file": "AlertPolicyClient/CreateAlertPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAlertPolicy", + "client": { + "fullName": "google.monitoring.v3.AlertPolicyClient", + "shortName": "AlertPolicyClient" + }, "fullName": "google.monitoring.v3.AlertPolicyClient.CreateAlertPolicy", + "method": { + "fullName": "google.monitoring.v3.AlertPolicyService.CreateAlertPolicy", + "service": { + "fullName": "google.monitoring.v3.AlertPolicyService", + "shortName": "AlertPolicyService" + }, + "shortName": "CreateAlertPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateAlertPolicyRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateAlertPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.AlertPolicy", - "client": { - "shortName": "AlertPolicyClient", - "fullName": "google.monitoring.v3.AlertPolicyClient" - }, - "method": { - "shortName": "CreateAlertPolicy", - "fullName": "google.monitoring.v3.AlertPolicyService.CreateAlertPolicy", - "service": { - "shortName": "AlertPolicyService", - "fullName": "google.monitoring.v3.AlertPolicyService" - } - } + "shortName": "CreateAlertPolicy" }, + "description": "CreateAlertPolicy creates a new alerting policy.\n\nDesign your application to single-thread API calls that modify the state of\nalerting policies in a single project. This includes calls to\nCreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.", + "file": "AlertPolicyClient/CreateAlertPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_AlertPolicyService_CreateAlertPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateAlertPolicy Sample" }, { - "regionTag": "monitoring_v3_generated_AlertPolicyService_DeleteAlertPolicy_sync", - "title": "monitoring DeleteAlertPolicy Sample", - "description": "DeleteAlertPolicy deletes an alerting policy.\n\nDesign your application to single-thread API calls that modify the state of\nalerting policies in a single project. This includes calls to\nCreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.", - "file": "AlertPolicyClient/DeleteAlertPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAlertPolicy", + "client": { + "fullName": "google.monitoring.v3.AlertPolicyClient", + "shortName": "AlertPolicyClient" + }, "fullName": "google.monitoring.v3.AlertPolicyClient.DeleteAlertPolicy", + "method": { + "fullName": "google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy", + "service": { + "fullName": "google.monitoring.v3.AlertPolicyService", + "shortName": "AlertPolicyService" + }, + "shortName": "DeleteAlertPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteAlertPolicyRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteAlertPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AlertPolicyClient", - "fullName": "google.monitoring.v3.AlertPolicyClient" - }, - "method": { - "shortName": "DeleteAlertPolicy", - "fullName": "google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy", - "service": { - "shortName": "AlertPolicyService", - "fullName": "google.monitoring.v3.AlertPolicyService" - } - } + "shortName": "DeleteAlertPolicy" }, + "description": "DeleteAlertPolicy deletes an alerting policy.\n\nDesign your application to single-thread API calls that modify the state of\nalerting policies in a single project. This includes calls to\nCreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.", + "file": "AlertPolicyClient/DeleteAlertPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_AlertPolicyService_DeleteAlertPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteAlertPolicy Sample" }, { - "regionTag": "monitoring_v3_generated_AlertPolicyService_GetAlertPolicy_sync", - "title": "monitoring GetAlertPolicy Sample", - "description": "GetAlertPolicy gets a single alerting policy.", - "file": "AlertPolicyClient/GetAlertPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAlertPolicy", + "client": { + "fullName": "google.monitoring.v3.AlertPolicyClient", + "shortName": "AlertPolicyClient" + }, "fullName": "google.monitoring.v3.AlertPolicyClient.GetAlertPolicy", + "method": { + "fullName": "google.monitoring.v3.AlertPolicyService.GetAlertPolicy", + "service": { + "fullName": "google.monitoring.v3.AlertPolicyService", + "shortName": "AlertPolicyService" + }, + "shortName": "GetAlertPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetAlertPolicyRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetAlertPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.AlertPolicy", - "client": { - "shortName": "AlertPolicyClient", - "fullName": "google.monitoring.v3.AlertPolicyClient" - }, - "method": { - "shortName": "GetAlertPolicy", - "fullName": "google.monitoring.v3.AlertPolicyService.GetAlertPolicy", - "service": { - "shortName": "AlertPolicyService", - "fullName": "google.monitoring.v3.AlertPolicyService" - } - } + "shortName": "GetAlertPolicy" }, + "description": "GetAlertPolicy gets a single alerting policy.", + "file": "AlertPolicyClient/GetAlertPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_AlertPolicyService_GetAlertPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetAlertPolicy Sample" }, { - "regionTag": "monitoring_v3_generated_AlertPolicyService_ListAlertPolicies_sync", - "title": "monitoring ListAlertPolicies Sample", - "description": "ListAlertPolicies lists the existing alerting policies for the workspace.", - "file": "AlertPolicyClient/ListAlertPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAlertPolicies", + "client": { + "fullName": "google.monitoring.v3.AlertPolicyClient", + "shortName": "AlertPolicyClient" + }, "fullName": "google.monitoring.v3.AlertPolicyClient.ListAlertPolicies", + "method": { + "fullName": "google.monitoring.v3.AlertPolicyService.ListAlertPolicies", + "service": { + "fullName": "google.monitoring.v3.AlertPolicyService", + "shortName": "AlertPolicyService" + }, + "shortName": "ListAlertPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListAlertPoliciesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListAlertPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AlertPolicyIterator", - "client": { - "shortName": "AlertPolicyClient", - "fullName": "google.monitoring.v3.AlertPolicyClient" - }, - "method": { - "shortName": "ListAlertPolicies", - "fullName": "google.monitoring.v3.AlertPolicyService.ListAlertPolicies", - "service": { - "shortName": "AlertPolicyService", - "fullName": "google.monitoring.v3.AlertPolicyService" - } - } + "shortName": "ListAlertPolicies" }, + "description": "ListAlertPolicies lists the existing alerting policies for the workspace.", + "file": "AlertPolicyClient/ListAlertPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_AlertPolicyService_ListAlertPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListAlertPolicies Sample" }, { - "regionTag": "monitoring_v3_generated_AlertPolicyService_UpdateAlertPolicy_sync", - "title": "monitoring UpdateAlertPolicy Sample", - "description": "UpdateAlertPolicy updates an alerting policy. You can either replace the entire policy with\na new one or replace only certain fields in the current alerting policy by\nspecifying the fields to be updated via `updateMask`. Returns the\nupdated alerting policy.\n\nDesign your application to single-thread API calls that modify the state of\nalerting policies in a single project. This includes calls to\nCreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.", - "file": "AlertPolicyClient/UpdateAlertPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAlertPolicy", + "client": { + "fullName": "google.monitoring.v3.AlertPolicyClient", + "shortName": "AlertPolicyClient" + }, "fullName": "google.monitoring.v3.AlertPolicyClient.UpdateAlertPolicy", + "method": { + "fullName": "google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy", + "service": { + "fullName": "google.monitoring.v3.AlertPolicyService", + "shortName": "AlertPolicyService" + }, + "shortName": "UpdateAlertPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateAlertPolicyRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateAlertPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.AlertPolicy", - "client": { - "shortName": "AlertPolicyClient", - "fullName": "google.monitoring.v3.AlertPolicyClient" - }, - "method": { - "shortName": "UpdateAlertPolicy", - "fullName": "google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy", - "service": { - "shortName": "AlertPolicyService", - "fullName": "google.monitoring.v3.AlertPolicyService" - } - } + "shortName": "UpdateAlertPolicy" }, + "description": "UpdateAlertPolicy updates an alerting policy. You can either replace the entire policy with\na new one or replace only certain fields in the current alerting policy by\nspecifying the fields to be updated via `updateMask`. Returns the\nupdated alerting policy.\n\nDesign your application to single-thread API calls that modify the state of\nalerting policies in a single project. This includes calls to\nCreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.", + "file": "AlertPolicyClient/UpdateAlertPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_AlertPolicyService_UpdateAlertPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateAlertPolicy Sample" }, { - "regionTag": "monitoring_v3_generated_GroupService_CreateGroup_sync", - "title": "monitoring CreateGroup Sample", - "description": "CreateGroup creates a new group.", - "file": "GroupClient/CreateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGroup", + "client": { + "fullName": "google.monitoring.v3.GroupClient", + "shortName": "GroupClient" + }, "fullName": "google.monitoring.v3.GroupClient.CreateGroup", + "method": { + "fullName": "google.monitoring.v3.GroupService.CreateGroup", + "service": { + "fullName": "google.monitoring.v3.GroupService", + "shortName": "GroupService" + }, + "shortName": "CreateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateGroupRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Group", - "client": { - "shortName": "GroupClient", - "fullName": "google.monitoring.v3.GroupClient" - }, - "method": { - "shortName": "CreateGroup", - "fullName": "google.monitoring.v3.GroupService.CreateGroup", - "service": { - "shortName": "GroupService", - "fullName": "google.monitoring.v3.GroupService" - } - } + "shortName": "CreateGroup" }, + "description": "CreateGroup creates a new group.", + "file": "GroupClient/CreateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_GroupService_CreateGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateGroup Sample" }, { - "regionTag": "monitoring_v3_generated_GroupService_DeleteGroup_sync", - "title": "monitoring DeleteGroup Sample", - "description": "DeleteGroup deletes an existing group.", - "file": "GroupClient/DeleteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGroup", + "client": { + "fullName": "google.monitoring.v3.GroupClient", + "shortName": "GroupClient" + }, "fullName": "google.monitoring.v3.GroupClient.DeleteGroup", + "method": { + "fullName": "google.monitoring.v3.GroupService.DeleteGroup", + "service": { + "fullName": "google.monitoring.v3.GroupService", + "shortName": "GroupService" + }, + "shortName": "DeleteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteGroupRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "GroupClient", - "fullName": "google.monitoring.v3.GroupClient" - }, - "method": { - "shortName": "DeleteGroup", - "fullName": "google.monitoring.v3.GroupService.DeleteGroup", - "service": { - "shortName": "GroupService", - "fullName": "google.monitoring.v3.GroupService" - } - } + "shortName": "DeleteGroup" }, + "description": "DeleteGroup deletes an existing group.", + "file": "GroupClient/DeleteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_GroupService_DeleteGroup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteGroup Sample" }, { - "regionTag": "monitoring_v3_generated_GroupService_GetGroup_sync", - "title": "monitoring GetGroup Sample", - "description": "GetGroup gets a single group.", - "file": "GroupClient/GetGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGroup", + "client": { + "fullName": "google.monitoring.v3.GroupClient", + "shortName": "GroupClient" + }, "fullName": "google.monitoring.v3.GroupClient.GetGroup", + "method": { + "fullName": "google.monitoring.v3.GroupService.GetGroup", + "service": { + "fullName": "google.monitoring.v3.GroupService", + "shortName": "GroupService" + }, + "shortName": "GetGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetGroupRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Group", - "client": { - "shortName": "GroupClient", - "fullName": "google.monitoring.v3.GroupClient" - }, - "method": { - "shortName": "GetGroup", - "fullName": "google.monitoring.v3.GroupService.GetGroup", - "service": { - "shortName": "GroupService", - "fullName": "google.monitoring.v3.GroupService" - } - } + "shortName": "GetGroup" }, + "description": "GetGroup gets a single group.", + "file": "GroupClient/GetGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_GroupService_GetGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetGroup Sample" }, { - "regionTag": "monitoring_v3_generated_GroupService_ListGroupMembers_sync", - "title": "monitoring ListGroupMembers Sample", - "description": "ListGroupMembers lists the monitored resources that are members of a group.", - "file": "GroupClient/ListGroupMembers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroupMembers", + "client": { + "fullName": "google.monitoring.v3.GroupClient", + "shortName": "GroupClient" + }, "fullName": "google.monitoring.v3.GroupClient.ListGroupMembers", + "method": { + "fullName": "google.monitoring.v3.GroupService.ListGroupMembers", + "service": { + "fullName": "google.monitoring.v3.GroupService", + "shortName": "GroupService" + }, + "shortName": "ListGroupMembers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListGroupMembersRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListGroupMembersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MonitoredResourceIterator", - "client": { - "shortName": "GroupClient", - "fullName": "google.monitoring.v3.GroupClient" - }, - "method": { - "shortName": "ListGroupMembers", - "fullName": "google.monitoring.v3.GroupService.ListGroupMembers", - "service": { - "shortName": "GroupService", - "fullName": "google.monitoring.v3.GroupService" - } - } + "shortName": "ListGroupMembers" }, + "description": "ListGroupMembers lists the monitored resources that are members of a group.", + "file": "GroupClient/ListGroupMembers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_GroupService_ListGroupMembers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListGroupMembers Sample" }, { - "regionTag": "monitoring_v3_generated_GroupService_ListGroups_sync", - "title": "monitoring ListGroups Sample", - "description": "ListGroups lists the existing groups.", - "file": "GroupClient/ListGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroups", + "client": { + "fullName": "google.monitoring.v3.GroupClient", + "shortName": "GroupClient" + }, "fullName": "google.monitoring.v3.GroupClient.ListGroups", + "method": { + "fullName": "google.monitoring.v3.GroupService.ListGroups", + "service": { + "fullName": "google.monitoring.v3.GroupService", + "shortName": "GroupService" + }, + "shortName": "ListGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListGroupsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupIterator", - "client": { - "shortName": "GroupClient", - "fullName": "google.monitoring.v3.GroupClient" - }, - "method": { - "shortName": "ListGroups", - "fullName": "google.monitoring.v3.GroupService.ListGroups", - "service": { - "shortName": "GroupService", - "fullName": "google.monitoring.v3.GroupService" - } - } + "shortName": "ListGroups" }, + "description": "ListGroups lists the existing groups.", + "file": "GroupClient/ListGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_GroupService_ListGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListGroups Sample" }, { - "regionTag": "monitoring_v3_generated_GroupService_UpdateGroup_sync", - "title": "monitoring UpdateGroup Sample", - "description": "UpdateGroup updates an existing group.\nYou can change any group attributes except `name`.", - "file": "GroupClient/UpdateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGroup", + "client": { + "fullName": "google.monitoring.v3.GroupClient", + "shortName": "GroupClient" + }, "fullName": "google.monitoring.v3.GroupClient.UpdateGroup", + "method": { + "fullName": "google.monitoring.v3.GroupService.UpdateGroup", + "service": { + "fullName": "google.monitoring.v3.GroupService", + "shortName": "GroupService" + }, + "shortName": "UpdateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateGroupRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Group", - "client": { - "shortName": "GroupClient", - "fullName": "google.monitoring.v3.GroupClient" - }, - "method": { - "shortName": "UpdateGroup", - "fullName": "google.monitoring.v3.GroupService.UpdateGroup", - "service": { - "shortName": "GroupService", - "fullName": "google.monitoring.v3.GroupService" - } - } + "shortName": "UpdateGroup" }, + "description": "UpdateGroup updates an existing group.\nYou can change any group attributes except `name`.", + "file": "GroupClient/UpdateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_GroupService_UpdateGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateGroup Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_CreateMetricDescriptor_sync", - "title": "monitoring CreateMetricDescriptor Sample", - "description": "CreateMetricDescriptor creates a new metric descriptor.\nThe creation is executed asynchronously.\nUser-created metric descriptors define\n[custom metrics](https: //cloud.google.com/monitoring/custom-metrics).\nThe metric descriptor is updated if it already exists,\nexcept that metric labels are never removed.", - "file": "MetricClient/CreateMetricDescriptor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMetricDescriptor", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.CreateMetricDescriptor", + "method": { + "fullName": "google.monitoring.v3.MetricService.CreateMetricDescriptor", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "CreateMetricDescriptor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateMetricDescriptorRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateMetricDescriptorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metricpb.MetricDescriptor", - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "CreateMetricDescriptor", - "fullName": "google.monitoring.v3.MetricService.CreateMetricDescriptor", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "CreateMetricDescriptor" }, + "description": "CreateMetricDescriptor creates a new metric descriptor.\nThe creation is executed asynchronously.\nUser-created metric descriptors define\n[custom metrics](https: //cloud.google.com/monitoring/custom-metrics).\nThe metric descriptor is updated if it already exists,\nexcept that metric labels are never removed.", + "file": "MetricClient/CreateMetricDescriptor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_CreateMetricDescriptor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateMetricDescriptor Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_CreateServiceTimeSeries_sync", - "title": "monitoring CreateServiceTimeSeries Sample", - "description": "CreateServiceTimeSeries creates or adds data to one or more service time series. A service time\nseries is a time series for a metric from a Google Cloud service. The\nresponse is empty if all time series in the request were written. If any\ntime series could not be written, a corresponding failure message is\nincluded in the error response. This endpoint rejects writes to\nuser-defined metrics.\nThis method is only for use by Google Cloud services. Use\n[projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]\ninstead.", - "file": "MetricClient/CreateServiceTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceTimeSeries", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.CreateServiceTimeSeries", + "method": { + "fullName": "google.monitoring.v3.MetricService.CreateServiceTimeSeries", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "CreateServiceTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "CreateServiceTimeSeries", - "fullName": "google.monitoring.v3.MetricService.CreateServiceTimeSeries", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "CreateServiceTimeSeries" }, + "description": "CreateServiceTimeSeries creates or adds data to one or more service time series. A service time\nseries is a time series for a metric from a Google Cloud service. The\nresponse is empty if all time series in the request were written. If any\ntime series could not be written, a corresponding failure message is\nincluded in the error response. This endpoint rejects writes to\nuser-defined metrics.\nThis method is only for use by Google Cloud services. Use\n[projects.timeSeries.create][google.monitoring.v3.MetricService.CreateTimeSeries]\ninstead.", + "file": "MetricClient/CreateServiceTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_CreateServiceTimeSeries_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateServiceTimeSeries Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_CreateTimeSeries_sync", - "title": "monitoring CreateTimeSeries Sample", - "description": "CreateTimeSeries creates or adds data to one or more time series.\nThe response is empty if all time series in the request were written.\nIf any time series could not be written, a corresponding failure message is\nincluded in the error response.\nThis method does not support\n[resource locations constraint of an organization\npolicy](https: //cloud.google.com/resource-manager/docs/organization-policy/defining-locations#setting_the_organization_policy).", - "file": "MetricClient/CreateTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTimeSeries", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.CreateTimeSeries", + "method": { + "fullName": "google.monitoring.v3.MetricService.CreateTimeSeries", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "CreateTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "CreateTimeSeries", - "fullName": "google.monitoring.v3.MetricService.CreateTimeSeries", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "CreateTimeSeries" }, + "description": "CreateTimeSeries creates or adds data to one or more time series.\nThe response is empty if all time series in the request were written.\nIf any time series could not be written, a corresponding failure message is\nincluded in the error response.\nThis method does not support\n[resource locations constraint of an organization\npolicy](https: //cloud.google.com/resource-manager/docs/organization-policy/defining-locations#setting_the_organization_policy).", + "file": "MetricClient/CreateTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_CreateTimeSeries_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateTimeSeries Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_DeleteMetricDescriptor_sync", - "title": "monitoring DeleteMetricDescriptor Sample", - "description": "DeleteMetricDescriptor deletes a metric descriptor. Only user-created\n[custom metrics](https: //cloud.google.com/monitoring/custom-metrics) can be\ndeleted.", - "file": "MetricClient/DeleteMetricDescriptor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMetricDescriptor", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.DeleteMetricDescriptor", + "method": { + "fullName": "google.monitoring.v3.MetricService.DeleteMetricDescriptor", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "DeleteMetricDescriptor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteMetricDescriptorRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteMetricDescriptorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "DeleteMetricDescriptor", - "fullName": "google.monitoring.v3.MetricService.DeleteMetricDescriptor", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "DeleteMetricDescriptor" }, + "description": "DeleteMetricDescriptor deletes a metric descriptor. Only user-created\n[custom metrics](https: //cloud.google.com/monitoring/custom-metrics) can be\ndeleted.", + "file": "MetricClient/DeleteMetricDescriptor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_DeleteMetricDescriptor_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteMetricDescriptor Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_GetMetricDescriptor_sync", - "title": "monitoring GetMetricDescriptor Sample", - "description": "GetMetricDescriptor gets a single metric descriptor.", - "file": "MetricClient/GetMetricDescriptor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetricDescriptor", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.GetMetricDescriptor", + "method": { + "fullName": "google.monitoring.v3.MetricService.GetMetricDescriptor", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "GetMetricDescriptor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetMetricDescriptorRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetMetricDescriptorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metricpb.MetricDescriptor", - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "GetMetricDescriptor", - "fullName": "google.monitoring.v3.MetricService.GetMetricDescriptor", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "GetMetricDescriptor" }, + "description": "GetMetricDescriptor gets a single metric descriptor.", + "file": "MetricClient/GetMetricDescriptor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_GetMetricDescriptor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetMetricDescriptor Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_GetMonitoredResourceDescriptor_sync", - "title": "monitoring GetMonitoredResourceDescriptor Sample", - "description": "GetMonitoredResourceDescriptor gets a single monitored resource descriptor.", - "file": "MetricClient/GetMonitoredResourceDescriptor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMonitoredResourceDescriptor", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.GetMonitoredResourceDescriptor", + "method": { + "fullName": "google.monitoring.v3.MetricService.GetMonitoredResourceDescriptor", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "GetMonitoredResourceDescriptor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetMonitoredResourceDescriptorRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetMonitoredResourceDescriptorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoredrespb.MonitoredResourceDescriptor", - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "GetMonitoredResourceDescriptor", - "fullName": "google.monitoring.v3.MetricService.GetMonitoredResourceDescriptor", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "GetMonitoredResourceDescriptor" }, + "description": "GetMonitoredResourceDescriptor gets a single monitored resource descriptor.", + "file": "MetricClient/GetMonitoredResourceDescriptor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_GetMonitoredResourceDescriptor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetMonitoredResourceDescriptor Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_ListMetricDescriptors_sync", - "title": "monitoring ListMetricDescriptors Sample", - "description": "ListMetricDescriptors lists metric descriptors that match a filter.", - "file": "MetricClient/ListMetricDescriptors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetricDescriptors", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.ListMetricDescriptors", + "method": { + "fullName": "google.monitoring.v3.MetricService.ListMetricDescriptors", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "ListMetricDescriptors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListMetricDescriptorsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListMetricDescriptorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MetricDescriptorIterator", - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "ListMetricDescriptors", - "fullName": "google.monitoring.v3.MetricService.ListMetricDescriptors", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "ListMetricDescriptors" }, + "description": "ListMetricDescriptors lists metric descriptors that match a filter.", + "file": "MetricClient/ListMetricDescriptors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_ListMetricDescriptors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListMetricDescriptors Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_ListMonitoredResourceDescriptors_sync", - "title": "monitoring ListMonitoredResourceDescriptors Sample", - "description": "ListMonitoredResourceDescriptors lists monitored resource descriptors that match a filter.", - "file": "MetricClient/ListMonitoredResourceDescriptors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMonitoredResourceDescriptors", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.ListMonitoredResourceDescriptors", + "method": { + "fullName": "google.monitoring.v3.MetricService.ListMonitoredResourceDescriptors", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "ListMonitoredResourceDescriptors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListMonitoredResourceDescriptorsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListMonitoredResourceDescriptorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MonitoredResourceDescriptorIterator", - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "ListMonitoredResourceDescriptors", - "fullName": "google.monitoring.v3.MetricService.ListMonitoredResourceDescriptors", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "ListMonitoredResourceDescriptors" }, + "description": "ListMonitoredResourceDescriptors lists monitored resource descriptors that match a filter.", + "file": "MetricClient/ListMonitoredResourceDescriptors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_ListMonitoredResourceDescriptors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListMonitoredResourceDescriptors Sample" }, { - "regionTag": "monitoring_v3_generated_MetricService_ListTimeSeries_sync", - "title": "monitoring ListTimeSeries Sample", - "description": "ListTimeSeries lists time series that match a filter.", - "file": "MetricClient/ListTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTimeSeries", + "client": { + "fullName": "google.monitoring.v3.MetricClient", + "shortName": "MetricClient" + }, "fullName": "google.monitoring.v3.MetricClient.ListTimeSeries", + "method": { + "fullName": "google.monitoring.v3.MetricService.ListTimeSeries", + "service": { + "fullName": "google.monitoring.v3.MetricService", + "shortName": "MetricService" + }, + "shortName": "ListTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TimeSeriesIterator", - "client": { - "shortName": "MetricClient", - "fullName": "google.monitoring.v3.MetricClient" - }, - "method": { - "shortName": "ListTimeSeries", - "fullName": "google.monitoring.v3.MetricService.ListTimeSeries", - "service": { - "shortName": "MetricService", - "fullName": "google.monitoring.v3.MetricService" - } - } + "shortName": "ListTimeSeries" }, + "description": "ListTimeSeries lists time series that match a filter.", + "file": "MetricClient/ListTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_MetricService_ListTimeSeries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListTimeSeries Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_CreateNotificationChannel_sync", - "title": "monitoring CreateNotificationChannel Sample", - "description": "CreateNotificationChannel creates a new notification channel, representing a single notification\nendpoint such as an email address, SMS number, or PagerDuty service.\n\nDesign your application to single-thread API calls that modify the state of\nnotification channels in a single project. This includes calls to\nCreateNotificationChannel, DeleteNotificationChannel and\nUpdateNotificationChannel.", - "file": "NotificationChannelClient/CreateNotificationChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotificationChannel", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.CreateNotificationChannel", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.CreateNotificationChannel", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "CreateNotificationChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateNotificationChannelRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateNotificationChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.NotificationChannel", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "CreateNotificationChannel", - "fullName": "google.monitoring.v3.NotificationChannelService.CreateNotificationChannel", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "CreateNotificationChannel" }, + "description": "CreateNotificationChannel creates a new notification channel, representing a single notification\nendpoint such as an email address, SMS number, or PagerDuty service.\n\nDesign your application to single-thread API calls that modify the state of\nnotification channels in a single project. This includes calls to\nCreateNotificationChannel, DeleteNotificationChannel and\nUpdateNotificationChannel.", + "file": "NotificationChannelClient/CreateNotificationChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_CreateNotificationChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateNotificationChannel Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_DeleteNotificationChannel_sync", - "title": "monitoring DeleteNotificationChannel Sample", - "description": "DeleteNotificationChannel deletes a notification channel.\n\nDesign your application to single-thread API calls that modify the state of\nnotification channels in a single project. This includes calls to\nCreateNotificationChannel, DeleteNotificationChannel and\nUpdateNotificationChannel.", - "file": "NotificationChannelClient/DeleteNotificationChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotificationChannel", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.DeleteNotificationChannel", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.DeleteNotificationChannel", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "DeleteNotificationChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteNotificationChannelRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteNotificationChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "DeleteNotificationChannel", - "fullName": "google.monitoring.v3.NotificationChannelService.DeleteNotificationChannel", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "DeleteNotificationChannel" }, + "description": "DeleteNotificationChannel deletes a notification channel.\n\nDesign your application to single-thread API calls that modify the state of\nnotification channels in a single project. This includes calls to\nCreateNotificationChannel, DeleteNotificationChannel and\nUpdateNotificationChannel.", + "file": "NotificationChannelClient/DeleteNotificationChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_DeleteNotificationChannel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteNotificationChannel Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_GetNotificationChannel_sync", - "title": "monitoring GetNotificationChannel Sample", - "description": "GetNotificationChannel gets a single notification channel. The channel includes the relevant\nconfiguration details with which the channel was created. However, the\nresponse may truncate or omit passwords, API keys, or other private key\nmatter and thus the response may not be 100% identical to the information\nthat was supplied in the call to the create method.", - "file": "NotificationChannelClient/GetNotificationChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationChannel", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.GetNotificationChannel", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannel", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "GetNotificationChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetNotificationChannelRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetNotificationChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.NotificationChannel", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "GetNotificationChannel", - "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannel", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "GetNotificationChannel" }, + "description": "GetNotificationChannel gets a single notification channel. The channel includes the relevant\nconfiguration details with which the channel was created. However, the\nresponse may truncate or omit passwords, API keys, or other private key\nmatter and thus the response may not be 100% identical to the information\nthat was supplied in the call to the create method.", + "file": "NotificationChannelClient/GetNotificationChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_GetNotificationChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetNotificationChannel Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_GetNotificationChannelDescriptor_sync", - "title": "monitoring GetNotificationChannelDescriptor Sample", - "description": "GetNotificationChannelDescriptor gets a single channel descriptor. The descriptor indicates which fields\nare expected / permitted for a notification channel of the given type.", - "file": "NotificationChannelClient/GetNotificationChannelDescriptor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationChannelDescriptor", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.GetNotificationChannelDescriptor", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "GetNotificationChannelDescriptor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetNotificationChannelDescriptorRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetNotificationChannelDescriptorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.NotificationChannelDescriptor", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "GetNotificationChannelDescriptor", - "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "GetNotificationChannelDescriptor" }, + "description": "GetNotificationChannelDescriptor gets a single channel descriptor. The descriptor indicates which fields\nare expected / permitted for a notification channel of the given type.", + "file": "NotificationChannelClient/GetNotificationChannelDescriptor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_GetNotificationChannelDescriptor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetNotificationChannelDescriptor Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_GetNotificationChannelVerificationCode_sync", - "title": "monitoring GetNotificationChannelVerificationCode Sample", - "description": "GetNotificationChannelVerificationCode requests a verification code for an already verified channel that can then\nbe used in a call to VerifyNotificationChannel() on a different channel\nwith an equivalent identity in the same or in a different project. This\nmakes it possible to copy a channel between projects without requiring\nmanual reverification of the channel. If the channel is not in the\nverified state, this method will fail (in other words, this may only be\nused if the SendNotificationChannelVerificationCode and\nVerifyNotificationChannel paths have already been used to put the given\nchannel into the verified state).\n\nThere is no guarantee that the verification codes returned by this method\nwill be of a similar structure or form as the ones that are delivered\nto the channel via SendNotificationChannelVerificationCode; while\nVerifyNotificationChannel() will recognize both the codes delivered via\nSendNotificationChannelVerificationCode() and returned from\nGetNotificationChannelVerificationCode(), it is typically the case that\nthe verification codes delivered via\nSendNotificationChannelVerificationCode() will be shorter and also\nhave a shorter expiration (e.g. codes such as \"G-123456\") whereas\nGetVerificationCode() will typically return a much longer, websafe base\n64 encoded string that has a longer expiration time.", - "file": "NotificationChannelClient/GetNotificationChannelVerificationCode/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationChannelVerificationCode", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.GetNotificationChannelVerificationCode", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCode", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "GetNotificationChannelVerificationCode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetNotificationChannelVerificationCodeRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetNotificationChannelVerificationCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.GetNotificationChannelVerificationCodeResponse", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "GetNotificationChannelVerificationCode", - "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCode", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "GetNotificationChannelVerificationCode" }, + "description": "GetNotificationChannelVerificationCode requests a verification code for an already verified channel that can then\nbe used in a call to VerifyNotificationChannel() on a different channel\nwith an equivalent identity in the same or in a different project. This\nmakes it possible to copy a channel between projects without requiring\nmanual reverification of the channel. If the channel is not in the\nverified state, this method will fail (in other words, this may only be\nused if the SendNotificationChannelVerificationCode and\nVerifyNotificationChannel paths have already been used to put the given\nchannel into the verified state).\n\nThere is no guarantee that the verification codes returned by this method\nwill be of a similar structure or form as the ones that are delivered\nto the channel via SendNotificationChannelVerificationCode; while\nVerifyNotificationChannel() will recognize both the codes delivered via\nSendNotificationChannelVerificationCode() and returned from\nGetNotificationChannelVerificationCode(), it is typically the case that\nthe verification codes delivered via\nSendNotificationChannelVerificationCode() will be shorter and also\nhave a shorter expiration (e.g. codes such as \"G-123456\") whereas\nGetVerificationCode() will typically return a much longer, websafe base\n64 encoded string that has a longer expiration time.", + "file": "NotificationChannelClient/GetNotificationChannelVerificationCode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_GetNotificationChannelVerificationCode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetNotificationChannelVerificationCode Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_ListNotificationChannelDescriptors_sync", - "title": "monitoring ListNotificationChannelDescriptors Sample", - "description": "ListNotificationChannelDescriptors lists the descriptors for supported channel types. The use of descriptors\nmakes it possible for new channel types to be dynamically added.", - "file": "NotificationChannelClient/ListNotificationChannelDescriptors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationChannelDescriptors", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.ListNotificationChannelDescriptors", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptors", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "ListNotificationChannelDescriptors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListNotificationChannelDescriptorsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListNotificationChannelDescriptorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationChannelDescriptorIterator", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "ListNotificationChannelDescriptors", - "fullName": "google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptors", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "ListNotificationChannelDescriptors" }, + "description": "ListNotificationChannelDescriptors lists the descriptors for supported channel types. The use of descriptors\nmakes it possible for new channel types to be dynamically added.", + "file": "NotificationChannelClient/ListNotificationChannelDescriptors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_ListNotificationChannelDescriptors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListNotificationChannelDescriptors Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_ListNotificationChannels_sync", - "title": "monitoring ListNotificationChannels Sample", - "description": "ListNotificationChannels lists the notification channels that have been created for the project.\nTo list the types of notification channels that are supported, use\nthe `ListNotificationChannelDescriptors` method.", - "file": "NotificationChannelClient/ListNotificationChannels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationChannels", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.ListNotificationChannels", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.ListNotificationChannels", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "ListNotificationChannels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListNotificationChannelsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListNotificationChannelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationChannelIterator", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "ListNotificationChannels", - "fullName": "google.monitoring.v3.NotificationChannelService.ListNotificationChannels", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "ListNotificationChannels" }, + "description": "ListNotificationChannels lists the notification channels that have been created for the project.\nTo list the types of notification channels that are supported, use\nthe `ListNotificationChannelDescriptors` method.", + "file": "NotificationChannelClient/ListNotificationChannels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_ListNotificationChannels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListNotificationChannels Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_SendNotificationChannelVerificationCode_sync", - "title": "monitoring SendNotificationChannelVerificationCode Sample", - "description": "SendNotificationChannelVerificationCode causes a verification code to be delivered to the channel. The code\ncan then be supplied in `VerifyNotificationChannel` to verify the channel.", - "file": "NotificationChannelClient/SendNotificationChannelVerificationCode/main.go", - "language": "GO", "clientMethod": { - "shortName": "SendNotificationChannelVerificationCode", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.SendNotificationChannelVerificationCode", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCode", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "SendNotificationChannelVerificationCode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.SendNotificationChannelVerificationCodeRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.SendNotificationChannelVerificationCodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "SendNotificationChannelVerificationCode", - "fullName": "google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCode", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "SendNotificationChannelVerificationCode" }, + "description": "SendNotificationChannelVerificationCode causes a verification code to be delivered to the channel. The code\ncan then be supplied in `VerifyNotificationChannel` to verify the channel.", + "file": "NotificationChannelClient/SendNotificationChannelVerificationCode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_SendNotificationChannelVerificationCode_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring SendNotificationChannelVerificationCode Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_UpdateNotificationChannel_sync", - "title": "monitoring UpdateNotificationChannel Sample", - "description": "UpdateNotificationChannel updates a notification channel. Fields not specified in the field mask\nremain unchanged.\n\nDesign your application to single-thread API calls that modify the state of\nnotification channels in a single project. This includes calls to\nCreateNotificationChannel, DeleteNotificationChannel and\nUpdateNotificationChannel.", - "file": "NotificationChannelClient/UpdateNotificationChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotificationChannel", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.UpdateNotificationChannel", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "UpdateNotificationChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateNotificationChannelRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateNotificationChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.NotificationChannel", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "UpdateNotificationChannel", - "fullName": "google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" - } - } + "shortName": "UpdateNotificationChannel" }, + "description": "UpdateNotificationChannel updates a notification channel. Fields not specified in the field mask\nremain unchanged.\n\nDesign your application to single-thread API calls that modify the state of\nnotification channels in a single project. This includes calls to\nCreateNotificationChannel, DeleteNotificationChannel and\nUpdateNotificationChannel.", + "file": "NotificationChannelClient/UpdateNotificationChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_UpdateNotificationChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateNotificationChannel Sample" }, { - "regionTag": "monitoring_v3_generated_NotificationChannelService_VerifyNotificationChannel_sync", - "title": "monitoring VerifyNotificationChannel Sample", - "description": "VerifyNotificationChannel verifies a `NotificationChannel` by proving receipt of the code\ndelivered to the channel as a result of calling\n`SendNotificationChannelVerificationCode`.", - "file": "NotificationChannelClient/VerifyNotificationChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyNotificationChannel", + "client": { + "fullName": "google.monitoring.v3.NotificationChannelClient", + "shortName": "NotificationChannelClient" + }, "fullName": "google.monitoring.v3.NotificationChannelClient.VerifyNotificationChannel", + "method": { + "fullName": "google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel", + "service": { + "fullName": "google.monitoring.v3.NotificationChannelService", + "shortName": "NotificationChannelService" + }, + "shortName": "VerifyNotificationChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.VerifyNotificationChannelRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.VerifyNotificationChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*monitoringpb.NotificationChannel", - "client": { - "shortName": "NotificationChannelClient", - "fullName": "google.monitoring.v3.NotificationChannelClient" - }, - "method": { - "shortName": "VerifyNotificationChannel", - "fullName": "google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel", - "service": { - "shortName": "NotificationChannelService", - "fullName": "google.monitoring.v3.NotificationChannelService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*monitoringpb.NotificationChannel", + "shortName": "VerifyNotificationChannel" }, + "description": "VerifyNotificationChannel verifies a `NotificationChannel` by proving receipt of the code\ndelivered to the channel as a result of calling\n`SendNotificationChannelVerificationCode`.", + "file": "NotificationChannelClient/VerifyNotificationChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_NotificationChannelService_VerifyNotificationChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring VerifyNotificationChannel Sample" }, { - "regionTag": "monitoring_v3_generated_QueryService_QueryTimeSeries_sync", - "title": "monitoring QueryTimeSeries Sample", - "description": "QueryTimeSeries queries time series by using Monitoring Query Language (MQL). We recommend\nusing PromQL instead of MQL. For more information about the status of MQL,\nsee the [MQL deprecation\nnotice](https: //cloud.google.com/stackdriver/docs/deprecations/mql).\n\n\nDeprecated: QueryTimeSeries may be removed in a future version.", - "file": "QueryClient/QueryTimeSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryTimeSeries", + "client": { + "fullName": "google.monitoring.v3.QueryClient", + "shortName": "QueryClient" + }, "fullName": "google.monitoring.v3.QueryClient.QueryTimeSeries", + "method": { + "fullName": "google.monitoring.v3.QueryService.QueryTimeSeries", + "service": { + "fullName": "google.monitoring.v3.QueryService", + "shortName": "QueryService" + }, + "shortName": "QueryTimeSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.QueryTimeSeriesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.QueryTimeSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TimeSeriesDataIterator", - "client": { - "shortName": "QueryClient", - "fullName": "google.monitoring.v3.QueryClient" - }, - "method": { - "shortName": "QueryTimeSeries", - "fullName": "google.monitoring.v3.QueryService.QueryTimeSeries", - "service": { - "shortName": "QueryService", - "fullName": "google.monitoring.v3.QueryService" - } - } + "shortName": "QueryTimeSeries" }, + "description": "QueryTimeSeries queries time series by using Monitoring Query Language (MQL). We recommend\nusing PromQL instead of MQL. For more information about the status of MQL,\nsee the [MQL deprecation\nnotice](https: //cloud.google.com/stackdriver/docs/deprecations/mql).\n\n\nDeprecated: QueryTimeSeries may be removed in a future version.", + "file": "QueryClient/QueryTimeSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_QueryService_QueryTimeSeries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring QueryTimeSeries Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_CreateService_sync", - "title": "monitoring CreateService Sample", - "description": "CreateService create a `Service`.", - "file": "ServiceMonitoringClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.CreateService", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.CreateService", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Service", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.monitoring.v3.ServiceMonitoringService.CreateService", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "CreateService" }, + "description": "CreateService create a `Service`.", + "file": "ServiceMonitoringClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_CreateService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateService Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_CreateServiceLevelObjective_sync", - "title": "monitoring CreateServiceLevelObjective Sample", - "description": "CreateServiceLevelObjective create a `ServiceLevelObjective` for the given `Service`.", - "file": "ServiceMonitoringClient/CreateServiceLevelObjective/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceLevelObjective", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.CreateServiceLevelObjective", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.CreateServiceLevelObjective", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "CreateServiceLevelObjective" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateServiceLevelObjectiveRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateServiceLevelObjectiveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.ServiceLevelObjective", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "CreateServiceLevelObjective", - "fullName": "google.monitoring.v3.ServiceMonitoringService.CreateServiceLevelObjective", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "CreateServiceLevelObjective" }, + "description": "CreateServiceLevelObjective create a `ServiceLevelObjective` for the given `Service`.", + "file": "ServiceMonitoringClient/CreateServiceLevelObjective/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_CreateServiceLevelObjective_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateServiceLevelObjective Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_DeleteService_sync", - "title": "monitoring DeleteService Sample", - "description": "DeleteService soft delete this `Service`.", - "file": "ServiceMonitoringClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.DeleteService", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.DeleteService", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.monitoring.v3.ServiceMonitoringService.DeleteService", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService soft delete this `Service`.", + "file": "ServiceMonitoringClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_DeleteService_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteService Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_DeleteServiceLevelObjective_sync", - "title": "monitoring DeleteServiceLevelObjective Sample", - "description": "DeleteServiceLevelObjective delete the given `ServiceLevelObjective`.", - "file": "ServiceMonitoringClient/DeleteServiceLevelObjective/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceLevelObjective", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.DeleteServiceLevelObjective", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.DeleteServiceLevelObjective", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "DeleteServiceLevelObjective" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteServiceLevelObjectiveRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteServiceLevelObjectiveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "DeleteServiceLevelObjective", - "fullName": "google.monitoring.v3.ServiceMonitoringService.DeleteServiceLevelObjective", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "DeleteServiceLevelObjective" }, + "description": "DeleteServiceLevelObjective delete the given `ServiceLevelObjective`.", + "file": "ServiceMonitoringClient/DeleteServiceLevelObjective/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_DeleteServiceLevelObjective_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteServiceLevelObjective Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_GetService_sync", - "title": "monitoring GetService Sample", - "description": "GetService get the named `Service`.", - "file": "ServiceMonitoringClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.GetService", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.GetService", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Service", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.monitoring.v3.ServiceMonitoringService.GetService", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "GetService" }, + "description": "GetService get the named `Service`.", + "file": "ServiceMonitoringClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetService Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_GetServiceLevelObjective_sync", - "title": "monitoring GetServiceLevelObjective Sample", - "description": "GetServiceLevelObjective get a `ServiceLevelObjective` by name.", - "file": "ServiceMonitoringClient/GetServiceLevelObjective/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceLevelObjective", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.GetServiceLevelObjective", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.GetServiceLevelObjective", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "GetServiceLevelObjective" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetServiceLevelObjectiveRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetServiceLevelObjectiveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.ServiceLevelObjective", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "GetServiceLevelObjective", - "fullName": "google.monitoring.v3.ServiceMonitoringService.GetServiceLevelObjective", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "GetServiceLevelObjective" }, + "description": "GetServiceLevelObjective get a `ServiceLevelObjective` by name.", + "file": "ServiceMonitoringClient/GetServiceLevelObjective/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_GetServiceLevelObjective_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetServiceLevelObjective Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_ListServiceLevelObjectives_sync", - "title": "monitoring ListServiceLevelObjectives Sample", - "description": "ListServiceLevelObjectives list the `ServiceLevelObjective`s for the given `Service`.", - "file": "ServiceMonitoringClient/ListServiceLevelObjectives/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceLevelObjectives", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.ListServiceLevelObjectives", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.ListServiceLevelObjectives", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "ListServiceLevelObjectives" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListServiceLevelObjectivesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListServiceLevelObjectivesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceLevelObjectiveIterator", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "ListServiceLevelObjectives", - "fullName": "google.monitoring.v3.ServiceMonitoringService.ListServiceLevelObjectives", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "ListServiceLevelObjectives" }, + "description": "ListServiceLevelObjectives list the `ServiceLevelObjective`s for the given `Service`.", + "file": "ServiceMonitoringClient/ListServiceLevelObjectives/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_ListServiceLevelObjectives_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListServiceLevelObjectives Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_ListServices_sync", - "title": "monitoring ListServices Sample", - "description": "ListServices list `Service`s for this Metrics Scope.", - "file": "ServiceMonitoringClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.ListServices", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.ListServices", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.monitoring.v3.ServiceMonitoringService.ListServices", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "ListServices" }, + "description": "ListServices list `Service`s for this Metrics Scope.", + "file": "ServiceMonitoringClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListServices Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_UpdateService_sync", - "title": "monitoring UpdateService Sample", - "description": "UpdateService update this `Service`.", - "file": "ServiceMonitoringClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.UpdateService", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.UpdateService", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Service", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.monitoring.v3.ServiceMonitoringService.UpdateService", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService update this `Service`.", + "file": "ServiceMonitoringClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_UpdateService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateService Sample" }, { - "regionTag": "monitoring_v3_generated_ServiceMonitoringService_UpdateServiceLevelObjective_sync", - "title": "monitoring UpdateServiceLevelObjective Sample", - "description": "UpdateServiceLevelObjective update the given `ServiceLevelObjective`.", - "file": "ServiceMonitoringClient/UpdateServiceLevelObjective/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServiceLevelObjective", + "client": { + "fullName": "google.monitoring.v3.ServiceMonitoringClient", + "shortName": "ServiceMonitoringClient" + }, "fullName": "google.monitoring.v3.ServiceMonitoringClient.UpdateServiceLevelObjective", + "method": { + "fullName": "google.monitoring.v3.ServiceMonitoringService.UpdateServiceLevelObjective", + "service": { + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "shortName": "ServiceMonitoringService" + }, + "shortName": "UpdateServiceLevelObjective" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateServiceLevelObjectiveRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateServiceLevelObjectiveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.ServiceLevelObjective", - "client": { - "shortName": "ServiceMonitoringClient", - "fullName": "google.monitoring.v3.ServiceMonitoringClient" - }, - "method": { - "shortName": "UpdateServiceLevelObjective", - "fullName": "google.monitoring.v3.ServiceMonitoringService.UpdateServiceLevelObjective", - "service": { - "shortName": "ServiceMonitoringService", - "fullName": "google.monitoring.v3.ServiceMonitoringService" - } - } + "shortName": "UpdateServiceLevelObjective" }, + "description": "UpdateServiceLevelObjective update the given `ServiceLevelObjective`.", + "file": "ServiceMonitoringClient/UpdateServiceLevelObjective/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_ServiceMonitoringService_UpdateServiceLevelObjective_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateServiceLevelObjective Sample" }, { - "regionTag": "monitoring_v3_generated_SnoozeService_CreateSnooze_sync", - "title": "monitoring CreateSnooze Sample", - "description": "CreateSnooze creates a `Snooze` that will prevent alerts, which match the provided\ncriteria, from being opened. The `Snooze` applies for a specific time\ninterval.", - "file": "SnoozeClient/CreateSnooze/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnooze", + "client": { + "fullName": "google.monitoring.v3.SnoozeClient", + "shortName": "SnoozeClient" + }, "fullName": "google.monitoring.v3.SnoozeClient.CreateSnooze", + "method": { + "fullName": "google.monitoring.v3.SnoozeService.CreateSnooze", + "service": { + "fullName": "google.monitoring.v3.SnoozeService", + "shortName": "SnoozeService" + }, + "shortName": "CreateSnooze" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateSnoozeRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateSnoozeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Snooze", - "client": { - "shortName": "SnoozeClient", - "fullName": "google.monitoring.v3.SnoozeClient" - }, - "method": { - "shortName": "CreateSnooze", - "fullName": "google.monitoring.v3.SnoozeService.CreateSnooze", - "service": { - "shortName": "SnoozeService", - "fullName": "google.monitoring.v3.SnoozeService" - } - } + "shortName": "CreateSnooze" }, + "description": "CreateSnooze creates a `Snooze` that will prevent alerts, which match the provided\ncriteria, from being opened. The `Snooze` applies for a specific time\ninterval.", + "file": "SnoozeClient/CreateSnooze/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_SnoozeService_CreateSnooze_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateSnooze Sample" }, { - "regionTag": "monitoring_v3_generated_SnoozeService_GetSnooze_sync", - "title": "monitoring GetSnooze Sample", - "description": "GetSnooze retrieves a `Snooze` by `name`.", - "file": "SnoozeClient/GetSnooze/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSnooze", + "client": { + "fullName": "google.monitoring.v3.SnoozeClient", + "shortName": "SnoozeClient" + }, "fullName": "google.monitoring.v3.SnoozeClient.GetSnooze", + "method": { + "fullName": "google.monitoring.v3.SnoozeService.GetSnooze", + "service": { + "fullName": "google.monitoring.v3.SnoozeService", + "shortName": "SnoozeService" + }, + "shortName": "GetSnooze" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetSnoozeRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetSnoozeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Snooze", - "client": { - "shortName": "SnoozeClient", - "fullName": "google.monitoring.v3.SnoozeClient" - }, - "method": { - "shortName": "GetSnooze", - "fullName": "google.monitoring.v3.SnoozeService.GetSnooze", - "service": { - "shortName": "SnoozeService", - "fullName": "google.monitoring.v3.SnoozeService" - } - } + "shortName": "GetSnooze" }, + "description": "GetSnooze retrieves a `Snooze` by `name`.", + "file": "SnoozeClient/GetSnooze/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_SnoozeService_GetSnooze_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetSnooze Sample" }, { - "regionTag": "monitoring_v3_generated_SnoozeService_ListSnoozes_sync", - "title": "monitoring ListSnoozes Sample", - "description": "ListSnoozes lists the `Snooze`s associated with a project. Can optionally pass in\n`filter`, which specifies predicates to match `Snooze`s.", - "file": "SnoozeClient/ListSnoozes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSnoozes", + "client": { + "fullName": "google.monitoring.v3.SnoozeClient", + "shortName": "SnoozeClient" + }, "fullName": "google.monitoring.v3.SnoozeClient.ListSnoozes", + "method": { + "fullName": "google.monitoring.v3.SnoozeService.ListSnoozes", + "service": { + "fullName": "google.monitoring.v3.SnoozeService", + "shortName": "SnoozeService" + }, + "shortName": "ListSnoozes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListSnoozesRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListSnoozesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnoozeIterator", - "client": { - "shortName": "SnoozeClient", - "fullName": "google.monitoring.v3.SnoozeClient" - }, - "method": { - "shortName": "ListSnoozes", - "fullName": "google.monitoring.v3.SnoozeService.ListSnoozes", - "service": { - "shortName": "SnoozeService", - "fullName": "google.monitoring.v3.SnoozeService" - } - } + "shortName": "ListSnoozes" }, + "description": "ListSnoozes lists the `Snooze`s associated with a project. Can optionally pass in\n`filter`, which specifies predicates to match `Snooze`s.", + "file": "SnoozeClient/ListSnoozes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_SnoozeService_ListSnoozes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListSnoozes Sample" }, { - "regionTag": "monitoring_v3_generated_SnoozeService_UpdateSnooze_sync", - "title": "monitoring UpdateSnooze Sample", - "description": "UpdateSnooze updates a `Snooze`, identified by its `name`, with the parameters in the\ngiven `Snooze` object.", - "file": "SnoozeClient/UpdateSnooze/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSnooze", + "client": { + "fullName": "google.monitoring.v3.SnoozeClient", + "shortName": "SnoozeClient" + }, "fullName": "google.monitoring.v3.SnoozeClient.UpdateSnooze", + "method": { + "fullName": "google.monitoring.v3.SnoozeService.UpdateSnooze", + "service": { + "fullName": "google.monitoring.v3.SnoozeService", + "shortName": "SnoozeService" + }, + "shortName": "UpdateSnooze" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateSnoozeRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateSnoozeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.Snooze", - "client": { - "shortName": "SnoozeClient", - "fullName": "google.monitoring.v3.SnoozeClient" - }, - "method": { - "shortName": "UpdateSnooze", - "fullName": "google.monitoring.v3.SnoozeService.UpdateSnooze", - "service": { - "shortName": "SnoozeService", - "fullName": "google.monitoring.v3.SnoozeService" - } - } + "shortName": "UpdateSnooze" }, + "description": "UpdateSnooze updates a `Snooze`, identified by its `name`, with the parameters in the\ngiven `Snooze` object.", + "file": "SnoozeClient/UpdateSnooze/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_SnoozeService_UpdateSnooze_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateSnooze Sample" }, { - "regionTag": "monitoring_v3_generated_UptimeCheckService_CreateUptimeCheckConfig_sync", - "title": "monitoring CreateUptimeCheckConfig Sample", - "description": "CreateUptimeCheckConfig creates a new Uptime check configuration.", - "file": "UptimeCheckClient/CreateUptimeCheckConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUptimeCheckConfig", + "client": { + "fullName": "google.monitoring.v3.UptimeCheckClient", + "shortName": "UptimeCheckClient" + }, "fullName": "google.monitoring.v3.UptimeCheckClient.CreateUptimeCheckConfig", + "method": { + "fullName": "google.monitoring.v3.UptimeCheckService.CreateUptimeCheckConfig", + "service": { + "fullName": "google.monitoring.v3.UptimeCheckService", + "shortName": "UptimeCheckService" + }, + "shortName": "CreateUptimeCheckConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.CreateUptimeCheckConfigRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.CreateUptimeCheckConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.UptimeCheckConfig", - "client": { - "shortName": "UptimeCheckClient", - "fullName": "google.monitoring.v3.UptimeCheckClient" - }, - "method": { - "shortName": "CreateUptimeCheckConfig", - "fullName": "google.monitoring.v3.UptimeCheckService.CreateUptimeCheckConfig", - "service": { - "shortName": "UptimeCheckService", - "fullName": "google.monitoring.v3.UptimeCheckService" - } - } + "shortName": "CreateUptimeCheckConfig" }, + "description": "CreateUptimeCheckConfig creates a new Uptime check configuration.", + "file": "UptimeCheckClient/CreateUptimeCheckConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_UptimeCheckService_CreateUptimeCheckConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateUptimeCheckConfig Sample" }, { - "regionTag": "monitoring_v3_generated_UptimeCheckService_DeleteUptimeCheckConfig_sync", - "title": "monitoring DeleteUptimeCheckConfig Sample", - "description": "DeleteUptimeCheckConfig deletes an Uptime check configuration. Note that this method will fail\nif the Uptime check configuration is referenced by an alert policy or\nother dependent configs that would be rendered invalid by the deletion.", - "file": "UptimeCheckClient/DeleteUptimeCheckConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUptimeCheckConfig", + "client": { + "fullName": "google.monitoring.v3.UptimeCheckClient", + "shortName": "UptimeCheckClient" + }, "fullName": "google.monitoring.v3.UptimeCheckClient.DeleteUptimeCheckConfig", + "method": { + "fullName": "google.monitoring.v3.UptimeCheckService.DeleteUptimeCheckConfig", + "service": { + "fullName": "google.monitoring.v3.UptimeCheckService", + "shortName": "UptimeCheckService" + }, + "shortName": "DeleteUptimeCheckConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.DeleteUptimeCheckConfigRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.DeleteUptimeCheckConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UptimeCheckClient", - "fullName": "google.monitoring.v3.UptimeCheckClient" - }, - "method": { - "shortName": "DeleteUptimeCheckConfig", - "fullName": "google.monitoring.v3.UptimeCheckService.DeleteUptimeCheckConfig", - "service": { - "shortName": "UptimeCheckService", - "fullName": "google.monitoring.v3.UptimeCheckService" - } - } + "shortName": "DeleteUptimeCheckConfig" }, + "description": "DeleteUptimeCheckConfig deletes an Uptime check configuration. Note that this method will fail\nif the Uptime check configuration is referenced by an alert policy or\nother dependent configs that would be rendered invalid by the deletion.", + "file": "UptimeCheckClient/DeleteUptimeCheckConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_UptimeCheckService_DeleteUptimeCheckConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteUptimeCheckConfig Sample" }, { - "regionTag": "monitoring_v3_generated_UptimeCheckService_GetUptimeCheckConfig_sync", - "title": "monitoring GetUptimeCheckConfig Sample", - "description": "GetUptimeCheckConfig gets a single Uptime check configuration.", - "file": "UptimeCheckClient/GetUptimeCheckConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUptimeCheckConfig", + "client": { + "fullName": "google.monitoring.v3.UptimeCheckClient", + "shortName": "UptimeCheckClient" + }, "fullName": "google.monitoring.v3.UptimeCheckClient.GetUptimeCheckConfig", + "method": { + "fullName": "google.monitoring.v3.UptimeCheckService.GetUptimeCheckConfig", + "service": { + "fullName": "google.monitoring.v3.UptimeCheckService", + "shortName": "UptimeCheckService" + }, + "shortName": "GetUptimeCheckConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.GetUptimeCheckConfigRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.GetUptimeCheckConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.UptimeCheckConfig", - "client": { - "shortName": "UptimeCheckClient", - "fullName": "google.monitoring.v3.UptimeCheckClient" - }, - "method": { - "shortName": "GetUptimeCheckConfig", - "fullName": "google.monitoring.v3.UptimeCheckService.GetUptimeCheckConfig", - "service": { - "shortName": "UptimeCheckService", - "fullName": "google.monitoring.v3.UptimeCheckService" - } - } + "shortName": "GetUptimeCheckConfig" }, + "description": "GetUptimeCheckConfig gets a single Uptime check configuration.", + "file": "UptimeCheckClient/GetUptimeCheckConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_UptimeCheckService_GetUptimeCheckConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetUptimeCheckConfig Sample" }, { - "regionTag": "monitoring_v3_generated_UptimeCheckService_ListUptimeCheckConfigs_sync", - "title": "monitoring ListUptimeCheckConfigs Sample", - "description": "ListUptimeCheckConfigs lists the existing valid Uptime check configurations for the project\n(leaving out any invalid configurations).", - "file": "UptimeCheckClient/ListUptimeCheckConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUptimeCheckConfigs", + "client": { + "fullName": "google.monitoring.v3.UptimeCheckClient", + "shortName": "UptimeCheckClient" + }, "fullName": "google.monitoring.v3.UptimeCheckClient.ListUptimeCheckConfigs", + "method": { + "fullName": "google.monitoring.v3.UptimeCheckService.ListUptimeCheckConfigs", + "service": { + "fullName": "google.monitoring.v3.UptimeCheckService", + "shortName": "UptimeCheckService" + }, + "shortName": "ListUptimeCheckConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListUptimeCheckConfigsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListUptimeCheckConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UptimeCheckConfigIterator", - "client": { - "shortName": "UptimeCheckClient", - "fullName": "google.monitoring.v3.UptimeCheckClient" - }, - "method": { - "shortName": "ListUptimeCheckConfigs", - "fullName": "google.monitoring.v3.UptimeCheckService.ListUptimeCheckConfigs", - "service": { - "shortName": "UptimeCheckService", - "fullName": "google.monitoring.v3.UptimeCheckService" - } - } + "shortName": "ListUptimeCheckConfigs" }, + "description": "ListUptimeCheckConfigs lists the existing valid Uptime check configurations for the project\n(leaving out any invalid configurations).", + "file": "UptimeCheckClient/ListUptimeCheckConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_UptimeCheckService_ListUptimeCheckConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListUptimeCheckConfigs Sample" }, { - "regionTag": "monitoring_v3_generated_UptimeCheckService_ListUptimeCheckIps_sync", - "title": "monitoring ListUptimeCheckIps Sample", - "description": "ListUptimeCheckIps returns the list of IP addresses that checkers run from.", - "file": "UptimeCheckClient/ListUptimeCheckIps/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUptimeCheckIps", + "client": { + "fullName": "google.monitoring.v3.UptimeCheckClient", + "shortName": "UptimeCheckClient" + }, "fullName": "google.monitoring.v3.UptimeCheckClient.ListUptimeCheckIps", + "method": { + "fullName": "google.monitoring.v3.UptimeCheckService.ListUptimeCheckIps", + "service": { + "fullName": "google.monitoring.v3.UptimeCheckService", + "shortName": "UptimeCheckService" + }, + "shortName": "ListUptimeCheckIps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.ListUptimeCheckIpsRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.ListUptimeCheckIpsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UptimeCheckIpIterator", - "client": { - "shortName": "UptimeCheckClient", - "fullName": "google.monitoring.v3.UptimeCheckClient" - }, - "method": { - "shortName": "ListUptimeCheckIps", - "fullName": "google.monitoring.v3.UptimeCheckService.ListUptimeCheckIps", - "service": { - "shortName": "UptimeCheckService", - "fullName": "google.monitoring.v3.UptimeCheckService" - } - } + "shortName": "ListUptimeCheckIps" }, + "description": "ListUptimeCheckIps returns the list of IP addresses that checkers run from.", + "file": "UptimeCheckClient/ListUptimeCheckIps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_UptimeCheckService_ListUptimeCheckIps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListUptimeCheckIps Sample" }, { - "regionTag": "monitoring_v3_generated_UptimeCheckService_UpdateUptimeCheckConfig_sync", - "title": "monitoring UpdateUptimeCheckConfig Sample", - "description": "UpdateUptimeCheckConfig updates an Uptime check configuration. You can either replace the entire\nconfiguration with a new one or replace only certain fields in the current\nconfiguration by specifying the fields to be updated via `updateMask`.\nReturns the updated configuration.", - "file": "UptimeCheckClient/UpdateUptimeCheckConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUptimeCheckConfig", + "client": { + "fullName": "google.monitoring.v3.UptimeCheckClient", + "shortName": "UptimeCheckClient" + }, "fullName": "google.monitoring.v3.UptimeCheckClient.UpdateUptimeCheckConfig", + "method": { + "fullName": "google.monitoring.v3.UptimeCheckService.UpdateUptimeCheckConfig", + "service": { + "fullName": "google.monitoring.v3.UptimeCheckService", + "shortName": "UptimeCheckService" + }, + "shortName": "UpdateUptimeCheckConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "monitoringpb.UpdateUptimeCheckConfigRequest", - "name": "req" + "name": "req", + "type": "monitoringpb.UpdateUptimeCheckConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*monitoringpb.UptimeCheckConfig", - "client": { - "shortName": "UptimeCheckClient", - "fullName": "google.monitoring.v3.UptimeCheckClient" - }, - "method": { - "shortName": "UpdateUptimeCheckConfig", - "fullName": "google.monitoring.v3.UptimeCheckService.UpdateUptimeCheckConfig", - "service": { - "shortName": "UptimeCheckService", - "fullName": "google.monitoring.v3.UptimeCheckService" - } - } + "shortName": "UpdateUptimeCheckConfig" }, + "description": "UpdateUptimeCheckConfig updates an Uptime check configuration. You can either replace the entire\nconfiguration with a new one or replace only certain fields in the current\nconfiguration by specifying the fields to be updated via `updateMask`.\nReturns the updated configuration.", + "file": "UptimeCheckClient/UpdateUptimeCheckConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v3_generated_UptimeCheckService_UpdateUptimeCheckConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateUptimeCheckConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json b/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json index 7626463d3697..310dcd50d677 100644 --- a/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json +++ b/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json @@ -1,244 +1,244 @@ { "clientLibrary": { - "name": "cloud.google.com/go/monitoring/dashboard/apiv1", - "version": "1.24.3", - "language": "GO", "apis": [ { "id": "google.monitoring.dashboard.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/monitoring/dashboard/apiv1", + "version": "1.24.3" }, "snippets": [ { - "regionTag": "monitoring_v1_generated_DashboardsService_CreateDashboard_sync", - "title": "monitoring CreateDashboard Sample", - "description": "CreateDashboard creates a new custom dashboard. For examples on how you can use this API to\ncreate dashboards, see [Managing dashboards by\nAPI](https: //cloud.google.com/monitoring/dashboards/api-dashboard). This\nmethod requires the `monitoring.dashboards.create` permission on the\nspecified project. For more information about permissions, see [Cloud\nIdentity and Access Management](https: //cloud.google.com/iam).", - "file": "DashboardsClient/CreateDashboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDashboard", + "client": { + "fullName": "google.monitoring.dashboard.v1.DashboardsClient", + "shortName": "DashboardsClient" + }, "fullName": "google.monitoring.dashboard.v1.DashboardsClient.CreateDashboard", + "method": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService.CreateDashboard", + "service": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService", + "shortName": "DashboardsService" + }, + "shortName": "CreateDashboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dashboardpb.CreateDashboardRequest", - "name": "req" + "name": "req", + "type": "dashboardpb.CreateDashboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dashboardpb.Dashboard", - "client": { - "shortName": "DashboardsClient", - "fullName": "google.monitoring.dashboard.v1.DashboardsClient" - }, - "method": { - "shortName": "CreateDashboard", - "fullName": "google.monitoring.dashboard.v1.DashboardsService.CreateDashboard", - "service": { - "shortName": "DashboardsService", - "fullName": "google.monitoring.dashboard.v1.DashboardsService" - } - } + "shortName": "CreateDashboard" }, + "description": "CreateDashboard creates a new custom dashboard. For examples on how you can use this API to\ncreate dashboards, see [Managing dashboards by\nAPI](https: //cloud.google.com/monitoring/dashboards/api-dashboard). This\nmethod requires the `monitoring.dashboards.create` permission on the\nspecified project. For more information about permissions, see [Cloud\nIdentity and Access Management](https: //cloud.google.com/iam).", + "file": "DashboardsClient/CreateDashboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_DashboardsService_CreateDashboard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateDashboard Sample" }, { - "regionTag": "monitoring_v1_generated_DashboardsService_DeleteDashboard_sync", - "title": "monitoring DeleteDashboard Sample", - "description": "DeleteDashboard deletes an existing custom dashboard.\n\nThis method requires the `monitoring.dashboards.delete` permission\non the specified dashboard. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", - "file": "DashboardsClient/DeleteDashboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDashboard", + "client": { + "fullName": "google.monitoring.dashboard.v1.DashboardsClient", + "shortName": "DashboardsClient" + }, "fullName": "google.monitoring.dashboard.v1.DashboardsClient.DeleteDashboard", + "method": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService.DeleteDashboard", + "service": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService", + "shortName": "DashboardsService" + }, + "shortName": "DeleteDashboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dashboardpb.DeleteDashboardRequest", - "name": "req" + "name": "req", + "type": "dashboardpb.DeleteDashboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DashboardsClient", - "fullName": "google.monitoring.dashboard.v1.DashboardsClient" - }, - "method": { - "shortName": "DeleteDashboard", - "fullName": "google.monitoring.dashboard.v1.DashboardsService.DeleteDashboard", - "service": { - "shortName": "DashboardsService", - "fullName": "google.monitoring.dashboard.v1.DashboardsService" - } - } + "shortName": "DeleteDashboard" }, + "description": "DeleteDashboard deletes an existing custom dashboard.\n\nThis method requires the `monitoring.dashboards.delete` permission\non the specified dashboard. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", + "file": "DashboardsClient/DeleteDashboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_DashboardsService_DeleteDashboard_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteDashboard Sample" }, { - "regionTag": "monitoring_v1_generated_DashboardsService_GetDashboard_sync", - "title": "monitoring GetDashboard Sample", - "description": "GetDashboard fetches a specific dashboard.\n\nThis method requires the `monitoring.dashboards.get` permission\non the specified dashboard. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", - "file": "DashboardsClient/GetDashboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDashboard", + "client": { + "fullName": "google.monitoring.dashboard.v1.DashboardsClient", + "shortName": "DashboardsClient" + }, "fullName": "google.monitoring.dashboard.v1.DashboardsClient.GetDashboard", + "method": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService.GetDashboard", + "service": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService", + "shortName": "DashboardsService" + }, + "shortName": "GetDashboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dashboardpb.GetDashboardRequest", - "name": "req" + "name": "req", + "type": "dashboardpb.GetDashboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dashboardpb.Dashboard", - "client": { - "shortName": "DashboardsClient", - "fullName": "google.monitoring.dashboard.v1.DashboardsClient" - }, - "method": { - "shortName": "GetDashboard", - "fullName": "google.monitoring.dashboard.v1.DashboardsService.GetDashboard", - "service": { - "shortName": "DashboardsService", - "fullName": "google.monitoring.dashboard.v1.DashboardsService" - } - } + "shortName": "GetDashboard" }, + "description": "GetDashboard fetches a specific dashboard.\n\nThis method requires the `monitoring.dashboards.get` permission\non the specified dashboard. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", + "file": "DashboardsClient/GetDashboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_DashboardsService_GetDashboard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetDashboard Sample" }, { - "regionTag": "monitoring_v1_generated_DashboardsService_ListDashboards_sync", - "title": "monitoring ListDashboards Sample", - "description": "ListDashboards lists the existing dashboards.\n\nThis method requires the `monitoring.dashboards.list` permission\non the specified project. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", - "file": "DashboardsClient/ListDashboards/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDashboards", + "client": { + "fullName": "google.monitoring.dashboard.v1.DashboardsClient", + "shortName": "DashboardsClient" + }, "fullName": "google.monitoring.dashboard.v1.DashboardsClient.ListDashboards", + "method": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService.ListDashboards", + "service": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService", + "shortName": "DashboardsService" + }, + "shortName": "ListDashboards" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dashboardpb.ListDashboardsRequest", - "name": "req" + "name": "req", + "type": "dashboardpb.ListDashboardsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DashboardIterator", - "client": { - "shortName": "DashboardsClient", - "fullName": "google.monitoring.dashboard.v1.DashboardsClient" - }, - "method": { - "shortName": "ListDashboards", - "fullName": "google.monitoring.dashboard.v1.DashboardsService.ListDashboards", - "service": { - "shortName": "DashboardsService", - "fullName": "google.monitoring.dashboard.v1.DashboardsService" - } - } + "shortName": "ListDashboards" }, + "description": "ListDashboards lists the existing dashboards.\n\nThis method requires the `monitoring.dashboards.list` permission\non the specified project. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", + "file": "DashboardsClient/ListDashboards/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_DashboardsService_ListDashboards_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListDashboards Sample" }, { - "regionTag": "monitoring_v1_generated_DashboardsService_UpdateDashboard_sync", - "title": "monitoring UpdateDashboard Sample", - "description": "UpdateDashboard replaces an existing custom dashboard with a new definition.\n\nThis method requires the `monitoring.dashboards.update` permission\non the specified dashboard. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", - "file": "DashboardsClient/UpdateDashboard/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDashboard", + "client": { + "fullName": "google.monitoring.dashboard.v1.DashboardsClient", + "shortName": "DashboardsClient" + }, "fullName": "google.monitoring.dashboard.v1.DashboardsClient.UpdateDashboard", + "method": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService.UpdateDashboard", + "service": { + "fullName": "google.monitoring.dashboard.v1.DashboardsService", + "shortName": "DashboardsService" + }, + "shortName": "UpdateDashboard" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "dashboardpb.UpdateDashboardRequest", - "name": "req" + "name": "req", + "type": "dashboardpb.UpdateDashboardRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*dashboardpb.Dashboard", - "client": { - "shortName": "DashboardsClient", - "fullName": "google.monitoring.dashboard.v1.DashboardsClient" - }, - "method": { - "shortName": "UpdateDashboard", - "fullName": "google.monitoring.dashboard.v1.DashboardsService.UpdateDashboard", - "service": { - "shortName": "DashboardsService", - "fullName": "google.monitoring.dashboard.v1.DashboardsService" - } - } + "shortName": "UpdateDashboard" }, + "description": "UpdateDashboard replaces an existing custom dashboard with a new definition.\n\nThis method requires the `monitoring.dashboards.update` permission\non the specified dashboard. For more information, see\n[Cloud Identity and Access Management](https: //cloud.google.com/iam).", + "file": "DashboardsClient/UpdateDashboard/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_DashboardsService_UpdateDashboard_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring UpdateDashboard Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json index 02a4e3b60251..cbeabe5d82b7 100644 --- a/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json +++ b/internal/generated/snippets/monitoring/metricsscope/apiv1/snippet_metadata.google.monitoring.metricsscope.v1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/monitoring/metricsscope/apiv1", - "version": "1.24.3", - "language": "GO", "apis": [ { "id": "google.monitoring.metricsscope.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/monitoring/metricsscope/apiv1", + "version": "1.24.3" }, "snippets": [ { - "regionTag": "monitoring_v1_generated_MetricsScopes_CreateMonitoredProject_sync", - "title": "monitoring CreateMonitoredProject Sample", - "description": "CreateMonitoredProject adds a `MonitoredProject` with the given project ID\nto the specified `Metrics Scope`.", - "file": "MetricsScopesClient/CreateMonitoredProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMonitoredProject", + "client": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient", + "shortName": "MetricsScopesClient" + }, "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient.CreateMonitoredProject", + "method": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.CreateMonitoredProject", + "service": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes", + "shortName": "MetricsScopes" + }, + "shortName": "CreateMonitoredProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metricsscopepb.CreateMonitoredProjectRequest", - "name": "req" + "name": "req", + "type": "metricsscopepb.CreateMonitoredProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMonitoredProjectOperation", - "client": { - "shortName": "MetricsScopesClient", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient" - }, - "method": { - "shortName": "CreateMonitoredProject", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.CreateMonitoredProject", - "service": { - "shortName": "MetricsScopes", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes" - } - } + "shortName": "CreateMonitoredProject" }, + "description": "CreateMonitoredProject adds a `MonitoredProject` with the given project ID\nto the specified `Metrics Scope`.", + "file": "MetricsScopesClient/CreateMonitoredProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_MetricsScopes_CreateMonitoredProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring CreateMonitoredProject Sample" }, { - "regionTag": "monitoring_v1_generated_MetricsScopes_DeleteMonitoredProject_sync", - "title": "monitoring DeleteMonitoredProject Sample", - "description": "DeleteMonitoredProject deletes a `MonitoredProject` from the specified `Metrics Scope`.", - "file": "MetricsScopesClient/DeleteMonitoredProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMonitoredProject", + "client": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient", + "shortName": "MetricsScopesClient" + }, "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient.DeleteMonitoredProject", + "method": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.DeleteMonitoredProject", + "service": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes", + "shortName": "MetricsScopes" + }, + "shortName": "DeleteMonitoredProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metricsscopepb.DeleteMonitoredProjectRequest", - "name": "req" + "name": "req", + "type": "metricsscopepb.DeleteMonitoredProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMonitoredProjectOperation", - "client": { - "shortName": "MetricsScopesClient", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient" - }, - "method": { - "shortName": "DeleteMonitoredProject", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.DeleteMonitoredProject", - "service": { - "shortName": "MetricsScopes", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes" - } - } + "shortName": "DeleteMonitoredProject" }, + "description": "DeleteMonitoredProject deletes a `MonitoredProject` from the specified `Metrics Scope`.", + "file": "MetricsScopesClient/DeleteMonitoredProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_MetricsScopes_DeleteMonitoredProject_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring DeleteMonitoredProject Sample" }, { - "regionTag": "monitoring_v1_generated_MetricsScopes_GetMetricsScope_sync", - "title": "monitoring GetMetricsScope Sample", - "description": "GetMetricsScope returns a specific `Metrics Scope`.", - "file": "MetricsScopesClient/GetMetricsScope/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetricsScope", + "client": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient", + "shortName": "MetricsScopesClient" + }, "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient.GetMetricsScope", + "method": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.GetMetricsScope", + "service": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes", + "shortName": "MetricsScopes" + }, + "shortName": "GetMetricsScope" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metricsscopepb.GetMetricsScopeRequest", - "name": "req" + "name": "req", + "type": "metricsscopepb.GetMetricsScopeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metricsscopepb.MetricsScope", - "client": { - "shortName": "MetricsScopesClient", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient" - }, - "method": { - "shortName": "GetMetricsScope", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.GetMetricsScope", - "service": { - "shortName": "MetricsScopes", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes" - } - } + "shortName": "GetMetricsScope" }, + "description": "GetMetricsScope returns a specific `Metrics Scope`.", + "file": "MetricsScopesClient/GetMetricsScope/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_MetricsScopes_GetMetricsScope_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring GetMetricsScope Sample" }, { - "regionTag": "monitoring_v1_generated_MetricsScopes_ListMetricsScopesByMonitoredProject_sync", - "title": "monitoring ListMetricsScopesByMonitoredProject Sample", - "description": "ListMetricsScopesByMonitoredProject returns a list of every `Metrics Scope` that a specific `MonitoredProject`\nhas been added to. The metrics scope representing the specified monitored\nproject will always be the first entry in the response.", - "file": "MetricsScopesClient/ListMetricsScopesByMonitoredProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMetricsScopesByMonitoredProject", + "client": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient", + "shortName": "MetricsScopesClient" + }, "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient.ListMetricsScopesByMonitoredProject", + "method": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.ListMetricsScopesByMonitoredProject", + "service": { + "fullName": "google.monitoring.metricsscope.v1.MetricsScopes", + "shortName": "MetricsScopes" + }, + "shortName": "ListMetricsScopesByMonitoredProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "metricsscopepb.ListMetricsScopesByMonitoredProjectRequest", - "name": "req" + "name": "req", + "type": "metricsscopepb.ListMetricsScopesByMonitoredProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*metricsscopepb.ListMetricsScopesByMonitoredProjectResponse", - "client": { - "shortName": "MetricsScopesClient", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopesClient" - }, - "method": { - "shortName": "ListMetricsScopesByMonitoredProject", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes.ListMetricsScopesByMonitoredProject", - "service": { - "shortName": "MetricsScopes", - "fullName": "google.monitoring.metricsscope.v1.MetricsScopes" - } - } + "shortName": "ListMetricsScopesByMonitoredProject" }, + "description": "ListMetricsScopesByMonitoredProject returns a list of every `Metrics Scope` that a specific `MonitoredProject`\nhas been added to. The metrics scope representing the specified monitored\nproject will always be the first entry in the response.", + "file": "MetricsScopesClient/ListMetricsScopesByMonitoredProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "monitoring_v1_generated_MetricsScopes_ListMetricsScopesByMonitoredProject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "monitoring ListMetricsScopesByMonitoredProject Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json b/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json index c299f51d1688..1a03efe8d907 100644 --- a/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json +++ b/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json @@ -1,3325 +1,3325 @@ { "clientLibrary": { - "name": "cloud.google.com/go/netapp/apiv1", - "version": "1.12.0", - "language": "GO", "apis": [ { "id": "google.cloud.netapp.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/netapp/apiv1", + "version": "1.12.0" }, "snippets": [ { - "regionTag": "netapp_v1_generated_NetApp_CancelOperation_sync", - "title": "netapp CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CancelOperation Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateActiveDirectory_sync", - "title": "netapp CreateActiveDirectory Sample", - "description": "CreateActiveDirectory createActiveDirectory\nCreates the active directory specified in the request.", - "file": "Client/CreateActiveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateActiveDirectory", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateActiveDirectory", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateActiveDirectory", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateActiveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateActiveDirectoryRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateActiveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateActiveDirectoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateActiveDirectory", - "fullName": "google.cloud.netapp.v1.NetApp.CreateActiveDirectory", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateActiveDirectory" }, + "description": "CreateActiveDirectory createActiveDirectory\nCreates the active directory specified in the request.", + "file": "Client/CreateActiveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateActiveDirectory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateActiveDirectory Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateBackup_sync", - "title": "netapp CreateBackup Sample", - "description": "CreateBackup creates a backup from the volume specified in the request\nThe backup can be created from the given snapshot if specified in the\nrequest. If no snapshot specified, there'll be a new snapshot taken to\ninitiate the backup creation.", - "file": "Client/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateBackup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateBackup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.cloud.netapp.v1.NetApp.CreateBackup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup creates a backup from the volume specified in the request\nThe backup can be created from the given snapshot if specified in the\nrequest. If no snapshot specified, there'll be a new snapshot taken to\ninitiate the backup creation.", + "file": "Client/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateBackup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateBackupPolicy_sync", - "title": "netapp CreateBackupPolicy Sample", - "description": "CreateBackupPolicy creates new backup policy", - "file": "Client/CreateBackupPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupPolicy", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateBackupPolicy", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateBackupPolicy", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateBackupPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateBackupPolicyRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateBackupPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateBackupPolicy", - "fullName": "google.cloud.netapp.v1.NetApp.CreateBackupPolicy", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateBackupPolicy" }, + "description": "CreateBackupPolicy creates new backup policy", + "file": "Client/CreateBackupPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateBackupPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateBackupPolicy Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateBackupVault_sync", - "title": "netapp CreateBackupVault Sample", - "description": "CreateBackupVault creates new backup vault", - "file": "Client/CreateBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupVault", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateBackupVault", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateBackupVault", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateBackupVaultRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateBackupVault", - "fullName": "google.cloud.netapp.v1.NetApp.CreateBackupVault", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateBackupVault" }, + "description": "CreateBackupVault creates new backup vault", + "file": "Client/CreateBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateBackupVault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateBackupVault Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateHostGroup_sync", - "title": "netapp CreateHostGroup Sample", - "description": "CreateHostGroup creates a new host group.", - "file": "Client/CreateHostGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHostGroup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateHostGroup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateHostGroup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateHostGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateHostGroupRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateHostGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHostGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateHostGroup", - "fullName": "google.cloud.netapp.v1.NetApp.CreateHostGroup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateHostGroup" }, + "description": "CreateHostGroup creates a new host group.", + "file": "Client/CreateHostGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateHostGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateHostGroup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateKmsConfig_sync", - "title": "netapp CreateKmsConfig Sample", - "description": "CreateKmsConfig creates a new KMS config.", - "file": "Client/CreateKmsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKmsConfig", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateKmsConfig", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateKmsConfig", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateKmsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateKmsConfigRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateKmsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateKmsConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateKmsConfig", - "fullName": "google.cloud.netapp.v1.NetApp.CreateKmsConfig", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateKmsConfig" }, + "description": "CreateKmsConfig creates a new KMS config.", + "file": "Client/CreateKmsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateKmsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateKmsConfig Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateQuotaRule_sync", - "title": "netapp CreateQuotaRule Sample", - "description": "CreateQuotaRule creates a new quota rule.", - "file": "Client/CreateQuotaRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateQuotaRule", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateQuotaRule", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateQuotaRule", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateQuotaRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateQuotaRuleRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateQuotaRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateQuotaRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateQuotaRule", - "fullName": "google.cloud.netapp.v1.NetApp.CreateQuotaRule", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateQuotaRule" }, + "description": "CreateQuotaRule creates a new quota rule.", + "file": "Client/CreateQuotaRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateQuotaRule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateQuotaRule Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateReplication_sync", - "title": "netapp CreateReplication Sample", - "description": "CreateReplication create a new replication for a volume.", - "file": "Client/CreateReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateReplication", - "fullName": "google.cloud.netapp.v1.NetApp.CreateReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateReplication" }, + "description": "CreateReplication create a new replication for a volume.", + "file": "Client/CreateReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateReplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateSnapshot_sync", - "title": "netapp CreateSnapshot Sample", - "description": "CreateSnapshot create a new snapshot for a volume.", - "file": "Client/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateSnapshot", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateSnapshot", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateSnapshotRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSnapshotOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.netapp.v1.NetApp.CreateSnapshot", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot create a new snapshot for a volume.", + "file": "Client/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateSnapshot Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateStoragePool_sync", - "title": "netapp CreateStoragePool Sample", - "description": "CreateStoragePool creates a new storage pool.", - "file": "Client/CreateStoragePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStoragePool", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateStoragePool", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateStoragePool", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateStoragePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateStoragePoolRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateStoragePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateStoragePool", - "fullName": "google.cloud.netapp.v1.NetApp.CreateStoragePool", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateStoragePool" }, + "description": "CreateStoragePool creates a new storage pool.", + "file": "Client/CreateStoragePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateStoragePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateStoragePool Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_CreateVolume_sync", - "title": "netapp CreateVolume Sample", - "description": "CreateVolume creates a new Volume in a given project and location.", - "file": "Client/CreateVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVolume", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.CreateVolume", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.CreateVolume", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "CreateVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.CreateVolumeRequest", - "name": "req" + "name": "req", + "type": "netapppb.CreateVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "CreateVolume", - "fullName": "google.cloud.netapp.v1.NetApp.CreateVolume", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "CreateVolume" }, + "description": "CreateVolume creates a new Volume in a given project and location.", + "file": "Client/CreateVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_CreateVolume_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp CreateVolume Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteActiveDirectory_sync", - "title": "netapp DeleteActiveDirectory Sample", - "description": "DeleteActiveDirectory delete the active directory specified in the request.", - "file": "Client/DeleteActiveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteActiveDirectory", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteActiveDirectory", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteActiveDirectory", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteActiveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteActiveDirectoryRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteActiveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteActiveDirectoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteActiveDirectory", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteActiveDirectory", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteActiveDirectory" }, + "description": "DeleteActiveDirectory delete the active directory specified in the request.", + "file": "Client/DeleteActiveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteActiveDirectory_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteActiveDirectory Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteBackup_sync", - "title": "netapp DeleteBackup Sample", - "description": "DeleteBackup warning! This operation will permanently delete the backup.", - "file": "Client/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteBackup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup warning! This operation will permanently delete the backup.", + "file": "Client/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteBackup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteBackupPolicy_sync", - "title": "netapp DeleteBackupPolicy Sample", - "description": "DeleteBackupPolicy warning! This operation will permanently delete the backup policy.", - "file": "Client/DeleteBackupPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupPolicy", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteBackupPolicy", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackupPolicy", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteBackupPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteBackupPolicyRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteBackupPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteBackupPolicy", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackupPolicy", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteBackupPolicy" }, + "description": "DeleteBackupPolicy warning! This operation will permanently delete the backup policy.", + "file": "Client/DeleteBackupPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteBackupPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteBackupPolicy Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteBackupVault_sync", - "title": "netapp DeleteBackupVault Sample", - "description": "DeleteBackupVault warning! This operation will permanently delete the backup vault.", - "file": "Client/DeleteBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupVault", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteBackupVault", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackupVault", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteBackupVaultRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteBackupVault", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackupVault", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteBackupVault" }, + "description": "DeleteBackupVault warning! This operation will permanently delete the backup vault.", + "file": "Client/DeleteBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteBackupVault_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteBackupVault Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteHostGroup_sync", - "title": "netapp DeleteHostGroup Sample", - "description": "DeleteHostGroup deletes a host group.", - "file": "Client/DeleteHostGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHostGroup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteHostGroup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteHostGroup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteHostGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteHostGroupRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteHostGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHostGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteHostGroup", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteHostGroup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteHostGroup" }, + "description": "DeleteHostGroup deletes a host group.", + "file": "Client/DeleteHostGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteHostGroup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteHostGroup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteKmsConfig_sync", - "title": "netapp DeleteKmsConfig Sample", - "description": "DeleteKmsConfig warning! This operation will permanently delete the Kms config.", - "file": "Client/DeleteKmsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteKmsConfig", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteKmsConfig", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteKmsConfig", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteKmsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteKmsConfigRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteKmsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteKmsConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteKmsConfig", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteKmsConfig", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteKmsConfig" }, + "description": "DeleteKmsConfig warning! This operation will permanently delete the Kms config.", + "file": "Client/DeleteKmsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteKmsConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteKmsConfig Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteOperation_sync", - "title": "netapp DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteOperation Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteQuotaRule_sync", - "title": "netapp DeleteQuotaRule Sample", - "description": "DeleteQuotaRule deletes a quota rule.", - "file": "Client/DeleteQuotaRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteQuotaRule", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteQuotaRule", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteQuotaRule", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteQuotaRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteQuotaRuleRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteQuotaRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteQuotaRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteQuotaRule", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteQuotaRule", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteQuotaRule" }, + "description": "DeleteQuotaRule deletes a quota rule.", + "file": "Client/DeleteQuotaRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteQuotaRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteQuotaRule Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteReplication_sync", - "title": "netapp DeleteReplication Sample", - "description": "DeleteReplication deletes a replication.", - "file": "Client/DeleteReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteReplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteReplication", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteReplication" }, + "description": "DeleteReplication deletes a replication.", + "file": "Client/DeleteReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteReplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteSnapshot_sync", - "title": "netapp DeleteSnapshot Sample", - "description": "DeleteSnapshot deletes a snapshot.", - "file": "Client/DeleteSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSnapshot", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteSnapshot", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteSnapshot", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteSnapshotRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSnapshotOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteSnapshot", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteSnapshot", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteSnapshot" }, + "description": "DeleteSnapshot deletes a snapshot.", + "file": "Client/DeleteSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteSnapshot_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteSnapshot Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteStoragePool_sync", - "title": "netapp DeleteStoragePool Sample", - "description": "DeleteStoragePool warning! This operation will permanently delete the storage pool.", - "file": "Client/DeleteStoragePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStoragePool", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteStoragePool", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteStoragePool", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteStoragePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteStoragePoolRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteStoragePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteStoragePool", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteStoragePool", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteStoragePool" }, + "description": "DeleteStoragePool warning! This operation will permanently delete the storage pool.", + "file": "Client/DeleteStoragePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteStoragePool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteStoragePool Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_DeleteVolume_sync", - "title": "netapp DeleteVolume Sample", - "description": "DeleteVolume deletes a single Volume.", - "file": "Client/DeleteVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVolume", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.DeleteVolume", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.DeleteVolume", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "DeleteVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.DeleteVolumeRequest", - "name": "req" + "name": "req", + "type": "netapppb.DeleteVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "DeleteVolume", - "fullName": "google.cloud.netapp.v1.NetApp.DeleteVolume", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "DeleteVolume" }, + "description": "DeleteVolume deletes a single Volume.", + "file": "Client/DeleteVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_DeleteVolume_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp DeleteVolume Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_EncryptVolumes_sync", - "title": "netapp EncryptVolumes Sample", - "description": "EncryptVolumes encrypt the existing volumes without CMEK encryption with the desired the\nKMS config for the whole region.", - "file": "Client/EncryptVolumes/main.go", - "language": "GO", "clientMethod": { - "shortName": "EncryptVolumes", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.EncryptVolumes", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.EncryptVolumes", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "EncryptVolumes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.EncryptVolumesRequest", - "name": "req" + "name": "req", + "type": "netapppb.EncryptVolumesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EncryptVolumesOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "EncryptVolumes", - "fullName": "google.cloud.netapp.v1.NetApp.EncryptVolumes", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "EncryptVolumes" }, + "description": "EncryptVolumes encrypt the existing volumes without CMEK encryption with the desired the\nKMS config for the whole region.", + "file": "Client/EncryptVolumes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_EncryptVolumes_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp EncryptVolumes Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_EstablishPeering_sync", - "title": "netapp EstablishPeering Sample", - "description": "EstablishPeering establish replication peering.", - "file": "Client/EstablishPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "EstablishPeering", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.EstablishPeering", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.EstablishPeering", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "EstablishPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.EstablishPeeringRequest", - "name": "req" + "name": "req", + "type": "netapppb.EstablishPeeringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EstablishPeeringOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "EstablishPeering", - "fullName": "google.cloud.netapp.v1.NetApp.EstablishPeering", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "EstablishPeering" }, + "description": "EstablishPeering establish replication peering.", + "file": "Client/EstablishPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_EstablishPeering_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp EstablishPeering Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetActiveDirectory_sync", - "title": "netapp GetActiveDirectory Sample", - "description": "GetActiveDirectory describes a specified active directory.", - "file": "Client/GetActiveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetActiveDirectory", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetActiveDirectory", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetActiveDirectory", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetActiveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetActiveDirectoryRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetActiveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.ActiveDirectory", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetActiveDirectory", - "fullName": "google.cloud.netapp.v1.NetApp.GetActiveDirectory", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetActiveDirectory" }, + "description": "GetActiveDirectory describes a specified active directory.", + "file": "Client/GetActiveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetActiveDirectory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetActiveDirectory Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetBackup_sync", - "title": "netapp GetBackup Sample", - "description": "GetBackup returns the description of the specified backup", - "file": "Client/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetBackup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetBackup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.Backup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.netapp.v1.NetApp.GetBackup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup returns the description of the specified backup", + "file": "Client/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetBackup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetBackupPolicy_sync", - "title": "netapp GetBackupPolicy Sample", - "description": "GetBackupPolicy returns the description of the specified backup policy by backup_policy_id.", - "file": "Client/GetBackupPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupPolicy", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetBackupPolicy", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetBackupPolicy", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetBackupPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetBackupPolicyRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetBackupPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.BackupPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetBackupPolicy", - "fullName": "google.cloud.netapp.v1.NetApp.GetBackupPolicy", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetBackupPolicy" }, + "description": "GetBackupPolicy returns the description of the specified backup policy by backup_policy_id.", + "file": "Client/GetBackupPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetBackupPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetBackupPolicy Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetBackupVault_sync", - "title": "netapp GetBackupVault Sample", - "description": "GetBackupVault returns the description of the specified backup vault", - "file": "Client/GetBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupVault", - "fullName": "google.cloud.netapp.v1.Client.GetBackupVault", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "netapppb.GetBackupVaultRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*netapppb.BackupVault", "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.netapp.v1.Client.GetBackupVault", "method": { - "shortName": "GetBackupVault", "fullName": "google.cloud.netapp.v1.NetApp.GetBackupVault", "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetBackupVault" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "netapppb.GetBackupVaultRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*netapppb.BackupVault", + "shortName": "GetBackupVault" }, + "description": "GetBackupVault returns the description of the specified backup vault", + "file": "Client/GetBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetBackupVault_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetBackupVault Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetHostGroup_sync", - "title": "netapp GetHostGroup Sample", - "description": "GetHostGroup returns details of the specified host group.", - "file": "Client/GetHostGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHostGroup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetHostGroup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetHostGroup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetHostGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetHostGroupRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetHostGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.HostGroup", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetHostGroup", - "fullName": "google.cloud.netapp.v1.NetApp.GetHostGroup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetHostGroup" }, + "description": "GetHostGroup returns details of the specified host group.", + "file": "Client/GetHostGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetHostGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetHostGroup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetKmsConfig_sync", - "title": "netapp GetKmsConfig Sample", - "description": "GetKmsConfig returns the description of the specified KMS config by kms_config_id.", - "file": "Client/GetKmsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKmsConfig", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetKmsConfig", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetKmsConfig", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetKmsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetKmsConfigRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetKmsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.KmsConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetKmsConfig", - "fullName": "google.cloud.netapp.v1.NetApp.GetKmsConfig", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetKmsConfig" }, + "description": "GetKmsConfig returns the description of the specified KMS config by kms_config_id.", + "file": "Client/GetKmsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetKmsConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetKmsConfig Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetLocation_sync", - "title": "netapp GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetLocation Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetOperation_sync", - "title": "netapp GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetOperation Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetQuotaRule_sync", - "title": "netapp GetQuotaRule Sample", - "description": "GetQuotaRule returns details of the specified quota rule.", - "file": "Client/GetQuotaRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetQuotaRule", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetQuotaRule", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetQuotaRule", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetQuotaRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetQuotaRuleRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetQuotaRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.QuotaRule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetQuotaRule", - "fullName": "google.cloud.netapp.v1.NetApp.GetQuotaRule", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetQuotaRule" }, + "description": "GetQuotaRule returns details of the specified quota rule.", + "file": "Client/GetQuotaRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetQuotaRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetQuotaRule Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetReplication_sync", - "title": "netapp GetReplication Sample", - "description": "GetReplication describe a replication for a volume.", - "file": "Client/GetReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.Replication", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetReplication", - "fullName": "google.cloud.netapp.v1.NetApp.GetReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetReplication" }, + "description": "GetReplication describe a replication for a volume.", + "file": "Client/GetReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetReplication_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetSnapshot_sync", - "title": "netapp GetSnapshot Sample", - "description": "GetSnapshot describe a snapshot for a volume.", - "file": "Client/GetSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSnapshot", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetSnapshot", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetSnapshot", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetSnapshotRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.Snapshot", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetSnapshot", - "fullName": "google.cloud.netapp.v1.NetApp.GetSnapshot", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetSnapshot" }, + "description": "GetSnapshot describe a snapshot for a volume.", + "file": "Client/GetSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetSnapshot Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetStoragePool_sync", - "title": "netapp GetStoragePool Sample", - "description": "GetStoragePool returns the description of the specified storage pool by poolId.", - "file": "Client/GetStoragePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStoragePool", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetStoragePool", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetStoragePool", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetStoragePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetStoragePoolRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.StoragePool", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetStoragePool", - "fullName": "google.cloud.netapp.v1.NetApp.GetStoragePool", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetStoragePool" }, + "description": "GetStoragePool returns the description of the specified storage pool by poolId.", + "file": "Client/GetStoragePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetStoragePool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetStoragePool Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_GetVolume_sync", - "title": "netapp GetVolume Sample", - "description": "GetVolume gets details of a single Volume.", - "file": "Client/GetVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVolume", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.GetVolume", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.GetVolume", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "GetVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.GetVolumeRequest", - "name": "req" + "name": "req", + "type": "netapppb.GetVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.Volume", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "GetVolume", - "fullName": "google.cloud.netapp.v1.NetApp.GetVolume", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "GetVolume" }, + "description": "GetVolume gets details of a single Volume.", + "file": "Client/GetVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_GetVolume_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp GetVolume Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListActiveDirectories_sync", - "title": "netapp ListActiveDirectories Sample", - "description": "ListActiveDirectories lists active directories.", - "file": "Client/ListActiveDirectories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListActiveDirectories", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListActiveDirectories", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListActiveDirectories", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListActiveDirectories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListActiveDirectoriesRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListActiveDirectoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ActiveDirectoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListActiveDirectories", - "fullName": "google.cloud.netapp.v1.NetApp.ListActiveDirectories", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListActiveDirectories" }, + "description": "ListActiveDirectories lists active directories.", + "file": "Client/ListActiveDirectories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListActiveDirectories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListActiveDirectories Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListBackupPolicies_sync", - "title": "netapp ListBackupPolicies Sample", - "description": "ListBackupPolicies returns list of all available backup policies.", - "file": "Client/ListBackupPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupPolicies", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListBackupPolicies", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListBackupPolicies", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListBackupPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListBackupPoliciesRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListBackupPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListBackupPolicies", - "fullName": "google.cloud.netapp.v1.NetApp.ListBackupPolicies", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListBackupPolicies" }, + "description": "ListBackupPolicies returns list of all available backup policies.", + "file": "Client/ListBackupPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListBackupPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListBackupPolicies Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListBackupVaults_sync", - "title": "netapp ListBackupVaults Sample", - "description": "ListBackupVaults returns list of all available backup vaults.", - "file": "Client/ListBackupVaults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupVaults", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListBackupVaults", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListBackupVaults", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListBackupVaults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListBackupVaultsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListBackupVaultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupVaultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListBackupVaults", - "fullName": "google.cloud.netapp.v1.NetApp.ListBackupVaults", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListBackupVaults" }, + "description": "ListBackupVaults returns list of all available backup vaults.", + "file": "Client/ListBackupVaults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListBackupVaults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListBackupVaults Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListBackups_sync", - "title": "netapp ListBackups Sample", - "description": "ListBackups returns descriptions of all backups for a backupVault.", - "file": "Client/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListBackups", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListBackups", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.netapp.v1.NetApp.ListBackups", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups returns descriptions of all backups for a backupVault.", + "file": "Client/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListBackups Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListHostGroups_sync", - "title": "netapp ListHostGroups Sample", - "description": "ListHostGroups returns a list of host groups in a `location`. Use `-` as location to list\nhost groups across all locations.", - "file": "Client/ListHostGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHostGroups", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListHostGroups", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListHostGroups", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListHostGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListHostGroupsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListHostGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HostGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListHostGroups", - "fullName": "google.cloud.netapp.v1.NetApp.ListHostGroups", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListHostGroups" }, + "description": "ListHostGroups returns a list of host groups in a `location`. Use `-` as location to list\nhost groups across all locations.", + "file": "Client/ListHostGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListHostGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListHostGroups Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListKmsConfigs_sync", - "title": "netapp ListKmsConfigs Sample", - "description": "ListKmsConfigs returns descriptions of all KMS configs owned by the caller.", - "file": "Client/ListKmsConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKmsConfigs", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListKmsConfigs", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListKmsConfigs", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListKmsConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListKmsConfigsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListKmsConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KmsConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListKmsConfigs", - "fullName": "google.cloud.netapp.v1.NetApp.ListKmsConfigs", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListKmsConfigs" }, + "description": "ListKmsConfigs returns descriptions of all KMS configs owned by the caller.", + "file": "Client/ListKmsConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListKmsConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListKmsConfigs Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListLocations_sync", - "title": "netapp ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListLocations Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListOperations_sync", - "title": "netapp ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListOperations Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListQuotaRules_sync", - "title": "netapp ListQuotaRules Sample", - "description": "ListQuotaRules returns list of all quota rules in a location.", - "file": "Client/ListQuotaRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaRules", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListQuotaRules", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListQuotaRules", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListQuotaRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListQuotaRulesRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListQuotaRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaRuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListQuotaRules", - "fullName": "google.cloud.netapp.v1.NetApp.ListQuotaRules", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListQuotaRules" }, + "description": "ListQuotaRules returns list of all quota rules in a location.", + "file": "Client/ListQuotaRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListQuotaRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListQuotaRules Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListReplications_sync", - "title": "netapp ListReplications Sample", - "description": "ListReplications returns descriptions of all replications for a volume.", - "file": "Client/ListReplications/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReplications", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListReplications", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListReplications", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListReplications" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListReplicationsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListReplicationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReplicationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListReplications", - "fullName": "google.cloud.netapp.v1.NetApp.ListReplications", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListReplications" }, + "description": "ListReplications returns descriptions of all replications for a volume.", + "file": "Client/ListReplications/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListReplications_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListReplications Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListSnapshots_sync", - "title": "netapp ListSnapshots Sample", - "description": "ListSnapshots returns descriptions of all snapshots for a volume.", - "file": "Client/ListSnapshots/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSnapshots", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListSnapshots", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListSnapshots", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListSnapshots" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListSnapshots", - "fullName": "google.cloud.netapp.v1.NetApp.ListSnapshots", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListSnapshots" }, + "description": "ListSnapshots returns descriptions of all snapshots for a volume.", + "file": "Client/ListSnapshots/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListSnapshots_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListSnapshots Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListStoragePools_sync", - "title": "netapp ListStoragePools Sample", - "description": "ListStoragePools returns descriptions of all storage pools owned by the caller.", - "file": "Client/ListStoragePools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStoragePools", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListStoragePools", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListStoragePools", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListStoragePools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListStoragePoolsRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListStoragePoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "StoragePoolIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListStoragePools", - "fullName": "google.cloud.netapp.v1.NetApp.ListStoragePools", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "StoragePoolIterator", + "shortName": "ListStoragePools" }, + "description": "ListStoragePools returns descriptions of all storage pools owned by the caller.", + "file": "Client/ListStoragePools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListStoragePools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListStoragePools Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ListVolumes_sync", - "title": "netapp ListVolumes Sample", - "description": "ListVolumes lists Volumes in a given project.", - "file": "Client/ListVolumes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVolumes", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ListVolumes", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ListVolumes", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ListVolumes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ListVolumesRequest", - "name": "req" + "name": "req", + "type": "netapppb.ListVolumesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VolumeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ListVolumes", - "fullName": "google.cloud.netapp.v1.NetApp.ListVolumes", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ListVolumes" }, + "description": "ListVolumes lists Volumes in a given project.", + "file": "Client/ListVolumes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ListVolumes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ListVolumes Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_RestoreBackupFiles_sync", - "title": "netapp RestoreBackupFiles Sample", - "description": "RestoreBackupFiles restore files from a backup to a volume.", - "file": "Client/RestoreBackupFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreBackupFiles", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.RestoreBackupFiles", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.RestoreBackupFiles", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "RestoreBackupFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.RestoreBackupFilesRequest", - "name": "req" + "name": "req", + "type": "netapppb.RestoreBackupFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreBackupFilesOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "RestoreBackupFiles", - "fullName": "google.cloud.netapp.v1.NetApp.RestoreBackupFiles", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "RestoreBackupFiles" }, + "description": "RestoreBackupFiles restore files from a backup to a volume.", + "file": "Client/RestoreBackupFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_RestoreBackupFiles_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp RestoreBackupFiles Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ResumeReplication_sync", - "title": "netapp ResumeReplication Sample", - "description": "ResumeReplication resume Cross Region Replication.", - "file": "Client/ResumeReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ResumeReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ResumeReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ResumeReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ResumeReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.ResumeReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResumeReplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ResumeReplication", - "fullName": "google.cloud.netapp.v1.NetApp.ResumeReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ResumeReplication" }, + "description": "ResumeReplication resume Cross Region Replication.", + "file": "Client/ResumeReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ResumeReplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ResumeReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ReverseReplicationDirection_sync", - "title": "netapp ReverseReplicationDirection Sample", - "description": "ReverseReplicationDirection reverses direction of replication. Source becomes destination and\ndestination becomes source.", - "file": "Client/ReverseReplicationDirection/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReverseReplicationDirection", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ReverseReplicationDirection", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ReverseReplicationDirection", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ReverseReplicationDirection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ReverseReplicationDirectionRequest", - "name": "req" + "name": "req", + "type": "netapppb.ReverseReplicationDirectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReverseReplicationDirectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ReverseReplicationDirection", - "fullName": "google.cloud.netapp.v1.NetApp.ReverseReplicationDirection", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ReverseReplicationDirection" }, + "description": "ReverseReplicationDirection reverses direction of replication. Source becomes destination and\ndestination becomes source.", + "file": "Client/ReverseReplicationDirection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ReverseReplicationDirection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ReverseReplicationDirection Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_RevertVolume_sync", - "title": "netapp RevertVolume Sample", - "description": "RevertVolume revert an existing volume to a specified snapshot.\nWarning! This operation will permanently revert all changes made after the\nsnapshot was created.", - "file": "Client/RevertVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "RevertVolume", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.RevertVolume", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.RevertVolume", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "RevertVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.RevertVolumeRequest", - "name": "req" + "name": "req", + "type": "netapppb.RevertVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RevertVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "RevertVolume", - "fullName": "google.cloud.netapp.v1.NetApp.RevertVolume", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "RevertVolume" }, + "description": "RevertVolume revert an existing volume to a specified snapshot.\nWarning! This operation will permanently revert all changes made after the\nsnapshot was created.", + "file": "Client/RevertVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_RevertVolume_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp RevertVolume Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_StopReplication_sync", - "title": "netapp StopReplication Sample", - "description": "StopReplication stop Cross Region Replication.", - "file": "Client/StopReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.StopReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.StopReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "StopReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.StopReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.StopReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopReplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "StopReplication", - "fullName": "google.cloud.netapp.v1.NetApp.StopReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "StopReplication" }, + "description": "StopReplication stop Cross Region Replication.", + "file": "Client/StopReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_StopReplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp StopReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_SwitchActiveReplicaZone_sync", - "title": "netapp SwitchActiveReplicaZone Sample", - "description": "SwitchActiveReplicaZone this operation will switch the active/replica zone for a regional\nstoragePool.", - "file": "Client/SwitchActiveReplicaZone/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchActiveReplicaZone", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.SwitchActiveReplicaZone", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.SwitchActiveReplicaZone", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "SwitchActiveReplicaZone" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.SwitchActiveReplicaZoneRequest", - "name": "req" + "name": "req", + "type": "netapppb.SwitchActiveReplicaZoneRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SwitchActiveReplicaZoneOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "SwitchActiveReplicaZone", - "fullName": "google.cloud.netapp.v1.NetApp.SwitchActiveReplicaZone", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "SwitchActiveReplicaZone" }, + "description": "SwitchActiveReplicaZone this operation will switch the active/replica zone for a regional\nstoragePool.", + "file": "Client/SwitchActiveReplicaZone/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_SwitchActiveReplicaZone_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp SwitchActiveReplicaZone Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_SyncReplication_sync", - "title": "netapp SyncReplication Sample", - "description": "SyncReplication syncs the replication. This will invoke one time volume data transfer from\nsource to destination.", - "file": "Client/SyncReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "SyncReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.SyncReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.SyncReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "SyncReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.SyncReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.SyncReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SyncReplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "SyncReplication", - "fullName": "google.cloud.netapp.v1.NetApp.SyncReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "SyncReplication" }, + "description": "SyncReplication syncs the replication. This will invoke one time volume data transfer from\nsource to destination.", + "file": "Client/SyncReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_SyncReplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp SyncReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateActiveDirectory_sync", - "title": "netapp UpdateActiveDirectory Sample", - "description": "UpdateActiveDirectory update the parameters of an active directories.", - "file": "Client/UpdateActiveDirectory/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateActiveDirectory", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateActiveDirectory", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateActiveDirectory", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateActiveDirectory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateActiveDirectoryRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateActiveDirectoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateActiveDirectoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateActiveDirectory", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateActiveDirectory", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateActiveDirectory" }, + "description": "UpdateActiveDirectory update the parameters of an active directories.", + "file": "Client/UpdateActiveDirectory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateActiveDirectory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateActiveDirectory Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateBackup_sync", - "title": "netapp UpdateBackup Sample", - "description": "UpdateBackup update backup with full spec.", - "file": "Client/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateBackup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup update backup with full spec.", + "file": "Client/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateBackup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateBackupPolicy_sync", - "title": "netapp UpdateBackupPolicy Sample", - "description": "UpdateBackupPolicy updates settings of a specific backup policy.", - "file": "Client/UpdateBackupPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupPolicy", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateBackupPolicy", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackupPolicy", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateBackupPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateBackupPolicyRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateBackupPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateBackupPolicy", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackupPolicy", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateBackupPolicy" }, + "description": "UpdateBackupPolicy updates settings of a specific backup policy.", + "file": "Client/UpdateBackupPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateBackupPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateBackupPolicy Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateBackupVault_sync", - "title": "netapp UpdateBackupVault Sample", - "description": "UpdateBackupVault updates the settings of a specific backup vault.", - "file": "Client/UpdateBackupVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupVault", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateBackupVault", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackupVault", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateBackupVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateBackupVaultRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateBackupVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBackupVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateBackupVault", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackupVault", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateBackupVault" }, + "description": "UpdateBackupVault updates the settings of a specific backup vault.", + "file": "Client/UpdateBackupVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateBackupVault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateBackupVault Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateHostGroup_sync", - "title": "netapp UpdateHostGroup Sample", - "description": "UpdateHostGroup updates an existing host group.", - "file": "Client/UpdateHostGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHostGroup", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateHostGroup", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateHostGroup", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateHostGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateHostGroupRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateHostGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateHostGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateHostGroup", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateHostGroup", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateHostGroup" }, + "description": "UpdateHostGroup updates an existing host group.", + "file": "Client/UpdateHostGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateHostGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateHostGroup Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateKmsConfig_sync", - "title": "netapp UpdateKmsConfig Sample", - "description": "UpdateKmsConfig updates the Kms config properties with the full spec", - "file": "Client/UpdateKmsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateKmsConfig", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateKmsConfig", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateKmsConfig", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateKmsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateKmsConfigRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateKmsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateKmsConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateKmsConfig", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateKmsConfig", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateKmsConfig" }, + "description": "UpdateKmsConfig updates the Kms config properties with the full spec", + "file": "Client/UpdateKmsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateKmsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateKmsConfig Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateQuotaRule_sync", - "title": "netapp UpdateQuotaRule Sample", - "description": "UpdateQuotaRule updates a quota rule.", - "file": "Client/UpdateQuotaRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateQuotaRule", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateQuotaRule", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateQuotaRule", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateQuotaRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateQuotaRuleRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateQuotaRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateQuotaRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateQuotaRule", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateQuotaRule", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateQuotaRule" }, + "description": "UpdateQuotaRule updates a quota rule.", + "file": "Client/UpdateQuotaRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateQuotaRule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateQuotaRule Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateReplication_sync", - "title": "netapp UpdateReplication Sample", - "description": "UpdateReplication updates the settings of a specific replication.", - "file": "Client/UpdateReplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReplication", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateReplication", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateReplication", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateReplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateReplicationRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateReplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateReplicationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateReplication", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateReplication", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateReplication" }, + "description": "UpdateReplication updates the settings of a specific replication.", + "file": "Client/UpdateReplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateReplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateReplication Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateSnapshot_sync", - "title": "netapp UpdateSnapshot Sample", - "description": "UpdateSnapshot updates the settings of a specific snapshot.", - "file": "Client/UpdateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSnapshot", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateSnapshot", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateSnapshot", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateSnapshotRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSnapshotOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateSnapshot", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateSnapshot", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateSnapshot" }, + "description": "UpdateSnapshot updates the settings of a specific snapshot.", + "file": "Client/UpdateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateSnapshot Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateStoragePool_sync", - "title": "netapp UpdateStoragePool Sample", - "description": "UpdateStoragePool updates the storage pool properties with the full spec", - "file": "Client/UpdateStoragePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateStoragePool", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateStoragePool", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateStoragePool", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateStoragePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateStoragePoolRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateStoragePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateStoragePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateStoragePool", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateStoragePool", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateStoragePool" }, + "description": "UpdateStoragePool updates the storage pool properties with the full spec", + "file": "Client/UpdateStoragePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateStoragePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateStoragePool Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_UpdateVolume_sync", - "title": "netapp UpdateVolume Sample", - "description": "UpdateVolume updates the parameters of a single Volume.", - "file": "Client/UpdateVolume/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVolume", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.UpdateVolume", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.UpdateVolume", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "UpdateVolume" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.UpdateVolumeRequest", - "name": "req" + "name": "req", + "type": "netapppb.UpdateVolumeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVolumeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "UpdateVolume", - "fullName": "google.cloud.netapp.v1.NetApp.UpdateVolume", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "UpdateVolume" }, + "description": "UpdateVolume updates the parameters of a single Volume.", + "file": "Client/UpdateVolume/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_UpdateVolume_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp UpdateVolume Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_ValidateDirectoryService_sync", - "title": "netapp ValidateDirectoryService Sample", - "description": "ValidateDirectoryService validateDirectoryService does a connectivity check for a directory service\npolicy attached to the storage pool.", - "file": "Client/ValidateDirectoryService/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateDirectoryService", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.ValidateDirectoryService", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.ValidateDirectoryService", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "ValidateDirectoryService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.ValidateDirectoryServiceRequest", - "name": "req" + "name": "req", + "type": "netapppb.ValidateDirectoryServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ValidateDirectoryServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "ValidateDirectoryService", - "fullName": "google.cloud.netapp.v1.NetApp.ValidateDirectoryService", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "ValidateDirectoryService" }, + "description": "ValidateDirectoryService validateDirectoryService does a connectivity check for a directory service\npolicy attached to the storage pool.", + "file": "Client/ValidateDirectoryService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_ValidateDirectoryService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp ValidateDirectoryService Sample" }, { - "regionTag": "netapp_v1_generated_NetApp_VerifyKmsConfig_sync", - "title": "netapp VerifyKmsConfig Sample", - "description": "VerifyKmsConfig verifies KMS config reachability.", - "file": "Client/VerifyKmsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifyKmsConfig", + "client": { + "fullName": "google.cloud.netapp.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.netapp.v1.Client.VerifyKmsConfig", + "method": { + "fullName": "google.cloud.netapp.v1.NetApp.VerifyKmsConfig", + "service": { + "fullName": "google.cloud.netapp.v1.NetApp", + "shortName": "NetApp" + }, + "shortName": "VerifyKmsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "netapppb.VerifyKmsConfigRequest", - "name": "req" + "name": "req", + "type": "netapppb.VerifyKmsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*netapppb.VerifyKmsConfigResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.netapp.v1.Client" - }, - "method": { - "shortName": "VerifyKmsConfig", - "fullName": "google.cloud.netapp.v1.NetApp.VerifyKmsConfig", - "service": { - "shortName": "NetApp", - "fullName": "google.cloud.netapp.v1.NetApp" - } - } + "shortName": "VerifyKmsConfig" }, + "description": "VerifyKmsConfig verifies KMS config reachability.", + "file": "Client/VerifyKmsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "netapp_v1_generated_NetApp_VerifyKmsConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "netapp VerifyKmsConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json index 5d25de0262d3..eab879874085 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json @@ -1,4927 +1,4927 @@ { "clientLibrary": { - "name": "cloud.google.com/go/networkconnectivity/apiv1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.networkconnectivity.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/networkconnectivity/apiv1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CrossNetworkAutomationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CrossNetworkAutomationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CreateServiceConnectionMap_sync", - "title": "networkconnectivity CreateServiceConnectionMap Sample", - "description": "CreateServiceConnectionMap creates a new ServiceConnectionMap in a given project and location.", - "file": "CrossNetworkAutomationClient/CreateServiceConnectionMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceConnectionMap", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.CreateServiceConnectionMap", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.CreateServiceConnectionMap", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "CreateServiceConnectionMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateServiceConnectionMapRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateServiceConnectionMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceConnectionMapOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "CreateServiceConnectionMap", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.CreateServiceConnectionMap", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "CreateServiceConnectionMap" }, + "description": "CreateServiceConnectionMap creates a new ServiceConnectionMap in a given project and location.", + "file": "CrossNetworkAutomationClient/CreateServiceConnectionMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CreateServiceConnectionMap_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateServiceConnectionMap Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CreateServiceConnectionPolicy_sync", - "title": "networkconnectivity CreateServiceConnectionPolicy Sample", - "description": "CreateServiceConnectionPolicy creates a new ServiceConnectionPolicy in a given project and location.", - "file": "CrossNetworkAutomationClient/CreateServiceConnectionPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceConnectionPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.CreateServiceConnectionPolicy", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.CreateServiceConnectionPolicy", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "CreateServiceConnectionPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateServiceConnectionPolicyRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateServiceConnectionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceConnectionPolicyOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "CreateServiceConnectionPolicy", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.CreateServiceConnectionPolicy", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "CreateServiceConnectionPolicy" }, + "description": "CreateServiceConnectionPolicy creates a new ServiceConnectionPolicy in a given project and location.", + "file": "CrossNetworkAutomationClient/CreateServiceConnectionPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CreateServiceConnectionPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateServiceConnectionPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CreateServiceConnectionToken_sync", - "title": "networkconnectivity CreateServiceConnectionToken Sample", - "description": "CreateServiceConnectionToken creates a new ServiceConnectionToken in a given project and location.", - "file": "CrossNetworkAutomationClient/CreateServiceConnectionToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceConnectionToken", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.CreateServiceConnectionToken", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.CreateServiceConnectionToken", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "CreateServiceConnectionToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateServiceConnectionTokenRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateServiceConnectionTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceConnectionTokenOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "CreateServiceConnectionToken", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.CreateServiceConnectionToken", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "CreateServiceConnectionToken" }, + "description": "CreateServiceConnectionToken creates a new ServiceConnectionToken in a given project and location.", + "file": "CrossNetworkAutomationClient/CreateServiceConnectionToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_CreateServiceConnectionToken_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateServiceConnectionToken Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CrossNetworkAutomationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CrossNetworkAutomationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceClass_sync", - "title": "networkconnectivity DeleteServiceClass Sample", - "description": "DeleteServiceClass deletes a single ServiceClass.", - "file": "CrossNetworkAutomationClient/DeleteServiceClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceClass", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.DeleteServiceClass", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceClass", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "DeleteServiceClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteServiceClassRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteServiceClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceClassOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "DeleteServiceClass", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceClass", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "DeleteServiceClass" }, + "description": "DeleteServiceClass deletes a single ServiceClass.", + "file": "CrossNetworkAutomationClient/DeleteServiceClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceClass_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteServiceClass Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceConnectionMap_sync", - "title": "networkconnectivity DeleteServiceConnectionMap Sample", - "description": "DeleteServiceConnectionMap deletes a single ServiceConnectionMap.", - "file": "CrossNetworkAutomationClient/DeleteServiceConnectionMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceConnectionMap", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.DeleteServiceConnectionMap", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceConnectionMap", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "DeleteServiceConnectionMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteServiceConnectionMapRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteServiceConnectionMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceConnectionMapOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "DeleteServiceConnectionMap", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceConnectionMap", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "DeleteServiceConnectionMap" }, + "description": "DeleteServiceConnectionMap deletes a single ServiceConnectionMap.", + "file": "CrossNetworkAutomationClient/DeleteServiceConnectionMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceConnectionMap_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteServiceConnectionMap Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceConnectionPolicy_sync", - "title": "networkconnectivity DeleteServiceConnectionPolicy Sample", - "description": "DeleteServiceConnectionPolicy deletes a single ServiceConnectionPolicy.", - "file": "CrossNetworkAutomationClient/DeleteServiceConnectionPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceConnectionPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.DeleteServiceConnectionPolicy", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceConnectionPolicy", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "DeleteServiceConnectionPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteServiceConnectionPolicyRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteServiceConnectionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceConnectionPolicyOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "DeleteServiceConnectionPolicy", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceConnectionPolicy", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "DeleteServiceConnectionPolicy" }, + "description": "DeleteServiceConnectionPolicy deletes a single ServiceConnectionPolicy.", + "file": "CrossNetworkAutomationClient/DeleteServiceConnectionPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceConnectionPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteServiceConnectionPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceConnectionToken_sync", - "title": "networkconnectivity DeleteServiceConnectionToken Sample", - "description": "DeleteServiceConnectionToken deletes a single ServiceConnectionToken.", - "file": "CrossNetworkAutomationClient/DeleteServiceConnectionToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceConnectionToken", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.DeleteServiceConnectionToken", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceConnectionToken", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "DeleteServiceConnectionToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteServiceConnectionTokenRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteServiceConnectionTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceConnectionTokenOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "DeleteServiceConnectionToken", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.DeleteServiceConnectionToken", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "DeleteServiceConnectionToken" }, + "description": "DeleteServiceConnectionToken deletes a single ServiceConnectionToken.", + "file": "CrossNetworkAutomationClient/DeleteServiceConnectionToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_DeleteServiceConnectionToken_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteServiceConnectionToken Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "CrossNetworkAutomationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "CrossNetworkAutomationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CrossNetworkAutomationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CrossNetworkAutomationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CrossNetworkAutomationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CrossNetworkAutomationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceClass_sync", - "title": "networkconnectivity GetServiceClass Sample", - "description": "GetServiceClass gets details of a single ServiceClass.", - "file": "CrossNetworkAutomationClient/GetServiceClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceClass", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetServiceClass", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceClass", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "GetServiceClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetServiceClassRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetServiceClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.ServiceClass", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetServiceClass", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceClass", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "GetServiceClass" }, + "description": "GetServiceClass gets details of a single ServiceClass.", + "file": "CrossNetworkAutomationClient/GetServiceClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetServiceClass Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceConnectionMap_sync", - "title": "networkconnectivity GetServiceConnectionMap Sample", - "description": "GetServiceConnectionMap gets details of a single ServiceConnectionMap.", - "file": "CrossNetworkAutomationClient/GetServiceConnectionMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceConnectionMap", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetServiceConnectionMap", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceConnectionMap", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "GetServiceConnectionMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetServiceConnectionMapRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetServiceConnectionMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.ServiceConnectionMap", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetServiceConnectionMap", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceConnectionMap", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "GetServiceConnectionMap" }, + "description": "GetServiceConnectionMap gets details of a single ServiceConnectionMap.", + "file": "CrossNetworkAutomationClient/GetServiceConnectionMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceConnectionMap_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetServiceConnectionMap Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceConnectionPolicy_sync", - "title": "networkconnectivity GetServiceConnectionPolicy Sample", - "description": "GetServiceConnectionPolicy gets details of a single ServiceConnectionPolicy.", - "file": "CrossNetworkAutomationClient/GetServiceConnectionPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceConnectionPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetServiceConnectionPolicy", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceConnectionPolicy", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "GetServiceConnectionPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetServiceConnectionPolicyRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetServiceConnectionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.ServiceConnectionPolicy", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetServiceConnectionPolicy", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceConnectionPolicy", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "GetServiceConnectionPolicy" }, + "description": "GetServiceConnectionPolicy gets details of a single ServiceConnectionPolicy.", + "file": "CrossNetworkAutomationClient/GetServiceConnectionPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceConnectionPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetServiceConnectionPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceConnectionToken_sync", - "title": "networkconnectivity GetServiceConnectionToken Sample", - "description": "GetServiceConnectionToken gets details of a single ServiceConnectionToken.", - "file": "CrossNetworkAutomationClient/GetServiceConnectionToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceConnectionToken", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.GetServiceConnectionToken", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceConnectionToken", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "GetServiceConnectionToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetServiceConnectionTokenRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetServiceConnectionTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.ServiceConnectionToken", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "GetServiceConnectionToken", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.GetServiceConnectionToken", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "GetServiceConnectionToken" }, + "description": "GetServiceConnectionToken gets details of a single ServiceConnectionToken.", + "file": "CrossNetworkAutomationClient/GetServiceConnectionToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_GetServiceConnectionToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetServiceConnectionToken Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CrossNetworkAutomationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CrossNetworkAutomationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CrossNetworkAutomationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CrossNetworkAutomationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceClasses_sync", - "title": "networkconnectivity ListServiceClasses Sample", - "description": "ListServiceClasses lists ServiceClasses in a given project and location.", - "file": "CrossNetworkAutomationClient/ListServiceClasses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceClasses", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.ListServiceClasses", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceClasses", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "ListServiceClasses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListServiceClassesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListServiceClassesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceClassIterator", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "ListServiceClasses", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceClasses", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "ListServiceClasses" }, + "description": "ListServiceClasses lists ServiceClasses in a given project and location.", + "file": "CrossNetworkAutomationClient/ListServiceClasses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceClasses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListServiceClasses Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceConnectionMaps_sync", - "title": "networkconnectivity ListServiceConnectionMaps Sample", - "description": "ListServiceConnectionMaps lists ServiceConnectionMaps in a given project and location.", - "file": "CrossNetworkAutomationClient/ListServiceConnectionMaps/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceConnectionMaps", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.ListServiceConnectionMaps", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceConnectionMaps", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "ListServiceConnectionMaps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListServiceConnectionMapsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListServiceConnectionMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceConnectionMapIterator", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "ListServiceConnectionMaps", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceConnectionMaps", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "ListServiceConnectionMaps" }, + "description": "ListServiceConnectionMaps lists ServiceConnectionMaps in a given project and location.", + "file": "CrossNetworkAutomationClient/ListServiceConnectionMaps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceConnectionMaps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListServiceConnectionMaps Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceConnectionPolicies_sync", - "title": "networkconnectivity ListServiceConnectionPolicies Sample", - "description": "ListServiceConnectionPolicies lists ServiceConnectionPolicies in a given project and location.", - "file": "CrossNetworkAutomationClient/ListServiceConnectionPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceConnectionPolicies", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.ListServiceConnectionPolicies", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceConnectionPolicies", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "ListServiceConnectionPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListServiceConnectionPoliciesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListServiceConnectionPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceConnectionPolicyIterator", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "ListServiceConnectionPolicies", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceConnectionPolicies", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "ListServiceConnectionPolicies" }, + "description": "ListServiceConnectionPolicies lists ServiceConnectionPolicies in a given project and location.", + "file": "CrossNetworkAutomationClient/ListServiceConnectionPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceConnectionPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListServiceConnectionPolicies Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceConnectionTokens_sync", - "title": "networkconnectivity ListServiceConnectionTokens Sample", - "description": "ListServiceConnectionTokens lists ServiceConnectionTokens in a given project and location.", - "file": "CrossNetworkAutomationClient/ListServiceConnectionTokens/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceConnectionTokens", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.ListServiceConnectionTokens", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceConnectionTokens", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "ListServiceConnectionTokens" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListServiceConnectionTokensRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListServiceConnectionTokensRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceConnectionTokenIterator", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "ListServiceConnectionTokens", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.ListServiceConnectionTokens", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "ListServiceConnectionTokens" }, + "description": "ListServiceConnectionTokens lists ServiceConnectionTokens in a given project and location.", + "file": "CrossNetworkAutomationClient/ListServiceConnectionTokens/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_ListServiceConnectionTokens_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListServiceConnectionTokens Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "CrossNetworkAutomationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "CrossNetworkAutomationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "CrossNetworkAutomationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "CrossNetworkAutomationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_UpdateServiceClass_sync", - "title": "networkconnectivity UpdateServiceClass Sample", - "description": "UpdateServiceClass updates the parameters of a single ServiceClass.", - "file": "CrossNetworkAutomationClient/UpdateServiceClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServiceClass", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.UpdateServiceClass", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.UpdateServiceClass", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "UpdateServiceClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateServiceClassRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateServiceClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceClassOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "UpdateServiceClass", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.UpdateServiceClass", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "UpdateServiceClass" }, + "description": "UpdateServiceClass updates the parameters of a single ServiceClass.", + "file": "CrossNetworkAutomationClient/UpdateServiceClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_UpdateServiceClass_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateServiceClass Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_UpdateServiceConnectionMap_sync", - "title": "networkconnectivity UpdateServiceConnectionMap Sample", - "description": "UpdateServiceConnectionMap updates the parameters of a single ServiceConnectionMap.", - "file": "CrossNetworkAutomationClient/UpdateServiceConnectionMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServiceConnectionMap", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.UpdateServiceConnectionMap", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.UpdateServiceConnectionMap", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "UpdateServiceConnectionMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateServiceConnectionMapRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateServiceConnectionMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceConnectionMapOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "UpdateServiceConnectionMap", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.UpdateServiceConnectionMap", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "UpdateServiceConnectionMap" }, + "description": "UpdateServiceConnectionMap updates the parameters of a single ServiceConnectionMap.", + "file": "CrossNetworkAutomationClient/UpdateServiceConnectionMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_UpdateServiceConnectionMap_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateServiceConnectionMap Sample" }, { - "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_UpdateServiceConnectionPolicy_sync", - "title": "networkconnectivity UpdateServiceConnectionPolicy Sample", - "description": "UpdateServiceConnectionPolicy updates the parameters of a single ServiceConnectionPolicy.", - "file": "CrossNetworkAutomationClient/UpdateServiceConnectionPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServiceConnectionPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient", + "shortName": "CrossNetworkAutomationClient" + }, "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient.UpdateServiceConnectionPolicy", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.UpdateServiceConnectionPolicy", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService", + "shortName": "CrossNetworkAutomationService" + }, + "shortName": "UpdateServiceConnectionPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateServiceConnectionPolicyRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateServiceConnectionPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceConnectionPolicyOperation", - "client": { - "shortName": "CrossNetworkAutomationClient", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationClient" - }, - "method": { - "shortName": "UpdateServiceConnectionPolicy", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService.UpdateServiceConnectionPolicy", - "service": { - "shortName": "CrossNetworkAutomationService", - "fullName": "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService" - } - } + "shortName": "UpdateServiceConnectionPolicy" }, + "description": "UpdateServiceConnectionPolicy updates the parameters of a single ServiceConnectionPolicy.", + "file": "CrossNetworkAutomationClient/UpdateServiceConnectionPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_CrossNetworkAutomationService_UpdateServiceConnectionPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateServiceConnectionPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_CreateDestination_sync", - "title": "networkconnectivity CreateDestination Sample", - "description": "CreateDestination creates a `Destination` resource in a specified project and location.", - "file": "DataTransferClient/CreateDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.CreateDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.CreateDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "CreateDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDestinationOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "CreateDestination", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.CreateDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "CreateDestination" }, + "description": "CreateDestination creates a `Destination` resource in a specified project and location.", + "file": "DataTransferClient/CreateDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_CreateDestination_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateDestination Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_CreateMulticloudDataTransferConfig_sync", - "title": "networkconnectivity CreateMulticloudDataTransferConfig Sample", - "description": "CreateMulticloudDataTransferConfig creates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", - "file": "DataTransferClient/CreateMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.CreateMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.CreateMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "CreateMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMulticloudDataTransferConfigOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "CreateMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.CreateMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "CreateMulticloudDataTransferConfig" }, + "description": "CreateMulticloudDataTransferConfig creates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", + "file": "DataTransferClient/CreateMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_CreateMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_DeleteDestination_sync", - "title": "networkconnectivity DeleteDestination Sample", - "description": "DeleteDestination deletes a `Destination` resource.", - "file": "DataTransferClient/DeleteDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.DeleteDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.DeleteDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "DeleteDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDestinationOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "DeleteDestination", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.DeleteDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "DeleteDestination" }, + "description": "DeleteDestination deletes a `Destination` resource.", + "file": "DataTransferClient/DeleteDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_DeleteDestination_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteDestination Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_DeleteMulticloudDataTransferConfig_sync", - "title": "networkconnectivity DeleteMulticloudDataTransferConfig Sample", - "description": "DeleteMulticloudDataTransferConfig deletes a `MulticloudDataTransferConfig` resource.", - "file": "DataTransferClient/DeleteMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.DeleteMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.DeleteMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "DeleteMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMulticloudDataTransferConfigOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "DeleteMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.DeleteMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "DeleteMulticloudDataTransferConfig" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "DeleteMulticloudDataTransferConfig deletes a `MulticloudDataTransferConfig` resource.", + "file": "DataTransferClient/DeleteMulticloudDataTransferConfig/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_DeleteMulticloudDataTransferConfig_sync", + "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetDestination_sync", - "title": "networkconnectivity GetDestination Sample", - "description": "GetDestination gets the details of a `Destination` resource.", - "file": "DataTransferClient/GetDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.GetDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.GetDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Destination", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "GetDestination", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.GetDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "GetDestination" }, + "description": "GetDestination gets the details of a `Destination` resource.", + "file": "DataTransferClient/GetDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetDestination_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetDestination Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "DataTransferClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataTransferClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataTransferClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataTransferClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetMulticloudDataTransferConfig_sync", - "title": "networkconnectivity GetMulticloudDataTransferConfig Sample", - "description": "GetMulticloudDataTransferConfig gets the details of a `MulticloudDataTransferConfig` resource.", - "file": "DataTransferClient/GetMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.GetMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.GetMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.MulticloudDataTransferConfig", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "GetMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.GetMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "GetMulticloudDataTransferConfig" }, + "description": "GetMulticloudDataTransferConfig gets the details of a `MulticloudDataTransferConfig` resource.", + "file": "DataTransferClient/GetMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetMulticloudDataTransferSupportedService_sync", - "title": "networkconnectivity GetMulticloudDataTransferSupportedService Sample", - "description": "GetMulticloudDataTransferSupportedService gets the details of a service that is supported for Data Transfer\nEssentials.", - "file": "DataTransferClient/GetMulticloudDataTransferSupportedService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMulticloudDataTransferSupportedService", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.GetMulticloudDataTransferSupportedService", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.GetMulticloudDataTransferSupportedService", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetMulticloudDataTransferSupportedService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetMulticloudDataTransferSupportedServiceRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetMulticloudDataTransferSupportedServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.MulticloudDataTransferSupportedService", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "GetMulticloudDataTransferSupportedService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.GetMulticloudDataTransferSupportedService", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "GetMulticloudDataTransferSupportedService" }, + "description": "GetMulticloudDataTransferSupportedService gets the details of a service that is supported for Data Transfer\nEssentials.", + "file": "DataTransferClient/GetMulticloudDataTransferSupportedService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetMulticloudDataTransferSupportedService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetMulticloudDataTransferSupportedService Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListDestinations_sync", - "title": "networkconnectivity ListDestinations Sample", - "description": "ListDestinations lists the `Destination` resources in a specified project and location.", - "file": "DataTransferClient/ListDestinations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDestinations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.ListDestinations", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.ListDestinations", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListDestinations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListDestinationsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListDestinationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DestinationIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "ListDestinations", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.ListDestinations", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "ListDestinations" }, + "description": "ListDestinations lists the `Destination` resources in a specified project and location.", + "file": "DataTransferClient/ListDestinations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListDestinations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListDestinations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DataTransferClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DataTransferClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListMulticloudDataTransferConfigs_sync", - "title": "networkconnectivity ListMulticloudDataTransferConfigs Sample", - "description": "ListMulticloudDataTransferConfigs lists the `MulticloudDataTransferConfig` resources in a specified project\nand location.", - "file": "DataTransferClient/ListMulticloudDataTransferConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMulticloudDataTransferConfigs", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.ListMulticloudDataTransferConfigs", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.ListMulticloudDataTransferConfigs", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListMulticloudDataTransferConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListMulticloudDataTransferConfigsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListMulticloudDataTransferConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MulticloudDataTransferConfigIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "ListMulticloudDataTransferConfigs", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.ListMulticloudDataTransferConfigs", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "ListMulticloudDataTransferConfigs" }, + "description": "ListMulticloudDataTransferConfigs lists the `MulticloudDataTransferConfig` resources in a specified project\nand location.", + "file": "DataTransferClient/ListMulticloudDataTransferConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListMulticloudDataTransferConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListMulticloudDataTransferConfigs Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListMulticloudDataTransferSupportedServices_sync", - "title": "networkconnectivity ListMulticloudDataTransferSupportedServices Sample", - "description": "ListMulticloudDataTransferSupportedServices lists the services in the project for a region that are supported for\nData Transfer Essentials.", - "file": "DataTransferClient/ListMulticloudDataTransferSupportedServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMulticloudDataTransferSupportedServices", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.ListMulticloudDataTransferSupportedServices", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.ListMulticloudDataTransferSupportedServices", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListMulticloudDataTransferSupportedServices" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListMulticloudDataTransferSupportedServicesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListMulticloudDataTransferSupportedServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MulticloudDataTransferSupportedServiceIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "ListMulticloudDataTransferSupportedServices", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.ListMulticloudDataTransferSupportedServices", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "ListMulticloudDataTransferSupportedServices" }, + "description": "ListMulticloudDataTransferSupportedServices lists the services in the project for a region that are supported for\nData Transfer Essentials.", + "file": "DataTransferClient/ListMulticloudDataTransferSupportedServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListMulticloudDataTransferSupportedServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListMulticloudDataTransferSupportedServices Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "DataTransferClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataTransferClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "DataTransferClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataTransferClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_UpdateDestination_sync", - "title": "networkconnectivity UpdateDestination Sample", - "description": "UpdateDestination updates a `Destination` resource in a specified project and location.", - "file": "DataTransferClient/UpdateDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.UpdateDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.UpdateDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "UpdateDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDestinationOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "UpdateDestination", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.UpdateDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "UpdateDestination" }, + "description": "UpdateDestination updates a `Destination` resource in a specified project and location.", + "file": "DataTransferClient/UpdateDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_UpdateDestination_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateDestination Sample" }, { - "regionTag": "networkconnectivity_v1_generated_DataTransferService_UpdateMulticloudDataTransferConfig_sync", - "title": "networkconnectivity UpdateMulticloudDataTransferConfig Sample", - "description": "UpdateMulticloudDataTransferConfig updates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", - "file": "DataTransferClient/UpdateMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient.UpdateMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.UpdateMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "UpdateMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMulticloudDataTransferConfigOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferClient" - }, - "method": { - "shortName": "UpdateMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService.UpdateMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1.DataTransferService" - } - } + "shortName": "UpdateMulticloudDataTransferConfig" }, + "description": "UpdateMulticloudDataTransferConfig updates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", + "file": "DataTransferClient/UpdateMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_DataTransferService_UpdateMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_AcceptHubSpoke_sync", - "title": "networkconnectivity AcceptHubSpoke Sample", - "description": "AcceptHubSpoke accepts a proposal to attach a Network Connectivity Center spoke\nto a hub.", - "file": "HubClient/AcceptHubSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptHubSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.AcceptHubSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "AcceptHubSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.AcceptHubSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.AcceptHubSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceptHubSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "AcceptHubSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "AcceptHubSpoke" }, + "description": "AcceptHubSpoke accepts a proposal to attach a Network Connectivity Center spoke\nto a hub.", + "file": "HubClient/AcceptHubSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_AcceptHubSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity AcceptHubSpoke Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_AcceptSpokeUpdate_sync", - "title": "networkconnectivity AcceptSpokeUpdate Sample", - "description": "AcceptSpokeUpdate accepts a proposal to update a Network Connectivity Center spoke in a hub.", - "file": "HubClient/AcceptSpokeUpdate/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptSpokeUpdate", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.AcceptSpokeUpdate", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.AcceptSpokeUpdate", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "AcceptSpokeUpdate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.AcceptSpokeUpdateRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.AcceptSpokeUpdateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceptSpokeUpdateOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "AcceptSpokeUpdate", - "fullName": "google.cloud.networkconnectivity.v1.HubService.AcceptSpokeUpdate", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "AcceptSpokeUpdate" }, + "description": "AcceptSpokeUpdate accepts a proposal to update a Network Connectivity Center spoke in a hub.", + "file": "HubClient/AcceptSpokeUpdate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_AcceptSpokeUpdate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity AcceptSpokeUpdate Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "HubClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_CreateHub_sync", - "title": "networkconnectivity CreateHub Sample", - "description": "CreateHub creates a new Network Connectivity Center hub in the specified project.", - "file": "HubClient/CreateHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.CreateHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "CreateHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "CreateHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "CreateHub" }, + "description": "CreateHub creates a new Network Connectivity Center hub in the specified project.", + "file": "HubClient/CreateHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_CreateHub_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateHub Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_CreateSpoke_sync", - "title": "networkconnectivity CreateSpoke Sample", - "description": "CreateSpoke creates a Network Connectivity Center spoke.", - "file": "HubClient/CreateSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.CreateSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "CreateSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "CreateSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "CreateSpoke" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateSpoke creates a Network Connectivity Center spoke.", + "file": "HubClient/CreateSpoke/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_CreateSpoke_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateSpoke Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_DeleteHub_sync", - "title": "networkconnectivity DeleteHub Sample", - "description": "DeleteHub deletes a Network Connectivity Center hub.", - "file": "HubClient/DeleteHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.DeleteHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "DeleteHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "DeleteHub" }, + "description": "DeleteHub deletes a Network Connectivity Center hub.", + "file": "HubClient/DeleteHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteHub_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteHub Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "HubClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_DeleteSpoke_sync", - "title": "networkconnectivity DeleteSpoke Sample", - "description": "DeleteSpoke deletes a Network Connectivity Center spoke.", - "file": "HubClient/DeleteSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.DeleteSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "DeleteSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "DeleteSpoke" }, + "description": "DeleteSpoke deletes a Network Connectivity Center spoke.", + "file": "HubClient/DeleteSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_DeleteSpoke_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteSpoke Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetGroup_sync", - "title": "networkconnectivity GetGroup Sample", - "description": "GetGroup gets details about a Network Connectivity Center group.", - "file": "HubClient/GetGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGroup", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetGroup", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetGroup", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "GetGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetGroupRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Group", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetGroup", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetGroup", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "GetGroup" }, + "description": "GetGroup gets details about a Network Connectivity Center group.", + "file": "HubClient/GetGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetGroup Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetHub_sync", - "title": "networkconnectivity GetHub Sample", - "description": "GetHub gets details about a Network Connectivity Center hub.", - "file": "HubClient/GetHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "GetHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Hub", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "GetHub" }, + "description": "GetHub gets details about a Network Connectivity Center hub.", + "file": "HubClient/GetHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetHub_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetHub Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "HubClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "HubClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "HubClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "HubClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "HubClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetRoute_sync", - "title": "networkconnectivity GetRoute Sample", - "description": "GetRoute gets details about the specified route.", - "file": "HubClient/GetRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "GetRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Route", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetRoute", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetRoute", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "GetRoute" }, + "description": "GetRoute gets details about the specified route.", + "file": "HubClient/GetRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetRoute Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetRouteTable_sync", - "title": "networkconnectivity GetRouteTable Sample", - "description": "GetRouteTable gets details about a Network Connectivity Center route table.", - "file": "HubClient/GetRouteTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRouteTable", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetRouteTable", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetRouteTable", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "GetRouteTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetRouteTableRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetRouteTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.RouteTable", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetRouteTable", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetRouteTable", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "GetRouteTable" }, + "description": "GetRouteTable gets details about a Network Connectivity Center route table.", + "file": "HubClient/GetRouteTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetRouteTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetRouteTable Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_GetSpoke_sync", - "title": "networkconnectivity GetSpoke Sample", - "description": "GetSpoke gets details about a Network Connectivity Center spoke.", - "file": "HubClient/GetSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.GetSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "GetSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Spoke", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "GetSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "GetSpoke" }, + "description": "GetSpoke gets details about a Network Connectivity Center spoke.", + "file": "HubClient/GetSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_GetSpoke_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetSpoke Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListGroups_sync", - "title": "networkconnectivity ListGroups Sample", - "description": "ListGroups lists groups in a given hub.", - "file": "HubClient/ListGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroups", - "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListGroups", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "networkconnectivitypb.ListGroupsRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "GroupIterator", "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" }, + "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListGroups", "method": { - "shortName": "ListGroups", "fullName": "google.cloud.networkconnectivity.v1.HubService.ListGroups", "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "ListGroups" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "networkconnectivitypb.ListGroupsRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "GroupIterator", + "shortName": "ListGroups" }, + "description": "ListGroups lists groups in a given hub.", + "file": "HubClient/ListGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListGroups Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListHubSpokes_sync", - "title": "networkconnectivity ListHubSpokes Sample", - "description": "ListHubSpokes lists the Network Connectivity Center spokes associated with a\nspecified hub and location. The list includes both spokes that are attached\nto the hub and spokes that have been proposed but not yet accepted.", - "file": "HubClient/ListHubSpokes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHubSpokes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListHubSpokes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubSpokes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "ListHubSpokes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListHubSpokesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListHubSpokesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpokeIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListHubSpokes", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubSpokes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "ListHubSpokes" }, + "description": "ListHubSpokes lists the Network Connectivity Center spokes associated with a\nspecified hub and location. The list includes both spokes that are attached\nto the hub and spokes that have been proposed but not yet accepted.", + "file": "HubClient/ListHubSpokes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListHubSpokes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListHubSpokes Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListHubs_sync", - "title": "networkconnectivity ListHubs Sample", - "description": "ListHubs lists the Network Connectivity Center hubs associated with a given project.", - "file": "HubClient/ListHubs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHubs", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListHubs", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubs", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "ListHubs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListHubsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListHubsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HubIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListHubs", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubs", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "ListHubs" }, + "description": "ListHubs lists the Network Connectivity Center hubs associated with a given project.", + "file": "HubClient/ListHubs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListHubs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListHubs Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "HubClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "HubClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "HubClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "HubClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListRouteTables_sync", - "title": "networkconnectivity ListRouteTables Sample", - "description": "ListRouteTables lists route tables in a given hub.", - "file": "HubClient/ListRouteTables/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRouteTables", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListRouteTables", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListRouteTables", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "ListRouteTables" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListRouteTablesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListRouteTablesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteTableIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListRouteTables", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListRouteTables", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "ListRouteTables" }, + "description": "ListRouteTables lists route tables in a given hub.", + "file": "HubClient/ListRouteTables/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListRouteTables_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListRouteTables Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListRoutes_sync", - "title": "networkconnectivity ListRoutes Sample", - "description": "ListRoutes lists routes in a given route table.", - "file": "HubClient/ListRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListRoutes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListRoutes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "ListRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListRoutesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListRoutes", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListRoutes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "ListRoutes" }, + "description": "ListRoutes lists routes in a given route table.", + "file": "HubClient/ListRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListRoutes Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_ListSpokes_sync", - "title": "networkconnectivity ListSpokes Sample", - "description": "ListSpokes lists the Network Connectivity Center spokes in a specified project and\nlocation.", - "file": "HubClient/ListSpokes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpokes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.ListSpokes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListSpokes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "ListSpokes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListSpokesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListSpokesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpokeIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListSpokes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "ListSpokes" }, + "description": "ListSpokes lists the Network Connectivity Center spokes in a specified project and\nlocation.", + "file": "HubClient/ListSpokes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_ListSpokes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListSpokes Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_QueryHubStatus_sync", - "title": "networkconnectivity QueryHubStatus Sample", - "description": "QueryHubStatus query the Private Service Connect propagation status of a Network\nConnectivity Center hub.", - "file": "HubClient/QueryHubStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryHubStatus", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.QueryHubStatus", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.QueryHubStatus", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "QueryHubStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.QueryHubStatusRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.QueryHubStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HubStatusEntryIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "QueryHubStatus", - "fullName": "google.cloud.networkconnectivity.v1.HubService.QueryHubStatus", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "QueryHubStatus" }, + "description": "QueryHubStatus query the Private Service Connect propagation status of a Network\nConnectivity Center hub.", + "file": "HubClient/QueryHubStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_QueryHubStatus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity QueryHubStatus Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_RejectHubSpoke_sync", - "title": "networkconnectivity RejectHubSpoke Sample", - "description": "RejectHubSpoke rejects a Network Connectivity Center spoke from being attached to a hub.\nIf the spoke was previously in the `ACTIVE` state, it\ntransitions to the `INACTIVE` state and is no longer able to\nconnect to other spokes that are attached to the hub.", - "file": "HubClient/RejectHubSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejectHubSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.RejectHubSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "RejectHubSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.RejectHubSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.RejectHubSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejectHubSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "RejectHubSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "RejectHubSpoke" }, + "description": "RejectHubSpoke rejects a Network Connectivity Center spoke from being attached to a hub.\nIf the spoke was previously in the `ACTIVE` state, it\ntransitions to the `INACTIVE` state and is no longer able to\nconnect to other spokes that are attached to the hub.", + "file": "HubClient/RejectHubSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_RejectHubSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity RejectHubSpoke Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_RejectSpokeUpdate_sync", - "title": "networkconnectivity RejectSpokeUpdate Sample", - "description": "RejectSpokeUpdate rejects a proposal to update a Network Connectivity Center spoke in a hub.", - "file": "HubClient/RejectSpokeUpdate/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejectSpokeUpdate", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.RejectSpokeUpdate", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.RejectSpokeUpdate", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "RejectSpokeUpdate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.RejectSpokeUpdateRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.RejectSpokeUpdateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejectSpokeUpdateOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "RejectSpokeUpdate", - "fullName": "google.cloud.networkconnectivity.v1.HubService.RejectSpokeUpdate", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "RejectSpokeUpdate" }, + "description": "RejectSpokeUpdate rejects a proposal to update a Network Connectivity Center spoke in a hub.", + "file": "HubClient/RejectSpokeUpdate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_RejectSpokeUpdate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity RejectSpokeUpdate Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "HubClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "HubClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "HubClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "HubClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_UpdateGroup_sync", - "title": "networkconnectivity UpdateGroup Sample", - "description": "UpdateGroup updates the parameters of a Network Connectivity Center group.", - "file": "HubClient/UpdateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGroup", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateGroup", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateGroup", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateGroupRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGroupOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "UpdateGroup", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateGroup", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "UpdateGroup" }, + "description": "UpdateGroup updates the parameters of a Network Connectivity Center group.", + "file": "HubClient/UpdateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateGroup Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_UpdateHub_sync", - "title": "networkconnectivity UpdateHub Sample", - "description": "UpdateHub updates the description and/or labels of a Network Connectivity Center\nhub.", - "file": "HubClient/UpdateHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "UpdateHub" }, + "description": "UpdateHub updates the description and/or labels of a Network Connectivity Center\nhub.", + "file": "HubClient/UpdateHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateHub_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateHub Sample" }, { - "regionTag": "networkconnectivity_v1_generated_HubService_UpdateSpoke_sync", - "title": "networkconnectivity UpdateSpoke Sample", - "description": "UpdateSpoke updates the parameters of a Network Connectivity Center spoke.", - "file": "HubClient/UpdateSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1.HubClient.UpdateSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1.HubClient" - }, - "method": { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService" - } - } + "shortName": "UpdateSpoke" }, + "description": "UpdateSpoke updates the parameters of a Network Connectivity Center spoke.", + "file": "HubClient/UpdateSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_HubService_UpdateSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateSpoke Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "InternalRangeClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "InternalRangeClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_CreateInternalRange_sync", - "title": "networkconnectivity CreateInternalRange Sample", - "description": "CreateInternalRange creates a new internal range in a given project and location.", - "file": "InternalRangeClient/CreateInternalRange/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInternalRange", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.CreateInternalRange", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.CreateInternalRange", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService", + "shortName": "InternalRangeService" + }, + "shortName": "CreateInternalRange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateInternalRangeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateInternalRangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInternalRangeOperation", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "CreateInternalRange", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.CreateInternalRange", - "service": { - "shortName": "InternalRangeService", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService" - } - } + "shortName": "CreateInternalRange" }, + "description": "CreateInternalRange creates a new internal range in a given project and location.", + "file": "InternalRangeClient/CreateInternalRange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_CreateInternalRange_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateInternalRange Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_DeleteInternalRange_sync", - "title": "networkconnectivity DeleteInternalRange Sample", - "description": "DeleteInternalRange deletes a single internal range.", - "file": "InternalRangeClient/DeleteInternalRange/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInternalRange", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.DeleteInternalRange", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.DeleteInternalRange", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService", + "shortName": "InternalRangeService" + }, + "shortName": "DeleteInternalRange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteInternalRangeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteInternalRangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInternalRangeOperation", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "DeleteInternalRange", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.DeleteInternalRange", - "service": { - "shortName": "InternalRangeService", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService" - } - } + "shortName": "DeleteInternalRange" }, + "description": "DeleteInternalRange deletes a single internal range.", + "file": "InternalRangeClient/DeleteInternalRange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_DeleteInternalRange_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteInternalRange Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "InternalRangeClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "InternalRangeClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "InternalRangeClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "InternalRangeClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetInternalRange_sync", - "title": "networkconnectivity GetInternalRange Sample", - "description": "GetInternalRange gets details of a single internal range.", - "file": "InternalRangeClient/GetInternalRange/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInternalRange", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.GetInternalRange", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.GetInternalRange", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService", + "shortName": "InternalRangeService" + }, + "shortName": "GetInternalRange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetInternalRangeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetInternalRangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*networkconnectivitypb.InternalRange", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "GetInternalRange", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.GetInternalRange", - "service": { - "shortName": "InternalRangeService", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*networkconnectivitypb.InternalRange", + "shortName": "GetInternalRange" }, + "description": "GetInternalRange gets details of a single internal range.", + "file": "InternalRangeClient/GetInternalRange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetInternalRange_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetInternalRange Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "InternalRangeClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "InternalRangeClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "InternalRangeClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "InternalRangeClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_ListInternalRanges_sync", - "title": "networkconnectivity ListInternalRanges Sample", - "description": "ListInternalRanges lists internal ranges in a given project and location.", - "file": "InternalRangeClient/ListInternalRanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInternalRanges", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.ListInternalRanges", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.ListInternalRanges", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService", + "shortName": "InternalRangeService" + }, + "shortName": "ListInternalRanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListInternalRangesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListInternalRangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InternalRangeIterator", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "ListInternalRanges", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.ListInternalRanges", - "service": { - "shortName": "InternalRangeService", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService" - } - } + "shortName": "ListInternalRanges" }, + "description": "ListInternalRanges lists internal ranges in a given project and location.", + "file": "InternalRangeClient/ListInternalRanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_ListInternalRanges_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListInternalRanges Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "InternalRangeClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "InternalRangeClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "InternalRangeClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "InternalRangeClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "InternalRangeClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "InternalRangeClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "InternalRangeClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "InternalRangeClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1_generated_InternalRangeService_UpdateInternalRange_sync", - "title": "networkconnectivity UpdateInternalRange Sample", - "description": "UpdateInternalRange updates the parameters of a single internal range.", - "file": "InternalRangeClient/UpdateInternalRange/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInternalRange", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient", + "shortName": "InternalRangeClient" + }, "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient.UpdateInternalRange", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.UpdateInternalRange", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService", + "shortName": "InternalRangeService" + }, + "shortName": "UpdateInternalRange" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateInternalRangeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateInternalRangeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInternalRangeOperation", - "client": { - "shortName": "InternalRangeClient", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeClient" - }, - "method": { - "shortName": "UpdateInternalRange", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService.UpdateInternalRange", - "service": { - "shortName": "InternalRangeService", - "fullName": "google.cloud.networkconnectivity.v1.InternalRangeService" - } - } + "shortName": "UpdateInternalRange" }, + "description": "UpdateInternalRange updates the parameters of a single internal range.", + "file": "InternalRangeClient/UpdateInternalRange/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_InternalRangeService_UpdateInternalRange_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateInternalRange Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync", - "title": "networkconnectivity CreatePolicyBasedRoute Sample", - "description": "CreatePolicyBasedRoute creates a new policy-based route in a given project and location.", - "file": "PolicyBasedRoutingClient/CreatePolicyBasedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicyBasedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.CreatePolicyBasedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.CreatePolicyBasedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "CreatePolicyBasedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreatePolicyBasedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreatePolicyBasedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePolicyBasedRouteOperation", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "CreatePolicyBasedRoute", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.CreatePolicyBasedRoute", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" - } - } + "shortName": "CreatePolicyBasedRoute" }, + "description": "CreatePolicyBasedRoute creates a new policy-based route in a given project and location.", + "file": "PolicyBasedRoutingClient/CreatePolicyBasedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreatePolicyBasedRoute Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync", - "title": "networkconnectivity DeletePolicyBasedRoute Sample", - "description": "DeletePolicyBasedRoute deletes a single policy-based route.", - "file": "PolicyBasedRoutingClient/DeletePolicyBasedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicyBasedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.DeletePolicyBasedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.DeletePolicyBasedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "DeletePolicyBasedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeletePolicyBasedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeletePolicyBasedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePolicyBasedRouteOperation", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "DeletePolicyBasedRoute", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.DeletePolicyBasedRoute", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" - } - } + "shortName": "DeletePolicyBasedRoute" }, + "description": "DeletePolicyBasedRoute deletes a single policy-based route.", + "file": "PolicyBasedRoutingClient/DeletePolicyBasedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeletePolicyBasedRoute Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "PolicyBasedRoutingClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PolicyBasedRoutingClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PolicyBasedRoutingClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PolicyBasedRoutingClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync", - "title": "networkconnectivity GetPolicyBasedRoute Sample", - "description": "GetPolicyBasedRoute gets details of a single policy-based route.", - "file": "PolicyBasedRoutingClient/GetPolicyBasedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicyBasedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.GetPolicyBasedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetPolicyBasedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "GetPolicyBasedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetPolicyBasedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetPolicyBasedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.PolicyBasedRoute", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetPolicyBasedRoute", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetPolicyBasedRoute", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" - } - } + "shortName": "GetPolicyBasedRoute" }, + "description": "GetPolicyBasedRoute gets details of a single policy-based route.", + "file": "PolicyBasedRoutingClient/GetPolicyBasedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetPolicyBasedRoute Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "PolicyBasedRoutingClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "PolicyBasedRoutingClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync", - "title": "networkconnectivity ListPolicyBasedRoutes Sample", - "description": "ListPolicyBasedRoutes lists policy-based routes in a given project and location.", - "file": "PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicyBasedRoutes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.ListPolicyBasedRoutes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "ListPolicyBasedRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListPolicyBasedRoutesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListPolicyBasedRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBasedRouteIterator", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "ListPolicyBasedRoutes", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" - } - } + "shortName": "ListPolicyBasedRoutes" }, + "description": "ListPolicyBasedRoutes lists policy-based routes in a given project and location.", + "file": "PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListPolicyBasedRoutes Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "PolicyBasedRoutingClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PolicyBasedRoutingClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "PolicyBasedRoutingClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PolicyBasedRoutingClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1_generated_PolicyBasedRoutingService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json b/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json index 2ce43b5220ce..4ae625244118 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json @@ -1,475 +1,475 @@ { "clientLibrary": { - "name": "cloud.google.com/go/networkconnectivity/apiv1alpha1", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.networkconnectivity.v1alpha1", "version": "v1alpha1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/networkconnectivity/apiv1alpha1", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateHub_sync", - "title": "networkconnectivity CreateHub Sample", - "description": "CreateHub creates a new Hub in a given project and location.", - "file": "HubClient/CreateHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.CreateHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "CreateHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "CreateHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "CreateHub" }, + "description": "CreateHub creates a new Hub in a given project and location.", + "file": "HubClient/CreateHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateHub_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateHub Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_sync", - "title": "networkconnectivity CreateSpoke Sample", - "description": "CreateSpoke creates a new Spoke in a given project and location.", - "file": "HubClient/CreateSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.CreateSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "CreateSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "CreateSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "CreateSpoke" }, + "description": "CreateSpoke creates a new Spoke in a given project and location.", + "file": "HubClient/CreateSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_CreateSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateSpoke Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteHub_sync", - "title": "networkconnectivity DeleteHub Sample", - "description": "DeleteHub deletes a single Hub.", - "file": "HubClient/DeleteHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.DeleteHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "DeleteHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "DeleteHub" }, + "description": "DeleteHub deletes a single Hub.", + "file": "HubClient/DeleteHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteHub_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteHub Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_sync", - "title": "networkconnectivity DeleteSpoke Sample", - "description": "DeleteSpoke deletes a single Spoke.", - "file": "HubClient/DeleteSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.DeleteSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "DeleteSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "DeleteSpoke" }, + "description": "DeleteSpoke deletes a single Spoke.", + "file": "HubClient/DeleteSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_DeleteSpoke_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteSpoke Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetHub_sync", - "title": "networkconnectivity GetHub Sample", - "description": "GetHub gets details of a single Hub.", - "file": "HubClient/GetHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.GetHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "GetHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Hub", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "GetHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "GetHub" }, + "description": "GetHub gets details of a single Hub.", + "file": "HubClient/GetHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetHub_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetHub Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetSpoke_sync", - "title": "networkconnectivity GetSpoke Sample", - "description": "GetSpoke gets details of a single Spoke.", - "file": "HubClient/GetSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.GetSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "GetSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Spoke", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "GetSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "GetSpoke" }, + "description": "GetSpoke gets details of a single Spoke.", + "file": "HubClient/GetSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_GetSpoke_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetSpoke Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListHubs_sync", - "title": "networkconnectivity ListHubs Sample", - "description": "ListHubs lists Hubs in a given project and location.", - "file": "HubClient/ListHubs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHubs", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.ListHubs", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListHubs", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "ListHubs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListHubsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListHubsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HubIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "ListHubs", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListHubs", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "ListHubs" }, + "description": "ListHubs lists Hubs in a given project and location.", + "file": "HubClient/ListHubs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListHubs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListHubs Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListSpokes_sync", - "title": "networkconnectivity ListSpokes Sample", - "description": "ListSpokes lists Spokes in a given project and location.", - "file": "HubClient/ListSpokes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpokes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.ListSpokes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListSpokes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "ListSpokes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListSpokesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListSpokesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpokeIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListSpokes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "ListSpokes" }, + "description": "ListSpokes lists Spokes in a given project and location.", + "file": "HubClient/ListSpokes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_ListSpokes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListSpokes Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateHub_sync", - "title": "networkconnectivity UpdateHub Sample", - "description": "UpdateHub updates the parameters of a single Hub.", - "file": "HubClient/UpdateHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.UpdateHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "UpdateHub" }, + "description": "UpdateHub updates the parameters of a single Hub.", + "file": "HubClient/UpdateHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateHub_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateHub Sample" }, { - "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_sync", - "title": "networkconnectivity UpdateSpoke Sample", - "description": "UpdateSpoke updates the parameters of a single Spoke.", - "file": "HubClient/UpdateSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient.UpdateSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubClient" - }, - "method": { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService" - } - } + "shortName": "UpdateSpoke" }, + "description": "UpdateSpoke updates the parameters of a single Spoke.", + "file": "HubClient/UpdateSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1alpha1_generated_HubService_UpdateSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateSpoke Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/networkconnectivity/apiv1beta/snippet_metadata.google.cloud.networkconnectivity.v1beta.json b/internal/generated/snippets/networkconnectivity/apiv1beta/snippet_metadata.google.cloud.networkconnectivity.v1beta.json index 8d35b8511e32..f3bc92e97593 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1beta/snippet_metadata.google.cloud.networkconnectivity.v1beta.json +++ b/internal/generated/snippets/networkconnectivity/apiv1beta/snippet_metadata.google.cloud.networkconnectivity.v1beta.json @@ -1,4055 +1,4055 @@ { "clientLibrary": { - "name": "cloud.google.com/go/networkconnectivity/apiv1beta", - "version": "1.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.networkconnectivity.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/networkconnectivity/apiv1beta", + "version": "1.21.0" }, "snippets": [ { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_CreateDestination_sync", - "title": "networkconnectivity CreateDestination Sample", - "description": "CreateDestination creates a `Destination` resource in a specified project and location.", - "file": "DataTransferClient/CreateDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.CreateDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.CreateDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "CreateDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDestinationOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "CreateDestination", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.CreateDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "CreateDestination" }, + "description": "CreateDestination creates a `Destination` resource in a specified project and location.", + "file": "DataTransferClient/CreateDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_CreateDestination_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateDestination Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_CreateMulticloudDataTransferConfig_sync", - "title": "networkconnectivity CreateMulticloudDataTransferConfig Sample", - "description": "CreateMulticloudDataTransferConfig creates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", - "file": "DataTransferClient/CreateMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.CreateMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.CreateMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "CreateMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMulticloudDataTransferConfigOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "CreateMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.CreateMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "CreateMulticloudDataTransferConfig" }, + "description": "CreateMulticloudDataTransferConfig creates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", + "file": "DataTransferClient/CreateMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_CreateMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_DeleteDestination_sync", - "title": "networkconnectivity DeleteDestination Sample", - "description": "DeleteDestination deletes a `Destination` resource.", - "file": "DataTransferClient/DeleteDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.DeleteDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.DeleteDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "DeleteDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDestinationOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "DeleteDestination", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.DeleteDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "DeleteDestination" }, + "description": "DeleteDestination deletes a `Destination` resource.", + "file": "DataTransferClient/DeleteDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_DeleteDestination_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteDestination Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_DeleteMulticloudDataTransferConfig_sync", - "title": "networkconnectivity DeleteMulticloudDataTransferConfig Sample", - "description": "DeleteMulticloudDataTransferConfig deletes a `MulticloudDataTransferConfig` resource.", - "file": "DataTransferClient/DeleteMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.DeleteMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.DeleteMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "DeleteMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMulticloudDataTransferConfigOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "DeleteMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.DeleteMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "DeleteMulticloudDataTransferConfig" }, + "description": "DeleteMulticloudDataTransferConfig deletes a `MulticloudDataTransferConfig` resource.", + "file": "DataTransferClient/DeleteMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_DeleteMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetDestination_sync", - "title": "networkconnectivity GetDestination Sample", - "description": "GetDestination gets the details of a `Destination` resource.", - "file": "DataTransferClient/GetDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.GetDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.GetDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Destination", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "GetDestination", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.GetDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "GetDestination" }, + "description": "GetDestination gets the details of a `Destination` resource.", + "file": "DataTransferClient/GetDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetDestination_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetDestination Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "DataTransferClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DataTransferClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataTransferClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataTransferClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetMulticloudDataTransferConfig_sync", - "title": "networkconnectivity GetMulticloudDataTransferConfig Sample", - "description": "GetMulticloudDataTransferConfig gets the details of a `MulticloudDataTransferConfig` resource.", - "file": "DataTransferClient/GetMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.GetMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.GetMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.MulticloudDataTransferConfig", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "GetMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.GetMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "GetMulticloudDataTransferConfig" }, + "description": "GetMulticloudDataTransferConfig gets the details of a `MulticloudDataTransferConfig` resource.", + "file": "DataTransferClient/GetMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetMulticloudDataTransferSupportedService_sync", - "title": "networkconnectivity GetMulticloudDataTransferSupportedService Sample", - "description": "GetMulticloudDataTransferSupportedService gets the details of a service that is supported for Data Transfer\nEssentials.", - "file": "DataTransferClient/GetMulticloudDataTransferSupportedService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMulticloudDataTransferSupportedService", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.GetMulticloudDataTransferSupportedService", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.GetMulticloudDataTransferSupportedService", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "GetMulticloudDataTransferSupportedService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetMulticloudDataTransferSupportedServiceRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetMulticloudDataTransferSupportedServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.MulticloudDataTransferSupportedService", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "GetMulticloudDataTransferSupportedService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.GetMulticloudDataTransferSupportedService", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "GetMulticloudDataTransferSupportedService" }, + "description": "GetMulticloudDataTransferSupportedService gets the details of a service that is supported for Data Transfer\nEssentials.", + "file": "DataTransferClient/GetMulticloudDataTransferSupportedService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetMulticloudDataTransferSupportedService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetMulticloudDataTransferSupportedService Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListDestinations_sync", - "title": "networkconnectivity ListDestinations Sample", - "description": "ListDestinations lists the `Destination` resources in a specified project and location.", - "file": "DataTransferClient/ListDestinations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDestinations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.ListDestinations", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.ListDestinations", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListDestinations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListDestinationsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListDestinationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DestinationIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "ListDestinations", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.ListDestinations", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "ListDestinations" }, + "description": "ListDestinations lists the `Destination` resources in a specified project and location.", + "file": "DataTransferClient/ListDestinations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListDestinations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListDestinations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataTransferClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataTransferClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListMulticloudDataTransferConfigs_sync", - "title": "networkconnectivity ListMulticloudDataTransferConfigs Sample", - "description": "ListMulticloudDataTransferConfigs lists the `MulticloudDataTransferConfig` resources in a specified project\nand location.", - "file": "DataTransferClient/ListMulticloudDataTransferConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMulticloudDataTransferConfigs", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.ListMulticloudDataTransferConfigs", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.ListMulticloudDataTransferConfigs", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListMulticloudDataTransferConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListMulticloudDataTransferConfigsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListMulticloudDataTransferConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MulticloudDataTransferConfigIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "ListMulticloudDataTransferConfigs", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.ListMulticloudDataTransferConfigs", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "ListMulticloudDataTransferConfigs" }, + "description": "ListMulticloudDataTransferConfigs lists the `MulticloudDataTransferConfig` resources in a specified project\nand location.", + "file": "DataTransferClient/ListMulticloudDataTransferConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListMulticloudDataTransferConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListMulticloudDataTransferConfigs Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListMulticloudDataTransferSupportedServices_sync", - "title": "networkconnectivity ListMulticloudDataTransferSupportedServices Sample", - "description": "ListMulticloudDataTransferSupportedServices lists the services in the project for a region that are supported for\nData Transfer Essentials.", - "file": "DataTransferClient/ListMulticloudDataTransferSupportedServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMulticloudDataTransferSupportedServices", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.ListMulticloudDataTransferSupportedServices", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.ListMulticloudDataTransferSupportedServices", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "ListMulticloudDataTransferSupportedServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListMulticloudDataTransferSupportedServicesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListMulticloudDataTransferSupportedServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MulticloudDataTransferSupportedServiceIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "ListMulticloudDataTransferSupportedServices", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.ListMulticloudDataTransferSupportedServices", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "ListMulticloudDataTransferSupportedServices" }, + "description": "ListMulticloudDataTransferSupportedServices lists the services in the project for a region that are supported for\nData Transfer Essentials.", + "file": "DataTransferClient/ListMulticloudDataTransferSupportedServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListMulticloudDataTransferSupportedServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListMulticloudDataTransferSupportedServices Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataTransferClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataTransferClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "DataTransferClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DataTransferClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "DataTransferClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DataTransferClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_UpdateDestination_sync", - "title": "networkconnectivity UpdateDestination Sample", - "description": "UpdateDestination updates a `Destination` resource in a specified project and location.", - "file": "DataTransferClient/UpdateDestination/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDestination", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.UpdateDestination", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.UpdateDestination", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "UpdateDestination" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateDestinationRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateDestinationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDestinationOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "UpdateDestination", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.UpdateDestination", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "UpdateDestination" }, + "description": "UpdateDestination updates a `Destination` resource in a specified project and location.", + "file": "DataTransferClient/UpdateDestination/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_UpdateDestination_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateDestination Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_UpdateMulticloudDataTransferConfig_sync", - "title": "networkconnectivity UpdateMulticloudDataTransferConfig Sample", - "description": "UpdateMulticloudDataTransferConfig updates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", - "file": "DataTransferClient/UpdateMulticloudDataTransferConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMulticloudDataTransferConfig", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient", + "shortName": "DataTransferClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient.UpdateMulticloudDataTransferConfig", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.UpdateMulticloudDataTransferConfig", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService", + "shortName": "DataTransferService" + }, + "shortName": "UpdateMulticloudDataTransferConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateMulticloudDataTransferConfigRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateMulticloudDataTransferConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMulticloudDataTransferConfigOperation", - "client": { - "shortName": "DataTransferClient", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferClient" - }, - "method": { - "shortName": "UpdateMulticloudDataTransferConfig", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService.UpdateMulticloudDataTransferConfig", - "service": { - "shortName": "DataTransferService", - "fullName": "google.cloud.networkconnectivity.v1beta.DataTransferService" - } - } + "shortName": "UpdateMulticloudDataTransferConfig" }, + "description": "UpdateMulticloudDataTransferConfig updates a `MulticloudDataTransferConfig` resource in a specified project\nand location.", + "file": "DataTransferClient/UpdateMulticloudDataTransferConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_DataTransferService_UpdateMulticloudDataTransferConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateMulticloudDataTransferConfig Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_AcceptHubSpoke_sync", - "title": "networkconnectivity AcceptHubSpoke Sample", - "description": "AcceptHubSpoke accepts a proposal to attach a Network Connectivity Center spoke\nto a hub.", - "file": "HubClient/AcceptHubSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptHubSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.AcceptHubSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.AcceptHubSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "AcceptHubSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.AcceptHubSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.AcceptHubSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceptHubSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "AcceptHubSpoke", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.AcceptHubSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "AcceptHubSpoke" }, + "description": "AcceptHubSpoke accepts a proposal to attach a Network Connectivity Center spoke\nto a hub.", + "file": "HubClient/AcceptHubSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_AcceptHubSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity AcceptHubSpoke Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_AcceptSpokeUpdate_sync", - "title": "networkconnectivity AcceptSpokeUpdate Sample", - "description": "AcceptSpokeUpdate accepts a proposal to update a Network Connectivity Center spoke in a hub.", - "file": "HubClient/AcceptSpokeUpdate/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptSpokeUpdate", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.AcceptSpokeUpdate", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.AcceptSpokeUpdate", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "AcceptSpokeUpdate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.AcceptSpokeUpdateRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.AcceptSpokeUpdateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceptSpokeUpdateOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "AcceptSpokeUpdate", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.AcceptSpokeUpdate", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "AcceptSpokeUpdate" }, + "description": "AcceptSpokeUpdate accepts a proposal to update a Network Connectivity Center spoke in a hub.", + "file": "HubClient/AcceptSpokeUpdate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_AcceptSpokeUpdate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity AcceptSpokeUpdate Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "HubClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_CreateGatewayAdvertisedRoute_sync", - "title": "networkconnectivity CreateGatewayAdvertisedRoute Sample", - "description": "CreateGatewayAdvertisedRoute create a GatewayAdvertisedRoute", - "file": "HubClient/CreateGatewayAdvertisedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGatewayAdvertisedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.CreateGatewayAdvertisedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.CreateGatewayAdvertisedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "CreateGatewayAdvertisedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateGatewayAdvertisedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateGatewayAdvertisedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGatewayAdvertisedRouteOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "CreateGatewayAdvertisedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.CreateGatewayAdvertisedRoute", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "CreateGatewayAdvertisedRoute" }, + "description": "CreateGatewayAdvertisedRoute create a GatewayAdvertisedRoute", + "file": "HubClient/CreateGatewayAdvertisedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_CreateGatewayAdvertisedRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateGatewayAdvertisedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_CreateHub_sync", - "title": "networkconnectivity CreateHub Sample", - "description": "CreateHub creates a new Network Connectivity Center hub in the specified project.", - "file": "HubClient/CreateHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.CreateHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.CreateHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "CreateHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "CreateHub", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.CreateHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "CreateHub" }, + "description": "CreateHub creates a new Network Connectivity Center hub in the specified project.", + "file": "HubClient/CreateHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_CreateHub_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateHub Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_CreateSpoke_sync", - "title": "networkconnectivity CreateSpoke Sample", - "description": "CreateSpoke creates a Network Connectivity Center spoke.", - "file": "HubClient/CreateSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.CreateSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.CreateSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "CreateSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "CreateSpoke", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.CreateSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "CreateSpoke" }, + "description": "CreateSpoke creates a Network Connectivity Center spoke.", + "file": "HubClient/CreateSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_CreateSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateSpoke Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteGatewayAdvertisedRoute_sync", - "title": "networkconnectivity DeleteGatewayAdvertisedRoute Sample", - "description": "DeleteGatewayAdvertisedRoute delete a GatewayAdvertisedRoute", - "file": "HubClient/DeleteGatewayAdvertisedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGatewayAdvertisedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.DeleteGatewayAdvertisedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.DeleteGatewayAdvertisedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteGatewayAdvertisedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteGatewayAdvertisedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteGatewayAdvertisedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGatewayAdvertisedRouteOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "DeleteGatewayAdvertisedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.DeleteGatewayAdvertisedRoute", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "DeleteGatewayAdvertisedRoute" }, + "description": "DeleteGatewayAdvertisedRoute delete a GatewayAdvertisedRoute", + "file": "HubClient/DeleteGatewayAdvertisedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteGatewayAdvertisedRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteGatewayAdvertisedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteHub_sync", - "title": "networkconnectivity DeleteHub Sample", - "description": "DeleteHub deletes a Network Connectivity Center hub.", - "file": "HubClient/DeleteHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.DeleteHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.DeleteHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "DeleteHub", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.DeleteHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "DeleteHub" }, + "description": "DeleteHub deletes a Network Connectivity Center hub.", + "file": "HubClient/DeleteHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteHub_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteHub Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "HubClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteSpoke_sync", - "title": "networkconnectivity DeleteSpoke Sample", - "description": "DeleteSpoke deletes a Network Connectivity Center spoke.", - "file": "HubClient/DeleteSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.DeleteSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.DeleteSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "DeleteSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "DeleteSpoke", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.DeleteSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "DeleteSpoke" }, + "description": "DeleteSpoke deletes a Network Connectivity Center spoke.", + "file": "HubClient/DeleteSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_DeleteSpoke_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteSpoke Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetGatewayAdvertisedRoute_sync", - "title": "networkconnectivity GetGatewayAdvertisedRoute Sample", - "description": "GetGatewayAdvertisedRoute get a GatewayAdvertisedRoute", - "file": "HubClient/GetGatewayAdvertisedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGatewayAdvertisedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetGatewayAdvertisedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetGatewayAdvertisedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "GetGatewayAdvertisedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetGatewayAdvertisedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetGatewayAdvertisedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.GatewayAdvertisedRoute", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetGatewayAdvertisedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetGatewayAdvertisedRoute", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "GetGatewayAdvertisedRoute" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetGatewayAdvertisedRoute get a GatewayAdvertisedRoute", + "file": "HubClient/GetGatewayAdvertisedRoute/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetGatewayAdvertisedRoute_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetGatewayAdvertisedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetGroup_sync", - "title": "networkconnectivity GetGroup Sample", - "description": "GetGroup gets details about a Network Connectivity Center group.", - "file": "HubClient/GetGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGroup", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetGroup", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetGroup", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "GetGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetGroupRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Group", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetGroup", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetGroup", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "GetGroup" }, + "description": "GetGroup gets details about a Network Connectivity Center group.", + "file": "HubClient/GetGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetGroup Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetHub_sync", - "title": "networkconnectivity GetHub Sample", - "description": "GetHub gets details about a Network Connectivity Center hub.", - "file": "HubClient/GetHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "GetHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Hub", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetHub", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "GetHub" }, + "description": "GetHub gets details about a Network Connectivity Center hub.", + "file": "HubClient/GetHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetHub_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetHub Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "HubClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "HubClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "HubClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "HubClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "HubClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "HubClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetRoute_sync", - "title": "networkconnectivity GetRoute Sample", - "description": "GetRoute gets details about the specified route.", - "file": "HubClient/GetRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "GetRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Route", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetRoute", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "GetRoute" }, + "description": "GetRoute gets details about the specified route.", + "file": "HubClient/GetRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetRouteTable_sync", - "title": "networkconnectivity GetRouteTable Sample", - "description": "GetRouteTable gets details about a Network Connectivity Center route table.", - "file": "HubClient/GetRouteTable/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRouteTable", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetRouteTable", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetRouteTable", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "GetRouteTable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetRouteTableRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetRouteTableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.RouteTable", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetRouteTable", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetRouteTable", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "GetRouteTable" }, + "description": "GetRouteTable gets details about a Network Connectivity Center route table.", + "file": "HubClient/GetRouteTable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetRouteTable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetRouteTable Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_GetSpoke_sync", - "title": "networkconnectivity GetSpoke Sample", - "description": "GetSpoke gets details about a Network Connectivity Center spoke.", - "file": "HubClient/GetSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.GetSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "GetSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Spoke", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "GetSpoke", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.GetSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "GetSpoke" }, + "description": "GetSpoke gets details about a Network Connectivity Center spoke.", + "file": "HubClient/GetSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_GetSpoke_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetSpoke Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListGatewayAdvertisedRoutes_sync", - "title": "networkconnectivity ListGatewayAdvertisedRoutes Sample", - "description": "ListGatewayAdvertisedRoutes list GatewayAdvertisedRoutes", - "file": "HubClient/ListGatewayAdvertisedRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGatewayAdvertisedRoutes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListGatewayAdvertisedRoutes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListGatewayAdvertisedRoutes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListGatewayAdvertisedRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListGatewayAdvertisedRoutesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListGatewayAdvertisedRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GatewayAdvertisedRouteIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListGatewayAdvertisedRoutes", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListGatewayAdvertisedRoutes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListGatewayAdvertisedRoutes" }, + "description": "ListGatewayAdvertisedRoutes list GatewayAdvertisedRoutes", + "file": "HubClient/ListGatewayAdvertisedRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListGatewayAdvertisedRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListGatewayAdvertisedRoutes Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListGroups_sync", - "title": "networkconnectivity ListGroups Sample", - "description": "ListGroups lists groups in a given hub.", - "file": "HubClient/ListGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroups", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListGroups", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListGroups", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListGroupsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListGroups", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListGroups", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListGroups" }, + "description": "ListGroups lists groups in a given hub.", + "file": "HubClient/ListGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListGroups Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListHubSpokes_sync", - "title": "networkconnectivity ListHubSpokes Sample", - "description": "ListHubSpokes lists the Network Connectivity Center spokes associated with a\nspecified hub and location. The list includes both spokes that are attached\nto the hub and spokes that have been proposed but not yet accepted.", - "file": "HubClient/ListHubSpokes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHubSpokes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListHubSpokes", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListHubSpokes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListHubSpokes" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListHubSpokesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListHubSpokesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpokeIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListHubSpokes", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListHubSpokes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListHubSpokes" }, + "description": "ListHubSpokes lists the Network Connectivity Center spokes associated with a\nspecified hub and location. The list includes both spokes that are attached\nto the hub and spokes that have been proposed but not yet accepted.", + "file": "HubClient/ListHubSpokes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListHubSpokes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListHubSpokes Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListHubs_sync", - "title": "networkconnectivity ListHubs Sample", - "description": "ListHubs lists the Network Connectivity Center hubs associated with a given project.", - "file": "HubClient/ListHubs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHubs", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListHubs", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListHubs", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListHubs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListHubsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListHubsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HubIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListHubs", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListHubs", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListHubs" }, + "description": "ListHubs lists the Network Connectivity Center hubs associated with a given project.", + "file": "HubClient/ListHubs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListHubs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListHubs Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "HubClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "HubClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "HubClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "HubClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListRouteTables_sync", - "title": "networkconnectivity ListRouteTables Sample", - "description": "ListRouteTables lists route tables in a given hub.", - "file": "HubClient/ListRouteTables/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRouteTables", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListRouteTables", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListRouteTables", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListRouteTables" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListRouteTablesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListRouteTablesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteTableIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListRouteTables", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListRouteTables", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListRouteTables" }, + "description": "ListRouteTables lists route tables in a given hub.", + "file": "HubClient/ListRouteTables/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListRouteTables_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListRouteTables Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListRoutes_sync", - "title": "networkconnectivity ListRoutes Sample", - "description": "ListRoutes lists routes in a given route table.", - "file": "HubClient/ListRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRoutes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListRoutes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListRoutes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListRoutesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RouteIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListRoutes", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListRoutes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListRoutes" }, + "description": "ListRoutes lists routes in a given route table.", + "file": "HubClient/ListRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListRoutes Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_ListSpokes_sync", - "title": "networkconnectivity ListSpokes Sample", - "description": "ListSpokes lists the Network Connectivity Center spokes in a specified project and\nlocation.", - "file": "HubClient/ListSpokes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSpokes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.ListSpokes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListSpokes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "ListSpokes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListSpokesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListSpokesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SpokeIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.ListSpokes", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "ListSpokes" }, + "description": "ListSpokes lists the Network Connectivity Center spokes in a specified project and\nlocation.", + "file": "HubClient/ListSpokes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_ListSpokes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListSpokes Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_QueryHubStatus_sync", - "title": "networkconnectivity QueryHubStatus Sample", - "description": "QueryHubStatus query the Private Service Connect propagation status of a Network\nConnectivity Center hub.", - "file": "HubClient/QueryHubStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryHubStatus", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.QueryHubStatus", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.QueryHubStatus", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "QueryHubStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.QueryHubStatusRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.QueryHubStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HubStatusEntryIterator", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "QueryHubStatus", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.QueryHubStatus", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "QueryHubStatus" }, + "description": "QueryHubStatus query the Private Service Connect propagation status of a Network\nConnectivity Center hub.", + "file": "HubClient/QueryHubStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_QueryHubStatus_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity QueryHubStatus Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_RejectHubSpoke_sync", - "title": "networkconnectivity RejectHubSpoke Sample", - "description": "RejectHubSpoke rejects a Network Connectivity Center spoke from being attached to a hub.\nIf the spoke was previously in the `ACTIVE` state, it\ntransitions to the `INACTIVE` state and is no longer able to\nconnect to other spokes that are attached to the hub.", - "file": "HubClient/RejectHubSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejectHubSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.RejectHubSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.RejectHubSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "RejectHubSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.RejectHubSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.RejectHubSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejectHubSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "RejectHubSpoke", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.RejectHubSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "RejectHubSpoke" }, + "description": "RejectHubSpoke rejects a Network Connectivity Center spoke from being attached to a hub.\nIf the spoke was previously in the `ACTIVE` state, it\ntransitions to the `INACTIVE` state and is no longer able to\nconnect to other spokes that are attached to the hub.", + "file": "HubClient/RejectHubSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_RejectHubSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity RejectHubSpoke Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_RejectSpokeUpdate_sync", - "title": "networkconnectivity RejectSpokeUpdate Sample", - "description": "RejectSpokeUpdate rejects a proposal to update a Network Connectivity Center spoke in a hub.", - "file": "HubClient/RejectSpokeUpdate/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejectSpokeUpdate", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.RejectSpokeUpdate", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.RejectSpokeUpdate", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "RejectSpokeUpdate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.RejectSpokeUpdateRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.RejectSpokeUpdateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejectSpokeUpdateOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "RejectSpokeUpdate", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.RejectSpokeUpdate", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "RejectSpokeUpdate" }, + "description": "RejectSpokeUpdate rejects a proposal to update a Network Connectivity Center spoke in a hub.", + "file": "HubClient/RejectSpokeUpdate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_RejectSpokeUpdate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity RejectSpokeUpdate Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "HubClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, - "origin": "API_DEFINITION", - "segments": [ + "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": "HubClient/SetIamPolicy/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_SetIamPolicy_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "HubClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "HubClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateGatewayAdvertisedRoute_sync", - "title": "networkconnectivity UpdateGatewayAdvertisedRoute Sample", - "description": "UpdateGatewayAdvertisedRoute update a GatewayAdvertisedRoute", - "file": "HubClient/UpdateGatewayAdvertisedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGatewayAdvertisedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.UpdateGatewayAdvertisedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateGatewayAdvertisedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateGatewayAdvertisedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateGatewayAdvertisedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateGatewayAdvertisedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGatewayAdvertisedRouteOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "UpdateGatewayAdvertisedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateGatewayAdvertisedRoute", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "UpdateGatewayAdvertisedRoute" }, + "description": "UpdateGatewayAdvertisedRoute update a GatewayAdvertisedRoute", + "file": "HubClient/UpdateGatewayAdvertisedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateGatewayAdvertisedRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateGatewayAdvertisedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateGroup_sync", - "title": "networkconnectivity UpdateGroup Sample", - "description": "UpdateGroup updates the parameters of a Network Connectivity Center group.", - "file": "HubClient/UpdateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGroup", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.UpdateGroup", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateGroup", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateGroupRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGroupOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "UpdateGroup", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateGroup", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "UpdateGroup" }, + "description": "UpdateGroup updates the parameters of a Network Connectivity Center group.", + "file": "HubClient/UpdateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateGroup Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateHub_sync", - "title": "networkconnectivity UpdateHub Sample", - "description": "UpdateHub updates the description and/or labels of a Network Connectivity Center\nhub.", - "file": "HubClient/UpdateHub/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHub", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.UpdateHub", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateHub", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateHub" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateHubRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateHubRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateHubOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateHub", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "UpdateHub" }, + "description": "UpdateHub updates the description and/or labels of a Network Connectivity Center\nhub.", + "file": "HubClient/UpdateHub/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateHub_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateHub Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateSpoke_sync", - "title": "networkconnectivity UpdateSpoke Sample", - "description": "UpdateSpoke updates the parameters of a Network Connectivity Center spoke.", - "file": "HubClient/UpdateSpoke/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSpoke", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubClient", + "shortName": "HubClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.HubClient.UpdateSpoke", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateSpoke", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.HubService", + "shortName": "HubService" + }, + "shortName": "UpdateSpoke" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateSpokeRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateSpokeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSpokeOperation", - "client": { - "shortName": "HubClient", - "fullName": "google.cloud.networkconnectivity.v1beta.HubClient" - }, - "method": { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService.UpdateSpoke", - "service": { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1beta.HubService" - } - } + "shortName": "UpdateSpoke" }, + "description": "UpdateSpoke updates the parameters of a Network Connectivity Center spoke.", + "file": "HubClient/UpdateSpoke/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_HubService_UpdateSpoke_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateSpoke Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync", - "title": "networkconnectivity CreatePolicyBasedRoute Sample", - "description": "CreatePolicyBasedRoute creates a new policy-based route in a given project and location.", - "file": "PolicyBasedRoutingClient/CreatePolicyBasedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicyBasedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.CreatePolicyBasedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.CreatePolicyBasedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "CreatePolicyBasedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreatePolicyBasedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreatePolicyBasedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePolicyBasedRouteOperation", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "CreatePolicyBasedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.CreatePolicyBasedRoute", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService" - } - } + "shortName": "CreatePolicyBasedRoute" }, + "description": "CreatePolicyBasedRoute creates a new policy-based route in a given project and location.", + "file": "PolicyBasedRoutingClient/CreatePolicyBasedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreatePolicyBasedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync", - "title": "networkconnectivity DeletePolicyBasedRoute Sample", - "description": "DeletePolicyBasedRoute deletes a single policy-based route.", - "file": "PolicyBasedRoutingClient/DeletePolicyBasedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicyBasedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.DeletePolicyBasedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.DeletePolicyBasedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "DeletePolicyBasedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeletePolicyBasedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeletePolicyBasedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePolicyBasedRouteOperation", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "DeletePolicyBasedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.DeletePolicyBasedRoute", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService" - } - } + "shortName": "DeletePolicyBasedRoute" }, + "description": "DeletePolicyBasedRoute deletes a single policy-based route.", + "file": "PolicyBasedRoutingClient/DeletePolicyBasedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeletePolicyBasedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetIamPolicy_sync", - "title": "networkconnectivity 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": "PolicyBasedRoutingClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "PolicyBasedRoutingClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "PolicyBasedRoutingClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "PolicyBasedRoutingClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync", - "title": "networkconnectivity GetPolicyBasedRoute Sample", - "description": "GetPolicyBasedRoute gets details of a single policy-based route.", - "file": "PolicyBasedRoutingClient/GetPolicyBasedRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicyBasedRoute", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.GetPolicyBasedRoute", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.GetPolicyBasedRoute", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "GetPolicyBasedRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetPolicyBasedRouteRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetPolicyBasedRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.PolicyBasedRoute", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "GetPolicyBasedRoute", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.GetPolicyBasedRoute", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService" - } - } + "shortName": "GetPolicyBasedRoute" }, + "description": "GetPolicyBasedRoute gets details of a single policy-based route.", + "file": "PolicyBasedRoutingClient/GetPolicyBasedRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetPolicyBasedRoute Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "PolicyBasedRoutingClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "LocationIterator", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "LocationIterator", + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "PolicyBasedRoutingClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PolicyBasedRoutingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PolicyBasedRoutingClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync", - "title": "networkconnectivity ListPolicyBasedRoutes Sample", - "description": "ListPolicyBasedRoutes lists policy-based routes in a given project and location.", - "file": "PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicyBasedRoutes", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.ListPolicyBasedRoutes", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.ListPolicyBasedRoutes", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService", + "shortName": "PolicyBasedRoutingService" + }, + "shortName": "ListPolicyBasedRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListPolicyBasedRoutesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListPolicyBasedRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyBasedRouteIterator", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "ListPolicyBasedRoutes", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.ListPolicyBasedRoutes", - "service": { - "shortName": "PolicyBasedRoutingService", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService" - } - } + "shortName": "ListPolicyBasedRoutes" }, + "description": "ListPolicyBasedRoutes lists policy-based routes in a given project and location.", + "file": "PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListPolicyBasedRoutes Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_SetIamPolicy_sync", - "title": "networkconnectivity 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": "PolicyBasedRoutingClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "PolicyBasedRoutingClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_TestIamPermissions_sync", - "title": "networkconnectivity 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": "PolicyBasedRoutingClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient", + "shortName": "PolicyBasedRoutingClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "PolicyBasedRoutingClient", - "fullName": "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "PolicyBasedRoutingClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_PolicyBasedRoutingService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_CancelOperation_sync", - "title": "networkconnectivity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TransportManagerClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TransportManagerClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CancelOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_CreateTransport_sync", - "title": "networkconnectivity CreateTransport Sample", - "description": "CreateTransport creates a new Transport in a given project and location.", - "file": "TransportManagerClient/CreateTransport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTransport", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.CreateTransport", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.CreateTransport", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "CreateTransport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.CreateTransportRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.CreateTransportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTransportOperation", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "CreateTransport", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.CreateTransport", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "CreateTransport" }, + "description": "CreateTransport creates a new Transport in a given project and location.", + "file": "TransportManagerClient/CreateTransport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_CreateTransport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity CreateTransport Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_DeleteOperation_sync", - "title": "networkconnectivity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TransportManagerClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TransportManagerClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_DeleteTransport_sync", - "title": "networkconnectivity DeleteTransport Sample", - "description": "DeleteTransport deletes a single Transport.", - "file": "TransportManagerClient/DeleteTransport/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTransport", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.DeleteTransport", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.DeleteTransport", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "DeleteTransport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.DeleteTransportRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.DeleteTransportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTransportOperation", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "DeleteTransport", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.DeleteTransport", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "DeleteTransport" }, + "description": "DeleteTransport deletes a single Transport.", + "file": "TransportManagerClient/DeleteTransport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_DeleteTransport_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity DeleteTransport Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetIamPolicy_sync", - "title": "networkconnectivity 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": "TransportManagerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "TransportManagerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetLocation_sync", - "title": "networkconnectivity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TransportManagerClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TransportManagerClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetLocation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetOperation_sync", - "title": "networkconnectivity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TransportManagerClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TransportManagerClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetOperation Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetRemoteTransportProfile_sync", - "title": "networkconnectivity GetRemoteTransportProfile Sample", - "description": "GetRemoteTransportProfile gets details of a single RemoteTransportProfile.", - "file": "TransportManagerClient/GetRemoteTransportProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRemoteTransportProfile", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.GetRemoteTransportProfile", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.GetRemoteTransportProfile", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "GetRemoteTransportProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetRemoteTransportProfileRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetRemoteTransportProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.RemoteTransportProfile", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "GetRemoteTransportProfile", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.GetRemoteTransportProfile", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "GetRemoteTransportProfile" }, + "description": "GetRemoteTransportProfile gets details of a single RemoteTransportProfile.", + "file": "TransportManagerClient/GetRemoteTransportProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetRemoteTransportProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetRemoteTransportProfile Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetStatus_sync", - "title": "networkconnectivity GetStatus Sample", - "description": "GetStatus gets the operational status of a single Transport.", - "file": "TransportManagerClient/GetStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStatus", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.GetStatus", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.GetStatus", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "GetStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetStatusRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.GetStatusResponse", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "GetStatus", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.GetStatus", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "GetStatus" }, + "description": "GetStatus gets the operational status of a single Transport.", + "file": "TransportManagerClient/GetStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetStatus Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetTransport_sync", - "title": "networkconnectivity GetTransport Sample", - "description": "GetTransport gets details of a single Transport.", - "file": "TransportManagerClient/GetTransport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTransport", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.GetTransport", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.GetTransport", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "GetTransport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.GetTransportRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.GetTransportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkconnectivitypb.Transport", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "GetTransport", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.GetTransport", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "GetTransport" }, + "description": "GetTransport gets details of a single Transport.", + "file": "TransportManagerClient/GetTransport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_GetTransport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity GetTransport Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListLocations_sync", - "title": "networkconnectivity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "TransportManagerClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "TransportManagerClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListLocations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListOperations_sync", - "title": "networkconnectivity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TransportManagerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TransportManagerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListOperations Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListRemoteTransportProfiles_sync", - "title": "networkconnectivity ListRemoteTransportProfiles Sample", - "description": "ListRemoteTransportProfiles lists RemoteTransportProfiles in a given project and location.", - "file": "TransportManagerClient/ListRemoteTransportProfiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRemoteTransportProfiles", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.ListRemoteTransportProfiles", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.ListRemoteTransportProfiles", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "ListRemoteTransportProfiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListRemoteTransportProfilesRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListRemoteTransportProfilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoteTransportProfileIterator", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "ListRemoteTransportProfiles", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.ListRemoteTransportProfiles", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "ListRemoteTransportProfiles" }, + "description": "ListRemoteTransportProfiles lists RemoteTransportProfiles in a given project and location.", + "file": "TransportManagerClient/ListRemoteTransportProfiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListRemoteTransportProfiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListRemoteTransportProfiles Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListTransports_sync", - "title": "networkconnectivity ListTransports Sample", - "description": "ListTransports lists Transports in a given project and location.", - "file": "TransportManagerClient/ListTransports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransports", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.ListTransports", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.ListTransports", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "ListTransports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.ListTransportsRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.ListTransportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransportIterator", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "ListTransports", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.ListTransports", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "ListTransports" }, + "description": "ListTransports lists Transports in a given project and location.", + "file": "TransportManagerClient/ListTransports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_ListTransports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity ListTransports Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_SetIamPolicy_sync", - "title": "networkconnectivity 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": "TransportManagerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "TransportManagerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity SetIamPolicy Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_TestIamPermissions_sync", - "title": "networkconnectivity 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": "TransportManagerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "TransportManagerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity TestIamPermissions Sample" }, { - "regionTag": "networkconnectivity_v1beta_generated_TransportManager_UpdateTransport_sync", - "title": "networkconnectivity UpdateTransport Sample", - "description": "UpdateTransport updates the parameters of a single Transport.", - "file": "TransportManagerClient/UpdateTransport/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTransport", + "client": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient", + "shortName": "TransportManagerClient" + }, "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient.UpdateTransport", + "method": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.UpdateTransport", + "service": { + "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager", + "shortName": "TransportManager" + }, + "shortName": "UpdateTransport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkconnectivitypb.UpdateTransportRequest", - "name": "req" + "name": "req", + "type": "networkconnectivitypb.UpdateTransportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTransportOperation", - "client": { - "shortName": "TransportManagerClient", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManagerClient" - }, - "method": { - "shortName": "UpdateTransport", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager.UpdateTransport", - "service": { - "shortName": "TransportManager", - "fullName": "google.cloud.networkconnectivity.v1beta.TransportManager" - } - } + "shortName": "UpdateTransport" }, + "description": "UpdateTransport updates the parameters of a single Transport.", + "file": "TransportManagerClient/UpdateTransport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkconnectivity_v1beta_generated_TransportManager_UpdateTransport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkconnectivity UpdateTransport Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json b/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json index e5024ef86db3..cd4d6d385dd0 100644 --- a/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json +++ b/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json @@ -1,2079 +1,2079 @@ { "clientLibrary": { - "name": "cloud.google.com/go/networkmanagement/apiv1", - "version": "1.23.0", - "language": "GO", "apis": [ { "id": "google.cloud.networkmanagement.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/networkmanagement/apiv1", + "version": "1.23.0" }, "snippets": [ { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_CancelOperation_sync", - "title": "networkmanagement CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "OrganizationVpcFlowLogsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "OrganizationVpcFlowLogsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement CancelOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_CreateVpcFlowLogsConfig_sync", - "title": "networkmanagement CreateVpcFlowLogsConfig Sample", - "description": "CreateVpcFlowLogsConfig creates a new `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Creating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - creating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", - "file": "OrganizationVpcFlowLogsClient/CreateVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.CreateVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.CreateVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService", + "shortName": "OrganizationVpcFlowLogsService" + }, + "shortName": "CreateVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.CreateVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.CreateVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVpcFlowLogsConfigOperation", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "CreateVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.CreateVpcFlowLogsConfig", - "service": { - "shortName": "OrganizationVpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService" - } - } + "shortName": "CreateVpcFlowLogsConfig" }, + "description": "CreateVpcFlowLogsConfig creates a new `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Creating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - creating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", + "file": "OrganizationVpcFlowLogsClient/CreateVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_CreateVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement CreateVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_DeleteOperation_sync", - "title": "networkmanagement DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "OrganizationVpcFlowLogsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "OrganizationVpcFlowLogsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement DeleteOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_DeleteVpcFlowLogsConfig_sync", - "title": "networkmanagement DeleteVpcFlowLogsConfig Sample", - "description": "DeleteVpcFlowLogsConfig deletes a specific `VpcFlowLogsConfig`.", - "file": "OrganizationVpcFlowLogsClient/DeleteVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.DeleteVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.DeleteVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService", + "shortName": "OrganizationVpcFlowLogsService" + }, + "shortName": "DeleteVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.DeleteVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.DeleteVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVpcFlowLogsConfigOperation", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "DeleteVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.DeleteVpcFlowLogsConfig", - "service": { - "shortName": "OrganizationVpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService" - } - } + "shortName": "DeleteVpcFlowLogsConfig" }, + "description": "DeleteVpcFlowLogsConfig deletes a specific `VpcFlowLogsConfig`.", + "file": "OrganizationVpcFlowLogsClient/DeleteVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_DeleteVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement DeleteVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetIamPolicy_sync", - "title": "networkmanagement 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": "OrganizationVpcFlowLogsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "OrganizationVpcFlowLogsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetIamPolicy Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetLocation_sync", - "title": "networkmanagement GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "OrganizationVpcFlowLogsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "OrganizationVpcFlowLogsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetLocation Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetOperation_sync", - "title": "networkmanagement GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "OrganizationVpcFlowLogsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "OrganizationVpcFlowLogsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetVpcFlowLogsConfig_sync", - "title": "networkmanagement GetVpcFlowLogsConfig Sample", - "description": "GetVpcFlowLogsConfig gets the details of a specific `VpcFlowLogsConfig`.", - "file": "OrganizationVpcFlowLogsClient/GetVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.GetVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.GetVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService", + "shortName": "OrganizationVpcFlowLogsService" + }, + "shortName": "GetVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.GetVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.GetVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkmanagementpb.VpcFlowLogsConfig", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "GetVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.GetVpcFlowLogsConfig", - "service": { - "shortName": "OrganizationVpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService" - } - } + "shortName": "GetVpcFlowLogsConfig" }, + "description": "GetVpcFlowLogsConfig gets the details of a specific `VpcFlowLogsConfig`.", + "file": "OrganizationVpcFlowLogsClient/GetVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_GetVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_ListLocations_sync", - "title": "networkmanagement ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "OrganizationVpcFlowLogsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "OrganizationVpcFlowLogsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListLocations Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_ListOperations_sync", - "title": "networkmanagement ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "OrganizationVpcFlowLogsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "OrganizationVpcFlowLogsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListOperations Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_ListVpcFlowLogsConfigs_sync", - "title": "networkmanagement ListVpcFlowLogsConfigs Sample", - "description": "ListVpcFlowLogsConfigs lists all `VpcFlowLogsConfigs` in a given organization.", - "file": "OrganizationVpcFlowLogsClient/ListVpcFlowLogsConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVpcFlowLogsConfigs", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.ListVpcFlowLogsConfigs", + "method": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.ListVpcFlowLogsConfigs", + "service": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService", + "shortName": "OrganizationVpcFlowLogsService" + }, + "shortName": "ListVpcFlowLogsConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.ListVpcFlowLogsConfigsRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.ListVpcFlowLogsConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpcFlowLogsConfigIterator", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "ListVpcFlowLogsConfigs", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.ListVpcFlowLogsConfigs", - "service": { - "shortName": "OrganizationVpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService" - } - } + "shortName": "ListVpcFlowLogsConfigs" }, + "description": "ListVpcFlowLogsConfigs lists all `VpcFlowLogsConfigs` in a given organization.", + "file": "OrganizationVpcFlowLogsClient/ListVpcFlowLogsConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_ListVpcFlowLogsConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListVpcFlowLogsConfigs Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_SetIamPolicy_sync", - "title": "networkmanagement 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": "OrganizationVpcFlowLogsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "OrganizationVpcFlowLogsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement SetIamPolicy Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_TestIamPermissions_sync", - "title": "networkmanagement 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": "OrganizationVpcFlowLogsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "OrganizationVpcFlowLogsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement TestIamPermissions Sample" }, { - "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_UpdateVpcFlowLogsConfig_sync", - "title": "networkmanagement UpdateVpcFlowLogsConfig Sample", - "description": "UpdateVpcFlowLogsConfig updates an existing `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Updating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - updating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", - "file": "OrganizationVpcFlowLogsClient/UpdateVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient", + "shortName": "OrganizationVpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient.UpdateVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.UpdateVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService", + "shortName": "OrganizationVpcFlowLogsService" + }, + "shortName": "UpdateVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.UpdateVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.UpdateVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVpcFlowLogsConfigOperation", - "client": { - "shortName": "OrganizationVpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsClient" - }, - "method": { - "shortName": "UpdateVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService.UpdateVpcFlowLogsConfig", - "service": { - "shortName": "OrganizationVpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.OrganizationVpcFlowLogsService" - } - } + "shortName": "UpdateVpcFlowLogsConfig" }, + "description": "UpdateVpcFlowLogsConfig updates an existing `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Updating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - updating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", + "file": "OrganizationVpcFlowLogsClient/UpdateVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_OrganizationVpcFlowLogsService_UpdateVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement UpdateVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_CancelOperation_sync", - "title": "networkmanagement CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ReachabilityClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ReachabilityClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement CancelOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_CreateConnectivityTest_sync", - "title": "networkmanagement CreateConnectivityTest Sample", - "description": "CreateConnectivityTest creates a new Connectivity Test.\nAfter you create a test, the reachability analysis is performed as part\nof the long running operation, which completes when the analysis completes.\n\nIf the endpoint specifications in `ConnectivityTest` are invalid\n(for example, containing non-existent resources in the network, or you\ndon't have read permissions to the network configurations of listed\nprojects), then the reachability result returns a value of `UNKNOWN`.\n\nIf the endpoint specifications in `ConnectivityTest` are\nincomplete, the reachability result returns a value of\nAMBIGUOUS. For more information,\nsee the Connectivity Test documentation.", - "file": "ReachabilityClient/CreateConnectivityTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnectivityTest", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.CreateConnectivityTest", + "method": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTest", + "service": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "ReachabilityService" + }, + "shortName": "CreateConnectivityTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.CreateConnectivityTestRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.CreateConnectivityTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectivityTestOperation", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "CreateConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTest", - "service": { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService" - } - } + "shortName": "CreateConnectivityTest" }, + "description": "CreateConnectivityTest creates a new Connectivity Test.\nAfter you create a test, the reachability analysis is performed as part\nof the long running operation, which completes when the analysis completes.\n\nIf the endpoint specifications in `ConnectivityTest` are invalid\n(for example, containing non-existent resources in the network, or you\ndon't have read permissions to the network configurations of listed\nprojects), then the reachability result returns a value of `UNKNOWN`.\n\nIf the endpoint specifications in `ConnectivityTest` are\nincomplete, the reachability result returns a value of\nAMBIGUOUS. For more information,\nsee the Connectivity Test documentation.", + "file": "ReachabilityClient/CreateConnectivityTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_CreateConnectivityTest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement CreateConnectivityTest Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_DeleteConnectivityTest_sync", - "title": "networkmanagement DeleteConnectivityTest Sample", - "description": "DeleteConnectivityTest deletes a specific `ConnectivityTest`.", - "file": "ReachabilityClient/DeleteConnectivityTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnectivityTest", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.DeleteConnectivityTest", + "method": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTest", + "service": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "ReachabilityService" + }, + "shortName": "DeleteConnectivityTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.DeleteConnectivityTestRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.DeleteConnectivityTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectivityTestOperation", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "DeleteConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTest", - "service": { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService" - } - } + "shortName": "DeleteConnectivityTest" }, + "description": "DeleteConnectivityTest deletes a specific `ConnectivityTest`.", + "file": "ReachabilityClient/DeleteConnectivityTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_DeleteConnectivityTest_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement DeleteConnectivityTest Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_DeleteOperation_sync", - "title": "networkmanagement DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ReachabilityClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ReachabilityClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement DeleteOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetConnectivityTest_sync", - "title": "networkmanagement GetConnectivityTest Sample", - "description": "GetConnectivityTest gets the details of a specific Connectivity Test.", - "file": "ReachabilityClient/GetConnectivityTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnectivityTest", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.GetConnectivityTest", + "method": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTest", + "service": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "ReachabilityService" + }, + "shortName": "GetConnectivityTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.GetConnectivityTestRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.GetConnectivityTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkmanagementpb.ConnectivityTest", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "GetConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTest", - "service": { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService" - } - } + "shortName": "GetConnectivityTest" }, + "description": "GetConnectivityTest gets the details of a specific Connectivity Test.", + "file": "ReachabilityClient/GetConnectivityTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetConnectivityTest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetConnectivityTest Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetIamPolicy_sync", - "title": "networkmanagement 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": "ReachabilityClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ReachabilityClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetIamPolicy Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetLocation_sync", - "title": "networkmanagement GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ReachabilityClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ReachabilityClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetLocation Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetOperation_sync", - "title": "networkmanagement GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ReachabilityClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ReachabilityClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_ListConnectivityTests_sync", - "title": "networkmanagement ListConnectivityTests Sample", - "description": "ListConnectivityTests lists all Connectivity Tests owned by a project.", - "file": "ReachabilityClient/ListConnectivityTests/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectivityTests", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.ListConnectivityTests", + "method": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTests", + "service": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "ReachabilityService" + }, + "shortName": "ListConnectivityTests" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.ListConnectivityTestsRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.ListConnectivityTestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectivityTestIterator", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "ListConnectivityTests", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTests", - "service": { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService" - } - } + "shortName": "ListConnectivityTests" }, + "description": "ListConnectivityTests lists all Connectivity Tests owned by a project.", + "file": "ReachabilityClient/ListConnectivityTests/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_ListConnectivityTests_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListConnectivityTests Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_ListLocations_sync", - "title": "networkmanagement ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "ReachabilityClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "LocationIterator", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "LocationIterator", + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "ReachabilityClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListLocations Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_ListOperations_sync", - "title": "networkmanagement ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ReachabilityClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ReachabilityClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListOperations Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_RerunConnectivityTest_sync", - "title": "networkmanagement RerunConnectivityTest Sample", - "description": "RerunConnectivityTest rerun an existing `ConnectivityTest`.\nAfter the user triggers the rerun, the reachability analysis is performed\nas part of the long running operation, which completes when the analysis\ncompletes.\n\nEven though the test configuration remains the same, the reachability\nresult may change due to underlying network configuration changes.\n\nIf the endpoint specifications in `ConnectivityTest` become invalid (for\nexample, specified resources are deleted in the network, or you lost\nread permissions to the network configurations of listed projects), then\nthe reachability result returns a value of `UNKNOWN`.", - "file": "ReachabilityClient/RerunConnectivityTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "RerunConnectivityTest", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.RerunConnectivityTest", + "method": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest", + "service": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "ReachabilityService" + }, + "shortName": "RerunConnectivityTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.RerunConnectivityTestRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.RerunConnectivityTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RerunConnectivityTestOperation", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "RerunConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest", - "service": { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService" - } - } + "shortName": "RerunConnectivityTest" }, + "description": "RerunConnectivityTest rerun an existing `ConnectivityTest`.\nAfter the user triggers the rerun, the reachability analysis is performed\nas part of the long running operation, which completes when the analysis\ncompletes.\n\nEven though the test configuration remains the same, the reachability\nresult may change due to underlying network configuration changes.\n\nIf the endpoint specifications in `ConnectivityTest` become invalid (for\nexample, specified resources are deleted in the network, or you lost\nread permissions to the network configurations of listed projects), then\nthe reachability result returns a value of `UNKNOWN`.", + "file": "ReachabilityClient/RerunConnectivityTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_RerunConnectivityTest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement RerunConnectivityTest Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_SetIamPolicy_sync", - "title": "networkmanagement 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": "ReachabilityClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ReachabilityClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement SetIamPolicy Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_TestIamPermissions_sync", - "title": "networkmanagement 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": "ReachabilityClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ReachabilityClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement TestIamPermissions Sample" }, { - "regionTag": "networkmanagement_v1_generated_ReachabilityService_UpdateConnectivityTest_sync", - "title": "networkmanagement UpdateConnectivityTest Sample", - "description": "UpdateConnectivityTest updates the configuration of an existing `ConnectivityTest`.\nAfter you update a test, the reachability analysis is performed as part\nof the long running operation, which completes when the analysis completes.\nThe Reachability state in the test resource is updated with the new result.\n\nIf the endpoint specifications in `ConnectivityTest` are invalid\n(for example, they contain non-existent resources in the network, or the\nuser does not have read permissions to the network configurations of\nlisted projects), then the reachability result returns a value of\nUNKNOWN.\n\nIf the endpoint specifications in `ConnectivityTest` are incomplete, the\nreachability result returns a value of `AMBIGUOUS`. See the documentation\nin `ConnectivityTest` for more details.", - "file": "ReachabilityClient/UpdateConnectivityTest/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConnectivityTest", + "client": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient", + "shortName": "ReachabilityClient" + }, "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient.UpdateConnectivityTest", + "method": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTest", + "service": { + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "ReachabilityService" + }, + "shortName": "UpdateConnectivityTest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.UpdateConnectivityTestRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.UpdateConnectivityTestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateConnectivityTestOperation", - "client": { - "shortName": "ReachabilityClient", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityClient" - }, - "method": { - "shortName": "UpdateConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTest", - "service": { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService" - } - } + "shortName": "UpdateConnectivityTest" }, + "description": "UpdateConnectivityTest updates the configuration of an existing `ConnectivityTest`.\nAfter you update a test, the reachability analysis is performed as part\nof the long running operation, which completes when the analysis completes.\nThe Reachability state in the test resource is updated with the new result.\n\nIf the endpoint specifications in `ConnectivityTest` are invalid\n(for example, they contain non-existent resources in the network, or the\nuser does not have read permissions to the network configurations of\nlisted projects), then the reachability result returns a value of\nUNKNOWN.\n\nIf the endpoint specifications in `ConnectivityTest` are incomplete, the\nreachability result returns a value of `AMBIGUOUS`. See the documentation\nin `ConnectivityTest` for more details.", + "file": "ReachabilityClient/UpdateConnectivityTest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_ReachabilityService_UpdateConnectivityTest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement UpdateConnectivityTest Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_CancelOperation_sync", - "title": "networkmanagement CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VpcFlowLogsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VpcFlowLogsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement CancelOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_CreateVpcFlowLogsConfig_sync", - "title": "networkmanagement CreateVpcFlowLogsConfig Sample", - "description": "CreateVpcFlowLogsConfig creates a new `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Creating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - creating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", - "file": "VpcFlowLogsClient/CreateVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.CreateVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.CreateVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "CreateVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.CreateVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.CreateVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVpcFlowLogsConfigOperation", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "CreateVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.CreateVpcFlowLogsConfig", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "CreateVpcFlowLogsConfig" }, + "description": "CreateVpcFlowLogsConfig creates a new `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Creating a configuration with `state=DISABLED` will fail\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - creating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", + "file": "VpcFlowLogsClient/CreateVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_CreateVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement CreateVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_DeleteOperation_sync", - "title": "networkmanagement DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VpcFlowLogsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VpcFlowLogsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement DeleteOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_DeleteVpcFlowLogsConfig_sync", - "title": "networkmanagement DeleteVpcFlowLogsConfig Sample", - "description": "DeleteVpcFlowLogsConfig deletes a specific `VpcFlowLogsConfig`.", - "file": "VpcFlowLogsClient/DeleteVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.DeleteVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.DeleteVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "DeleteVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.DeleteVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.DeleteVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVpcFlowLogsConfigOperation", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "DeleteVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.DeleteVpcFlowLogsConfig", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "DeleteVpcFlowLogsConfig" }, + "description": "DeleteVpcFlowLogsConfig deletes a specific `VpcFlowLogsConfig`.", + "file": "VpcFlowLogsClient/DeleteVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_DeleteVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement DeleteVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetIamPolicy_sync", - "title": "networkmanagement 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": "VpcFlowLogsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "VpcFlowLogsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetIamPolicy Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetLocation_sync", - "title": "networkmanagement GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "VpcFlowLogsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "VpcFlowLogsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetLocation Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetOperation_sync", - "title": "networkmanagement GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VpcFlowLogsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VpcFlowLogsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetOperation Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetVpcFlowLogsConfig_sync", - "title": "networkmanagement GetVpcFlowLogsConfig Sample", - "description": "GetVpcFlowLogsConfig gets the details of a specific `VpcFlowLogsConfig`.", - "file": "VpcFlowLogsClient/GetVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.GetVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.GetVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "GetVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.GetVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.GetVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkmanagementpb.VpcFlowLogsConfig", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "GetVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.GetVpcFlowLogsConfig", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "GetVpcFlowLogsConfig" }, + "description": "GetVpcFlowLogsConfig gets the details of a specific `VpcFlowLogsConfig`.", + "file": "VpcFlowLogsClient/GetVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_GetVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement GetVpcFlowLogsConfig Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ListLocations_sync", - "title": "networkmanagement ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "VpcFlowLogsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "VpcFlowLogsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListLocations Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ListOperations_sync", - "title": "networkmanagement ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VpcFlowLogsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VpcFlowLogsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListOperations Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ListVpcFlowLogsConfigs_sync", - "title": "networkmanagement ListVpcFlowLogsConfigs Sample", - "description": "ListVpcFlowLogsConfigs lists all `VpcFlowLogsConfigs` in a given project.", - "file": "VpcFlowLogsClient/ListVpcFlowLogsConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVpcFlowLogsConfigs", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.ListVpcFlowLogsConfigs", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.ListVpcFlowLogsConfigs", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "ListVpcFlowLogsConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.ListVpcFlowLogsConfigsRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.ListVpcFlowLogsConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpcFlowLogsConfigIterator", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "ListVpcFlowLogsConfigs", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.ListVpcFlowLogsConfigs", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "ListVpcFlowLogsConfigs" }, + "description": "ListVpcFlowLogsConfigs lists all `VpcFlowLogsConfigs` in a given project.", + "file": "VpcFlowLogsClient/ListVpcFlowLogsConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ListVpcFlowLogsConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ListVpcFlowLogsConfigs Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_QueryOrgVpcFlowLogsConfigs_sync", - "title": "networkmanagement QueryOrgVpcFlowLogsConfigs Sample", - "description": "QueryOrgVpcFlowLogsConfigs queryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC\nFlow Logs configurations applicable to the specified project.", - "file": "VpcFlowLogsClient/QueryOrgVpcFlowLogsConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryOrgVpcFlowLogsConfigs", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.QueryOrgVpcFlowLogsConfigs", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.QueryOrgVpcFlowLogsConfigs", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "QueryOrgVpcFlowLogsConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.QueryOrgVpcFlowLogsConfigsRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.QueryOrgVpcFlowLogsConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VpcFlowLogsConfigIterator", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "QueryOrgVpcFlowLogsConfigs", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.QueryOrgVpcFlowLogsConfigs", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "QueryOrgVpcFlowLogsConfigs" }, + "description": "QueryOrgVpcFlowLogsConfigs queryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC\nFlow Logs configurations applicable to the specified project.", + "file": "VpcFlowLogsClient/QueryOrgVpcFlowLogsConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_QueryOrgVpcFlowLogsConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement QueryOrgVpcFlowLogsConfigs Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_SetIamPolicy_sync", - "title": "networkmanagement 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": "VpcFlowLogsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "VpcFlowLogsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement SetIamPolicy Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ShowEffectiveFlowLogsConfigs_sync", - "title": "networkmanagement ShowEffectiveFlowLogsConfigs Sample", - "description": "ShowEffectiveFlowLogsConfigs showEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs\nconfigurations applicable to a specified resource.", - "file": "VpcFlowLogsClient/ShowEffectiveFlowLogsConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ShowEffectiveFlowLogsConfigs", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.ShowEffectiveFlowLogsConfigs", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.ShowEffectiveFlowLogsConfigs", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "ShowEffectiveFlowLogsConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.ShowEffectiveFlowLogsConfigsRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.ShowEffectiveFlowLogsConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EffectiveVpcFlowLogsConfigIterator", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "ShowEffectiveFlowLogsConfigs", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.ShowEffectiveFlowLogsConfigs", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "ShowEffectiveFlowLogsConfigs" }, + "description": "ShowEffectiveFlowLogsConfigs showEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs\nconfigurations applicable to a specified resource.", + "file": "VpcFlowLogsClient/ShowEffectiveFlowLogsConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_ShowEffectiveFlowLogsConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement ShowEffectiveFlowLogsConfigs Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_TestIamPermissions_sync", - "title": "networkmanagement 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": "VpcFlowLogsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "VpcFlowLogsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement TestIamPermissions Sample" }, { - "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_UpdateVpcFlowLogsConfig_sync", - "title": "networkmanagement UpdateVpcFlowLogsConfig Sample", - "description": "UpdateVpcFlowLogsConfig updates an existing `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Updating a configuration with `state=DISABLED` will fail.\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - updating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", - "file": "VpcFlowLogsClient/UpdateVpcFlowLogsConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVpcFlowLogsConfig", + "client": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient", + "shortName": "VpcFlowLogsClient" + }, "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient.UpdateVpcFlowLogsConfig", + "method": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.UpdateVpcFlowLogsConfig", + "service": { + "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService", + "shortName": "VpcFlowLogsService" + }, + "shortName": "UpdateVpcFlowLogsConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkmanagementpb.UpdateVpcFlowLogsConfigRequest", - "name": "req" + "name": "req", + "type": "networkmanagementpb.UpdateVpcFlowLogsConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVpcFlowLogsConfigOperation", - "client": { - "shortName": "VpcFlowLogsClient", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsClient" - }, - "method": { - "shortName": "UpdateVpcFlowLogsConfig", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService.UpdateVpcFlowLogsConfig", - "service": { - "shortName": "VpcFlowLogsService", - "fullName": "google.cloud.networkmanagement.v1.VpcFlowLogsService" - } - } + "shortName": "UpdateVpcFlowLogsConfig" }, + "description": "UpdateVpcFlowLogsConfig updates an existing `VpcFlowLogsConfig`.\nIf a configuration with the exact same settings already exists (even if the\nID is different), the creation fails.\nNotes: \n\n1. Updating a configuration with `state=DISABLED` will fail.\n2. The following fields are not considered as settings for the purpose\nof the check mentioned above, therefore - updating another configuration\nwith the same fields but different values for the following fields will\nfail as well: \n* name\n* create_time\n* update_time\n* labels\n* description", + "file": "VpcFlowLogsClient/UpdateVpcFlowLogsConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkmanagement_v1_generated_VpcFlowLogsService_UpdateVpcFlowLogsConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkmanagement UpdateVpcFlowLogsConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json b/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json index 60ad9e8917ff..b4840fe596e5 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json +++ b/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json @@ -1,1758 +1,1758 @@ { "clientLibrary": { - "name": "cloud.google.com/go/networksecurity/apiv1beta1", - "version": "0.11.0", - "language": "GO", "apis": [ { "id": "google.cloud.networksecurity.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/networksecurity/apiv1beta1", + "version": "0.11.0" }, "snippets": [ { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_CancelOperation_sync", - "title": "networksecurity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DnsThreatDetectorClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DnsThreatDetectorClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity CancelOperation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_CreateDnsThreatDetector_sync", - "title": "networksecurity CreateDnsThreatDetector Sample", - "description": "CreateDnsThreatDetector creates a new DnsThreatDetector in a given project and location.", - "file": "DnsThreatDetectorClient/CreateDnsThreatDetector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDnsThreatDetector", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.CreateDnsThreatDetector", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.CreateDnsThreatDetector", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService", + "shortName": "DnsThreatDetectorService" + }, + "shortName": "CreateDnsThreatDetector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.CreateDnsThreatDetectorRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.CreateDnsThreatDetectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networksecuritypb.DnsThreatDetector", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "CreateDnsThreatDetector", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.CreateDnsThreatDetector", - "service": { - "shortName": "DnsThreatDetectorService", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService" - } - } + "shortName": "CreateDnsThreatDetector" }, + "description": "CreateDnsThreatDetector creates a new DnsThreatDetector in a given project and location.", + "file": "DnsThreatDetectorClient/CreateDnsThreatDetector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_CreateDnsThreatDetector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity CreateDnsThreatDetector Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_DeleteDnsThreatDetector_sync", - "title": "networksecurity DeleteDnsThreatDetector Sample", - "description": "DeleteDnsThreatDetector deletes a single DnsThreatDetector.", - "file": "DnsThreatDetectorClient/DeleteDnsThreatDetector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDnsThreatDetector", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.DeleteDnsThreatDetector", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.DeleteDnsThreatDetector", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService", + "shortName": "DnsThreatDetectorService" + }, + "shortName": "DeleteDnsThreatDetector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.DeleteDnsThreatDetectorRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.DeleteDnsThreatDetectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "DeleteDnsThreatDetector", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.DeleteDnsThreatDetector", - "service": { - "shortName": "DnsThreatDetectorService", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService" - } - } + "shortName": "DeleteDnsThreatDetector" }, + "description": "DeleteDnsThreatDetector deletes a single DnsThreatDetector.", + "file": "DnsThreatDetectorClient/DeleteDnsThreatDetector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_DeleteDnsThreatDetector_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity DeleteDnsThreatDetector Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_DeleteOperation_sync", - "title": "networksecurity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DnsThreatDetectorClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DnsThreatDetectorClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity DeleteOperation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetDnsThreatDetector_sync", - "title": "networksecurity GetDnsThreatDetector Sample", - "description": "GetDnsThreatDetector gets the details of a single DnsThreatDetector.", - "file": "DnsThreatDetectorClient/GetDnsThreatDetector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDnsThreatDetector", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.GetDnsThreatDetector", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.GetDnsThreatDetector", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService", + "shortName": "DnsThreatDetectorService" + }, + "shortName": "GetDnsThreatDetector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.GetDnsThreatDetectorRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.GetDnsThreatDetectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networksecuritypb.DnsThreatDetector", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "GetDnsThreatDetector", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.GetDnsThreatDetector", - "service": { - "shortName": "DnsThreatDetectorService", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService" - } - } + "shortName": "GetDnsThreatDetector" }, + "description": "GetDnsThreatDetector gets the details of a single DnsThreatDetector.", + "file": "DnsThreatDetectorClient/GetDnsThreatDetector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetDnsThreatDetector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetDnsThreatDetector Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetIamPolicy_sync", - "title": "networksecurity 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": "DnsThreatDetectorClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DnsThreatDetectorClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetIamPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetLocation_sync", - "title": "networksecurity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DnsThreatDetectorClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DnsThreatDetectorClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetLocation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetOperation_sync", - "title": "networksecurity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DnsThreatDetectorClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DnsThreatDetectorClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetOperation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_ListDnsThreatDetectors_sync", - "title": "networksecurity ListDnsThreatDetectors Sample", - "description": "ListDnsThreatDetectors lists DnsThreatDetectors in a given project and location.", - "file": "DnsThreatDetectorClient/ListDnsThreatDetectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDnsThreatDetectors", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.ListDnsThreatDetectors", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.ListDnsThreatDetectors", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService", + "shortName": "DnsThreatDetectorService" + }, + "shortName": "ListDnsThreatDetectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.ListDnsThreatDetectorsRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.ListDnsThreatDetectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DnsThreatDetectorIterator", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "ListDnsThreatDetectors", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.ListDnsThreatDetectors", - "service": { - "shortName": "DnsThreatDetectorService", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService" - } - } + "shortName": "ListDnsThreatDetectors" }, + "description": "ListDnsThreatDetectors lists DnsThreatDetectors in a given project and location.", + "file": "DnsThreatDetectorClient/ListDnsThreatDetectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_ListDnsThreatDetectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListDnsThreatDetectors Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_ListLocations_sync", - "title": "networksecurity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DnsThreatDetectorClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DnsThreatDetectorClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListLocations Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_ListOperations_sync", - "title": "networksecurity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DnsThreatDetectorClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DnsThreatDetectorClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListOperations Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_SetIamPolicy_sync", - "title": "networksecurity 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": "DnsThreatDetectorClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DnsThreatDetectorClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity SetIamPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_TestIamPermissions_sync", - "title": "networksecurity 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": "DnsThreatDetectorClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DnsThreatDetectorClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity TestIamPermissions Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_UpdateDnsThreatDetector_sync", - "title": "networksecurity UpdateDnsThreatDetector Sample", - "description": "UpdateDnsThreatDetector updates a single DnsThreatDetector.", - "file": "DnsThreatDetectorClient/UpdateDnsThreatDetector/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDnsThreatDetector", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient", + "shortName": "DnsThreatDetectorClient" + }, "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient.UpdateDnsThreatDetector", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.UpdateDnsThreatDetector", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService", + "shortName": "DnsThreatDetectorService" + }, + "shortName": "UpdateDnsThreatDetector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.UpdateDnsThreatDetectorRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.UpdateDnsThreatDetectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networksecuritypb.DnsThreatDetector", - "client": { - "shortName": "DnsThreatDetectorClient", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorClient" - }, - "method": { - "shortName": "UpdateDnsThreatDetector", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService.UpdateDnsThreatDetector", - "service": { - "shortName": "DnsThreatDetectorService", - "fullName": "google.cloud.networksecurity.v1beta1.DnsThreatDetectorService" - } - } + "shortName": "UpdateDnsThreatDetector" }, + "description": "UpdateDnsThreatDetector updates a single DnsThreatDetector.", + "file": "DnsThreatDetectorClient/UpdateDnsThreatDetector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_DnsThreatDetectorService_UpdateDnsThreatDetector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity UpdateDnsThreatDetector Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CancelOperation_sync", - "title": "networksecurity CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity CancelOperation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CreateAuthorizationPolicy_sync", - "title": "networksecurity CreateAuthorizationPolicy Sample", - "description": "CreateAuthorizationPolicy creates a new AuthorizationPolicy in a given project and location.", - "file": "Client/CreateAuthorizationPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAuthorizationPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.CreateAuthorizationPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateAuthorizationPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "CreateAuthorizationPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.CreateAuthorizationPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.CreateAuthorizationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAuthorizationPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "CreateAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateAuthorizationPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "CreateAuthorizationPolicy" }, + "description": "CreateAuthorizationPolicy creates a new AuthorizationPolicy in a given project and location.", + "file": "Client/CreateAuthorizationPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CreateAuthorizationPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity CreateAuthorizationPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CreateClientTlsPolicy_sync", - "title": "networksecurity CreateClientTlsPolicy Sample", - "description": "CreateClientTlsPolicy creates a new ClientTlsPolicy in a given project and location.", - "file": "Client/CreateClientTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateClientTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.CreateClientTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateClientTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "CreateClientTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.CreateClientTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.CreateClientTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClientTlsPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "CreateClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateClientTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "CreateClientTlsPolicy" }, + "description": "CreateClientTlsPolicy creates a new ClientTlsPolicy in a given project and location.", + "file": "Client/CreateClientTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CreateClientTlsPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity CreateClientTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CreateServerTlsPolicy_sync", - "title": "networksecurity CreateServerTlsPolicy Sample", - "description": "CreateServerTlsPolicy creates a new ServerTlsPolicy in a given project and location.", - "file": "Client/CreateServerTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServerTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.CreateServerTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateServerTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "CreateServerTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.CreateServerTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.CreateServerTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServerTlsPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "CreateServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateServerTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "CreateServerTlsPolicy" }, + "description": "CreateServerTlsPolicy creates a new ServerTlsPolicy in a given project and location.", + "file": "Client/CreateServerTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_CreateServerTlsPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity CreateServerTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteAuthorizationPolicy_sync", - "title": "networksecurity DeleteAuthorizationPolicy Sample", - "description": "DeleteAuthorizationPolicy deletes a single AuthorizationPolicy.", - "file": "Client/DeleteAuthorizationPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAuthorizationPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.DeleteAuthorizationPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteAuthorizationPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "DeleteAuthorizationPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.DeleteAuthorizationPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.DeleteAuthorizationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAuthorizationPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "DeleteAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteAuthorizationPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "DeleteAuthorizationPolicy" }, + "description": "DeleteAuthorizationPolicy deletes a single AuthorizationPolicy.", + "file": "Client/DeleteAuthorizationPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteAuthorizationPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity DeleteAuthorizationPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteClientTlsPolicy_sync", - "title": "networksecurity DeleteClientTlsPolicy Sample", - "description": "DeleteClientTlsPolicy deletes a single ClientTlsPolicy.", - "file": "Client/DeleteClientTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteClientTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.DeleteClientTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteClientTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "DeleteClientTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.DeleteClientTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.DeleteClientTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClientTlsPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "DeleteClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteClientTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "DeleteClientTlsPolicy" }, + "description": "DeleteClientTlsPolicy deletes a single ClientTlsPolicy.", + "file": "Client/DeleteClientTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteClientTlsPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity DeleteClientTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteOperation_sync", - "title": "networksecurity DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity DeleteOperation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteServerTlsPolicy_sync", - "title": "networksecurity DeleteServerTlsPolicy Sample", - "description": "DeleteServerTlsPolicy deletes a single ServerTlsPolicy.", - "file": "Client/DeleteServerTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServerTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.DeleteServerTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteServerTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "DeleteServerTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.DeleteServerTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.DeleteServerTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServerTlsPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "DeleteServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteServerTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "DeleteServerTlsPolicy" }, + "description": "DeleteServerTlsPolicy deletes a single ServerTlsPolicy.", + "file": "Client/DeleteServerTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_DeleteServerTlsPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity DeleteServerTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetAuthorizationPolicy_sync", - "title": "networksecurity GetAuthorizationPolicy Sample", - "description": "GetAuthorizationPolicy gets details of a single AuthorizationPolicy.", - "file": "Client/GetAuthorizationPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAuthorizationPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.GetAuthorizationPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetAuthorizationPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "GetAuthorizationPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.GetAuthorizationPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.GetAuthorizationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networksecuritypb.AuthorizationPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "GetAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetAuthorizationPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "GetAuthorizationPolicy" }, + "description": "GetAuthorizationPolicy gets details of a single AuthorizationPolicy.", + "file": "Client/GetAuthorizationPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetAuthorizationPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetAuthorizationPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetClientTlsPolicy_sync", - "title": "networksecurity GetClientTlsPolicy Sample", - "description": "GetClientTlsPolicy gets details of a single ClientTlsPolicy.", - "file": "Client/GetClientTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetClientTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.GetClientTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetClientTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "GetClientTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.GetClientTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.GetClientTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networksecuritypb.ClientTlsPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "GetClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetClientTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "GetClientTlsPolicy" }, + "description": "GetClientTlsPolicy gets details of a single ClientTlsPolicy.", + "file": "Client/GetClientTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetClientTlsPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetClientTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetIamPolicy_sync", - "title": "networksecurity 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", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetIamPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetLocation_sync", - "title": "networksecurity GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetLocation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetOperation_sync", - "title": "networksecurity GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetOperation Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetServerTlsPolicy_sync", - "title": "networksecurity GetServerTlsPolicy Sample", - "description": "GetServerTlsPolicy gets details of a single ServerTlsPolicy.", - "file": "Client/GetServerTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServerTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.GetServerTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetServerTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "GetServerTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.GetServerTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.GetServerTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networksecuritypb.ServerTlsPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "GetServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetServerTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "GetServerTlsPolicy" }, + "description": "GetServerTlsPolicy gets details of a single ServerTlsPolicy.", + "file": "Client/GetServerTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_GetServerTlsPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity GetServerTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListAuthorizationPolicies_sync", - "title": "networksecurity ListAuthorizationPolicies Sample", - "description": "ListAuthorizationPolicies lists AuthorizationPolicies in a given project and location.", - "file": "Client/ListAuthorizationPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAuthorizationPolicies", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.ListAuthorizationPolicies", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListAuthorizationPolicies", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "ListAuthorizationPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.ListAuthorizationPoliciesRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.ListAuthorizationPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AuthorizationPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "ListAuthorizationPolicies", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListAuthorizationPolicies", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "ListAuthorizationPolicies" }, + "description": "ListAuthorizationPolicies lists AuthorizationPolicies in a given project and location.", + "file": "Client/ListAuthorizationPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListAuthorizationPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListAuthorizationPolicies Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListClientTlsPolicies_sync", - "title": "networksecurity ListClientTlsPolicies Sample", - "description": "ListClientTlsPolicies lists ClientTlsPolicies in a given project and location.", - "file": "Client/ListClientTlsPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClientTlsPolicies", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.ListClientTlsPolicies", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListClientTlsPolicies", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "ListClientTlsPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.ListClientTlsPoliciesRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.ListClientTlsPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClientTlsPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "ListClientTlsPolicies", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListClientTlsPolicies", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "ListClientTlsPolicies" }, + "description": "ListClientTlsPolicies lists ClientTlsPolicies in a given project and location.", + "file": "Client/ListClientTlsPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListClientTlsPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListClientTlsPolicies Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListLocations_sync", - "title": "networksecurity ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListLocations Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListOperations_sync", - "title": "networksecurity ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListOperations Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListServerTlsPolicies_sync", - "title": "networksecurity ListServerTlsPolicies Sample", - "description": "ListServerTlsPolicies lists ServerTlsPolicies in a given project and location.", - "file": "Client/ListServerTlsPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServerTlsPolicies", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.ListServerTlsPolicies", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListServerTlsPolicies", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "ListServerTlsPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.ListServerTlsPoliciesRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.ListServerTlsPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServerTlsPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "ListServerTlsPolicies", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListServerTlsPolicies", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "ListServerTlsPolicies" }, + "description": "ListServerTlsPolicies lists ServerTlsPolicies in a given project and location.", + "file": "Client/ListServerTlsPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_ListServerTlsPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity ListServerTlsPolicies Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_SetIamPolicy_sync", - "title": "networksecurity 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", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity SetIamPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_TestIamPermissions_sync", - "title": "networksecurity 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", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity TestIamPermissions Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_UpdateAuthorizationPolicy_sync", - "title": "networksecurity UpdateAuthorizationPolicy Sample", - "description": "UpdateAuthorizationPolicy updates the parameters of a single AuthorizationPolicy.", - "file": "Client/UpdateAuthorizationPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAuthorizationPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.UpdateAuthorizationPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateAuthorizationPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "UpdateAuthorizationPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.UpdateAuthorizationPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.UpdateAuthorizationPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAuthorizationPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "UpdateAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateAuthorizationPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "UpdateAuthorizationPolicy" }, + "description": "UpdateAuthorizationPolicy updates the parameters of a single AuthorizationPolicy.", + "file": "Client/UpdateAuthorizationPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_UpdateAuthorizationPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity UpdateAuthorizationPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_UpdateClientTlsPolicy_sync", - "title": "networksecurity UpdateClientTlsPolicy Sample", - "description": "UpdateClientTlsPolicy updates the parameters of a single ClientTlsPolicy.", - "file": "Client/UpdateClientTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateClientTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.UpdateClientTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateClientTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "UpdateClientTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.UpdateClientTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.UpdateClientTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClientTlsPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "UpdateClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateClientTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "UpdateClientTlsPolicy" }, + "description": "UpdateClientTlsPolicy updates the parameters of a single ClientTlsPolicy.", + "file": "Client/UpdateClientTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_UpdateClientTlsPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity UpdateClientTlsPolicy Sample" }, { - "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_UpdateServerTlsPolicy_sync", - "title": "networksecurity UpdateServerTlsPolicy Sample", - "description": "UpdateServerTlsPolicy updates the parameters of a single ServerTlsPolicy.", - "file": "Client/UpdateServerTlsPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServerTlsPolicy", + "client": { + "fullName": "google.cloud.networksecurity.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networksecurity.v1beta1.Client.UpdateServerTlsPolicy", + "method": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateServerTlsPolicy", + "service": { + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "shortName": "NetworkSecurity" + }, + "shortName": "UpdateServerTlsPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networksecuritypb.UpdateServerTlsPolicyRequest", - "name": "req" + "name": "req", + "type": "networksecuritypb.UpdateServerTlsPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServerTlsPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networksecurity.v1beta1.Client" - }, - "method": { - "shortName": "UpdateServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateServerTlsPolicy", - "service": { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity" - } - } + "shortName": "UpdateServerTlsPolicy" }, + "description": "UpdateServerTlsPolicy updates the parameters of a single ServerTlsPolicy.", + "file": "Client/UpdateServerTlsPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networksecurity_v1beta1_generated_NetworkSecurity_UpdateServerTlsPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networksecurity UpdateServerTlsPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json b/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json index 2ddd2ef84516..4eb0b64259a2 100644 --- a/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json +++ b/internal/generated/snippets/networkservices/apiv1/snippet_metadata.google.cloud.networkservices.v1.json @@ -1,4427 +1,4427 @@ { "clientLibrary": { - "name": "cloud.google.com/go/networkservices/apiv1", - "version": "0.6.0", - "language": "GO", "apis": [ { "id": "google.cloud.networkservices.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/networkservices/apiv1", + "version": "0.6.0" }, "snippets": [ { - "regionTag": "networkservices_v1_generated_DepService_CancelOperation_sync", - "title": "networkservices CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DepClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DepClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CancelOperation Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_CreateAuthzExtension_sync", - "title": "networkservices CreateAuthzExtension Sample", - "description": "CreateAuthzExtension creates a new `AuthzExtension` resource in a given project\nand location.", - "file": "DepClient/CreateAuthzExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAuthzExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.CreateAuthzExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.CreateAuthzExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "CreateAuthzExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateAuthzExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateAuthzExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAuthzExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "CreateAuthzExtension", - "fullName": "google.cloud.networkservices.v1.DepService.CreateAuthzExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "CreateAuthzExtension" }, + "description": "CreateAuthzExtension creates a new `AuthzExtension` resource in a given project\nand location.", + "file": "DepClient/CreateAuthzExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_CreateAuthzExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateAuthzExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_CreateLbEdgeExtension_sync", - "title": "networkservices CreateLbEdgeExtension Sample", - "description": "CreateLbEdgeExtension creates a new `LbEdgeExtension` resource in a given project and location.", - "file": "DepClient/CreateLbEdgeExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLbEdgeExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.CreateLbEdgeExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.CreateLbEdgeExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "CreateLbEdgeExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateLbEdgeExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateLbEdgeExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLbEdgeExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "CreateLbEdgeExtension", - "fullName": "google.cloud.networkservices.v1.DepService.CreateLbEdgeExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "CreateLbEdgeExtension" }, + "description": "CreateLbEdgeExtension creates a new `LbEdgeExtension` resource in a given project and location.", + "file": "DepClient/CreateLbEdgeExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_CreateLbEdgeExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateLbEdgeExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_CreateLbRouteExtension_sync", - "title": "networkservices CreateLbRouteExtension Sample", - "description": "CreateLbRouteExtension creates a new `LbRouteExtension` resource in a given project and location.", - "file": "DepClient/CreateLbRouteExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLbRouteExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.CreateLbRouteExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.CreateLbRouteExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "CreateLbRouteExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateLbRouteExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateLbRouteExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLbRouteExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "CreateLbRouteExtension", - "fullName": "google.cloud.networkservices.v1.DepService.CreateLbRouteExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "CreateLbRouteExtension" }, + "description": "CreateLbRouteExtension creates a new `LbRouteExtension` resource in a given project and location.", + "file": "DepClient/CreateLbRouteExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_CreateLbRouteExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateLbRouteExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_CreateLbTrafficExtension_sync", - "title": "networkservices CreateLbTrafficExtension Sample", - "description": "CreateLbTrafficExtension creates a new `LbTrafficExtension` resource in a given project and\nlocation.", - "file": "DepClient/CreateLbTrafficExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLbTrafficExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.CreateLbTrafficExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.CreateLbTrafficExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "CreateLbTrafficExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateLbTrafficExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateLbTrafficExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLbTrafficExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "CreateLbTrafficExtension", - "fullName": "google.cloud.networkservices.v1.DepService.CreateLbTrafficExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "CreateLbTrafficExtension" }, + "description": "CreateLbTrafficExtension creates a new `LbTrafficExtension` resource in a given project and\nlocation.", + "file": "DepClient/CreateLbTrafficExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_CreateLbTrafficExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateLbTrafficExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_DeleteAuthzExtension_sync", - "title": "networkservices DeleteAuthzExtension Sample", - "description": "DeleteAuthzExtension deletes the specified `AuthzExtension` resource.", - "file": "DepClient/DeleteAuthzExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAuthzExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.DeleteAuthzExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.DeleteAuthzExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "DeleteAuthzExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteAuthzExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteAuthzExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAuthzExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "DeleteAuthzExtension", - "fullName": "google.cloud.networkservices.v1.DepService.DeleteAuthzExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "DeleteAuthzExtension" }, + "description": "DeleteAuthzExtension deletes the specified `AuthzExtension` resource.", + "file": "DepClient/DeleteAuthzExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_DeleteAuthzExtension_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteAuthzExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_DeleteLbEdgeExtension_sync", - "title": "networkservices DeleteLbEdgeExtension Sample", - "description": "DeleteLbEdgeExtension deletes the specified `LbEdgeExtension` resource.", - "file": "DepClient/DeleteLbEdgeExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLbEdgeExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.DeleteLbEdgeExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.DeleteLbEdgeExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "DeleteLbEdgeExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteLbEdgeExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteLbEdgeExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLbEdgeExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "DeleteLbEdgeExtension", - "fullName": "google.cloud.networkservices.v1.DepService.DeleteLbEdgeExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "DeleteLbEdgeExtension" }, + "description": "DeleteLbEdgeExtension deletes the specified `LbEdgeExtension` resource.", + "file": "DepClient/DeleteLbEdgeExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_DeleteLbEdgeExtension_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteLbEdgeExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_DeleteLbRouteExtension_sync", - "title": "networkservices DeleteLbRouteExtension Sample", - "description": "DeleteLbRouteExtension deletes the specified `LbRouteExtension` resource.", - "file": "DepClient/DeleteLbRouteExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLbRouteExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.DeleteLbRouteExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.DeleteLbRouteExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "DeleteLbRouteExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteLbRouteExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteLbRouteExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLbRouteExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "DeleteLbRouteExtension", - "fullName": "google.cloud.networkservices.v1.DepService.DeleteLbRouteExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "DeleteLbRouteExtension" }, + "description": "DeleteLbRouteExtension deletes the specified `LbRouteExtension` resource.", + "file": "DepClient/DeleteLbRouteExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_DeleteLbRouteExtension_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteLbRouteExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_DeleteLbTrafficExtension_sync", - "title": "networkservices DeleteLbTrafficExtension Sample", - "description": "DeleteLbTrafficExtension deletes the specified `LbTrafficExtension` resource.", - "file": "DepClient/DeleteLbTrafficExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLbTrafficExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.DeleteLbTrafficExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.DeleteLbTrafficExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "DeleteLbTrafficExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteLbTrafficExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteLbTrafficExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLbTrafficExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "DeleteLbTrafficExtension", - "fullName": "google.cloud.networkservices.v1.DepService.DeleteLbTrafficExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "DeleteLbTrafficExtension" }, + "description": "DeleteLbTrafficExtension deletes the specified `LbTrafficExtension` resource.", + "file": "DepClient/DeleteLbTrafficExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_DeleteLbTrafficExtension_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteLbTrafficExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_DeleteOperation_sync", - "title": "networkservices DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DepClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DepClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteOperation Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetAuthzExtension_sync", - "title": "networkservices GetAuthzExtension Sample", - "description": "GetAuthzExtension gets details of the specified `AuthzExtension` resource.", - "file": "DepClient/GetAuthzExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAuthzExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetAuthzExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.GetAuthzExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "GetAuthzExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetAuthzExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetAuthzExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.AuthzExtension", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetAuthzExtension", - "fullName": "google.cloud.networkservices.v1.DepService.GetAuthzExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "GetAuthzExtension" }, + "description": "GetAuthzExtension gets details of the specified `AuthzExtension` resource.", + "file": "DepClient/GetAuthzExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetAuthzExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetAuthzExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetIamPolicy_sync", - "title": "networkservices 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": "DepClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "DepClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetIamPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetLbEdgeExtension_sync", - "title": "networkservices GetLbEdgeExtension Sample", - "description": "GetLbEdgeExtension gets details of the specified `LbEdgeExtension` resource.", - "file": "DepClient/GetLbEdgeExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLbEdgeExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetLbEdgeExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.GetLbEdgeExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "GetLbEdgeExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetLbEdgeExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetLbEdgeExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.LbEdgeExtension", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetLbEdgeExtension", - "fullName": "google.cloud.networkservices.v1.DepService.GetLbEdgeExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "GetLbEdgeExtension" }, + "description": "GetLbEdgeExtension gets details of the specified `LbEdgeExtension` resource.", + "file": "DepClient/GetLbEdgeExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetLbEdgeExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetLbEdgeExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetLbRouteExtension_sync", - "title": "networkservices GetLbRouteExtension Sample", - "description": "GetLbRouteExtension gets details of the specified `LbRouteExtension` resource.", - "file": "DepClient/GetLbRouteExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLbRouteExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetLbRouteExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.GetLbRouteExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "GetLbRouteExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetLbRouteExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetLbRouteExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.LbRouteExtension", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetLbRouteExtension", - "fullName": "google.cloud.networkservices.v1.DepService.GetLbRouteExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "GetLbRouteExtension" }, + "description": "GetLbRouteExtension gets details of the specified `LbRouteExtension` resource.", + "file": "DepClient/GetLbRouteExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetLbRouteExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetLbRouteExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetLbTrafficExtension_sync", - "title": "networkservices GetLbTrafficExtension Sample", - "description": "GetLbTrafficExtension gets details of the specified `LbTrafficExtension` resource.", - "file": "DepClient/GetLbTrafficExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLbTrafficExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetLbTrafficExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.GetLbTrafficExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "GetLbTrafficExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetLbTrafficExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetLbTrafficExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.LbTrafficExtension", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetLbTrafficExtension", - "fullName": "google.cloud.networkservices.v1.DepService.GetLbTrafficExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "GetLbTrafficExtension" }, + "description": "GetLbTrafficExtension gets details of the specified `LbTrafficExtension` resource.", + "file": "DepClient/GetLbTrafficExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetLbTrafficExtension_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetLbTrafficExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetLocation_sync", - "title": "networkservices GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DepClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DepClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetLocation Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_GetOperation_sync", - "title": "networkservices GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DepClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DepClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetOperation Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_ListAuthzExtensions_sync", - "title": "networkservices ListAuthzExtensions Sample", - "description": "ListAuthzExtensions lists `AuthzExtension` resources in a given project and location.", - "file": "DepClient/ListAuthzExtensions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAuthzExtensions", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.ListAuthzExtensions", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.ListAuthzExtensions", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "ListAuthzExtensions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListAuthzExtensionsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListAuthzExtensionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AuthzExtensionIterator", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "ListAuthzExtensions", - "fullName": "google.cloud.networkservices.v1.DepService.ListAuthzExtensions", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "ListAuthzExtensions" }, + "description": "ListAuthzExtensions lists `AuthzExtension` resources in a given project and location.", + "file": "DepClient/ListAuthzExtensions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_ListAuthzExtensions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListAuthzExtensions Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_ListLbEdgeExtensions_sync", - "title": "networkservices ListLbEdgeExtensions Sample", - "description": "ListLbEdgeExtensions lists `LbEdgeExtension` resources in a given project and location.", - "file": "DepClient/ListLbEdgeExtensions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLbEdgeExtensions", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.ListLbEdgeExtensions", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.ListLbEdgeExtensions", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "ListLbEdgeExtensions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListLbEdgeExtensionsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListLbEdgeExtensionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LbEdgeExtensionIterator", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "ListLbEdgeExtensions", - "fullName": "google.cloud.networkservices.v1.DepService.ListLbEdgeExtensions", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "ListLbEdgeExtensions" }, + "description": "ListLbEdgeExtensions lists `LbEdgeExtension` resources in a given project and location.", + "file": "DepClient/ListLbEdgeExtensions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_ListLbEdgeExtensions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListLbEdgeExtensions Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_ListLbRouteExtensions_sync", - "title": "networkservices ListLbRouteExtensions Sample", - "description": "ListLbRouteExtensions lists `LbRouteExtension` resources in a given project and location.", - "file": "DepClient/ListLbRouteExtensions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLbRouteExtensions", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.ListLbRouteExtensions", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.ListLbRouteExtensions", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "ListLbRouteExtensions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListLbRouteExtensionsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListLbRouteExtensionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LbRouteExtensionIterator", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "ListLbRouteExtensions", - "fullName": "google.cloud.networkservices.v1.DepService.ListLbRouteExtensions", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "ListLbRouteExtensions" }, + "description": "ListLbRouteExtensions lists `LbRouteExtension` resources in a given project and location.", + "file": "DepClient/ListLbRouteExtensions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_ListLbRouteExtensions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListLbRouteExtensions Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_ListLbTrafficExtensions_sync", - "title": "networkservices ListLbTrafficExtensions Sample", - "description": "ListLbTrafficExtensions lists `LbTrafficExtension` resources in a given project and location.", - "file": "DepClient/ListLbTrafficExtensions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLbTrafficExtensions", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.ListLbTrafficExtensions", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.ListLbTrafficExtensions", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "ListLbTrafficExtensions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListLbTrafficExtensionsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListLbTrafficExtensionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LbTrafficExtensionIterator", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "ListLbTrafficExtensions", - "fullName": "google.cloud.networkservices.v1.DepService.ListLbTrafficExtensions", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "ListLbTrafficExtensions" }, + "description": "ListLbTrafficExtensions lists `LbTrafficExtension` resources in a given project and location.", + "file": "DepClient/ListLbTrafficExtensions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_ListLbTrafficExtensions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListLbTrafficExtensions Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_ListLocations_sync", - "title": "networkservices ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "DepClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "DepClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListLocations Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_ListOperations_sync", - "title": "networkservices ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DepClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DepClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListOperations Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_SetIamPolicy_sync", - "title": "networkservices 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": "DepClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "DepClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices SetIamPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_TestIamPermissions_sync", - "title": "networkservices 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": "DepClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "DepClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices TestIamPermissions Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_UpdateAuthzExtension_sync", - "title": "networkservices UpdateAuthzExtension Sample", - "description": "UpdateAuthzExtension updates the parameters of the specified `AuthzExtension`\nresource.", - "file": "DepClient/UpdateAuthzExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAuthzExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.UpdateAuthzExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.UpdateAuthzExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "UpdateAuthzExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateAuthzExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateAuthzExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAuthzExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "UpdateAuthzExtension", - "fullName": "google.cloud.networkservices.v1.DepService.UpdateAuthzExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "UpdateAuthzExtension" }, + "description": "UpdateAuthzExtension updates the parameters of the specified `AuthzExtension`\nresource.", + "file": "DepClient/UpdateAuthzExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_UpdateAuthzExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateAuthzExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_UpdateLbEdgeExtension_sync", - "title": "networkservices UpdateLbEdgeExtension Sample", - "description": "UpdateLbEdgeExtension updates the parameters of the specified `LbEdgeExtension` resource.", - "file": "DepClient/UpdateLbEdgeExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLbEdgeExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.UpdateLbEdgeExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.UpdateLbEdgeExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "UpdateLbEdgeExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateLbEdgeExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateLbEdgeExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateLbEdgeExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "UpdateLbEdgeExtension", - "fullName": "google.cloud.networkservices.v1.DepService.UpdateLbEdgeExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "UpdateLbEdgeExtension" }, + "description": "UpdateLbEdgeExtension updates the parameters of the specified `LbEdgeExtension` resource.", + "file": "DepClient/UpdateLbEdgeExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_UpdateLbEdgeExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateLbEdgeExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_UpdateLbRouteExtension_sync", - "title": "networkservices UpdateLbRouteExtension Sample", - "description": "UpdateLbRouteExtension updates the parameters of the specified `LbRouteExtension` resource.", - "file": "DepClient/UpdateLbRouteExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLbRouteExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.UpdateLbRouteExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.UpdateLbRouteExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "UpdateLbRouteExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateLbRouteExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateLbRouteExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateLbRouteExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "UpdateLbRouteExtension", - "fullName": "google.cloud.networkservices.v1.DepService.UpdateLbRouteExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "UpdateLbRouteExtension" }, + "description": "UpdateLbRouteExtension updates the parameters of the specified `LbRouteExtension` resource.", + "file": "DepClient/UpdateLbRouteExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_UpdateLbRouteExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateLbRouteExtension Sample" }, { - "regionTag": "networkservices_v1_generated_DepService_UpdateLbTrafficExtension_sync", - "title": "networkservices UpdateLbTrafficExtension Sample", - "description": "UpdateLbTrafficExtension updates the parameters of the specified `LbTrafficExtension` resource.", - "file": "DepClient/UpdateLbTrafficExtension/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLbTrafficExtension", + "client": { + "fullName": "google.cloud.networkservices.v1.DepClient", + "shortName": "DepClient" + }, "fullName": "google.cloud.networkservices.v1.DepClient.UpdateLbTrafficExtension", + "method": { + "fullName": "google.cloud.networkservices.v1.DepService.UpdateLbTrafficExtension", + "service": { + "fullName": "google.cloud.networkservices.v1.DepService", + "shortName": "DepService" + }, + "shortName": "UpdateLbTrafficExtension" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateLbTrafficExtensionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateLbTrafficExtensionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateLbTrafficExtensionOperation", - "client": { - "shortName": "DepClient", - "fullName": "google.cloud.networkservices.v1.DepClient" - }, - "method": { - "shortName": "UpdateLbTrafficExtension", - "fullName": "google.cloud.networkservices.v1.DepService.UpdateLbTrafficExtension", - "service": { - "shortName": "DepService", - "fullName": "google.cloud.networkservices.v1.DepService" - } - } + "shortName": "UpdateLbTrafficExtension" }, + "description": "UpdateLbTrafficExtension updates the parameters of the specified `LbTrafficExtension` resource.", + "file": "DepClient/UpdateLbTrafficExtension/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_DepService_UpdateLbTrafficExtension_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateLbTrafficExtension Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CancelOperation_sync", - "title": "networkservices CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CancelOperation Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateEndpointPolicy_sync", - "title": "networkservices CreateEndpointPolicy Sample", - "description": "CreateEndpointPolicy creates a new EndpointPolicy in a given project and location.", - "file": "Client/CreateEndpointPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEndpointPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateEndpointPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateEndpointPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateEndpointPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateEndpointPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateEndpointPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEndpointPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateEndpointPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateEndpointPolicy" }, + "description": "CreateEndpointPolicy creates a new EndpointPolicy in a given project and location.", + "file": "Client/CreateEndpointPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateEndpointPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateEndpointPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateGateway_sync", - "title": "networkservices CreateGateway Sample", - "description": "CreateGateway creates a new Gateway in a given project and location.", - "file": "Client/CreateGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGateway", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateGateway", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGateway", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateGatewayRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGateway", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateGateway" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateGateway creates a new Gateway in a given project and location.", + "file": "Client/CreateGateway/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateGateway_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateGateway Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateGrpcRoute_sync", - "title": "networkservices CreateGrpcRoute Sample", - "description": "CreateGrpcRoute creates a new GrpcRoute in a given project and location.", - "file": "Client/CreateGrpcRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGrpcRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateGrpcRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGrpcRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateGrpcRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateGrpcRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateGrpcRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGrpcRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGrpcRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateGrpcRoute" }, + "description": "CreateGrpcRoute creates a new GrpcRoute in a given project and location.", + "file": "Client/CreateGrpcRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateGrpcRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateGrpcRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateHttpRoute_sync", - "title": "networkservices CreateHttpRoute Sample", - "description": "CreateHttpRoute creates a new HttpRoute in a given project and location.", - "file": "Client/CreateHttpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHttpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateHttpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateHttpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateHttpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateHttpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateHttpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHttpRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateHttpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateHttpRoute" }, + "description": "CreateHttpRoute creates a new HttpRoute in a given project and location.", + "file": "Client/CreateHttpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateHttpRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateHttpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateMesh_sync", - "title": "networkservices CreateMesh Sample", - "description": "CreateMesh creates a new Mesh in a given project and location.", - "file": "Client/CreateMesh/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMesh", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateMesh", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateMesh", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateMesh" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateMeshRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateMeshRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMeshOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateMesh", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateMesh" }, + "description": "CreateMesh creates a new Mesh in a given project and location.", + "file": "Client/CreateMesh/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateMesh_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateMesh Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateServiceBinding_sync", - "title": "networkservices CreateServiceBinding Sample", - "description": "CreateServiceBinding creates a new ServiceBinding in a given project and location.", - "file": "Client/CreateServiceBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceBinding", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateServiceBinding", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateServiceBinding", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateServiceBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateServiceBindingRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateServiceBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateServiceBinding", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateServiceBinding" }, + "description": "CreateServiceBinding creates a new ServiceBinding in a given project and location.", + "file": "Client/CreateServiceBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateServiceBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateServiceBinding Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateServiceLbPolicy_sync", - "title": "networkservices CreateServiceLbPolicy Sample", - "description": "CreateServiceLbPolicy creates a new ServiceLbPolicy in a given project and location.", - "file": "Client/CreateServiceLbPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceLbPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateServiceLbPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateServiceLbPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateServiceLbPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateServiceLbPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateServiceLbPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceLbPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateServiceLbPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateServiceLbPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateServiceLbPolicy" }, + "description": "CreateServiceLbPolicy creates a new ServiceLbPolicy in a given project and location.", + "file": "Client/CreateServiceLbPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateServiceLbPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateServiceLbPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateTcpRoute_sync", - "title": "networkservices CreateTcpRoute Sample", - "description": "CreateTcpRoute creates a new TcpRoute in a given project and location.", - "file": "Client/CreateTcpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTcpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateTcpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTcpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateTcpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateTcpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateTcpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTcpRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTcpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateTcpRoute" }, + "description": "CreateTcpRoute creates a new TcpRoute in a given project and location.", + "file": "Client/CreateTcpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateTcpRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateTcpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateTlsRoute_sync", - "title": "networkservices CreateTlsRoute Sample", - "description": "CreateTlsRoute creates a new TlsRoute in a given project and location.", - "file": "Client/CreateTlsRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTlsRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateTlsRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTlsRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateTlsRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateTlsRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateTlsRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTlsRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTlsRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateTlsRoute" }, + "description": "CreateTlsRoute creates a new TlsRoute in a given project and location.", + "file": "Client/CreateTlsRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateTlsRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateTlsRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateWasmPlugin_sync", - "title": "networkservices CreateWasmPlugin Sample", - "description": "CreateWasmPlugin creates a new `WasmPlugin` resource in a given project\nand location.", - "file": "Client/CreateWasmPlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWasmPlugin", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateWasmPlugin", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateWasmPlugin", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateWasmPlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateWasmPluginRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateWasmPluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWasmPluginOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateWasmPlugin", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateWasmPlugin", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateWasmPlugin" }, + "description": "CreateWasmPlugin creates a new `WasmPlugin` resource in a given project\nand location.", + "file": "Client/CreateWasmPlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateWasmPlugin_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateWasmPlugin Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_CreateWasmPluginVersion_sync", - "title": "networkservices CreateWasmPluginVersion Sample", - "description": "CreateWasmPluginVersion creates a new `WasmPluginVersion` resource in a given project\nand location.", - "file": "Client/CreateWasmPluginVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWasmPluginVersion", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.CreateWasmPluginVersion", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateWasmPluginVersion", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "CreateWasmPluginVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.CreateWasmPluginVersionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.CreateWasmPluginVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWasmPluginVersionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "CreateWasmPluginVersion", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateWasmPluginVersion", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "CreateWasmPluginVersion" }, + "description": "CreateWasmPluginVersion creates a new `WasmPluginVersion` resource in a given project\nand location.", + "file": "Client/CreateWasmPluginVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_CreateWasmPluginVersion_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices CreateWasmPluginVersion Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteEndpointPolicy_sync", - "title": "networkservices DeleteEndpointPolicy Sample", - "description": "DeleteEndpointPolicy deletes a single EndpointPolicy.", - "file": "Client/DeleteEndpointPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEndpointPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteEndpointPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteEndpointPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteEndpointPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteEndpointPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteEndpointPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEndpointPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteEndpointPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteEndpointPolicy" }, + "description": "DeleteEndpointPolicy deletes a single EndpointPolicy.", + "file": "Client/DeleteEndpointPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteEndpointPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteEndpointPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteGateway_sync", - "title": "networkservices DeleteGateway Sample", - "description": "DeleteGateway deletes a single Gateway.", - "file": "Client/DeleteGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGateway", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteGateway", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGateway", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" }, + "shortName": "DeleteGateway" + }, + "parameters": [ { - "type": "networkservicespb.DeleteGatewayRequest", - "name": "req" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "req", + "type": "networkservicespb.DeleteGatewayRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGateway", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteGateway" }, + "description": "DeleteGateway deletes a single Gateway.", + "file": "Client/DeleteGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteGateway_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteGateway Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteGrpcRoute_sync", - "title": "networkservices DeleteGrpcRoute Sample", - "description": "DeleteGrpcRoute deletes a single GrpcRoute.", - "file": "Client/DeleteGrpcRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGrpcRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteGrpcRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGrpcRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteGrpcRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteGrpcRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteGrpcRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGrpcRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGrpcRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteGrpcRoute" }, + "description": "DeleteGrpcRoute deletes a single GrpcRoute.", + "file": "Client/DeleteGrpcRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteGrpcRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteGrpcRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteHttpRoute_sync", - "title": "networkservices DeleteHttpRoute Sample", - "description": "DeleteHttpRoute deletes a single HttpRoute.", - "file": "Client/DeleteHttpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHttpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteHttpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteHttpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteHttpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteHttpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteHttpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHttpRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteHttpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteHttpRoute" }, + "description": "DeleteHttpRoute deletes a single HttpRoute.", + "file": "Client/DeleteHttpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteHttpRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteHttpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteMesh_sync", - "title": "networkservices DeleteMesh Sample", - "description": "DeleteMesh deletes a single Mesh.", - "file": "Client/DeleteMesh/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMesh", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteMesh", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteMesh", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteMesh" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteMeshRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteMeshRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMeshOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteMesh", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteMesh" }, + "description": "DeleteMesh deletes a single Mesh.", + "file": "Client/DeleteMesh/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteMesh_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteMesh Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteOperation_sync", - "title": "networkservices DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteOperation Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteServiceBinding_sync", - "title": "networkservices DeleteServiceBinding Sample", - "description": "DeleteServiceBinding deletes a single ServiceBinding.", - "file": "Client/DeleteServiceBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceBinding", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteServiceBinding", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteServiceBinding", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteServiceBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteServiceBindingRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteServiceBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteServiceBinding", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteServiceBinding" }, + "description": "DeleteServiceBinding deletes a single ServiceBinding.", + "file": "Client/DeleteServiceBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteServiceBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteServiceBinding Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteServiceLbPolicy_sync", - "title": "networkservices DeleteServiceLbPolicy Sample", - "description": "DeleteServiceLbPolicy deletes a single ServiceLbPolicy.", - "file": "Client/DeleteServiceLbPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServiceLbPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteServiceLbPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteServiceLbPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteServiceLbPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteServiceLbPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteServiceLbPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceLbPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteServiceLbPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteServiceLbPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteServiceLbPolicy" }, + "description": "DeleteServiceLbPolicy deletes a single ServiceLbPolicy.", + "file": "Client/DeleteServiceLbPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteServiceLbPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteServiceLbPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteTcpRoute_sync", - "title": "networkservices DeleteTcpRoute Sample", - "description": "DeleteTcpRoute deletes a single TcpRoute.", - "file": "Client/DeleteTcpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTcpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteTcpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTcpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteTcpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteTcpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteTcpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTcpRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTcpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteTcpRoute" }, + "description": "DeleteTcpRoute deletes a single TcpRoute.", + "file": "Client/DeleteTcpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteTcpRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteTcpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteTlsRoute_sync", - "title": "networkservices DeleteTlsRoute Sample", - "description": "DeleteTlsRoute deletes a single TlsRoute.", - "file": "Client/DeleteTlsRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTlsRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteTlsRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTlsRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteTlsRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteTlsRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteTlsRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTlsRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTlsRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteTlsRoute" }, + "description": "DeleteTlsRoute deletes a single TlsRoute.", + "file": "Client/DeleteTlsRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteTlsRoute_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteTlsRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteWasmPlugin_sync", - "title": "networkservices DeleteWasmPlugin Sample", - "description": "DeleteWasmPlugin deletes the specified `WasmPlugin` resource.", - "file": "Client/DeleteWasmPlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWasmPlugin", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteWasmPlugin", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteWasmPlugin", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteWasmPlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteWasmPluginRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteWasmPluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWasmPluginOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteWasmPlugin", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteWasmPlugin", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteWasmPlugin" }, + "description": "DeleteWasmPlugin deletes the specified `WasmPlugin` resource.", + "file": "Client/DeleteWasmPlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteWasmPlugin_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteWasmPlugin Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_DeleteWasmPluginVersion_sync", - "title": "networkservices DeleteWasmPluginVersion Sample", - "description": "DeleteWasmPluginVersion deletes the specified `WasmPluginVersion` resource.", - "file": "Client/DeleteWasmPluginVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWasmPluginVersion", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.DeleteWasmPluginVersion", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteWasmPluginVersion", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "DeleteWasmPluginVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.DeleteWasmPluginVersionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.DeleteWasmPluginVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWasmPluginVersionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "DeleteWasmPluginVersion", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteWasmPluginVersion", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "DeleteWasmPluginVersion" }, + "description": "DeleteWasmPluginVersion deletes the specified `WasmPluginVersion` resource.", + "file": "Client/DeleteWasmPluginVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_DeleteWasmPluginVersion_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices DeleteWasmPluginVersion Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetEndpointPolicy_sync", - "title": "networkservices GetEndpointPolicy Sample", - "description": "GetEndpointPolicy gets details of a single EndpointPolicy.", - "file": "Client/GetEndpointPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.Client.GetEndpointPolicy", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "networkservicespb.GetEndpointPolicyRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*networkservicespb.EndpointPolicy", "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.networkservices.v1.Client.GetEndpointPolicy", "method": { - "shortName": "GetEndpointPolicy", "fullName": "google.cloud.networkservices.v1.NetworkServices.GetEndpointPolicy", "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetEndpointPolicy" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "networkservicespb.GetEndpointPolicyRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*networkservicespb.EndpointPolicy", + "shortName": "GetEndpointPolicy" }, + "description": "GetEndpointPolicy gets details of a single EndpointPolicy.", + "file": "Client/GetEndpointPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetEndpointPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetEndpointPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetGateway_sync", - "title": "networkservices GetGateway Sample", - "description": "GetGateway gets details of a single Gateway.", - "file": "Client/GetGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGateway", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetGateway", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGateway", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetGatewayRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.Gateway", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGateway", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetGateway" }, + "description": "GetGateway gets details of a single Gateway.", + "file": "Client/GetGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetGateway_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetGateway Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetGatewayRouteView_sync", - "title": "networkservices GetGatewayRouteView Sample", - "description": "GetGatewayRouteView get a single RouteView of a Gateway.", - "file": "Client/GetGatewayRouteView/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGatewayRouteView", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetGatewayRouteView", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGatewayRouteView", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetGatewayRouteView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetGatewayRouteViewRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetGatewayRouteViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.GatewayRouteView", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetGatewayRouteView", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGatewayRouteView", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetGatewayRouteView" }, + "description": "GetGatewayRouteView get a single RouteView of a Gateway.", + "file": "Client/GetGatewayRouteView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetGatewayRouteView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetGatewayRouteView Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetGrpcRoute_sync", - "title": "networkservices GetGrpcRoute Sample", - "description": "GetGrpcRoute gets details of a single GrpcRoute.", - "file": "Client/GetGrpcRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGrpcRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetGrpcRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGrpcRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetGrpcRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetGrpcRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetGrpcRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.GrpcRoute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGrpcRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetGrpcRoute" }, + "description": "GetGrpcRoute gets details of a single GrpcRoute.", + "file": "Client/GetGrpcRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetGrpcRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetGrpcRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetHttpRoute_sync", - "title": "networkservices GetHttpRoute Sample", - "description": "GetHttpRoute gets details of a single HttpRoute.", - "file": "Client/GetHttpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHttpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetHttpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetHttpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetHttpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetHttpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetHttpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.HttpRoute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetHttpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetHttpRoute" }, + "description": "GetHttpRoute gets details of a single HttpRoute.", + "file": "Client/GetHttpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetHttpRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetHttpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetIamPolicy_sync", - "title": "networkservices 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", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetIamPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetLocation_sync", - "title": "networkservices GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetLocation Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetMesh_sync", - "title": "networkservices GetMesh Sample", - "description": "GetMesh gets details of a single Mesh.", - "file": "Client/GetMesh/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMesh", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetMesh", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetMesh", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetMesh" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetMeshRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetMeshRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.Mesh", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetMesh", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetMesh" }, + "description": "GetMesh gets details of a single Mesh.", + "file": "Client/GetMesh/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetMesh_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetMesh Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetMeshRouteView_sync", - "title": "networkservices GetMeshRouteView Sample", - "description": "GetMeshRouteView get a single RouteView of a Mesh.", - "file": "Client/GetMeshRouteView/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMeshRouteView", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetMeshRouteView", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetMeshRouteView", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetMeshRouteView" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetMeshRouteViewRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetMeshRouteViewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.MeshRouteView", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetMeshRouteView", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetMeshRouteView", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetMeshRouteView" }, + "description": "GetMeshRouteView get a single RouteView of a Mesh.", + "file": "Client/GetMeshRouteView/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetMeshRouteView_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetMeshRouteView Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetOperation_sync", - "title": "networkservices GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetOperation Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetServiceBinding_sync", - "title": "networkservices GetServiceBinding Sample", - "description": "GetServiceBinding gets details of a single ServiceBinding.", - "file": "Client/GetServiceBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceBinding", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetServiceBinding", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetServiceBinding", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetServiceBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetServiceBindingRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetServiceBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.ServiceBinding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetServiceBinding", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetServiceBinding" }, + "description": "GetServiceBinding gets details of a single ServiceBinding.", + "file": "Client/GetServiceBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetServiceBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetServiceBinding Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetServiceLbPolicy_sync", - "title": "networkservices GetServiceLbPolicy Sample", - "description": "GetServiceLbPolicy gets details of a single ServiceLbPolicy.", - "file": "Client/GetServiceLbPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceLbPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetServiceLbPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetServiceLbPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetServiceLbPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetServiceLbPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetServiceLbPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.ServiceLbPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetServiceLbPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetServiceLbPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetServiceLbPolicy" }, + "description": "GetServiceLbPolicy gets details of a single ServiceLbPolicy.", + "file": "Client/GetServiceLbPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetServiceLbPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetServiceLbPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetTcpRoute_sync", - "title": "networkservices GetTcpRoute Sample", - "description": "GetTcpRoute gets details of a single TcpRoute.", - "file": "Client/GetTcpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTcpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetTcpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTcpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetTcpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetTcpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetTcpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.TcpRoute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTcpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetTcpRoute" }, + "description": "GetTcpRoute gets details of a single TcpRoute.", + "file": "Client/GetTcpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetTcpRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetTcpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetTlsRoute_sync", - "title": "networkservices GetTlsRoute Sample", - "description": "GetTlsRoute gets details of a single TlsRoute.", - "file": "Client/GetTlsRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTlsRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetTlsRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTlsRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetTlsRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetTlsRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetTlsRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.TlsRoute", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTlsRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetTlsRoute" }, + "description": "GetTlsRoute gets details of a single TlsRoute.", + "file": "Client/GetTlsRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetTlsRoute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetTlsRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetWasmPlugin_sync", - "title": "networkservices GetWasmPlugin Sample", - "description": "GetWasmPlugin gets details of the specified `WasmPlugin` resource.", - "file": "Client/GetWasmPlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWasmPlugin", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetWasmPlugin", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetWasmPlugin", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetWasmPlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetWasmPluginRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetWasmPluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.WasmPlugin", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetWasmPlugin", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetWasmPlugin", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetWasmPlugin" }, + "description": "GetWasmPlugin gets details of the specified `WasmPlugin` resource.", + "file": "Client/GetWasmPlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetWasmPlugin_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetWasmPlugin Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_GetWasmPluginVersion_sync", - "title": "networkservices GetWasmPluginVersion Sample", - "description": "GetWasmPluginVersion gets details of the specified `WasmPluginVersion` resource.", - "file": "Client/GetWasmPluginVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWasmPluginVersion", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.GetWasmPluginVersion", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetWasmPluginVersion", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "GetWasmPluginVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.GetWasmPluginVersionRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.GetWasmPluginVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*networkservicespb.WasmPluginVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "GetWasmPluginVersion", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetWasmPluginVersion", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "GetWasmPluginVersion" }, + "description": "GetWasmPluginVersion gets details of the specified `WasmPluginVersion` resource.", + "file": "Client/GetWasmPluginVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_GetWasmPluginVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices GetWasmPluginVersion Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListEndpointPolicies_sync", - "title": "networkservices ListEndpointPolicies Sample", - "description": "ListEndpointPolicies lists EndpointPolicies in a given project and location.", - "file": "Client/ListEndpointPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEndpointPolicies", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListEndpointPolicies", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListEndpointPolicies", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListEndpointPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListEndpointPoliciesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListEndpointPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EndpointPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListEndpointPolicies", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListEndpointPolicies", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListEndpointPolicies" }, + "description": "ListEndpointPolicies lists EndpointPolicies in a given project and location.", + "file": "Client/ListEndpointPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListEndpointPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListEndpointPolicies Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListGatewayRouteViews_sync", - "title": "networkservices ListGatewayRouteViews Sample", - "description": "ListGatewayRouteViews lists RouteViews", - "file": "Client/ListGatewayRouteViews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGatewayRouteViews", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListGatewayRouteViews", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGatewayRouteViews", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListGatewayRouteViews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListGatewayRouteViewsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListGatewayRouteViewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GatewayRouteViewIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListGatewayRouteViews", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGatewayRouteViews", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListGatewayRouteViews" }, + "description": "ListGatewayRouteViews lists RouteViews", + "file": "Client/ListGatewayRouteViews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListGatewayRouteViews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListGatewayRouteViews Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListGateways_sync", - "title": "networkservices ListGateways Sample", - "description": "ListGateways lists Gateways in a given project and location.", - "file": "Client/ListGateways/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGateways", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListGateways", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGateways", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListGateways" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListGatewaysRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListGatewaysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GatewayIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListGateways", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGateways", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListGateways" }, + "description": "ListGateways lists Gateways in a given project and location.", + "file": "Client/ListGateways/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListGateways_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListGateways Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListGrpcRoutes_sync", - "title": "networkservices ListGrpcRoutes Sample", - "description": "ListGrpcRoutes lists GrpcRoutes in a given project and location.", - "file": "Client/ListGrpcRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGrpcRoutes", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListGrpcRoutes", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGrpcRoutes", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListGrpcRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListGrpcRoutesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListGrpcRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GrpcRouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListGrpcRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGrpcRoutes", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListGrpcRoutes" }, + "description": "ListGrpcRoutes lists GrpcRoutes in a given project and location.", + "file": "Client/ListGrpcRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListGrpcRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListGrpcRoutes Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListHttpRoutes_sync", - "title": "networkservices ListHttpRoutes Sample", - "description": "ListHttpRoutes lists HttpRoute in a given project and location.", - "file": "Client/ListHttpRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHttpRoutes", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListHttpRoutes", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListHttpRoutes", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListHttpRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListHttpRoutesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListHttpRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HttpRouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListHttpRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListHttpRoutes", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListHttpRoutes" }, + "description": "ListHttpRoutes lists HttpRoute in a given project and location.", + "file": "Client/ListHttpRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListHttpRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListHttpRoutes Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListLocations_sync", - "title": "networkservices ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "LocationIterator", + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListLocations Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListMeshRouteViews_sync", - "title": "networkservices ListMeshRouteViews Sample", - "description": "ListMeshRouteViews lists RouteViews", - "file": "Client/ListMeshRouteViews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMeshRouteViews", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListMeshRouteViews", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListMeshRouteViews", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListMeshRouteViews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListMeshRouteViewsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListMeshRouteViewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MeshRouteViewIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListMeshRouteViews", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListMeshRouteViews", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListMeshRouteViews" }, + "description": "ListMeshRouteViews lists RouteViews", + "file": "Client/ListMeshRouteViews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListMeshRouteViews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListMeshRouteViews Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListMeshes_sync", - "title": "networkservices ListMeshes Sample", - "description": "ListMeshes lists Meshes in a given project and location.", - "file": "Client/ListMeshes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMeshes", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListMeshes", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListMeshes", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListMeshes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListMeshesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListMeshesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MeshIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListMeshes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListMeshes", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListMeshes" }, + "description": "ListMeshes lists Meshes in a given project and location.", + "file": "Client/ListMeshes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListMeshes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListMeshes Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListOperations_sync", - "title": "networkservices ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListOperations Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListServiceBindings_sync", - "title": "networkservices ListServiceBindings Sample", - "description": "ListServiceBindings lists ServiceBinding in a given project and location.", - "file": "Client/ListServiceBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceBindings", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListServiceBindings", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListServiceBindings", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListServiceBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListServiceBindingsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListServiceBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceBindingIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListServiceBindings", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListServiceBindings", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListServiceBindings" }, + "description": "ListServiceBindings lists ServiceBinding in a given project and location.", + "file": "Client/ListServiceBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListServiceBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListServiceBindings Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListServiceLbPolicies_sync", - "title": "networkservices ListServiceLbPolicies Sample", - "description": "ListServiceLbPolicies lists ServiceLbPolicies in a given project and location.", - "file": "Client/ListServiceLbPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceLbPolicies", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListServiceLbPolicies", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListServiceLbPolicies", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListServiceLbPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListServiceLbPoliciesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListServiceLbPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceLbPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListServiceLbPolicies", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListServiceLbPolicies", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListServiceLbPolicies" }, + "description": "ListServiceLbPolicies lists ServiceLbPolicies in a given project and location.", + "file": "Client/ListServiceLbPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListServiceLbPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListServiceLbPolicies Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListTcpRoutes_sync", - "title": "networkservices ListTcpRoutes Sample", - "description": "ListTcpRoutes lists TcpRoute in a given project and location.", - "file": "Client/ListTcpRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTcpRoutes", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListTcpRoutes", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTcpRoutes", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListTcpRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListTcpRoutesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListTcpRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TcpRouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListTcpRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTcpRoutes", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListTcpRoutes" }, + "description": "ListTcpRoutes lists TcpRoute in a given project and location.", + "file": "Client/ListTcpRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListTcpRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListTcpRoutes Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListTlsRoutes_sync", - "title": "networkservices ListTlsRoutes Sample", - "description": "ListTlsRoutes lists TlsRoute in a given project and location.", - "file": "Client/ListTlsRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTlsRoutes", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListTlsRoutes", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTlsRoutes", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListTlsRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListTlsRoutesRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListTlsRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TlsRouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListTlsRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTlsRoutes", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListTlsRoutes" }, + "description": "ListTlsRoutes lists TlsRoute in a given project and location.", + "file": "Client/ListTlsRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListTlsRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListTlsRoutes Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListWasmPluginVersions_sync", - "title": "networkservices ListWasmPluginVersions Sample", - "description": "ListWasmPluginVersions lists `WasmPluginVersion` resources in a given project and\nlocation.", - "file": "Client/ListWasmPluginVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWasmPluginVersions", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListWasmPluginVersions", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListWasmPluginVersions", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListWasmPluginVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListWasmPluginVersionsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListWasmPluginVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WasmPluginVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListWasmPluginVersions", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListWasmPluginVersions", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListWasmPluginVersions" }, + "description": "ListWasmPluginVersions lists `WasmPluginVersion` resources in a given project and\nlocation.", + "file": "Client/ListWasmPluginVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListWasmPluginVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListWasmPluginVersions Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_ListWasmPlugins_sync", - "title": "networkservices ListWasmPlugins Sample", - "description": "ListWasmPlugins lists `WasmPlugin` resources in a given project and\nlocation.", - "file": "Client/ListWasmPlugins/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWasmPlugins", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.ListWasmPlugins", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListWasmPlugins", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "ListWasmPlugins" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.ListWasmPluginsRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.ListWasmPluginsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WasmPluginIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "ListWasmPlugins", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListWasmPlugins", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "ListWasmPlugins" }, + "description": "ListWasmPlugins lists `WasmPlugin` resources in a given project and\nlocation.", + "file": "Client/ListWasmPlugins/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_ListWasmPlugins_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices ListWasmPlugins Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_SetIamPolicy_sync", - "title": "networkservices 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", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices SetIamPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_TestIamPermissions_sync", - "title": "networkservices 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", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices TestIamPermissions Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateEndpointPolicy_sync", - "title": "networkservices UpdateEndpointPolicy Sample", - "description": "UpdateEndpointPolicy updates the parameters of a single EndpointPolicy.", - "file": "Client/UpdateEndpointPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpointPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateEndpointPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateEndpointPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateEndpointPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateEndpointPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateEndpointPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEndpointPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateEndpointPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateEndpointPolicy" }, + "description": "UpdateEndpointPolicy updates the parameters of a single EndpointPolicy.", + "file": "Client/UpdateEndpointPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateEndpointPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateEndpointPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateGateway_sync", - "title": "networkservices UpdateGateway Sample", - "description": "UpdateGateway updates the parameters of a single Gateway.", - "file": "Client/UpdateGateway/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGateway", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateGateway", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGateway", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateGateway" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateGatewayRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateGatewayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGatewayOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGateway", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateGateway" }, + "description": "UpdateGateway updates the parameters of a single Gateway.", + "file": "Client/UpdateGateway/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateGateway_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateGateway Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateGrpcRoute_sync", - "title": "networkservices UpdateGrpcRoute Sample", - "description": "UpdateGrpcRoute updates the parameters of a single GrpcRoute.", - "file": "Client/UpdateGrpcRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGrpcRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateGrpcRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGrpcRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateGrpcRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateGrpcRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateGrpcRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGrpcRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGrpcRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateGrpcRoute" }, + "description": "UpdateGrpcRoute updates the parameters of a single GrpcRoute.", + "file": "Client/UpdateGrpcRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateGrpcRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateGrpcRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateHttpRoute_sync", - "title": "networkservices UpdateHttpRoute Sample", - "description": "UpdateHttpRoute updates the parameters of a single HttpRoute.", - "file": "Client/UpdateHttpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHttpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateHttpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateHttpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateHttpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateHttpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateHttpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateHttpRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateHttpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateHttpRoute" }, + "description": "UpdateHttpRoute updates the parameters of a single HttpRoute.", + "file": "Client/UpdateHttpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateHttpRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateHttpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateMesh_sync", - "title": "networkservices UpdateMesh Sample", - "description": "UpdateMesh updates the parameters of a single Mesh.", - "file": "Client/UpdateMesh/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMesh", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateMesh", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateMesh", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateMesh" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateMeshRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateMeshRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMeshOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateMesh", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateMesh" }, + "description": "UpdateMesh updates the parameters of a single Mesh.", + "file": "Client/UpdateMesh/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateMesh_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateMesh Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateServiceBinding_sync", - "title": "networkservices UpdateServiceBinding Sample", - "description": "UpdateServiceBinding updates the parameters of a single ServiceBinding.", - "file": "Client/UpdateServiceBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServiceBinding", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateServiceBinding", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateServiceBinding", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateServiceBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateServiceBindingRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateServiceBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateServiceBinding", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateServiceBinding" }, + "description": "UpdateServiceBinding updates the parameters of a single ServiceBinding.", + "file": "Client/UpdateServiceBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateServiceBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateServiceBinding Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateServiceLbPolicy_sync", - "title": "networkservices UpdateServiceLbPolicy Sample", - "description": "UpdateServiceLbPolicy updates the parameters of a single ServiceLbPolicy.", - "file": "Client/UpdateServiceLbPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServiceLbPolicy", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateServiceLbPolicy", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateServiceLbPolicy", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateServiceLbPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateServiceLbPolicyRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateServiceLbPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceLbPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateServiceLbPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateServiceLbPolicy", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateServiceLbPolicy" }, + "description": "UpdateServiceLbPolicy updates the parameters of a single ServiceLbPolicy.", + "file": "Client/UpdateServiceLbPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateServiceLbPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateServiceLbPolicy Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateTcpRoute_sync", - "title": "networkservices UpdateTcpRoute Sample", - "description": "UpdateTcpRoute updates the parameters of a single TcpRoute.", - "file": "Client/UpdateTcpRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTcpRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateTcpRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTcpRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateTcpRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateTcpRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateTcpRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTcpRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTcpRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateTcpRoute" }, + "description": "UpdateTcpRoute updates the parameters of a single TcpRoute.", + "file": "Client/UpdateTcpRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateTcpRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateTcpRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateTlsRoute_sync", - "title": "networkservices UpdateTlsRoute Sample", - "description": "UpdateTlsRoute updates the parameters of a single TlsRoute.", - "file": "Client/UpdateTlsRoute/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTlsRoute", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateTlsRoute", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTlsRoute", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateTlsRoute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateTlsRouteRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateTlsRouteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTlsRouteOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTlsRoute", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateTlsRoute" }, + "description": "UpdateTlsRoute updates the parameters of a single TlsRoute.", + "file": "Client/UpdateTlsRoute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateTlsRoute_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateTlsRoute Sample" }, { - "regionTag": "networkservices_v1_generated_NetworkServices_UpdateWasmPlugin_sync", - "title": "networkservices UpdateWasmPlugin Sample", - "description": "UpdateWasmPlugin updates the parameters of the specified `WasmPlugin` resource.", - "file": "Client/UpdateWasmPlugin/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWasmPlugin", + "client": { + "fullName": "google.cloud.networkservices.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.networkservices.v1.Client.UpdateWasmPlugin", + "method": { + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateWasmPlugin", + "service": { + "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "NetworkServices" + }, + "shortName": "UpdateWasmPlugin" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "networkservicespb.UpdateWasmPluginRequest", - "name": "req" + "name": "req", + "type": "networkservicespb.UpdateWasmPluginRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWasmPluginOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.networkservices.v1.Client" - }, - "method": { - "shortName": "UpdateWasmPlugin", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateWasmPlugin", - "service": { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices" - } - } + "shortName": "UpdateWasmPlugin" }, + "description": "UpdateWasmPlugin updates the parameters of the specified `WasmPlugin` resource.", + "file": "Client/UpdateWasmPlugin/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "networkservices_v1_generated_NetworkServices_UpdateWasmPlugin_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "networkservices UpdateWasmPlugin Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json b/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json index ebef117d5556..7ab6587756dc 100644 --- a/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json +++ b/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json @@ -1,3001 +1,3001 @@ { "clientLibrary": { - "name": "cloud.google.com/go/notebooks/apiv1", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.notebooks.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/notebooks/apiv1", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_CancelOperation_sync", - "title": "notebooks CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedNotebookClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedNotebookClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CancelOperation Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_CreateRuntime_sync", - "title": "notebooks CreateRuntime Sample", - "description": "CreateRuntime creates a new Runtime in a given project and location.", - "file": "ManagedNotebookClient/CreateRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.CreateRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "CreateRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "CreateRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "CreateRuntime" }, + "description": "CreateRuntime creates a new Runtime in a given project and location.", + "file": "ManagedNotebookClient/CreateRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_CreateRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_DeleteOperation_sync", - "title": "notebooks DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedNotebookClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedNotebookClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteOperation Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_DeleteRuntime_sync", - "title": "notebooks DeleteRuntime Sample", - "description": "DeleteRuntime deletes a single Runtime.", - "file": "ManagedNotebookClient/DeleteRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.DeleteRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "DeleteRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "DeleteRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "DeleteRuntime" }, + "description": "DeleteRuntime deletes a single Runtime.", + "file": "ManagedNotebookClient/DeleteRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_DeleteRuntime_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_DiagnoseRuntime_sync", - "title": "notebooks DiagnoseRuntime Sample", - "description": "DiagnoseRuntime creates a Diagnostic File and runs Diagnostic Tool given a Runtime.", - "file": "ManagedNotebookClient/DiagnoseRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.DiagnoseRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DiagnoseRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "DiagnoseRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DiagnoseRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DiagnoseRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiagnoseRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "DiagnoseRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DiagnoseRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "DiagnoseRuntime" }, + "description": "DiagnoseRuntime creates a Diagnostic File and runs Diagnostic Tool given a Runtime.", + "file": "ManagedNotebookClient/DiagnoseRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_DiagnoseRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DiagnoseRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetIamPolicy_sync", - "title": "notebooks 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": "ManagedNotebookClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ManagedNotebookClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetIamPolicy Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetLocation_sync", - "title": "notebooks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "ManagedNotebookClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "ManagedNotebookClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetLocation Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetOperation_sync", - "title": "notebooks GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ManagedNotebookClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ManagedNotebookClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetOperation Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetRuntime_sync", - "title": "notebooks GetRuntime Sample", - "description": "GetRuntime gets details of a single Runtime. The location must be a regional endpoint\nrather than zonal.", - "file": "ManagedNotebookClient/GetRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.GetRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.GetRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "GetRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Runtime", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "GetRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.GetRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "GetRuntime" }, + "description": "GetRuntime gets details of a single Runtime. The location must be a regional endpoint\nrather than zonal.", + "file": "ManagedNotebookClient/GetRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_GetRuntime_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_ListLocations_sync", - "title": "notebooks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "ManagedNotebookClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "ManagedNotebookClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListLocations Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_ListOperations_sync", - "title": "notebooks ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ManagedNotebookClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ManagedNotebookClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListOperations Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_ListRuntimes_sync", - "title": "notebooks ListRuntimes Sample", - "description": "ListRuntimes lists Runtimes in a given project and location.", - "file": "ManagedNotebookClient/ListRuntimes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRuntimes", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.ListRuntimes", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimes", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "ListRuntimes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListRuntimesRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListRuntimesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RuntimeIterator", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "ListRuntimes", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimes", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "ListRuntimes" }, + "description": "ListRuntimes lists Runtimes in a given project and location.", + "file": "ManagedNotebookClient/ListRuntimes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_ListRuntimes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListRuntimes Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_RefreshRuntimeTokenInternal_sync", - "title": "notebooks RefreshRuntimeTokenInternal Sample", - "description": "RefreshRuntimeTokenInternal gets an access token for the consumer service account that the customer\nattached to the runtime. Only accessible from the tenant instance.", - "file": "ManagedNotebookClient/RefreshRuntimeTokenInternal/main.go", - "language": "GO", "clientMethod": { - "shortName": "RefreshRuntimeTokenInternal", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.RefreshRuntimeTokenInternal", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.RefreshRuntimeTokenInternal", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "RefreshRuntimeTokenInternal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.RefreshRuntimeTokenInternalRequest", - "name": "req" + "name": "req", + "type": "notebookspb.RefreshRuntimeTokenInternalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.RefreshRuntimeTokenInternalResponse", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "RefreshRuntimeTokenInternal", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.RefreshRuntimeTokenInternal", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "RefreshRuntimeTokenInternal" }, + "description": "RefreshRuntimeTokenInternal gets an access token for the consumer service account that the customer\nattached to the runtime. Only accessible from the tenant instance.", + "file": "ManagedNotebookClient/RefreshRuntimeTokenInternal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_RefreshRuntimeTokenInternal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks RefreshRuntimeTokenInternal Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_ReportRuntimeEvent_sync", - "title": "notebooks ReportRuntimeEvent Sample", - "description": "ReportRuntimeEvent report and process a runtime event.", - "file": "ManagedNotebookClient/ReportRuntimeEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportRuntimeEvent", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.ReportRuntimeEvent", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEvent", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "ReportRuntimeEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ReportRuntimeEventRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ReportRuntimeEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportRuntimeEventOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "ReportRuntimeEvent", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEvent", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "ReportRuntimeEvent" }, + "description": "ReportRuntimeEvent report and process a runtime event.", + "file": "ManagedNotebookClient/ReportRuntimeEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_ReportRuntimeEvent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ReportRuntimeEvent Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_ResetRuntime_sync", - "title": "notebooks ResetRuntime Sample", - "description": "ResetRuntime resets a Managed Notebook Runtime.", - "file": "ManagedNotebookClient/ResetRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.ResetRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "ResetRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ResetRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ResetRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "ResetRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "ResetRuntime" }, + "description": "ResetRuntime resets a Managed Notebook Runtime.", + "file": "ManagedNotebookClient/ResetRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_ResetRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ResetRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_SetIamPolicy_sync", - "title": "notebooks 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": "ManagedNotebookClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ManagedNotebookClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetIamPolicy Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_StartRuntime_sync", - "title": "notebooks StartRuntime Sample", - "description": "StartRuntime starts a Managed Notebook Runtime.\nPerform \"Start\" on GPU instances; \"Resume\" on CPU instances\nSee: \nhttps: //cloud.google.com/compute/docs/instances/stop-start-instance\nhttps: //cloud.google.com/compute/docs/instances/suspend-resume-instance", - "file": "ManagedNotebookClient/StartRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.StartRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StartRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "StartRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StartRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StartRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "StartRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StartRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "StartRuntime" }, + "description": "StartRuntime starts a Managed Notebook Runtime.\nPerform \"Start\" on GPU instances; \"Resume\" on CPU instances\nSee: \nhttps: //cloud.google.com/compute/docs/instances/stop-start-instance\nhttps: //cloud.google.com/compute/docs/instances/suspend-resume-instance", + "file": "ManagedNotebookClient/StartRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_StartRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StartRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_StopRuntime_sync", - "title": "notebooks StopRuntime Sample", - "description": "StopRuntime stops a Managed Notebook Runtime.\nPerform \"Stop\" on GPU instances; \"Suspend\" on CPU instances\nSee: \nhttps: //cloud.google.com/compute/docs/instances/stop-start-instance\nhttps: //cloud.google.com/compute/docs/instances/suspend-resume-instance", - "file": "ManagedNotebookClient/StopRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.StopRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StopRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "StopRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StopRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StopRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "StopRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StopRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "StopRuntime" }, + "description": "StopRuntime stops a Managed Notebook Runtime.\nPerform \"Stop\" on GPU instances; \"Suspend\" on CPU instances\nSee: \nhttps: //cloud.google.com/compute/docs/instances/stop-start-instance\nhttps: //cloud.google.com/compute/docs/instances/suspend-resume-instance", + "file": "ManagedNotebookClient/StopRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_StopRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StopRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_SwitchRuntime_sync", - "title": "notebooks SwitchRuntime Sample", - "description": "SwitchRuntime switch a Managed Notebook Runtime.", - "file": "ManagedNotebookClient/SwitchRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.SwitchRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "SwitchRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SwitchRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SwitchRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SwitchRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "SwitchRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "SwitchRuntime" }, + "description": "SwitchRuntime switch a Managed Notebook Runtime.", + "file": "ManagedNotebookClient/SwitchRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_SwitchRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SwitchRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_TestIamPermissions_sync", - "title": "notebooks 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": "ManagedNotebookClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ManagedNotebookClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks TestIamPermissions Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_UpdateRuntime_sync", - "title": "notebooks UpdateRuntime Sample", - "description": "UpdateRuntime update Notebook Runtime configuration.", - "file": "ManagedNotebookClient/UpdateRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.UpdateRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "UpdateRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpdateRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpdateRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "UpdateRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "UpdateRuntime" }, + "description": "UpdateRuntime update Notebook Runtime configuration.", + "file": "ManagedNotebookClient/UpdateRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_UpdateRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpdateRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_ManagedNotebookService_UpgradeRuntime_sync", - "title": "notebooks UpgradeRuntime Sample", - "description": "UpgradeRuntime upgrades a Managed Notebook Runtime to the latest version.", - "file": "ManagedNotebookClient/UpgradeRuntime/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeRuntime", + "client": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient", + "shortName": "ManagedNotebookClient" + }, "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient.UpgradeRuntime", + "method": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpgradeRuntime", + "service": { + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "ManagedNotebookService" + }, + "shortName": "UpgradeRuntime" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpgradeRuntimeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpgradeRuntimeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeRuntimeOperation", - "client": { - "shortName": "ManagedNotebookClient", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookClient" - }, - "method": { - "shortName": "UpgradeRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpgradeRuntime", - "service": { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService" - } - } + "shortName": "UpgradeRuntime" }, + "description": "UpgradeRuntime upgrades a Managed Notebook Runtime to the latest version.", + "file": "ManagedNotebookClient/UpgradeRuntime/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_ManagedNotebookService_UpgradeRuntime_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpgradeRuntime Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_CancelOperation_sync", - "title": "notebooks CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CancelOperation Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_CreateEnvironment_sync", - "title": "notebooks CreateEnvironment Sample", - "description": "CreateEnvironment creates a new Environment.", - "file": "NotebookClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateEnvironment", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEnvironmentOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateEnvironment", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment creates a new Environment.", + "file": "NotebookClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateEnvironment Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_CreateExecution_sync", - "title": "notebooks CreateExecution Sample", - "description": "CreateExecution creates a new Execution in a given project and location.", - "file": "NotebookClient/CreateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExecution", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.CreateExecution", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateExecution", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateExecutionRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateExecutionOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "CreateExecution", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateExecution", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "CreateExecution" }, + "description": "CreateExecution creates a new Execution in a given project and location.", + "file": "NotebookClient/CreateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_CreateExecution_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateExecution Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_CreateInstance_sync", - "title": "notebooks CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "NotebookClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.CreateInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "NotebookClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_CreateSchedule_sync", - "title": "notebooks CreateSchedule Sample", - "description": "CreateSchedule creates a new Scheduled Notebook in a given project and location.", - "file": "NotebookClient/CreateSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchedule", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.CreateSchedule", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateSchedule", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateScheduleRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateScheduleOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "CreateSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateSchedule", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "CreateSchedule" }, + "description": "CreateSchedule creates a new Scheduled Notebook in a given project and location.", + "file": "NotebookClient/CreateSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_CreateSchedule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateSchedule Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_DeleteEnvironment_sync", - "title": "notebooks DeleteEnvironment Sample", - "description": "DeleteEnvironment deletes a single Environment.", - "file": "NotebookClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteEnvironment", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEnvironmentOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteEnvironment", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "DeleteEnvironment" }, + "description": "DeleteEnvironment deletes a single Environment.", + "file": "NotebookClient/DeleteEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_DeleteEnvironment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteEnvironment Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_DeleteExecution_sync", - "title": "notebooks DeleteExecution Sample", - "description": "DeleteExecution deletes execution", - "file": "NotebookClient/DeleteExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExecution", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.DeleteExecution", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteExecution", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteExecutionRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExecutionOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteExecution", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteExecution", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "DeleteExecution" }, + "description": "DeleteExecution deletes execution", + "file": "NotebookClient/DeleteExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_DeleteExecution_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteExecution Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_DeleteInstance_sync", - "title": "notebooks DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "NotebookClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.DeleteInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "NotebookClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_DeleteOperation_sync", - "title": "notebooks DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteOperation Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_DeleteSchedule_sync", - "title": "notebooks DeleteSchedule Sample", - "description": "DeleteSchedule deletes schedule and all underlying jobs", - "file": "NotebookClient/DeleteSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchedule", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.DeleteSchedule", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteSchedule", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteScheduleRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteScheduleOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "DeleteSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteSchedule", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "DeleteSchedule" }, + "description": "DeleteSchedule deletes schedule and all underlying jobs", + "file": "NotebookClient/DeleteSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_DeleteSchedule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteSchedule Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_DiagnoseInstance_sync", - "title": "notebooks DiagnoseInstance Sample", - "description": "DiagnoseInstance creates a Diagnostic File and runs Diagnostic Tool given an Instance.", - "file": "NotebookClient/DiagnoseInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.DiagnoseInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.DiagnoseInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DiagnoseInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DiagnoseInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DiagnoseInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiagnoseInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "DiagnoseInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.DiagnoseInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "DiagnoseInstance" }, + "description": "DiagnoseInstance creates a Diagnostic File and runs Diagnostic Tool given an Instance.", + "file": "NotebookClient/DiagnoseInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_DiagnoseInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DiagnoseInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetEnvironment_sync", - "title": "notebooks GetEnvironment Sample", - "description": "GetEnvironment gets details of a single Environment.", - "file": "NotebookClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetEnvironment", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.GetEnvironment", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Environment", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetEnvironment", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment gets details of a single Environment.", + "file": "NotebookClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetEnvironment Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetExecution_sync", - "title": "notebooks GetExecution Sample", - "description": "GetExecution gets details of executions", - "file": "NotebookClient/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetExecution", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.GetExecution", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Execution", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetExecution", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution gets details of executions", + "file": "NotebookClient/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetExecution Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetIamPolicy_sync", - "title": "notebooks 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": "NotebookClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "NotebookClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetIamPolicy Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetInstance_sync", - "title": "notebooks GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "NotebookClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Instance", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "NotebookClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetInstanceHealth_sync", - "title": "notebooks GetInstanceHealth Sample", - "description": "GetInstanceHealth check if a notebook instance is healthy.", - "file": "NotebookClient/GetInstanceHealth/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstanceHealth", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetInstanceHealth", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstanceHealth", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetInstanceHealth" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetInstanceHealthRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetInstanceHealthRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.GetInstanceHealthResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetInstanceHealth", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstanceHealth", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "GetInstanceHealth" }, + "description": "GetInstanceHealth check if a notebook instance is healthy.", + "file": "NotebookClient/GetInstanceHealth/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetInstanceHealth_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetInstanceHealth Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetLocation_sync", - "title": "notebooks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "NotebookClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "NotebookClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetLocation Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetOperation_sync", - "title": "notebooks GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetOperation Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_GetSchedule_sync", - "title": "notebooks GetSchedule Sample", - "description": "GetSchedule gets details of schedule", - "file": "NotebookClient/GetSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchedule", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.GetSchedule", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.GetSchedule", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetScheduleRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Schedule", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "GetSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetSchedule", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "GetSchedule" }, + "description": "GetSchedule gets details of schedule", + "file": "NotebookClient/GetSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_GetSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetSchedule Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_IsInstanceUpgradeable_sync", - "title": "notebooks IsInstanceUpgradeable Sample", - "description": "IsInstanceUpgradeable check if a notebook instance is upgradable.", - "file": "NotebookClient/IsInstanceUpgradeable/main.go", - "language": "GO", "clientMethod": { - "shortName": "IsInstanceUpgradeable", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.IsInstanceUpgradeable", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeable", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "IsInstanceUpgradeable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.IsInstanceUpgradeableRequest", - "name": "req" + "name": "req", + "type": "notebookspb.IsInstanceUpgradeableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.IsInstanceUpgradeableResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "IsInstanceUpgradeable", - "fullName": "google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeable", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "IsInstanceUpgradeable" }, + "description": "IsInstanceUpgradeable check if a notebook instance is upgradable.", + "file": "NotebookClient/IsInstanceUpgradeable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_IsInstanceUpgradeable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks IsInstanceUpgradeable Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ListEnvironments_sync", - "title": "notebooks ListEnvironments Sample", - "description": "ListEnvironments lists environments in a project.", - "file": "NotebookClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ListEnvironments", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.ListEnvironments", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListEnvironments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListEnvironments", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments lists environments in a project.", + "file": "NotebookClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListEnvironments Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ListExecutions_sync", - "title": "notebooks ListExecutions Sample", - "description": "ListExecutions lists executions in a given project and location", - "file": "NotebookClient/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ListExecutions", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.ListExecutions", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ExecutionIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListExecutions", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ExecutionIterator", + "shortName": "ListExecutions" }, + "description": "ListExecutions lists executions in a given project and location", + "file": "NotebookClient/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListExecutions Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ListInstances_sync", - "title": "notebooks ListInstances Sample", - "description": "ListInstances lists instances in a given project and location.", - "file": "NotebookClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ListInstances", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.ListInstances", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListInstances", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists instances in a given project and location.", + "file": "NotebookClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListInstances Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ListLocations_sync", - "title": "notebooks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "NotebookClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "NotebookClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListLocations Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ListOperations_sync", - "title": "notebooks ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListOperations Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ListSchedules_sync", - "title": "notebooks ListSchedules Sample", - "description": "ListSchedules lists schedules in a given project and location.", - "file": "NotebookClient/ListSchedules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchedules", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ListSchedules", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.ListSchedules", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListSchedules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListSchedulesRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListSchedulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScheduleIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ListSchedules", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListSchedules", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "ListSchedules" }, + "description": "ListSchedules lists schedules in a given project and location.", + "file": "NotebookClient/ListSchedules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ListSchedules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListSchedules Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_RegisterInstance_sync", - "title": "notebooks RegisterInstance Sample", - "description": "RegisterInstance registers an existing legacy notebook instance to the Notebooks API server.\nLegacy instances are instances created with the legacy Compute Engine\ncalls. They are not manageable by the Notebooks API out of the box. This\ncall makes these instances manageable by the Notebooks API.", - "file": "NotebookClient/RegisterInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.RegisterInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.RegisterInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "RegisterInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.RegisterInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.RegisterInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegisterInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "RegisterInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.RegisterInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "RegisterInstance" }, + "description": "RegisterInstance registers an existing legacy notebook instance to the Notebooks API server.\nLegacy instances are instances created with the legacy Compute Engine\ncalls. They are not manageable by the Notebooks API out of the box. This\ncall makes these instances manageable by the Notebooks API.", + "file": "NotebookClient/RegisterInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_RegisterInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks RegisterInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ReportInstanceInfo_sync", - "title": "notebooks ReportInstanceInfo Sample", - "description": "ReportInstanceInfo allows notebook instances to\nreport their latest instance information to the Notebooks\nAPI server. The server will merge the reported information to\nthe instance metadata store. Do not use this method directly.", - "file": "NotebookClient/ReportInstanceInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportInstanceInfo", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ReportInstanceInfo", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.ReportInstanceInfo", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ReportInstanceInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ReportInstanceInfoRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ReportInstanceInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportInstanceInfoOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ReportInstanceInfo", - "fullName": "google.cloud.notebooks.v1.NotebookService.ReportInstanceInfo", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "ReportInstanceInfo" }, + "description": "ReportInstanceInfo allows notebook instances to\nreport their latest instance information to the Notebooks\nAPI server. The server will merge the reported information to\nthe instance metadata store. Do not use this method directly.", + "file": "NotebookClient/ReportInstanceInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ReportInstanceInfo_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ReportInstanceInfo Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_ResetInstance_sync", - "title": "notebooks ResetInstance Sample", - "description": "ResetInstance resets a notebook instance.", - "file": "NotebookClient/ResetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.ResetInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.ResetInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ResetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ResetInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ResetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "ResetInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.ResetInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "ResetInstance" }, + "description": "ResetInstance resets a notebook instance.", + "file": "NotebookClient/ResetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_ResetInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ResetInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_RollbackInstance_sync", - "title": "notebooks RollbackInstance Sample", - "description": "RollbackInstance rollbacks a notebook instance to the previous version.", - "file": "NotebookClient/RollbackInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.RollbackInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.RollbackInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "RollbackInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.RollbackInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.RollbackInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RollbackInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "RollbackInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.RollbackInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "RollbackInstance" }, + "description": "RollbackInstance rollbacks a notebook instance to the previous version.", + "file": "NotebookClient/RollbackInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_RollbackInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks RollbackInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_SetIamPolicy_sync", - "title": "notebooks 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": "NotebookClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "NotebookClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetIamPolicy Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_SetInstanceAccelerator_sync", - "title": "notebooks SetInstanceAccelerator Sample", - "description": "SetInstanceAccelerator updates the guest accelerators of a single Instance.", - "file": "NotebookClient/SetInstanceAccelerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceAccelerator", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.SetInstanceAccelerator", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceAccelerator", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "SetInstanceAccelerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SetInstanceAcceleratorRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SetInstanceAcceleratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInstanceAcceleratorOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "SetInstanceAccelerator", - "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceAccelerator", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "SetInstanceAccelerator" }, + "description": "SetInstanceAccelerator updates the guest accelerators of a single Instance.", + "file": "NotebookClient/SetInstanceAccelerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_SetInstanceAccelerator_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetInstanceAccelerator Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_SetInstanceLabels_sync", - "title": "notebooks SetInstanceLabels Sample", - "description": "SetInstanceLabels replaces all the labels of an Instance.", - "file": "NotebookClient/SetInstanceLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceLabels", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.SetInstanceLabels", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceLabels", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "SetInstanceLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SetInstanceLabelsRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SetInstanceLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInstanceLabelsOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "SetInstanceLabels", - "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceLabels", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "SetInstanceLabels" }, + "description": "SetInstanceLabels replaces all the labels of an Instance.", + "file": "NotebookClient/SetInstanceLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_SetInstanceLabels_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetInstanceLabels Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_SetInstanceMachineType_sync", - "title": "notebooks SetInstanceMachineType Sample", - "description": "SetInstanceMachineType updates the machine type of a single Instance.", - "file": "NotebookClient/SetInstanceMachineType/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceMachineType", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.SetInstanceMachineType", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceMachineType", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "SetInstanceMachineType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SetInstanceMachineTypeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SetInstanceMachineTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInstanceMachineTypeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "SetInstanceMachineType", - "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceMachineType", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "SetInstanceMachineType" }, + "description": "SetInstanceMachineType updates the machine type of a single Instance.", + "file": "NotebookClient/SetInstanceMachineType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_SetInstanceMachineType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetInstanceMachineType Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_StartInstance_sync", - "title": "notebooks StartInstance Sample", - "description": "StartInstance starts a notebook instance.", - "file": "NotebookClient/StartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.StartInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.StartInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "StartInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.StartInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "StartInstance" }, + "description": "StartInstance starts a notebook instance.", + "file": "NotebookClient/StartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_StartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StartInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_StopInstance_sync", - "title": "notebooks StopInstance Sample", - "description": "StopInstance stops a notebook instance.", - "file": "NotebookClient/StopInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.StopInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.StopInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StopInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "StopInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.StopInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "StopInstance" }, + "description": "StopInstance stops a notebook instance.", + "file": "NotebookClient/StopInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_StopInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StopInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_TestIamPermissions_sync", - "title": "notebooks 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": "NotebookClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "NotebookClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks TestIamPermissions Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_TriggerSchedule_sync", - "title": "notebooks TriggerSchedule Sample", - "description": "TriggerSchedule triggers execution of an existing schedule.", - "file": "NotebookClient/TriggerSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "TriggerSchedule", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.TriggerSchedule", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.TriggerSchedule", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "TriggerSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.TriggerScheduleRequest", - "name": "req" + "name": "req", + "type": "notebookspb.TriggerScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TriggerScheduleOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "TriggerSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.TriggerSchedule", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "TriggerSchedule" }, + "description": "TriggerSchedule triggers execution of an existing schedule.", + "file": "NotebookClient/TriggerSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_TriggerSchedule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks TriggerSchedule Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_UpdateInstanceConfig_sync", - "title": "notebooks UpdateInstanceConfig Sample", - "description": "UpdateInstanceConfig update Notebook Instance configurations.", - "file": "NotebookClient/UpdateInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstanceConfig", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.UpdateInstanceConfig", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfig", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpdateInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpdateInstanceConfigRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpdateInstanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceConfigOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "UpdateInstanceConfig", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfig", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "UpdateInstanceConfig" }, + "description": "UpdateInstanceConfig update Notebook Instance configurations.", + "file": "NotebookClient/UpdateInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_UpdateInstanceConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpdateInstanceConfig Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_UpdateInstanceMetadataItems_sync", - "title": "notebooks UpdateInstanceMetadataItems Sample", - "description": "UpdateInstanceMetadataItems add/update metadata items for an instance.", - "file": "NotebookClient/UpdateInstanceMetadataItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstanceMetadataItems", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.UpdateInstanceMetadataItems", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItems", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpdateInstanceMetadataItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpdateInstanceMetadataItemsRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpdateInstanceMetadataItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.UpdateInstanceMetadataItemsResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "UpdateInstanceMetadataItems", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItems", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "UpdateInstanceMetadataItems" }, + "description": "UpdateInstanceMetadataItems add/update metadata items for an instance.", + "file": "NotebookClient/UpdateInstanceMetadataItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_UpdateInstanceMetadataItems_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpdateInstanceMetadataItems Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_UpdateShieldedInstanceConfig_sync", - "title": "notebooks UpdateShieldedInstanceConfig Sample", - "description": "UpdateShieldedInstanceConfig updates the Shielded instance configuration of a single Instance.", - "file": "NotebookClient/UpdateShieldedInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateShieldedInstanceConfig", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.UpdateShieldedInstanceConfig", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfig", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpdateShieldedInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpdateShieldedInstanceConfigRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpdateShieldedInstanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateShieldedInstanceConfigOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "UpdateShieldedInstanceConfig", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfig", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "UpdateShieldedInstanceConfig" }, + "description": "UpdateShieldedInstanceConfig updates the Shielded instance configuration of a single Instance.", + "file": "NotebookClient/UpdateShieldedInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_UpdateShieldedInstanceConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpdateShieldedInstanceConfig Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_UpgradeInstance_sync", - "title": "notebooks UpgradeInstance Sample", - "description": "UpgradeInstance upgrades a notebook instance to the latest version.", - "file": "NotebookClient/UpgradeInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstance", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.UpgradeInstance", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstance", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpgradeInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpgradeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "UpgradeInstance" }, + "description": "UpgradeInstance upgrades a notebook instance to the latest version.", + "file": "NotebookClient/UpgradeInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_UpgradeInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpgradeInstance Sample" }, { - "regionTag": "notebooks_v1_generated_NotebookService_UpgradeInstanceInternal_sync", - "title": "notebooks UpgradeInstanceInternal Sample", - "description": "UpgradeInstanceInternal allows notebook instances to\ncall this endpoint to upgrade themselves. Do not use this method directly.", - "file": "NotebookClient/UpgradeInstanceInternal/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstanceInternal", + "client": { + "fullName": "google.cloud.notebooks.v1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1.NotebookClient.UpgradeInstanceInternal", + "method": { + "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstanceInternal", + "service": { + "fullName": "google.cloud.notebooks.v1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeInstanceInternal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpgradeInstanceInternalRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpgradeInstanceInternalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceInternalOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1.NotebookClient" - }, - "method": { - "shortName": "UpgradeInstanceInternal", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstanceInternal", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService" - } - } + "shortName": "UpgradeInstanceInternal" }, + "description": "UpgradeInstanceInternal allows notebook instances to\ncall this endpoint to upgrade themselves. Do not use this method directly.", + "file": "NotebookClient/UpgradeInstanceInternal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1_generated_NotebookService_UpgradeInstanceInternal_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpgradeInstanceInternal Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json b/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json index 22a5fc7eea39..954d9cd5336e 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json +++ b/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json @@ -1,1301 +1,1301 @@ { "clientLibrary": { - "name": "cloud.google.com/go/notebooks/apiv1beta1", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.notebooks.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/notebooks/apiv1beta1", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "notebooks_v1beta1_generated_NotebookService_CancelOperation_sync", - "title": "notebooks CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CancelOperation Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_CreateEnvironment_sync", - "title": "notebooks CreateEnvironment Sample", - "description": "CreateEnvironment creates a new Environment.", - "file": "NotebookClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateEnvironment", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEnvironmentOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateEnvironment", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment creates a new Environment.", + "file": "NotebookClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateEnvironment Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_CreateInstance_sync", - "title": "notebooks CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "NotebookClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.CreateInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "NotebookClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_DeleteEnvironment_sync", - "title": "notebooks DeleteEnvironment Sample", - "description": "DeleteEnvironment deletes a single Environment.", - "file": "NotebookClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteEnvironment", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEnvironmentOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteEnvironment", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "DeleteEnvironment" }, + "description": "DeleteEnvironment deletes a single Environment.", + "file": "NotebookClient/DeleteEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_DeleteEnvironment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteEnvironment Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_DeleteInstance_sync", - "title": "notebooks DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "NotebookClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.DeleteInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "NotebookClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_DeleteOperation_sync", - "title": "notebooks DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteOperation Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_GetEnvironment_sync", - "title": "notebooks GetEnvironment Sample", - "description": "GetEnvironment gets details of a single Environment.", - "file": "NotebookClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.GetEnvironment", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetEnvironment", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Environment", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetEnvironment", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment gets details of a single Environment.", + "file": "NotebookClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetEnvironment Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_GetIamPolicy_sync", - "title": "notebooks 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": "NotebookClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "NotebookClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetIamPolicy Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_GetInstance_sync", - "title": "notebooks GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "NotebookClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.GetInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Instance", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "NotebookClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_GetLocation_sync", - "title": "notebooks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "NotebookClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "NotebookClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetLocation Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_GetOperation_sync", - "title": "notebooks GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetOperation Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_IsInstanceUpgradeable_sync", - "title": "notebooks IsInstanceUpgradeable Sample", - "description": "IsInstanceUpgradeable check if a notebook instance is upgradable.\nDeprecated. Please consider using v1.\n\n\nDeprecated: IsInstanceUpgradeable may be removed in a future version.", - "file": "NotebookClient/IsInstanceUpgradeable/main.go", - "language": "GO", "clientMethod": { - "shortName": "IsInstanceUpgradeable", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.IsInstanceUpgradeable", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.IsInstanceUpgradeable", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "IsInstanceUpgradeable" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.IsInstanceUpgradeableRequest", - "name": "req" + "name": "req", + "type": "notebookspb.IsInstanceUpgradeableRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.IsInstanceUpgradeableResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "IsInstanceUpgradeable", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.IsInstanceUpgradeable", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "IsInstanceUpgradeable" }, + "description": "IsInstanceUpgradeable check if a notebook instance is upgradable.\nDeprecated. Please consider using v1.\n\n\nDeprecated: IsInstanceUpgradeable may be removed in a future version.", + "file": "NotebookClient/IsInstanceUpgradeable/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_IsInstanceUpgradeable_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks IsInstanceUpgradeable Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_ListEnvironments_sync", - "title": "notebooks ListEnvironments Sample", - "description": "ListEnvironments lists environments in a project.", - "file": "NotebookClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.ListEnvironments", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListEnvironments", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListEnvironments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListEnvironments", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments lists environments in a project.", + "file": "NotebookClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListEnvironments Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_ListInstances_sync", - "title": "notebooks ListInstances Sample", - "description": "ListInstances lists instances in a given project and location.", - "file": "NotebookClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.ListInstances", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListInstances", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListInstances", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists instances in a given project and location.", + "file": "NotebookClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListInstances Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_ListLocations_sync", - "title": "notebooks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "NotebookClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "NotebookClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListLocations Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_ListOperations_sync", - "title": "notebooks ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListOperations Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_RegisterInstance_sync", - "title": "notebooks RegisterInstance Sample", - "description": "RegisterInstance registers an existing legacy notebook instance to the Notebooks API server.\nLegacy instances are instances created with the legacy Compute Engine\ncalls. They are not manageable by the Notebooks API out of the box. This\ncall makes these instances manageable by the Notebooks API.", - "file": "NotebookClient/RegisterInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.RegisterInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.RegisterInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "RegisterInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.RegisterInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.RegisterInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegisterInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "RegisterInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.RegisterInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "RegisterInstance" }, + "description": "RegisterInstance registers an existing legacy notebook instance to the Notebooks API server.\nLegacy instances are instances created with the legacy Compute Engine\ncalls. They are not manageable by the Notebooks API out of the box. This\ncall makes these instances manageable by the Notebooks API.", + "file": "NotebookClient/RegisterInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_RegisterInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks RegisterInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_ReportInstanceInfo_sync", - "title": "notebooks ReportInstanceInfo Sample", - "description": "ReportInstanceInfo allows notebook instances to\nreport their latest instance information to the Notebooks\nAPI server. The server will merge the reported information to\nthe instance metadata store. Do not use this method directly.", - "file": "NotebookClient/ReportInstanceInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportInstanceInfo", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.ReportInstanceInfo", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ReportInstanceInfo", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ReportInstanceInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ReportInstanceInfoRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ReportInstanceInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportInstanceInfoOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ReportInstanceInfo", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ReportInstanceInfo", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "ReportInstanceInfo" }, + "description": "ReportInstanceInfo allows notebook instances to\nreport their latest instance information to the Notebooks\nAPI server. The server will merge the reported information to\nthe instance metadata store. Do not use this method directly.", + "file": "NotebookClient/ReportInstanceInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_ReportInstanceInfo_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ReportInstanceInfo Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_ResetInstance_sync", - "title": "notebooks ResetInstance Sample", - "description": "ResetInstance resets a notebook instance.", - "file": "NotebookClient/ResetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.ResetInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ResetInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ResetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ResetInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ResetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "ResetInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ResetInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "ResetInstance" }, + "description": "ResetInstance resets a notebook instance.", + "file": "NotebookClient/ResetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_ResetInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ResetInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_SetIamPolicy_sync", - "title": "notebooks 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": "NotebookClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "NotebookClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetIamPolicy Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_SetInstanceAccelerator_sync", - "title": "notebooks SetInstanceAccelerator Sample", - "description": "SetInstanceAccelerator updates the guest accelerators of a single Instance.", - "file": "NotebookClient/SetInstanceAccelerator/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceAccelerator", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.SetInstanceAccelerator", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceAccelerator", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "SetInstanceAccelerator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SetInstanceAcceleratorRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SetInstanceAcceleratorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInstanceAcceleratorOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "SetInstanceAccelerator", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceAccelerator", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "SetInstanceAccelerator" }, + "description": "SetInstanceAccelerator updates the guest accelerators of a single Instance.", + "file": "NotebookClient/SetInstanceAccelerator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_SetInstanceAccelerator_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetInstanceAccelerator Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_SetInstanceLabels_sync", - "title": "notebooks SetInstanceLabels Sample", - "description": "SetInstanceLabels updates the labels of an Instance.", - "file": "NotebookClient/SetInstanceLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceLabels", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.SetInstanceLabels", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceLabels", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "SetInstanceLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SetInstanceLabelsRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SetInstanceLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInstanceLabelsOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "SetInstanceLabels", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceLabels", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "SetInstanceLabels" }, + "description": "SetInstanceLabels updates the labels of an Instance.", + "file": "NotebookClient/SetInstanceLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_SetInstanceLabels_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetInstanceLabels Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_SetInstanceMachineType_sync", - "title": "notebooks SetInstanceMachineType Sample", - "description": "SetInstanceMachineType updates the machine type of a single Instance.", - "file": "NotebookClient/SetInstanceMachineType/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInstanceMachineType", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.SetInstanceMachineType", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceMachineType", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "SetInstanceMachineType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.SetInstanceMachineTypeRequest", - "name": "req" + "name": "req", + "type": "notebookspb.SetInstanceMachineTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInstanceMachineTypeOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "SetInstanceMachineType", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceMachineType", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "SetInstanceMachineType" }, + "description": "SetInstanceMachineType updates the machine type of a single Instance.", + "file": "NotebookClient/SetInstanceMachineType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_SetInstanceMachineType_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetInstanceMachineType Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_StartInstance_sync", - "title": "notebooks StartInstance Sample", - "description": "StartInstance starts a notebook instance.", - "file": "NotebookClient/StartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.StartInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StartInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "StartInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StartInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "StartInstance" }, + "description": "StartInstance starts a notebook instance.", + "file": "NotebookClient/StartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_StartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StartInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_StopInstance_sync", - "title": "notebooks StopInstance Sample", - "description": "StopInstance stops a notebook instance.", - "file": "NotebookClient/StopInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.StopInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StopInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StopInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "StopInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StopInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "StopInstance" }, + "description": "StopInstance stops a notebook instance.", + "file": "NotebookClient/StopInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_StopInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StopInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_TestIamPermissions_sync", - "title": "notebooks 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": "NotebookClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "NotebookClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks TestIamPermissions Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_UpgradeInstance_sync", - "title": "notebooks UpgradeInstance Sample", - "description": "UpgradeInstance upgrades a notebook instance to the latest version.\nDeprecated. Please consider using v1.\n\n\nDeprecated: UpgradeInstance may be removed in a future version.", - "file": "NotebookClient/UpgradeInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstance", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.UpgradeInstance", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstance", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpgradeInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpgradeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "UpgradeInstance" }, + "description": "UpgradeInstance upgrades a notebook instance to the latest version.\nDeprecated. Please consider using v1.\n\n\nDeprecated: UpgradeInstance may be removed in a future version.", + "file": "NotebookClient/UpgradeInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_UpgradeInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpgradeInstance Sample" }, { - "regionTag": "notebooks_v1beta1_generated_NotebookService_UpgradeInstanceInternal_sync", - "title": "notebooks UpgradeInstanceInternal Sample", - "description": "UpgradeInstanceInternal allows notebook instances to\ncall this endpoint to upgrade themselves. Do not use this method directly.\nDeprecated. Please consider using v1.\n\n\nDeprecated: UpgradeInstanceInternal may be removed in a future version.", - "file": "NotebookClient/UpgradeInstanceInternal/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstanceInternal", + "client": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v1beta1.NotebookClient.UpgradeInstanceInternal", + "method": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstanceInternal", + "service": { + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeInstanceInternal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpgradeInstanceInternalRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpgradeInstanceInternalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceInternalOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v1beta1.NotebookClient" - }, - "method": { - "shortName": "UpgradeInstanceInternal", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstanceInternal", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService" - } - } + "shortName": "UpgradeInstanceInternal" }, + "description": "UpgradeInstanceInternal allows notebook instances to\ncall this endpoint to upgrade themselves. Do not use this method directly.\nDeprecated. Please consider using v1.\n\n\nDeprecated: UpgradeInstanceInternal may be removed in a future version.", + "file": "NotebookClient/UpgradeInstanceInternal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v1beta1_generated_NotebookService_UpgradeInstanceInternal_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpgradeInstanceInternal Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json b/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json index 4f56a8620e25..fce7f1f06b4d 100644 --- a/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json +++ b/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json @@ -1,979 +1,979 @@ { "clientLibrary": { - "name": "cloud.google.com/go/notebooks/apiv2", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.notebooks.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/notebooks/apiv2", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "notebooks_v2_generated_NotebookService_CancelOperation_sync", - "title": "notebooks CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CancelOperation Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_CheckInstanceUpgradability_sync", - "title": "notebooks CheckInstanceUpgradability Sample", - "description": "CheckInstanceUpgradability checks whether a notebook instance is upgradable.", - "file": "NotebookClient/CheckInstanceUpgradability/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckInstanceUpgradability", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.CheckInstanceUpgradability", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.CheckInstanceUpgradability", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CheckInstanceUpgradability" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CheckInstanceUpgradabilityRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CheckInstanceUpgradabilityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.CheckInstanceUpgradabilityResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "CheckInstanceUpgradability", - "fullName": "google.cloud.notebooks.v2.NotebookService.CheckInstanceUpgradability", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "CheckInstanceUpgradability" }, + "description": "CheckInstanceUpgradability checks whether a notebook instance is upgradable.", + "file": "NotebookClient/CheckInstanceUpgradability/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_CheckInstanceUpgradability_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CheckInstanceUpgradability Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_CreateInstance_sync", - "title": "notebooks CreateInstance Sample", - "description": "CreateInstance creates a new Instance in a given project and location.", - "file": "NotebookClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.CreateInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.CreateInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.CreateInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new Instance in a given project and location.", + "file": "NotebookClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks CreateInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_DeleteInstance_sync", - "title": "notebooks DeleteInstance Sample", - "description": "DeleteInstance deletes a single Instance.", - "file": "NotebookClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.DeleteInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.DeleteInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.DeleteInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single Instance.", + "file": "NotebookClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_DeleteOperation_sync", - "title": "notebooks DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DeleteOperation Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_DiagnoseInstance_sync", - "title": "notebooks DiagnoseInstance Sample", - "description": "DiagnoseInstance creates a Diagnostic File and runs Diagnostic Tool given an Instance.", - "file": "NotebookClient/DiagnoseInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiagnoseInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.DiagnoseInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.DiagnoseInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "DiagnoseInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.DiagnoseInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.DiagnoseInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DiagnoseInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "DiagnoseInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.DiagnoseInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "DiagnoseInstance" }, + "description": "DiagnoseInstance creates a Diagnostic File and runs Diagnostic Tool given an Instance.", + "file": "NotebookClient/DiagnoseInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_DiagnoseInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks DiagnoseInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_GetIamPolicy_sync", - "title": "notebooks 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": "NotebookClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "NotebookClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetIamPolicy Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_GetInstance_sync", - "title": "notebooks GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "NotebookClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.GetInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.GetInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notebookspb.Instance", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.GetInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "NotebookClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_GetLocation_sync", - "title": "notebooks GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "NotebookClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "NotebookClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetLocation Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_GetOperation_sync", - "title": "notebooks GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks GetOperation Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_ListInstances_sync", - "title": "notebooks ListInstances Sample", - "description": "ListInstances lists instances in a given project and location.", - "file": "NotebookClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.ListInstances", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.ListInstances", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.notebooks.v2.NotebookService.ListInstances", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists instances in a given project and location.", + "file": "NotebookClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListInstances Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_ListLocations_sync", - "title": "notebooks ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "NotebookClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "NotebookClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListLocations Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_ListOperations_sync", - "title": "notebooks ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "NotebookClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "NotebookClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ListOperations Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_ResetInstance_sync", - "title": "notebooks ResetInstance Sample", - "description": "ResetInstance resets a notebook instance.", - "file": "NotebookClient/ResetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.ResetInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.ResetInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "ResetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.ResetInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.ResetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "ResetInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.ResetInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "ResetInstance" }, + "description": "ResetInstance resets a notebook instance.", + "file": "NotebookClient/ResetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_ResetInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks ResetInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_RollbackInstance_sync", - "title": "notebooks RollbackInstance Sample", - "description": "RollbackInstance rollbacks a notebook instance to the previous version.", - "file": "NotebookClient/RollbackInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.RollbackInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.RollbackInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "RollbackInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.RollbackInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.RollbackInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RollbackInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "RollbackInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.RollbackInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "RollbackInstance" }, + "description": "RollbackInstance rollbacks a notebook instance to the previous version.", + "file": "NotebookClient/RollbackInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_RollbackInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks RollbackInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_SetIamPolicy_sync", - "title": "notebooks 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": "NotebookClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "NotebookClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks SetIamPolicy Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_StartInstance_sync", - "title": "notebooks StartInstance Sample", - "description": "StartInstance starts a notebook instance.", - "file": "NotebookClient/StartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.StartInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.StartInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "StartInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.StartInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "StartInstance" }, + "description": "StartInstance starts a notebook instance.", + "file": "NotebookClient/StartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_StartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StartInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_StopInstance_sync", - "title": "notebooks StopInstance Sample", - "description": "StopInstance stops a notebook instance.", - "file": "NotebookClient/StopInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.StopInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.StopInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "StopInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "StopInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.StopInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "StopInstance" }, + "description": "StopInstance stops a notebook instance.", + "file": "NotebookClient/StopInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_StopInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks StopInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_TestIamPermissions_sync", - "title": "notebooks 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": "NotebookClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "NotebookClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks TestIamPermissions Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_UpdateInstance_sync", - "title": "notebooks UpdateInstance Sample", - "description": "UpdateInstance updateInstance updates an Instance.", - "file": "NotebookClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.UpdateInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.UpdateInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.UpdateInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updateInstance updates an Instance.", + "file": "NotebookClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpdateInstance Sample" }, { - "regionTag": "notebooks_v2_generated_NotebookService_UpgradeInstance_sync", - "title": "notebooks UpgradeInstance Sample", - "description": "UpgradeInstance upgrades a notebook instance to the latest version.", - "file": "NotebookClient/UpgradeInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstance", + "client": { + "fullName": "google.cloud.notebooks.v2.NotebookClient", + "shortName": "NotebookClient" + }, "fullName": "google.cloud.notebooks.v2.NotebookClient.UpgradeInstance", + "method": { + "fullName": "google.cloud.notebooks.v2.NotebookService.UpgradeInstance", + "service": { + "fullName": "google.cloud.notebooks.v2.NotebookService", + "shortName": "NotebookService" + }, + "shortName": "UpgradeInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notebookspb.UpgradeInstanceRequest", - "name": "req" + "name": "req", + "type": "notebookspb.UpgradeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceOperation", - "client": { - "shortName": "NotebookClient", - "fullName": "google.cloud.notebooks.v2.NotebookClient" - }, - "method": { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.notebooks.v2.NotebookService.UpgradeInstance", - "service": { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v2.NotebookService" - } - } + "shortName": "UpgradeInstance" }, + "description": "UpgradeInstance upgrades a notebook instance to the latest version.", + "file": "NotebookClient/UpgradeInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "notebooks_v2_generated_NotebookService_UpgradeInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "notebooks UpgradeInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json index 3879a9e48eb5..1deeaf605ab2 100644 --- a/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json +++ b/internal/generated/snippets/optimization/apiv1/snippet_metadata.google.cloud.optimization.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/optimization/apiv1", - "version": "1.7.7", - "language": "GO", "apis": [ { "id": "google.cloud.optimization.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/optimization/apiv1", + "version": "1.7.7" }, "snippets": [ { - "regionTag": "cloudoptimization_v1_generated_FleetRouting_BatchOptimizeTours_sync", - "title": "cloudoptimization BatchOptimizeTours Sample", - "description": "BatchOptimizeTours optimizes vehicle tours for one or more `OptimizeToursRequest`\nmessages as a batch.\n\nThis method is a Long Running Operation (LRO). The inputs for optimization\n(`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`\nmessages) are read/written from/to Cloud Storage in user-specified\nformat. Like the `OptimizeTours` method, each `OptimizeToursRequest`\ncontains a `ShipmentModel` and returns an `OptimizeToursResponse`\ncontaining `ShipmentRoute`s, which are a set of routes to be performed by\nvehicles minimizing the overall cost.", - "file": "FleetRoutingClient/BatchOptimizeTours/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchOptimizeTours", + "client": { + "fullName": "google.cloud.optimization.v1.FleetRoutingClient", + "shortName": "FleetRoutingClient" + }, "fullName": "google.cloud.optimization.v1.FleetRoutingClient.BatchOptimizeTours", + "method": { + "fullName": "google.cloud.optimization.v1.FleetRouting.BatchOptimizeTours", + "service": { + "fullName": "google.cloud.optimization.v1.FleetRouting", + "shortName": "FleetRouting" + }, + "shortName": "BatchOptimizeTours" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "optimizationpb.BatchOptimizeToursRequest", - "name": "req" + "name": "req", + "type": "optimizationpb.BatchOptimizeToursRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchOptimizeToursOperation", - "client": { - "shortName": "FleetRoutingClient", - "fullName": "google.cloud.optimization.v1.FleetRoutingClient" - }, - "method": { - "shortName": "BatchOptimizeTours", - "fullName": "google.cloud.optimization.v1.FleetRouting.BatchOptimizeTours", - "service": { - "shortName": "FleetRouting", - "fullName": "google.cloud.optimization.v1.FleetRouting" - } - } + "shortName": "BatchOptimizeTours" }, + "description": "BatchOptimizeTours optimizes vehicle tours for one or more `OptimizeToursRequest`\nmessages as a batch.\n\nThis method is a Long Running Operation (LRO). The inputs for optimization\n(`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`\nmessages) are read/written from/to Cloud Storage in user-specified\nformat. Like the `OptimizeTours` method, each `OptimizeToursRequest`\ncontains a `ShipmentModel` and returns an `OptimizeToursResponse`\ncontaining `ShipmentRoute`s, which are a set of routes to be performed by\nvehicles minimizing the overall cost.", + "file": "FleetRoutingClient/BatchOptimizeTours/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudoptimization_v1_generated_FleetRouting_BatchOptimizeTours_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudoptimization BatchOptimizeTours Sample" }, { - "regionTag": "cloudoptimization_v1_generated_FleetRouting_GetOperation_sync", - "title": "cloudoptimization GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FleetRoutingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.optimization.v1.FleetRoutingClient", + "shortName": "FleetRoutingClient" + }, "fullName": "google.cloud.optimization.v1.FleetRoutingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FleetRoutingClient", - "fullName": "google.cloud.optimization.v1.FleetRoutingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FleetRoutingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudoptimization_v1_generated_FleetRouting_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudoptimization GetOperation Sample" }, { - "regionTag": "cloudoptimization_v1_generated_FleetRouting_OptimizeTours_sync", - "title": "cloudoptimization OptimizeTours Sample", - "description": "OptimizeTours sends an `OptimizeToursRequest` containing a `ShipmentModel` and returns an\n`OptimizeToursResponse` containing `ShipmentRoute`s, which are a set of\nroutes to be performed by vehicles minimizing the overall cost.\n\nA `ShipmentModel` model consists mainly of `Shipment`s that need to be\ncarried out and `Vehicle`s that can be used to transport the `Shipment`s.\nThe `ShipmentRoute`s assign `Shipment`s to `Vehicle`s. More specifically,\nthey assign a series of `Visit`s to each vehicle, where a `Visit`\ncorresponds to a `VisitRequest`, which is a pickup or delivery for a\n`Shipment`.\n\nThe goal is to provide an assignment of `ShipmentRoute`s to `Vehicle`s that\nminimizes the total cost where cost has many components defined in the\n`ShipmentModel`.", - "file": "FleetRoutingClient/OptimizeTours/main.go", - "language": "GO", "clientMethod": { - "shortName": "OptimizeTours", + "client": { + "fullName": "google.cloud.optimization.v1.FleetRoutingClient", + "shortName": "FleetRoutingClient" + }, "fullName": "google.cloud.optimization.v1.FleetRoutingClient.OptimizeTours", + "method": { + "fullName": "google.cloud.optimization.v1.FleetRouting.OptimizeTours", + "service": { + "fullName": "google.cloud.optimization.v1.FleetRouting", + "shortName": "FleetRouting" + }, + "shortName": "OptimizeTours" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "optimizationpb.OptimizeToursRequest", - "name": "req" + "name": "req", + "type": "optimizationpb.OptimizeToursRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*optimizationpb.OptimizeToursResponse", - "client": { - "shortName": "FleetRoutingClient", - "fullName": "google.cloud.optimization.v1.FleetRoutingClient" - }, - "method": { - "shortName": "OptimizeTours", - "fullName": "google.cloud.optimization.v1.FleetRouting.OptimizeTours", - "service": { - "shortName": "FleetRouting", - "fullName": "google.cloud.optimization.v1.FleetRouting" - } - } + "shortName": "OptimizeTours" }, + "description": "OptimizeTours sends an `OptimizeToursRequest` containing a `ShipmentModel` and returns an\n`OptimizeToursResponse` containing `ShipmentRoute`s, which are a set of\nroutes to be performed by vehicles minimizing the overall cost.\n\nA `ShipmentModel` model consists mainly of `Shipment`s that need to be\ncarried out and `Vehicle`s that can be used to transport the `Shipment`s.\nThe `ShipmentRoute`s assign `Shipment`s to `Vehicle`s. More specifically,\nthey assign a series of `Visit`s to each vehicle, where a `Visit`\ncorresponds to a `VisitRequest`, which is a pickup or delivery for a\n`Shipment`.\n\nThe goal is to provide an assignment of `ShipmentRoute`s to `Vehicle`s that\nminimizes the total cost where cost has many components defined in the\n`ShipmentModel`.", + "file": "FleetRoutingClient/OptimizeTours/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudoptimization_v1_generated_FleetRouting_OptimizeTours_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudoptimization OptimizeTours Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json b/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json index 5fb3a268802d..eab45ce192be 100644 --- a/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json +++ b/internal/generated/snippets/oracledatabase/apiv1/snippet_metadata.google.cloud.oracledatabase.v1.json @@ -1,2957 +1,2957 @@ { "clientLibrary": { - "name": "cloud.google.com/go/oracledatabase/apiv1", - "version": "0.6.0", - "language": "GO", "apis": [ { "id": "google.cloud.oracledatabase.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/oracledatabase/apiv1", + "version": "0.6.0" }, "snippets": [ { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CancelOperation_sync", - "title": "oracledatabase CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CancelOperation Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateAutonomousDatabase_sync", - "title": "oracledatabase CreateAutonomousDatabase Sample", - "description": "CreateAutonomousDatabase creates a new Autonomous Database in a given project and location.", - "file": "Client/CreateAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateAutonomousDatabase" }, + "description": "CreateAutonomousDatabase creates a new Autonomous Database in a given project and location.", + "file": "Client/CreateAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateCloudExadataInfrastructure_sync", - "title": "oracledatabase CreateCloudExadataInfrastructure Sample", - "description": "CreateCloudExadataInfrastructure creates a new Exadata Infrastructure in a given project and location.", - "file": "Client/CreateCloudExadataInfrastructure/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCloudExadataInfrastructure", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateCloudExadataInfrastructure", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateCloudExadataInfrastructure", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateCloudExadataInfrastructure" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateCloudExadataInfrastructureRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateCloudExadataInfrastructureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCloudExadataInfrastructureOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateCloudExadataInfrastructure", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateCloudExadataInfrastructure", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateCloudExadataInfrastructure" }, + "description": "CreateCloudExadataInfrastructure creates a new Exadata Infrastructure in a given project and location.", + "file": "Client/CreateCloudExadataInfrastructure/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateCloudExadataInfrastructure_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateCloudExadataInfrastructure Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateCloudVmCluster_sync", - "title": "oracledatabase CreateCloudVmCluster Sample", - "description": "CreateCloudVmCluster creates a new VM Cluster in a given project and location.", - "file": "Client/CreateCloudVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCloudVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateCloudVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateCloudVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateCloudVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateCloudVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateCloudVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCloudVmClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateCloudVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateCloudVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateCloudVmCluster" }, + "description": "CreateCloudVmCluster creates a new VM Cluster in a given project and location.", + "file": "Client/CreateCloudVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateCloudVmCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateCloudVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateDbSystem_sync", - "title": "oracledatabase CreateDbSystem Sample", - "description": "CreateDbSystem creates a new DbSystem in a given project and location.", - "file": "Client/CreateDbSystem/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDbSystem", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateDbSystem", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateDbSystem", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateDbSystem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateDbSystemRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateDbSystemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDbSystemOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateDbSystem", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateDbSystem", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateDbSystem" }, + "description": "CreateDbSystem creates a new DbSystem in a given project and location.", + "file": "Client/CreateDbSystem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateDbSystem_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateDbSystem Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateExadbVmCluster_sync", - "title": "oracledatabase CreateExadbVmCluster Sample", - "description": "CreateExadbVmCluster creates a new Exadb (Exascale) VM Cluster resource.", - "file": "Client/CreateExadbVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExadbVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateExadbVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateExadbVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateExadbVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateExadbVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateExadbVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateExadbVmClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateExadbVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateExadbVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateExadbVmCluster" }, + "description": "CreateExadbVmCluster creates a new Exadb (Exascale) VM Cluster resource.", + "file": "Client/CreateExadbVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateExadbVmCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateExadbVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateExascaleDbStorageVault_sync", - "title": "oracledatabase CreateExascaleDbStorageVault Sample", - "description": "CreateExascaleDbStorageVault creates a new ExascaleDB Storage Vault resource.", - "file": "Client/CreateExascaleDbStorageVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExascaleDbStorageVault", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateExascaleDbStorageVault", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateExascaleDbStorageVault", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateExascaleDbStorageVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateExascaleDbStorageVaultRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateExascaleDbStorageVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateExascaleDbStorageVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateExascaleDbStorageVault", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateExascaleDbStorageVault", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateExascaleDbStorageVault" }, + "description": "CreateExascaleDbStorageVault creates a new ExascaleDB Storage Vault resource.", + "file": "Client/CreateExascaleDbStorageVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateExascaleDbStorageVault_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateExascaleDbStorageVault Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateOdbNetwork_sync", - "title": "oracledatabase CreateOdbNetwork Sample", - "description": "CreateOdbNetwork creates a new ODB Network in a given project and location.", - "file": "Client/CreateOdbNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOdbNetwork", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateOdbNetwork", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateOdbNetwork", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateOdbNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateOdbNetworkRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateOdbNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOdbNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateOdbNetwork", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateOdbNetwork", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateOdbNetwork" }, + "description": "CreateOdbNetwork creates a new ODB Network in a given project and location.", + "file": "Client/CreateOdbNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateOdbNetwork_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateOdbNetwork Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateOdbSubnet_sync", - "title": "oracledatabase CreateOdbSubnet Sample", - "description": "CreateOdbSubnet creates a new ODB Subnet in a given ODB Network.", - "file": "Client/CreateOdbSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOdbSubnet", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.CreateOdbSubnet", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateOdbSubnet", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "CreateOdbSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.CreateOdbSubnetRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.CreateOdbSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOdbSubnetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "CreateOdbSubnet", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.CreateOdbSubnet", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "CreateOdbSubnet" }, + "description": "CreateOdbSubnet creates a new ODB Subnet in a given ODB Network.", + "file": "Client/CreateOdbSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_CreateOdbSubnet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase CreateOdbSubnet Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteAutonomousDatabase_sync", - "title": "oracledatabase DeleteAutonomousDatabase Sample", - "description": "DeleteAutonomousDatabase deletes a single Autonomous Database.", - "file": "Client/DeleteAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteAutonomousDatabase" }, + "description": "DeleteAutonomousDatabase deletes a single Autonomous Database.", + "file": "Client/DeleteAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteCloudExadataInfrastructure_sync", - "title": "oracledatabase DeleteCloudExadataInfrastructure Sample", - "description": "DeleteCloudExadataInfrastructure deletes a single Exadata Infrastructure.", - "file": "Client/DeleteCloudExadataInfrastructure/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCloudExadataInfrastructure", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteCloudExadataInfrastructure", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteCloudExadataInfrastructure", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteCloudExadataInfrastructure" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteCloudExadataInfrastructureRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteCloudExadataInfrastructureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCloudExadataInfrastructureOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteCloudExadataInfrastructure", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteCloudExadataInfrastructure", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteCloudExadataInfrastructure" }, + "description": "DeleteCloudExadataInfrastructure deletes a single Exadata Infrastructure.", + "file": "Client/DeleteCloudExadataInfrastructure/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteCloudExadataInfrastructure_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteCloudExadataInfrastructure Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteCloudVmCluster_sync", - "title": "oracledatabase DeleteCloudVmCluster Sample", - "description": "DeleteCloudVmCluster deletes a single VM Cluster.", - "file": "Client/DeleteCloudVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCloudVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteCloudVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteCloudVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteCloudVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteCloudVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteCloudVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCloudVmClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteCloudVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteCloudVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteCloudVmCluster" }, + "description": "DeleteCloudVmCluster deletes a single VM Cluster.", + "file": "Client/DeleteCloudVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteCloudVmCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteCloudVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteDbSystem_sync", - "title": "oracledatabase DeleteDbSystem Sample", - "description": "DeleteDbSystem deletes a single DbSystem.", - "file": "Client/DeleteDbSystem/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDbSystem", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteDbSystem", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteDbSystem", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteDbSystem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteDbSystemRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteDbSystemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDbSystemOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteDbSystem", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteDbSystem", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteDbSystem" }, + "description": "DeleteDbSystem deletes a single DbSystem.", + "file": "Client/DeleteDbSystem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteDbSystem_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteDbSystem Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteExadbVmCluster_sync", - "title": "oracledatabase DeleteExadbVmCluster Sample", - "description": "DeleteExadbVmCluster deletes a single Exadb (Exascale) VM Cluster.", - "file": "Client/DeleteExadbVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExadbVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteExadbVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteExadbVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteExadbVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteExadbVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteExadbVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExadbVmClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteExadbVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteExadbVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteExadbVmCluster" }, + "description": "DeleteExadbVmCluster deletes a single Exadb (Exascale) VM Cluster.", + "file": "Client/DeleteExadbVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteExadbVmCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteExadbVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteExascaleDbStorageVault_sync", - "title": "oracledatabase DeleteExascaleDbStorageVault Sample", - "description": "DeleteExascaleDbStorageVault deletes a single ExascaleDB Storage Vault.", - "file": "Client/DeleteExascaleDbStorageVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExascaleDbStorageVault", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteExascaleDbStorageVault", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteExascaleDbStorageVault", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteExascaleDbStorageVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteExascaleDbStorageVaultRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteExascaleDbStorageVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExascaleDbStorageVaultOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteExascaleDbStorageVault", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteExascaleDbStorageVault", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteExascaleDbStorageVault" }, + "description": "DeleteExascaleDbStorageVault deletes a single ExascaleDB Storage Vault.", + "file": "Client/DeleteExascaleDbStorageVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteExascaleDbStorageVault_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteExascaleDbStorageVault Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteOdbNetwork_sync", - "title": "oracledatabase DeleteOdbNetwork Sample", - "description": "DeleteOdbNetwork deletes a single ODB Network.", - "file": "Client/DeleteOdbNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOdbNetwork", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteOdbNetwork", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteOdbNetwork", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteOdbNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteOdbNetworkRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteOdbNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteOdbNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteOdbNetwork", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteOdbNetwork", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteOdbNetwork" }, + "description": "DeleteOdbNetwork deletes a single ODB Network.", + "file": "Client/DeleteOdbNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteOdbNetwork_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteOdbNetwork Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteOdbSubnet_sync", - "title": "oracledatabase DeleteOdbSubnet Sample", - "description": "DeleteOdbSubnet deletes a single ODB Subnet.", - "file": "Client/DeleteOdbSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOdbSubnet", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteOdbSubnet", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteOdbSubnet", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "DeleteOdbSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.DeleteOdbSubnetRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.DeleteOdbSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteOdbSubnetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteOdbSubnet", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.DeleteOdbSubnet", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "DeleteOdbSubnet" }, + "description": "DeleteOdbSubnet deletes a single ODB Subnet.", + "file": "Client/DeleteOdbSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteOdbSubnet_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteOdbSubnet Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteOperation_sync", - "title": "oracledatabase DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase DeleteOperation Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_FailoverAutonomousDatabase_sync", - "title": "oracledatabase FailoverAutonomousDatabase Sample", - "description": "FailoverAutonomousDatabase initiates a failover to target autonomous database from the associated\nprimary database.", - "file": "Client/FailoverAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.FailoverAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.FailoverAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "FailoverAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.FailoverAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.FailoverAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FailoverAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "FailoverAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.FailoverAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "FailoverAutonomousDatabase" }, + "description": "FailoverAutonomousDatabase initiates a failover to target autonomous database from the associated\nprimary database.", + "file": "Client/FailoverAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_FailoverAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase FailoverAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GenerateAutonomousDatabaseWallet_sync", - "title": "oracledatabase GenerateAutonomousDatabaseWallet Sample", - "description": "GenerateAutonomousDatabaseWallet generates a wallet for an Autonomous Database.", - "file": "Client/GenerateAutonomousDatabaseWallet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAutonomousDatabaseWallet", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GenerateAutonomousDatabaseWallet", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GenerateAutonomousDatabaseWallet", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GenerateAutonomousDatabaseWallet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GenerateAutonomousDatabaseWalletRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GenerateAutonomousDatabaseWalletRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.GenerateAutonomousDatabaseWalletResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GenerateAutonomousDatabaseWallet", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GenerateAutonomousDatabaseWallet", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GenerateAutonomousDatabaseWallet" }, + "description": "GenerateAutonomousDatabaseWallet generates a wallet for an Autonomous Database.", + "file": "Client/GenerateAutonomousDatabaseWallet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GenerateAutonomousDatabaseWallet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GenerateAutonomousDatabaseWallet Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetAutonomousDatabase_sync", - "title": "oracledatabase GetAutonomousDatabase Sample", - "description": "GetAutonomousDatabase gets the details of a single Autonomous Database.", - "file": "Client/GetAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.AutonomousDatabase", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetAutonomousDatabase" }, + "description": "GetAutonomousDatabase gets the details of a single Autonomous Database.", + "file": "Client/GetAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetCloudExadataInfrastructure_sync", - "title": "oracledatabase GetCloudExadataInfrastructure Sample", - "description": "GetCloudExadataInfrastructure gets details of a single Exadata Infrastructure.", - "file": "Client/GetCloudExadataInfrastructure/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCloudExadataInfrastructure", - "fullName": "google.cloud.oracledatabase.v1.Client.GetCloudExadataInfrastructure", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "oracledatabasepb.GetCloudExadataInfrastructureRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*oracledatabasepb.CloudExadataInfrastructure", "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.oracledatabase.v1.Client.GetCloudExadataInfrastructure", "method": { - "shortName": "GetCloudExadataInfrastructure", "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetCloudExadataInfrastructure", "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetCloudExadataInfrastructure" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "oracledatabasepb.GetCloudExadataInfrastructureRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*oracledatabasepb.CloudExadataInfrastructure", + "shortName": "GetCloudExadataInfrastructure" }, + "description": "GetCloudExadataInfrastructure gets details of a single Exadata Infrastructure.", + "file": "Client/GetCloudExadataInfrastructure/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetCloudExadataInfrastructure_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetCloudExadataInfrastructure Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetCloudVmCluster_sync", - "title": "oracledatabase GetCloudVmCluster Sample", - "description": "GetCloudVmCluster gets details of a single VM Cluster.", - "file": "Client/GetCloudVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCloudVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetCloudVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetCloudVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetCloudVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetCloudVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetCloudVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.CloudVmCluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetCloudVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetCloudVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetCloudVmCluster" }, + "description": "GetCloudVmCluster gets details of a single VM Cluster.", + "file": "Client/GetCloudVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetCloudVmCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetCloudVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetDatabase_sync", - "title": "oracledatabase GetDatabase Sample", - "description": "GetDatabase gets details of a single Database.", - "file": "Client/GetDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.Database", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetDatabase" }, + "description": "GetDatabase gets details of a single Database.", + "file": "Client/GetDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetDbSystem_sync", - "title": "oracledatabase GetDbSystem Sample", - "description": "GetDbSystem gets details of a single DbSystem.", - "file": "Client/GetDbSystem/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDbSystem", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetDbSystem", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetDbSystem", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetDbSystem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetDbSystemRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetDbSystemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.DbSystem", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetDbSystem", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetDbSystem", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetDbSystem" }, + "description": "GetDbSystem gets details of a single DbSystem.", + "file": "Client/GetDbSystem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetDbSystem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetDbSystem Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetExadbVmCluster_sync", - "title": "oracledatabase GetExadbVmCluster Sample", - "description": "GetExadbVmCluster gets details of a single Exadb (Exascale) VM Cluster.", - "file": "Client/GetExadbVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExadbVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetExadbVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetExadbVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetExadbVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetExadbVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetExadbVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.ExadbVmCluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetExadbVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetExadbVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetExadbVmCluster" }, + "description": "GetExadbVmCluster gets details of a single Exadb (Exascale) VM Cluster.", + "file": "Client/GetExadbVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetExadbVmCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetExadbVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetExascaleDbStorageVault_sync", - "title": "oracledatabase GetExascaleDbStorageVault Sample", - "description": "GetExascaleDbStorageVault gets details of a single ExascaleDB Storage Vault.", - "file": "Client/GetExascaleDbStorageVault/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExascaleDbStorageVault", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetExascaleDbStorageVault", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetExascaleDbStorageVault", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetExascaleDbStorageVault" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetExascaleDbStorageVaultRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetExascaleDbStorageVaultRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.ExascaleDbStorageVault", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetExascaleDbStorageVault", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetExascaleDbStorageVault", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetExascaleDbStorageVault" }, + "description": "GetExascaleDbStorageVault gets details of a single ExascaleDB Storage Vault.", + "file": "Client/GetExascaleDbStorageVault/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetExascaleDbStorageVault_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetExascaleDbStorageVault Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetLocation_sync", - "title": "oracledatabase GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetLocation Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetOdbNetwork_sync", - "title": "oracledatabase GetOdbNetwork Sample", - "description": "GetOdbNetwork gets details of a single ODB Network.", - "file": "Client/GetOdbNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOdbNetwork", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetOdbNetwork", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetOdbNetwork", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetOdbNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetOdbNetworkRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetOdbNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.OdbNetwork", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetOdbNetwork", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetOdbNetwork", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetOdbNetwork" }, + "description": "GetOdbNetwork gets details of a single ODB Network.", + "file": "Client/GetOdbNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetOdbNetwork_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetOdbNetwork Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetOdbSubnet_sync", - "title": "oracledatabase GetOdbSubnet Sample", - "description": "GetOdbSubnet gets details of a single ODB Subnet.", - "file": "Client/GetOdbSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOdbSubnet", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetOdbSubnet", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetOdbSubnet", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetOdbSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetOdbSubnetRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetOdbSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.OdbSubnet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetOdbSubnet", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetOdbSubnet", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetOdbSubnet" }, + "description": "GetOdbSubnet gets details of a single ODB Subnet.", + "file": "Client/GetOdbSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetOdbSubnet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetOdbSubnet Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetOperation_sync", - "title": "oracledatabase GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetOperation Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetPluggableDatabase_sync", - "title": "oracledatabase GetPluggableDatabase Sample", - "description": "GetPluggableDatabase gets details of a single PluggableDatabase.", - "file": "Client/GetPluggableDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPluggableDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.GetPluggableDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetPluggableDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "GetPluggableDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.GetPluggableDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.GetPluggableDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*oracledatabasepb.PluggableDatabase", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "GetPluggableDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.GetPluggableDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "GetPluggableDatabase" }, + "description": "GetPluggableDatabase gets details of a single PluggableDatabase.", + "file": "Client/GetPluggableDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_GetPluggableDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase GetPluggableDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDatabaseBackups_sync", - "title": "oracledatabase ListAutonomousDatabaseBackups Sample", - "description": "ListAutonomousDatabaseBackups lists the long-term and automatic backups of an Autonomous Database.", - "file": "Client/ListAutonomousDatabaseBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutonomousDatabaseBackups", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListAutonomousDatabaseBackups", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDatabaseBackups", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListAutonomousDatabaseBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListAutonomousDatabaseBackupsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListAutonomousDatabaseBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutonomousDatabaseBackupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListAutonomousDatabaseBackups", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDatabaseBackups", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListAutonomousDatabaseBackups" }, + "description": "ListAutonomousDatabaseBackups lists the long-term and automatic backups of an Autonomous Database.", + "file": "Client/ListAutonomousDatabaseBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDatabaseBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListAutonomousDatabaseBackups Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDatabaseCharacterSets_sync", - "title": "oracledatabase ListAutonomousDatabaseCharacterSets Sample", - "description": "ListAutonomousDatabaseCharacterSets lists Autonomous Database Character Sets in a given project and location.", - "file": "Client/ListAutonomousDatabaseCharacterSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutonomousDatabaseCharacterSets", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListAutonomousDatabaseCharacterSets", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDatabaseCharacterSets", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListAutonomousDatabaseCharacterSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListAutonomousDatabaseCharacterSetsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListAutonomousDatabaseCharacterSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutonomousDatabaseCharacterSetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListAutonomousDatabaseCharacterSets", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDatabaseCharacterSets", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListAutonomousDatabaseCharacterSets" }, + "description": "ListAutonomousDatabaseCharacterSets lists Autonomous Database Character Sets in a given project and location.", + "file": "Client/ListAutonomousDatabaseCharacterSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDatabaseCharacterSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListAutonomousDatabaseCharacterSets Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDatabases_sync", - "title": "oracledatabase ListAutonomousDatabases Sample", - "description": "ListAutonomousDatabases lists the Autonomous Databases in a given project and location.", - "file": "Client/ListAutonomousDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutonomousDatabases", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListAutonomousDatabases", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDatabases", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListAutonomousDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListAutonomousDatabasesRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListAutonomousDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutonomousDatabaseIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListAutonomousDatabases", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDatabases", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListAutonomousDatabases" }, + "description": "ListAutonomousDatabases lists the Autonomous Databases in a given project and location.", + "file": "Client/ListAutonomousDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListAutonomousDatabases Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDbVersions_sync", - "title": "oracledatabase ListAutonomousDbVersions Sample", - "description": "ListAutonomousDbVersions lists all the available Autonomous Database versions for a project and\nlocation.", - "file": "Client/ListAutonomousDbVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAutonomousDbVersions", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListAutonomousDbVersions", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDbVersions", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListAutonomousDbVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListAutonomousDbVersionsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListAutonomousDbVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AutonomousDbVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListAutonomousDbVersions", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListAutonomousDbVersions", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListAutonomousDbVersions" }, + "description": "ListAutonomousDbVersions lists all the available Autonomous Database versions for a project and\nlocation.", + "file": "Client/ListAutonomousDbVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListAutonomousDbVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListAutonomousDbVersions Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListCloudExadataInfrastructures_sync", - "title": "oracledatabase ListCloudExadataInfrastructures Sample", - "description": "ListCloudExadataInfrastructures lists Exadata Infrastructures in a given project and location.", - "file": "Client/ListCloudExadataInfrastructures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCloudExadataInfrastructures", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListCloudExadataInfrastructures", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListCloudExadataInfrastructures", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListCloudExadataInfrastructures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListCloudExadataInfrastructuresRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListCloudExadataInfrastructuresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudExadataInfrastructureIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListCloudExadataInfrastructures", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListCloudExadataInfrastructures", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListCloudExadataInfrastructures" }, + "description": "ListCloudExadataInfrastructures lists Exadata Infrastructures in a given project and location.", + "file": "Client/ListCloudExadataInfrastructures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListCloudExadataInfrastructures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListCloudExadataInfrastructures Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListCloudVmClusters_sync", - "title": "oracledatabase ListCloudVmClusters Sample", - "description": "ListCloudVmClusters lists the VM Clusters in a given project and location.", - "file": "Client/ListCloudVmClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCloudVmClusters", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListCloudVmClusters", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListCloudVmClusters", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListCloudVmClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListCloudVmClustersRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListCloudVmClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloudVmClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListCloudVmClusters", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListCloudVmClusters", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListCloudVmClusters" }, + "description": "ListCloudVmClusters lists the VM Clusters in a given project and location.", + "file": "Client/ListCloudVmClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListCloudVmClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListCloudVmClusters Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDatabaseCharacterSets_sync", - "title": "oracledatabase ListDatabaseCharacterSets Sample", - "description": "ListDatabaseCharacterSets list DatabaseCharacterSets for the given project and location.", - "file": "Client/ListDatabaseCharacterSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabaseCharacterSets", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDatabaseCharacterSets", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDatabaseCharacterSets", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDatabaseCharacterSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDatabaseCharacterSetsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDatabaseCharacterSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseCharacterSetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDatabaseCharacterSets", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDatabaseCharacterSets", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDatabaseCharacterSets" }, + "description": "ListDatabaseCharacterSets list DatabaseCharacterSets for the given project and location.", + "file": "Client/ListDatabaseCharacterSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDatabaseCharacterSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDatabaseCharacterSets Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDatabases_sync", - "title": "oracledatabase ListDatabases Sample", - "description": "ListDatabases lists all the Databases for the given project, location and DbSystem.", - "file": "Client/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDatabases", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDatabases", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDatabases", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDatabases" }, + "description": "ListDatabases lists all the Databases for the given project, location and DbSystem.", + "file": "Client/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDatabases Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbNodes_sync", - "title": "oracledatabase ListDbNodes Sample", - "description": "ListDbNodes lists the database nodes of a VM Cluster.", - "file": "Client/ListDbNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDbNodes", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDbNodes", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbNodes", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDbNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDbNodesRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDbNodesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DbNodeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDbNodes", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbNodes", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDbNodes" }, + "description": "ListDbNodes lists the database nodes of a VM Cluster.", + "file": "Client/ListDbNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbNodes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDbNodes Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbServers_sync", - "title": "oracledatabase ListDbServers Sample", - "description": "ListDbServers lists the database servers of an Exadata Infrastructure instance.", - "file": "Client/ListDbServers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDbServers", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDbServers", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbServers", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDbServers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDbServersRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDbServersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DbServerIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDbServers", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbServers", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDbServers" }, + "description": "ListDbServers lists the database servers of an Exadata Infrastructure instance.", + "file": "Client/ListDbServers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbServers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDbServers Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbSystemInitialStorageSizes_sync", - "title": "oracledatabase ListDbSystemInitialStorageSizes Sample", - "description": "ListDbSystemInitialStorageSizes lists all the DbSystemInitialStorageSizes for the given project and\nlocation.", - "file": "Client/ListDbSystemInitialStorageSizes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDbSystemInitialStorageSizes", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDbSystemInitialStorageSizes", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbSystemInitialStorageSizes", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDbSystemInitialStorageSizes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDbSystemInitialStorageSizesRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDbSystemInitialStorageSizesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "DbSystemInitialStorageSizeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDbSystemInitialStorageSizes", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbSystemInitialStorageSizes", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "DbSystemInitialStorageSizeIterator", + "shortName": "ListDbSystemInitialStorageSizes" }, + "description": "ListDbSystemInitialStorageSizes lists all the DbSystemInitialStorageSizes for the given project and\nlocation.", + "file": "Client/ListDbSystemInitialStorageSizes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbSystemInitialStorageSizes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDbSystemInitialStorageSizes Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbSystemShapes_sync", - "title": "oracledatabase ListDbSystemShapes Sample", - "description": "ListDbSystemShapes lists the database system shapes available for the project and location.", - "file": "Client/ListDbSystemShapes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDbSystemShapes", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDbSystemShapes", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbSystemShapes", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDbSystemShapes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDbSystemShapesRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDbSystemShapesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DbSystemShapeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDbSystemShapes", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbSystemShapes", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDbSystemShapes" }, + "description": "ListDbSystemShapes lists the database system shapes available for the project and location.", + "file": "Client/ListDbSystemShapes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbSystemShapes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDbSystemShapes Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbSystems_sync", - "title": "oracledatabase ListDbSystems Sample", - "description": "ListDbSystems lists all the DbSystems for the given project and location.", - "file": "Client/ListDbSystems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDbSystems", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDbSystems", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbSystems", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDbSystems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDbSystemsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDbSystemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DbSystemIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDbSystems", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbSystems", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDbSystems" }, + "description": "ListDbSystems lists all the DbSystems for the given project and location.", + "file": "Client/ListDbSystems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbSystems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDbSystems Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbVersions_sync", - "title": "oracledatabase ListDbVersions Sample", - "description": "ListDbVersions list DbVersions for the given project and location.", - "file": "Client/ListDbVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDbVersions", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListDbVersions", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbVersions", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListDbVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListDbVersionsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListDbVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DbVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListDbVersions", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListDbVersions", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListDbVersions" }, + "description": "ListDbVersions list DbVersions for the given project and location.", + "file": "Client/ListDbVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListDbVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListDbVersions Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListEntitlements_sync", - "title": "oracledatabase ListEntitlements Sample", - "description": "ListEntitlements lists the entitlements in a given project.", - "file": "Client/ListEntitlements/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntitlements", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListEntitlements", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListEntitlements", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListEntitlements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListEntitlementsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListEntitlementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntitlementIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListEntitlements", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListEntitlements", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListEntitlements" }, + "description": "ListEntitlements lists the entitlements in a given project.", + "file": "Client/ListEntitlements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListEntitlements_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListEntitlements Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListExadbVmClusters_sync", - "title": "oracledatabase ListExadbVmClusters Sample", - "description": "ListExadbVmClusters lists all the Exadb (Exascale) VM Clusters for the given project and\nlocation.", - "file": "Client/ListExadbVmClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExadbVmClusters", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListExadbVmClusters", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListExadbVmClusters", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListExadbVmClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListExadbVmClustersRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListExadbVmClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExadbVmClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListExadbVmClusters", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListExadbVmClusters", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListExadbVmClusters" }, + "description": "ListExadbVmClusters lists all the Exadb (Exascale) VM Clusters for the given project and\nlocation.", + "file": "Client/ListExadbVmClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListExadbVmClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListExadbVmClusters Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListExascaleDbStorageVaults_sync", - "title": "oracledatabase ListExascaleDbStorageVaults Sample", - "description": "ListExascaleDbStorageVaults lists all the ExascaleDB Storage Vaults for the given project and\nlocation.", - "file": "Client/ListExascaleDbStorageVaults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExascaleDbStorageVaults", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListExascaleDbStorageVaults", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListExascaleDbStorageVaults", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListExascaleDbStorageVaults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListExascaleDbStorageVaultsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListExascaleDbStorageVaultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExascaleDbStorageVaultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListExascaleDbStorageVaults", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListExascaleDbStorageVaults", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListExascaleDbStorageVaults" }, + "description": "ListExascaleDbStorageVaults lists all the ExascaleDB Storage Vaults for the given project and\nlocation.", + "file": "Client/ListExascaleDbStorageVaults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListExascaleDbStorageVaults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListExascaleDbStorageVaults Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListGiVersions_sync", - "title": "oracledatabase ListGiVersions Sample", - "description": "ListGiVersions lists all the valid Oracle Grid Infrastructure (GI) versions for the given\nproject and location.", - "file": "Client/ListGiVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGiVersions", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListGiVersions", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListGiVersions", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListGiVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListGiVersionsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListGiVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GiVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListGiVersions", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListGiVersions", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListGiVersions" }, + "description": "ListGiVersions lists all the valid Oracle Grid Infrastructure (GI) versions for the given\nproject and location.", + "file": "Client/ListGiVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListGiVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListGiVersions Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListLocations_sync", - "title": "oracledatabase ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListLocations Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListMinorVersions_sync", - "title": "oracledatabase ListMinorVersions Sample", - "description": "ListMinorVersions lists all the valid minor versions for the given\nproject, location, gi version and shape family.", - "file": "Client/ListMinorVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMinorVersions", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListMinorVersions", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListMinorVersions", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListMinorVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListMinorVersionsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListMinorVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MinorVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListMinorVersions", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListMinorVersions", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListMinorVersions" }, + "description": "ListMinorVersions lists all the valid minor versions for the given\nproject, location, gi version and shape family.", + "file": "Client/ListMinorVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListMinorVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListMinorVersions Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListOdbNetworks_sync", - "title": "oracledatabase ListOdbNetworks Sample", - "description": "ListOdbNetworks lists the ODB Networks in a given project and location.", - "file": "Client/ListOdbNetworks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOdbNetworks", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListOdbNetworks", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListOdbNetworks", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListOdbNetworks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListOdbNetworksRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListOdbNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OdbNetworkIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListOdbNetworks", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListOdbNetworks", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListOdbNetworks" }, + "description": "ListOdbNetworks lists the ODB Networks in a given project and location.", + "file": "Client/ListOdbNetworks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListOdbNetworks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListOdbNetworks Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListOdbSubnets_sync", - "title": "oracledatabase ListOdbSubnets Sample", - "description": "ListOdbSubnets lists all the ODB Subnets in a given ODB Network.", - "file": "Client/ListOdbSubnets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOdbSubnets", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListOdbSubnets", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListOdbSubnets", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListOdbSubnets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListOdbSubnetsRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListOdbSubnetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OdbSubnetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListOdbSubnets", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListOdbSubnets", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListOdbSubnets" }, + "description": "ListOdbSubnets lists all the ODB Subnets in a given ODB Network.", + "file": "Client/ListOdbSubnets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListOdbSubnets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListOdbSubnets Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListOperations_sync", - "title": "oracledatabase ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListOperations Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListPluggableDatabases_sync", - "title": "oracledatabase ListPluggableDatabases Sample", - "description": "ListPluggableDatabases lists all the PluggableDatabases for the given project, location and\nContainer Database.", - "file": "Client/ListPluggableDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPluggableDatabases", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.ListPluggableDatabases", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListPluggableDatabases", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "ListPluggableDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.ListPluggableDatabasesRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.ListPluggableDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PluggableDatabaseIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "ListPluggableDatabases", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.ListPluggableDatabases", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "ListPluggableDatabases" }, + "description": "ListPluggableDatabases lists all the PluggableDatabases for the given project, location and\nContainer Database.", + "file": "Client/ListPluggableDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_ListPluggableDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase ListPluggableDatabases Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_RemoveVirtualMachineExadbVmCluster_sync", - "title": "oracledatabase RemoveVirtualMachineExadbVmCluster Sample", - "description": "RemoveVirtualMachineExadbVmCluster removes virtual machines from an existing exadb vm cluster.", - "file": "Client/RemoveVirtualMachineExadbVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveVirtualMachineExadbVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.RemoveVirtualMachineExadbVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.RemoveVirtualMachineExadbVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "RemoveVirtualMachineExadbVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.RemoveVirtualMachineExadbVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.RemoveVirtualMachineExadbVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveVirtualMachineExadbVmClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "RemoveVirtualMachineExadbVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.RemoveVirtualMachineExadbVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "RemoveVirtualMachineExadbVmCluster" }, + "description": "RemoveVirtualMachineExadbVmCluster removes virtual machines from an existing exadb vm cluster.", + "file": "Client/RemoveVirtualMachineExadbVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_RemoveVirtualMachineExadbVmCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase RemoveVirtualMachineExadbVmCluster Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_RestartAutonomousDatabase_sync", - "title": "oracledatabase RestartAutonomousDatabase Sample", - "description": "RestartAutonomousDatabase restarts an Autonomous Database.", - "file": "Client/RestartAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestartAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.RestartAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.RestartAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "RestartAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.RestartAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.RestartAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestartAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "RestartAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.RestartAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "RestartAutonomousDatabase" }, + "description": "RestartAutonomousDatabase restarts an Autonomous Database.", + "file": "Client/RestartAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_RestartAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase RestartAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_RestoreAutonomousDatabase_sync", - "title": "oracledatabase RestoreAutonomousDatabase Sample", - "description": "RestoreAutonomousDatabase restores a single Autonomous Database.", - "file": "Client/RestoreAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.RestoreAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.RestoreAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "RestoreAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.RestoreAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.RestoreAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "RestoreAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.RestoreAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "RestoreAutonomousDatabase" }, + "description": "RestoreAutonomousDatabase restores a single Autonomous Database.", + "file": "Client/RestoreAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_RestoreAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase RestoreAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_StartAutonomousDatabase_sync", - "title": "oracledatabase StartAutonomousDatabase Sample", - "description": "StartAutonomousDatabase starts an Autonomous Database.", - "file": "Client/StartAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.StartAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.StartAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "StartAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.StartAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.StartAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "StartAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.StartAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "StartAutonomousDatabase" }, + "description": "StartAutonomousDatabase starts an Autonomous Database.", + "file": "Client/StartAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_StartAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase StartAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_StopAutonomousDatabase_sync", - "title": "oracledatabase StopAutonomousDatabase Sample", - "description": "StopAutonomousDatabase stops an Autonomous Database.", - "file": "Client/StopAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.StopAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.StopAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "StopAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.StopAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.StopAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "StopAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.StopAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "StopAutonomousDatabase" }, + "description": "StopAutonomousDatabase stops an Autonomous Database.", + "file": "Client/StopAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_StopAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase StopAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_SwitchoverAutonomousDatabase_sync", - "title": "oracledatabase SwitchoverAutonomousDatabase Sample", - "description": "SwitchoverAutonomousDatabase initiates a switchover of specified autonomous database to the associated\npeer database.", - "file": "Client/SwitchoverAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "SwitchoverAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.SwitchoverAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.SwitchoverAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "SwitchoverAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.SwitchoverAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.SwitchoverAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SwitchoverAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "SwitchoverAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.SwitchoverAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "SwitchoverAutonomousDatabase" }, + "description": "SwitchoverAutonomousDatabase initiates a switchover of specified autonomous database to the associated\npeer database.", + "file": "Client/SwitchoverAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_SwitchoverAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase SwitchoverAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_UpdateAutonomousDatabase_sync", - "title": "oracledatabase UpdateAutonomousDatabase Sample", - "description": "UpdateAutonomousDatabase updates the parameters of a single Autonomous Database.", - "file": "Client/UpdateAutonomousDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutonomousDatabase", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.UpdateAutonomousDatabase", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.UpdateAutonomousDatabase", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "UpdateAutonomousDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.UpdateAutonomousDatabaseRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.UpdateAutonomousDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAutonomousDatabaseOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "UpdateAutonomousDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.UpdateAutonomousDatabase", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "UpdateAutonomousDatabase" }, + "description": "UpdateAutonomousDatabase updates the parameters of a single Autonomous Database.", + "file": "Client/UpdateAutonomousDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_UpdateAutonomousDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase UpdateAutonomousDatabase Sample" }, { - "regionTag": "oracledatabase_v1_generated_OracleDatabase_UpdateExadbVmCluster_sync", - "title": "oracledatabase UpdateExadbVmCluster Sample", - "description": "UpdateExadbVmCluster updates a single Exadb (Exascale) VM Cluster. To add virtual machines to\nexisting exadb vm cluster, only pass the node count.", - "file": "Client/UpdateExadbVmCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExadbVmCluster", + "client": { + "fullName": "google.cloud.oracledatabase.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oracledatabase.v1.Client.UpdateExadbVmCluster", + "method": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.UpdateExadbVmCluster", + "service": { + "fullName": "google.cloud.oracledatabase.v1.OracleDatabase", + "shortName": "OracleDatabase" + }, + "shortName": "UpdateExadbVmCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "oracledatabasepb.UpdateExadbVmClusterRequest", - "name": "req" + "name": "req", + "type": "oracledatabasepb.UpdateExadbVmClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateExadbVmClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oracledatabase.v1.Client" - }, - "method": { - "shortName": "UpdateExadbVmCluster", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase.UpdateExadbVmCluster", - "service": { - "shortName": "OracleDatabase", - "fullName": "google.cloud.oracledatabase.v1.OracleDatabase" - } - } + "shortName": "UpdateExadbVmCluster" }, + "description": "UpdateExadbVmCluster updates a single Exadb (Exascale) VM Cluster. To add virtual machines to\nexisting exadb vm cluster, only pass the node count.", + "file": "Client/UpdateExadbVmCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oracledatabase_v1_generated_OracleDatabase_UpdateExadbVmCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "oracledatabase UpdateExadbVmCluster Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json b/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json index bc877e3b71bc..8819bd028edd 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json @@ -1,1437 +1,1437 @@ { "clientLibrary": { - "name": "cloud.google.com/go/orchestration/airflow/service/apiv1", - "version": "1.11.10", - "language": "GO", "apis": [ { "id": "google.cloud.orchestration.airflow.service.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/orchestration/airflow/service/apiv1", + "version": "1.11.10" }, "snippets": [ { - "regionTag": "composer_v1_generated_Environments_CheckUpgrade_sync", - "title": "composer CheckUpgrade Sample", - "description": "CheckUpgrade check if an upgrade operation on the environment will succeed.\n\nIn case of problems detailed info can be found in the returned Operation.", - "file": "EnvironmentsClient/CheckUpgrade/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckUpgrade", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.CheckUpgrade", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CheckUpgrade", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "CheckUpgrade" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.CheckUpgradeRequest", - "name": "req" + "name": "req", + "type": "servicepb.CheckUpgradeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CheckUpgradeOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "CheckUpgrade", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CheckUpgrade", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "CheckUpgrade" }, + "description": "CheckUpgrade check if an upgrade operation on the environment will succeed.\n\nIn case of problems detailed info can be found in the returned Operation.", + "file": "EnvironmentsClient/CheckUpgrade/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_CheckUpgrade_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer CheckUpgrade Sample" }, { - "regionTag": "composer_v1_generated_Environments_CreateEnvironment_sync", - "title": "composer CreateEnvironment Sample", - "description": "CreateEnvironment create a new environment.", - "file": "EnvironmentsClient/CreateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEnvironment", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.CreateEnvironment", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateEnvironment", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "CreateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.CreateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "servicepb.CreateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "CreateEnvironment" }, + "description": "CreateEnvironment create a new environment.", + "file": "EnvironmentsClient/CreateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_CreateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer CreateEnvironment Sample" }, { - "regionTag": "composer_v1_generated_Environments_CreateUserWorkloadsConfigMap_sync", - "title": "composer CreateUserWorkloadsConfigMap Sample", - "description": "CreateUserWorkloadsConfigMap creates a user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/CreateUserWorkloadsConfigMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUserWorkloadsConfigMap", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.CreateUserWorkloadsConfigMap", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateUserWorkloadsConfigMap", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "CreateUserWorkloadsConfigMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.CreateUserWorkloadsConfigMapRequest", - "name": "req" + "name": "req", + "type": "servicepb.CreateUserWorkloadsConfigMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.UserWorkloadsConfigMap", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateUserWorkloadsConfigMap", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateUserWorkloadsConfigMap", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "CreateUserWorkloadsConfigMap" }, + "description": "CreateUserWorkloadsConfigMap creates a user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/CreateUserWorkloadsConfigMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_CreateUserWorkloadsConfigMap_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer CreateUserWorkloadsConfigMap Sample" }, { - "regionTag": "composer_v1_generated_Environments_CreateUserWorkloadsSecret_sync", - "title": "composer CreateUserWorkloadsSecret Sample", - "description": "CreateUserWorkloadsSecret creates a user workloads Secret.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/CreateUserWorkloadsSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUserWorkloadsSecret", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.CreateUserWorkloadsSecret", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateUserWorkloadsSecret", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "CreateUserWorkloadsSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.CreateUserWorkloadsSecretRequest", - "name": "req" + "name": "req", + "type": "servicepb.CreateUserWorkloadsSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.UserWorkloadsSecret", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateUserWorkloadsSecret", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateUserWorkloadsSecret", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "CreateUserWorkloadsSecret" }, + "description": "CreateUserWorkloadsSecret creates a user workloads Secret.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/CreateUserWorkloadsSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_CreateUserWorkloadsSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer CreateUserWorkloadsSecret Sample" }, { - "regionTag": "composer_v1_generated_Environments_DatabaseFailover_sync", - "title": "composer DatabaseFailover Sample", - "description": "DatabaseFailover triggers database failover (only for highly resilient environments).", - "file": "EnvironmentsClient/DatabaseFailover/main.go", - "language": "GO", "clientMethod": { - "shortName": "DatabaseFailover", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.DatabaseFailover", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DatabaseFailover", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "DatabaseFailover" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.DatabaseFailoverRequest", - "name": "req" + "name": "req", + "type": "servicepb.DatabaseFailoverRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseFailoverOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "DatabaseFailover", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DatabaseFailover", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "DatabaseFailover" }, + "description": "DatabaseFailover triggers database failover (only for highly resilient environments).", + "file": "EnvironmentsClient/DatabaseFailover/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_DatabaseFailover_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer DatabaseFailover Sample" }, { - "regionTag": "composer_v1_generated_Environments_DeleteEnvironment_sync", - "title": "composer DeleteEnvironment Sample", - "description": "DeleteEnvironment delete an environment.", - "file": "EnvironmentsClient/DeleteEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEnvironment", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.DeleteEnvironment", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteEnvironment", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.DeleteEnvironmentRequest", - "name": "req" + "name": "req", + "type": "servicepb.DeleteEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "DeleteEnvironment" }, + "description": "DeleteEnvironment delete an environment.", + "file": "EnvironmentsClient/DeleteEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_DeleteEnvironment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer DeleteEnvironment Sample" }, { - "regionTag": "composer_v1_generated_Environments_DeleteOperation_sync", - "title": "composer DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer DeleteOperation Sample" }, { - "regionTag": "composer_v1_generated_Environments_DeleteUserWorkloadsConfigMap_sync", - "title": "composer DeleteUserWorkloadsConfigMap Sample", - "description": "DeleteUserWorkloadsConfigMap deletes a user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/DeleteUserWorkloadsConfigMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUserWorkloadsConfigMap", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.DeleteUserWorkloadsConfigMap", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteUserWorkloadsConfigMap", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteUserWorkloadsConfigMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.DeleteUserWorkloadsConfigMapRequest", - "name": "req" + "name": "req", + "type": "servicepb.DeleteUserWorkloadsConfigMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteUserWorkloadsConfigMap", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteUserWorkloadsConfigMap", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "DeleteUserWorkloadsConfigMap" }, + "description": "DeleteUserWorkloadsConfigMap deletes a user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/DeleteUserWorkloadsConfigMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_DeleteUserWorkloadsConfigMap_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer DeleteUserWorkloadsConfigMap Sample" }, { - "regionTag": "composer_v1_generated_Environments_DeleteUserWorkloadsSecret_sync", - "title": "composer DeleteUserWorkloadsSecret Sample", - "description": "DeleteUserWorkloadsSecret deletes a user workloads Secret.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/DeleteUserWorkloadsSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUserWorkloadsSecret", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.DeleteUserWorkloadsSecret", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteUserWorkloadsSecret", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "DeleteUserWorkloadsSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.DeleteUserWorkloadsSecretRequest", - "name": "req" + "name": "req", + "type": "servicepb.DeleteUserWorkloadsSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteUserWorkloadsSecret", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteUserWorkloadsSecret", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "DeleteUserWorkloadsSecret" }, + "description": "DeleteUserWorkloadsSecret deletes a user workloads Secret.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/DeleteUserWorkloadsSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_DeleteUserWorkloadsSecret_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer DeleteUserWorkloadsSecret Sample" }, { - "regionTag": "composer_v1_generated_Environments_ExecuteAirflowCommand_sync", - "title": "composer ExecuteAirflowCommand Sample", - "description": "ExecuteAirflowCommand executes Airflow CLI command.", - "file": "EnvironmentsClient/ExecuteAirflowCommand/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteAirflowCommand", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ExecuteAirflowCommand", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ExecuteAirflowCommand", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "ExecuteAirflowCommand" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.ExecuteAirflowCommandRequest", - "name": "req" + "name": "req", + "type": "servicepb.ExecuteAirflowCommandRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.ExecuteAirflowCommandResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "ExecuteAirflowCommand", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ExecuteAirflowCommand", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "ExecuteAirflowCommand" }, + "description": "ExecuteAirflowCommand executes Airflow CLI command.", + "file": "EnvironmentsClient/ExecuteAirflowCommand/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_ExecuteAirflowCommand_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ExecuteAirflowCommand Sample" }, { - "regionTag": "composer_v1_generated_Environments_FetchDatabaseProperties_sync", - "title": "composer FetchDatabaseProperties Sample", - "description": "FetchDatabaseProperties fetches database properties.", - "file": "EnvironmentsClient/FetchDatabaseProperties/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDatabaseProperties", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.FetchDatabaseProperties", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.FetchDatabaseProperties", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "FetchDatabaseProperties" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.FetchDatabasePropertiesRequest", - "name": "req" + "name": "req", + "type": "servicepb.FetchDatabasePropertiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.FetchDatabasePropertiesResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "FetchDatabaseProperties", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.FetchDatabaseProperties", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "FetchDatabaseProperties" }, + "description": "FetchDatabaseProperties fetches database properties.", + "file": "EnvironmentsClient/FetchDatabaseProperties/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_FetchDatabaseProperties_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer FetchDatabaseProperties Sample" }, { - "regionTag": "composer_v1_generated_Environments_GetEnvironment_sync", - "title": "composer GetEnvironment Sample", - "description": "GetEnvironment get an existing environment.", - "file": "EnvironmentsClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.GetEnvironment", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetEnvironment", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "servicepb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment get an existing environment.", + "file": "EnvironmentsClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer GetEnvironment Sample" }, { - "regionTag": "composer_v1_generated_Environments_GetOperation_sync", - "title": "composer GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer GetOperation Sample" }, { - "regionTag": "composer_v1_generated_Environments_GetUserWorkloadsConfigMap_sync", - "title": "composer GetUserWorkloadsConfigMap Sample", - "description": "GetUserWorkloadsConfigMap gets an existing user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/GetUserWorkloadsConfigMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserWorkloadsConfigMap", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.GetUserWorkloadsConfigMap", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetUserWorkloadsConfigMap", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "GetUserWorkloadsConfigMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.GetUserWorkloadsConfigMapRequest", - "name": "req" + "name": "req", + "type": "servicepb.GetUserWorkloadsConfigMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.UserWorkloadsConfigMap", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "GetUserWorkloadsConfigMap", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetUserWorkloadsConfigMap", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "GetUserWorkloadsConfigMap" }, + "description": "GetUserWorkloadsConfigMap gets an existing user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/GetUserWorkloadsConfigMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_GetUserWorkloadsConfigMap_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer GetUserWorkloadsConfigMap Sample" }, { - "regionTag": "composer_v1_generated_Environments_GetUserWorkloadsSecret_sync", - "title": "composer GetUserWorkloadsSecret Sample", - "description": "GetUserWorkloadsSecret gets an existing user workloads Secret.\nValues of the \"data\" field in the response are cleared.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/GetUserWorkloadsSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUserWorkloadsSecret", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.GetUserWorkloadsSecret", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetUserWorkloadsSecret", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "GetUserWorkloadsSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.GetUserWorkloadsSecretRequest", - "name": "req" + "name": "req", + "type": "servicepb.GetUserWorkloadsSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.UserWorkloadsSecret", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "GetUserWorkloadsSecret", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetUserWorkloadsSecret", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "GetUserWorkloadsSecret" }, + "description": "GetUserWorkloadsSecret gets an existing user workloads Secret.\nValues of the \"data\" field in the response are cleared.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/GetUserWorkloadsSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_GetUserWorkloadsSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer GetUserWorkloadsSecret Sample" }, { - "regionTag": "composer_v1_generated_Environments_ListEnvironments_sync", - "title": "composer ListEnvironments Sample", - "description": "ListEnvironments list environments.", - "file": "EnvironmentsClient/ListEnvironments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnvironments", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListEnvironments", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListEnvironments", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "ListEnvironments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.ListEnvironmentsRequest", - "name": "req" + "name": "req", + "type": "servicepb.ListEnvironmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnvironmentIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "ListEnvironments" }, + "description": "ListEnvironments list environments.", + "file": "EnvironmentsClient/ListEnvironments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_ListEnvironments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListEnvironments Sample" }, { - "regionTag": "composer_v1_generated_Environments_ListOperations_sync", - "title": "composer ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "EnvironmentsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "EnvironmentsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListOperations Sample" }, { - "regionTag": "composer_v1_generated_Environments_ListUserWorkloadsConfigMaps_sync", - "title": "composer ListUserWorkloadsConfigMaps Sample", - "description": "ListUserWorkloadsConfigMaps lists user workloads ConfigMaps.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/ListUserWorkloadsConfigMaps/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserWorkloadsConfigMaps", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListUserWorkloadsConfigMaps", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListUserWorkloadsConfigMaps", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "ListUserWorkloadsConfigMaps" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.ListUserWorkloadsConfigMapsRequest", - "name": "req" + "name": "req", + "type": "servicepb.ListUserWorkloadsConfigMapsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserWorkloadsConfigMapIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "ListUserWorkloadsConfigMaps", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListUserWorkloadsConfigMaps", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "ListUserWorkloadsConfigMaps" }, + "description": "ListUserWorkloadsConfigMaps lists user workloads ConfigMaps.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/ListUserWorkloadsConfigMaps/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_ListUserWorkloadsConfigMaps_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListUserWorkloadsConfigMaps Sample" }, { - "regionTag": "composer_v1_generated_Environments_ListUserWorkloadsSecrets_sync", - "title": "composer ListUserWorkloadsSecrets Sample", - "description": "ListUserWorkloadsSecrets lists user workloads Secrets.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/ListUserWorkloadsSecrets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserWorkloadsSecrets", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListUserWorkloadsSecrets", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListUserWorkloadsSecrets", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "ListUserWorkloadsSecrets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.ListUserWorkloadsSecretsRequest", - "name": "req" + "name": "req", + "type": "servicepb.ListUserWorkloadsSecretsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserWorkloadsSecretIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "ListUserWorkloadsSecrets", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListUserWorkloadsSecrets", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "ListUserWorkloadsSecrets" }, + "description": "ListUserWorkloadsSecrets lists user workloads Secrets.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/ListUserWorkloadsSecrets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_ListUserWorkloadsSecrets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListUserWorkloadsSecrets Sample" }, { - "regionTag": "composer_v1_generated_Environments_ListWorkloads_sync", - "title": "composer ListWorkloads Sample", - "description": "ListWorkloads lists workloads in a Cloud Composer environment. Workload is a unit that\nruns a single Composer component.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-2.*.*-airflow-*.*.* and newer.", - "file": "EnvironmentsClient/ListWorkloads/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkloads", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListWorkloads", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListWorkloads", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "ListWorkloads" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.ListWorkloadsRequest", - "name": "req" + "name": "req", + "type": "servicepb.ListWorkloadsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListWorkloadsResponse_ComposerWorkloadIterator", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "ListWorkloads", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListWorkloads", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "ListWorkloads" }, + "description": "ListWorkloads lists workloads in a Cloud Composer environment. Workload is a unit that\nruns a single Composer component.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-2.*.*-airflow-*.*.* and newer.", + "file": "EnvironmentsClient/ListWorkloads/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_ListWorkloads_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListWorkloads Sample" }, { - "regionTag": "composer_v1_generated_Environments_LoadSnapshot_sync", - "title": "composer LoadSnapshot Sample", - "description": "LoadSnapshot loads a snapshot of a Cloud Composer environment.\n\nAs a result of this operation, a snapshot of environment's specified in\nLoadSnapshotRequest is loaded into the environment.", - "file": "EnvironmentsClient/LoadSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "LoadSnapshot", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.LoadSnapshot", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.LoadSnapshot", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "LoadSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.LoadSnapshotRequest", - "name": "req" + "name": "req", + "type": "servicepb.LoadSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LoadSnapshotOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "LoadSnapshot", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.LoadSnapshot", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "LoadSnapshot" }, + "description": "LoadSnapshot loads a snapshot of a Cloud Composer environment.\n\nAs a result of this operation, a snapshot of environment's specified in\nLoadSnapshotRequest is loaded into the environment.", + "file": "EnvironmentsClient/LoadSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_LoadSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer LoadSnapshot Sample" }, { - "regionTag": "composer_v1_generated_Environments_PollAirflowCommand_sync", - "title": "composer PollAirflowCommand Sample", - "description": "PollAirflowCommand polls Airflow CLI command execution and fetches logs.", - "file": "EnvironmentsClient/PollAirflowCommand/main.go", - "language": "GO", "clientMethod": { - "shortName": "PollAirflowCommand", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.PollAirflowCommand", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.PollAirflowCommand", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "PollAirflowCommand" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.PollAirflowCommandRequest", - "name": "req" + "name": "req", + "type": "servicepb.PollAirflowCommandRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.PollAirflowCommandResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "PollAirflowCommand", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.PollAirflowCommand", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "PollAirflowCommand" }, + "description": "PollAirflowCommand polls Airflow CLI command execution and fetches logs.", + "file": "EnvironmentsClient/PollAirflowCommand/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_PollAirflowCommand_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer PollAirflowCommand Sample" }, { - "regionTag": "composer_v1_generated_Environments_SaveSnapshot_sync", - "title": "composer SaveSnapshot Sample", - "description": "SaveSnapshot creates a snapshots of a Cloud Composer environment.\n\nAs a result of this operation, snapshot of environment's state is stored\nin a location specified in the SaveSnapshotRequest.", - "file": "EnvironmentsClient/SaveSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "SaveSnapshot", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.SaveSnapshot", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.SaveSnapshot", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "SaveSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.SaveSnapshotRequest", - "name": "req" + "name": "req", + "type": "servicepb.SaveSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SaveSnapshotOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "SaveSnapshot", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.SaveSnapshot", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "SaveSnapshot" }, + "description": "SaveSnapshot creates a snapshots of a Cloud Composer environment.\n\nAs a result of this operation, snapshot of environment's state is stored\nin a location specified in the SaveSnapshotRequest.", + "file": "EnvironmentsClient/SaveSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_SaveSnapshot_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer SaveSnapshot Sample" }, { - "regionTag": "composer_v1_generated_Environments_StopAirflowCommand_sync", - "title": "composer StopAirflowCommand Sample", - "description": "StopAirflowCommand stops Airflow CLI command execution.", - "file": "EnvironmentsClient/StopAirflowCommand/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopAirflowCommand", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.StopAirflowCommand", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.StopAirflowCommand", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "StopAirflowCommand" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.StopAirflowCommandRequest", - "name": "req" + "name": "req", + "type": "servicepb.StopAirflowCommandRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.StopAirflowCommandResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "StopAirflowCommand", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.StopAirflowCommand", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "StopAirflowCommand" }, + "description": "StopAirflowCommand stops Airflow CLI command execution.", + "file": "EnvironmentsClient/StopAirflowCommand/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_StopAirflowCommand_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer StopAirflowCommand Sample" }, { - "regionTag": "composer_v1_generated_Environments_UpdateEnvironment_sync", - "title": "composer UpdateEnvironment Sample", - "description": "UpdateEnvironment update an environment.", - "file": "EnvironmentsClient/UpdateEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEnvironment", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.UpdateEnvironment", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateEnvironment", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.UpdateEnvironmentRequest", - "name": "req" + "name": "req", + "type": "servicepb.UpdateEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEnvironmentOperation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "UpdateEnvironment" }, + "description": "UpdateEnvironment update an environment.", + "file": "EnvironmentsClient/UpdateEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_UpdateEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer UpdateEnvironment Sample" }, { - "regionTag": "composer_v1_generated_Environments_UpdateUserWorkloadsConfigMap_sync", - "title": "composer UpdateUserWorkloadsConfigMap Sample", - "description": "UpdateUserWorkloadsConfigMap updates a user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/UpdateUserWorkloadsConfigMap/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUserWorkloadsConfigMap", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.UpdateUserWorkloadsConfigMap", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateUserWorkloadsConfigMap", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateUserWorkloadsConfigMap" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.UpdateUserWorkloadsConfigMapRequest", - "name": "req" + "name": "req", + "type": "servicepb.UpdateUserWorkloadsConfigMapRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.UserWorkloadsConfigMap", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateUserWorkloadsConfigMap", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateUserWorkloadsConfigMap", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "UpdateUserWorkloadsConfigMap" }, + "description": "UpdateUserWorkloadsConfigMap updates a user workloads ConfigMap.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/UpdateUserWorkloadsConfigMap/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_UpdateUserWorkloadsConfigMap_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer UpdateUserWorkloadsConfigMap Sample" }, { - "regionTag": "composer_v1_generated_Environments_UpdateUserWorkloadsSecret_sync", - "title": "composer UpdateUserWorkloadsSecret Sample", - "description": "UpdateUserWorkloadsSecret updates a user workloads Secret.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", - "file": "EnvironmentsClient/UpdateUserWorkloadsSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUserWorkloadsSecret", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient", + "shortName": "EnvironmentsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.UpdateUserWorkloadsSecret", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateUserWorkloadsSecret", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "Environments" + }, + "shortName": "UpdateUserWorkloadsSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.UpdateUserWorkloadsSecretRequest", - "name": "req" + "name": "req", + "type": "servicepb.UpdateUserWorkloadsSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicepb.UserWorkloadsSecret", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateUserWorkloadsSecret", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateUserWorkloadsSecret", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments" - } - } + "shortName": "UpdateUserWorkloadsSecret" }, + "description": "UpdateUserWorkloadsSecret updates a user workloads Secret.\n\nThis method is supported for Cloud Composer environments in versions\ncomposer-3-airflow-*.*.*-build.* and newer.", + "file": "EnvironmentsClient/UpdateUserWorkloadsSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_Environments_UpdateUserWorkloadsSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer UpdateUserWorkloadsSecret Sample" }, { - "regionTag": "composer_v1_generated_ImageVersions_DeleteOperation_sync", - "title": "composer DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ImageVersionsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient", + "shortName": "ImageVersionsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ImageVersionsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ImageVersionsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_ImageVersions_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer DeleteOperation Sample" }, { - "regionTag": "composer_v1_generated_ImageVersions_GetOperation_sync", - "title": "composer GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ImageVersionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient", + "shortName": "ImageVersionsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ImageVersionsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ImageVersionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_ImageVersions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer GetOperation Sample" }, { - "regionTag": "composer_v1_generated_ImageVersions_ListImageVersions_sync", - "title": "composer ListImageVersions Sample", - "description": "ListImageVersions list ImageVersions for provided location.", - "file": "ImageVersionsClient/ListImageVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListImageVersions", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient", + "shortName": "ImageVersionsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient.ListImageVersions", + "method": { + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions.ListImageVersions", + "service": { + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions", + "shortName": "ImageVersions" + }, + "shortName": "ListImageVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicepb.ListImageVersionsRequest", - "name": "req" + "name": "req", + "type": "servicepb.ListImageVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImageVersionIterator", - "client": { - "shortName": "ImageVersionsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient" - }, - "method": { - "shortName": "ListImageVersions", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions.ListImageVersions", - "service": { - "shortName": "ImageVersions", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions" - } - } + "shortName": "ListImageVersions" }, + "description": "ListImageVersions list ImageVersions for provided location.", + "file": "ImageVersionsClient/ListImageVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_ImageVersions_ListImageVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListImageVersions Sample" }, { - "regionTag": "composer_v1_generated_ImageVersions_ListOperations_sync", - "title": "composer ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ImageVersionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient", + "shortName": "ImageVersionsClient" + }, "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ImageVersionsClient", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ImageVersionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "composer_v1_generated_ImageVersions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "composer ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json index 36d745555c36..fd7fb7694994 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json +++ b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json @@ -1,565 +1,565 @@ { "clientLibrary": { - "name": "cloud.google.com/go/orgpolicy/apiv2", - "version": "1.15.1", - "language": "GO", "apis": [ { "id": "google.cloud.orgpolicy.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/orgpolicy/apiv2", + "version": "1.15.1" }, "snippets": [ { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_CreateCustomConstraint_sync", - "title": "orgpolicy CreateCustomConstraint Sample", - "description": "CreateCustomConstraint creates a custom constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\norganization does not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the\nconstraint already exists on the given organization.", - "file": "Client/CreateCustomConstraint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomConstraint", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.CreateCustomConstraint", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreateCustomConstraint", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "CreateCustomConstraint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.CreateCustomConstraintRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.CreateCustomConstraintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.CustomConstraint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "CreateCustomConstraint", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreateCustomConstraint", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "CreateCustomConstraint" }, + "description": "CreateCustomConstraint creates a custom constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\norganization does not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the\nconstraint already exists on the given organization.", + "file": "Client/CreateCustomConstraint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_CreateCustomConstraint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy CreateCustomConstraint Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_CreatePolicy_sync", - "title": "orgpolicy CreatePolicy Sample", - "description": "CreatePolicy creates a policy.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint does not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the\npolicy already exists on the given Google Cloud resource.", - "file": "Client/CreatePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePolicy", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.CreatePolicy", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "CreatePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.CreatePolicyRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.CreatePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "CreatePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "CreatePolicy" }, + "description": "CreatePolicy creates a policy.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint does not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the\npolicy already exists on the given Google Cloud resource.", + "file": "Client/CreatePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_CreatePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy CreatePolicy Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_DeleteCustomConstraint_sync", - "title": "orgpolicy DeleteCustomConstraint Sample", - "description": "DeleteCustomConstraint deletes a custom constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint does not exist.", - "file": "Client/DeleteCustomConstraint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomConstraint", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.DeleteCustomConstraint", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeleteCustomConstraint", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "DeleteCustomConstraint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.DeleteCustomConstraintRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.DeleteCustomConstraintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "DeleteCustomConstraint", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeleteCustomConstraint", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "DeleteCustomConstraint" }, + "description": "DeleteCustomConstraint deletes a custom constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint does not exist.", + "file": "Client/DeleteCustomConstraint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_DeleteCustomConstraint_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy DeleteCustomConstraint Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_DeletePolicy_sync", - "title": "orgpolicy DeletePolicy Sample", - "description": "DeletePolicy deletes a policy.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint or organization policy does not exist.", - "file": "Client/DeletePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePolicy", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.DeletePolicy", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "DeletePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.DeletePolicyRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.DeletePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "DeletePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "DeletePolicy" }, + "description": "DeletePolicy deletes a policy.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint or organization policy does not exist.", + "file": "Client/DeletePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_DeletePolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy DeletePolicy Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_GetCustomConstraint_sync", - "title": "orgpolicy GetCustomConstraint Sample", - "description": "GetCustomConstraint gets a custom or managed constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\ncustom or managed constraint does not exist.", - "file": "Client/GetCustomConstraint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomConstraint", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.GetCustomConstraint", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "GetCustomConstraint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.GetCustomConstraintRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.GetCustomConstraintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.CustomConstraint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "GetCustomConstraint", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "GetCustomConstraint" }, + "description": "GetCustomConstraint gets a custom or managed constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\ncustom or managed constraint does not exist.", + "file": "Client/GetCustomConstraint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_GetCustomConstraint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy GetCustomConstraint Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_GetEffectivePolicy_sync", - "title": "orgpolicy GetEffectivePolicy Sample", - "description": "GetEffectivePolicy gets the effective policy on a resource. This is the result of merging\npolicies in the resource hierarchy and evaluating conditions. The\nreturned policy will not have an `etag` or `condition` set because it is\nan evaluated policy across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under: ' prefix will\nnot be expanded.", - "file": "Client/GetEffectivePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectivePolicy", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.GetEffectivePolicy", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "GetEffectivePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.GetEffectivePolicyRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.GetEffectivePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "GetEffectivePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "GetEffectivePolicy" }, + "description": "GetEffectivePolicy gets the effective policy on a resource. This is the result of merging\npolicies in the resource hierarchy and evaluating conditions. The\nreturned policy will not have an `etag` or `condition` set because it is\nan evaluated policy across multiple resources.\nSubtrees of Resource Manager resource hierarchy with 'under: ' prefix will\nnot be expanded.", + "file": "Client/GetEffectivePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_GetEffectivePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy GetEffectivePolicy Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_GetPolicy_sync", - "title": "orgpolicy GetPolicy Sample", - "description": "GetPolicy gets a policy on a resource.\n\nIf no policy is set on the resource, `NOT_FOUND` is returned. The\n`etag` value can be used with `UpdatePolicy()` to update a\npolicy during read-modify-write.", - "file": "Client/GetPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPolicy", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.GetPolicy", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "GetPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.GetPolicyRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.GetPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "GetPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "GetPolicy" }, + "description": "GetPolicy gets a policy on a resource.\n\nIf no policy is set on the resource, `NOT_FOUND` is returned. The\n`etag` value can be used with `UpdatePolicy()` to update a\npolicy during read-modify-write.", + "file": "Client/GetPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_GetPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy GetPolicy Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_ListConstraints_sync", - "title": "orgpolicy ListConstraints Sample", - "description": "ListConstraints lists constraints that could be applied on the specified resource.", - "file": "Client/ListConstraints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConstraints", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.ListConstraints", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "ListConstraints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.ListConstraintsRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.ListConstraintsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConstraintIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "ListConstraints", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "ListConstraints" }, + "description": "ListConstraints lists constraints that could be applied on the specified resource.", + "file": "Client/ListConstraints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_ListConstraints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy ListConstraints Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_ListCustomConstraints_sync", - "title": "orgpolicy ListCustomConstraints Sample", - "description": "ListCustomConstraints retrieves all of the custom constraints that exist on a particular\norganization resource.", - "file": "Client/ListCustomConstraints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomConstraints", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.ListCustomConstraints", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "ListCustomConstraints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.ListCustomConstraintsRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.ListCustomConstraintsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomConstraintIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "ListCustomConstraints", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "ListCustomConstraints" }, + "description": "ListCustomConstraints retrieves all of the custom constraints that exist on a particular\norganization resource.", + "file": "Client/ListCustomConstraints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_ListCustomConstraints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy ListCustomConstraints Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_ListPolicies_sync", - "title": "orgpolicy ListPolicies Sample", - "description": "ListPolicies retrieves all of the policies that exist on a particular resource.", - "file": "Client/ListPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPolicies", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.ListPolicies", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "ListPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.ListPoliciesRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.ListPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "ListPolicies", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "ListPolicies" }, + "description": "ListPolicies retrieves all of the policies that exist on a particular resource.", + "file": "Client/ListPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_ListPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy ListPolicies Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_UpdateCustomConstraint_sync", - "title": "orgpolicy UpdateCustomConstraint Sample", - "description": "UpdateCustomConstraint updates a custom constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint does not exist.\n\nNote: the supplied policy will perform a full overwrite of all\nfields.", - "file": "Client/UpdateCustomConstraint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomConstraint", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.UpdateCustomConstraint", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdateCustomConstraint", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "UpdateCustomConstraint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.UpdateCustomConstraintRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.UpdateCustomConstraintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.CustomConstraint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "UpdateCustomConstraint", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdateCustomConstraint", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "UpdateCustomConstraint" }, + "description": "UpdateCustomConstraint updates a custom constraint.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint does not exist.\n\nNote: the supplied policy will perform a full overwrite of all\nfields.", + "file": "Client/UpdateCustomConstraint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_UpdateCustomConstraint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy UpdateCustomConstraint Sample" }, { - "regionTag": "orgpolicy_v2_generated_OrgPolicy_UpdatePolicy_sync", - "title": "orgpolicy UpdatePolicy Sample", - "description": "UpdatePolicy updates a policy.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint or the policy do not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag\nsupplied in the request does not match the persisted etag of the policy\n\nNote: the supplied policy will perform a full overwrite of all\nfields.", - "file": "Client/UpdatePolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePolicy", + "client": { + "fullName": "google.cloud.orgpolicy.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.orgpolicy.v2.Client.UpdatePolicy", + "method": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy", + "service": { + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "OrgPolicy" + }, + "shortName": "UpdatePolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "orgpolicypb.UpdatePolicyRequest", - "name": "req" + "name": "req", + "type": "orgpolicypb.UpdatePolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*orgpolicypb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.orgpolicy.v2.Client" - }, - "method": { - "shortName": "UpdatePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy", - "service": { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy" - } - } + "shortName": "UpdatePolicy" }, + "description": "UpdatePolicy updates a policy.\n\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nconstraint or the policy do not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag\nsupplied in the request does not match the persisted etag of the policy\n\nNote: the supplied policy will perform a full overwrite of all\nfields.", + "file": "Client/UpdatePolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "orgpolicy_v2_generated_OrgPolicy_UpdatePolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "orgpolicy UpdatePolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json index 585ec815a022..448e89b41c56 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1/snippet_metadata.google.cloud.osconfig.agentendpoint.v1.json @@ -1,291 +1,291 @@ { "clientLibrary": { - "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.osconfig.agentendpoint.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "osconfig_v1_generated_AgentEndpointService_RegisterAgent_sync", - "title": "osconfig RegisterAgent Sample", - "description": "RegisterAgent registers the agent running on the VM.", - "file": "Client/RegisterAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterAgent", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1.Client.RegisterAgent", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.RegisterAgent", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "RegisterAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.RegisterAgentRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.RegisterAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.RegisterAgentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1.Client" - }, - "method": { - "shortName": "RegisterAgent", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.RegisterAgent", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - } - } + "shortName": "RegisterAgent" }, + "description": "RegisterAgent registers the agent running on the VM.", + "file": "Client/RegisterAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_AgentEndpointService_RegisterAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig RegisterAgent Sample" }, { - "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportInventory_sync", - "title": "osconfig ReportInventory Sample", - "description": "ReportInventory reports the VMs current inventory.", - "file": "Client/ReportInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportInventory", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1.Client.ReportInventory", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportInventory", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "ReportInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.ReportInventoryRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.ReportInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.ReportInventoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1.Client" - }, - "method": { - "shortName": "ReportInventory", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportInventory", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - } - } + "shortName": "ReportInventory" }, + "description": "ReportInventory reports the VMs current inventory.", + "file": "Client/ReportInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ReportInventory Sample" }, { - "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportTaskComplete_sync", - "title": "osconfig ReportTaskComplete Sample", - "description": "ReportTaskComplete signals that the task execution is complete and optionally returns the next\ntask.", - "file": "Client/ReportTaskComplete/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportTaskComplete", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1.Client.ReportTaskComplete", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskComplete", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "ReportTaskComplete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.ReportTaskCompleteRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.ReportTaskCompleteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.ReportTaskCompleteResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1.Client" - }, - "method": { - "shortName": "ReportTaskComplete", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskComplete", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - } - } + "shortName": "ReportTaskComplete" }, + "description": "ReportTaskComplete signals that the task execution is complete and optionally returns the next\ntask.", + "file": "Client/ReportTaskComplete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportTaskComplete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ReportTaskComplete Sample" }, { - "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportTaskProgress_sync", - "title": "osconfig ReportTaskProgress Sample", - "description": "ReportTaskProgress signals an intermediary progress checkpoint in task execution.", - "file": "Client/ReportTaskProgress/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportTaskProgress", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1.Client.ReportTaskProgress", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskProgress", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "ReportTaskProgress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.ReportTaskProgressRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.ReportTaskProgressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.ReportTaskProgressResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1.Client" - }, - "method": { - "shortName": "ReportTaskProgress", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskProgress", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - } - } + "shortName": "ReportTaskProgress" }, + "description": "ReportTaskProgress signals an intermediary progress checkpoint in task execution.", + "file": "Client/ReportTaskProgress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportTaskProgress_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ReportTaskProgress Sample" }, { - "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportVmInventory_sync", - "title": "osconfig ReportVmInventory Sample", - "description": "ReportVmInventory reports the VMs current inventory.", - "file": "Client/ReportVmInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportVmInventory", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1.Client.ReportVmInventory", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportVmInventory", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "ReportVmInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.ReportVmInventoryRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.ReportVmInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.ReportVmInventoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1.Client" - }, - "method": { - "shortName": "ReportVmInventory", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportVmInventory", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - } - } + "shortName": "ReportVmInventory" }, + "description": "ReportVmInventory reports the VMs current inventory.", + "file": "Client/ReportVmInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_AgentEndpointService_ReportVmInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ReportVmInventory Sample" }, { - "regionTag": "osconfig_v1_generated_AgentEndpointService_StartNextTask_sync", - "title": "osconfig StartNextTask Sample", - "description": "StartNextTask signals the start of a task execution and returns the task info.", - "file": "Client/StartNextTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartNextTask", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1.Client.StartNextTask", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.StartNextTask", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "StartNextTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.StartNextTaskRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.StartNextTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.StartNextTaskResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1.Client" - }, - "method": { - "shortName": "StartNextTask", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.StartNextTask", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - } - } + "shortName": "StartNextTask" }, + "description": "StartNextTask signals the start of a task execution and returns the task info.", + "file": "Client/StartNextTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_AgentEndpointService_StartNextTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig StartNextTask Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json index 854ff3a3c676..eb665c116637 100644 --- a/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json +++ b/internal/generated/snippets/osconfig/agentendpoint/apiv1beta/snippet_metadata.google.cloud.osconfig.agentendpoint.v1beta.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.osconfig.agentendpoint.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "osconfig_v1beta_generated_AgentEndpointService_LookupEffectiveGuestPolicy_sync", - "title": "osconfig LookupEffectiveGuestPolicy Sample", - "description": "LookupEffectiveGuestPolicy lookup the effective guest policy that applies to a VM instance. This\nlookup merges all policies that are assigned to the instance ancestry.", - "file": "Client/LookupEffectiveGuestPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEffectiveGuestPolicy", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.LookupEffectiveGuestPolicy", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.LookupEffectiveGuestPolicy", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "LookupEffectiveGuestPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.LookupEffectiveGuestPolicyRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.LookupEffectiveGuestPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.EffectiveGuestPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client" - }, - "method": { - "shortName": "LookupEffectiveGuestPolicy", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.LookupEffectiveGuestPolicy", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" - } - } + "shortName": "LookupEffectiveGuestPolicy" }, + "description": "LookupEffectiveGuestPolicy lookup the effective guest policy that applies to a VM instance. This\nlookup merges all policies that are assigned to the instance ancestry.", + "file": "Client/LookupEffectiveGuestPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_AgentEndpointService_LookupEffectiveGuestPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig LookupEffectiveGuestPolicy Sample" }, { - "regionTag": "osconfig_v1beta_generated_AgentEndpointService_RegisterAgent_sync", - "title": "osconfig RegisterAgent Sample", - "description": "RegisterAgent registers the agent running on the VM.", - "file": "Client/RegisterAgent/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterAgent", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.RegisterAgent", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.RegisterAgent", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "RegisterAgent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.RegisterAgentRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.RegisterAgentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.RegisterAgentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client" - }, - "method": { - "shortName": "RegisterAgent", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.RegisterAgent", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" - } - } + "shortName": "RegisterAgent" }, + "description": "RegisterAgent registers the agent running on the VM.", + "file": "Client/RegisterAgent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_AgentEndpointService_RegisterAgent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig RegisterAgent Sample" }, { - "regionTag": "osconfig_v1beta_generated_AgentEndpointService_ReportTaskComplete_sync", - "title": "osconfig ReportTaskComplete Sample", - "description": "ReportTaskComplete signals that the task execution is complete and optionally returns the next\ntask.", - "file": "Client/ReportTaskComplete/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportTaskComplete", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.ReportTaskComplete", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskComplete", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "ReportTaskComplete" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.ReportTaskCompleteRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.ReportTaskCompleteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.ReportTaskCompleteResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client" - }, - "method": { - "shortName": "ReportTaskComplete", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskComplete", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" - } - } + "shortName": "ReportTaskComplete" }, + "description": "ReportTaskComplete signals that the task execution is complete and optionally returns the next\ntask.", + "file": "Client/ReportTaskComplete/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_AgentEndpointService_ReportTaskComplete_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ReportTaskComplete Sample" }, { - "regionTag": "osconfig_v1beta_generated_AgentEndpointService_ReportTaskProgress_sync", - "title": "osconfig ReportTaskProgress Sample", - "description": "ReportTaskProgress signals an intermediary progress checkpoint in task execution.", - "file": "Client/ReportTaskProgress/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportTaskProgress", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.ReportTaskProgress", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskProgress", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "ReportTaskProgress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.ReportTaskProgressRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.ReportTaskProgressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.ReportTaskProgressResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client" - }, - "method": { - "shortName": "ReportTaskProgress", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskProgress", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" - } - } + "shortName": "ReportTaskProgress" }, + "description": "ReportTaskProgress signals an intermediary progress checkpoint in task execution.", + "file": "Client/ReportTaskProgress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_AgentEndpointService_ReportTaskProgress_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ReportTaskProgress Sample" }, { - "regionTag": "osconfig_v1beta_generated_AgentEndpointService_StartNextTask_sync", - "title": "osconfig StartNextTask Sample", - "description": "StartNextTask signals the start of a task execution and returns the task info.", - "file": "Client/StartNextTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartNextTask", + "client": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client.StartNextTask", + "method": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.StartNextTask", + "service": { + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", + "shortName": "AgentEndpointService" + }, + "shortName": "StartNextTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "agentendpointpb.StartNextTaskRequest", - "name": "req" + "name": "req", + "type": "agentendpointpb.StartNextTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*agentendpointpb.StartNextTaskResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.Client" - }, - "method": { - "shortName": "StartNextTask", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.StartNextTask", - "service": { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" - } - } + "shortName": "StartNextTask" }, + "description": "StartNextTask signals the start of a task execution and returns the task info.", + "file": "Client/StartNextTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_AgentEndpointService_StartNextTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig StartNextTask Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json b/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json index 797f9089729f..4a72942c24aa 100644 --- a/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json +++ b/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json @@ -1,1118 +1,1118 @@ { "clientLibrary": { - "name": "cloud.google.com/go/osconfig/apiv1", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.osconfig.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/osconfig/apiv1", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "osconfig_v1_generated_OsConfigService_CancelPatchJob_sync", - "title": "osconfig CancelPatchJob Sample", - "description": "CancelPatchJob cancel a patch job. The patch job must be active. Canceled patch jobs\ncannot be restarted.", - "file": "Client/CancelPatchJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelPatchJob", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.CancelPatchJob", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.CancelPatchJob", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "CancelPatchJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CancelPatchJobRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CancelPatchJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "CancelPatchJob", - "fullName": "google.cloud.osconfig.v1.OsConfigService.CancelPatchJob", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "CancelPatchJob" }, + "description": "CancelPatchJob cancel a patch job. The patch job must be active. Canceled patch jobs\ncannot be restarted.", + "file": "Client/CancelPatchJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_CancelPatchJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CancelPatchJob Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_CreatePatchDeployment_sync", - "title": "osconfig CreatePatchDeployment Sample", - "description": "CreatePatchDeployment create an OS Config patch deployment.", - "file": "Client/CreatePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.CreatePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.CreatePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "CreatePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CreatePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CreatePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "CreatePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.CreatePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "CreatePatchDeployment" }, + "description": "CreatePatchDeployment create an OS Config patch deployment.", + "file": "Client/CreatePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_CreatePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CreatePatchDeployment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_DeletePatchDeployment_sync", - "title": "osconfig DeletePatchDeployment Sample", - "description": "DeletePatchDeployment delete an OS Config patch deployment.", - "file": "Client/DeletePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.DeletePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.DeletePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "DeletePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.DeletePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.DeletePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "DeletePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.DeletePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "DeletePatchDeployment" }, + "description": "DeletePatchDeployment delete an OS Config patch deployment.", + "file": "Client/DeletePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_DeletePatchDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig DeletePatchDeployment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_ExecutePatchJob_sync", - "title": "osconfig ExecutePatchJob Sample", - "description": "ExecutePatchJob patch VM instances by creating and running a patch job.", - "file": "Client/ExecutePatchJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecutePatchJob", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.ExecutePatchJob", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.ExecutePatchJob", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ExecutePatchJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ExecutePatchJobRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ExecutePatchJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "ExecutePatchJob", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ExecutePatchJob", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "ExecutePatchJob" }, + "description": "ExecutePatchJob patch VM instances by creating and running a patch job.", + "file": "Client/ExecutePatchJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_ExecutePatchJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ExecutePatchJob Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_GetPatchDeployment_sync", - "title": "osconfig GetPatchDeployment Sample", - "description": "GetPatchDeployment get an OS Config patch deployment.", - "file": "Client/GetPatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.GetPatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "GetPatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetPatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetPatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "GetPatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "GetPatchDeployment" }, + "description": "GetPatchDeployment get an OS Config patch deployment.", + "file": "Client/GetPatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_GetPatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetPatchDeployment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_GetPatchJob_sync", - "title": "osconfig GetPatchJob Sample", - "description": "GetPatchJob get the patch job. This can be used to track the progress of an\nongoing patch job or review the details of completed jobs.", - "file": "Client/GetPatchJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPatchJob", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.GetPatchJob", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchJob", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "GetPatchJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetPatchJobRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetPatchJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "GetPatchJob", - "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchJob", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "GetPatchJob" }, + "description": "GetPatchJob get the patch job. This can be used to track the progress of an\nongoing patch job or review the details of completed jobs.", + "file": "Client/GetPatchJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_GetPatchJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetPatchJob Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_ListPatchDeployments_sync", - "title": "osconfig ListPatchDeployments Sample", - "description": "ListPatchDeployments get a page of OS Config patch deployments.", - "file": "Client/ListPatchDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPatchDeployments", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.ListPatchDeployments", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchDeployments", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListPatchDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListPatchDeploymentsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListPatchDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PatchDeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "ListPatchDeployments", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchDeployments", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "ListPatchDeployments" }, + "description": "ListPatchDeployments get a page of OS Config patch deployments.", + "file": "Client/ListPatchDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_ListPatchDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListPatchDeployments Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_ListPatchJobInstanceDetails_sync", - "title": "osconfig ListPatchJobInstanceDetails Sample", - "description": "ListPatchJobInstanceDetails get a list of instance details for a given patch job.", - "file": "Client/ListPatchJobInstanceDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPatchJobInstanceDetails", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.ListPatchJobInstanceDetails", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetails", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListPatchJobInstanceDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListPatchJobInstanceDetailsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListPatchJobInstanceDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PatchJobInstanceDetailsIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "ListPatchJobInstanceDetails", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetails", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "ListPatchJobInstanceDetails" }, + "description": "ListPatchJobInstanceDetails get a list of instance details for a given patch job.", + "file": "Client/ListPatchJobInstanceDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_ListPatchJobInstanceDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListPatchJobInstanceDetails Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_ListPatchJobs_sync", - "title": "osconfig ListPatchJobs Sample", - "description": "ListPatchJobs get a list of patch jobs.", - "file": "Client/ListPatchJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPatchJobs", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.ListPatchJobs", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobs", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListPatchJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListPatchJobsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListPatchJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PatchJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "ListPatchJobs", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobs", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "ListPatchJobs" }, + "description": "ListPatchJobs get a list of patch jobs.", + "file": "Client/ListPatchJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_ListPatchJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListPatchJobs Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_PausePatchDeployment_sync", - "title": "osconfig PausePatchDeployment Sample", - "description": "PausePatchDeployment change state of patch deployment to \"PAUSED\".\nPatch deployment in paused state doesn't generate patch jobs.", - "file": "Client/PausePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "PausePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.PausePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.PausePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "PausePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.PausePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.PausePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "PausePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.PausePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "PausePatchDeployment" }, + "description": "PausePatchDeployment change state of patch deployment to \"PAUSED\".\nPatch deployment in paused state doesn't generate patch jobs.", + "file": "Client/PausePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_PausePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig PausePatchDeployment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_ResumePatchDeployment_sync", - "title": "osconfig ResumePatchDeployment Sample", - "description": "ResumePatchDeployment change state of patch deployment back to \"ACTIVE\".\nPatch deployment in active state continues to generate patch jobs.", - "file": "Client/ResumePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.ResumePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.ResumePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ResumePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ResumePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ResumePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "ResumePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ResumePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "ResumePatchDeployment" }, + "description": "ResumePatchDeployment change state of patch deployment back to \"ACTIVE\".\nPatch deployment in active state continues to generate patch jobs.", + "file": "Client/ResumePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_ResumePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ResumePatchDeployment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigService_UpdatePatchDeployment_sync", - "title": "osconfig UpdatePatchDeployment Sample", - "description": "UpdatePatchDeployment update an OS Config patch deployment.", - "file": "Client/UpdatePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1.Client.UpdatePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigService.UpdatePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "UpdatePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.UpdatePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.UpdatePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1.Client" - }, - "method": { - "shortName": "UpdatePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.UpdatePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService" - } - } + "shortName": "UpdatePatchDeployment" }, + "description": "UpdatePatchDeployment update an OS Config patch deployment.", + "file": "Client/UpdatePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigService_UpdatePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig UpdatePatchDeployment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_CreateOSPolicyAssignment_sync", - "title": "osconfig CreateOSPolicyAssignment Sample", - "description": "CreateOSPolicyAssignment create an OS policy assignment.\n\nThis method also creates the first revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).", - "file": "OsConfigZonalClient/CreateOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.CreateOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.CreateOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "CreateOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CreateOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CreateOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOSPolicyAssignmentOperation", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "CreateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.CreateOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "CreateOSPolicyAssignment" }, + "description": "CreateOSPolicyAssignment create an OS policy assignment.\n\nThis method also creates the first revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).", + "file": "OsConfigZonalClient/CreateOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_CreateOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CreateOSPolicyAssignment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_DeleteOSPolicyAssignment_sync", - "title": "osconfig DeleteOSPolicyAssignment Sample", - "description": "DeleteOSPolicyAssignment delete the OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nIf the LRO completes and is not cancelled, all revisions associated with\nthe OS policy assignment are deleted.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).", - "file": "OsConfigZonalClient/DeleteOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.DeleteOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.DeleteOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "DeleteOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.DeleteOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.DeleteOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteOSPolicyAssignmentOperation", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "DeleteOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.DeleteOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "DeleteOSPolicyAssignment" }, + "description": "DeleteOSPolicyAssignment delete the OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nIf the LRO completes and is not cancelled, all revisions associated with\nthe OS policy assignment are deleted.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).", + "file": "OsConfigZonalClient/DeleteOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_DeleteOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig DeleteOSPolicyAssignment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetInventory_sync", - "title": "osconfig GetInventory Sample", - "description": "GetInventory get inventory data for the specified VM instance. If the VM has no\nassociated inventory, the message `NOT_FOUND` is returned.", - "file": "OsConfigZonalClient/GetInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInventory", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.GetInventory", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetInventory", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetInventoryRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.Inventory", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "GetInventory", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetInventory", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "GetInventory" }, + "description": "GetInventory get inventory data for the specified VM instance. If the VM has no\nassociated inventory, the message `NOT_FOUND` is returned.", + "file": "OsConfigZonalClient/GetInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetInventory Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetOSPolicyAssignment_sync", - "title": "osconfig GetOSPolicyAssignment Sample", - "description": "GetOSPolicyAssignment retrieve an existing OS policy assignment.\n\nThis method always returns the latest revision. In order to retrieve a\nprevious revision of the assignment, also provide the revision ID in the\n`name` parameter.", - "file": "OsConfigZonalClient/GetOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.GetOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.OSPolicyAssignment", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "GetOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "GetOSPolicyAssignment" }, + "description": "GetOSPolicyAssignment retrieve an existing OS policy assignment.\n\nThis method always returns the latest revision. In order to retrieve a\nprevious revision of the assignment, also provide the revision ID in the\n`name` parameter.", + "file": "OsConfigZonalClient/GetOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetOSPolicyAssignment Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetOSPolicyAssignmentReport_sync", - "title": "osconfig GetOSPolicyAssignmentReport Sample", - "description": "GetOSPolicyAssignmentReport get the OS policy asssignment report for the specified Compute Engine VM\ninstance.", - "file": "OsConfigZonalClient/GetOSPolicyAssignmentReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOSPolicyAssignmentReport", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.GetOSPolicyAssignmentReport", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentReport", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetOSPolicyAssignmentReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetOSPolicyAssignmentReportRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetOSPolicyAssignmentReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.OSPolicyAssignmentReport", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "GetOSPolicyAssignmentReport", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentReport", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "GetOSPolicyAssignmentReport" }, + "description": "GetOSPolicyAssignmentReport get the OS policy asssignment report for the specified Compute Engine VM\ninstance.", + "file": "OsConfigZonalClient/GetOSPolicyAssignmentReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetOSPolicyAssignmentReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetOSPolicyAssignmentReport Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetVulnerabilityReport_sync", - "title": "osconfig GetVulnerabilityReport Sample", - "description": "GetVulnerabilityReport gets the vulnerability report for the specified VM instance. Only VMs with\ninventory data have vulnerability reports associated with them.", - "file": "OsConfigZonalClient/GetVulnerabilityReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVulnerabilityReport", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.GetVulnerabilityReport", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReport", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetVulnerabilityReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetVulnerabilityReportRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetVulnerabilityReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.VulnerabilityReport", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "GetVulnerabilityReport", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReport", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "GetVulnerabilityReport" }, + "description": "GetVulnerabilityReport gets the vulnerability report for the specified VM instance. Only VMs with\ninventory data have vulnerability reports associated with them.", + "file": "OsConfigZonalClient/GetVulnerabilityReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_GetVulnerabilityReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetVulnerabilityReport Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListInventories_sync", - "title": "osconfig ListInventories Sample", - "description": "ListInventories list inventory data for all VM instances in the specified zone.", - "file": "OsConfigZonalClient/ListInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInventories", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.ListInventories", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListInventories", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListInventoriesRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InventoryIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "ListInventories", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListInventories", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "ListInventories" }, + "description": "ListInventories list inventory data for all VM instances in the specified zone.", + "file": "OsConfigZonalClient/ListInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListInventories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListInventories Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListOSPolicyAssignmentReports_sync", - "title": "osconfig ListOSPolicyAssignmentReports Sample", - "description": "ListOSPolicyAssignmentReports list OS policy asssignment reports for all Compute Engine VM instances in\nthe specified zone.", - "file": "OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSPolicyAssignmentReports", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.ListOSPolicyAssignmentReports", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentReports", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListOSPolicyAssignmentReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListOSPolicyAssignmentReportsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListOSPolicyAssignmentReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSPolicyAssignmentReportIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "ListOSPolicyAssignmentReports", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentReports", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "ListOSPolicyAssignmentReports" }, + "description": "ListOSPolicyAssignmentReports list OS policy asssignment reports for all Compute Engine VM instances in\nthe specified zone.", + "file": "OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListOSPolicyAssignmentReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListOSPolicyAssignmentReports Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListOSPolicyAssignmentRevisions_sync", - "title": "osconfig ListOSPolicyAssignmentRevisions Sample", - "description": "ListOSPolicyAssignmentRevisions list the OS policy assignment revisions for a given OS policy assignment.", - "file": "OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSPolicyAssignmentRevisions", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.ListOSPolicyAssignmentRevisions", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentRevisions", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListOSPolicyAssignmentRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListOSPolicyAssignmentRevisionsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListOSPolicyAssignmentRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSPolicyAssignmentIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "ListOSPolicyAssignmentRevisions", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentRevisions", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "ListOSPolicyAssignmentRevisions" }, + "description": "ListOSPolicyAssignmentRevisions list the OS policy assignment revisions for a given OS policy assignment.", + "file": "OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListOSPolicyAssignmentRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListOSPolicyAssignmentRevisions Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListOSPolicyAssignments_sync", - "title": "osconfig ListOSPolicyAssignments Sample", - "description": "ListOSPolicyAssignments list the OS policy assignments under the parent resource.\n\nFor each OS policy assignment, the latest revision is returned.", - "file": "OsConfigZonalClient/ListOSPolicyAssignments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSPolicyAssignments", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.ListOSPolicyAssignments", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignments", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListOSPolicyAssignments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListOSPolicyAssignmentsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListOSPolicyAssignmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSPolicyAssignmentIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "ListOSPolicyAssignments", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignments", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "ListOSPolicyAssignments" }, + "description": "ListOSPolicyAssignments list the OS policy assignments under the parent resource.\n\nFor each OS policy assignment, the latest revision is returned.", + "file": "OsConfigZonalClient/ListOSPolicyAssignments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListOSPolicyAssignments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListOSPolicyAssignments Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListVulnerabilityReports_sync", - "title": "osconfig ListVulnerabilityReports Sample", - "description": "ListVulnerabilityReports list vulnerability reports for all VM instances in the specified zone.", - "file": "OsConfigZonalClient/ListVulnerabilityReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVulnerabilityReports", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.ListVulnerabilityReports", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReports", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListVulnerabilityReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListVulnerabilityReportsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListVulnerabilityReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VulnerabilityReportIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "ListVulnerabilityReports", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReports", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "ListVulnerabilityReports" }, + "description": "ListVulnerabilityReports list vulnerability reports for all VM instances in the specified zone.", + "file": "OsConfigZonalClient/ListVulnerabilityReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_ListVulnerabilityReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListVulnerabilityReports Sample" }, { - "regionTag": "osconfig_v1_generated_OsConfigZonalService_UpdateOSPolicyAssignment_sync", - "title": "osconfig UpdateOSPolicyAssignment Sample", - "description": "UpdateOSPolicyAssignment update an existing OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).", - "file": "OsConfigZonalClient/UpdateOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient.UpdateOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.UpdateOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "UpdateOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.UpdateOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.UpdateOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateOSPolicyAssignmentOperation", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalClient" - }, - "method": { - "shortName": "UpdateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.UpdateOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService" - } - } + "shortName": "UpdateOSPolicyAssignment" }, + "description": "UpdateOSPolicyAssignment update an existing OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).", + "file": "OsConfigZonalClient/UpdateOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1_generated_OsConfigZonalService_UpdateOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig UpdateOSPolicyAssignment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json b/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json index 9993c2f771f8..93a329cd8d28 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json +++ b/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/osconfig/apiv1alpha", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.osconfig.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/osconfig/apiv1alpha", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_CreateOSPolicyAssignment_sync", - "title": "osconfig CreateOSPolicyAssignment Sample", - "description": "CreateOSPolicyAssignment create an OS policy assignment.\n\nThis method also creates the first revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).", - "file": "OsConfigZonalClient/CreateOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.CreateOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "CreateOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CreateOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CreateOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOSPolicyAssignmentOperation", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "CreateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "CreateOSPolicyAssignment" }, + "description": "CreateOSPolicyAssignment create an OS policy assignment.\n\nThis method also creates the first revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).", + "file": "OsConfigZonalClient/CreateOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_CreateOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CreateOSPolicyAssignment Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_DeleteOSPolicyAssignment_sync", - "title": "osconfig DeleteOSPolicyAssignment Sample", - "description": "DeleteOSPolicyAssignment delete the OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nIf the LRO completes and is not cancelled, all revisions associated with\nthe OS policy assignment are deleted.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).", - "file": "OsConfigZonalClient/DeleteOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.DeleteOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "DeleteOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.DeleteOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.DeleteOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteOSPolicyAssignmentOperation", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "DeleteOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "DeleteOSPolicyAssignment" }, + "description": "DeleteOSPolicyAssignment delete the OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nIf the LRO completes and is not cancelled, all revisions associated with\nthe OS policy assignment are deleted.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).", + "file": "OsConfigZonalClient/DeleteOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_DeleteOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig DeleteOSPolicyAssignment Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetInstanceOSPoliciesCompliance_sync", - "title": "osconfig GetInstanceOSPoliciesCompliance Sample", - "description": "GetInstanceOSPoliciesCompliance get OS policies compliance data for the specified Compute Engine VM\ninstance.\n\n\nDeprecated: GetInstanceOSPoliciesCompliance may be removed in a future version.", - "file": "OsConfigZonalClient/GetInstanceOSPoliciesCompliance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstanceOSPoliciesCompliance", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.GetInstanceOSPoliciesCompliance", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesCompliance", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetInstanceOSPoliciesCompliance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetInstanceOSPoliciesComplianceRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetInstanceOSPoliciesComplianceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.InstanceOSPoliciesCompliance", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "GetInstanceOSPoliciesCompliance", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesCompliance", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "GetInstanceOSPoliciesCompliance" }, + "description": "GetInstanceOSPoliciesCompliance get OS policies compliance data for the specified Compute Engine VM\ninstance.\n\n\nDeprecated: GetInstanceOSPoliciesCompliance may be removed in a future version.", + "file": "OsConfigZonalClient/GetInstanceOSPoliciesCompliance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetInstanceOSPoliciesCompliance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetInstanceOSPoliciesCompliance Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetInventory_sync", - "title": "osconfig GetInventory Sample", - "description": "GetInventory get inventory data for the specified VM instance. If the VM has no\nassociated inventory, the message `NOT_FOUND` is returned.", - "file": "OsConfigZonalClient/GetInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInventory", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.GetInventory", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventory", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetInventoryRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.Inventory", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "GetInventory", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventory", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "GetInventory" }, + "description": "GetInventory get inventory data for the specified VM instance. If the VM has no\nassociated inventory, the message `NOT_FOUND` is returned.", + "file": "OsConfigZonalClient/GetInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetInventory Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetOSPolicyAssignment_sync", - "title": "osconfig GetOSPolicyAssignment Sample", - "description": "GetOSPolicyAssignment retrieve an existing OS policy assignment.\n\nThis method always returns the latest revision. In order to retrieve a\nprevious revision of the assignment, also provide the revision ID in the\n`name` parameter.", - "file": "OsConfigZonalClient/GetOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.GetOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.OSPolicyAssignment", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "GetOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "GetOSPolicyAssignment" }, + "description": "GetOSPolicyAssignment retrieve an existing OS policy assignment.\n\nThis method always returns the latest revision. In order to retrieve a\nprevious revision of the assignment, also provide the revision ID in the\n`name` parameter.", + "file": "OsConfigZonalClient/GetOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetOSPolicyAssignment Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetOSPolicyAssignmentReport_sync", - "title": "osconfig GetOSPolicyAssignmentReport Sample", - "description": "GetOSPolicyAssignmentReport get the OS policy asssignment report for the specified Compute Engine VM\ninstance.", - "file": "OsConfigZonalClient/GetOSPolicyAssignmentReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOSPolicyAssignmentReport", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.GetOSPolicyAssignmentReport", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignmentReport", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetOSPolicyAssignmentReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetOSPolicyAssignmentReportRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetOSPolicyAssignmentReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.OSPolicyAssignmentReport", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "GetOSPolicyAssignmentReport", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignmentReport", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "GetOSPolicyAssignmentReport" }, + "description": "GetOSPolicyAssignmentReport get the OS policy asssignment report for the specified Compute Engine VM\ninstance.", + "file": "OsConfigZonalClient/GetOSPolicyAssignmentReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetOSPolicyAssignmentReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetOSPolicyAssignmentReport Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetVulnerabilityReport_sync", - "title": "osconfig GetVulnerabilityReport Sample", - "description": "GetVulnerabilityReport gets the vulnerability report for the specified VM instance. Only VMs with\ninventory data have vulnerability reports associated with them.", - "file": "OsConfigZonalClient/GetVulnerabilityReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVulnerabilityReport", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.GetVulnerabilityReport", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReport", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "GetVulnerabilityReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetVulnerabilityReportRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetVulnerabilityReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.VulnerabilityReport", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "GetVulnerabilityReport", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReport", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "GetVulnerabilityReport" }, + "description": "GetVulnerabilityReport gets the vulnerability report for the specified VM instance. Only VMs with\ninventory data have vulnerability reports associated with them.", + "file": "OsConfigZonalClient/GetVulnerabilityReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_GetVulnerabilityReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetVulnerabilityReport Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListInstanceOSPoliciesCompliances_sync", - "title": "osconfig ListInstanceOSPoliciesCompliances Sample", - "description": "ListInstanceOSPoliciesCompliances list OS policies compliance data for all Compute Engine VM instances in the\nspecified zone.\n\n\nDeprecated: ListInstanceOSPoliciesCompliances may be removed in a future version.", - "file": "OsConfigZonalClient/ListInstanceOSPoliciesCompliances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstanceOSPoliciesCompliances", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.ListInstanceOSPoliciesCompliances", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliances", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListInstanceOSPoliciesCompliances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListInstanceOSPoliciesCompliancesRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListInstanceOSPoliciesCompliancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceOSPoliciesComplianceIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "ListInstanceOSPoliciesCompliances", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliances", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "ListInstanceOSPoliciesCompliances" }, + "description": "ListInstanceOSPoliciesCompliances list OS policies compliance data for all Compute Engine VM instances in the\nspecified zone.\n\n\nDeprecated: ListInstanceOSPoliciesCompliances may be removed in a future version.", + "file": "OsConfigZonalClient/ListInstanceOSPoliciesCompliances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListInstanceOSPoliciesCompliances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListInstanceOSPoliciesCompliances Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListInventories_sync", - "title": "osconfig ListInventories Sample", - "description": "ListInventories list inventory data for all VM instances in the specified zone.", - "file": "OsConfigZonalClient/ListInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInventories", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.ListInventories", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventories", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListInventoriesRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InventoryIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "ListInventories", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventories", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "ListInventories" }, + "description": "ListInventories list inventory data for all VM instances in the specified zone.", + "file": "OsConfigZonalClient/ListInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListInventories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListInventories Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignmentReports_sync", - "title": "osconfig ListOSPolicyAssignmentReports Sample", - "description": "ListOSPolicyAssignmentReports list OS policy asssignment reports for all Compute Engine VM instances in\nthe specified zone.", - "file": "OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSPolicyAssignmentReports", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.ListOSPolicyAssignmentReports", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentReports", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListOSPolicyAssignmentReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListOSPolicyAssignmentReportsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListOSPolicyAssignmentReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSPolicyAssignmentReportIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "ListOSPolicyAssignmentReports", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentReports", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "ListOSPolicyAssignmentReports" }, + "description": "ListOSPolicyAssignmentReports list OS policy asssignment reports for all Compute Engine VM instances in\nthe specified zone.", + "file": "OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignmentReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListOSPolicyAssignmentReports Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignmentRevisions_sync", - "title": "osconfig ListOSPolicyAssignmentRevisions Sample", - "description": "ListOSPolicyAssignmentRevisions list the OS policy assignment revisions for a given OS policy assignment.", - "file": "OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSPolicyAssignmentRevisions", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.ListOSPolicyAssignmentRevisions", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisions", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListOSPolicyAssignmentRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListOSPolicyAssignmentRevisionsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListOSPolicyAssignmentRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSPolicyAssignmentIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "ListOSPolicyAssignmentRevisions", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisions", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "ListOSPolicyAssignmentRevisions" }, + "description": "ListOSPolicyAssignmentRevisions list the OS policy assignment revisions for a given OS policy assignment.", + "file": "OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignmentRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListOSPolicyAssignmentRevisions Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignments_sync", - "title": "osconfig ListOSPolicyAssignments Sample", - "description": "ListOSPolicyAssignments list the OS policy assignments under the parent resource.\n\nFor each OS policy assignment, the latest revision is returned.", - "file": "OsConfigZonalClient/ListOSPolicyAssignments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOSPolicyAssignments", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.ListOSPolicyAssignments", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignments", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListOSPolicyAssignments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListOSPolicyAssignmentsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListOSPolicyAssignmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OSPolicyAssignmentIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "ListOSPolicyAssignments", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignments", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "ListOSPolicyAssignments" }, + "description": "ListOSPolicyAssignments list the OS policy assignments under the parent resource.\n\nFor each OS policy assignment, the latest revision is returned.", + "file": "OsConfigZonalClient/ListOSPolicyAssignments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListOSPolicyAssignments Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListVulnerabilityReports_sync", - "title": "osconfig ListVulnerabilityReports Sample", - "description": "ListVulnerabilityReports list vulnerability reports for all VM instances in the specified zone.", - "file": "OsConfigZonalClient/ListVulnerabilityReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVulnerabilityReports", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.ListVulnerabilityReports", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReports", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "ListVulnerabilityReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListVulnerabilityReportsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListVulnerabilityReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VulnerabilityReportIterator", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "ListVulnerabilityReports", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReports", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "ListVulnerabilityReports" }, + "description": "ListVulnerabilityReports list vulnerability reports for all VM instances in the specified zone.", + "file": "OsConfigZonalClient/ListVulnerabilityReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_ListVulnerabilityReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListVulnerabilityReports Sample" }, { - "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_UpdateOSPolicyAssignment_sync", - "title": "osconfig UpdateOSPolicyAssignment Sample", - "description": "UpdateOSPolicyAssignment update an existing OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).", - "file": "OsConfigZonalClient/UpdateOSPolicyAssignment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOSPolicyAssignment", + "client": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient", + "shortName": "OsConfigZonalClient" + }, "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient.UpdateOSPolicyAssignment", + "method": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignment", + "service": { + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "shortName": "OsConfigZonalService" + }, + "shortName": "UpdateOSPolicyAssignment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.UpdateOSPolicyAssignmentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.UpdateOSPolicyAssignmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateOSPolicyAssignmentOperation", - "client": { - "shortName": "OsConfigZonalClient", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalClient" - }, - "method": { - "shortName": "UpdateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignment", - "service": { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService" - } - } + "shortName": "UpdateOSPolicyAssignment" }, + "description": "UpdateOSPolicyAssignment update an existing OS policy assignment.\n\nThis method creates a new revision of the OS policy assignment.\n\nThis method returns a long running operation (LRO) that contains the\nrollout details. The rollout can be cancelled by cancelling the LRO.\n\nFor more information, see [Method: \nprojects.locations.osPolicyAssignments.operations.cancel](https: //cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).", + "file": "OsConfigZonalClient/UpdateOSPolicyAssignment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1alpha_generated_OsConfigZonalService_UpdateOSPolicyAssignment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig UpdateOSPolicyAssignment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json b/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json index eae20c81c0a1..f7c206a2a4b8 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json +++ b/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json @@ -1,841 +1,841 @@ { "clientLibrary": { - "name": "cloud.google.com/go/osconfig/apiv1beta", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.osconfig.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/osconfig/apiv1beta", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "osconfig_v1beta_generated_OsConfigService_CancelPatchJob_sync", - "title": "osconfig CancelPatchJob Sample", - "description": "CancelPatchJob cancel a patch job. The patch job must be active. Canceled patch jobs\ncannot be restarted.", - "file": "Client/CancelPatchJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelPatchJob", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.CancelPatchJob", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CancelPatchJob", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "CancelPatchJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CancelPatchJobRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CancelPatchJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "CancelPatchJob", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CancelPatchJob", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "CancelPatchJob" }, + "description": "CancelPatchJob cancel a patch job. The patch job must be active. Canceled patch jobs\ncannot be restarted.", + "file": "Client/CancelPatchJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_CancelPatchJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CancelPatchJob Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_CreateGuestPolicy_sync", - "title": "osconfig CreateGuestPolicy Sample", - "description": "CreateGuestPolicy create an OS Config guest policy.", - "file": "Client/CreateGuestPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGuestPolicy", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.CreateGuestPolicy", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreateGuestPolicy", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "CreateGuestPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CreateGuestPolicyRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CreateGuestPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.GuestPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "CreateGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreateGuestPolicy", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "CreateGuestPolicy" }, + "description": "CreateGuestPolicy create an OS Config guest policy.", + "file": "Client/CreateGuestPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_CreateGuestPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CreateGuestPolicy Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_CreatePatchDeployment_sync", - "title": "osconfig CreatePatchDeployment Sample", - "description": "CreatePatchDeployment create an OS Config patch deployment.", - "file": "Client/CreatePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.CreatePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreatePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "CreatePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.CreatePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.CreatePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "CreatePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreatePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "CreatePatchDeployment" }, + "description": "CreatePatchDeployment create an OS Config patch deployment.", + "file": "Client/CreatePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_CreatePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig CreatePatchDeployment Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_DeleteGuestPolicy_sync", - "title": "osconfig DeleteGuestPolicy Sample", - "description": "DeleteGuestPolicy delete an OS Config guest policy.", - "file": "Client/DeleteGuestPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGuestPolicy", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.DeleteGuestPolicy", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeleteGuestPolicy", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "DeleteGuestPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.DeleteGuestPolicyRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.DeleteGuestPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "DeleteGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeleteGuestPolicy", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "DeleteGuestPolicy" }, + "description": "DeleteGuestPolicy delete an OS Config guest policy.", + "file": "Client/DeleteGuestPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_DeleteGuestPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig DeleteGuestPolicy Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_DeletePatchDeployment_sync", - "title": "osconfig DeletePatchDeployment Sample", - "description": "DeletePatchDeployment delete an OS Config patch deployment.", - "file": "Client/DeletePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.DeletePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeletePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "DeletePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.DeletePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.DeletePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "DeletePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeletePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "DeletePatchDeployment" }, + "description": "DeletePatchDeployment delete an OS Config patch deployment.", + "file": "Client/DeletePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_DeletePatchDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig DeletePatchDeployment Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_ExecutePatchJob_sync", - "title": "osconfig ExecutePatchJob Sample", - "description": "ExecutePatchJob patch VM instances by creating and running a patch job.", - "file": "Client/ExecutePatchJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecutePatchJob", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.ExecutePatchJob", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ExecutePatchJob", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ExecutePatchJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ExecutePatchJobRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ExecutePatchJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "ExecutePatchJob", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ExecutePatchJob", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "ExecutePatchJob" }, + "description": "ExecutePatchJob patch VM instances by creating and running a patch job.", + "file": "Client/ExecutePatchJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_ExecutePatchJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ExecutePatchJob Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_GetGuestPolicy_sync", - "title": "osconfig GetGuestPolicy Sample", - "description": "GetGuestPolicy get an OS Config guest policy.", - "file": "Client/GetGuestPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGuestPolicy", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.GetGuestPolicy", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetGuestPolicy", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "GetGuestPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetGuestPolicyRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetGuestPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.GuestPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "GetGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetGuestPolicy", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "GetGuestPolicy" }, + "description": "GetGuestPolicy get an OS Config guest policy.", + "file": "Client/GetGuestPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_GetGuestPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetGuestPolicy Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_GetPatchDeployment_sync", - "title": "osconfig GetPatchDeployment Sample", - "description": "GetPatchDeployment get an OS Config patch deployment.", - "file": "Client/GetPatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.GetPatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "GetPatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetPatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetPatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "GetPatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "GetPatchDeployment" }, + "description": "GetPatchDeployment get an OS Config patch deployment.", + "file": "Client/GetPatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_GetPatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetPatchDeployment Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_GetPatchJob_sync", - "title": "osconfig GetPatchJob Sample", - "description": "GetPatchJob get the patch job. This can be used to track the progress of an\nongoing patch job or review the details of completed jobs.", - "file": "Client/GetPatchJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPatchJob", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.GetPatchJob", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchJob", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "GetPatchJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.GetPatchJobRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.GetPatchJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "GetPatchJob", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchJob", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "GetPatchJob" }, + "description": "GetPatchJob get the patch job. This can be used to track the progress of an\nongoing patch job or review the details of completed jobs.", + "file": "Client/GetPatchJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_GetPatchJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig GetPatchJob Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_ListGuestPolicies_sync", - "title": "osconfig ListGuestPolicies Sample", - "description": "ListGuestPolicies get a page of OS Config guest policies.", - "file": "Client/ListGuestPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGuestPolicies", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.ListGuestPolicies", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListGuestPolicies", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListGuestPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListGuestPoliciesRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListGuestPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GuestPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "ListGuestPolicies", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListGuestPolicies", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "ListGuestPolicies" }, + "description": "ListGuestPolicies get a page of OS Config guest policies.", + "file": "Client/ListGuestPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_ListGuestPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListGuestPolicies Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_ListPatchDeployments_sync", - "title": "osconfig ListPatchDeployments Sample", - "description": "ListPatchDeployments get a page of OS Config patch deployments.", - "file": "Client/ListPatchDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPatchDeployments", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.ListPatchDeployments", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchDeployments", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListPatchDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListPatchDeploymentsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListPatchDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PatchDeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "ListPatchDeployments", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchDeployments", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "ListPatchDeployments" }, + "description": "ListPatchDeployments get a page of OS Config patch deployments.", + "file": "Client/ListPatchDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_ListPatchDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListPatchDeployments Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_ListPatchJobInstanceDetails_sync", - "title": "osconfig ListPatchJobInstanceDetails Sample", - "description": "ListPatchJobInstanceDetails get a list of instance details for a given patch job.", - "file": "Client/ListPatchJobInstanceDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPatchJobInstanceDetails", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.ListPatchJobInstanceDetails", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobInstanceDetails", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListPatchJobInstanceDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListPatchJobInstanceDetailsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListPatchJobInstanceDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PatchJobInstanceDetailsIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "ListPatchJobInstanceDetails", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobInstanceDetails", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "ListPatchJobInstanceDetails" }, + "description": "ListPatchJobInstanceDetails get a list of instance details for a given patch job.", + "file": "Client/ListPatchJobInstanceDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_ListPatchJobInstanceDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListPatchJobInstanceDetails Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_ListPatchJobs_sync", - "title": "osconfig ListPatchJobs Sample", - "description": "ListPatchJobs get a list of patch jobs.", - "file": "Client/ListPatchJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPatchJobs", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.ListPatchJobs", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobs", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ListPatchJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ListPatchJobsRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ListPatchJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PatchJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "ListPatchJobs", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobs", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "ListPatchJobs" }, + "description": "ListPatchJobs get a list of patch jobs.", + "file": "Client/ListPatchJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_ListPatchJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ListPatchJobs Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_LookupEffectiveGuestPolicy_sync", - "title": "osconfig LookupEffectiveGuestPolicy Sample", - "description": "LookupEffectiveGuestPolicy lookup the effective guest policy that applies to a VM instance. This\nlookup merges all policies that are assigned to the instance ancestry.", - "file": "Client/LookupEffectiveGuestPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "LookupEffectiveGuestPolicy", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.LookupEffectiveGuestPolicy", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.LookupEffectiveGuestPolicy", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "LookupEffectiveGuestPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.LookupEffectiveGuestPolicyRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.LookupEffectiveGuestPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.EffectiveGuestPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "LookupEffectiveGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.LookupEffectiveGuestPolicy", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "LookupEffectiveGuestPolicy" }, + "description": "LookupEffectiveGuestPolicy lookup the effective guest policy that applies to a VM instance. This\nlookup merges all policies that are assigned to the instance ancestry.", + "file": "Client/LookupEffectiveGuestPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_LookupEffectiveGuestPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig LookupEffectiveGuestPolicy Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_PausePatchDeployment_sync", - "title": "osconfig PausePatchDeployment Sample", - "description": "PausePatchDeployment change state of patch deployment to \"PAUSED\".\nPatch deployment in paused state doesn't generate patch jobs.", - "file": "Client/PausePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "PausePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.PausePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.PausePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "PausePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.PausePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.PausePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "PausePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.PausePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "PausePatchDeployment" }, + "description": "PausePatchDeployment change state of patch deployment to \"PAUSED\".\nPatch deployment in paused state doesn't generate patch jobs.", + "file": "Client/PausePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_PausePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig PausePatchDeployment Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_ResumePatchDeployment_sync", - "title": "osconfig ResumePatchDeployment Sample", - "description": "ResumePatchDeployment change state of patch deployment back to \"ACTIVE\".\nPatch deployment in active state continues to generate patch jobs.", - "file": "Client/ResumePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.ResumePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ResumePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "ResumePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.ResumePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.ResumePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "ResumePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ResumePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "ResumePatchDeployment" }, + "description": "ResumePatchDeployment change state of patch deployment back to \"ACTIVE\".\nPatch deployment in active state continues to generate patch jobs.", + "file": "Client/ResumePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_ResumePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig ResumePatchDeployment Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_UpdateGuestPolicy_sync", - "title": "osconfig UpdateGuestPolicy Sample", - "description": "UpdateGuestPolicy update an OS Config guest policy.", - "file": "Client/UpdateGuestPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGuestPolicy", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.UpdateGuestPolicy", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdateGuestPolicy", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "UpdateGuestPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.UpdateGuestPolicyRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.UpdateGuestPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.GuestPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "UpdateGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdateGuestPolicy", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "UpdateGuestPolicy" }, + "description": "UpdateGuestPolicy update an OS Config guest policy.", + "file": "Client/UpdateGuestPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_UpdateGuestPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig UpdateGuestPolicy Sample" }, { - "regionTag": "osconfig_v1beta_generated_OsConfigService_UpdatePatchDeployment_sync", - "title": "osconfig UpdatePatchDeployment Sample", - "description": "UpdatePatchDeployment update an OS Config patch deployment.", - "file": "Client/UpdatePatchDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePatchDeployment", + "client": { + "fullName": "google.cloud.osconfig.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.osconfig.v1beta.Client.UpdatePatchDeployment", + "method": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdatePatchDeployment", + "service": { + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "OsConfigService" + }, + "shortName": "UpdatePatchDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osconfigpb.UpdatePatchDeploymentRequest", - "name": "req" + "name": "req", + "type": "osconfigpb.UpdatePatchDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osconfigpb.PatchDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.osconfig.v1beta.Client" - }, - "method": { - "shortName": "UpdatePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdatePatchDeployment", - "service": { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService" - } - } + "shortName": "UpdatePatchDeployment" }, + "description": "UpdatePatchDeployment update an OS Config patch deployment.", + "file": "Client/UpdatePatchDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "osconfig_v1beta_generated_OsConfigService_UpdatePatchDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "osconfig UpdatePatchDeployment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json index f905bea42dc7..63188ddae36c 100644 --- a/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json +++ b/internal/generated/snippets/oslogin/apiv1/snippet_metadata.google.cloud.oslogin.v1.json @@ -1,335 +1,335 @@ { "clientLibrary": { - "name": "cloud.google.com/go/oslogin/apiv1", - "version": "1.14.7", - "language": "GO", "apis": [ { "id": "google.cloud.oslogin.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/oslogin/apiv1", + "version": "1.14.7" }, "snippets": [ { - "regionTag": "oslogin_v1_generated_OsLoginService_CreateSshPublicKey_sync", - "title": "oslogin CreateSshPublicKey Sample", - "description": "CreateSshPublicKey create an SSH public key", - "file": "Client/CreateSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.CreateSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.CreateSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "CreateSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.CreateSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.CreateSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*commonpb.SshPublicKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "CreateSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.CreateSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "CreateSshPublicKey" }, + "description": "CreateSshPublicKey create an SSH public key", + "file": "Client/CreateSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_CreateSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin CreateSshPublicKey Sample" }, { - "regionTag": "oslogin_v1_generated_OsLoginService_DeletePosixAccount_sync", - "title": "oslogin DeletePosixAccount Sample", - "description": "DeletePosixAccount deletes a POSIX account.", - "file": "Client/DeletePosixAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePosixAccount", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.DeletePosixAccount", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.DeletePosixAccount", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "DeletePosixAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.DeletePosixAccountRequest", - "name": "req" + "name": "req", + "type": "osloginpb.DeletePosixAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "DeletePosixAccount", - "fullName": "google.cloud.oslogin.v1.OsLoginService.DeletePosixAccount", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "DeletePosixAccount" }, + "description": "DeletePosixAccount deletes a POSIX account.", + "file": "Client/DeletePosixAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_DeletePosixAccount_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin DeletePosixAccount Sample" }, { - "regionTag": "oslogin_v1_generated_OsLoginService_DeleteSshPublicKey_sync", - "title": "oslogin DeleteSshPublicKey Sample", - "description": "DeleteSshPublicKey deletes an SSH public key.", - "file": "Client/DeleteSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.DeleteSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "DeleteSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.DeleteSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.DeleteSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "DeleteSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "DeleteSshPublicKey" }, + "description": "DeleteSshPublicKey deletes an SSH public key.", + "file": "Client/DeleteSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_DeleteSshPublicKey_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin DeleteSshPublicKey Sample" }, { - "regionTag": "oslogin_v1_generated_OsLoginService_GetLoginProfile_sync", - "title": "oslogin GetLoginProfile Sample", - "description": "GetLoginProfile retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.", - "file": "Client/GetLoginProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLoginProfile", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.GetLoginProfile", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.GetLoginProfile", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "GetLoginProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.GetLoginProfileRequest", - "name": "req" + "name": "req", + "type": "osloginpb.GetLoginProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osloginpb.LoginProfile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "GetLoginProfile", - "fullName": "google.cloud.oslogin.v1.OsLoginService.GetLoginProfile", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "GetLoginProfile" }, + "description": "GetLoginProfile retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.", + "file": "Client/GetLoginProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_GetLoginProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin GetLoginProfile Sample" }, { - "regionTag": "oslogin_v1_generated_OsLoginService_GetSshPublicKey_sync", - "title": "oslogin GetSshPublicKey Sample", - "description": "GetSshPublicKey retrieves an SSH public key.", - "file": "Client/GetSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.GetSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.GetSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "GetSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.GetSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.GetSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*commonpb.SshPublicKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "GetSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.GetSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "GetSshPublicKey" }, + "description": "GetSshPublicKey retrieves an SSH public key.", + "file": "Client/GetSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_GetSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin GetSshPublicKey Sample" }, { - "regionTag": "oslogin_v1_generated_OsLoginService_ImportSshPublicKey_sync", - "title": "oslogin ImportSshPublicKey Sample", - "description": "ImportSshPublicKey adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.", - "file": "Client/ImportSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.ImportSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "ImportSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.ImportSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.ImportSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osloginpb.ImportSshPublicKeyResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "ImportSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "ImportSshPublicKey" }, + "description": "ImportSshPublicKey adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.", + "file": "Client/ImportSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_ImportSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin ImportSshPublicKey Sample" }, { - "regionTag": "oslogin_v1_generated_OsLoginService_UpdateSshPublicKey_sync", - "title": "oslogin UpdateSshPublicKey Sample", - "description": "UpdateSshPublicKey updates an SSH public key and returns the profile information. This method\nsupports patch semantics.", - "file": "Client/UpdateSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1.Client.UpdateSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "UpdateSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.UpdateSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.UpdateSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*commonpb.SshPublicKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1.Client" - }, - "method": { - "shortName": "UpdateSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService" - } - } + "shortName": "UpdateSshPublicKey" }, + "description": "UpdateSshPublicKey updates an SSH public key and returns the profile information. This method\nsupports patch semantics.", + "file": "Client/UpdateSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1_generated_OsLoginService_UpdateSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin UpdateSshPublicKey Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json index 919c865d7ffa..58f7a8d137d2 100644 --- a/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json +++ b/internal/generated/snippets/oslogin/apiv1beta/snippet_metadata.google.cloud.oslogin.v1beta.json @@ -1,381 +1,381 @@ { "clientLibrary": { - "name": "cloud.google.com/go/oslogin/apiv1beta", - "version": "1.14.7", - "language": "GO", "apis": [ { "id": "google.cloud.oslogin.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/oslogin/apiv1beta", + "version": "1.14.7" }, "snippets": [ { - "regionTag": "oslogin_v1beta_generated_OsLoginService_CreateSshPublicKey_sync", - "title": "oslogin CreateSshPublicKey Sample", - "description": "CreateSshPublicKey create an SSH public key", - "file": "Client/CreateSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.CreateSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.CreateSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "CreateSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.CreateSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.CreateSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*commonpb.SshPublicKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "CreateSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.CreateSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "CreateSshPublicKey" }, + "description": "CreateSshPublicKey create an SSH public key", + "file": "Client/CreateSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_CreateSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin CreateSshPublicKey Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_DeletePosixAccount_sync", - "title": "oslogin DeletePosixAccount Sample", - "description": "DeletePosixAccount deletes a POSIX account.", - "file": "Client/DeletePosixAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePosixAccount", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.DeletePosixAccount", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "DeletePosixAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.DeletePosixAccountRequest", - "name": "req" + "name": "req", + "type": "osloginpb.DeletePosixAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "DeletePosixAccount", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "DeletePosixAccount" }, + "description": "DeletePosixAccount deletes a POSIX account.", + "file": "Client/DeletePosixAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_DeletePosixAccount_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin DeletePosixAccount Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_DeleteSshPublicKey_sync", - "title": "oslogin DeleteSshPublicKey Sample", - "description": "DeleteSshPublicKey deletes an SSH public key.", - "file": "Client/DeleteSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.DeleteSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "DeleteSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.DeleteSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.DeleteSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "DeleteSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "DeleteSshPublicKey" }, + "description": "DeleteSshPublicKey deletes an SSH public key.", + "file": "Client/DeleteSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_DeleteSshPublicKey_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin DeleteSshPublicKey Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_GetLoginProfile_sync", - "title": "oslogin GetLoginProfile Sample", - "description": "GetLoginProfile retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.", - "file": "Client/GetLoginProfile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLoginProfile", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.GetLoginProfile", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "GetLoginProfile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.GetLoginProfileRequest", - "name": "req" + "name": "req", + "type": "osloginpb.GetLoginProfileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osloginpb.LoginProfile", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "GetLoginProfile", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "GetLoginProfile" }, + "description": "GetLoginProfile retrieves the profile information used for logging in to a virtual machine\non Google Compute Engine.", + "file": "Client/GetLoginProfile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_GetLoginProfile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin GetLoginProfile Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_GetSshPublicKey_sync", - "title": "oslogin GetSshPublicKey Sample", - "description": "GetSshPublicKey retrieves an SSH public key.", - "file": "Client/GetSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.GetSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "GetSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.GetSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.GetSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*commonpb.SshPublicKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "GetSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "GetSshPublicKey" }, + "description": "GetSshPublicKey retrieves an SSH public key.", + "file": "Client/GetSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_GetSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin GetSshPublicKey Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_ImportSshPublicKey_sync", - "title": "oslogin ImportSshPublicKey Sample", - "description": "ImportSshPublicKey adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.", - "file": "Client/ImportSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.ImportSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "ImportSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.ImportSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.ImportSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osloginpb.ImportSshPublicKeyResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "ImportSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "ImportSshPublicKey" }, + "description": "ImportSshPublicKey adds an SSH public key and returns the profile information. Default POSIX\naccount information is set when no username and UID exist as part of the\nlogin profile.", + "file": "Client/ImportSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_ImportSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin ImportSshPublicKey Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_SignSshPublicKey_sync", - "title": "oslogin SignSshPublicKey Sample", - "description": "SignSshPublicKey signs an SSH public key for a user to authenticate to an instance.", - "file": "Client/SignSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "SignSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.SignSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.SignSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "SignSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.SignSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.SignSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*osloginpb.SignSshPublicKeyResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "SignSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.SignSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "SignSshPublicKey" }, + "description": "SignSshPublicKey signs an SSH public key for a user to authenticate to an instance.", + "file": "Client/SignSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_SignSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin SignSshPublicKey Sample" }, { - "regionTag": "oslogin_v1beta_generated_OsLoginService_UpdateSshPublicKey_sync", - "title": "oslogin UpdateSshPublicKey Sample", - "description": "UpdateSshPublicKey updates an SSH public key and returns the profile information. This method\nsupports patch semantics.", - "file": "Client/UpdateSshPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSshPublicKey", + "client": { + "fullName": "google.cloud.oslogin.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.oslogin.v1beta.Client.UpdateSshPublicKey", + "method": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKey", + "service": { + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "OsLoginService" + }, + "shortName": "UpdateSshPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "osloginpb.UpdateSshPublicKeyRequest", - "name": "req" + "name": "req", + "type": "osloginpb.UpdateSshPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*commonpb.SshPublicKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.oslogin.v1beta.Client" - }, - "method": { - "shortName": "UpdateSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKey", - "service": { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService" - } - } + "shortName": "UpdateSshPublicKey" }, + "description": "UpdateSshPublicKey updates an SSH public key and returns the profile information. This method\nsupports patch semantics.", + "file": "Client/UpdateSshPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "oslogin_v1beta_generated_OsLoginService_UpdateSshPublicKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "oslogin UpdateSshPublicKey Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/parallelstore/apiv1/snippet_metadata.google.cloud.parallelstore.v1.json b/internal/generated/snippets/parallelstore/apiv1/snippet_metadata.google.cloud.parallelstore.v1.json index 596cd12c799b..f8bd85b9ff5a 100644 --- a/internal/generated/snippets/parallelstore/apiv1/snippet_metadata.google.cloud.parallelstore.v1.json +++ b/internal/generated/snippets/parallelstore/apiv1/snippet_metadata.google.cloud.parallelstore.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/parallelstore/apiv1", - "version": "0.12.0", - "language": "GO", "apis": [ { "id": "google.cloud.parallelstore.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/parallelstore/apiv1", + "version": "0.12.0" }, "snippets": [ { - "regionTag": "parallelstore_v1_generated_Parallelstore_CancelOperation_sync", - "title": "parallelstore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore CancelOperation Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_CreateInstance_sync", - "title": "parallelstore CreateInstance Sample", - "description": "CreateInstance creates a Parallelstore instance in a given project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.CreateInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.CreateInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.CreateInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a Parallelstore instance in a given project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore CreateInstance Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_DeleteInstance_sync", - "title": "parallelstore DeleteInstance Sample", - "description": "DeleteInstance deletes a single instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.DeleteInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.DeleteInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore DeleteInstance Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_DeleteOperation_sync", - "title": "parallelstore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore DeleteOperation Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_ExportData_sync", - "title": "parallelstore ExportData Sample", - "description": "ExportData copies data from Parallelstore to Cloud Storage.", - "file": "Client/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.ExportData", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.ExportData", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.ExportData", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "ExportData" }, + "description": "ExportData copies data from Parallelstore to Cloud Storage.", + "file": "Client/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_ExportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ExportData Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_GetInstance_sync", - "title": "parallelstore GetInstance Sample", - "description": "GetInstance gets details of a single instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.GetInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.GetInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parallelstorepb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.GetInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore GetInstance Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_GetLocation_sync", - "title": "parallelstore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore GetLocation Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_GetOperation_sync", - "title": "parallelstore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore GetOperation Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_ImportData_sync", - "title": "parallelstore ImportData Sample", - "description": "ImportData copies data from Cloud Storage to Parallelstore.", - "file": "Client/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.ImportData", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.ImportData", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.ImportData", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "ImportData" }, + "description": "ImportData copies data from Cloud Storage to Parallelstore.", + "file": "Client/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_ImportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ImportData Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_ListInstances_sync", - "title": "parallelstore ListInstances Sample", - "description": "ListInstances lists all instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.ListInstances", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.ListInstances", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.ListInstances", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists all instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ListInstances Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_ListLocations_sync", - "title": "parallelstore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ListLocations Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_ListOperations_sync", - "title": "parallelstore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ListOperations Sample" }, { - "regionTag": "parallelstore_v1_generated_Parallelstore_UpdateInstance_sync", - "title": "parallelstore UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single instance.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore.UpdateInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.parallelstore.v1.Parallelstore.UpdateInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1.Parallelstore" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single instance.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1_generated_Parallelstore_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore UpdateInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json b/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json index 62a44c81642e..0f03074b3694 100644 --- a/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json +++ b/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/parallelstore/apiv1beta", - "version": "0.12.0", - "language": "GO", "apis": [ { "id": "google.cloud.parallelstore.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/parallelstore/apiv1beta", + "version": "0.12.0" }, "snippets": [ { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_CancelOperation_sync", - "title": "parallelstore CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore CancelOperation Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_CreateInstance_sync", - "title": "parallelstore CreateInstance Sample", - "description": "CreateInstance creates a Parallelstore instance in a given project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.CreateInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.CreateInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.CreateInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a Parallelstore instance in a given project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore CreateInstance Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_DeleteInstance_sync", - "title": "parallelstore DeleteInstance Sample", - "description": "DeleteInstance deletes a single instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.DeleteInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.DeleteInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore DeleteInstance Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_DeleteOperation_sync", - "title": "parallelstore DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore DeleteOperation Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_ExportData_sync", - "title": "parallelstore ExportData Sample", - "description": "ExportData copies data from Parallelstore to Cloud Storage.", - "file": "Client/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.ExportData", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ExportData", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ExportData", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "ExportData" }, + "description": "ExportData copies data from Parallelstore to Cloud Storage.", + "file": "Client/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_ExportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ExportData Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_GetInstance_sync", - "title": "parallelstore GetInstance Sample", - "description": "GetInstance gets details of a single instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.GetInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.GetInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parallelstorepb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.GetInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore GetInstance Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_GetLocation_sync", - "title": "parallelstore GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore GetLocation Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_GetOperation_sync", - "title": "parallelstore GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore GetOperation Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_ImportData_sync", - "title": "parallelstore ImportData Sample", - "description": "ImportData copies data from Cloud Storage to Parallelstore.", - "file": "Client/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.ImportData", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ImportData", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ImportData", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "ImportData" }, + "description": "ImportData copies data from Cloud Storage to Parallelstore.", + "file": "Client/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_ImportData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ImportData Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_ListInstances_sync", - "title": "parallelstore ListInstances Sample", - "description": "ListInstances lists all instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.ListInstances", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ListInstances", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ListInstances", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists all instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ListInstances Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_ListLocations_sync", - "title": "parallelstore ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ListLocations Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_ListOperations_sync", - "title": "parallelstore ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore ListOperations Sample" }, { - "regionTag": "parallelstore_v1beta_generated_Parallelstore_UpdateInstance_sync", - "title": "parallelstore UpdateInstance Sample", - "description": "UpdateInstance updates the parameters of a single instance.", - "file": "Client/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.parallelstore.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parallelstore.v1beta.Client.UpdateInstance", + "method": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.UpdateInstance", + "service": { + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "shortName": "Parallelstore" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parallelstorepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "parallelstorepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parallelstore.v1beta.Client" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.UpdateInstance", - "service": { - "shortName": "Parallelstore", - "fullName": "google.cloud.parallelstore.v1beta.Parallelstore" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the parameters of a single instance.", + "file": "Client/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parallelstore_v1beta_generated_Parallelstore_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "parallelstore UpdateInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/parametermanager/apiv1/snippet_metadata.google.cloud.parametermanager.v1.json b/internal/generated/snippets/parametermanager/apiv1/snippet_metadata.google.cloud.parametermanager.v1.json index 4a06e2c84d7d..cdda1a244c18 100644 --- a/internal/generated/snippets/parametermanager/apiv1/snippet_metadata.google.cloud.parametermanager.v1.json +++ b/internal/generated/snippets/parametermanager/apiv1/snippet_metadata.google.cloud.parametermanager.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/parametermanager/apiv1", - "version": "0.3.1", - "language": "GO", "apis": [ { "id": "google.cloud.parametermanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/parametermanager/apiv1", + "version": "0.3.1" }, "snippets": [ { - "regionTag": "parametermanager_v1_generated_ParameterManager_CreateParameter_sync", - "title": "parametermanager CreateParameter Sample", - "description": "CreateParameter creates a new Parameter in a given project and location.", - "file": "Client/CreateParameter/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateParameter", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.CreateParameter", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.CreateParameter", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "CreateParameter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.CreateParameterRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.CreateParameterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.Parameter", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "CreateParameter", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.CreateParameter", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "CreateParameter" }, + "description": "CreateParameter creates a new Parameter in a given project and location.", + "file": "Client/CreateParameter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_CreateParameter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager CreateParameter Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_CreateParameterVersion_sync", - "title": "parametermanager CreateParameterVersion Sample", - "description": "CreateParameterVersion creates a new ParameterVersion in a given project, location, and parameter.", - "file": "Client/CreateParameterVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateParameterVersion", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.CreateParameterVersion", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.CreateParameterVersion", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "CreateParameterVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.CreateParameterVersionRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.CreateParameterVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.ParameterVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "CreateParameterVersion", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.CreateParameterVersion", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "CreateParameterVersion" }, + "description": "CreateParameterVersion creates a new ParameterVersion in a given project, location, and parameter.", + "file": "Client/CreateParameterVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_CreateParameterVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager CreateParameterVersion Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_DeleteParameter_sync", - "title": "parametermanager DeleteParameter Sample", - "description": "DeleteParameter deletes a single Parameter.", - "file": "Client/DeleteParameter/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteParameter", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.DeleteParameter", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.DeleteParameter", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "DeleteParameter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.DeleteParameterRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.DeleteParameterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "DeleteParameter", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.DeleteParameter", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "DeleteParameter" }, + "description": "DeleteParameter deletes a single Parameter.", + "file": "Client/DeleteParameter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_DeleteParameter_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager DeleteParameter Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_DeleteParameterVersion_sync", - "title": "parametermanager DeleteParameterVersion Sample", - "description": "DeleteParameterVersion deletes a single ParameterVersion.", - "file": "Client/DeleteParameterVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteParameterVersion", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.DeleteParameterVersion", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.DeleteParameterVersion", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "DeleteParameterVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.DeleteParameterVersionRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.DeleteParameterVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "DeleteParameterVersion", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.DeleteParameterVersion", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "DeleteParameterVersion" }, + "description": "DeleteParameterVersion deletes a single ParameterVersion.", + "file": "Client/DeleteParameterVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_DeleteParameterVersion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager DeleteParameterVersion Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_GetLocation_sync", - "title": "parametermanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager GetLocation Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_GetParameter_sync", - "title": "parametermanager GetParameter Sample", - "description": "GetParameter gets details of a single Parameter.", - "file": "Client/GetParameter/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParameter", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.GetParameter", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.GetParameter", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "GetParameter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.GetParameterRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.GetParameterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.Parameter", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "GetParameter", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.GetParameter", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "GetParameter" }, + "description": "GetParameter gets details of a single Parameter.", + "file": "Client/GetParameter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_GetParameter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager GetParameter Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_GetParameterVersion_sync", - "title": "parametermanager GetParameterVersion Sample", - "description": "GetParameterVersion gets details of a single ParameterVersion.", - "file": "Client/GetParameterVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetParameterVersion", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.GetParameterVersion", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.GetParameterVersion", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "GetParameterVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.GetParameterVersionRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.GetParameterVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.ParameterVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "GetParameterVersion", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.GetParameterVersion", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "GetParameterVersion" }, + "description": "GetParameterVersion gets details of a single ParameterVersion.", + "file": "Client/GetParameterVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_GetParameterVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager GetParameterVersion Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_ListLocations_sync", - "title": "parametermanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager ListLocations Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_ListParameterVersions_sync", - "title": "parametermanager ListParameterVersions Sample", - "description": "ListParameterVersions lists ParameterVersions in a given project, location, and parameter.", - "file": "Client/ListParameterVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParameterVersions", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.ListParameterVersions", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.ListParameterVersions", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "ListParameterVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.ListParameterVersionsRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.ListParameterVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParameterVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "ListParameterVersions", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.ListParameterVersions", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "ListParameterVersions" }, + "description": "ListParameterVersions lists ParameterVersions in a given project, location, and parameter.", + "file": "Client/ListParameterVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_ListParameterVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager ListParameterVersions Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_ListParameters_sync", - "title": "parametermanager ListParameters Sample", - "description": "ListParameters lists Parameters in a given project and location.", - "file": "Client/ListParameters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListParameters", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.ListParameters", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.ListParameters", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "ListParameters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.ListParametersRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.ListParametersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ParameterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "ListParameters", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.ListParameters", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "ListParameters" }, + "description": "ListParameters lists Parameters in a given project and location.", + "file": "Client/ListParameters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_ListParameters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager ListParameters Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_RenderParameterVersion_sync", - "title": "parametermanager RenderParameterVersion Sample", - "description": "RenderParameterVersion gets rendered version of a ParameterVersion.", - "file": "Client/RenderParameterVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenderParameterVersion", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.RenderParameterVersion", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.RenderParameterVersion", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "RenderParameterVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.RenderParameterVersionRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.RenderParameterVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.RenderParameterVersionResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "RenderParameterVersion", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.RenderParameterVersion", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "RenderParameterVersion" }, + "description": "RenderParameterVersion gets rendered version of a ParameterVersion.", + "file": "Client/RenderParameterVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_RenderParameterVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager RenderParameterVersion Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_UpdateParameter_sync", - "title": "parametermanager UpdateParameter Sample", - "description": "UpdateParameter updates a single Parameter.", - "file": "Client/UpdateParameter/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateParameter", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.UpdateParameter", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.UpdateParameter", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "UpdateParameter" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.UpdateParameterRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.UpdateParameterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.Parameter", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "UpdateParameter", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.UpdateParameter", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "UpdateParameter" }, + "description": "UpdateParameter updates a single Parameter.", + "file": "Client/UpdateParameter/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_UpdateParameter_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager UpdateParameter Sample" }, { - "regionTag": "parametermanager_v1_generated_ParameterManager_UpdateParameterVersion_sync", - "title": "parametermanager UpdateParameterVersion Sample", - "description": "UpdateParameterVersion updates a single ParameterVersion.", - "file": "Client/UpdateParameterVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateParameterVersion", + "client": { + "fullName": "google.cloud.parametermanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.parametermanager.v1.Client.UpdateParameterVersion", + "method": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager.UpdateParameterVersion", + "service": { + "fullName": "google.cloud.parametermanager.v1.ParameterManager", + "shortName": "ParameterManager" + }, + "shortName": "UpdateParameterVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "parametermanagerpb.UpdateParameterVersionRequest", - "name": "req" + "name": "req", + "type": "parametermanagerpb.UpdateParameterVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*parametermanagerpb.ParameterVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.parametermanager.v1.Client" - }, - "method": { - "shortName": "UpdateParameterVersion", - "fullName": "google.cloud.parametermanager.v1.ParameterManager.UpdateParameterVersion", - "service": { - "shortName": "ParameterManager", - "fullName": "google.cloud.parametermanager.v1.ParameterManager" - } - } + "shortName": "UpdateParameterVersion" }, + "description": "UpdateParameterVersion updates a single ParameterVersion.", + "file": "Client/UpdateParameterVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "parametermanager_v1_generated_ParameterManager_UpdateParameterVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "parametermanager UpdateParameterVersion Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json index ed3ecd89aa9c..456295966143 100644 --- a/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json +++ b/internal/generated/snippets/phishingprotection/apiv1beta1/snippet_metadata.google.cloud.phishingprotection.v1beta1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/phishingprotection/apiv1beta1", - "version": "0.9.7", - "language": "GO", "apis": [ { "id": "google.cloud.phishingprotection.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/phishingprotection/apiv1beta1", + "version": "0.9.7" }, "snippets": [ { - "regionTag": "phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_sync", - "title": "phishingprotection ReportPhishing Sample", - "description": "ReportPhishing reports a URI suspected of containing phishing content to be reviewed. Once\nthe report review is complete, its result can be found in the Cloud\nSecurity Command Center findings dashboard for Phishing Protection. If the\nresult verifies the existence of malicious phishing content, the site will\nbe added the to [Google's Social Engineering\nlists](https: //support.google.com/webmasters/answer/6350487/) in order to\nprotect users that could get exposed to this threat in the future.", - "file": "PhishingProtectionServiceV1Beta1Client/ReportPhishing/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReportPhishing", + "client": { + "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client", + "shortName": "PhishingProtectionServiceV1Beta1Client" + }, "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client.ReportPhishing", + "method": { + "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing", + "service": { + "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1", + "shortName": "PhishingProtectionServiceV1Beta1" + }, + "shortName": "ReportPhishing" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "phishingprotectionpb.ReportPhishingRequest", - "name": "req" + "name": "req", + "type": "phishingprotectionpb.ReportPhishingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*phishingprotectionpb.ReportPhishingResponse", - "client": { - "shortName": "PhishingProtectionServiceV1Beta1Client", - "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1Client" - }, - "method": { - "shortName": "ReportPhishing", - "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing", - "service": { - "shortName": "PhishingProtectionServiceV1Beta1", - "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1" - } - } + "shortName": "ReportPhishing" }, + "description": "ReportPhishing reports a URI suspected of containing phishing content to be reviewed. Once\nthe report review is complete, its result can be found in the Cloud\nSecurity Command Center findings dashboard for Phishing Protection. If the\nresult verifies the existence of malicious phishing content, the site will\nbe added the to [Google's Social Engineering\nlists](https: //support.google.com/webmasters/answer/6350487/) in order to\nprotect users that could get exposed to this threat in the future.", + "file": "PhishingProtectionServiceV1Beta1Client/ReportPhishing/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "phishingprotection_v1beta1_generated_PhishingProtectionServiceV1Beta1_ReportPhishing_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "phishingprotection ReportPhishing Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json b/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json index 46f4b4b937e9..4777dd695ad4 100644 --- a/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json +++ b/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json @@ -1,521 +1,521 @@ { "clientLibrary": { - "name": "cloud.google.com/go/policysimulator/apiv1", - "version": "0.4.1", - "language": "GO", "apis": [ { "id": "google.cloud.policysimulator.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/policysimulator/apiv1", + "version": "0.4.1" }, "snippets": [ { - "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_CreateOrgPolicyViolationsPreview_sync", - "title": "policysimulator CreateOrgPolicyViolationsPreview Sample", - "description": "CreateOrgPolicyViolationsPreview createOrgPolicyViolationsPreview creates an\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nfor the proposed changes in the provided\n[OrgPolicyViolationsPreview.OrgPolicyOverlay][]. The changes to OrgPolicy\nare specified by this `OrgPolicyOverlay`. The resources to scan are\ninferred from these specified changes.", - "file": "OrgPolicyViolationsPreviewClient/CreateOrgPolicyViolationsPreview/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOrgPolicyViolationsPreview", + "client": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient", + "shortName": "OrgPolicyViolationsPreviewClient" + }, "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient.CreateOrgPolicyViolationsPreview", + "method": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.CreateOrgPolicyViolationsPreview", + "service": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService", + "shortName": "OrgPolicyViolationsPreviewService" + }, + "shortName": "CreateOrgPolicyViolationsPreview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.CreateOrgPolicyViolationsPreviewRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.CreateOrgPolicyViolationsPreviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOrgPolicyViolationsPreviewOperation", - "client": { - "shortName": "OrgPolicyViolationsPreviewClient", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient" - }, - "method": { - "shortName": "CreateOrgPolicyViolationsPreview", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.CreateOrgPolicyViolationsPreview", - "service": { - "shortName": "OrgPolicyViolationsPreviewService", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService" - } - } + "shortName": "CreateOrgPolicyViolationsPreview" }, + "description": "CreateOrgPolicyViolationsPreview createOrgPolicyViolationsPreview creates an\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nfor the proposed changes in the provided\n[OrgPolicyViolationsPreview.OrgPolicyOverlay][]. The changes to OrgPolicy\nare specified by this `OrgPolicyOverlay`. The resources to scan are\ninferred from these specified changes.", + "file": "OrgPolicyViolationsPreviewClient/CreateOrgPolicyViolationsPreview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_CreateOrgPolicyViolationsPreview_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator CreateOrgPolicyViolationsPreview Sample" }, { - "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_GetOperation_sync", - "title": "policysimulator GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "OrgPolicyViolationsPreviewClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient", + "shortName": "OrgPolicyViolationsPreviewClient" + }, "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "OrgPolicyViolationsPreviewClient", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "OrgPolicyViolationsPreviewClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator GetOperation Sample" }, { - "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_GetOrgPolicyViolationsPreview_sync", - "title": "policysimulator GetOrgPolicyViolationsPreview Sample", - "description": "GetOrgPolicyViolationsPreview getOrgPolicyViolationsPreview gets the specified\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview].\nEach\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nis available for at least 7 days.", - "file": "OrgPolicyViolationsPreviewClient/GetOrgPolicyViolationsPreview/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrgPolicyViolationsPreview", + "client": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient", + "shortName": "OrgPolicyViolationsPreviewClient" + }, "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient.GetOrgPolicyViolationsPreview", + "method": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.GetOrgPolicyViolationsPreview", + "service": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService", + "shortName": "OrgPolicyViolationsPreviewService" + }, + "shortName": "GetOrgPolicyViolationsPreview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.GetOrgPolicyViolationsPreviewRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.GetOrgPolicyViolationsPreviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*policysimulatorpb.OrgPolicyViolationsPreview", - "client": { - "shortName": "OrgPolicyViolationsPreviewClient", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient" - }, - "method": { - "shortName": "GetOrgPolicyViolationsPreview", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.GetOrgPolicyViolationsPreview", - "service": { - "shortName": "OrgPolicyViolationsPreviewService", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService" - } - } + "shortName": "GetOrgPolicyViolationsPreview" }, + "description": "GetOrgPolicyViolationsPreview getOrgPolicyViolationsPreview gets the specified\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview].\nEach\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nis available for at least 7 days.", + "file": "OrgPolicyViolationsPreviewClient/GetOrgPolicyViolationsPreview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_GetOrgPolicyViolationsPreview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator GetOrgPolicyViolationsPreview Sample" }, { - "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_ListOperations_sync", - "title": "policysimulator ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "OrgPolicyViolationsPreviewClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient", + "shortName": "OrgPolicyViolationsPreviewClient" + }, "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "OrgPolicyViolationsPreviewClient", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "OrgPolicyViolationsPreviewClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator ListOperations Sample" }, { - "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_ListOrgPolicyViolations_sync", - "title": "policysimulator ListOrgPolicyViolations Sample", - "description": "ListOrgPolicyViolations listOrgPolicyViolations lists the [OrgPolicyViolations][] that are present\nin an\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview].", - "file": "OrgPolicyViolationsPreviewClient/ListOrgPolicyViolations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrgPolicyViolations", + "client": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient", + "shortName": "OrgPolicyViolationsPreviewClient" + }, "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient.ListOrgPolicyViolations", + "method": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolations", + "service": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService", + "shortName": "OrgPolicyViolationsPreviewService" + }, + "shortName": "ListOrgPolicyViolations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.ListOrgPolicyViolationsRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.ListOrgPolicyViolationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrgPolicyViolationIterator", - "client": { - "shortName": "OrgPolicyViolationsPreviewClient", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient" - }, - "method": { - "shortName": "ListOrgPolicyViolations", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolations", - "service": { - "shortName": "OrgPolicyViolationsPreviewService", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService" - } - } + "shortName": "ListOrgPolicyViolations" }, + "description": "ListOrgPolicyViolations listOrgPolicyViolations lists the [OrgPolicyViolations][] that are present\nin an\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview].", + "file": "OrgPolicyViolationsPreviewClient/ListOrgPolicyViolations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_ListOrgPolicyViolations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator ListOrgPolicyViolations Sample" }, { - "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_ListOrgPolicyViolationsPreviews_sync", - "title": "policysimulator ListOrgPolicyViolationsPreviews Sample", - "description": "ListOrgPolicyViolationsPreviews listOrgPolicyViolationsPreviews lists each\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nin an organization. Each\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nis available for at least 7 days.", - "file": "OrgPolicyViolationsPreviewClient/ListOrgPolicyViolationsPreviews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrgPolicyViolationsPreviews", + "client": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient", + "shortName": "OrgPolicyViolationsPreviewClient" + }, "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient.ListOrgPolicyViolationsPreviews", + "method": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews", + "service": { + "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService", + "shortName": "OrgPolicyViolationsPreviewService" + }, + "shortName": "ListOrgPolicyViolationsPreviews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.ListOrgPolicyViolationsPreviewsRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.ListOrgPolicyViolationsPreviewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrgPolicyViolationsPreviewIterator", - "client": { - "shortName": "OrgPolicyViolationsPreviewClient", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewClient" - }, - "method": { - "shortName": "ListOrgPolicyViolationsPreviews", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews", - "service": { - "shortName": "OrgPolicyViolationsPreviewService", - "fullName": "google.cloud.policysimulator.v1.OrgPolicyViolationsPreviewService" - } - } + "shortName": "ListOrgPolicyViolationsPreviews" }, + "description": "ListOrgPolicyViolationsPreviews listOrgPolicyViolationsPreviews lists each\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nin an organization. Each\n[OrgPolicyViolationsPreview][google.cloud.policysimulator.v1.OrgPolicyViolationsPreview]\nis available for at least 7 days.", + "file": "OrgPolicyViolationsPreviewClient/ListOrgPolicyViolationsPreviews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_OrgPolicyViolationsPreviewService_ListOrgPolicyViolationsPreviews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator ListOrgPolicyViolationsPreviews Sample" }, { - "regionTag": "policysimulator_v1_generated_Simulator_CreateReplay_sync", - "title": "policysimulator CreateReplay Sample", - "description": "CreateReplay creates and starts a [Replay][google.cloud.policysimulator.v1.Replay] using\nthe given [ReplayConfig][google.cloud.policysimulator.v1.ReplayConfig].", - "file": "SimulatorClient/CreateReplay/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReplay", + "client": { + "fullName": "google.cloud.policysimulator.v1.SimulatorClient", + "shortName": "SimulatorClient" + }, "fullName": "google.cloud.policysimulator.v1.SimulatorClient.CreateReplay", + "method": { + "fullName": "google.cloud.policysimulator.v1.Simulator.CreateReplay", + "service": { + "fullName": "google.cloud.policysimulator.v1.Simulator", + "shortName": "Simulator" + }, + "shortName": "CreateReplay" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.CreateReplayRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.CreateReplayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateReplayOperation", - "client": { - "shortName": "SimulatorClient", - "fullName": "google.cloud.policysimulator.v1.SimulatorClient" - }, - "method": { - "shortName": "CreateReplay", - "fullName": "google.cloud.policysimulator.v1.Simulator.CreateReplay", - "service": { - "shortName": "Simulator", - "fullName": "google.cloud.policysimulator.v1.Simulator" - } - } + "shortName": "CreateReplay" }, + "description": "CreateReplay creates and starts a [Replay][google.cloud.policysimulator.v1.Replay] using\nthe given [ReplayConfig][google.cloud.policysimulator.v1.ReplayConfig].", + "file": "SimulatorClient/CreateReplay/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_Simulator_CreateReplay_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator CreateReplay Sample" }, { - "regionTag": "policysimulator_v1_generated_Simulator_GetOperation_sync", - "title": "policysimulator GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SimulatorClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.policysimulator.v1.SimulatorClient", + "shortName": "SimulatorClient" + }, "fullName": "google.cloud.policysimulator.v1.SimulatorClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SimulatorClient", - "fullName": "google.cloud.policysimulator.v1.SimulatorClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SimulatorClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_Simulator_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator GetOperation Sample" }, { - "regionTag": "policysimulator_v1_generated_Simulator_GetReplay_sync", - "title": "policysimulator GetReplay Sample", - "description": "GetReplay gets the specified [Replay][google.cloud.policysimulator.v1.Replay]. Each\n`Replay` is available for at least 7 days.", - "file": "SimulatorClient/GetReplay/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReplay", + "client": { + "fullName": "google.cloud.policysimulator.v1.SimulatorClient", + "shortName": "SimulatorClient" + }, "fullName": "google.cloud.policysimulator.v1.SimulatorClient.GetReplay", + "method": { + "fullName": "google.cloud.policysimulator.v1.Simulator.GetReplay", + "service": { + "fullName": "google.cloud.policysimulator.v1.Simulator", + "shortName": "Simulator" + }, + "shortName": "GetReplay" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.GetReplayRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.GetReplayRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*policysimulatorpb.Replay", - "client": { - "shortName": "SimulatorClient", - "fullName": "google.cloud.policysimulator.v1.SimulatorClient" - }, - "method": { - "shortName": "GetReplay", - "fullName": "google.cloud.policysimulator.v1.Simulator.GetReplay", - "service": { - "shortName": "Simulator", - "fullName": "google.cloud.policysimulator.v1.Simulator" - } - } + "shortName": "GetReplay" }, + "description": "GetReplay gets the specified [Replay][google.cloud.policysimulator.v1.Replay]. Each\n`Replay` is available for at least 7 days.", + "file": "SimulatorClient/GetReplay/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_Simulator_GetReplay_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator GetReplay Sample" }, { - "regionTag": "policysimulator_v1_generated_Simulator_ListOperations_sync", - "title": "policysimulator ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SimulatorClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.policysimulator.v1.SimulatorClient", + "shortName": "SimulatorClient" + }, "fullName": "google.cloud.policysimulator.v1.SimulatorClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SimulatorClient", - "fullName": "google.cloud.policysimulator.v1.SimulatorClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SimulatorClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_Simulator_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator ListOperations Sample" }, { - "regionTag": "policysimulator_v1_generated_Simulator_ListReplayResults_sync", - "title": "policysimulator ListReplayResults Sample", - "description": "ListReplayResults lists the results of running a\n[Replay][google.cloud.policysimulator.v1.Replay].", - "file": "SimulatorClient/ListReplayResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReplayResults", + "client": { + "fullName": "google.cloud.policysimulator.v1.SimulatorClient", + "shortName": "SimulatorClient" + }, "fullName": "google.cloud.policysimulator.v1.SimulatorClient.ListReplayResults", + "method": { + "fullName": "google.cloud.policysimulator.v1.Simulator.ListReplayResults", + "service": { + "fullName": "google.cloud.policysimulator.v1.Simulator", + "shortName": "Simulator" + }, + "shortName": "ListReplayResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policysimulatorpb.ListReplayResultsRequest", - "name": "req" + "name": "req", + "type": "policysimulatorpb.ListReplayResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReplayResultIterator", - "client": { - "shortName": "SimulatorClient", - "fullName": "google.cloud.policysimulator.v1.SimulatorClient" - }, - "method": { - "shortName": "ListReplayResults", - "fullName": "google.cloud.policysimulator.v1.Simulator.ListReplayResults", - "service": { - "shortName": "Simulator", - "fullName": "google.cloud.policysimulator.v1.Simulator" - } - } + "shortName": "ListReplayResults" }, + "description": "ListReplayResults lists the results of running a\n[Replay][google.cloud.policysimulator.v1.Replay].", + "file": "SimulatorClient/ListReplayResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policysimulator_v1_generated_Simulator_ListReplayResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "policysimulator ListReplayResults Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json index 0b03eba29031..23c2dd9410ad 100644 --- a/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json +++ b/internal/generated/snippets/policytroubleshooter/apiv1/snippet_metadata.google.cloud.policytroubleshooter.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/policytroubleshooter/apiv1", - "version": "1.11.7", - "language": "GO", "apis": [ { "id": "google.cloud.policytroubleshooter.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/policytroubleshooter/apiv1", + "version": "1.11.7" }, "snippets": [ { - "regionTag": "policytroubleshooter_v1_generated_IamChecker_TroubleshootIamPolicy_sync", - "title": "policytroubleshooter TroubleshootIamPolicy Sample", - "description": "TroubleshootIamPolicy checks whether a principal has a specific permission for a specific\nresource, and explains why the principal does or does not have that\npermission.", - "file": "IamCheckerClient/TroubleshootIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "TroubleshootIamPolicy", + "client": { + "fullName": "google.cloud.policytroubleshooter.v1.IamCheckerClient", + "shortName": "IamCheckerClient" + }, "fullName": "google.cloud.policytroubleshooter.v1.IamCheckerClient.TroubleshootIamPolicy", + "method": { + "fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy", + "service": { + "fullName": "google.cloud.policytroubleshooter.v1.IamChecker", + "shortName": "IamChecker" + }, + "shortName": "TroubleshootIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "policytroubleshooterpb.TroubleshootIamPolicyRequest", - "name": "req" + "name": "req", + "type": "policytroubleshooterpb.TroubleshootIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*policytroubleshooterpb.TroubleshootIamPolicyResponse", - "client": { - "shortName": "IamCheckerClient", - "fullName": "google.cloud.policytroubleshooter.v1.IamCheckerClient" - }, - "method": { - "shortName": "TroubleshootIamPolicy", - "fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy", - "service": { - "shortName": "IamChecker", - "fullName": "google.cloud.policytroubleshooter.v1.IamChecker" - } - } + "shortName": "TroubleshootIamPolicy" }, + "description": "TroubleshootIamPolicy checks whether a principal has a specific permission for a specific\nresource, and explains why the principal does or does not have that\npermission.", + "file": "IamCheckerClient/TroubleshootIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policytroubleshooter_v1_generated_IamChecker_TroubleshootIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "policytroubleshooter TroubleshootIamPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json index d9621bd05b4d..b005c1ea0651 100644 --- a/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json +++ b/internal/generated/snippets/policytroubleshooter/iam/apiv3/snippet_metadata.google.cloud.policytroubleshooter.iam.v3.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/policytroubleshooter/iam/apiv3", - "version": "1.11.7", - "language": "GO", "apis": [ { "id": "google.cloud.policytroubleshooter.iam.v3", "version": "v3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/policytroubleshooter/iam/apiv3", + "version": "1.11.7" }, "snippets": [ { - "regionTag": "policytroubleshooter_v3_generated_PolicyTroubleshooter_TroubleshootIamPolicy_sync", - "title": "policytroubleshooter TroubleshootIamPolicy Sample", - "description": "TroubleshootIamPolicy checks whether a principal has a specific permission for a specific\nresource, and explains why the principal does or doesn't have that\npermission.", - "file": "PolicyTroubleshooterClient/TroubleshootIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "TroubleshootIamPolicy", + "client": { + "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooterClient", + "shortName": "PolicyTroubleshooterClient" + }, "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooterClient.TroubleshootIamPolicy", + "method": { + "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter.TroubleshootIamPolicy", + "service": { + "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter", + "shortName": "PolicyTroubleshooter" + }, + "shortName": "TroubleshootIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TroubleshootIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.TroubleshootIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TroubleshootIamPolicyResponse", - "client": { - "shortName": "PolicyTroubleshooterClient", - "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooterClient" - }, - "method": { - "shortName": "TroubleshootIamPolicy", - "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter.TroubleshootIamPolicy", - "service": { - "shortName": "PolicyTroubleshooter", - "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter" - } - } + "shortName": "TroubleshootIamPolicy" }, + "description": "TroubleshootIamPolicy checks whether a principal has a specific permission for a specific\nresource, and explains why the principal does or doesn't have that\npermission.", + "file": "PolicyTroubleshooterClient/TroubleshootIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "policytroubleshooter_v3_generated_PolicyTroubleshooter_TroubleshootIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "policytroubleshooter TroubleshootIamPolicy Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json b/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json index 5253fad296be..7c19213bbeac 100644 --- a/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json +++ b/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/privatecatalog/apiv1beta1", - "version": "0.10.8", - "language": "GO", "apis": [ { "id": "google.cloud.privatecatalog.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/privatecatalog/apiv1beta1", + "version": "0.10.8" }, "snippets": [ { - "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_sync", - "title": "cloudprivatecatalog SearchCatalogs Sample", - "description": "SearchCatalogs search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", - "file": "Client/SearchCatalogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCatalogs", + "client": { + "fullName": "google.cloud.privatecatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privatecatalog.v1beta1.Client.SearchCatalogs", + "method": { + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", + "service": { + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog", + "shortName": "PrivateCatalog" + }, + "shortName": "SearchCatalogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecatalogpb.SearchCatalogsRequest", - "name": "req" + "name": "req", + "type": "privatecatalogpb.SearchCatalogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privatecatalog.v1beta1.Client" - }, - "method": { - "shortName": "SearchCatalogs", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", - "service": { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" - } - } + "shortName": "SearchCatalogs" }, + "description": "SearchCatalogs search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", + "file": "Client/SearchCatalogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprivatecatalog SearchCatalogs Sample" }, { - "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_sync", - "title": "cloudprivatecatalog SearchProducts Sample", - "description": "SearchProducts search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", - "file": "Client/SearchProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchProducts", + "client": { + "fullName": "google.cloud.privatecatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privatecatalog.v1beta1.Client.SearchProducts", + "method": { + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", + "service": { + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog", + "shortName": "PrivateCatalog" + }, + "shortName": "SearchProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecatalogpb.SearchProductsRequest", - "name": "req" + "name": "req", + "type": "privatecatalogpb.SearchProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privatecatalog.v1beta1.Client" - }, - "method": { - "shortName": "SearchProducts", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", - "service": { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" - } - } + "shortName": "SearchProducts" }, + "description": "SearchProducts search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", + "file": "Client/SearchProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprivatecatalog SearchProducts Sample" }, { - "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_sync", - "title": "cloudprivatecatalog SearchVersions Sample", - "description": "SearchVersions search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", - "file": "Client/SearchVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchVersions", + "client": { + "fullName": "google.cloud.privatecatalog.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privatecatalog.v1beta1.Client.SearchVersions", + "method": { + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", + "service": { + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog", + "shortName": "PrivateCatalog" + }, + "shortName": "SearchVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecatalogpb.SearchVersionsRequest", - "name": "req" + "name": "req", + "type": "privatecatalogpb.SearchVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privatecatalog.v1beta1.Client" - }, - "method": { - "shortName": "SearchVersions", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", - "service": { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" - } - } + "shortName": "SearchVersions" }, + "description": "SearchVersions search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", + "file": "Client/SearchVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudprivatecatalog SearchVersions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json b/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json index 4328bc3f0890..77c4250cf792 100644 --- a/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json +++ b/internal/generated/snippets/privilegedaccessmanager/apiv1/snippet_metadata.google.cloud.privilegedaccessmanager.v1.json @@ -1,888 +1,888 @@ { "clientLibrary": { - "name": "cloud.google.com/go/privilegedaccessmanager/apiv1", - "version": "0.3.1", - "language": "GO", "apis": [ { "id": "google.cloud.privilegedaccessmanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/privilegedaccessmanager/apiv1", + "version": "0.3.1" }, "snippets": [ { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ApproveGrant_sync", - "title": "privilegedaccessmanager ApproveGrant Sample", - "description": "ApproveGrant `ApproveGrant` is used to approve a grant. This method can only be called\non a grant when it's in the `APPROVAL_AWAITED` state. This operation can't\nbe undone.", - "file": "Client/ApproveGrant/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveGrant", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.ApproveGrant", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "ApproveGrant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.ApproveGrantRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.ApproveGrantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privilegedaccessmanagerpb.Grant", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "ApproveGrant", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ApproveGrant", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "ApproveGrant" }, + "description": "ApproveGrant `ApproveGrant` is used to approve a grant. This method can only be called\non a grant when it's in the `APPROVAL_AWAITED` state. This operation can't\nbe undone.", + "file": "Client/ApproveGrant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ApproveGrant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager ApproveGrant Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_CheckOnboardingStatus_sync", - "title": "privilegedaccessmanager CheckOnboardingStatus Sample", - "description": "CheckOnboardingStatus `CheckOnboardingStatus` reports the onboarding status for a\nproject/folder/organization. Any findings reported by this API need to be\nfixed before PAM can be used on the resource.", - "file": "Client/CheckOnboardingStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "CheckOnboardingStatus", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.CheckOnboardingStatus", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "CheckOnboardingStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.CheckOnboardingStatusRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.CheckOnboardingStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privilegedaccessmanagerpb.CheckOnboardingStatusResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "CheckOnboardingStatus", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CheckOnboardingStatus", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "CheckOnboardingStatus" }, + "description": "CheckOnboardingStatus `CheckOnboardingStatus` reports the onboarding status for a\nproject/folder/organization. Any findings reported by this API need to be\nfixed before PAM can be used on the resource.", + "file": "Client/CheckOnboardingStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_CheckOnboardingStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager CheckOnboardingStatus Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_CreateEntitlement_sync", - "title": "privilegedaccessmanager CreateEntitlement Sample", - "description": "CreateEntitlement creates a new entitlement in a given project/folder/organization and\nlocation.", - "file": "Client/CreateEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEntitlement", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.CreateEntitlement", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "CreateEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.CreateEntitlementRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.CreateEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEntitlementOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "CreateEntitlement", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateEntitlement", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "CreateEntitlement" }, + "description": "CreateEntitlement creates a new entitlement in a given project/folder/organization and\nlocation.", + "file": "Client/CreateEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_CreateEntitlement_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager CreateEntitlement Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_CreateGrant_sync", - "title": "privilegedaccessmanager CreateGrant Sample", - "description": "CreateGrant creates a new grant in a given project/folder/organization and\nlocation.", - "file": "Client/CreateGrant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGrant", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.CreateGrant", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "CreateGrant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.CreateGrantRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.CreateGrantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privilegedaccessmanagerpb.Grant", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "CreateGrant", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.CreateGrant", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "CreateGrant" }, + "description": "CreateGrant creates a new grant in a given project/folder/organization and\nlocation.", + "file": "Client/CreateGrant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_CreateGrant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager CreateGrant Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_DeleteEntitlement_sync", - "title": "privilegedaccessmanager DeleteEntitlement Sample", - "description": "DeleteEntitlement deletes a single entitlement. This method can only be called when there\nare no in-progress (`ACTIVE`/`ACTIVATING`/`REVOKING`) grants under the\nentitlement.", - "file": "Client/DeleteEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEntitlement", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.DeleteEntitlement", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "DeleteEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.DeleteEntitlementRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.DeleteEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEntitlementOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "DeleteEntitlement", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DeleteEntitlement", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "DeleteEntitlement" }, + "description": "DeleteEntitlement deletes a single entitlement. This method can only be called when there\nare no in-progress (`ACTIVE`/`ACTIVATING`/`REVOKING`) grants under the\nentitlement.", + "file": "Client/DeleteEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_DeleteEntitlement_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager DeleteEntitlement Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_DeleteOperation_sync", - "title": "privilegedaccessmanager DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager DeleteOperation Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_DenyGrant_sync", - "title": "privilegedaccessmanager DenyGrant Sample", - "description": "DenyGrant `DenyGrant` is used to deny a grant. This method can only be called on a\ngrant when it's in the `APPROVAL_AWAITED` state. This operation can't be\nundone.", - "file": "Client/DenyGrant/main.go", - "language": "GO", "clientMethod": { - "shortName": "DenyGrant", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.DenyGrant", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "DenyGrant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.DenyGrantRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.DenyGrantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privilegedaccessmanagerpb.Grant", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "DenyGrant", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.DenyGrant", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "DenyGrant" }, + "description": "DenyGrant `DenyGrant` is used to deny a grant. This method can only be called on a\ngrant when it's in the `APPROVAL_AWAITED` state. This operation can't be\nundone.", + "file": "Client/DenyGrant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_DenyGrant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager DenyGrant Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetEntitlement_sync", - "title": "privilegedaccessmanager GetEntitlement Sample", - "description": "GetEntitlement gets details of a single entitlement.", - "file": "Client/GetEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEntitlement", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.GetEntitlement", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetEntitlement", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "GetEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.GetEntitlementRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.GetEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privilegedaccessmanagerpb.Entitlement", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "GetEntitlement", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetEntitlement", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "GetEntitlement" }, + "description": "GetEntitlement gets details of a single entitlement.", + "file": "Client/GetEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetEntitlement_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager GetEntitlement Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetGrant_sync", - "title": "privilegedaccessmanager GetGrant Sample", - "description": "GetGrant get details of a single grant.", - "file": "Client/GetGrant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGrant", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.GetGrant", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetGrant", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "GetGrant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.GetGrantRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.GetGrantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privilegedaccessmanagerpb.Grant", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "GetGrant", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.GetGrant", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "GetGrant" }, + "description": "GetGrant get details of a single grant.", + "file": "Client/GetGrant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetGrant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager GetGrant Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetLocation_sync", - "title": "privilegedaccessmanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager GetLocation Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetOperation_sync", - "title": "privilegedaccessmanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager GetOperation Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListEntitlements_sync", - "title": "privilegedaccessmanager ListEntitlements Sample", - "description": "ListEntitlements lists entitlements in a given project/folder/organization and location.", - "file": "Client/ListEntitlements/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEntitlements", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.ListEntitlements", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListEntitlements", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "ListEntitlements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.ListEntitlementsRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.ListEntitlementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntitlementIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "ListEntitlements", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListEntitlements", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "ListEntitlements" }, + "description": "ListEntitlements lists entitlements in a given project/folder/organization and location.", + "file": "Client/ListEntitlements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListEntitlements_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager ListEntitlements Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListGrants_sync", - "title": "privilegedaccessmanager ListGrants Sample", - "description": "ListGrants lists grants for a given entitlement.", - "file": "Client/ListGrants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGrants", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.ListGrants", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListGrants", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "ListGrants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.ListGrantsRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.ListGrantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GrantIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "ListGrants", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.ListGrants", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "ListGrants" }, + "description": "ListGrants lists grants for a given entitlement.", + "file": "Client/ListGrants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListGrants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager ListGrants Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListLocations_sync", - "title": "privilegedaccessmanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager ListLocations Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListOperations_sync", - "title": "privilegedaccessmanager ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager ListOperations Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_RevokeGrant_sync", - "title": "privilegedaccessmanager RevokeGrant Sample", - "description": "RevokeGrant `RevokeGrant` is used to immediately revoke access for a grant. This method\ncan be called when the grant is in a non-terminal state.", - "file": "Client/RevokeGrant/main.go", - "language": "GO", "clientMethod": { - "shortName": "RevokeGrant", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.RevokeGrant", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "RevokeGrant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.RevokeGrantRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.RevokeGrantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RevokeGrantOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "RevokeGrant", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.RevokeGrant", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "RevokeGrant" }, + "description": "RevokeGrant `RevokeGrant` is used to immediately revoke access for a grant. This method\ncan be called when the grant is in a non-terminal state.", + "file": "Client/RevokeGrant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_RevokeGrant_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager RevokeGrant Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_SearchEntitlements_sync", - "title": "privilegedaccessmanager SearchEntitlements Sample", - "description": "SearchEntitlements `SearchEntitlements` returns entitlements on which the caller has the\nspecified access.", - "file": "Client/SearchEntitlements/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchEntitlements", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.SearchEntitlements", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchEntitlements", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "SearchEntitlements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.SearchEntitlementsRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.SearchEntitlementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EntitlementIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "SearchEntitlements", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchEntitlements", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "SearchEntitlements" }, + "description": "SearchEntitlements `SearchEntitlements` returns entitlements on which the caller has the\nspecified access.", + "file": "Client/SearchEntitlements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_SearchEntitlements_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager SearchEntitlements Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_SearchGrants_sync", - "title": "privilegedaccessmanager SearchGrants Sample", - "description": "SearchGrants `SearchGrants` returns grants that are related to the calling user in the\nspecified way.", - "file": "Client/SearchGrants/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchGrants", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.SearchGrants", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchGrants", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "SearchGrants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.SearchGrantsRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.SearchGrantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GrantIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "SearchGrants", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.SearchGrants", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "SearchGrants" }, + "description": "SearchGrants `SearchGrants` returns grants that are related to the calling user in the\nspecified way.", + "file": "Client/SearchGrants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_SearchGrants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager SearchGrants Sample" }, { - "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_UpdateEntitlement_sync", - "title": "privilegedaccessmanager UpdateEntitlement Sample", - "description": "UpdateEntitlement updates the entitlement specified in the request. Updated fields in the\nentitlement need to be specified in an update mask. The changes made to an\nentitlement are applicable only on future grants of the entitlement.\nHowever, if new approvers are added or existing approvers are removed from\nthe approval workflow, the changes are effective on existing grants.\n\nThe following fields are not supported for updates: \n\n* All immutable fields\n* Entitlement name\n* Resource name\n* Resource type\n* Adding an approval workflow in an entitlement which previously had no\napproval workflow.\n* Deleting the approval workflow from an entitlement.\n* Adding or deleting a step in the approval workflow (only one step is\nsupported)\n\nNote that updates are allowed on the list of approvers in an approval\nworkflow step.", - "file": "Client/UpdateEntitlement/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEntitlement", + "client": { + "fullName": "google.cloud.privilegedaccessmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.privilegedaccessmanager.v1.Client.UpdateEntitlement", + "method": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.UpdateEntitlement", + "service": { + "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager", + "shortName": "PrivilegedAccessManager" + }, + "shortName": "UpdateEntitlement" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privilegedaccessmanagerpb.UpdateEntitlementRequest", - "name": "req" + "name": "req", + "type": "privilegedaccessmanagerpb.UpdateEntitlementRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEntitlementOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.privilegedaccessmanager.v1.Client" - }, - "method": { - "shortName": "UpdateEntitlement", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager.UpdateEntitlement", - "service": { - "shortName": "PrivilegedAccessManager", - "fullName": "google.cloud.privilegedaccessmanager.v1.PrivilegedAccessManager" - } - } + "shortName": "UpdateEntitlement" }, + "description": "UpdateEntitlement updates the entitlement specified in the request. Updated fields in the\nentitlement need to be specified in an update mask. The changes made to an\nentitlement are applicable only on future grants of the entitlement.\nHowever, if new approvers are added or existing approvers are removed from\nthe approval workflow, the changes are effective on existing grants.\n\nThe following fields are not supported for updates: \n\n* All immutable fields\n* Entitlement name\n* Resource name\n* Resource type\n* Adding an approval workflow in an entitlement which previously had no\napproval workflow.\n* Deleting the approval workflow from an entitlement.\n* Adding or deleting a step in the approval workflow (only one step is\nsupported)\n\nNote that updates are allowed on the list of approvers in an approval\nworkflow step.", + "file": "Client/UpdateEntitlement/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privilegedaccessmanager_v1_generated_PrivilegedAccessManager_UpdateEntitlement_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privilegedaccessmanager UpdateEntitlement Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/pubsub/v2/apiv1/snippet_metadata.google.pubsub.v1.json b/internal/generated/snippets/pubsub/v2/apiv1/snippet_metadata.google.pubsub.v1.json index 37fea8530393..0b0ceed421a7 100644 --- a/internal/generated/snippets/pubsub/v2/apiv1/snippet_metadata.google.pubsub.v1.json +++ b/internal/generated/snippets/pubsub/v2/apiv1/snippet_metadata.google.pubsub.v1.json @@ -1,2028 +1,2028 @@ { "clientLibrary": { - "name": "cloud.google.com/go/pubsub/v2/apiv1", - "version": "2.5.0", - "language": "GO", "apis": [ { "id": "google.pubsub.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/pubsub/v2/apiv1", + "version": "2.5.0" }, "snippets": [ { - "regionTag": "pubsub_v1_generated_SchemaService_CommitSchema_sync", - "title": "pubsub CommitSchema Sample", - "description": "CommitSchema commits a new schema revision to an existing schema.", - "file": "SchemaClient/CommitSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitSchema", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.CommitSchema", + "method": { + "fullName": "google.pubsub.v1.SchemaService.CommitSchema", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "CommitSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.CommitSchemaRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.CommitSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "CommitSchema", - "fullName": "google.pubsub.v1.SchemaService.CommitSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "CommitSchema" }, + "description": "CommitSchema commits a new schema revision to an existing schema.", + "file": "SchemaClient/CommitSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_CommitSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub CommitSchema Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_CreateSchema_sync", - "title": "pubsub CreateSchema Sample", - "description": "CreateSchema creates a schema.", - "file": "SchemaClient/CreateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSchema", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.CreateSchema", + "method": { + "fullName": "google.pubsub.v1.SchemaService.CreateSchema", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "CreateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.CreateSchemaRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.CreateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.pubsub.v1.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "CreateSchema" }, + "description": "CreateSchema creates a schema.", + "file": "SchemaClient/CreateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_CreateSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub CreateSchema Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_DeleteSchema_sync", - "title": "pubsub DeleteSchema Sample", - "description": "DeleteSchema deletes a schema.", - "file": "SchemaClient/DeleteSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchema", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.DeleteSchema", + "method": { + "fullName": "google.pubsub.v1.SchemaService.DeleteSchema", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "DeleteSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.DeleteSchemaRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.DeleteSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.pubsub.v1.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "DeleteSchema" }, + "description": "DeleteSchema deletes a schema.", + "file": "SchemaClient/DeleteSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_DeleteSchema_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub DeleteSchema Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_DeleteSchemaRevision_sync", - "title": "pubsub DeleteSchemaRevision Sample", - "description": "DeleteSchemaRevision deletes a specific schema revision.", - "file": "SchemaClient/DeleteSchemaRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSchemaRevision", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.DeleteSchemaRevision", + "method": { + "fullName": "google.pubsub.v1.SchemaService.DeleteSchemaRevision", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "DeleteSchemaRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.DeleteSchemaRevisionRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.DeleteSchemaRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "DeleteSchemaRevision", - "fullName": "google.pubsub.v1.SchemaService.DeleteSchemaRevision", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "DeleteSchemaRevision" }, + "description": "DeleteSchemaRevision deletes a specific schema revision.", + "file": "SchemaClient/DeleteSchemaRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_DeleteSchemaRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub DeleteSchemaRevision Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_GetIamPolicy_sync", - "title": "pubsub 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": "SchemaClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SchemaClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetIamPolicy Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_GetSchema_sync", - "title": "pubsub GetSchema Sample", - "description": "GetSchema gets a schema.", - "file": "SchemaClient/GetSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSchema", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.GetSchema", + "method": { + "fullName": "google.pubsub.v1.SchemaService.GetSchema", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "GetSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.GetSchemaRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.GetSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.pubsub.v1.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "GetSchema" }, + "description": "GetSchema gets a schema.", + "file": "SchemaClient/GetSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_GetSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetSchema Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_ListSchemaRevisions_sync", - "title": "pubsub ListSchemaRevisions Sample", - "description": "ListSchemaRevisions lists all schema revisions for the named schema.", - "file": "SchemaClient/ListSchemaRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemaRevisions", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.ListSchemaRevisions", + "method": { + "fullName": "google.pubsub.v1.SchemaService.ListSchemaRevisions", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ListSchemaRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListSchemaRevisionsRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListSchemaRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SchemaIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "ListSchemaRevisions", - "fullName": "google.pubsub.v1.SchemaService.ListSchemaRevisions", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "ListSchemaRevisions" }, + "description": "ListSchemaRevisions lists all schema revisions for the named schema.", + "file": "SchemaClient/ListSchemaRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_ListSchemaRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListSchemaRevisions Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_ListSchemas_sync", - "title": "pubsub ListSchemas Sample", - "description": "ListSchemas lists schemas in a project.", - "file": "SchemaClient/ListSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSchemas", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.ListSchemas", + "method": { + "fullName": "google.pubsub.v1.SchemaService.ListSchemas", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ListSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListSchemasRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SchemaIterator", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.pubsub.v1.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "ListSchemas" }, + "description": "ListSchemas lists schemas in a project.", + "file": "SchemaClient/ListSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_ListSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListSchemas Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_RollbackSchema_sync", - "title": "pubsub RollbackSchema Sample", - "description": "RollbackSchema creates a new schema revision that is a copy of the provided revision_id.", - "file": "SchemaClient/RollbackSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackSchema", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.RollbackSchema", + "method": { + "fullName": "google.pubsub.v1.SchemaService.RollbackSchema", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "RollbackSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.RollbackSchemaRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.RollbackSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Schema", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "RollbackSchema", - "fullName": "google.pubsub.v1.SchemaService.RollbackSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "RollbackSchema" }, + "description": "RollbackSchema creates a new schema revision that is a copy of the provided revision_id.", + "file": "SchemaClient/RollbackSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_RollbackSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub RollbackSchema Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_SetIamPolicy_sync", - "title": "pubsub 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": "SchemaClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SchemaClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub SetIamPolicy Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_TestIamPermissions_sync", - "title": "pubsub 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": "SchemaClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SchemaClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub TestIamPermissions Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_ValidateMessage_sync", - "title": "pubsub ValidateMessage Sample", - "description": "ValidateMessage validates a message against a schema.", - "file": "SchemaClient/ValidateMessage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateMessage", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.ValidateMessage", + "method": { + "fullName": "google.pubsub.v1.SchemaService.ValidateMessage", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ValidateMessage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ValidateMessageRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ValidateMessageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.ValidateMessageResponse", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "ValidateMessage", - "fullName": "google.pubsub.v1.SchemaService.ValidateMessage", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "ValidateMessage" }, + "description": "ValidateMessage validates a message against a schema.", + "file": "SchemaClient/ValidateMessage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_ValidateMessage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ValidateMessage Sample" }, { - "regionTag": "pubsub_v1_generated_SchemaService_ValidateSchema_sync", - "title": "pubsub ValidateSchema Sample", - "description": "ValidateSchema validates a schema.", - "file": "SchemaClient/ValidateSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateSchema", + "client": { + "fullName": "google.pubsub.v1.SchemaClient", + "shortName": "SchemaClient" + }, "fullName": "google.pubsub.v1.SchemaClient.ValidateSchema", + "method": { + "fullName": "google.pubsub.v1.SchemaService.ValidateSchema", + "service": { + "fullName": "google.pubsub.v1.SchemaService", + "shortName": "SchemaService" + }, + "shortName": "ValidateSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ValidateSchemaRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ValidateSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.ValidateSchemaResponse", - "client": { - "shortName": "SchemaClient", - "fullName": "google.pubsub.v1.SchemaClient" - }, - "method": { - "shortName": "ValidateSchema", - "fullName": "google.pubsub.v1.SchemaService.ValidateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.pubsub.v1.SchemaService" - } - } + "shortName": "ValidateSchema" }, + "description": "ValidateSchema validates a schema.", + "file": "SchemaClient/ValidateSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SchemaService_ValidateSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ValidateSchema Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_Acknowledge_sync", - "title": "pubsub Acknowledge Sample", - "description": "Acknowledge acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error.", - "file": "SubscriptionAdminClient/Acknowledge/main.go", - "language": "GO", "clientMethod": { - "shortName": "Acknowledge", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.Acknowledge", + "method": { + "fullName": "google.pubsub.v1.Subscriber.Acknowledge", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "Acknowledge" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.AcknowledgeRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.AcknowledgeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "Acknowledge", - "fullName": "google.pubsub.v1.Subscriber.Acknowledge", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "Acknowledge" }, + "description": "Acknowledge acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose ack deadline has expired may succeed,\nbut such a message may be redelivered later. Acknowledging a message more\nthan once will not result in an error.", + "file": "SubscriptionAdminClient/Acknowledge/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_Acknowledge_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub Acknowledge Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_sync", - "title": "pubsub CreateSnapshot Sample", - "description": "CreateSnapshot creates a snapshot from the requested subscription. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.\nIf the snapshot already exists, returns `ALREADY_EXISTS`.\nIf the requested subscription doesn't exist, returns `NOT_FOUND`.\nIf the backlog in the subscription is too old -- and the resulting snapshot\nwould expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.\nSee also the `Snapshot.expire_time` field. If the name is not provided in\nthe request, the server will assign a random\nname for this snapshot on the same project as the subscription, conforming\nto the [resource name format]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The\ngenerated name is populated in the returned Snapshot object. Note that for\nREST API requests, you must specify a name in the request.", - "file": "SubscriptionAdminClient/CreateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSnapshot", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.CreateSnapshot", + "method": { + "fullName": "google.pubsub.v1.Subscriber.CreateSnapshot", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "CreateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.CreateSnapshotRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.CreateSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Snapshot", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "CreateSnapshot", - "fullName": "google.pubsub.v1.Subscriber.CreateSnapshot", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "CreateSnapshot" }, + "description": "CreateSnapshot creates a snapshot from the requested subscription. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.\nIf the snapshot already exists, returns `ALREADY_EXISTS`.\nIf the requested subscription doesn't exist, returns `NOT_FOUND`.\nIf the backlog in the subscription is too old -- and the resulting snapshot\nwould expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.\nSee also the `Snapshot.expire_time` field. If the name is not provided in\nthe request, the server will assign a random\nname for this snapshot on the same project as the subscription, conforming\nto the [resource name format]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The\ngenerated name is populated in the returned Snapshot object. Note that for\nREST API requests, you must specify a name in the request.", + "file": "SubscriptionAdminClient/CreateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_CreateSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub CreateSnapshot Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_sync", - "title": "pubsub CreateSubscription Sample", - "description": "CreateSubscription creates a subscription to a given topic. See the [resource name rules]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names).\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic, conforming\nto the [resource name format]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The\ngenerated name is populated in the returned Subscription object. Note that\nfor REST API requests, you must specify a name in the request.", - "file": "SubscriptionAdminClient/CreateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubscription", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.CreateSubscription", + "method": { + "fullName": "google.pubsub.v1.Subscriber.CreateSubscription", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "CreateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.Subscription", - "name": "req" + "name": "req", + "type": "pubsubpb.Subscription" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Subscription", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "CreateSubscription", - "fullName": "google.pubsub.v1.Subscriber.CreateSubscription", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "CreateSubscription" }, + "description": "CreateSubscription creates a subscription to a given topic. See the [resource name rules]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names).\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corresponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provided in the request, the server will assign a random\nname for this subscription on the same project as the topic, conforming\nto the [resource name format]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The\ngenerated name is populated in the returned Subscription object. Note that\nfor REST API requests, you must specify a name in the request.", + "file": "SubscriptionAdminClient/CreateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_CreateSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub CreateSubscription Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_sync", - "title": "pubsub DeleteSnapshot Sample", - "description": "DeleteSnapshot removes an existing snapshot. Snapshots are used in [Seek]\n(https: //cloud.google.com/pubsub/docs/replay-overview) operations, which\nallow you to manage message acknowledgments in bulk. That is, you can set\nthe acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.\nWhen the snapshot is deleted, all messages retained in the snapshot\nare immediately dropped. After a snapshot is deleted, a new one may be\ncreated with the same name, but the new one has no association with the old\nsnapshot or its subscription, unless the same subscription is specified.", - "file": "SubscriptionAdminClient/DeleteSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSnapshot", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.DeleteSnapshot", + "method": { + "fullName": "google.pubsub.v1.Subscriber.DeleteSnapshot", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "DeleteSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.DeleteSnapshotRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.DeleteSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "DeleteSnapshot", - "fullName": "google.pubsub.v1.Subscriber.DeleteSnapshot", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "DeleteSnapshot" }, + "description": "DeleteSnapshot removes an existing snapshot. Snapshots are used in [Seek]\n(https: //cloud.google.com/pubsub/docs/replay-overview) operations, which\nallow you to manage message acknowledgments in bulk. That is, you can set\nthe acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.\nWhen the snapshot is deleted, all messages retained in the snapshot\nare immediately dropped. After a snapshot is deleted, a new one may be\ncreated with the same name, but the new one has no association with the old\nsnapshot or its subscription, unless the same subscription is specified.", + "file": "SubscriptionAdminClient/DeleteSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_DeleteSnapshot_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub DeleteSnapshot Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_sync", - "title": "pubsub DeleteSubscription Sample", - "description": "DeleteSubscription deletes an existing subscription. All messages retained in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription or its topic unless the same topic is specified.", - "file": "SubscriptionAdminClient/DeleteSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubscription", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.DeleteSubscription", + "method": { + "fullName": "google.pubsub.v1.Subscriber.DeleteSubscription", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "DeleteSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.DeleteSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.DeleteSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "DeleteSubscription", - "fullName": "google.pubsub.v1.Subscriber.DeleteSubscription", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "DeleteSubscription" }, + "description": "DeleteSubscription deletes an existing subscription. All messages retained in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription or its topic unless the same topic is specified.", + "file": "SubscriptionAdminClient/DeleteSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_DeleteSubscription_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub DeleteSubscription Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_sync", - "title": "pubsub 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": "SubscriptionAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "SubscriptionAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetIamPolicy Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_sync", - "title": "pubsub GetSnapshot Sample", - "description": "GetSnapshot gets the configuration details of a snapshot. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", - "file": "SubscriptionAdminClient/GetSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSnapshot", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.GetSnapshot", + "method": { + "fullName": "google.pubsub.v1.Subscriber.GetSnapshot", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "GetSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.GetSnapshotRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.GetSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Snapshot", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "GetSnapshot", - "fullName": "google.pubsub.v1.Subscriber.GetSnapshot", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "GetSnapshot" }, + "description": "GetSnapshot gets the configuration details of a snapshot. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", + "file": "SubscriptionAdminClient/GetSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_GetSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetSnapshot Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_GetSubscription_sync", - "title": "pubsub GetSubscription Sample", - "description": "GetSubscription gets the configuration details of a subscription.", - "file": "SubscriptionAdminClient/GetSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubscription", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.GetSubscription", + "method": { + "fullName": "google.pubsub.v1.Subscriber.GetSubscription", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "GetSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.GetSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.GetSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Subscription", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "GetSubscription", - "fullName": "google.pubsub.v1.Subscriber.GetSubscription", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "GetSubscription" }, + "description": "GetSubscription gets the configuration details of a subscription.", + "file": "SubscriptionAdminClient/GetSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_GetSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetSubscription Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_sync", - "title": "pubsub ListSnapshots Sample", - "description": "ListSnapshots lists the existing snapshots. Snapshots are used in [Seek](\nhttps: //cloud.google.com/pubsub/docs/replay-overview) operations, which\nallow you to manage message acknowledgments in bulk. That is, you can set\nthe acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", - "file": "SubscriptionAdminClient/ListSnapshots/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSnapshots", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.ListSnapshots", + "method": { + "fullName": "google.pubsub.v1.Subscriber.ListSnapshots", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "ListSnapshots" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListSnapshotsRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SnapshotIterator", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "ListSnapshots", - "fullName": "google.pubsub.v1.Subscriber.ListSnapshots", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "ListSnapshots" }, + "description": "ListSnapshots lists the existing snapshots. Snapshots are used in [Seek](\nhttps: //cloud.google.com/pubsub/docs/replay-overview) operations, which\nallow you to manage message acknowledgments in bulk. That is, you can set\nthe acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", + "file": "SubscriptionAdminClient/ListSnapshots/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ListSnapshots_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListSnapshots Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_sync", - "title": "pubsub ListSubscriptions Sample", - "description": "ListSubscriptions lists matching subscriptions.", - "file": "SubscriptionAdminClient/ListSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubscriptions", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.ListSubscriptions", + "method": { + "fullName": "google.pubsub.v1.Subscriber.ListSubscriptions", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "ListSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "SubscriptionIterator", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "ListSubscriptions", - "fullName": "google.pubsub.v1.Subscriber.ListSubscriptions", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + ], + "resultType": "SubscriptionIterator", + "shortName": "ListSubscriptions" }, + "description": "ListSubscriptions lists matching subscriptions.", + "file": "SubscriptionAdminClient/ListSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ListSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListSubscriptions Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_sync", - "title": "pubsub ModifyAckDeadline Sample", - "description": "ModifyAckDeadline modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.", - "file": "SubscriptionAdminClient/ModifyAckDeadline/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModifyAckDeadline", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.ModifyAckDeadline", + "method": { + "fullName": "google.pubsub.v1.Subscriber.ModifyAckDeadline", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "ModifyAckDeadline" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ModifyAckDeadlineRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ModifyAckDeadlineRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "ModifyAckDeadline", - "fullName": "google.pubsub.v1.Subscriber.ModifyAckDeadline", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "ModifyAckDeadline" }, + "description": "ModifyAckDeadline modifies the ack deadline for a specific message. This method is useful\nto indicate that more time is needed to process a message by the\nsubscriber, or to make the message available for redelivery if the\nprocessing was interrupted. Note that this does not modify the\nsubscription-level `ackDeadlineSeconds` used for subsequent messages.", + "file": "SubscriptionAdminClient/ModifyAckDeadline/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ModifyAckDeadline_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ModifyAckDeadline Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_sync", - "title": "pubsub ModifyPushConfig Sample", - "description": "ModifyPushConfig modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.", - "file": "SubscriptionAdminClient/ModifyPushConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "ModifyPushConfig", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.ModifyPushConfig", + "method": { + "fullName": "google.pubsub.v1.Subscriber.ModifyPushConfig", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "ModifyPushConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ModifyPushConfigRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ModifyPushConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "ModifyPushConfig", - "fullName": "google.pubsub.v1.Subscriber.ModifyPushConfig", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "ModifyPushConfig" }, + "description": "ModifyPushConfig modifies the `PushConfig` for a specified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for delivery\ncontinuously through the call regardless of changes to the `PushConfig`.", + "file": "SubscriptionAdminClient/ModifyPushConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_ModifyPushConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ModifyPushConfig Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_Pull_sync", - "title": "pubsub Pull Sample", - "description": "Pull pulls messages from the server.", - "file": "SubscriptionAdminClient/Pull/main.go", - "language": "GO", "clientMethod": { - "shortName": "Pull", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.Pull", + "method": { + "fullName": "google.pubsub.v1.Subscriber.Pull", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "Pull" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.PullRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.PullRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.PullResponse", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "Pull", - "fullName": "google.pubsub.v1.Subscriber.Pull", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "Pull" }, + "description": "Pull pulls messages from the server.", + "file": "SubscriptionAdminClient/Pull/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_Pull_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub Pull Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_Seek_sync", - "title": "pubsub Seek Sample", - "description": "Seek seeks an existing subscription to a point in time or to a given snapshot,\nwhichever is provided in the request. Snapshots are used in [Seek]\n(https: //cloud.google.com/pubsub/docs/replay-overview) operations, which\nallow you to manage message acknowledgments in bulk. That is, you can set\nthe acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot. Note that both the subscription and the\nsnapshot must be on the same topic.", - "file": "SubscriptionAdminClient/Seek/main.go", - "language": "GO", "clientMethod": { - "shortName": "Seek", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.Seek", + "method": { + "fullName": "google.pubsub.v1.Subscriber.Seek", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "Seek" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.SeekRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.SeekRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.SeekResponse", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "Seek", - "fullName": "google.pubsub.v1.Subscriber.Seek", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "Seek" }, + "description": "Seek seeks an existing subscription to a point in time or to a given snapshot,\nwhichever is provided in the request. Snapshots are used in [Seek]\n(https: //cloud.google.com/pubsub/docs/replay-overview) operations, which\nallow you to manage message acknowledgments in bulk. That is, you can set\nthe acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot. Note that both the subscription and the\nsnapshot must be on the same topic.", + "file": "SubscriptionAdminClient/Seek/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_Seek_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub Seek Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_sync", - "title": "pubsub 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": "SubscriptionAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "SubscriptionAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub SetIamPolicy Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_StreamingPull_sync", - "title": "pubsub StreamingPull Sample", - "description": "StreamingPull establishes a stream with the server, which sends messages down to the\nclient. The client streams acknowledgments and ack deadline modifications\nback to the server. The server will close the stream and return the status\non any error. The server may close the stream with status `UNAVAILABLE` to\nreassign server-side resources, in which case, the client should\nre-establish the stream. Flow control can be achieved by configuring the\nunderlying RPC channel.\n\n\nThis method is not supported for the REST transport.", - "file": "SubscriptionAdminClient/StreamingPull/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingPull", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.StreamingPull", + "method": { + "fullName": "google.pubsub.v1.Subscriber.StreamingPull", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "StreamingPull" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "pubsubpb.Subscriber_StreamingPullClient", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "StreamingPull", - "fullName": "google.pubsub.v1.Subscriber.StreamingPull", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "StreamingPull" }, + "description": "StreamingPull establishes a stream with the server, which sends messages down to the\nclient. The client streams acknowledgments and ack deadline modifications\nback to the server. The server will close the stream and return the status\non any error. The server may close the stream with status `UNAVAILABLE` to\nreassign server-side resources, in which case, the client should\nre-establish the stream. Flow control can be achieved by configuring the\nunderlying RPC channel.\n\n\nThis method is not supported for the REST transport.", + "file": "SubscriptionAdminClient/StreamingPull/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_StreamingPull_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub StreamingPull Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_sync", - "title": "pubsub 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": "SubscriptionAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "SubscriptionAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub TestIamPermissions Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_sync", - "title": "pubsub UpdateSnapshot Sample", - "description": "UpdateSnapshot updates an existing snapshot by updating the fields specified in the update\nmask. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", - "file": "SubscriptionAdminClient/UpdateSnapshot/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSnapshot", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.UpdateSnapshot", + "method": { + "fullName": "google.pubsub.v1.Subscriber.UpdateSnapshot", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "UpdateSnapshot" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.UpdateSnapshotRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.UpdateSnapshotRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Snapshot", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "UpdateSnapshot", - "fullName": "google.pubsub.v1.Subscriber.UpdateSnapshot", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "UpdateSnapshot" }, + "description": "UpdateSnapshot updates an existing snapshot by updating the fields specified in the update\nmask. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", + "file": "SubscriptionAdminClient/UpdateSnapshot/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_UpdateSnapshot_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub UpdateSnapshot Sample" }, { - "regionTag": "pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_sync", - "title": "pubsub UpdateSubscription Sample", - "description": "UpdateSubscription updates an existing subscription by updating the fields specified in the\nupdate mask. Note that certain properties of a subscription, such as its\ntopic, are not modifiable.", - "file": "SubscriptionAdminClient/UpdateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubscription", + "client": { + "fullName": "google.pubsub.v1.SubscriptionAdminClient", + "shortName": "SubscriptionAdminClient" + }, "fullName": "google.pubsub.v1.SubscriptionAdminClient.UpdateSubscription", + "method": { + "fullName": "google.pubsub.v1.Subscriber.UpdateSubscription", + "service": { + "fullName": "google.pubsub.v1.Subscriber", + "shortName": "Subscriber" + }, + "shortName": "UpdateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.UpdateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.UpdateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Subscription", - "client": { - "shortName": "SubscriptionAdminClient", - "fullName": "google.pubsub.v1.SubscriptionAdminClient" - }, - "method": { - "shortName": "UpdateSubscription", - "fullName": "google.pubsub.v1.Subscriber.UpdateSubscription", - "service": { - "shortName": "Subscriber", - "fullName": "google.pubsub.v1.Subscriber" - } - } + "shortName": "UpdateSubscription" }, + "description": "UpdateSubscription updates an existing subscription by updating the fields specified in the\nupdate mask. Note that certain properties of a subscription, such as its\ntopic, are not modifiable.", + "file": "SubscriptionAdminClient/UpdateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_SubscriptionAdmin_UpdateSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub UpdateSubscription Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_CreateTopic_sync", - "title": "pubsub CreateTopic Sample", - "description": "CreateTopic creates the given topic with the given name. See the [resource name rules]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names).", - "file": "TopicAdminClient/CreateTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTopic", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.CreateTopic", + "method": { + "fullName": "google.pubsub.v1.Publisher.CreateTopic", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "CreateTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.Topic", - "name": "req" + "name": "req", + "type": "pubsubpb.Topic" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Topic", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "CreateTopic", - "fullName": "google.pubsub.v1.Publisher.CreateTopic", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "CreateTopic" }, + "description": "CreateTopic creates the given topic with the given name. See the [resource name rules]\n(https: //cloud.google.com/pubsub/docs/pubsub-basics#resource_names).", + "file": "TopicAdminClient/CreateTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_CreateTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub CreateTopic Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_DeleteTopic_sync", - "title": "pubsub DeleteTopic Sample", - "description": "DeleteTopic deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.", - "file": "TopicAdminClient/DeleteTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTopic", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.DeleteTopic", + "method": { + "fullName": "google.pubsub.v1.Publisher.DeleteTopic", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "DeleteTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.DeleteTopicRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.DeleteTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "DeleteTopic", - "fullName": "google.pubsub.v1.Publisher.DeleteTopic", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "DeleteTopic" }, + "description": "DeleteTopic deletes the topic with the given name. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic with none of the old\nconfiguration or subscriptions. Existing subscriptions to this topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.", + "file": "TopicAdminClient/DeleteTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_DeleteTopic_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub DeleteTopic Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_DetachSubscription_sync", - "title": "pubsub DetachSubscription Sample", - "description": "DetachSubscription detaches a subscription from this topic. All messages retained in the\nsubscription are dropped. Subsequent `Pull` and `StreamingPull` requests\nwill return FAILED_PRECONDITION. If the subscription is a push\nsubscription, pushes to the endpoint will stop.", - "file": "TopicAdminClient/DetachSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetachSubscription", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.DetachSubscription", + "method": { + "fullName": "google.pubsub.v1.Publisher.DetachSubscription", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "DetachSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.DetachSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.DetachSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.DetachSubscriptionResponse", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "DetachSubscription", - "fullName": "google.pubsub.v1.Publisher.DetachSubscription", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "DetachSubscription" }, + "description": "DetachSubscription detaches a subscription from this topic. All messages retained in the\nsubscription are dropped. Subsequent `Pull` and `StreamingPull` requests\nwill return FAILED_PRECONDITION. If the subscription is a push\nsubscription, pushes to the endpoint will stop.", + "file": "TopicAdminClient/DetachSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_DetachSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub DetachSubscription Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_GetIamPolicy_sync", - "title": "pubsub 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": "TopicAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "TopicAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetIamPolicy Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_GetTopic_sync", - "title": "pubsub GetTopic Sample", - "description": "GetTopic gets the configuration of a topic.", - "file": "TopicAdminClient/GetTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTopic", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.GetTopic", + "method": { + "fullName": "google.pubsub.v1.Publisher.GetTopic", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "GetTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.GetTopicRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.GetTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Topic", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "GetTopic", - "fullName": "google.pubsub.v1.Publisher.GetTopic", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "GetTopic" }, + "description": "GetTopic gets the configuration of a topic.", + "file": "TopicAdminClient/GetTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_GetTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub GetTopic Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_sync", - "title": "pubsub ListTopicSnapshots Sample", - "description": "ListTopicSnapshots lists the names of the snapshots on this topic. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", - "file": "TopicAdminClient/ListTopicSnapshots/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTopicSnapshots", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.ListTopicSnapshots", + "method": { + "fullName": "google.pubsub.v1.Publisher.ListTopicSnapshots", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "ListTopicSnapshots" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListTopicSnapshotsRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListTopicSnapshotsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "ListTopicSnapshots", - "fullName": "google.pubsub.v1.Publisher.ListTopicSnapshots", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "ListTopicSnapshots" }, + "description": "ListTopicSnapshots lists the names of the snapshots on this topic. Snapshots are used in\n[Seek](https: //cloud.google.com/pubsub/docs/replay-overview) operations,\nwhich allow you to manage message acknowledgments in bulk. That is, you can\nset the acknowledgment state of messages in an existing subscription to the\nstate captured by a snapshot.", + "file": "TopicAdminClient/ListTopicSnapshots/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_ListTopicSnapshots_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListTopicSnapshots Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_sync", - "title": "pubsub ListTopicSubscriptions Sample", - "description": "ListTopicSubscriptions lists the names of the attached subscriptions on this topic.", - "file": "TopicAdminClient/ListTopicSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTopicSubscriptions", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.ListTopicSubscriptions", + "method": { + "fullName": "google.pubsub.v1.Publisher.ListTopicSubscriptions", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "ListTopicSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListTopicSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListTopicSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "ListTopicSubscriptions", - "fullName": "google.pubsub.v1.Publisher.ListTopicSubscriptions", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "ListTopicSubscriptions" }, + "description": "ListTopicSubscriptions lists the names of the attached subscriptions on this topic.", + "file": "TopicAdminClient/ListTopicSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_ListTopicSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListTopicSubscriptions Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_ListTopics_sync", - "title": "pubsub ListTopics Sample", - "description": "ListTopics lists matching topics.", - "file": "TopicAdminClient/ListTopics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTopics", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.ListTopics", + "method": { + "fullName": "google.pubsub.v1.Publisher.ListTopics", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "ListTopics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.ListTopicsRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.ListTopicsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TopicIterator", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "ListTopics", - "fullName": "google.pubsub.v1.Publisher.ListTopics", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "ListTopics" }, + "description": "ListTopics lists matching topics.", + "file": "TopicAdminClient/ListTopics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_ListTopics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub ListTopics Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_Publish_sync", - "title": "pubsub Publish Sample", - "description": "Publish adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist.", - "file": "TopicAdminClient/Publish/main.go", - "language": "GO", "clientMethod": { - "shortName": "Publish", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.Publish", + "method": { + "fullName": "google.pubsub.v1.Publisher.Publish", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "Publish" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.PublishRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.PublishRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.PublishResponse", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "Publish", - "fullName": "google.pubsub.v1.Publisher.Publish", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "Publish" }, + "description": "Publish adds one or more messages to the topic. Returns `NOT_FOUND` if the topic\ndoes not exist.", + "file": "TopicAdminClient/Publish/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_Publish_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub Publish Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_SetIamPolicy_sync", - "title": "pubsub 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": "TopicAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "TopicAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub SetIamPolicy Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_TestIamPermissions_sync", - "title": "pubsub 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": "TopicAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "TopicAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub TestIamPermissions Sample" }, { - "regionTag": "pubsub_v1_generated_TopicAdmin_UpdateTopic_sync", - "title": "pubsub UpdateTopic Sample", - "description": "UpdateTopic updates an existing topic by updating the fields specified in the update\nmask. Note that certain properties of a topic are not modifiable.", - "file": "TopicAdminClient/UpdateTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTopic", + "client": { + "fullName": "google.pubsub.v1.TopicAdminClient", + "shortName": "TopicAdminClient" + }, "fullName": "google.pubsub.v1.TopicAdminClient.UpdateTopic", + "method": { + "fullName": "google.pubsub.v1.Publisher.UpdateTopic", + "service": { + "fullName": "google.pubsub.v1.Publisher", + "shortName": "Publisher" + }, + "shortName": "UpdateTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsubpb.UpdateTopicRequest", - "name": "req" + "name": "req", + "type": "pubsubpb.UpdateTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsubpb.Topic", - "client": { - "shortName": "TopicAdminClient", - "fullName": "google.pubsub.v1.TopicAdminClient" - }, - "method": { - "shortName": "UpdateTopic", - "fullName": "google.pubsub.v1.Publisher.UpdateTopic", - "service": { - "shortName": "Publisher", - "fullName": "google.pubsub.v1.Publisher" - } - } + "shortName": "UpdateTopic" }, + "description": "UpdateTopic updates an existing topic by updating the fields specified in the update\nmask. Note that certain properties of a topic are not modifiable.", + "file": "TopicAdminClient/UpdateTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsub_v1_generated_TopicAdmin_UpdateTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsub UpdateTopic Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json index a8b5983b53a8..09b848ae4235 100644 --- a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json +++ b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json @@ -1,2376 +1,2376 @@ { "clientLibrary": { - "name": "cloud.google.com/go/pubsublite/apiv1", - "version": "1.8.2", - "language": "GO", "apis": [ { "id": "google.cloud.pubsublite.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/pubsublite/apiv1", + "version": "1.8.2" }, "snippets": [ { - "regionTag": "pubsublite_v1_generated_AdminService_CancelOperation_sync", - "title": "pubsublite CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CancelOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_CreateReservation_sync", - "title": "pubsublite CreateReservation Sample", - "description": "CreateReservation creates a new reservation.", - "file": "AdminClient/CreateReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReservation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.CreateReservation", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.CreateReservation", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "CreateReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.CreateReservationRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.CreateReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Reservation", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "CreateReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.CreateReservation", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "CreateReservation" }, + "description": "CreateReservation creates a new reservation.", + "file": "AdminClient/CreateReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_CreateReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CreateReservation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_CreateSubscription_sync", - "title": "pubsublite CreateSubscription Sample", - "description": "CreateSubscription creates a new subscription.", - "file": "AdminClient/CreateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubscription", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.CreateSubscription", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.CreateSubscription", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "CreateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.CreateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.CreateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Subscription", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "CreateSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.CreateSubscription", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "CreateSubscription" }, + "description": "CreateSubscription creates a new subscription.", + "file": "AdminClient/CreateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_CreateSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CreateSubscription Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_CreateTopic_sync", - "title": "pubsublite CreateTopic Sample", - "description": "CreateTopic creates a new topic.", - "file": "AdminClient/CreateTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTopic", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.CreateTopic", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.CreateTopic", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "CreateTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.CreateTopicRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.CreateTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Topic", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "CreateTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.CreateTopic", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "CreateTopic" }, + "description": "CreateTopic creates a new topic.", + "file": "AdminClient/CreateTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_CreateTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CreateTopic Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_DeleteOperation_sync", - "title": "pubsublite DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_DeleteReservation_sync", - "title": "pubsublite DeleteReservation Sample", - "description": "DeleteReservation deletes the specified reservation.", - "file": "AdminClient/DeleteReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReservation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.DeleteReservation", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteReservation", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "DeleteReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.DeleteReservationRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.DeleteReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "DeleteReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteReservation", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "DeleteReservation" }, + "description": "DeleteReservation deletes the specified reservation.", + "file": "AdminClient/DeleteReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_DeleteReservation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteReservation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_DeleteSubscription_sync", - "title": "pubsublite DeleteSubscription Sample", - "description": "DeleteSubscription deletes the specified subscription.", - "file": "AdminClient/DeleteSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSubscription", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.DeleteSubscription", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteSubscription", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "DeleteSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.DeleteSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.DeleteSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "DeleteSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteSubscription", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "DeleteSubscription" }, + "description": "DeleteSubscription deletes the specified subscription.", + "file": "AdminClient/DeleteSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_DeleteSubscription_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteSubscription Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_DeleteTopic_sync", - "title": "pubsublite DeleteTopic Sample", - "description": "DeleteTopic deletes the specified topic.", - "file": "AdminClient/DeleteTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTopic", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.DeleteTopic", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteTopic", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "DeleteTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.DeleteTopicRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.DeleteTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "DeleteTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteTopic", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "DeleteTopic" }, + "description": "DeleteTopic deletes the specified topic.", + "file": "AdminClient/DeleteTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_DeleteTopic_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteTopic Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_GetOperation_sync", - "title": "pubsublite GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_GetReservation_sync", - "title": "pubsublite GetReservation Sample", - "description": "GetReservation returns the reservation configuration.", - "file": "AdminClient/GetReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReservation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.GetReservation", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.GetReservation", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "GetReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.GetReservationRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.GetReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Reservation", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "GetReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetReservation", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "GetReservation" }, + "description": "GetReservation returns the reservation configuration.", + "file": "AdminClient/GetReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_GetReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetReservation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_GetSubscription_sync", - "title": "pubsublite GetSubscription Sample", - "description": "GetSubscription returns the subscription configuration.", - "file": "AdminClient/GetSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubscription", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.GetSubscription", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.GetSubscription", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "GetSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.GetSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.GetSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Subscription", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "GetSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetSubscription", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "GetSubscription" }, + "description": "GetSubscription returns the subscription configuration.", + "file": "AdminClient/GetSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_GetSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetSubscription Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_GetTopic_sync", - "title": "pubsublite GetTopic Sample", - "description": "GetTopic returns the topic configuration.", - "file": "AdminClient/GetTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTopic", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.GetTopic", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopic", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "GetTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.GetTopicRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.GetTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Topic", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "GetTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopic", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "GetTopic" }, + "description": "GetTopic returns the topic configuration.", + "file": "AdminClient/GetTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_GetTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetTopic Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_GetTopicPartitions_sync", - "title": "pubsublite GetTopicPartitions Sample", - "description": "GetTopicPartitions returns the partition information for the requested topic.", - "file": "AdminClient/GetTopicPartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTopicPartitions", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.GetTopicPartitions", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopicPartitions", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "GetTopicPartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.GetTopicPartitionsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.GetTopicPartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.TopicPartitions", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "GetTopicPartitions", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopicPartitions", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "GetTopicPartitions" }, + "description": "GetTopicPartitions returns the partition information for the requested topic.", + "file": "AdminClient/GetTopicPartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_GetTopicPartitions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetTopicPartitions Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_ListOperations_sync", - "title": "pubsublite ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListOperations Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_ListReservationTopics_sync", - "title": "pubsublite ListReservationTopics Sample", - "description": "ListReservationTopics lists the topics attached to the specified reservation.", - "file": "AdminClient/ListReservationTopics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReservationTopics", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.ListReservationTopics", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservationTopics", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "ListReservationTopics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ListReservationTopicsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ListReservationTopicsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "ListReservationTopics", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservationTopics", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "ListReservationTopics" }, + "description": "ListReservationTopics lists the topics attached to the specified reservation.", + "file": "AdminClient/ListReservationTopics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_ListReservationTopics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListReservationTopics Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_ListReservations_sync", - "title": "pubsublite ListReservations Sample", - "description": "ListReservations returns the list of reservations for the given project.", - "file": "AdminClient/ListReservations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReservations", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.ListReservations", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservations", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "ListReservations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ListReservationsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ListReservationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReservationIterator", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "ListReservations", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservations", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "ListReservations" }, + "description": "ListReservations returns the list of reservations for the given project.", + "file": "AdminClient/ListReservations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_ListReservations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListReservations Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_ListSubscriptions_sync", - "title": "pubsublite ListSubscriptions Sample", - "description": "ListSubscriptions returns the list of subscriptions for the given project.", - "file": "AdminClient/ListSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubscriptions", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.ListSubscriptions", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.ListSubscriptions", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "ListSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ListSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ListSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubscriptionIterator", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "ListSubscriptions", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListSubscriptions", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "ListSubscriptions" }, + "description": "ListSubscriptions returns the list of subscriptions for the given project.", + "file": "AdminClient/ListSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_ListSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListSubscriptions Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_ListTopicSubscriptions_sync", - "title": "pubsublite ListTopicSubscriptions Sample", - "description": "ListTopicSubscriptions lists the subscriptions attached to the specified topic.", - "file": "AdminClient/ListTopicSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTopicSubscriptions", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.ListTopicSubscriptions", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopicSubscriptions", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "ListTopicSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ListTopicSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ListTopicSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "ListTopicSubscriptions", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopicSubscriptions", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "ListTopicSubscriptions" }, + "description": "ListTopicSubscriptions lists the subscriptions attached to the specified topic.", + "file": "AdminClient/ListTopicSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_ListTopicSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListTopicSubscriptions Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_ListTopics_sync", - "title": "pubsublite ListTopics Sample", - "description": "ListTopics returns the list of topics for the given project.", - "file": "AdminClient/ListTopics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTopics", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.ListTopics", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopics", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "ListTopics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ListTopicsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ListTopicsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TopicIterator", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "ListTopics", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopics", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "ListTopics" }, + "description": "ListTopics returns the list of topics for the given project.", + "file": "AdminClient/ListTopics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_ListTopics_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListTopics Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_SeekSubscription_sync", - "title": "pubsublite SeekSubscription Sample", - "description": "SeekSubscription performs an out-of-band seek for a subscription to a specified target,\nwhich may be timestamps or named positions within the message backlog.\nSeek translates these targets to cursors for each partition and\norchestrates subscribers to start consuming messages from these seek\ncursors.\n\nIf an operation is returned, the seek has been registered and subscribers\nwill eventually receive messages from the seek cursors (i.e. eventual\nconsistency), as long as they are using a minimum supported client library\nversion and not a system that tracks cursors independently of Pub/Sub Lite\n(e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for\nunsupported clients.\n\nIf clients would like to know when subscribers react to the seek (or not),\nthey can poll the operation. The seek operation will succeed and complete\nonce subscribers are ready to receive messages from the seek cursors for\nall partitions of the topic. This means that the seek operation will not\ncomplete until all subscribers come online.\n\nIf the previous seek operation has not yet completed, it will be aborted\nand the new invocation of seek will supersede it.", - "file": "AdminClient/SeekSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "SeekSubscription", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.SeekSubscription", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.SeekSubscription", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "SeekSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.SeekSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.SeekSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SeekSubscriptionOperation", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "SeekSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.SeekSubscription", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "SeekSubscription" }, + "description": "SeekSubscription performs an out-of-band seek for a subscription to a specified target,\nwhich may be timestamps or named positions within the message backlog.\nSeek translates these targets to cursors for each partition and\norchestrates subscribers to start consuming messages from these seek\ncursors.\n\nIf an operation is returned, the seek has been registered and subscribers\nwill eventually receive messages from the seek cursors (i.e. eventual\nconsistency), as long as they are using a minimum supported client library\nversion and not a system that tracks cursors independently of Pub/Sub Lite\n(e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for\nunsupported clients.\n\nIf clients would like to know when subscribers react to the seek (or not),\nthey can poll the operation. The seek operation will succeed and complete\nonce subscribers are ready to receive messages from the seek cursors for\nall partitions of the topic. This means that the seek operation will not\ncomplete until all subscribers come online.\n\nIf the previous seek operation has not yet completed, it will be aborted\nand the new invocation of seek will supersede it.", + "file": "AdminClient/SeekSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_SeekSubscription_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite SeekSubscription Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_UpdateReservation_sync", - "title": "pubsublite UpdateReservation Sample", - "description": "UpdateReservation updates properties of the specified reservation.", - "file": "AdminClient/UpdateReservation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReservation", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.UpdateReservation", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateReservation", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "UpdateReservation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.UpdateReservationRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.UpdateReservationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Reservation", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "UpdateReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateReservation", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "UpdateReservation" }, + "description": "UpdateReservation updates properties of the specified reservation.", + "file": "AdminClient/UpdateReservation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_UpdateReservation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite UpdateReservation Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_UpdateSubscription_sync", - "title": "pubsublite UpdateSubscription Sample", - "description": "UpdateSubscription updates properties of the specified subscription.", - "file": "AdminClient/UpdateSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubscription", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.UpdateSubscription", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateSubscription", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "UpdateSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.UpdateSubscriptionRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.UpdateSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Subscription", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "UpdateSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateSubscription", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "UpdateSubscription" }, + "description": "UpdateSubscription updates properties of the specified subscription.", + "file": "AdminClient/UpdateSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_UpdateSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite UpdateSubscription Sample" }, { - "regionTag": "pubsublite_v1_generated_AdminService_UpdateTopic_sync", - "title": "pubsublite UpdateTopic Sample", - "description": "UpdateTopic updates properties of the specified topic.", - "file": "AdminClient/UpdateTopic/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTopic", + "client": { + "fullName": "google.cloud.pubsublite.v1.AdminClient", + "shortName": "AdminClient" + }, "fullName": "google.cloud.pubsublite.v1.AdminClient.UpdateTopic", + "method": { + "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateTopic", + "service": { + "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "AdminService" + }, + "shortName": "UpdateTopic" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.UpdateTopicRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.UpdateTopicRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.Topic", - "client": { - "shortName": "AdminClient", - "fullName": "google.cloud.pubsublite.v1.AdminClient" - }, - "method": { - "shortName": "UpdateTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateTopic", - "service": { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService" - } - } + "shortName": "UpdateTopic" }, + "description": "UpdateTopic updates properties of the specified topic.", + "file": "AdminClient/UpdateTopic/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_AdminService_UpdateTopic_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite UpdateTopic Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_CancelOperation_sync", - "title": "pubsublite CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CursorClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CursorClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CancelOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_CommitCursor_sync", - "title": "pubsublite CommitCursor Sample", - "description": "CommitCursor updates the committed cursor.", - "file": "CursorClient/CommitCursor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CommitCursor", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.CommitCursor", + "method": { + "fullName": "google.cloud.pubsublite.v1.CursorService.CommitCursor", + "service": { + "fullName": "google.cloud.pubsublite.v1.CursorService", + "shortName": "CursorService" + }, + "shortName": "CommitCursor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.CommitCursorRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.CommitCursorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.CommitCursorResponse", - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "CommitCursor", - "fullName": "google.cloud.pubsublite.v1.CursorService.CommitCursor", - "service": { - "shortName": "CursorService", - "fullName": "google.cloud.pubsublite.v1.CursorService" - } - } + "shortName": "CommitCursor" }, + "description": "CommitCursor updates the committed cursor.", + "file": "CursorClient/CommitCursor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_CommitCursor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CommitCursor Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_DeleteOperation_sync", - "title": "pubsublite DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CursorClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CursorClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_GetOperation_sync", - "title": "pubsublite GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CursorClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CursorClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_ListOperations_sync", - "title": "pubsublite ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CursorClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CursorClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListOperations Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_ListPartitionCursors_sync", - "title": "pubsublite ListPartitionCursors Sample", - "description": "ListPartitionCursors returns all committed cursor information for a subscription.", - "file": "CursorClient/ListPartitionCursors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPartitionCursors", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.ListPartitionCursors", + "method": { + "fullName": "google.cloud.pubsublite.v1.CursorService.ListPartitionCursors", + "service": { + "fullName": "google.cloud.pubsublite.v1.CursorService", + "shortName": "CursorService" + }, + "shortName": "ListPartitionCursors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ListPartitionCursorsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ListPartitionCursorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PartitionCursorIterator", - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "ListPartitionCursors", - "fullName": "google.cloud.pubsublite.v1.CursorService.ListPartitionCursors", - "service": { - "shortName": "CursorService", - "fullName": "google.cloud.pubsublite.v1.CursorService" - } - } + "shortName": "ListPartitionCursors" }, + "description": "ListPartitionCursors returns all committed cursor information for a subscription.", + "file": "CursorClient/ListPartitionCursors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_ListPartitionCursors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListPartitionCursors Sample" }, { - "regionTag": "pubsublite_v1_generated_CursorService_StreamingCommitCursor_sync", - "title": "pubsublite StreamingCommitCursor Sample", - "description": "StreamingCommitCursor establishes a stream with the server for managing committed cursors.", - "file": "CursorClient/StreamingCommitCursor/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingCommitCursor", + "client": { + "fullName": "google.cloud.pubsublite.v1.CursorClient", + "shortName": "CursorClient" + }, "fullName": "google.cloud.pubsublite.v1.CursorClient.StreamingCommitCursor", + "method": { + "fullName": "google.cloud.pubsublite.v1.CursorService.StreamingCommitCursor", + "service": { + "fullName": "google.cloud.pubsublite.v1.CursorService", + "shortName": "CursorService" + }, + "shortName": "StreamingCommitCursor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "pubsublitepb.CursorService_StreamingCommitCursorClient", - "client": { - "shortName": "CursorClient", - "fullName": "google.cloud.pubsublite.v1.CursorClient" - }, - "method": { - "shortName": "StreamingCommitCursor", - "fullName": "google.cloud.pubsublite.v1.CursorService.StreamingCommitCursor", - "service": { - "shortName": "CursorService", - "fullName": "google.cloud.pubsublite.v1.CursorService" - } - } + "shortName": "StreamingCommitCursor" }, + "description": "StreamingCommitCursor establishes a stream with the server for managing committed cursors.", + "file": "CursorClient/StreamingCommitCursor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_CursorService_StreamingCommitCursor_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite StreamingCommitCursor Sample" }, { - "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_AssignPartitions_sync", - "title": "pubsublite AssignPartitions Sample", - "description": "AssignPartitions assign partitions for this client to handle for the specified subscription.\n\nThe client must send an InitialPartitionAssignmentRequest first.\nThe server will then send at most one unacknowledged PartitionAssignment\noutstanding on the stream at a time.\nThe client should send a PartitionAssignmentAck after updating the\npartitions it is connected to to reflect the new assignment.", - "file": "PartitionAssignmentClient/AssignPartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "AssignPartitions", + "client": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient", + "shortName": "PartitionAssignmentClient" + }, "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient.AssignPartitions", + "method": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService.AssignPartitions", + "service": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService", + "shortName": "PartitionAssignmentService" + }, + "shortName": "AssignPartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "pubsublitepb.PartitionAssignmentService_AssignPartitionsClient", - "client": { - "shortName": "PartitionAssignmentClient", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient" - }, - "method": { - "shortName": "AssignPartitions", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService.AssignPartitions", - "service": { - "shortName": "PartitionAssignmentService", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService" - } - } + "shortName": "AssignPartitions" }, + "description": "AssignPartitions assign partitions for this client to handle for the specified subscription.\n\nThe client must send an InitialPartitionAssignmentRequest first.\nThe server will then send at most one unacknowledged PartitionAssignment\noutstanding on the stream at a time.\nThe client should send a PartitionAssignmentAck after updating the\npartitions it is connected to to reflect the new assignment.", + "file": "PartitionAssignmentClient/AssignPartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_AssignPartitions_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite AssignPartitions Sample" }, { - "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_CancelOperation_sync", - "title": "pubsublite CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PartitionAssignmentClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient", + "shortName": "PartitionAssignmentClient" + }, "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PartitionAssignmentClient", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PartitionAssignmentClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CancelOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_DeleteOperation_sync", - "title": "pubsublite DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PartitionAssignmentClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient", + "shortName": "PartitionAssignmentClient" + }, "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PartitionAssignmentClient", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PartitionAssignmentClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_GetOperation_sync", - "title": "pubsublite GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PartitionAssignmentClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient", + "shortName": "PartitionAssignmentClient" + }, "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PartitionAssignmentClient", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PartitionAssignmentClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_ListOperations_sync", - "title": "pubsublite ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PartitionAssignmentClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient", + "shortName": "PartitionAssignmentClient" + }, "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PartitionAssignmentClient", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PartitionAssignmentClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PartitionAssignmentService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListOperations Sample" }, { - "regionTag": "pubsublite_v1_generated_PublisherService_CancelOperation_sync", - "title": "pubsublite CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "PublisherClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.pubsublite.v1.PublisherClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.pubsublite.v1.PublisherClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "PublisherClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PublisherService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CancelOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_PublisherService_DeleteOperation_sync", - "title": "pubsublite DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "PublisherClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.pubsublite.v1.PublisherClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.pubsublite.v1.PublisherClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "PublisherClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PublisherService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_PublisherService_GetOperation_sync", - "title": "pubsublite GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PublisherClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.pubsublite.v1.PublisherClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.pubsublite.v1.PublisherClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PublisherClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PublisherService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_PublisherService_ListOperations_sync", - "title": "pubsublite ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PublisherClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.pubsublite.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.pubsublite.v1.PublisherClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.pubsublite.v1.PublisherClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PublisherClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PublisherService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListOperations Sample" }, { - "regionTag": "pubsublite_v1_generated_PublisherService_Publish_sync", - "title": "pubsublite Publish Sample", - "description": "Publish establishes a stream with the server for publishing messages. Once the\nstream is initialized, the client publishes messages by sending publish\nrequests on the stream. The server responds with a PublishResponse for each\nPublishRequest sent by the client, in the same order that the requests\nwere sent. Note that multiple PublishRequests can be in flight\nsimultaneously, but they will be processed by the server in the order that\nthey are sent by the client on a given stream.", - "file": "PublisherClient/Publish/main.go", - "language": "GO", "clientMethod": { - "shortName": "Publish", + "client": { + "fullName": "google.cloud.pubsublite.v1.PublisherClient", + "shortName": "PublisherClient" + }, "fullName": "google.cloud.pubsublite.v1.PublisherClient.Publish", + "method": { + "fullName": "google.cloud.pubsublite.v1.PublisherService.Publish", + "service": { + "fullName": "google.cloud.pubsublite.v1.PublisherService", + "shortName": "PublisherService" + }, + "shortName": "Publish" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "pubsublitepb.PublisherService_PublishClient", - "client": { - "shortName": "PublisherClient", - "fullName": "google.cloud.pubsublite.v1.PublisherClient" - }, - "method": { - "shortName": "Publish", - "fullName": "google.cloud.pubsublite.v1.PublisherService.Publish", - "service": { - "shortName": "PublisherService", - "fullName": "google.cloud.pubsublite.v1.PublisherService" - } - } + "shortName": "Publish" }, + "description": "Publish establishes a stream with the server for publishing messages. Once the\nstream is initialized, the client publishes messages by sending publish\nrequests on the stream. The server responds with a PublishResponse for each\nPublishRequest sent by the client, in the same order that the requests\nwere sent. Note that multiple PublishRequests can be in flight\nsimultaneously, but they will be processed by the server in the order that\nthey are sent by the client on a given stream.", + "file": "PublisherClient/Publish/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_PublisherService_Publish_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite Publish Sample" }, { - "regionTag": "pubsublite_v1_generated_SubscriberService_CancelOperation_sync", - "title": "pubsublite CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "SubscriberClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.SubscriberClient", + "shortName": "SubscriberClient" + }, "fullName": "google.cloud.pubsublite.v1.SubscriberClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriberClient", - "fullName": "google.cloud.pubsublite.v1.SubscriberClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "SubscriberClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_SubscriberService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CancelOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_SubscriberService_DeleteOperation_sync", - "title": "pubsublite DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "SubscriberClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.SubscriberClient", + "shortName": "SubscriberClient" + }, "fullName": "google.cloud.pubsublite.v1.SubscriberClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SubscriberClient", - "fullName": "google.cloud.pubsublite.v1.SubscriberClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "SubscriberClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_SubscriberService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_SubscriberService_GetOperation_sync", - "title": "pubsublite GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SubscriberClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.SubscriberClient", + "shortName": "SubscriberClient" + }, "fullName": "google.cloud.pubsublite.v1.SubscriberClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SubscriberClient", - "fullName": "google.cloud.pubsublite.v1.SubscriberClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SubscriberClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_SubscriberService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_SubscriberService_ListOperations_sync", - "title": "pubsublite ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SubscriberClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.pubsublite.v1.SubscriberClient", + "shortName": "SubscriberClient" + }, "fullName": "google.cloud.pubsublite.v1.SubscriberClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SubscriberClient", - "fullName": "google.cloud.pubsublite.v1.SubscriberClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SubscriberClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_SubscriberService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListOperations Sample" }, { - "regionTag": "pubsublite_v1_generated_SubscriberService_Subscribe_sync", - "title": "pubsublite Subscribe Sample", - "description": "Subscribe establishes a stream with the server for receiving messages.", - "file": "SubscriberClient/Subscribe/main.go", - "language": "GO", "clientMethod": { - "shortName": "Subscribe", + "client": { + "fullName": "google.cloud.pubsublite.v1.SubscriberClient", + "shortName": "SubscriberClient" + }, "fullName": "google.cloud.pubsublite.v1.SubscriberClient.Subscribe", + "method": { + "fullName": "google.cloud.pubsublite.v1.SubscriberService.Subscribe", + "service": { + "fullName": "google.cloud.pubsublite.v1.SubscriberService", + "shortName": "SubscriberService" + }, + "shortName": "Subscribe" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "pubsublitepb.SubscriberService_SubscribeClient", - "client": { - "shortName": "SubscriberClient", - "fullName": "google.cloud.pubsublite.v1.SubscriberClient" - }, - "method": { - "shortName": "Subscribe", - "fullName": "google.cloud.pubsublite.v1.SubscriberService.Subscribe", - "service": { - "shortName": "SubscriberService", - "fullName": "google.cloud.pubsublite.v1.SubscriberService" - } - } + "shortName": "Subscribe" }, + "description": "Subscribe establishes a stream with the server for receiving messages.", + "file": "SubscriberClient/Subscribe/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_SubscriberService_Subscribe_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite Subscribe Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_CancelOperation_sync", - "title": "pubsublite CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TopicStatsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TopicStatsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite CancelOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_ComputeHeadCursor_sync", - "title": "pubsublite ComputeHeadCursor Sample", - "description": "ComputeHeadCursor compute the head cursor for the partition.\nThe head cursor's offset is guaranteed to be less than or equal to all\nmessages which have not yet been acknowledged as published, and\ngreater than the offset of any message whose publish has already\nbeen acknowledged. It is zero if there have never been messages in the\npartition.", - "file": "TopicStatsClient/ComputeHeadCursor/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeHeadCursor", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.ComputeHeadCursor", + "method": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeHeadCursor", + "service": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsService", + "shortName": "TopicStatsService" + }, + "shortName": "ComputeHeadCursor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ComputeHeadCursorRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ComputeHeadCursorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.ComputeHeadCursorResponse", - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "ComputeHeadCursor", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeHeadCursor", - "service": { - "shortName": "TopicStatsService", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService" - } - } + "shortName": "ComputeHeadCursor" }, + "description": "ComputeHeadCursor compute the head cursor for the partition.\nThe head cursor's offset is guaranteed to be less than or equal to all\nmessages which have not yet been acknowledged as published, and\ngreater than the offset of any message whose publish has already\nbeen acknowledged. It is zero if there have never been messages in the\npartition.", + "file": "TopicStatsClient/ComputeHeadCursor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_ComputeHeadCursor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ComputeHeadCursor Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_ComputeMessageStats_sync", - "title": "pubsublite ComputeMessageStats Sample", - "description": "ComputeMessageStats compute statistics about a range of messages in a given topic and\npartition.", - "file": "TopicStatsClient/ComputeMessageStats/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeMessageStats", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.ComputeMessageStats", + "method": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeMessageStats", + "service": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsService", + "shortName": "TopicStatsService" + }, + "shortName": "ComputeMessageStats" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ComputeMessageStatsRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ComputeMessageStatsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.ComputeMessageStatsResponse", - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "ComputeMessageStats", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeMessageStats", - "service": { - "shortName": "TopicStatsService", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService" - } - } + "shortName": "ComputeMessageStats" }, + "description": "ComputeMessageStats compute statistics about a range of messages in a given topic and\npartition.", + "file": "TopicStatsClient/ComputeMessageStats/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_ComputeMessageStats_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ComputeMessageStats Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_ComputeTimeCursor_sync", - "title": "pubsublite ComputeTimeCursor Sample", - "description": "ComputeTimeCursor compute the corresponding cursor for a publish or event time in a topic\npartition.", - "file": "TopicStatsClient/ComputeTimeCursor/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeTimeCursor", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.ComputeTimeCursor", + "method": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeTimeCursor", + "service": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsService", + "shortName": "TopicStatsService" + }, + "shortName": "ComputeTimeCursor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "pubsublitepb.ComputeTimeCursorRequest", - "name": "req" + "name": "req", + "type": "pubsublitepb.ComputeTimeCursorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*pubsublitepb.ComputeTimeCursorResponse", - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "ComputeTimeCursor", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeTimeCursor", - "service": { - "shortName": "TopicStatsService", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService" - } - } + "shortName": "ComputeTimeCursor" }, + "description": "ComputeTimeCursor compute the corresponding cursor for a publish or event time in a topic\npartition.", + "file": "TopicStatsClient/ComputeTimeCursor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_ComputeTimeCursor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ComputeTimeCursor Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_DeleteOperation_sync", - "title": "pubsublite DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TopicStatsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TopicStatsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite DeleteOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_GetOperation_sync", - "title": "pubsublite GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TopicStatsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TopicStatsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite GetOperation Sample" }, { - "regionTag": "pubsublite_v1_generated_TopicStatsService_ListOperations_sync", - "title": "pubsublite ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TopicStatsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.pubsublite.v1.TopicStatsClient", + "shortName": "TopicStatsClient" + }, "fullName": "google.cloud.pubsublite.v1.TopicStatsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TopicStatsClient", - "fullName": "google.cloud.pubsublite.v1.TopicStatsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TopicStatsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "pubsublite_v1_generated_TopicStatsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "pubsublite ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json b/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json index 3050992a6c36..86ee280ac970 100644 --- a/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json +++ b/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json @@ -1,749 +1,749 @@ { "clientLibrary": { - "name": "cloud.google.com/go/rapidmigrationassessment/apiv1", - "version": "1.1.8", - "language": "GO", "apis": [ { "id": "google.cloud.rapidmigrationassessment.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/rapidmigrationassessment/apiv1", + "version": "1.1.8" }, "snippets": [ { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CancelOperation_sync", - "title": "rapidmigrationassessment CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment CancelOperation Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CreateAnnotation_sync", - "title": "rapidmigrationassessment CreateAnnotation Sample", - "description": "CreateAnnotation creates an Annotation", - "file": "Client/CreateAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnnotation", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.CreateAnnotation", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateAnnotation", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "CreateAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.CreateAnnotationRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.CreateAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAnnotationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "CreateAnnotation", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateAnnotation", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "CreateAnnotation" }, + "description": "CreateAnnotation creates an Annotation", + "file": "Client/CreateAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CreateAnnotation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment CreateAnnotation Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CreateCollector_sync", - "title": "rapidmigrationassessment CreateCollector Sample", - "description": "CreateCollector create a Collector to manage the on-prem appliance which collects\ninformation about Customer assets.", - "file": "Client/CreateCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.CreateCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "CreateCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.CreateCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.CreateCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCollectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "CreateCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "CreateCollector" }, + "description": "CreateCollector create a Collector to manage the on-prem appliance which collects\ninformation about Customer assets.", + "file": "Client/CreateCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_CreateCollector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment CreateCollector Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_DeleteCollector_sync", - "title": "rapidmigrationassessment DeleteCollector Sample", - "description": "DeleteCollector deletes a single Collector - changes state of collector to \"Deleting\".\nBackground jobs does final deletion through producer API.", - "file": "Client/DeleteCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.DeleteCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.DeleteCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "DeleteCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.DeleteCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.DeleteCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCollectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "DeleteCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.DeleteCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "DeleteCollector" }, + "description": "DeleteCollector deletes a single Collector - changes state of collector to \"Deleting\".\nBackground jobs does final deletion through producer API.", + "file": "Client/DeleteCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_DeleteCollector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment DeleteCollector Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_DeleteOperation_sync", - "title": "rapidmigrationassessment DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment DeleteOperation Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetAnnotation_sync", - "title": "rapidmigrationassessment GetAnnotation Sample", - "description": "GetAnnotation gets details of a single Annotation.", - "file": "Client/GetAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotation", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetAnnotation", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetAnnotation", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "GetAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.GetAnnotationRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.GetAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*rapidmigrationassessmentpb.Annotation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "GetAnnotation", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetAnnotation", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "GetAnnotation" }, + "description": "GetAnnotation gets details of a single Annotation.", + "file": "Client/GetAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment GetAnnotation Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetCollector_sync", - "title": "rapidmigrationassessment GetCollector Sample", - "description": "GetCollector gets details of a single Collector.", - "file": "Client/GetCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "GetCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.GetCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.GetCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*rapidmigrationassessmentpb.Collector", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "GetCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "GetCollector" }, + "description": "GetCollector gets details of a single Collector.", + "file": "Client/GetCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetCollector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment GetCollector Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetLocation_sync", - "title": "rapidmigrationassessment GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment GetLocation Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetOperation_sync", - "title": "rapidmigrationassessment GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment GetOperation Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListCollectors_sync", - "title": "rapidmigrationassessment ListCollectors Sample", - "description": "ListCollectors lists Collectors in a given project and location.", - "file": "Client/ListCollectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCollectors", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ListCollectors", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ListCollectors", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "ListCollectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.ListCollectorsRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.ListCollectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CollectorIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "ListCollectors", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ListCollectors", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "ListCollectors" }, + "description": "ListCollectors lists Collectors in a given project and location.", + "file": "Client/ListCollectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListCollectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment ListCollectors Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListLocations_sync", - "title": "rapidmigrationassessment ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment ListLocations Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListOperations_sync", - "title": "rapidmigrationassessment ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment ListOperations Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_PauseCollector_sync", - "title": "rapidmigrationassessment PauseCollector Sample", - "description": "PauseCollector pauses the given collector.", - "file": "Client/PauseCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.PauseCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.PauseCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "PauseCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.PauseCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.PauseCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PauseCollectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "PauseCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.PauseCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "PauseCollector" }, + "description": "PauseCollector pauses the given collector.", + "file": "Client/PauseCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_PauseCollector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment PauseCollector Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_RegisterCollector_sync", - "title": "rapidmigrationassessment RegisterCollector Sample", - "description": "RegisterCollector registers the given collector.", - "file": "Client/RegisterCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.RegisterCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.RegisterCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "RegisterCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.RegisterCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.RegisterCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegisterCollectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "RegisterCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.RegisterCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "RegisterCollector" }, + "description": "RegisterCollector registers the given collector.", + "file": "Client/RegisterCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_RegisterCollector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment RegisterCollector Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ResumeCollector_sync", - "title": "rapidmigrationassessment ResumeCollector Sample", - "description": "ResumeCollector resumes the given collector.", - "file": "Client/ResumeCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.ResumeCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ResumeCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "ResumeCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.ResumeCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.ResumeCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResumeCollectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "ResumeCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ResumeCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "ResumeCollector" }, + "description": "ResumeCollector resumes the given collector.", + "file": "Client/ResumeCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_ResumeCollector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment ResumeCollector Sample" }, { - "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_UpdateCollector_sync", - "title": "rapidmigrationassessment UpdateCollector Sample", - "description": "UpdateCollector updates the parameters of a single Collector.", - "file": "Client/UpdateCollector/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCollector", + "client": { + "fullName": "google.cloud.rapidmigrationassessment.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.rapidmigrationassessment.v1.Client.UpdateCollector", + "method": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.UpdateCollector", + "service": { + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "shortName": "RapidMigrationAssessment" + }, + "shortName": "UpdateCollector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "rapidmigrationassessmentpb.UpdateCollectorRequest", - "name": "req" + "name": "req", + "type": "rapidmigrationassessmentpb.UpdateCollectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCollectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.rapidmigrationassessment.v1.Client" - }, - "method": { - "shortName": "UpdateCollector", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.UpdateCollector", - "service": { - "shortName": "RapidMigrationAssessment", - "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment" - } - } + "shortName": "UpdateCollector" }, + "description": "UpdateCollector updates the parameters of a single Collector.", + "file": "Client/UpdateCollector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "rapidmigrationassessment_v1_generated_RapidMigrationAssessment_UpdateCollector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "rapidmigrationassessment UpdateCollector Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/recaptchaenterprise/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json b/internal/generated/snippets/recaptchaenterprise/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json index 17bcbb94dd36..43868e1068d4 100644 --- a/internal/generated/snippets/recaptchaenterprise/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json +++ b/internal/generated/snippets/recaptchaenterprise/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json @@ -1,1025 +1,1025 @@ { "clientLibrary": { - "name": "cloud.google.com/go/recaptchaenterprise/v2/apiv1", - "version": "2.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.recaptchaenterprise.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/recaptchaenterprise/v2/apiv1", + "version": "2.21.0" }, "snippets": [ { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_AddIpOverride_sync", - "title": "recaptchaenterprise AddIpOverride Sample", - "description": "AddIpOverride adds an IP override to a key. The following restrictions hold: \n* The maximum number of IP overrides per key is 1000.\n* For any conflict (such as IP already exists or IP part of an existing\nIP range), an error is returned.", - "file": "Client/AddIpOverride/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddIpOverride", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.AddIpOverride", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "AddIpOverride" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.AddIpOverrideRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.AddIpOverrideRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.AddIpOverrideResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "AddIpOverride", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AddIpOverride", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "AddIpOverride" }, + "description": "AddIpOverride adds an IP override to a key. The following restrictions hold: \n* The maximum number of IP overrides per key is 1000.\n* For any conflict (such as IP already exists or IP part of an existing\nIP range), an error is returned.", + "file": "Client/AddIpOverride/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_AddIpOverride_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise AddIpOverride Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_AnnotateAssessment_sync", - "title": "recaptchaenterprise AnnotateAssessment Sample", - "description": "AnnotateAssessment annotates a previously created Assessment to provide additional information\non whether the event turned out to be authentic or fraudulent.", - "file": "Client/AnnotateAssessment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateAssessment", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.AnnotateAssessment", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "AnnotateAssessment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.AnnotateAssessmentRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.AnnotateAssessmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.AnnotateAssessmentResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "AnnotateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "AnnotateAssessment" }, + "description": "AnnotateAssessment annotates a previously created Assessment to provide additional information\non whether the event turned out to be authentic or fraudulent.", + "file": "Client/AnnotateAssessment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_AnnotateAssessment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise AnnotateAssessment Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateAssessment_sync", - "title": "recaptchaenterprise CreateAssessment Sample", - "description": "CreateAssessment creates an Assessment of the likelihood an event is legitimate.", - "file": "Client/CreateAssessment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAssessment", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.CreateAssessment", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "CreateAssessment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.CreateAssessmentRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.CreateAssessmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Assessment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "CreateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "CreateAssessment" }, + "description": "CreateAssessment creates an Assessment of the likelihood an event is legitimate.", + "file": "Client/CreateAssessment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateAssessment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise CreateAssessment Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateFirewallPolicy_sync", - "title": "recaptchaenterprise CreateFirewallPolicy Sample", - "description": "CreateFirewallPolicy creates a new FirewallPolicy, specifying conditions at which reCAPTCHA\nEnterprise actions can be executed.\nA project may have a maximum of 1000 policies.", - "file": "Client/CreateFirewallPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFirewallPolicy", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.CreateFirewallPolicy", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "CreateFirewallPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.CreateFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.CreateFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.FirewallPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "CreateFirewallPolicy", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "CreateFirewallPolicy" }, + "description": "CreateFirewallPolicy creates a new FirewallPolicy, specifying conditions at which reCAPTCHA\nEnterprise actions can be executed.\nA project may have a maximum of 1000 policies.", + "file": "Client/CreateFirewallPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateFirewallPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise CreateFirewallPolicy Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateKey_sync", - "title": "recaptchaenterprise CreateKey Sample", - "description": "CreateKey creates a new reCAPTCHA Enterprise key.", - "file": "Client/CreateKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateKey", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.CreateKey", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "CreateKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.CreateKeyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.CreateKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Key", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "CreateKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "CreateKey" }, + "description": "CreateKey creates a new reCAPTCHA Enterprise key.", + "file": "Client/CreateKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_CreateKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise CreateKey Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_DeleteFirewallPolicy_sync", - "title": "recaptchaenterprise DeleteFirewallPolicy Sample", - "description": "DeleteFirewallPolicy deletes the specified firewall policy.", - "file": "Client/DeleteFirewallPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFirewallPolicy", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.DeleteFirewallPolicy", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "DeleteFirewallPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.DeleteFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.DeleteFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "DeleteFirewallPolicy", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "DeleteFirewallPolicy" }, + "description": "DeleteFirewallPolicy deletes the specified firewall policy.", + "file": "Client/DeleteFirewallPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_DeleteFirewallPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise DeleteFirewallPolicy Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_DeleteKey_sync", - "title": "recaptchaenterprise DeleteKey Sample", - "description": "DeleteKey deletes the specified key.", - "file": "Client/DeleteKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteKey", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.DeleteKey", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "DeleteKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.DeleteKeyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.DeleteKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "DeleteKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "DeleteKey" }, + "description": "DeleteKey deletes the specified key.", + "file": "Client/DeleteKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_DeleteKey_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise DeleteKey Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_GetFirewallPolicy_sync", - "title": "recaptchaenterprise GetFirewallPolicy Sample", - "description": "GetFirewallPolicy returns the specified firewall policy.", - "file": "Client/GetFirewallPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFirewallPolicy", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.GetFirewallPolicy", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "GetFirewallPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.GetFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.GetFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.FirewallPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "GetFirewallPolicy", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "GetFirewallPolicy" }, + "description": "GetFirewallPolicy returns the specified firewall policy.", + "file": "Client/GetFirewallPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_GetFirewallPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise GetFirewallPolicy Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_GetKey_sync", - "title": "recaptchaenterprise GetKey Sample", - "description": "GetKey returns the specified key.", - "file": "Client/GetKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetKey", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.GetKey", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "GetKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.GetKeyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.GetKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Key", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "GetKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "GetKey" }, + "description": "GetKey returns the specified key.", + "file": "Client/GetKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_GetKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise GetKey Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_GetMetrics_sync", - "title": "recaptchaenterprise GetMetrics Sample", - "description": "GetMetrics get some aggregated metrics for a Key. This data can be used to build\ndashboards.", - "file": "Client/GetMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMetrics", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.GetMetrics", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "GetMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.GetMetricsRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.GetMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Metrics", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "GetMetrics", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "GetMetrics" }, + "description": "GetMetrics get some aggregated metrics for a Key. This data can be used to build\ndashboards.", + "file": "Client/GetMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_GetMetrics_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise GetMetrics Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListFirewallPolicies_sync", - "title": "recaptchaenterprise ListFirewallPolicies Sample", - "description": "ListFirewallPolicies returns the list of all firewall policies that belong to a project.", - "file": "Client/ListFirewallPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFirewallPolicies", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.ListFirewallPolicies", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "ListFirewallPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.ListFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.ListFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FirewallPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "ListFirewallPolicies", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "ListFirewallPolicies" }, + "description": "ListFirewallPolicies returns the list of all firewall policies that belong to a project.", + "file": "Client/ListFirewallPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListFirewallPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise ListFirewallPolicies Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListIpOverrides_sync", - "title": "recaptchaenterprise ListIpOverrides Sample", - "description": "ListIpOverrides lists all IP overrides for a key.", - "file": "Client/ListIpOverrides/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIpOverrides", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.ListIpOverrides", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "ListIpOverrides" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.ListIpOverridesRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.ListIpOverridesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IpOverrideDataIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "ListIpOverrides", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListIpOverrides", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "ListIpOverrides" }, + "description": "ListIpOverrides lists all IP overrides for a key.", + "file": "Client/ListIpOverrides/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListIpOverrides_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise ListIpOverrides Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListKeys_sync", - "title": "recaptchaenterprise ListKeys Sample", - "description": "ListKeys returns the list of all keys that belong to a project.", - "file": "Client/ListKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListKeys", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.ListKeys", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "ListKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.ListKeysRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.ListKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "KeyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "ListKeys", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "ListKeys" }, + "description": "ListKeys returns the list of all keys that belong to a project.", + "file": "Client/ListKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise ListKeys Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListRelatedAccountGroupMemberships_sync", - "title": "recaptchaenterprise ListRelatedAccountGroupMemberships Sample", - "description": "ListRelatedAccountGroupMemberships get memberships in a group of related accounts.", - "file": "Client/ListRelatedAccountGroupMemberships/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRelatedAccountGroupMemberships", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.ListRelatedAccountGroupMemberships", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "ListRelatedAccountGroupMemberships" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.ListRelatedAccountGroupMembershipsRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.ListRelatedAccountGroupMembershipsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RelatedAccountGroupMembershipIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "ListRelatedAccountGroupMemberships", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "ListRelatedAccountGroupMemberships" }, + "description": "ListRelatedAccountGroupMemberships get memberships in a group of related accounts.", + "file": "Client/ListRelatedAccountGroupMemberships/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListRelatedAccountGroupMemberships_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise ListRelatedAccountGroupMemberships Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListRelatedAccountGroups_sync", - "title": "recaptchaenterprise ListRelatedAccountGroups Sample", - "description": "ListRelatedAccountGroups list groups of related accounts.", - "file": "Client/ListRelatedAccountGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRelatedAccountGroups", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.ListRelatedAccountGroups", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "ListRelatedAccountGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.ListRelatedAccountGroupsRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.ListRelatedAccountGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RelatedAccountGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "ListRelatedAccountGroups", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "ListRelatedAccountGroups" }, + "description": "ListRelatedAccountGroups list groups of related accounts.", + "file": "Client/ListRelatedAccountGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ListRelatedAccountGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise ListRelatedAccountGroups Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_MigrateKey_sync", - "title": "recaptchaenterprise MigrateKey Sample", - "description": "MigrateKey migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.\nOnce a key is migrated, it can be used from either product. SiteVerify\nrequests are billed as CreateAssessment calls. You must be\nauthenticated as one of the current owners of the reCAPTCHA Key, and\nyour user must have the reCAPTCHA Enterprise Admin IAM role in the\ndestination project.", - "file": "Client/MigrateKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "MigrateKey", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.MigrateKey", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "MigrateKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.MigrateKeyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.MigrateKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Key", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "MigrateKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "MigrateKey" }, + "description": "MigrateKey migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.\nOnce a key is migrated, it can be used from either product. SiteVerify\nrequests are billed as CreateAssessment calls. You must be\nauthenticated as one of the current owners of the reCAPTCHA Key, and\nyour user must have the reCAPTCHA Enterprise Admin IAM role in the\ndestination project.", + "file": "Client/MigrateKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_MigrateKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise MigrateKey Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_RemoveIpOverride_sync", - "title": "recaptchaenterprise RemoveIpOverride Sample", - "description": "RemoveIpOverride removes an IP override from a key. The following restrictions hold: \n* If the IP isn't found in an existing IP override, a `NOT_FOUND` error\nis returned.\n* If the IP is found in an existing IP override, but the\noverride type does not match, a `NOT_FOUND` error is returned.", - "file": "Client/RemoveIpOverride/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveIpOverride", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.RemoveIpOverride", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "RemoveIpOverride" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.RemoveIpOverrideRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.RemoveIpOverrideRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.RemoveIpOverrideResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "RemoveIpOverride", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RemoveIpOverride", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "RemoveIpOverride" }, + "description": "RemoveIpOverride removes an IP override from a key. The following restrictions hold: \n* If the IP isn't found in an existing IP override, a `NOT_FOUND` error\nis returned.\n* If the IP is found in an existing IP override, but the\noverride type does not match, a `NOT_FOUND` error is returned.", + "file": "Client/RemoveIpOverride/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_RemoveIpOverride_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise RemoveIpOverride Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ReorderFirewallPolicies_sync", - "title": "recaptchaenterprise ReorderFirewallPolicies Sample", - "description": "ReorderFirewallPolicies reorders all firewall policies.", - "file": "Client/ReorderFirewallPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReorderFirewallPolicies", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.ReorderFirewallPolicies", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "ReorderFirewallPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.ReorderFirewallPoliciesRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.ReorderFirewallPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.ReorderFirewallPoliciesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "ReorderFirewallPolicies", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "ReorderFirewallPolicies" }, + "description": "ReorderFirewallPolicies reorders all firewall policies.", + "file": "Client/ReorderFirewallPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_ReorderFirewallPolicies_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise ReorderFirewallPolicies Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_RetrieveLegacySecretKey_sync", - "title": "recaptchaenterprise RetrieveLegacySecretKey Sample", - "description": "RetrieveLegacySecretKey returns the secret key related to the specified public key.\nYou must use the legacy secret key only in a 3rd party integration with\nlegacy reCAPTCHA.", - "file": "Client/RetrieveLegacySecretKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveLegacySecretKey", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.RetrieveLegacySecretKey", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "RetrieveLegacySecretKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.RetrieveLegacySecretKeyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.RetrieveLegacySecretKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.RetrieveLegacySecretKeyResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "RetrieveLegacySecretKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "RetrieveLegacySecretKey" }, + "description": "RetrieveLegacySecretKey returns the secret key related to the specified public key.\nYou must use the legacy secret key only in a 3rd party integration with\nlegacy reCAPTCHA.", + "file": "Client/RetrieveLegacySecretKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_RetrieveLegacySecretKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise RetrieveLegacySecretKey Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_SearchRelatedAccountGroupMemberships_sync", - "title": "recaptchaenterprise SearchRelatedAccountGroupMemberships Sample", - "description": "SearchRelatedAccountGroupMemberships search group memberships related to a given account.", - "file": "Client/SearchRelatedAccountGroupMemberships/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchRelatedAccountGroupMemberships", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.SearchRelatedAccountGroupMemberships", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "SearchRelatedAccountGroupMemberships" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.SearchRelatedAccountGroupMembershipsRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.SearchRelatedAccountGroupMembershipsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RelatedAccountGroupMembershipIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "SearchRelatedAccountGroupMemberships", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "SearchRelatedAccountGroupMemberships" }, + "description": "SearchRelatedAccountGroupMemberships search group memberships related to a given account.", + "file": "Client/SearchRelatedAccountGroupMemberships/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_SearchRelatedAccountGroupMemberships_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise SearchRelatedAccountGroupMemberships Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_UpdateFirewallPolicy_sync", - "title": "recaptchaenterprise UpdateFirewallPolicy Sample", - "description": "UpdateFirewallPolicy updates the specified firewall policy.", - "file": "Client/UpdateFirewallPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFirewallPolicy", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.UpdateFirewallPolicy", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "UpdateFirewallPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.UpdateFirewallPolicyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.UpdateFirewallPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.FirewallPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "UpdateFirewallPolicy", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "UpdateFirewallPolicy" }, + "description": "UpdateFirewallPolicy updates the specified firewall policy.", + "file": "Client/UpdateFirewallPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_UpdateFirewallPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise UpdateFirewallPolicy Sample" }, { - "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_UpdateKey_sync", - "title": "recaptchaenterprise UpdateKey Sample", - "description": "UpdateKey updates the specified key.", - "file": "Client/UpdateKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateKey", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1.Client.UpdateKey", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "shortName": "RecaptchaEnterpriseService" + }, + "shortName": "UpdateKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.UpdateKeyRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.UpdateKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Key", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recaptchaenterprise.v1.Client" - }, - "method": { - "shortName": "UpdateKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey", - "service": { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - } - } + "shortName": "UpdateKey" }, + "description": "UpdateKey updates the specified key.", + "file": "Client/UpdateKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1_generated_RecaptchaEnterpriseService_UpdateKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise UpdateKey Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/recaptchaenterprise/apiv1beta1/snippet_metadata.google.cloud.recaptchaenterprise.v1beta1.json b/internal/generated/snippets/recaptchaenterprise/apiv1beta1/snippet_metadata.google.cloud.recaptchaenterprise.v1beta1.json index 0ffee45284f0..1973f138d6e0 100644 --- a/internal/generated/snippets/recaptchaenterprise/apiv1beta1/snippet_metadata.google.cloud.recaptchaenterprise.v1beta1.json +++ b/internal/generated/snippets/recaptchaenterprise/apiv1beta1/snippet_metadata.google.cloud.recaptchaenterprise.v1beta1.json @@ -1,107 +1,107 @@ { "clientLibrary": { - "name": "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1", - "version": "2.21.0", - "language": "GO", "apis": [ { "id": "google.cloud.recaptchaenterprise.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1", + "version": "2.21.0" }, "snippets": [ { - "regionTag": "recaptchaenterprise_v1beta1_generated_RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_sync", - "title": "recaptchaenterprise AnnotateAssessment Sample", - "description": "AnnotateAssessment annotates a previously created Assessment to provide additional information\non whether the event turned out to be authentic or fradulent.", - "file": "RecaptchaEnterpriseServiceV1Beta1Client/AnnotateAssessment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateAssessment", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client", + "shortName": "RecaptchaEnterpriseServiceV1Beta1Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessment", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1", + "shortName": "RecaptchaEnterpriseServiceV1Beta1" + }, + "shortName": "AnnotateAssessment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.AnnotateAssessmentRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.AnnotateAssessmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.AnnotateAssessmentResponse", - "client": { - "shortName": "RecaptchaEnterpriseServiceV1Beta1Client", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client" - }, - "method": { - "shortName": "AnnotateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment", - "service": { - "shortName": "RecaptchaEnterpriseServiceV1Beta1", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1" - } - } + "shortName": "AnnotateAssessment" }, + "description": "AnnotateAssessment annotates a previously created Assessment to provide additional information\non whether the event turned out to be authentic or fradulent.", + "file": "RecaptchaEnterpriseServiceV1Beta1Client/AnnotateAssessment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1beta1_generated_RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise AnnotateAssessment Sample" }, { - "regionTag": "recaptchaenterprise_v1beta1_generated_RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_sync", - "title": "recaptchaenterprise CreateAssessment Sample", - "description": "CreateAssessment creates an Assessment of the likelihood an event is legitimate.", - "file": "RecaptchaEnterpriseServiceV1Beta1Client/CreateAssessment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAssessment", + "client": { + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client", + "shortName": "RecaptchaEnterpriseServiceV1Beta1Client" + }, "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client.CreateAssessment", + "method": { + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment", + "service": { + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1", + "shortName": "RecaptchaEnterpriseServiceV1Beta1" + }, + "shortName": "CreateAssessment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recaptchaenterprisepb.CreateAssessmentRequest", - "name": "req" + "name": "req", + "type": "recaptchaenterprisepb.CreateAssessmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recaptchaenterprisepb.Assessment", - "client": { - "shortName": "RecaptchaEnterpriseServiceV1Beta1Client", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client" - }, - "method": { - "shortName": "CreateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment", - "service": { - "shortName": "RecaptchaEnterpriseServiceV1Beta1", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1" - } - } + "shortName": "CreateAssessment" }, + "description": "CreateAssessment creates an Assessment of the likelihood an event is legitimate.", + "file": "RecaptchaEnterpriseServiceV1Beta1Client/CreateAssessment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recaptchaenterprise_v1beta1_generated_RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recaptchaenterprise CreateAssessment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json b/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json index 621d79280840..54f63dd6e1ef 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json @@ -1,703 +1,703 @@ { "clientLibrary": { - "name": "cloud.google.com/go/recommendationengine/apiv1beta1", - "version": "0.9.7", - "language": "GO", "apis": [ { "id": "google.cloud.recommendationengine.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/recommendationengine/apiv1beta1", + "version": "0.9.7" }, "snippets": [ { - "regionTag": "recommendationengine_v1beta1_generated_CatalogService_CreateCatalogItem_sync", - "title": "recommendationengine CreateCatalogItem Sample", - "description": "CreateCatalogItem creates a catalog item.", - "file": "CatalogClient/CreateCatalogItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCatalogItem", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient.CreateCatalogItem", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.CreateCatalogItem", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "CreateCatalogItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.CreateCatalogItemRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.CreateCatalogItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommendationenginepb.CatalogItem", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient" - }, - "method": { - "shortName": "CreateCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.CreateCatalogItem", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService" - } - } + "shortName": "CreateCatalogItem" }, + "description": "CreateCatalogItem creates a catalog item.", + "file": "CatalogClient/CreateCatalogItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_CatalogService_CreateCatalogItem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine CreateCatalogItem Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_CatalogService_DeleteCatalogItem_sync", - "title": "recommendationengine DeleteCatalogItem Sample", - "description": "DeleteCatalogItem deletes a catalog item.", - "file": "CatalogClient/DeleteCatalogItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCatalogItem", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient.DeleteCatalogItem", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.DeleteCatalogItem", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "DeleteCatalogItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.DeleteCatalogItemRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.DeleteCatalogItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient" - }, - "method": { - "shortName": "DeleteCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.DeleteCatalogItem", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService" - } - } + "shortName": "DeleteCatalogItem" }, + "description": "DeleteCatalogItem deletes a catalog item.", + "file": "CatalogClient/DeleteCatalogItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_CatalogService_DeleteCatalogItem_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine DeleteCatalogItem Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_CatalogService_GetCatalogItem_sync", - "title": "recommendationengine GetCatalogItem Sample", - "description": "GetCatalogItem gets a specific catalog item.", - "file": "CatalogClient/GetCatalogItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCatalogItem", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient.GetCatalogItem", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.GetCatalogItem", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetCatalogItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.GetCatalogItemRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.GetCatalogItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommendationenginepb.CatalogItem", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient" - }, - "method": { - "shortName": "GetCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.GetCatalogItem", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService" - } - } + "shortName": "GetCatalogItem" }, + "description": "GetCatalogItem gets a specific catalog item.", + "file": "CatalogClient/GetCatalogItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_CatalogService_GetCatalogItem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine GetCatalogItem Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_CatalogService_ImportCatalogItems_sync", - "title": "recommendationengine ImportCatalogItems Sample", - "description": "ImportCatalogItems bulk import of multiple catalog items. Request processing may be\nsynchronous. No partial updating supported. Non-existing items will be\ncreated.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully updated.", - "file": "CatalogClient/ImportCatalogItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCatalogItems", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient.ImportCatalogItems", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ImportCatalogItems", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ImportCatalogItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.ImportCatalogItemsRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.ImportCatalogItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCatalogItemsOperation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient" - }, - "method": { - "shortName": "ImportCatalogItems", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ImportCatalogItems", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService" - } - } + "shortName": "ImportCatalogItems" }, + "description": "ImportCatalogItems bulk import of multiple catalog items. Request processing may be\nsynchronous. No partial updating supported. Non-existing items will be\ncreated.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully updated.", + "file": "CatalogClient/ImportCatalogItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_CatalogService_ImportCatalogItems_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine ImportCatalogItems Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_CatalogService_ListCatalogItems_sync", - "title": "recommendationengine ListCatalogItems Sample", - "description": "ListCatalogItems gets a list of catalog items.", - "file": "CatalogClient/ListCatalogItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCatalogItems", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient.ListCatalogItems", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ListCatalogItems", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListCatalogItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.ListCatalogItemsRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.ListCatalogItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogItemIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient" - }, - "method": { - "shortName": "ListCatalogItems", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ListCatalogItems", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService" - } - } + "shortName": "ListCatalogItems" }, + "description": "ListCatalogItems gets a list of catalog items.", + "file": "CatalogClient/ListCatalogItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_CatalogService_ListCatalogItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine ListCatalogItems Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_CatalogService_UpdateCatalogItem_sync", - "title": "recommendationengine UpdateCatalogItem Sample", - "description": "UpdateCatalogItem updates a catalog item. Partial updating is supported. Non-existing\nitems will be created.", - "file": "CatalogClient/UpdateCatalogItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCatalogItem", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient.UpdateCatalogItem", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.UpdateCatalogItem", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCatalogItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.UpdateCatalogItemRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.UpdateCatalogItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommendationenginepb.CatalogItem", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogClient" - }, - "method": { - "shortName": "UpdateCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.UpdateCatalogItem", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService" - } - } + "shortName": "UpdateCatalogItem" }, + "description": "UpdateCatalogItem updates a catalog item. Partial updating is supported. Non-existing\nitems will be created.", + "file": "CatalogClient/UpdateCatalogItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_CatalogService_UpdateCatalogItem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine UpdateCatalogItem Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_PredictionApiKeyRegistry_CreatePredictionApiKeyRegistration_sync", - "title": "recommendationengine CreatePredictionApiKeyRegistration Sample", - "description": "CreatePredictionApiKeyRegistration register an API key for use with predict method.", - "file": "PredictionApiKeyRegistryClient/CreatePredictionApiKeyRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePredictionApiKeyRegistration", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient", + "shortName": "PredictionApiKeyRegistryClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient.CreatePredictionApiKeyRegistration", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.CreatePredictionApiKeyRegistration", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", + "shortName": "PredictionApiKeyRegistry" + }, + "shortName": "CreatePredictionApiKeyRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.CreatePredictionApiKeyRegistrationRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.CreatePredictionApiKeyRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommendationenginepb.PredictionApiKeyRegistration", - "client": { - "shortName": "PredictionApiKeyRegistryClient", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient" - }, - "method": { - "shortName": "CreatePredictionApiKeyRegistration", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.CreatePredictionApiKeyRegistration", - "service": { - "shortName": "PredictionApiKeyRegistry", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry" - } - } + "shortName": "CreatePredictionApiKeyRegistration" }, + "description": "CreatePredictionApiKeyRegistration register an API key for use with predict method.", + "file": "PredictionApiKeyRegistryClient/CreatePredictionApiKeyRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_PredictionApiKeyRegistry_CreatePredictionApiKeyRegistration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine CreatePredictionApiKeyRegistration Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_PredictionApiKeyRegistry_DeletePredictionApiKeyRegistration_sync", - "title": "recommendationengine DeletePredictionApiKeyRegistration Sample", - "description": "DeletePredictionApiKeyRegistration unregister an apiKey from using for predict method.", - "file": "PredictionApiKeyRegistryClient/DeletePredictionApiKeyRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePredictionApiKeyRegistration", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient", + "shortName": "PredictionApiKeyRegistryClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient.DeletePredictionApiKeyRegistration", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.DeletePredictionApiKeyRegistration", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", + "shortName": "PredictionApiKeyRegistry" + }, + "shortName": "DeletePredictionApiKeyRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.DeletePredictionApiKeyRegistrationRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.DeletePredictionApiKeyRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "PredictionApiKeyRegistryClient", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient" - }, - "method": { - "shortName": "DeletePredictionApiKeyRegistration", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.DeletePredictionApiKeyRegistration", - "service": { - "shortName": "PredictionApiKeyRegistry", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry" - } - } + "shortName": "DeletePredictionApiKeyRegistration" }, + "description": "DeletePredictionApiKeyRegistration unregister an apiKey from using for predict method.", + "file": "PredictionApiKeyRegistryClient/DeletePredictionApiKeyRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_PredictionApiKeyRegistry_DeletePredictionApiKeyRegistration_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine DeletePredictionApiKeyRegistration Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_PredictionApiKeyRegistry_ListPredictionApiKeyRegistrations_sync", - "title": "recommendationengine ListPredictionApiKeyRegistrations Sample", - "description": "ListPredictionApiKeyRegistrations list the registered apiKeys for use with predict method.", - "file": "PredictionApiKeyRegistryClient/ListPredictionApiKeyRegistrations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPredictionApiKeyRegistrations", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient", + "shortName": "PredictionApiKeyRegistryClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrations", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.ListPredictionApiKeyRegistrations", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", + "shortName": "PredictionApiKeyRegistry" + }, + "shortName": "ListPredictionApiKeyRegistrations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.ListPredictionApiKeyRegistrationsRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.ListPredictionApiKeyRegistrationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PredictionApiKeyRegistrationIterator", - "client": { - "shortName": "PredictionApiKeyRegistryClient", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClient" - }, - "method": { - "shortName": "ListPredictionApiKeyRegistrations", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.ListPredictionApiKeyRegistrations", - "service": { - "shortName": "PredictionApiKeyRegistry", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry" - } - } + "shortName": "ListPredictionApiKeyRegistrations" }, + "description": "ListPredictionApiKeyRegistrations list the registered apiKeys for use with predict method.", + "file": "PredictionApiKeyRegistryClient/ListPredictionApiKeyRegistrations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_PredictionApiKeyRegistry_ListPredictionApiKeyRegistrations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine ListPredictionApiKeyRegistrations Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_PredictionService_Predict_sync", - "title": "recommendationengine Predict Sample", - "description": "Predict makes a recommendation prediction. If using API Key based authentication,\nthe API Key must be registered using the\n[PredictionApiKeyRegistry][google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry]\nservice. [Learn more](/recommendations-ai/docs/setting-up#register-key).", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService.Predict", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.PredictRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PredictResponse_PredictionResultIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict makes a recommendation prediction. If using API Key based authentication,\nthe API Key must be registered using the\n[PredictionApiKeyRegistry][google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry]\nservice. [Learn more](/recommendations-ai/docs/setting-up#register-key).", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine Predict Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_UserEventService_CollectUserEvent_sync", - "title": "recommendationengine CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a 3rd party domain.\n\nThis method is used only by the Recommendations AI JavaScript pixel.\nUsers should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser. This uses a GET request to\ndue to browser restriction of POST-ing to a 3rd party domain.\n\nThis method is used only by the Recommendations AI JavaScript pixel.\nUsers should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine CollectUserEvent Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_UserEventService_ImportUserEvents_sync", - "title": "recommendationengine ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\nOperation.response is of type ImportResponse. Note that it is\npossible for a subset of the items to be successfully inserted.\nOperation.metadata is of type ImportMetadata.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine ImportUserEvents Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_UserEventService_ListUserEvents_sync", - "title": "recommendationengine ListUserEvents Sample", - "description": "ListUserEvents gets a list of user events within a time range, with potential filtering.", - "file": "UserEventClient/ListUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUserEvents", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient.ListUserEvents", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ListUserEvents", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ListUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.ListUserEventsRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.ListUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserEventIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient" - }, - "method": { - "shortName": "ListUserEvents", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ListUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService" - } - } + "shortName": "ListUserEvents" }, + "description": "ListUserEvents gets a list of user events within a time range, with potential filtering.", + "file": "UserEventClient/ListUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_UserEventService_ListUserEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine ListUserEvents Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_UserEventService_PurgeUserEvents_sync", - "title": "recommendationengine PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine PurgeUserEvents Sample" }, { - "regionTag": "recommendationengine_v1beta1_generated_UserEventService_WriteUserEvent_sync", - "title": "recommendationengine WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommendationenginepb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "recommendationenginepb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommendationenginepb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommendationengine_v1beta1_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommendationengine WriteUserEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json b/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json index 8164c3ed65f2..d098b0c74c74 100644 --- a/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json +++ b/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json @@ -1,613 +1,613 @@ { "clientLibrary": { - "name": "cloud.google.com/go/recommender/apiv1", - "version": "1.13.6", - "language": "GO", "apis": [ { "id": "google.cloud.recommender.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/recommender/apiv1", + "version": "1.13.6" }, "snippets": [ { - "regionTag": "recommender_v1_generated_Recommender_GetInsight_sync", - "title": "recommender GetInsight Sample", - "description": "GetInsight gets the requested insight. Requires the recommender.*.get IAM permission\nfor the specified insight type.", - "file": "Client/GetInsight/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInsight", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.GetInsight", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.GetInsight", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetInsight" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetInsightRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetInsightRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Insight", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "GetInsight", - "fullName": "google.cloud.recommender.v1.Recommender.GetInsight", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "GetInsight" }, + "description": "GetInsight gets the requested insight. Requires the recommender.*.get IAM permission\nfor the specified insight type.", + "file": "Client/GetInsight/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_GetInsight_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetInsight Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_GetInsightTypeConfig_sync", - "title": "recommender GetInsightTypeConfig Sample", - "description": "GetInsightTypeConfig gets the requested InsightTypeConfig. There is only one instance of the\nconfig for each InsightType.", - "file": "Client/GetInsightTypeConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInsightTypeConfig", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.GetInsightTypeConfig", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.GetInsightTypeConfig", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetInsightTypeConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetInsightTypeConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetInsightTypeConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.InsightTypeConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "GetInsightTypeConfig", - "fullName": "google.cloud.recommender.v1.Recommender.GetInsightTypeConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "GetInsightTypeConfig" }, + "description": "GetInsightTypeConfig gets the requested InsightTypeConfig. There is only one instance of the\nconfig for each InsightType.", + "file": "Client/GetInsightTypeConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_GetInsightTypeConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetInsightTypeConfig Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_GetRecommendation_sync", - "title": "recommender GetRecommendation Sample", - "description": "GetRecommendation gets the requested recommendation. Requires the recommender.*.get\nIAM permission for the specified recommender.", - "file": "Client/GetRecommendation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecommendation", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.GetRecommendation", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.GetRecommendation", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetRecommendation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetRecommendationRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetRecommendationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "GetRecommendation", - "fullName": "google.cloud.recommender.v1.Recommender.GetRecommendation", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "GetRecommendation" }, + "description": "GetRecommendation gets the requested recommendation. Requires the recommender.*.get\nIAM permission for the specified recommender.", + "file": "Client/GetRecommendation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_GetRecommendation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetRecommendation Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_GetRecommenderConfig_sync", - "title": "recommender GetRecommenderConfig Sample", - "description": "GetRecommenderConfig gets the requested Recommender Config. There is only one instance of the\nconfig for each Recommender.", - "file": "Client/GetRecommenderConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecommenderConfig", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.GetRecommenderConfig", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.GetRecommenderConfig", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetRecommenderConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetRecommenderConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetRecommenderConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.RecommenderConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "GetRecommenderConfig", - "fullName": "google.cloud.recommender.v1.Recommender.GetRecommenderConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "GetRecommenderConfig" }, + "description": "GetRecommenderConfig gets the requested Recommender Config. There is only one instance of the\nconfig for each Recommender.", + "file": "Client/GetRecommenderConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_GetRecommenderConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetRecommenderConfig Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_ListInsights_sync", - "title": "recommender ListInsights Sample", - "description": "ListInsights lists insights for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified insight type.", - "file": "Client/ListInsights/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInsights", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.ListInsights", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.ListInsights", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "ListInsights" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.ListInsightsRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.ListInsightsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InsightIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "ListInsights", - "fullName": "google.cloud.recommender.v1.Recommender.ListInsights", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "ListInsights" }, + "description": "ListInsights lists insights for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified insight type.", + "file": "Client/ListInsights/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_ListInsights_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender ListInsights Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_ListRecommendations_sync", - "title": "recommender ListRecommendations Sample", - "description": "ListRecommendations lists recommendations for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified recommender.", - "file": "Client/ListRecommendations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRecommendations", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.ListRecommendations", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.ListRecommendations", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "ListRecommendations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.ListRecommendationsRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.ListRecommendationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecommendationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "ListRecommendations", - "fullName": "google.cloud.recommender.v1.Recommender.ListRecommendations", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "ListRecommendations" }, + "description": "ListRecommendations lists recommendations for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified recommender.", + "file": "Client/ListRecommendations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_ListRecommendations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender ListRecommendations Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_MarkInsightAccepted_sync", - "title": "recommender MarkInsightAccepted Sample", - "description": "MarkInsightAccepted marks the Insight State as Accepted. Users can use this method to\nindicate to the Recommender API that they have applied some action based\non the insight. This stops the insight content from being updated.\n\nMarkInsightAccepted can be applied to insights in ACTIVE state. Requires\nthe recommender.*.update IAM permission for the specified insight.", - "file": "Client/MarkInsightAccepted/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkInsightAccepted", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.MarkInsightAccepted", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.MarkInsightAccepted", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkInsightAccepted" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkInsightAcceptedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkInsightAcceptedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Insight", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "MarkInsightAccepted", - "fullName": "google.cloud.recommender.v1.Recommender.MarkInsightAccepted", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "MarkInsightAccepted" }, + "description": "MarkInsightAccepted marks the Insight State as Accepted. Users can use this method to\nindicate to the Recommender API that they have applied some action based\non the insight. This stops the insight content from being updated.\n\nMarkInsightAccepted can be applied to insights in ACTIVE state. Requires\nthe recommender.*.update IAM permission for the specified insight.", + "file": "Client/MarkInsightAccepted/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_MarkInsightAccepted_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkInsightAccepted Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationClaimed_sync", - "title": "recommender MarkRecommendationClaimed Sample", - "description": "MarkRecommendationClaimed marks the Recommendation State as Claimed. Users can use this method to\nindicate to the Recommender API that they are starting to apply the\nrecommendation themselves. This stops the recommendation content from being\nupdated. Associated insights are frozen and placed in the ACCEPTED state.\n\nMarkRecommendationClaimed can be applied to recommendations in CLAIMED,\nSUCCEEDED, FAILED, or ACTIVE state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationClaimed/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationClaimed", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.MarkRecommendationClaimed", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationClaimed", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationClaimed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationClaimedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationClaimedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "MarkRecommendationClaimed", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationClaimed", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "MarkRecommendationClaimed" }, + "description": "MarkRecommendationClaimed marks the Recommendation State as Claimed. Users can use this method to\nindicate to the Recommender API that they are starting to apply the\nrecommendation themselves. This stops the recommendation content from being\nupdated. Associated insights are frozen and placed in the ACCEPTED state.\n\nMarkRecommendationClaimed can be applied to recommendations in CLAIMED,\nSUCCEEDED, FAILED, or ACTIVE state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationClaimed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationClaimed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationClaimed Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationDismissed_sync", - "title": "recommender MarkRecommendationDismissed Sample", - "description": "MarkRecommendationDismissed mark the Recommendation State as Dismissed. Users can use this method to\nindicate to the Recommender API that an ACTIVE recommendation has to\nbe marked back as DISMISSED.\n\nMarkRecommendationDismissed can be applied to recommendations in ACTIVE\nstate.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationDismissed/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationDismissed", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.MarkRecommendationDismissed", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationDismissed", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationDismissed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationDismissedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationDismissedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "MarkRecommendationDismissed", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationDismissed", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "MarkRecommendationDismissed" }, + "description": "MarkRecommendationDismissed mark the Recommendation State as Dismissed. Users can use this method to\nindicate to the Recommender API that an ACTIVE recommendation has to\nbe marked back as DISMISSED.\n\nMarkRecommendationDismissed can be applied to recommendations in ACTIVE\nstate.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationDismissed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationDismissed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationDismissed Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationFailed_sync", - "title": "recommender MarkRecommendationFailed Sample", - "description": "MarkRecommendationFailed marks the Recommendation State as Failed. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation failed. This stops the recommendation content\nfrom being updated. Associated insights are frozen and placed in the\nACCEPTED state.\n\nMarkRecommendationFailed can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationFailed/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationFailed", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.MarkRecommendationFailed", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationFailed", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationFailed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationFailedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationFailedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "MarkRecommendationFailed", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationFailed", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "MarkRecommendationFailed" }, + "description": "MarkRecommendationFailed marks the Recommendation State as Failed. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation failed. This stops the recommendation content\nfrom being updated. Associated insights are frozen and placed in the\nACCEPTED state.\n\nMarkRecommendationFailed can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationFailed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationFailed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationFailed Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationSucceeded_sync", - "title": "recommender MarkRecommendationSucceeded Sample", - "description": "MarkRecommendationSucceeded marks the Recommendation State as Succeeded. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation was successful. This stops the recommendation\ncontent from being updated. Associated insights are frozen and placed in\nthe ACCEPTED state.\n\nMarkRecommendationSucceeded can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationSucceeded/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationSucceeded", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.MarkRecommendationSucceeded", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationSucceeded", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationSucceeded" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationSucceededRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationSucceededRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "MarkRecommendationSucceeded", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationSucceeded", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "MarkRecommendationSucceeded" }, + "description": "MarkRecommendationSucceeded marks the Recommendation State as Succeeded. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation was successful. This stops the recommendation\ncontent from being updated. Associated insights are frozen and placed in\nthe ACCEPTED state.\n\nMarkRecommendationSucceeded can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationSucceeded/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_MarkRecommendationSucceeded_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationSucceeded Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_UpdateInsightTypeConfig_sync", - "title": "recommender UpdateInsightTypeConfig Sample", - "description": "UpdateInsightTypeConfig updates an InsightTypeConfig change. This will create a new revision of the\nconfig.", - "file": "Client/UpdateInsightTypeConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInsightTypeConfig", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.UpdateInsightTypeConfig", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.UpdateInsightTypeConfig", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "UpdateInsightTypeConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.UpdateInsightTypeConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.UpdateInsightTypeConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.InsightTypeConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "UpdateInsightTypeConfig", - "fullName": "google.cloud.recommender.v1.Recommender.UpdateInsightTypeConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "UpdateInsightTypeConfig" }, + "description": "UpdateInsightTypeConfig updates an InsightTypeConfig change. This will create a new revision of the\nconfig.", + "file": "Client/UpdateInsightTypeConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_UpdateInsightTypeConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender UpdateInsightTypeConfig Sample" }, { - "regionTag": "recommender_v1_generated_Recommender_UpdateRecommenderConfig_sync", - "title": "recommender UpdateRecommenderConfig Sample", - "description": "UpdateRecommenderConfig updates a Recommender Config. This will create a new revision of the\nconfig.", - "file": "Client/UpdateRecommenderConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRecommenderConfig", + "client": { + "fullName": "google.cloud.recommender.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1.Client.UpdateRecommenderConfig", + "method": { + "fullName": "google.cloud.recommender.v1.Recommender.UpdateRecommenderConfig", + "service": { + "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "Recommender" + }, + "shortName": "UpdateRecommenderConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.UpdateRecommenderConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.UpdateRecommenderConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.RecommenderConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1.Client" - }, - "method": { - "shortName": "UpdateRecommenderConfig", - "fullName": "google.cloud.recommender.v1.Recommender.UpdateRecommenderConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender" - } - } + "shortName": "UpdateRecommenderConfig" }, + "description": "UpdateRecommenderConfig updates a Recommender Config. This will create a new revision of the\nconfig.", + "file": "Client/UpdateRecommenderConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1_generated_Recommender_UpdateRecommenderConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender UpdateRecommenderConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json b/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json index 19b3a3e4a6ee..f8cabc6b29b1 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json +++ b/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/recommender/apiv1beta1", - "version": "1.13.6", - "language": "GO", "apis": [ { "id": "google.cloud.recommender.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/recommender/apiv1beta1", + "version": "1.13.6" }, "snippets": [ { - "regionTag": "recommender_v1beta1_generated_Recommender_GetInsight_sync", - "title": "recommender GetInsight Sample", - "description": "GetInsight gets the requested insight. Requires the recommender.*.get IAM permission\nfor the specified insight type.", - "file": "Client/GetInsight/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInsight", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.GetInsight", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsight", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetInsight" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetInsightRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetInsightRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Insight", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "GetInsight", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsight", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "GetInsight" }, + "description": "GetInsight gets the requested insight. Requires the recommender.*.get IAM permission\nfor the specified insight type.", + "file": "Client/GetInsight/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_GetInsight_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetInsight Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_GetInsightTypeConfig_sync", - "title": "recommender GetInsightTypeConfig Sample", - "description": "GetInsightTypeConfig gets the requested InsightTypeConfig. There is only one instance of the\nconfig for each InsightType.", - "file": "Client/GetInsightTypeConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInsightTypeConfig", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.GetInsightTypeConfig", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsightTypeConfig", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetInsightTypeConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetInsightTypeConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetInsightTypeConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.InsightTypeConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "GetInsightTypeConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsightTypeConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "GetInsightTypeConfig" }, + "description": "GetInsightTypeConfig gets the requested InsightTypeConfig. There is only one instance of the\nconfig for each InsightType.", + "file": "Client/GetInsightTypeConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_GetInsightTypeConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetInsightTypeConfig Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_GetRecommendation_sync", - "title": "recommender GetRecommendation Sample", - "description": "GetRecommendation gets the requested recommendation. Requires the recommender.*.get\nIAM permission for the specified recommender.", - "file": "Client/GetRecommendation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecommendation", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.GetRecommendation", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommendation", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetRecommendation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetRecommendationRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetRecommendationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "GetRecommendation", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommendation", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "GetRecommendation" }, + "description": "GetRecommendation gets the requested recommendation. Requires the recommender.*.get\nIAM permission for the specified recommender.", + "file": "Client/GetRecommendation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_GetRecommendation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetRecommendation Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_GetRecommenderConfig_sync", - "title": "recommender GetRecommenderConfig Sample", - "description": "GetRecommenderConfig gets the requested Recommender Config. There is only one instance of the\nconfig for each Recommender.", - "file": "Client/GetRecommenderConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecommenderConfig", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.GetRecommenderConfig", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommenderConfig", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "GetRecommenderConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.GetRecommenderConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.GetRecommenderConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.RecommenderConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "GetRecommenderConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommenderConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "GetRecommenderConfig" }, + "description": "GetRecommenderConfig gets the requested Recommender Config. There is only one instance of the\nconfig for each Recommender.", + "file": "Client/GetRecommenderConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_GetRecommenderConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender GetRecommenderConfig Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_ListInsightTypes_sync", - "title": "recommender ListInsightTypes Sample", - "description": "ListInsightTypes lists available InsightTypes.\nNo IAM permissions are required.", - "file": "Client/ListInsightTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInsightTypes", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.ListInsightTypes", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsightTypes", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "ListInsightTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.ListInsightTypesRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.ListInsightTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InsightTypeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "ListInsightTypes", - "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsightTypes", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "ListInsightTypes" }, + "description": "ListInsightTypes lists available InsightTypes.\nNo IAM permissions are required.", + "file": "Client/ListInsightTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_ListInsightTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender ListInsightTypes Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_ListInsights_sync", - "title": "recommender ListInsights Sample", - "description": "ListInsights lists insights for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified insight type.", - "file": "Client/ListInsights/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInsights", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.ListInsights", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsights", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "ListInsights" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.ListInsightsRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.ListInsightsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InsightIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "ListInsights", - "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsights", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "ListInsights" }, + "description": "ListInsights lists insights for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified insight type.", + "file": "Client/ListInsights/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_ListInsights_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender ListInsights Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_ListRecommendations_sync", - "title": "recommender ListRecommendations Sample", - "description": "ListRecommendations lists recommendations for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified recommender.", - "file": "Client/ListRecommendations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRecommendations", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.ListRecommendations", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommendations", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "ListRecommendations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.ListRecommendationsRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.ListRecommendationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecommendationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "ListRecommendations", - "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommendations", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "ListRecommendations" }, + "description": "ListRecommendations lists recommendations for the specified Cloud Resource. Requires the\nrecommender.*.list IAM permission for the specified recommender.", + "file": "Client/ListRecommendations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_ListRecommendations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender ListRecommendations Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_ListRecommenders_sync", - "title": "recommender ListRecommenders Sample", - "description": "ListRecommenders lists all available Recommenders.\nNo IAM permissions are required.", - "file": "Client/ListRecommenders/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRecommenders", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.ListRecommenders", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommenders", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "ListRecommenders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.ListRecommendersRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.ListRecommendersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecommenderTypeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "ListRecommenders", - "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommenders", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "ListRecommenders" }, + "description": "ListRecommenders lists all available Recommenders.\nNo IAM permissions are required.", + "file": "Client/ListRecommenders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_ListRecommenders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender ListRecommenders Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_MarkInsightAccepted_sync", - "title": "recommender MarkInsightAccepted Sample", - "description": "MarkInsightAccepted marks the Insight State as Accepted. Users can use this method to\nindicate to the Recommender API that they have applied some action based\non the insight. This stops the insight content from being updated.\n\nMarkInsightAccepted can be applied to insights in ACTIVE state. Requires\nthe recommender.*.update IAM permission for the specified insight.", - "file": "Client/MarkInsightAccepted/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkInsightAccepted", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.MarkInsightAccepted", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkInsightAccepted", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkInsightAccepted" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkInsightAcceptedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkInsightAcceptedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Insight", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "MarkInsightAccepted", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkInsightAccepted", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "MarkInsightAccepted" }, + "description": "MarkInsightAccepted marks the Insight State as Accepted. Users can use this method to\nindicate to the Recommender API that they have applied some action based\non the insight. This stops the insight content from being updated.\n\nMarkInsightAccepted can be applied to insights in ACTIVE state. Requires\nthe recommender.*.update IAM permission for the specified insight.", + "file": "Client/MarkInsightAccepted/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_MarkInsightAccepted_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkInsightAccepted Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_MarkRecommendationClaimed_sync", - "title": "recommender MarkRecommendationClaimed Sample", - "description": "MarkRecommendationClaimed marks the Recommendation State as Claimed. Users can use this method to\nindicate to the Recommender API that they are starting to apply the\nrecommendation themselves. This stops the recommendation content from being\nupdated. Associated insights are frozen and placed in the ACCEPTED state.\n\nMarkRecommendationClaimed can be applied to recommendations in CLAIMED or\nACTIVE state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationClaimed/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationClaimed", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.MarkRecommendationClaimed", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationClaimed", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationClaimed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationClaimedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationClaimedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "MarkRecommendationClaimed", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationClaimed", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "MarkRecommendationClaimed" }, + "description": "MarkRecommendationClaimed marks the Recommendation State as Claimed. Users can use this method to\nindicate to the Recommender API that they are starting to apply the\nrecommendation themselves. This stops the recommendation content from being\nupdated. Associated insights are frozen and placed in the ACCEPTED state.\n\nMarkRecommendationClaimed can be applied to recommendations in CLAIMED or\nACTIVE state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationClaimed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_MarkRecommendationClaimed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationClaimed Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_MarkRecommendationFailed_sync", - "title": "recommender MarkRecommendationFailed Sample", - "description": "MarkRecommendationFailed marks the Recommendation State as Failed. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation failed. This stops the recommendation content\nfrom being updated. Associated insights are frozen and placed in the\nACCEPTED state.\n\nMarkRecommendationFailed can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationFailed/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationFailed", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.MarkRecommendationFailed", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationFailed", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationFailed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationFailedRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationFailedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "MarkRecommendationFailed", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationFailed", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "MarkRecommendationFailed" }, + "description": "MarkRecommendationFailed marks the Recommendation State as Failed. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation failed. This stops the recommendation content\nfrom being updated. Associated insights are frozen and placed in the\nACCEPTED state.\n\nMarkRecommendationFailed can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationFailed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_MarkRecommendationFailed_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationFailed Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_MarkRecommendationSucceeded_sync", - "title": "recommender MarkRecommendationSucceeded Sample", - "description": "MarkRecommendationSucceeded marks the Recommendation State as Succeeded. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation was successful. This stops the recommendation\ncontent from being updated. Associated insights are frozen and placed in\nthe ACCEPTED state.\n\nMarkRecommendationSucceeded can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", - "file": "Client/MarkRecommendationSucceeded/main.go", - "language": "GO", "clientMethod": { - "shortName": "MarkRecommendationSucceeded", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.MarkRecommendationSucceeded", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationSucceeded", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "MarkRecommendationSucceeded" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.MarkRecommendationSucceededRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.MarkRecommendationSucceededRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.Recommendation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "MarkRecommendationSucceeded", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationSucceeded", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "MarkRecommendationSucceeded" }, + "description": "MarkRecommendationSucceeded marks the Recommendation State as Succeeded. Users can use this method to\nindicate to the Recommender API that they have applied the recommendation\nthemselves, and the operation was successful. This stops the recommendation\ncontent from being updated. Associated insights are frozen and placed in\nthe ACCEPTED state.\n\nMarkRecommendationSucceeded can be applied to recommendations in ACTIVE,\nCLAIMED, SUCCEEDED, or FAILED state.\n\nRequires the recommender.*.update IAM permission for the specified\nrecommender.", + "file": "Client/MarkRecommendationSucceeded/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_MarkRecommendationSucceeded_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender MarkRecommendationSucceeded Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_UpdateInsightTypeConfig_sync", - "title": "recommender UpdateInsightTypeConfig Sample", - "description": "UpdateInsightTypeConfig updates an InsightTypeConfig change. This will create a new revision of the\nconfig.", - "file": "Client/UpdateInsightTypeConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInsightTypeConfig", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.UpdateInsightTypeConfig", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateInsightTypeConfig", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "UpdateInsightTypeConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.UpdateInsightTypeConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.UpdateInsightTypeConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.InsightTypeConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "UpdateInsightTypeConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateInsightTypeConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "UpdateInsightTypeConfig" }, + "description": "UpdateInsightTypeConfig updates an InsightTypeConfig change. This will create a new revision of the\nconfig.", + "file": "Client/UpdateInsightTypeConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_UpdateInsightTypeConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender UpdateInsightTypeConfig Sample" }, { - "regionTag": "recommender_v1beta1_generated_Recommender_UpdateRecommenderConfig_sync", - "title": "recommender UpdateRecommenderConfig Sample", - "description": "UpdateRecommenderConfig updates a Recommender Config. This will create a new revision of the\nconfig.", - "file": "Client/UpdateRecommenderConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRecommenderConfig", + "client": { + "fullName": "google.cloud.recommender.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.recommender.v1beta1.Client.UpdateRecommenderConfig", + "method": { + "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateRecommenderConfig", + "service": { + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "Recommender" + }, + "shortName": "UpdateRecommenderConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "recommenderpb.UpdateRecommenderConfigRequest", - "name": "req" + "name": "req", + "type": "recommenderpb.UpdateRecommenderConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*recommenderpb.RecommenderConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.recommender.v1beta1.Client" - }, - "method": { - "shortName": "UpdateRecommenderConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateRecommenderConfig", - "service": { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender" - } - } + "shortName": "UpdateRecommenderConfig" }, + "description": "UpdateRecommenderConfig updates a Recommender Config. This will create a new revision of the\nconfig.", + "file": "Client/UpdateRecommenderConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "recommender_v1beta1_generated_Recommender_UpdateRecommenderConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "recommender UpdateRecommenderConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json b/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json index 82f769135194..2a4724b0a32b 100644 --- a/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json +++ b/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json @@ -1,795 +1,795 @@ { "clientLibrary": { - "name": "cloud.google.com/go/redis/apiv1", - "version": "1.18.3", - "language": "GO", "apis": [ { "id": "google.cloud.redis.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/redis/apiv1", + "version": "1.18.3" }, "snippets": [ { - "regionTag": "redis_v1_generated_CloudRedis_CancelOperation_sync", - "title": "redis CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis CancelOperation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_CreateInstance_sync", - "title": "redis CreateInstance Sample", - "description": "CreateInstance creates a Redis instance based on the specified tier and memory size.\n\nBy default, the instance is accessible from the project's\n[default network](https: //cloud.google.com/vpc/docs/vpc).\n\nThe creation is executed asynchronously and callers may check the returned\noperation to track its progress. Once the operation is completed the Redis\ninstance will be fully functional. Completed longrunning.Operation will\ncontain the new instance object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there\nis no need to call DeleteOperation.", - "file": "CloudRedisClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.CreateInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.CreateInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.CreateInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a Redis instance based on the specified tier and memory size.\n\nBy default, the instance is accessible from the project's\n[default network](https: //cloud.google.com/vpc/docs/vpc).\n\nThe creation is executed asynchronously and callers may check the returned\noperation to track its progress. Once the operation is completed the Redis\ninstance will be fully functional. Completed longrunning.Operation will\ncontain the new instance object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there\nis no need to call DeleteOperation.", + "file": "CloudRedisClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis CreateInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_DeleteInstance_sync", - "title": "redis DeleteInstance Sample", - "description": "DeleteInstance deletes a specific Redis instance. Instance stops serving and data is\ndeleted.", - "file": "CloudRedisClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.DeleteInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.DeleteInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.DeleteInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a specific Redis instance. Instance stops serving and data is\ndeleted.", + "file": "CloudRedisClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis DeleteInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_DeleteOperation_sync", - "title": "redis DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis DeleteOperation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_ExportInstance_sync", - "title": "redis ExportInstance Sample", - "description": "ExportInstance export Redis instance data into a Redis RDB format file in Cloud Storage.\n\nRedis will continue serving during this operation.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", - "file": "CloudRedisClient/ExportInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.ExportInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.ExportInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "ExportInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.ExportInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.ExportInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "ExportInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.ExportInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "ExportInstance" }, + "description": "ExportInstance export Redis instance data into a Redis RDB format file in Cloud Storage.\n\nRedis will continue serving during this operation.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", + "file": "CloudRedisClient/ExportInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_ExportInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ExportInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_FailoverInstance_sync", - "title": "redis FailoverInstance Sample", - "description": "FailoverInstance initiates a failover of the primary node to current replica node for a\nspecific STANDARD tier Cloud Memorystore for Redis instance.", - "file": "CloudRedisClient/FailoverInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.FailoverInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.FailoverInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "FailoverInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.FailoverInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.FailoverInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FailoverInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "FailoverInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.FailoverInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "FailoverInstance" }, + "description": "FailoverInstance initiates a failover of the primary node to current replica node for a\nspecific STANDARD tier Cloud Memorystore for Redis instance.", + "file": "CloudRedisClient/FailoverInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_FailoverInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis FailoverInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_GetInstance_sync", - "title": "redis GetInstance Sample", - "description": "GetInstance gets the details of a specific Redis instance.", - "file": "CloudRedisClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.GetInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.GetInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*redispb.Instance", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.GetInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets the details of a specific Redis instance.", + "file": "CloudRedisClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_GetInstanceAuthString_sync", - "title": "redis GetInstanceAuthString Sample", - "description": "GetInstanceAuthString gets the AUTH string for a Redis instance. If AUTH is not enabled for the\ninstance the response will be empty. This information is not included in\nthe details returned to GetInstance.", - "file": "CloudRedisClient/GetInstanceAuthString/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstanceAuthString", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.GetInstanceAuthString", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.GetInstanceAuthString", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "GetInstanceAuthString" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.GetInstanceAuthStringRequest", - "name": "req" + "name": "req", + "type": "redispb.GetInstanceAuthStringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*redispb.InstanceAuthString", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "GetInstanceAuthString", - "fullName": "google.cloud.redis.v1.CloudRedis.GetInstanceAuthString", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "GetInstanceAuthString" }, + "description": "GetInstanceAuthString gets the AUTH string for a Redis instance. If AUTH is not enabled for the\ninstance the response will be empty. This information is not included in\nthe details returned to GetInstance.", + "file": "CloudRedisClient/GetInstanceAuthString/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_GetInstanceAuthString_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetInstanceAuthString Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_GetLocation_sync", - "title": "redis GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudRedisClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudRedisClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetLocation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_GetOperation_sync", - "title": "redis GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetOperation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_ImportInstance_sync", - "title": "redis ImportInstance Sample", - "description": "ImportInstance import a Redis RDB snapshot file from Cloud Storage into a Redis instance.\n\nRedis may stop serving during this operation. Instance state will be\nIMPORTING for entire operation. When complete, the instance will contain\nonly data from the imported file.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", - "file": "CloudRedisClient/ImportInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.ImportInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.ImportInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "ImportInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.ImportInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.ImportInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "ImportInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.ImportInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "ImportInstance" }, + "description": "ImportInstance import a Redis RDB snapshot file from Cloud Storage into a Redis instance.\n\nRedis may stop serving during this operation. Instance state will be\nIMPORTING for entire operation. When complete, the instance will contain\nonly data from the imported file.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", + "file": "CloudRedisClient/ImportInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_ImportInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ImportInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_ListInstances_sync", - "title": "redis ListInstances Sample", - "description": "ListInstances lists all Redis instances owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format: \n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", - "file": "CloudRedisClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.ListInstances", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.ListInstances", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "redispb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.redis.v1.CloudRedis.ListInstances", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists all Redis instances owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format: \n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", + "file": "CloudRedisClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListInstances Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_ListLocations_sync", - "title": "redis ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudRedisClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudRedisClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListLocations Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_ListOperations_sync", - "title": "redis ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListOperations Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_RescheduleMaintenance_sync", - "title": "redis RescheduleMaintenance Sample", - "description": "RescheduleMaintenance reschedule maintenance for a given instance in a given project and\nlocation.", - "file": "CloudRedisClient/RescheduleMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RescheduleMaintenance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.RescheduleMaintenance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.RescheduleMaintenance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "RescheduleMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.RescheduleMaintenanceRequest", - "name": "req" + "name": "req", + "type": "redispb.RescheduleMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RescheduleMaintenanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.redis.v1.CloudRedis.RescheduleMaintenance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "RescheduleMaintenance" }, + "description": "RescheduleMaintenance reschedule maintenance for a given instance in a given project and\nlocation.", + "file": "CloudRedisClient/RescheduleMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_RescheduleMaintenance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis RescheduleMaintenance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_UpdateInstance_sync", - "title": "redis UpdateInstance Sample", - "description": "UpdateInstance updates the metadata and configuration of a specific Redis instance.\n\nCompleted longrunning.Operation will contain the new instance object\nin the response field. The returned operation is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.", - "file": "CloudRedisClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.UpdateInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.UpdateInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.UpdateInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the metadata and configuration of a specific Redis instance.\n\nCompleted longrunning.Operation will contain the new instance object\nin the response field. The returned operation is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.", + "file": "CloudRedisClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis UpdateInstance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedis_UpgradeInstance_sync", - "title": "redis UpgradeInstance Sample", - "description": "UpgradeInstance upgrades Redis instance to the newer Redis version specified in the\nrequest.", - "file": "CloudRedisClient/UpgradeInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstance", + "client": { + "fullName": "google.cloud.redis.v1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1.CloudRedisClient.UpgradeInstance", + "method": { + "fullName": "google.cloud.redis.v1.CloudRedis.UpgradeInstance", + "service": { + "fullName": "google.cloud.redis.v1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "UpgradeInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.UpgradeInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.UpgradeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1.CloudRedisClient" - }, - "method": { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.UpgradeInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis" - } - } + "shortName": "UpgradeInstance" }, + "description": "UpgradeInstance upgrades Redis instance to the newer Redis version specified in the\nrequest.", + "file": "CloudRedisClient/UpgradeInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedis_UpgradeInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis UpgradeInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json b/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json index fe391472588b..e4cd37ed473f 100644 --- a/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json +++ b/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json @@ -1,521 +1,521 @@ { "clientLibrary": { - "name": "cloud.google.com/go/redis/apiv1beta1", - "version": "1.18.3", - "language": "GO", "apis": [ { "id": "google.cloud.redis.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/redis/apiv1beta1", + "version": "1.18.3" }, "snippets": [ { - "regionTag": "redis_v1beta1_generated_CloudRedis_CreateInstance_sync", - "title": "redis CreateInstance Sample", - "description": "CreateInstance creates a Redis instance based on the specified tier and memory size.\n\nBy default, the instance is accessible from the project's\n[default network](https: //cloud.google.com/vpc/docs/vpc).\n\nThe creation is executed asynchronously and callers may check the returned\noperation to track its progress. Once the operation is completed the Redis\ninstance will be fully functional. The completed longrunning.Operation will\ncontain the new instance object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there\nis no need to call DeleteOperation.", - "file": "CloudRedisClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.CreateInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.CreateInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.CreateInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a Redis instance based on the specified tier and memory size.\n\nBy default, the instance is accessible from the project's\n[default network](https: //cloud.google.com/vpc/docs/vpc).\n\nThe creation is executed asynchronously and callers may check the returned\noperation to track its progress. Once the operation is completed the Redis\ninstance will be fully functional. The completed longrunning.Operation will\ncontain the new instance object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there\nis no need to call DeleteOperation.", + "file": "CloudRedisClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis CreateInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_DeleteInstance_sync", - "title": "redis DeleteInstance Sample", - "description": "DeleteInstance deletes a specific Redis instance. Instance stops serving and data is\ndeleted.", - "file": "CloudRedisClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.DeleteInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.DeleteInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.DeleteInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a specific Redis instance. Instance stops serving and data is\ndeleted.", + "file": "CloudRedisClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis DeleteInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_ExportInstance_sync", - "title": "redis ExportInstance Sample", - "description": "ExportInstance export Redis instance data into a Redis RDB format file in Cloud Storage.\n\nRedis will continue serving during this operation.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", - "file": "CloudRedisClient/ExportInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.ExportInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.ExportInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "ExportInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.ExportInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.ExportInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "ExportInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.ExportInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "ExportInstance" }, + "description": "ExportInstance export Redis instance data into a Redis RDB format file in Cloud Storage.\n\nRedis will continue serving during this operation.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", + "file": "CloudRedisClient/ExportInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_ExportInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ExportInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_FailoverInstance_sync", - "title": "redis FailoverInstance Sample", - "description": "FailoverInstance initiates a failover of the primary node to current replica node for a\nspecific STANDARD tier Cloud Memorystore for Redis instance.", - "file": "CloudRedisClient/FailoverInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "FailoverInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.FailoverInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.FailoverInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "FailoverInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.FailoverInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.FailoverInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FailoverInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "FailoverInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.FailoverInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "FailoverInstance" }, + "description": "FailoverInstance initiates a failover of the primary node to current replica node for a\nspecific STANDARD tier Cloud Memorystore for Redis instance.", + "file": "CloudRedisClient/FailoverInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_FailoverInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis FailoverInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_GetInstance_sync", - "title": "redis GetInstance Sample", - "description": "GetInstance gets the details of a specific Redis instance.", - "file": "CloudRedisClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.GetInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*redispb.Instance", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets the details of a specific Redis instance.", + "file": "CloudRedisClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_sync", - "title": "redis GetInstanceAuthString Sample", - "description": "GetInstanceAuthString gets the AUTH string for a Redis instance. If AUTH is not enabled for the\ninstance the response will be empty. This information is not included in\nthe details returned to GetInstance.", - "file": "CloudRedisClient/GetInstanceAuthString/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstanceAuthString", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.GetInstanceAuthString", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstanceAuthString", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "GetInstanceAuthString" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.GetInstanceAuthStringRequest", - "name": "req" + "name": "req", + "type": "redispb.GetInstanceAuthStringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*redispb.InstanceAuthString", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "GetInstanceAuthString", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstanceAuthString", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "GetInstanceAuthString" }, + "description": "GetInstanceAuthString gets the AUTH string for a Redis instance. If AUTH is not enabled for the\ninstance the response will be empty. This information is not included in\nthe details returned to GetInstance.", + "file": "CloudRedisClient/GetInstanceAuthString/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_GetInstanceAuthString_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetInstanceAuthString Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_ImportInstance_sync", - "title": "redis ImportInstance Sample", - "description": "ImportInstance import a Redis RDB snapshot file from Cloud Storage into a Redis instance.\n\nRedis may stop serving during this operation. Instance state will be\nIMPORTING for entire operation. When complete, the instance will contain\nonly data from the imported file.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", - "file": "CloudRedisClient/ImportInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.ImportInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.ImportInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "ImportInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.ImportInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.ImportInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "ImportInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.ImportInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "ImportInstance" }, + "description": "ImportInstance import a Redis RDB snapshot file from Cloud Storage into a Redis instance.\n\nRedis may stop serving during this operation. Instance state will be\nIMPORTING for entire operation. When complete, the instance will contain\nonly data from the imported file.\n\nThe returned operation is automatically deleted after a few hours, so\nthere is no need to call DeleteOperation.", + "file": "CloudRedisClient/ImportInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_ImportInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ImportInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_ListInstances_sync", - "title": "redis ListInstances Sample", - "description": "ListInstances lists all Redis instances owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format: \n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", - "file": "CloudRedisClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.ListInstances", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.ListInstances", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "redispb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.ListInstances", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists all Redis instances owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format: \n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", + "file": "CloudRedisClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListInstances Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_sync", - "title": "redis RescheduleMaintenance Sample", - "description": "RescheduleMaintenance reschedule maintenance for a given instance in a given project and\nlocation.", - "file": "CloudRedisClient/RescheduleMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RescheduleMaintenance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.RescheduleMaintenance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.RescheduleMaintenance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "RescheduleMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.RescheduleMaintenanceRequest", - "name": "req" + "name": "req", + "type": "redispb.RescheduleMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RescheduleMaintenanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.RescheduleMaintenance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "RescheduleMaintenance" }, + "description": "RescheduleMaintenance reschedule maintenance for a given instance in a given project and\nlocation.", + "file": "CloudRedisClient/RescheduleMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_RescheduleMaintenance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis RescheduleMaintenance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_UpdateInstance_sync", - "title": "redis UpdateInstance Sample", - "description": "UpdateInstance updates the metadata and configuration of a specific Redis instance.\n\nCompleted longrunning.Operation will contain the new instance object\nin the response field. The returned operation is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.", - "file": "CloudRedisClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.UpdateInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpdateInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpdateInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates the metadata and configuration of a specific Redis instance.\n\nCompleted longrunning.Operation will contain the new instance object\nin the response field. The returned operation is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.", + "file": "CloudRedisClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis UpdateInstance Sample" }, { - "regionTag": "redis_v1beta1_generated_CloudRedis_UpgradeInstance_sync", - "title": "redis UpgradeInstance Sample", - "description": "UpgradeInstance upgrades Redis instance to the newer Redis version specified in the\nrequest.", - "file": "CloudRedisClient/UpgradeInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeInstance", + "client": { + "fullName": "google.cloud.redis.v1beta1.CloudRedisClient", + "shortName": "CloudRedisClient" + }, "fullName": "google.cloud.redis.v1beta1.CloudRedisClient.UpgradeInstance", + "method": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance", + "service": { + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "shortName": "CloudRedis" + }, + "shortName": "UpgradeInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "redispb.UpgradeInstanceRequest", - "name": "req" + "name": "req", + "type": "redispb.UpgradeInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeInstanceOperation", - "client": { - "shortName": "CloudRedisClient", - "fullName": "google.cloud.redis.v1beta1.CloudRedisClient" - }, - "method": { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance", - "service": { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis" - } - } + "shortName": "UpgradeInstance" }, + "description": "UpgradeInstance upgrades Redis instance to the newer Redis version specified in the\nrequest.", + "file": "CloudRedisClient/UpgradeInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1beta1_generated_CloudRedis_UpgradeInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis UpgradeInstance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json b/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json index c2fe3ca5d616..eee2acb57266 100644 --- a/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json +++ b/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json @@ -1,933 +1,933 @@ { "clientLibrary": { - "name": "cloud.google.com/go/redis/cluster/apiv1", - "version": "1.18.3", - "language": "GO", "apis": [ { "id": "google.cloud.redis.cluster.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/redis/cluster/apiv1", + "version": "1.18.3" }, "snippets": [ { - "regionTag": "redis_v1_generated_CloudRedisCluster_BackupCluster_sync", - "title": "redis BackupCluster Sample", - "description": "BackupCluster backup Redis Cluster.\nIf this is the first time a backup is being created, a backup collection\nwill be created at the backend, and this backup belongs to this collection.\nBoth collection and backup will have a resource name. Backup will be\nexecuted for each shard. A replica (primary if nonHA) will be selected to\nperform the execution. Backup call will be rejected if there is an ongoing\nbackup or update operation. Be aware that during preview, if the cluster's\ninternal software version is too old, critical update will be performed\nbefore actual backup. Once the internal software version is updated to the\nminimum version required by the backup feature, subsequent backups will not\nrequire critical update. After preview, there will be no critical update\nneeded for backup.", - "file": "CloudRedisClusterClient/BackupCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "BackupCluster", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.BackupCluster", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.BackupCluster", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "BackupCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.BackupClusterRequest", - "name": "req" + "name": "req", + "type": "clusterpb.BackupClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupClusterOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "BackupCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.BackupCluster", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "BackupCluster" }, + "description": "BackupCluster backup Redis Cluster.\nIf this is the first time a backup is being created, a backup collection\nwill be created at the backend, and this backup belongs to this collection.\nBoth collection and backup will have a resource name. Backup will be\nexecuted for each shard. A replica (primary if nonHA) will be selected to\nperform the execution. Backup call will be rejected if there is an ongoing\nbackup or update operation. Be aware that during preview, if the cluster's\ninternal software version is too old, critical update will be performed\nbefore actual backup. Once the internal software version is updated to the\nminimum version required by the backup feature, subsequent backups will not\nrequire critical update. After preview, there will be no critical update\nneeded for backup.", + "file": "CloudRedisClusterClient/BackupCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_BackupCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis BackupCluster Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_CancelOperation_sync", - "title": "redis CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClusterClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClusterClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis CancelOperation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_CreateCluster_sync", - "title": "redis CreateCluster Sample", - "description": "CreateCluster creates a Redis cluster based on the specified properties.\nThe creation is executed asynchronously and callers may check the returned\noperation to track its progress. Once the operation is completed the Redis\ncluster will be fully functional. The completed longrunning.Operation will\ncontain the new cluster object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there\nis no need to call DeleteOperation.", - "file": "CloudRedisClusterClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.CreateCluster", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.CreateCluster", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "clusterpb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.CreateCluster", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a Redis cluster based on the specified properties.\nThe creation is executed asynchronously and callers may check the returned\noperation to track its progress. Once the operation is completed the Redis\ncluster will be fully functional. The completed longrunning.Operation will\ncontain the new cluster object in the response field.\n\nThe returned operation is automatically deleted after a few hours, so there\nis no need to call DeleteOperation.", + "file": "CloudRedisClusterClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis CreateCluster Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_DeleteBackup_sync", - "title": "redis DeleteBackup Sample", - "description": "DeleteBackup deletes a specific backup.", - "file": "CloudRedisClusterClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.DeleteBackup", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.DeleteBackup", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "clusterpb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBackupOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.DeleteBackup", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a specific backup.", + "file": "CloudRedisClusterClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis DeleteBackup Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_DeleteCluster_sync", - "title": "redis DeleteCluster Sample", - "description": "DeleteCluster deletes a specific Redis cluster. Cluster stops serving and data is\ndeleted.", - "file": "CloudRedisClusterClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.DeleteCluster", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.DeleteCluster", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "clusterpb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.DeleteCluster", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a specific Redis cluster. Cluster stops serving and data is\ndeleted.", + "file": "CloudRedisClusterClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis DeleteCluster Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_DeleteOperation_sync", - "title": "redis DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClusterClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClusterClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis DeleteOperation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_ExportBackup_sync", - "title": "redis ExportBackup Sample", - "description": "ExportBackup exports a specific backup to a customer target Cloud Storage URI.", - "file": "CloudRedisClusterClient/ExportBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportBackup", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.ExportBackup", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ExportBackup", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "ExportBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.ExportBackupRequest", - "name": "req" + "name": "req", + "type": "clusterpb.ExportBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportBackupOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "ExportBackup", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ExportBackup", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "ExportBackup" }, + "description": "ExportBackup exports a specific backup to a customer target Cloud Storage URI.", + "file": "CloudRedisClusterClient/ExportBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_ExportBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ExportBackup Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_GetBackup_sync", - "title": "redis GetBackup Sample", - "description": "GetBackup gets the details of a specific backup.", - "file": "CloudRedisClusterClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.GetBackup", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetBackup", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "clusterpb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clusterpb.Backup", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetBackup", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets the details of a specific backup.", + "file": "CloudRedisClusterClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetBackup Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_GetBackupCollection_sync", - "title": "redis GetBackupCollection Sample", - "description": "GetBackupCollection get a backup collection.", - "file": "CloudRedisClusterClient/GetBackupCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupCollection", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.GetBackupCollection", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetBackupCollection", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "GetBackupCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.GetBackupCollectionRequest", - "name": "req" + "name": "req", + "type": "clusterpb.GetBackupCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clusterpb.BackupCollection", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "GetBackupCollection", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetBackupCollection", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "GetBackupCollection" }, + "description": "GetBackupCollection get a backup collection.", + "file": "CloudRedisClusterClient/GetBackupCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_GetBackupCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetBackupCollection Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_GetCluster_sync", - "title": "redis GetCluster Sample", - "description": "GetCluster gets the details of a specific Redis cluster.", - "file": "CloudRedisClusterClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.GetCluster", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetCluster", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "clusterpb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clusterpb.Cluster", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetCluster", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets the details of a specific Redis cluster.", + "file": "CloudRedisClusterClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetCluster Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_GetClusterCertificateAuthority_sync", - "title": "redis GetClusterCertificateAuthority Sample", - "description": "GetClusterCertificateAuthority gets the details of certificate authority information for Redis cluster.", - "file": "CloudRedisClusterClient/GetClusterCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetClusterCertificateAuthority", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.GetClusterCertificateAuthority", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetClusterCertificateAuthority", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "GetClusterCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.GetClusterCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "clusterpb.GetClusterCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*clusterpb.CertificateAuthority", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "GetClusterCertificateAuthority", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetClusterCertificateAuthority", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "GetClusterCertificateAuthority" }, + "description": "GetClusterCertificateAuthority gets the details of certificate authority information for Redis cluster.", + "file": "CloudRedisClusterClient/GetClusterCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_GetClusterCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetClusterCertificateAuthority Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_GetLocation_sync", - "title": "redis GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudRedisClusterClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudRedisClusterClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetLocation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_GetOperation_sync", - "title": "redis GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClusterClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClusterClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis GetOperation Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_ListBackupCollections_sync", - "title": "redis ListBackupCollections Sample", - "description": "ListBackupCollections lists all backup collections owned by a consumer project in either the\nspecified location (region) or all locations.\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", - "file": "CloudRedisClusterClient/ListBackupCollections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupCollections", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.ListBackupCollections", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListBackupCollections", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "ListBackupCollections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.ListBackupCollectionsRequest", - "name": "req" + "name": "req", + "type": "clusterpb.ListBackupCollectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupCollectionIterator", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "ListBackupCollections", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListBackupCollections", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "ListBackupCollections" }, + "description": "ListBackupCollections lists all backup collections owned by a consumer project in either the\nspecified location (region) or all locations.\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", + "file": "CloudRedisClusterClient/ListBackupCollections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_ListBackupCollections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListBackupCollections Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_ListBackups_sync", - "title": "redis ListBackups Sample", - "description": "ListBackups lists all backups owned by a backup collection.", - "file": "CloudRedisClusterClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.ListBackups", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListBackups", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "clusterpb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListBackups", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists all backups owned by a backup collection.", + "file": "CloudRedisClusterClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListBackups Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_ListClusters_sync", - "title": "redis ListClusters Sample", - "description": "ListClusters lists all Redis clusters owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format: \n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", - "file": "CloudRedisClusterClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.ListClusters", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListClusters", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "clusterpb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListClusters", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists all Redis clusters owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format: \n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.", + "file": "CloudRedisClusterClient/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListClusters Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_ListLocations_sync", - "title": "redis ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudRedisClusterClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudRedisClusterClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListLocations Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_ListOperations_sync", - "title": "redis ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CloudRedisClusterClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CloudRedisClusterClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis ListOperations Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_RescheduleClusterMaintenance_sync", - "title": "redis RescheduleClusterMaintenance Sample", - "description": "RescheduleClusterMaintenance reschedules upcoming maintenance event.", - "file": "CloudRedisClusterClient/RescheduleClusterMaintenance/main.go", - "language": "GO", "clientMethod": { - "shortName": "RescheduleClusterMaintenance", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.RescheduleClusterMaintenance", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.RescheduleClusterMaintenance", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "RescheduleClusterMaintenance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.RescheduleClusterMaintenanceRequest", - "name": "req" + "name": "req", + "type": "clusterpb.RescheduleClusterMaintenanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RescheduleClusterMaintenanceOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "RescheduleClusterMaintenance", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.RescheduleClusterMaintenance", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "RescheduleClusterMaintenance" }, + "description": "RescheduleClusterMaintenance reschedules upcoming maintenance event.", + "file": "CloudRedisClusterClient/RescheduleClusterMaintenance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_RescheduleClusterMaintenance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis RescheduleClusterMaintenance Sample" }, { - "regionTag": "redis_v1_generated_CloudRedisCluster_UpdateCluster_sync", - "title": "redis UpdateCluster Sample", - "description": "UpdateCluster updates the metadata and configuration of a specific Redis cluster.\n\nCompleted longrunning.Operation will contain the new cluster object\nin the response field. The returned operation is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.", - "file": "CloudRedisClusterClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient", + "shortName": "CloudRedisClusterClient" + }, "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient.UpdateCluster", + "method": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.UpdateCluster", + "service": { + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "shortName": "CloudRedisCluster" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "clusterpb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "clusterpb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "CloudRedisClusterClient", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisClusterClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.UpdateCluster", - "service": { - "shortName": "CloudRedisCluster", - "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the metadata and configuration of a specific Redis cluster.\n\nCompleted longrunning.Operation will contain the new cluster object\nin the response field. The returned operation is automatically deleted\nafter a few hours, so there is no need to call DeleteOperation.", + "file": "CloudRedisClusterClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "redis_v1_generated_CloudRedisCluster_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "redis UpdateCluster Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json b/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json index 2bfb6b559f51..539feffa4a27 100644 --- a/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json +++ b/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json @@ -1,521 +1,521 @@ { "clientLibrary": { - "name": "cloud.google.com/go/resourcemanager/apiv2", - "version": "1.10.7", - "language": "GO", "apis": [ { "id": "google.cloud.resourcemanager.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/resourcemanager/apiv2", + "version": "1.10.7" }, "snippets": [ { - "regionTag": "cloudresourcemanager_v2_generated_Folders_CreateFolder_sync", - "title": "cloudresourcemanager CreateFolder Sample", - "description": "CreateFolder creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the CreateFolder request, with status code\nFAILED_PRECONDITION and an error description. Other folder constraint\nviolations will be communicated in the Operation, with the specific\nPreconditionFailure returned via the details list in the Operation.error\nfield.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.", - "file": "FoldersClient/CreateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.CreateFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.CreateFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "CreateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "CreateFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.CreateFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "CreateFolder" }, + "description": "CreateFolder creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the CreateFolder request, with status code\nFAILED_PRECONDITION and an error description. Other folder constraint\nviolations will be communicated in the Operation, with the specific\nPreconditionFailure returned via the details list in the Operation.error\nfield.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.", + "file": "FoldersClient/CreateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_CreateFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateFolder Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_DeleteFolder_sync", - "title": "cloudresourcemanager DeleteFolder Sample", - "description": "DeleteFolder requests deletion of a Folder. The Folder is moved into the\n[DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED] state\nimmediately, and is deleted approximately 30 days later. This method may\nonly be called on an empty Folder in the\n[ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state, where a Folder is empty if\nit doesn't contain any Folders or Projects in the\n[ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state.\nThe caller must have `resourcemanager.folders.delete` permission on the\nidentified folder.", - "file": "FoldersClient/DeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.DeleteFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.DeleteFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "DeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Folder", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "DeleteFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.DeleteFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "DeleteFolder" }, + "description": "DeleteFolder requests deletion of a Folder. The Folder is moved into the\n[DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED] state\nimmediately, and is deleted approximately 30 days later. This method may\nonly be called on an empty Folder in the\n[ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state, where a Folder is empty if\nit doesn't contain any Folders or Projects in the\n[ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state.\nThe caller must have `resourcemanager.folders.delete` permission on the\nidentified folder.", + "file": "FoldersClient/DeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_DeleteFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteFolder Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_GetFolder_sync", - "title": "cloudresourcemanager GetFolder Sample", - "description": "GetFolder retrieves a Folder identified by the supplied resource name.\nValid Folder resource names have the format `folders/{folder_id}`\n(for example, `folders/1234`).\nThe caller must have `resourcemanager.folders.get` permission on the\nidentified folder.", - "file": "FoldersClient/GetFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.GetFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.GetFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "GetFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Folder", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "GetFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.GetFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "GetFolder" }, + "description": "GetFolder retrieves a Folder identified by the supplied resource name.\nValid Folder resource names have the format `folders/{folder_id}`\n(for example, `folders/1234`).\nThe caller must have `resourcemanager.folders.get` permission on the\nidentified folder.", + "file": "FoldersClient/GetFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_GetFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetFolder Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_GetIamPolicy_sync", - "title": "cloudresourcemanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a Folder. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the Folder's resource name, e.g. \"folders/1234\".\nThe caller must have `resourcemanager.folders.getIamPolicy` permission\non the identified folder.", - "file": "FoldersClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.GetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v2.Folders.GetIamPolicy", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a Folder. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the Folder's resource name, e.g. \"folders/1234\".\nThe caller must have `resourcemanager.folders.getIamPolicy` permission\non the identified folder.", + "file": "FoldersClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_ListFolders_sync", - "title": "cloudresourcemanager ListFolders Sample", - "description": "ListFolders lists the Folders that are direct descendants of supplied parent resource.\nList provides a strongly consistent view of the Folders underneath\nthe specified parent resource.\nList returns Folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have `resourcemanager.folders.list` permission on the\nidentified parent.", - "file": "FoldersClient/ListFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFolders", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.ListFolders", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.ListFolders", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "ListFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListFoldersRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FolderIterator", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "ListFolders", - "fullName": "google.cloud.resourcemanager.v2.Folders.ListFolders", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "ListFolders" }, + "description": "ListFolders lists the Folders that are direct descendants of supplied parent resource.\nList provides a strongly consistent view of the Folders underneath\nthe specified parent resource.\nList returns Folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have `resourcemanager.folders.list` permission on the\nidentified parent.", + "file": "FoldersClient/ListFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_ListFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListFolders Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_MoveFolder_sync", - "title": "cloudresourcemanager MoveFolder Sample", - "description": "MoveFolder moves a Folder under a new resource parent.\nReturns an Operation which can be used to track the progress of the\nfolder move workflow.\nUpon success the Operation.response field will be populated with the\nmoved Folder.\nUpon failure, a FolderOperationError categorizing the failure cause will\nbe returned - if the failure occurs synchronously then the\nFolderOperationError will be returned via the Status.details field\nand if it occurs asynchronously then the FolderOperation will be returned\nvia the Operation.error field.\nIn addition, the Operation.metadata field will be populated with a\nFolderOperation message as an aid to stateless clients.\nFolder moves will be rejected if they violate either the naming, height\nor fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v2.Folders.CreateFolder] documentation.\nThe caller must have `resourcemanager.folders.move` permission on the\nfolder's current and proposed new parent.", - "file": "FoldersClient/MoveFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.MoveFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.MoveFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "MoveFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.MoveFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.MoveFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "MoveFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.MoveFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "MoveFolder" }, + "description": "MoveFolder moves a Folder under a new resource parent.\nReturns an Operation which can be used to track the progress of the\nfolder move workflow.\nUpon success the Operation.response field will be populated with the\nmoved Folder.\nUpon failure, a FolderOperationError categorizing the failure cause will\nbe returned - if the failure occurs synchronously then the\nFolderOperationError will be returned via the Status.details field\nand if it occurs asynchronously then the FolderOperation will be returned\nvia the Operation.error field.\nIn addition, the Operation.metadata field will be populated with a\nFolderOperation message as an aid to stateless clients.\nFolder moves will be rejected if they violate either the naming, height\nor fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v2.Folders.CreateFolder] documentation.\nThe caller must have `resourcemanager.folders.move` permission on the\nfolder's current and proposed new parent.", + "file": "FoldersClient/MoveFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_MoveFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager MoveFolder Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_SearchFolders_sync", - "title": "cloudresourcemanager SearchFolders Sample", - "description": "SearchFolders search for folders that match specific filter criteria.\nSearch provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only return folders on which the caller has the\npermission `resourcemanager.folders.get`.", - "file": "FoldersClient/SearchFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchFolders", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.SearchFolders", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.SearchFolders", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "SearchFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.SearchFoldersRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.SearchFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FolderIterator", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "SearchFolders", - "fullName": "google.cloud.resourcemanager.v2.Folders.SearchFolders", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "SearchFolders" }, + "description": "SearchFolders search for folders that match specific filter criteria.\nSearch provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only return folders on which the caller has the\npermission `resourcemanager.folders.get`.", + "file": "FoldersClient/SearchFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_SearchFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SearchFolders Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_SetIamPolicy_sync", - "title": "cloudresourcemanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on a Folder, replacing any existing policy.\nThe `resource` field should be the Folder's resource name, e.g.\n\"folders/1234\".\nThe caller must have `resourcemanager.folders.setIamPolicy` permission\non the identified folder.", - "file": "FoldersClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.SetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v2.Folders.SetIamPolicy", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on a Folder, replacing any existing policy.\nThe `resource` field should be the Folder's resource name, e.g.\n\"folders/1234\".\nThe caller must have `resourcemanager.folders.setIamPolicy` permission\non the identified folder.", + "file": "FoldersClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_TestIamPermissions_sync", - "title": "cloudresourcemanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified Folder.\nThe `resource` field should be the Folder's resource name,\ne.g. \"folders/1234\".\n\nThere are no permissions required for making this API call.", - "file": "FoldersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.TestIamPermissions", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v2.Folders.TestIamPermissions", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified Folder.\nThe `resource` field should be the Folder's resource name,\ne.g. \"folders/1234\".\n\nThere are no permissions required for making this API call.", + "file": "FoldersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager TestIamPermissions Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_UndeleteFolder_sync", - "title": "cloudresourcemanager UndeleteFolder Sample", - "description": "UndeleteFolder cancels the deletion request for a Folder. This method may only be\ncalled on a Folder in the\n[DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED] state.\nIn order to succeed, the Folder's parent must be in the\n[ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state.\nIn addition, reintroducing the folder into the tree must not violate\nfolder naming, height and fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v2.Folders.CreateFolder] documentation.\nThe caller must have `resourcemanager.folders.undelete` permission on the\nidentified folder.", - "file": "FoldersClient/UndeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.UndeleteFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.UndeleteFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "UndeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UndeleteFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UndeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Folder", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "UndeleteFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.UndeleteFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "UndeleteFolder" }, + "description": "UndeleteFolder cancels the deletion request for a Folder. This method may only be\ncalled on a Folder in the\n[DELETE_REQUESTED][google.cloud.resourcemanager.v2.Folder.LifecycleState.DELETE_REQUESTED] state.\nIn order to succeed, the Folder's parent must be in the\n[ACTIVE][google.cloud.resourcemanager.v2.Folder.LifecycleState.ACTIVE] state.\nIn addition, reintroducing the folder into the tree must not violate\nfolder naming, height and fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v2.Folders.CreateFolder] documentation.\nThe caller must have `resourcemanager.folders.undelete` permission on the\nidentified folder.", + "file": "FoldersClient/UndeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_UndeleteFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UndeleteFolder Sample" }, { - "regionTag": "cloudresourcemanager_v2_generated_Folders_UpdateFolder_sync", - "title": "cloudresourcemanager UpdateFolder Sample", - "description": "UpdateFolder updates a Folder, changing its display_name.\nChanges to the folder display_name will be rejected if they violate either\nthe display_name formatting rules or naming constraints described in\nthe [CreateFolder][google.cloud.resourcemanager.v2.Folders.CreateFolder] documentation.\n\nThe Folder's display name must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nno longer than 30 characters. This is captured by the regular expression: \n[\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.\nThe caller must have `resourcemanager.folders.update` permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\nPreconditionFailure explaining this violation will be returned\nin the Status.details field.", - "file": "FoldersClient/UpdateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v2.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v2.FoldersClient.UpdateFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v2.Folders.UpdateFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "Folders" + }, + "shortName": "UpdateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UpdateFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UpdateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Folder", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v2.FoldersClient" - }, - "method": { - "shortName": "UpdateFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.UpdateFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders" - } - } + "shortName": "UpdateFolder" }, + "description": "UpdateFolder updates a Folder, changing its display_name.\nChanges to the folder display_name will be rejected if they violate either\nthe display_name formatting rules or naming constraints described in\nthe [CreateFolder][google.cloud.resourcemanager.v2.Folders.CreateFolder] documentation.\n\nThe Folder's display name must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nno longer than 30 characters. This is captured by the regular expression: \n[\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.\nThe caller must have `resourcemanager.folders.update` permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\nPreconditionFailure explaining this violation will be returned\nin the Status.details field.", + "file": "FoldersClient/UpdateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v2_generated_Folders_UpdateFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UpdateFolder Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json b/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json index 5d9daba879aa..f94f673cddd9 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json +++ b/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json @@ -1,2729 +1,2729 @@ { "clientLibrary": { - "name": "cloud.google.com/go/resourcemanager/apiv3", - "version": "1.10.7", - "language": "GO", "apis": [ { "id": "google.cloud.resourcemanager.v3", "version": "v3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/resourcemanager/apiv3", + "version": "1.10.7" }, "snippets": [ { - "regionTag": "cloudresourcemanager_v3_generated_Folders_CreateFolder_sync", - "title": "cloudresourcemanager CreateFolder Sample", - "description": "CreateFolder creates a folder in the resource hierarchy.\nReturns an `Operation` which can be used to track the progress of the\nfolder creation workflow.\nUpon success, the `Operation.response` field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new folder must not violate\nthe folder naming, height, or fanout constraints.\n\n+ The folder's `display_name` must be distinct from all other folders that\nshare its parent.\n+ The addition of the folder must not cause the active folder hierarchy\nto exceed a height of 10. Note, the full active + deleted folder hierarchy\nis allowed to reach a height of 20; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the folder must not cause the total number of folders\nunder its parent to exceed 300.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the `CreateFolder` request, with status code\n`FAILED_PRECONDITION` and an error description. Other folder constraint\nviolations will be communicated in the `Operation`, with the specific\n`PreconditionFailure` returned in the details list in the `Operation.error`\nfield.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.", - "file": "FoldersClient/CreateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.CreateFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.CreateFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "CreateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "CreateFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.CreateFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "CreateFolder" }, + "description": "CreateFolder creates a folder in the resource hierarchy.\nReturns an `Operation` which can be used to track the progress of the\nfolder creation workflow.\nUpon success, the `Operation.response` field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new folder must not violate\nthe folder naming, height, or fanout constraints.\n\n+ The folder's `display_name` must be distinct from all other folders that\nshare its parent.\n+ The addition of the folder must not cause the active folder hierarchy\nto exceed a height of 10. Note, the full active + deleted folder hierarchy\nis allowed to reach a height of 20; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the folder must not cause the total number of folders\nunder its parent to exceed 300.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the `CreateFolder` request, with status code\n`FAILED_PRECONDITION` and an error description. Other folder constraint\nviolations will be communicated in the `Operation`, with the specific\n`PreconditionFailure` returned in the details list in the `Operation.error`\nfield.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.", + "file": "FoldersClient/CreateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_CreateFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateFolder Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_DeleteFolder_sync", - "title": "cloudresourcemanager DeleteFolder Sample", - "description": "DeleteFolder requests deletion of a folder. The folder is moved into the\n[DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED]\nstate immediately, and is deleted approximately 30 days later. This method\nmay only be called on an empty folder, where a folder is empty if it\ndoesn't contain any folders or projects in the\n[ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. If\ncalled on a folder in\n[DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED]\nstate the operation will result in a no-op success.\nThe caller must have `resourcemanager.folders.delete` permission on the\nidentified folder.", - "file": "FoldersClient/DeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.DeleteFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.DeleteFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "DeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "DeleteFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.DeleteFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "DeleteFolder" }, + "description": "DeleteFolder requests deletion of a folder. The folder is moved into the\n[DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED]\nstate immediately, and is deleted approximately 30 days later. This method\nmay only be called on an empty folder, where a folder is empty if it\ndoesn't contain any folders or projects in the\n[ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. If\ncalled on a folder in\n[DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED]\nstate the operation will result in a no-op success.\nThe caller must have `resourcemanager.folders.delete` permission on the\nidentified folder.", + "file": "FoldersClient/DeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_DeleteFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteFolder Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_GetFolder_sync", - "title": "cloudresourcemanager GetFolder Sample", - "description": "GetFolder retrieves a folder identified by the supplied resource name.\nValid folder resource names have the format `folders/{folder_id}`\n(for example, `folders/1234`).\nThe caller must have `resourcemanager.folders.get` permission on the\nidentified folder.", - "file": "FoldersClient/GetFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.GetFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.GetFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "GetFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Folder", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "GetFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.GetFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "GetFolder" }, + "description": "GetFolder retrieves a folder identified by the supplied resource name.\nValid folder resource names have the format `folders/{folder_id}`\n(for example, `folders/1234`).\nThe caller must have `resourcemanager.folders.get` permission on the\nidentified folder.", + "file": "FoldersClient/GetFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_GetFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetFolder Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_GetIamPolicy_sync", - "title": "cloudresourcemanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a folder. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the folder's resource name, for example: \"folders/1234\".\nThe caller must have `resourcemanager.folders.getIamPolicy` permission\non the identified folder.", - "file": "FoldersClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.GetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Folders.GetIamPolicy", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a folder. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the folder's resource name, for example: \"folders/1234\".\nThe caller must have `resourcemanager.folders.getIamPolicy` permission\non the identified folder.", + "file": "FoldersClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "FoldersClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "FoldersClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_ListFolders_sync", - "title": "cloudresourcemanager ListFolders Sample", - "description": "ListFolders lists the folders that are direct descendants of supplied parent resource.\n`list()` provides a strongly consistent view of the folders underneath\nthe specified parent resource.\n`list()` returns folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have `resourcemanager.folders.list` permission on the\nidentified parent.", - "file": "FoldersClient/ListFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFolders", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.ListFolders", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.ListFolders", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "ListFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListFoldersRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FolderIterator", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "ListFolders", - "fullName": "google.cloud.resourcemanager.v3.Folders.ListFolders", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "ListFolders" }, + "description": "ListFolders lists the folders that are direct descendants of supplied parent resource.\n`list()` provides a strongly consistent view of the folders underneath\nthe specified parent resource.\n`list()` returns folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have `resourcemanager.folders.list` permission on the\nidentified parent.", + "file": "FoldersClient/ListFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_ListFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListFolders Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_MoveFolder_sync", - "title": "cloudresourcemanager MoveFolder Sample", - "description": "MoveFolder moves a folder under a new resource parent.\nReturns an `Operation` which can be used to track the progress of the\nfolder move workflow.\nUpon success, the `Operation.response` field will be populated with the\nmoved folder.\nUpon failure, a `FolderOperationError` categorizing the failure cause will\nbe returned - if the failure occurs synchronously then the\n`FolderOperationError` will be returned in the `Status.details` field.\nIf it occurs asynchronously, then the FolderOperation will be returned\nin the `Operation.error` field.\nIn addition, the `Operation.metadata` field will be populated with a\n`FolderOperation` message as an aid to stateless clients.\nFolder moves will be rejected if they violate either the naming, height,\nor fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder]\ndocumentation. The caller must have `resourcemanager.folders.move`\npermission on the folder's current and proposed new parent.", - "file": "FoldersClient/MoveFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.MoveFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.MoveFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "MoveFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.MoveFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.MoveFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "MoveFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.MoveFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "MoveFolder" }, + "description": "MoveFolder moves a folder under a new resource parent.\nReturns an `Operation` which can be used to track the progress of the\nfolder move workflow.\nUpon success, the `Operation.response` field will be populated with the\nmoved folder.\nUpon failure, a `FolderOperationError` categorizing the failure cause will\nbe returned - if the failure occurs synchronously then the\n`FolderOperationError` will be returned in the `Status.details` field.\nIf it occurs asynchronously, then the FolderOperation will be returned\nin the `Operation.error` field.\nIn addition, the `Operation.metadata` field will be populated with a\n`FolderOperation` message as an aid to stateless clients.\nFolder moves will be rejected if they violate either the naming, height,\nor fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder]\ndocumentation. The caller must have `resourcemanager.folders.move`\npermission on the folder's current and proposed new parent.", + "file": "FoldersClient/MoveFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_MoveFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager MoveFolder Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_SearchFolders_sync", - "title": "cloudresourcemanager SearchFolders Sample", - "description": "SearchFolders search for folders that match specific filter criteria.\n`search()` provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only return folders on which the caller has the\npermission `resourcemanager.folders.get`.", - "file": "FoldersClient/SearchFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchFolders", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.SearchFolders", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.SearchFolders", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "SearchFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.SearchFoldersRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.SearchFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FolderIterator", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "SearchFolders", - "fullName": "google.cloud.resourcemanager.v3.Folders.SearchFolders", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "SearchFolders" }, + "description": "SearchFolders search for folders that match specific filter criteria.\n`search()` provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only return folders on which the caller has the\npermission `resourcemanager.folders.get`.", + "file": "FoldersClient/SearchFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_SearchFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SearchFolders Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_SetIamPolicy_sync", - "title": "cloudresourcemanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on a folder, replacing any existing policy.\nThe `resource` field should be the folder's resource name, for example: \n\"folders/1234\".\nThe caller must have `resourcemanager.folders.setIamPolicy` permission\non the identified folder.", - "file": "FoldersClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.SetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Folders.SetIamPolicy", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on a folder, replacing any existing policy.\nThe `resource` field should be the folder's resource name, for example: \n\"folders/1234\".\nThe caller must have `resourcemanager.folders.setIamPolicy` permission\non the identified folder.", + "file": "FoldersClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_TestIamPermissions_sync", - "title": "cloudresourcemanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified folder.\nThe `resource` field should be the folder's resource name,\nfor example: \"folders/1234\".\n\nThere are no permissions required for making this API call.", - "file": "FoldersClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.TestIamPermissions", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.Folders.TestIamPermissions", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified folder.\nThe `resource` field should be the folder's resource name,\nfor example: \"folders/1234\".\n\nThere are no permissions required for making this API call.", + "file": "FoldersClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager TestIamPermissions Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_UndeleteFolder_sync", - "title": "cloudresourcemanager UndeleteFolder Sample", - "description": "UndeleteFolder cancels the deletion request for a folder. This method may be called on a\nfolder in any state. If the folder is in the\n[ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state the\nresult will be a no-op success. In order to succeed, the folder's parent\nmust be in the\n[ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. In\naddition, reintroducing the folder into the tree must not violate folder\nnaming, height, and fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder]\ndocumentation. The caller must have `resourcemanager.folders.undelete`\npermission on the identified folder.", - "file": "FoldersClient/UndeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.UndeleteFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.UndeleteFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "UndeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UndeleteFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UndeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "UndeleteFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.UndeleteFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "UndeleteFolder" }, + "description": "UndeleteFolder cancels the deletion request for a folder. This method may be called on a\nfolder in any state. If the folder is in the\n[ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state the\nresult will be a no-op success. In order to succeed, the folder's parent\nmust be in the\n[ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. In\naddition, reintroducing the folder into the tree must not violate folder\nnaming, height, and fanout constraints described in the\n[CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder]\ndocumentation. The caller must have `resourcemanager.folders.undelete`\npermission on the identified folder.", + "file": "FoldersClient/UndeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_UndeleteFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UndeleteFolder Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Folders_UpdateFolder_sync", - "title": "cloudresourcemanager UpdateFolder Sample", - "description": "UpdateFolder updates a folder, changing its `display_name`.\nChanges to the folder `display_name` will be rejected if they violate\neither the `display_name` formatting rules or the naming constraints\ndescribed in the\n[CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder]\ndocumentation.\n\nThe folder's `display_name` must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nbetween 3 and 30 characters. This is captured by the regular expression: \n`[\\p{L}\\p{N}][\\p{L}\\p{N}_- ]{1,28}[\\p{L}\\p{N}]`.\nThe caller must have `resourcemanager.folders.update` permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\n`PreconditionFailure` explaining this violation will be returned\nin the Status.details field.", - "file": "FoldersClient/UpdateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFolder", + "client": { + "fullName": "google.cloud.resourcemanager.v3.FoldersClient", + "shortName": "FoldersClient" + }, "fullName": "google.cloud.resourcemanager.v3.FoldersClient.UpdateFolder", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Folders.UpdateFolder", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "Folders" + }, + "shortName": "UpdateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UpdateFolderRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UpdateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateFolderOperation", - "client": { - "shortName": "FoldersClient", - "fullName": "google.cloud.resourcemanager.v3.FoldersClient" - }, - "method": { - "shortName": "UpdateFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.UpdateFolder", - "service": { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders" - } - } + "shortName": "UpdateFolder" }, + "description": "UpdateFolder updates a folder, changing its `display_name`.\nChanges to the folder `display_name` will be rejected if they violate\neither the `display_name` formatting rules or the naming constraints\ndescribed in the\n[CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder]\ndocumentation.\n\nThe folder's `display_name` must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nbetween 3 and 30 characters. This is captured by the regular expression: \n`[\\p{L}\\p{N}][\\p{L}\\p{N}_- ]{1,28}[\\p{L}\\p{N}]`.\nThe caller must have `resourcemanager.folders.update` permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\n`PreconditionFailure` explaining this violation will be returned\nin the Status.details field.", + "file": "FoldersClient/UpdateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Folders_UpdateFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UpdateFolder Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Organizations_GetIamPolicy_sync", - "title": "cloudresourcemanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for an organization resource. The policy may\nbe empty if no such policy or resource exists. The `resource` field should\nbe the organization's resource name, for example: \"organizations/123\".\n\nAuthorization requires the IAM permission\n`resourcemanager.organizations.getIamPolicy` on the specified organization.", - "file": "OrganizationsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient", + "shortName": "OrganizationsClient" + }, "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Organizations.GetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Organizations", + "shortName": "Organizations" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "OrganizationsClient", - "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Organizations.GetIamPolicy", - "service": { - "shortName": "Organizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for an organization resource. The policy may\nbe empty if no such policy or resource exists. The `resource` field should\nbe the organization's resource name, for example: \"organizations/123\".\n\nAuthorization requires the IAM permission\n`resourcemanager.organizations.getIamPolicy` on the specified organization.", + "file": "OrganizationsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Organizations_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Organizations_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "OrganizationsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient", + "shortName": "OrganizationsClient" + }, "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "OrganizationsClient", - "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "OrganizationsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Organizations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Organizations_GetOrganization_sync", - "title": "cloudresourcemanager GetOrganization Sample", - "description": "GetOrganization fetches an organization resource identified by the specified resource name.", - "file": "OrganizationsClient/GetOrganization/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganization", + "client": { + "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient", + "shortName": "OrganizationsClient" + }, "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient.GetOrganization", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Organizations.GetOrganization", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Organizations", + "shortName": "Organizations" + }, + "shortName": "GetOrganization" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetOrganizationRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetOrganizationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Organization", - "client": { - "shortName": "OrganizationsClient", - "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient" - }, - "method": { - "shortName": "GetOrganization", - "fullName": "google.cloud.resourcemanager.v3.Organizations.GetOrganization", - "service": { - "shortName": "Organizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations" - } - } + "shortName": "GetOrganization" }, + "description": "GetOrganization fetches an organization resource identified by the specified resource name.", + "file": "OrganizationsClient/GetOrganization/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Organizations_GetOrganization_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOrganization Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Organizations_SearchOrganizations_sync", - "title": "cloudresourcemanager SearchOrganizations Sample", - "description": "SearchOrganizations searches organization resources that are visible to the user and satisfy\nthe specified filter. This method returns organizations in an unspecified\norder. New organizations do not necessarily appear at the end of the\nresults, and may take a small amount of time to appear.\n\nSearch will only return organizations on which the user has the permission\n`resourcemanager.organizations.get`", - "file": "OrganizationsClient/SearchOrganizations/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchOrganizations", + "client": { + "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient", + "shortName": "OrganizationsClient" + }, "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient.SearchOrganizations", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Organizations.SearchOrganizations", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Organizations", + "shortName": "Organizations" + }, + "shortName": "SearchOrganizations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.SearchOrganizationsRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.SearchOrganizationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrganizationIterator", - "client": { - "shortName": "OrganizationsClient", - "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient" - }, - "method": { - "shortName": "SearchOrganizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations.SearchOrganizations", - "service": { - "shortName": "Organizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations" - } - } + "shortName": "SearchOrganizations" }, + "description": "SearchOrganizations searches organization resources that are visible to the user and satisfy\nthe specified filter. This method returns organizations in an unspecified\norder. New organizations do not necessarily appear at the end of the\nresults, and may take a small amount of time to appear.\n\nSearch will only return organizations on which the user has the permission\n`resourcemanager.organizations.get`", + "file": "OrganizationsClient/SearchOrganizations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Organizations_SearchOrganizations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SearchOrganizations Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Organizations_SetIamPolicy_sync", - "title": "cloudresourcemanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on an organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, for example: \"organizations/123\".\n\nAuthorization requires the IAM permission\n`resourcemanager.organizations.setIamPolicy` on the specified organization.", - "file": "OrganizationsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient", + "shortName": "OrganizationsClient" + }, "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Organizations.SetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Organizations", + "shortName": "Organizations" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "OrganizationsClient", - "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Organizations.SetIamPolicy", - "service": { - "shortName": "Organizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on an organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, for example: \"organizations/123\".\n\nAuthorization requires the IAM permission\n`resourcemanager.organizations.setIamPolicy` on the specified organization.", + "file": "OrganizationsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Organizations_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Organizations_TestIamPermissions_sync", - "title": "cloudresourcemanager TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified organization.\nThe `resource` field should be the organization's resource name,\nfor example: \"organizations/123\".\n\nThere are no permissions required for making this API call.", - "file": "OrganizationsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient", + "shortName": "OrganizationsClient" + }, "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Organizations.TestIamPermissions", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Organizations", + "shortName": "Organizations" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "OrganizationsClient", - "fullName": "google.cloud.resourcemanager.v3.OrganizationsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.Organizations.TestIamPermissions", - "service": { - "shortName": "Organizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified organization.\nThe `resource` field should be the organization's resource name,\nfor example: \"organizations/123\".\n\nThere are no permissions required for making this API call.", + "file": "OrganizationsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Organizations_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager TestIamPermissions Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_CreateProject_sync", - "title": "cloudresourcemanager CreateProject Sample", - "description": "CreateProject request that a new project be created. The result is an `Operation` which\ncan be used to track the creation process. This process usually takes a few\nseconds, but can sometimes take much longer. The tracking `Operation` is\nautomatically deleted after a few hours, so there is no need to call\n`DeleteOperation`.", - "file": "ProjectsClient/CreateProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProject", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.CreateProject", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.CreateProject", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "CreateProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateProjectRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateProjectOperation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "CreateProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.CreateProject", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "CreateProject" }, + "description": "CreateProject request that a new project be created. The result is an `Operation` which\ncan be used to track the creation process. This process usually takes a few\nseconds, but can sometimes take much longer. The tracking `Operation` is\nautomatically deleted after a few hours, so there is no need to call\n`DeleteOperation`.", + "file": "ProjectsClient/CreateProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_CreateProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateProject Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_DeleteProject_sync", - "title": "cloudresourcemanager DeleteProject Sample", - "description": "DeleteProject marks the project identified by the specified\n`name` (for example, `projects/415104041262`) for deletion.\n\nThis method will only affect the project if it has a lifecycle state of\n[ACTIVE][google.cloud.resourcemanager.v3.Project.State.ACTIVE].\n\nThis method changes the Project's lifecycle state from\n[ACTIVE][google.cloud.resourcemanager.v3.Project.State.ACTIVE]\nto\n[DELETE_REQUESTED][google.cloud.resourcemanager.v3.Project.State.DELETE_REQUESTED].\nThe deletion starts at an unspecified time,\nat which point the Project is no longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the project with [GetProject]\n[google.cloud.resourcemanager.v3.Projects.GetProject],\nand the project remains visible to [ListProjects]\n[google.cloud.resourcemanager.v3.Projects.ListProjects].\nHowever, you cannot update the project.\n\nAfter the deletion completes, the project is not retrievable by\nthe [GetProject]\n[google.cloud.resourcemanager.v3.Projects.GetProject],\n[ListProjects]\n[google.cloud.resourcemanager.v3.Projects.ListProjects], and\n[SearchProjects][google.cloud.resourcemanager.v3.Projects.SearchProjects]\nmethods.\n\nThis method behaves idempotently, such that deleting a `DELETE_REQUESTED`\nproject will not cause an error, but also won't do anything.\n\nThe caller must have `resourcemanager.projects.delete` permissions for this\nproject.", - "file": "ProjectsClient/DeleteProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProject", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.DeleteProject", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.DeleteProject", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "DeleteProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteProjectRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProjectOperation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "DeleteProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.DeleteProject", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "DeleteProject" }, + "description": "DeleteProject marks the project identified by the specified\n`name` (for example, `projects/415104041262`) for deletion.\n\nThis method will only affect the project if it has a lifecycle state of\n[ACTIVE][google.cloud.resourcemanager.v3.Project.State.ACTIVE].\n\nThis method changes the Project's lifecycle state from\n[ACTIVE][google.cloud.resourcemanager.v3.Project.State.ACTIVE]\nto\n[DELETE_REQUESTED][google.cloud.resourcemanager.v3.Project.State.DELETE_REQUESTED].\nThe deletion starts at an unspecified time,\nat which point the Project is no longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the project with [GetProject]\n[google.cloud.resourcemanager.v3.Projects.GetProject],\nand the project remains visible to [ListProjects]\n[google.cloud.resourcemanager.v3.Projects.ListProjects].\nHowever, you cannot update the project.\n\nAfter the deletion completes, the project is not retrievable by\nthe [GetProject]\n[google.cloud.resourcemanager.v3.Projects.GetProject],\n[ListProjects]\n[google.cloud.resourcemanager.v3.Projects.ListProjects], and\n[SearchProjects][google.cloud.resourcemanager.v3.Projects.SearchProjects]\nmethods.\n\nThis method behaves idempotently, such that deleting a `DELETE_REQUESTED`\nproject will not cause an error, but also won't do anything.\n\nThe caller must have `resourcemanager.projects.delete` permissions for this\nproject.", + "file": "ProjectsClient/DeleteProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_DeleteProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteProject Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_GetIamPolicy_sync", - "title": "cloudresourcemanager GetIamPolicy Sample", - "description": "GetIamPolicy returns the IAM access control policy for the specified project, in the\nformat `projects/{ProjectIdOrNumber}` e.g. projects/123.\nPermission is denied if the policy or the resource do not exist.", - "file": "ProjectsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.GetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Projects.GetIamPolicy", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy returns the IAM access control policy for the specified project, in the\nformat `projects/{ProjectIdOrNumber}` e.g. projects/123.\nPermission is denied if the policy or the resource do not exist.", + "file": "ProjectsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_GetProject_sync", - "title": "cloudresourcemanager GetProject Sample", - "description": "GetProject retrieves the project identified by the specified `name` (for example,\n`projects/415104041262`).\n\nThe caller must have `resourcemanager.projects.get` permission\nfor this project.", - "file": "ProjectsClient/GetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProject", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.GetProject", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.GetProject", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "GetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetProjectRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.Project", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "GetProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.GetProject", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "GetProject" }, + "description": "GetProject retrieves the project identified by the specified `name` (for example,\n`projects/415104041262`).\n\nThe caller must have `resourcemanager.projects.get` permission\nfor this project.", + "file": "ProjectsClient/GetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_GetProject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetProject Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_ListProjects_sync", - "title": "cloudresourcemanager ListProjects Sample", - "description": "ListProjects lists projects that are direct children of the specified folder or\norganization resource. `list()` provides a strongly consistent view of the\nprojects underneath the specified parent resource. `list()` returns\nprojects sorted based upon the (ascending) lexical ordering of their\n`display_name`. The caller must have `resourcemanager.projects.list`\npermission on the identified parent.", - "file": "ProjectsClient/ListProjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProjects", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.ListProjects", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.ListProjects", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "ListProjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListProjectsRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProjectIterator", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "ListProjects", - "fullName": "google.cloud.resourcemanager.v3.Projects.ListProjects", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "ListProjects" }, + "description": "ListProjects lists projects that are direct children of the specified folder or\norganization resource. `list()` provides a strongly consistent view of the\nprojects underneath the specified parent resource. `list()` returns\nprojects sorted based upon the (ascending) lexical ordering of their\n`display_name`. The caller must have `resourcemanager.projects.list`\npermission on the identified parent.", + "file": "ProjectsClient/ListProjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_ListProjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListProjects Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_MoveProject_sync", - "title": "cloudresourcemanager MoveProject Sample", - "description": "MoveProject move a project to another place in your resource hierarchy, under a new\nresource parent.\n\nReturns an operation which can be used to track the process of the project\nmove workflow.\nUpon success, the `Operation.response` field will be populated with the\nmoved project.\n\nThe caller must have `resourcemanager.projects.move` permission on the\nproject, on the project's current and proposed new parent.\n\nIf project has no current parent, or it currently does not have an\nassociated organization resource, you will also need the\n`resourcemanager.projects.setIamPolicy` permission in the project.", - "file": "ProjectsClient/MoveProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveProject", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.MoveProject", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.MoveProject", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "MoveProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.MoveProjectRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.MoveProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveProjectOperation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "MoveProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.MoveProject", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "MoveProject" }, + "description": "MoveProject move a project to another place in your resource hierarchy, under a new\nresource parent.\n\nReturns an operation which can be used to track the process of the project\nmove workflow.\nUpon success, the `Operation.response` field will be populated with the\nmoved project.\n\nThe caller must have `resourcemanager.projects.move` permission on the\nproject, on the project's current and proposed new parent.\n\nIf project has no current parent, or it currently does not have an\nassociated organization resource, you will also need the\n`resourcemanager.projects.setIamPolicy` permission in the project.", + "file": "ProjectsClient/MoveProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_MoveProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager MoveProject Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_SearchProjects_sync", - "title": "cloudresourcemanager SearchProjects Sample", - "description": "SearchProjects search for projects that the caller has both `resourcemanager.projects.get`\npermission on, and also satisfy the specified query.\n\nThis method returns projects in an unspecified order.\n\nThis method is eventually consistent with project mutations; this means\nthat a newly created project may not appear in the results or recent\nupdates to an existing project may not be reflected in the results. To\nretrieve the latest state of a project, use the\n[GetProject][google.cloud.resourcemanager.v3.Projects.GetProject] method.", - "file": "ProjectsClient/SearchProjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchProjects", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.SearchProjects", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.SearchProjects", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "SearchProjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.SearchProjectsRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.SearchProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProjectIterator", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "SearchProjects", - "fullName": "google.cloud.resourcemanager.v3.Projects.SearchProjects", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "SearchProjects" }, + "description": "SearchProjects search for projects that the caller has both `resourcemanager.projects.get`\npermission on, and also satisfy the specified query.\n\nThis method returns projects in an unspecified order.\n\nThis method is eventually consistent with project mutations; this means\nthat a newly created project may not appear in the results or recent\nupdates to an existing project may not be reflected in the results. To\nretrieve the latest state of a project, use the\n[GetProject][google.cloud.resourcemanager.v3.Projects.GetProject] method.", + "file": "ProjectsClient/SearchProjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_SearchProjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SearchProjects Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_SetIamPolicy_sync", - "title": "cloudresourcemanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM access control policy for the specified project, in the\nformat `projects/{ProjectIdOrNumber}` e.g. projects/123.\n\nCAUTION: This method will replace the existing policy, and cannot be used\nto append additional IAM settings.\n\nNote: Removing service accounts from policies or changing their roles can\nrender services completely inoperable. It is important to understand how\nthe service account is being used before removing or updating its roles.\n\nThe following constraints apply when using `setIamPolicy()`: \n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted to a `user`, `serviceAccount`, or a group\nthat is part of an organization. For example,\ngroup@myownpersonaldomain.com could be added as an owner to a project in\nthe myownpersonaldomain.com organization, but not the examplepetstore.com\norganization.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited using the Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified. If the project is part of an organization, you can remove all\nowners, potentially making the organization inaccessible.", - "file": "ProjectsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.SetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Projects.SetIamPolicy", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM access control policy for the specified project, in the\nformat `projects/{ProjectIdOrNumber}` e.g. projects/123.\n\nCAUTION: This method will replace the existing policy, and cannot be used\nto append additional IAM settings.\n\nNote: Removing service accounts from policies or changing their roles can\nrender services completely inoperable. It is important to understand how\nthe service account is being used before removing or updating its roles.\n\nThe following constraints apply when using `setIamPolicy()`: \n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted to a `user`, `serviceAccount`, or a group\nthat is part of an organization. For example,\ngroup@myownpersonaldomain.com could be added as an owner to a project in\nthe myownpersonaldomain.com organization, but not the examplepetstore.com\norganization.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited using the Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using\n`setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Calling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy will fail. This restriction also applies to legacy\nprojects that no longer have owners who have accepted the ToS. Edits to\nIAM policies will be rejected until the lack of a ToS-accepting owner is\nrectified. If the project is part of an organization, you can remove all\nowners, potentially making the organization inaccessible.", + "file": "ProjectsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_TestIamPermissions_sync", - "title": "cloudresourcemanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified project, in the\nformat `projects/{ProjectIdOrNumber}` e.g. projects/123..", - "file": "ProjectsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.TestIamPermissions", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.Projects.TestIamPermissions", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified project, in the\nformat `projects/{ProjectIdOrNumber}` e.g. projects/123..", + "file": "ProjectsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager TestIamPermissions Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_UndeleteProject_sync", - "title": "cloudresourcemanager UndeleteProject Sample", - "description": "UndeleteProject restores the project identified by the specified\n`name` (for example, `projects/415104041262`).\nYou can only use this method for a project that has a lifecycle state of\n[DELETE_REQUESTED]\n[Projects.State.DELETE_REQUESTED].\nAfter deletion starts, the project cannot be restored.\n\nThe caller must have `resourcemanager.projects.undelete` permission for\nthis project.", - "file": "ProjectsClient/UndeleteProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteProject", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.UndeleteProject", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.UndeleteProject", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "UndeleteProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UndeleteProjectRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UndeleteProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteProjectOperation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "UndeleteProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.UndeleteProject", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "UndeleteProject" }, + "description": "UndeleteProject restores the project identified by the specified\n`name` (for example, `projects/415104041262`).\nYou can only use this method for a project that has a lifecycle state of\n[DELETE_REQUESTED]\n[Projects.State.DELETE_REQUESTED].\nAfter deletion starts, the project cannot be restored.\n\nThe caller must have `resourcemanager.projects.undelete` permission for\nthis project.", + "file": "ProjectsClient/UndeleteProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_UndeleteProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UndeleteProject Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_Projects_UpdateProject_sync", - "title": "cloudresourcemanager UpdateProject Sample", - "description": "UpdateProject updates the `display_name` and labels of the project identified by the\nspecified `name` (for example, `projects/415104041262`). Deleting all\nlabels requires an update mask for labels field.\n\nThe caller must have `resourcemanager.projects.update` permission for this\nproject.", - "file": "ProjectsClient/UpdateProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProject", + "client": { + "fullName": "google.cloud.resourcemanager.v3.ProjectsClient", + "shortName": "ProjectsClient" + }, "fullName": "google.cloud.resourcemanager.v3.ProjectsClient.UpdateProject", + "method": { + "fullName": "google.cloud.resourcemanager.v3.Projects.UpdateProject", + "service": { + "fullName": "google.cloud.resourcemanager.v3.Projects", + "shortName": "Projects" + }, + "shortName": "UpdateProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UpdateProjectRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UpdateProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateProjectOperation", - "client": { - "shortName": "ProjectsClient", - "fullName": "google.cloud.resourcemanager.v3.ProjectsClient" - }, - "method": { - "shortName": "UpdateProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.UpdateProject", - "service": { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects" - } - } + "shortName": "UpdateProject" }, + "description": "UpdateProject updates the `display_name` and labels of the project identified by the\nspecified `name` (for example, `projects/415104041262`). Deleting all\nlabels requires an update mask for labels field.\n\nThe caller must have `resourcemanager.projects.update` permission for this\nproject.", + "file": "ProjectsClient/UpdateProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_Projects_UpdateProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UpdateProject Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagBindings_CreateTagBinding_sync", - "title": "cloudresourcemanager CreateTagBinding Sample", - "description": "CreateTagBinding creates a TagBinding between a TagValue and a Google Cloud resource.", - "file": "TagBindingsClient/CreateTagBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagBinding", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient", + "shortName": "TagBindingsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient.CreateTagBinding", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings.CreateTagBinding", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings", + "shortName": "TagBindings" + }, + "shortName": "CreateTagBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateTagBindingRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateTagBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTagBindingOperation", - "client": { - "shortName": "TagBindingsClient", - "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient" - }, - "method": { - "shortName": "CreateTagBinding", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.CreateTagBinding", - "service": { - "shortName": "TagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings" - } - } + "shortName": "CreateTagBinding" }, + "description": "CreateTagBinding creates a TagBinding between a TagValue and a Google Cloud resource.", + "file": "TagBindingsClient/CreateTagBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagBindings_CreateTagBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateTagBinding Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagBindings_DeleteTagBinding_sync", - "title": "cloudresourcemanager DeleteTagBinding Sample", - "description": "DeleteTagBinding deletes a TagBinding.", - "file": "TagBindingsClient/DeleteTagBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagBinding", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient", + "shortName": "TagBindingsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient.DeleteTagBinding", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings.DeleteTagBinding", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings", + "shortName": "TagBindings" + }, + "shortName": "DeleteTagBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteTagBindingRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteTagBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTagBindingOperation", - "client": { - "shortName": "TagBindingsClient", - "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient" - }, - "method": { - "shortName": "DeleteTagBinding", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.DeleteTagBinding", - "service": { - "shortName": "TagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings" - } - } + "shortName": "DeleteTagBinding" }, + "description": "DeleteTagBinding deletes a TagBinding.", + "file": "TagBindingsClient/DeleteTagBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagBindings_DeleteTagBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteTagBinding Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagBindings_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TagBindingsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient", + "shortName": "TagBindingsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TagBindingsClient", - "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TagBindingsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagBindings_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagBindings_ListEffectiveTags_sync", - "title": "cloudresourcemanager ListEffectiveTags Sample", - "description": "ListEffectiveTags return a list of effective tags for the given Google Cloud resource, as\nspecified in `parent`.", - "file": "TagBindingsClient/ListEffectiveTags/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEffectiveTags", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient", + "shortName": "TagBindingsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient.ListEffectiveTags", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTags", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings", + "shortName": "TagBindings" + }, + "shortName": "ListEffectiveTags" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListEffectiveTagsRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListEffectiveTagsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EffectiveTagIterator", - "client": { - "shortName": "TagBindingsClient", - "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient" - }, - "method": { - "shortName": "ListEffectiveTags", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTags", - "service": { - "shortName": "TagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings" - } - } + "shortName": "ListEffectiveTags" }, + "description": "ListEffectiveTags return a list of effective tags for the given Google Cloud resource, as\nspecified in `parent`.", + "file": "TagBindingsClient/ListEffectiveTags/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagBindings_ListEffectiveTags_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListEffectiveTags Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagBindings_ListTagBindings_sync", - "title": "cloudresourcemanager ListTagBindings Sample", - "description": "ListTagBindings lists the TagBindings for the given Google Cloud resource, as specified\nwith `parent`.\n\nNOTE: The `parent` field is expected to be a full resource name: \nhttps: //cloud.google.com/apis/design/resource_names#full_resource_name", - "file": "TagBindingsClient/ListTagBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTagBindings", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient", + "shortName": "TagBindingsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient.ListTagBindings", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListTagBindings", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagBindings", + "shortName": "TagBindings" + }, + "shortName": "ListTagBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListTagBindingsRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListTagBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagBindingIterator", - "client": { - "shortName": "TagBindingsClient", - "fullName": "google.cloud.resourcemanager.v3.TagBindingsClient" - }, - "method": { - "shortName": "ListTagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListTagBindings", - "service": { - "shortName": "TagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings" - } - } + "shortName": "ListTagBindings" }, + "description": "ListTagBindings lists the TagBindings for the given Google Cloud resource, as specified\nwith `parent`.\n\nNOTE: The `parent` field is expected to be a full resource name: \nhttps: //cloud.google.com/apis/design/resource_names#full_resource_name", + "file": "TagBindingsClient/ListTagBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagBindings_ListTagBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListTagBindings Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagHolds_CreateTagHold_sync", - "title": "cloudresourcemanager CreateTagHold Sample", - "description": "CreateTagHold creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same\nresource and origin exists under the same TagValue.", - "file": "TagHoldsClient/CreateTagHold/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagHold", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient", + "shortName": "TagHoldsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient.CreateTagHold", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagHolds.CreateTagHold", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagHolds", + "shortName": "TagHolds" + }, + "shortName": "CreateTagHold" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateTagHoldRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateTagHoldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTagHoldOperation", - "client": { - "shortName": "TagHoldsClient", - "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient" - }, - "method": { - "shortName": "CreateTagHold", - "fullName": "google.cloud.resourcemanager.v3.TagHolds.CreateTagHold", - "service": { - "shortName": "TagHolds", - "fullName": "google.cloud.resourcemanager.v3.TagHolds" - } - } + "shortName": "CreateTagHold" }, + "description": "CreateTagHold creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same\nresource and origin exists under the same TagValue.", + "file": "TagHoldsClient/CreateTagHold/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagHolds_CreateTagHold_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateTagHold Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagHolds_DeleteTagHold_sync", - "title": "cloudresourcemanager DeleteTagHold Sample", - "description": "DeleteTagHold deletes a TagHold.", - "file": "TagHoldsClient/DeleteTagHold/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagHold", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient", + "shortName": "TagHoldsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient.DeleteTagHold", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagHolds.DeleteTagHold", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagHolds", + "shortName": "TagHolds" + }, + "shortName": "DeleteTagHold" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteTagHoldRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteTagHoldRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTagHoldOperation", - "client": { - "shortName": "TagHoldsClient", - "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient" - }, - "method": { - "shortName": "DeleteTagHold", - "fullName": "google.cloud.resourcemanager.v3.TagHolds.DeleteTagHold", - "service": { - "shortName": "TagHolds", - "fullName": "google.cloud.resourcemanager.v3.TagHolds" - } - } + "shortName": "DeleteTagHold" }, + "description": "DeleteTagHold deletes a TagHold.", + "file": "TagHoldsClient/DeleteTagHold/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagHolds_DeleteTagHold_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteTagHold Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagHolds_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TagHoldsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient", + "shortName": "TagHoldsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TagHoldsClient", - "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TagHoldsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagHolds_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagHolds_ListTagHolds_sync", - "title": "cloudresourcemanager ListTagHolds Sample", - "description": "ListTagHolds lists TagHolds under a TagValue.", - "file": "TagHoldsClient/ListTagHolds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTagHolds", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient", + "shortName": "TagHoldsClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient.ListTagHolds", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagHolds.ListTagHolds", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagHolds", + "shortName": "TagHolds" + }, + "shortName": "ListTagHolds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListTagHoldsRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListTagHoldsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagHoldIterator", - "client": { - "shortName": "TagHoldsClient", - "fullName": "google.cloud.resourcemanager.v3.TagHoldsClient" - }, - "method": { - "shortName": "ListTagHolds", - "fullName": "google.cloud.resourcemanager.v3.TagHolds.ListTagHolds", - "service": { - "shortName": "TagHolds", - "fullName": "google.cloud.resourcemanager.v3.TagHolds" - } - } + "shortName": "ListTagHolds" }, + "description": "ListTagHolds lists TagHolds under a TagValue.", + "file": "TagHoldsClient/ListTagHolds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagHolds_ListTagHolds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListTagHolds Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_CreateTagKey_sync", - "title": "cloudresourcemanager CreateTagKey Sample", - "description": "CreateTagKey creates a new TagKey. If another request with the same parameters is\nsent while the original request is in process, the second request\nwill receive an error. A maximum of 1000 TagKeys can exist under a parent\nat any given time.", - "file": "TagKeysClient/CreateTagKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagKey", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.CreateTagKey", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.CreateTagKey", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "CreateTagKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateTagKeyRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateTagKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTagKeyOperation", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "CreateTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.CreateTagKey", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "CreateTagKey" }, + "description": "CreateTagKey creates a new TagKey. If another request with the same parameters is\nsent while the original request is in process, the second request\nwill receive an error. A maximum of 1000 TagKeys can exist under a parent\nat any given time.", + "file": "TagKeysClient/CreateTagKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_CreateTagKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateTagKey Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_DeleteTagKey_sync", - "title": "cloudresourcemanager DeleteTagKey Sample", - "description": "DeleteTagKey deletes a TagKey. The TagKey cannot be deleted if it has any child\nTagValues.", - "file": "TagKeysClient/DeleteTagKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagKey", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.DeleteTagKey", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.DeleteTagKey", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "DeleteTagKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteTagKeyRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteTagKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTagKeyOperation", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "DeleteTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.DeleteTagKey", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "DeleteTagKey" }, + "description": "DeleteTagKey deletes a TagKey. The TagKey cannot be deleted if it has any child\nTagValues.", + "file": "TagKeysClient/DeleteTagKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_DeleteTagKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteTagKey Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetIamPolicy_sync", - "title": "cloudresourcemanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a TagKey. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the TagKey's resource name. For example, \"tagKeys/1234\".\nThe caller must have\n`cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on\nthe specified TagKey.", - "file": "TagKeysClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetIamPolicy", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a TagKey. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the TagKey's resource name. For example, \"tagKeys/1234\".\nThe caller must have\n`cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on\nthe specified TagKey.", + "file": "TagKeysClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetNamespacedTagKey_sync", - "title": "cloudresourcemanager GetNamespacedTagKey Sample", - "description": "GetNamespacedTagKey retrieves a TagKey by its namespaced name.\nThis method will return `PERMISSION_DENIED` if the key does not exist\nor the user does not have permission to view it.", - "file": "TagKeysClient/GetNamespacedTagKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNamespacedTagKey", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.GetNamespacedTagKey", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKey", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "GetNamespacedTagKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetNamespacedTagKeyRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetNamespacedTagKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.TagKey", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "GetNamespacedTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKey", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "GetNamespacedTagKey" }, + "description": "GetNamespacedTagKey retrieves a TagKey by its namespaced name.\nThis method will return `PERMISSION_DENIED` if the key does not exist\nor the user does not have permission to view it.", + "file": "TagKeysClient/GetNamespacedTagKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetNamespacedTagKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetNamespacedTagKey Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TagKeysClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TagKeysClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetTagKey_sync", - "title": "cloudresourcemanager GetTagKey Sample", - "description": "GetTagKey retrieves a TagKey. This method will return `PERMISSION_DENIED` if the\nkey does not exist or the user does not have permission to view it.", - "file": "TagKeysClient/GetTagKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTagKey", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.GetTagKey", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetTagKey", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "GetTagKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetTagKeyRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetTagKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.TagKey", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "GetTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetTagKey", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "GetTagKey" }, + "description": "GetTagKey retrieves a TagKey. This method will return `PERMISSION_DENIED` if the\nkey does not exist or the user does not have permission to view it.", + "file": "TagKeysClient/GetTagKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_GetTagKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetTagKey Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_ListTagKeys_sync", - "title": "cloudresourcemanager ListTagKeys Sample", - "description": "ListTagKeys lists all TagKeys for a parent resource.", - "file": "TagKeysClient/ListTagKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTagKeys", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.ListTagKeys", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.ListTagKeys", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "ListTagKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListTagKeysRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListTagKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagKeyIterator", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "ListTagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.ListTagKeys", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "ListTagKeys" }, + "description": "ListTagKeys lists all TagKeys for a parent resource.", + "file": "TagKeysClient/ListTagKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_ListTagKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListTagKeys Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_SetIamPolicy_sync", - "title": "cloudresourcemanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on a TagKey, replacing any existing\npolicy. The `resource` field should be the TagKey's resource name.\nFor example, \"tagKeys/1234\".\nThe caller must have `resourcemanager.tagKeys.setIamPolicy` permission\non the identified tagValue.", - "file": "TagKeysClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.SetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.SetIamPolicy", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on a TagKey, replacing any existing\npolicy. The `resource` field should be the TagKey's resource name.\nFor example, \"tagKeys/1234\".\nThe caller must have `resourcemanager.tagKeys.setIamPolicy` permission\non the identified tagValue.", + "file": "TagKeysClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_TestIamPermissions_sync", - "title": "cloudresourcemanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified TagKey.\nThe `resource` field should be the TagKey's resource name.\nFor example, \"tagKeys/1234\".\n\nThere are no permissions required for making this API call.", - "file": "TagKeysClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.TestIamPermissions", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.TestIamPermissions", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified TagKey.\nThe `resource` field should be the TagKey's resource name.\nFor example, \"tagKeys/1234\".\n\nThere are no permissions required for making this API call.", + "file": "TagKeysClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager TestIamPermissions Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagKeys_UpdateTagKey_sync", - "title": "cloudresourcemanager UpdateTagKey Sample", - "description": "UpdateTagKey updates the attributes of the TagKey resource.", - "file": "TagKeysClient/UpdateTagKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTagKey", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagKeysClient", + "shortName": "TagKeysClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagKeysClient.UpdateTagKey", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys.UpdateTagKey", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "shortName": "TagKeys" + }, + "shortName": "UpdateTagKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UpdateTagKeyRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UpdateTagKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTagKeyOperation", - "client": { - "shortName": "TagKeysClient", - "fullName": "google.cloud.resourcemanager.v3.TagKeysClient" - }, - "method": { - "shortName": "UpdateTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.UpdateTagKey", - "service": { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys" - } - } + "shortName": "UpdateTagKey" }, + "description": "UpdateTagKey updates the attributes of the TagKey resource.", + "file": "TagKeysClient/UpdateTagKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagKeys_UpdateTagKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UpdateTagKey Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_CreateTagValue_sync", - "title": "cloudresourcemanager CreateTagValue Sample", - "description": "CreateTagValue creates a TagValue as a child of the specified TagKey. If a another\nrequest with the same parameters is sent while the original request is in\nprocess the second request will receive an error. A maximum of 1000\nTagValues can exist under a TagKey at any given time.", - "file": "TagValuesClient/CreateTagValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTagValue", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.CreateTagValue", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.CreateTagValue", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "CreateTagValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.CreateTagValueRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.CreateTagValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTagValueOperation", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "CreateTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.CreateTagValue", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "CreateTagValue" }, + "description": "CreateTagValue creates a TagValue as a child of the specified TagKey. If a another\nrequest with the same parameters is sent while the original request is in\nprocess the second request will receive an error. A maximum of 1000\nTagValues can exist under a TagKey at any given time.", + "file": "TagValuesClient/CreateTagValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_CreateTagValue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager CreateTagValue Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_DeleteTagValue_sync", - "title": "cloudresourcemanager DeleteTagValue Sample", - "description": "DeleteTagValue deletes a TagValue. The TagValue cannot have any bindings when it is\ndeleted.", - "file": "TagValuesClient/DeleteTagValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTagValue", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.DeleteTagValue", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.DeleteTagValue", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "DeleteTagValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.DeleteTagValueRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.DeleteTagValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTagValueOperation", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "DeleteTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.DeleteTagValue", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "DeleteTagValue" }, + "description": "DeleteTagValue deletes a TagValue. The TagValue cannot have any bindings when it is\ndeleted.", + "file": "TagValuesClient/DeleteTagValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_DeleteTagValue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager DeleteTagValue Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetIamPolicy_sync", - "title": "cloudresourcemanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a TagValue. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the TagValue's resource name. For example: `tagValues/1234`.\nThe caller must have the\n`cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on\nthe identified TagValue to get the access control policy.", - "file": "TagValuesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.GetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagValues.GetIamPolicy", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a TagValue. The returned policy may be\nempty if no such policy or resource exists. The `resource` field should\nbe the TagValue's resource name. For example: `tagValues/1234`.\nThe caller must have the\n`cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on\nthe identified TagValue to get the access control policy.", + "file": "TagValuesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetNamespacedTagValue_sync", - "title": "cloudresourcemanager GetNamespacedTagValue Sample", - "description": "GetNamespacedTagValue retrieves a TagValue by its namespaced name.\nThis method will return `PERMISSION_DENIED` if the value does not exist\nor the user does not have permission to view it.", - "file": "TagValuesClient/GetNamespacedTagValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNamespacedTagValue", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.GetNamespacedTagValue", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.GetNamespacedTagValue", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "GetNamespacedTagValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetNamespacedTagValueRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetNamespacedTagValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.TagValue", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "GetNamespacedTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.GetNamespacedTagValue", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "GetNamespacedTagValue" }, + "description": "GetNamespacedTagValue retrieves a TagValue by its namespaced name.\nThis method will return `PERMISSION_DENIED` if the value does not exist\nor the user does not have permission to view it.", + "file": "TagValuesClient/GetNamespacedTagValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetNamespacedTagValue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetNamespacedTagValue Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetOperation_sync", - "title": "cloudresourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TagValuesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TagValuesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetOperation Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetTagValue_sync", - "title": "cloudresourcemanager GetTagValue Sample", - "description": "GetTagValue retrieves a TagValue. This method will return `PERMISSION_DENIED` if the\nvalue does not exist or the user does not have permission to view it.", - "file": "TagValuesClient/GetTagValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTagValue", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.GetTagValue", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.GetTagValue", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "GetTagValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.GetTagValueRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.GetTagValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*resourcemanagerpb.TagValue", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "GetTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.GetTagValue", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "GetTagValue" }, + "description": "GetTagValue retrieves a TagValue. This method will return `PERMISSION_DENIED` if the\nvalue does not exist or the user does not have permission to view it.", + "file": "TagValuesClient/GetTagValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_GetTagValue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager GetTagValue Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_ListTagValues_sync", - "title": "cloudresourcemanager ListTagValues Sample", - "description": "ListTagValues lists all TagValues for a specific TagKey.", - "file": "TagValuesClient/ListTagValues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTagValues", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.ListTagValues", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.ListTagValues", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "ListTagValues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.ListTagValuesRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.ListTagValuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TagValueIterator", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "ListTagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues.ListTagValues", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "ListTagValues" }, + "description": "ListTagValues lists all TagValues for a specific TagKey.", + "file": "TagValuesClient/ListTagValues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_ListTagValues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager ListTagValues Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_SetIamPolicy_sync", - "title": "cloudresourcemanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on a TagValue, replacing any existing\npolicy. The `resource` field should be the TagValue's resource name.\nFor example: `tagValues/1234`.\nThe caller must have `resourcemanager.tagValues.setIamPolicy` permission\non the identified tagValue.", - "file": "TagValuesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.SetIamPolicy", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagValues.SetIamPolicy", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on a TagValue, replacing any existing\npolicy. The `resource` field should be the TagValue's resource name.\nFor example: `tagValues/1234`.\nThe caller must have `resourcemanager.tagValues.setIamPolicy` permission\non the identified tagValue.", + "file": "TagValuesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager SetIamPolicy Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_TestIamPermissions_sync", - "title": "cloudresourcemanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified TagValue.\nThe `resource` field should be the TagValue's resource name. For example: \n`tagValues/1234`.\n\nThere are no permissions required for making this API call.", - "file": "TagValuesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.TestIamPermissions", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.TagValues.TestIamPermissions", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified TagValue.\nThe `resource` field should be the TagValue's resource name. For example: \n`tagValues/1234`.\n\nThere are no permissions required for making this API call.", + "file": "TagValuesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager TestIamPermissions Sample" }, { - "regionTag": "cloudresourcemanager_v3_generated_TagValues_UpdateTagValue_sync", - "title": "cloudresourcemanager UpdateTagValue Sample", - "description": "UpdateTagValue updates the attributes of the TagValue resource.", - "file": "TagValuesClient/UpdateTagValue/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTagValue", + "client": { + "fullName": "google.cloud.resourcemanager.v3.TagValuesClient", + "shortName": "TagValuesClient" + }, "fullName": "google.cloud.resourcemanager.v3.TagValuesClient.UpdateTagValue", + "method": { + "fullName": "google.cloud.resourcemanager.v3.TagValues.UpdateTagValue", + "service": { + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "TagValues" + }, + "shortName": "UpdateTagValue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "resourcemanagerpb.UpdateTagValueRequest", - "name": "req" + "name": "req", + "type": "resourcemanagerpb.UpdateTagValueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTagValueOperation", - "client": { - "shortName": "TagValuesClient", - "fullName": "google.cloud.resourcemanager.v3.TagValuesClient" - }, - "method": { - "shortName": "UpdateTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.UpdateTagValue", - "service": { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues" - } - } + "shortName": "UpdateTagValue" }, + "description": "UpdateTagValue updates the attributes of the TagValue resource.", + "file": "TagValuesClient/UpdateTagValue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudresourcemanager_v3_generated_TagValues_UpdateTagValue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudresourcemanager UpdateTagValue Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json b/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json index 3c453c45beff..d9df03182ff6 100644 --- a/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json +++ b/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json @@ -1,3782 +1,3782 @@ { "clientLibrary": { - "name": "cloud.google.com/go/retail/apiv2", - "version": "1.26.0", - "language": "GO", "apis": [ { "id": "google.cloud.retail.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/retail/apiv2", + "version": "1.26.0" }, "snippets": [ { - "regionTag": "retail_v2_generated_AnalyticsService_ExportAnalyticsMetrics_sync", - "title": "retail ExportAnalyticsMetrics Sample", - "description": "ExportAnalyticsMetrics exports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", - "file": "AnalyticsClient/ExportAnalyticsMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAnalyticsMetrics", + "client": { + "fullName": "google.cloud.retail.v2.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2.AnalyticsClient.ExportAnalyticsMetrics", + "method": { + "fullName": "google.cloud.retail.v2.AnalyticsService.ExportAnalyticsMetrics", + "service": { + "fullName": "google.cloud.retail.v2.AnalyticsService", + "shortName": "AnalyticsService" + }, + "shortName": "ExportAnalyticsMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportAnalyticsMetricsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportAnalyticsMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAnalyticsMetricsOperation", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2.AnalyticsClient" - }, - "method": { - "shortName": "ExportAnalyticsMetrics", - "fullName": "google.cloud.retail.v2.AnalyticsService.ExportAnalyticsMetrics", - "service": { - "shortName": "AnalyticsService", - "fullName": "google.cloud.retail.v2.AnalyticsService" - } - } + "shortName": "ExportAnalyticsMetrics" }, + "description": "ExportAnalyticsMetrics exports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", + "file": "AnalyticsClient/ExportAnalyticsMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_AnalyticsService_ExportAnalyticsMetrics_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportAnalyticsMetrics Sample" }, { - "regionTag": "retail_v2_generated_AnalyticsService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AnalyticsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2.AnalyticsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2.AnalyticsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AnalyticsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_AnalyticsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_AnalyticsService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AnalyticsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2.AnalyticsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2.AnalyticsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AnalyticsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_AnalyticsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_AddCatalogAttribute_sync", - "title": "retail AddCatalogAttribute Sample", - "description": "AddCatalogAttribute adds the specified\n[CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to the\n[AttributesConfig][google.cloud.retail.v2.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to add\nalready exists, an ALREADY_EXISTS error is returned.", - "file": "CatalogClient/AddCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.AddCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.AddCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "AddCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "AddCatalogAttribute", - "fullName": "google.cloud.retail.v2.CatalogService.AddCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "AddCatalogAttribute" }, + "description": "AddCatalogAttribute adds the specified\n[CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to the\n[AttributesConfig][google.cloud.retail.v2.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to add\nalready exists, an ALREADY_EXISTS error is returned.", + "file": "CatalogClient/AddCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_AddCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddCatalogAttribute Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_GetAttributesConfig_sync", - "title": "retail GetAttributesConfig Sample", - "description": "GetAttributesConfig gets an [AttributesConfig][google.cloud.retail.v2.AttributesConfig].", - "file": "CatalogClient/GetAttributesConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttributesConfig", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.GetAttributesConfig", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.GetAttributesConfig", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetAttributesConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetAttributesConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetAttributesConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "GetAttributesConfig", - "fullName": "google.cloud.retail.v2.CatalogService.GetAttributesConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "GetAttributesConfig" }, + "description": "GetAttributesConfig gets an [AttributesConfig][google.cloud.retail.v2.AttributesConfig].", + "file": "CatalogClient/GetAttributesConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_GetAttributesConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetAttributesConfig Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_GetCompletionConfig_sync", - "title": "retail GetCompletionConfig Sample", - "description": "GetCompletionConfig gets a [CompletionConfig][google.cloud.retail.v2.CompletionConfig].", - "file": "CatalogClient/GetCompletionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompletionConfig", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.GetCompletionConfig", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.GetCompletionConfig", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetCompletionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetCompletionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetCompletionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompletionConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "GetCompletionConfig", - "fullName": "google.cloud.retail.v2.CatalogService.GetCompletionConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "GetCompletionConfig" }, + "description": "GetCompletionConfig gets a [CompletionConfig][google.cloud.retail.v2.CompletionConfig].", + "file": "CatalogClient/GetCompletionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_GetCompletionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetCompletionConfig Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_GetDefaultBranch_sync", - "title": "retail GetDefaultBranch Sample", - "description": "GetDefaultBranch get which branch is currently default branch set by\n[CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]\nmethod under a specified parent catalog.", - "file": "CatalogClient/GetDefaultBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDefaultBranch", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.GetDefaultBranch", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.GetDefaultBranch", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetDefaultBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetDefaultBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetDefaultBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GetDefaultBranchResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "GetDefaultBranch", - "fullName": "google.cloud.retail.v2.CatalogService.GetDefaultBranch", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "GetDefaultBranch" }, + "description": "GetDefaultBranch get which branch is currently default branch set by\n[CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]\nmethod under a specified parent catalog.", + "file": "CatalogClient/GetDefaultBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_GetDefaultBranch_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetDefaultBranch Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_ListCatalogs_sync", - "title": "retail ListCatalogs Sample", - "description": "ListCatalogs lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with\nthe project.", - "file": "CatalogClient/ListCatalogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCatalogs", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.ListCatalogs", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.ListCatalogs", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListCatalogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListCatalogsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListCatalogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "ListCatalogs", - "fullName": "google.cloud.retail.v2.CatalogService.ListCatalogs", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "ListCatalogs" }, + "description": "ListCatalogs lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with\nthe project.", + "file": "CatalogClient/ListCatalogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_ListCatalogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListCatalogs Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_RemoveCatalogAttribute_sync", - "title": "retail RemoveCatalogAttribute Sample", - "description": "RemoveCatalogAttribute removes the specified\n[CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] from the\n[AttributesConfig][google.cloud.retail.v2.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to\nremove does not exist, a NOT_FOUND error is returned.", - "file": "CatalogClient/RemoveCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.RemoveCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.RemoveCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "RemoveCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "RemoveCatalogAttribute", - "fullName": "google.cloud.retail.v2.CatalogService.RemoveCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "RemoveCatalogAttribute" }, + "description": "RemoveCatalogAttribute removes the specified\n[CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] from the\n[AttributesConfig][google.cloud.retail.v2.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to\nremove does not exist, a NOT_FOUND error is returned.", + "file": "CatalogClient/RemoveCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_RemoveCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveCatalogAttribute Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_ReplaceCatalogAttribute_sync", - "title": "retail ReplaceCatalogAttribute Sample", - "description": "ReplaceCatalogAttribute replaces the specified\n[CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] in the\n[AttributesConfig][google.cloud.retail.v2.AttributesConfig] by updating the\ncatalog attribute with the same\n[CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key].\n\nIf the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to\nreplace does not exist, a NOT_FOUND error is returned.", - "file": "CatalogClient/ReplaceCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.ReplaceCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.ReplaceCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ReplaceCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ReplaceCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.ReplaceCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "ReplaceCatalogAttribute", - "fullName": "google.cloud.retail.v2.CatalogService.ReplaceCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "ReplaceCatalogAttribute" }, + "description": "ReplaceCatalogAttribute replaces the specified\n[CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] in the\n[AttributesConfig][google.cloud.retail.v2.AttributesConfig] by updating the\ncatalog attribute with the same\n[CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key].\n\nIf the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to\nreplace does not exist, a NOT_FOUND error is returned.", + "file": "CatalogClient/ReplaceCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_ReplaceCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ReplaceCatalogAttribute Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_SetDefaultBranch_sync", - "title": "retail SetDefaultBranch Sample", - "description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.", - "file": "CatalogClient/SetDefaultBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultBranch", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.SetDefaultBranch", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.SetDefaultBranch", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "SetDefaultBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SetDefaultBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.SetDefaultBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "SetDefaultBranch", - "fullName": "google.cloud.retail.v2.CatalogService.SetDefaultBranch", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "SetDefaultBranch" }, + "description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.", + "file": "CatalogClient/SetDefaultBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_SetDefaultBranch_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail SetDefaultBranch Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_UpdateAttributesConfig_sync", - "title": "retail UpdateAttributesConfig Sample", - "description": "UpdateAttributesConfig updates the [AttributesConfig][google.cloud.retail.v2.AttributesConfig].\n\nThe catalog attributes in the request will be updated in the catalog, or\ninserted if they do not exist. Existing catalog attributes not included in\nthe request will remain unchanged. Attributes that are assigned to\nproducts, but do not exist at the catalog level, are always included in the\nresponse. The product attribute is assigned default values for missing\ncatalog attribute fields, e.g., searchable and dynamic facetable options.", - "file": "CatalogClient/UpdateAttributesConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttributesConfig", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.UpdateAttributesConfig", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.UpdateAttributesConfig", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateAttributesConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateAttributesConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateAttributesConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "UpdateAttributesConfig", - "fullName": "google.cloud.retail.v2.CatalogService.UpdateAttributesConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "UpdateAttributesConfig" }, + "description": "UpdateAttributesConfig updates the [AttributesConfig][google.cloud.retail.v2.AttributesConfig].\n\nThe catalog attributes in the request will be updated in the catalog, or\ninserted if they do not exist. Existing catalog attributes not included in\nthe request will remain unchanged. Attributes that are assigned to\nproducts, but do not exist at the catalog level, are always included in the\nresponse. The product attribute is assigned default values for missing\ncatalog attribute fields, e.g., searchable and dynamic facetable options.", + "file": "CatalogClient/UpdateAttributesConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_UpdateAttributesConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateAttributesConfig Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_UpdateCatalog_sync", - "title": "retail UpdateCatalog Sample", - "description": "UpdateCatalog updates the [Catalog][google.cloud.retail.v2.Catalog]s.", - "file": "CatalogClient/UpdateCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCatalog", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.UpdateCatalog", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.UpdateCatalog", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateCatalogRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Catalog", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "UpdateCatalog", - "fullName": "google.cloud.retail.v2.CatalogService.UpdateCatalog", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "UpdateCatalog" }, + "description": "UpdateCatalog updates the [Catalog][google.cloud.retail.v2.Catalog]s.", + "file": "CatalogClient/UpdateCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_UpdateCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateCatalog Sample" }, { - "regionTag": "retail_v2_generated_CatalogService_UpdateCompletionConfig_sync", - "title": "retail UpdateCompletionConfig Sample", - "description": "UpdateCompletionConfig updates the [CompletionConfig][google.cloud.retail.v2.CompletionConfig]s.", - "file": "CatalogClient/UpdateCompletionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCompletionConfig", + "client": { + "fullName": "google.cloud.retail.v2.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2.CatalogClient.UpdateCompletionConfig", + "method": { + "fullName": "google.cloud.retail.v2.CatalogService.UpdateCompletionConfig", + "service": { + "fullName": "google.cloud.retail.v2.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCompletionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateCompletionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateCompletionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompletionConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2.CatalogClient" - }, - "method": { - "shortName": "UpdateCompletionConfig", - "fullName": "google.cloud.retail.v2.CatalogService.UpdateCompletionConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService" - } - } + "shortName": "UpdateCompletionConfig" }, + "description": "UpdateCompletionConfig updates the [CompletionConfig][google.cloud.retail.v2.CompletionConfig]s.", + "file": "CatalogClient/UpdateCompletionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CatalogService_UpdateCompletionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateCompletionConfig Sample" }, { - "regionTag": "retail_v2_generated_CompletionService_CompleteQuery_sync", - "title": "retail CompleteQuery Sample", - "description": "CompleteQuery completes the specified prefix with keyword suggestions.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.retail.v2.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.retail.v2.CompletionService.CompleteQuery", + "service": { + "fullName": "google.cloud.retail.v2.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "retailpb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.retail.v2.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2.CompletionService" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified prefix with keyword suggestions.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CompletionService_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CompleteQuery Sample" }, { - "regionTag": "retail_v2_generated_CompletionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CompletionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_CompletionService_ImportCompletionData_sync", - "title": "retail ImportCompletionData Sample", - "description": "ImportCompletionData bulk import of processed completion dataset.\n\nRequest processing is asynchronous. Partial updating is not supported.\n\nThe operation is successfully finished only after the imported suggestions\nare indexed successfully and ready for serving. The process takes hours.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "CompletionClient/ImportCompletionData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCompletionData", + "client": { + "fullName": "google.cloud.retail.v2.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2.CompletionClient.ImportCompletionData", + "method": { + "fullName": "google.cloud.retail.v2.CompletionService.ImportCompletionData", + "service": { + "fullName": "google.cloud.retail.v2.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportCompletionData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportCompletionDataRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportCompletionDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCompletionDataOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2.CompletionClient" - }, - "method": { - "shortName": "ImportCompletionData", - "fullName": "google.cloud.retail.v2.CompletionService.ImportCompletionData", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2.CompletionService" - } - } + "shortName": "ImportCompletionData" }, + "description": "ImportCompletionData bulk import of processed completion dataset.\n\nRequest processing is asynchronous. Partial updating is not supported.\n\nThe operation is successfully finished only after the imported suggestions\nare indexed successfully and ready for serving. The process takes hours.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "CompletionClient/ImportCompletionData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CompletionService_ImportCompletionData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportCompletionData Sample" }, { - "regionTag": "retail_v2_generated_CompletionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2.CompletionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2.CompletionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_CompletionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_ControlService_CreateControl_sync", - "title": "retail CreateControl Sample", - "description": "CreateControl creates a Control.\n\nIf the [Control][google.cloud.retail.v2.Control] to create already exists,\nan ALREADY_EXISTS error is returned.", - "file": "ControlClient/CreateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateControl", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.CreateControl", + "method": { + "fullName": "google.cloud.retail.v2.ControlService.CreateControl", + "service": { + "fullName": "google.cloud.retail.v2.ControlService", + "shortName": "ControlService" + }, + "shortName": "CreateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.retail.v2.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2.ControlService" - } - } + "shortName": "CreateControl" }, + "description": "CreateControl creates a Control.\n\nIf the [Control][google.cloud.retail.v2.Control] to create already exists,\nan ALREADY_EXISTS error is returned.", + "file": "ControlClient/CreateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_CreateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateControl Sample" }, { - "regionTag": "retail_v2_generated_ControlService_DeleteControl_sync", - "title": "retail DeleteControl Sample", - "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.retail.v2.Control] to delete does not exist,\na NOT_FOUND error is returned.", - "file": "ControlClient/DeleteControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteControl", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.DeleteControl", + "method": { + "fullName": "google.cloud.retail.v2.ControlService.DeleteControl", + "service": { + "fullName": "google.cloud.retail.v2.ControlService", + "shortName": "ControlService" + }, + "shortName": "DeleteControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.retail.v2.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2.ControlService" - } - } + "shortName": "DeleteControl" }, + "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.retail.v2.Control] to delete does not exist,\na NOT_FOUND error is returned.", + "file": "ControlClient/DeleteControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_DeleteControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteControl Sample" }, { - "regionTag": "retail_v2_generated_ControlService_GetControl_sync", - "title": "retail GetControl Sample", - "description": "GetControl gets a Control.", - "file": "ControlClient/GetControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetControl", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.GetControl", + "method": { + "fullName": "google.cloud.retail.v2.ControlService.GetControl", + "service": { + "fullName": "google.cloud.retail.v2.ControlService", + "shortName": "ControlService" + }, + "shortName": "GetControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.retail.v2.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2.ControlService" - } - } + "shortName": "GetControl" }, + "description": "GetControl gets a Control.", + "file": "ControlClient/GetControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_GetControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetControl Sample" }, { - "regionTag": "retail_v2_generated_ControlService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_ControlService_ListControls_sync", - "title": "retail ListControls Sample", - "description": "ListControls lists all Controls by their parent\n[Catalog][google.cloud.retail.v2.Catalog].", - "file": "ControlClient/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.ListControls", + "method": { + "fullName": "google.cloud.retail.v2.ControlService.ListControls", + "service": { + "fullName": "google.cloud.retail.v2.ControlService", + "shortName": "ControlService" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.retail.v2.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2.ControlService" - } - } + "shortName": "ListControls" }, + "description": "ListControls lists all Controls by their parent\n[Catalog][google.cloud.retail.v2.Catalog].", + "file": "ControlClient/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListControls Sample" }, { - "regionTag": "retail_v2_generated_ControlService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_ControlService_UpdateControl_sync", - "title": "retail UpdateControl Sample", - "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.retail.v2.Control] cannot be set to a different\noneof field, if so an INVALID_ARGUMENT is returned. If the\n[Control][google.cloud.retail.v2.Control] to update does not exist, a\nNOT_FOUND error is returned.", - "file": "ControlClient/UpdateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateControl", + "client": { + "fullName": "google.cloud.retail.v2.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2.ControlClient.UpdateControl", + "method": { + "fullName": "google.cloud.retail.v2.ControlService.UpdateControl", + "service": { + "fullName": "google.cloud.retail.v2.ControlService", + "shortName": "ControlService" + }, + "shortName": "UpdateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2.ControlClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.retail.v2.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2.ControlService" - } - } + "shortName": "UpdateControl" }, + "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.retail.v2.Control] cannot be set to a different\noneof field, if so an INVALID_ARGUMENT is returned. If the\n[Control][google.cloud.retail.v2.Control] to update does not exist, a\nNOT_FOUND error is returned.", + "file": "ControlClient/UpdateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ControlService_UpdateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateControl Sample" }, { - "regionTag": "retail_v2_generated_ConversationalSearchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.retail.v2.ConversationalSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.retail.v2.ConversationalSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ConversationalSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_ConversationalSearchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.retail.v2.ConversationalSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.retail.v2.ConversationalSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ConversationalSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync", - "title": "retail BatchUpdateGenerativeQuestionConfigs Sample", - "description": "BatchUpdateGenerativeQuestionConfigs allows management of multiple questions.", - "file": "GenerativeQuestionClient/BatchUpdateGenerativeQuestionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateGenerativeQuestionConfigs", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.BatchUpdateGenerativeQuestionConfigs", + "method": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs", + "service": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "BatchUpdateGenerativeQuestionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.BatchUpdateGenerativeQuestionConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.BatchUpdateGenerativeQuestionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.BatchUpdateGenerativeQuestionConfigsResponse", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "BatchUpdateGenerativeQuestionConfigs", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService" - } - } + "shortName": "BatchUpdateGenerativeQuestionConfigs" }, + "description": "BatchUpdateGenerativeQuestionConfigs allows management of multiple questions.", + "file": "GenerativeQuestionClient/BatchUpdateGenerativeQuestionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail BatchUpdateGenerativeQuestionConfigs Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_sync", - "title": "retail GetGenerativeQuestionsFeatureConfig Sample", - "description": "GetGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", - "file": "GenerativeQuestionClient/GetGenerativeQuestionsFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerativeQuestionsFeatureConfig", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.GetGenerativeQuestionsFeatureConfig", + "method": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig", + "service": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "GetGenerativeQuestionsFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetGenerativeQuestionsFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetGenerativeQuestionsFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionsFeatureConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "GetGenerativeQuestionsFeatureConfig", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService" - } - } + "shortName": "GetGenerativeQuestionsFeatureConfig" }, + "description": "GetGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", + "file": "GenerativeQuestionClient/GetGenerativeQuestionsFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetGenerativeQuestionsFeatureConfig Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeQuestionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeQuestionClient/GetOperation/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_GetOperation_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_ListGenerativeQuestionConfigs_sync", - "title": "retail ListGenerativeQuestionConfigs Sample", - "description": "ListGenerativeQuestionConfigs returns all questions for a given catalog.", - "file": "GenerativeQuestionClient/ListGenerativeQuestionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerativeQuestionConfigs", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.ListGenerativeQuestionConfigs", + "method": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService.ListGenerativeQuestionConfigs", + "service": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "ListGenerativeQuestionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListGenerativeQuestionConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListGenerativeQuestionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ListGenerativeQuestionConfigsResponse", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "ListGenerativeQuestionConfigs", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService.ListGenerativeQuestionConfigs", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService" - } - } + "shortName": "ListGenerativeQuestionConfigs" }, + "description": "ListGenerativeQuestionConfigs returns all questions for a given catalog.", + "file": "GenerativeQuestionClient/ListGenerativeQuestionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_ListGenerativeQuestionConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListGenerativeQuestionConfigs Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenerativeQuestionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenerativeQuestionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_UpdateGenerativeQuestionConfig_sync", - "title": "retail UpdateGenerativeQuestionConfig Sample", - "description": "UpdateGenerativeQuestionConfig allows management of individual questions.", - "file": "GenerativeQuestionClient/UpdateGenerativeQuestionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeQuestionConfig", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.UpdateGenerativeQuestionConfig", + "method": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService.UpdateGenerativeQuestionConfig", + "service": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "UpdateGenerativeQuestionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateGenerativeQuestionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateGenerativeQuestionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "UpdateGenerativeQuestionConfig", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService.UpdateGenerativeQuestionConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService" - } - } + "shortName": "UpdateGenerativeQuestionConfig" }, + "description": "UpdateGenerativeQuestionConfig allows management of individual questions.", + "file": "GenerativeQuestionClient/UpdateGenerativeQuestionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_UpdateGenerativeQuestionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateGenerativeQuestionConfig Sample" }, { - "regionTag": "retail_v2_generated_GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_sync", - "title": "retail UpdateGenerativeQuestionsFeatureConfig Sample", - "description": "UpdateGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", - "file": "GenerativeQuestionClient/UpdateGenerativeQuestionsFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeQuestionsFeatureConfig", + "client": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2.GenerativeQuestionClient.UpdateGenerativeQuestionsFeatureConfig", + "method": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig", + "service": { + "fullName": "google.cloud.retail.v2.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "UpdateGenerativeQuestionsFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateGenerativeQuestionsFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateGenerativeQuestionsFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionsFeatureConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2.GenerativeQuestionClient" - }, - "method": { - "shortName": "UpdateGenerativeQuestionsFeatureConfig", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2.GenerativeQuestionService" - } - } + "shortName": "UpdateGenerativeQuestionsFeatureConfig" }, + "description": "UpdateGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", + "file": "GenerativeQuestionClient/UpdateGenerativeQuestionsFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateGenerativeQuestionsFeatureConfig Sample" }, { - "regionTag": "retail_v2_generated_ModelService_CreateModel_sync", - "title": "retail CreateModel Sample", - "description": "CreateModel creates a new model.", - "file": "ModelClient/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.CreateModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.CreateModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.retail.v2.ModelService.CreateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a new model.", + "file": "ModelClient/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateModel Sample" }, { - "regionTag": "retail_v2_generated_ModelService_DeleteModel_sync", - "title": "retail DeleteModel Sample", - "description": "DeleteModel deletes an existing model.", - "file": "ModelClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.DeleteModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.DeleteModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.retail.v2.ModelService.DeleteModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes an existing model.", + "file": "ModelClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteModel Sample" }, { - "regionTag": "retail_v2_generated_ModelService_GetModel_sync", - "title": "retail GetModel Sample", - "description": "GetModel gets a model.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.GetModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.GetModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.retail.v2.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetModel Sample" }, { - "regionTag": "retail_v2_generated_ModelService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_ModelService_ListModels_sync", - "title": "retail ListModels Sample", - "description": "ListModels lists all the models linked to this event store.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.ListModels", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.ListModels", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.retail.v2.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists all the models linked to this event store.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListModels Sample" }, { - "regionTag": "retail_v2_generated_ModelService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_ModelService_PauseModel_sync", - "title": "retail PauseModel Sample", - "description": "PauseModel pauses the training of an existing model.", - "file": "ModelClient/PauseModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.PauseModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.PauseModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "PauseModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PauseModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.PauseModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "PauseModel", - "fullName": "google.cloud.retail.v2.ModelService.PauseModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "PauseModel" }, + "description": "PauseModel pauses the training of an existing model.", + "file": "ModelClient/PauseModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_PauseModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PauseModel Sample" }, { - "regionTag": "retail_v2_generated_ModelService_ResumeModel_sync", - "title": "retail ResumeModel Sample", - "description": "ResumeModel resumes the training of an existing model.", - "file": "ModelClient/ResumeModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.ResumeModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.ResumeModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "ResumeModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ResumeModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.ResumeModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "ResumeModel", - "fullName": "google.cloud.retail.v2.ModelService.ResumeModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "ResumeModel" }, + "description": "ResumeModel resumes the training of an existing model.", + "file": "ModelClient/ResumeModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_ResumeModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ResumeModel Sample" }, { - "regionTag": "retail_v2_generated_ModelService_TuneModel_sync", - "title": "retail TuneModel Sample", - "description": "TuneModel tunes an existing model.", - "file": "ModelClient/TuneModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "TuneModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.TuneModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.TuneModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "TuneModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.TuneModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.TuneModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuneModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "TuneModel", - "fullName": "google.cloud.retail.v2.ModelService.TuneModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "TuneModel" }, + "description": "TuneModel tunes an existing model.", + "file": "ModelClient/TuneModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_TuneModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail TuneModel Sample" }, { - "regionTag": "retail_v2_generated_ModelService_UpdateModel_sync", - "title": "retail UpdateModel Sample", - "description": "UpdateModel update of model metadata. Only fields that\ncurrently can be updated are: `filtering_option` and\n`periodic_tuning_state`.\nIf other values are provided, this API method ignores them.", - "file": "ModelClient/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", + "client": { + "fullName": "google.cloud.retail.v2.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2.ModelClient.UpdateModel", + "method": { + "fullName": "google.cloud.retail.v2.ModelService.UpdateModel", + "service": { + "fullName": "google.cloud.retail.v2.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2.ModelClient" - }, - "method": { - "shortName": "UpdateModel", - "fullName": "google.cloud.retail.v2.ModelService.UpdateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2.ModelService" - } - } + "shortName": "UpdateModel" }, + "description": "UpdateModel update of model metadata. Only fields that\ncurrently can be updated are: `filtering_option` and\n`periodic_tuning_state`.\nIf other values are provided, this API method ignores them.", + "file": "ModelClient/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ModelService_UpdateModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateModel Sample" }, { - "regionTag": "retail_v2_generated_PredictionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_PredictionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_PredictionService_Predict_sync", - "title": "retail Predict Sample", - "description": "Predict makes a recommendation prediction.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.retail.v2.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.retail.v2.PredictionService.Predict", + "service": { + "fullName": "google.cloud.retail.v2.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PredictRequest", - "name": "req" + "name": "req", + "type": "retailpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.retail.v2.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.retail.v2.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict makes a recommendation prediction.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail Predict Sample" }, { - "regionTag": "retail_v2_generated_ProductService_AddFulfillmentPlaces_sync", - "title": "retail AddFulfillmentPlaces Sample", - "description": "AddFulfillmentPlaces we recommend that you use the\n[ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]\nmethod instead of the\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]\nmethod.\n[ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally adds place IDs to\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the added place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/AddFulfillmentPlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddFulfillmentPlaces", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.AddFulfillmentPlaces", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.AddFulfillmentPlaces", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "AddFulfillmentPlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddFulfillmentPlacesRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddFulfillmentPlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddFulfillmentPlacesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "AddFulfillmentPlaces", - "fullName": "google.cloud.retail.v2.ProductService.AddFulfillmentPlaces", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "AddFulfillmentPlaces" }, + "description": "AddFulfillmentPlaces we recommend that you use the\n[ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]\nmethod instead of the\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]\nmethod.\n[ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally adds place IDs to\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the added place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/AddFulfillmentPlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_AddFulfillmentPlaces_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddFulfillmentPlaces Sample" }, { - "regionTag": "retail_v2_generated_ProductService_AddLocalInventories_sync", - "title": "retail AddLocalInventories Sample", - "description": "AddLocalInventories updates local inventory information for a\n[Product][google.cloud.retail.v2.Product] at a list of places, while\nrespecting the last update timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\ninventory information. If the request is valid, the update will be enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nLocal inventory information can only be modified using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/AddLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddLocalInventories", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.AddLocalInventories", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.AddLocalInventories", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "AddLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddLocalInventoriesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "AddLocalInventories", - "fullName": "google.cloud.retail.v2.ProductService.AddLocalInventories", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "AddLocalInventories" }, + "description": "AddLocalInventories updates local inventory information for a\n[Product][google.cloud.retail.v2.Product] at a list of places, while\nrespecting the last update timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\ninventory information. If the request is valid, the update will be enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nLocal inventory information can only be modified using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/AddLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_AddLocalInventories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddLocalInventories Sample" }, { - "regionTag": "retail_v2_generated_ProductService_CreateProduct_sync", - "title": "retail CreateProduct Sample", - "description": "CreateProduct creates a [Product][google.cloud.retail.v2.Product].", - "file": "ProductClient/CreateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProduct", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.CreateProduct", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.CreateProduct", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "CreateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "CreateProduct", - "fullName": "google.cloud.retail.v2.ProductService.CreateProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "CreateProduct" }, + "description": "CreateProduct creates a [Product][google.cloud.retail.v2.Product].", + "file": "ProductClient/CreateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_CreateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateProduct Sample" }, { - "regionTag": "retail_v2_generated_ProductService_DeleteProduct_sync", - "title": "retail DeleteProduct Sample", - "description": "DeleteProduct deletes a [Product][google.cloud.retail.v2.Product].", - "file": "ProductClient/DeleteProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProduct", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.DeleteProduct", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.DeleteProduct", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "DeleteProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "DeleteProduct", - "fullName": "google.cloud.retail.v2.ProductService.DeleteProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "DeleteProduct" }, + "description": "DeleteProduct deletes a [Product][google.cloud.retail.v2.Product].", + "file": "ProductClient/DeleteProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_DeleteProduct_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteProduct Sample" }, { - "regionTag": "retail_v2_generated_ProductService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProductClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProductClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_ProductService_GetProduct_sync", - "title": "retail GetProduct Sample", - "description": "GetProduct gets a [Product][google.cloud.retail.v2.Product].", - "file": "ProductClient/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.GetProduct", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.GetProduct", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.cloud.retail.v2.ProductService.GetProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct gets a [Product][google.cloud.retail.v2.Product].", + "file": "ProductClient/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetProduct Sample" }, { - "regionTag": "retail_v2_generated_ProductService_ImportProducts_sync", - "title": "retail ImportProducts Sample", - "description": "ImportProducts bulk import of multiple [Product][google.cloud.retail.v2.Product]s.\n\nRequest processing may be synchronous.\nNon-existing items are created.\n\nNote that it is possible for a subset of the\n[Product][google.cloud.retail.v2.Product]s to be successfully updated.", - "file": "ProductClient/ImportProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportProducts", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.ImportProducts", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.ImportProducts", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "ImportProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "ImportProducts", - "fullName": "google.cloud.retail.v2.ProductService.ImportProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "ImportProducts" }, + "description": "ImportProducts bulk import of multiple [Product][google.cloud.retail.v2.Product]s.\n\nRequest processing may be synchronous.\nNon-existing items are created.\n\nNote that it is possible for a subset of the\n[Product][google.cloud.retail.v2.Product]s to be successfully updated.", + "file": "ProductClient/ImportProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_ImportProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportProducts Sample" }, { - "regionTag": "retail_v2_generated_ProductService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProductClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProductClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_ProductService_ListProducts_sync", - "title": "retail ListProducts Sample", - "description": "ListProducts gets a list of [Product][google.cloud.retail.v2.Product]s.", - "file": "ProductClient/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.ListProducts", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.ListProducts", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.cloud.retail.v2.ProductService.ListProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts gets a list of [Product][google.cloud.retail.v2.Product]s.", + "file": "ProductClient/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListProducts Sample" }, { - "regionTag": "retail_v2_generated_ProductService_PurgeProducts_sync", - "title": "retail PurgeProducts Sample", - "description": "PurgeProducts permanently deletes all selected [Product][google.cloud.retail.v2.Product]s\nunder a branch.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed offline. Depending on the number of\n[Product][google.cloud.retail.v2.Product]s, this operation could take hours\nto complete. Before the operation completes, some\n[Product][google.cloud.retail.v2.Product]s may still be returned by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nDepending on the number of [Product][google.cloud.retail.v2.Product]s, this\noperation could take hours to complete. To get a sample of\n[Product][google.cloud.retail.v2.Product]s that would be deleted, set\n[PurgeProductsRequest.force][google.cloud.retail.v2.PurgeProductsRequest.force]\nto false.", - "file": "ProductClient/PurgeProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeProducts", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.PurgeProducts", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.PurgeProducts", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "PurgeProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PurgeProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.PurgeProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "PurgeProducts", - "fullName": "google.cloud.retail.v2.ProductService.PurgeProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "PurgeProducts" }, + "description": "PurgeProducts permanently deletes all selected [Product][google.cloud.retail.v2.Product]s\nunder a branch.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed offline. Depending on the number of\n[Product][google.cloud.retail.v2.Product]s, this operation could take hours\nto complete. Before the operation completes, some\n[Product][google.cloud.retail.v2.Product]s may still be returned by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nDepending on the number of [Product][google.cloud.retail.v2.Product]s, this\noperation could take hours to complete. To get a sample of\n[Product][google.cloud.retail.v2.Product]s that would be deleted, set\n[PurgeProductsRequest.force][google.cloud.retail.v2.PurgeProductsRequest.force]\nto false.", + "file": "ProductClient/PurgeProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_PurgeProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PurgeProducts Sample" }, { - "regionTag": "retail_v2_generated_ProductService_RemoveFulfillmentPlaces_sync", - "title": "retail RemoveFulfillmentPlaces Sample", - "description": "RemoveFulfillmentPlaces we recommend that you use the\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]\nmethod instead of the\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]\nmethod.\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally removes place IDs from a\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the removed place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/RemoveFulfillmentPlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveFulfillmentPlaces", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.RemoveFulfillmentPlaces", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "RemoveFulfillmentPlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveFulfillmentPlacesRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveFulfillmentPlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveFulfillmentPlacesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "RemoveFulfillmentPlaces", - "fullName": "google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "RemoveFulfillmentPlaces" }, + "description": "RemoveFulfillmentPlaces we recommend that you use the\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]\nmethod instead of the\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]\nmethod.\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally removes place IDs from a\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the removed place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/RemoveFulfillmentPlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_RemoveFulfillmentPlaces_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveFulfillmentPlaces Sample" }, { - "regionTag": "retail_v2_generated_ProductService_RemoveLocalInventories_sync", - "title": "retail RemoveLocalInventories Sample", - "description": "RemoveLocalInventories remove local inventory information for a\n[Product][google.cloud.retail.v2.Product] at a list of places at a removal\ntimestamp.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, removals are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nLocal inventory information can only be removed using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/RemoveLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveLocalInventories", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.RemoveLocalInventories", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.RemoveLocalInventories", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "RemoveLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "RemoveLocalInventoriesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "RemoveLocalInventories", - "fullName": "google.cloud.retail.v2.ProductService.RemoveLocalInventories", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "RemoveLocalInventoriesOperation", + "shortName": "RemoveLocalInventories" }, + "description": "RemoveLocalInventories remove local inventory information for a\n[Product][google.cloud.retail.v2.Product] at a list of places at a removal\ntimestamp.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, removals are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nLocal inventory information can only be removed using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/RemoveLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_RemoveLocalInventories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveLocalInventories Sample" }, { - "regionTag": "retail_v2_generated_ProductService_SetInventory_sync", - "title": "retail SetInventory Sample", - "description": "SetInventory updates inventory information for a\n[Product][google.cloud.retail.v2.Product] while respecting the last update\ntimestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\nfulfillment information. If the request is valid, the update is enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nWhen inventory is updated with\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct],\nthe specified inventory field value(s) overwrite any existing value(s)\nwhile ignoring the last update time for this field. Furthermore, the last\nupdate times for the specified inventory fields are overwritten by the\ntimes of the\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nor\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]\nrequest.\n\nIf no inventory fields are set in\n[CreateProductRequest.product][google.cloud.retail.v2.CreateProductRequest.product],\nthen any pre-existing inventory information for this product is used.\n\nIf no inventory fields are set in\n[SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask],\nthen any existing inventory information is preserved.\n\nPre-existing inventory information can only be updated with\n[ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory],\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces],\nand\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces].\n\nThe returned [Operation][google.longrunning.Operation]s is obsolete after\none day, and the [GetOperation][google.longrunning.Operations.GetOperation]\nAPI returns `NOT_FOUND` afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates are not marked as [done][google.longrunning.Operation.done] until\nthey are obsolete.", - "file": "ProductClient/SetInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInventory", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.SetInventory", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.SetInventory", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "SetInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SetInventoryRequest", - "name": "req" + "name": "req", + "type": "retailpb.SetInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInventoryOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "SetInventory", - "fullName": "google.cloud.retail.v2.ProductService.SetInventory", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "SetInventory" }, + "description": "SetInventory updates inventory information for a\n[Product][google.cloud.retail.v2.Product] while respecting the last update\ntimestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2.Product] to exist before updating\nfulfillment information. If the request is valid, the update is enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].\n\nWhen inventory is updated with\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct],\nthe specified inventory field value(s) overwrite any existing value(s)\nwhile ignoring the last update time for this field. Furthermore, the last\nupdate times for the specified inventory fields are overwritten by the\ntimes of the\n[ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]\nor\n[ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]\nrequest.\n\nIf no inventory fields are set in\n[CreateProductRequest.product][google.cloud.retail.v2.CreateProductRequest.product],\nthen any pre-existing inventory information for this product is used.\n\nIf no inventory fields are set in\n[SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask],\nthen any existing inventory information is preserved.\n\nPre-existing inventory information can only be updated with\n[ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory],\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces],\nand\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces].\n\nThe returned [Operation][google.longrunning.Operation]s is obsolete after\none day, and the [GetOperation][google.longrunning.Operations.GetOperation]\nAPI returns `NOT_FOUND` afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates are not marked as [done][google.longrunning.Operation.done] until\nthey are obsolete.", + "file": "ProductClient/SetInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_SetInventory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail SetInventory Sample" }, { - "regionTag": "retail_v2_generated_ProductService_UpdateProduct_sync", - "title": "retail UpdateProduct Sample", - "description": "UpdateProduct updates a [Product][google.cloud.retail.v2.Product].", - "file": "ProductClient/UpdateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProduct", + "client": { + "fullName": "google.cloud.retail.v2.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2.ProductClient.UpdateProduct", + "method": { + "fullName": "google.cloud.retail.v2.ProductService.UpdateProduct", + "service": { + "fullName": "google.cloud.retail.v2.ProductService", + "shortName": "ProductService" + }, + "shortName": "UpdateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2.ProductClient" - }, - "method": { - "shortName": "UpdateProduct", - "fullName": "google.cloud.retail.v2.ProductService.UpdateProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService" - } - } + "shortName": "UpdateProduct" }, + "description": "UpdateProduct updates a [Product][google.cloud.retail.v2.Product].", + "file": "ProductClient/UpdateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ProductService_UpdateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateProduct Sample" }, { - "regionTag": "retail_v2_generated_SearchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2.SearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2.SearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_SearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_SearchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2.SearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2.SearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_SearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_SearchService_Search_sync", - "title": "retail Search Sample", - "description": "Search performs a search.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "SearchClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.cloud.retail.v2.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2.SearchClient.Search", + "method": { + "fullName": "google.cloud.retail.v2.SearchService.Search", + "service": { + "fullName": "google.cloud.retail.v2.SearchService", + "shortName": "SearchService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SearchRequest", - "name": "req" + "name": "req", + "type": "retailpb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2.SearchClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.retail.v2.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.retail.v2.SearchService" - } - } + "shortName": "Search" }, + "description": "Search performs a search.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "SearchClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_SearchService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail Search Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_AddControl_sync", - "title": "retail AddControl Sample", - "description": "AddControl enables a Control on the specified ServingConfig.\nThe control is added in the last position of the list of controls\nit belongs to (e.g. if it's a facet spec control it will be applied\nin the last position of servingConfig.facetSpecIds)\nReturns a ALREADY_EXISTS error if the control has already been applied.\nReturns a FAILED_PRECONDITION error if the addition could exceed maximum\nnumber of control allowed for that type of control.", - "file": "ServingConfigClient/AddControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddControl", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.AddControl", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.AddControl", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "AddControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "AddControl", - "fullName": "google.cloud.retail.v2.ServingConfigService.AddControl", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "AddControl" }, + "description": "AddControl enables a Control on the specified ServingConfig.\nThe control is added in the last position of the list of controls\nit belongs to (e.g. if it's a facet spec control it will be applied\nin the last position of servingConfig.facetSpecIds)\nReturns a ALREADY_EXISTS error if the control has already been applied.\nReturns a FAILED_PRECONDITION error if the addition could exceed maximum\nnumber of control allowed for that type of control.", + "file": "ServingConfigClient/AddControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_AddControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddControl Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_CreateServingConfig_sync", - "title": "retail CreateServingConfig Sample", - "description": "CreateServingConfig creates a ServingConfig.\n\nA maximum of 100 [ServingConfig][google.cloud.retail.v2.ServingConfig]s are\nallowed in a [Catalog][google.cloud.retail.v2.Catalog], otherwise a\nFAILED_PRECONDITION error is returned.", - "file": "ServingConfigClient/CreateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServingConfig", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.CreateServingConfig", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.CreateServingConfig", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "CreateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "CreateServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.CreateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "CreateServingConfig" }, + "description": "CreateServingConfig creates a ServingConfig.\n\nA maximum of 100 [ServingConfig][google.cloud.retail.v2.ServingConfig]s are\nallowed in a [Catalog][google.cloud.retail.v2.Catalog], otherwise a\nFAILED_PRECONDITION error is returned.", + "file": "ServingConfigClient/CreateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_CreateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateServingConfig Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_DeleteServingConfig_sync", - "title": "retail DeleteServingConfig Sample", - "description": "DeleteServingConfig deletes a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/DeleteServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServingConfig", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.DeleteServingConfig", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.DeleteServingConfig", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "DeleteServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "DeleteServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.DeleteServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "DeleteServingConfig" }, + "description": "DeleteServingConfig deletes a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/DeleteServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_DeleteServingConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteServingConfig Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_GetServingConfig_sync", - "title": "retail GetServingConfig Sample", - "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/GetServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServingConfig", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.GetServingConfig", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.GetServingConfig", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "GetServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "GetServingConfig" }, + "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/GetServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_GetServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetServingConfig Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_ListServingConfigs_sync", - "title": "retail ListServingConfigs Sample", - "description": "ListServingConfigs lists all ServingConfigs linked to this catalog.", - "file": "ServingConfigClient/ListServingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServingConfigs", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.ListServingConfigs", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.ListServingConfigs", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "ListServingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListServingConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListServingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServingConfigIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.retail.v2.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "ListServingConfigs" }, + "description": "ListServingConfigs lists all ServingConfigs linked to this catalog.", + "file": "ServingConfigClient/ListServingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_ListServingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListServingConfigs Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_RemoveControl_sync", - "title": "retail RemoveControl Sample", - "description": "RemoveControl disables a Control on the specified ServingConfig.\nThe control is removed from the ServingConfig.\nReturns a NOT_FOUND error if the Control is not enabled for the\nServingConfig.", - "file": "ServingConfigClient/RemoveControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveControl", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.RemoveControl", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.RemoveControl", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "RemoveControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "RemoveControl", - "fullName": "google.cloud.retail.v2.ServingConfigService.RemoveControl", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "RemoveControl" }, + "description": "RemoveControl disables a Control on the specified ServingConfig.\nThe control is removed from the ServingConfig.\nReturns a NOT_FOUND error if the Control is not enabled for the\nServingConfig.", + "file": "ServingConfigClient/RemoveControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_RemoveControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveControl Sample" }, { - "regionTag": "retail_v2_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "retail UpdateServingConfig Sample", - "description": "UpdateServingConfig updates a ServingConfig.", - "file": "ServingConfigClient/UpdateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServingConfig", + "client": { + "fullName": "google.cloud.retail.v2.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2.ServingConfigClient.UpdateServingConfig", + "method": { + "fullName": "google.cloud.retail.v2.ServingConfigService.UpdateServingConfig", + "service": { + "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "UpdateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2.ServingConfigClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService" - } - } + "shortName": "UpdateServingConfig" }, + "description": "UpdateServingConfig updates a ServingConfig.", + "file": "ServingConfigClient/UpdateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_ServingConfigService_UpdateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateServingConfig Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_CollectUserEvent_sync", - "title": "retail CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.retail.v2.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.retail.v2.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "retailpb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.retail.v2.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CollectUserEvent Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_ImportUserEvents_sync", - "title": "retail ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\n`Operation.response` is of type `ImportResponse`. Note that it is\npossible for a subset of the items to be successfully inserted.\n`Operation.metadata` is of type `ImportMetadata`.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.retail.v2.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.retail.v2.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.retail.v2.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\n`Operation.response` is of type `ImportResponse`. Note that it is\npossible for a subset of the items to be successfully inserted.\n`Operation.metadata` is of type `ImportMetadata`.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportUserEvents Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_PurgeUserEvents_sync", - "title": "retail PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.retail.v2.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.retail.v2.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.retail.v2.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PurgeUserEvents Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_RejoinUserEvents_sync", - "title": "retail RejoinUserEvents Sample", - "description": "RejoinUserEvents starts a user-event rejoin operation with latest product catalog. Events\nare not annotated with detailed product information for products that are\nmissing from the catalog when the user event is ingested. These\nevents are stored as unjoined events with limited usage on training and\nserving. You can use this method to start a join operation on specified\nevents with the latest version of product catalog. You can also use this\nmethod to correct events joined with the wrong product catalog. A rejoin\noperation can take hours or days to complete.", - "file": "UserEventClient/RejoinUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejoinUserEvents", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.RejoinUserEvents", + "method": { + "fullName": "google.cloud.retail.v2.UserEventService.RejoinUserEvents", + "service": { + "fullName": "google.cloud.retail.v2.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "RejoinUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RejoinUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.RejoinUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejoinUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "RejoinUserEvents", - "fullName": "google.cloud.retail.v2.UserEventService.RejoinUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2.UserEventService" - } - } + "shortName": "RejoinUserEvents" }, + "description": "RejoinUserEvents starts a user-event rejoin operation with latest product catalog. Events\nare not annotated with detailed product information for products that are\nmissing from the catalog when the user event is ingested. These\nevents are stored as unjoined events with limited usage on training and\nserving. You can use this method to start a join operation on specified\nevents with the latest version of product catalog. You can also use this\nmethod to correct events joined with the wrong product catalog. A rejoin\noperation can take hours or days to complete.", + "file": "UserEventClient/RejoinUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_RejoinUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RejoinUserEvents Sample" }, { - "regionTag": "retail_v2_generated_UserEventService_WriteUserEvent_sync", - "title": "retail WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.retail.v2.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.retail.v2.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.retail.v2.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "retailpb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.retail.v2.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail WriteUserEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json b/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json index 6265cf4ff6c7..43eb1837104f 100644 --- a/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json +++ b/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json @@ -1,4793 +1,4793 @@ { "clientLibrary": { - "name": "cloud.google.com/go/retail/apiv2alpha", - "version": "1.26.0", - "language": "GO", "apis": [ { "id": "google.cloud.retail.v2alpha", "version": "v2alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/retail/apiv2alpha", + "version": "1.26.0" }, "snippets": [ { - "regionTag": "retail_v2alpha_generated_AnalyticsService_ExportAnalyticsMetrics_sync", - "title": "retail ExportAnalyticsMetrics Sample", - "description": "ExportAnalyticsMetrics exports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", - "file": "AnalyticsClient/ExportAnalyticsMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAnalyticsMetrics", + "client": { + "fullName": "google.cloud.retail.v2alpha.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2alpha.AnalyticsClient.ExportAnalyticsMetrics", + "method": { + "fullName": "google.cloud.retail.v2alpha.AnalyticsService.ExportAnalyticsMetrics", + "service": { + "fullName": "google.cloud.retail.v2alpha.AnalyticsService", + "shortName": "AnalyticsService" + }, + "shortName": "ExportAnalyticsMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportAnalyticsMetricsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportAnalyticsMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAnalyticsMetricsOperation", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2alpha.AnalyticsClient" - }, - "method": { - "shortName": "ExportAnalyticsMetrics", - "fullName": "google.cloud.retail.v2alpha.AnalyticsService.ExportAnalyticsMetrics", - "service": { - "shortName": "AnalyticsService", - "fullName": "google.cloud.retail.v2alpha.AnalyticsService" - } - } + "shortName": "ExportAnalyticsMetrics" }, + "description": "ExportAnalyticsMetrics exports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", + "file": "AnalyticsClient/ExportAnalyticsMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_AnalyticsService_ExportAnalyticsMetrics_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportAnalyticsMetrics Sample" }, { - "regionTag": "retail_v2alpha_generated_AnalyticsService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AnalyticsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2alpha.AnalyticsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2alpha.AnalyticsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AnalyticsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_AnalyticsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_AnalyticsService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AnalyticsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2alpha.AnalyticsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2alpha.AnalyticsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AnalyticsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_AnalyticsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_BranchService_GetBranch_sync", - "title": "retail GetBranch Sample", - "description": "GetBranch retrieves a [Branch][google.cloud.retail.v2alpha.Branch].", - "file": "BranchClient/GetBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBranch", + "client": { + "fullName": "google.cloud.retail.v2alpha.BranchClient", + "shortName": "BranchClient" + }, "fullName": "google.cloud.retail.v2alpha.BranchClient.GetBranch", + "method": { + "fullName": "google.cloud.retail.v2alpha.BranchService.GetBranch", + "service": { + "fullName": "google.cloud.retail.v2alpha.BranchService", + "shortName": "BranchService" + }, + "shortName": "GetBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Branch", - "client": { - "shortName": "BranchClient", - "fullName": "google.cloud.retail.v2alpha.BranchClient" - }, - "method": { - "shortName": "GetBranch", - "fullName": "google.cloud.retail.v2alpha.BranchService.GetBranch", - "service": { - "shortName": "BranchService", - "fullName": "google.cloud.retail.v2alpha.BranchService" - } - } + "shortName": "GetBranch" }, + "description": "GetBranch retrieves a [Branch][google.cloud.retail.v2alpha.Branch].", + "file": "BranchClient/GetBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_BranchService_GetBranch_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetBranch Sample" }, { - "regionTag": "retail_v2alpha_generated_BranchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "BranchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.BranchClient", + "shortName": "BranchClient" + }, "fullName": "google.cloud.retail.v2alpha.BranchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BranchClient", - "fullName": "google.cloud.retail.v2alpha.BranchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "BranchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_BranchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_BranchService_ListBranches_sync", - "title": "retail ListBranches Sample", - "description": "ListBranches lists all instances of [Branch][google.cloud.retail.v2alpha.Branch] under\nthe specified parent [Catalog][google.cloud.retail.v2alpha.Catalog].", - "file": "BranchClient/ListBranches/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBranches", + "client": { + "fullName": "google.cloud.retail.v2alpha.BranchClient", + "shortName": "BranchClient" + }, "fullName": "google.cloud.retail.v2alpha.BranchClient.ListBranches", + "method": { + "fullName": "google.cloud.retail.v2alpha.BranchService.ListBranches", + "service": { + "fullName": "google.cloud.retail.v2alpha.BranchService", + "shortName": "BranchService" + }, + "shortName": "ListBranches" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListBranchesRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListBranchesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ListBranchesResponse", - "client": { - "shortName": "BranchClient", - "fullName": "google.cloud.retail.v2alpha.BranchClient" - }, - "method": { - "shortName": "ListBranches", - "fullName": "google.cloud.retail.v2alpha.BranchService.ListBranches", - "service": { - "shortName": "BranchService", - "fullName": "google.cloud.retail.v2alpha.BranchService" - } - } + "shortName": "ListBranches" }, + "description": "ListBranches lists all instances of [Branch][google.cloud.retail.v2alpha.Branch] under\nthe specified parent [Catalog][google.cloud.retail.v2alpha.Catalog].", + "file": "BranchClient/ListBranches/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_BranchService_ListBranches_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListBranches Sample" }, { - "regionTag": "retail_v2alpha_generated_BranchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "BranchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.BranchClient", + "shortName": "BranchClient" + }, "fullName": "google.cloud.retail.v2alpha.BranchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "BranchClient", - "fullName": "google.cloud.retail.v2alpha.BranchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "BranchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_BranchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_AddCatalogAttribute_sync", - "title": "retail AddCatalogAttribute Sample", - "description": "AddCatalogAttribute adds the specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to\nadd already exists, an ALREADY_EXISTS error is returned.", - "file": "CatalogClient/AddCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.AddCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.AddCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "AddCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "AddCatalogAttribute", - "fullName": "google.cloud.retail.v2alpha.CatalogService.AddCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "AddCatalogAttribute" }, + "description": "AddCatalogAttribute adds the specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to\nadd already exists, an ALREADY_EXISTS error is returned.", + "file": "CatalogClient/AddCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_AddCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddCatalogAttribute Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_BatchRemoveCatalogAttributes_sync", - "title": "retail BatchRemoveCatalogAttributes Sample", - "description": "BatchRemoveCatalogAttributes removes all specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute]s from the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].", - "file": "CatalogClient/BatchRemoveCatalogAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchRemoveCatalogAttributes", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.BatchRemoveCatalogAttributes", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.BatchRemoveCatalogAttributes", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "BatchRemoveCatalogAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.BatchRemoveCatalogAttributesRequest", - "name": "req" + "name": "req", + "type": "retailpb.BatchRemoveCatalogAttributesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.BatchRemoveCatalogAttributesResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "BatchRemoveCatalogAttributes", - "fullName": "google.cloud.retail.v2alpha.CatalogService.BatchRemoveCatalogAttributes", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "BatchRemoveCatalogAttributes" }, + "description": "BatchRemoveCatalogAttributes removes all specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute]s from the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].", + "file": "CatalogClient/BatchRemoveCatalogAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_BatchRemoveCatalogAttributes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail BatchRemoveCatalogAttributes Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_GetAttributesConfig_sync", - "title": "retail GetAttributesConfig Sample", - "description": "GetAttributesConfig gets an [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].", - "file": "CatalogClient/GetAttributesConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttributesConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.GetAttributesConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.GetAttributesConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetAttributesConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetAttributesConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetAttributesConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "GetAttributesConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.GetAttributesConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "GetAttributesConfig" }, + "description": "GetAttributesConfig gets an [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].", + "file": "CatalogClient/GetAttributesConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_GetAttributesConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetAttributesConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_GetCompletionConfig_sync", - "title": "retail GetCompletionConfig Sample", - "description": "GetCompletionConfig gets a [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig].", - "file": "CatalogClient/GetCompletionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompletionConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.GetCompletionConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.GetCompletionConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetCompletionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetCompletionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetCompletionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompletionConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "GetCompletionConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.GetCompletionConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "GetCompletionConfig" }, + "description": "GetCompletionConfig gets a [CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig].", + "file": "CatalogClient/GetCompletionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_GetCompletionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetCompletionConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_GetDefaultBranch_sync", - "title": "retail GetDefaultBranch Sample", - "description": "GetDefaultBranch get which branch is currently default branch set by\n[CatalogService.SetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch]\nmethod under a specified parent catalog.", - "file": "CatalogClient/GetDefaultBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDefaultBranch", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.GetDefaultBranch", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetDefaultBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetDefaultBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetDefaultBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GetDefaultBranchResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "GetDefaultBranch", - "fullName": "google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "GetDefaultBranch" }, + "description": "GetDefaultBranch get which branch is currently default branch set by\n[CatalogService.SetDefaultBranch][google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch]\nmethod under a specified parent catalog.", + "file": "CatalogClient/GetDefaultBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_GetDefaultBranch_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetDefaultBranch Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_ListCatalogs_sync", - "title": "retail ListCatalogs Sample", - "description": "ListCatalogs lists all the [Catalog][google.cloud.retail.v2alpha.Catalog]s associated\nwith the project.", - "file": "CatalogClient/ListCatalogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCatalogs", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.ListCatalogs", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.ListCatalogs", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListCatalogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListCatalogsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListCatalogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "ListCatalogs", - "fullName": "google.cloud.retail.v2alpha.CatalogService.ListCatalogs", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "ListCatalogs" }, + "description": "ListCatalogs lists all the [Catalog][google.cloud.retail.v2alpha.Catalog]s associated\nwith the project.", + "file": "CatalogClient/ListCatalogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_ListCatalogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListCatalogs Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_RemoveCatalogAttribute_sync", - "title": "retail RemoveCatalogAttribute Sample", - "description": "RemoveCatalogAttribute removes the specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] from the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to\nremove does not exist, a NOT_FOUND error is returned.", - "file": "CatalogClient/RemoveCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.RemoveCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.RemoveCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "RemoveCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "RemoveCatalogAttribute", - "fullName": "google.cloud.retail.v2alpha.CatalogService.RemoveCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "RemoveCatalogAttribute" }, + "description": "RemoveCatalogAttribute removes the specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] from the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to\nremove does not exist, a NOT_FOUND error is returned.", + "file": "CatalogClient/RemoveCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_RemoveCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveCatalogAttribute Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_ReplaceCatalogAttribute_sync", - "title": "retail ReplaceCatalogAttribute Sample", - "description": "ReplaceCatalogAttribute replaces the specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] in the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] by\nupdating the catalog attribute with the same\n[CatalogAttribute.key][google.cloud.retail.v2alpha.CatalogAttribute.key].\n\nIf the [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to\nreplace does not exist, a NOT_FOUND error is returned.", - "file": "CatalogClient/ReplaceCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.ReplaceCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.ReplaceCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ReplaceCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ReplaceCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.ReplaceCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "ReplaceCatalogAttribute", - "fullName": "google.cloud.retail.v2alpha.CatalogService.ReplaceCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "ReplaceCatalogAttribute" }, + "description": "ReplaceCatalogAttribute replaces the specified\n[CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] in the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig] by\nupdating the catalog attribute with the same\n[CatalogAttribute.key][google.cloud.retail.v2alpha.CatalogAttribute.key].\n\nIf the [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] to\nreplace does not exist, a NOT_FOUND error is returned.", + "file": "CatalogClient/ReplaceCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_ReplaceCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ReplaceCatalogAttribute Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_SetDefaultBranch_sync", - "title": "retail SetDefaultBranch Sample", - "description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.", - "file": "CatalogClient/SetDefaultBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultBranch", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.SetDefaultBranch", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "SetDefaultBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SetDefaultBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.SetDefaultBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "SetDefaultBranch", - "fullName": "google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "SetDefaultBranch" }, + "description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2alpha.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2alpha.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.", + "file": "CatalogClient/SetDefaultBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_SetDefaultBranch_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail SetDefaultBranch Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_UpdateAttributesConfig_sync", - "title": "retail UpdateAttributesConfig Sample", - "description": "UpdateAttributesConfig updates the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].\n\nThe catalog attributes in the request will be updated in the catalog, or\ninserted if they do not exist. Existing catalog attributes not included in\nthe request will remain unchanged. Attributes that are assigned to\nproducts, but do not exist at the catalog level, are always included in the\nresponse. The product attribute is assigned default values for missing\ncatalog attribute fields, e.g., searchable and dynamic facetable options.", - "file": "CatalogClient/UpdateAttributesConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttributesConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.UpdateAttributesConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateAttributesConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateAttributesConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateAttributesConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateAttributesConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "UpdateAttributesConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateAttributesConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "UpdateAttributesConfig" }, + "description": "UpdateAttributesConfig updates the\n[AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].\n\nThe catalog attributes in the request will be updated in the catalog, or\ninserted if they do not exist. Existing catalog attributes not included in\nthe request will remain unchanged. Attributes that are assigned to\nproducts, but do not exist at the catalog level, are always included in the\nresponse. The product attribute is assigned default values for missing\ncatalog attribute fields, e.g., searchable and dynamic facetable options.", + "file": "CatalogClient/UpdateAttributesConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_UpdateAttributesConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateAttributesConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_UpdateCatalog_sync", - "title": "retail UpdateCatalog Sample", - "description": "UpdateCatalog updates the [Catalog][google.cloud.retail.v2alpha.Catalog]s.", - "file": "CatalogClient/UpdateCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCatalog", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.UpdateCatalog", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCatalog", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateCatalogRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Catalog", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "UpdateCatalog", - "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCatalog", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "UpdateCatalog" }, + "description": "UpdateCatalog updates the [Catalog][google.cloud.retail.v2alpha.Catalog]s.", + "file": "CatalogClient/UpdateCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_UpdateCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateCatalog Sample" }, { - "regionTag": "retail_v2alpha_generated_CatalogService_UpdateCompletionConfig_sync", - "title": "retail UpdateCompletionConfig Sample", - "description": "UpdateCompletionConfig updates the\n[CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig]s.", - "file": "CatalogClient/UpdateCompletionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCompletionConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2alpha.CatalogClient.UpdateCompletionConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCompletionConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCompletionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateCompletionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateCompletionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompletionConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2alpha.CatalogClient" - }, - "method": { - "shortName": "UpdateCompletionConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCompletionConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService" - } - } + "shortName": "UpdateCompletionConfig" }, + "description": "UpdateCompletionConfig updates the\n[CompletionConfig][google.cloud.retail.v2alpha.CompletionConfig]s.", + "file": "CatalogClient/UpdateCompletionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CatalogService_UpdateCompletionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateCompletionConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_CompletionService_CompleteQuery_sync", - "title": "retail CompleteQuery Sample", - "description": "CompleteQuery completes the specified prefix with keyword suggestions.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.retail.v2alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2alpha.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.retail.v2alpha.CompletionService.CompleteQuery", + "service": { + "fullName": "google.cloud.retail.v2alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "retailpb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2alpha.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.retail.v2alpha.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2alpha.CompletionService" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified prefix with keyword suggestions.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CompletionService_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CompleteQuery Sample" }, { - "regionTag": "retail_v2alpha_generated_CompletionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2alpha.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2alpha.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CompletionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_CompletionService_ImportCompletionData_sync", - "title": "retail ImportCompletionData Sample", - "description": "ImportCompletionData bulk import of processed completion dataset.\n\nRequest processing is asynchronous. Partial updating is not supported.\n\nThe operation is successfully finished only after the imported suggestions\nare indexed successfully and ready for serving. The process takes hours.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "CompletionClient/ImportCompletionData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCompletionData", + "client": { + "fullName": "google.cloud.retail.v2alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2alpha.CompletionClient.ImportCompletionData", + "method": { + "fullName": "google.cloud.retail.v2alpha.CompletionService.ImportCompletionData", + "service": { + "fullName": "google.cloud.retail.v2alpha.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportCompletionData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportCompletionDataRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportCompletionDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCompletionDataOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2alpha.CompletionClient" - }, - "method": { - "shortName": "ImportCompletionData", - "fullName": "google.cloud.retail.v2alpha.CompletionService.ImportCompletionData", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2alpha.CompletionService" - } - } + "shortName": "ImportCompletionData" }, + "description": "ImportCompletionData bulk import of processed completion dataset.\n\nRequest processing is asynchronous. Partial updating is not supported.\n\nThe operation is successfully finished only after the imported suggestions\nare indexed successfully and ready for serving. The process takes hours.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "CompletionClient/ImportCompletionData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CompletionService_ImportCompletionData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportCompletionData Sample" }, { - "regionTag": "retail_v2alpha_generated_CompletionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2alpha.CompletionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2alpha.CompletionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_CompletionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_CreateControl_sync", - "title": "retail CreateControl Sample", - "description": "CreateControl creates a Control.\n\nIf the [Control][google.cloud.retail.v2alpha.Control] to create already\nexists, an ALREADY_EXISTS error is returned.", - "file": "ControlClient/CreateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateControl", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.CreateControl", + "method": { + "fullName": "google.cloud.retail.v2alpha.ControlService.CreateControl", + "service": { + "fullName": "google.cloud.retail.v2alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "CreateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2alpha.ControlService" - } - } + "shortName": "CreateControl" }, + "description": "CreateControl creates a Control.\n\nIf the [Control][google.cloud.retail.v2alpha.Control] to create already\nexists, an ALREADY_EXISTS error is returned.", + "file": "ControlClient/CreateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_CreateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateControl Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_DeleteControl_sync", - "title": "retail DeleteControl Sample", - "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.retail.v2alpha.Control] to delete does not\nexist, a NOT_FOUND error is returned.", - "file": "ControlClient/DeleteControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteControl", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.DeleteControl", + "method": { + "fullName": "google.cloud.retail.v2alpha.ControlService.DeleteControl", + "service": { + "fullName": "google.cloud.retail.v2alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "DeleteControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2alpha.ControlService" - } - } + "shortName": "DeleteControl" }, + "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.retail.v2alpha.Control] to delete does not\nexist, a NOT_FOUND error is returned.", + "file": "ControlClient/DeleteControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_DeleteControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteControl Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_GetControl_sync", - "title": "retail GetControl Sample", - "description": "GetControl gets a Control.", - "file": "ControlClient/GetControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetControl", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.GetControl", + "method": { + "fullName": "google.cloud.retail.v2alpha.ControlService.GetControl", + "service": { + "fullName": "google.cloud.retail.v2alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "GetControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2alpha.ControlService" - } - } + "shortName": "GetControl" }, + "description": "GetControl gets a Control.", + "file": "ControlClient/GetControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_GetControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetControl Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_ListControls_sync", - "title": "retail ListControls Sample", - "description": "ListControls lists all Controls by their parent\n[Catalog][google.cloud.retail.v2alpha.Catalog].", - "file": "ControlClient/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.ListControls", + "method": { + "fullName": "google.cloud.retail.v2alpha.ControlService.ListControls", + "service": { + "fullName": "google.cloud.retail.v2alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.retail.v2alpha.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2alpha.ControlService" - } - } + "shortName": "ListControls" }, + "description": "ListControls lists all Controls by their parent\n[Catalog][google.cloud.retail.v2alpha.Catalog].", + "file": "ControlClient/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListControls Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ControlService_UpdateControl_sync", - "title": "retail UpdateControl Sample", - "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.retail.v2alpha.Control] cannot be set to a different\noneof field, if so an INVALID_ARGUMENT is returned. If the\n[Control][google.cloud.retail.v2alpha.Control] to update does not exist, a\nNOT_FOUND error is returned.", - "file": "ControlClient/UpdateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateControl", + "client": { + "fullName": "google.cloud.retail.v2alpha.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2alpha.ControlClient.UpdateControl", + "method": { + "fullName": "google.cloud.retail.v2alpha.ControlService.UpdateControl", + "service": { + "fullName": "google.cloud.retail.v2alpha.ControlService", + "shortName": "ControlService" + }, + "shortName": "UpdateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2alpha.ControlClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2alpha.ControlService" - } - } + "shortName": "UpdateControl" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.retail.v2alpha.Control] cannot be set to a different\noneof field, if so an INVALID_ARGUMENT is returned. If the\n[Control][google.cloud.retail.v2alpha.Control] to update does not exist, a\nNOT_FOUND error is returned.", + "file": "ControlClient/UpdateControl/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ControlService_UpdateControl_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateControl Sample" }, { - "regionTag": "retail_v2alpha_generated_ConversationalSearchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ConversationalSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_ConversationalSearchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.retail.v2alpha.ConversationalSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ConversationalSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync", - "title": "retail BatchUpdateGenerativeQuestionConfigs Sample", - "description": "BatchUpdateGenerativeQuestionConfigs allows management of multiple questions.", - "file": "GenerativeQuestionClient/BatchUpdateGenerativeQuestionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateGenerativeQuestionConfigs", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.BatchUpdateGenerativeQuestionConfigs", + "method": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs", + "service": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "BatchUpdateGenerativeQuestionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.BatchUpdateGenerativeQuestionConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.BatchUpdateGenerativeQuestionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.BatchUpdateGenerativeQuestionConfigsResponse", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "BatchUpdateGenerativeQuestionConfigs", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService" - } - } + "shortName": "BatchUpdateGenerativeQuestionConfigs" }, + "description": "BatchUpdateGenerativeQuestionConfigs allows management of multiple questions.", + "file": "GenerativeQuestionClient/BatchUpdateGenerativeQuestionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail BatchUpdateGenerativeQuestionConfigs Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_sync", - "title": "retail GetGenerativeQuestionsFeatureConfig Sample", - "description": "GetGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", - "file": "GenerativeQuestionClient/GetGenerativeQuestionsFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerativeQuestionsFeatureConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.GetGenerativeQuestionsFeatureConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "GetGenerativeQuestionsFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetGenerativeQuestionsFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetGenerativeQuestionsFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionsFeatureConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "GetGenerativeQuestionsFeatureConfig", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService" - } - } + "shortName": "GetGenerativeQuestionsFeatureConfig" }, + "description": "GetGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", + "file": "GenerativeQuestionClient/GetGenerativeQuestionsFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetGenerativeQuestionsFeatureConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeQuestionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeQuestionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_ListGenerativeQuestionConfigs_sync", - "title": "retail ListGenerativeQuestionConfigs Sample", - "description": "ListGenerativeQuestionConfigs returns all questions for a given catalog.", - "file": "GenerativeQuestionClient/ListGenerativeQuestionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerativeQuestionConfigs", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.ListGenerativeQuestionConfigs", + "method": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.ListGenerativeQuestionConfigs", + "service": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "ListGenerativeQuestionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListGenerativeQuestionConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListGenerativeQuestionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ListGenerativeQuestionConfigsResponse", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "ListGenerativeQuestionConfigs", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.ListGenerativeQuestionConfigs", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService" - } - } + "shortName": "ListGenerativeQuestionConfigs" }, + "description": "ListGenerativeQuestionConfigs returns all questions for a given catalog.", + "file": "GenerativeQuestionClient/ListGenerativeQuestionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_ListGenerativeQuestionConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListGenerativeQuestionConfigs Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenerativeQuestionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenerativeQuestionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_UpdateGenerativeQuestionConfig_sync", - "title": "retail UpdateGenerativeQuestionConfig Sample", - "description": "UpdateGenerativeQuestionConfig allows management of individual questions.", - "file": "GenerativeQuestionClient/UpdateGenerativeQuestionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeQuestionConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.UpdateGenerativeQuestionConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.UpdateGenerativeQuestionConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "UpdateGenerativeQuestionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateGenerativeQuestionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateGenerativeQuestionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "UpdateGenerativeQuestionConfig", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.UpdateGenerativeQuestionConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService" - } - } + "shortName": "UpdateGenerativeQuestionConfig" }, + "description": "UpdateGenerativeQuestionConfig allows management of individual questions.", + "file": "GenerativeQuestionClient/UpdateGenerativeQuestionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_UpdateGenerativeQuestionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateGenerativeQuestionConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_sync", - "title": "retail UpdateGenerativeQuestionsFeatureConfig Sample", - "description": "UpdateGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", - "file": "GenerativeQuestionClient/UpdateGenerativeQuestionsFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeQuestionsFeatureConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient.UpdateGenerativeQuestionsFeatureConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "UpdateGenerativeQuestionsFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateGenerativeQuestionsFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateGenerativeQuestionsFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionsFeatureConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionClient" - }, - "method": { - "shortName": "UpdateGenerativeQuestionsFeatureConfig", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2alpha.GenerativeQuestionService" - } - } + "shortName": "UpdateGenerativeQuestionsFeatureConfig" }, + "description": "UpdateGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", + "file": "GenerativeQuestionClient/UpdateGenerativeQuestionsFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateGenerativeQuestionsFeatureConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_CreateMerchantCenterAccountLink_sync", - "title": "retail CreateMerchantCenterAccountLink Sample", - "description": "CreateMerchantCenterAccountLink creates a\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink].", - "file": "MerchantCenterAccountLinkClient/CreateMerchantCenterAccountLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMerchantCenterAccountLink", + "client": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient", + "shortName": "MerchantCenterAccountLinkClient" + }, "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient.CreateMerchantCenterAccountLink", + "method": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink", + "service": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService", + "shortName": "MerchantCenterAccountLinkService" + }, + "shortName": "CreateMerchantCenterAccountLink" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateMerchantCenterAccountLinkRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateMerchantCenterAccountLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMerchantCenterAccountLinkOperation", - "client": { - "shortName": "MerchantCenterAccountLinkClient", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient" - }, - "method": { - "shortName": "CreateMerchantCenterAccountLink", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink", - "service": { - "shortName": "MerchantCenterAccountLinkService", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService" - } - } + "shortName": "CreateMerchantCenterAccountLink" }, + "description": "CreateMerchantCenterAccountLink creates a\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink].", + "file": "MerchantCenterAccountLinkClient/CreateMerchantCenterAccountLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_CreateMerchantCenterAccountLink_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateMerchantCenterAccountLink Sample" }, { - "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_DeleteMerchantCenterAccountLink_sync", - "title": "retail DeleteMerchantCenterAccountLink Sample", - "description": "DeleteMerchantCenterAccountLink deletes a\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink].\nIf the\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]\nto delete does not exist, a NOT_FOUND error is returned.", - "file": "MerchantCenterAccountLinkClient/DeleteMerchantCenterAccountLink/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMerchantCenterAccountLink", + "client": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient", + "shortName": "MerchantCenterAccountLinkClient" + }, "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient.DeleteMerchantCenterAccountLink", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink", + "service": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService", + "shortName": "MerchantCenterAccountLinkService" + }, + "shortName": "DeleteMerchantCenterAccountLink" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteMerchantCenterAccountLinkRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteMerchantCenterAccountLinkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MerchantCenterAccountLinkClient", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient" - }, - "method": { - "shortName": "DeleteMerchantCenterAccountLink", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink", - "service": { - "shortName": "MerchantCenterAccountLinkService", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService" - } - } + "shortName": "DeleteMerchantCenterAccountLink" }, + "description": "DeleteMerchantCenterAccountLink deletes a\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink].\nIf the\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]\nto delete does not exist, a NOT_FOUND error is returned.", + "file": "MerchantCenterAccountLinkClient/DeleteMerchantCenterAccountLink/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_DeleteMerchantCenterAccountLink_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteMerchantCenterAccountLink Sample" }, { - "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "MerchantCenterAccountLinkClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient", + "shortName": "MerchantCenterAccountLinkClient" + }, "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "MerchantCenterAccountLinkClient", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "MerchantCenterAccountLinkClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_ListMerchantCenterAccountLinks_sync", - "title": "retail ListMerchantCenterAccountLinks Sample", - "description": "ListMerchantCenterAccountLinks lists all\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]s\nunder the specified parent [Catalog][google.cloud.retail.v2alpha.Catalog].", - "file": "MerchantCenterAccountLinkClient/ListMerchantCenterAccountLinks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMerchantCenterAccountLinks", + "client": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient", + "shortName": "MerchantCenterAccountLinkClient" + }, "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient.ListMerchantCenterAccountLinks", + "method": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks", + "service": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService", + "shortName": "MerchantCenterAccountLinkService" + }, + "shortName": "ListMerchantCenterAccountLinks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListMerchantCenterAccountLinksRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListMerchantCenterAccountLinksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ListMerchantCenterAccountLinksResponse", - "client": { - "shortName": "MerchantCenterAccountLinkClient", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient" - }, - "method": { - "shortName": "ListMerchantCenterAccountLinks", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks", - "service": { - "shortName": "MerchantCenterAccountLinkService", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService" - } - } + "shortName": "ListMerchantCenterAccountLinks" }, + "description": "ListMerchantCenterAccountLinks lists all\n[MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink]s\nunder the specified parent [Catalog][google.cloud.retail.v2alpha.Catalog].", + "file": "MerchantCenterAccountLinkClient/ListMerchantCenterAccountLinks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_ListMerchantCenterAccountLinks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListMerchantCenterAccountLinks Sample" }, { - "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "MerchantCenterAccountLinkClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient", + "shortName": "MerchantCenterAccountLinkClient" + }, "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "MerchantCenterAccountLinkClient", - "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "MerchantCenterAccountLinkClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_MerchantCenterAccountLinkService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_CreateModel_sync", - "title": "retail CreateModel Sample", - "description": "CreateModel creates a new model.", - "file": "ModelClient/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.CreateModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.CreateModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.CreateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a new model.", + "file": "ModelClient/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateModel Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_DeleteModel_sync", - "title": "retail DeleteModel Sample", - "description": "DeleteModel deletes an existing model.", - "file": "ModelClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.DeleteModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.DeleteModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.DeleteModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes an existing model.", + "file": "ModelClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteModel Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_GetModel_sync", - "title": "retail GetModel Sample", - "description": "GetModel gets a model.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.GetModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.GetModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetModel Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_ListModels_sync", - "title": "retail ListModels Sample", - "description": "ListModels lists all the models linked to this event store.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.ListModels", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.ListModels", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.retail.v2alpha.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists all the models linked to this event store.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListModels Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_PauseModel_sync", - "title": "retail PauseModel Sample", - "description": "PauseModel pauses the training of an existing model.", - "file": "ModelClient/PauseModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.PauseModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.PauseModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "PauseModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PauseModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.PauseModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "PauseModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.PauseModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "PauseModel" }, + "description": "PauseModel pauses the training of an existing model.", + "file": "ModelClient/PauseModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_PauseModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PauseModel Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_ResumeModel_sync", - "title": "retail ResumeModel Sample", - "description": "ResumeModel resumes the training of an existing model.", - "file": "ModelClient/ResumeModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.ResumeModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.ResumeModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "ResumeModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ResumeModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.ResumeModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "ResumeModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.ResumeModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "ResumeModel" }, + "description": "ResumeModel resumes the training of an existing model.", + "file": "ModelClient/ResumeModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_ResumeModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ResumeModel Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_TuneModel_sync", - "title": "retail TuneModel Sample", - "description": "TuneModel tunes an existing model.", - "file": "ModelClient/TuneModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "TuneModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.TuneModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.TuneModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "TuneModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.TuneModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.TuneModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuneModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "TuneModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.TuneModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "TuneModel" }, + "description": "TuneModel tunes an existing model.", + "file": "ModelClient/TuneModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_TuneModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail TuneModel Sample" }, { - "regionTag": "retail_v2alpha_generated_ModelService_UpdateModel_sync", - "title": "retail UpdateModel Sample", - "description": "UpdateModel update of model metadata. Only fields that\ncurrently can be updated are: `filtering_option` and\n`periodic_tuning_state`.\nIf other values are provided, this API method ignores them.", - "file": "ModelClient/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", + "client": { + "fullName": "google.cloud.retail.v2alpha.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2alpha.ModelClient.UpdateModel", + "method": { + "fullName": "google.cloud.retail.v2alpha.ModelService.UpdateModel", + "service": { + "fullName": "google.cloud.retail.v2alpha.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2alpha.ModelClient" - }, - "method": { - "shortName": "UpdateModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.UpdateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService" - } - } + "shortName": "UpdateModel" }, + "description": "UpdateModel update of model metadata. Only fields that\ncurrently can be updated are: `filtering_option` and\n`periodic_tuning_state`.\nIf other values are provided, this API method ignores them.", + "file": "ModelClient/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ModelService_UpdateModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateModel Sample" }, { - "regionTag": "retail_v2alpha_generated_PredictionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2alpha.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2alpha.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_PredictionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2alpha.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2alpha.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_PredictionService_Predict_sync", - "title": "retail Predict Sample", - "description": "Predict makes a recommendation prediction.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.retail.v2alpha.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2alpha.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.retail.v2alpha.PredictionService.Predict", + "service": { + "fullName": "google.cloud.retail.v2alpha.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PredictRequest", - "name": "req" + "name": "req", + "type": "retailpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2alpha.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.retail.v2alpha.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.retail.v2alpha.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict makes a recommendation prediction.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail Predict Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_AddFulfillmentPlaces_sync", - "title": "retail AddFulfillmentPlaces Sample", - "description": "AddFulfillmentPlaces we recommend that you use the\n[ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories]\nmethod instead of the\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces]\nmethod.\n[ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally adds place IDs to\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the added place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/AddFulfillmentPlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddFulfillmentPlaces", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.AddFulfillmentPlaces", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "AddFulfillmentPlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddFulfillmentPlacesRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddFulfillmentPlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddFulfillmentPlacesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "AddFulfillmentPlaces", - "fullName": "google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "AddFulfillmentPlaces" }, + "description": "AddFulfillmentPlaces we recommend that you use the\n[ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories]\nmethod instead of the\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces]\nmethod.\n[ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally adds place IDs to\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the added place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/AddFulfillmentPlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_AddFulfillmentPlaces_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddFulfillmentPlaces Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_AddLocalInventories_sync", - "title": "retail AddLocalInventories Sample", - "description": "AddLocalInventories updates local inventory information for a\n[Product][google.cloud.retail.v2alpha.Product] at a list of places, while\nrespecting the last update timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\ninventory information. If the request is valid, the update will be enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nLocal inventory information can only be modified using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/AddLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddLocalInventories", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.AddLocalInventories", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.AddLocalInventories", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "AddLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddLocalInventoriesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "AddLocalInventories", - "fullName": "google.cloud.retail.v2alpha.ProductService.AddLocalInventories", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "AddLocalInventories" }, + "description": "AddLocalInventories updates local inventory information for a\n[Product][google.cloud.retail.v2alpha.Product] at a list of places, while\nrespecting the last update timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\ninventory information. If the request is valid, the update will be enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nLocal inventory information can only be modified using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/AddLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_AddLocalInventories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddLocalInventories Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_CreateProduct_sync", - "title": "retail CreateProduct Sample", - "description": "CreateProduct creates a [Product][google.cloud.retail.v2alpha.Product].", - "file": "ProductClient/CreateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProduct", - "fullName": "google.cloud.retail.v2alpha.ProductClient.CreateProduct", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "retailpb.CreateProductRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*retailpb.Product", "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" }, + "fullName": "google.cloud.retail.v2alpha.ProductClient.CreateProduct", "method": { - "shortName": "CreateProduct", "fullName": "google.cloud.retail.v2alpha.ProductService.CreateProduct", "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "CreateProduct" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "retailpb.CreateProductRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*retailpb.Product", + "shortName": "CreateProduct" }, + "description": "CreateProduct creates a [Product][google.cloud.retail.v2alpha.Product].", + "file": "ProductClient/CreateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_CreateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateProduct Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_DeleteProduct_sync", - "title": "retail DeleteProduct Sample", - "description": "DeleteProduct deletes a [Product][google.cloud.retail.v2alpha.Product].", - "file": "ProductClient/DeleteProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProduct", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.DeleteProduct", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.DeleteProduct", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "DeleteProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "DeleteProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.DeleteProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "DeleteProduct" }, + "description": "DeleteProduct deletes a [Product][google.cloud.retail.v2alpha.Product].", + "file": "ProductClient/DeleteProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_DeleteProduct_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteProduct Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_ExportProducts_sync", - "title": "retail ExportProducts Sample", - "description": "ExportProducts exports multiple [Product][google.cloud.retail.v2alpha.Product]s.", - "file": "ProductClient/ExportProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportProducts", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.ExportProducts", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.ExportProducts", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "ExportProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "ExportProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.ExportProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "ExportProducts" }, + "description": "ExportProducts exports multiple [Product][google.cloud.retail.v2alpha.Product]s.", + "file": "ProductClient/ExportProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_ExportProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportProducts Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProductClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProductClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_GetProduct_sync", - "title": "retail GetProduct Sample", - "description": "GetProduct gets a [Product][google.cloud.retail.v2alpha.Product].", - "file": "ProductClient/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.GetProduct", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.GetProduct", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.GetProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct gets a [Product][google.cloud.retail.v2alpha.Product].", + "file": "ProductClient/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetProduct Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_ImportProducts_sync", - "title": "retail ImportProducts Sample", - "description": "ImportProducts bulk import of multiple [Product][google.cloud.retail.v2alpha.Product]s.\n\nRequest processing may be synchronous.\nNon-existing items are created.\n\nNote that it is possible for a subset of the\n[Product][google.cloud.retail.v2alpha.Product]s to be successfully updated.", - "file": "ProductClient/ImportProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportProducts", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.ImportProducts", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.ImportProducts", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "ImportProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "ImportProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.ImportProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "ImportProducts" }, + "description": "ImportProducts bulk import of multiple [Product][google.cloud.retail.v2alpha.Product]s.\n\nRequest processing may be synchronous.\nNon-existing items are created.\n\nNote that it is possible for a subset of the\n[Product][google.cloud.retail.v2alpha.Product]s to be successfully updated.", + "file": "ProductClient/ImportProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_ImportProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportProducts Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProductClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProductClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_ListProducts_sync", - "title": "retail ListProducts Sample", - "description": "ListProducts gets a list of [Product][google.cloud.retail.v2alpha.Product]s.", - "file": "ProductClient/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.ListProducts", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.ListProducts", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.ListProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts gets a list of [Product][google.cloud.retail.v2alpha.Product]s.", + "file": "ProductClient/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListProducts Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_PurgeProducts_sync", - "title": "retail PurgeProducts Sample", - "description": "PurgeProducts permanently deletes all selected\n[Product][google.cloud.retail.v2alpha.Product]s under a branch.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed offline. Depending on the number of\n[Product][google.cloud.retail.v2alpha.Product]s, this operation could take\nhours to complete. Before the operation completes, some\n[Product][google.cloud.retail.v2alpha.Product]s may still be returned by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nDepending on the number of [Product][google.cloud.retail.v2alpha.Product]s,\nthis operation could take hours to complete. To get a sample of\n[Product][google.cloud.retail.v2alpha.Product]s that would be deleted, set\n[PurgeProductsRequest.force][google.cloud.retail.v2alpha.PurgeProductsRequest.force]\nto false.", - "file": "ProductClient/PurgeProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeProducts", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.PurgeProducts", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.PurgeProducts", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "PurgeProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PurgeProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.PurgeProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "PurgeProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.PurgeProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "PurgeProducts" }, + "description": "PurgeProducts permanently deletes all selected\n[Product][google.cloud.retail.v2alpha.Product]s under a branch.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed offline. Depending on the number of\n[Product][google.cloud.retail.v2alpha.Product]s, this operation could take\nhours to complete. Before the operation completes, some\n[Product][google.cloud.retail.v2alpha.Product]s may still be returned by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nDepending on the number of [Product][google.cloud.retail.v2alpha.Product]s,\nthis operation could take hours to complete. To get a sample of\n[Product][google.cloud.retail.v2alpha.Product]s that would be deleted, set\n[PurgeProductsRequest.force][google.cloud.retail.v2alpha.PurgeProductsRequest.force]\nto false.", + "file": "ProductClient/PurgeProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_PurgeProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PurgeProducts Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_RemoveFulfillmentPlaces_sync", - "title": "retail RemoveFulfillmentPlaces Sample", - "description": "RemoveFulfillmentPlaces we recommend that you use the\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories]\nmethod instead of the\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces]\nmethod.\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally removes place IDs from a\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the removed place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/RemoveFulfillmentPlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveFulfillmentPlaces", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.RemoveFulfillmentPlaces", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "RemoveFulfillmentPlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveFulfillmentPlacesRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveFulfillmentPlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveFulfillmentPlacesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "RemoveFulfillmentPlaces", - "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "RemoveFulfillmentPlaces" }, + "description": "RemoveFulfillmentPlaces we recommend that you use the\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories]\nmethod instead of the\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces]\nmethod.\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally removes place IDs from a\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the removed place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/RemoveFulfillmentPlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_RemoveFulfillmentPlaces_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveFulfillmentPlaces Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_RemoveLocalInventories_sync", - "title": "retail RemoveLocalInventories Sample", - "description": "RemoveLocalInventories remove local inventory information for a\n[Product][google.cloud.retail.v2alpha.Product] at a list of places at a\nremoval timestamp.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, removals are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nLocal inventory information can only be removed using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/RemoveLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveLocalInventories", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.RemoveLocalInventories", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "RemoveLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveLocalInventoriesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "RemoveLocalInventories", - "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "RemoveLocalInventories" }, + "description": "RemoveLocalInventories remove local inventory information for a\n[Product][google.cloud.retail.v2alpha.Product] at a list of places at a\nremoval timestamp.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, removals are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nLocal inventory information can only be removed using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/RemoveLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_RemoveLocalInventories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveLocalInventories Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_SetInventory_sync", - "title": "retail SetInventory Sample", - "description": "SetInventory updates inventory information for a\n[Product][google.cloud.retail.v2alpha.Product] while respecting the last\nupdate timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\nfulfillment information. If the request is valid, the update is enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nWhen inventory is updated with\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct],\nthe specified inventory field value(s) overwrite any existing value(s)\nwhile ignoring the last update time for this field. Furthermore, the last\nupdate times for the specified inventory fields are overwritten by the\ntimes of the\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nor\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]\nrequest.\n\nIf no inventory fields are set in\n[CreateProductRequest.product][google.cloud.retail.v2alpha.CreateProductRequest.product],\nthen any pre-existing inventory information for this product is used.\n\nIf no inventory fields are set in\n[SetInventoryRequest.set_mask][google.cloud.retail.v2alpha.SetInventoryRequest.set_mask],\nthen any existing inventory information is preserved.\n\nPre-existing inventory information can only be updated with\n[ProductService.SetInventory][google.cloud.retail.v2alpha.ProductService.SetInventory],\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces],\nand\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces].\n\nThe returned [Operation][google.longrunning.Operation]s is obsolete after\none day, and the [GetOperation][google.longrunning.Operations.GetOperation]\nAPI returns `NOT_FOUND` afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates are not marked as [done][google.longrunning.Operation.done] until\nthey are obsolete.", - "file": "ProductClient/SetInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInventory", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.SetInventory", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.SetInventory", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "SetInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SetInventoryRequest", - "name": "req" + "name": "req", + "type": "retailpb.SetInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInventoryOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "SetInventory", - "fullName": "google.cloud.retail.v2alpha.ProductService.SetInventory", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "SetInventory" }, + "description": "SetInventory updates inventory information for a\n[Product][google.cloud.retail.v2alpha.Product] while respecting the last\nupdate timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2alpha.Product] to exist before updating\nfulfillment information. If the request is valid, the update is enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2alpha.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].\n\nWhen inventory is updated with\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct],\nthe specified inventory field value(s) overwrite any existing value(s)\nwhile ignoring the last update time for this field. Furthermore, the last\nupdate times for the specified inventory fields are overwritten by the\ntimes of the\n[ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct]\nor\n[ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]\nrequest.\n\nIf no inventory fields are set in\n[CreateProductRequest.product][google.cloud.retail.v2alpha.CreateProductRequest.product],\nthen any pre-existing inventory information for this product is used.\n\nIf no inventory fields are set in\n[SetInventoryRequest.set_mask][google.cloud.retail.v2alpha.SetInventoryRequest.set_mask],\nthen any existing inventory information is preserved.\n\nPre-existing inventory information can only be updated with\n[ProductService.SetInventory][google.cloud.retail.v2alpha.ProductService.SetInventory],\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces],\nand\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces].\n\nThe returned [Operation][google.longrunning.Operation]s is obsolete after\none day, and the [GetOperation][google.longrunning.Operations.GetOperation]\nAPI returns `NOT_FOUND` afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates are not marked as [done][google.longrunning.Operation.done] until\nthey are obsolete.", + "file": "ProductClient/SetInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_SetInventory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail SetInventory Sample" }, { - "regionTag": "retail_v2alpha_generated_ProductService_UpdateProduct_sync", - "title": "retail UpdateProduct Sample", - "description": "UpdateProduct updates a [Product][google.cloud.retail.v2alpha.Product].", - "file": "ProductClient/UpdateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProduct", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2alpha.ProductClient.UpdateProduct", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProductService.UpdateProduct", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProductService", + "shortName": "ProductService" + }, + "shortName": "UpdateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2alpha.ProductClient" - }, - "method": { - "shortName": "UpdateProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.UpdateProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService" - } - } + "shortName": "UpdateProduct" }, + "description": "UpdateProduct updates a [Product][google.cloud.retail.v2alpha.Product].", + "file": "ProductClient/UpdateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProductService_UpdateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateProduct Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_AcceptTerms_sync", - "title": "retail AcceptTerms Sample", - "description": "AcceptTerms accepts service terms for this project.\nBy making requests to this API, you agree to the terms of service linked\nbelow.\nhttps: //cloud.google.com/retail/data-use-terms", - "file": "ProjectClient/AcceptTerms/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptTerms", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.AcceptTerms", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.AcceptTerms", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "AcceptTerms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AcceptTermsRequest", - "name": "req" + "name": "req", + "type": "retailpb.AcceptTermsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Project", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "AcceptTerms", - "fullName": "google.cloud.retail.v2alpha.ProjectService.AcceptTerms", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "AcceptTerms" }, + "description": "AcceptTerms accepts service terms for this project.\nBy making requests to this API, you agree to the terms of service linked\nbelow.\nhttps: //cloud.google.com/retail/data-use-terms", + "file": "ProjectClient/AcceptTerms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_AcceptTerms_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AcceptTerms Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_EnrollSolution_sync", - "title": "retail EnrollSolution Sample", - "description": "EnrollSolution the method enrolls a solution of type [Retail\nSearch][google.cloud.retail.v2alpha.SolutionType.SOLUTION_TYPE_SEARCH]\ninto a project.\n\nThe [Recommendations AI solution\ntype][google.cloud.retail.v2alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]\nis enrolled by default when your project enables Retail API, so you don't\nneed to call the enrollSolution method for recommendations.", - "file": "ProjectClient/EnrollSolution/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnrollSolution", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.EnrollSolution", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.EnrollSolution", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "EnrollSolution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.EnrollSolutionRequest", - "name": "req" + "name": "req", + "type": "retailpb.EnrollSolutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnrollSolutionOperation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "EnrollSolution", - "fullName": "google.cloud.retail.v2alpha.ProjectService.EnrollSolution", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "EnrollSolution" }, + "description": "EnrollSolution the method enrolls a solution of type [Retail\nSearch][google.cloud.retail.v2alpha.SolutionType.SOLUTION_TYPE_SEARCH]\ninto a project.\n\nThe [Recommendations AI solution\ntype][google.cloud.retail.v2alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION]\nis enrolled by default when your project enables Retail API, so you don't\nneed to call the enrollSolution method for recommendations.", + "file": "ProjectClient/EnrollSolution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_EnrollSolution_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail EnrollSolution Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_GetAlertConfig_sync", - "title": "retail GetAlertConfig Sample", - "description": "GetAlertConfig get the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] of the\nrequested project.", - "file": "ProjectClient/GetAlertConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAlertConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.GetAlertConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.GetAlertConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "GetAlertConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetAlertConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetAlertConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AlertConfig", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "GetAlertConfig", - "fullName": "google.cloud.retail.v2alpha.ProjectService.GetAlertConfig", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "GetAlertConfig" }, + "description": "GetAlertConfig get the [AlertConfig][google.cloud.retail.v2alpha.AlertConfig] of the\nrequested project.", + "file": "ProjectClient/GetAlertConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_GetAlertConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetAlertConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_GetLoggingConfig_sync", - "title": "retail GetLoggingConfig Sample", - "description": "GetLoggingConfig gets the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] of the\nrequested project.", - "file": "ProjectClient/GetLoggingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLoggingConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.GetLoggingConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.GetLoggingConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "GetLoggingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetLoggingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetLoggingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.LoggingConfig", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "GetLoggingConfig", - "fullName": "google.cloud.retail.v2alpha.ProjectService.GetLoggingConfig", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "GetLoggingConfig" }, + "description": "GetLoggingConfig gets the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] of the\nrequested project.", + "file": "ProjectClient/GetLoggingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_GetLoggingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetLoggingConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_GetProject_sync", - "title": "retail GetProject Sample", - "description": "GetProject gets the project.\n\nThrows `NOT_FOUND` if the project wasn't initialized for the Retail API\nservice.", - "file": "ProjectClient/GetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProject", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.GetProject", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.GetProject", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "GetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetProjectRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Project", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "GetProject", - "fullName": "google.cloud.retail.v2alpha.ProjectService.GetProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "GetProject" }, + "description": "GetProject gets the project.\n\nThrows `NOT_FOUND` if the project wasn't initialized for the Retail API\nservice.", + "file": "ProjectClient/GetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_GetProject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetProject Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_ListEnrolledSolutions_sync", - "title": "retail ListEnrolledSolutions Sample", - "description": "ListEnrolledSolutions lists all the retail API solutions the project has enrolled.", - "file": "ProjectClient/ListEnrolledSolutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEnrolledSolutions", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.ListEnrolledSolutions", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.ListEnrolledSolutions", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "ListEnrolledSolutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListEnrolledSolutionsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListEnrolledSolutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ListEnrolledSolutionsResponse", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "ListEnrolledSolutions", - "fullName": "google.cloud.retail.v2alpha.ProjectService.ListEnrolledSolutions", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "ListEnrolledSolutions" }, + "description": "ListEnrolledSolutions lists all the retail API solutions the project has enrolled.", + "file": "ProjectClient/ListEnrolledSolutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_ListEnrolledSolutions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListEnrolledSolutions Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_UpdateAlertConfig_sync", - "title": "retail UpdateAlertConfig Sample", - "description": "UpdateAlertConfig update the alert config of the requested project.", - "file": "ProjectClient/UpdateAlertConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAlertConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.UpdateAlertConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.UpdateAlertConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "UpdateAlertConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateAlertConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateAlertConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*retailpb.AlertConfig", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "UpdateAlertConfig", - "fullName": "google.cloud.retail.v2alpha.ProjectService.UpdateAlertConfig", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*retailpb.AlertConfig", + "shortName": "UpdateAlertConfig" }, + "description": "UpdateAlertConfig update the alert config of the requested project.", + "file": "ProjectClient/UpdateAlertConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_UpdateAlertConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateAlertConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_ProjectService_UpdateLoggingConfig_sync", - "title": "retail UpdateLoggingConfig Sample", - "description": "UpdateLoggingConfig updates the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] of\nthe requested project.", - "file": "ProjectClient/UpdateLoggingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLoggingConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2alpha.ProjectClient.UpdateLoggingConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ProjectService.UpdateLoggingConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "UpdateLoggingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateLoggingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateLoggingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.LoggingConfig", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2alpha.ProjectClient" - }, - "method": { - "shortName": "UpdateLoggingConfig", - "fullName": "google.cloud.retail.v2alpha.ProjectService.UpdateLoggingConfig", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2alpha.ProjectService" - } - } + "shortName": "UpdateLoggingConfig" }, + "description": "UpdateLoggingConfig updates the [LoggingConfig][google.cloud.retail.v2alpha.LoggingConfig] of\nthe requested project.", + "file": "ProjectClient/UpdateLoggingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ProjectService_UpdateLoggingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateLoggingConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_SearchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2alpha.SearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2alpha.SearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_SearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_SearchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2alpha.SearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2alpha.SearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_SearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_SearchService_Search_sync", - "title": "retail Search Sample", - "description": "Search performs a search.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "SearchClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.cloud.retail.v2alpha.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2alpha.SearchClient.Search", + "method": { + "fullName": "google.cloud.retail.v2alpha.SearchService.Search", + "service": { + "fullName": "google.cloud.retail.v2alpha.SearchService", + "shortName": "SearchService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SearchRequest", - "name": "req" + "name": "req", + "type": "retailpb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2alpha.SearchClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.retail.v2alpha.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.retail.v2alpha.SearchService" - } - } + "shortName": "Search" }, + "description": "Search performs a search.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "SearchClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_SearchService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail Search Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_AddControl_sync", - "title": "retail AddControl Sample", - "description": "AddControl enables a Control on the specified ServingConfig.\nThe control is added in the last position of the list of controls\nit belongs to (e.g. if it's a facet spec control it will be applied\nin the last position of servingConfig.facetSpecIds)\nReturns a ALREADY_EXISTS error if the control has already been applied.\nReturns a FAILED_PRECONDITION error if the addition could exceed maximum\nnumber of control allowed for that type of control.", - "file": "ServingConfigClient/AddControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddControl", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.AddControl", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.AddControl", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "AddControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "AddControl", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.AddControl", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "AddControl" }, + "description": "AddControl enables a Control on the specified ServingConfig.\nThe control is added in the last position of the list of controls\nit belongs to (e.g. if it's a facet spec control it will be applied\nin the last position of servingConfig.facetSpecIds)\nReturns a ALREADY_EXISTS error if the control has already been applied.\nReturns a FAILED_PRECONDITION error if the addition could exceed maximum\nnumber of control allowed for that type of control.", + "file": "ServingConfigClient/AddControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_AddControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddControl Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_CreateServingConfig_sync", - "title": "retail CreateServingConfig Sample", - "description": "CreateServingConfig creates a ServingConfig.\n\nA maximum of 100\n[ServingConfig][google.cloud.retail.v2alpha.ServingConfig]s are allowed in\na [Catalog][google.cloud.retail.v2alpha.Catalog], otherwise a\nFAILED_PRECONDITION error is returned.", - "file": "ServingConfigClient/CreateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServingConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.CreateServingConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.CreateServingConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "CreateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "CreateServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.CreateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "CreateServingConfig" }, + "description": "CreateServingConfig creates a ServingConfig.\n\nA maximum of 100\n[ServingConfig][google.cloud.retail.v2alpha.ServingConfig]s are allowed in\na [Catalog][google.cloud.retail.v2alpha.Catalog], otherwise a\nFAILED_PRECONDITION error is returned.", + "file": "ServingConfigClient/CreateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_CreateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateServingConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_DeleteServingConfig_sync", - "title": "retail DeleteServingConfig Sample", - "description": "DeleteServingConfig deletes a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/DeleteServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServingConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.DeleteServingConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.DeleteServingConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "DeleteServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "DeleteServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.DeleteServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "DeleteServingConfig" }, + "description": "DeleteServingConfig deletes a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/DeleteServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_DeleteServingConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteServingConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_GetServingConfig_sync", - "title": "retail GetServingConfig Sample", - "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/GetServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServingConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.GetServingConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.GetServingConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "GetServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "GetServingConfig" }, + "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/GetServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_GetServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetServingConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_ListServingConfigs_sync", - "title": "retail ListServingConfigs Sample", - "description": "ListServingConfigs lists all ServingConfigs linked to this catalog.", - "file": "ServingConfigClient/ListServingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServingConfigs", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.ListServingConfigs", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.ListServingConfigs", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "ListServingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListServingConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListServingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServingConfigIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "ListServingConfigs" }, + "description": "ListServingConfigs lists all ServingConfigs linked to this catalog.", + "file": "ServingConfigClient/ListServingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_ListServingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListServingConfigs Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_RemoveControl_sync", - "title": "retail RemoveControl Sample", - "description": "RemoveControl disables a Control on the specified ServingConfig.\nThe control is removed from the ServingConfig.\nReturns a NOT_FOUND error if the Control is not enabled for the\nServingConfig.", - "file": "ServingConfigClient/RemoveControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveControl", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.RemoveControl", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.RemoveControl", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "RemoveControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "RemoveControl", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.RemoveControl", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "RemoveControl" }, + "description": "RemoveControl disables a Control on the specified ServingConfig.\nThe control is removed from the ServingConfig.\nReturns a NOT_FOUND error if the Control is not enabled for the\nServingConfig.", + "file": "ServingConfigClient/RemoveControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_RemoveControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveControl Sample" }, { - "regionTag": "retail_v2alpha_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "retail UpdateServingConfig Sample", - "description": "UpdateServingConfig updates a ServingConfig.", - "file": "ServingConfigClient/UpdateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServingConfig", + "client": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2alpha.ServingConfigClient.UpdateServingConfig", + "method": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.UpdateServingConfig", + "service": { + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "UpdateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2alpha.ServingConfigClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService" - } - } + "shortName": "UpdateServingConfig" }, + "description": "UpdateServingConfig updates a ServingConfig.", + "file": "ServingConfigClient/UpdateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_ServingConfigService_UpdateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateServingConfig Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_CollectUserEvent_sync", - "title": "retail CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.retail.v2alpha.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "retailpb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.retail.v2alpha.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CollectUserEvent Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_ExportUserEvents_sync", - "title": "retail ExportUserEvents Sample", - "description": "ExportUserEvents exports user events.\n\n`Operation.response` is of type `ExportResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", - "file": "UserEventClient/ExportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportUserEvents", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.ExportUserEvents", + "method": { + "fullName": "google.cloud.retail.v2alpha.UserEventService.ExportUserEvents", + "service": { + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ExportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "ExportUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.ExportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService" - } - } + "shortName": "ExportUserEvents" }, + "description": "ExportUserEvents exports user events.\n\n`Operation.response` is of type `ExportResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", + "file": "UserEventClient/ExportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_ExportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportUserEvents Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_ImportUserEvents_sync", - "title": "retail ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\n`Operation.response` is of type `ImportResponse`. Note that it is\npossible for a subset of the items to be successfully inserted.\n`Operation.metadata` is of type `ImportMetadata`.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.retail.v2alpha.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\n`Operation.response` is of type `ImportResponse`. Note that it is\npossible for a subset of the items to be successfully inserted.\n`Operation.metadata` is of type `ImportMetadata`.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportUserEvents Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_PurgeUserEvents_sync", - "title": "retail PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.retail.v2alpha.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PurgeUserEvents Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_RejoinUserEvents_sync", - "title": "retail RejoinUserEvents Sample", - "description": "RejoinUserEvents starts a user-event rejoin operation with latest product catalog. Events\nare not annotated with detailed product information for products that are\nmissing from the catalog when the user event is ingested. These\nevents are stored as unjoined events with limited usage on training and\nserving. You can use this method to start a join operation on specified\nevents with the latest version of product catalog. You can also use this\nmethod to correct events joined with the wrong product catalog. A rejoin\noperation can take hours or days to complete.", - "file": "UserEventClient/RejoinUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejoinUserEvents", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.RejoinUserEvents", + "method": { + "fullName": "google.cloud.retail.v2alpha.UserEventService.RejoinUserEvents", + "service": { + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "RejoinUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RejoinUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.RejoinUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejoinUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "RejoinUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.RejoinUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService" - } - } + "shortName": "RejoinUserEvents" }, + "description": "RejoinUserEvents starts a user-event rejoin operation with latest product catalog. Events\nare not annotated with detailed product information for products that are\nmissing from the catalog when the user event is ingested. These\nevents are stored as unjoined events with limited usage on training and\nserving. You can use this method to start a join operation on specified\nevents with the latest version of product catalog. You can also use this\nmethod to correct events joined with the wrong product catalog. A rejoin\noperation can take hours or days to complete.", + "file": "UserEventClient/RejoinUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_RejoinUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RejoinUserEvents Sample" }, { - "regionTag": "retail_v2alpha_generated_UserEventService_WriteUserEvent_sync", - "title": "retail WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.retail.v2alpha.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2alpha.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.retail.v2alpha.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "retailpb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2alpha.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.retail.v2alpha.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2alpha_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail WriteUserEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json b/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json index cc948af73e93..77206991fd0e 100644 --- a/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json +++ b/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json @@ -1,4104 +1,4104 @@ { "clientLibrary": { - "name": "cloud.google.com/go/retail/apiv2beta", - "version": "1.26.0", - "language": "GO", "apis": [ { "id": "google.cloud.retail.v2beta", "version": "v2beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/retail/apiv2beta", + "version": "1.26.0" }, "snippets": [ { - "regionTag": "retail_v2beta_generated_AnalyticsService_ExportAnalyticsMetrics_sync", - "title": "retail ExportAnalyticsMetrics Sample", - "description": "ExportAnalyticsMetrics exports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", - "file": "AnalyticsClient/ExportAnalyticsMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportAnalyticsMetrics", + "client": { + "fullName": "google.cloud.retail.v2beta.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2beta.AnalyticsClient.ExportAnalyticsMetrics", + "method": { + "fullName": "google.cloud.retail.v2beta.AnalyticsService.ExportAnalyticsMetrics", + "service": { + "fullName": "google.cloud.retail.v2beta.AnalyticsService", + "shortName": "AnalyticsService" + }, + "shortName": "ExportAnalyticsMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportAnalyticsMetricsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportAnalyticsMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportAnalyticsMetricsOperation", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2beta.AnalyticsClient" - }, - "method": { - "shortName": "ExportAnalyticsMetrics", - "fullName": "google.cloud.retail.v2beta.AnalyticsService.ExportAnalyticsMetrics", - "service": { - "shortName": "AnalyticsService", - "fullName": "google.cloud.retail.v2beta.AnalyticsService" - } - } + "shortName": "ExportAnalyticsMetrics" }, + "description": "ExportAnalyticsMetrics exports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", + "file": "AnalyticsClient/ExportAnalyticsMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_AnalyticsService_ExportAnalyticsMetrics_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportAnalyticsMetrics Sample" }, { - "regionTag": "retail_v2beta_generated_AnalyticsService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AnalyticsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2beta.AnalyticsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2beta.AnalyticsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AnalyticsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_AnalyticsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_AnalyticsService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AnalyticsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.AnalyticsClient", + "shortName": "AnalyticsClient" + }, "fullName": "google.cloud.retail.v2beta.AnalyticsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AnalyticsClient", - "fullName": "google.cloud.retail.v2beta.AnalyticsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AnalyticsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_AnalyticsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_AddCatalogAttribute_sync", - "title": "retail AddCatalogAttribute Sample", - "description": "AddCatalogAttribute adds the specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to\nadd already exists, an ALREADY_EXISTS error is returned.", - "file": "CatalogClient/AddCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.AddCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.AddCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "AddCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "AddCatalogAttribute", - "fullName": "google.cloud.retail.v2beta.CatalogService.AddCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "AddCatalogAttribute" }, + "description": "AddCatalogAttribute adds the specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to\nadd already exists, an ALREADY_EXISTS error is returned.", + "file": "CatalogClient/AddCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_AddCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddCatalogAttribute Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_BatchRemoveCatalogAttributes_sync", - "title": "retail BatchRemoveCatalogAttributes Sample", - "description": "BatchRemoveCatalogAttributes removes all specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s from the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].", - "file": "CatalogClient/BatchRemoveCatalogAttributes/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchRemoveCatalogAttributes", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.BatchRemoveCatalogAttributes", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "BatchRemoveCatalogAttributes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.BatchRemoveCatalogAttributesRequest", - "name": "req" + "name": "req", + "type": "retailpb.BatchRemoveCatalogAttributesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.BatchRemoveCatalogAttributesResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "BatchRemoveCatalogAttributes", - "fullName": "google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "BatchRemoveCatalogAttributes" }, + "description": "BatchRemoveCatalogAttributes removes all specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute]s from the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].", + "file": "CatalogClient/BatchRemoveCatalogAttributes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_BatchRemoveCatalogAttributes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail BatchRemoveCatalogAttributes Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_GetAttributesConfig_sync", - "title": "retail GetAttributesConfig Sample", - "description": "GetAttributesConfig gets an [AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].", - "file": "CatalogClient/GetAttributesConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttributesConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.GetAttributesConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.GetAttributesConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetAttributesConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetAttributesConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetAttributesConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "GetAttributesConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.GetAttributesConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "GetAttributesConfig" }, + "description": "GetAttributesConfig gets an [AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].", + "file": "CatalogClient/GetAttributesConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_GetAttributesConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetAttributesConfig Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_GetCompletionConfig_sync", - "title": "retail GetCompletionConfig Sample", - "description": "GetCompletionConfig gets a [CompletionConfig][google.cloud.retail.v2beta.CompletionConfig].", - "file": "CatalogClient/GetCompletionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompletionConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.GetCompletionConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.GetCompletionConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetCompletionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetCompletionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetCompletionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompletionConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "GetCompletionConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.GetCompletionConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "GetCompletionConfig" }, + "description": "GetCompletionConfig gets a [CompletionConfig][google.cloud.retail.v2beta.CompletionConfig].", + "file": "CatalogClient/GetCompletionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_GetCompletionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetCompletionConfig Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_GetDefaultBranch_sync", - "title": "retail GetDefaultBranch Sample", - "description": "GetDefaultBranch get which branch is currently default branch set by\n[CatalogService.SetDefaultBranch][google.cloud.retail.v2beta.CatalogService.SetDefaultBranch]\nmethod under a specified parent catalog.", - "file": "CatalogClient/GetDefaultBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDefaultBranch", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.GetDefaultBranch", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.GetDefaultBranch", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "GetDefaultBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetDefaultBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetDefaultBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GetDefaultBranchResponse", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "GetDefaultBranch", - "fullName": "google.cloud.retail.v2beta.CatalogService.GetDefaultBranch", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "GetDefaultBranch" }, + "description": "GetDefaultBranch get which branch is currently default branch set by\n[CatalogService.SetDefaultBranch][google.cloud.retail.v2beta.CatalogService.SetDefaultBranch]\nmethod under a specified parent catalog.", + "file": "CatalogClient/GetDefaultBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_GetDefaultBranch_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetDefaultBranch Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_ListCatalogs_sync", - "title": "retail ListCatalogs Sample", - "description": "ListCatalogs lists all the [Catalog][google.cloud.retail.v2beta.Catalog]s associated\nwith the project.", - "file": "CatalogClient/ListCatalogs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCatalogs", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.ListCatalogs", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.ListCatalogs", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ListCatalogs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListCatalogsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListCatalogsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CatalogIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "ListCatalogs", - "fullName": "google.cloud.retail.v2beta.CatalogService.ListCatalogs", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "ListCatalogs" }, + "description": "ListCatalogs lists all the [Catalog][google.cloud.retail.v2beta.Catalog]s associated\nwith the project.", + "file": "CatalogClient/ListCatalogs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_ListCatalogs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListCatalogs Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CatalogClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CatalogClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_RemoveCatalogAttribute_sync", - "title": "retail RemoveCatalogAttribute Sample", - "description": "RemoveCatalogAttribute removes the specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] from the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to\nremove does not exist, a NOT_FOUND error is returned.", - "file": "CatalogClient/RemoveCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.RemoveCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "RemoveCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "RemoveCatalogAttribute", - "fullName": "google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "RemoveCatalogAttribute" }, + "description": "RemoveCatalogAttribute removes the specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] from the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].\n\nIf the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to\nremove does not exist, a NOT_FOUND error is returned.", + "file": "CatalogClient/RemoveCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_RemoveCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveCatalogAttribute Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_ReplaceCatalogAttribute_sync", - "title": "retail ReplaceCatalogAttribute Sample", - "description": "ReplaceCatalogAttribute replaces the specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] in the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig] by updating\nthe catalog attribute with the same\n[CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key].\n\nIf the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to\nreplace does not exist, a NOT_FOUND error is returned.", - "file": "CatalogClient/ReplaceCatalogAttribute/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReplaceCatalogAttribute", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.ReplaceCatalogAttribute", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttribute", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "ReplaceCatalogAttribute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ReplaceCatalogAttributeRequest", - "name": "req" + "name": "req", + "type": "retailpb.ReplaceCatalogAttributeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "ReplaceCatalogAttribute", - "fullName": "google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttribute", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "ReplaceCatalogAttribute" }, + "description": "ReplaceCatalogAttribute replaces the specified\n[CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] in the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig] by updating\nthe catalog attribute with the same\n[CatalogAttribute.key][google.cloud.retail.v2beta.CatalogAttribute.key].\n\nIf the [CatalogAttribute][google.cloud.retail.v2beta.CatalogAttribute] to\nreplace does not exist, a NOT_FOUND error is returned.", + "file": "CatalogClient/ReplaceCatalogAttribute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_ReplaceCatalogAttribute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ReplaceCatalogAttribute Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_SetDefaultBranch_sync", - "title": "retail SetDefaultBranch Sample", - "description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2beta.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.", - "file": "CatalogClient/SetDefaultBranch/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetDefaultBranch", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.SetDefaultBranch", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.SetDefaultBranch", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "SetDefaultBranch" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SetDefaultBranchRequest", - "name": "req" + "name": "req", + "type": "retailpb.SetDefaultBranchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "SetDefaultBranch", - "fullName": "google.cloud.retail.v2beta.CatalogService.SetDefaultBranch", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "SetDefaultBranch" }, + "description": "SetDefaultBranch set a specified branch id as default branch. API methods such as\n[SearchService.Search][google.cloud.retail.v2beta.SearchService.Search],\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct],\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts]\nwill treat requests using \"default_branch\" to the actual branch id set as\ndefault.\n\nFor example, if `projects/*/locations/*/catalogs/*/branches/1` is set as\ndefault, setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent\nto setting\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\n`projects/*/locations/*/catalogs/*/branches/1`.\n\nUsing multiple branches can be useful when developers would like\nto have a staging branch to test and verify for future usage. When it\nbecomes ready, developers switch on the staging branch using this API\nwhile keeping using\n`projects/*/locations/*/catalogs/*/branches/default_branch` as\n[SearchRequest.branch][google.cloud.retail.v2beta.SearchRequest.branch] to\nroute the traffic to this staging branch.\n\nCAUTION: If you have live predict/search traffic, switching the default\nbranch could potentially cause outages if the ID space of the new branch\nis very different from the old one.\n\nMore specifically: \n\n* PredictionService will only return product IDs from branch {newBranch}.\n* SearchService will only return product IDs from branch {newBranch}\n(if branch is not explicitly set).\n* UserEventService will only join events with products from branch\n{newBranch}.", + "file": "CatalogClient/SetDefaultBranch/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_SetDefaultBranch_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail SetDefaultBranch Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_UpdateAttributesConfig_sync", - "title": "retail UpdateAttributesConfig Sample", - "description": "UpdateAttributesConfig updates the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].\n\nThe catalog attributes in the request will be updated in the catalog, or\ninserted if they do not exist. Existing catalog attributes not included in\nthe request will remain unchanged. Attributes that are assigned to\nproducts, but do not exist at the catalog level, are always included in the\nresponse. The product attribute is assigned default values for missing\ncatalog attribute fields, e.g., searchable and dynamic facetable options.", - "file": "CatalogClient/UpdateAttributesConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAttributesConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.UpdateAttributesConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateAttributesConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateAttributesConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateAttributesConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AttributesConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "UpdateAttributesConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "UpdateAttributesConfig" }, + "description": "UpdateAttributesConfig updates the\n[AttributesConfig][google.cloud.retail.v2beta.AttributesConfig].\n\nThe catalog attributes in the request will be updated in the catalog, or\ninserted if they do not exist. Existing catalog attributes not included in\nthe request will remain unchanged. Attributes that are assigned to\nproducts, but do not exist at the catalog level, are always included in the\nresponse. The product attribute is assigned default values for missing\ncatalog attribute fields, e.g., searchable and dynamic facetable options.", + "file": "CatalogClient/UpdateAttributesConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_UpdateAttributesConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateAttributesConfig Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_UpdateCatalog_sync", - "title": "retail UpdateCatalog Sample", - "description": "UpdateCatalog updates the [Catalog][google.cloud.retail.v2beta.Catalog]s.", - "file": "CatalogClient/UpdateCatalog/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCatalog", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.UpdateCatalog", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCatalog", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCatalog" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateCatalogRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateCatalogRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Catalog", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "UpdateCatalog", - "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCatalog", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "UpdateCatalog" }, + "description": "UpdateCatalog updates the [Catalog][google.cloud.retail.v2beta.Catalog]s.", + "file": "CatalogClient/UpdateCatalog/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_UpdateCatalog_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateCatalog Sample" }, { - "regionTag": "retail_v2beta_generated_CatalogService_UpdateCompletionConfig_sync", - "title": "retail UpdateCompletionConfig Sample", - "description": "UpdateCompletionConfig updates the\n[CompletionConfig][google.cloud.retail.v2beta.CompletionConfig]s.", - "file": "CatalogClient/UpdateCompletionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCompletionConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.CatalogClient", + "shortName": "CatalogClient" + }, "fullName": "google.cloud.retail.v2beta.CatalogClient.UpdateCompletionConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "CatalogService" + }, + "shortName": "UpdateCompletionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateCompletionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateCompletionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompletionConfig", - "client": { - "shortName": "CatalogClient", - "fullName": "google.cloud.retail.v2beta.CatalogClient" - }, - "method": { - "shortName": "UpdateCompletionConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfig", - "service": { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService" - } - } + "shortName": "UpdateCompletionConfig" }, + "description": "UpdateCompletionConfig updates the\n[CompletionConfig][google.cloud.retail.v2beta.CompletionConfig]s.", + "file": "CatalogClient/UpdateCompletionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CatalogService_UpdateCompletionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateCompletionConfig Sample" }, { - "regionTag": "retail_v2beta_generated_CompletionService_CompleteQuery_sync", - "title": "retail CompleteQuery Sample", - "description": "CompleteQuery completes the specified prefix with keyword suggestions.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.retail.v2beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2beta.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.retail.v2beta.CompletionService.CompleteQuery", + "service": { + "fullName": "google.cloud.retail.v2beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "retailpb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2beta.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.retail.v2beta.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2beta.CompletionService" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified prefix with keyword suggestions.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CompletionService_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CompleteQuery Sample" }, { - "regionTag": "retail_v2beta_generated_CompletionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2beta.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2beta.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CompletionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_CompletionService_ImportCompletionData_sync", - "title": "retail ImportCompletionData Sample", - "description": "ImportCompletionData bulk import of processed completion dataset.\n\nRequest processing is asynchronous. Partial updating is not supported.\n\nThe operation is successfully finished only after the imported suggestions\nare indexed successfully and ready for serving. The process takes hours.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "CompletionClient/ImportCompletionData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportCompletionData", + "client": { + "fullName": "google.cloud.retail.v2beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2beta.CompletionClient.ImportCompletionData", + "method": { + "fullName": "google.cloud.retail.v2beta.CompletionService.ImportCompletionData", + "service": { + "fullName": "google.cloud.retail.v2beta.CompletionService", + "shortName": "CompletionService" + }, + "shortName": "ImportCompletionData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportCompletionDataRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportCompletionDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportCompletionDataOperation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2beta.CompletionClient" - }, - "method": { - "shortName": "ImportCompletionData", - "fullName": "google.cloud.retail.v2beta.CompletionService.ImportCompletionData", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2beta.CompletionService" - } - } + "shortName": "ImportCompletionData" }, + "description": "ImportCompletionData bulk import of processed completion dataset.\n\nRequest processing is asynchronous. Partial updating is not supported.\n\nThe operation is successfully finished only after the imported suggestions\nare indexed successfully and ready for serving. The process takes hours.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "CompletionClient/ImportCompletionData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CompletionService_ImportCompletionData_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportCompletionData Sample" }, { - "regionTag": "retail_v2beta_generated_CompletionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.retail.v2beta.CompletionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.retail.v2beta.CompletionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_CompletionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_CreateControl_sync", - "title": "retail CreateControl Sample", - "description": "CreateControl creates a Control.\n\nIf the [Control][google.cloud.retail.v2beta.Control] to create already\nexists, an ALREADY_EXISTS error is returned.", - "file": "ControlClient/CreateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateControl", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.CreateControl", + "method": { + "fullName": "google.cloud.retail.v2beta.ControlService.CreateControl", + "service": { + "fullName": "google.cloud.retail.v2beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "CreateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.retail.v2beta.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2beta.ControlService" - } - } + "shortName": "CreateControl" }, + "description": "CreateControl creates a Control.\n\nIf the [Control][google.cloud.retail.v2beta.Control] to create already\nexists, an ALREADY_EXISTS error is returned.", + "file": "ControlClient/CreateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_CreateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateControl Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_DeleteControl_sync", - "title": "retail DeleteControl Sample", - "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.retail.v2beta.Control] to delete does not\nexist, a NOT_FOUND error is returned.", - "file": "ControlClient/DeleteControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteControl", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.DeleteControl", + "method": { + "fullName": "google.cloud.retail.v2beta.ControlService.DeleteControl", + "service": { + "fullName": "google.cloud.retail.v2beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "DeleteControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.retail.v2beta.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2beta.ControlService" - } - } + "shortName": "DeleteControl" }, + "description": "DeleteControl deletes a Control.\n\nIf the [Control][google.cloud.retail.v2beta.Control] to delete does not\nexist, a NOT_FOUND error is returned.", + "file": "ControlClient/DeleteControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_DeleteControl_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteControl Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_GetControl_sync", - "title": "retail GetControl Sample", - "description": "GetControl gets a Control.", - "file": "ControlClient/GetControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetControl", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.GetControl", + "method": { + "fullName": "google.cloud.retail.v2beta.ControlService.GetControl", + "service": { + "fullName": "google.cloud.retail.v2beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "GetControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.retail.v2beta.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2beta.ControlService" - } - } + "shortName": "GetControl" }, + "description": "GetControl gets a Control.", + "file": "ControlClient/GetControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_GetControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetControl Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ControlClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ControlClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_ListControls_sync", - "title": "retail ListControls Sample", - "description": "ListControls lists all Controls by their parent\n[Catalog][google.cloud.retail.v2beta.Catalog].", - "file": "ControlClient/ListControls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListControls", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.ListControls", + "method": { + "fullName": "google.cloud.retail.v2beta.ControlService.ListControls", + "service": { + "fullName": "google.cloud.retail.v2beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "ListControls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListControlsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListControlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ControlIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.retail.v2beta.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2beta.ControlService" - } - } + "shortName": "ListControls" }, + "description": "ListControls lists all Controls by their parent\n[Catalog][google.cloud.retail.v2beta.Catalog].", + "file": "ControlClient/ListControls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_ListControls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListControls Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ControlClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ControlClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_ControlService_UpdateControl_sync", - "title": "retail UpdateControl Sample", - "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.retail.v2beta.Control] cannot be set to a different\noneof field, if so an INVALID_ARGUMENT is returned. If the\n[Control][google.cloud.retail.v2beta.Control] to update does not exist, a\nNOT_FOUND error is returned.", - "file": "ControlClient/UpdateControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateControl", + "client": { + "fullName": "google.cloud.retail.v2beta.ControlClient", + "shortName": "ControlClient" + }, "fullName": "google.cloud.retail.v2beta.ControlClient.UpdateControl", + "method": { + "fullName": "google.cloud.retail.v2beta.ControlService.UpdateControl", + "service": { + "fullName": "google.cloud.retail.v2beta.ControlService", + "shortName": "ControlService" + }, + "shortName": "UpdateControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Control", - "client": { - "shortName": "ControlClient", - "fullName": "google.cloud.retail.v2beta.ControlClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.retail.v2beta.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2beta.ControlService" - } - } + "shortName": "UpdateControl" }, + "description": "UpdateControl updates a Control.\n\n[Control][google.cloud.retail.v2beta.Control] cannot be set to a different\noneof field, if so an INVALID_ARGUMENT is returned. If the\n[Control][google.cloud.retail.v2beta.Control] to update does not exist, a\nNOT_FOUND error is returned.", + "file": "ControlClient/UpdateControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ControlService_UpdateControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateControl Sample" }, { - "regionTag": "retail_v2beta_generated_ConversationalSearchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.retail.v2beta.ConversationalSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.retail.v2beta.ConversationalSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ConversationalSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_ConversationalSearchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ConversationalSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.ConversationalSearchClient", + "shortName": "ConversationalSearchClient" + }, "fullName": "google.cloud.retail.v2beta.ConversationalSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ConversationalSearchClient", - "fullName": "google.cloud.retail.v2beta.ConversationalSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ConversationalSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ConversationalSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync", - "title": "retail BatchUpdateGenerativeQuestionConfigs Sample", - "description": "BatchUpdateGenerativeQuestionConfigs allows management of multiple questions.", - "file": "GenerativeQuestionClient/BatchUpdateGenerativeQuestionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateGenerativeQuestionConfigs", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.BatchUpdateGenerativeQuestionConfigs", + "method": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs", + "service": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "BatchUpdateGenerativeQuestionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.BatchUpdateGenerativeQuestionConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.BatchUpdateGenerativeQuestionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.BatchUpdateGenerativeQuestionConfigsResponse", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "BatchUpdateGenerativeQuestionConfigs", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService" - } - } + "shortName": "BatchUpdateGenerativeQuestionConfigs" }, + "description": "BatchUpdateGenerativeQuestionConfigs allows management of multiple questions.", + "file": "GenerativeQuestionClient/BatchUpdateGenerativeQuestionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail BatchUpdateGenerativeQuestionConfigs Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_sync", - "title": "retail GetGenerativeQuestionsFeatureConfig Sample", - "description": "GetGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", - "file": "GenerativeQuestionClient/GetGenerativeQuestionsFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGenerativeQuestionsFeatureConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.GetGenerativeQuestionsFeatureConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "GetGenerativeQuestionsFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetGenerativeQuestionsFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetGenerativeQuestionsFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionsFeatureConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "GetGenerativeQuestionsFeatureConfig", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService" - } - } + "shortName": "GetGenerativeQuestionsFeatureConfig" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", + "file": "GenerativeQuestionClient/GetGenerativeQuestionsFeatureConfig/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetGenerativeQuestionsFeatureConfig Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "GenerativeQuestionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "GenerativeQuestionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_ListGenerativeQuestionConfigs_sync", - "title": "retail ListGenerativeQuestionConfigs Sample", - "description": "ListGenerativeQuestionConfigs returns all questions for a given catalog.", - "file": "GenerativeQuestionClient/ListGenerativeQuestionConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGenerativeQuestionConfigs", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.ListGenerativeQuestionConfigs", + "method": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.ListGenerativeQuestionConfigs", + "service": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "ListGenerativeQuestionConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListGenerativeQuestionConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListGenerativeQuestionConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ListGenerativeQuestionConfigsResponse", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "ListGenerativeQuestionConfigs", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.ListGenerativeQuestionConfigs", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService" - } - } + "shortName": "ListGenerativeQuestionConfigs" }, + "description": "ListGenerativeQuestionConfigs returns all questions for a given catalog.", + "file": "GenerativeQuestionClient/ListGenerativeQuestionConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_ListGenerativeQuestionConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListGenerativeQuestionConfigs Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "GenerativeQuestionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "GenerativeQuestionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_UpdateGenerativeQuestionConfig_sync", - "title": "retail UpdateGenerativeQuestionConfig Sample", - "description": "UpdateGenerativeQuestionConfig allows management of individual questions.", - "file": "GenerativeQuestionClient/UpdateGenerativeQuestionConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeQuestionConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.UpdateGenerativeQuestionConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "UpdateGenerativeQuestionConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateGenerativeQuestionConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateGenerativeQuestionConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "UpdateGenerativeQuestionConfig", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService" - } - } + "shortName": "UpdateGenerativeQuestionConfig" }, + "description": "UpdateGenerativeQuestionConfig allows management of individual questions.", + "file": "GenerativeQuestionClient/UpdateGenerativeQuestionConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_UpdateGenerativeQuestionConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateGenerativeQuestionConfig Sample" }, { - "regionTag": "retail_v2beta_generated_GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_sync", - "title": "retail UpdateGenerativeQuestionsFeatureConfig Sample", - "description": "UpdateGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", - "file": "GenerativeQuestionClient/UpdateGenerativeQuestionsFeatureConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGenerativeQuestionsFeatureConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient", + "shortName": "GenerativeQuestionClient" + }, "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient.UpdateGenerativeQuestionsFeatureConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService", + "shortName": "GenerativeQuestionService" + }, + "shortName": "UpdateGenerativeQuestionsFeatureConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateGenerativeQuestionsFeatureConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateGenerativeQuestionsFeatureConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.GenerativeQuestionsFeatureConfig", - "client": { - "shortName": "GenerativeQuestionClient", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionClient" - }, - "method": { - "shortName": "UpdateGenerativeQuestionsFeatureConfig", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig", - "service": { - "shortName": "GenerativeQuestionService", - "fullName": "google.cloud.retail.v2beta.GenerativeQuestionService" - } - } + "shortName": "UpdateGenerativeQuestionsFeatureConfig" }, + "description": "UpdateGenerativeQuestionsFeatureConfig manages overal generative question feature state -- enables toggling\nfeature on and off.", + "file": "GenerativeQuestionClient/UpdateGenerativeQuestionsFeatureConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateGenerativeQuestionsFeatureConfig Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_CreateModel_sync", - "title": "retail CreateModel Sample", - "description": "CreateModel creates a new model.", - "file": "ModelClient/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.CreateModel", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.CreateModel", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.retail.v2beta.ModelService.CreateModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a new model.", + "file": "ModelClient/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateModel Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_DeleteModel_sync", - "title": "retail DeleteModel Sample", - "description": "DeleteModel deletes an existing model.", - "file": "ModelClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.DeleteModel", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.DeleteModel", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.retail.v2beta.ModelService.DeleteModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes an existing model.", + "file": "ModelClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteModel Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_GetModel_sync", - "title": "retail GetModel Sample", - "description": "GetModel gets a model.", - "file": "ModelClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.GetModel", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.GetModel", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.retail.v2beta.ModelService.GetModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "ModelClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetModel Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ModelClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ModelClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_ListModels_sync", - "title": "retail ListModels Sample", - "description": "ListModels lists all the models linked to this event store.", - "file": "ModelClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.ListModels", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.ListModels", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.retail.v2beta.ModelService.ListModels", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists all the models linked to this event store.", + "file": "ModelClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListModels Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ModelClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ModelClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_PauseModel_sync", - "title": "retail PauseModel Sample", - "description": "PauseModel pauses the training of an existing model.", - "file": "ModelClient/PauseModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseModel", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.PauseModel", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.PauseModel", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "PauseModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PauseModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.PauseModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "PauseModel", - "fullName": "google.cloud.retail.v2beta.ModelService.PauseModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "PauseModel" }, + "description": "PauseModel pauses the training of an existing model.", + "file": "ModelClient/PauseModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_PauseModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PauseModel Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_ResumeModel_sync", - "title": "retail ResumeModel Sample", - "description": "ResumeModel resumes the training of an existing model.", - "file": "ModelClient/ResumeModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeModel", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.ResumeModel", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.ResumeModel", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "ResumeModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ResumeModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.ResumeModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Model", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "ResumeModel", - "fullName": "google.cloud.retail.v2beta.ModelService.ResumeModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "ResumeModel" }, + "description": "ResumeModel resumes the training of an existing model.", + "file": "ModelClient/ResumeModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_ResumeModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ResumeModel Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_TuneModel_sync", - "title": "retail TuneModel Sample", - "description": "TuneModel tunes an existing model.", - "file": "ModelClient/TuneModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "TuneModel", + "client": { + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" + }, "fullName": "google.cloud.retail.v2beta.ModelClient.TuneModel", + "method": { + "fullName": "google.cloud.retail.v2beta.ModelService.TuneModel", + "service": { + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "TuneModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.TuneModelRequest", - "name": "req" + "name": "req", + "type": "retailpb.TuneModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TuneModelOperation", - "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" - }, - "method": { - "shortName": "TuneModel", - "fullName": "google.cloud.retail.v2beta.ModelService.TuneModel", - "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" - } - } + "shortName": "TuneModel" }, + "description": "TuneModel tunes an existing model.", + "file": "ModelClient/TuneModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_TuneModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail TuneModel Sample" }, { - "regionTag": "retail_v2beta_generated_ModelService_UpdateModel_sync", - "title": "retail UpdateModel Sample", - "description": "UpdateModel update of model metadata. Only fields that\ncurrently can be updated are: `filtering_option` and\n`periodic_tuning_state`.\nIf other values are provided, this API method ignores them.", - "file": "ModelClient/UpdateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateModel", - "fullName": "google.cloud.retail.v2beta.ModelClient.UpdateModel", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "retailpb.UpdateModelRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*retailpb.Model", "client": { - "shortName": "ModelClient", - "fullName": "google.cloud.retail.v2beta.ModelClient" + "fullName": "google.cloud.retail.v2beta.ModelClient", + "shortName": "ModelClient" }, + "fullName": "google.cloud.retail.v2beta.ModelClient.UpdateModel", "method": { - "shortName": "UpdateModel", "fullName": "google.cloud.retail.v2beta.ModelService.UpdateModel", "service": { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService" + "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "ModelService" + }, + "shortName": "UpdateModel" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "retailpb.UpdateModelRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*retailpb.Model", + "shortName": "UpdateModel" }, + "description": "UpdateModel update of model metadata. Only fields that\ncurrently can be updated are: `filtering_option` and\n`periodic_tuning_state`.\nIf other values are provided, this API method ignores them.", + "file": "ModelClient/UpdateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ModelService_UpdateModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateModel Sample" }, { - "regionTag": "retail_v2beta_generated_PredictionService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2beta.PredictionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2beta.PredictionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_PredictionService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_PredictionService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "PredictionClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2beta.PredictionClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2beta.PredictionClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "PredictionClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_PredictionService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_PredictionService_Predict_sync", - "title": "retail Predict Sample", - "description": "Predict makes a recommendation prediction.", - "file": "PredictionClient/Predict/main.go", - "language": "GO", "clientMethod": { - "shortName": "Predict", + "client": { + "fullName": "google.cloud.retail.v2beta.PredictionClient", + "shortName": "PredictionClient" + }, "fullName": "google.cloud.retail.v2beta.PredictionClient.Predict", + "method": { + "fullName": "google.cloud.retail.v2beta.PredictionService.Predict", + "service": { + "fullName": "google.cloud.retail.v2beta.PredictionService", + "shortName": "PredictionService" + }, + "shortName": "Predict" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PredictRequest", - "name": "req" + "name": "req", + "type": "retailpb.PredictRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.PredictResponse", - "client": { - "shortName": "PredictionClient", - "fullName": "google.cloud.retail.v2beta.PredictionClient" - }, - "method": { - "shortName": "Predict", - "fullName": "google.cloud.retail.v2beta.PredictionService.Predict", - "service": { - "shortName": "PredictionService", - "fullName": "google.cloud.retail.v2beta.PredictionService" - } - } + "shortName": "Predict" }, + "description": "Predict makes a recommendation prediction.", + "file": "PredictionClient/Predict/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_PredictionService_Predict_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail Predict Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_AddFulfillmentPlaces_sync", - "title": "retail AddFulfillmentPlaces Sample", - "description": "AddFulfillmentPlaces we recommend that you use the\n[ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories]\nmethod instead of the\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces]\nmethod.\n[ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally adds place IDs to\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2beta.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the added place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/AddFulfillmentPlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddFulfillmentPlaces", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.AddFulfillmentPlaces", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "AddFulfillmentPlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddFulfillmentPlacesRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddFulfillmentPlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddFulfillmentPlacesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "AddFulfillmentPlaces", - "fullName": "google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "AddFulfillmentPlaces" }, + "description": "AddFulfillmentPlaces we recommend that you use the\n[ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories]\nmethod instead of the\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces]\nmethod.\n[ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally adds place IDs to\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2beta.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the added place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/AddFulfillmentPlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_AddFulfillmentPlaces_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddFulfillmentPlaces Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_AddLocalInventories_sync", - "title": "retail AddLocalInventories Sample", - "description": "AddLocalInventories updates local inventory information for a\n[Product][google.cloud.retail.v2beta.Product] at a list of places, while\nrespecting the last update timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\ninventory information. If the request is valid, the update will be enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nLocal inventory information can only be modified using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/AddLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddLocalInventories", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.AddLocalInventories", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.AddLocalInventories", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "AddLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddLocalInventoriesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "AddLocalInventories", - "fullName": "google.cloud.retail.v2beta.ProductService.AddLocalInventories", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "AddLocalInventories" }, + "description": "AddLocalInventories updates local inventory information for a\n[Product][google.cloud.retail.v2beta.Product] at a list of places, while\nrespecting the last update timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\ninventory information. If the request is valid, the update will be enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nLocal inventory information can only be modified using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/AddLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_AddLocalInventories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddLocalInventories Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_CreateProduct_sync", - "title": "retail CreateProduct Sample", - "description": "CreateProduct creates a [Product][google.cloud.retail.v2beta.Product].", - "file": "ProductClient/CreateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProduct", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.CreateProduct", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.CreateProduct", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "CreateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "CreateProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.CreateProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "CreateProduct" }, + "description": "CreateProduct creates a [Product][google.cloud.retail.v2beta.Product].", + "file": "ProductClient/CreateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_CreateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateProduct Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_DeleteProduct_sync", - "title": "retail DeleteProduct Sample", - "description": "DeleteProduct deletes a [Product][google.cloud.retail.v2beta.Product].", - "file": "ProductClient/DeleteProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProduct", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.DeleteProduct", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.DeleteProduct", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "DeleteProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "DeleteProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.DeleteProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "DeleteProduct" }, + "description": "DeleteProduct deletes a [Product][google.cloud.retail.v2beta.Product].", + "file": "ProductClient/DeleteProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_DeleteProduct_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteProduct Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_ExportProducts_sync", - "title": "retail ExportProducts Sample", - "description": "ExportProducts exports multiple [Product][google.cloud.retail.v2beta.Product]s.", - "file": "ProductClient/ExportProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportProducts", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.ExportProducts", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.ExportProducts", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "ExportProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "ExportProducts", - "fullName": "google.cloud.retail.v2beta.ProductService.ExportProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "ExportProducts" }, + "description": "ExportProducts exports multiple [Product][google.cloud.retail.v2beta.Product]s.", + "file": "ProductClient/ExportProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_ExportProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportProducts Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProductClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProductClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_GetProduct_sync", - "title": "retail GetProduct Sample", - "description": "GetProduct gets a [Product][google.cloud.retail.v2beta.Product].", - "file": "ProductClient/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.GetProduct", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.GetProduct", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.GetProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct gets a [Product][google.cloud.retail.v2beta.Product].", + "file": "ProductClient/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetProduct Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_ImportProducts_sync", - "title": "retail ImportProducts Sample", - "description": "ImportProducts bulk import of multiple [Product][google.cloud.retail.v2beta.Product]s.\n\nRequest processing may be synchronous.\nNon-existing items are created.\n\nNote that it is possible for a subset of the\n[Product][google.cloud.retail.v2beta.Product]s to be successfully updated.", - "file": "ProductClient/ImportProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportProducts", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.ImportProducts", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.ImportProducts", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "ImportProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "ImportProducts", - "fullName": "google.cloud.retail.v2beta.ProductService.ImportProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "ImportProducts" }, + "description": "ImportProducts bulk import of multiple [Product][google.cloud.retail.v2beta.Product]s.\n\nRequest processing may be synchronous.\nNon-existing items are created.\n\nNote that it is possible for a subset of the\n[Product][google.cloud.retail.v2beta.Product]s to be successfully updated.", + "file": "ProductClient/ImportProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_ImportProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportProducts Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProductClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProductClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_ListProducts_sync", - "title": "retail ListProducts Sample", - "description": "ListProducts gets a list of [Product][google.cloud.retail.v2beta.Product]s.", - "file": "ProductClient/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.ListProducts", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.ListProducts", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.cloud.retail.v2beta.ProductService.ListProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts gets a list of [Product][google.cloud.retail.v2beta.Product]s.", + "file": "ProductClient/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListProducts Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_PurgeProducts_sync", - "title": "retail PurgeProducts Sample", - "description": "PurgeProducts permanently deletes all selected\n[Product][google.cloud.retail.v2beta.Product]s under a branch.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed offline. Depending on the number of\n[Product][google.cloud.retail.v2beta.Product]s, this operation could take\nhours to complete. Before the operation completes, some\n[Product][google.cloud.retail.v2beta.Product]s may still be returned by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nDepending on the number of [Product][google.cloud.retail.v2beta.Product]s,\nthis operation could take hours to complete. To get a sample of\n[Product][google.cloud.retail.v2beta.Product]s that would be deleted, set\n[PurgeProductsRequest.force][google.cloud.retail.v2beta.PurgeProductsRequest.force]\nto false.", - "file": "ProductClient/PurgeProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeProducts", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.PurgeProducts", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.PurgeProducts", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "PurgeProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PurgeProductsRequest", - "name": "req" + "name": "req", + "type": "retailpb.PurgeProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeProductsOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "PurgeProducts", - "fullName": "google.cloud.retail.v2beta.ProductService.PurgeProducts", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "PurgeProducts" }, + "description": "PurgeProducts permanently deletes all selected\n[Product][google.cloud.retail.v2beta.Product]s under a branch.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed offline. Depending on the number of\n[Product][google.cloud.retail.v2beta.Product]s, this operation could take\nhours to complete. Before the operation completes, some\n[Product][google.cloud.retail.v2beta.Product]s may still be returned by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nDepending on the number of [Product][google.cloud.retail.v2beta.Product]s,\nthis operation could take hours to complete. To get a sample of\n[Product][google.cloud.retail.v2beta.Product]s that would be deleted, set\n[PurgeProductsRequest.force][google.cloud.retail.v2beta.PurgeProductsRequest.force]\nto false.", + "file": "ProductClient/PurgeProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_PurgeProducts_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PurgeProducts Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_RemoveFulfillmentPlaces_sync", - "title": "retail RemoveFulfillmentPlaces Sample", - "description": "RemoveFulfillmentPlaces we recommend that you use the\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories]\nmethod instead of the\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces]\nmethod.\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally removes place IDs from a\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2beta.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the removed place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/RemoveFulfillmentPlaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveFulfillmentPlaces", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.RemoveFulfillmentPlaces", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "RemoveFulfillmentPlaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveFulfillmentPlacesRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveFulfillmentPlacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveFulfillmentPlacesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "RemoveFulfillmentPlaces", - "fullName": "google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "RemoveFulfillmentPlaces" }, + "description": "RemoveFulfillmentPlaces we recommend that you use the\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories]\nmethod instead of the\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces]\nmethod.\n[ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories]\nachieves the same results but provides more fine-grained control over\ningesting local inventory data.\n\nIncrementally removes place IDs from a\n[Product.fulfillment_info.place_ids][google.cloud.retail.v2beta.FulfillmentInfo.place_ids].\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\nfulfillment information. If the request is valid, the update will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, the removed place IDs are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/RemoveFulfillmentPlaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_RemoveFulfillmentPlaces_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveFulfillmentPlaces Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_RemoveLocalInventories_sync", - "title": "retail RemoveLocalInventories Sample", - "description": "RemoveLocalInventories remove local inventory information for a\n[Product][google.cloud.retail.v2beta.Product] at a list of places at a\nremoval timestamp.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, removals are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nLocal inventory information can only be removed using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", - "file": "ProductClient/RemoveLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveLocalInventories", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.RemoveLocalInventories", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.RemoveLocalInventories", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "RemoveLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveLocalInventoriesOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "RemoveLocalInventories", - "fullName": "google.cloud.retail.v2beta.ProductService.RemoveLocalInventories", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "RemoveLocalInventories" }, + "description": "RemoveLocalInventories remove local inventory information for a\n[Product][google.cloud.retail.v2beta.Product] at a list of places at a\nremoval timestamp.\n\nThis process is asynchronous. If the request is valid, the removal will be\nenqueued and processed downstream. As a consequence, when a response is\nreturned, removals are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nLocal inventory information can only be removed using this method.\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]\nhas no effect on local inventories.\n\nThe returned [Operation][google.longrunning.Operation]s will be obsolete\nafter 1 day, and [GetOperation][google.longrunning.Operations.GetOperation]\nAPI will return NOT_FOUND afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates will not be marked as [done][google.longrunning.Operation.done]\nuntil being obsolete.", + "file": "ProductClient/RemoveLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_RemoveLocalInventories_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveLocalInventories Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_SetInventory_sync", - "title": "retail SetInventory Sample", - "description": "SetInventory updates inventory information for a\n[Product][google.cloud.retail.v2beta.Product] while respecting the last\nupdate timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\nfulfillment information. If the request is valid, the update is enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nWhen inventory is updated with\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct],\nthe specified inventory field value(s) overwrite any existing value(s)\nwhile ignoring the last update time for this field. Furthermore, the last\nupdate times for the specified inventory fields are overwritten by the\ntimes of the\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nor\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]\nrequest.\n\nIf no inventory fields are set in\n[CreateProductRequest.product][google.cloud.retail.v2beta.CreateProductRequest.product],\nthen any pre-existing inventory information for this product is used.\n\nIf no inventory fields are set in\n[SetInventoryRequest.set_mask][google.cloud.retail.v2beta.SetInventoryRequest.set_mask],\nthen any existing inventory information is preserved.\n\nPre-existing inventory information can only be updated with\n[ProductService.SetInventory][google.cloud.retail.v2beta.ProductService.SetInventory],\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces],\nand\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces].\n\nThe returned [Operation][google.longrunning.Operation]s is obsolete after\none day, and the [GetOperation][google.longrunning.Operations.GetOperation]\nAPI returns `NOT_FOUND` afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates are not marked as [done][google.longrunning.Operation.done] until\nthey are obsolete.", - "file": "ProductClient/SetInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetInventory", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.SetInventory", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.SetInventory", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "SetInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SetInventoryRequest", - "name": "req" + "name": "req", + "type": "retailpb.SetInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SetInventoryOperation", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "SetInventory", - "fullName": "google.cloud.retail.v2beta.ProductService.SetInventory", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "SetInventory" }, + "description": "SetInventory updates inventory information for a\n[Product][google.cloud.retail.v2beta.Product] while respecting the last\nupdate timestamps of each inventory field.\n\nThis process is asynchronous and does not require the\n[Product][google.cloud.retail.v2beta.Product] to exist before updating\nfulfillment information. If the request is valid, the update is enqueued\nand processed downstream. As a consequence, when a response is returned,\nupdates are not immediately manifested in the\n[Product][google.cloud.retail.v2beta.Product] queried by\n[ProductService.GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct]\nor\n[ProductService.ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].\n\nWhen inventory is updated with\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nand\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct],\nthe specified inventory field value(s) overwrite any existing value(s)\nwhile ignoring the last update time for this field. Furthermore, the last\nupdate times for the specified inventory fields are overwritten by the\ntimes of the\n[ProductService.CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]\nor\n[ProductService.UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]\nrequest.\n\nIf no inventory fields are set in\n[CreateProductRequest.product][google.cloud.retail.v2beta.CreateProductRequest.product],\nthen any pre-existing inventory information for this product is used.\n\nIf no inventory fields are set in\n[SetInventoryRequest.set_mask][google.cloud.retail.v2beta.SetInventoryRequest.set_mask],\nthen any existing inventory information is preserved.\n\nPre-existing inventory information can only be updated with\n[ProductService.SetInventory][google.cloud.retail.v2beta.ProductService.SetInventory],\n[ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces],\nand\n[ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces].\n\nThe returned [Operation][google.longrunning.Operation]s is obsolete after\none day, and the [GetOperation][google.longrunning.Operations.GetOperation]\nAPI returns `NOT_FOUND` afterwards.\n\nIf conflicting updates are issued, the\n[Operation][google.longrunning.Operation]s associated with the stale\nupdates are not marked as [done][google.longrunning.Operation.done] until\nthey are obsolete.", + "file": "ProductClient/SetInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_SetInventory_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail SetInventory Sample" }, { - "regionTag": "retail_v2beta_generated_ProductService_UpdateProduct_sync", - "title": "retail UpdateProduct Sample", - "description": "UpdateProduct updates a [Product][google.cloud.retail.v2beta.Product].", - "file": "ProductClient/UpdateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProduct", + "client": { + "fullName": "google.cloud.retail.v2beta.ProductClient", + "shortName": "ProductClient" + }, "fullName": "google.cloud.retail.v2beta.ProductClient.UpdateProduct", + "method": { + "fullName": "google.cloud.retail.v2beta.ProductService.UpdateProduct", + "service": { + "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "ProductService" + }, + "shortName": "UpdateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateProductRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.Product", - "client": { - "shortName": "ProductClient", - "fullName": "google.cloud.retail.v2beta.ProductClient" - }, - "method": { - "shortName": "UpdateProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.UpdateProduct", - "service": { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService" - } - } + "shortName": "UpdateProduct" }, + "description": "UpdateProduct updates a [Product][google.cloud.retail.v2beta.Product].", + "file": "ProductClient/UpdateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProductService_UpdateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateProduct Sample" }, { - "regionTag": "retail_v2beta_generated_ProjectService_GetAlertConfig_sync", - "title": "retail GetAlertConfig Sample", - "description": "GetAlertConfig get the [AlertConfig][google.cloud.retail.v2beta.AlertConfig] of the\nrequested project.", - "file": "ProjectClient/GetAlertConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAlertConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2beta.ProjectClient.GetAlertConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.ProjectService.GetAlertConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "GetAlertConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetAlertConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetAlertConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AlertConfig", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2beta.ProjectClient" - }, - "method": { - "shortName": "GetAlertConfig", - "fullName": "google.cloud.retail.v2beta.ProjectService.GetAlertConfig", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2beta.ProjectService" - } - } + "shortName": "GetAlertConfig" }, + "description": "GetAlertConfig get the [AlertConfig][google.cloud.retail.v2beta.AlertConfig] of the\nrequested project.", + "file": "ProjectClient/GetAlertConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProjectService_GetAlertConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetAlertConfig Sample" }, { - "regionTag": "retail_v2beta_generated_ProjectService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2beta.ProjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2beta.ProjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_ProjectService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ProjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2beta.ProjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "OperationIterator", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2beta.ProjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "OperationIterator", + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ProjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_ProjectService_UpdateAlertConfig_sync", - "title": "retail UpdateAlertConfig Sample", - "description": "UpdateAlertConfig update the alert config of the requested project.", - "file": "ProjectClient/UpdateAlertConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAlertConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.ProjectClient", + "shortName": "ProjectClient" + }, "fullName": "google.cloud.retail.v2beta.ProjectClient.UpdateAlertConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.ProjectService.UpdateAlertConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.ProjectService", + "shortName": "ProjectService" + }, + "shortName": "UpdateAlertConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateAlertConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateAlertConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.AlertConfig", - "client": { - "shortName": "ProjectClient", - "fullName": "google.cloud.retail.v2beta.ProjectClient" - }, - "method": { - "shortName": "UpdateAlertConfig", - "fullName": "google.cloud.retail.v2beta.ProjectService.UpdateAlertConfig", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.retail.v2beta.ProjectService" - } - } + "shortName": "UpdateAlertConfig" }, + "description": "UpdateAlertConfig update the alert config of the requested project.", + "file": "ProjectClient/UpdateAlertConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ProjectService_UpdateAlertConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateAlertConfig Sample" }, { - "regionTag": "retail_v2beta_generated_SearchService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "SearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2beta.SearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2beta.SearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "SearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_SearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_SearchService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "SearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2beta.SearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2beta.SearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "SearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_SearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_SearchService_Search_sync", - "title": "retail Search Sample", - "description": "Search performs a search.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", - "file": "SearchClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.cloud.retail.v2beta.SearchClient", + "shortName": "SearchClient" + }, "fullName": "google.cloud.retail.v2beta.SearchClient.Search", + "method": { + "fullName": "google.cloud.retail.v2beta.SearchService.Search", + "service": { + "fullName": "google.cloud.retail.v2beta.SearchService", + "shortName": "SearchService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.SearchRequest", - "name": "req" + "name": "req", + "type": "retailpb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResponse_SearchResultIterator", - "client": { - "shortName": "SearchClient", - "fullName": "google.cloud.retail.v2beta.SearchClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.retail.v2beta.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.retail.v2beta.SearchService" - } - } + "shortName": "Search" }, + "description": "Search performs a search.\n\nThis feature is only available for users who have Retail Search enabled.\nEnable Retail Search on Cloud Console before using this feature.", + "file": "SearchClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_SearchService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail Search Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_AddControl_sync", - "title": "retail AddControl Sample", - "description": "AddControl enables a Control on the specified ServingConfig.\nThe control is added in the last position of the list of controls\nit belongs to (e.g. if it's a facet spec control it will be applied\nin the last position of servingConfig.facetSpecIds)\nReturns a ALREADY_EXISTS error if the control has already been applied.\nReturns a FAILED_PRECONDITION error if the addition could exceed maximum\nnumber of control allowed for that type of control.", - "file": "ServingConfigClient/AddControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddControl", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.AddControl", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.AddControl", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "AddControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.AddControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.AddControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "AddControl", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.AddControl", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "AddControl" }, + "description": "AddControl enables a Control on the specified ServingConfig.\nThe control is added in the last position of the list of controls\nit belongs to (e.g. if it's a facet spec control it will be applied\nin the last position of servingConfig.facetSpecIds)\nReturns a ALREADY_EXISTS error if the control has already been applied.\nReturns a FAILED_PRECONDITION error if the addition could exceed maximum\nnumber of control allowed for that type of control.", + "file": "ServingConfigClient/AddControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_AddControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail AddControl Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_CreateServingConfig_sync", - "title": "retail CreateServingConfig Sample", - "description": "CreateServingConfig creates a ServingConfig.\n\nA maximum of 100 [ServingConfig][google.cloud.retail.v2beta.ServingConfig]s\nare allowed in a [Catalog][google.cloud.retail.v2beta.Catalog], otherwise\na FAILED_PRECONDITION error is returned.", - "file": "ServingConfigClient/CreateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServingConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.CreateServingConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.CreateServingConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "CreateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CreateServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.CreateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "CreateServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.CreateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "CreateServingConfig" }, + "description": "CreateServingConfig creates a ServingConfig.\n\nA maximum of 100 [ServingConfig][google.cloud.retail.v2beta.ServingConfig]s\nare allowed in a [Catalog][google.cloud.retail.v2beta.Catalog], otherwise\na FAILED_PRECONDITION error is returned.", + "file": "ServingConfigClient/CreateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_CreateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CreateServingConfig Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_DeleteServingConfig_sync", - "title": "retail DeleteServingConfig Sample", - "description": "DeleteServingConfig deletes a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/DeleteServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteServingConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.DeleteServingConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.DeleteServingConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "DeleteServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.DeleteServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.DeleteServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "DeleteServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.DeleteServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "DeleteServingConfig" }, + "description": "DeleteServingConfig deletes a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/DeleteServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_DeleteServingConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail DeleteServingConfig Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_GetServingConfig_sync", - "title": "retail GetServingConfig Sample", - "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", - "file": "ServingConfigClient/GetServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServingConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.GetServingConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.GetServingConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "GetServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.GetServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.GetServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "GetServingConfig" }, + "description": "GetServingConfig gets a ServingConfig.\n\nReturns a NotFound error if the ServingConfig does not exist.", + "file": "ServingConfigClient/GetServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_GetServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetServingConfig Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServingConfigClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServingConfigClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_ListServingConfigs_sync", - "title": "retail ListServingConfigs Sample", - "description": "ListServingConfigs lists all ServingConfigs linked to this catalog.", - "file": "ServingConfigClient/ListServingConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServingConfigs", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.ListServingConfigs", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.ListServingConfigs", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "ListServingConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ListServingConfigsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ListServingConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServingConfigIterator", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "ListServingConfigs" }, + "description": "ListServingConfigs lists all ServingConfigs linked to this catalog.", + "file": "ServingConfigClient/ListServingConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_ListServingConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListServingConfigs Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_RemoveControl_sync", - "title": "retail RemoveControl Sample", - "description": "RemoveControl disables a Control on the specified ServingConfig.\nThe control is removed from the ServingConfig.\nReturns a NOT_FOUND error if the Control is not enabled for the\nServingConfig.", - "file": "ServingConfigClient/RemoveControl/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveControl", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.RemoveControl", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.RemoveControl", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "RemoveControl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RemoveControlRequest", - "name": "req" + "name": "req", + "type": "retailpb.RemoveControlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "RemoveControl", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.RemoveControl", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "RemoveControl" }, + "description": "RemoveControl disables a Control on the specified ServingConfig.\nThe control is removed from the ServingConfig.\nReturns a NOT_FOUND error if the Control is not enabled for the\nServingConfig.", + "file": "ServingConfigClient/RemoveControl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_RemoveControl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RemoveControl Sample" }, { - "regionTag": "retail_v2beta_generated_ServingConfigService_UpdateServingConfig_sync", - "title": "retail UpdateServingConfig Sample", - "description": "UpdateServingConfig updates a ServingConfig.", - "file": "ServingConfigClient/UpdateServingConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateServingConfig", + "client": { + "fullName": "google.cloud.retail.v2beta.ServingConfigClient", + "shortName": "ServingConfigClient" + }, "fullName": "google.cloud.retail.v2beta.ServingConfigClient.UpdateServingConfig", + "method": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService.UpdateServingConfig", + "service": { + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "shortName": "ServingConfigService" + }, + "shortName": "UpdateServingConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.UpdateServingConfigRequest", - "name": "req" + "name": "req", + "type": "retailpb.UpdateServingConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.ServingConfig", - "client": { - "shortName": "ServingConfigClient", - "fullName": "google.cloud.retail.v2beta.ServingConfigClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService" - } - } + "shortName": "UpdateServingConfig" }, + "description": "UpdateServingConfig updates a ServingConfig.", + "file": "ServingConfigClient/UpdateServingConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_ServingConfigService_UpdateServingConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail UpdateServingConfig Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_CollectUserEvent_sync", - "title": "retail CollectUserEvent Sample", - "description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.", - "file": "UserEventClient/CollectUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CollectUserEvent", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.CollectUserEvent", + "method": { + "fullName": "google.cloud.retail.v2beta.UserEventService.CollectUserEvent", + "service": { + "fullName": "google.cloud.retail.v2beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "CollectUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.CollectUserEventRequest", - "name": "req" + "name": "req", + "type": "retailpb.CollectUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*httpbodypb.HttpBody", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.retail.v2beta.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService" - } - } + "shortName": "CollectUserEvent" }, + "description": "CollectUserEvent writes a single user event from the browser.\n\nFor larger user event payload over 16 KB, the POST method should be used\ninstead, otherwise a 400 Bad Request error is returned.\n\nThis method is used only by the Retail API JavaScript pixel and Google Tag\nManager. Users should not call this method directly.", + "file": "UserEventClient/CollectUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_CollectUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail CollectUserEvent Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_ExportUserEvents_sync", - "title": "retail ExportUserEvents Sample", - "description": "ExportUserEvents exports user events.\n\n`Operation.response` is of type `ExportResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", - "file": "UserEventClient/ExportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportUserEvents", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.ExportUserEvents", + "method": { + "fullName": "google.cloud.retail.v2beta.UserEventService.ExportUserEvents", + "service": { + "fullName": "google.cloud.retail.v2beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ExportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ExportUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ExportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "ExportUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.ExportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService" - } - } + "shortName": "ExportUserEvents" }, + "description": "ExportUserEvents exports user events.\n\n`Operation.response` is of type `ExportResponse`.\n`Operation.metadata` is of type `ExportMetadata`.", + "file": "UserEventClient/ExportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_ExportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ExportUserEvents Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_GetOperation_sync", - "title": "retail GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail GetOperation Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_ImportUserEvents_sync", - "title": "retail ImportUserEvents Sample", - "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\n`Operation.response` is of type `ImportResponse`. Note that it is\npossible for a subset of the items to be successfully inserted.\n`Operation.metadata` is of type `ImportMetadata`.", - "file": "UserEventClient/ImportUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportUserEvents", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.ImportUserEvents", + "method": { + "fullName": "google.cloud.retail.v2beta.UserEventService.ImportUserEvents", + "service": { + "fullName": "google.cloud.retail.v2beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "ImportUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.ImportUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.ImportUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService" - } - } + "shortName": "ImportUserEvents" }, + "description": "ImportUserEvents bulk import of User events. Request processing might be\nsynchronous. Events that already exist are skipped.\nUse this method for backfilling historical user events.\n\n`Operation.response` is of type `ImportResponse`. Note that it is\npossible for a subset of the items to be successfully inserted.\n`Operation.metadata` is of type `ImportMetadata`.", + "file": "UserEventClient/ImportUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_ImportUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ImportUserEvents Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_ListOperations_sync", - "title": "retail ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "UserEventClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "UserEventClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail ListOperations Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_PurgeUserEvents_sync", - "title": "retail PurgeUserEvents Sample", - "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", - "file": "UserEventClient/PurgeUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeUserEvents", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.PurgeUserEvents", + "method": { + "fullName": "google.cloud.retail.v2beta.UserEventService.PurgeUserEvents", + "service": { + "fullName": "google.cloud.retail.v2beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "PurgeUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.PurgeUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.PurgeUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService" - } - } + "shortName": "PurgeUserEvents" }, + "description": "PurgeUserEvents deletes permanently all user events specified by the filter provided.\nDepending on the number of events specified by the filter, this operation\ncould take hours or days to complete. To test a filter, use the list\ncommand first.", + "file": "UserEventClient/PurgeUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail PurgeUserEvents Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_RejoinUserEvents_sync", - "title": "retail RejoinUserEvents Sample", - "description": "RejoinUserEvents starts a user-event rejoin operation with latest product catalog. Events\nare not annotated with detailed product information for products that are\nmissing from the catalog when the user event is ingested. These\nevents are stored as unjoined events with limited usage on training and\nserving. You can use this method to start a join operation on specified\nevents with the latest version of product catalog. You can also use this\nmethod to correct events joined with the wrong product catalog. A rejoin\noperation can take hours or days to complete.", - "file": "UserEventClient/RejoinUserEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejoinUserEvents", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.RejoinUserEvents", + "method": { + "fullName": "google.cloud.retail.v2beta.UserEventService.RejoinUserEvents", + "service": { + "fullName": "google.cloud.retail.v2beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "RejoinUserEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.RejoinUserEventsRequest", - "name": "req" + "name": "req", + "type": "retailpb.RejoinUserEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RejoinUserEventsOperation", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "RejoinUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.RejoinUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService" - } - } + "shortName": "RejoinUserEvents" }, + "description": "RejoinUserEvents starts a user-event rejoin operation with latest product catalog. Events\nare not annotated with detailed product information for products that are\nmissing from the catalog when the user event is ingested. These\nevents are stored as unjoined events with limited usage on training and\nserving. You can use this method to start a join operation on specified\nevents with the latest version of product catalog. You can also use this\nmethod to correct events joined with the wrong product catalog. A rejoin\noperation can take hours or days to complete.", + "file": "UserEventClient/RejoinUserEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_RejoinUserEvents_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail RejoinUserEvents Sample" }, { - "regionTag": "retail_v2beta_generated_UserEventService_WriteUserEvent_sync", - "title": "retail WriteUserEvent Sample", - "description": "WriteUserEvent writes a single user event.", - "file": "UserEventClient/WriteUserEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "WriteUserEvent", + "client": { + "fullName": "google.cloud.retail.v2beta.UserEventClient", + "shortName": "UserEventClient" + }, "fullName": "google.cloud.retail.v2beta.UserEventClient.WriteUserEvent", + "method": { + "fullName": "google.cloud.retail.v2beta.UserEventService.WriteUserEvent", + "service": { + "fullName": "google.cloud.retail.v2beta.UserEventService", + "shortName": "UserEventService" + }, + "shortName": "WriteUserEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "retailpb.WriteUserEventRequest", - "name": "req" + "name": "req", + "type": "retailpb.WriteUserEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*retailpb.UserEvent", - "client": { - "shortName": "UserEventClient", - "fullName": "google.cloud.retail.v2beta.UserEventClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.retail.v2beta.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService" - } - } + "shortName": "WriteUserEvent" }, + "description": "WriteUserEvent writes a single user event.", + "file": "UserEventClient/WriteUserEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "retail_v2beta_generated_UserEventService_WriteUserEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "retail WriteUserEvent Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json index 295b66e8e39e..2c5586117af1 100644 --- a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json +++ b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json @@ -1,3365 +1,3365 @@ { "clientLibrary": { - "name": "cloud.google.com/go/run/apiv2", - "version": "1.15.0", - "language": "GO", "apis": [ { "id": "google.cloud.run.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/run/apiv2", + "version": "1.15.0" }, "snippets": [ { - "regionTag": "run_v2_generated_Builds_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "BuildsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.BuildsClient", + "shortName": "BuildsClient" + }, "fullName": "google.cloud.run.v2.BuildsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "BuildsClient", - "fullName": "google.cloud.run.v2.BuildsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "BuildsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Builds_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Builds_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "BuildsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.BuildsClient", + "shortName": "BuildsClient" + }, "fullName": "google.cloud.run.v2.BuildsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BuildsClient", - "fullName": "google.cloud.run.v2.BuildsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "BuildsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Builds_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Builds_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "BuildsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.BuildsClient", + "shortName": "BuildsClient" + }, "fullName": "google.cloud.run.v2.BuildsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "BuildsClient", - "fullName": "google.cloud.run.v2.BuildsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "BuildsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Builds_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Builds_SubmitBuild_sync", - "title": "run SubmitBuild Sample", - "description": "SubmitBuild submits a build in a given project.", - "file": "BuildsClient/SubmitBuild/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitBuild", + "client": { + "fullName": "google.cloud.run.v2.BuildsClient", + "shortName": "BuildsClient" + }, "fullName": "google.cloud.run.v2.BuildsClient.SubmitBuild", + "method": { + "fullName": "google.cloud.run.v2.Builds.SubmitBuild", + "service": { + "fullName": "google.cloud.run.v2.Builds", + "shortName": "Builds" + }, + "shortName": "SubmitBuild" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.SubmitBuildRequest", - "name": "req" + "name": "req", + "type": "runpb.SubmitBuildRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.SubmitBuildResponse", - "client": { - "shortName": "BuildsClient", - "fullName": "google.cloud.run.v2.BuildsClient" - }, - "method": { - "shortName": "SubmitBuild", - "fullName": "google.cloud.run.v2.Builds.SubmitBuild", - "service": { - "shortName": "Builds", - "fullName": "google.cloud.run.v2.Builds" - } - } + "shortName": "SubmitBuild" }, + "description": "SubmitBuild submits a build in a given project.", + "file": "BuildsClient/SubmitBuild/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Builds_SubmitBuild_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run SubmitBuild Sample" }, { - "regionTag": "run_v2_generated_Builds_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "BuildsClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.BuildsClient", + "shortName": "BuildsClient" + }, "fullName": "google.cloud.run.v2.BuildsClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "BuildsClient", - "fullName": "google.cloud.run.v2.BuildsClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "BuildsClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Builds_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_Executions_CancelExecution_sync", - "title": "run CancelExecution Sample", - "description": "CancelExecution cancels an Execution.", - "file": "ExecutionsClient/CancelExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelExecution", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.CancelExecution", + "method": { + "fullName": "google.cloud.run.v2.Executions.CancelExecution", + "service": { + "fullName": "google.cloud.run.v2.Executions", + "shortName": "Executions" + }, + "shortName": "CancelExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.CancelExecutionRequest", - "name": "req" + "name": "req", + "type": "runpb.CancelExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelExecutionOperation", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "CancelExecution", - "fullName": "google.cloud.run.v2.Executions.CancelExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.run.v2.Executions" - } - } + "shortName": "CancelExecution" }, + "description": "CancelExecution cancels an Execution.", + "file": "ExecutionsClient/CancelExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_CancelExecution_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run CancelExecution Sample" }, { - "regionTag": "run_v2_generated_Executions_DeleteExecution_sync", - "title": "run DeleteExecution Sample", - "description": "DeleteExecution deletes an Execution.", - "file": "ExecutionsClient/DeleteExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExecution", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.DeleteExecution", + "method": { + "fullName": "google.cloud.run.v2.Executions.DeleteExecution", + "service": { + "fullName": "google.cloud.run.v2.Executions", + "shortName": "Executions" + }, + "shortName": "DeleteExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.DeleteExecutionRequest", - "name": "req" + "name": "req", + "type": "runpb.DeleteExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExecutionOperation", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "DeleteExecution", - "fullName": "google.cloud.run.v2.Executions.DeleteExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.run.v2.Executions" - } - } + "shortName": "DeleteExecution" }, + "description": "DeleteExecution deletes an Execution.", + "file": "ExecutionsClient/DeleteExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_DeleteExecution_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteExecution Sample" }, { - "regionTag": "run_v2_generated_Executions_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ExecutionsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ExecutionsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Executions_GetExecution_sync", - "title": "run GetExecution Sample", - "description": "GetExecution gets information about an Execution.", - "file": "ExecutionsClient/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.GetExecution", + "method": { + "fullName": "google.cloud.run.v2.Executions.GetExecution", + "service": { + "fullName": "google.cloud.run.v2.Executions", + "shortName": "Executions" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "runpb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.Execution", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.run.v2.Executions.GetExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.run.v2.Executions" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution gets information about an Execution.", + "file": "ExecutionsClient/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetExecution Sample" }, { - "regionTag": "run_v2_generated_Executions_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ExecutionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ExecutionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Executions_ListExecutions_sync", - "title": "run ListExecutions Sample", - "description": "ListExecutions lists Executions from a Job. Results are sorted by creation time,\ndescending.", - "file": "ExecutionsClient/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.ListExecutions", + "method": { + "fullName": "google.cloud.run.v2.Executions.ListExecutions", + "service": { + "fullName": "google.cloud.run.v2.Executions", + "shortName": "Executions" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "runpb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionIterator", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.run.v2.Executions.ListExecutions", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.run.v2.Executions" - } - } + "shortName": "ListExecutions" }, + "description": "ListExecutions lists Executions from a Job. Results are sorted by creation time,\ndescending.", + "file": "ExecutionsClient/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListExecutions Sample" }, { - "regionTag": "run_v2_generated_Executions_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ExecutionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ExecutionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Executions_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ExecutionsClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.ExecutionsClient", + "shortName": "ExecutionsClient" + }, "fullName": "google.cloud.run.v2.ExecutionsClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ExecutionsClient", - "fullName": "google.cloud.run.v2.ExecutionsClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ExecutionsClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Executions_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_Instances_CreateInstance_sync", - "title": "run CreateInstance Sample", - "description": "CreateInstance creates an Instance.", - "file": "InstancesClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.CreateInstance", + "method": { + "fullName": "google.cloud.run.v2.Instances.CreateInstance", + "service": { + "fullName": "google.cloud.run.v2.Instances", + "shortName": "Instances" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "runpb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.run.v2.Instances.CreateInstance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.run.v2.Instances" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates an Instance.", + "file": "InstancesClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run CreateInstance Sample" }, { - "regionTag": "run_v2_generated_Instances_DeleteInstance_sync", - "title": "run DeleteInstance Sample", - "description": "DeleteInstance deletes a Instance", - "file": "InstancesClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.DeleteInstance", + "method": { + "fullName": "google.cloud.run.v2.Instances.DeleteInstance", + "service": { + "fullName": "google.cloud.run.v2.Instances", + "shortName": "Instances" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "runpb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.run.v2.Instances.DeleteInstance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.run.v2.Instances" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a Instance", + "file": "InstancesClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteInstance Sample" }, { - "regionTag": "run_v2_generated_Instances_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "InstancesClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "InstancesClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Instances_GetInstance_sync", - "title": "run GetInstance Sample", - "description": "GetInstance gets a Instance", - "file": "InstancesClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.GetInstance", + "method": { + "fullName": "google.cloud.run.v2.Instances.GetInstance", + "service": { + "fullName": "google.cloud.run.v2.Instances", + "shortName": "Instances" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "runpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.Instance", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.run.v2.Instances.GetInstance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.run.v2.Instances" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets a Instance", + "file": "InstancesClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetInstance Sample" }, { - "regionTag": "run_v2_generated_Instances_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "InstancesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "InstancesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Instances_ListInstances_sync", - "title": "run ListInstances Sample", - "description": "ListInstances lists Instances. Results are sorted by creation time, descending.", - "file": "InstancesClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.ListInstances", + "method": { + "fullName": "google.cloud.run.v2.Instances.ListInstances", + "service": { + "fullName": "google.cloud.run.v2.Instances", + "shortName": "Instances" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "runpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.run.v2.Instances.ListInstances", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.run.v2.Instances" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances. Results are sorted by creation time, descending.", + "file": "InstancesClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListInstances Sample" }, { - "regionTag": "run_v2_generated_Instances_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "InstancesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "InstancesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Instances_StartInstance_sync", - "title": "run StartInstance Sample", - "description": "StartInstance starts an Instance.", - "file": "InstancesClient/StartInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartInstance", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.StartInstance", + "method": { + "fullName": "google.cloud.run.v2.Instances.StartInstance", + "service": { + "fullName": "google.cloud.run.v2.Instances", + "shortName": "Instances" + }, + "shortName": "StartInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.StartInstanceRequest", - "name": "req" + "name": "req", + "type": "runpb.StartInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartInstanceOperation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "StartInstance", - "fullName": "google.cloud.run.v2.Instances.StartInstance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.run.v2.Instances" - } - } + "shortName": "StartInstance" }, + "description": "StartInstance starts an Instance.", + "file": "InstancesClient/StartInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_StartInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run StartInstance Sample" }, { - "regionTag": "run_v2_generated_Instances_StopInstance_sync", - "title": "run StopInstance Sample", - "description": "StopInstance stops an Instance.", - "file": "InstancesClient/StopInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopInstance", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.StopInstance", + "method": { + "fullName": "google.cloud.run.v2.Instances.StopInstance", + "service": { + "fullName": "google.cloud.run.v2.Instances", + "shortName": "Instances" + }, + "shortName": "StopInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.StopInstanceRequest", - "name": "req" + "name": "req", + "type": "runpb.StopInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopInstanceOperation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "StopInstance", - "fullName": "google.cloud.run.v2.Instances.StopInstance", - "service": { - "shortName": "Instances", - "fullName": "google.cloud.run.v2.Instances" - } - } + "shortName": "StopInstance" }, + "description": "StopInstance stops an Instance.", + "file": "InstancesClient/StopInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_StopInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run StopInstance Sample" }, { - "regionTag": "run_v2_generated_Instances_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "InstancesClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.InstancesClient", + "shortName": "InstancesClient" + }, "fullName": "google.cloud.run.v2.InstancesClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "InstancesClient", - "fullName": "google.cloud.run.v2.InstancesClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "InstancesClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Instances_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_Jobs_CreateJob_sync", - "title": "run CreateJob Sample", - "description": "CreateJob creates a Job.", - "file": "JobsClient/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.CreateJob", + "method": { + "fullName": "google.cloud.run.v2.Jobs.CreateJob", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "runpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateJobOperation", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.run.v2.Jobs.CreateJob", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a Job.", + "file": "JobsClient/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_CreateJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run CreateJob Sample" }, { - "regionTag": "run_v2_generated_Jobs_DeleteJob_sync", - "title": "run DeleteJob Sample", - "description": "DeleteJob deletes a Job.", - "file": "JobsClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.DeleteJob", + "method": { + "fullName": "google.cloud.run.v2.Jobs.DeleteJob", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "runpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteJobOperation", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.run.v2.Jobs.DeleteJob", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes a Job.", + "file": "JobsClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_DeleteJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteJob Sample" }, { - "regionTag": "run_v2_generated_Jobs_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "JobsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "JobsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Jobs_GetIamPolicy_sync", - "title": "run GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM Access Control policy currently in effect for the given Job.\nThis result does not include any inherited policies.", - "file": "JobsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.run.v2.Jobs.GetIamPolicy", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.run.v2.Jobs.GetIamPolicy", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM Access Control policy currently in effect for the given Job.\nThis result does not include any inherited policies.", + "file": "JobsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetIamPolicy Sample" }, { - "regionTag": "run_v2_generated_Jobs_GetJob_sync", - "title": "run GetJob Sample", - "description": "GetJob gets information about a Job.", - "file": "JobsClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.GetJob", + "method": { + "fullName": "google.cloud.run.v2.Jobs.GetJob", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "runpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.Job", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.run.v2.Jobs.GetJob", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "GetJob" }, + "description": "GetJob gets information about a Job.", + "file": "JobsClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetJob Sample" }, { - "regionTag": "run_v2_generated_Jobs_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "JobsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "JobsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Jobs_ListJobs_sync", - "title": "run ListJobs Sample", - "description": "ListJobs lists Jobs. Results are sorted by creation time, descending.", - "file": "JobsClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.ListJobs", + "method": { + "fullName": "google.cloud.run.v2.Jobs.ListJobs", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "runpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.run.v2.Jobs.ListJobs", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists Jobs. Results are sorted by creation time, descending.", + "file": "JobsClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListJobs Sample" }, { - "regionTag": "run_v2_generated_Jobs_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "JobsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "JobsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Jobs_RunJob_sync", - "title": "run RunJob Sample", - "description": "RunJob triggers creation of a new Execution of this Job.", - "file": "JobsClient/RunJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunJob", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.RunJob", + "method": { + "fullName": "google.cloud.run.v2.Jobs.RunJob", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "RunJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.RunJobRequest", - "name": "req" + "name": "req", + "type": "runpb.RunJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunJobOperation", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "RunJob", - "fullName": "google.cloud.run.v2.Jobs.RunJob", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "RunJob" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "RunJob triggers creation of a new Execution of this Job.", + "file": "JobsClient/RunJob/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_RunJob_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run RunJob Sample" }, { - "regionTag": "run_v2_generated_Jobs_SetIamPolicy_sync", - "title": "run SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM Access control policy for the specified Job. Overwrites\nany existing policy.", - "file": "JobsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.run.v2.Jobs.SetIamPolicy", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.run.v2.Jobs.SetIamPolicy", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM Access control policy for the specified Job. Overwrites\nany existing policy.", + "file": "JobsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run SetIamPolicy Sample" }, { - "regionTag": "run_v2_generated_Jobs_TestIamPermissions_sync", - "title": "run TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.", - "file": "JobsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.run.v2.Jobs.TestIamPermissions", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.run.v2.Jobs.TestIamPermissions", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.", + "file": "JobsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run TestIamPermissions Sample" }, { - "regionTag": "run_v2_generated_Jobs_UpdateJob_sync", - "title": "run UpdateJob Sample", - "description": "UpdateJob updates a Job.", - "file": "JobsClient/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.UpdateJob", + "method": { + "fullName": "google.cloud.run.v2.Jobs.UpdateJob", + "service": { + "fullName": "google.cloud.run.v2.Jobs", + "shortName": "Jobs" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "runpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateJobOperation", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.cloud.run.v2.Jobs.UpdateJob", - "service": { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates a Job.", + "file": "JobsClient/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_UpdateJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run UpdateJob Sample" }, { - "regionTag": "run_v2_generated_Jobs_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "JobsClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.JobsClient", + "shortName": "JobsClient" + }, "fullName": "google.cloud.run.v2.JobsClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobsClient", - "fullName": "google.cloud.run.v2.JobsClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "JobsClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Jobs_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_Revisions_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "RevisionsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "RevisionsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Revisions_DeleteRevision_sync", - "title": "run DeleteRevision Sample", - "description": "DeleteRevision deletes a Revision.", - "file": "RevisionsClient/DeleteRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRevision", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.DeleteRevision", + "method": { + "fullName": "google.cloud.run.v2.Revisions.DeleteRevision", + "service": { + "fullName": "google.cloud.run.v2.Revisions", + "shortName": "Revisions" + }, + "shortName": "DeleteRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.DeleteRevisionRequest", - "name": "req" + "name": "req", + "type": "runpb.DeleteRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRevisionOperation", - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "DeleteRevision", - "fullName": "google.cloud.run.v2.Revisions.DeleteRevision", - "service": { - "shortName": "Revisions", - "fullName": "google.cloud.run.v2.Revisions" - } - } + "shortName": "DeleteRevision" }, + "description": "DeleteRevision deletes a Revision.", + "file": "RevisionsClient/DeleteRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_DeleteRevision_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteRevision Sample" }, { - "regionTag": "run_v2_generated_Revisions_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "RevisionsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "RevisionsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Revisions_GetRevision_sync", - "title": "run GetRevision Sample", - "description": "GetRevision gets information about a Revision.", - "file": "RevisionsClient/GetRevision/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRevision", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.GetRevision", + "method": { + "fullName": "google.cloud.run.v2.Revisions.GetRevision", + "service": { + "fullName": "google.cloud.run.v2.Revisions", + "shortName": "Revisions" + }, + "shortName": "GetRevision" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetRevisionRequest", - "name": "req" + "name": "req", + "type": "runpb.GetRevisionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.Revision", - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "GetRevision", - "fullName": "google.cloud.run.v2.Revisions.GetRevision", - "service": { - "shortName": "Revisions", - "fullName": "google.cloud.run.v2.Revisions" - } - } + "shortName": "GetRevision" }, + "description": "GetRevision gets information about a Revision.", + "file": "RevisionsClient/GetRevision/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_GetRevision_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetRevision Sample" }, { - "regionTag": "run_v2_generated_Revisions_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "RevisionsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "RevisionsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Revisions_ListRevisions_sync", - "title": "run ListRevisions Sample", - "description": "ListRevisions lists Revisions from a given Service, or from a given location. Results\nare sorted by creation time, descending.", - "file": "RevisionsClient/ListRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRevisions", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.ListRevisions", + "method": { + "fullName": "google.cloud.run.v2.Revisions.ListRevisions", + "service": { + "fullName": "google.cloud.run.v2.Revisions", + "shortName": "Revisions" + }, + "shortName": "ListRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListRevisionsRequest", - "name": "req" + "name": "req", + "type": "runpb.ListRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RevisionIterator", - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "ListRevisions", - "fullName": "google.cloud.run.v2.Revisions.ListRevisions", - "service": { - "shortName": "Revisions", - "fullName": "google.cloud.run.v2.Revisions" - } - } + "shortName": "ListRevisions" }, + "description": "ListRevisions lists Revisions from a given Service, or from a given location. Results\nare sorted by creation time, descending.", + "file": "RevisionsClient/ListRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_ListRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListRevisions Sample" }, { - "regionTag": "run_v2_generated_Revisions_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "RevisionsClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.RevisionsClient", + "shortName": "RevisionsClient" + }, "fullName": "google.cloud.run.v2.RevisionsClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "RevisionsClient", - "fullName": "google.cloud.run.v2.RevisionsClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "RevisionsClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Revisions_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_Services_CreateService_sync", - "title": "run CreateService Sample", - "description": "CreateService creates a new Service in a given project and location.", - "file": "ServicesClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.CreateService", + "method": { + "fullName": "google.cloud.run.v2.Services.CreateService", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "runpb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceOperation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.run.v2.Services.CreateService", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a new Service in a given project and location.", + "file": "ServicesClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_CreateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run CreateService Sample" }, { - "regionTag": "run_v2_generated_Services_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "ServicesClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "ServicesClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Services_DeleteService_sync", - "title": "run DeleteService Sample", - "description": "DeleteService deletes a Service.\nThis will cause the Service to stop serving traffic and will delete all\nrevisions.", - "file": "ServicesClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.DeleteService", + "method": { + "fullName": "google.cloud.run.v2.Services.DeleteService", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "runpb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.run.v2.Services.DeleteService", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a Service.\nThis will cause the Service to stop serving traffic and will delete all\nrevisions.", + "file": "ServicesClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_DeleteService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteService Sample" }, { - "regionTag": "run_v2_generated_Services_GetIamPolicy_sync", - "title": "run GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM Access Control policy currently in effect for the given\nCloud Run Service. This result does not include any inherited policies.", - "file": "ServicesClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.run.v2.Services.GetIamPolicy", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.run.v2.Services.GetIamPolicy", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM Access Control policy currently in effect for the given\nCloud Run Service. This result does not include any inherited policies.", + "file": "ServicesClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetIamPolicy Sample" }, { - "regionTag": "run_v2_generated_Services_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ServicesClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ServicesClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Services_GetService_sync", - "title": "run GetService Sample", - "description": "GetService gets information about a Service.", - "file": "ServicesClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.GetService", + "method": { + "fullName": "google.cloud.run.v2.Services.GetService", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "runpb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.Service", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.run.v2.Services.GetService", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "GetService" }, + "description": "GetService gets information about a Service.", + "file": "ServicesClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetService Sample" }, { - "regionTag": "run_v2_generated_Services_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "ServicesClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "ServicesClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Services_ListServices_sync", - "title": "run ListServices Sample", - "description": "ListServices lists Services. Results are sorted by creation time, descending.", - "file": "ServicesClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.ListServices", + "method": { + "fullName": "google.cloud.run.v2.Services.ListServices", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "runpb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.run.v2.Services.ListServices", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists Services. Results are sorted by creation time, descending.", + "file": "ServicesClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListServices Sample" }, { - "regionTag": "run_v2_generated_Services_SetIamPolicy_sync", - "title": "run SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM Access control policy for the specified Service. Overwrites\nany existing policy.", - "file": "ServicesClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.run.v2.Services.SetIamPolicy", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "*iampb.Policy", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.run.v2.Services.SetIamPolicy", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + ], + "resultType": "*iampb.Policy", + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM Access control policy for the specified Service. Overwrites\nany existing policy.", + "file": "ServicesClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run SetIamPolicy Sample" }, { - "regionTag": "run_v2_generated_Services_TestIamPermissions_sync", - "title": "run TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.", - "file": "ServicesClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.run.v2.Services.TestIamPermissions", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.run.v2.Services.TestIamPermissions", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.", + "file": "ServicesClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run TestIamPermissions Sample" }, { - "regionTag": "run_v2_generated_Services_UpdateService_sync", - "title": "run UpdateService Sample", - "description": "UpdateService updates a Service.", - "file": "ServicesClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.UpdateService", + "method": { + "fullName": "google.cloud.run.v2.Services.UpdateService", + "service": { + "fullName": "google.cloud.run.v2.Services", + "shortName": "Services" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "runpb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateServiceOperation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.run.v2.Services.UpdateService", - "service": { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates a Service.", + "file": "ServicesClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_UpdateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run UpdateService Sample" }, { - "regionTag": "run_v2_generated_Services_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "ServicesClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.ServicesClient", + "shortName": "ServicesClient" + }, "fullName": "google.cloud.run.v2.ServicesClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ServicesClient", - "fullName": "google.cloud.run.v2.ServicesClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "ServicesClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Services_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_Tasks_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TasksClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.TasksClient", + "shortName": "TasksClient" + }, "fullName": "google.cloud.run.v2.TasksClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TasksClient", - "fullName": "google.cloud.run.v2.TasksClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TasksClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Tasks_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_Tasks_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TasksClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.TasksClient", + "shortName": "TasksClient" + }, "fullName": "google.cloud.run.v2.TasksClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TasksClient", - "fullName": "google.cloud.run.v2.TasksClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TasksClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Tasks_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_Tasks_GetTask_sync", - "title": "run GetTask Sample", - "description": "GetTask gets information about a Task.", - "file": "TasksClient/GetTask/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTask", + "client": { + "fullName": "google.cloud.run.v2.TasksClient", + "shortName": "TasksClient" + }, "fullName": "google.cloud.run.v2.TasksClient.GetTask", + "method": { + "fullName": "google.cloud.run.v2.Tasks.GetTask", + "service": { + "fullName": "google.cloud.run.v2.Tasks", + "shortName": "Tasks" + }, + "shortName": "GetTask" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetTaskRequest", - "name": "req" + "name": "req", + "type": "runpb.GetTaskRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.Task", - "client": { - "shortName": "TasksClient", - "fullName": "google.cloud.run.v2.TasksClient" - }, - "method": { - "shortName": "GetTask", - "fullName": "google.cloud.run.v2.Tasks.GetTask", - "service": { - "shortName": "Tasks", - "fullName": "google.cloud.run.v2.Tasks" - } - } + "shortName": "GetTask" }, + "description": "GetTask gets information about a Task.", + "file": "TasksClient/GetTask/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Tasks_GetTask_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetTask Sample" }, { - "regionTag": "run_v2_generated_Tasks_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TasksClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.TasksClient", + "shortName": "TasksClient" + }, "fullName": "google.cloud.run.v2.TasksClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TasksClient", - "fullName": "google.cloud.run.v2.TasksClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TasksClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Tasks_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_Tasks_ListTasks_sync", - "title": "run ListTasks Sample", - "description": "ListTasks lists Tasks from an Execution of a Job.", - "file": "TasksClient/ListTasks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTasks", + "client": { + "fullName": "google.cloud.run.v2.TasksClient", + "shortName": "TasksClient" + }, "fullName": "google.cloud.run.v2.TasksClient.ListTasks", + "method": { + "fullName": "google.cloud.run.v2.Tasks.ListTasks", + "service": { + "fullName": "google.cloud.run.v2.Tasks", + "shortName": "Tasks" + }, + "shortName": "ListTasks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListTasksRequest", - "name": "req" + "name": "req", + "type": "runpb.ListTasksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TaskIterator", - "client": { - "shortName": "TasksClient", - "fullName": "google.cloud.run.v2.TasksClient" - }, - "method": { - "shortName": "ListTasks", - "fullName": "google.cloud.run.v2.Tasks.ListTasks", - "service": { - "shortName": "Tasks", - "fullName": "google.cloud.run.v2.Tasks" - } - } + "shortName": "ListTasks" }, + "description": "ListTasks lists Tasks from an Execution of a Job.", + "file": "TasksClient/ListTasks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Tasks_ListTasks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListTasks Sample" }, { - "regionTag": "run_v2_generated_Tasks_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "TasksClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.TasksClient", + "shortName": "TasksClient" + }, "fullName": "google.cloud.run.v2.TasksClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TasksClient", - "fullName": "google.cloud.run.v2.TasksClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "TasksClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_Tasks_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_CreateWorkerPool_sync", - "title": "run CreateWorkerPool Sample", - "description": "CreateWorkerPool creates a new WorkerPool in a given project and location.", - "file": "WorkerPoolsClient/CreateWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkerPool", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.CreateWorkerPool", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.CreateWorkerPool", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "CreateWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.CreateWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "runpb.CreateWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkerPoolOperation", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "CreateWorkerPool", - "fullName": "google.cloud.run.v2.WorkerPools.CreateWorkerPool", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "CreateWorkerPool" }, + "description": "CreateWorkerPool creates a new WorkerPool in a given project and location.", + "file": "WorkerPoolsClient/CreateWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_CreateWorkerPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run CreateWorkerPool Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_DeleteOperation_sync", - "title": "run DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "WorkerPoolsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "WorkerPoolsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteOperation Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_DeleteWorkerPool_sync", - "title": "run DeleteWorkerPool Sample", - "description": "DeleteWorkerPool deletes a WorkerPool.", - "file": "WorkerPoolsClient/DeleteWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkerPool", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.DeleteWorkerPool", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.DeleteWorkerPool", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "DeleteWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.DeleteWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "runpb.DeleteWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkerPoolOperation", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "DeleteWorkerPool", - "fullName": "google.cloud.run.v2.WorkerPools.DeleteWorkerPool", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "DeleteWorkerPool" }, + "description": "DeleteWorkerPool deletes a WorkerPool.", + "file": "WorkerPoolsClient/DeleteWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_DeleteWorkerPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run DeleteWorkerPool Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_GetIamPolicy_sync", - "title": "run GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM Access Control policy currently in effect for the given\nCloud Run WorkerPool. This result does not include any inherited policies.", - "file": "WorkerPoolsClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.GetIamPolicy", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.run.v2.WorkerPools.GetIamPolicy", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM Access Control policy currently in effect for the given\nCloud Run WorkerPool. This result does not include any inherited policies.", + "file": "WorkerPoolsClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetIamPolicy Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_GetOperation_sync", - "title": "run GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WorkerPoolsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WorkerPoolsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetOperation Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_GetWorkerPool_sync", - "title": "run GetWorkerPool Sample", - "description": "GetWorkerPool gets information about a WorkerPool.", - "file": "WorkerPoolsClient/GetWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkerPool", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.GetWorkerPool", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.GetWorkerPool", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "GetWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.GetWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "runpb.GetWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*runpb.WorkerPool", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "GetWorkerPool", - "fullName": "google.cloud.run.v2.WorkerPools.GetWorkerPool", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "GetWorkerPool" }, + "description": "GetWorkerPool gets information about a WorkerPool.", + "file": "WorkerPoolsClient/GetWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_GetWorkerPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run GetWorkerPool Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_ListOperations_sync", - "title": "run ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WorkerPoolsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WorkerPoolsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListOperations Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_ListWorkerPools_sync", - "title": "run ListWorkerPools Sample", - "description": "ListWorkerPools lists WorkerPools. Results are sorted by creation time, descending.", - "file": "WorkerPoolsClient/ListWorkerPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkerPools", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.ListWorkerPools", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.ListWorkerPools", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "ListWorkerPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.ListWorkerPoolsRequest", - "name": "req" + "name": "req", + "type": "runpb.ListWorkerPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkerPoolIterator", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "ListWorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools.ListWorkerPools", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "ListWorkerPools" }, + "description": "ListWorkerPools lists WorkerPools. Results are sorted by creation time, descending.", + "file": "WorkerPoolsClient/ListWorkerPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_ListWorkerPools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "run ListWorkerPools Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_SetIamPolicy_sync", - "title": "run SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM Access control policy for the specified WorkerPool. Overwrites\nany existing policy.", - "file": "WorkerPoolsClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.SetIamPolicy", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.run.v2.WorkerPools.SetIamPolicy", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM Access control policy for the specified WorkerPool. Overwrites\nany existing policy.", + "file": "WorkerPoolsClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run SetIamPolicy Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_TestIamPermissions_sync", - "title": "run TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.", - "file": "WorkerPoolsClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.TestIamPermissions", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.run.v2.WorkerPools.TestIamPermissions", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has on the specified Project.\n\nThere are no permissions required for making this API call.", + "file": "WorkerPoolsClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run TestIamPermissions Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_UpdateWorkerPool_sync", - "title": "run UpdateWorkerPool Sample", - "description": "UpdateWorkerPool updates a WorkerPool.", - "file": "WorkerPoolsClient/UpdateWorkerPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkerPool", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.UpdateWorkerPool", + "method": { + "fullName": "google.cloud.run.v2.WorkerPools.UpdateWorkerPool", + "service": { + "fullName": "google.cloud.run.v2.WorkerPools", + "shortName": "WorkerPools" + }, + "shortName": "UpdateWorkerPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "runpb.UpdateWorkerPoolRequest", - "name": "req" + "name": "req", + "type": "runpb.UpdateWorkerPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkerPoolOperation", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "UpdateWorkerPool", - "fullName": "google.cloud.run.v2.WorkerPools.UpdateWorkerPool", - "service": { - "shortName": "WorkerPools", - "fullName": "google.cloud.run.v2.WorkerPools" - } - } + "shortName": "UpdateWorkerPool" }, + "description": "UpdateWorkerPool updates a WorkerPool.", + "file": "WorkerPoolsClient/UpdateWorkerPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_UpdateWorkerPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "run UpdateWorkerPool Sample" }, { - "regionTag": "run_v2_generated_WorkerPools_WaitOperation_sync", - "title": "run WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "WorkerPoolsClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.run.v2.WorkerPoolsClient", + "shortName": "WorkerPoolsClient" + }, "fullName": "google.cloud.run.v2.WorkerPoolsClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WorkerPoolsClient", - "fullName": "google.cloud.run.v2.WorkerPoolsClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "WorkerPoolsClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "run_v2_generated_WorkerPools_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "run WaitOperation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/saasplatform/saasservicemgmt/apiv1beta1/snippet_metadata.google.cloud.saasplatform.saasservicemgmt.v1beta1.json b/internal/generated/snippets/saasplatform/saasservicemgmt/apiv1beta1/snippet_metadata.google.cloud.saasplatform.saasservicemgmt.v1beta1.json index 47155b629d0d..0bca171bd2f5 100644 --- a/internal/generated/snippets/saasplatform/saasservicemgmt/apiv1beta1/snippet_metadata.google.cloud.saasplatform.saasservicemgmt.v1beta1.json +++ b/internal/generated/snippets/saasplatform/saasservicemgmt/apiv1beta1/snippet_metadata.google.cloud.saasplatform.saasservicemgmt.v1beta1.json @@ -1,2031 +1,2031 @@ { "clientLibrary": { - "name": "cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1", - "version": "0.2.0", - "language": "GO", "apis": [ { "id": "google.cloud.saasplatform.saasservicemgmt.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1", + "version": "0.2.0" }, "snippets": [ { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateRelease_sync", - "title": "saasservicemgmt CreateRelease Sample", - "description": "CreateRelease create a new release.", - "file": "SaasDeploymentsClient/CreateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRelease", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.CreateRelease", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateRelease", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "CreateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateReleaseRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Release", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "CreateRelease", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateRelease", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "CreateRelease" }, + "description": "CreateRelease create a new release.", + "file": "SaasDeploymentsClient/CreateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateRelease Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateSaas_sync", - "title": "saasservicemgmt CreateSaas Sample", - "description": "CreateSaas create a new saas.", - "file": "SaasDeploymentsClient/CreateSaas/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSaas", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.CreateSaas", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateSaas", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "CreateSaas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateSaasRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateSaasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Saas", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "CreateSaas", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateSaas", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "CreateSaas" }, + "description": "CreateSaas create a new saas.", + "file": "SaasDeploymentsClient/CreateSaas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateSaas_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateSaas Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateTenant_sync", - "title": "saasservicemgmt CreateTenant Sample", - "description": "CreateTenant create a new tenant.", - "file": "SaasDeploymentsClient/CreateTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTenant", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.CreateTenant", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateTenant", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "CreateTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateTenantRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Tenant", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "CreateTenant", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateTenant", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "CreateTenant" }, + "description": "CreateTenant create a new tenant.", + "file": "SaasDeploymentsClient/CreateTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateTenant Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateUnit_sync", - "title": "saasservicemgmt CreateUnit Sample", - "description": "CreateUnit create a new unit.", - "file": "SaasDeploymentsClient/CreateUnit/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUnit", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.CreateUnit", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateUnit", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "CreateUnit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateUnitRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateUnitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Unit", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "CreateUnit", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateUnit", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "CreateUnit" }, + "description": "CreateUnit create a new unit.", + "file": "SaasDeploymentsClient/CreateUnit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateUnit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateUnit Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateUnitKind_sync", - "title": "saasservicemgmt CreateUnitKind Sample", - "description": "CreateUnitKind create a new unit kind.", - "file": "SaasDeploymentsClient/CreateUnitKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUnitKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.CreateUnitKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateUnitKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "CreateUnitKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateUnitKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateUnitKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.UnitKind", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "CreateUnitKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateUnitKind", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "CreateUnitKind" }, + "description": "CreateUnitKind create a new unit kind.", + "file": "SaasDeploymentsClient/CreateUnitKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateUnitKind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateUnitKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateUnitOperation_sync", - "title": "saasservicemgmt CreateUnitOperation Sample", - "description": "CreateUnitOperation create a new unit operation.", - "file": "SaasDeploymentsClient/CreateUnitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUnitOperation", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.CreateUnitOperation", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateUnitOperation", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "CreateUnitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateUnitOperationRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateUnitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.UnitOperation", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "CreateUnitOperation", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.CreateUnitOperation", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "CreateUnitOperation" }, + "description": "CreateUnitOperation create a new unit operation.", + "file": "SaasDeploymentsClient/CreateUnitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_CreateUnitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateUnitOperation Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteRelease_sync", - "title": "saasservicemgmt DeleteRelease Sample", - "description": "DeleteRelease delete a single release.", - "file": "SaasDeploymentsClient/DeleteRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRelease", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.DeleteRelease", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteRelease", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "DeleteRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteReleaseRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "DeleteRelease", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteRelease", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "DeleteRelease" }, + "description": "DeleteRelease delete a single release.", + "file": "SaasDeploymentsClient/DeleteRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteRelease_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteRelease Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteSaas_sync", - "title": "saasservicemgmt DeleteSaas Sample", - "description": "DeleteSaas delete a single saas.", - "file": "SaasDeploymentsClient/DeleteSaas/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSaas", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.DeleteSaas", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteSaas", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "DeleteSaas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteSaasRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteSaasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "DeleteSaas", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteSaas", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "DeleteSaas" }, + "description": "DeleteSaas delete a single saas.", + "file": "SaasDeploymentsClient/DeleteSaas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteSaas_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteSaas Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteTenant_sync", - "title": "saasservicemgmt DeleteTenant Sample", - "description": "DeleteTenant delete a single tenant.", - "file": "SaasDeploymentsClient/DeleteTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTenant", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.DeleteTenant", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteTenant", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "DeleteTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteTenantRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "DeleteTenant", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteTenant", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "DeleteTenant" }, + "description": "DeleteTenant delete a single tenant.", + "file": "SaasDeploymentsClient/DeleteTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteTenant_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteTenant Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteUnit_sync", - "title": "saasservicemgmt DeleteUnit Sample", - "description": "DeleteUnit delete a single unit.", - "file": "SaasDeploymentsClient/DeleteUnit/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUnit", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.DeleteUnit", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteUnit", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "DeleteUnit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteUnitRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteUnitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "DeleteUnit", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteUnit", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "DeleteUnit" }, + "description": "DeleteUnit delete a single unit.", + "file": "SaasDeploymentsClient/DeleteUnit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteUnit_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteUnit Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteUnitKind_sync", - "title": "saasservicemgmt DeleteUnitKind Sample", - "description": "DeleteUnitKind delete a single unit kind.", - "file": "SaasDeploymentsClient/DeleteUnitKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUnitKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.DeleteUnitKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteUnitKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "DeleteUnitKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteUnitKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteUnitKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "DeleteUnitKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteUnitKind", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "DeleteUnitKind" }, + "description": "DeleteUnitKind delete a single unit kind.", + "file": "SaasDeploymentsClient/DeleteUnitKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteUnitKind_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteUnitKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteUnitOperation_sync", - "title": "saasservicemgmt DeleteUnitOperation Sample", - "description": "DeleteUnitOperation delete a single unit operation.", - "file": "SaasDeploymentsClient/DeleteUnitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUnitOperation", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.DeleteUnitOperation", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteUnitOperation", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "DeleteUnitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteUnitOperationRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteUnitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "DeleteUnitOperation", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.DeleteUnitOperation", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "DeleteUnitOperation" }, + "description": "DeleteUnitOperation delete a single unit operation.", + "file": "SaasDeploymentsClient/DeleteUnitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_DeleteUnitOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteUnitOperation Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetLocation_sync", - "title": "saasservicemgmt GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SaasDeploymentsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SaasDeploymentsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetLocation Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetRelease_sync", - "title": "saasservicemgmt GetRelease Sample", - "description": "GetRelease retrieve a single release.", - "file": "SaasDeploymentsClient/GetRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRelease", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetRelease", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetRelease", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "GetRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetReleaseRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Release", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetRelease", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetRelease", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "GetRelease" }, + "description": "GetRelease retrieve a single release.", + "file": "SaasDeploymentsClient/GetRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetRelease Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetSaas_sync", - "title": "saasservicemgmt GetSaas Sample", - "description": "GetSaas retrieve a single saas.", - "file": "SaasDeploymentsClient/GetSaas/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSaas", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetSaas", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetSaas", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "GetSaas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetSaasRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetSaasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Saas", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetSaas", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetSaas", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "GetSaas" }, + "description": "GetSaas retrieve a single saas.", + "file": "SaasDeploymentsClient/GetSaas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetSaas_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetSaas Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetTenant_sync", - "title": "saasservicemgmt GetTenant Sample", - "description": "GetTenant retrieve a single tenant.", - "file": "SaasDeploymentsClient/GetTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTenant", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetTenant", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetTenant", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "GetTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetTenantRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Tenant", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetTenant", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetTenant", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "GetTenant" }, + "description": "GetTenant retrieve a single tenant.", + "file": "SaasDeploymentsClient/GetTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetTenant Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetUnit_sync", - "title": "saasservicemgmt GetUnit Sample", - "description": "GetUnit retrieve a single unit.", - "file": "SaasDeploymentsClient/GetUnit/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUnit", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetUnit", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetUnit", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "GetUnit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetUnitRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetUnitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Unit", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetUnit", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetUnit", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "GetUnit" }, + "description": "GetUnit retrieve a single unit.", + "file": "SaasDeploymentsClient/GetUnit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetUnit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetUnit Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetUnitKind_sync", - "title": "saasservicemgmt GetUnitKind Sample", - "description": "GetUnitKind retrieve a single unit kind.", - "file": "SaasDeploymentsClient/GetUnitKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUnitKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetUnitKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetUnitKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "GetUnitKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetUnitKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetUnitKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.UnitKind", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetUnitKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetUnitKind", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "GetUnitKind" }, + "description": "GetUnitKind retrieve a single unit kind.", + "file": "SaasDeploymentsClient/GetUnitKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetUnitKind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetUnitKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetUnitOperation_sync", - "title": "saasservicemgmt GetUnitOperation Sample", - "description": "GetUnitOperation retrieve a single unit operation.", - "file": "SaasDeploymentsClient/GetUnitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUnitOperation", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.GetUnitOperation", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetUnitOperation", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "GetUnitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetUnitOperationRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetUnitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.UnitOperation", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "GetUnitOperation", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.GetUnitOperation", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "GetUnitOperation" }, + "description": "GetUnitOperation retrieve a single unit operation.", + "file": "SaasDeploymentsClient/GetUnitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_GetUnitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetUnitOperation Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListLocations_sync", - "title": "saasservicemgmt ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "SaasDeploymentsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "SaasDeploymentsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListLocations Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListReleases_sync", - "title": "saasservicemgmt ListReleases Sample", - "description": "ListReleases retrieve a collection of releases.", - "file": "SaasDeploymentsClient/ListReleases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReleases", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListReleases", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListReleases", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "ListReleases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListReleasesRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListReleasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReleaseIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListReleases", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListReleases", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "ListReleases" }, + "description": "ListReleases retrieve a collection of releases.", + "file": "SaasDeploymentsClient/ListReleases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListReleases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListReleases Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListSaas_sync", - "title": "saasservicemgmt ListSaas Sample", - "description": "ListSaas retrieve a collection of saas.", - "file": "SaasDeploymentsClient/ListSaas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSaas", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListSaas", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListSaas", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "ListSaas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListSaasRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListSaasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SaasIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListSaas", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListSaas", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "ListSaas" }, + "description": "ListSaas retrieve a collection of saas.", + "file": "SaasDeploymentsClient/ListSaas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListSaas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListSaas Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListTenants_sync", - "title": "saasservicemgmt ListTenants Sample", - "description": "ListTenants retrieve a collection of tenants.", - "file": "SaasDeploymentsClient/ListTenants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTenants", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListTenants", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListTenants", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "ListTenants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListTenantsRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListTenantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "TenantIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListTenants", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListTenants", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + ], + "resultType": "TenantIterator", + "shortName": "ListTenants" }, + "description": "ListTenants retrieve a collection of tenants.", + "file": "SaasDeploymentsClient/ListTenants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListTenants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListTenants Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListUnitKinds_sync", - "title": "saasservicemgmt ListUnitKinds Sample", - "description": "ListUnitKinds retrieve a collection of unit kinds.", - "file": "SaasDeploymentsClient/ListUnitKinds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUnitKinds", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListUnitKinds", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListUnitKinds", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "ListUnitKinds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListUnitKindsRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListUnitKindsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UnitKindIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListUnitKinds", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListUnitKinds", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "ListUnitKinds" }, + "description": "ListUnitKinds retrieve a collection of unit kinds.", + "file": "SaasDeploymentsClient/ListUnitKinds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListUnitKinds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListUnitKinds Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListUnitOperations_sync", - "title": "saasservicemgmt ListUnitOperations Sample", - "description": "ListUnitOperations retrieve a collection of unit operations.", - "file": "SaasDeploymentsClient/ListUnitOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUnitOperations", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListUnitOperations", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListUnitOperations", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "ListUnitOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListUnitOperationsRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListUnitOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UnitOperationIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListUnitOperations", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListUnitOperations", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "ListUnitOperations" }, + "description": "ListUnitOperations retrieve a collection of unit operations.", + "file": "SaasDeploymentsClient/ListUnitOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListUnitOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListUnitOperations Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListUnits_sync", - "title": "saasservicemgmt ListUnits Sample", - "description": "ListUnits retrieve a collection of units.", - "file": "SaasDeploymentsClient/ListUnits/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUnits", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.ListUnits", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListUnits", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "ListUnits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListUnitsRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListUnitsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UnitIterator", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "ListUnits", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.ListUnits", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "ListUnits" }, + "description": "ListUnits retrieve a collection of units.", + "file": "SaasDeploymentsClient/ListUnits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_ListUnits_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListUnits Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateRelease_sync", - "title": "saasservicemgmt UpdateRelease Sample", - "description": "UpdateRelease update a single release.", - "file": "SaasDeploymentsClient/UpdateRelease/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRelease", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.UpdateRelease", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateRelease", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "UpdateRelease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateReleaseRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateReleaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Release", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "UpdateRelease", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateRelease", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "UpdateRelease" }, + "description": "UpdateRelease update a single release.", + "file": "SaasDeploymentsClient/UpdateRelease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateRelease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateRelease Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateSaas_sync", - "title": "saasservicemgmt UpdateSaas Sample", - "description": "UpdateSaas update a single saas.", - "file": "SaasDeploymentsClient/UpdateSaas/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSaas", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.UpdateSaas", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateSaas", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "UpdateSaas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateSaasRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateSaasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Saas", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "UpdateSaas", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateSaas", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "UpdateSaas" }, + "description": "UpdateSaas update a single saas.", + "file": "SaasDeploymentsClient/UpdateSaas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateSaas_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateSaas Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateTenant_sync", - "title": "saasservicemgmt UpdateTenant Sample", - "description": "UpdateTenant update a single tenant.", - "file": "SaasDeploymentsClient/UpdateTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTenant", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.UpdateTenant", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateTenant", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "UpdateTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateTenantRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Tenant", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "UpdateTenant", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateTenant", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "UpdateTenant" }, + "description": "UpdateTenant update a single tenant.", + "file": "SaasDeploymentsClient/UpdateTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateTenant Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateUnit_sync", - "title": "saasservicemgmt UpdateUnit Sample", - "description": "UpdateUnit update a single unit.", - "file": "SaasDeploymentsClient/UpdateUnit/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUnit", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.UpdateUnit", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateUnit", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "UpdateUnit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateUnitRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateUnitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Unit", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "UpdateUnit", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateUnit", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "UpdateUnit" }, + "description": "UpdateUnit update a single unit.", + "file": "SaasDeploymentsClient/UpdateUnit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateUnit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateUnit Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateUnitKind_sync", - "title": "saasservicemgmt UpdateUnitKind Sample", - "description": "UpdateUnitKind update a single unit kind.", - "file": "SaasDeploymentsClient/UpdateUnitKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUnitKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.UpdateUnitKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateUnitKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "UpdateUnitKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateUnitKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateUnitKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.UnitKind", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "UpdateUnitKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateUnitKind", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "UpdateUnitKind" }, + "description": "UpdateUnitKind update a single unit kind.", + "file": "SaasDeploymentsClient/UpdateUnitKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateUnitKind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateUnitKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateUnitOperation_sync", - "title": "saasservicemgmt UpdateUnitOperation Sample", - "description": "UpdateUnitOperation update a single unit operation.", - "file": "SaasDeploymentsClient/UpdateUnitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUnitOperation", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient", + "shortName": "SaasDeploymentsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient.UpdateUnitOperation", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateUnitOperation", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments", + "shortName": "SaasDeployments" + }, + "shortName": "UpdateUnitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateUnitOperationRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateUnitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.UnitOperation", - "client": { - "shortName": "SaasDeploymentsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeploymentsClient" - }, - "method": { - "shortName": "UpdateUnitOperation", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments.UpdateUnitOperation", - "service": { - "shortName": "SaasDeployments", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasDeployments" - } - } + "shortName": "UpdateUnitOperation" }, + "description": "UpdateUnitOperation update a single unit operation.", + "file": "SaasDeploymentsClient/UpdateUnitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasDeployments_UpdateUnitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateUnitOperation Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_CreateRollout_sync", - "title": "saasservicemgmt CreateRollout Sample", - "description": "CreateRollout create a new rollout.", - "file": "SaasRolloutsClient/CreateRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRollout", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.CreateRollout", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.CreateRollout", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "CreateRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateRolloutRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Rollout", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "CreateRollout", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.CreateRollout", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "CreateRollout" }, + "description": "CreateRollout create a new rollout.", + "file": "SaasRolloutsClient/CreateRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_CreateRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateRollout Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_CreateRolloutKind_sync", - "title": "saasservicemgmt CreateRolloutKind Sample", - "description": "CreateRolloutKind create a new rollout kind.", - "file": "SaasRolloutsClient/CreateRolloutKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRolloutKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.CreateRolloutKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.CreateRolloutKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "CreateRolloutKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.CreateRolloutKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.CreateRolloutKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.RolloutKind", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "CreateRolloutKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.CreateRolloutKind", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "CreateRolloutKind" }, + "description": "CreateRolloutKind create a new rollout kind.", + "file": "SaasRolloutsClient/CreateRolloutKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_CreateRolloutKind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt CreateRolloutKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_DeleteRollout_sync", - "title": "saasservicemgmt DeleteRollout Sample", - "description": "DeleteRollout delete a single rollout.", - "file": "SaasRolloutsClient/DeleteRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRollout", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.DeleteRollout", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.DeleteRollout", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "DeleteRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteRolloutRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "DeleteRollout", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.DeleteRollout", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "DeleteRollout" }, + "description": "DeleteRollout delete a single rollout.", + "file": "SaasRolloutsClient/DeleteRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_DeleteRollout_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteRollout Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_DeleteRolloutKind_sync", - "title": "saasservicemgmt DeleteRolloutKind Sample", - "description": "DeleteRolloutKind delete a single rollout kind.", - "file": "SaasRolloutsClient/DeleteRolloutKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRolloutKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.DeleteRolloutKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.DeleteRolloutKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "DeleteRolloutKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.DeleteRolloutKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.DeleteRolloutKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "DeleteRolloutKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.DeleteRolloutKind", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "DeleteRolloutKind" }, + "description": "DeleteRolloutKind delete a single rollout kind.", + "file": "SaasRolloutsClient/DeleteRolloutKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_DeleteRolloutKind_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt DeleteRolloutKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_GetLocation_sync", - "title": "saasservicemgmt GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "SaasRolloutsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "SaasRolloutsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetLocation Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_GetRollout_sync", - "title": "saasservicemgmt GetRollout Sample", - "description": "GetRollout retrieve a single rollout.", - "file": "SaasRolloutsClient/GetRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRollout", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.GetRollout", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.GetRollout", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "GetRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetRolloutRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Rollout", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "GetRollout", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.GetRollout", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "GetRollout" }, + "description": "GetRollout retrieve a single rollout.", + "file": "SaasRolloutsClient/GetRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_GetRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetRollout Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_GetRolloutKind_sync", - "title": "saasservicemgmt GetRolloutKind Sample", - "description": "GetRolloutKind retrieve a single rollout kind.", - "file": "SaasRolloutsClient/GetRolloutKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRolloutKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.GetRolloutKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.GetRolloutKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "GetRolloutKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.GetRolloutKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.GetRolloutKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.RolloutKind", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "GetRolloutKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.GetRolloutKind", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "GetRolloutKind" }, + "description": "GetRolloutKind retrieve a single rollout kind.", + "file": "SaasRolloutsClient/GetRolloutKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_GetRolloutKind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt GetRolloutKind Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_ListLocations_sync", - "title": "saasservicemgmt ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "SaasRolloutsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "SaasRolloutsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListLocations Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_ListRolloutKinds_sync", - "title": "saasservicemgmt ListRolloutKinds Sample", - "description": "ListRolloutKinds retrieve a collection of rollout kinds.", - "file": "SaasRolloutsClient/ListRolloutKinds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRolloutKinds", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.ListRolloutKinds", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.ListRolloutKinds", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "ListRolloutKinds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListRolloutKindsRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListRolloutKindsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutKindIterator", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "ListRolloutKinds", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.ListRolloutKinds", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "ListRolloutKinds" }, + "description": "ListRolloutKinds retrieve a collection of rollout kinds.", + "file": "SaasRolloutsClient/ListRolloutKinds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_ListRolloutKinds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListRolloutKinds Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_ListRollouts_sync", - "title": "saasservicemgmt ListRollouts Sample", - "description": "ListRollouts retrieve a collection of rollouts.", - "file": "SaasRolloutsClient/ListRollouts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRollouts", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.ListRollouts", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.ListRollouts", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "ListRollouts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.ListRolloutsRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.ListRolloutsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutIterator", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "ListRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.ListRollouts", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "ListRollouts" }, + "description": "ListRollouts retrieve a collection of rollouts.", + "file": "SaasRolloutsClient/ListRollouts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_ListRollouts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt ListRollouts Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_UpdateRollout_sync", - "title": "saasservicemgmt UpdateRollout Sample", - "description": "UpdateRollout update a single rollout.", - "file": "SaasRolloutsClient/UpdateRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRollout", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.UpdateRollout", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.UpdateRollout", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "UpdateRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateRolloutRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.Rollout", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "UpdateRollout", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.UpdateRollout", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "UpdateRollout" }, + "description": "UpdateRollout update a single rollout.", + "file": "SaasRolloutsClient/UpdateRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_UpdateRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateRollout Sample" }, { - "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_UpdateRolloutKind_sync", - "title": "saasservicemgmt UpdateRolloutKind Sample", - "description": "UpdateRolloutKind update a single rollout kind.", - "file": "SaasRolloutsClient/UpdateRolloutKind/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRolloutKind", + "client": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient", + "shortName": "SaasRolloutsClient" + }, "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient.UpdateRolloutKind", + "method": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.UpdateRolloutKind", + "service": { + "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts", + "shortName": "SaasRollouts" + }, + "shortName": "UpdateRolloutKind" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "saasservicemgmtpb.UpdateRolloutKindRequest", - "name": "req" + "name": "req", + "type": "saasservicemgmtpb.UpdateRolloutKindRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*saasservicemgmtpb.RolloutKind", - "client": { - "shortName": "SaasRolloutsClient", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRolloutsClient" - }, - "method": { - "shortName": "UpdateRolloutKind", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts.UpdateRolloutKind", - "service": { - "shortName": "SaasRollouts", - "fullName": "google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts" - } - } + "shortName": "UpdateRolloutKind" }, + "description": "UpdateRolloutKind update a single rollout kind.", + "file": "SaasRolloutsClient/UpdateRolloutKind/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "saasservicemgmt_v1beta1_generated_SaasRollouts_UpdateRolloutKind_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "saasservicemgmt UpdateRolloutKind Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json b/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json index 04d9eb1696c1..126f1d0de515 100644 --- a/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json +++ b/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json @@ -1,474 +1,474 @@ { "clientLibrary": { - "name": "cloud.google.com/go/scheduler/apiv1", - "version": "1.11.8", - "language": "GO", "apis": [ { "id": "google.cloud.scheduler.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/scheduler/apiv1", + "version": "1.11.8" }, "snippets": [ { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_CreateJob_sync", - "title": "cloudscheduler CreateJob Sample", - "description": "CreateJob creates a job.", - "file": "CloudSchedulerClient/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.CreateJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.CreateJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.CreateJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a job.", + "file": "CloudSchedulerClient/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler CreateJob Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_DeleteJob_sync", - "title": "cloudscheduler DeleteJob Sample", - "description": "DeleteJob deletes a job.", - "file": "CloudSchedulerClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.DeleteJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.DeleteJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.DeleteJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes a job.", + "file": "CloudSchedulerClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler DeleteJob Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_GetJob_sync", - "title": "cloudscheduler GetJob Sample", - "description": "GetJob gets a job.", - "file": "CloudSchedulerClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.GetJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.GetJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.GetJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "GetJob" }, + "description": "GetJob gets a job.", + "file": "CloudSchedulerClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler GetJob Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_GetLocation_sync", - "title": "cloudscheduler GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudSchedulerClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudSchedulerClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler GetLocation Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_ListJobs_sync", - "title": "cloudscheduler ListJobs Sample", - "description": "ListJobs lists jobs.", - "file": "CloudSchedulerClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.ListJobs", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.ListJobs", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.ListJobs", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists jobs.", + "file": "CloudSchedulerClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler ListJobs Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_ListLocations_sync", - "title": "cloudscheduler ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudSchedulerClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudSchedulerClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler ListLocations Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_PauseJob_sync", - "title": "cloudscheduler PauseJob Sample", - "description": "PauseJob pauses a job.\n\nIf a job is paused then the system will stop executing the job\nuntil it is re-enabled via\n[ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob]. The state\nof the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if\npaused it will be set to\n[Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. A job must\nbe in [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED] to\nbe paused.", - "file": "CloudSchedulerClient/PauseJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.PauseJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.PauseJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "PauseJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.PauseJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.PauseJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "PauseJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.PauseJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "PauseJob" }, + "description": "PauseJob pauses a job.\n\nIf a job is paused then the system will stop executing the job\nuntil it is re-enabled via\n[ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob]. The state\nof the job is stored in [state][google.cloud.scheduler.v1.Job.state]; if\npaused it will be set to\n[Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. A job must\nbe in [Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED] to\nbe paused.", + "file": "CloudSchedulerClient/PauseJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_PauseJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler PauseJob Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_ResumeJob_sync", - "title": "cloudscheduler ResumeJob Sample", - "description": "ResumeJob resume a job.\n\nThis method reenables a job after it has been\n[Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The state\nof a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state];\nafter calling this method it will be set to\n[Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job\nmust be in [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]\nto be resumed.", - "file": "CloudSchedulerClient/ResumeJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.ResumeJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.ResumeJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "ResumeJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.ResumeJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.ResumeJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "ResumeJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.ResumeJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "ResumeJob" }, + "description": "ResumeJob resume a job.\n\nThis method reenables a job after it has been\n[Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The state\nof a job is stored in [Job.state][google.cloud.scheduler.v1.Job.state];\nafter calling this method it will be set to\n[Job.State.ENABLED][google.cloud.scheduler.v1.Job.State.ENABLED]. A job\nmust be in [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]\nto be resumed.", + "file": "CloudSchedulerClient/ResumeJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_ResumeJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler ResumeJob Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_RunJob_sync", - "title": "cloudscheduler RunJob Sample", - "description": "RunJob forces a job to run now.\n\nWhen this method is called, Cloud Scheduler will dispatch the job, even\nif the job is already running.", - "file": "CloudSchedulerClient/RunJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.RunJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.RunJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "RunJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.RunJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.RunJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "RunJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.RunJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "RunJob" }, + "description": "RunJob forces a job to run now.\n\nWhen this method is called, Cloud Scheduler will dispatch the job, even\nif the job is already running.", + "file": "CloudSchedulerClient/RunJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_RunJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler RunJob Sample" }, { - "regionTag": "cloudscheduler_v1_generated_CloudScheduler_UpdateJob_sync", - "title": "cloudscheduler UpdateJob Sample", - "description": "UpdateJob updates a job.\n\nIf successful, the updated [Job][google.cloud.scheduler.v1.Job] is\nreturned. If the job does not exist, `NOT_FOUND` is returned.\n\nIf UpdateJob does not successfully return, it is possible for the\njob to be in an\n[Job.State.UPDATE_FAILED][google.cloud.scheduler.v1.Job.State.UPDATE_FAILED]\nstate. A job in this state may not be executed. If this happens, retry the\nUpdateJob request until a successful response is received.", - "file": "CloudSchedulerClient/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient.UpdateJob", + "method": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler.UpdateJob", + "service": { + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1.CloudSchedulerClient" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.UpdateJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates a job.\n\nIf successful, the updated [Job][google.cloud.scheduler.v1.Job] is\nreturned. If the job does not exist, `NOT_FOUND` is returned.\n\nIf UpdateJob does not successfully return, it is possible for the\njob to be in an\n[Job.State.UPDATE_FAILED][google.cloud.scheduler.v1.Job.State.UPDATE_FAILED]\nstate. A job in this state may not be executed. If this happens, retry the\nUpdateJob request until a successful response is received.", + "file": "CloudSchedulerClient/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1_generated_CloudScheduler_UpdateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler UpdateJob Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json b/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json index 44f8aee963fc..41a14d3a3814 100644 --- a/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json +++ b/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json @@ -1,474 +1,474 @@ { "clientLibrary": { - "name": "cloud.google.com/go/scheduler/apiv1beta1", - "version": "1.11.8", - "language": "GO", "apis": [ { "id": "google.cloud.scheduler.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/scheduler/apiv1beta1", + "version": "1.11.8" }, "snippets": [ { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_CreateJob_sync", - "title": "cloudscheduler CreateJob Sample", - "description": "CreateJob creates a job.", - "file": "CloudSchedulerClient/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.CreateJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a job.", + "file": "CloudSchedulerClient/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler CreateJob Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_DeleteJob_sync", - "title": "cloudscheduler DeleteJob Sample", - "description": "DeleteJob deletes a job.", - "file": "CloudSchedulerClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.DeleteJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes a job.", + "file": "CloudSchedulerClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler DeleteJob Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_GetJob_sync", - "title": "cloudscheduler GetJob Sample", - "description": "GetJob gets a job.", - "file": "CloudSchedulerClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.GetJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.GetJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.GetJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "GetJob" }, + "description": "GetJob gets a job.", + "file": "CloudSchedulerClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler GetJob Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_GetLocation_sync", - "title": "cloudscheduler GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CloudSchedulerClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CloudSchedulerClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler GetLocation Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_ListJobs_sync", - "title": "cloudscheduler ListJobs Sample", - "description": "ListJobs lists jobs.", - "file": "CloudSchedulerClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.ListJobs", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists jobs.", + "file": "CloudSchedulerClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler ListJobs Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_ListLocations_sync", - "title": "cloudscheduler ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CloudSchedulerClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CloudSchedulerClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler ListLocations Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_PauseJob_sync", - "title": "cloudscheduler PauseJob Sample", - "description": "PauseJob pauses a job.\n\nIf a job is paused then the system will stop executing the job\nuntil it is re-enabled via\n[ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The\nstate of the job is stored in\n[state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set\nto [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A\njob must be in\n[Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be\npaused.", - "file": "CloudSchedulerClient/PauseJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.PauseJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "PauseJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.PauseJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.PauseJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "PauseJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "PauseJob" }, + "description": "PauseJob pauses a job.\n\nIf a job is paused then the system will stop executing the job\nuntil it is re-enabled via\n[ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The\nstate of the job is stored in\n[state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set\nto [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A\njob must be in\n[Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be\npaused.", + "file": "CloudSchedulerClient/PauseJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_PauseJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler PauseJob Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_ResumeJob_sync", - "title": "cloudscheduler ResumeJob Sample", - "description": "ResumeJob resume a job.\n\nThis method reenables a job after it has been\n[Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The\nstate of a job is stored in\n[Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this\nmethod it will be set to\n[Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A\njob must be in\n[Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be\nresumed.", - "file": "CloudSchedulerClient/ResumeJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.ResumeJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "ResumeJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.ResumeJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.ResumeJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "ResumeJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "ResumeJob" }, + "description": "ResumeJob resume a job.\n\nThis method reenables a job after it has been\n[Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The\nstate of a job is stored in\n[Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this\nmethod it will be set to\n[Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A\njob must be in\n[Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be\nresumed.", + "file": "CloudSchedulerClient/ResumeJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_ResumeJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler ResumeJob Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_RunJob_sync", - "title": "cloudscheduler RunJob Sample", - "description": "RunJob forces a job to run now.\n\nWhen this method is called, Cloud Scheduler will dispatch the job, even\nif the job is already running.", - "file": "CloudSchedulerClient/RunJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.RunJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.RunJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "RunJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.RunJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.RunJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "RunJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.RunJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "RunJob" }, + "description": "RunJob forces a job to run now.\n\nWhen this method is called, Cloud Scheduler will dispatch the job, even\nif the job is already running.", + "file": "CloudSchedulerClient/RunJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_RunJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler RunJob Sample" }, { - "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_UpdateJob_sync", - "title": "cloudscheduler UpdateJob Sample", - "description": "UpdateJob updates a job.\n\nIf successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is\nreturned. If the job does not exist, `NOT_FOUND` is returned.\n\nIf UpdateJob does not successfully return, it is possible for the\njob to be in an\n[Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]\nstate. A job in this state may not be executed. If this happens, retry the\nUpdateJob request until a successful response is received.", - "file": "CloudSchedulerClient/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient", + "shortName": "CloudSchedulerClient" + }, "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient.UpdateJob", + "method": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob", + "service": { + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "shortName": "CloudScheduler" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "schedulerpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "schedulerpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*schedulerpb.Job", - "client": { - "shortName": "CloudSchedulerClient", - "fullName": "google.cloud.scheduler.v1beta1.CloudSchedulerClient" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob", - "service": { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates a job.\n\nIf successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is\nreturned. If the job does not exist, `NOT_FOUND` is returned.\n\nIf UpdateJob does not successfully return, it is possible for the\njob to be in an\n[Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]\nstate. A job in this state may not be executed. If this happens, retry the\nUpdateJob request until a successful response is received.", + "file": "CloudSchedulerClient/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudscheduler_v1beta1_generated_CloudScheduler_UpdateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudscheduler UpdateJob Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json index 35e3e0f363b6..fa59f13fe422 100644 --- a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json +++ b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json @@ -1,796 +1,796 @@ { "clientLibrary": { - "name": "cloud.google.com/go/secretmanager/apiv1", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.secretmanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/secretmanager/apiv1", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_sync", - "title": "secretmanager AccessSecretVersion Sample", - "description": "AccessSecretVersion accesses a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\nThis call returns the secret data.\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].", - "file": "Client/AccessSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "AccessSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.AccessSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "AccessSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.AccessSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.AccessSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.AccessSecretVersionResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "AccessSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "AccessSecretVersion" }, + "description": "AccessSecretVersion accesses a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\nThis call returns the secret data.\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].", + "file": "Client/AccessSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager AccessSecretVersion Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_AddSecretVersion_sync", - "title": "secretmanager AddSecretVersion Sample", - "description": "AddSecretVersion creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]\ncontaining secret data and attaches it to an existing\n[Secret][google.cloud.secretmanager.v1.Secret].", - "file": "Client/AddSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.AddSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "AddSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.AddSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.AddSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "AddSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "AddSecretVersion" }, + "description": "AddSecretVersion creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]\ncontaining secret data and attaches it to an existing\n[Secret][google.cloud.secretmanager.v1.Secret].", + "file": "Client/AddSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_AddSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager AddSecretVersion Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_CreateSecret_sync", - "title": "secretmanager CreateSecret Sample", - "description": "CreateSecret creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no\n[SecretVersions][google.cloud.secretmanager.v1.SecretVersion].", - "file": "Client/CreateSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.CreateSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.CreateSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "CreateSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.CreateSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.CreateSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.Secret", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "CreateSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.CreateSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "CreateSecret" }, + "description": "CreateSecret creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no\n[SecretVersions][google.cloud.secretmanager.v1.SecretVersion].", + "file": "Client/CreateSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_CreateSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager CreateSecret Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_DeleteSecret_sync", - "title": "secretmanager DeleteSecret Sample", - "description": "DeleteSecret deletes a [Secret][google.cloud.secretmanager.v1.Secret].", - "file": "Client/DeleteSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.DeleteSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "DeleteSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.DeleteSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.DeleteSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "DeleteSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "DeleteSecret" }, + "description": "DeleteSecret deletes a [Secret][google.cloud.secretmanager.v1.Secret].", + "file": "Client/DeleteSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_DeleteSecret_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager DeleteSecret Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_sync", - "title": "secretmanager DestroySecretVersion Sample", - "description": "DestroySecretVersion destroys a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to\n[DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED]\nand irrevocably destroys the secret data.", - "file": "Client/DestroySecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DestroySecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.DestroySecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "DestroySecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.DestroySecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.DestroySecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "DestroySecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "DestroySecretVersion" }, + "description": "DestroySecretVersion destroys a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to\n[DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED]\nand irrevocably destroys the secret data.", + "file": "Client/DestroySecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager DestroySecretVersion Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_sync", - "title": "secretmanager DisableSecretVersion Sample", - "description": "DisableSecretVersion disables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to\n[DISABLED][google.cloud.secretmanager.v1.SecretVersion.State.DISABLED].", - "file": "Client/DisableSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.DisableSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "DisableSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.DisableSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.DisableSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "DisableSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "DisableSecretVersion" }, + "description": "DisableSecretVersion disables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to\n[DISABLED][google.cloud.secretmanager.v1.SecretVersion.State.DISABLED].", + "file": "Client/DisableSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager DisableSecretVersion Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_sync", - "title": "secretmanager EnableSecretVersion Sample", - "description": "EnableSecretVersion enables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to\n[ENABLED][google.cloud.secretmanager.v1.SecretVersion.State.ENABLED].", - "file": "Client/EnableSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.EnableSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "EnableSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.EnableSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.EnableSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "EnableSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "EnableSecretVersion" }, + "description": "EnableSecretVersion enables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to\n[ENABLED][google.cloud.secretmanager.v1.SecretVersion.State.ENABLED].", + "file": "Client/EnableSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager EnableSecretVersion Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_GetIamPolicy_sync", - "title": "secretmanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a secret.\nReturns empty policy if the secret exists and does not have a policy set.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetIamPolicy", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetIamPolicy", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a secret.\nReturns empty policy if the secret exists and does not have a policy set.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetIamPolicy Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_GetLocation_sync", - "title": "secretmanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetLocation Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_GetSecret_sync", - "title": "secretmanager GetSecret Sample", - "description": "GetSecret gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret].", - "file": "Client/GetSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.GetSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "GetSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.GetSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.GetSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.Secret", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "GetSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "GetSecret" }, + "description": "GetSecret gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret].", + "file": "Client/GetSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_GetSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetSecret Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_GetSecretVersion_sync", - "title": "secretmanager GetSecretVersion Sample", - "description": "GetSecretVersion gets metadata for a\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].", - "file": "Client/GetSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.GetSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "GetSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.GetSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.GetSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "GetSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "GetSecretVersion" }, + "description": "GetSecretVersion gets metadata for a\n[SecretVersion][google.cloud.secretmanager.v1.SecretVersion].\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].", + "file": "Client/GetSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_GetSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetSecretVersion Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_ListLocations_sync", - "title": "secretmanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager ListLocations Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_ListSecretVersions_sync", - "title": "secretmanager ListSecretVersions Sample", - "description": "ListSecretVersions lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This\ncall does not return secret data.", - "file": "Client/ListSecretVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecretVersions", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.ListSecretVersions", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "ListSecretVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.ListSecretVersionsRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.ListSecretVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecretVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "ListSecretVersions", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "ListSecretVersions" }, + "description": "ListSecretVersions lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This\ncall does not return secret data.", + "file": "Client/ListSecretVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_ListSecretVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager ListSecretVersions Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_ListSecrets_sync", - "title": "secretmanager ListSecrets Sample", - "description": "ListSecrets lists [Secrets][google.cloud.secretmanager.v1.Secret].", - "file": "Client/ListSecrets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecrets", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.ListSecrets", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecrets", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "ListSecrets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.ListSecretsRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.ListSecretsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecretIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "ListSecrets", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecrets", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "ListSecrets" }, + "description": "ListSecrets lists [Secrets][google.cloud.secretmanager.v1.Secret].", + "file": "Client/ListSecrets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_ListSecrets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager ListSecrets Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_SetIamPolicy_sync", - "title": "secretmanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified secret. Replaces any\nexisting policy.\n\nPermissions on\n[SecretVersions][google.cloud.secretmanager.v1.SecretVersion] are enforced\naccording to the policy set on the associated\n[Secret][google.cloud.secretmanager.v1.Secret].", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.SetIamPolicy", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.SetIamPolicy", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified secret. Replaces any\nexisting policy.\n\nPermissions on\n[SecretVersions][google.cloud.secretmanager.v1.SecretVersion] are enforced\naccording to the policy set on the associated\n[Secret][google.cloud.secretmanager.v1.Secret].", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager SetIamPolicy Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_TestIamPermissions_sync", - "title": "secretmanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has for the specified secret.\nIf the secret does not exist, this call returns an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.TestIamPermissions", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.TestIamPermissions", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has for the specified secret.\nIf the secret does not exist, this call returns an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager TestIamPermissions Sample" }, { - "regionTag": "secretmanager_v1_generated_SecretManagerService_UpdateSecret_sync", - "title": "secretmanager UpdateSecret Sample", - "description": "UpdateSecret updates metadata of an existing\n[Secret][google.cloud.secretmanager.v1.Secret].", - "file": "Client/UpdateSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1.Client.UpdateSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "UpdateSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.UpdateSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.UpdateSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.Secret", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1.Client" - }, - "method": { - "shortName": "UpdateSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService" - } - } + "shortName": "UpdateSecret" }, + "description": "UpdateSecret updates metadata of an existing\n[Secret][google.cloud.secretmanager.v1.Secret].", + "file": "Client/UpdateSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1_generated_SecretManagerService_UpdateSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager UpdateSecret Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json b/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json index 86726a5abdca..3c9349444568 100644 --- a/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json +++ b/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json @@ -1,796 +1,796 @@ { "clientLibrary": { - "name": "cloud.google.com/go/secretmanager/apiv1beta2", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.secretmanager.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/secretmanager/apiv1beta2", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_AccessSecretVersion_sync", - "title": "secretmanager AccessSecretVersion Sample", - "description": "AccessSecretVersion accesses a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. This\ncall returns the secret data.\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].", - "file": "Client/AccessSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "AccessSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.AccessSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.AccessSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "AccessSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.AccessSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.AccessSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.AccessSecretVersionResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "AccessSecretVersion", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.AccessSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "AccessSecretVersion" }, + "description": "AccessSecretVersion accesses a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. This\ncall returns the secret data.\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].", + "file": "Client/AccessSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_AccessSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager AccessSecretVersion Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_AddSecretVersion_sync", - "title": "secretmanager AddSecretVersion Sample", - "description": "AddSecretVersion creates a new\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]\ncontaining secret data and attaches it to an existing\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", - "file": "Client/AddSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.AddSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.AddSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "AddSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.AddSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.AddSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "AddSecretVersion", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.AddSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "AddSecretVersion" }, + "description": "AddSecretVersion creates a new\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]\ncontaining secret data and attaches it to an existing\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", + "file": "Client/AddSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_AddSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager AddSecretVersion Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_CreateSecret_sync", - "title": "secretmanager CreateSecret Sample", - "description": "CreateSecret creates a new [Secret][google.cloud.secretmanager.v1beta2.Secret]\ncontaining no\n[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion].", - "file": "Client/CreateSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.CreateSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.CreateSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "CreateSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.CreateSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.CreateSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.Secret", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "CreateSecret", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.CreateSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "CreateSecret" }, + "description": "CreateSecret creates a new [Secret][google.cloud.secretmanager.v1beta2.Secret]\ncontaining no\n[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion].", + "file": "Client/CreateSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_CreateSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager CreateSecret Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_DeleteSecret_sync", - "title": "secretmanager DeleteSecret Sample", - "description": "DeleteSecret deletes a [Secret][google.cloud.secretmanager.v1beta2.Secret].", - "file": "Client/DeleteSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.DeleteSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.DeleteSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "DeleteSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.DeleteSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.DeleteSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "DeleteSecret", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.DeleteSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "DeleteSecret" }, + "description": "DeleteSecret deletes a [Secret][google.cloud.secretmanager.v1beta2.Secret].", + "file": "Client/DeleteSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_DeleteSecret_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager DeleteSecret Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_DestroySecretVersion_sync", - "title": "secretmanager DestroySecretVersion Sample", - "description": "DestroySecretVersion destroys a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] of\nthe [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to\n[DESTROYED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED]\nand irrevocably destroys the secret data.", - "file": "Client/DestroySecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DestroySecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.DestroySecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.DestroySecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "DestroySecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.DestroySecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.DestroySecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "DestroySecretVersion", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.DestroySecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "DestroySecretVersion" }, + "description": "DestroySecretVersion destroys a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] of\nthe [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to\n[DESTROYED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED]\nand irrevocably destroys the secret data.", + "file": "Client/DestroySecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_DestroySecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager DestroySecretVersion Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_DisableSecretVersion_sync", - "title": "secretmanager DisableSecretVersion Sample", - "description": "DisableSecretVersion disables a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] of\nthe [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to\n[DISABLED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DISABLED].", - "file": "Client/DisableSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.DisableSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.DisableSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "DisableSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.DisableSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.DisableSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "DisableSecretVersion", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.DisableSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "DisableSecretVersion" }, + "description": "DisableSecretVersion disables a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] of\nthe [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to\n[DISABLED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DISABLED].", + "file": "Client/DisableSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_DisableSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager DisableSecretVersion Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_EnableSecretVersion_sync", - "title": "secretmanager EnableSecretVersion Sample", - "description": "EnableSecretVersion enables a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] of\nthe [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to\n[ENABLED][google.cloud.secretmanager.v1beta2.SecretVersion.State.ENABLED].", - "file": "Client/EnableSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.EnableSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.EnableSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "EnableSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.EnableSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.EnableSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "EnableSecretVersion", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.EnableSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "EnableSecretVersion" }, + "description": "EnableSecretVersion enables a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\nSets the [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] of\nthe [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] to\n[ENABLED][google.cloud.secretmanager.v1beta2.SecretVersion.State.ENABLED].", + "file": "Client/EnableSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_EnableSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager EnableSecretVersion Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetIamPolicy_sync", - "title": "secretmanager GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a secret.\nReturns empty policy if the secret exists and does not have a policy set.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.GetIamPolicy", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.GetIamPolicy", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a secret.\nReturns empty policy if the secret exists and does not have a policy set.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetIamPolicy Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetLocation_sync", - "title": "secretmanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetLocation Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetSecret_sync", - "title": "secretmanager GetSecret Sample", - "description": "GetSecret gets metadata for a given\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", - "file": "Client/GetSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.GetSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.GetSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "GetSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.GetSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.GetSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.Secret", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "GetSecret", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.GetSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "GetSecret" }, + "description": "GetSecret gets metadata for a given\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", + "file": "Client/GetSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetSecret Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetSecretVersion_sync", - "title": "secretmanager GetSecretVersion Sample", - "description": "GetSecretVersion gets metadata for a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].", - "file": "Client/GetSecretVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecretVersion", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.GetSecretVersion", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.GetSecretVersion", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "GetSecretVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.GetSecretVersionRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.GetSecretVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.SecretVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "GetSecretVersion", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.GetSecretVersion", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "GetSecretVersion" }, + "description": "GetSecretVersion gets metadata for a\n[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently\ncreated [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].", + "file": "Client/GetSecretVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_GetSecretVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager GetSecretVersion Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_ListLocations_sync", - "title": "secretmanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager ListLocations Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_ListSecretVersions_sync", - "title": "secretmanager ListSecretVersions Sample", - "description": "ListSecretVersions lists [SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion].\nThis call does not return secret data.", - "file": "Client/ListSecretVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecretVersions", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.ListSecretVersions", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.ListSecretVersions", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "ListSecretVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.ListSecretVersionsRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.ListSecretVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecretVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "ListSecretVersions", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.ListSecretVersions", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "ListSecretVersions" }, + "description": "ListSecretVersions lists [SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion].\nThis call does not return secret data.", + "file": "Client/ListSecretVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_ListSecretVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager ListSecretVersions Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_ListSecrets_sync", - "title": "secretmanager ListSecrets Sample", - "description": "ListSecrets lists [Secrets][google.cloud.secretmanager.v1beta2.Secret].", - "file": "Client/ListSecrets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecrets", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.ListSecrets", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.ListSecrets", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "ListSecrets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.ListSecretsRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.ListSecretsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecretIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "ListSecrets", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.ListSecrets", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "ListSecrets" }, + "description": "ListSecrets lists [Secrets][google.cloud.secretmanager.v1beta2.Secret].", + "file": "Client/ListSecrets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_ListSecrets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager ListSecrets Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_SetIamPolicy_sync", - "title": "secretmanager SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified secret. Replaces any\nexisting policy.\n\nPermissions on\n[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion] are\nenforced according to the policy set on the associated\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.SetIamPolicy", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.SetIamPolicy", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified secret. Replaces any\nexisting policy.\n\nPermissions on\n[SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion] are\nenforced according to the policy set on the associated\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager SetIamPolicy Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_TestIamPermissions_sync", - "title": "secretmanager TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that a caller has for the specified secret.\nIf the secret does not exist, this call returns an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.TestIamPermissions", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.TestIamPermissions", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that a caller has for the specified secret.\nIf the secret does not exist, this call returns an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager TestIamPermissions Sample" }, { - "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_UpdateSecret_sync", - "title": "secretmanager UpdateSecret Sample", - "description": "UpdateSecret updates metadata of an existing\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", - "file": "Client/UpdateSecret/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecret", + "client": { + "fullName": "google.cloud.secretmanager.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.secretmanager.v1beta2.Client.UpdateSecret", + "method": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.UpdateSecret", + "service": { + "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService", + "shortName": "SecretManagerService" + }, + "shortName": "UpdateSecret" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "secretmanagerpb.UpdateSecretRequest", - "name": "req" + "name": "req", + "type": "secretmanagerpb.UpdateSecretRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*secretmanagerpb.Secret", - "client": { - "shortName": "Client", - "fullName": "google.cloud.secretmanager.v1beta2.Client" - }, - "method": { - "shortName": "UpdateSecret", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService.UpdateSecret", - "service": { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1beta2.SecretManagerService" - } - } + "shortName": "UpdateSecret" }, + "description": "UpdateSecret updates metadata of an existing\n[Secret][google.cloud.secretmanager.v1beta2.Secret].", + "file": "Client/UpdateSecret/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "secretmanager_v1beta2_generated_SecretManagerService_UpdateSecret_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "secretmanager UpdateSecret Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json b/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json index c07dda97c28b..b3a113c41cda 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json +++ b/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json @@ -1,2819 +1,2819 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securesourcemanager/apiv1", - "version": "1.4.1", - "language": "GO", "apis": [ { "id": "google.cloud.securesourcemanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securesourcemanager/apiv1", + "version": "1.4.1" }, "snippets": [ { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_BatchCreatePullRequestComments_sync", - "title": "securesourcemanager BatchCreatePullRequestComments Sample", - "description": "BatchCreatePullRequestComments batch creates pull request comments. This function is used to create\nmultiple PullRequestComments for code review. There needs to be exactly one\nPullRequestComment of type Review, and at most 100 PullRequestComments of\ntype Code per request. The Postition of the code comments must be unique\nwithin the request.", - "file": "Client/BatchCreatePullRequestComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreatePullRequestComments", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.BatchCreatePullRequestComments", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.BatchCreatePullRequestComments", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "BatchCreatePullRequestComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.BatchCreatePullRequestCommentsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.BatchCreatePullRequestCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreatePullRequestCommentsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "BatchCreatePullRequestComments", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.BatchCreatePullRequestComments", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "BatchCreatePullRequestComments" }, + "description": "BatchCreatePullRequestComments batch creates pull request comments. This function is used to create\nmultiple PullRequestComments for code review. There needs to be exactly one\nPullRequestComment of type Review, and at most 100 PullRequestComments of\ntype Code per request. The Postition of the code comments must be unique\nwithin the request.", + "file": "Client/BatchCreatePullRequestComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_BatchCreatePullRequestComments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager BatchCreatePullRequestComments Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CancelOperation_sync", - "title": "securesourcemanager CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CancelOperation Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CloseIssue_sync", - "title": "securesourcemanager CloseIssue Sample", - "description": "CloseIssue closes an issue.", - "file": "Client/CloseIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloseIssue", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CloseIssue", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CloseIssue", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CloseIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CloseIssueRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CloseIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloseIssueOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CloseIssue", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CloseIssue", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CloseIssue" }, + "description": "CloseIssue closes an issue.", + "file": "Client/CloseIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CloseIssue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CloseIssue Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ClosePullRequest_sync", - "title": "securesourcemanager ClosePullRequest Sample", - "description": "ClosePullRequest closes a pull request without merging.", - "file": "Client/ClosePullRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClosePullRequest", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ClosePullRequest", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ClosePullRequest", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ClosePullRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ClosePullRequestRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ClosePullRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClosePullRequestOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ClosePullRequest", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ClosePullRequest", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ClosePullRequest" }, + "description": "ClosePullRequest closes a pull request without merging.", + "file": "Client/ClosePullRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ClosePullRequest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ClosePullRequest Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateBranchRule_sync", - "title": "securesourcemanager CreateBranchRule Sample", - "description": "CreateBranchRule createBranchRule creates a branch rule in a given repository.", - "file": "Client/CreateBranchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBranchRule", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreateBranchRule", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateBranchRule", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreateBranchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreateBranchRuleRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreateBranchRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBranchRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreateBranchRule", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateBranchRule", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreateBranchRule" }, + "description": "CreateBranchRule createBranchRule creates a branch rule in a given repository.", + "file": "Client/CreateBranchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateBranchRule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreateBranchRule Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateHook_sync", - "title": "securesourcemanager CreateHook Sample", - "description": "CreateHook creates a new hook in a given repository.", - "file": "Client/CreateHook/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHook", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreateHook", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateHook", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreateHook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreateHookRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreateHookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHookOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreateHook", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateHook", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreateHook" }, + "description": "CreateHook creates a new hook in a given repository.", + "file": "Client/CreateHook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateHook_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreateHook Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateInstance_sync", - "title": "securesourcemanager CreateInstance Sample", - "description": "CreateInstance creates a new instance in a given project and location.", - "file": "Client/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreateInstance", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateInstance", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateInstance", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates a new instance in a given project and location.", + "file": "Client/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreateInstance Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateIssue_sync", - "title": "securesourcemanager CreateIssue Sample", - "description": "CreateIssue creates an issue.", - "file": "Client/CreateIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIssue", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreateIssue", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateIssue", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreateIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreateIssueRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreateIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIssueOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreateIssue", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateIssue", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreateIssue" }, + "description": "CreateIssue creates an issue.", + "file": "Client/CreateIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateIssue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreateIssue Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateIssueComment_sync", - "title": "securesourcemanager CreateIssueComment Sample", - "description": "CreateIssueComment creates an issue comment.", - "file": "Client/CreateIssueComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIssueComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreateIssueComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateIssueComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreateIssueComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreateIssueCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreateIssueCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIssueCommentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreateIssueComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateIssueComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreateIssueComment" }, + "description": "CreateIssueComment creates an issue comment.", + "file": "Client/CreateIssueComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateIssueComment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreateIssueComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreatePullRequest_sync", - "title": "securesourcemanager CreatePullRequest Sample", - "description": "CreatePullRequest creates a pull request.", - "file": "Client/CreatePullRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePullRequest", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreatePullRequest", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreatePullRequest", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreatePullRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreatePullRequestRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreatePullRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePullRequestOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreatePullRequest", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreatePullRequest", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreatePullRequest" }, + "description": "CreatePullRequest creates a pull request.", + "file": "Client/CreatePullRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreatePullRequest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreatePullRequest Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreatePullRequestComment_sync", - "title": "securesourcemanager CreatePullRequestComment Sample", - "description": "CreatePullRequestComment creates a pull request comment. This function is used to create a single\nPullRequestComment of type Comment, or a single PullRequestComment of type\nCode that's replying to another PullRequestComment of type Code. Use\nBatchCreatePullRequestComments to create multiple PullRequestComments for\ncode reviews.", - "file": "Client/CreatePullRequestComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePullRequestComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreatePullRequestComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreatePullRequestComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreatePullRequestComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreatePullRequestCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreatePullRequestCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePullRequestCommentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreatePullRequestComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreatePullRequestComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreatePullRequestComment" }, + "description": "CreatePullRequestComment creates a pull request comment. This function is used to create a single\nPullRequestComment of type Comment, or a single PullRequestComment of type\nCode that's replying to another PullRequestComment of type Code. Use\nBatchCreatePullRequestComments to create multiple PullRequestComments for\ncode reviews.", + "file": "Client/CreatePullRequestComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreatePullRequestComment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreatePullRequestComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateRepository_sync", - "title": "securesourcemanager CreateRepository Sample", - "description": "CreateRepository creates a new repository in a given project and location.\n\nThe Repository.Instance field is required in the request body for requests\nusing the securesourcemanager.googleapis.com endpoint.", - "file": "Client/CreateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRepository", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.CreateRepository", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateRepository", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "CreateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.CreateRepositoryRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.CreateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "CreateRepository", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateRepository", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "CreateRepository" }, + "description": "CreateRepository creates a new repository in a given project and location.\n\nThe Repository.Instance field is required in the request body for requests\nusing the securesourcemanager.googleapis.com endpoint.", + "file": "Client/CreateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreateRepository_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager CreateRepository Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteBranchRule_sync", - "title": "securesourcemanager DeleteBranchRule Sample", - "description": "DeleteBranchRule deleteBranchRule deletes a branch rule.", - "file": "Client/DeleteBranchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBranchRule", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteBranchRule", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteBranchRule", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeleteBranchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeleteBranchRuleRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeleteBranchRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteBranchRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteBranchRule", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteBranchRule", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeleteBranchRule" }, + "description": "DeleteBranchRule deleteBranchRule deletes a branch rule.", + "file": "Client/DeleteBranchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteBranchRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteBranchRule Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteHook_sync", - "title": "securesourcemanager DeleteHook Sample", - "description": "DeleteHook deletes a Hook.", - "file": "Client/DeleteHook/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteHook", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteHook", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteHook", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeleteHook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeleteHookRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeleteHookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteHookOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteHook", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteHook", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeleteHook" }, + "description": "DeleteHook deletes a Hook.", + "file": "Client/DeleteHook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteHook_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteHook Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteInstance_sync", - "title": "securesourcemanager DeleteInstance Sample", - "description": "DeleteInstance deletes a single instance.", - "file": "Client/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteInstance", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteInstance", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInstanceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteInstance", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes a single instance.", + "file": "Client/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteInstance Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteIssue_sync", - "title": "securesourcemanager DeleteIssue Sample", - "description": "DeleteIssue deletes an issue.", - "file": "Client/DeleteIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIssue", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteIssue", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteIssue", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeleteIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeleteIssueRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeleteIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIssueOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteIssue", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteIssue", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeleteIssue" }, + "description": "DeleteIssue deletes an issue.", + "file": "Client/DeleteIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteIssue_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteIssue Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteIssueComment_sync", - "title": "securesourcemanager DeleteIssueComment Sample", - "description": "DeleteIssueComment deletes an issue comment.", - "file": "Client/DeleteIssueComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIssueComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteIssueComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteIssueComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeleteIssueComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeleteIssueCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeleteIssueCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIssueCommentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteIssueComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteIssueComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeleteIssueComment" }, + "description": "DeleteIssueComment deletes an issue comment.", + "file": "Client/DeleteIssueComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteIssueComment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteIssueComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteOperation_sync", - "title": "securesourcemanager DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteOperation Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeletePullRequestComment_sync", - "title": "securesourcemanager DeletePullRequestComment Sample", - "description": "DeletePullRequestComment deletes a pull request comment.", - "file": "Client/DeletePullRequestComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePullRequestComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeletePullRequestComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeletePullRequestComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeletePullRequestComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeletePullRequestCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeletePullRequestCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePullRequestCommentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeletePullRequestComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeletePullRequestComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeletePullRequestComment" }, + "description": "DeletePullRequestComment deletes a pull request comment.", + "file": "Client/DeletePullRequestComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeletePullRequestComment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeletePullRequestComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteRepository_sync", - "title": "securesourcemanager DeleteRepository Sample", - "description": "DeleteRepository deletes a Repository.", - "file": "Client/DeleteRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRepository", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.DeleteRepository", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteRepository", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "DeleteRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.DeleteRepositoryRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.DeleteRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "DeleteRepository", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteRepository", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "DeleteRepository" }, + "description": "DeleteRepository deletes a Repository.", + "file": "Client/DeleteRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_DeleteRepository_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager DeleteRepository Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_FetchBlob_sync", - "title": "securesourcemanager FetchBlob Sample", - "description": "FetchBlob fetches a blob from a repository.", - "file": "Client/FetchBlob/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchBlob", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.FetchBlob", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.FetchBlob", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "FetchBlob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.FetchBlobRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.FetchBlobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.FetchBlobResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "FetchBlob", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.FetchBlob", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "FetchBlob" }, + "description": "FetchBlob fetches a blob from a repository.", + "file": "Client/FetchBlob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_FetchBlob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager FetchBlob Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_FetchTree_sync", - "title": "securesourcemanager FetchTree Sample", - "description": "FetchTree fetches a tree from a repository.", - "file": "Client/FetchTree/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchTree", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.FetchTree", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.FetchTree", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "FetchTree" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.FetchTreeRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.FetchTreeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TreeEntryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "FetchTree", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.FetchTree", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "FetchTree" }, + "description": "FetchTree fetches a tree from a repository.", + "file": "Client/FetchTree/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_FetchTree_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager FetchTree Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetBranchRule_sync", - "title": "securesourcemanager GetBranchRule Sample", - "description": "GetBranchRule getBranchRule gets a branch rule.", - "file": "Client/GetBranchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBranchRule", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetBranchRule", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetBranchRule", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetBranchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetBranchRuleRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetBranchRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.BranchRule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetBranchRule", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetBranchRule", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetBranchRule" }, + "description": "GetBranchRule getBranchRule gets a branch rule.", + "file": "Client/GetBranchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetBranchRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetBranchRule Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetHook_sync", - "title": "securesourcemanager GetHook Sample", - "description": "GetHook gets metadata of a hook.", - "file": "Client/GetHook/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHook", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetHook", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetHook", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetHook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetHookRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetHookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.Hook", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetHook", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetHook", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetHook" }, + "description": "GetHook gets metadata of a hook.", + "file": "Client/GetHook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetHook_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetHook Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIamPolicy_sync", - "title": "securesourcemanager 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", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetIamPolicy Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIamPolicyRepo_sync", - "title": "securesourcemanager GetIamPolicyRepo Sample", - "description": "GetIamPolicyRepo get IAM policy for a repository.", - "file": "Client/GetIamPolicyRepo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicyRepo", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetIamPolicyRepo", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIamPolicyRepo", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetIamPolicyRepo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetIamPolicyRepo", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIamPolicyRepo", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetIamPolicyRepo" }, + "description": "GetIamPolicyRepo get IAM policy for a repository.", + "file": "Client/GetIamPolicyRepo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIamPolicyRepo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetIamPolicyRepo Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetInstance_sync", - "title": "securesourcemanager GetInstance Sample", - "description": "GetInstance gets details of a single instance.", - "file": "Client/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetInstance", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetInstance", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.Instance", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetInstance", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single instance.", + "file": "Client/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetInstance Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIssue_sync", - "title": "securesourcemanager GetIssue Sample", - "description": "GetIssue gets an issue.", - "file": "Client/GetIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIssue", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetIssue", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIssue", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetIssueRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.Issue", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetIssue", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIssue", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetIssue" }, + "description": "GetIssue gets an issue.", + "file": "Client/GetIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIssue_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetIssue Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIssueComment_sync", - "title": "securesourcemanager GetIssueComment Sample", - "description": "GetIssueComment gets an issue comment.", - "file": "Client/GetIssueComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIssueComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetIssueComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIssueComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetIssueComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetIssueCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetIssueCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.IssueComment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetIssueComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIssueComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetIssueComment" }, + "description": "GetIssueComment gets an issue comment.", + "file": "Client/GetIssueComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetIssueComment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetIssueComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetLocation_sync", - "title": "securesourcemanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetLocation Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetOperation_sync", - "title": "securesourcemanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetOperation Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetPullRequest_sync", - "title": "securesourcemanager GetPullRequest Sample", - "description": "GetPullRequest gets a pull request.", - "file": "Client/GetPullRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPullRequest", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetPullRequest", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetPullRequest", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetPullRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetPullRequestRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetPullRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.PullRequest", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetPullRequest", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetPullRequest", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetPullRequest" }, + "description": "GetPullRequest gets a pull request.", + "file": "Client/GetPullRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetPullRequest_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetPullRequest Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetPullRequestComment_sync", - "title": "securesourcemanager GetPullRequestComment Sample", - "description": "GetPullRequestComment gets a pull request comment.", - "file": "Client/GetPullRequestComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPullRequestComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetPullRequestComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetPullRequestComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetPullRequestComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetPullRequestCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetPullRequestCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.PullRequestComment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetPullRequestComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetPullRequestComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetPullRequestComment" }, + "description": "GetPullRequestComment gets a pull request comment.", + "file": "Client/GetPullRequestComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetPullRequestComment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetPullRequestComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetRepository_sync", - "title": "securesourcemanager GetRepository Sample", - "description": "GetRepository gets metadata of a repository.", - "file": "Client/GetRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRepository", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.GetRepository", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetRepository", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "GetRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.GetRepositoryRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.GetRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securesourcemanagerpb.Repository", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "GetRepository", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetRepository", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "GetRepository" }, + "description": "GetRepository gets metadata of a repository.", + "file": "Client/GetRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_GetRepository_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager GetRepository Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListBranchRules_sync", - "title": "securesourcemanager ListBranchRules Sample", - "description": "ListBranchRules listBranchRules lists branch rules in a given repository.", - "file": "Client/ListBranchRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBranchRules", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListBranchRules", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListBranchRules", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListBranchRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListBranchRulesRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListBranchRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BranchRuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListBranchRules", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListBranchRules", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListBranchRules" }, + "description": "ListBranchRules listBranchRules lists branch rules in a given repository.", + "file": "Client/ListBranchRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListBranchRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListBranchRules Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListHooks_sync", - "title": "securesourcemanager ListHooks Sample", - "description": "ListHooks lists hooks in a given repository.", - "file": "Client/ListHooks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHooks", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListHooks", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListHooks", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListHooks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListHooksRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListHooksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HookIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListHooks", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListHooks", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListHooks" }, + "description": "ListHooks lists hooks in a given repository.", + "file": "Client/ListHooks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListHooks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListHooks Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListInstances_sync", - "title": "securesourcemanager ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "Client/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListInstances", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListInstances", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListInstances", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "Client/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListInstances Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListIssueComments_sync", - "title": "securesourcemanager ListIssueComments Sample", - "description": "ListIssueComments lists comments in an issue.", - "file": "Client/ListIssueComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIssueComments", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListIssueComments", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListIssueComments", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListIssueComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListIssueCommentsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListIssueCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IssueCommentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListIssueComments", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListIssueComments", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListIssueComments" }, + "description": "ListIssueComments lists comments in an issue.", + "file": "Client/ListIssueComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListIssueComments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListIssueComments Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListIssues_sync", - "title": "securesourcemanager ListIssues Sample", - "description": "ListIssues lists issues in a repository.", - "file": "Client/ListIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIssues", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListIssues", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListIssues", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListIssuesRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IssueIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListIssues", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListIssues", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListIssues" }, + "description": "ListIssues lists issues in a repository.", + "file": "Client/ListIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListIssues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListIssues Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListLocations_sync", - "title": "securesourcemanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "LocationIterator", + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListLocations Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListOperations_sync", - "title": "securesourcemanager ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListOperations Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListPullRequestComments_sync", - "title": "securesourcemanager ListPullRequestComments Sample", - "description": "ListPullRequestComments lists pull request comments.", - "file": "Client/ListPullRequestComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPullRequestComments", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListPullRequestComments", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListPullRequestComments", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListPullRequestComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListPullRequestCommentsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListPullRequestCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PullRequestCommentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListPullRequestComments", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListPullRequestComments", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListPullRequestComments" }, + "description": "ListPullRequestComments lists pull request comments.", + "file": "Client/ListPullRequestComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListPullRequestComments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListPullRequestComments Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListPullRequestFileDiffs_sync", - "title": "securesourcemanager ListPullRequestFileDiffs Sample", - "description": "ListPullRequestFileDiffs lists a pull request's file diffs.", - "file": "Client/ListPullRequestFileDiffs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPullRequestFileDiffs", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListPullRequestFileDiffs", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListPullRequestFileDiffs", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListPullRequestFileDiffs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListPullRequestFileDiffsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListPullRequestFileDiffsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FileDiffIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListPullRequestFileDiffs", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListPullRequestFileDiffs", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListPullRequestFileDiffs" }, + "description": "ListPullRequestFileDiffs lists a pull request's file diffs.", + "file": "Client/ListPullRequestFileDiffs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListPullRequestFileDiffs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListPullRequestFileDiffs Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListPullRequests_sync", - "title": "securesourcemanager ListPullRequests Sample", - "description": "ListPullRequests lists pull requests in a repository.", - "file": "Client/ListPullRequests/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPullRequests", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListPullRequests", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListPullRequests", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListPullRequests" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListPullRequestsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListPullRequestsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PullRequestIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListPullRequests", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListPullRequests", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListPullRequests" }, + "description": "ListPullRequests lists pull requests in a repository.", + "file": "Client/ListPullRequests/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListPullRequests_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListPullRequests Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListRepositories_sync", - "title": "securesourcemanager ListRepositories Sample", - "description": "ListRepositories lists Repositories in a given project and location.\n\nThe instance field is required in the query parameter for requests using\nthe securesourcemanager.googleapis.com endpoint.", - "file": "Client/ListRepositories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRepositories", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ListRepositories", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListRepositories", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ListRepositories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ListRepositoriesRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ListRepositoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepositoryIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ListRepositories", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListRepositories", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ListRepositories" }, + "description": "ListRepositories lists Repositories in a given project and location.\n\nThe instance field is required in the query parameter for requests using\nthe securesourcemanager.googleapis.com endpoint.", + "file": "Client/ListRepositories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ListRepositories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ListRepositories Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_MergePullRequest_sync", - "title": "securesourcemanager MergePullRequest Sample", - "description": "MergePullRequest merges a pull request.", - "file": "Client/MergePullRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "MergePullRequest", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.MergePullRequest", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.MergePullRequest", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "MergePullRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.MergePullRequestRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.MergePullRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MergePullRequestOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "MergePullRequest", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.MergePullRequest", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "MergePullRequest" }, + "description": "MergePullRequest merges a pull request.", + "file": "Client/MergePullRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_MergePullRequest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager MergePullRequest Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_OpenIssue_sync", - "title": "securesourcemanager OpenIssue Sample", - "description": "OpenIssue opens an issue.", - "file": "Client/OpenIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "OpenIssue", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.OpenIssue", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.OpenIssue", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "OpenIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.OpenIssueRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.OpenIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OpenIssueOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "OpenIssue", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.OpenIssue", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "OpenIssue" }, + "description": "OpenIssue opens an issue.", + "file": "Client/OpenIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_OpenIssue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager OpenIssue Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_OpenPullRequest_sync", - "title": "securesourcemanager OpenPullRequest Sample", - "description": "OpenPullRequest opens a pull request.", - "file": "Client/OpenPullRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "OpenPullRequest", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.OpenPullRequest", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.OpenPullRequest", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "OpenPullRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.OpenPullRequestRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.OpenPullRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OpenPullRequestOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "OpenPullRequest", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.OpenPullRequest", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "OpenPullRequest" }, + "description": "OpenPullRequest opens a pull request.", + "file": "Client/OpenPullRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_OpenPullRequest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager OpenPullRequest Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ResolvePullRequestComments_sync", - "title": "securesourcemanager ResolvePullRequestComments Sample", - "description": "ResolvePullRequestComments resolves pull request comments. A list of PullRequestComment names must be\nprovided. The PullRequestComment names must be in the same conversation\nthread. If auto_fill is set, all comments in the conversation thread will\nbe resolved.", - "file": "Client/ResolvePullRequestComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResolvePullRequestComments", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.ResolvePullRequestComments", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ResolvePullRequestComments", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "ResolvePullRequestComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.ResolvePullRequestCommentsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.ResolvePullRequestCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResolvePullRequestCommentsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "ResolvePullRequestComments", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ResolvePullRequestComments", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "ResolvePullRequestComments" }, + "description": "ResolvePullRequestComments resolves pull request comments. A list of PullRequestComment names must be\nprovided. The PullRequestComment names must be in the same conversation\nthread. If auto_fill is set, all comments in the conversation thread will\nbe resolved.", + "file": "Client/ResolvePullRequestComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ResolvePullRequestComments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager ResolvePullRequestComments Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_SetIamPolicy_sync", - "title": "securesourcemanager 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", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager SetIamPolicy Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_SetIamPolicyRepo_sync", - "title": "securesourcemanager SetIamPolicyRepo Sample", - "description": "SetIamPolicyRepo set IAM policy on a repository.", - "file": "Client/SetIamPolicyRepo/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicyRepo", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.SetIamPolicyRepo", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.SetIamPolicyRepo", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "SetIamPolicyRepo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "SetIamPolicyRepo", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.SetIamPolicyRepo", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "SetIamPolicyRepo" }, + "description": "SetIamPolicyRepo set IAM policy on a repository.", + "file": "Client/SetIamPolicyRepo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_SetIamPolicyRepo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager SetIamPolicyRepo Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_TestIamPermissions_sync", - "title": "securesourcemanager 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", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager TestIamPermissions Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_TestIamPermissionsRepo_sync", - "title": "securesourcemanager TestIamPermissionsRepo Sample", - "description": "TestIamPermissionsRepo test IAM permissions on a repository.\nIAM permission checks are not required on this method.", - "file": "Client/TestIamPermissionsRepo/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissionsRepo", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.TestIamPermissionsRepo", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.TestIamPermissionsRepo", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "TestIamPermissionsRepo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "TestIamPermissionsRepo", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.TestIamPermissionsRepo", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "TestIamPermissionsRepo" }, + "description": "TestIamPermissionsRepo test IAM permissions on a repository.\nIAM permission checks are not required on this method.", + "file": "Client/TestIamPermissionsRepo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_TestIamPermissionsRepo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager TestIamPermissionsRepo Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UnresolvePullRequestComments_sync", - "title": "securesourcemanager UnresolvePullRequestComments Sample", - "description": "UnresolvePullRequestComments unresolves pull request comments. A list of PullRequestComment names must\nbe provided. The PullRequestComment names must be in the same conversation\nthread. If auto_fill is set, all comments in the conversation thread will\nbe unresolved.", - "file": "Client/UnresolvePullRequestComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnresolvePullRequestComments", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UnresolvePullRequestComments", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UnresolvePullRequestComments", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UnresolvePullRequestComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UnresolvePullRequestCommentsRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UnresolvePullRequestCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UnresolvePullRequestCommentsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UnresolvePullRequestComments", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UnresolvePullRequestComments", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UnresolvePullRequestComments" }, + "description": "UnresolvePullRequestComments unresolves pull request comments. A list of PullRequestComment names must\nbe provided. The PullRequestComment names must be in the same conversation\nthread. If auto_fill is set, all comments in the conversation thread will\nbe unresolved.", + "file": "Client/UnresolvePullRequestComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UnresolvePullRequestComments_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UnresolvePullRequestComments Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateBranchRule_sync", - "title": "securesourcemanager UpdateBranchRule Sample", - "description": "UpdateBranchRule updateBranchRule updates a branch rule.", - "file": "Client/UpdateBranchRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBranchRule", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdateBranchRule", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateBranchRule", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdateBranchRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdateBranchRuleRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdateBranchRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateBranchRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdateBranchRule", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateBranchRule", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdateBranchRule" }, + "description": "UpdateBranchRule updateBranchRule updates a branch rule.", + "file": "Client/UpdateBranchRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateBranchRule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdateBranchRule Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateHook_sync", - "title": "securesourcemanager UpdateHook Sample", - "description": "UpdateHook updates the metadata of a hook.", - "file": "Client/UpdateHook/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHook", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdateHook", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateHook", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdateHook" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdateHookRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdateHookRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateHookOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdateHook", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateHook", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdateHook" }, + "description": "UpdateHook updates the metadata of a hook.", + "file": "Client/UpdateHook/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateHook_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdateHook Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateIssue_sync", - "title": "securesourcemanager UpdateIssue Sample", - "description": "UpdateIssue updates a issue.", - "file": "Client/UpdateIssue/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIssue", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdateIssue", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateIssue", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdateIssue" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdateIssueRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdateIssueRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateIssueOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdateIssue", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateIssue", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdateIssue" }, + "description": "UpdateIssue updates a issue.", + "file": "Client/UpdateIssue/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateIssue_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdateIssue Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateIssueComment_sync", - "title": "securesourcemanager UpdateIssueComment Sample", - "description": "UpdateIssueComment updates an issue comment.", - "file": "Client/UpdateIssueComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIssueComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdateIssueComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateIssueComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdateIssueComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdateIssueCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdateIssueCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateIssueCommentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdateIssueComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateIssueComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdateIssueComment" }, + "description": "UpdateIssueComment updates an issue comment.", + "file": "Client/UpdateIssueComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateIssueComment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdateIssueComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdatePullRequest_sync", - "title": "securesourcemanager UpdatePullRequest Sample", - "description": "UpdatePullRequest updates a pull request.", - "file": "Client/UpdatePullRequest/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePullRequest", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdatePullRequest", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdatePullRequest", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdatePullRequest" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdatePullRequestRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdatePullRequestRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePullRequestOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdatePullRequest", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdatePullRequest", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdatePullRequest" }, + "description": "UpdatePullRequest updates a pull request.", + "file": "Client/UpdatePullRequest/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdatePullRequest_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdatePullRequest Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdatePullRequestComment_sync", - "title": "securesourcemanager UpdatePullRequestComment Sample", - "description": "UpdatePullRequestComment updates a pull request comment.", - "file": "Client/UpdatePullRequestComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePullRequestComment", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdatePullRequestComment", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdatePullRequestComment", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdatePullRequestComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdatePullRequestCommentRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdatePullRequestCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePullRequestCommentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdatePullRequestComment", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdatePullRequestComment", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdatePullRequestComment" }, + "description": "UpdatePullRequestComment updates a pull request comment.", + "file": "Client/UpdatePullRequestComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdatePullRequestComment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdatePullRequestComment Sample" }, { - "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateRepository_sync", - "title": "securesourcemanager UpdateRepository Sample", - "description": "UpdateRepository updates the metadata of a repository.", - "file": "Client/UpdateRepository/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRepository", + "client": { + "fullName": "google.cloud.securesourcemanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securesourcemanager.v1.Client.UpdateRepository", + "method": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateRepository", + "service": { + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "shortName": "SecureSourceManager" + }, + "shortName": "UpdateRepository" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securesourcemanagerpb.UpdateRepositoryRequest", - "name": "req" + "name": "req", + "type": "securesourcemanagerpb.UpdateRepositoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRepositoryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securesourcemanager.v1.Client" - }, - "method": { - "shortName": "UpdateRepository", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.UpdateRepository", - "service": { - "shortName": "SecureSourceManager", - "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager" - } - } + "shortName": "UpdateRepository" }, + "description": "UpdateRepository updates the metadata of a repository.", + "file": "Client/UpdateRepository/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UpdateRepository_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securesourcemanager UpdateRepository Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json b/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json index a271363682c8..e7e67eb32e38 100644 --- a/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json +++ b/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json @@ -1,1761 +1,1761 @@ { "clientLibrary": { - "name": "cloud.google.com/go/security/privateca/apiv1", - "version": "1.19.2", - "language": "GO", "apis": [ { "id": "google.cloud.security.privateca.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/security/privateca/apiv1", + "version": "1.19.2" }, "snippets": [ { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ActivateCertificateAuthority_sync", - "title": "privateca ActivateCertificateAuthority Sample", - "description": "ActivateCertificateAuthority activate a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nthat is in state\n[AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION]\nand is of type\n[SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE].\nAfter the parent Certificate Authority signs a certificate signing request\nfrom\n[FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr],\nthis method can complete the activation process.", - "file": "CertificateAuthorityClient/ActivateCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "ActivateCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ActivateCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "ActivateCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.ActivateCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.ActivateCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ActivateCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ActivateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "ActivateCertificateAuthority" }, + "description": "ActivateCertificateAuthority activate a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nthat is in state\n[AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION]\nand is of type\n[SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE].\nAfter the parent Certificate Authority signs a certificate signing request\nfrom\n[FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr],\nthis method can complete the activation process.", + "file": "CertificateAuthorityClient/ActivateCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ActivateCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ActivateCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_CancelOperation_sync", - "title": "privateca CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "CertificateAuthorityClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "CertificateAuthorityClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca CancelOperation Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCaPool_sync", - "title": "privateca CreateCaPool Sample", - "description": "CreateCaPool create a [CaPool][google.cloud.security.privateca.v1.CaPool].", - "file": "CertificateAuthorityClient/CreateCaPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCaPool", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.CreateCaPool", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "CreateCaPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.CreateCaPoolRequest", - "name": "req" + "name": "req", + "type": "privatecapb.CreateCaPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCaPoolOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "CreateCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "CreateCaPool" }, + "description": "CreateCaPool create a [CaPool][google.cloud.security.privateca.v1.CaPool].", + "file": "CertificateAuthorityClient/CreateCaPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCaPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca CreateCaPool Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCertificate_sync", - "title": "privateca CreateCertificate Sample", - "description": "CreateCertificate create a new [Certificate][google.cloud.security.privateca.v1.Certificate]\nin a given Project, Location from a particular\n[CaPool][google.cloud.security.privateca.v1.CaPool].", - "file": "CertificateAuthorityClient/CreateCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.CreateCertificate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "CreateCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.CreateCertificateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.CreateCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.Certificate", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "CreateCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "CreateCertificate" }, + "description": "CreateCertificate create a new [Certificate][google.cloud.security.privateca.v1.Certificate]\nin a given Project, Location from a particular\n[CaPool][google.cloud.security.privateca.v1.CaPool].", + "file": "CertificateAuthorityClient/CreateCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca CreateCertificate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCertificateAuthority_sync", - "title": "privateca CreateCertificateAuthority Sample", - "description": "CreateCertificateAuthority create a new\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nin a given Project and Location.", - "file": "CertificateAuthorityClient/CreateCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.CreateCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "CreateCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.CreateCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.CreateCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "CreateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "CreateCertificateAuthority" }, + "description": "CreateCertificateAuthority create a new\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nin a given Project and Location.", + "file": "CertificateAuthorityClient/CreateCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca CreateCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCertificateTemplate_sync", - "title": "privateca CreateCertificateTemplate Sample", - "description": "CreateCertificateTemplate create a new\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate]\nin a given Project and Location.", - "file": "CertificateAuthorityClient/CreateCertificateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCertificateTemplate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.CreateCertificateTemplate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "CreateCertificateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.CreateCertificateTemplateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.CreateCertificateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCertificateTemplateOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "CreateCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "CreateCertificateTemplate" }, + "description": "CreateCertificateTemplate create a new\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate]\nin a given Project and Location.", + "file": "CertificateAuthorityClient/CreateCertificateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_CreateCertificateTemplate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca CreateCertificateTemplate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteCaPool_sync", - "title": "privateca DeleteCaPool Sample", - "description": "DeleteCaPool delete a [CaPool][google.cloud.security.privateca.v1.CaPool].", - "file": "CertificateAuthorityClient/DeleteCaPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCaPool", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.DeleteCaPool", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "DeleteCaPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.DeleteCaPoolRequest", - "name": "req" + "name": "req", + "type": "privatecapb.DeleteCaPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCaPoolOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "DeleteCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "DeleteCaPool" }, + "description": "DeleteCaPool delete a [CaPool][google.cloud.security.privateca.v1.CaPool].", + "file": "CertificateAuthorityClient/DeleteCaPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteCaPool_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca DeleteCaPool Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteCertificateAuthority_sync", - "title": "privateca DeleteCertificateAuthority Sample", - "description": "DeleteCertificateAuthority delete a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", - "file": "CertificateAuthorityClient/DeleteCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.DeleteCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "DeleteCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.DeleteCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.DeleteCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "DeleteCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "DeleteCertificateAuthority" }, + "description": "DeleteCertificateAuthority delete a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", + "file": "CertificateAuthorityClient/DeleteCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca DeleteCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteCertificateTemplate_sync", - "title": "privateca DeleteCertificateTemplate Sample", - "description": "DeleteCertificateTemplate deleteCertificateTemplate deletes a\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].", - "file": "CertificateAuthorityClient/DeleteCertificateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCertificateTemplate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.DeleteCertificateTemplate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "DeleteCertificateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.DeleteCertificateTemplateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.DeleteCertificateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCertificateTemplateOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "DeleteCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "DeleteCertificateTemplate" }, + "description": "DeleteCertificateTemplate deleteCertificateTemplate deletes a\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].", + "file": "CertificateAuthorityClient/DeleteCertificateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteCertificateTemplate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca DeleteCertificateTemplate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteOperation_sync", - "title": "privateca DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "CertificateAuthorityClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "CertificateAuthorityClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca DeleteOperation Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_DisableCertificateAuthority_sync", - "title": "privateca DisableCertificateAuthority Sample", - "description": "DisableCertificateAuthority disable a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", - "file": "CertificateAuthorityClient/DisableCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.DisableCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "DisableCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.DisableCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.DisableCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "DisableCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "DisableCertificateAuthority" }, + "description": "DisableCertificateAuthority disable a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", + "file": "CertificateAuthorityClient/DisableCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_DisableCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca DisableCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_EnableCertificateAuthority_sync", - "title": "privateca EnableCertificateAuthority Sample", - "description": "EnableCertificateAuthority enable a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", - "file": "CertificateAuthorityClient/EnableCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.EnableCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "EnableCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.EnableCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.EnableCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "EnableCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "EnableCertificateAuthority" }, + "description": "EnableCertificateAuthority enable a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", + "file": "CertificateAuthorityClient/EnableCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_EnableCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca EnableCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_FetchCaCerts_sync", - "title": "privateca FetchCaCerts Sample", - "description": "FetchCaCerts fetchCaCerts returns the current trust anchor for the\n[CaPool][google.cloud.security.privateca.v1.CaPool]. This will include CA\ncertificate chains for all certificate authorities in the ENABLED,\nDISABLED, or STAGED states.", - "file": "CertificateAuthorityClient/FetchCaCerts/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchCaCerts", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.FetchCaCerts", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "FetchCaCerts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.FetchCaCertsRequest", - "name": "req" + "name": "req", + "type": "privatecapb.FetchCaCertsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.FetchCaCertsResponse", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "FetchCaCerts", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "FetchCaCerts" }, + "description": "FetchCaCerts fetchCaCerts returns the current trust anchor for the\n[CaPool][google.cloud.security.privateca.v1.CaPool]. This will include CA\ncertificate chains for all certificate authorities in the ENABLED,\nDISABLED, or STAGED states.", + "file": "CertificateAuthorityClient/FetchCaCerts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_FetchCaCerts_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca FetchCaCerts Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_FetchCertificateAuthorityCsr_sync", - "title": "privateca FetchCertificateAuthorityCsr Sample", - "description": "FetchCertificateAuthorityCsr fetch a certificate signing request (CSR) from a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nthat is in state\n[AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION]\nand is of type\n[SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE].\nThe CSR must then be signed by the desired parent Certificate Authority,\nwhich could be another\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nresource, or could be an on-prem certificate authority. See also\n[ActivateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority].", - "file": "CertificateAuthorityClient/FetchCertificateAuthorityCsr/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchCertificateAuthorityCsr", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.FetchCertificateAuthorityCsr", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "FetchCertificateAuthorityCsr" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.FetchCertificateAuthorityCsrRequest", - "name": "req" + "name": "req", + "type": "privatecapb.FetchCertificateAuthorityCsrRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.FetchCertificateAuthorityCsrResponse", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "FetchCertificateAuthorityCsr", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "FetchCertificateAuthorityCsr" }, + "description": "FetchCertificateAuthorityCsr fetch a certificate signing request (CSR) from a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nthat is in state\n[AWAITING_USER_ACTIVATION][google.cloud.security.privateca.v1.CertificateAuthority.State.AWAITING_USER_ACTIVATION]\nand is of type\n[SUBORDINATE][google.cloud.security.privateca.v1.CertificateAuthority.Type.SUBORDINATE].\nThe CSR must then be signed by the desired parent Certificate Authority,\nwhich could be another\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nresource, or could be an on-prem certificate authority. See also\n[ActivateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority].", + "file": "CertificateAuthorityClient/FetchCertificateAuthorityCsr/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_FetchCertificateAuthorityCsr_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca FetchCertificateAuthorityCsr Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCaPool_sync", - "title": "privateca GetCaPool Sample", - "description": "GetCaPool returns a [CaPool][google.cloud.security.privateca.v1.CaPool].", - "file": "CertificateAuthorityClient/GetCaPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCaPool", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetCaPool", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "GetCaPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.GetCaPoolRequest", - "name": "req" + "name": "req", + "type": "privatecapb.GetCaPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.CaPool", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "GetCaPool" }, + "description": "GetCaPool returns a [CaPool][google.cloud.security.privateca.v1.CaPool].", + "file": "CertificateAuthorityClient/GetCaPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCaPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetCaPool Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificate_sync", - "title": "privateca GetCertificate Sample", - "description": "GetCertificate returns a [Certificate][google.cloud.security.privateca.v1.Certificate].", - "file": "CertificateAuthorityClient/GetCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetCertificate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "GetCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.GetCertificateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.GetCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.Certificate", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "GetCertificate" }, + "description": "GetCertificate returns a [Certificate][google.cloud.security.privateca.v1.Certificate].", + "file": "CertificateAuthorityClient/GetCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetCertificate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificateAuthority_sync", - "title": "privateca GetCertificateAuthority Sample", - "description": "GetCertificateAuthority returns a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", - "file": "CertificateAuthorityClient/GetCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "GetCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.GetCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.GetCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.CertificateAuthority", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "GetCertificateAuthority" }, + "description": "GetCertificateAuthority returns a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", + "file": "CertificateAuthorityClient/GetCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificateRevocationList_sync", - "title": "privateca GetCertificateRevocationList Sample", - "description": "GetCertificateRevocationList returns a\n[CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].", - "file": "CertificateAuthorityClient/GetCertificateRevocationList/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateRevocationList", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetCertificateRevocationList", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "GetCertificateRevocationList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.GetCertificateRevocationListRequest", - "name": "req" + "name": "req", + "type": "privatecapb.GetCertificateRevocationListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.CertificateRevocationList", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetCertificateRevocationList", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "GetCertificateRevocationList" }, + "description": "GetCertificateRevocationList returns a\n[CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].", + "file": "CertificateAuthorityClient/GetCertificateRevocationList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificateRevocationList_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetCertificateRevocationList Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificateTemplate_sync", - "title": "privateca GetCertificateTemplate Sample", - "description": "GetCertificateTemplate returns a\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].", - "file": "CertificateAuthorityClient/GetCertificateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCertificateTemplate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetCertificateTemplate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "GetCertificateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.GetCertificateTemplateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.GetCertificateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.CertificateTemplate", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "GetCertificateTemplate" }, + "description": "GetCertificateTemplate returns a\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].", + "file": "CertificateAuthorityClient/GetCertificateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetCertificateTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetCertificateTemplate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetIamPolicy_sync", - "title": "privateca 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": "CertificateAuthorityClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "CertificateAuthorityClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetIamPolicy Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetLocation_sync", - "title": "privateca GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "CertificateAuthorityClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "CertificateAuthorityClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetLocation Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetOperation_sync", - "title": "privateca GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CertificateAuthorityClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CertificateAuthorityClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca GetOperation Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCaPools_sync", - "title": "privateca ListCaPools Sample", - "description": "ListCaPools lists [CaPools][google.cloud.security.privateca.v1.CaPool].", - "file": "CertificateAuthorityClient/ListCaPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCaPools", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListCaPools", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "ListCaPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.ListCaPoolsRequest", - "name": "req" + "name": "req", + "type": "privatecapb.ListCaPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaPoolIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListCaPools", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "ListCaPools" }, + "description": "ListCaPools lists [CaPools][google.cloud.security.privateca.v1.CaPool].", + "file": "CertificateAuthorityClient/ListCaPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCaPools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListCaPools Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificateAuthorities_sync", - "title": "privateca ListCertificateAuthorities Sample", - "description": "ListCertificateAuthorities lists\n[CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].", - "file": "CertificateAuthorityClient/ListCertificateAuthorities/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificateAuthorities", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListCertificateAuthorities", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "ListCertificateAuthorities" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.ListCertificateAuthoritiesRequest", - "name": "req" + "name": "req", + "type": "privatecapb.ListCertificateAuthoritiesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateAuthorityIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListCertificateAuthorities", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "ListCertificateAuthorities" }, + "description": "ListCertificateAuthorities lists\n[CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].", + "file": "CertificateAuthorityClient/ListCertificateAuthorities/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificateAuthorities_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListCertificateAuthorities Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificateRevocationLists_sync", - "title": "privateca ListCertificateRevocationLists Sample", - "description": "ListCertificateRevocationLists lists\n[CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].", - "file": "CertificateAuthorityClient/ListCertificateRevocationLists/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificateRevocationLists", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListCertificateRevocationLists", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "ListCertificateRevocationLists" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.ListCertificateRevocationListsRequest", - "name": "req" + "name": "req", + "type": "privatecapb.ListCertificateRevocationListsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateRevocationListIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListCertificateRevocationLists", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "ListCertificateRevocationLists" }, + "description": "ListCertificateRevocationLists lists\n[CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].", + "file": "CertificateAuthorityClient/ListCertificateRevocationLists/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificateRevocationLists_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListCertificateRevocationLists Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificateTemplates_sync", - "title": "privateca ListCertificateTemplates Sample", - "description": "ListCertificateTemplates lists\n[CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].", - "file": "CertificateAuthorityClient/ListCertificateTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificateTemplates", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListCertificateTemplates", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "ListCertificateTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.ListCertificateTemplatesRequest", - "name": "req" + "name": "req", + "type": "privatecapb.ListCertificateTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateTemplateIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListCertificateTemplates", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "ListCertificateTemplates" }, + "description": "ListCertificateTemplates lists\n[CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].", + "file": "CertificateAuthorityClient/ListCertificateTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificateTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListCertificateTemplates Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificates_sync", - "title": "privateca ListCertificates Sample", - "description": "ListCertificates lists [Certificates][google.cloud.security.privateca.v1.Certificate].", - "file": "CertificateAuthorityClient/ListCertificates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCertificates", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListCertificates", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "ListCertificates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.ListCertificatesRequest", - "name": "req" + "name": "req", + "type": "privatecapb.ListCertificatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CertificateIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListCertificates", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "ListCertificates" }, + "description": "ListCertificates lists [Certificates][google.cloud.security.privateca.v1.Certificate].", + "file": "CertificateAuthorityClient/ListCertificates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListCertificates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListCertificates Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListLocations_sync", - "title": "privateca ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "CertificateAuthorityClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "CertificateAuthorityClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListLocations Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListOperations_sync", - "title": "privateca ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "CertificateAuthorityClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "CertificateAuthorityClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca ListOperations Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_RevokeCertificate_sync", - "title": "privateca RevokeCertificate Sample", - "description": "RevokeCertificate revoke a [Certificate][google.cloud.security.privateca.v1.Certificate].", - "file": "CertificateAuthorityClient/RevokeCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "RevokeCertificate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.RevokeCertificate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "RevokeCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.RevokeCertificateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.RevokeCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.Certificate", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "RevokeCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "RevokeCertificate" }, + "description": "RevokeCertificate revoke a [Certificate][google.cloud.security.privateca.v1.Certificate].", + "file": "CertificateAuthorityClient/RevokeCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_RevokeCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca RevokeCertificate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_SetIamPolicy_sync", - "title": "privateca 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": "CertificateAuthorityClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "CertificateAuthorityClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca SetIamPolicy Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_TestIamPermissions_sync", - "title": "privateca 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": "CertificateAuthorityClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "CertificateAuthorityClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca TestIamPermissions Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_UndeleteCertificateAuthority_sync", - "title": "privateca UndeleteCertificateAuthority Sample", - "description": "UndeleteCertificateAuthority undelete a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nthat has been deleted.", - "file": "CertificateAuthorityClient/UndeleteCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.UndeleteCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "UndeleteCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.UndeleteCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.UndeleteCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "UndeleteCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "UndeleteCertificateAuthority" }, + "description": "UndeleteCertificateAuthority undelete a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]\nthat has been deleted.", + "file": "CertificateAuthorityClient/UndeleteCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_UndeleteCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca UndeleteCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCaPool_sync", - "title": "privateca UpdateCaPool Sample", - "description": "UpdateCaPool update a [CaPool][google.cloud.security.privateca.v1.CaPool].", - "file": "CertificateAuthorityClient/UpdateCaPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCaPool", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.UpdateCaPool", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "UpdateCaPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.UpdateCaPoolRequest", - "name": "req" + "name": "req", + "type": "privatecapb.UpdateCaPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCaPoolOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "UpdateCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "UpdateCaPool" }, + "description": "UpdateCaPool update a [CaPool][google.cloud.security.privateca.v1.CaPool].", + "file": "CertificateAuthorityClient/UpdateCaPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCaPool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca UpdateCaPool Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificate_sync", - "title": "privateca UpdateCertificate Sample", - "description": "UpdateCertificate update a [Certificate][google.cloud.security.privateca.v1.Certificate].\nCurrently, the only field you can update is the\n[labels][google.cloud.security.privateca.v1.Certificate.labels] field.", - "file": "CertificateAuthorityClient/UpdateCertificate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.UpdateCertificate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "UpdateCertificate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.UpdateCertificateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.UpdateCertificateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*privatecapb.Certificate", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "UpdateCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "UpdateCertificate" }, + "description": "UpdateCertificate update a [Certificate][google.cloud.security.privateca.v1.Certificate].\nCurrently, the only field you can update is the\n[labels][google.cloud.security.privateca.v1.Certificate.labels] field.", + "file": "CertificateAuthorityClient/UpdateCertificate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca UpdateCertificate Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificateAuthority_sync", - "title": "privateca UpdateCertificateAuthority Sample", - "description": "UpdateCertificateAuthority update a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", - "file": "CertificateAuthorityClient/UpdateCertificateAuthority/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificateAuthority", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.UpdateCertificateAuthority", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "UpdateCertificateAuthority" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.UpdateCertificateAuthorityRequest", - "name": "req" + "name": "req", + "type": "privatecapb.UpdateCertificateAuthorityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCertificateAuthorityOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "UpdateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "UpdateCertificateAuthority" }, + "description": "UpdateCertificateAuthority update a\n[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].", + "file": "CertificateAuthorityClient/UpdateCertificateAuthority/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificateAuthority_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca UpdateCertificateAuthority Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificateRevocationList_sync", - "title": "privateca UpdateCertificateRevocationList Sample", - "description": "UpdateCertificateRevocationList update a\n[CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].", - "file": "CertificateAuthorityClient/UpdateCertificateRevocationList/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificateRevocationList", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.UpdateCertificateRevocationList", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "UpdateCertificateRevocationList" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.UpdateCertificateRevocationListRequest", - "name": "req" + "name": "req", + "type": "privatecapb.UpdateCertificateRevocationListRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCertificateRevocationListOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "UpdateCertificateRevocationList", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "UpdateCertificateRevocationList" }, + "description": "UpdateCertificateRevocationList update a\n[CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList].", + "file": "CertificateAuthorityClient/UpdateCertificateRevocationList/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificateRevocationList_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca UpdateCertificateRevocationList Sample" }, { - "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificateTemplate_sync", - "title": "privateca UpdateCertificateTemplate Sample", - "description": "UpdateCertificateTemplate update a\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].", - "file": "CertificateAuthorityClient/UpdateCertificateTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCertificateTemplate", + "client": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient", + "shortName": "CertificateAuthorityClient" + }, "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient.UpdateCertificateTemplate", + "method": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate", + "service": { + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "CertificateAuthorityService" + }, + "shortName": "UpdateCertificateTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "privatecapb.UpdateCertificateTemplateRequest", - "name": "req" + "name": "req", + "type": "privatecapb.UpdateCertificateTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCertificateTemplateOperation", - "client": { - "shortName": "CertificateAuthorityClient", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityClient" - }, - "method": { - "shortName": "UpdateCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate", - "service": { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService" - } - } + "shortName": "UpdateCertificateTemplate" }, + "description": "UpdateCertificateTemplate update a\n[CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate].", + "file": "CertificateAuthorityClient/UpdateCertificateTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "privateca_v1_generated_CertificateAuthorityService_UpdateCertificateTemplate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "privateca UpdateCertificateTemplate Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json b/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json index 580bacdf711c..7b9198f70644 100644 --- a/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json +++ b/internal/generated/snippets/security/publicca/apiv1/snippet_metadata.google.cloud.security.publicca.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/security/publicca/apiv1", - "version": "1.19.2", - "language": "GO", "apis": [ { "id": "google.cloud.security.publicca.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/security/publicca/apiv1", + "version": "1.19.2" }, "snippets": [ { - "regionTag": "publicca_v1_generated_PublicCertificateAuthorityService_CreateExternalAccountKey_sync", - "title": "publicca CreateExternalAccountKey Sample", - "description": "CreateExternalAccountKey creates a new\n[ExternalAccountKey][google.cloud.security.publicca.v1.ExternalAccountKey]\nbound to the project.", - "file": "PublicCertificateAuthorityClient/CreateExternalAccountKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExternalAccountKey", + "client": { + "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityClient", + "shortName": "PublicCertificateAuthorityClient" + }, "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityClient.CreateExternalAccountKey", + "method": { + "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityService.CreateExternalAccountKey", + "service": { + "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityService", + "shortName": "PublicCertificateAuthorityService" + }, + "shortName": "CreateExternalAccountKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publiccapb.CreateExternalAccountKeyRequest", - "name": "req" + "name": "req", + "type": "publiccapb.CreateExternalAccountKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publiccapb.ExternalAccountKey", - "client": { - "shortName": "PublicCertificateAuthorityClient", - "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityClient" - }, - "method": { - "shortName": "CreateExternalAccountKey", - "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityService.CreateExternalAccountKey", - "service": { - "shortName": "PublicCertificateAuthorityService", - "fullName": "google.cloud.security.publicca.v1.PublicCertificateAuthorityService" - } - } + "shortName": "CreateExternalAccountKey" }, + "description": "CreateExternalAccountKey creates a new\n[ExternalAccountKey][google.cloud.security.publicca.v1.ExternalAccountKey]\nbound to the project.", + "file": "PublicCertificateAuthorityClient/CreateExternalAccountKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "publicca_v1_generated_PublicCertificateAuthorityService_CreateExternalAccountKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "publicca CreateExternalAccountKey Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json index 7fd33e55dce7..ebb7cb8723ae 100644 --- a/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json +++ b/internal/generated/snippets/security/publicca/apiv1beta1/snippet_metadata.google.cloud.security.publicca.v1beta1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/security/publicca/apiv1beta1", - "version": "1.19.2", - "language": "GO", "apis": [ { "id": "google.cloud.security.publicca.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/security/publicca/apiv1beta1", + "version": "1.19.2" }, "snippets": [ { - "regionTag": "publicca_v1beta1_generated_PublicCertificateAuthorityService_CreateExternalAccountKey_sync", - "title": "publicca CreateExternalAccountKey Sample", - "description": "CreateExternalAccountKey creates a new\n[ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey]\nbound to the project.", - "file": "PublicCertificateAuthorityClient/CreateExternalAccountKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExternalAccountKey", + "client": { + "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityClient", + "shortName": "PublicCertificateAuthorityClient" + }, "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityClient.CreateExternalAccountKey", + "method": { + "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKey", + "service": { + "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService", + "shortName": "PublicCertificateAuthorityService" + }, + "shortName": "CreateExternalAccountKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publiccapb.CreateExternalAccountKeyRequest", - "name": "req" + "name": "req", + "type": "publiccapb.CreateExternalAccountKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publiccapb.ExternalAccountKey", - "client": { - "shortName": "PublicCertificateAuthorityClient", - "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityClient" - }, - "method": { - "shortName": "CreateExternalAccountKey", - "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKey", - "service": { - "shortName": "PublicCertificateAuthorityService", - "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService" - } - } + "shortName": "CreateExternalAccountKey" }, + "description": "CreateExternalAccountKey creates a new\n[ExternalAccountKey][google.cloud.security.publicca.v1beta1.ExternalAccountKey]\nbound to the project.", + "file": "PublicCertificateAuthorityClient/CreateExternalAccountKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "publicca_v1beta1_generated_PublicCertificateAuthorityService_CreateExternalAccountKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "publicca CreateExternalAccountKey Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json b/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json index 86d655ccb13b..b6dea1aee74e 100644 --- a/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json +++ b/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json @@ -1,3089 +1,3089 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securitycenter/apiv1", - "version": "1.39.0", - "language": "GO", "apis": [ { "id": "google.cloud.securitycenter.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securitycenter/apiv1", + "version": "1.39.0" }, "snippets": [ { - "regionTag": "securitycenter_v1_generated_SecurityCenter_BatchCreateResourceValueConfigs_sync", - "title": "securitycenter BatchCreateResourceValueConfigs Sample", - "description": "BatchCreateResourceValueConfigs creates a ResourceValueConfig for an organization. Maps user's tags to\ndifference resource values for use by the attack path simulation.", - "file": "Client/BatchCreateResourceValueConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateResourceValueConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.BatchCreateResourceValueConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.BatchCreateResourceValueConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "BatchCreateResourceValueConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.BatchCreateResourceValueConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.BatchCreateResourceValueConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BatchCreateResourceValueConfigsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "BatchCreateResourceValueConfigs", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.BatchCreateResourceValueConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "BatchCreateResourceValueConfigs" }, + "description": "BatchCreateResourceValueConfigs creates a ResourceValueConfig for an organization. Maps user's tags to\ndifference resource values for use by the attack path simulation.", + "file": "Client/BatchCreateResourceValueConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_BatchCreateResourceValueConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter BatchCreateResourceValueConfigs Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_BulkMuteFindings_sync", - "title": "securitycenter BulkMuteFindings Sample", - "description": "BulkMuteFindings kicks off an LRO to bulk mute findings for a parent based on a filter. The\nparent can be either an organization, folder or project. The findings\nmatched by the filter will be muted after the LRO is done.", - "file": "Client/BulkMuteFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkMuteFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.BulkMuteFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "BulkMuteFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.BulkMuteFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.BulkMuteFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkMuteFindingsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "BulkMuteFindings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "BulkMuteFindings" }, + "description": "BulkMuteFindings kicks off an LRO to bulk mute findings for a parent based on a filter. The\nparent can be either an organization, folder or project. The findings\nmatched by the filter will be muted after the LRO is done.", + "file": "Client/BulkMuteFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_BulkMuteFindings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter BulkMuteFindings Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CancelOperation_sync", - "title": "securitycenter CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CancelOperation Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateBigQueryExport_sync", - "title": "securitycenter CreateBigQueryExport Sample", - "description": "CreateBigQueryExport creates a BigQuery export.", - "file": "Client/CreateBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BigQueryExport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateBigQueryExport" }, + "description": "CreateBigQueryExport creates a BigQuery export.", + "file": "Client/CreateBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateBigQueryExport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateBigQueryExport Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateEventThreatDetectionCustomModule_sync", - "title": "securitycenter CreateEventThreatDetectionCustomModule Sample", - "description": "CreateEventThreatDetectionCustomModule creates a resident Event Threat Detection custom module at the scope of the\ngiven Resource Manager parent, and also creates inherited custom modules\nfor all descendants of the given parent. These modules are enabled by\ndefault.", - "file": "Client/CreateEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.EventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateEventThreatDetectionCustomModule" }, + "description": "CreateEventThreatDetectionCustomModule creates a resident Event Threat Detection custom module at the scope of the\ngiven Resource Manager parent, and also creates inherited custom modules\nfor all descendants of the given parent. These modules are enabled by\ndefault.", + "file": "Client/CreateEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateFinding_sync", - "title": "securitycenter CreateFinding Sample", - "description": "CreateFinding creates a finding. The corresponding source must exist for finding creation\nto succeed.", - "file": "Client/CreateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateFinding" }, + "description": "CreateFinding creates a finding. The corresponding source must exist for finding creation\nto succeed.", + "file": "Client/CreateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateFinding Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateMuteConfig_sync", - "title": "securitycenter CreateMuteConfig Sample", - "description": "CreateMuteConfig creates a mute config.", - "file": "Client/CreateMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.MuteConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateMuteConfig" }, + "description": "CreateMuteConfig creates a mute config.", + "file": "Client/CreateMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateMuteConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateMuteConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateNotificationConfig_sync", - "title": "securitycenter CreateNotificationConfig Sample", - "description": "CreateNotificationConfig creates a notification config.", - "file": "Client/CreateNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateNotificationConfig" }, + "description": "CreateNotificationConfig creates a notification config.", + "file": "Client/CreateNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycenter CreateSecurityHealthAnalyticsCustomModule Sample", - "description": "CreateSecurityHealthAnalyticsCustomModule creates a resident SecurityHealthAnalyticsCustomModule at the scope of the\ngiven CRM parent, and also creates inherited\nSecurityHealthAnalyticsCustomModules for all CRM descendants of the given\nparent. These modules are enabled by default.", - "file": "Client/CreateSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateSecurityHealthAnalyticsCustomModule" }, + "description": "CreateSecurityHealthAnalyticsCustomModule creates a resident SecurityHealthAnalyticsCustomModule at the scope of the\ngiven CRM parent, and also creates inherited\nSecurityHealthAnalyticsCustomModules for all CRM descendants of the given\nparent. These modules are enabled by default.", + "file": "Client/CreateSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateSource_sync", - "title": "securitycenter CreateSource Sample", - "description": "CreateSource creates a source.", - "file": "Client/CreateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSource", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.CreateSource", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSource", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "CreateSource" }, + "description": "CreateSource creates a source.", + "file": "Client/CreateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_CreateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateSource Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteBigQueryExport_sync", - "title": "securitycenter DeleteBigQueryExport Sample", - "description": "DeleteBigQueryExport deletes an existing BigQuery export.", - "file": "Client/DeleteBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "DeleteBigQueryExport" }, + "description": "DeleteBigQueryExport deletes an existing BigQuery export.", + "file": "Client/DeleteBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteBigQueryExport_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteBigQueryExport Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteEventThreatDetectionCustomModule_sync", - "title": "securitycenter DeleteEventThreatDetectionCustomModule Sample", - "description": "DeleteEventThreatDetectionCustomModule deletes the specified Event Threat Detection custom module and all of its\ndescendants in the Resource Manager hierarchy. This method is only\nsupported for resident custom modules.", - "file": "Client/DeleteEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "DeleteEventThreatDetectionCustomModule" }, + "description": "DeleteEventThreatDetectionCustomModule deletes the specified Event Threat Detection custom module and all of its\ndescendants in the Resource Manager hierarchy. This method is only\nsupported for resident custom modules.", + "file": "Client/DeleteEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteMuteConfig_sync", - "title": "securitycenter DeleteMuteConfig Sample", - "description": "DeleteMuteConfig deletes an existing mute config.", - "file": "Client/DeleteMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "DeleteMuteConfig" }, + "description": "DeleteMuteConfig deletes an existing mute config.", + "file": "Client/DeleteMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteMuteConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteMuteConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteNotificationConfig_sync", - "title": "securitycenter DeleteNotificationConfig Sample", - "description": "DeleteNotificationConfig deletes a notification config.", - "file": "Client/DeleteNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "DeleteNotificationConfig" }, + "description": "DeleteNotificationConfig deletes a notification config.", + "file": "Client/DeleteNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteNotificationConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteOperation_sync", - "title": "securitycenter DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteOperation Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteResourceValueConfig_sync", - "title": "securitycenter DeleteResourceValueConfig Sample", - "description": "DeleteResourceValueConfig deletes a ResourceValueConfig.", - "file": "Client/DeleteResourceValueConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteResourceValueConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteResourceValueConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteResourceValueConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteResourceValueConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteResourceValueConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteResourceValueConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteResourceValueConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteResourceValueConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "DeleteResourceValueConfig" }, + "description": "DeleteResourceValueConfig deletes a ResourceValueConfig.", + "file": "Client/DeleteResourceValueConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteResourceValueConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteResourceValueConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycenter DeleteSecurityHealthAnalyticsCustomModule Sample", - "description": "DeleteSecurityHealthAnalyticsCustomModule deletes the specified SecurityHealthAnalyticsCustomModule and all of its\ndescendants in the CRM hierarchy. This method is only supported for\nresident custom modules.", - "file": "Client/DeleteSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.DeleteSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "DeleteSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "DeleteSecurityHealthAnalyticsCustomModule" }, + "description": "DeleteSecurityHealthAnalyticsCustomModule deletes the specified SecurityHealthAnalyticsCustomModule and all of its\ndescendants in the CRM hierarchy. This method is only supported for\nresident custom modules.", + "file": "Client/DeleteSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_DeleteSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetBigQueryExport_sync", - "title": "securitycenter GetBigQueryExport Sample", - "description": "GetBigQueryExport gets a BigQuery export.", - "file": "Client/GetBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BigQueryExport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetBigQueryExport" }, + "description": "GetBigQueryExport gets a BigQuery export.", + "file": "Client/GetBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetBigQueryExport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetBigQueryExport Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetEffectiveEventThreatDetectionCustomModule_sync", - "title": "securitycenter GetEffectiveEventThreatDetectionCustomModule Sample", - "description": "GetEffectiveEventThreatDetectionCustomModule gets an effective Event Threat Detection custom module at the given level.", - "file": "Client/GetEffectiveEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetEffectiveEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetEffectiveEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetEffectiveEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetEffectiveEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.EffectiveEventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetEffectiveEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetEffectiveEventThreatDetectionCustomModule" }, + "description": "GetEffectiveEventThreatDetectionCustomModule gets an effective Event Threat Detection custom module at the given level.", + "file": "Client/GetEffectiveEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetEffectiveEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetEffectiveEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetEffectiveSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycenter GetEffectiveSecurityHealthAnalyticsCustomModule Sample", - "description": "GetEffectiveSecurityHealthAnalyticsCustomModule retrieves an EffectiveSecurityHealthAnalyticsCustomModule.", - "file": "Client/GetEffectiveSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetEffectiveSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.EffectiveSecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule" }, + "description": "GetEffectiveSecurityHealthAnalyticsCustomModule retrieves an EffectiveSecurityHealthAnalyticsCustomModule.", + "file": "Client/GetEffectiveSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetEffectiveSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetEffectiveSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetEventThreatDetectionCustomModule_sync", - "title": "securitycenter GetEventThreatDetectionCustomModule Sample", - "description": "GetEventThreatDetectionCustomModule gets an Event Threat Detection custom module.", - "file": "Client/GetEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.EventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetEventThreatDetectionCustomModule" }, + "description": "GetEventThreatDetectionCustomModule gets an Event Threat Detection custom module.", + "file": "Client/GetEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetIamPolicy_sync", - "title": "securitycenter GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy on the specified Source.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy on the specified Source.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetIamPolicy Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetMuteConfig_sync", - "title": "securitycenter GetMuteConfig Sample", - "description": "GetMuteConfig gets a mute config.", - "file": "Client/GetMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.MuteConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetMuteConfig" }, + "description": "GetMuteConfig gets a mute config.", + "file": "Client/GetMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetMuteConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetMuteConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetNotificationConfig_sync", - "title": "securitycenter GetNotificationConfig Sample", - "description": "GetNotificationConfig gets a notification config.", - "file": "Client/GetNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetNotificationConfig" }, + "description": "GetNotificationConfig gets a notification config.", + "file": "Client/GetNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetOperation_sync", - "title": "securitycenter 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.securitycenter.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.securitycenter.v1.Client" + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.securitycenter.v1.Client.GetOperation", "method": { - "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "longrunningpb.GetOperationRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*longrunningpb.Operation", + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetOperation Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetOrganizationSettings_sync", - "title": "securitycenter GetOrganizationSettings Sample", - "description": "GetOrganizationSettings gets the settings for an organization.", - "file": "Client/GetOrganizationSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganizationSettings", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetOrganizationSettings", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettings", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetOrganizationSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetOrganizationSettingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetOrganizationSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.OrganizationSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetOrganizationSettings" }, + "description": "GetOrganizationSettings gets the settings for an organization.", + "file": "Client/GetOrganizationSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetOrganizationSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetOrganizationSettings Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetResourceValueConfig_sync", - "title": "securitycenter GetResourceValueConfig Sample", - "description": "GetResourceValueConfig gets a ResourceValueConfig.", - "file": "Client/GetResourceValueConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceValueConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetResourceValueConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetResourceValueConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetResourceValueConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetResourceValueConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetResourceValueConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ResourceValueConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetResourceValueConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetResourceValueConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetResourceValueConfig" }, + "description": "GetResourceValueConfig gets a ResourceValueConfig.", + "file": "Client/GetResourceValueConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetResourceValueConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetResourceValueConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycenter GetSecurityHealthAnalyticsCustomModule Sample", - "description": "GetSecurityHealthAnalyticsCustomModule retrieves a SecurityHealthAnalyticsCustomModule.", - "file": "Client/GetSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetSecurityHealthAnalyticsCustomModule" }, + "description": "GetSecurityHealthAnalyticsCustomModule retrieves a SecurityHealthAnalyticsCustomModule.", + "file": "Client/GetSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetSimulation_sync", - "title": "securitycenter GetSimulation Sample", - "description": "GetSimulation get the simulation by name or the latest simulation for the given\norganization.", - "file": "Client/GetSimulation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSimulation", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetSimulation", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSimulation", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSimulation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSimulationRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSimulationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Simulation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetSimulation", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSimulation", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetSimulation" }, + "description": "GetSimulation get the simulation by name or the latest simulation for the given\norganization.", + "file": "Client/GetSimulation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetSimulation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSimulation Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetSource_sync", - "title": "securitycenter GetSource Sample", - "description": "GetSource gets a source.", - "file": "Client/GetSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSource", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetSource", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSource", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetSource" }, + "description": "GetSource gets a source.", + "file": "Client/GetSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSource Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GetValuedResource_sync", - "title": "securitycenter GetValuedResource Sample", - "description": "GetValuedResource get the valued resource by name", - "file": "Client/GetValuedResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetValuedResource", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GetValuedResource", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetValuedResource", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetValuedResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetValuedResourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetValuedResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ValuedResource", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GetValuedResource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetValuedResource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GetValuedResource" }, + "description": "GetValuedResource get the valued resource by name", + "file": "Client/GetValuedResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GetValuedResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetValuedResource Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GroupAssets_sync", - "title": "securitycenter GroupAssets Sample", - "description": "GroupAssets filters an organization's assets and groups them by their specified\nproperties.\n\n\nDeprecated: GroupAssets may be removed in a future version.", - "file": "Client/GroupAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupAssets", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GroupAssets", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupAssets", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupAssetsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GroupAssets", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupAssets", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GroupAssets" }, + "description": "GroupAssets filters an organization's assets and groups them by their specified\nproperties.\n\n\nDeprecated: GroupAssets may be removed in a future version.", + "file": "Client/GroupAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GroupAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupAssets Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_GroupFindings_sync", - "title": "securitycenter GroupFindings Sample", - "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties.\n\nTo group across all sources provide a `-` as the source id.\nExample: /v1/organizations/{organization_id}/sources/-/findings,\n/v1/folders/{folder_id}/sources/-/findings,\n/v1/projects/{project_id}/sources/-/findings", - "file": "Client/GroupFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.GroupFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "GroupFindings" }, + "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties.\n\nTo group across all sources provide a `-` as the source id.\nExample: /v1/organizations/{organization_id}/sources/-/findings,\n/v1/folders/{folder_id}/sources/-/findings,\n/v1/projects/{project_id}/sources/-/findings", + "file": "Client/GroupFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_GroupFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupFindings Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListAssets_sync", - "title": "securitycenter ListAssets Sample", - "description": "ListAssets lists an organization's assets.\n\n\nDeprecated: ListAssets may be removed in a future version.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListAssets", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAssets", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListAssetsResponse_ListAssetsResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAssets", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists an organization's assets.\n\n\nDeprecated: ListAssets may be removed in a future version.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListAssets Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListAttackPaths_sync", - "title": "securitycenter ListAttackPaths Sample", - "description": "ListAttackPaths lists the attack paths for a set of simulation results or valued resources\nand filter.", - "file": "Client/ListAttackPaths/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttackPaths", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListAttackPaths", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAttackPaths", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListAttackPaths" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListAttackPathsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListAttackPathsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttackPathIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListAttackPaths", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAttackPaths", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListAttackPaths" }, + "description": "ListAttackPaths lists the attack paths for a set of simulation results or valued resources\nand filter.", + "file": "Client/ListAttackPaths/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListAttackPaths_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListAttackPaths Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListBigQueryExports_sync", - "title": "securitycenter ListBigQueryExports Sample", - "description": "ListBigQueryExports lists BigQuery exports. Note that when requesting BigQuery exports at a\ngiven level all exports under that level are also returned e.g. if\nrequesting BigQuery exports under a folder, then all BigQuery exports\nimmediately under the folder plus the ones created under the projects\nwithin the folder are returned.", - "file": "Client/ListBigQueryExports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBigQueryExports", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListBigQueryExports", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListBigQueryExports", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListBigQueryExports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListBigQueryExportsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListBigQueryExportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BigQueryExportIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListBigQueryExports", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListBigQueryExports", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListBigQueryExports" }, + "description": "ListBigQueryExports lists BigQuery exports. Note that when requesting BigQuery exports at a\ngiven level all exports under that level are also returned e.g. if\nrequesting BigQuery exports under a folder, then all BigQuery exports\nimmediately under the folder plus the ones created under the projects\nwithin the folder are returned.", + "file": "Client/ListBigQueryExports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListBigQueryExports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListBigQueryExports Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListDescendantEventThreatDetectionCustomModules_sync", - "title": "securitycenter ListDescendantEventThreatDetectionCustomModules Sample", - "description": "ListDescendantEventThreatDetectionCustomModules lists all resident Event Threat Detection custom modules under the\ngiven Resource Manager parent and its descendants.", - "file": "Client/ListDescendantEventThreatDetectionCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDescendantEventThreatDetectionCustomModules", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListDescendantEventThreatDetectionCustomModules", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListDescendantEventThreatDetectionCustomModules", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListDescendantEventThreatDetectionCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListDescendantEventThreatDetectionCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListDescendantEventThreatDetectionCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventThreatDetectionCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListDescendantEventThreatDetectionCustomModules", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListDescendantEventThreatDetectionCustomModules", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListDescendantEventThreatDetectionCustomModules" }, + "description": "ListDescendantEventThreatDetectionCustomModules lists all resident Event Threat Detection custom modules under the\ngiven Resource Manager parent and its descendants.", + "file": "Client/ListDescendantEventThreatDetectionCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListDescendantEventThreatDetectionCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListDescendantEventThreatDetectionCustomModules Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListDescendantSecurityHealthAnalyticsCustomModules_sync", - "title": "securitycenter ListDescendantSecurityHealthAnalyticsCustomModules Sample", - "description": "ListDescendantSecurityHealthAnalyticsCustomModules returns a list of all resident SecurityHealthAnalyticsCustomModules under\nthe given CRM parent and all of the parent’s CRM descendants.", - "file": "Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListDescendantSecurityHealthAnalyticsCustomModules", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListDescendantSecurityHealthAnalyticsCustomModules", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListDescendantSecurityHealthAnalyticsCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListDescendantSecurityHealthAnalyticsCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityHealthAnalyticsCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListDescendantSecurityHealthAnalyticsCustomModules", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules" }, + "description": "ListDescendantSecurityHealthAnalyticsCustomModules returns a list of all resident SecurityHealthAnalyticsCustomModules under\nthe given CRM parent and all of the parent’s CRM descendants.", + "file": "Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListDescendantSecurityHealthAnalyticsCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListDescendantSecurityHealthAnalyticsCustomModules Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListEffectiveEventThreatDetectionCustomModules_sync", - "title": "securitycenter ListEffectiveEventThreatDetectionCustomModules Sample", - "description": "ListEffectiveEventThreatDetectionCustomModules lists all effective Event Threat Detection custom modules for the\ngiven parent. This includes resident modules defined at the scope of the\nparent along with modules inherited from its ancestors.", - "file": "Client/ListEffectiveEventThreatDetectionCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEffectiveEventThreatDetectionCustomModules", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListEffectiveEventThreatDetectionCustomModules", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveEventThreatDetectionCustomModules", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListEffectiveEventThreatDetectionCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListEffectiveEventThreatDetectionCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListEffectiveEventThreatDetectionCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EffectiveEventThreatDetectionCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListEffectiveEventThreatDetectionCustomModules", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveEventThreatDetectionCustomModules", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListEffectiveEventThreatDetectionCustomModules" }, + "description": "ListEffectiveEventThreatDetectionCustomModules lists all effective Event Threat Detection custom modules for the\ngiven parent. This includes resident modules defined at the scope of the\nparent along with modules inherited from its ancestors.", + "file": "Client/ListEffectiveEventThreatDetectionCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListEffectiveEventThreatDetectionCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListEffectiveEventThreatDetectionCustomModules Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListEffectiveSecurityHealthAnalyticsCustomModules_sync", - "title": "securitycenter ListEffectiveSecurityHealthAnalyticsCustomModules Sample", - "description": "ListEffectiveSecurityHealthAnalyticsCustomModules returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the\ngiven parent. This includes resident modules defined at the scope of the\nparent, and inherited modules, inherited from CRM ancestors.", - "file": "Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListEffectiveSecurityHealthAnalyticsCustomModules", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveSecurityHealthAnalyticsCustomModules", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EffectiveSecurityHealthAnalyticsCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveSecurityHealthAnalyticsCustomModules", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules" }, + "description": "ListEffectiveSecurityHealthAnalyticsCustomModules returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the\ngiven parent. This includes resident modules defined at the scope of the\nparent, and inherited modules, inherited from CRM ancestors.", + "file": "Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListEffectiveSecurityHealthAnalyticsCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListEffectiveSecurityHealthAnalyticsCustomModules Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListEventThreatDetectionCustomModules_sync", - "title": "securitycenter ListEventThreatDetectionCustomModules Sample", - "description": "ListEventThreatDetectionCustomModules lists all Event Threat Detection custom modules for the given\nResource Manager parent. This includes resident modules defined at the\nscope of the parent along with modules inherited from ancestors.", - "file": "Client/ListEventThreatDetectionCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEventThreatDetectionCustomModules", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListEventThreatDetectionCustomModules", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEventThreatDetectionCustomModules", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListEventThreatDetectionCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListEventThreatDetectionCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListEventThreatDetectionCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventThreatDetectionCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListEventThreatDetectionCustomModules", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEventThreatDetectionCustomModules", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListEventThreatDetectionCustomModules" }, + "description": "ListEventThreatDetectionCustomModules lists all Event Threat Detection custom modules for the given\nResource Manager parent. This includes resident modules defined at the\nscope of the parent along with modules inherited from ancestors.", + "file": "Client/ListEventThreatDetectionCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListEventThreatDetectionCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListEventThreatDetectionCustomModules Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListFindings_sync", - "title": "securitycenter ListFindings Sample", - "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources provide a `-` as the source id.\nExample: /v1/organizations/{organization_id}/sources/-/findings", - "file": "Client/ListFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListFindingsResponse_ListFindingsResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListFindings" }, + "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources provide a `-` as the source id.\nExample: /v1/organizations/{organization_id}/sources/-/findings", + "file": "Client/ListFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListFindings Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListMuteConfigs_sync", - "title": "securitycenter ListMuteConfigs Sample", - "description": "ListMuteConfigs lists mute configs.", - "file": "Client/ListMuteConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMuteConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListMuteConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListMuteConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListMuteConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListMuteConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListMuteConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MuteConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListMuteConfigs", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListMuteConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListMuteConfigs" }, + "description": "ListMuteConfigs lists mute configs.", + "file": "Client/ListMuteConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListMuteConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListMuteConfigs Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListNotificationConfigs_sync", - "title": "securitycenter ListNotificationConfigs Sample", - "description": "ListNotificationConfigs lists notification configs.", - "file": "Client/ListNotificationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListNotificationConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListNotificationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListNotificationConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListNotificationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListNotificationConfigs", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListNotificationConfigs" }, + "description": "ListNotificationConfigs lists notification configs.", + "file": "Client/ListNotificationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListNotificationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListNotificationConfigs Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListOperations_sync", - "title": "securitycenter ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListOperations Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListResourceValueConfigs_sync", - "title": "securitycenter ListResourceValueConfigs Sample", - "description": "ListResourceValueConfigs lists all ResourceValueConfigs.", - "file": "Client/ListResourceValueConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceValueConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListResourceValueConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListResourceValueConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListResourceValueConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListResourceValueConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListResourceValueConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ResourceValueConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListResourceValueConfigs", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListResourceValueConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ResourceValueConfigIterator", + "shortName": "ListResourceValueConfigs" }, + "description": "ListResourceValueConfigs lists all ResourceValueConfigs.", + "file": "Client/ListResourceValueConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListResourceValueConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListResourceValueConfigs Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListSecurityHealthAnalyticsCustomModules_sync", - "title": "securitycenter ListSecurityHealthAnalyticsCustomModules Sample", - "description": "ListSecurityHealthAnalyticsCustomModules returns a list of all SecurityHealthAnalyticsCustomModules for the given\nparent. This includes resident modules defined at the scope of the parent,\nand inherited modules, inherited from CRM ancestors.", - "file": "Client/ListSecurityHealthAnalyticsCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecurityHealthAnalyticsCustomModules", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListSecurityHealthAnalyticsCustomModules", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSecurityHealthAnalyticsCustomModules", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListSecurityHealthAnalyticsCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListSecurityHealthAnalyticsCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListSecurityHealthAnalyticsCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityHealthAnalyticsCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListSecurityHealthAnalyticsCustomModules", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSecurityHealthAnalyticsCustomModules", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListSecurityHealthAnalyticsCustomModules" }, + "description": "ListSecurityHealthAnalyticsCustomModules returns a list of all SecurityHealthAnalyticsCustomModules for the given\nparent. This includes resident modules defined at the scope of the parent,\nand inherited modules, inherited from CRM ancestors.", + "file": "Client/ListSecurityHealthAnalyticsCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListSecurityHealthAnalyticsCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListSecurityHealthAnalyticsCustomModules Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListSources_sync", - "title": "securitycenter ListSources Sample", - "description": "ListSources lists all sources belonging to an organization.", - "file": "Client/ListSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSources", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListSources", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSources", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListSourcesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSources", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListSources" }, + "description": "ListSources lists all sources belonging to an organization.", + "file": "Client/ListSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListSources Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ListValuedResources_sync", - "title": "securitycenter ListValuedResources Sample", - "description": "ListValuedResources lists the valued resources for a set of simulation results and filter.", - "file": "Client/ListValuedResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListValuedResources", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ListValuedResources", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListValuedResources", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListValuedResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListValuedResourcesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListValuedResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ValuedResourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ListValuedResources", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListValuedResources", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ListValuedResources" }, + "description": "ListValuedResources lists the valued resources for a set of simulation results and filter.", + "file": "Client/ListValuedResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ListValuedResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListValuedResources Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_RunAssetDiscovery_sync", - "title": "securitycenter RunAssetDiscovery Sample", - "description": "RunAssetDiscovery runs asset discovery. The discovery is tracked with a long-running\noperation.\n\nThis API can only be called with limited frequency for an organization. If\nit is called too frequently the caller will receive a TOO_MANY_REQUESTS\nerror.\n\n\nDeprecated: RunAssetDiscovery may be removed in a future version.", - "file": "Client/RunAssetDiscovery/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunAssetDiscovery", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.RunAssetDiscovery", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscovery", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "RunAssetDiscovery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.RunAssetDiscoveryRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.RunAssetDiscoveryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunAssetDiscoveryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "RunAssetDiscovery", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscovery", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "RunAssetDiscovery" }, + "description": "RunAssetDiscovery runs asset discovery. The discovery is tracked with a long-running\noperation.\n\nThis API can only be called with limited frequency for an organization. If\nit is called too frequently the caller will receive a TOO_MANY_REQUESTS\nerror.\n\n\nDeprecated: RunAssetDiscovery may be removed in a future version.", + "file": "Client/RunAssetDiscovery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_RunAssetDiscovery_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter RunAssetDiscovery Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_SetFindingState_sync", - "title": "securitycenter SetFindingState Sample", - "description": "SetFindingState updates the state of a finding.", - "file": "Client/SetFindingState/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetFindingState", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.SetFindingState", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetFindingState", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetFindingState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SetFindingStateRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SetFindingStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetFindingState", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "SetFindingState" }, + "description": "SetFindingState updates the state of a finding.", + "file": "Client/SetFindingState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_SetFindingState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetFindingState Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_SetIamPolicy_sync", - "title": "securitycenter SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified Source.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified Source.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetIamPolicy Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_SetMute_sync", - "title": "securitycenter SetMute Sample", - "description": "SetMute updates the mute state of a finding.", - "file": "Client/SetMute/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMute", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.SetMute", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetMute", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetMute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SetMuteRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SetMuteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "SetMute", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetMute", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "SetMute" }, + "description": "SetMute updates the mute state of a finding.", + "file": "Client/SetMute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_SetMute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetMute Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_SimulateSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycenter SimulateSecurityHealthAnalyticsCustomModule Sample", - "description": "SimulateSecurityHealthAnalyticsCustomModule simulates a given SecurityHealthAnalyticsCustomModule and Resource.", - "file": "Client/SimulateSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "SimulateSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.SimulateSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SimulateSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SimulateSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SimulateSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SimulateSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SimulateSecurityHealthAnalyticsCustomModuleResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "SimulateSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SimulateSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "SimulateSecurityHealthAnalyticsCustomModule" }, + "description": "SimulateSecurityHealthAnalyticsCustomModule simulates a given SecurityHealthAnalyticsCustomModule and Resource.", + "file": "Client/SimulateSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_SimulateSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SimulateSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_TestIamPermissions_sync", - "title": "securitycenter TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissions", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissions", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter TestIamPermissions Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateBigQueryExport_sync", - "title": "securitycenter UpdateBigQueryExport Sample", - "description": "UpdateBigQueryExport updates a BigQuery export.", - "file": "Client/UpdateBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BigQueryExport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateBigQueryExport" }, + "description": "UpdateBigQueryExport updates a BigQuery export.", + "file": "Client/UpdateBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateBigQueryExport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateBigQueryExport Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateEventThreatDetectionCustomModule_sync", - "title": "securitycenter UpdateEventThreatDetectionCustomModule Sample", - "description": "UpdateEventThreatDetectionCustomModule updates the Event Threat Detection custom module with the given name based\non the given update mask. Updating the enablement state is supported for\nboth resident and inherited modules (though resident modules cannot have an\nenablement state of \"inherited\"). Updating the display name or\nconfiguration of a module is supported for resident modules only. The type\nof a module cannot be changed.", - "file": "Client/UpdateEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.EventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateEventThreatDetectionCustomModule" }, + "description": "UpdateEventThreatDetectionCustomModule updates the Event Threat Detection custom module with the given name based\non the given update mask. Updating the enablement state is supported for\nboth resident and inherited modules (though resident modules cannot have an\nenablement state of \"inherited\"). Updating the display name or\nconfiguration of a module is supported for resident modules only. The type\nof a module cannot be changed.", + "file": "Client/UpdateEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateExternalSystem_sync", - "title": "securitycenter UpdateExternalSystem Sample", - "description": "UpdateExternalSystem updates external system. This is for a given finding.", - "file": "Client/UpdateExternalSystem/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExternalSystem", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateExternalSystem", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateExternalSystem", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateExternalSystem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateExternalSystemRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateExternalSystemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ExternalSystem", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateExternalSystem", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateExternalSystem", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateExternalSystem" }, + "description": "UpdateExternalSystem updates external system. This is for a given finding.", + "file": "Client/UpdateExternalSystem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateExternalSystem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateExternalSystem Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateFinding_sync", - "title": "securitycenter UpdateFinding Sample", - "description": "UpdateFinding creates or updates a finding. The corresponding source must exist for a\nfinding creation to succeed.", - "file": "Client/UpdateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateFinding" }, + "description": "UpdateFinding creates or updates a finding. The corresponding source must exist for a\nfinding creation to succeed.", + "file": "Client/UpdateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateFinding Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateMuteConfig_sync", - "title": "securitycenter UpdateMuteConfig Sample", - "description": "UpdateMuteConfig updates a mute config.", - "file": "Client/UpdateMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.MuteConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateMuteConfig" }, + "description": "UpdateMuteConfig updates a mute config.", + "file": "Client/UpdateMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateMuteConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateMuteConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateNotificationConfig_sync", - "title": "securitycenter UpdateNotificationConfig Sample", - "description": "UpdateNotificationConfig updates a notification config. The following update\nfields are allowed: description, pubsub_topic, streaming_config.filter", - "file": "Client/UpdateNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateNotificationConfig" }, + "description": "UpdateNotificationConfig updates a notification config. The following update\nfields are allowed: description, pubsub_topic, streaming_config.filter", + "file": "Client/UpdateNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateOrganizationSettings_sync", - "title": "securitycenter UpdateOrganizationSettings Sample", - "description": "UpdateOrganizationSettings updates an organization's settings.", - "file": "Client/UpdateOrganizationSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOrganizationSettings", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateOrganizationSettings", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettings", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateOrganizationSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateOrganizationSettingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateOrganizationSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.OrganizationSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateOrganizationSettings" }, + "description": "UpdateOrganizationSettings updates an organization's settings.", + "file": "Client/UpdateOrganizationSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateOrganizationSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateOrganizationSettings Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateResourceValueConfig_sync", - "title": "securitycenter UpdateResourceValueConfig Sample", - "description": "UpdateResourceValueConfig updates an existing ResourceValueConfigs with new rules.", - "file": "Client/UpdateResourceValueConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateResourceValueConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateResourceValueConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateResourceValueConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateResourceValueConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateResourceValueConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateResourceValueConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ResourceValueConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateResourceValueConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateResourceValueConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateResourceValueConfig" }, + "description": "UpdateResourceValueConfig updates an existing ResourceValueConfigs with new rules.", + "file": "Client/UpdateResourceValueConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateResourceValueConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateResourceValueConfig Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycenter UpdateSecurityHealthAnalyticsCustomModule Sample", - "description": "UpdateSecurityHealthAnalyticsCustomModule updates the SecurityHealthAnalyticsCustomModule under the given name based\non the given update mask. Updating the enablement state is supported on\nboth resident and inherited modules (though resident modules cannot have an\nenablement state of \"inherited\"). Updating the display name and custom\nconfig of a module is supported on resident modules only.", - "file": "Client/UpdateSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateSecurityHealthAnalyticsCustomModule" }, + "description": "UpdateSecurityHealthAnalyticsCustomModule updates the SecurityHealthAnalyticsCustomModule under the given name based\non the given update mask. Updating the enablement state is supported on\nboth resident and inherited modules (though resident modules cannot have an\nenablement state of \"inherited\"). Updating the display name and custom\nconfig of a module is supported on resident modules only.", + "file": "Client/UpdateSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateSecurityMarks_sync", - "title": "securitycenter UpdateSecurityMarks Sample", - "description": "UpdateSecurityMarks updates security marks.", - "file": "Client/UpdateSecurityMarks/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityMarks", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateSecurityMarks", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarks", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSecurityMarks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSecurityMarksRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSecurityMarksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityMarks", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarks", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateSecurityMarks" }, + "description": "UpdateSecurityMarks updates security marks.", + "file": "Client/UpdateSecurityMarks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateSecurityMarks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSecurityMarks Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateSource_sync", - "title": "securitycenter UpdateSource Sample", - "description": "UpdateSource updates a source.", - "file": "Client/UpdateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSource", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.UpdateSource", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSource", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "UpdateSource" }, + "description": "UpdateSource updates a source.", + "file": "Client/UpdateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_UpdateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSource Sample" }, { - "regionTag": "securitycenter_v1_generated_SecurityCenter_ValidateEventThreatDetectionCustomModule_sync", - "title": "securitycenter ValidateEventThreatDetectionCustomModule Sample", - "description": "ValidateEventThreatDetectionCustomModule validates the given Event Threat Detection custom module.", - "file": "Client/ValidateEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycenter.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1.Client.ValidateEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ValidateEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ValidateEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ValidateEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ValidateEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ValidateEventThreatDetectionCustomModuleResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1.Client" - }, - "method": { - "shortName": "ValidateEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ValidateEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter" - } - } + "shortName": "ValidateEventThreatDetectionCustomModule" }, + "description": "ValidateEventThreatDetectionCustomModule validates the given Event Threat Detection custom module.", + "file": "Client/ValidateEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1_generated_SecurityCenter_ValidateEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ValidateEventThreatDetectionCustomModule Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json b/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json index 0134727a6e1a..d58d1cfaa151 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json +++ b/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json @@ -1,843 +1,843 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securitycenter/apiv1beta1", - "version": "1.39.0", - "language": "GO", "apis": [ { "id": "google.cloud.securitycenter.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securitycenter/apiv1beta1", + "version": "1.39.0" }, "snippets": [ { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_CreateFinding_sync", - "title": "securitycenter CreateFinding Sample", - "description": "CreateFinding creates a finding. The corresponding source must exist for finding creation\nto succeed.", - "file": "Client/CreateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.CreateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "CreateFinding" }, + "description": "CreateFinding creates a finding. The corresponding source must exist for finding creation\nto succeed.", + "file": "Client/CreateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_CreateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateFinding Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_CreateSource_sync", - "title": "securitycenter CreateSource Sample", - "description": "CreateSource creates a source.", - "file": "Client/CreateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSource", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.CreateSource", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateSource", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "CreateSource" }, + "description": "CreateSource creates a source.", + "file": "Client/CreateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_CreateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateSource Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GetIamPolicy_sync", - "title": "securitycenter GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy on the specified Source.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy on the specified Source.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetIamPolicy Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GetOrganizationSettings_sync", - "title": "securitycenter GetOrganizationSettings Sample", - "description": "GetOrganizationSettings gets the settings for an organization.", - "file": "Client/GetOrganizationSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganizationSettings", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.GetOrganizationSettings", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetOrganizationSettings", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetOrganizationSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetOrganizationSettingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetOrganizationSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.OrganizationSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "GetOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetOrganizationSettings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "GetOrganizationSettings" }, + "description": "GetOrganizationSettings gets the settings for an organization.", + "file": "Client/GetOrganizationSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GetOrganizationSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetOrganizationSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GetSource_sync", - "title": "securitycenter GetSource Sample", - "description": "GetSource gets a source.", - "file": "Client/GetSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSource", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.GetSource", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetSource", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "GetSource" }, + "description": "GetSource gets a source.", + "file": "Client/GetSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GetSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSource Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GroupAssets_sync", - "title": "securitycenter GroupAssets Sample", - "description": "GroupAssets filters an organization's assets and groups them by their specified\nproperties.", - "file": "Client/GroupAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupAssets", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.GroupAssets", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupAssets", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupAssetsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "GroupAssets", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupAssets", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "GroupAssets" }, + "description": "GroupAssets filters an organization's assets and groups them by their specified\nproperties.", + "file": "Client/GroupAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GroupAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupAssets Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GroupFindings_sync", - "title": "securitycenter GroupFindings Sample", - "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties.\n\nTo group across all sources provide a `-` as the source id.\nExample: /v1beta1/organizations/{organization_id}/sources/-/findings", - "file": "Client/GroupFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.GroupFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "GroupFindings" }, + "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties.\n\nTo group across all sources provide a `-` as the source id.\nExample: /v1beta1/organizations/{organization_id}/sources/-/findings", + "file": "Client/GroupFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_GroupFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupFindings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_ListAssets_sync", - "title": "securitycenter ListAssets Sample", - "description": "ListAssets lists an organization's assets.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.ListAssets", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListAssets", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListAssetsResponse_ListAssetsResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListAssets", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists an organization's assets.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListAssets Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_ListFindings_sync", - "title": "securitycenter ListFindings Sample", - "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources provide a `-` as the source id.\nExample: /v1beta1/organizations/{organization_id}/sources/-/findings", - "file": "Client/ListFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.ListFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FindingIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "ListFindings" }, + "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources provide a `-` as the source id.\nExample: /v1beta1/organizations/{organization_id}/sources/-/findings", + "file": "Client/ListFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_ListFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListFindings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_ListSources_sync", - "title": "securitycenter ListSources Sample", - "description": "ListSources lists all sources belonging to an organization.", - "file": "Client/ListSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSources", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.ListSources", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListSources", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListSourcesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListSources", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "ListSources" }, + "description": "ListSources lists all sources belonging to an organization.", + "file": "Client/ListSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_ListSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListSources Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_RunAssetDiscovery_sync", - "title": "securitycenter RunAssetDiscovery Sample", - "description": "RunAssetDiscovery runs asset discovery. The discovery is tracked with a long-running\noperation.\n\nThis API can only be called with limited frequency for an organization. If\nit is called too frequently the caller will receive a TOO_MANY_REQUESTS\nerror.", - "file": "Client/RunAssetDiscovery/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunAssetDiscovery", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.RunAssetDiscovery", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.RunAssetDiscovery", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "RunAssetDiscovery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.RunAssetDiscoveryRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.RunAssetDiscoveryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunAssetDiscoveryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "RunAssetDiscovery", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.RunAssetDiscovery", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "RunAssetDiscovery" }, + "description": "RunAssetDiscovery runs asset discovery. The discovery is tracked with a long-running\noperation.\n\nThis API can only be called with limited frequency for an organization. If\nit is called too frequently the caller will receive a TOO_MANY_REQUESTS\nerror.", + "file": "Client/RunAssetDiscovery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_RunAssetDiscovery_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter RunAssetDiscovery Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_SetFindingState_sync", - "title": "securitycenter SetFindingState Sample", - "description": "SetFindingState updates the state of a finding.", - "file": "Client/SetFindingState/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetFindingState", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.SetFindingState", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetFindingState", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetFindingState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SetFindingStateRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SetFindingStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetFindingState", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "SetFindingState" }, + "description": "SetFindingState updates the state of a finding.", + "file": "Client/SetFindingState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_SetFindingState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetFindingState Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_SetIamPolicy_sync", - "title": "securitycenter SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified Source.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified Source.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetIamPolicy Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_TestIamPermissions_sync", - "title": "securitycenter TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.TestIamPermissions", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.TestIamPermissions", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter TestIamPermissions Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateFinding_sync", - "title": "securitycenter UpdateFinding Sample", - "description": "UpdateFinding creates or updates a finding. The corresponding source must exist for a\nfinding creation to succeed.", - "file": "Client/UpdateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.UpdateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "UpdateFinding" }, + "description": "UpdateFinding creates or updates a finding. The corresponding source must exist for a\nfinding creation to succeed.", + "file": "Client/UpdateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateFinding Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateOrganizationSettings_sync", - "title": "securitycenter UpdateOrganizationSettings Sample", - "description": "UpdateOrganizationSettings updates an organization's settings.", - "file": "Client/UpdateOrganizationSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOrganizationSettings", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.UpdateOrganizationSettings", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateOrganizationSettings", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateOrganizationSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateOrganizationSettingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateOrganizationSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.OrganizationSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "UpdateOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateOrganizationSettings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "UpdateOrganizationSettings" }, + "description": "UpdateOrganizationSettings updates an organization's settings.", + "file": "Client/UpdateOrganizationSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateOrganizationSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateOrganizationSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateSecurityMarks_sync", - "title": "securitycenter UpdateSecurityMarks Sample", - "description": "UpdateSecurityMarks updates security marks.", - "file": "Client/UpdateSecurityMarks/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityMarks", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.UpdateSecurityMarks", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSecurityMarks", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSecurityMarks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSecurityMarksRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSecurityMarksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityMarks", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSecurityMarks", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "UpdateSecurityMarks" }, + "description": "UpdateSecurityMarks updates security marks.", + "file": "Client/UpdateSecurityMarks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateSecurityMarks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSecurityMarks Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateSource_sync", - "title": "securitycenter UpdateSource Sample", - "description": "UpdateSource updates a source.", - "file": "Client/UpdateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSource", + "client": { + "fullName": "google.cloud.securitycenter.v1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1beta1.Client.UpdateSource", + "method": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSource", + "service": { + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1beta1.Client" - }, - "method": { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter" - } - } + "shortName": "UpdateSource" }, + "description": "UpdateSource updates a source.", + "file": "Client/UpdateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenter_UpdateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSource Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json b/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json index 192b709a4416..b71ec82983ce 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json @@ -1,1072 +1,1072 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securitycenter/apiv1p1beta1", - "version": "1.39.0", - "language": "GO", "apis": [ { "id": "google.cloud.securitycenter.v1p1beta1", "version": "v1p1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securitycenter/apiv1p1beta1", + "version": "1.39.0" }, "snippets": [ { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_CreateFinding_sync", - "title": "securitycenter CreateFinding Sample", - "description": "CreateFinding creates a finding. The corresponding source must exist for finding\ncreation to succeed.", - "file": "Client/CreateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.CreateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "CreateFinding" }, + "description": "CreateFinding creates a finding. The corresponding source must exist for finding\ncreation to succeed.", + "file": "Client/CreateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_CreateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateFinding Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_CreateNotificationConfig_sync", - "title": "securitycenter CreateNotificationConfig Sample", - "description": "CreateNotificationConfig creates a notification config.", - "file": "Client/CreateNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.CreateNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "CreateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "CreateNotificationConfig" }, + "description": "CreateNotificationConfig creates a notification config.", + "file": "Client/CreateNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_CreateNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_CreateSource_sync", - "title": "securitycenter CreateSource Sample", - "description": "CreateSource creates a source.", - "file": "Client/CreateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSource", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.CreateSource", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSource", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "CreateSource" }, + "description": "CreateSource creates a source.", + "file": "Client/CreateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_CreateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateSource Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_DeleteNotificationConfig_sync", - "title": "securitycenter DeleteNotificationConfig Sample", - "description": "DeleteNotificationConfig deletes a notification config.", - "file": "Client/DeleteNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.DeleteNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "DeleteNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "DeleteNotificationConfig" }, + "description": "DeleteNotificationConfig deletes a notification config.", + "file": "Client/DeleteNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_DeleteNotificationConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetIamPolicy_sync", - "title": "securitycenter GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy on the specified Source.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy on the specified Source.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetIamPolicy Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetNotificationConfig_sync", - "title": "securitycenter GetNotificationConfig Sample", - "description": "GetNotificationConfig gets a notification config.", - "file": "Client/GetNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.GetNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "GetNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "GetNotificationConfig" }, + "description": "GetNotificationConfig gets a notification config.", + "file": "Client/GetNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetOrganizationSettings_sync", - "title": "securitycenter GetOrganizationSettings Sample", - "description": "GetOrganizationSettings gets the settings for an organization.", - "file": "Client/GetOrganizationSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganizationSettings", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.GetOrganizationSettings", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettings", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetOrganizationSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetOrganizationSettingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetOrganizationSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.OrganizationSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "GetOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "GetOrganizationSettings" }, + "description": "GetOrganizationSettings gets the settings for an organization.", + "file": "Client/GetOrganizationSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetOrganizationSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetOrganizationSettings Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetSource_sync", - "title": "securitycenter GetSource Sample", - "description": "GetSource gets a source.", - "file": "Client/GetSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSource", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.GetSource", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSource", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "GetSource" }, + "description": "GetSource gets a source.", + "file": "Client/GetSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GetSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSource Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GroupAssets_sync", - "title": "securitycenter GroupAssets Sample", - "description": "GroupAssets filters an organization's assets and groups them by their specified\nproperties.", - "file": "Client/GroupAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupAssets", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.GroupAssets", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssets", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupAssetsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "GroupAssets", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssets", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "GroupAssets" }, + "description": "GroupAssets filters an organization's assets and groups them by their specified\nproperties.", + "file": "Client/GroupAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GroupAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupAssets Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GroupFindings_sync", - "title": "securitycenter GroupFindings Sample", - "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties.\n\nTo group across all sources provide a `-` as the source id.\nExample: /v1/organizations/{organization_id}/sources/-/findings,\n/v1/folders/{folder_id}/sources/-/findings,\n/v1/projects/{project_id}/sources/-/findings", - "file": "Client/GroupFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.GroupFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "GroupFindings" }, + "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties.\n\nTo group across all sources provide a `-` as the source id.\nExample: /v1/organizations/{organization_id}/sources/-/findings,\n/v1/folders/{folder_id}/sources/-/findings,\n/v1/projects/{project_id}/sources/-/findings", + "file": "Client/GroupFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_GroupFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupFindings Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListAssets_sync", - "title": "securitycenter ListAssets Sample", - "description": "ListAssets lists an organization's assets.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.ListAssets", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssets", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListAssetsResponse_ListAssetsResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssets", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists an organization's assets.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListAssets Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListFindings_sync", - "title": "securitycenter ListFindings Sample", - "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources provide a `-` as the source id.\nExample: /v1p1beta1/organizations/{organization_id}/sources/-/findings", - "file": "Client/ListFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindings", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.ListFindings", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindings", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListFindingsResponse_ListFindingsResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "ListFindings" }, + "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources provide a `-` as the source id.\nExample: /v1p1beta1/organizations/{organization_id}/sources/-/findings", + "file": "Client/ListFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListFindings Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListNotificationConfigs_sync", - "title": "securitycenter ListNotificationConfigs Sample", - "description": "ListNotificationConfigs lists notification configs.", - "file": "Client/ListNotificationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.ListNotificationConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListNotificationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListNotificationConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListNotificationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "ListNotificationConfigs", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "ListNotificationConfigs" }, + "description": "ListNotificationConfigs lists notification configs.", + "file": "Client/ListNotificationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListNotificationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListNotificationConfigs Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListSources_sync", - "title": "securitycenter ListSources Sample", - "description": "ListSources lists all sources belonging to an organization.", - "file": "Client/ListSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSources", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.ListSources", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSources", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListSourcesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSources", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "ListSources" }, + "description": "ListSources lists all sources belonging to an organization.", + "file": "Client/ListSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_ListSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListSources Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_RunAssetDiscovery_sync", - "title": "securitycenter RunAssetDiscovery Sample", - "description": "RunAssetDiscovery runs asset discovery. The discovery is tracked with a long-running\noperation.\n\nThis API can only be called with limited frequency for an organization. If\nit is called too frequently the caller will receive a TOO_MANY_REQUESTS\nerror.", - "file": "Client/RunAssetDiscovery/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunAssetDiscovery", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.RunAssetDiscovery", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.RunAssetDiscovery", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "RunAssetDiscovery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.RunAssetDiscoveryRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.RunAssetDiscoveryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunAssetDiscoveryOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "RunAssetDiscovery", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.RunAssetDiscovery", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "RunAssetDiscovery" }, + "description": "RunAssetDiscovery runs asset discovery. The discovery is tracked with a long-running\noperation.\n\nThis API can only be called with limited frequency for an organization. If\nit is called too frequently the caller will receive a TOO_MANY_REQUESTS\nerror.", + "file": "Client/RunAssetDiscovery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_RunAssetDiscovery_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter RunAssetDiscovery Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_SetFindingState_sync", - "title": "securitycenter SetFindingState Sample", - "description": "SetFindingState updates the state of a finding.", - "file": "Client/SetFindingState/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetFindingState", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.SetFindingState", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetFindingState", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetFindingState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SetFindingStateRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SetFindingStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetFindingState", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "SetFindingState" }, + "description": "SetFindingState updates the state of a finding.", + "file": "Client/SetFindingState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_SetFindingState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetFindingState Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_SetIamPolicy_sync", - "title": "securitycenter SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified Source.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified Source.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetIamPolicy Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_TestIamPermissions_sync", - "title": "securitycenter TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.TestIamPermissions", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.TestIamPermissions", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter TestIamPermissions Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateFinding_sync", - "title": "securitycenter UpdateFinding Sample", - "description": "UpdateFinding creates or updates a finding. The corresponding source must exist for a\nfinding creation to succeed.", - "file": "Client/UpdateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.UpdateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "UpdateFinding" }, + "description": "UpdateFinding creates or updates a finding. The corresponding source must exist for a\nfinding creation to succeed.", + "file": "Client/UpdateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateFinding Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateNotificationConfig_sync", - "title": "securitycenter UpdateNotificationConfig Sample", - "description": "UpdateNotificationConfig updates a notification config. The following update\nfields are allowed: description, pubsub_topic, streaming_config.filter", - "file": "Client/UpdateNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.UpdateNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "UpdateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "UpdateNotificationConfig" }, + "description": "UpdateNotificationConfig updates a notification config. The following update\nfields are allowed: description, pubsub_topic, streaming_config.filter", + "file": "Client/UpdateNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateNotificationConfig Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateOrganizationSettings_sync", - "title": "securitycenter UpdateOrganizationSettings Sample", - "description": "UpdateOrganizationSettings updates an organization's settings.", - "file": "Client/UpdateOrganizationSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOrganizationSettings", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.UpdateOrganizationSettings", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateOrganizationSettings", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateOrganizationSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateOrganizationSettingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateOrganizationSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.OrganizationSettings", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "UpdateOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateOrganizationSettings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "UpdateOrganizationSettings" }, + "description": "UpdateOrganizationSettings updates an organization's settings.", + "file": "Client/UpdateOrganizationSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateOrganizationSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateOrganizationSettings Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateSecurityMarks_sync", - "title": "securitycenter UpdateSecurityMarks Sample", - "description": "UpdateSecurityMarks updates security marks.", - "file": "Client/UpdateSecurityMarks/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityMarks", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.UpdateSecurityMarks", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSecurityMarks", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSecurityMarks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSecurityMarksRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSecurityMarksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityMarks", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSecurityMarks", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "UpdateSecurityMarks" }, + "description": "UpdateSecurityMarks updates security marks.", + "file": "Client/UpdateSecurityMarks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateSecurityMarks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSecurityMarks Sample" }, { - "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateSource_sync", - "title": "securitycenter UpdateSource Sample", - "description": "UpdateSource updates a source.", - "file": "Client/UpdateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSource", + "client": { + "fullName": "google.cloud.securitycenter.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v1p1beta1.Client.UpdateSource", + "method": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSource", + "service": { + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v1p1beta1.Client" - }, - "method": { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - } - } + "shortName": "UpdateSource" }, + "description": "UpdateSource updates a source.", + "file": "Client/UpdateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1p1beta1_generated_SecurityCenter_UpdateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSource Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json b/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json index ebede6688d34..8003511ab8fa 100644 --- a/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json +++ b/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json @@ -1,2033 +1,2033 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securitycenter/apiv2", - "version": "1.39.0", - "language": "GO", "apis": [ { "id": "google.cloud.securitycenter.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securitycenter/apiv2", + "version": "1.39.0" }, "snippets": [ { - "regionTag": "securitycenter_v2_generated_SecurityCenter_BatchCreateResourceValueConfigs_sync", - "title": "securitycenter BatchCreateResourceValueConfigs Sample", - "description": "BatchCreateResourceValueConfigs creates a ResourceValueConfig for an organization. Maps user's tags to\ndifference resource values for use by the attack path simulation.", - "file": "Client/BatchCreateResourceValueConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateResourceValueConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.BatchCreateResourceValueConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.BatchCreateResourceValueConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "BatchCreateResourceValueConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.BatchCreateResourceValueConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.BatchCreateResourceValueConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BatchCreateResourceValueConfigsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "BatchCreateResourceValueConfigs", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.BatchCreateResourceValueConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "BatchCreateResourceValueConfigs" }, + "description": "BatchCreateResourceValueConfigs creates a ResourceValueConfig for an organization. Maps user's tags to\ndifference resource values for use by the attack path simulation.", + "file": "Client/BatchCreateResourceValueConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_BatchCreateResourceValueConfigs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter BatchCreateResourceValueConfigs Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_BulkMuteFindings_sync", - "title": "securitycenter BulkMuteFindings Sample", - "description": "BulkMuteFindings kicks off an LRO to bulk mute findings for a parent based on a filter. If\nno location is specified, findings are muted in global. The parent\ncan be either an organization, folder, or project. The findings matched by\nthe filter will be muted after the LRO is done.", - "file": "Client/BulkMuteFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BulkMuteFindings", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.BulkMuteFindings", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.BulkMuteFindings", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "BulkMuteFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.BulkMuteFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.BulkMuteFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BulkMuteFindingsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "BulkMuteFindings", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.BulkMuteFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "BulkMuteFindings" }, + "description": "BulkMuteFindings kicks off an LRO to bulk mute findings for a parent based on a filter. If\nno location is specified, findings are muted in global. The parent\ncan be either an organization, folder, or project. The findings matched by\nthe filter will be muted after the LRO is done.", + "file": "Client/BulkMuteFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_BulkMuteFindings_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter BulkMuteFindings Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_CancelOperation_sync", - "title": "securitycenter CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CancelOperation Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateBigQueryExport_sync", - "title": "securitycenter CreateBigQueryExport Sample", - "description": "CreateBigQueryExport creates a BigQuery export.", - "file": "Client/CreateBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.CreateBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BigQueryExport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "CreateBigQueryExport", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "CreateBigQueryExport" }, + "description": "CreateBigQueryExport creates a BigQuery export.", + "file": "Client/CreateBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateBigQueryExport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateBigQueryExport Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateFinding_sync", - "title": "securitycenter CreateFinding Sample", - "description": "CreateFinding creates a finding in a location. The corresponding source must exist for\nfinding creation to succeed.", - "file": "Client/CreateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.CreateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "CreateFinding" }, + "description": "CreateFinding creates a finding in a location. The corresponding source must exist for\nfinding creation to succeed.", + "file": "Client/CreateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateFinding Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateMuteConfig_sync", - "title": "securitycenter CreateMuteConfig Sample", - "description": "CreateMuteConfig creates a mute config.", - "file": "Client/CreateMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.CreateMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.MuteConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "CreateMuteConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "CreateMuteConfig" }, + "description": "CreateMuteConfig creates a mute config.", + "file": "Client/CreateMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateMuteConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateMuteConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateNotificationConfig_sync", - "title": "securitycenter CreateNotificationConfig Sample", - "description": "CreateNotificationConfig creates a notification config.", - "file": "Client/CreateNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.CreateNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "CreateNotificationConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "CreateNotificationConfig" }, + "description": "CreateNotificationConfig creates a notification config.", + "file": "Client/CreateNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateNotificationConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateSource_sync", - "title": "securitycenter CreateSource Sample", - "description": "CreateSource creates a source.", - "file": "Client/CreateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSource", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.CreateSource", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateSource", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "CreateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.CreateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.CreateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.CreateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "CreateSource" }, + "description": "CreateSource creates a source.", + "file": "Client/CreateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_CreateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CreateSource Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteBigQueryExport_sync", - "title": "securitycenter DeleteBigQueryExport Sample", - "description": "DeleteBigQueryExport deletes an existing BigQuery export.", - "file": "Client/DeleteBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.DeleteBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "DeleteBigQueryExport", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "DeleteBigQueryExport" }, + "description": "DeleteBigQueryExport deletes an existing BigQuery export.", + "file": "Client/DeleteBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteBigQueryExport_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteBigQueryExport Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteMuteConfig_sync", - "title": "securitycenter DeleteMuteConfig Sample", - "description": "DeleteMuteConfig deletes an existing mute config. If no location is specified, default is\nglobal.", - "file": "Client/DeleteMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.DeleteMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "DeleteMuteConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "DeleteMuteConfig" }, + "description": "DeleteMuteConfig deletes an existing mute config. If no location is specified, default is\nglobal.", + "file": "Client/DeleteMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteMuteConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteMuteConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteNotificationConfig_sync", - "title": "securitycenter DeleteNotificationConfig Sample", - "description": "DeleteNotificationConfig deletes a notification config.", - "file": "Client/DeleteNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.DeleteNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "DeleteNotificationConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "DeleteNotificationConfig" }, + "description": "DeleteNotificationConfig deletes a notification config.", + "file": "Client/DeleteNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteNotificationConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteNotificationConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteOperation_sync", - "title": "securitycenter DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteOperation Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteResourceValueConfig_sync", - "title": "securitycenter DeleteResourceValueConfig Sample", - "description": "DeleteResourceValueConfig deletes a ResourceValueConfig.", - "file": "Client/DeleteResourceValueConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteResourceValueConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.DeleteResourceValueConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteResourceValueConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "DeleteResourceValueConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.DeleteResourceValueConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.DeleteResourceValueConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "DeleteResourceValueConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.DeleteResourceValueConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "DeleteResourceValueConfig" }, + "description": "DeleteResourceValueConfig deletes a ResourceValueConfig.", + "file": "Client/DeleteResourceValueConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_DeleteResourceValueConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter DeleteResourceValueConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetBigQueryExport_sync", - "title": "securitycenter GetBigQueryExport Sample", - "description": "GetBigQueryExport gets a BigQuery export.", - "file": "Client/GetBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BigQueryExport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetBigQueryExport", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetBigQueryExport" }, + "description": "GetBigQueryExport gets a BigQuery export.", + "file": "Client/GetBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetBigQueryExport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetBigQueryExport Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetIamPolicy_sync", - "title": "securitycenter GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy on the specified Source.", - "file": "Client/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy on the specified Source.", + "file": "Client/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetIamPolicy Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetMuteConfig_sync", - "title": "securitycenter GetMuteConfig Sample", - "description": "GetMuteConfig gets a mute config. If no location is specified, default is\nglobal.", - "file": "Client/GetMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.MuteConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetMuteConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetMuteConfig" }, + "description": "GetMuteConfig gets a mute config. If no location is specified, default is\nglobal.", + "file": "Client/GetMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetMuteConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetMuteConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetNotificationConfig_sync", - "title": "securitycenter GetNotificationConfig Sample", - "description": "GetNotificationConfig gets a notification config.", - "file": "Client/GetNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetNotificationConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetNotificationConfig" }, + "description": "GetNotificationConfig gets a notification config.", + "file": "Client/GetNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetNotificationConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetOperation_sync", - "title": "securitycenter GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetOperation Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetResourceValueConfig_sync", - "title": "securitycenter GetResourceValueConfig Sample", - "description": "GetResourceValueConfig gets a ResourceValueConfig.", - "file": "Client/GetResourceValueConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetResourceValueConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetResourceValueConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetResourceValueConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetResourceValueConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetResourceValueConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetResourceValueConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ResourceValueConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetResourceValueConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetResourceValueConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetResourceValueConfig" }, + "description": "GetResourceValueConfig gets a ResourceValueConfig.", + "file": "Client/GetResourceValueConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetResourceValueConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetResourceValueConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetSimulation_sync", - "title": "securitycenter GetSimulation Sample", - "description": "GetSimulation get the simulation by name or the latest simulation for the given\norganization.", - "file": "Client/GetSimulation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSimulation", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetSimulation", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetSimulation", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSimulation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSimulationRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSimulationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Simulation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetSimulation", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetSimulation", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetSimulation" }, + "description": "GetSimulation get the simulation by name or the latest simulation for the given\norganization.", + "file": "Client/GetSimulation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetSimulation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSimulation Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetSource_sync", - "title": "securitycenter GetSource Sample", - "description": "GetSource gets a source.", - "file": "Client/GetSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSource", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetSource", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetSource", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetSource" }, + "description": "GetSource gets a source.", + "file": "Client/GetSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSource Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GetValuedResource_sync", - "title": "securitycenter GetValuedResource Sample", - "description": "GetValuedResource get the valued resource by name", - "file": "Client/GetValuedResource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetValuedResource", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GetValuedResource", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetValuedResource", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GetValuedResource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GetValuedResourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GetValuedResourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ValuedResource", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GetValuedResource", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GetValuedResource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "GetValuedResource" }, + "description": "GetValuedResource get the valued resource by name", + "file": "Client/GetValuedResource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GetValuedResource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetValuedResource Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_GroupFindings_sync", - "title": "securitycenter GroupFindings Sample", - "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties in a location. If no location is specified, findings\nare assumed to be in global\n\nTo group across all sources provide a `-` as the source id.\nThe following list shows some examples: \n\n+ `/v2/organizations/{organization_id}/sources/-/findings`\n+\n`/v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings`\n+ `/v2/folders/{folder_id}/sources/-/findings`\n+ `/v2/folders/{folder_id}/sources/-/locations/{location_id}/findings`\n+ `/v2/projects/{project_id}/sources/-/findings`\n+ `/v2/projects/{project_id}/sources/-/locations/{location_id}/findings`", - "file": "Client/GroupFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GroupFindings", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.GroupFindings", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GroupFindings", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "GroupFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.GroupFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.GroupFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "GroupResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.GroupFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + ], + "resultType": "GroupResultIterator", + "shortName": "GroupFindings" }, + "description": "GroupFindings filters an organization or source's findings and groups them by their\nspecified properties in a location. If no location is specified, findings\nare assumed to be in global\n\nTo group across all sources provide a `-` as the source id.\nThe following list shows some examples: \n\n+ `/v2/organizations/{organization_id}/sources/-/findings`\n+\n`/v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings`\n+ `/v2/folders/{folder_id}/sources/-/findings`\n+ `/v2/folders/{folder_id}/sources/-/locations/{location_id}/findings`\n+ `/v2/projects/{project_id}/sources/-/findings`\n+ `/v2/projects/{project_id}/sources/-/locations/{location_id}/findings`", + "file": "Client/GroupFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_GroupFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GroupFindings Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListAttackPaths_sync", - "title": "securitycenter ListAttackPaths Sample", - "description": "ListAttackPaths lists the attack paths for a set of simulation results or valued resources\nand filter.", - "file": "Client/ListAttackPaths/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttackPaths", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListAttackPaths", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListAttackPaths", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListAttackPaths" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListAttackPathsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListAttackPathsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttackPathIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListAttackPaths", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListAttackPaths", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListAttackPaths" }, + "description": "ListAttackPaths lists the attack paths for a set of simulation results or valued resources\nand filter.", + "file": "Client/ListAttackPaths/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListAttackPaths_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListAttackPaths Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListBigQueryExports_sync", - "title": "securitycenter ListBigQueryExports Sample", - "description": "ListBigQueryExports lists BigQuery exports. Note that when requesting BigQuery exports at a\ngiven level all exports under that level are also returned e.g. if\nrequesting BigQuery exports under a folder, then all BigQuery exports\nimmediately under the folder plus the ones created under the projects\nwithin the folder are returned.", - "file": "Client/ListBigQueryExports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBigQueryExports", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListBigQueryExports", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListBigQueryExports", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListBigQueryExports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListBigQueryExportsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListBigQueryExportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BigQueryExportIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListBigQueryExports", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListBigQueryExports", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListBigQueryExports" }, + "description": "ListBigQueryExports lists BigQuery exports. Note that when requesting BigQuery exports at a\ngiven level all exports under that level are also returned e.g. if\nrequesting BigQuery exports under a folder, then all BigQuery exports\nimmediately under the folder plus the ones created under the projects\nwithin the folder are returned.", + "file": "Client/ListBigQueryExports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListBigQueryExports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListBigQueryExports Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListFindings_sync", - "title": "securitycenter ListFindings Sample", - "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources for a given location provide a `-` as the source\nid. If no location is specified, finding are assumed to be in global.\nThe following list shows some examples: \n\n+ `/v2/organizations/{organization_id}/sources/-/findings`\n+\n`/v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings`", - "file": "Client/ListFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindings", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListFindings", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListFindings", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListFindingsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ListFindingsResponse_ListFindingsResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListFindings", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListFindings" }, + "description": "ListFindings lists an organization or source's findings.\n\nTo list across all sources for a given location provide a `-` as the source\nid. If no location is specified, finding are assumed to be in global.\nThe following list shows some examples: \n\n+ `/v2/organizations/{organization_id}/sources/-/findings`\n+\n`/v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings`", + "file": "Client/ListFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListFindings Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListMuteConfigs_sync", - "title": "securitycenter ListMuteConfigs Sample", - "description": "ListMuteConfigs lists mute configs. If no location is specified, default is\nglobal.", - "file": "Client/ListMuteConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMuteConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListMuteConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListMuteConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListMuteConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListMuteConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListMuteConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MuteConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListMuteConfigs", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListMuteConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListMuteConfigs" }, + "description": "ListMuteConfigs lists mute configs. If no location is specified, default is\nglobal.", + "file": "Client/ListMuteConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListMuteConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListMuteConfigs Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListNotificationConfigs_sync", - "title": "securitycenter ListNotificationConfigs Sample", - "description": "ListNotificationConfigs lists notification configs.", - "file": "Client/ListNotificationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListNotificationConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListNotificationConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListNotificationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListNotificationConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListNotificationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListNotificationConfigs", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListNotificationConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListNotificationConfigs" }, + "description": "ListNotificationConfigs lists notification configs.", + "file": "Client/ListNotificationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListNotificationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListNotificationConfigs Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListOperations_sync", - "title": "securitycenter ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListOperations Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListResourceValueConfigs_sync", - "title": "securitycenter ListResourceValueConfigs Sample", - "description": "ListResourceValueConfigs lists all ResourceValueConfigs.", - "file": "Client/ListResourceValueConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListResourceValueConfigs", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListResourceValueConfigs", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListResourceValueConfigs", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListResourceValueConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListResourceValueConfigsRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListResourceValueConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResourceValueConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListResourceValueConfigs", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListResourceValueConfigs", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListResourceValueConfigs" }, + "description": "ListResourceValueConfigs lists all ResourceValueConfigs.", + "file": "Client/ListResourceValueConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListResourceValueConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListResourceValueConfigs Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListSources_sync", - "title": "securitycenter ListSources Sample", - "description": "ListSources lists all sources belonging to an organization.", - "file": "Client/ListSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSources", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListSources", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListSources", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListSourcesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListSources", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListSources" }, + "description": "ListSources lists all sources belonging to an organization.", + "file": "Client/ListSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListSources Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_ListValuedResources_sync", - "title": "securitycenter ListValuedResources Sample", - "description": "ListValuedResources lists the valued resources for a set of simulation results and filter.", - "file": "Client/ListValuedResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListValuedResources", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.ListValuedResources", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListValuedResources", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "ListValuedResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.ListValuedResourcesRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.ListValuedResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ValuedResourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "ListValuedResources", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.ListValuedResources", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "ListValuedResources" }, + "description": "ListValuedResources lists the valued resources for a set of simulation results and filter.", + "file": "Client/ListValuedResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_ListValuedResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListValuedResources Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_SetFindingState_sync", - "title": "securitycenter SetFindingState Sample", - "description": "SetFindingState updates the state of a finding. If no location is specified, finding is\nassumed to be in global", - "file": "Client/SetFindingState/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetFindingState", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.SetFindingState", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.SetFindingState", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetFindingState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SetFindingStateRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SetFindingStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.SetFindingState", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "SetFindingState" }, + "description": "SetFindingState updates the state of a finding. If no location is specified, finding is\nassumed to be in global", + "file": "Client/SetFindingState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_SetFindingState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetFindingState Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_SetIamPolicy_sync", - "title": "securitycenter SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on the specified Source.", - "file": "Client/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.SetIamPolicy", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.SetIamPolicy", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.SetIamPolicy", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on the specified Source.", + "file": "Client/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetIamPolicy Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_SetMute_sync", - "title": "securitycenter SetMute Sample", - "description": "SetMute updates the mute state of a finding. If no location is specified, finding\nis assumed to be in global", - "file": "Client/SetMute/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetMute", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.SetMute", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.SetMute", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "SetMute" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.SetMuteRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.SetMuteRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "SetMute", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.SetMute", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "SetMute" }, + "description": "SetMute updates the mute state of a finding. If no location is specified, finding\nis assumed to be in global", + "file": "Client/SetMute/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_SetMute_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter SetMute Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_TestIamPermissions_sync", - "title": "securitycenter TestIamPermissions Sample", - "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", - "file": "Client/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.TestIamPermissions", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.TestIamPermissions", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.TestIamPermissions", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns the permissions that a caller has on the specified source.", + "file": "Client/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter TestIamPermissions Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateBigQueryExport_sync", - "title": "securitycenter UpdateBigQueryExport Sample", - "description": "UpdateBigQueryExport updates a BigQuery export.", - "file": "Client/UpdateBigQueryExport/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBigQueryExport", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateBigQueryExport", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateBigQueryExport", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateBigQueryExport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateBigQueryExportRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateBigQueryExportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.BigQueryExport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateBigQueryExport", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateBigQueryExport", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateBigQueryExport" }, + "description": "UpdateBigQueryExport updates a BigQuery export.", + "file": "Client/UpdateBigQueryExport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateBigQueryExport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateBigQueryExport Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateExternalSystem_sync", - "title": "securitycenter UpdateExternalSystem Sample", - "description": "UpdateExternalSystem updates external system. This is for a given finding. If no location is\nspecified, finding is assumed to be in global", - "file": "Client/UpdateExternalSystem/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExternalSystem", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateExternalSystem", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateExternalSystem", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateExternalSystem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateExternalSystemRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateExternalSystemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ExternalSystem", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateExternalSystem", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateExternalSystem", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateExternalSystem" }, + "description": "UpdateExternalSystem updates external system. This is for a given finding. If no location is\nspecified, finding is assumed to be in global", + "file": "Client/UpdateExternalSystem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateExternalSystem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateExternalSystem Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateFinding_sync", - "title": "securitycenter UpdateFinding Sample", - "description": "UpdateFinding creates or updates a finding. If no location is specified, finding is\nassumed to be in global. The corresponding source must exist for a finding\ncreation to succeed.", - "file": "Client/UpdateFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFinding", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateFinding", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateFinding", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateFindingRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateFinding", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateFinding" }, + "description": "UpdateFinding creates or updates a finding. If no location is specified, finding is\nassumed to be in global. The corresponding source must exist for a finding\ncreation to succeed.", + "file": "Client/UpdateFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateFinding Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateMuteConfig_sync", - "title": "securitycenter UpdateMuteConfig Sample", - "description": "UpdateMuteConfig updates a mute config. If no location is specified, default is\nglobal.", - "file": "Client/UpdateMuteConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMuteConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateMuteConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateMuteConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateMuteConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateMuteConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateMuteConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.MuteConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateMuteConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateMuteConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateMuteConfig" }, + "description": "UpdateMuteConfig updates a mute config. If no location is specified, default is\nglobal.", + "file": "Client/UpdateMuteConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateMuteConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateMuteConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateNotificationConfig_sync", - "title": "securitycenter UpdateNotificationConfig Sample", - "description": "UpdateNotificationConfig updates a notification config. The following update\nfields are allowed: description, pubsub_topic, streaming_config.filter", - "file": "Client/UpdateNotificationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotificationConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateNotificationConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateNotificationConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateNotificationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateNotificationConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateNotificationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.NotificationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateNotificationConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateNotificationConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateNotificationConfig" }, + "description": "UpdateNotificationConfig updates a notification config. The following update\nfields are allowed: description, pubsub_topic, streaming_config.filter", + "file": "Client/UpdateNotificationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateNotificationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateNotificationConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateResourceValueConfig_sync", - "title": "securitycenter UpdateResourceValueConfig Sample", - "description": "UpdateResourceValueConfig updates an existing ResourceValueConfigs with new rules.", - "file": "Client/UpdateResourceValueConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateResourceValueConfig", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateResourceValueConfig", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateResourceValueConfig", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateResourceValueConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateResourceValueConfigRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateResourceValueConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.ResourceValueConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateResourceValueConfig", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateResourceValueConfig", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateResourceValueConfig" }, + "description": "UpdateResourceValueConfig updates an existing ResourceValueConfigs with new rules.", + "file": "Client/UpdateResourceValueConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateResourceValueConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateResourceValueConfig Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateSecurityMarks_sync", - "title": "securitycenter UpdateSecurityMarks Sample", - "description": "UpdateSecurityMarks updates security marks. For Finding Security marks, if no location is\nspecified, finding is assumed to be in global. Assets Security Marks can\nonly be accessed through global endpoint.", - "file": "Client/UpdateSecurityMarks/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityMarks", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateSecurityMarks", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateSecurityMarks", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSecurityMarks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSecurityMarksRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSecurityMarksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.SecurityMarks", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateSecurityMarks", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateSecurityMarks" }, + "description": "UpdateSecurityMarks updates security marks. For Finding Security marks, if no location is\nspecified, finding is assumed to be in global. Assets Security Marks can\nonly be accessed through global endpoint.", + "file": "Client/UpdateSecurityMarks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateSecurityMarks_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSecurityMarks Sample" }, { - "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateSource_sync", - "title": "securitycenter UpdateSource Sample", - "description": "UpdateSource updates a source.", - "file": "Client/UpdateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSource", + "client": { + "fullName": "google.cloud.securitycenter.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycenter.v2.Client.UpdateSource", + "method": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateSource", + "service": { + "fullName": "google.cloud.securitycenter.v2.SecurityCenter", + "shortName": "SecurityCenter" + }, + "shortName": "UpdateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycenterpb.UpdateSourceRequest", - "name": "req" + "name": "req", + "type": "securitycenterpb.UpdateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycenterpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycenter.v2.Client" - }, - "method": { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter.UpdateSource", - "service": { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v2.SecurityCenter" - } - } + "shortName": "UpdateSource" }, + "description": "UpdateSource updates a source.", + "file": "Client/UpdateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v2_generated_SecurityCenter_UpdateSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSource Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json b/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json index b03f591e77a6..b9d0ff55ee1a 100644 --- a/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json +++ b/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securitycenter/settings/apiv1beta1", - "version": "1.39.0", - "language": "GO", "apis": [ { "id": "google.cloud.securitycenter.settings.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securitycenter/settings/apiv1beta1", + "version": "1.39.0" }, "snippets": [ { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_BatchCalculateEffectiveSettings_sync", - "title": "securitycenter BatchCalculateEffectiveSettings Sample", - "description": "BatchCalculateEffectiveSettings gets a list of effective settings.", - "file": "SecurityCenterSettingsClient/BatchCalculateEffectiveSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCalculateEffectiveSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.BatchCalculateEffectiveSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchCalculateEffectiveSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "BatchCalculateEffectiveSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.BatchCalculateEffectiveSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.BatchCalculateEffectiveSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.BatchCalculateEffectiveSettingsResponse", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "BatchCalculateEffectiveSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchCalculateEffectiveSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "BatchCalculateEffectiveSettings" }, + "description": "BatchCalculateEffectiveSettings gets a list of effective settings.", + "file": "SecurityCenterSettingsClient/BatchCalculateEffectiveSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_BatchCalculateEffectiveSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter BatchCalculateEffectiveSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_BatchGetSettings_sync", - "title": "securitycenter BatchGetSettings Sample", - "description": "BatchGetSettings gets a list of settings.", - "file": "SecurityCenterSettingsClient/BatchGetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.BatchGetSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchGetSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "BatchGetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.BatchGetSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.BatchGetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.BatchGetSettingsResponse", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "BatchGetSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchGetSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "BatchGetSettings" }, + "description": "BatchGetSettings gets a list of settings.", + "file": "SecurityCenterSettingsClient/BatchGetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_BatchGetSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter BatchGetSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_CalculateEffectiveComponentSettings_sync", - "title": "securitycenter CalculateEffectiveComponentSettings Sample", - "description": "CalculateEffectiveComponentSettings gets the Effective Component Settings.", - "file": "SecurityCenterSettingsClient/CalculateEffectiveComponentSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateEffectiveComponentSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.CalculateEffectiveComponentSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveComponentSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "CalculateEffectiveComponentSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.CalculateEffectiveComponentSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.CalculateEffectiveComponentSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.ComponentSettings", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "CalculateEffectiveComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveComponentSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "CalculateEffectiveComponentSettings" }, + "description": "CalculateEffectiveComponentSettings gets the Effective Component Settings.", + "file": "SecurityCenterSettingsClient/CalculateEffectiveComponentSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_CalculateEffectiveComponentSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CalculateEffectiveComponentSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_CalculateEffectiveSettings_sync", - "title": "securitycenter CalculateEffectiveSettings Sample", - "description": "CalculateEffectiveSettings calculateEffectiveSettings looks up all of the Security Center\nSettings resources in the GCP resource hierarchy, and calculates the\neffective settings on that resource by applying the following rules: \n* Settings provided closer to the target resource take precedence over\nthose further away (e.g. folder will override organization level\nsettings).\n* Product defaults can be overridden at org, folder, project, and cluster\nlevels.\n* Detectors will be filtered out if they belong to a billing tier the\ncustomer\nhas not configured.", - "file": "SecurityCenterSettingsClient/CalculateEffectiveSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "CalculateEffectiveSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.CalculateEffectiveSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "CalculateEffectiveSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.CalculateEffectiveSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.CalculateEffectiveSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.Settings", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "CalculateEffectiveSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "CalculateEffectiveSettings" }, + "description": "CalculateEffectiveSettings calculateEffectiveSettings looks up all of the Security Center\nSettings resources in the GCP resource hierarchy, and calculates the\neffective settings on that resource by applying the following rules: \n* Settings provided closer to the target resource take precedence over\nthose further away (e.g. folder will override organization level\nsettings).\n* Product defaults can be overridden at org, folder, project, and cluster\nlevels.\n* Detectors will be filtered out if they belong to a billing tier the\ncustomer\nhas not configured.", + "file": "SecurityCenterSettingsClient/CalculateEffectiveSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_CalculateEffectiveSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter CalculateEffectiveSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_GetComponentSettings_sync", - "title": "securitycenter GetComponentSettings Sample", - "description": "GetComponentSettings gets the Component Settings.", - "file": "SecurityCenterSettingsClient/GetComponentSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetComponentSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.GetComponentSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetComponentSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "GetComponentSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.GetComponentSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.GetComponentSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.ComponentSettings", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "GetComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetComponentSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "GetComponentSettings" }, + "description": "GetComponentSettings gets the Component Settings.", + "file": "SecurityCenterSettingsClient/GetComponentSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_GetComponentSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetComponentSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_GetServiceAccount_sync", - "title": "securitycenter GetServiceAccount Sample", - "description": "GetServiceAccount retrieves the organizations service account, if it exists, otherwise it\ncreates the organization service account. This API is idempotent and\nwill only create a service account once. On subsequent calls it will\nreturn the previously created service account. SHA, SCC and CTD Infra\nAutomation will use this SA. This SA will not have any permissions when\ncreated. The UI will provision this via IAM or the user will using\ntheir own internal process. This API only creates SAs on the organization.\nFolders are not supported and projects will use per-project SAs associated\nwith APIs enabled on a project. This API will be called by the UX\nonboarding workflow.", - "file": "SecurityCenterSettingsClient/GetServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceAccount", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.GetServiceAccount", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetServiceAccount", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "GetServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.GetServiceAccountRequest", - "name": "req" + "name": "req", + "type": "settingspb.GetServiceAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.ServiceAccount", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "GetServiceAccount", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetServiceAccount", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "GetServiceAccount" }, + "description": "GetServiceAccount retrieves the organizations service account, if it exists, otherwise it\ncreates the organization service account. This API is idempotent and\nwill only create a service account once. On subsequent calls it will\nreturn the previously created service account. SHA, SCC and CTD Infra\nAutomation will use this SA. This SA will not have any permissions when\ncreated. The UI will provision this via IAM or the user will using\ntheir own internal process. This API only creates SAs on the organization.\nFolders are not supported and projects will use per-project SAs associated\nwith APIs enabled on a project. This API will be called by the UX\nonboarding workflow.", + "file": "SecurityCenterSettingsClient/GetServiceAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_GetServiceAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetServiceAccount Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_GetSettings_sync", - "title": "securitycenter GetSettings Sample", - "description": "GetSettings gets the Settings.", - "file": "SecurityCenterSettingsClient/GetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.GetSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "GetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.GetSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.GetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.Settings", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "GetSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "GetSettings" }, + "description": "GetSettings gets the Settings.", + "file": "SecurityCenterSettingsClient/GetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_GetSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter GetSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ListComponents_sync", - "title": "securitycenter ListComponents Sample", - "description": "ListComponents retrieves an unordered list of available SCC components.", - "file": "SecurityCenterSettingsClient/ListComponents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListComponents", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.ListComponents", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListComponents", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "ListComponents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.ListComponentsRequest", - "name": "req" + "name": "req", + "type": "settingspb.ListComponentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StringIterator", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "ListComponents", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListComponents", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "ListComponents" }, + "description": "ListComponents retrieves an unordered list of available SCC components.", + "file": "SecurityCenterSettingsClient/ListComponents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ListComponents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListComponents Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ListDetectors_sync", - "title": "securitycenter ListDetectors Sample", - "description": "ListDetectors retrieves an unordered list of available detectors.", - "file": "SecurityCenterSettingsClient/ListDetectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDetectors", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.ListDetectors", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListDetectors", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "ListDetectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.ListDetectorsRequest", - "name": "req" + "name": "req", + "type": "settingspb.ListDetectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DetectorIterator", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "ListDetectors", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListDetectors", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "ListDetectors" }, + "description": "ListDetectors retrieves an unordered list of available detectors.", + "file": "SecurityCenterSettingsClient/ListDetectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ListDetectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ListDetectors Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ResetComponentSettings_sync", - "title": "securitycenter ResetComponentSettings Sample", - "description": "ResetComponentSettings reset the organization, folder or project's component settings and return\nthe settings to the default. Settings are present at the\norganization, folder and project levels. Using Reset for a folder or\nproject will remove the override that was set and result in the\norganization-level settings being used.", - "file": "SecurityCenterSettingsClient/ResetComponentSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetComponentSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.ResetComponentSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetComponentSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "ResetComponentSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.ResetComponentSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.ResetComponentSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "ResetComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetComponentSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "ResetComponentSettings" }, + "description": "ResetComponentSettings reset the organization, folder or project's component settings and return\nthe settings to the default. Settings are present at the\norganization, folder and project levels. Using Reset for a folder or\nproject will remove the override that was set and result in the\norganization-level settings being used.", + "file": "SecurityCenterSettingsClient/ResetComponentSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ResetComponentSettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ResetComponentSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ResetSettings_sync", - "title": "securitycenter ResetSettings Sample", - "description": "ResetSettings reset the organization, folder or project's settings and return\nthe settings of just that resource to the default.\n\nSettings are present at the organization, folder, project, and cluster\nlevels. Using Reset on a sub-organization level will remove that resource's\noverride and result in the parent's settings being used (eg: if Reset on a\ncluster, project settings will be used).\n\nUsing Reset on organization will remove the override that was set and\nresult in default settings being used.", - "file": "SecurityCenterSettingsClient/ResetSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.ResetSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "ResetSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.ResetSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.ResetSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "ResetSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "ResetSettings" }, + "description": "ResetSettings reset the organization, folder or project's settings and return\nthe settings of just that resource to the default.\n\nSettings are present at the organization, folder, project, and cluster\nlevels. Using Reset on a sub-organization level will remove that resource's\noverride and result in the parent's settings being used (eg: if Reset on a\ncluster, project settings will be used).\n\nUsing Reset on organization will remove the override that was set and\nresult in default settings being used.", + "file": "SecurityCenterSettingsClient/ResetSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_ResetSettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter ResetSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_UpdateComponentSettings_sync", - "title": "securitycenter UpdateComponentSettings Sample", - "description": "UpdateComponentSettings updates the Component Settings.", - "file": "SecurityCenterSettingsClient/UpdateComponentSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateComponentSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.UpdateComponentSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateComponentSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "UpdateComponentSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.UpdateComponentSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.UpdateComponentSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.ComponentSettings", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "UpdateComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateComponentSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "UpdateComponentSettings" }, + "description": "UpdateComponentSettings updates the Component Settings.", + "file": "SecurityCenterSettingsClient/UpdateComponentSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_UpdateComponentSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateComponentSettings Sample" }, { - "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_UpdateSettings_sync", - "title": "securitycenter UpdateSettings Sample", - "description": "UpdateSettings updates the Settings.", - "file": "SecurityCenterSettingsClient/UpdateSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSettings", + "client": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient", + "shortName": "SecurityCenterSettingsClient" + }, "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient.UpdateSettings", + "method": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateSettings", + "service": { + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "SecurityCenterSettingsService" + }, + "shortName": "UpdateSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "settingspb.UpdateSettingsRequest", - "name": "req" + "name": "req", + "type": "settingspb.UpdateSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*settingspb.Settings", - "client": { - "shortName": "SecurityCenterSettingsClient", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsClient" - }, - "method": { - "shortName": "UpdateSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateSettings", - "service": { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" - } - } + "shortName": "UpdateSettings" }, + "description": "UpdateSettings updates the Settings.", + "file": "SecurityCenterSettingsClient/UpdateSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycenter_v1beta1_generated_SecurityCenterSettingsService_UpdateSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycenter UpdateSettings Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json b/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json index 5e7ecf3f1d34..eee87a2b4b2d 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json +++ b/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json @@ -1,1071 +1,1071 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securitycentermanagement/apiv1", - "version": "1.1.6", - "language": "GO", "apis": [ { "id": "google.cloud.securitycentermanagement.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securitycentermanagement/apiv1", + "version": "1.1.6" }, "snippets": [ { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_CreateEventThreatDetectionCustomModule_sync", - "title": "securitycentermanagement CreateEventThreatDetectionCustomModule Sample", - "description": "CreateEventThreatDetectionCustomModule creates a resident Event Threat Detection custom module at the scope of the\ngiven organization, folder, or project, and creates inherited custom\nmodules for all descendants of the given parent. These modules are enabled\nby default.", - "file": "Client/CreateEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.CreateEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "CreateEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.CreateEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.CreateEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.EventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "CreateEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "CreateEventThreatDetectionCustomModule" }, + "description": "CreateEventThreatDetectionCustomModule creates a resident Event Threat Detection custom module at the scope of the\ngiven organization, folder, or project, and creates inherited custom\nmodules for all descendants of the given parent. These modules are enabled\nby default.", + "file": "Client/CreateEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_CreateEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement CreateEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_CreateSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycentermanagement CreateSecurityHealthAnalyticsCustomModule Sample", - "description": "CreateSecurityHealthAnalyticsCustomModule creates a resident\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nat the scope of the given organization, folder, or project, and also\ncreates inherited `SecurityHealthAnalyticsCustomModule` resources for all\nfolders and projects that are descendants of the given parent. These\nmodules are enabled by default.", - "file": "Client/CreateSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.CreateSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "CreateSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.CreateSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.CreateSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.SecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "CreateSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "CreateSecurityHealthAnalyticsCustomModule" }, + "description": "CreateSecurityHealthAnalyticsCustomModule creates a resident\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nat the scope of the given organization, folder, or project, and also\ncreates inherited `SecurityHealthAnalyticsCustomModule` resources for all\nfolders and projects that are descendants of the given parent. These\nmodules are enabled by default.", + "file": "Client/CreateSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_CreateSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement CreateSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_DeleteEventThreatDetectionCustomModule_sync", - "title": "securitycentermanagement DeleteEventThreatDetectionCustomModule Sample", - "description": "DeleteEventThreatDetectionCustomModule deletes the specified Event Threat Detection custom module and all of its\ndescendants in the resource hierarchy. This method is only supported for\nresident custom modules.", - "file": "Client/DeleteEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.DeleteEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "DeleteEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.DeleteEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.DeleteEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "DeleteEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "DeleteEventThreatDetectionCustomModule" }, + "description": "DeleteEventThreatDetectionCustomModule deletes the specified Event Threat Detection custom module and all of its\ndescendants in the resource hierarchy. This method is only supported for\nresident custom modules.", + "file": "Client/DeleteEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_DeleteEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement DeleteEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_DeleteSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycentermanagement DeleteSecurityHealthAnalyticsCustomModule Sample", - "description": "DeleteSecurityHealthAnalyticsCustomModule deletes the specified\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nand all of its descendants in the resource hierarchy. This method is only\nsupported for resident custom modules.", - "file": "Client/DeleteSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.DeleteSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "DeleteSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.DeleteSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.DeleteSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "DeleteSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "DeleteSecurityHealthAnalyticsCustomModule" }, + "description": "DeleteSecurityHealthAnalyticsCustomModule deletes the specified\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nand all of its descendants in the resource hierarchy. This method is only\nsupported for resident custom modules.", + "file": "Client/DeleteSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_DeleteSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement DeleteSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetEffectiveEventThreatDetectionCustomModule_sync", - "title": "securitycentermanagement GetEffectiveEventThreatDetectionCustomModule Sample", - "description": "GetEffectiveEventThreatDetectionCustomModule gets the effective Event Threat Detection custom module at the given level.\n\nThe difference between an\n[EffectiveEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule]\nand an\n[EventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule]\nis that the fields for an `EffectiveEventThreatDetectionCustomModule` are\ncomputed from ancestors if needed. For example, the enablement state for an\n`EventThreatDetectionCustomModule` can be `ENABLED`, `DISABLED`, or\n`INHERITED`. In contrast, the enablement state for an\n`EffectiveEventThreatDetectionCustomModule` is always computed as `ENABLED`\nor `DISABLED`.", - "file": "Client/GetEffectiveEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.GetEffectiveEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "GetEffectiveEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.GetEffectiveEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.GetEffectiveEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.EffectiveEventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "GetEffectiveEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "GetEffectiveEventThreatDetectionCustomModule" }, + "description": "GetEffectiveEventThreatDetectionCustomModule gets the effective Event Threat Detection custom module at the given level.\n\nThe difference between an\n[EffectiveEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule]\nand an\n[EventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule]\nis that the fields for an `EffectiveEventThreatDetectionCustomModule` are\ncomputed from ancestors if needed. For example, the enablement state for an\n`EventThreatDetectionCustomModule` can be `ENABLED`, `DISABLED`, or\n`INHERITED`. In contrast, the enablement state for an\n`EffectiveEventThreatDetectionCustomModule` is always computed as `ENABLED`\nor `DISABLED`.", + "file": "Client/GetEffectiveEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetEffectiveEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement GetEffectiveEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetEffectiveSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycentermanagement GetEffectiveSecurityHealthAnalyticsCustomModule Sample", - "description": "GetEffectiveSecurityHealthAnalyticsCustomModule gets details of a single\n[EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule].", - "file": "Client/GetEffectiveSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.GetEffectiveSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.EffectiveSecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule" }, + "description": "GetEffectiveSecurityHealthAnalyticsCustomModule gets details of a single\n[EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule].", + "file": "Client/GetEffectiveSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetEffectiveSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement GetEffectiveSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetEventThreatDetectionCustomModule_sync", - "title": "securitycentermanagement GetEventThreatDetectionCustomModule Sample", - "description": "GetEventThreatDetectionCustomModule gets an Event Threat Detection custom module.", - "file": "Client/GetEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.GetEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "GetEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.GetEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.GetEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.EventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "GetEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "GetEventThreatDetectionCustomModule" }, + "description": "GetEventThreatDetectionCustomModule gets an Event Threat Detection custom module.", + "file": "Client/GetEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement GetEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetLocation_sync", - "title": "securitycentermanagement GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement GetLocation Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetSecurityCenterService_sync", - "title": "securitycentermanagement GetSecurityCenterService Sample", - "description": "GetSecurityCenterService gets service settings for the specified Security Command Center service.", - "file": "Client/GetSecurityCenterService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecurityCenterService", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.GetSecurityCenterService", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityCenterService", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "GetSecurityCenterService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.GetSecurityCenterServiceRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.GetSecurityCenterServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.SecurityCenterService", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "GetSecurityCenterService", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityCenterService", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "GetSecurityCenterService" }, + "description": "GetSecurityCenterService gets service settings for the specified Security Command Center service.", + "file": "Client/GetSecurityCenterService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetSecurityCenterService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement GetSecurityCenterService Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycentermanagement GetSecurityHealthAnalyticsCustomModule Sample", - "description": "GetSecurityHealthAnalyticsCustomModule retrieves a\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule].", - "file": "Client/GetSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.GetSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "GetSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.GetSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.GetSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.SecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "GetSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "GetSecurityHealthAnalyticsCustomModule" }, + "description": "GetSecurityHealthAnalyticsCustomModule retrieves a\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule].", + "file": "Client/GetSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_GetSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement GetSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListDescendantEventThreatDetectionCustomModules_sync", - "title": "securitycentermanagement ListDescendantEventThreatDetectionCustomModules Sample", - "description": "ListDescendantEventThreatDetectionCustomModules lists all resident Event Threat Detection custom modules for the given\norganization, folder, or project and its descendants.", - "file": "Client/ListDescendantEventThreatDetectionCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDescendantEventThreatDetectionCustomModules", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListDescendantEventThreatDetectionCustomModules", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListDescendantEventThreatDetectionCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListDescendantEventThreatDetectionCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListDescendantEventThreatDetectionCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventThreatDetectionCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListDescendantEventThreatDetectionCustomModules", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListDescendantEventThreatDetectionCustomModules" }, + "description": "ListDescendantEventThreatDetectionCustomModules lists all resident Event Threat Detection custom modules for the given\norganization, folder, or project and its descendants.", + "file": "Client/ListDescendantEventThreatDetectionCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListDescendantEventThreatDetectionCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListDescendantEventThreatDetectionCustomModules Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListDescendantSecurityHealthAnalyticsCustomModules_sync", - "title": "securitycentermanagement ListDescendantSecurityHealthAnalyticsCustomModules Sample", - "description": "ListDescendantSecurityHealthAnalyticsCustomModules returns a list of all resident\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nresources under the given organization, folder, or project and all of its\ndescendants.", - "file": "Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListDescendantSecurityHealthAnalyticsCustomModules", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListDescendantSecurityHealthAnalyticsCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListDescendantSecurityHealthAnalyticsCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityHealthAnalyticsCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules" }, + "description": "ListDescendantSecurityHealthAnalyticsCustomModules returns a list of all resident\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nresources under the given organization, folder, or project and all of its\ndescendants.", + "file": "Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListDescendantSecurityHealthAnalyticsCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListDescendantSecurityHealthAnalyticsCustomModules Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListEffectiveEventThreatDetectionCustomModules_sync", - "title": "securitycentermanagement ListEffectiveEventThreatDetectionCustomModules Sample", - "description": "ListEffectiveEventThreatDetectionCustomModules lists all effective Event Threat Detection custom modules for the\ngiven parent. This includes resident modules defined at the scope of the\nparent along with modules inherited from its ancestors.", - "file": "Client/ListEffectiveEventThreatDetectionCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEffectiveEventThreatDetectionCustomModules", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListEffectiveEventThreatDetectionCustomModules", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListEffectiveEventThreatDetectionCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListEffectiveEventThreatDetectionCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListEffectiveEventThreatDetectionCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EffectiveEventThreatDetectionCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListEffectiveEventThreatDetectionCustomModules", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListEffectiveEventThreatDetectionCustomModules" }, + "description": "ListEffectiveEventThreatDetectionCustomModules lists all effective Event Threat Detection custom modules for the\ngiven parent. This includes resident modules defined at the scope of the\nparent along with modules inherited from its ancestors.", + "file": "Client/ListEffectiveEventThreatDetectionCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListEffectiveEventThreatDetectionCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListEffectiveEventThreatDetectionCustomModules Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListEffectiveSecurityHealthAnalyticsCustomModules_sync", - "title": "securitycentermanagement ListEffectiveSecurityHealthAnalyticsCustomModules Sample", - "description": "ListEffectiveSecurityHealthAnalyticsCustomModules returns a list of all\n[EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule]\nresources for the given parent. This includes resident modules defined at\nthe scope of the parent, and inherited modules, inherited from ancestor\norganizations, folders, and projects (no descendants).", - "file": "Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListEffectiveSecurityHealthAnalyticsCustomModules", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EffectiveSecurityHealthAnalyticsCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules" }, + "description": "ListEffectiveSecurityHealthAnalyticsCustomModules returns a list of all\n[EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule]\nresources for the given parent. This includes resident modules defined at\nthe scope of the parent, and inherited modules, inherited from ancestor\norganizations, folders, and projects (no descendants).", + "file": "Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListEffectiveSecurityHealthAnalyticsCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListEffectiveSecurityHealthAnalyticsCustomModules Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListEventThreatDetectionCustomModules_sync", - "title": "securitycentermanagement ListEventThreatDetectionCustomModules Sample", - "description": "ListEventThreatDetectionCustomModules lists all Event Threat Detection custom modules for the given organization,\nfolder, or project. This includes resident modules defined at the scope of\nthe parent along with modules inherited from ancestors.", - "file": "Client/ListEventThreatDetectionCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEventThreatDetectionCustomModules", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListEventThreatDetectionCustomModules", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEventThreatDetectionCustomModules", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListEventThreatDetectionCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListEventThreatDetectionCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListEventThreatDetectionCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventThreatDetectionCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListEventThreatDetectionCustomModules", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEventThreatDetectionCustomModules", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListEventThreatDetectionCustomModules" }, + "description": "ListEventThreatDetectionCustomModules lists all Event Threat Detection custom modules for the given organization,\nfolder, or project. This includes resident modules defined at the scope of\nthe parent along with modules inherited from ancestors.", + "file": "Client/ListEventThreatDetectionCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListEventThreatDetectionCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListEventThreatDetectionCustomModules Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListLocations_sync", - "title": "securitycentermanagement ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListLocations Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListSecurityCenterServices_sync", - "title": "securitycentermanagement ListSecurityCenterServices Sample", - "description": "ListSecurityCenterServices returns a list of all Security Command Center services for the given\nparent.", - "file": "Client/ListSecurityCenterServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecurityCenterServices", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListSecurityCenterServices", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityCenterServices", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListSecurityCenterServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListSecurityCenterServicesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListSecurityCenterServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityCenterServiceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListSecurityCenterServices", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityCenterServices", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListSecurityCenterServices" }, + "description": "ListSecurityCenterServices returns a list of all Security Command Center services for the given\nparent.", + "file": "Client/ListSecurityCenterServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListSecurityCenterServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListSecurityCenterServices Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListSecurityHealthAnalyticsCustomModules_sync", - "title": "securitycentermanagement ListSecurityHealthAnalyticsCustomModules Sample", - "description": "ListSecurityHealthAnalyticsCustomModules returns a list of all\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nresources for the given parent. This includes resident modules defined at\nthe scope of the parent, and inherited modules, inherited from ancestor\norganizations, folders, and projects (no descendants).", - "file": "Client/ListSecurityHealthAnalyticsCustomModules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSecurityHealthAnalyticsCustomModules", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ListSecurityHealthAnalyticsCustomModules", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ListSecurityHealthAnalyticsCustomModules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ListSecurityHealthAnalyticsCustomModulesRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ListSecurityHealthAnalyticsCustomModulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SecurityHealthAnalyticsCustomModuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ListSecurityHealthAnalyticsCustomModules", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ListSecurityHealthAnalyticsCustomModules" }, + "description": "ListSecurityHealthAnalyticsCustomModules returns a list of all\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nresources for the given parent. This includes resident modules defined at\nthe scope of the parent, and inherited modules, inherited from ancestor\norganizations, folders, and projects (no descendants).", + "file": "Client/ListSecurityHealthAnalyticsCustomModules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ListSecurityHealthAnalyticsCustomModules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ListSecurityHealthAnalyticsCustomModules Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_SimulateSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycentermanagement SimulateSecurityHealthAnalyticsCustomModule Sample", - "description": "SimulateSecurityHealthAnalyticsCustomModule simulates the result of using a\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nto check a resource.", - "file": "Client/SimulateSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "SimulateSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.SimulateSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "SimulateSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.SimulateSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.SimulateSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.SimulateSecurityHealthAnalyticsCustomModuleResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "SimulateSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "SimulateSecurityHealthAnalyticsCustomModule" }, + "description": "SimulateSecurityHealthAnalyticsCustomModule simulates the result of using a\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nto check a resource.", + "file": "Client/SimulateSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_SimulateSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement SimulateSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_UpdateEventThreatDetectionCustomModule_sync", - "title": "securitycentermanagement UpdateEventThreatDetectionCustomModule Sample", - "description": "UpdateEventThreatDetectionCustomModule updates the Event Threat Detection custom module with the given name based\non the given update mask. Updating the enablement state is supported for\nboth resident and inherited modules (though resident modules cannot have an\nenablement state of \"inherited\"). Updating the display name or\nconfiguration of a module is supported for resident modules only. The type\nof a module cannot be changed.", - "file": "Client/UpdateEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.UpdateEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "UpdateEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.UpdateEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.UpdateEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.EventThreatDetectionCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "UpdateEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "UpdateEventThreatDetectionCustomModule" }, + "description": "UpdateEventThreatDetectionCustomModule updates the Event Threat Detection custom module with the given name based\non the given update mask. Updating the enablement state is supported for\nboth resident and inherited modules (though resident modules cannot have an\nenablement state of \"inherited\"). Updating the display name or\nconfiguration of a module is supported for resident modules only. The type\nof a module cannot be changed.", + "file": "Client/UpdateEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_UpdateEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement UpdateEventThreatDetectionCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_UpdateSecurityCenterService_sync", - "title": "securitycentermanagement UpdateSecurityCenterService Sample", - "description": "UpdateSecurityCenterService updates a Security Command Center service using the given update mask.", - "file": "Client/UpdateSecurityCenterService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityCenterService", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.UpdateSecurityCenterService", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityCenterService", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "UpdateSecurityCenterService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.UpdateSecurityCenterServiceRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.UpdateSecurityCenterServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.SecurityCenterService", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "UpdateSecurityCenterService", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityCenterService", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "UpdateSecurityCenterService" }, + "description": "UpdateSecurityCenterService updates a Security Command Center service using the given update mask.", + "file": "Client/UpdateSecurityCenterService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_UpdateSecurityCenterService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement UpdateSecurityCenterService Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_UpdateSecurityHealthAnalyticsCustomModule_sync", - "title": "securitycentermanagement UpdateSecurityHealthAnalyticsCustomModule Sample", - "description": "UpdateSecurityHealthAnalyticsCustomModule updates the\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nunder the given name based on the given update mask. Updating the\nenablement state is supported on both resident and inherited modules\n(though resident modules cannot have an enablement state of \"inherited\").\nUpdating the display name and custom configuration of a module is supported\non resident modules only.", - "file": "Client/UpdateSecurityHealthAnalyticsCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSecurityHealthAnalyticsCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.UpdateSecurityHealthAnalyticsCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "UpdateSecurityHealthAnalyticsCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.UpdateSecurityHealthAnalyticsCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.UpdateSecurityHealthAnalyticsCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.SecurityHealthAnalyticsCustomModule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "UpdateSecurityHealthAnalyticsCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "UpdateSecurityHealthAnalyticsCustomModule" }, + "description": "UpdateSecurityHealthAnalyticsCustomModule updates the\n[SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]\nunder the given name based on the given update mask. Updating the\nenablement state is supported on both resident and inherited modules\n(though resident modules cannot have an enablement state of \"inherited\").\nUpdating the display name and custom configuration of a module is supported\non resident modules only.", + "file": "Client/UpdateSecurityHealthAnalyticsCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_UpdateSecurityHealthAnalyticsCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement UpdateSecurityHealthAnalyticsCustomModule Sample" }, { - "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ValidateEventThreatDetectionCustomModule_sync", - "title": "securitycentermanagement ValidateEventThreatDetectionCustomModule Sample", - "description": "ValidateEventThreatDetectionCustomModule validates the given Event Threat Detection custom module.", - "file": "Client/ValidateEventThreatDetectionCustomModule/main.go", - "language": "GO", "clientMethod": { - "shortName": "ValidateEventThreatDetectionCustomModule", + "client": { + "fullName": "google.cloud.securitycentermanagement.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securitycentermanagement.v1.Client.ValidateEventThreatDetectionCustomModule", + "method": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ValidateEventThreatDetectionCustomModule", + "service": { + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", + "shortName": "SecurityCenterManagement" + }, + "shortName": "ValidateEventThreatDetectionCustomModule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securitycentermanagementpb.ValidateEventThreatDetectionCustomModuleRequest", - "name": "req" + "name": "req", + "type": "securitycentermanagementpb.ValidateEventThreatDetectionCustomModuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securitycentermanagementpb.ValidateEventThreatDetectionCustomModuleResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securitycentermanagement.v1.Client" - }, - "method": { - "shortName": "ValidateEventThreatDetectionCustomModule", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ValidateEventThreatDetectionCustomModule", - "service": { - "shortName": "SecurityCenterManagement", - "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" - } - } + "shortName": "ValidateEventThreatDetectionCustomModule" }, + "description": "ValidateEventThreatDetectionCustomModule validates the given Event Threat Detection custom module.", + "file": "Client/ValidateEventThreatDetectionCustomModule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securitycentermanagement_v1_generated_SecurityCenterManagement_ValidateEventThreatDetectionCustomModule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securitycentermanagement ValidateEventThreatDetectionCustomModule Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json b/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json index a7a735bd6616..85e7b303f57b 100644 --- a/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json +++ b/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json @@ -1,933 +1,933 @@ { "clientLibrary": { - "name": "cloud.google.com/go/securityposture/apiv1", - "version": "0.2.6", - "language": "GO", "apis": [ { "id": "google.cloud.securityposture.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/securityposture/apiv1", + "version": "0.2.6" }, "snippets": [ { - "regionTag": "securityposture_v1_generated_SecurityPosture_CancelOperation_sync", - "title": "securityposture CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture CancelOperation Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_CreatePosture_sync", - "title": "securityposture CreatePosture Sample", - "description": "CreatePosture creates a new Posture resource.\nIf a Posture with the specified name already exists in the specified\norganization and location, the long running operation returns a\n[ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", - "file": "Client/CreatePosture/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePosture", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.CreatePosture", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.CreatePosture", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "CreatePosture" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.CreatePostureRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.CreatePostureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePostureOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "CreatePosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.CreatePosture", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "CreatePosture" }, + "description": "CreatePosture creates a new Posture resource.\nIf a Posture with the specified name already exists in the specified\norganization and location, the long running operation returns a\n[ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", + "file": "Client/CreatePosture/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_CreatePosture_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture CreatePosture Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_CreatePostureDeployment_sync", - "title": "securityposture CreatePostureDeployment Sample", - "description": "CreatePostureDeployment creates a new PostureDeployment in a given project and location.", - "file": "Client/CreatePostureDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePostureDeployment", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.CreatePostureDeployment", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.CreatePostureDeployment", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "CreatePostureDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.CreatePostureDeploymentRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.CreatePostureDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePostureDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "CreatePostureDeployment", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.CreatePostureDeployment", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "CreatePostureDeployment" }, + "description": "CreatePostureDeployment creates a new PostureDeployment in a given project and location.", + "file": "Client/CreatePostureDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_CreatePostureDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture CreatePostureDeployment Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_DeleteOperation_sync", - "title": "securityposture DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture DeleteOperation Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_DeletePosture_sync", - "title": "securityposture DeletePosture Sample", - "description": "DeletePosture deletes all the revisions of a resource.\nA posture can only be deleted when none of the revisions are deployed to\nany workload.", - "file": "Client/DeletePosture/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePosture", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.DeletePosture", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.DeletePosture", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "DeletePosture" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.DeletePostureRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.DeletePostureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePostureOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "DeletePosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.DeletePosture", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "DeletePosture" }, + "description": "DeletePosture deletes all the revisions of a resource.\nA posture can only be deleted when none of the revisions are deployed to\nany workload.", + "file": "Client/DeletePosture/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_DeletePosture_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture DeletePosture Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_DeletePostureDeployment_sync", - "title": "securityposture DeletePostureDeployment Sample", - "description": "DeletePostureDeployment deletes a single PostureDeployment.", - "file": "Client/DeletePostureDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePostureDeployment", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.DeletePostureDeployment", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.DeletePostureDeployment", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "DeletePostureDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.DeletePostureDeploymentRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.DeletePostureDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePostureDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "DeletePostureDeployment", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.DeletePostureDeployment", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "DeletePostureDeployment" }, + "description": "DeletePostureDeployment deletes a single PostureDeployment.", + "file": "Client/DeletePostureDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_DeletePostureDeployment_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture DeletePostureDeployment Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ExtractPosture_sync", - "title": "securityposture ExtractPosture Sample", - "description": "ExtractPosture extracts existing policies on a workload as a posture.\nIf a Posture on the given workload already exists, the long running\noperation returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", - "file": "Client/ExtractPosture/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExtractPosture", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ExtractPosture", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ExtractPosture", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "ExtractPosture" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.ExtractPostureRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.ExtractPostureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExtractPostureOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ExtractPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.ExtractPosture", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "ExtractPosture" }, + "description": "ExtractPosture extracts existing policies on a workload as a posture.\nIf a Posture on the given workload already exists, the long running\noperation returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", + "file": "Client/ExtractPosture/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ExtractPosture_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ExtractPosture Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_GetLocation_sync", - "title": "securityposture GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture GetLocation Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_GetOperation_sync", - "title": "securityposture GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture GetOperation Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_GetPosture_sync", - "title": "securityposture GetPosture Sample", - "description": "GetPosture gets a posture in a given organization and location.\nUser must provide revision_id to retrieve a specific revision of the\nresource.\nNOT_FOUND error is returned if the revision_id or the Posture name does not\nexist. In case revision_id is not provided then the latest Posture revision\nby UpdateTime is returned.", - "file": "Client/GetPosture/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPosture", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.GetPosture", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPosture", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "GetPosture" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.GetPostureRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.GetPostureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securityposturepb.Posture", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "GetPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPosture", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "GetPosture" }, + "description": "GetPosture gets a posture in a given organization and location.\nUser must provide revision_id to retrieve a specific revision of the\nresource.\nNOT_FOUND error is returned if the revision_id or the Posture name does not\nexist. In case revision_id is not provided then the latest Posture revision\nby UpdateTime is returned.", + "file": "Client/GetPosture/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_GetPosture_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture GetPosture Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_GetPostureDeployment_sync", - "title": "securityposture GetPostureDeployment Sample", - "description": "GetPostureDeployment gets details of a single PostureDeployment.", - "file": "Client/GetPostureDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPostureDeployment", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.GetPostureDeployment", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPostureDeployment", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "GetPostureDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.GetPostureDeploymentRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.GetPostureDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securityposturepb.PostureDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "GetPostureDeployment", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPostureDeployment", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "GetPostureDeployment" }, + "description": "GetPostureDeployment gets details of a single PostureDeployment.", + "file": "Client/GetPostureDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_GetPostureDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture GetPostureDeployment Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_GetPostureTemplate_sync", - "title": "securityposture GetPostureTemplate Sample", - "description": "GetPostureTemplate gets a PostureTemplate.\nUser must provide revision_id to retrieve a specific revision of the\nresource.\nNOT_FOUND error is returned if the revision_id or the PostureTemplate name\ndoes not exist. In case revision_id is not provided then the\nPostureTemplate with latest revision_id is returned.", - "file": "Client/GetPostureTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPostureTemplate", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.GetPostureTemplate", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPostureTemplate", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "GetPostureTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.GetPostureTemplateRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.GetPostureTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*securityposturepb.PostureTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "GetPostureTemplate", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPostureTemplate", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "GetPostureTemplate" }, + "description": "GetPostureTemplate gets a PostureTemplate.\nUser must provide revision_id to retrieve a specific revision of the\nresource.\nNOT_FOUND error is returned if the revision_id or the PostureTemplate name\ndoes not exist. In case revision_id is not provided then the\nPostureTemplate with latest revision_id is returned.", + "file": "Client/GetPostureTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_GetPostureTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture GetPostureTemplate Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ListLocations_sync", - "title": "securityposture ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ListLocations Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ListOperations_sync", - "title": "securityposture ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ListOperations Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostureDeployments_sync", - "title": "securityposture ListPostureDeployments Sample", - "description": "ListPostureDeployments postureDeployments\nLists PostureDeployments in a given project and location.", - "file": "Client/ListPostureDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPostureDeployments", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ListPostureDeployments", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureDeployments", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "ListPostureDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.ListPostureDeploymentsRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.ListPostureDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PostureDeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ListPostureDeployments", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureDeployments", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "ListPostureDeployments" }, + "description": "ListPostureDeployments postureDeployments\nLists PostureDeployments in a given project and location.", + "file": "Client/ListPostureDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostureDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ListPostureDeployments Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostureRevisions_sync", - "title": "securityposture ListPostureRevisions Sample", - "description": "ListPostureRevisions lists revisions of a Posture in a given organization and location.", - "file": "Client/ListPostureRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPostureRevisions", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ListPostureRevisions", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureRevisions", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "ListPostureRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.ListPostureRevisionsRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.ListPostureRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PostureIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ListPostureRevisions", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureRevisions", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "ListPostureRevisions" }, + "description": "ListPostureRevisions lists revisions of a Posture in a given organization and location.", + "file": "Client/ListPostureRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostureRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ListPostureRevisions Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostureTemplates_sync", - "title": "securityposture ListPostureTemplates Sample", - "description": "ListPostureTemplates postureTemplates\nLists all the PostureTemplates available to the user.", - "file": "Client/ListPostureTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPostureTemplates", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ListPostureTemplates", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureTemplates", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "ListPostureTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.ListPostureTemplatesRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.ListPostureTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PostureTemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ListPostureTemplates", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureTemplates", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "ListPostureTemplates" }, + "description": "ListPostureTemplates postureTemplates\nLists all the PostureTemplates available to the user.", + "file": "Client/ListPostureTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostureTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ListPostureTemplates Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostures_sync", - "title": "securityposture ListPostures Sample", - "description": "ListPostures (-- This option restricts the visibility of the API to only projects that\nwill\n(-- be labeled as `PREVIEW` or `GOOGLE_INTERNAL` by the service.\n(-- option (google.api.api_visibility).restriction =\n\"PREVIEW,GOOGLE_INTERNAL\"; Postures Lists Postures in a given organization\nand location. In case a posture has multiple revisions, the latest revision\nas per UpdateTime will be returned.", - "file": "Client/ListPostures/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPostures", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.ListPostures", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostures", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "ListPostures" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.ListPosturesRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.ListPosturesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PostureIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "ListPostures", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostures", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "ListPostures" }, + "description": "ListPostures (-- This option restricts the visibility of the API to only projects that\nwill\n(-- be labeled as `PREVIEW` or `GOOGLE_INTERNAL` by the service.\n(-- option (google.api.api_visibility).restriction =\n\"PREVIEW,GOOGLE_INTERNAL\"; Postures Lists Postures in a given organization\nand location. In case a posture has multiple revisions, the latest revision\nas per UpdateTime will be returned.", + "file": "Client/ListPostures/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_ListPostures_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture ListPostures Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_UpdatePosture_sync", - "title": "securityposture UpdatePosture Sample", - "description": "UpdatePosture updates an existing Posture.\nA new revision of the posture will be created if the revision to be\nupdated is currently deployed on a workload.\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nPosture does not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag\nsupplied in the request does not match the persisted etag of the Posture.\nUpdatable fields are state, description and policy_sets.\nState update operation cannot be clubbed with update of description and\npolicy_sets.\nAn ACTIVE posture can be updated to both DRAFT or DEPRECATED states.\nPostures in DRAFT or DEPRECATED states can only be updated to ACTIVE state.", - "file": "Client/UpdatePosture/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePosture", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.UpdatePosture", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.UpdatePosture", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "UpdatePosture" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.UpdatePostureRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.UpdatePostureRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePostureOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "UpdatePosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.UpdatePosture", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "UpdatePosture" }, + "description": "UpdatePosture updates an existing Posture.\nA new revision of the posture will be created if the revision to be\nupdated is currently deployed on a workload.\nReturns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the\nPosture does not exist.\nReturns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag\nsupplied in the request does not match the persisted etag of the Posture.\nUpdatable fields are state, description and policy_sets.\nState update operation cannot be clubbed with update of description and\npolicy_sets.\nAn ACTIVE posture can be updated to both DRAFT or DEPRECATED states.\nPostures in DRAFT or DEPRECATED states can only be updated to ACTIVE state.", + "file": "Client/UpdatePosture/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_UpdatePosture_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture UpdatePosture Sample" }, { - "regionTag": "securityposture_v1_generated_SecurityPosture_UpdatePostureDeployment_sync", - "title": "securityposture UpdatePostureDeployment Sample", - "description": "UpdatePostureDeployment updates the parameters of a single PostureDeployment.", - "file": "Client/UpdatePostureDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePostureDeployment", + "client": { + "fullName": "google.cloud.securityposture.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.securityposture.v1.Client.UpdatePostureDeployment", + "method": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture.UpdatePostureDeployment", + "service": { + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "shortName": "SecurityPosture" + }, + "shortName": "UpdatePostureDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "securityposturepb.UpdatePostureDeploymentRequest", - "name": "req" + "name": "req", + "type": "securityposturepb.UpdatePostureDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePostureDeploymentOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.securityposture.v1.Client" - }, - "method": { - "shortName": "UpdatePostureDeployment", - "fullName": "google.cloud.securityposture.v1.SecurityPosture.UpdatePostureDeployment", - "service": { - "shortName": "SecurityPosture", - "fullName": "google.cloud.securityposture.v1.SecurityPosture" - } - } + "shortName": "UpdatePostureDeployment" }, + "description": "UpdatePostureDeployment updates the parameters of a single PostureDeployment.", + "file": "Client/UpdatePostureDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "securityposture_v1_generated_SecurityPosture_UpdatePostureDeployment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "securityposture UpdatePostureDeployment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json index 0b07779e852d..b812857b7c9a 100644 --- a/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json +++ b/internal/generated/snippets/servicecontrol/apiv1/snippet_metadata.google.api.servicecontrol.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/servicecontrol/apiv1", - "version": "1.14.6", - "language": "GO", "apis": [ { "id": "google.api.servicecontrol.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/servicecontrol/apiv1", + "version": "1.14.6" }, "snippets": [ { - "regionTag": "servicecontrol_v1_generated_QuotaController_AllocateQuota_sync", - "title": "servicecontrol AllocateQuota Sample", - "description": "AllocateQuota attempts to allocate quota for the specified consumer. It should be called\nbefore the operation is executed.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Cloud IAM](https: //cloud.google.com/iam).\n\n**NOTE: ** The client **must** fail-open on server errors `INTERNAL`,\n`UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system\nreliability, the server may inject these errors to prohibit any hard\ndependency on the quota functionality.", - "file": "QuotaControllerClient/AllocateQuota/main.go", - "language": "GO", "clientMethod": { - "shortName": "AllocateQuota", + "client": { + "fullName": "google.api.servicecontrol.v1.QuotaControllerClient", + "shortName": "QuotaControllerClient" + }, "fullName": "google.api.servicecontrol.v1.QuotaControllerClient.AllocateQuota", + "method": { + "fullName": "google.api.servicecontrol.v1.QuotaController.AllocateQuota", + "service": { + "fullName": "google.api.servicecontrol.v1.QuotaController", + "shortName": "QuotaController" + }, + "shortName": "AllocateQuota" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicecontrolpb.AllocateQuotaRequest", - "name": "req" + "name": "req", + "type": "servicecontrolpb.AllocateQuotaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicecontrolpb.AllocateQuotaResponse", - "client": { - "shortName": "QuotaControllerClient", - "fullName": "google.api.servicecontrol.v1.QuotaControllerClient" - }, - "method": { - "shortName": "AllocateQuota", - "fullName": "google.api.servicecontrol.v1.QuotaController.AllocateQuota", - "service": { - "shortName": "QuotaController", - "fullName": "google.api.servicecontrol.v1.QuotaController" - } - } + "shortName": "AllocateQuota" }, + "description": "AllocateQuota attempts to allocate quota for the specified consumer. It should be called\nbefore the operation is executed.\n\nThis method requires the `servicemanagement.services.quota`\npermission on the specified service. For more information, see\n[Cloud IAM](https: //cloud.google.com/iam).\n\n**NOTE: ** The client **must** fail-open on server errors `INTERNAL`,\n`UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system\nreliability, the server may inject these errors to prohibit any hard\ndependency on the quota functionality.", + "file": "QuotaControllerClient/AllocateQuota/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicecontrol_v1_generated_QuotaController_AllocateQuota_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicecontrol AllocateQuota Sample" }, { - "regionTag": "servicecontrol_v1_generated_ServiceController_Check_sync", - "title": "servicecontrol Check Sample", - "description": "Check checks whether an operation on a service should be allowed to proceed\nbased on the configuration of the service and related policies. It must be\ncalled before the operation is executed.\n\nIf feasible, the client should cache the check results and reuse them for\n60 seconds. In case of any server errors, the client should rely on the\ncached results for much longer time to avoid outage.\nWARNING: There is general 60s delay for the configuration and policy\npropagation, therefore callers MUST NOT depend on the `Check` method having\nthe latest policy information.\n\nNOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has\nthe size limit (wire-format byte size) of 1MB.\n\nThis method requires the `servicemanagement.services.check` permission\non the specified service. For more information, see\n[Cloud IAM](https: //cloud.google.com/iam).", - "file": "ServiceControllerClient/Check/main.go", - "language": "GO", "clientMethod": { - "shortName": "Check", + "client": { + "fullName": "google.api.servicecontrol.v1.ServiceControllerClient", + "shortName": "ServiceControllerClient" + }, "fullName": "google.api.servicecontrol.v1.ServiceControllerClient.Check", + "method": { + "fullName": "google.api.servicecontrol.v1.ServiceController.Check", + "service": { + "fullName": "google.api.servicecontrol.v1.ServiceController", + "shortName": "ServiceController" + }, + "shortName": "Check" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicecontrolpb.CheckRequest", - "name": "req" + "name": "req", + "type": "servicecontrolpb.CheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicecontrolpb.CheckResponse", - "client": { - "shortName": "ServiceControllerClient", - "fullName": "google.api.servicecontrol.v1.ServiceControllerClient" - }, - "method": { - "shortName": "Check", - "fullName": "google.api.servicecontrol.v1.ServiceController.Check", - "service": { - "shortName": "ServiceController", - "fullName": "google.api.servicecontrol.v1.ServiceController" - } - } + "shortName": "Check" }, + "description": "Check checks whether an operation on a service should be allowed to proceed\nbased on the configuration of the service and related policies. It must be\ncalled before the operation is executed.\n\nIf feasible, the client should cache the check results and reuse them for\n60 seconds. In case of any server errors, the client should rely on the\ncached results for much longer time to avoid outage.\nWARNING: There is general 60s delay for the configuration and policy\npropagation, therefore callers MUST NOT depend on the `Check` method having\nthe latest policy information.\n\nNOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has\nthe size limit (wire-format byte size) of 1MB.\n\nThis method requires the `servicemanagement.services.check` permission\non the specified service. For more information, see\n[Cloud IAM](https: //cloud.google.com/iam).", + "file": "ServiceControllerClient/Check/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicecontrol_v1_generated_ServiceController_Check_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicecontrol Check Sample" }, { - "regionTag": "servicecontrol_v1_generated_ServiceController_Report_sync", - "title": "servicecontrol Report Sample", - "description": "Report reports operation results to Google Service Control, such as logs and\nmetrics. It should be called after an operation is completed.\n\nIf feasible, the client should aggregate reporting data for up to 5\nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce data loss during client crashes. Clients should carefully choose\nthe aggregation time window to avoid data loss risk more than 0.01%\nfor business and compliance reasons.\n\nNOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has\nthe size limit (wire-format byte size) of 1MB.\n\nThis method requires the `servicemanagement.services.report` permission\non the specified service. For more information, see\n[Google Cloud IAM](https: //cloud.google.com/iam).", - "file": "ServiceControllerClient/Report/main.go", - "language": "GO", "clientMethod": { - "shortName": "Report", + "client": { + "fullName": "google.api.servicecontrol.v1.ServiceControllerClient", + "shortName": "ServiceControllerClient" + }, "fullName": "google.api.servicecontrol.v1.ServiceControllerClient.Report", + "method": { + "fullName": "google.api.servicecontrol.v1.ServiceController.Report", + "service": { + "fullName": "google.api.servicecontrol.v1.ServiceController", + "shortName": "ServiceController" + }, + "shortName": "Report" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicecontrolpb.ReportRequest", - "name": "req" + "name": "req", + "type": "servicecontrolpb.ReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicecontrolpb.ReportResponse", - "client": { - "shortName": "ServiceControllerClient", - "fullName": "google.api.servicecontrol.v1.ServiceControllerClient" - }, - "method": { - "shortName": "Report", - "fullName": "google.api.servicecontrol.v1.ServiceController.Report", - "service": { - "shortName": "ServiceController", - "fullName": "google.api.servicecontrol.v1.ServiceController" - } - } + "shortName": "Report" }, + "description": "Report reports operation results to Google Service Control, such as logs and\nmetrics. It should be called after an operation is completed.\n\nIf feasible, the client should aggregate reporting data for up to 5\nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce data loss during client crashes. Clients should carefully choose\nthe aggregation time window to avoid data loss risk more than 0.01%\nfor business and compliance reasons.\n\nNOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has\nthe size limit (wire-format byte size) of 1MB.\n\nThis method requires the `servicemanagement.services.report` permission\non the specified service. For more information, see\n[Google Cloud IAM](https: //cloud.google.com/iam).", + "file": "ServiceControllerClient/Report/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicecontrol_v1_generated_ServiceController_Report_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicecontrol Report Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json b/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json index 81e99989533e..734ea7dee399 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json +++ b/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json @@ -1,1070 +1,1070 @@ { "clientLibrary": { - "name": "cloud.google.com/go/servicedirectory/apiv1", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.servicedirectory.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/servicedirectory/apiv1", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "servicedirectory_v1_generated_LookupService_GetLocation_sync", - "title": "servicedirectory GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "LookupClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.servicedirectory.v1.LookupClient", + "shortName": "LookupClient" + }, "fullName": "google.cloud.servicedirectory.v1.LookupClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "LookupClient", - "fullName": "google.cloud.servicedirectory.v1.LookupClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "LookupClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_LookupService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetLocation Sample" }, { - "regionTag": "servicedirectory_v1_generated_LookupService_ListLocations_sync", - "title": "servicedirectory ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "LookupClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.servicedirectory.v1.LookupClient", + "shortName": "LookupClient" + }, "fullName": "google.cloud.servicedirectory.v1.LookupClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "LookupClient", - "fullName": "google.cloud.servicedirectory.v1.LookupClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "LookupClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_LookupService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListLocations Sample" }, { - "regionTag": "servicedirectory_v1_generated_LookupService_ResolveService_sync", - "title": "servicedirectory ResolveService Sample", - "description": "ResolveService returns a [service][google.cloud.servicedirectory.v1.Service] and its\nassociated endpoints.\nResolving a service is not considered an active developer method.", - "file": "LookupClient/ResolveService/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResolveService", + "client": { + "fullName": "google.cloud.servicedirectory.v1.LookupClient", + "shortName": "LookupClient" + }, "fullName": "google.cloud.servicedirectory.v1.LookupClient.ResolveService", + "method": { + "fullName": "google.cloud.servicedirectory.v1.LookupService.ResolveService", + "service": { + "fullName": "google.cloud.servicedirectory.v1.LookupService", + "shortName": "LookupService" + }, + "shortName": "ResolveService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ResolveServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ResolveServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.ResolveServiceResponse", - "client": { - "shortName": "LookupClient", - "fullName": "google.cloud.servicedirectory.v1.LookupClient" - }, - "method": { - "shortName": "ResolveService", - "fullName": "google.cloud.servicedirectory.v1.LookupService.ResolveService", - "service": { - "shortName": "LookupService", - "fullName": "google.cloud.servicedirectory.v1.LookupService" - } - } + "shortName": "ResolveService" }, + "description": "ResolveService returns a [service][google.cloud.servicedirectory.v1.Service] and its\nassociated endpoints.\nResolving a service is not considered an active developer method.", + "file": "LookupClient/ResolveService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_LookupService_ResolveService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ResolveService Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_CreateEndpoint_sync", - "title": "servicedirectory CreateEndpoint Sample", - "description": "CreateEndpoint creates an endpoint, and returns the new endpoint.", - "file": "RegistrationClient/CreateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.CreateEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "CreateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.CreateEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.CreateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Endpoint", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "CreateEndpoint" }, + "description": "CreateEndpoint creates an endpoint, and returns the new endpoint.", + "file": "RegistrationClient/CreateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_CreateEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory CreateEndpoint Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_CreateNamespace_sync", - "title": "servicedirectory CreateNamespace Sample", - "description": "CreateNamespace creates a namespace, and returns the new namespace.", - "file": "RegistrationClient/CreateNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.CreateNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "CreateNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.CreateNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.CreateNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Namespace", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "CreateNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "CreateNamespace" }, + "description": "CreateNamespace creates a namespace, and returns the new namespace.", + "file": "RegistrationClient/CreateNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_CreateNamespace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory CreateNamespace Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_CreateService_sync", - "title": "servicedirectory CreateService Sample", - "description": "CreateService creates a service, and returns the new service.", - "file": "RegistrationClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.CreateService", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateService", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Service", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a service, and returns the new service.", + "file": "RegistrationClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_CreateService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory CreateService Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_sync", - "title": "servicedirectory DeleteEndpoint Sample", - "description": "DeleteEndpoint deletes an endpoint.", - "file": "RegistrationClient/DeleteEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.DeleteEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "DeleteEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.DeleteEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.DeleteEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "DeleteEndpoint" }, + "description": "DeleteEndpoint deletes an endpoint.", + "file": "RegistrationClient/DeleteEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory DeleteEndpoint Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_DeleteNamespace_sync", - "title": "servicedirectory DeleteNamespace Sample", - "description": "DeleteNamespace deletes a namespace. This also deletes all services and endpoints in\nthe namespace.", - "file": "RegistrationClient/DeleteNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.DeleteNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "DeleteNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.DeleteNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.DeleteNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "DeleteNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "DeleteNamespace" }, + "description": "DeleteNamespace deletes a namespace. This also deletes all services and endpoints in\nthe namespace.", + "file": "RegistrationClient/DeleteNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_DeleteNamespace_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory DeleteNamespace Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_DeleteService_sync", - "title": "servicedirectory DeleteService Sample", - "description": "DeleteService deletes a service. This also deletes all endpoints associated with\nthe service.", - "file": "RegistrationClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.DeleteService", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteService", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a service. This also deletes all endpoints associated with\nthe service.", + "file": "RegistrationClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_DeleteService_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory DeleteService Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_GetEndpoint_sync", - "title": "servicedirectory GetEndpoint Sample", - "description": "GetEndpoint gets an endpoint.", - "file": "RegistrationClient/GetEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.GetEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.GetEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.GetEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Endpoint", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "GetEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "GetEndpoint" }, + "description": "GetEndpoint gets an endpoint.", + "file": "RegistrationClient/GetEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_GetEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetEndpoint Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_GetIamPolicy_sync", - "title": "servicedirectory GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM Policy for a resource (namespace or service only).", - "file": "RegistrationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM Policy for a resource (namespace or service only).", + "file": "RegistrationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetIamPolicy Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_GetLocation_sync", - "title": "servicedirectory GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "RegistrationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "RegistrationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetLocation Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_GetNamespace_sync", - "title": "servicedirectory GetNamespace Sample", - "description": "GetNamespace gets a namespace.", - "file": "RegistrationClient/GetNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.GetNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.GetNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.GetNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Namespace", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "GetNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "GetNamespace" }, + "description": "GetNamespace gets a namespace.", + "file": "RegistrationClient/GetNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_GetNamespace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetNamespace Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_GetService_sync", - "title": "servicedirectory GetService Sample", - "description": "GetService gets a service.", - "file": "RegistrationClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.GetService", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetService", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Service", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "GetService" }, + "description": "GetService gets a service.", + "file": "RegistrationClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetService Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_ListEndpoints_sync", - "title": "servicedirectory ListEndpoints Sample", - "description": "ListEndpoints lists all endpoints.", - "file": "RegistrationClient/ListEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEndpoints", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.ListEndpoints", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "ListEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ListEndpointsRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ListEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EndpointIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "ListEndpoints", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "ListEndpoints" }, + "description": "ListEndpoints lists all endpoints.", + "file": "RegistrationClient/ListEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_ListEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListEndpoints Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_ListLocations_sync", - "title": "servicedirectory ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "RegistrationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "RegistrationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListLocations Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_ListNamespaces_sync", - "title": "servicedirectory ListNamespaces Sample", - "description": "ListNamespaces lists all namespaces.", - "file": "RegistrationClient/ListNamespaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNamespaces", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.ListNamespaces", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "ListNamespaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ListNamespacesRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ListNamespacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NamespaceIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "ListNamespaces", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "ListNamespaces" }, + "description": "ListNamespaces lists all namespaces.", + "file": "RegistrationClient/ListNamespaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_ListNamespaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListNamespaces Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_ListServices_sync", - "title": "servicedirectory ListServices Sample", - "description": "ListServices lists all services belonging to a namespace.", - "file": "RegistrationClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.ListServices", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListServices", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListServices", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists all services belonging to a namespace.", + "file": "RegistrationClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListServices Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_SetIamPolicy_sync", - "title": "servicedirectory SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM Policy for a resource (namespace or service only).", - "file": "RegistrationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM Policy for a resource (namespace or service only).", + "file": "RegistrationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory SetIamPolicy Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_TestIamPermissions_sync", - "title": "servicedirectory TestIamPermissions Sample", - "description": "TestIamPermissions tests IAM permissions for a resource (namespace or service only).", - "file": "RegistrationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissions", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissions", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests IAM permissions for a resource (namespace or service only).", + "file": "RegistrationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory TestIamPermissions Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_UpdateEndpoint_sync", - "title": "servicedirectory UpdateEndpoint Sample", - "description": "UpdateEndpoint updates an endpoint.", - "file": "RegistrationClient/UpdateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.UpdateEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "UpdateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.UpdateEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.UpdateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Endpoint", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "UpdateEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "UpdateEndpoint" }, + "description": "UpdateEndpoint updates an endpoint.", + "file": "RegistrationClient/UpdateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_UpdateEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory UpdateEndpoint Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_UpdateNamespace_sync", - "title": "servicedirectory UpdateNamespace Sample", - "description": "UpdateNamespace updates a namespace.", - "file": "RegistrationClient/UpdateNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.UpdateNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "UpdateNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.UpdateNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.UpdateNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Namespace", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "UpdateNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "UpdateNamespace" }, + "description": "UpdateNamespace updates a namespace.", + "file": "RegistrationClient/UpdateNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_UpdateNamespace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory UpdateNamespace Sample" }, { - "regionTag": "servicedirectory_v1_generated_RegistrationService_UpdateService_sync", - "title": "servicedirectory UpdateService Sample", - "description": "UpdateService updates a service.", - "file": "RegistrationClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1.RegistrationClient.UpdateService", + "method": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateService", + "service": { + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Service", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1.RegistrationClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates a service.", + "file": "RegistrationClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1_generated_RegistrationService_UpdateService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory UpdateService Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json b/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json index 4ee5b6fb4af0..bfd716710832 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json @@ -1,1070 +1,1070 @@ { "clientLibrary": { - "name": "cloud.google.com/go/servicedirectory/apiv1beta1", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.servicedirectory.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/servicedirectory/apiv1beta1", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "servicedirectory_v1beta1_generated_LookupService_GetLocation_sync", - "title": "servicedirectory GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "LookupClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient", + "shortName": "LookupClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "LookupClient", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "LookupClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_LookupService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetLocation Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_LookupService_ListLocations_sync", - "title": "servicedirectory ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "LookupClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient", + "shortName": "LookupClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "LookupClient", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "LookupClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_LookupService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListLocations Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_LookupService_ResolveService_sync", - "title": "servicedirectory ResolveService Sample", - "description": "ResolveService returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its\nassociated endpoints.\nResolving a service is not considered an active developer method.", - "file": "LookupClient/ResolveService/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResolveService", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient", + "shortName": "LookupClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient.ResolveService", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.LookupService.ResolveService", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.LookupService", + "shortName": "LookupService" + }, + "shortName": "ResolveService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ResolveServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ResolveServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.ResolveServiceResponse", - "client": { - "shortName": "LookupClient", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupClient" - }, - "method": { - "shortName": "ResolveService", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupService.ResolveService", - "service": { - "shortName": "LookupService", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupService" - } - } + "shortName": "ResolveService" }, + "description": "ResolveService returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its\nassociated endpoints.\nResolving a service is not considered an active developer method.", + "file": "LookupClient/ResolveService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_LookupService_ResolveService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ResolveService Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_CreateEndpoint_sync", - "title": "servicedirectory CreateEndpoint Sample", - "description": "CreateEndpoint creates an endpoint, and returns the new endpoint.", - "file": "RegistrationClient/CreateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.CreateEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "CreateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.CreateEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.CreateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Endpoint", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "CreateEndpoint" }, + "description": "CreateEndpoint creates an endpoint, and returns the new endpoint.", + "file": "RegistrationClient/CreateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_CreateEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory CreateEndpoint Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_CreateNamespace_sync", - "title": "servicedirectory CreateNamespace Sample", - "description": "CreateNamespace creates a namespace, and returns the new namespace.", - "file": "RegistrationClient/CreateNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.CreateNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "CreateNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.CreateNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.CreateNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Namespace", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "CreateNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "CreateNamespace" }, + "description": "CreateNamespace creates a namespace, and returns the new namespace.", + "file": "RegistrationClient/CreateNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_CreateNamespace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory CreateNamespace Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_CreateService_sync", - "title": "servicedirectory CreateService Sample", - "description": "CreateService creates a service, and returns the new service.", - "file": "RegistrationClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.CreateService", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Service", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a service, and returns the new service.", + "file": "RegistrationClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_CreateService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory CreateService Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_DeleteEndpoint_sync", - "title": "servicedirectory DeleteEndpoint Sample", - "description": "DeleteEndpoint deletes an endpoint.", - "file": "RegistrationClient/DeleteEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.DeleteEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "DeleteEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.DeleteEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.DeleteEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "DeleteEndpoint" }, + "description": "DeleteEndpoint deletes an endpoint.", + "file": "RegistrationClient/DeleteEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_DeleteEndpoint_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory DeleteEndpoint Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_DeleteNamespace_sync", - "title": "servicedirectory DeleteNamespace Sample", - "description": "DeleteNamespace deletes a namespace. This also deletes all services and endpoints in\nthe namespace.", - "file": "RegistrationClient/DeleteNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.DeleteNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "DeleteNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.DeleteNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.DeleteNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "DeleteNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "DeleteNamespace" }, + "description": "DeleteNamespace deletes a namespace. This also deletes all services and endpoints in\nthe namespace.", + "file": "RegistrationClient/DeleteNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_DeleteNamespace_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory DeleteNamespace Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_DeleteService_sync", - "title": "servicedirectory DeleteService Sample", - "description": "DeleteService deletes a service. This also deletes all endpoints associated with\nthe service.", - "file": "RegistrationClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.DeleteService", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a service. This also deletes all endpoints associated with\nthe service.", + "file": "RegistrationClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_DeleteService_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory DeleteService Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetEndpoint_sync", - "title": "servicedirectory GetEndpoint Sample", - "description": "GetEndpoint gets an endpoint.", - "file": "RegistrationClient/GetEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.GetEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.GetEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.GetEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Endpoint", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "GetEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "GetEndpoint" }, + "description": "GetEndpoint gets an endpoint.", + "file": "RegistrationClient/GetEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetEndpoint Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetIamPolicy_sync", - "title": "servicedirectory GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM Policy for a resource", - "file": "RegistrationClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.GetIamPolicy", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM Policy for a resource", + "file": "RegistrationClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetIamPolicy Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetLocation_sync", - "title": "servicedirectory GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "RegistrationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "RegistrationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetLocation Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetNamespace_sync", - "title": "servicedirectory GetNamespace Sample", - "description": "GetNamespace gets a namespace.", - "file": "RegistrationClient/GetNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.GetNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.GetNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.GetNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Namespace", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "GetNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "GetNamespace" }, + "description": "GetNamespace gets a namespace.", + "file": "RegistrationClient/GetNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetNamespace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetNamespace Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetService_sync", - "title": "servicedirectory GetService Sample", - "description": "GetService gets a service.", - "file": "RegistrationClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.GetService", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetService", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Service", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "GetService" }, + "description": "GetService gets a service.", + "file": "RegistrationClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory GetService Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListEndpoints_sync", - "title": "servicedirectory ListEndpoints Sample", - "description": "ListEndpoints lists all endpoints.", - "file": "RegistrationClient/ListEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEndpoints", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.ListEndpoints", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "ListEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ListEndpointsRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ListEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EndpointIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "ListEndpoints", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "ListEndpoints" }, + "description": "ListEndpoints lists all endpoints.", + "file": "RegistrationClient/ListEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListEndpoints Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListLocations_sync", - "title": "servicedirectory ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "RegistrationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "RegistrationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListLocations Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListNamespaces_sync", - "title": "servicedirectory ListNamespaces Sample", - "description": "ListNamespaces lists all namespaces.", - "file": "RegistrationClient/ListNamespaces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNamespaces", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.ListNamespaces", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "ListNamespaces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ListNamespacesRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ListNamespacesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NamespaceIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "ListNamespaces", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "ListNamespaces" }, + "description": "ListNamespaces lists all namespaces.", + "file": "RegistrationClient/ListNamespaces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListNamespaces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListNamespaces Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListServices_sync", - "title": "servicedirectory ListServices Sample", - "description": "ListServices lists all services belonging to a namespace.", - "file": "RegistrationClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.ListServices", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists all services belonging to a namespace.", + "file": "RegistrationClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory ListServices Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_SetIamPolicy_sync", - "title": "servicedirectory SetIamPolicy Sample", - "description": "SetIamPolicy sets the IAM Policy for a resource", - "file": "RegistrationClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.SetIamPolicy", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the IAM Policy for a resource", + "file": "RegistrationClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory SetIamPolicy Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_TestIamPermissions_sync", - "title": "servicedirectory TestIamPermissions Sample", - "description": "TestIamPermissions tests IAM permissions for a resource (namespace, service or\nservice workload only).", - "file": "RegistrationClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.TestIamPermissions", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.TestIamPermissions", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.TestIamPermissions", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests IAM permissions for a resource (namespace, service or\nservice workload only).", + "file": "RegistrationClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory TestIamPermissions Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_UpdateEndpoint_sync", - "title": "servicedirectory UpdateEndpoint Sample", - "description": "UpdateEndpoint updates an endpoint.", - "file": "RegistrationClient/UpdateEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEndpoint", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.UpdateEndpoint", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "UpdateEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.UpdateEndpointRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.UpdateEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Endpoint", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "UpdateEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "UpdateEndpoint" }, + "description": "UpdateEndpoint updates an endpoint.", + "file": "RegistrationClient/UpdateEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_UpdateEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory UpdateEndpoint Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_UpdateNamespace_sync", - "title": "servicedirectory UpdateNamespace Sample", - "description": "UpdateNamespace updates a namespace.", - "file": "RegistrationClient/UpdateNamespace/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNamespace", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.UpdateNamespace", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "UpdateNamespace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.UpdateNamespaceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.UpdateNamespaceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Namespace", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "UpdateNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "UpdateNamespace" }, + "description": "UpdateNamespace updates a namespace.", + "file": "RegistrationClient/UpdateNamespace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_UpdateNamespace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory UpdateNamespace Sample" }, { - "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_UpdateService_sync", - "title": "servicedirectory UpdateService Sample", - "description": "UpdateService updates a service.", - "file": "RegistrationClient/UpdateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateService", + "client": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient", + "shortName": "RegistrationClient" + }, "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient.UpdateService", + "method": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService", + "service": { + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "shortName": "RegistrationService" + }, + "shortName": "UpdateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicedirectorypb.UpdateServiceRequest", - "name": "req" + "name": "req", + "type": "servicedirectorypb.UpdateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicedirectorypb.Service", - "client": { - "shortName": "RegistrationClient", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationClient" - }, - "method": { - "shortName": "UpdateService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService", - "service": { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService" - } - } + "shortName": "UpdateService" }, + "description": "UpdateService updates a service.", + "file": "RegistrationClient/UpdateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicedirectory_v1beta1_generated_RegistrationService_UpdateService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicedirectory UpdateService Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json b/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json index 3c6bb99fbb71..b732af51fa61 100644 --- a/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json +++ b/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json @@ -1,383 +1,383 @@ { "clientLibrary": { - "name": "cloud.google.com/go/servicehealth/apiv1", - "version": "1.2.4", - "language": "GO", "apis": [ { "id": "google.cloud.servicehealth.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/servicehealth/apiv1", + "version": "1.2.4" }, "snippets": [ { - "regionTag": "servicehealth_v1_generated_ServiceHealth_GetEvent_sync", - "title": "servicehealth GetEvent Sample", - "description": "GetEvent retrieves a resource containing information about an event.", - "file": "Client/GetEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvent", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.GetEvent", + "method": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetEvent", + "service": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", + "shortName": "ServiceHealth" + }, + "shortName": "GetEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicehealthpb.GetEventRequest", - "name": "req" + "name": "req", + "type": "servicehealthpb.GetEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicehealthpb.Event", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "GetEvent", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetEvent", - "service": { - "shortName": "ServiceHealth", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth" - } - } + "shortName": "GetEvent" }, + "description": "GetEvent retrieves a resource containing information about an event.", + "file": "Client/GetEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_GetEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth GetEvent Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_GetLocation_sync", - "title": "servicehealth GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth GetLocation Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_GetOrganizationEvent_sync", - "title": "servicehealth GetOrganizationEvent Sample", - "description": "GetOrganizationEvent retrieves a resource containing information about an event affecting an\norganization .", - "file": "Client/GetOrganizationEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganizationEvent", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.GetOrganizationEvent", + "method": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetOrganizationEvent", + "service": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", + "shortName": "ServiceHealth" + }, + "shortName": "GetOrganizationEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicehealthpb.GetOrganizationEventRequest", - "name": "req" + "name": "req", + "type": "servicehealthpb.GetOrganizationEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicehealthpb.OrganizationEvent", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "GetOrganizationEvent", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetOrganizationEvent", - "service": { - "shortName": "ServiceHealth", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth" - } - } + "shortName": "GetOrganizationEvent" }, + "description": "GetOrganizationEvent retrieves a resource containing information about an event affecting an\norganization .", + "file": "Client/GetOrganizationEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_GetOrganizationEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth GetOrganizationEvent Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_GetOrganizationImpact_sync", - "title": "servicehealth GetOrganizationImpact Sample", - "description": "GetOrganizationImpact retrieves a resource containing information about impact to an asset under\nan organization affected by a service health event.", - "file": "Client/GetOrganizationImpact/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganizationImpact", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.GetOrganizationImpact", + "method": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetOrganizationImpact", + "service": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", + "shortName": "ServiceHealth" + }, + "shortName": "GetOrganizationImpact" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicehealthpb.GetOrganizationImpactRequest", - "name": "req" + "name": "req", + "type": "servicehealthpb.GetOrganizationImpactRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicehealthpb.OrganizationImpact", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "GetOrganizationImpact", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetOrganizationImpact", - "service": { - "shortName": "ServiceHealth", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth" - } - } + "shortName": "GetOrganizationImpact" }, + "description": "GetOrganizationImpact retrieves a resource containing information about impact to an asset under\nan organization affected by a service health event.", + "file": "Client/GetOrganizationImpact/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_GetOrganizationImpact_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth GetOrganizationImpact Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_ListEvents_sync", - "title": "servicehealth ListEvents Sample", - "description": "ListEvents lists events under a given project and location.", - "file": "Client/ListEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvents", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.ListEvents", + "method": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListEvents", + "service": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", + "shortName": "ServiceHealth" + }, + "shortName": "ListEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicehealthpb.ListEventsRequest", - "name": "req" + "name": "req", + "type": "servicehealthpb.ListEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "ListEvents", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListEvents", - "service": { - "shortName": "ServiceHealth", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth" - } - } + "shortName": "ListEvents" }, + "description": "ListEvents lists events under a given project and location.", + "file": "Client/ListEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_ListEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth ListEvents Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_ListLocations_sync", - "title": "servicehealth ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth ListLocations Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_ListOrganizationEvents_sync", - "title": "servicehealth ListOrganizationEvents Sample", - "description": "ListOrganizationEvents lists organization events under a given organization and location.", - "file": "Client/ListOrganizationEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrganizationEvents", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.ListOrganizationEvents", + "method": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListOrganizationEvents", + "service": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", + "shortName": "ServiceHealth" + }, + "shortName": "ListOrganizationEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicehealthpb.ListOrganizationEventsRequest", - "name": "req" + "name": "req", + "type": "servicehealthpb.ListOrganizationEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrganizationEventIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "ListOrganizationEvents", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListOrganizationEvents", - "service": { - "shortName": "ServiceHealth", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth" - } - } + "shortName": "ListOrganizationEvents" }, + "description": "ListOrganizationEvents lists organization events under a given organization and location.", + "file": "Client/ListOrganizationEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_ListOrganizationEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth ListOrganizationEvents Sample" }, { - "regionTag": "servicehealth_v1_generated_ServiceHealth_ListOrganizationImpacts_sync", - "title": "servicehealth ListOrganizationImpacts Sample", - "description": "ListOrganizationImpacts lists assets impacted by organization events under a given organization and\nlocation.", - "file": "Client/ListOrganizationImpacts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrganizationImpacts", + "client": { + "fullName": "google.cloud.servicehealth.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.servicehealth.v1.Client.ListOrganizationImpacts", + "method": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListOrganizationImpacts", + "service": { + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", + "shortName": "ServiceHealth" + }, + "shortName": "ListOrganizationImpacts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicehealthpb.ListOrganizationImpactsRequest", - "name": "req" + "name": "req", + "type": "servicehealthpb.ListOrganizationImpactsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrganizationImpactIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.servicehealth.v1.Client" - }, - "method": { - "shortName": "ListOrganizationImpacts", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListOrganizationImpacts", - "service": { - "shortName": "ServiceHealth", - "fullName": "google.cloud.servicehealth.v1.ServiceHealth" - } - } + "shortName": "ListOrganizationImpacts" }, + "description": "ListOrganizationImpacts lists assets impacted by organization events under a given organization and\nlocation.", + "file": "Client/ListOrganizationImpacts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicehealth_v1_generated_ServiceHealth_ListOrganizationImpacts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicehealth ListOrganizationImpacts Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json b/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json index 7e73f60e9806..c2d2678719a7 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json +++ b/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json @@ -1,797 +1,797 @@ { "clientLibrary": { - "name": "cloud.google.com/go/servicemanagement/apiv1", - "version": "1.10.7", - "language": "GO", "apis": [ { "id": "google.api.servicemanagement.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/servicemanagement/apiv1", + "version": "1.10.7" }, "snippets": [ { - "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateService_sync", - "title": "servicemanagement CreateService Sample", - "description": "CreateService creates a new managed service.\n\nA managed service is immutable, and is subject to mandatory 30-day\ndata retention. You cannot move a service or recreate it within 30 days\nafter deletion.\n\nOne producer project can own no more than 500 services. For security and\nreliability purposes, a production service should be hosted in a\ndedicated producer project.\n\nOperation", - "file": "ServiceManagerClient/CreateService/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateService", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.CreateService", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateService", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "CreateService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.CreateServiceRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.CreateServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceOperation", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "CreateService", - "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateService", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "CreateService" }, + "description": "CreateService creates a new managed service.\n\nA managed service is immutable, and is subject to mandatory 30-day\ndata retention. You cannot move a service or recreate it within 30 days\nafter deletion.\n\nOne producer project can own no more than 500 services. For security and\nreliability purposes, a production service should be hosted in a\ndedicated producer project.\n\nOperation", + "file": "ServiceManagerClient/CreateService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement CreateService Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateServiceConfig_sync", - "title": "servicemanagement CreateServiceConfig Sample", - "description": "CreateServiceConfig creates a new service configuration (version) for a managed service.\nThis method only stores the service configuration. To roll out the service\nconfiguration to backend systems please call\n[CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].\n\nOnly the 100 most recent service configurations and ones referenced by\nexisting rollouts are kept for each service. The rest will be deleted\neventually.", - "file": "ServiceManagerClient/CreateServiceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceConfig", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.CreateServiceConfig", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "CreateServiceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.CreateServiceConfigRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.CreateServiceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*serviceconfigpb.Service", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "CreateServiceConfig", - "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "CreateServiceConfig" }, + "description": "CreateServiceConfig creates a new service configuration (version) for a managed service.\nThis method only stores the service configuration. To roll out the service\nconfiguration to backend systems please call\n[CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].\n\nOnly the 100 most recent service configurations and ones referenced by\nexisting rollouts are kept for each service. The rest will be deleted\neventually.", + "file": "ServiceManagerClient/CreateServiceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateServiceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement CreateServiceConfig Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateServiceRollout_sync", - "title": "servicemanagement CreateServiceRollout Sample", - "description": "CreateServiceRollout creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the service configurations to\ndifferent backend services. For example, the logging configuration will be\npushed to Google Cloud Logging.\n\nPlease note that any previous pending and running Rollouts and associated\nOperations will be automatically cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts.\n\nOnly the 100 most recent (in any state) and the last 10 successful (if not\nalready part of the set of 100 most recent) rollouts are kept for each\nservice. The rest will be deleted eventually.\n\nOperation", - "file": "ServiceManagerClient/CreateServiceRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateServiceRollout", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.CreateServiceRollout", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "CreateServiceRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.CreateServiceRolloutRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.CreateServiceRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateServiceRolloutOperation", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "CreateServiceRollout", - "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "CreateServiceRollout" }, + "description": "CreateServiceRollout creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the service configurations to\ndifferent backend services. For example, the logging configuration will be\npushed to Google Cloud Logging.\n\nPlease note that any previous pending and running Rollouts and associated\nOperations will be automatically cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts.\n\nOnly the 100 most recent (in any state) and the last 10 successful (if not\nalready part of the set of 100 most recent) rollouts are kept for each\nservice. The rest will be deleted eventually.\n\nOperation", + "file": "ServiceManagerClient/CreateServiceRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateServiceRollout_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement CreateServiceRollout Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_DeleteService_sync", - "title": "servicemanagement DeleteService Sample", - "description": "DeleteService deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall\n[UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]\nto restore the service. After 30 days, the service will be permanently\ndeleted.\n\nOperation", - "file": "ServiceManagerClient/DeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteService", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.DeleteService", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.DeleteService", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "DeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.DeleteServiceRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.DeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteServiceOperation", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "DeleteService", - "fullName": "google.api.servicemanagement.v1.ServiceManager.DeleteService", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "DeleteService" }, + "description": "DeleteService deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall\n[UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]\nto restore the service. After 30 days, the service will be permanently\ndeleted.\n\nOperation", + "file": "ServiceManagerClient/DeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_DeleteService_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement DeleteService Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_GenerateConfigReport_sync", - "title": "servicemanagement GenerateConfigReport Sample", - "description": "GenerateConfigReport generates and returns a report (errors, warnings and changes from\nexisting configurations) associated with\nGenerateConfigReportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified,\nGenerateConfigReportRequest will contain a single ChangeReport based on the\ncomparison between GenerateConfigReportRequest.new_value and\nGenerateConfigReportRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pushed\nservice configuration.", - "file": "ServiceManagerClient/GenerateConfigReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateConfigReport", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GenerateConfigReport", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.GenerateConfigReport", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "GenerateConfigReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.GenerateConfigReportRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.GenerateConfigReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicemanagementpb.GenerateConfigReportResponse", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "GenerateConfigReport", - "fullName": "google.api.servicemanagement.v1.ServiceManager.GenerateConfigReport", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "GenerateConfigReport" }, + "description": "GenerateConfigReport generates and returns a report (errors, warnings and changes from\nexisting configurations) associated with\nGenerateConfigReportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified,\nGenerateConfigReportRequest will contain a single ChangeReport based on the\ncomparison between GenerateConfigReportRequest.new_value and\nGenerateConfigReportRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pushed\nservice configuration.", + "file": "ServiceManagerClient/GenerateConfigReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_GenerateConfigReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement GenerateConfigReport Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_GetIamPolicy_sync", - "title": "servicemanagement 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": "ServiceManagerClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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": "ServiceManagerClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement GetIamPolicy Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_GetService_sync", - "title": "servicemanagement GetService Sample", - "description": "GetService gets a managed service. Authentication is required unless the service is\npublic.", - "file": "ServiceManagerClient/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetService", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.GetService", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicemanagementpb.ManagedService", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "GetService", - "fullName": "google.api.servicemanagement.v1.ServiceManager.GetService", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "GetService" }, + "description": "GetService gets a managed service. Authentication is required unless the service is\npublic.", + "file": "ServiceManagerClient/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement GetService Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_GetServiceConfig_sync", - "title": "servicemanagement GetServiceConfig Sample", - "description": "GetServiceConfig gets a service configuration (version) for a managed service.", - "file": "ServiceManagerClient/GetServiceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceConfig", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetServiceConfig", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceConfig", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "GetServiceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.GetServiceConfigRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.GetServiceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*serviceconfigpb.Service", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "GetServiceConfig", - "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceConfig", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "GetServiceConfig" }, + "description": "GetServiceConfig gets a service configuration (version) for a managed service.", + "file": "ServiceManagerClient/GetServiceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_GetServiceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement GetServiceConfig Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_GetServiceRollout_sync", - "title": "servicemanagement GetServiceRollout Sample", - "description": "GetServiceRollout gets a service configuration\n[rollout][google.api.servicemanagement.v1.Rollout].", - "file": "ServiceManagerClient/GetServiceRollout/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetServiceRollout", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetServiceRollout", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceRollout", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "GetServiceRollout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.GetServiceRolloutRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.GetServiceRolloutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*servicemanagementpb.Rollout", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "GetServiceRollout", - "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceRollout", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "GetServiceRollout" }, + "description": "GetServiceRollout gets a service configuration\n[rollout][google.api.servicemanagement.v1.Rollout].", + "file": "ServiceManagerClient/GetServiceRollout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_GetServiceRollout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement GetServiceRollout Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_ListOperations_sync", - "title": "servicemanagement ListOperations Sample", - "description": "ListOperations lists service operations that match the specified filter in the request.", - "file": "ServiceManagerClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations lists service operations that match the specified filter in the request.", + "file": "ServiceManagerClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement ListOperations Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServiceConfigs_sync", - "title": "servicemanagement ListServiceConfigs Sample", - "description": "ListServiceConfigs lists the history of the service configuration for a managed service,\nfrom the newest to the oldest.", - "file": "ServiceManagerClient/ListServiceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceConfigs", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListServiceConfigs", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceConfigs", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "ListServiceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.ListServiceConfigsRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.ListServiceConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "ListServiceConfigs", - "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceConfigs", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "ListServiceConfigs" }, + "description": "ListServiceConfigs lists the history of the service configuration for a managed service,\nfrom the newest to the oldest.", + "file": "ServiceManagerClient/ListServiceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServiceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement ListServiceConfigs Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServiceRollouts_sync", - "title": "servicemanagement ListServiceRollouts Sample", - "description": "ListServiceRollouts lists the history of the service configuration rollouts for a managed\nservice, from the newest to the oldest.", - "file": "ServiceManagerClient/ListServiceRollouts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServiceRollouts", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListServiceRollouts", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceRollouts", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "ListServiceRollouts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.ListServiceRolloutsRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.ListServiceRolloutsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RolloutIterator", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "ListServiceRollouts", - "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceRollouts", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "ListServiceRollouts" }, + "description": "ListServiceRollouts lists the history of the service configuration rollouts for a managed\nservice, from the newest to the oldest.", + "file": "ServiceManagerClient/ListServiceRollouts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServiceRollouts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement ListServiceRollouts Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServices_sync", - "title": "servicemanagement ListServices Sample", - "description": "ListServices lists managed services.\n\nReturns all public services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.", - "file": "ServiceManagerClient/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListServices", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServices", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagedServiceIterator", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServices", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "ListServices" }, + "description": "ListServices lists managed services.\n\nReturns all public services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.", + "file": "ServiceManagerClient/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement ListServices Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_SetIamPolicy_sync", - "title": "servicemanagement 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": "ServiceManagerClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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": "ServiceManagerClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement SetIamPolicy Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_SubmitConfigSource_sync", - "title": "servicemanagement SubmitConfigSource Sample", - "description": "SubmitConfigSource creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source files (for example: OpenAPI\nSpecification). This method stores the source configurations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call\n[CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].\n\nOnly the 100 most recent configuration sources and ones referenced by\nexisting service configurtions are kept for each service. The rest will be\ndeleted eventually.\n\nOperation", - "file": "ServiceManagerClient/SubmitConfigSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitConfigSource", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.SubmitConfigSource", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.SubmitConfigSource", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "SubmitConfigSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.SubmitConfigSourceRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.SubmitConfigSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubmitConfigSourceOperation", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "SubmitConfigSource", - "fullName": "google.api.servicemanagement.v1.ServiceManager.SubmitConfigSource", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "SubmitConfigSource" }, + "description": "SubmitConfigSource creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source files (for example: OpenAPI\nSpecification). This method stores the source configurations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call\n[CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].\n\nOnly the 100 most recent configuration sources and ones referenced by\nexisting service configurtions are kept for each service. The rest will be\ndeleted eventually.\n\nOperation", + "file": "ServiceManagerClient/SubmitConfigSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_SubmitConfigSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement SubmitConfigSource Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_TestIamPermissions_sync", - "title": "servicemanagement 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": "ServiceManagerClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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": "ServiceManagerClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement TestIamPermissions Sample" }, { - "regionTag": "servicemanagement_v1_generated_ServiceManager_UndeleteService_sync", - "title": "servicemanagement UndeleteService Sample", - "description": "UndeleteService revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation", - "file": "ServiceManagerClient/UndeleteService/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteService", + "client": { + "fullName": "google.api.servicemanagement.v1.ServiceManagerClient", + "shortName": "ServiceManagerClient" + }, "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.UndeleteService", + "method": { + "fullName": "google.api.servicemanagement.v1.ServiceManager.UndeleteService", + "service": { + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "shortName": "ServiceManager" + }, + "shortName": "UndeleteService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "servicemanagementpb.UndeleteServiceRequest", - "name": "req" + "name": "req", + "type": "servicemanagementpb.UndeleteServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteServiceOperation", - "client": { - "shortName": "ServiceManagerClient", - "fullName": "google.api.servicemanagement.v1.ServiceManagerClient" - }, - "method": { - "shortName": "UndeleteService", - "fullName": "google.api.servicemanagement.v1.ServiceManager.UndeleteService", - "service": { - "shortName": "ServiceManager", - "fullName": "google.api.servicemanagement.v1.ServiceManager" - } - } + "shortName": "UndeleteService" }, + "description": "UndeleteService revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation", + "file": "ServiceManagerClient/UndeleteService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "servicemanagement_v1_generated_ServiceManager_UndeleteService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "servicemanagement UndeleteService Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json b/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json index c4f7b5f3383a..c67e52eb74a2 100644 --- a/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json +++ b/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json @@ -1,383 +1,383 @@ { "clientLibrary": { - "name": "cloud.google.com/go/serviceusage/apiv1", - "version": "1.9.7", - "language": "GO", "apis": [ { "id": "google.api.serviceusage.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/serviceusage/apiv1", + "version": "1.9.7" }, "snippets": [ { - "regionTag": "serviceusage_v1_generated_ServiceUsage_BatchEnableServices_sync", - "title": "serviceusage BatchEnableServices Sample", - "description": "BatchEnableServices enable multiple services on a project. The operation is atomic: if enabling\nany service fails, then the entire batch fails, and no state changes occur.\nTo enable a single service, use the `EnableService` method instead.", - "file": "Client/BatchEnableServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchEnableServices", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.BatchEnableServices", + "method": { + "fullName": "google.api.serviceusage.v1.ServiceUsage.BatchEnableServices", + "service": { + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "shortName": "ServiceUsage" + }, + "shortName": "BatchEnableServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "serviceusagepb.BatchEnableServicesRequest", - "name": "req" + "name": "req", + "type": "serviceusagepb.BatchEnableServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchEnableServicesOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "BatchEnableServices", - "fullName": "google.api.serviceusage.v1.ServiceUsage.BatchEnableServices", - "service": { - "shortName": "ServiceUsage", - "fullName": "google.api.serviceusage.v1.ServiceUsage" - } - } + "shortName": "BatchEnableServices" }, + "description": "BatchEnableServices enable multiple services on a project. The operation is atomic: if enabling\nany service fails, then the entire batch fails, and no state changes occur.\nTo enable a single service, use the `EnableService` method instead.", + "file": "Client/BatchEnableServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_BatchEnableServices_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage BatchEnableServices Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_BatchGetServices_sync", - "title": "serviceusage BatchGetServices Sample", - "description": "BatchGetServices returns the service configurations and enabled states for a given list of\nservices.", - "file": "Client/BatchGetServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetServices", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.BatchGetServices", + "method": { + "fullName": "google.api.serviceusage.v1.ServiceUsage.BatchGetServices", + "service": { + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "shortName": "ServiceUsage" + }, + "shortName": "BatchGetServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "serviceusagepb.BatchGetServicesRequest", - "name": "req" + "name": "req", + "type": "serviceusagepb.BatchGetServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*serviceusagepb.BatchGetServicesResponse", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "BatchGetServices", - "fullName": "google.api.serviceusage.v1.ServiceUsage.BatchGetServices", - "service": { - "shortName": "ServiceUsage", - "fullName": "google.api.serviceusage.v1.ServiceUsage" - } - } + "shortName": "BatchGetServices" }, + "description": "BatchGetServices returns the service configurations and enabled states for a given list of\nservices.", + "file": "Client/BatchGetServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_BatchGetServices_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage BatchGetServices Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_DisableService_sync", - "title": "serviceusage DisableService Sample", - "description": "DisableService disable a service so that it can no longer be used with a project.\nThis prevents unintended usage that may cause unexpected billing\ncharges or security leaks.\n\nIt is not valid to call the disable method on a service that is not\ncurrently enabled. Callers will receive a `FAILED_PRECONDITION` status if\nthe target service is not currently enabled.", - "file": "Client/DisableService/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableService", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.DisableService", + "method": { + "fullName": "google.api.serviceusage.v1.ServiceUsage.DisableService", + "service": { + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "shortName": "ServiceUsage" + }, + "shortName": "DisableService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "serviceusagepb.DisableServiceRequest", - "name": "req" + "name": "req", + "type": "serviceusagepb.DisableServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DisableServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "DisableService", - "fullName": "google.api.serviceusage.v1.ServiceUsage.DisableService", - "service": { - "shortName": "ServiceUsage", - "fullName": "google.api.serviceusage.v1.ServiceUsage" - } - } + "shortName": "DisableService" }, + "description": "DisableService disable a service so that it can no longer be used with a project.\nThis prevents unintended usage that may cause unexpected billing\ncharges or security leaks.\n\nIt is not valid to call the disable method on a service that is not\ncurrently enabled. Callers will receive a `FAILED_PRECONDITION` status if\nthe target service is not currently enabled.", + "file": "Client/DisableService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_DisableService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage DisableService Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_EnableService_sync", - "title": "serviceusage EnableService Sample", - "description": "EnableService enable a service so that it can be used with a project.", - "file": "Client/EnableService/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableService", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.EnableService", + "method": { + "fullName": "google.api.serviceusage.v1.ServiceUsage.EnableService", + "service": { + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "shortName": "ServiceUsage" + }, + "shortName": "EnableService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "serviceusagepb.EnableServiceRequest", - "name": "req" + "name": "req", + "type": "serviceusagepb.EnableServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EnableServiceOperation", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "EnableService", - "fullName": "google.api.serviceusage.v1.ServiceUsage.EnableService", - "service": { - "shortName": "ServiceUsage", - "fullName": "google.api.serviceusage.v1.ServiceUsage" - } - } + "shortName": "EnableService" }, + "description": "EnableService enable a service so that it can be used with a project.", + "file": "Client/EnableService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_EnableService_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage EnableService Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_GetOperation_sync", - "title": "serviceusage GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage GetOperation Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_GetService_sync", - "title": "serviceusage GetService Sample", - "description": "GetService returns the service configuration and enabled state for a given service.", - "file": "Client/GetService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetService", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.GetService", + "method": { + "fullName": "google.api.serviceusage.v1.ServiceUsage.GetService", + "service": { + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "shortName": "ServiceUsage" + }, + "shortName": "GetService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "serviceusagepb.GetServiceRequest", - "name": "req" + "name": "req", + "type": "serviceusagepb.GetServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*serviceusagepb.Service", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "GetService", - "fullName": "google.api.serviceusage.v1.ServiceUsage.GetService", - "service": { - "shortName": "ServiceUsage", - "fullName": "google.api.serviceusage.v1.ServiceUsage" - } - } + "shortName": "GetService" }, + "description": "GetService returns the service configuration and enabled state for a given service.", + "file": "Client/GetService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_GetService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage GetService Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_ListOperations_sync", - "title": "serviceusage ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage ListOperations Sample" }, { - "regionTag": "serviceusage_v1_generated_ServiceUsage_ListServices_sync", - "title": "serviceusage ListServices Sample", - "description": "ListServices list all services available to the specified project, and the current\nstate of those services with respect to the project. The list includes\nall public services, all services for which the calling user has the\n`servicemanagement.services.bind` permission, and all services that have\nalready been enabled on the project. The list can be filtered to\nonly include services in a specific state, for example to only include\nservices enabled on the project.\n\nWARNING: If you need to query enabled services frequently or across\nan organization, you should use\n[Cloud Asset Inventory\nAPI](https: //cloud.google.com/asset-inventory/docs/apis), which provides\nhigher throughput and richer filtering capability.", - "file": "Client/ListServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListServices", + "client": { + "fullName": "google.api.serviceusage.v1.Client", + "shortName": "Client" + }, "fullName": "google.api.serviceusage.v1.Client.ListServices", + "method": { + "fullName": "google.api.serviceusage.v1.ServiceUsage.ListServices", + "service": { + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "shortName": "ServiceUsage" + }, + "shortName": "ListServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "serviceusagepb.ListServicesRequest", - "name": "req" + "name": "req", + "type": "serviceusagepb.ListServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ServiceIterator", - "client": { - "shortName": "Client", - "fullName": "google.api.serviceusage.v1.Client" - }, - "method": { - "shortName": "ListServices", - "fullName": "google.api.serviceusage.v1.ServiceUsage.ListServices", - "service": { - "shortName": "ServiceUsage", - "fullName": "google.api.serviceusage.v1.ServiceUsage" - } - } + "shortName": "ListServices" }, + "description": "ListServices list all services available to the specified project, and the current\nstate of those services with respect to the project. The list includes\nall public services, all services for which the calling user has the\n`servicemanagement.services.bind` permission, and all services that have\nalready been enabled on the project. The list can be filtered to\nonly include services in a specific state, for example to only include\nservices enabled on the project.\n\nWARNING: If you need to query enabled services frequently or across\nan organization, you should use\n[Cloud Asset Inventory\nAPI](https: //cloud.google.com/asset-inventory/docs/apis), which provides\nhigher throughput and richer filtering capability.", + "file": "Client/ListServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "serviceusage_v1_generated_ServiceUsage_ListServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "serviceusage ListServices Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json index b5851bfa09e9..e02c70587750 100644 --- a/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json +++ b/internal/generated/snippets/shell/apiv1/snippet_metadata.google.cloud.shell.v1.json @@ -1,245 +1,245 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shell/apiv1", - "version": "1.8.7", - "language": "GO", "apis": [ { "id": "google.cloud.shell.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shell/apiv1", + "version": "1.8.7" }, "snippets": [ { - "regionTag": "cloudshell_v1_generated_CloudShellService_AddPublicKey_sync", - "title": "cloudshell AddPublicKey Sample", - "description": "AddPublicKey adds a public SSH key to an environment, allowing clients with the\ncorresponding private key to connect to that environment via SSH. If a key\nwith the same content already exists, this will error with ALREADY_EXISTS.", - "file": "CloudShellClient/AddPublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddPublicKey", + "client": { + "fullName": "google.cloud.shell.v1.CloudShellClient", + "shortName": "CloudShellClient" + }, "fullName": "google.cloud.shell.v1.CloudShellClient.AddPublicKey", + "method": { + "fullName": "google.cloud.shell.v1.CloudShellService.AddPublicKey", + "service": { + "fullName": "google.cloud.shell.v1.CloudShellService", + "shortName": "CloudShellService" + }, + "shortName": "AddPublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "shellpb.AddPublicKeyRequest", - "name": "req" + "name": "req", + "type": "shellpb.AddPublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddPublicKeyOperation", - "client": { - "shortName": "CloudShellClient", - "fullName": "google.cloud.shell.v1.CloudShellClient" - }, - "method": { - "shortName": "AddPublicKey", - "fullName": "google.cloud.shell.v1.CloudShellService.AddPublicKey", - "service": { - "shortName": "CloudShellService", - "fullName": "google.cloud.shell.v1.CloudShellService" - } - } + "shortName": "AddPublicKey" }, + "description": "AddPublicKey adds a public SSH key to an environment, allowing clients with the\ncorresponding private key to connect to that environment via SSH. If a key\nwith the same content already exists, this will error with ALREADY_EXISTS.", + "file": "CloudShellClient/AddPublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudshell_v1_generated_CloudShellService_AddPublicKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudshell AddPublicKey Sample" }, { - "regionTag": "cloudshell_v1_generated_CloudShellService_AuthorizeEnvironment_sync", - "title": "cloudshell AuthorizeEnvironment Sample", - "description": "AuthorizeEnvironment sends OAuth credentials to a running environment on behalf of a user. When\nthis completes, the environment will be authorized to run various Google\nCloud command line tools without requiring the user to manually\nauthenticate.", - "file": "CloudShellClient/AuthorizeEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "AuthorizeEnvironment", + "client": { + "fullName": "google.cloud.shell.v1.CloudShellClient", + "shortName": "CloudShellClient" + }, "fullName": "google.cloud.shell.v1.CloudShellClient.AuthorizeEnvironment", + "method": { + "fullName": "google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment", + "service": { + "fullName": "google.cloud.shell.v1.CloudShellService", + "shortName": "CloudShellService" + }, + "shortName": "AuthorizeEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "shellpb.AuthorizeEnvironmentRequest", - "name": "req" + "name": "req", + "type": "shellpb.AuthorizeEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AuthorizeEnvironmentOperation", - "client": { - "shortName": "CloudShellClient", - "fullName": "google.cloud.shell.v1.CloudShellClient" - }, - "method": { - "shortName": "AuthorizeEnvironment", - "fullName": "google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment", - "service": { - "shortName": "CloudShellService", - "fullName": "google.cloud.shell.v1.CloudShellService" - } - } + "shortName": "AuthorizeEnvironment" }, + "description": "AuthorizeEnvironment sends OAuth credentials to a running environment on behalf of a user. When\nthis completes, the environment will be authorized to run various Google\nCloud command line tools without requiring the user to manually\nauthenticate.", + "file": "CloudShellClient/AuthorizeEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudshell_v1_generated_CloudShellService_AuthorizeEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudshell AuthorizeEnvironment Sample" }, { - "regionTag": "cloudshell_v1_generated_CloudShellService_GetEnvironment_sync", - "title": "cloudshell GetEnvironment Sample", - "description": "GetEnvironment gets an environment. Returns NOT_FOUND if the environment does not exist.", - "file": "CloudShellClient/GetEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEnvironment", + "client": { + "fullName": "google.cloud.shell.v1.CloudShellClient", + "shortName": "CloudShellClient" + }, "fullName": "google.cloud.shell.v1.CloudShellClient.GetEnvironment", + "method": { + "fullName": "google.cloud.shell.v1.CloudShellService.GetEnvironment", + "service": { + "fullName": "google.cloud.shell.v1.CloudShellService", + "shortName": "CloudShellService" + }, + "shortName": "GetEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "shellpb.GetEnvironmentRequest", - "name": "req" + "name": "req", + "type": "shellpb.GetEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*shellpb.Environment", - "client": { - "shortName": "CloudShellClient", - "fullName": "google.cloud.shell.v1.CloudShellClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.shell.v1.CloudShellService.GetEnvironment", - "service": { - "shortName": "CloudShellService", - "fullName": "google.cloud.shell.v1.CloudShellService" - } - } + "shortName": "GetEnvironment" }, + "description": "GetEnvironment gets an environment. Returns NOT_FOUND if the environment does not exist.", + "file": "CloudShellClient/GetEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudshell_v1_generated_CloudShellService_GetEnvironment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudshell GetEnvironment Sample" }, { - "regionTag": "cloudshell_v1_generated_CloudShellService_RemovePublicKey_sync", - "title": "cloudshell RemovePublicKey Sample", - "description": "RemovePublicKey removes a public SSH key from an environment. Clients will no longer be\nable to connect to the environment using the corresponding private key.\nIf a key with the same content is not present, this will error with\nNOT_FOUND.", - "file": "CloudShellClient/RemovePublicKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemovePublicKey", + "client": { + "fullName": "google.cloud.shell.v1.CloudShellClient", + "shortName": "CloudShellClient" + }, "fullName": "google.cloud.shell.v1.CloudShellClient.RemovePublicKey", + "method": { + "fullName": "google.cloud.shell.v1.CloudShellService.RemovePublicKey", + "service": { + "fullName": "google.cloud.shell.v1.CloudShellService", + "shortName": "CloudShellService" + }, + "shortName": "RemovePublicKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "shellpb.RemovePublicKeyRequest", - "name": "req" + "name": "req", + "type": "shellpb.RemovePublicKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemovePublicKeyOperation", - "client": { - "shortName": "CloudShellClient", - "fullName": "google.cloud.shell.v1.CloudShellClient" - }, - "method": { - "shortName": "RemovePublicKey", - "fullName": "google.cloud.shell.v1.CloudShellService.RemovePublicKey", - "service": { - "shortName": "CloudShellService", - "fullName": "google.cloud.shell.v1.CloudShellService" - } - } + "shortName": "RemovePublicKey" }, + "description": "RemovePublicKey removes a public SSH key from an environment. Clients will no longer be\nable to connect to the environment using the corresponding private key.\nIf a key with the same content is not present, this will error with\nNOT_FOUND.", + "file": "CloudShellClient/RemovePublicKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudshell_v1_generated_CloudShellService_RemovePublicKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudshell RemovePublicKey Sample" }, { - "regionTag": "cloudshell_v1_generated_CloudShellService_StartEnvironment_sync", - "title": "cloudshell StartEnvironment Sample", - "description": "StartEnvironment starts an existing environment, allowing clients to connect to it. The\nreturned operation will contain an instance of StartEnvironmentMetadata in\nits metadata field. Users can wait for the environment to start by polling\nthis operation via GetOperation. Once the environment has finished starting\nand is ready to accept connections, the operation will contain a\nStartEnvironmentResponse in its response field.", - "file": "CloudShellClient/StartEnvironment/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartEnvironment", + "client": { + "fullName": "google.cloud.shell.v1.CloudShellClient", + "shortName": "CloudShellClient" + }, "fullName": "google.cloud.shell.v1.CloudShellClient.StartEnvironment", + "method": { + "fullName": "google.cloud.shell.v1.CloudShellService.StartEnvironment", + "service": { + "fullName": "google.cloud.shell.v1.CloudShellService", + "shortName": "CloudShellService" + }, + "shortName": "StartEnvironment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "shellpb.StartEnvironmentRequest", - "name": "req" + "name": "req", + "type": "shellpb.StartEnvironmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartEnvironmentOperation", - "client": { - "shortName": "CloudShellClient", - "fullName": "google.cloud.shell.v1.CloudShellClient" - }, - "method": { - "shortName": "StartEnvironment", - "fullName": "google.cloud.shell.v1.CloudShellService.StartEnvironment", - "service": { - "shortName": "CloudShellService", - "fullName": "google.cloud.shell.v1.CloudShellService" - } - } + "shortName": "StartEnvironment" }, + "description": "StartEnvironment starts an existing environment, allowing clients to connect to it. The\nreturned operation will contain an instance of StartEnvironmentMetadata in\nits metadata field. Users can wait for the environment to start by polling\nthis operation via GetOperation. Once the environment has finished starting\nand is ready to accept connections, the operation will contain a\nStartEnvironmentResponse in its response field.", + "file": "CloudShellClient/StartEnvironment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudshell_v1_generated_CloudShellService_StartEnvironment_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudshell StartEnvironment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json b/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json index 549d809ed5c8..17b584a9af70 100644 --- a/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json +++ b/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/css/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.css.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/css/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "css_v1_generated_AccountLabelsService_CreateAccountLabel_sync", - "title": "css CreateAccountLabel Sample", - "description": "CreateAccountLabel creates a new label, not assigned to any account.", - "file": "AccountLabelsClient/CreateAccountLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAccountLabel", + "client": { + "fullName": "google.shopping.css.v1.AccountLabelsClient", + "shortName": "AccountLabelsClient" + }, "fullName": "google.shopping.css.v1.AccountLabelsClient.CreateAccountLabel", + "method": { + "fullName": "google.shopping.css.v1.AccountLabelsService.CreateAccountLabel", + "service": { + "fullName": "google.shopping.css.v1.AccountLabelsService", + "shortName": "AccountLabelsService" + }, + "shortName": "CreateAccountLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.CreateAccountLabelRequest", - "name": "req" + "name": "req", + "type": "csspb.CreateAccountLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.AccountLabel", - "client": { - "shortName": "AccountLabelsClient", - "fullName": "google.shopping.css.v1.AccountLabelsClient" - }, - "method": { - "shortName": "CreateAccountLabel", - "fullName": "google.shopping.css.v1.AccountLabelsService.CreateAccountLabel", - "service": { - "shortName": "AccountLabelsService", - "fullName": "google.shopping.css.v1.AccountLabelsService" - } - } + "shortName": "CreateAccountLabel" }, + "description": "CreateAccountLabel creates a new label, not assigned to any account.", + "file": "AccountLabelsClient/CreateAccountLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountLabelsService_CreateAccountLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css CreateAccountLabel Sample" }, { - "regionTag": "css_v1_generated_AccountLabelsService_DeleteAccountLabel_sync", - "title": "css DeleteAccountLabel Sample", - "description": "DeleteAccountLabel deletes a label and removes it from all accounts to which it was assigned.", - "file": "AccountLabelsClient/DeleteAccountLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccountLabel", + "client": { + "fullName": "google.shopping.css.v1.AccountLabelsClient", + "shortName": "AccountLabelsClient" + }, "fullName": "google.shopping.css.v1.AccountLabelsClient.DeleteAccountLabel", + "method": { + "fullName": "google.shopping.css.v1.AccountLabelsService.DeleteAccountLabel", + "service": { + "fullName": "google.shopping.css.v1.AccountLabelsService", + "shortName": "AccountLabelsService" + }, + "shortName": "DeleteAccountLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.DeleteAccountLabelRequest", - "name": "req" + "name": "req", + "type": "csspb.DeleteAccountLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AccountLabelsClient", - "fullName": "google.shopping.css.v1.AccountLabelsClient" - }, - "method": { - "shortName": "DeleteAccountLabel", - "fullName": "google.shopping.css.v1.AccountLabelsService.DeleteAccountLabel", - "service": { - "shortName": "AccountLabelsService", - "fullName": "google.shopping.css.v1.AccountLabelsService" - } - } + "shortName": "DeleteAccountLabel" }, + "description": "DeleteAccountLabel deletes a label and removes it from all accounts to which it was assigned.", + "file": "AccountLabelsClient/DeleteAccountLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountLabelsService_DeleteAccountLabel_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "css DeleteAccountLabel Sample" }, { - "regionTag": "css_v1_generated_AccountLabelsService_ListAccountLabels_sync", - "title": "css ListAccountLabels Sample", - "description": "ListAccountLabels lists the labels owned by an account.", - "file": "AccountLabelsClient/ListAccountLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountLabels", + "client": { + "fullName": "google.shopping.css.v1.AccountLabelsClient", + "shortName": "AccountLabelsClient" + }, "fullName": "google.shopping.css.v1.AccountLabelsClient.ListAccountLabels", + "method": { + "fullName": "google.shopping.css.v1.AccountLabelsService.ListAccountLabels", + "service": { + "fullName": "google.shopping.css.v1.AccountLabelsService", + "shortName": "AccountLabelsService" + }, + "shortName": "ListAccountLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.ListAccountLabelsRequest", - "name": "req" + "name": "req", + "type": "csspb.ListAccountLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountLabelIterator", - "client": { - "shortName": "AccountLabelsClient", - "fullName": "google.shopping.css.v1.AccountLabelsClient" - }, - "method": { - "shortName": "ListAccountLabels", - "fullName": "google.shopping.css.v1.AccountLabelsService.ListAccountLabels", - "service": { - "shortName": "AccountLabelsService", - "fullName": "google.shopping.css.v1.AccountLabelsService" - } - } + "shortName": "ListAccountLabels" }, + "description": "ListAccountLabels lists the labels owned by an account.", + "file": "AccountLabelsClient/ListAccountLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountLabelsService_ListAccountLabels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "css ListAccountLabels Sample" }, { - "regionTag": "css_v1_generated_AccountLabelsService_UpdateAccountLabel_sync", - "title": "css UpdateAccountLabel Sample", - "description": "UpdateAccountLabel updates a label.", - "file": "AccountLabelsClient/UpdateAccountLabel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccountLabel", + "client": { + "fullName": "google.shopping.css.v1.AccountLabelsClient", + "shortName": "AccountLabelsClient" + }, "fullName": "google.shopping.css.v1.AccountLabelsClient.UpdateAccountLabel", + "method": { + "fullName": "google.shopping.css.v1.AccountLabelsService.UpdateAccountLabel", + "service": { + "fullName": "google.shopping.css.v1.AccountLabelsService", + "shortName": "AccountLabelsService" + }, + "shortName": "UpdateAccountLabel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.UpdateAccountLabelRequest", - "name": "req" + "name": "req", + "type": "csspb.UpdateAccountLabelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.AccountLabel", - "client": { - "shortName": "AccountLabelsClient", - "fullName": "google.shopping.css.v1.AccountLabelsClient" - }, - "method": { - "shortName": "UpdateAccountLabel", - "fullName": "google.shopping.css.v1.AccountLabelsService.UpdateAccountLabel", - "service": { - "shortName": "AccountLabelsService", - "fullName": "google.shopping.css.v1.AccountLabelsService" - } - } + "shortName": "UpdateAccountLabel" }, + "description": "UpdateAccountLabel updates a label.", + "file": "AccountLabelsClient/UpdateAccountLabel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountLabelsService_UpdateAccountLabel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css UpdateAccountLabel Sample" }, { - "regionTag": "css_v1_generated_AccountsService_GetAccount_sync", - "title": "css GetAccount Sample", - "description": "GetAccount retrieves a single CSS/MC account by ID.", - "file": "AccountsClient/GetAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccount", + "client": { + "fullName": "google.shopping.css.v1.AccountsClient", + "shortName": "AccountsClient" + }, "fullName": "google.shopping.css.v1.AccountsClient.GetAccount", + "method": { + "fullName": "google.shopping.css.v1.AccountsService.GetAccount", + "service": { + "fullName": "google.shopping.css.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "GetAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.GetAccountRequest", - "name": "req" + "name": "req", + "type": "csspb.GetAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.Account", - "client": { - "shortName": "AccountsClient", - "fullName": "google.shopping.css.v1.AccountsClient" - }, - "method": { - "shortName": "GetAccount", - "fullName": "google.shopping.css.v1.AccountsService.GetAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.css.v1.AccountsService" - } - } + "shortName": "GetAccount" }, + "description": "GetAccount retrieves a single CSS/MC account by ID.", + "file": "AccountsClient/GetAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountsService_GetAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css GetAccount Sample" }, { - "regionTag": "css_v1_generated_AccountsService_ListChildAccounts_sync", - "title": "css ListChildAccounts Sample", - "description": "ListChildAccounts lists all the accounts under the specified CSS account ID, and\noptionally filters by label ID and account name.", - "file": "AccountsClient/ListChildAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChildAccounts", + "client": { + "fullName": "google.shopping.css.v1.AccountsClient", + "shortName": "AccountsClient" + }, "fullName": "google.shopping.css.v1.AccountsClient.ListChildAccounts", + "method": { + "fullName": "google.shopping.css.v1.AccountsService.ListChildAccounts", + "service": { + "fullName": "google.shopping.css.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "ListChildAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.ListChildAccountsRequest", - "name": "req" + "name": "req", + "type": "csspb.ListChildAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIterator", - "client": { - "shortName": "AccountsClient", - "fullName": "google.shopping.css.v1.AccountsClient" - }, - "method": { - "shortName": "ListChildAccounts", - "fullName": "google.shopping.css.v1.AccountsService.ListChildAccounts", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.css.v1.AccountsService" - } - } + "shortName": "ListChildAccounts" }, + "description": "ListChildAccounts lists all the accounts under the specified CSS account ID, and\noptionally filters by label ID and account name.", + "file": "AccountsClient/ListChildAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountsService_ListChildAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "css ListChildAccounts Sample" }, { - "regionTag": "css_v1_generated_AccountsService_UpdateLabels_sync", - "title": "css UpdateLabels Sample", - "description": "UpdateLabels updates labels assigned to CSS/MC accounts by a CSS domain.", - "file": "AccountsClient/UpdateLabels/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLabels", + "client": { + "fullName": "google.shopping.css.v1.AccountsClient", + "shortName": "AccountsClient" + }, "fullName": "google.shopping.css.v1.AccountsClient.UpdateLabels", + "method": { + "fullName": "google.shopping.css.v1.AccountsService.UpdateLabels", + "service": { + "fullName": "google.shopping.css.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "UpdateLabels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.UpdateAccountLabelsRequest", - "name": "req" + "name": "req", + "type": "csspb.UpdateAccountLabelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.Account", - "client": { - "shortName": "AccountsClient", - "fullName": "google.shopping.css.v1.AccountsClient" - }, - "method": { - "shortName": "UpdateLabels", - "fullName": "google.shopping.css.v1.AccountsService.UpdateLabels", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.css.v1.AccountsService" - } - } + "shortName": "UpdateLabels" }, + "description": "UpdateLabels updates labels assigned to CSS/MC accounts by a CSS domain.", + "file": "AccountsClient/UpdateLabels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_AccountsService_UpdateLabels_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css UpdateLabels Sample" }, { - "regionTag": "css_v1_generated_CssProductInputsService_DeleteCssProductInput_sync", - "title": "css DeleteCssProductInput Sample", - "description": "DeleteCssProductInput deletes a CSS Product input from your CSS Center account.\n\nAfter a delete it may take several minutes until the input is no longer\navailable.", - "file": "CssProductInputsClient/DeleteCssProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCssProductInput", + "client": { + "fullName": "google.shopping.css.v1.CssProductInputsClient", + "shortName": "CssProductInputsClient" + }, "fullName": "google.shopping.css.v1.CssProductInputsClient.DeleteCssProductInput", + "method": { + "fullName": "google.shopping.css.v1.CssProductInputsService.DeleteCssProductInput", + "service": { + "fullName": "google.shopping.css.v1.CssProductInputsService", + "shortName": "CssProductInputsService" + }, + "shortName": "DeleteCssProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.DeleteCssProductInputRequest", - "name": "req" + "name": "req", + "type": "csspb.DeleteCssProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CssProductInputsClient", - "fullName": "google.shopping.css.v1.CssProductInputsClient" - }, - "method": { - "shortName": "DeleteCssProductInput", - "fullName": "google.shopping.css.v1.CssProductInputsService.DeleteCssProductInput", - "service": { - "shortName": "CssProductInputsService", - "fullName": "google.shopping.css.v1.CssProductInputsService" - } - } + "shortName": "DeleteCssProductInput" }, + "description": "DeleteCssProductInput deletes a CSS Product input from your CSS Center account.\n\nAfter a delete it may take several minutes until the input is no longer\navailable.", + "file": "CssProductInputsClient/DeleteCssProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_CssProductInputsService_DeleteCssProductInput_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "css DeleteCssProductInput Sample" }, { - "regionTag": "css_v1_generated_CssProductInputsService_InsertCssProductInput_sync", - "title": "css InsertCssProductInput Sample", - "description": "InsertCssProductInput uploads a CssProductInput to your CSS Center account. If an\ninput with the same contentLanguage, identity, feedLabel and feedId already\nexists, this method replaces that entry.\n\nAfter inserting, updating, or deleting a CSS Product input, it may\ntake several minutes before the processed CSS Product can be retrieved.", - "file": "CssProductInputsClient/InsertCssProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertCssProductInput", + "client": { + "fullName": "google.shopping.css.v1.CssProductInputsClient", + "shortName": "CssProductInputsClient" + }, "fullName": "google.shopping.css.v1.CssProductInputsClient.InsertCssProductInput", + "method": { + "fullName": "google.shopping.css.v1.CssProductInputsService.InsertCssProductInput", + "service": { + "fullName": "google.shopping.css.v1.CssProductInputsService", + "shortName": "CssProductInputsService" + }, + "shortName": "InsertCssProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.InsertCssProductInputRequest", - "name": "req" + "name": "req", + "type": "csspb.InsertCssProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.CssProductInput", - "client": { - "shortName": "CssProductInputsClient", - "fullName": "google.shopping.css.v1.CssProductInputsClient" - }, - "method": { - "shortName": "InsertCssProductInput", - "fullName": "google.shopping.css.v1.CssProductInputsService.InsertCssProductInput", - "service": { - "shortName": "CssProductInputsService", - "fullName": "google.shopping.css.v1.CssProductInputsService" - } - } + "shortName": "InsertCssProductInput" }, + "description": "InsertCssProductInput uploads a CssProductInput to your CSS Center account. If an\ninput with the same contentLanguage, identity, feedLabel and feedId already\nexists, this method replaces that entry.\n\nAfter inserting, updating, or deleting a CSS Product input, it may\ntake several minutes before the processed CSS Product can be retrieved.", + "file": "CssProductInputsClient/InsertCssProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_CssProductInputsService_InsertCssProductInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css InsertCssProductInput Sample" }, { - "regionTag": "css_v1_generated_CssProductInputsService_UpdateCssProductInput_sync", - "title": "css UpdateCssProductInput Sample", - "description": "UpdateCssProductInput updates the existing Css Product input in your CSS Center account.\n\nAfter inserting, updating, or deleting a CSS Product input, it may take\nseveral minutes before the processed Css Product can be retrieved.", - "file": "CssProductInputsClient/UpdateCssProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCssProductInput", + "client": { + "fullName": "google.shopping.css.v1.CssProductInputsClient", + "shortName": "CssProductInputsClient" + }, "fullName": "google.shopping.css.v1.CssProductInputsClient.UpdateCssProductInput", + "method": { + "fullName": "google.shopping.css.v1.CssProductInputsService.UpdateCssProductInput", + "service": { + "fullName": "google.shopping.css.v1.CssProductInputsService", + "shortName": "CssProductInputsService" + }, + "shortName": "UpdateCssProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.UpdateCssProductInputRequest", - "name": "req" + "name": "req", + "type": "csspb.UpdateCssProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.CssProductInput", - "client": { - "shortName": "CssProductInputsClient", - "fullName": "google.shopping.css.v1.CssProductInputsClient" - }, - "method": { - "shortName": "UpdateCssProductInput", - "fullName": "google.shopping.css.v1.CssProductInputsService.UpdateCssProductInput", - "service": { - "shortName": "CssProductInputsService", - "fullName": "google.shopping.css.v1.CssProductInputsService" - } - } + "shortName": "UpdateCssProductInput" }, + "description": "UpdateCssProductInput updates the existing Css Product input in your CSS Center account.\n\nAfter inserting, updating, or deleting a CSS Product input, it may take\nseveral minutes before the processed Css Product can be retrieved.", + "file": "CssProductInputsClient/UpdateCssProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_CssProductInputsService_UpdateCssProductInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css UpdateCssProductInput Sample" }, { - "regionTag": "css_v1_generated_CssProductsService_GetCssProduct_sync", - "title": "css GetCssProduct Sample", - "description": "GetCssProduct retrieves the processed CSS Product from your CSS Center account. After\ninserting, updating, or deleting a product input, it may take several\nminutes before the updated final product can be retrieved.", - "file": "CssProductsClient/GetCssProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCssProduct", + "client": { + "fullName": "google.shopping.css.v1.CssProductsClient", + "shortName": "CssProductsClient" + }, "fullName": "google.shopping.css.v1.CssProductsClient.GetCssProduct", + "method": { + "fullName": "google.shopping.css.v1.CssProductsService.GetCssProduct", + "service": { + "fullName": "google.shopping.css.v1.CssProductsService", + "shortName": "CssProductsService" + }, + "shortName": "GetCssProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.GetCssProductRequest", - "name": "req" + "name": "req", + "type": "csspb.GetCssProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*csspb.CssProduct", - "client": { - "shortName": "CssProductsClient", - "fullName": "google.shopping.css.v1.CssProductsClient" - }, - "method": { - "shortName": "GetCssProduct", - "fullName": "google.shopping.css.v1.CssProductsService.GetCssProduct", - "service": { - "shortName": "CssProductsService", - "fullName": "google.shopping.css.v1.CssProductsService" - } - } + "shortName": "GetCssProduct" }, + "description": "GetCssProduct retrieves the processed CSS Product from your CSS Center account. After\ninserting, updating, or deleting a product input, it may take several\nminutes before the updated final product can be retrieved.", + "file": "CssProductsClient/GetCssProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_CssProductsService_GetCssProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "css GetCssProduct Sample" }, { - "regionTag": "css_v1_generated_CssProductsService_ListCssProducts_sync", - "title": "css ListCssProducts Sample", - "description": "ListCssProducts lists the processed CSS Products in your CSS Center account. The response\nmight contain fewer items than specified by pageSize. Rely on pageToken to\ndetermine if there are more items to be requested.\n\nAfter inserting, updating, or deleting a CSS product input, it may\ntake several minutes before the updated processed CSS product can be\nretrieved.", - "file": "CssProductsClient/ListCssProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCssProducts", + "client": { + "fullName": "google.shopping.css.v1.CssProductsClient", + "shortName": "CssProductsClient" + }, "fullName": "google.shopping.css.v1.CssProductsClient.ListCssProducts", + "method": { + "fullName": "google.shopping.css.v1.CssProductsService.ListCssProducts", + "service": { + "fullName": "google.shopping.css.v1.CssProductsService", + "shortName": "CssProductsService" + }, + "shortName": "ListCssProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.ListCssProductsRequest", - "name": "req" + "name": "req", + "type": "csspb.ListCssProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CssProductIterator", - "client": { - "shortName": "CssProductsClient", - "fullName": "google.shopping.css.v1.CssProductsClient" - }, - "method": { - "shortName": "ListCssProducts", - "fullName": "google.shopping.css.v1.CssProductsService.ListCssProducts", - "service": { - "shortName": "CssProductsService", - "fullName": "google.shopping.css.v1.CssProductsService" - } - } + "shortName": "ListCssProducts" }, + "description": "ListCssProducts lists the processed CSS Products in your CSS Center account. The response\nmight contain fewer items than specified by pageSize. Rely on pageToken to\ndetermine if there are more items to be requested.\n\nAfter inserting, updating, or deleting a CSS product input, it may\ntake several minutes before the updated processed CSS product can be\nretrieved.", + "file": "CssProductsClient/ListCssProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_CssProductsService_ListCssProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "css ListCssProducts Sample" }, { - "regionTag": "css_v1_generated_QuotaService_ListQuotaGroups_sync", - "title": "css ListQuotaGroups Sample", - "description": "ListQuotaGroups lists the daily call quota and usage per group for your CSS Center account.", - "file": "QuotaClient/ListQuotaGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaGroups", + "client": { + "fullName": "google.shopping.css.v1.QuotaClient", + "shortName": "QuotaClient" + }, "fullName": "google.shopping.css.v1.QuotaClient.ListQuotaGroups", + "method": { + "fullName": "google.shopping.css.v1.QuotaService.ListQuotaGroups", + "service": { + "fullName": "google.shopping.css.v1.QuotaService", + "shortName": "QuotaService" + }, + "shortName": "ListQuotaGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "csspb.ListQuotaGroupsRequest", - "name": "req" + "name": "req", + "type": "csspb.ListQuotaGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaGroupIterator", - "client": { - "shortName": "QuotaClient", - "fullName": "google.shopping.css.v1.QuotaClient" - }, - "method": { - "shortName": "ListQuotaGroups", - "fullName": "google.shopping.css.v1.QuotaService.ListQuotaGroups", - "service": { - "shortName": "QuotaService", - "fullName": "google.shopping.css.v1.QuotaService" - } - } + "shortName": "ListQuotaGroups" }, + "description": "ListQuotaGroups lists the daily call quota and usage per group for your CSS Center account.", + "file": "QuotaClient/ListQuotaGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "css_v1_generated_QuotaService_ListQuotaGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "css ListQuotaGroups Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/accounts/apiv1/snippet_metadata.google.shopping.merchant.accounts.v1.json b/internal/generated/snippets/shopping/merchant/accounts/apiv1/snippet_metadata.google.shopping.merchant.accounts.v1.json index 6ad211abfa6e..4ad797377c87 100644 --- a/internal/generated/snippets/shopping/merchant/accounts/apiv1/snippet_metadata.google.shopping.merchant.accounts.v1.json +++ b/internal/generated/snippets/shopping/merchant/accounts/apiv1/snippet_metadata.google.shopping.merchant.accounts.v1.json @@ -1,3503 +1,3503 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/accounts/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.accounts.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/accounts/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_AccountIssueService_ListAccountIssues_sync", - "title": "merchantapi ListAccountIssues Sample", - "description": "ListAccountIssues lists all account issues of a Merchant Center account.\n\nWhen called on a multi-client account, this method only returns issues\nbelonging to that account, not its sub-accounts. To retrieve issues for\nsub-accounts, you must first call the\n[accounts.listSubaccounts][google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts]\nmethod to obtain a list of sub-accounts, and then call\n`accounts.issues.list` for each sub-account individually.", - "file": "AccountIssueClient/ListAccountIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountIssues", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountIssueClient", + "shortName": "AccountIssueClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountIssueClient.ListAccountIssues", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountIssueService.ListAccountIssues", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountIssueService", + "shortName": "AccountIssueService" + }, + "shortName": "ListAccountIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountIssuesRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIssueIterator", - "client": { - "shortName": "AccountIssueClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountIssueClient" - }, - "method": { - "shortName": "ListAccountIssues", - "fullName": "google.shopping.merchant.accounts.v1.AccountIssueService.ListAccountIssues", - "service": { - "shortName": "AccountIssueService", - "fullName": "google.shopping.merchant.accounts.v1.AccountIssueService" - } - } + "shortName": "ListAccountIssues" }, + "description": "ListAccountIssues lists all account issues of a Merchant Center account.\n\nWhen called on a multi-client account, this method only returns issues\nbelonging to that account, not its sub-accounts. To retrieve issues for\nsub-accounts, you must first call the\n[accounts.listSubaccounts][google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts]\nmethod to obtain a list of sub-accounts, and then call\n`accounts.issues.list` for each sub-account individually.", + "file": "AccountIssueClient/ListAccountIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountIssueService_ListAccountIssues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccountIssues Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountRelationshipsService_GetAccountRelationship_sync", - "title": "merchantapi GetAccountRelationship Sample", - "description": "GetAccountRelationship retrieve an account relationship.", - "file": "AccountRelationshipsClient/GetAccountRelationship/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccountRelationship", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient", + "shortName": "AccountRelationshipsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient.GetAccountRelationship", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService.GetAccountRelationship", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService", + "shortName": "AccountRelationshipsService" + }, + "shortName": "GetAccountRelationship" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAccountRelationshipRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAccountRelationshipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountRelationship", - "client": { - "shortName": "AccountRelationshipsClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient" - }, - "method": { - "shortName": "GetAccountRelationship", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService.GetAccountRelationship", - "service": { - "shortName": "AccountRelationshipsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService" - } - } + "shortName": "GetAccountRelationship" }, + "description": "GetAccountRelationship retrieve an account relationship.", + "file": "AccountRelationshipsClient/GetAccountRelationship/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountRelationshipsService_GetAccountRelationship_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccountRelationship Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountRelationshipsService_ListAccountRelationships_sync", - "title": "merchantapi ListAccountRelationships Sample", - "description": "ListAccountRelationships list account relationships for the specified account.", - "file": "AccountRelationshipsClient/ListAccountRelationships/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountRelationships", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient", + "shortName": "AccountRelationshipsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient.ListAccountRelationships", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService.ListAccountRelationships", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService", + "shortName": "AccountRelationshipsService" + }, + "shortName": "ListAccountRelationships" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountRelationshipsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountRelationshipsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountRelationshipIterator", - "client": { - "shortName": "AccountRelationshipsClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient" - }, - "method": { - "shortName": "ListAccountRelationships", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService.ListAccountRelationships", - "service": { - "shortName": "AccountRelationshipsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService" - } - } + "shortName": "ListAccountRelationships" }, + "description": "ListAccountRelationships list account relationships for the specified account.", + "file": "AccountRelationshipsClient/ListAccountRelationships/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountRelationshipsService_ListAccountRelationships_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccountRelationships Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountRelationshipsService_UpdateAccountRelationship_sync", - "title": "merchantapi UpdateAccountRelationship Sample", - "description": "UpdateAccountRelationship updates the account relationship. Executing this method requires admin\naccess.", - "file": "AccountRelationshipsClient/UpdateAccountRelationship/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccountRelationship", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient", + "shortName": "AccountRelationshipsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient.UpdateAccountRelationship", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService.UpdateAccountRelationship", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService", + "shortName": "AccountRelationshipsService" + }, + "shortName": "UpdateAccountRelationship" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAccountRelationshipRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAccountRelationshipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountRelationship", - "client": { - "shortName": "AccountRelationshipsClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsClient" - }, - "method": { - "shortName": "UpdateAccountRelationship", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService.UpdateAccountRelationship", - "service": { - "shortName": "AccountRelationshipsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountRelationshipsService" - } - } + "shortName": "UpdateAccountRelationship" }, + "description": "UpdateAccountRelationship updates the account relationship. Executing this method requires admin\naccess.", + "file": "AccountRelationshipsClient/UpdateAccountRelationship/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountRelationshipsService_UpdateAccountRelationship_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAccountRelationship Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountServicesService_ApproveAccountService_sync", - "title": "merchantapi ApproveAccountService Sample", - "description": "ApproveAccountService approve an account service proposal.", - "file": "AccountServicesClient/ApproveAccountService/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveAccountService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient", + "shortName": "AccountServicesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient.ApproveAccountService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.ApproveAccountService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService", + "shortName": "AccountServicesService" + }, + "shortName": "ApproveAccountService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ApproveAccountServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.ApproveAccountServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountService", - "client": { - "shortName": "AccountServicesClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient" - }, - "method": { - "shortName": "ApproveAccountService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.ApproveAccountService", - "service": { - "shortName": "AccountServicesService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService" - } - } + "shortName": "ApproveAccountService" }, + "description": "ApproveAccountService approve an account service proposal.", + "file": "AccountServicesClient/ApproveAccountService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountServicesService_ApproveAccountService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ApproveAccountService Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountServicesService_GetAccountService_sync", - "title": "merchantapi GetAccountService Sample", - "description": "GetAccountService retrieve an account service.", - "file": "AccountServicesClient/GetAccountService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccountService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient", + "shortName": "AccountServicesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient.GetAccountService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.GetAccountService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService", + "shortName": "AccountServicesService" + }, + "shortName": "GetAccountService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAccountServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAccountServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountService", - "client": { - "shortName": "AccountServicesClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient" - }, - "method": { - "shortName": "GetAccountService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.GetAccountService", - "service": { - "shortName": "AccountServicesService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService" - } - } + "shortName": "GetAccountService" }, + "description": "GetAccountService retrieve an account service.", + "file": "AccountServicesClient/GetAccountService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountServicesService_GetAccountService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccountService Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountServicesService_ListAccountServices_sync", - "title": "merchantapi ListAccountServices Sample", - "description": "ListAccountServices list account services for the specified accounts. Supports filtering.", - "file": "AccountServicesClient/ListAccountServices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountServices", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient", + "shortName": "AccountServicesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient.ListAccountServices", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.ListAccountServices", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService", + "shortName": "AccountServicesService" + }, + "shortName": "ListAccountServices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountServicesRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountServicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountServiceIterator", - "client": { - "shortName": "AccountServicesClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient" - }, - "method": { - "shortName": "ListAccountServices", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.ListAccountServices", - "service": { - "shortName": "AccountServicesService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService" - } - } + "shortName": "ListAccountServices" }, + "description": "ListAccountServices list account services for the specified accounts. Supports filtering.", + "file": "AccountServicesClient/ListAccountServices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountServicesService_ListAccountServices_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccountServices Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountServicesService_ProposeAccountService_sync", - "title": "merchantapi ProposeAccountService Sample", - "description": "ProposeAccountService propose an account service.", - "file": "AccountServicesClient/ProposeAccountService/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProposeAccountService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient", + "shortName": "AccountServicesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient.ProposeAccountService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.ProposeAccountService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService", + "shortName": "AccountServicesService" + }, + "shortName": "ProposeAccountService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ProposeAccountServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.ProposeAccountServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountService", - "client": { - "shortName": "AccountServicesClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient" - }, - "method": { - "shortName": "ProposeAccountService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.ProposeAccountService", - "service": { - "shortName": "AccountServicesService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService" - } - } + "shortName": "ProposeAccountService" }, + "description": "ProposeAccountService propose an account service.", + "file": "AccountServicesClient/ProposeAccountService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountServicesService_ProposeAccountService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ProposeAccountService Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountServicesService_RejectAccountService_sync", - "title": "merchantapi RejectAccountService Sample", - "description": "RejectAccountService reject an account service (both proposed and approve services can be\nrejected).", - "file": "AccountServicesClient/RejectAccountService/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejectAccountService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient", + "shortName": "AccountServicesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient.RejectAccountService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.RejectAccountService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService", + "shortName": "AccountServicesService" + }, + "shortName": "RejectAccountService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RejectAccountServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.RejectAccountServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AccountServicesClient", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesClient" - }, - "method": { - "shortName": "RejectAccountService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService.RejectAccountService", - "service": { - "shortName": "AccountServicesService", - "fullName": "google.shopping.merchant.accounts.v1.AccountServicesService" - } - } + "shortName": "RejectAccountService" }, + "description": "RejectAccountService reject an account service (both proposed and approve services can be\nrejected).", + "file": "AccountServicesClient/RejectAccountService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountServicesService_RejectAccountService_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RejectAccountService Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_CreateAndConfigureAccount_sync", - "title": "merchantapi CreateAndConfigureAccount Sample", - "description": "CreateAndConfigureAccount creates a Merchant Center account with additional configuration. Adds the\nuser that makes the request as an admin for the new account.", - "file": "Client/CreateAndConfigureAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAndConfigureAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.CreateAndConfigureAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.CreateAndConfigureAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "CreateAndConfigureAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateAndConfigureAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateAndConfigureAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "CreateAndConfigureAccount", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.CreateAndConfigureAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "CreateAndConfigureAccount" }, + "description": "CreateAndConfigureAccount creates a Merchant Center account with additional configuration. Adds the\nuser that makes the request as an admin for the new account.", + "file": "Client/CreateAndConfigureAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_CreateAndConfigureAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateAndConfigureAccount Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_CreateTestAccount_sync", - "title": "merchantapi CreateTestAccount Sample", - "description": "CreateTestAccount creates a Merchant Center test account.\n\nTest accounts are intended for development and testing purposes, such as\nvalidating API integrations or new feature behavior.\n\nKey characteristics and limitations of test accounts: \n- Immutable Type: A test account cannot be converted into a regular\n(live) Merchant Center account. Likewise, a regular account cannot be\nconverted into a test account.\n- Non-Serving Products: Any products, offers, or data created within a\ntest account will not be published or made visible to end-users on any\nGoogle surfaces. They are strictly for testing environments.\n- Separate Environment: Test accounts operate in a sandbox-like manner,\nisolated from live serving and real user traffic.", - "file": "Client/CreateTestAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTestAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.CreateTestAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.CreateTestAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "CreateTestAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateTestAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateTestAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "CreateTestAccount", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.CreateTestAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "CreateTestAccount" }, + "description": "CreateTestAccount creates a Merchant Center test account.\n\nTest accounts are intended for development and testing purposes, such as\nvalidating API integrations or new feature behavior.\n\nKey characteristics and limitations of test accounts: \n- Immutable Type: A test account cannot be converted into a regular\n(live) Merchant Center account. Likewise, a regular account cannot be\nconverted into a test account.\n- Non-Serving Products: Any products, offers, or data created within a\ntest account will not be published or made visible to end-users on any\nGoogle surfaces. They are strictly for testing environments.\n- Separate Environment: Test accounts operate in a sandbox-like manner,\nisolated from live serving and real user traffic.", + "file": "Client/CreateTestAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_CreateTestAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateTestAccount Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_DeleteAccount_sync", - "title": "merchantapi DeleteAccount Sample", - "description": "DeleteAccount deletes the specified account regardless of its type: standalone, advanced\naccount or sub-account. Deleting an advanced account leads to the deletion\nof all of its sub-accounts. This also deletes the account's [developer\nregistration\nentity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration)\nand any associated GCP project to the account. Executing this method\nrequires admin access. The deletion succeeds only if the account does not\nprovide services to any other account and has no processed offers. You can\nuse the `force` parameter to override this.", - "file": "Client/DeleteAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.DeleteAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.DeleteAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "DeleteAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "DeleteAccount", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.DeleteAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "DeleteAccount" }, + "description": "DeleteAccount deletes the specified account regardless of its type: standalone, advanced\naccount or sub-account. Deleting an advanced account leads to the deletion\nof all of its sub-accounts. This also deletes the account's [developer\nregistration\nentity](/merchant/api/reference/rest/accounts_v1/accounts.developerRegistration)\nand any associated GCP project to the account. Executing this method\nrequires admin access. The deletion succeeds only if the account does not\nprovide services to any other account and has no processed offers. You can\nuse the `force` parameter to override this.", + "file": "Client/DeleteAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_DeleteAccount_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteAccount Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_GetAccount_sync", - "title": "merchantapi GetAccount Sample", - "description": "GetAccount retrieves an account from your Merchant Center account.\nAfter inserting, updating, or deleting an account, it may take several\nminutes before changes take effect.", - "file": "Client/GetAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.GetAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.GetAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "GetAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "GetAccount", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.GetAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "GetAccount" }, + "description": "GetAccount retrieves an account from your Merchant Center account.\nAfter inserting, updating, or deleting an account, it may take several\nminutes before changes take effect.", + "file": "Client/GetAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_GetAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccount Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_ListAccounts_sync", - "title": "merchantapi ListAccounts Sample", - "description": "ListAccounts note: For the `accounts.list` method, quota and limits usage are charged\nfor each user, and not for the Merchant Center ID or the advanced account\nID. To list several sub-accounts, you should use the\n`accounts.listSubaccounts` method, which is more suitable for advanced\naccounts use case.", - "file": "Client/ListAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccounts", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.ListAccounts", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.ListAccounts", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "ListAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "ListAccounts", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.ListAccounts", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "ListAccounts" }, + "description": "ListAccounts note: For the `accounts.list` method, quota and limits usage are charged\nfor each user, and not for the Merchant Center ID or the advanced account\nID. To list several sub-accounts, you should use the\n`accounts.listSubaccounts` method, which is more suitable for advanced\naccounts use case.", + "file": "Client/ListAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_ListAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccounts Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_ListSubAccounts_sync", - "title": "merchantapi ListSubAccounts Sample", - "description": "ListSubAccounts list all sub-accounts for a given advanced account. This is a\nconvenience wrapper for the more powerful `accounts.list` method. This\nmethod will produce the same results as calling `ListsAccounts` with the\nfollowing filter: \n`relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`", - "file": "Client/ListSubAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubAccounts", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.ListSubAccounts", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "ListSubAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListSubAccountsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListSubAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "ListSubAccounts", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.ListSubAccounts", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "ListSubAccounts" }, + "description": "ListSubAccounts list all sub-accounts for a given advanced account. This is a\nconvenience wrapper for the more powerful `accounts.list` method. This\nmethod will produce the same results as calling `ListsAccounts` with the\nfollowing filter: \n`relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`", + "file": "Client/ListSubAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_ListSubAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListSubAccounts Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountsService_UpdateAccount_sync", - "title": "merchantapi UpdateAccount Sample", - "description": "UpdateAccount updates an account regardless of its type: standalone, advanced account or\nsub-account. Executing this method requires admin access.", - "file": "Client/UpdateAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1.Client.UpdateAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService.UpdateAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "UpdateAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1.Client" - }, - "method": { - "shortName": "UpdateAccount", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService.UpdateAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1.AccountsService" - } - } + "shortName": "UpdateAccount" }, + "description": "UpdateAccount updates an account regardless of its type: standalone, advanced account or\nsub-account. Executing this method requires admin access.", + "file": "Client/UpdateAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountsService_UpdateAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAccount Sample" }, { - "regionTag": "merchantapi_v1_generated_AutofeedSettingsService_GetAutofeedSettings_sync", - "title": "merchantapi GetAutofeedSettings Sample", - "description": "GetAutofeedSettings retrieves the autofeed settings of an account.", - "file": "AutofeedSettingsClient/GetAutofeedSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutofeedSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsClient", + "shortName": "AutofeedSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsClient.GetAutofeedSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService.GetAutofeedSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService", + "shortName": "AutofeedSettingsService" + }, + "shortName": "GetAutofeedSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAutofeedSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAutofeedSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutofeedSettings", - "client": { - "shortName": "AutofeedSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsClient" - }, - "method": { - "shortName": "GetAutofeedSettings", - "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService.GetAutofeedSettings", - "service": { - "shortName": "AutofeedSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService" - } - } + "shortName": "GetAutofeedSettings" }, + "description": "GetAutofeedSettings retrieves the autofeed settings of an account.", + "file": "AutofeedSettingsClient/GetAutofeedSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AutofeedSettingsService_GetAutofeedSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAutofeedSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_AutofeedSettingsService_UpdateAutofeedSettings_sync", - "title": "merchantapi UpdateAutofeedSettings Sample", - "description": "UpdateAutofeedSettings updates the autofeed settings of an account.", - "file": "AutofeedSettingsClient/UpdateAutofeedSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutofeedSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsClient", + "shortName": "AutofeedSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsClient.UpdateAutofeedSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService.UpdateAutofeedSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService", + "shortName": "AutofeedSettingsService" + }, + "shortName": "UpdateAutofeedSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAutofeedSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAutofeedSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutofeedSettings", - "client": { - "shortName": "AutofeedSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsClient" - }, - "method": { - "shortName": "UpdateAutofeedSettings", - "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService.UpdateAutofeedSettings", - "service": { - "shortName": "AutofeedSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.AutofeedSettingsService" - } - } + "shortName": "UpdateAutofeedSettings" }, + "description": "UpdateAutofeedSettings updates the autofeed settings of an account.", + "file": "AutofeedSettingsClient/UpdateAutofeedSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AutofeedSettingsService_UpdateAutofeedSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAutofeedSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_AutomaticImprovementsService_GetAutomaticImprovements_sync", - "title": "merchantapi GetAutomaticImprovements Sample", - "description": "GetAutomaticImprovements retrieves the automatic improvements of an account.", - "file": "AutomaticImprovementsClient/GetAutomaticImprovements/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutomaticImprovements", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsClient", + "shortName": "AutomaticImprovementsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsClient.GetAutomaticImprovements", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService.GetAutomaticImprovements", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService", + "shortName": "AutomaticImprovementsService" + }, + "shortName": "GetAutomaticImprovements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAutomaticImprovementsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAutomaticImprovementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutomaticImprovements", - "client": { - "shortName": "AutomaticImprovementsClient", - "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsClient" - }, - "method": { - "shortName": "GetAutomaticImprovements", - "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService.GetAutomaticImprovements", - "service": { - "shortName": "AutomaticImprovementsService", - "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService" - } - } + "shortName": "GetAutomaticImprovements" }, + "description": "GetAutomaticImprovements retrieves the automatic improvements of an account.", + "file": "AutomaticImprovementsClient/GetAutomaticImprovements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AutomaticImprovementsService_GetAutomaticImprovements_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAutomaticImprovements Sample" }, { - "regionTag": "merchantapi_v1_generated_AutomaticImprovementsService_UpdateAutomaticImprovements_sync", - "title": "merchantapi UpdateAutomaticImprovements Sample", - "description": "UpdateAutomaticImprovements updates the automatic improvements of an account.", - "file": "AutomaticImprovementsClient/UpdateAutomaticImprovements/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutomaticImprovements", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsClient", + "shortName": "AutomaticImprovementsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsClient.UpdateAutomaticImprovements", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService.UpdateAutomaticImprovements", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService", + "shortName": "AutomaticImprovementsService" + }, + "shortName": "UpdateAutomaticImprovements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAutomaticImprovementsRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAutomaticImprovementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutomaticImprovements", - "client": { - "shortName": "AutomaticImprovementsClient", - "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsClient" - }, - "method": { - "shortName": "UpdateAutomaticImprovements", - "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService.UpdateAutomaticImprovements", - "service": { - "shortName": "AutomaticImprovementsService", - "fullName": "google.shopping.merchant.accounts.v1.AutomaticImprovementsService" - } - } + "shortName": "UpdateAutomaticImprovements" }, + "description": "UpdateAutomaticImprovements updates the automatic improvements of an account.", + "file": "AutomaticImprovementsClient/UpdateAutomaticImprovements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AutomaticImprovementsService_UpdateAutomaticImprovements_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAutomaticImprovements Sample" }, { - "regionTag": "merchantapi_v1_generated_BusinessIdentityService_GetBusinessIdentity_sync", - "title": "merchantapi GetBusinessIdentity Sample", - "description": "GetBusinessIdentity retrieves the business identity of an account.", - "file": "BusinessIdentityClient/GetBusinessIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBusinessIdentity", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityClient", + "shortName": "BusinessIdentityClient" + }, "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityClient.GetBusinessIdentity", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService.GetBusinessIdentity", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService", + "shortName": "BusinessIdentityService" + }, + "shortName": "GetBusinessIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetBusinessIdentityRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetBusinessIdentityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessIdentity", - "client": { - "shortName": "BusinessIdentityClient", - "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityClient" - }, - "method": { - "shortName": "GetBusinessIdentity", - "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService.GetBusinessIdentity", - "service": { - "shortName": "BusinessIdentityService", - "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService" - } - } + "shortName": "GetBusinessIdentity" }, + "description": "GetBusinessIdentity retrieves the business identity of an account.", + "file": "BusinessIdentityClient/GetBusinessIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_BusinessIdentityService_GetBusinessIdentity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetBusinessIdentity Sample" }, { - "regionTag": "merchantapi_v1_generated_BusinessIdentityService_UpdateBusinessIdentity_sync", - "title": "merchantapi UpdateBusinessIdentity Sample", - "description": "UpdateBusinessIdentity updates the business identity of an account. Executing this method requires\nadmin access.", - "file": "BusinessIdentityClient/UpdateBusinessIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBusinessIdentity", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityClient", + "shortName": "BusinessIdentityClient" + }, "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityClient.UpdateBusinessIdentity", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService.UpdateBusinessIdentity", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService", + "shortName": "BusinessIdentityService" + }, + "shortName": "UpdateBusinessIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateBusinessIdentityRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateBusinessIdentityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessIdentity", - "client": { - "shortName": "BusinessIdentityClient", - "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityClient" - }, - "method": { - "shortName": "UpdateBusinessIdentity", - "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService.UpdateBusinessIdentity", - "service": { - "shortName": "BusinessIdentityService", - "fullName": "google.shopping.merchant.accounts.v1.BusinessIdentityService" - } - } + "shortName": "UpdateBusinessIdentity" }, + "description": "UpdateBusinessIdentity updates the business identity of an account. Executing this method requires\nadmin access.", + "file": "BusinessIdentityClient/UpdateBusinessIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_BusinessIdentityService_UpdateBusinessIdentity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateBusinessIdentity Sample" }, { - "regionTag": "merchantapi_v1_generated_BusinessInfoService_GetBusinessInfo_sync", - "title": "merchantapi GetBusinessInfo Sample", - "description": "GetBusinessInfo retrieves the business info of an account.", - "file": "BusinessInfoClient/GetBusinessInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBusinessInfo", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoClient", + "shortName": "BusinessInfoClient" + }, "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoClient.GetBusinessInfo", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService.GetBusinessInfo", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService", + "shortName": "BusinessInfoService" + }, + "shortName": "GetBusinessInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetBusinessInfoRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetBusinessInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessInfo", - "client": { - "shortName": "BusinessInfoClient", - "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoClient" - }, - "method": { - "shortName": "GetBusinessInfo", - "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService.GetBusinessInfo", - "service": { - "shortName": "BusinessInfoService", - "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService" - } - } + "shortName": "GetBusinessInfo" }, + "description": "GetBusinessInfo retrieves the business info of an account.", + "file": "BusinessInfoClient/GetBusinessInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_BusinessInfoService_GetBusinessInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetBusinessInfo Sample" }, { - "regionTag": "merchantapi_v1_generated_BusinessInfoService_UpdateBusinessInfo_sync", - "title": "merchantapi UpdateBusinessInfo Sample", - "description": "UpdateBusinessInfo updates the business info of an account. Executing this method requires\nadmin access.", - "file": "BusinessInfoClient/UpdateBusinessInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBusinessInfo", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoClient", + "shortName": "BusinessInfoClient" + }, "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoClient.UpdateBusinessInfo", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService.UpdateBusinessInfo", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService", + "shortName": "BusinessInfoService" + }, + "shortName": "UpdateBusinessInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateBusinessInfoRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateBusinessInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessInfo", - "client": { - "shortName": "BusinessInfoClient", - "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoClient" - }, - "method": { - "shortName": "UpdateBusinessInfo", - "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService.UpdateBusinessInfo", - "service": { - "shortName": "BusinessInfoService", - "fullName": "google.shopping.merchant.accounts.v1.BusinessInfoService" - } - } + "shortName": "UpdateBusinessInfo" }, + "description": "UpdateBusinessInfo updates the business info of an account. Executing this method requires\nadmin access.", + "file": "BusinessInfoClient/UpdateBusinessInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_BusinessInfoService_UpdateBusinessInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateBusinessInfo Sample" }, { - "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_CreateCheckoutSettings_sync", - "title": "merchantapi CreateCheckoutSettings Sample", - "description": "CreateCheckoutSettings creates `CheckoutSettings` for the given merchant.", - "file": "CheckoutSettingsClient/CreateCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient.CreateCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.CreateCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "CreateCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.CheckoutSettings", - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient" - }, - "method": { - "shortName": "CreateCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.CreateCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService" - } - } + "shortName": "CreateCheckoutSettings" }, + "description": "CreateCheckoutSettings creates `CheckoutSettings` for the given merchant.", + "file": "CheckoutSettingsClient/CreateCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_CreateCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_DeleteCheckoutSettings_sync", - "title": "merchantapi DeleteCheckoutSettings Sample", - "description": "DeleteCheckoutSettings deletes `CheckoutSettings` and unenrolls merchant from\n`Checkout` program.", - "file": "CheckoutSettingsClient/DeleteCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient.DeleteCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.DeleteCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "DeleteCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient" - }, - "method": { - "shortName": "DeleteCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.DeleteCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService" - } - } + "shortName": "DeleteCheckoutSettings" }, + "description": "DeleteCheckoutSettings deletes `CheckoutSettings` and unenrolls merchant from\n`Checkout` program.", + "file": "CheckoutSettingsClient/DeleteCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_DeleteCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_GetCheckoutSettings_sync", - "title": "merchantapi GetCheckoutSettings Sample", - "description": "GetCheckoutSettings gets `CheckoutSettings` for the given merchant. This includes\ninformation about review state, enrollment state and URL settings.", - "file": "CheckoutSettingsClient/GetCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient.GetCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.GetCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "GetCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.CheckoutSettings", - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient" - }, - "method": { - "shortName": "GetCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.GetCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService" - } - } + "shortName": "GetCheckoutSettings" }, + "description": "GetCheckoutSettings gets `CheckoutSettings` for the given merchant. This includes\ninformation about review state, enrollment state and URL settings.", + "file": "CheckoutSettingsClient/GetCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_GetCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_UpdateCheckoutSettings_sync", - "title": "merchantapi UpdateCheckoutSettings Sample", - "description": "UpdateCheckoutSettings updates `CheckoutSettings` for the given merchant.", - "file": "CheckoutSettingsClient/UpdateCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient.UpdateCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.UpdateCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "UpdateCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.CheckoutSettings", - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsClient" - }, - "method": { - "shortName": "UpdateCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService.UpdateCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.CheckoutSettingsService" - } - } + "shortName": "UpdateCheckoutSettings" }, + "description": "UpdateCheckoutSettings updates `CheckoutSettings` for the given merchant.", + "file": "CheckoutSettingsClient/UpdateCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_CheckoutSettingsService_UpdateCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_GetAccountForGcpRegistration_sync", - "title": "merchantapi GetAccountForGcpRegistration Sample", - "description": "GetAccountForGcpRegistration retrieves the merchant account that the calling GCP is registered with.", - "file": "DeveloperRegistrationClient/GetAccountForGcpRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccountForGcpRegistration", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient", + "shortName": "DeveloperRegistrationClient" + }, "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient.GetAccountForGcpRegistration", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.GetAccountForGcpRegistration", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService", + "shortName": "DeveloperRegistrationService" + }, + "shortName": "GetAccountForGcpRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "emptypb.Empty", - "name": "req" + "name": "req", + "type": "emptypb.Empty" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.GetAccountForGcpRegistrationResponse", - "client": { - "shortName": "DeveloperRegistrationClient", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient" - }, - "method": { - "shortName": "GetAccountForGcpRegistration", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.GetAccountForGcpRegistration", - "service": { - "shortName": "DeveloperRegistrationService", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService" - } - } + "shortName": "GetAccountForGcpRegistration" }, + "description": "GetAccountForGcpRegistration retrieves the merchant account that the calling GCP is registered with.", + "file": "DeveloperRegistrationClient/GetAccountForGcpRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_GetAccountForGcpRegistration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccountForGcpRegistration Sample" }, { - "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_GetDeveloperRegistration_sync", - "title": "merchantapi GetDeveloperRegistration Sample", - "description": "GetDeveloperRegistration retrieves a developer registration for a merchant.", - "file": "DeveloperRegistrationClient/GetDeveloperRegistration/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeveloperRegistration", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient", + "shortName": "DeveloperRegistrationClient" + }, "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient.GetDeveloperRegistration", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.GetDeveloperRegistration", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService", + "shortName": "DeveloperRegistrationService" + }, + "shortName": "GetDeveloperRegistration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetDeveloperRegistrationRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetDeveloperRegistrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.DeveloperRegistration", - "client": { - "shortName": "DeveloperRegistrationClient", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient" - }, - "method": { - "shortName": "GetDeveloperRegistration", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.GetDeveloperRegistration", - "service": { - "shortName": "DeveloperRegistrationService", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService" - } - } + "shortName": "GetDeveloperRegistration" }, + "description": "GetDeveloperRegistration retrieves a developer registration for a merchant.", + "file": "DeveloperRegistrationClient/GetDeveloperRegistration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_GetDeveloperRegistration_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetDeveloperRegistration Sample" }, { - "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_RegisterGcp_sync", - "title": "merchantapi RegisterGcp Sample", - "description": "RegisterGcp registers the GCP used for the API call to the shopping account passed in\nthe request. Will create a user with an \"API developer\" and add the\n\"developer_email\" as a contact with \"API notifications\" email preference\non.", - "file": "DeveloperRegistrationClient/RegisterGcp/main.go", - "language": "GO", "clientMethod": { - "shortName": "RegisterGcp", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient", + "shortName": "DeveloperRegistrationClient" + }, "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient.RegisterGcp", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.RegisterGcp", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService", + "shortName": "DeveloperRegistrationService" + }, + "shortName": "RegisterGcp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RegisterGcpRequest", - "name": "req" + "name": "req", + "type": "accountspb.RegisterGcpRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.DeveloperRegistration", - "client": { - "shortName": "DeveloperRegistrationClient", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient" - }, - "method": { - "shortName": "RegisterGcp", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.RegisterGcp", - "service": { - "shortName": "DeveloperRegistrationService", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService" - } - } + "shortName": "RegisterGcp" }, + "description": "RegisterGcp registers the GCP used for the API call to the shopping account passed in\nthe request. Will create a user with an \"API developer\" and add the\n\"developer_email\" as a contact with \"API notifications\" email preference\non.", + "file": "DeveloperRegistrationClient/RegisterGcp/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_RegisterGcp_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RegisterGcp Sample" }, { - "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_UnregisterGcp_sync", - "title": "merchantapi UnregisterGcp Sample", - "description": "UnregisterGcp unregister the calling GCP from the calling shopping account. Note that the\nGCP will still be able to access the API for at most 1 day from the\nunregister succussful call.", - "file": "DeveloperRegistrationClient/UnregisterGcp/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnregisterGcp", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient", + "shortName": "DeveloperRegistrationClient" + }, "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient.UnregisterGcp", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.UnregisterGcp", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService", + "shortName": "DeveloperRegistrationService" + }, + "shortName": "UnregisterGcp" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UnregisterGcpRequest", - "name": "req" + "name": "req", + "type": "accountspb.UnregisterGcpRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DeveloperRegistrationClient", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationClient" - }, - "method": { - "shortName": "UnregisterGcp", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService.UnregisterGcp", - "service": { - "shortName": "DeveloperRegistrationService", - "fullName": "google.shopping.merchant.accounts.v1.DeveloperRegistrationService" - } - } + "shortName": "UnregisterGcp" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UnregisterGcp unregister the calling GCP from the calling shopping account. Note that the\nGCP will still be able to access the API for at most 1 day from the\nunregister succussful call.", + "file": "DeveloperRegistrationClient/UnregisterGcp/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DeveloperRegistrationService_UnregisterGcp_sync", + "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UnregisterGcp Sample" }, { - "regionTag": "merchantapi_v1_generated_EmailPreferencesService_GetEmailPreferences_sync", - "title": "merchantapi GetEmailPreferences Sample", - "description": "GetEmailPreferences returns the email preferences for a Merchant Center account user.\nThis service only permits retrieving and updating email preferences for the\nauthenticated user.\nUse the name=accounts/*/users/me/emailPreferences alias to get preferences\nfor the authenticated user.", - "file": "EmailPreferencesClient/GetEmailPreferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEmailPreferences", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesClient", + "shortName": "EmailPreferencesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesClient.GetEmailPreferences", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService.GetEmailPreferences", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService", + "shortName": "EmailPreferencesService" + }, + "shortName": "GetEmailPreferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetEmailPreferencesRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetEmailPreferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.EmailPreferences", - "client": { - "shortName": "EmailPreferencesClient", - "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesClient" - }, - "method": { - "shortName": "GetEmailPreferences", - "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService.GetEmailPreferences", - "service": { - "shortName": "EmailPreferencesService", - "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService" - } - } + "shortName": "GetEmailPreferences" }, + "description": "GetEmailPreferences returns the email preferences for a Merchant Center account user.\nThis service only permits retrieving and updating email preferences for the\nauthenticated user.\nUse the name=accounts/*/users/me/emailPreferences alias to get preferences\nfor the authenticated user.", + "file": "EmailPreferencesClient/GetEmailPreferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_EmailPreferencesService_GetEmailPreferences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetEmailPreferences Sample" }, { - "regionTag": "merchantapi_v1_generated_EmailPreferencesService_UpdateEmailPreferences_sync", - "title": "merchantapi UpdateEmailPreferences Sample", - "description": "UpdateEmailPreferences updates the email preferences for a Merchant Center account user. Advanced\naccount users should specify the advanced account rather than a sub-account\nof the advanced account.\n\nPreferences which are not explicitly selected in the update mask will not\nbe updated.\n\nIt is invalid for updates to specify an UNCONFIRMED opt-in status value.\n\nUse the name=accounts/*/users/me/emailPreferences alias to update\npreferences\nfor the authenticated user.", - "file": "EmailPreferencesClient/UpdateEmailPreferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEmailPreferences", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesClient", + "shortName": "EmailPreferencesClient" + }, "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesClient.UpdateEmailPreferences", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService.UpdateEmailPreferences", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService", + "shortName": "EmailPreferencesService" + }, + "shortName": "UpdateEmailPreferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateEmailPreferencesRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateEmailPreferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.EmailPreferences", - "client": { - "shortName": "EmailPreferencesClient", - "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesClient" - }, - "method": { - "shortName": "UpdateEmailPreferences", - "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService.UpdateEmailPreferences", - "service": { - "shortName": "EmailPreferencesService", - "fullName": "google.shopping.merchant.accounts.v1.EmailPreferencesService" - } - } + "shortName": "UpdateEmailPreferences" }, + "description": "UpdateEmailPreferences updates the email preferences for a Merchant Center account user. Advanced\naccount users should specify the advanced account rather than a sub-account\nof the advanced account.\n\nPreferences which are not explicitly selected in the update mask will not\nbe updated.\n\nIt is invalid for updates to specify an UNCONFIRMED opt-in status value.\n\nUse the name=accounts/*/users/me/emailPreferences alias to update\npreferences\nfor the authenticated user.", + "file": "EmailPreferencesClient/UpdateEmailPreferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_EmailPreferencesService_UpdateEmailPreferences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateEmailPreferences Sample" }, { - "regionTag": "merchantapi_v1_generated_GbpAccountsService_LinkGbpAccount_sync", - "title": "merchantapi LinkGbpAccount Sample", - "description": "LinkGbpAccount link the specified merchant to a GBP account for all countries.\n\nTo run this method, you must have admin access to the Merchant Center\naccount. If you don't have admin access, the request fails with the error\nmessage `User is not an administrator of account {ACCOUNT_ID}`.", - "file": "GbpAccountsClient/LinkGbpAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "LinkGbpAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsClient", + "shortName": "GbpAccountsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsClient.LinkGbpAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService.LinkGbpAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService", + "shortName": "GbpAccountsService" + }, + "shortName": "LinkGbpAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.LinkGbpAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.LinkGbpAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.LinkGbpAccountResponse", - "client": { - "shortName": "GbpAccountsClient", - "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsClient" - }, - "method": { - "shortName": "LinkGbpAccount", - "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService.LinkGbpAccount", - "service": { - "shortName": "GbpAccountsService", - "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService" - } - } + "shortName": "LinkGbpAccount" }, + "description": "LinkGbpAccount link the specified merchant to a GBP account for all countries.\n\nTo run this method, you must have admin access to the Merchant Center\naccount. If you don't have admin access, the request fails with the error\nmessage `User is not an administrator of account {ACCOUNT_ID}`.", + "file": "GbpAccountsClient/LinkGbpAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_GbpAccountsService_LinkGbpAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi LinkGbpAccount Sample" }, { - "regionTag": "merchantapi_v1_generated_GbpAccountsService_ListGbpAccounts_sync", - "title": "merchantapi ListGbpAccounts Sample", - "description": "ListGbpAccounts list the GBP accounts for a given merchant.", - "file": "GbpAccountsClient/ListGbpAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGbpAccounts", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsClient", + "shortName": "GbpAccountsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsClient.ListGbpAccounts", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService.ListGbpAccounts", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService", + "shortName": "GbpAccountsService" + }, + "shortName": "ListGbpAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListGbpAccountsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListGbpAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GbpAccountIterator", - "client": { - "shortName": "GbpAccountsClient", - "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsClient" - }, - "method": { - "shortName": "ListGbpAccounts", - "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService.ListGbpAccounts", - "service": { - "shortName": "GbpAccountsService", - "fullName": "google.shopping.merchant.accounts.v1.GbpAccountsService" - } - } + "shortName": "ListGbpAccounts" }, + "description": "ListGbpAccounts list the GBP accounts for a given merchant.", + "file": "GbpAccountsClient/ListGbpAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_GbpAccountsService_ListGbpAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListGbpAccounts Sample" }, { - "regionTag": "merchantapi_v1_generated_HomepageService_ClaimHomepage_sync", - "title": "merchantapi ClaimHomepage Sample", - "description": "ClaimHomepage claims a store's homepage. Executing this method requires admin access.\n\nIf the homepage is already claimed, this will recheck the\nverification (unless the business is exempted from claiming, which also\nexempts from verification) and return a successful response. If ownership\ncan no longer be verified, it will return an error, but it won't clear the\nclaim.\n\nIn case of failure, a canonical error message is returned: \n\n* PERMISSION_DENIED: User doesn't have the necessary permissions on this\nMerchant Center account.\n\n* FAILED_PRECONDITION: \n\n- The account is not a Merchant Center account.\n\n- Merchant Center account doesn't have a homepage.\n\n- Claiming failed (in this case the error message contains more\ndetails).", - "file": "HomepageClient/ClaimHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClaimHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1.HomepageClient.ClaimHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService.ClaimHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "ClaimHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ClaimHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.ClaimHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1.HomepageClient" - }, - "method": { - "shortName": "ClaimHomepage", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService.ClaimHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService" - } - } + "shortName": "ClaimHomepage" }, + "description": "ClaimHomepage claims a store's homepage. Executing this method requires admin access.\n\nIf the homepage is already claimed, this will recheck the\nverification (unless the business is exempted from claiming, which also\nexempts from verification) and return a successful response. If ownership\ncan no longer be verified, it will return an error, but it won't clear the\nclaim.\n\nIn case of failure, a canonical error message is returned: \n\n* PERMISSION_DENIED: User doesn't have the necessary permissions on this\nMerchant Center account.\n\n* FAILED_PRECONDITION: \n\n- The account is not a Merchant Center account.\n\n- Merchant Center account doesn't have a homepage.\n\n- Claiming failed (in this case the error message contains more\ndetails).", + "file": "HomepageClient/ClaimHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_HomepageService_ClaimHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ClaimHomepage Sample" }, { - "regionTag": "merchantapi_v1_generated_HomepageService_GetHomepage_sync", - "title": "merchantapi GetHomepage Sample", - "description": "GetHomepage retrieves a store's homepage.", - "file": "HomepageClient/GetHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1.HomepageClient.GetHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService.GetHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "GetHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1.HomepageClient" - }, - "method": { - "shortName": "GetHomepage", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService.GetHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService" - } - } + "shortName": "GetHomepage" }, + "description": "GetHomepage retrieves a store's homepage.", + "file": "HomepageClient/GetHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_HomepageService_GetHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetHomepage Sample" }, { - "regionTag": "merchantapi_v1_generated_HomepageService_UnclaimHomepage_sync", - "title": "merchantapi UnclaimHomepage Sample", - "description": "UnclaimHomepage unclaims a store's homepage. Executing this method requires admin access.", - "file": "HomepageClient/UnclaimHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnclaimHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1.HomepageClient.UnclaimHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService.UnclaimHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "UnclaimHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UnclaimHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.UnclaimHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1.HomepageClient" - }, - "method": { - "shortName": "UnclaimHomepage", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService.UnclaimHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService" - } - } + "shortName": "UnclaimHomepage" }, + "description": "UnclaimHomepage unclaims a store's homepage. Executing this method requires admin access.", + "file": "HomepageClient/UnclaimHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_HomepageService_UnclaimHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UnclaimHomepage Sample" }, { - "regionTag": "merchantapi_v1_generated_HomepageService_UpdateHomepage_sync", - "title": "merchantapi UpdateHomepage Sample", - "description": "UpdateHomepage updates a store's homepage. Executing this method requires admin access.", - "file": "HomepageClient/UpdateHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1.HomepageClient.UpdateHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService.UpdateHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "UpdateHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1.HomepageClient" - }, - "method": { - "shortName": "UpdateHomepage", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService.UpdateHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1.HomepageService" - } - } + "shortName": "UpdateHomepage" }, + "description": "UpdateHomepage updates a store's homepage. Executing this method requires admin access.", + "file": "HomepageClient/UpdateHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_HomepageService_UpdateHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateHomepage Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpProvidersService_FindLfpProviders_sync", - "title": "merchantapi FindLfpProviders Sample", - "description": "FindLfpProviders find the LFP provider candidates in a given country.", - "file": "LfpProvidersClient/FindLfpProviders/main.go", - "language": "GO", "clientMethod": { - "shortName": "FindLfpProviders", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersClient", + "shortName": "LfpProvidersClient" + }, "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersClient.FindLfpProviders", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService.FindLfpProviders", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService", + "shortName": "LfpProvidersService" + }, + "shortName": "FindLfpProviders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.FindLfpProvidersRequest", - "name": "req" + "name": "req", + "type": "accountspb.FindLfpProvidersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LfpProviderIterator", - "client": { - "shortName": "LfpProvidersClient", - "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersClient" - }, - "method": { - "shortName": "FindLfpProviders", - "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService.FindLfpProviders", - "service": { - "shortName": "LfpProvidersService", - "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService" - } - } + "shortName": "FindLfpProviders" }, + "description": "FindLfpProviders find the LFP provider candidates in a given country.", + "file": "LfpProvidersClient/FindLfpProviders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpProvidersService_FindLfpProviders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi FindLfpProviders Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpProvidersService_LinkLfpProvider_sync", - "title": "merchantapi LinkLfpProvider Sample", - "description": "LinkLfpProvider link the specified merchant to a LFP provider for the specified country.", - "file": "LfpProvidersClient/LinkLfpProvider/main.go", - "language": "GO", "clientMethod": { - "shortName": "LinkLfpProvider", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersClient", + "shortName": "LfpProvidersClient" + }, "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersClient.LinkLfpProvider", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService.LinkLfpProvider", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService", + "shortName": "LfpProvidersService" + }, + "shortName": "LinkLfpProvider" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.LinkLfpProviderRequest", - "name": "req" + "name": "req", + "type": "accountspb.LinkLfpProviderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.LinkLfpProviderResponse", - "client": { - "shortName": "LfpProvidersClient", - "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersClient" - }, - "method": { - "shortName": "LinkLfpProvider", - "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService.LinkLfpProvider", - "service": { - "shortName": "LfpProvidersService", - "fullName": "google.shopping.merchant.accounts.v1.LfpProvidersService" - } - } + "shortName": "LinkLfpProvider" }, + "description": "LinkLfpProvider link the specified merchant to a LFP provider for the specified country.", + "file": "LfpProvidersClient/LinkLfpProvider/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpProvidersService_LinkLfpProvider_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi LinkLfpProvider Sample" }, { - "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_CreateOmnichannelSetting_sync", - "title": "merchantapi CreateOmnichannelSetting Sample", - "description": "CreateOmnichannelSetting create the omnichannel settings for a given merchant.", - "file": "OmnichannelSettingsClient/CreateOmnichannelSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOmnichannelSetting", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient.CreateOmnichannelSetting", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.CreateOmnichannelSetting", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "CreateOmnichannelSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateOmnichannelSettingRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateOmnichannelSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OmnichannelSetting", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient" - }, - "method": { - "shortName": "CreateOmnichannelSetting", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.CreateOmnichannelSetting", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService" - } - } + "shortName": "CreateOmnichannelSetting" }, + "description": "CreateOmnichannelSetting create the omnichannel settings for a given merchant.", + "file": "OmnichannelSettingsClient/CreateOmnichannelSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_CreateOmnichannelSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateOmnichannelSetting Sample" }, { - "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_GetOmnichannelSetting_sync", - "title": "merchantapi GetOmnichannelSetting Sample", - "description": "GetOmnichannelSetting get the omnichannel settings for a given merchant.", - "file": "OmnichannelSettingsClient/GetOmnichannelSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOmnichannelSetting", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient.GetOmnichannelSetting", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.GetOmnichannelSetting", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "GetOmnichannelSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetOmnichannelSettingRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetOmnichannelSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OmnichannelSetting", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient" - }, - "method": { - "shortName": "GetOmnichannelSetting", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.GetOmnichannelSetting", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService" - } - } + "shortName": "GetOmnichannelSetting" }, + "description": "GetOmnichannelSetting get the omnichannel settings for a given merchant.", + "file": "OmnichannelSettingsClient/GetOmnichannelSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_GetOmnichannelSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetOmnichannelSetting Sample" }, { - "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_ListOmnichannelSettings_sync", - "title": "merchantapi ListOmnichannelSettings Sample", - "description": "ListOmnichannelSettings list all the omnichannel settings for a given merchant.", - "file": "OmnichannelSettingsClient/ListOmnichannelSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOmnichannelSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient.ListOmnichannelSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.ListOmnichannelSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "ListOmnichannelSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListOmnichannelSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListOmnichannelSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OmnichannelSettingIterator", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient" - }, - "method": { - "shortName": "ListOmnichannelSettings", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.ListOmnichannelSettings", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService" - } - } + "shortName": "ListOmnichannelSettings" }, + "description": "ListOmnichannelSettings list all the omnichannel settings for a given merchant.", + "file": "OmnichannelSettingsClient/ListOmnichannelSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_ListOmnichannelSettings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListOmnichannelSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_RequestInventoryVerification_sync", - "title": "merchantapi RequestInventoryVerification Sample", - "description": "RequestInventoryVerification requests inventory verification for a given merchant in a given country.", - "file": "OmnichannelSettingsClient/RequestInventoryVerification/main.go", - "language": "GO", "clientMethod": { - "shortName": "RequestInventoryVerification", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient.RequestInventoryVerification", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.RequestInventoryVerification", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "RequestInventoryVerification" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RequestInventoryVerificationRequest", - "name": "req" + "name": "req", + "type": "accountspb.RequestInventoryVerificationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.RequestInventoryVerificationResponse", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient" - }, - "method": { - "shortName": "RequestInventoryVerification", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.RequestInventoryVerification", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService" - } - } + "shortName": "RequestInventoryVerification" }, + "description": "RequestInventoryVerification requests inventory verification for a given merchant in a given country.", + "file": "OmnichannelSettingsClient/RequestInventoryVerification/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_RequestInventoryVerification_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RequestInventoryVerification Sample" }, { - "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_UpdateOmnichannelSetting_sync", - "title": "merchantapi UpdateOmnichannelSetting Sample", - "description": "UpdateOmnichannelSetting update the omnichannel setting for a given merchant in a given country.", - "file": "OmnichannelSettingsClient/UpdateOmnichannelSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOmnichannelSetting", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient.UpdateOmnichannelSetting", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.UpdateOmnichannelSetting", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "UpdateOmnichannelSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateOmnichannelSettingRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateOmnichannelSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OmnichannelSetting", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsClient" - }, - "method": { - "shortName": "UpdateOmnichannelSetting", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService.UpdateOmnichannelSetting", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.OmnichannelSettingsService" - } - } + "shortName": "UpdateOmnichannelSetting" }, + "description": "UpdateOmnichannelSetting update the omnichannel setting for a given merchant in a given country.", + "file": "OmnichannelSettingsClient/UpdateOmnichannelSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OmnichannelSettingsService_UpdateOmnichannelSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateOmnichannelSetting Sample" }, { - "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_CreateOnlineReturnPolicy_sync", - "title": "merchantapi CreateOnlineReturnPolicy Sample", - "description": "CreateOnlineReturnPolicy creates a new return policy for a given business.", - "file": "OnlineReturnPolicyClient/CreateOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient.CreateOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.CreateOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "CreateOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OnlineReturnPolicy", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "CreateOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.CreateOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService" - } - } + "shortName": "CreateOnlineReturnPolicy" }, + "description": "CreateOnlineReturnPolicy creates a new return policy for a given business.", + "file": "OnlineReturnPolicyClient/CreateOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_CreateOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_DeleteOnlineReturnPolicy_sync", - "title": "merchantapi DeleteOnlineReturnPolicy Sample", - "description": "DeleteOnlineReturnPolicy deletes an existing return policy.", - "file": "OnlineReturnPolicyClient/DeleteOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient.DeleteOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.DeleteOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "DeleteOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "DeleteOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.DeleteOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService" - } - } + "shortName": "DeleteOnlineReturnPolicy" }, + "description": "DeleteOnlineReturnPolicy deletes an existing return policy.", + "file": "OnlineReturnPolicyClient/DeleteOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_DeleteOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_GetOnlineReturnPolicy_sync", - "title": "merchantapi GetOnlineReturnPolicy Sample", - "description": "GetOnlineReturnPolicy gets an existing return policy for a given business.", - "file": "OnlineReturnPolicyClient/GetOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient.GetOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.GetOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "GetOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OnlineReturnPolicy", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "GetOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.GetOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService" - } - } + "shortName": "GetOnlineReturnPolicy" }, + "description": "GetOnlineReturnPolicy gets an existing return policy for a given business.", + "file": "OnlineReturnPolicyClient/GetOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_GetOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_ListOnlineReturnPolicies_sync", - "title": "merchantapi ListOnlineReturnPolicies Sample", - "description": "ListOnlineReturnPolicies lists all existing return policies for a given business.", - "file": "OnlineReturnPolicyClient/ListOnlineReturnPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOnlineReturnPolicies", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient.ListOnlineReturnPolicies", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.ListOnlineReturnPolicies", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "ListOnlineReturnPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListOnlineReturnPoliciesRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListOnlineReturnPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OnlineReturnPolicyIterator", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "ListOnlineReturnPolicies", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService.ListOnlineReturnPolicies", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1.OnlineReturnPolicyService" - } - } + "shortName": "ListOnlineReturnPolicies" }, + "description": "ListOnlineReturnPolicies lists all existing return policies for a given business.", + "file": "OnlineReturnPolicyClient/ListOnlineReturnPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OnlineReturnPolicyService_ListOnlineReturnPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListOnlineReturnPolicies Sample" }, { - "regionTag": "merchantapi_v1_generated_ProgramsService_DisableProgram_sync", - "title": "merchantapi DisableProgram Sample", - "description": "DisableProgram disable participation in the specified program for the account.", - "file": "ProgramsClient/DisableProgram/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableProgram", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient.DisableProgram", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.DisableProgram", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "DisableProgram" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DisableProgramRequest", - "name": "req" + "name": "req", + "type": "accountspb.DisableProgramRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Program", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient" - }, - "method": { - "shortName": "DisableProgram", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.DisableProgram", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService" - } - } + "shortName": "DisableProgram" }, + "description": "DisableProgram disable participation in the specified program for the account.", + "file": "ProgramsClient/DisableProgram/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProgramsService_DisableProgram_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DisableProgram Sample" }, { - "regionTag": "merchantapi_v1_generated_ProgramsService_EnableProgram_sync", - "title": "merchantapi EnableProgram Sample", - "description": "EnableProgram enable participation in the specified program for the account.", - "file": "ProgramsClient/EnableProgram/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableProgram", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient.EnableProgram", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.EnableProgram", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "EnableProgram" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.EnableProgramRequest", - "name": "req" + "name": "req", + "type": "accountspb.EnableProgramRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Program", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient" - }, - "method": { - "shortName": "EnableProgram", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.EnableProgram", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService" - } - } + "shortName": "EnableProgram" }, + "description": "EnableProgram enable participation in the specified program for the account.", + "file": "ProgramsClient/EnableProgram/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProgramsService_EnableProgram_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi EnableProgram Sample" }, { - "regionTag": "merchantapi_v1_generated_ProgramsService_GetProgram_sync", - "title": "merchantapi GetProgram Sample", - "description": "GetProgram retrieves the specified program for the account.", - "file": "ProgramsClient/GetProgram/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProgram", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient.GetProgram", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.GetProgram", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "GetProgram" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetProgramRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetProgramRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Program", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient" - }, - "method": { - "shortName": "GetProgram", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.GetProgram", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService" - } - } + "shortName": "GetProgram" }, + "description": "GetProgram retrieves the specified program for the account.", + "file": "ProgramsClient/GetProgram/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProgramsService_GetProgram_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetProgram Sample" }, { - "regionTag": "merchantapi_v1_generated_ProgramsService_ListPrograms_sync", - "title": "merchantapi ListPrograms Sample", - "description": "ListPrograms retrieves all programs for the account.", - "file": "ProgramsClient/ListPrograms/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrograms", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient.ListPrograms", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.ListPrograms", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "ListPrograms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListProgramsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListProgramsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "ProgramIterator", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsClient" - }, - "method": { - "shortName": "ListPrograms", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService.ListPrograms", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1.ProgramsService" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "ProgramIterator", + "shortName": "ListPrograms" }, + "description": "ListPrograms retrieves all programs for the account.", + "file": "ProgramsClient/ListPrograms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProgramsService_ListPrograms_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListPrograms Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_BatchCreateRegions_sync", - "title": "merchantapi BatchCreateRegions Sample", - "description": "BatchCreateRegions creates one or more regions in your Merchant Center account.\nExecuting this method requires admin access.", - "file": "RegionsClient/BatchCreateRegions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateRegions", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.BatchCreateRegions", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.BatchCreateRegions", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "BatchCreateRegions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.BatchCreateRegionsRequest", - "name": "req" + "name": "req", + "type": "accountspb.BatchCreateRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BatchCreateRegionsResponse", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "BatchCreateRegions", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.BatchCreateRegions", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "BatchCreateRegions" }, + "description": "BatchCreateRegions creates one or more regions in your Merchant Center account.\nExecuting this method requires admin access.", + "file": "RegionsClient/BatchCreateRegions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_BatchCreateRegions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi BatchCreateRegions Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_BatchDeleteRegions_sync", - "title": "merchantapi BatchDeleteRegions Sample", - "description": "BatchDeleteRegions deletes multiple regions by name from your Merchant Center account.\nExecuting this method requires admin access.", - "file": "RegionsClient/BatchDeleteRegions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteRegions", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.BatchDeleteRegions", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.BatchDeleteRegions", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "BatchDeleteRegions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.BatchDeleteRegionsRequest", - "name": "req" + "name": "req", + "type": "accountspb.BatchDeleteRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "BatchDeleteRegions", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.BatchDeleteRegions", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "BatchDeleteRegions" }, + "description": "BatchDeleteRegions deletes multiple regions by name from your Merchant Center account.\nExecuting this method requires admin access.", + "file": "RegionsClient/BatchDeleteRegions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_BatchDeleteRegions_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi BatchDeleteRegions Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_BatchUpdateRegions_sync", - "title": "merchantapi BatchUpdateRegions Sample", - "description": "BatchUpdateRegions updates one or more regions in your Merchant Center account.\nExecuting this method requires admin access.", - "file": "RegionsClient/BatchUpdateRegions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateRegions", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.BatchUpdateRegions", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.BatchUpdateRegions", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "BatchUpdateRegions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.BatchUpdateRegionsRequest", - "name": "req" + "name": "req", + "type": "accountspb.BatchUpdateRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BatchUpdateRegionsResponse", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "BatchUpdateRegions", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.BatchUpdateRegions", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "BatchUpdateRegions" }, + "description": "BatchUpdateRegions updates one or more regions in your Merchant Center account.\nExecuting this method requires admin access.", + "file": "RegionsClient/BatchUpdateRegions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_BatchUpdateRegions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi BatchUpdateRegions Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_CreateRegion_sync", - "title": "merchantapi CreateRegion Sample", - "description": "CreateRegion creates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.", - "file": "RegionsClient/CreateRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.CreateRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.CreateRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "CreateRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "CreateRegion", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.CreateRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "CreateRegion" }, + "description": "CreateRegion creates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.", + "file": "RegionsClient/CreateRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_CreateRegion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateRegion Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_DeleteRegion_sync", - "title": "merchantapi DeleteRegion Sample", - "description": "DeleteRegion deletes a region definition from your Merchant Center account. Executing\nthis method requires admin access.", - "file": "RegionsClient/DeleteRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.DeleteRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.DeleteRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "DeleteRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "DeleteRegion", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.DeleteRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "DeleteRegion" }, + "description": "DeleteRegion deletes a region definition from your Merchant Center account. Executing\nthis method requires admin access.", + "file": "RegionsClient/DeleteRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_DeleteRegion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteRegion Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_GetRegion_sync", - "title": "merchantapi GetRegion Sample", - "description": "GetRegion retrieves a region defined in your Merchant Center account.", - "file": "RegionsClient/GetRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.GetRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.GetRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "GetRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "GetRegion", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.GetRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "GetRegion" }, + "description": "GetRegion retrieves a region defined in your Merchant Center account.", + "file": "RegionsClient/GetRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_GetRegion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetRegion Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_ListRegions_sync", - "title": "merchantapi ListRegions Sample", - "description": "ListRegions lists the regions in your Merchant Center account.", - "file": "RegionsClient/ListRegions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRegions", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.ListRegions", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.ListRegions", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "ListRegions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListRegionsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegionIterator", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "ListRegions", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.ListRegions", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "ListRegions" }, + "description": "ListRegions lists the regions in your Merchant Center account.", + "file": "RegionsClient/ListRegions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_ListRegions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListRegions Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionsService_UpdateRegion_sync", - "title": "merchantapi UpdateRegion Sample", - "description": "UpdateRegion updates a region definition in your Merchant Center account.\nExecuting this method requires admin access.", - "file": "RegionsClient/UpdateRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.RegionsClient.UpdateRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService.UpdateRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "UpdateRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1.RegionsClient" - }, - "method": { - "shortName": "UpdateRegion", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService.UpdateRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1.RegionsService" - } - } + "shortName": "UpdateRegion" }, + "description": "UpdateRegion updates a region definition in your Merchant Center account.\nExecuting this method requires admin access.", + "file": "RegionsClient/UpdateRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionsService_UpdateRegion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateRegion Sample" }, { - "regionTag": "merchantapi_v1_generated_ShippingSettingsService_GetShippingSettings_sync", - "title": "merchantapi GetShippingSettings Sample", - "description": "GetShippingSettings retrieve shipping setting information.", - "file": "ShippingSettingsClient/GetShippingSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetShippingSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsClient", + "shortName": "ShippingSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsClient.GetShippingSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService.GetShippingSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService", + "shortName": "ShippingSettingsService" + }, + "shortName": "GetShippingSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetShippingSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetShippingSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.ShippingSettings", - "client": { - "shortName": "ShippingSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsClient" - }, - "method": { - "shortName": "GetShippingSettings", - "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService.GetShippingSettings", - "service": { - "shortName": "ShippingSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService" - } - } + "shortName": "GetShippingSettings" }, + "description": "GetShippingSettings retrieve shipping setting information.", + "file": "ShippingSettingsClient/GetShippingSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ShippingSettingsService_GetShippingSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetShippingSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_ShippingSettingsService_InsertShippingSettings_sync", - "title": "merchantapi InsertShippingSettings Sample", - "description": "InsertShippingSettings replace the shipping setting of a business with the request shipping\nsetting. Executing this method requires admin access.", - "file": "ShippingSettingsClient/InsertShippingSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertShippingSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsClient", + "shortName": "ShippingSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsClient.InsertShippingSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService.InsertShippingSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService", + "shortName": "ShippingSettingsService" + }, + "shortName": "InsertShippingSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.InsertShippingSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.InsertShippingSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.ShippingSettings", - "client": { - "shortName": "ShippingSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsClient" - }, - "method": { - "shortName": "InsertShippingSettings", - "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService.InsertShippingSettings", - "service": { - "shortName": "ShippingSettingsService", - "fullName": "google.shopping.merchant.accounts.v1.ShippingSettingsService" - } - } + "shortName": "InsertShippingSettings" }, + "description": "InsertShippingSettings replace the shipping setting of a business with the request shipping\nsetting. Executing this method requires admin access.", + "file": "ShippingSettingsClient/InsertShippingSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ShippingSettingsService_InsertShippingSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertShippingSettings Sample" }, { - "regionTag": "merchantapi_v1_generated_TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_sync", - "title": "merchantapi GetTermsOfServiceAgreementState Sample", - "description": "GetTermsOfServiceAgreementState returns the state of a terms of service agreement.", - "file": "TermsOfServiceAgreementStateClient/GetTermsOfServiceAgreementState/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTermsOfServiceAgreementState", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateClient", + "shortName": "TermsOfServiceAgreementStateClient" + }, "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateClient.GetTermsOfServiceAgreementState", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService", + "shortName": "TermsOfServiceAgreementStateService" + }, + "shortName": "GetTermsOfServiceAgreementState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetTermsOfServiceAgreementStateRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetTermsOfServiceAgreementStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfServiceAgreementState", - "client": { - "shortName": "TermsOfServiceAgreementStateClient", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateClient" - }, - "method": { - "shortName": "GetTermsOfServiceAgreementState", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState", - "service": { - "shortName": "TermsOfServiceAgreementStateService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService" - } - } + "shortName": "GetTermsOfServiceAgreementState" }, + "description": "GetTermsOfServiceAgreementState returns the state of a terms of service agreement.", + "file": "TermsOfServiceAgreementStateClient/GetTermsOfServiceAgreementState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetTermsOfServiceAgreementState Sample" }, { - "regionTag": "merchantapi_v1_generated_TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_sync", - "title": "merchantapi RetrieveForApplicationTermsOfServiceAgreementState Sample", - "description": "RetrieveForApplicationTermsOfServiceAgreementState retrieves the state of the agreement for the application terms of service.\n\nApplication terms of service covers permissions related to the usage of\ndata provided through Merchant Center, CSS Center, Manufacturer Center, and\nmore.", - "file": "TermsOfServiceAgreementStateClient/RetrieveForApplicationTermsOfServiceAgreementState/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveForApplicationTermsOfServiceAgreementState", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateClient", + "shortName": "TermsOfServiceAgreementStateClient" + }, "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateClient.RetrieveForApplicationTermsOfServiceAgreementState", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService", + "shortName": "TermsOfServiceAgreementStateService" + }, + "shortName": "RetrieveForApplicationTermsOfServiceAgreementState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RetrieveForApplicationTermsOfServiceAgreementStateRequest", - "name": "req" + "name": "req", + "type": "accountspb.RetrieveForApplicationTermsOfServiceAgreementStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfServiceAgreementState", - "client": { - "shortName": "TermsOfServiceAgreementStateClient", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateClient" - }, - "method": { - "shortName": "RetrieveForApplicationTermsOfServiceAgreementState", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState", - "service": { - "shortName": "TermsOfServiceAgreementStateService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceAgreementStateService" - } - } + "shortName": "RetrieveForApplicationTermsOfServiceAgreementState" }, + "description": "RetrieveForApplicationTermsOfServiceAgreementState retrieves the state of the agreement for the application terms of service.\n\nApplication terms of service covers permissions related to the usage of\ndata provided through Merchant Center, CSS Center, Manufacturer Center, and\nmore.", + "file": "TermsOfServiceAgreementStateClient/RetrieveForApplicationTermsOfServiceAgreementState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RetrieveForApplicationTermsOfServiceAgreementState Sample" }, { - "regionTag": "merchantapi_v1_generated_TermsOfServiceService_AcceptTermsOfService_sync", - "title": "merchantapi AcceptTermsOfService Sample", - "description": "AcceptTermsOfService accepts a `TermsOfService`. Executing this method requires admin access.", - "file": "TermsOfServiceClient/AcceptTermsOfService/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptTermsOfService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient", + "shortName": "TermsOfServiceClient" + }, "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient.AcceptTermsOfService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService.AcceptTermsOfService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService", + "shortName": "TermsOfServiceService" + }, + "shortName": "AcceptTermsOfService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.AcceptTermsOfServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.AcceptTermsOfServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AcceptTermsOfServiceResponse", - "client": { - "shortName": "TermsOfServiceClient", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient" - }, - "method": { - "shortName": "AcceptTermsOfService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService.AcceptTermsOfService", - "service": { - "shortName": "TermsOfServiceService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService" - } - } + "shortName": "AcceptTermsOfService" }, + "description": "AcceptTermsOfService accepts a `TermsOfService`. Executing this method requires admin access.", + "file": "TermsOfServiceClient/AcceptTermsOfService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_TermsOfServiceService_AcceptTermsOfService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi AcceptTermsOfService Sample" }, { - "regionTag": "merchantapi_v1_generated_TermsOfServiceService_GetTermsOfService_sync", - "title": "merchantapi GetTermsOfService Sample", - "description": "GetTermsOfService retrieves the `TermsOfService` associated with the provided version.", - "file": "TermsOfServiceClient/GetTermsOfService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTermsOfService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient", + "shortName": "TermsOfServiceClient" + }, "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient.GetTermsOfService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService.GetTermsOfService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService", + "shortName": "TermsOfServiceService" + }, + "shortName": "GetTermsOfService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetTermsOfServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetTermsOfServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfService", - "client": { - "shortName": "TermsOfServiceClient", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient" - }, - "method": { - "shortName": "GetTermsOfService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService.GetTermsOfService", - "service": { - "shortName": "TermsOfServiceService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService" - } - } + "shortName": "GetTermsOfService" }, + "description": "GetTermsOfService retrieves the `TermsOfService` associated with the provided version.", + "file": "TermsOfServiceClient/GetTermsOfService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_TermsOfServiceService_GetTermsOfService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetTermsOfService Sample" }, { - "regionTag": "merchantapi_v1_generated_TermsOfServiceService_RetrieveLatestTermsOfService_sync", - "title": "merchantapi RetrieveLatestTermsOfService Sample", - "description": "RetrieveLatestTermsOfService retrieves the latest version of the `TermsOfService` for a given `kind` and\n`region_code`.", - "file": "TermsOfServiceClient/RetrieveLatestTermsOfService/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveLatestTermsOfService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient", + "shortName": "TermsOfServiceClient" + }, "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient.RetrieveLatestTermsOfService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService.RetrieveLatestTermsOfService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService", + "shortName": "TermsOfServiceService" + }, + "shortName": "RetrieveLatestTermsOfService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RetrieveLatestTermsOfServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.RetrieveLatestTermsOfServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfService", - "client": { - "shortName": "TermsOfServiceClient", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceClient" - }, - "method": { - "shortName": "RetrieveLatestTermsOfService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService.RetrieveLatestTermsOfService", - "service": { - "shortName": "TermsOfServiceService", - "fullName": "google.shopping.merchant.accounts.v1.TermsOfServiceService" - } - } + "shortName": "RetrieveLatestTermsOfService" }, + "description": "RetrieveLatestTermsOfService retrieves the latest version of the `TermsOfService` for a given `kind` and\n`region_code`.", + "file": "TermsOfServiceClient/RetrieveLatestTermsOfService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_TermsOfServiceService_RetrieveLatestTermsOfService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RetrieveLatestTermsOfService Sample" }, { - "regionTag": "merchantapi_v1_generated_UserService_CreateUser_sync", - "title": "merchantapi CreateUser Sample", - "description": "CreateUser creates a Merchant Center account user. Executing this method requires\nadmin access.", - "file": "UserClient/CreateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1.UserClient.CreateUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.UserService.CreateUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.UserService", + "shortName": "UserService" + }, + "shortName": "CreateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1.UserClient" - }, - "method": { - "shortName": "CreateUser", - "fullName": "google.shopping.merchant.accounts.v1.UserService.CreateUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1.UserService" - } - } + "shortName": "CreateUser" }, + "description": "CreateUser creates a Merchant Center account user. Executing this method requires\nadmin access.", + "file": "UserClient/CreateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_UserService_CreateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateUser Sample" }, { - "regionTag": "merchantapi_v1_generated_UserService_DeleteUser_sync", - "title": "merchantapi DeleteUser Sample", - "description": "DeleteUser deletes a Merchant Center account user. Executing this method requires\nadmin access. The user to be deleted can't be the last admin user of that\naccount.", - "file": "UserClient/DeleteUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1.UserClient.DeleteUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.UserService.DeleteUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.UserService", + "shortName": "UserService" + }, + "shortName": "DeleteUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1.UserClient" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.shopping.merchant.accounts.v1.UserService.DeleteUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1.UserService" - } - } + "shortName": "DeleteUser" }, + "description": "DeleteUser deletes a Merchant Center account user. Executing this method requires\nadmin access. The user to be deleted can't be the last admin user of that\naccount.", + "file": "UserClient/DeleteUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_UserService_DeleteUser_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteUser Sample" }, { - "regionTag": "merchantapi_v1_generated_UserService_GetUser_sync", - "title": "merchantapi GetUser Sample", - "description": "GetUser retrieves a Merchant Center account user.", - "file": "UserClient/GetUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1.UserClient.GetUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.UserService.GetUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.UserService", + "shortName": "UserService" + }, + "shortName": "GetUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1.UserClient" - }, - "method": { - "shortName": "GetUser", - "fullName": "google.shopping.merchant.accounts.v1.UserService.GetUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1.UserService" - } - } + "shortName": "GetUser" }, + "description": "GetUser retrieves a Merchant Center account user.", + "file": "UserClient/GetUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_UserService_GetUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetUser Sample" }, { - "regionTag": "merchantapi_v1_generated_UserService_ListUsers_sync", - "title": "merchantapi ListUsers Sample", - "description": "ListUsers lists all users of a Merchant Center account.", - "file": "UserClient/ListUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsers", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1.UserClient.ListUsers", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.UserService.ListUsers", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.UserService", + "shortName": "UserService" + }, + "shortName": "ListUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListUsersRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserIterator", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1.UserClient" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.shopping.merchant.accounts.v1.UserService.ListUsers", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1.UserService" - } - } + "shortName": "ListUsers" }, + "description": "ListUsers lists all users of a Merchant Center account.", + "file": "UserClient/ListUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_UserService_ListUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListUsers Sample" }, { - "regionTag": "merchantapi_v1_generated_UserService_UpdateUser_sync", - "title": "merchantapi UpdateUser Sample", - "description": "UpdateUser updates a Merchant Center account user. Executing this method requires\nadmin access.", - "file": "UserClient/UpdateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1.UserClient.UpdateUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.UserService.UpdateUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.UserService", + "shortName": "UserService" + }, + "shortName": "UpdateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1.UserClient" - }, - "method": { - "shortName": "UpdateUser", - "fullName": "google.shopping.merchant.accounts.v1.UserService.UpdateUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1.UserService" - } - } + "shortName": "UpdateUser" }, + "description": "UpdateUser updates a Merchant Center account user. Executing this method requires\nadmin access.", + "file": "UserClient/UpdateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_UserService_UpdateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateUser Sample" }, { - "regionTag": "merchantapi_v1_generated_UserService_VerifySelf_sync", - "title": "merchantapi VerifySelf Sample", - "description": "VerifySelf updates the user that is represented by the caller from pending to\nverified.", - "file": "UserClient/VerifySelf/main.go", - "language": "GO", "clientMethod": { - "shortName": "VerifySelf", + "client": { + "fullName": "google.shopping.merchant.accounts.v1.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1.UserClient.VerifySelf", + "method": { + "fullName": "google.shopping.merchant.accounts.v1.UserService.VerifySelf", + "service": { + "fullName": "google.shopping.merchant.accounts.v1.UserService", + "shortName": "UserService" + }, + "shortName": "VerifySelf" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.VerifySelfRequest", - "name": "req" + "name": "req", + "type": "accountspb.VerifySelfRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1.UserClient" - }, - "method": { - "shortName": "VerifySelf", - "fullName": "google.shopping.merchant.accounts.v1.UserService.VerifySelf", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1.UserService" - } - } + "shortName": "VerifySelf" }, + "description": "VerifySelf updates the user that is represented by the caller from pending to\nverified.", + "file": "UserClient/VerifySelf/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_UserService_VerifySelf_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi VerifySelf Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json b/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json index bc6838d9318d..6c05570c5936 100644 --- a/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json @@ -1,2907 +1,2907 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/accounts/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.accounts.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/accounts/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_AccountIssueService_ListAccountIssues_sync", - "title": "merchantapi ListAccountIssues Sample", - "description": "ListAccountIssues lists all account issues of a Merchant Center account.", - "file": "AccountIssueClient/ListAccountIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountIssues", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueClient", + "shortName": "AccountIssueClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueClient.ListAccountIssues", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueService.ListAccountIssues", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueService", + "shortName": "AccountIssueService" + }, + "shortName": "ListAccountIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountIssuesRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIssueIterator", - "client": { - "shortName": "AccountIssueClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueClient" - }, - "method": { - "shortName": "ListAccountIssues", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueService.ListAccountIssues", - "service": { - "shortName": "AccountIssueService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueService" - } - } + "shortName": "ListAccountIssues" }, + "description": "ListAccountIssues lists all account issues of a Merchant Center account.", + "file": "AccountIssueClient/ListAccountIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountIssueService_ListAccountIssues_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccountIssues Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountTaxService_GetAccountTax_sync", - "title": "merchantapi GetAccountTax Sample", - "description": "GetAccountTax returns the tax rules that match the conditions of GetAccountTaxRequest", - "file": "AccountTaxClient/GetAccountTax/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccountTax", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient", + "shortName": "AccountTaxClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient.GetAccountTax", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.GetAccountTax", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService", + "shortName": "AccountTaxService" + }, + "shortName": "GetAccountTax" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAccountTaxRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAccountTaxRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountTax", - "client": { - "shortName": "AccountTaxClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient" - }, - "method": { - "shortName": "GetAccountTax", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.GetAccountTax", - "service": { - "shortName": "AccountTaxService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService" - } - } + "shortName": "GetAccountTax" }, + "description": "GetAccountTax returns the tax rules that match the conditions of GetAccountTaxRequest", + "file": "AccountTaxClient/GetAccountTax/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountTaxService_GetAccountTax_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccountTax Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountTaxService_ListAccountTax_sync", - "title": "merchantapi ListAccountTax Sample", - "description": "ListAccountTax lists the tax settings of the sub-accounts only in your\nMerchant Center account.\nThis method can only be called on a multi-client account, otherwise it'll\nreturn an error.", - "file": "AccountTaxClient/ListAccountTax/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountTax", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient", + "shortName": "AccountTaxClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient.ListAccountTax", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.ListAccountTax", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService", + "shortName": "AccountTaxService" + }, + "shortName": "ListAccountTax" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountTaxRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountTaxRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountTaxIterator", - "client": { - "shortName": "AccountTaxClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient" - }, - "method": { - "shortName": "ListAccountTax", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.ListAccountTax", - "service": { - "shortName": "AccountTaxService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService" - } - } + "shortName": "ListAccountTax" }, + "description": "ListAccountTax lists the tax settings of the sub-accounts only in your\nMerchant Center account.\nThis method can only be called on a multi-client account, otherwise it'll\nreturn an error.", + "file": "AccountTaxClient/ListAccountTax/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountTaxService_ListAccountTax_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccountTax Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountTaxService_UpdateAccountTax_sync", - "title": "merchantapi UpdateAccountTax Sample", - "description": "UpdateAccountTax updates the tax settings of the account.", - "file": "AccountTaxClient/UpdateAccountTax/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccountTax", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient", + "shortName": "AccountTaxClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient.UpdateAccountTax", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.UpdateAccountTax", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService", + "shortName": "AccountTaxService" + }, + "shortName": "UpdateAccountTax" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAccountTaxRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAccountTaxRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AccountTax", - "client": { - "shortName": "AccountTaxClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient" - }, - "method": { - "shortName": "UpdateAccountTax", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.UpdateAccountTax", - "service": { - "shortName": "AccountTaxService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService" - } - } + "shortName": "UpdateAccountTax" }, + "description": "UpdateAccountTax updates the tax settings of the account.", + "file": "AccountTaxClient/UpdateAccountTax/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountTaxService_UpdateAccountTax_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAccountTax Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountsService_CreateAndConfigureAccount_sync", - "title": "merchantapi CreateAndConfigureAccount Sample", - "description": "CreateAndConfigureAccount creates a standalone Merchant Center account with additional configuration.\nAdds the user that makes the request as an admin for the new account.", - "file": "Client/CreateAndConfigureAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAndConfigureAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1beta.Client.CreateAndConfigureAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.CreateAndConfigureAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "CreateAndConfigureAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateAndConfigureAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateAndConfigureAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1beta.Client" - }, - "method": { - "shortName": "CreateAndConfigureAccount", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.CreateAndConfigureAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService" - } - } + "shortName": "CreateAndConfigureAccount" }, + "description": "CreateAndConfigureAccount creates a standalone Merchant Center account with additional configuration.\nAdds the user that makes the request as an admin for the new account.", + "file": "Client/CreateAndConfigureAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountsService_CreateAndConfigureAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateAndConfigureAccount Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountsService_DeleteAccount_sync", - "title": "merchantapi DeleteAccount Sample", - "description": "DeleteAccount deletes the specified account regardless of its type: standalone, MCA or\nsub-account. Deleting an MCA leads to the deletion of all of its\nsub-accounts. Executing this method requires admin access.\nThe deletion succeeds only if the account does not provide services\nto any other account and has no processed offers. You can use the `force`\nparameter to override this.", - "file": "Client/DeleteAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1beta.Client.DeleteAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.DeleteAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "DeleteAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1beta.Client" - }, - "method": { - "shortName": "DeleteAccount", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.DeleteAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService" - } - } + "shortName": "DeleteAccount" }, + "description": "DeleteAccount deletes the specified account regardless of its type: standalone, MCA or\nsub-account. Deleting an MCA leads to the deletion of all of its\nsub-accounts. Executing this method requires admin access.\nThe deletion succeeds only if the account does not provide services\nto any other account and has no processed offers. You can use the `force`\nparameter to override this.", + "file": "Client/DeleteAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountsService_DeleteAccount_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteAccount Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountsService_GetAccount_sync", - "title": "merchantapi GetAccount Sample", - "description": "GetAccount retrieves an account from your Merchant Center account.\nAfter inserting, updating, or deleting an account, it may take several\nminutes before changes take effect.", - "file": "Client/GetAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1beta.Client.GetAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.GetAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "GetAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1beta.Client" - }, - "method": { - "shortName": "GetAccount", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.GetAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService" - } - } + "shortName": "GetAccount" }, + "description": "GetAccount retrieves an account from your Merchant Center account.\nAfter inserting, updating, or deleting an account, it may take several\nminutes before changes take effect.", + "file": "Client/GetAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountsService_GetAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccount Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountsService_ListAccounts_sync", - "title": "merchantapi ListAccounts Sample", - "description": "ListAccounts lists accounts accessible to the calling user and matching the\nconstraints of the request such as page size or filters.\nThis is not just listing the sub-accounts of an MCA, but all accounts the\ncalling user has access to including other MCAs, linked accounts,\nstandalone accounts and so on. If no filter is provided, then it returns\naccounts the user is directly added to.", - "file": "Client/ListAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccounts", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1beta.Client.ListAccounts", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.ListAccounts", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "ListAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListAccountsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1beta.Client" - }, - "method": { - "shortName": "ListAccounts", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.ListAccounts", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService" - } - } + "shortName": "ListAccounts" }, + "description": "ListAccounts lists accounts accessible to the calling user and matching the\nconstraints of the request such as page size or filters.\nThis is not just listing the sub-accounts of an MCA, but all accounts the\ncalling user has access to including other MCAs, linked accounts,\nstandalone accounts and so on. If no filter is provided, then it returns\naccounts the user is directly added to.", + "file": "Client/ListAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountsService_ListAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccounts Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountsService_ListSubAccounts_sync", - "title": "merchantapi ListSubAccounts Sample", - "description": "ListSubAccounts list all sub-accounts for a given multi client account. This is a\nconvenience wrapper for the more powerful `ListAccounts` method. This\nmethod will produce the same results as calling `ListsAccounts` with the\nfollowing filter: \n`relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`", - "file": "Client/ListSubAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubAccounts", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1beta.Client.ListSubAccounts", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.ListSubAccounts", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "ListSubAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListSubAccountsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListSubAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1beta.Client" - }, - "method": { - "shortName": "ListSubAccounts", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.ListSubAccounts", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService" - } - } + "shortName": "ListSubAccounts" }, + "description": "ListSubAccounts list all sub-accounts for a given multi client account. This is a\nconvenience wrapper for the more powerful `ListAccounts` method. This\nmethod will produce the same results as calling `ListsAccounts` with the\nfollowing filter: \n`relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`", + "file": "Client/ListSubAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountsService_ListSubAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListSubAccounts Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AccountsService_UpdateAccount_sync", - "title": "merchantapi UpdateAccount Sample", - "description": "UpdateAccount updates an account regardless of its type: standalone, MCA or sub-account.\nExecuting this method requires admin access.", - "file": "Client/UpdateAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.accounts.v1beta.Client.UpdateAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.UpdateAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService", + "shortName": "AccountsService" + }, + "shortName": "UpdateAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Account", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.accounts.v1beta.Client" - }, - "method": { - "shortName": "UpdateAccount", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.UpdateAccount", - "service": { - "shortName": "AccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService" - } - } + "shortName": "UpdateAccount" }, + "description": "UpdateAccount updates an account regardless of its type: standalone, MCA or sub-account.\nExecuting this method requires admin access.", + "file": "Client/UpdateAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AccountsService_UpdateAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAccount Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AutofeedSettingsService_GetAutofeedSettings_sync", - "title": "merchantapi GetAutofeedSettings Sample", - "description": "GetAutofeedSettings retrieves the autofeed settings of an account.", - "file": "AutofeedSettingsClient/GetAutofeedSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutofeedSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient", + "shortName": "AutofeedSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient.GetAutofeedSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.GetAutofeedSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService", + "shortName": "AutofeedSettingsService" + }, + "shortName": "GetAutofeedSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAutofeedSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAutofeedSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutofeedSettings", - "client": { - "shortName": "AutofeedSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient" - }, - "method": { - "shortName": "GetAutofeedSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.GetAutofeedSettings", - "service": { - "shortName": "AutofeedSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService" - } - } + "shortName": "GetAutofeedSettings" }, + "description": "GetAutofeedSettings retrieves the autofeed settings of an account.", + "file": "AutofeedSettingsClient/GetAutofeedSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AutofeedSettingsService_GetAutofeedSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAutofeedSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AutofeedSettingsService_UpdateAutofeedSettings_sync", - "title": "merchantapi UpdateAutofeedSettings Sample", - "description": "UpdateAutofeedSettings updates the autofeed settings of an account.", - "file": "AutofeedSettingsClient/UpdateAutofeedSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutofeedSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient", + "shortName": "AutofeedSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient.UpdateAutofeedSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.UpdateAutofeedSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService", + "shortName": "AutofeedSettingsService" + }, + "shortName": "UpdateAutofeedSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAutofeedSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAutofeedSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutofeedSettings", - "client": { - "shortName": "AutofeedSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient" - }, - "method": { - "shortName": "UpdateAutofeedSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.UpdateAutofeedSettings", - "service": { - "shortName": "AutofeedSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService" - } - } + "shortName": "UpdateAutofeedSettings" }, + "description": "UpdateAutofeedSettings updates the autofeed settings of an account.", + "file": "AutofeedSettingsClient/UpdateAutofeedSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AutofeedSettingsService_UpdateAutofeedSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAutofeedSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AutomaticImprovementsService_GetAutomaticImprovements_sync", - "title": "merchantapi GetAutomaticImprovements Sample", - "description": "GetAutomaticImprovements retrieves the automatic improvements of an account.", - "file": "AutomaticImprovementsClient/GetAutomaticImprovements/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAutomaticImprovements", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient", + "shortName": "AutomaticImprovementsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient.GetAutomaticImprovements", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.GetAutomaticImprovements", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService", + "shortName": "AutomaticImprovementsService" + }, + "shortName": "GetAutomaticImprovements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetAutomaticImprovementsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetAutomaticImprovementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutomaticImprovements", - "client": { - "shortName": "AutomaticImprovementsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient" - }, - "method": { - "shortName": "GetAutomaticImprovements", - "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.GetAutomaticImprovements", - "service": { - "shortName": "AutomaticImprovementsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService" - } - } + "shortName": "GetAutomaticImprovements" }, + "description": "GetAutomaticImprovements retrieves the automatic improvements of an account.", + "file": "AutomaticImprovementsClient/GetAutomaticImprovements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AutomaticImprovementsService_GetAutomaticImprovements_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAutomaticImprovements Sample" }, { - "regionTag": "merchantapi_v1beta_generated_AutomaticImprovementsService_UpdateAutomaticImprovements_sync", - "title": "merchantapi UpdateAutomaticImprovements Sample", - "description": "UpdateAutomaticImprovements updates the automatic improvements of an account.", - "file": "AutomaticImprovementsClient/UpdateAutomaticImprovements/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAutomaticImprovements", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient", + "shortName": "AutomaticImprovementsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient.UpdateAutomaticImprovements", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.UpdateAutomaticImprovements", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService", + "shortName": "AutomaticImprovementsService" + }, + "shortName": "UpdateAutomaticImprovements" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateAutomaticImprovementsRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateAutomaticImprovementsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.AutomaticImprovements", - "client": { - "shortName": "AutomaticImprovementsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient" - }, - "method": { - "shortName": "UpdateAutomaticImprovements", - "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.UpdateAutomaticImprovements", - "service": { - "shortName": "AutomaticImprovementsService", - "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService" - } - } + "shortName": "UpdateAutomaticImprovements" }, + "description": "UpdateAutomaticImprovements updates the automatic improvements of an account.", + "file": "AutomaticImprovementsClient/UpdateAutomaticImprovements/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AutomaticImprovementsService_UpdateAutomaticImprovements_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateAutomaticImprovements Sample" }, { - "regionTag": "merchantapi_v1beta_generated_BusinessIdentityService_GetBusinessIdentity_sync", - "title": "merchantapi GetBusinessIdentity Sample", - "description": "GetBusinessIdentity retrieves the business identity of an account.", - "file": "BusinessIdentityClient/GetBusinessIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBusinessIdentity", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient", + "shortName": "BusinessIdentityClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient.GetBusinessIdentity", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService.GetBusinessIdentity", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService", + "shortName": "BusinessIdentityService" + }, + "shortName": "GetBusinessIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetBusinessIdentityRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetBusinessIdentityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessIdentity", - "client": { - "shortName": "BusinessIdentityClient", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient" - }, - "method": { - "shortName": "GetBusinessIdentity", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService.GetBusinessIdentity", - "service": { - "shortName": "BusinessIdentityService", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService" - } - } + "shortName": "GetBusinessIdentity" }, + "description": "GetBusinessIdentity retrieves the business identity of an account.", + "file": "BusinessIdentityClient/GetBusinessIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_BusinessIdentityService_GetBusinessIdentity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetBusinessIdentity Sample" }, { - "regionTag": "merchantapi_v1beta_generated_BusinessIdentityService_UpdateBusinessIdentity_sync", - "title": "merchantapi UpdateBusinessIdentity Sample", - "description": "UpdateBusinessIdentity updates the business identity of an account. Executing this method requires\nadmin access.", - "file": "BusinessIdentityClient/UpdateBusinessIdentity/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBusinessIdentity", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient", + "shortName": "BusinessIdentityClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient.UpdateBusinessIdentity", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService.UpdateBusinessIdentity", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService", + "shortName": "BusinessIdentityService" + }, + "shortName": "UpdateBusinessIdentity" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateBusinessIdentityRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateBusinessIdentityRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessIdentity", - "client": { - "shortName": "BusinessIdentityClient", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient" - }, - "method": { - "shortName": "UpdateBusinessIdentity", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService.UpdateBusinessIdentity", - "service": { - "shortName": "BusinessIdentityService", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService" - } - } + "shortName": "UpdateBusinessIdentity" }, + "description": "UpdateBusinessIdentity updates the business identity of an account. Executing this method requires\nadmin access.", + "file": "BusinessIdentityClient/UpdateBusinessIdentity/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_BusinessIdentityService_UpdateBusinessIdentity_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateBusinessIdentity Sample" }, { - "regionTag": "merchantapi_v1beta_generated_BusinessInfoService_GetBusinessInfo_sync", - "title": "merchantapi GetBusinessInfo Sample", - "description": "GetBusinessInfo retrieves the business info of an account.", - "file": "BusinessInfoClient/GetBusinessInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBusinessInfo", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient", + "shortName": "BusinessInfoClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient.GetBusinessInfo", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService.GetBusinessInfo", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService", + "shortName": "BusinessInfoService" + }, + "shortName": "GetBusinessInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetBusinessInfoRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetBusinessInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessInfo", - "client": { - "shortName": "BusinessInfoClient", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient" - }, - "method": { - "shortName": "GetBusinessInfo", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService.GetBusinessInfo", - "service": { - "shortName": "BusinessInfoService", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService" - } - } + "shortName": "GetBusinessInfo" }, + "description": "GetBusinessInfo retrieves the business info of an account.", + "file": "BusinessInfoClient/GetBusinessInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_BusinessInfoService_GetBusinessInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetBusinessInfo Sample" }, { - "regionTag": "merchantapi_v1beta_generated_BusinessInfoService_UpdateBusinessInfo_sync", - "title": "merchantapi UpdateBusinessInfo Sample", - "description": "UpdateBusinessInfo updates the business info of an account. Executing this method requires\nadmin access.", - "file": "BusinessInfoClient/UpdateBusinessInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBusinessInfo", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient", + "shortName": "BusinessInfoClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient.UpdateBusinessInfo", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService.UpdateBusinessInfo", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService", + "shortName": "BusinessInfoService" + }, + "shortName": "UpdateBusinessInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateBusinessInfoRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateBusinessInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.BusinessInfo", - "client": { - "shortName": "BusinessInfoClient", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient" - }, - "method": { - "shortName": "UpdateBusinessInfo", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService.UpdateBusinessInfo", - "service": { - "shortName": "BusinessInfoService", - "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService" - } - } + "shortName": "UpdateBusinessInfo" }, + "description": "UpdateBusinessInfo updates the business info of an account. Executing this method requires\nadmin access.", + "file": "BusinessInfoClient/UpdateBusinessInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_BusinessInfoService_UpdateBusinessInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateBusinessInfo Sample" }, { - "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_CreateCheckoutSettings_sync", - "title": "merchantapi CreateCheckoutSettings Sample", - "description": "CreateCheckoutSettings creates `CheckoutSettings` for the given merchant.", - "file": "CheckoutSettingsClient/CreateCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.CreateCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.CreateCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "CreateCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.CheckoutSettings", - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient" - }, - "method": { - "shortName": "CreateCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.CreateCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService" - } - } + "shortName": "CreateCheckoutSettings" }, + "description": "CreateCheckoutSettings creates `CheckoutSettings` for the given merchant.", + "file": "CheckoutSettingsClient/CreateCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_CreateCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_DeleteCheckoutSettings_sync", - "title": "merchantapi DeleteCheckoutSettings Sample", - "description": "DeleteCheckoutSettings deletes `CheckoutSettings` and unenrolls merchant from\n`Checkout` program.", - "file": "CheckoutSettingsClient/DeleteCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.DeleteCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.DeleteCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "DeleteCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient" - }, - "method": { - "shortName": "DeleteCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.DeleteCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService" - } - } + "shortName": "DeleteCheckoutSettings" }, + "description": "DeleteCheckoutSettings deletes `CheckoutSettings` and unenrolls merchant from\n`Checkout` program.", + "file": "CheckoutSettingsClient/DeleteCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_DeleteCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_GetCheckoutSettings_sync", - "title": "merchantapi GetCheckoutSettings Sample", - "description": "GetCheckoutSettings gets `CheckoutSettings` for the given merchant. This includes\ninformation about review state, enrollment state and URL settings.", - "file": "CheckoutSettingsClient/GetCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.GetCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.GetCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "GetCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.CheckoutSettings", - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient" - }, - "method": { - "shortName": "GetCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.GetCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService" - } - } + "shortName": "GetCheckoutSettings" }, + "description": "GetCheckoutSettings gets `CheckoutSettings` for the given merchant. This includes\ninformation about review state, enrollment state and URL settings.", + "file": "CheckoutSettingsClient/GetCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_GetCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_UpdateCheckoutSettings_sync", - "title": "merchantapi UpdateCheckoutSettings Sample", - "description": "UpdateCheckoutSettings updates `CheckoutSettings` for the given merchant.", - "file": "CheckoutSettingsClient/UpdateCheckoutSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCheckoutSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient", + "shortName": "CheckoutSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.UpdateCheckoutSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.UpdateCheckoutSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService", + "shortName": "CheckoutSettingsService" + }, + "shortName": "UpdateCheckoutSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateCheckoutSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateCheckoutSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.CheckoutSettings", - "client": { - "shortName": "CheckoutSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient" - }, - "method": { - "shortName": "UpdateCheckoutSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.UpdateCheckoutSettings", - "service": { - "shortName": "CheckoutSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService" - } - } + "shortName": "UpdateCheckoutSettings" }, + "description": "UpdateCheckoutSettings updates `CheckoutSettings` for the given merchant.", + "file": "CheckoutSettingsClient/UpdateCheckoutSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_UpdateCheckoutSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateCheckoutSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_EmailPreferencesService_GetEmailPreferences_sync", - "title": "merchantapi GetEmailPreferences Sample", - "description": "GetEmailPreferences returns the email preferences for a Merchant Center account user.\n\nUse the name=accounts/*/users/me/emailPreferences alias to get preferences\nfor the authenticated user.", - "file": "EmailPreferencesClient/GetEmailPreferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEmailPreferences", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient", + "shortName": "EmailPreferencesClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient.GetEmailPreferences", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService.GetEmailPreferences", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService", + "shortName": "EmailPreferencesService" + }, + "shortName": "GetEmailPreferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetEmailPreferencesRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetEmailPreferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.EmailPreferences", - "client": { - "shortName": "EmailPreferencesClient", - "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient" - }, - "method": { - "shortName": "GetEmailPreferences", - "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService.GetEmailPreferences", - "service": { - "shortName": "EmailPreferencesService", - "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService" - } - } + "shortName": "GetEmailPreferences" }, + "description": "GetEmailPreferences returns the email preferences for a Merchant Center account user.\n\nUse the name=accounts/*/users/me/emailPreferences alias to get preferences\nfor the authenticated user.", + "file": "EmailPreferencesClient/GetEmailPreferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_EmailPreferencesService_GetEmailPreferences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetEmailPreferences Sample" }, { - "regionTag": "merchantapi_v1beta_generated_EmailPreferencesService_UpdateEmailPreferences_sync", - "title": "merchantapi UpdateEmailPreferences Sample", - "description": "UpdateEmailPreferences updates the email preferences for a Merchant Center account user. MCA users\nshould specify the MCA account rather than a sub-account of the MCA.\n\nPreferences which are not explicitly selected in the update mask will not\nbe updated.\n\nIt is invalid for updates to specify an UNCONFIRMED opt-in status value.\n\nUse the name=accounts/*/users/me/emailPreferences alias to update\npreferences\nfor the authenticated user.", - "file": "EmailPreferencesClient/UpdateEmailPreferences/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEmailPreferences", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient", + "shortName": "EmailPreferencesClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient.UpdateEmailPreferences", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService.UpdateEmailPreferences", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService", + "shortName": "EmailPreferencesService" + }, + "shortName": "UpdateEmailPreferences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateEmailPreferencesRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateEmailPreferencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.EmailPreferences", - "client": { - "shortName": "EmailPreferencesClient", - "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient" - }, - "method": { - "shortName": "UpdateEmailPreferences", - "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService.UpdateEmailPreferences", - "service": { - "shortName": "EmailPreferencesService", - "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService" - } - } + "shortName": "UpdateEmailPreferences" }, + "description": "UpdateEmailPreferences updates the email preferences for a Merchant Center account user. MCA users\nshould specify the MCA account rather than a sub-account of the MCA.\n\nPreferences which are not explicitly selected in the update mask will not\nbe updated.\n\nIt is invalid for updates to specify an UNCONFIRMED opt-in status value.\n\nUse the name=accounts/*/users/me/emailPreferences alias to update\npreferences\nfor the authenticated user.", + "file": "EmailPreferencesClient/UpdateEmailPreferences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_EmailPreferencesService_UpdateEmailPreferences_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateEmailPreferences Sample" }, { - "regionTag": "merchantapi_v1beta_generated_GbpAccountsService_LinkGbpAccount_sync", - "title": "merchantapi LinkGbpAccount Sample", - "description": "LinkGbpAccount link the specified merchant to a GBP account for all countries.", - "file": "GbpAccountsClient/LinkGbpAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "LinkGbpAccount", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient", + "shortName": "GbpAccountsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient.LinkGbpAccount", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService.LinkGbpAccount", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService", + "shortName": "GbpAccountsService" + }, + "shortName": "LinkGbpAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.LinkGbpAccountRequest", - "name": "req" + "name": "req", + "type": "accountspb.LinkGbpAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.LinkGbpAccountResponse", - "client": { - "shortName": "GbpAccountsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient" - }, - "method": { - "shortName": "LinkGbpAccount", - "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService.LinkGbpAccount", - "service": { - "shortName": "GbpAccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService" - } - } + "shortName": "LinkGbpAccount" }, + "description": "LinkGbpAccount link the specified merchant to a GBP account for all countries.", + "file": "GbpAccountsClient/LinkGbpAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_GbpAccountsService_LinkGbpAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi LinkGbpAccount Sample" }, { - "regionTag": "merchantapi_v1beta_generated_GbpAccountsService_ListGbpAccounts_sync", - "title": "merchantapi ListGbpAccounts Sample", - "description": "ListGbpAccounts list the GBP accounts for a given merchant.", - "file": "GbpAccountsClient/ListGbpAccounts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGbpAccounts", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient", + "shortName": "GbpAccountsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient.ListGbpAccounts", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService.ListGbpAccounts", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService", + "shortName": "GbpAccountsService" + }, + "shortName": "ListGbpAccounts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListGbpAccountsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListGbpAccountsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GbpAccountIterator", - "client": { - "shortName": "GbpAccountsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient" - }, - "method": { - "shortName": "ListGbpAccounts", - "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService.ListGbpAccounts", - "service": { - "shortName": "GbpAccountsService", - "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService" - } - } + "shortName": "ListGbpAccounts" }, + "description": "ListGbpAccounts list the GBP accounts for a given merchant.", + "file": "GbpAccountsClient/ListGbpAccounts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_GbpAccountsService_ListGbpAccounts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListGbpAccounts Sample" }, { - "regionTag": "merchantapi_v1beta_generated_HomepageService_ClaimHomepage_sync", - "title": "merchantapi ClaimHomepage Sample", - "description": "ClaimHomepage claims a store's homepage. Executing this method requires admin access.\n\nIf the homepage is already claimed, this will recheck the\nverification (unless the merchant is exempted from claiming, which also\nexempts from verification) and return a successful response. If ownership\ncan no longer be verified, it will return an error, but it won't clear the\nclaim. In case of failure, a canonical error message will be returned: \n* PERMISSION_DENIED: user doesn't have the necessary permissions on this\nMC account;\n* FAILED_PRECONDITION: \n- The account is not a Merchant Center account;\n- MC account doesn't have a homepage;\n- claiming failed (in this case the error message will contain more\ndetails).", - "file": "HomepageClient/ClaimHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClaimHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.ClaimHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.ClaimHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "ClaimHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ClaimHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.ClaimHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient" - }, - "method": { - "shortName": "ClaimHomepage", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.ClaimHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService" - } - } + "shortName": "ClaimHomepage" }, + "description": "ClaimHomepage claims a store's homepage. Executing this method requires admin access.\n\nIf the homepage is already claimed, this will recheck the\nverification (unless the merchant is exempted from claiming, which also\nexempts from verification) and return a successful response. If ownership\ncan no longer be verified, it will return an error, but it won't clear the\nclaim. In case of failure, a canonical error message will be returned: \n* PERMISSION_DENIED: user doesn't have the necessary permissions on this\nMC account;\n* FAILED_PRECONDITION: \n- The account is not a Merchant Center account;\n- MC account doesn't have a homepage;\n- claiming failed (in this case the error message will contain more\ndetails).", + "file": "HomepageClient/ClaimHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_HomepageService_ClaimHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ClaimHomepage Sample" }, { - "regionTag": "merchantapi_v1beta_generated_HomepageService_GetHomepage_sync", - "title": "merchantapi GetHomepage Sample", - "description": "GetHomepage retrieves a store's homepage.", - "file": "HomepageClient/GetHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.GetHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.GetHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "GetHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient" - }, - "method": { - "shortName": "GetHomepage", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.GetHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService" - } - } + "shortName": "GetHomepage" }, + "description": "GetHomepage retrieves a store's homepage.", + "file": "HomepageClient/GetHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_HomepageService_GetHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetHomepage Sample" }, { - "regionTag": "merchantapi_v1beta_generated_HomepageService_UnclaimHomepage_sync", - "title": "merchantapi UnclaimHomepage Sample", - "description": "UnclaimHomepage unclaims a store's homepage. Executing this method requires admin access.", - "file": "HomepageClient/UnclaimHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnclaimHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.UnclaimHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.UnclaimHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "UnclaimHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UnclaimHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.UnclaimHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient" - }, - "method": { - "shortName": "UnclaimHomepage", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.UnclaimHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService" - } - } + "shortName": "UnclaimHomepage" }, + "description": "UnclaimHomepage unclaims a store's homepage. Executing this method requires admin access.", + "file": "HomepageClient/UnclaimHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_HomepageService_UnclaimHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UnclaimHomepage Sample" }, { - "regionTag": "merchantapi_v1beta_generated_HomepageService_UpdateHomepage_sync", - "title": "merchantapi UpdateHomepage Sample", - "description": "UpdateHomepage updates a store's homepage. Executing this method requires admin access.", - "file": "HomepageClient/UpdateHomepage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHomepage", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient", + "shortName": "HomepageClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.UpdateHomepage", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.UpdateHomepage", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService", + "shortName": "HomepageService" + }, + "shortName": "UpdateHomepage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateHomepageRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateHomepageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Homepage", - "client": { - "shortName": "HomepageClient", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient" - }, - "method": { - "shortName": "UpdateHomepage", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.UpdateHomepage", - "service": { - "shortName": "HomepageService", - "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService" - } - } + "shortName": "UpdateHomepage" }, + "description": "UpdateHomepage updates a store's homepage. Executing this method requires admin access.", + "file": "HomepageClient/UpdateHomepage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_HomepageService_UpdateHomepage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateHomepage Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpProvidersService_FindLfpProviders_sync", - "title": "merchantapi FindLfpProviders Sample", - "description": "FindLfpProviders find the LFP provider candidates in a given country.", - "file": "LfpProvidersClient/FindLfpProviders/main.go", - "language": "GO", "clientMethod": { - "shortName": "FindLfpProviders", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient", + "shortName": "LfpProvidersClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient.FindLfpProviders", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService.FindLfpProviders", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService", + "shortName": "LfpProvidersService" + }, + "shortName": "FindLfpProviders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.FindLfpProvidersRequest", - "name": "req" + "name": "req", + "type": "accountspb.FindLfpProvidersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LfpProviderIterator", - "client": { - "shortName": "LfpProvidersClient", - "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient" - }, - "method": { - "shortName": "FindLfpProviders", - "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService.FindLfpProviders", - "service": { - "shortName": "LfpProvidersService", - "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService" - } - } + "shortName": "FindLfpProviders" }, + "description": "FindLfpProviders find the LFP provider candidates in a given country.", + "file": "LfpProvidersClient/FindLfpProviders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpProvidersService_FindLfpProviders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi FindLfpProviders Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpProvidersService_LinkLfpProvider_sync", - "title": "merchantapi LinkLfpProvider Sample", - "description": "LinkLfpProvider link the specified merchant to a LFP provider for the specified country.", - "file": "LfpProvidersClient/LinkLfpProvider/main.go", - "language": "GO", "clientMethod": { - "shortName": "LinkLfpProvider", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient", + "shortName": "LfpProvidersClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient.LinkLfpProvider", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService.LinkLfpProvider", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService", + "shortName": "LfpProvidersService" + }, + "shortName": "LinkLfpProvider" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.LinkLfpProviderRequest", - "name": "req" + "name": "req", + "type": "accountspb.LinkLfpProviderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.LinkLfpProviderResponse", - "client": { - "shortName": "LfpProvidersClient", - "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient" - }, - "method": { - "shortName": "LinkLfpProvider", - "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService.LinkLfpProvider", - "service": { - "shortName": "LfpProvidersService", - "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService" - } - } + "shortName": "LinkLfpProvider" }, + "description": "LinkLfpProvider link the specified merchant to a LFP provider for the specified country.", + "file": "LfpProvidersClient/LinkLfpProvider/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpProvidersService_LinkLfpProvider_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi LinkLfpProvider Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_CreateOmnichannelSetting_sync", - "title": "merchantapi CreateOmnichannelSetting Sample", - "description": "CreateOmnichannelSetting create the omnichannel settings for a given merchant.", - "file": "OmnichannelSettingsClient/CreateOmnichannelSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOmnichannelSetting", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.CreateOmnichannelSetting", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.CreateOmnichannelSetting", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "CreateOmnichannelSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateOmnichannelSettingRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateOmnichannelSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OmnichannelSetting", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient" - }, - "method": { - "shortName": "CreateOmnichannelSetting", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.CreateOmnichannelSetting", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService" - } - } + "shortName": "CreateOmnichannelSetting" }, + "description": "CreateOmnichannelSetting create the omnichannel settings for a given merchant.", + "file": "OmnichannelSettingsClient/CreateOmnichannelSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_CreateOmnichannelSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateOmnichannelSetting Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_GetOmnichannelSetting_sync", - "title": "merchantapi GetOmnichannelSetting Sample", - "description": "GetOmnichannelSetting get the omnichannel settings for a given merchant.", - "file": "OmnichannelSettingsClient/GetOmnichannelSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOmnichannelSetting", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.GetOmnichannelSetting", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.GetOmnichannelSetting", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "GetOmnichannelSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetOmnichannelSettingRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetOmnichannelSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OmnichannelSetting", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient" - }, - "method": { - "shortName": "GetOmnichannelSetting", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.GetOmnichannelSetting", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService" - } - } + "shortName": "GetOmnichannelSetting" }, + "description": "GetOmnichannelSetting get the omnichannel settings for a given merchant.", + "file": "OmnichannelSettingsClient/GetOmnichannelSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_GetOmnichannelSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetOmnichannelSetting Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_ListOmnichannelSettings_sync", - "title": "merchantapi ListOmnichannelSettings Sample", - "description": "ListOmnichannelSettings list all the omnichannel settings for a given merchant.", - "file": "OmnichannelSettingsClient/ListOmnichannelSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOmnichannelSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.ListOmnichannelSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.ListOmnichannelSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "ListOmnichannelSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListOmnichannelSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListOmnichannelSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OmnichannelSettingIterator", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient" - }, - "method": { - "shortName": "ListOmnichannelSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.ListOmnichannelSettings", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService" - } - } + "shortName": "ListOmnichannelSettings" }, + "description": "ListOmnichannelSettings list all the omnichannel settings for a given merchant.", + "file": "OmnichannelSettingsClient/ListOmnichannelSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_ListOmnichannelSettings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListOmnichannelSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_RequestInventoryVerification_sync", - "title": "merchantapi RequestInventoryVerification Sample", - "description": "RequestInventoryVerification requests inventory verification for a given merchant in a given country.", - "file": "OmnichannelSettingsClient/RequestInventoryVerification/main.go", - "language": "GO", "clientMethod": { - "shortName": "RequestInventoryVerification", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.RequestInventoryVerification", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.RequestInventoryVerification", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "RequestInventoryVerification" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RequestInventoryVerificationRequest", - "name": "req" + "name": "req", + "type": "accountspb.RequestInventoryVerificationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.RequestInventoryVerificationResponse", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient" - }, - "method": { - "shortName": "RequestInventoryVerification", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.RequestInventoryVerification", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService" - } - } + "shortName": "RequestInventoryVerification" }, + "description": "RequestInventoryVerification requests inventory verification for a given merchant in a given country.", + "file": "OmnichannelSettingsClient/RequestInventoryVerification/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_RequestInventoryVerification_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RequestInventoryVerification Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_UpdateOmnichannelSetting_sync", - "title": "merchantapi UpdateOmnichannelSetting Sample", - "description": "UpdateOmnichannelSetting update the omnichannel setting for a given merchant in a given country.", - "file": "OmnichannelSettingsClient/UpdateOmnichannelSetting/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOmnichannelSetting", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient", + "shortName": "OmnichannelSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.UpdateOmnichannelSetting", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.UpdateOmnichannelSetting", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService", + "shortName": "OmnichannelSettingsService" + }, + "shortName": "UpdateOmnichannelSetting" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateOmnichannelSettingRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateOmnichannelSettingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OmnichannelSetting", - "client": { - "shortName": "OmnichannelSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient" - }, - "method": { - "shortName": "UpdateOmnichannelSetting", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.UpdateOmnichannelSetting", - "service": { - "shortName": "OmnichannelSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService" - } - } + "shortName": "UpdateOmnichannelSetting" }, + "description": "UpdateOmnichannelSetting update the omnichannel setting for a given merchant in a given country.", + "file": "OmnichannelSettingsClient/UpdateOmnichannelSetting/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_UpdateOmnichannelSetting_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateOmnichannelSetting Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_CreateOnlineReturnPolicy_sync", - "title": "merchantapi CreateOnlineReturnPolicy Sample", - "description": "CreateOnlineReturnPolicy creates a new return policy for a given merchant.", - "file": "OnlineReturnPolicyClient/CreateOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.CreateOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.CreateOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "CreateOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OnlineReturnPolicy", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "CreateOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.CreateOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService" - } - } + "shortName": "CreateOnlineReturnPolicy" }, + "description": "CreateOnlineReturnPolicy creates a new return policy for a given merchant.", + "file": "OnlineReturnPolicyClient/CreateOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_CreateOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_DeleteOnlineReturnPolicy_sync", - "title": "merchantapi DeleteOnlineReturnPolicy Sample", - "description": "DeleteOnlineReturnPolicy deletes an existing return policy.", - "file": "OnlineReturnPolicyClient/DeleteOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.DeleteOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.DeleteOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "DeleteOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "DeleteOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.DeleteOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService" - } - } + "shortName": "DeleteOnlineReturnPolicy" }, + "description": "DeleteOnlineReturnPolicy deletes an existing return policy.", + "file": "OnlineReturnPolicyClient/DeleteOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_DeleteOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_GetOnlineReturnPolicy_sync", - "title": "merchantapi GetOnlineReturnPolicy Sample", - "description": "GetOnlineReturnPolicy gets an existing return policy for a given merchant.", - "file": "OnlineReturnPolicyClient/GetOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.GetOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.GetOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "GetOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.OnlineReturnPolicy", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "GetOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.GetOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService" - } - } + "shortName": "GetOnlineReturnPolicy" }, + "description": "GetOnlineReturnPolicy gets an existing return policy for a given merchant.", + "file": "OnlineReturnPolicyClient/GetOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_GetOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_ListOnlineReturnPolicies_sync", - "title": "merchantapi ListOnlineReturnPolicies Sample", - "description": "ListOnlineReturnPolicies lists all existing return policies for a given merchant.", - "file": "OnlineReturnPolicyClient/ListOnlineReturnPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOnlineReturnPolicies", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.ListOnlineReturnPolicies", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.ListOnlineReturnPolicies", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "ListOnlineReturnPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListOnlineReturnPoliciesRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListOnlineReturnPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OnlineReturnPolicyIterator", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "ListOnlineReturnPolicies", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.ListOnlineReturnPolicies", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService" - } - } + "shortName": "ListOnlineReturnPolicies" }, + "description": "ListOnlineReturnPolicies lists all existing return policies for a given merchant.", + "file": "OnlineReturnPolicyClient/ListOnlineReturnPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_ListOnlineReturnPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListOnlineReturnPolicies Sample" }, { - "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_UpdateOnlineReturnPolicy_sync", - "title": "merchantapi UpdateOnlineReturnPolicy Sample", - "description": "UpdateOnlineReturnPolicy updates an existing return policy for a given merchant.", - "file": "OnlineReturnPolicyClient/UpdateOnlineReturnPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOnlineReturnPolicy", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient", + "shortName": "OnlineReturnPolicyClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.UpdateOnlineReturnPolicy", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.UpdateOnlineReturnPolicy", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService", + "shortName": "OnlineReturnPolicyService" + }, + "shortName": "UpdateOnlineReturnPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateOnlineReturnPolicyRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateOnlineReturnPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "*accountspb.OnlineReturnPolicy", - "client": { - "shortName": "OnlineReturnPolicyClient", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient" - }, - "method": { - "shortName": "UpdateOnlineReturnPolicy", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.UpdateOnlineReturnPolicy", - "service": { - "shortName": "OnlineReturnPolicyService", - "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService" - } - } + ], + "resultType": "*accountspb.OnlineReturnPolicy", + "shortName": "UpdateOnlineReturnPolicy" }, + "description": "UpdateOnlineReturnPolicy updates an existing return policy for a given merchant.", + "file": "OnlineReturnPolicyClient/UpdateOnlineReturnPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_UpdateOnlineReturnPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateOnlineReturnPolicy Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProgramsService_DisableProgram_sync", - "title": "merchantapi DisableProgram Sample", - "description": "DisableProgram disable participation in the specified program for the account. Executing\nthis method requires admin access.", - "file": "ProgramsClient/DisableProgram/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableProgram", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.DisableProgram", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.DisableProgram", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "DisableProgram" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DisableProgramRequest", - "name": "req" + "name": "req", + "type": "accountspb.DisableProgramRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Program", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient" - }, - "method": { - "shortName": "DisableProgram", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.DisableProgram", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService" - } - } + "shortName": "DisableProgram" }, + "description": "DisableProgram disable participation in the specified program for the account. Executing\nthis method requires admin access.", + "file": "ProgramsClient/DisableProgram/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProgramsService_DisableProgram_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DisableProgram Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProgramsService_EnableProgram_sync", - "title": "merchantapi EnableProgram Sample", - "description": "EnableProgram enable participation in the specified program for the account. Executing\nthis method requires admin access.", - "file": "ProgramsClient/EnableProgram/main.go", - "language": "GO", "clientMethod": { - "shortName": "EnableProgram", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.EnableProgram", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.EnableProgram", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "EnableProgram" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.EnableProgramRequest", - "name": "req" + "name": "req", + "type": "accountspb.EnableProgramRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Program", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient" - }, - "method": { - "shortName": "EnableProgram", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.EnableProgram", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService" - } - } + "shortName": "EnableProgram" }, + "description": "EnableProgram enable participation in the specified program for the account. Executing\nthis method requires admin access.", + "file": "ProgramsClient/EnableProgram/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProgramsService_EnableProgram_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi EnableProgram Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProgramsService_GetProgram_sync", - "title": "merchantapi GetProgram Sample", - "description": "GetProgram retrieves the specified program for the account.", - "file": "ProgramsClient/GetProgram/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProgram", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.GetProgram", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.GetProgram", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "GetProgram" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetProgramRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetProgramRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Program", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient" - }, - "method": { - "shortName": "GetProgram", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.GetProgram", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService" - } - } + "shortName": "GetProgram" }, + "description": "GetProgram retrieves the specified program for the account.", + "file": "ProgramsClient/GetProgram/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProgramsService_GetProgram_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetProgram Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProgramsService_ListPrograms_sync", - "title": "merchantapi ListPrograms Sample", - "description": "ListPrograms retrieves all programs for the account.", - "file": "ProgramsClient/ListPrograms/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrograms", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient", + "shortName": "ProgramsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.ListPrograms", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.ListPrograms", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService", + "shortName": "ProgramsService" + }, + "shortName": "ListPrograms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListProgramsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListProgramsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProgramIterator", - "client": { - "shortName": "ProgramsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient" - }, - "method": { - "shortName": "ListPrograms", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.ListPrograms", - "service": { - "shortName": "ProgramsService", - "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService" - } - } + "shortName": "ListPrograms" }, + "description": "ListPrograms retrieves all programs for the account.", + "file": "ProgramsClient/ListPrograms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProgramsService_ListPrograms_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListPrograms Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionsService_CreateRegion_sync", - "title": "merchantapi CreateRegion Sample", - "description": "CreateRegion creates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.", - "file": "RegionsClient/CreateRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.CreateRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.CreateRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "CreateRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient" - }, - "method": { - "shortName": "CreateRegion", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.CreateRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService" - } - } + "shortName": "CreateRegion" }, + "description": "CreateRegion creates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.", + "file": "RegionsClient/CreateRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionsService_CreateRegion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateRegion Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionsService_DeleteRegion_sync", - "title": "merchantapi DeleteRegion Sample", - "description": "DeleteRegion deletes a region definition from your Merchant Center account. Executing\nthis method requires admin access.", - "file": "RegionsClient/DeleteRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.DeleteRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.DeleteRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "DeleteRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient" - }, - "method": { - "shortName": "DeleteRegion", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.DeleteRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService" - } - } + "shortName": "DeleteRegion" }, + "description": "DeleteRegion deletes a region definition from your Merchant Center account. Executing\nthis method requires admin access.", + "file": "RegionsClient/DeleteRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionsService_DeleteRegion_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteRegion Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionsService_GetRegion_sync", - "title": "merchantapi GetRegion Sample", - "description": "GetRegion retrieves a region defined in your Merchant Center account.", - "file": "RegionsClient/GetRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.GetRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.GetRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "GetRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient" - }, - "method": { - "shortName": "GetRegion", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.GetRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService" - } - } + "shortName": "GetRegion" }, + "description": "GetRegion retrieves a region defined in your Merchant Center account.", + "file": "RegionsClient/GetRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionsService_GetRegion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetRegion Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionsService_ListRegions_sync", - "title": "merchantapi ListRegions Sample", - "description": "ListRegions lists the regions in your Merchant Center account.", - "file": "RegionsClient/ListRegions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRegions", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.ListRegions", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.ListRegions", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "ListRegions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListRegionsRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListRegionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegionIterator", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient" - }, - "method": { - "shortName": "ListRegions", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.ListRegions", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService" - } - } + "shortName": "ListRegions" }, + "description": "ListRegions lists the regions in your Merchant Center account.", + "file": "RegionsClient/ListRegions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionsService_ListRegions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListRegions Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionsService_UpdateRegion_sync", - "title": "merchantapi UpdateRegion Sample", - "description": "UpdateRegion updates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.", - "file": "RegionsClient/UpdateRegion/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRegion", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient", + "shortName": "RegionsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.UpdateRegion", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.UpdateRegion", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService", + "shortName": "RegionsService" + }, + "shortName": "UpdateRegion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateRegionRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateRegionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.Region", - "client": { - "shortName": "RegionsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient" - }, - "method": { - "shortName": "UpdateRegion", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.UpdateRegion", - "service": { - "shortName": "RegionsService", - "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService" - } - } + "shortName": "UpdateRegion" }, + "description": "UpdateRegion updates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.", + "file": "RegionsClient/UpdateRegion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionsService_UpdateRegion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateRegion Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ShippingSettingsService_GetShippingSettings_sync", - "title": "merchantapi GetShippingSettings Sample", - "description": "GetShippingSettings retrieve shipping setting information.", - "file": "ShippingSettingsClient/GetShippingSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetShippingSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient", + "shortName": "ShippingSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient.GetShippingSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService.GetShippingSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService", + "shortName": "ShippingSettingsService" + }, + "shortName": "GetShippingSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetShippingSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetShippingSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.ShippingSettings", - "client": { - "shortName": "ShippingSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient" - }, - "method": { - "shortName": "GetShippingSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService.GetShippingSettings", - "service": { - "shortName": "ShippingSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService" - } - } + "shortName": "GetShippingSettings" }, + "description": "GetShippingSettings retrieve shipping setting information.", + "file": "ShippingSettingsClient/GetShippingSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ShippingSettingsService_GetShippingSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetShippingSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ShippingSettingsService_InsertShippingSettings_sync", - "title": "merchantapi InsertShippingSettings Sample", - "description": "InsertShippingSettings replace the shipping setting of a merchant with the request shipping\nsetting. Executing this method requires admin access.", - "file": "ShippingSettingsClient/InsertShippingSettings/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertShippingSettings", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient", + "shortName": "ShippingSettingsClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient.InsertShippingSettings", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService.InsertShippingSettings", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService", + "shortName": "ShippingSettingsService" + }, + "shortName": "InsertShippingSettings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.InsertShippingSettingsRequest", - "name": "req" + "name": "req", + "type": "accountspb.InsertShippingSettingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.ShippingSettings", - "client": { - "shortName": "ShippingSettingsClient", - "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient" - }, - "method": { - "shortName": "InsertShippingSettings", - "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService.InsertShippingSettings", - "service": { - "shortName": "ShippingSettingsService", - "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService" - } - } + "shortName": "InsertShippingSettings" }, + "description": "InsertShippingSettings replace the shipping setting of a merchant with the request shipping\nsetting. Executing this method requires admin access.", + "file": "ShippingSettingsClient/InsertShippingSettings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ShippingSettingsService_InsertShippingSettings_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertShippingSettings Sample" }, { - "regionTag": "merchantapi_v1beta_generated_TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_sync", - "title": "merchantapi GetTermsOfServiceAgreementState Sample", - "description": "GetTermsOfServiceAgreementState returns the state of a terms of service agreement.", - "file": "TermsOfServiceAgreementStateClient/GetTermsOfServiceAgreementState/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTermsOfServiceAgreementState", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient", + "shortName": "TermsOfServiceAgreementStateClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient.GetTermsOfServiceAgreementState", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService", + "shortName": "TermsOfServiceAgreementStateService" + }, + "shortName": "GetTermsOfServiceAgreementState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetTermsOfServiceAgreementStateRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetTermsOfServiceAgreementStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfServiceAgreementState", - "client": { - "shortName": "TermsOfServiceAgreementStateClient", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient" - }, - "method": { - "shortName": "GetTermsOfServiceAgreementState", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState", - "service": { - "shortName": "TermsOfServiceAgreementStateService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService" - } - } + "shortName": "GetTermsOfServiceAgreementState" }, + "description": "GetTermsOfServiceAgreementState returns the state of a terms of service agreement.", + "file": "TermsOfServiceAgreementStateClient/GetTermsOfServiceAgreementState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetTermsOfServiceAgreementState Sample" }, { - "regionTag": "merchantapi_v1beta_generated_TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_sync", - "title": "merchantapi RetrieveForApplicationTermsOfServiceAgreementState Sample", - "description": "RetrieveForApplicationTermsOfServiceAgreementState retrieves the state of the agreement for the application terms of service.", - "file": "TermsOfServiceAgreementStateClient/RetrieveForApplicationTermsOfServiceAgreementState/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveForApplicationTermsOfServiceAgreementState", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient", + "shortName": "TermsOfServiceAgreementStateClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient.RetrieveForApplicationTermsOfServiceAgreementState", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService", + "shortName": "TermsOfServiceAgreementStateService" + }, + "shortName": "RetrieveForApplicationTermsOfServiceAgreementState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RetrieveForApplicationTermsOfServiceAgreementStateRequest", - "name": "req" + "name": "req", + "type": "accountspb.RetrieveForApplicationTermsOfServiceAgreementStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfServiceAgreementState", - "client": { - "shortName": "TermsOfServiceAgreementStateClient", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient" - }, - "method": { - "shortName": "RetrieveForApplicationTermsOfServiceAgreementState", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState", - "service": { - "shortName": "TermsOfServiceAgreementStateService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService" - } - } + "shortName": "RetrieveForApplicationTermsOfServiceAgreementState" }, + "description": "RetrieveForApplicationTermsOfServiceAgreementState retrieves the state of the agreement for the application terms of service.", + "file": "TermsOfServiceAgreementStateClient/RetrieveForApplicationTermsOfServiceAgreementState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RetrieveForApplicationTermsOfServiceAgreementState Sample" }, { - "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_AcceptTermsOfService_sync", - "title": "merchantapi AcceptTermsOfService Sample", - "description": "AcceptTermsOfService accepts a `TermsOfService`. Executing this method requires admin access.", - "file": "TermsOfServiceClient/AcceptTermsOfService/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcceptTermsOfService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient", + "shortName": "TermsOfServiceClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient.AcceptTermsOfService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.AcceptTermsOfService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService", + "shortName": "TermsOfServiceService" + }, + "shortName": "AcceptTermsOfService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.AcceptTermsOfServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.AcceptTermsOfServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TermsOfServiceClient", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient" - }, - "method": { - "shortName": "AcceptTermsOfService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.AcceptTermsOfService", - "service": { - "shortName": "TermsOfServiceService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService" - } - } + "shortName": "AcceptTermsOfService" }, + "description": "AcceptTermsOfService accepts a `TermsOfService`. Executing this method requires admin access.", + "file": "TermsOfServiceClient/AcceptTermsOfService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_AcceptTermsOfService_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi AcceptTermsOfService Sample" }, { - "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_GetTermsOfService_sync", - "title": "merchantapi GetTermsOfService Sample", - "description": "GetTermsOfService retrieves the `TermsOfService` associated with the provided version.", - "file": "TermsOfServiceClient/GetTermsOfService/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTermsOfService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient", + "shortName": "TermsOfServiceClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient.GetTermsOfService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.GetTermsOfService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService", + "shortName": "TermsOfServiceService" + }, + "shortName": "GetTermsOfService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetTermsOfServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetTermsOfServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfService", - "client": { - "shortName": "TermsOfServiceClient", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient" - }, - "method": { - "shortName": "GetTermsOfService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.GetTermsOfService", - "service": { - "shortName": "TermsOfServiceService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService" - } - } + "shortName": "GetTermsOfService" }, + "description": "GetTermsOfService retrieves the `TermsOfService` associated with the provided version.", + "file": "TermsOfServiceClient/GetTermsOfService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_GetTermsOfService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetTermsOfService Sample" }, { - "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_RetrieveLatestTermsOfService_sync", - "title": "merchantapi RetrieveLatestTermsOfService Sample", - "description": "RetrieveLatestTermsOfService retrieves the latest version of the `TermsOfService` for a given `kind` and\n`region_code`.", - "file": "TermsOfServiceClient/RetrieveLatestTermsOfService/main.go", - "language": "GO", "clientMethod": { - "shortName": "RetrieveLatestTermsOfService", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient", + "shortName": "TermsOfServiceClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient.RetrieveLatestTermsOfService", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.RetrieveLatestTermsOfService", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService", + "shortName": "TermsOfServiceService" + }, + "shortName": "RetrieveLatestTermsOfService" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.RetrieveLatestTermsOfServiceRequest", - "name": "req" + "name": "req", + "type": "accountspb.RetrieveLatestTermsOfServiceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.TermsOfService", - "client": { - "shortName": "TermsOfServiceClient", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient" - }, - "method": { - "shortName": "RetrieveLatestTermsOfService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.RetrieveLatestTermsOfService", - "service": { - "shortName": "TermsOfServiceService", - "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService" - } - } + "shortName": "RetrieveLatestTermsOfService" }, + "description": "RetrieveLatestTermsOfService retrieves the latest version of the `TermsOfService` for a given `kind` and\n`region_code`.", + "file": "TermsOfServiceClient/RetrieveLatestTermsOfService/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_RetrieveLatestTermsOfService_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RetrieveLatestTermsOfService Sample" }, { - "regionTag": "merchantapi_v1beta_generated_UserService_CreateUser_sync", - "title": "merchantapi CreateUser Sample", - "description": "CreateUser creates a Merchant Center account user. Executing this method requires\nadmin access.", - "file": "UserClient/CreateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.CreateUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService.CreateUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService", + "shortName": "UserService" + }, + "shortName": "CreateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.CreateUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.CreateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1beta.UserClient" - }, - "method": { - "shortName": "CreateUser", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService.CreateUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService" - } - } + "shortName": "CreateUser" }, + "description": "CreateUser creates a Merchant Center account user. Executing this method requires\nadmin access.", + "file": "UserClient/CreateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_UserService_CreateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateUser Sample" }, { - "regionTag": "merchantapi_v1beta_generated_UserService_DeleteUser_sync", - "title": "merchantapi DeleteUser Sample", - "description": "DeleteUser deletes a Merchant Center account user. Executing this method requires\nadmin access.", - "file": "UserClient/DeleteUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.DeleteUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService.DeleteUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService", + "shortName": "UserService" + }, + "shortName": "DeleteUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.DeleteUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.DeleteUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1beta.UserClient" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService.DeleteUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService" - } - } + "shortName": "DeleteUser" }, + "description": "DeleteUser deletes a Merchant Center account user. Executing this method requires\nadmin access.", + "file": "UserClient/DeleteUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_UserService_DeleteUser_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteUser Sample" }, { - "regionTag": "merchantapi_v1beta_generated_UserService_GetUser_sync", - "title": "merchantapi GetUser Sample", - "description": "GetUser retrieves a Merchant Center account user.", - "file": "UserClient/GetUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.GetUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService.GetUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService", + "shortName": "UserService" + }, + "shortName": "GetUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.GetUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.GetUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1beta.UserClient" - }, - "method": { - "shortName": "GetUser", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService.GetUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService" - } - } + "shortName": "GetUser" }, + "description": "GetUser retrieves a Merchant Center account user.", + "file": "UserClient/GetUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_UserService_GetUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetUser Sample" }, { - "regionTag": "merchantapi_v1beta_generated_UserService_ListUsers_sync", - "title": "merchantapi ListUsers Sample", - "description": "ListUsers lists all users of a Merchant Center account.", - "file": "UserClient/ListUsers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsers", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.ListUsers", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService.ListUsers", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService", + "shortName": "UserService" + }, + "shortName": "ListUsers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.ListUsersRequest", - "name": "req" + "name": "req", + "type": "accountspb.ListUsersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UserIterator", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1beta.UserClient" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService.ListUsers", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService" - } - } + "shortName": "ListUsers" }, + "description": "ListUsers lists all users of a Merchant Center account.", + "file": "UserClient/ListUsers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_UserService_ListUsers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListUsers Sample" }, { - "regionTag": "merchantapi_v1beta_generated_UserService_UpdateUser_sync", - "title": "merchantapi UpdateUser Sample", - "description": "UpdateUser updates a Merchant Center account user. Executing this method requires\nadmin access.", - "file": "UserClient/UpdateUser/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateUser", + "client": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserClient", + "shortName": "UserClient" + }, "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.UpdateUser", + "method": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService.UpdateUser", + "service": { + "fullName": "google.shopping.merchant.accounts.v1beta.UserService", + "shortName": "UserService" + }, + "shortName": "UpdateUser" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "accountspb.UpdateUserRequest", - "name": "req" + "name": "req", + "type": "accountspb.UpdateUserRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*accountspb.User", - "client": { - "shortName": "UserClient", - "fullName": "google.shopping.merchant.accounts.v1beta.UserClient" - }, - "method": { - "shortName": "UpdateUser", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService.UpdateUser", - "service": { - "shortName": "UserService", - "fullName": "google.shopping.merchant.accounts.v1beta.UserService" - } - } + "shortName": "UpdateUser" }, + "description": "UpdateUser updates a Merchant Center account user. Executing this method requires\nadmin access.", + "file": "UserClient/UpdateUser/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_UserService_UpdateUser_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateUser Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/conversions/apiv1/snippet_metadata.google.shopping.merchant.conversions.v1.json b/internal/generated/snippets/shopping/merchant/conversions/apiv1/snippet_metadata.google.shopping.merchant.conversions.v1.json index ae9bae000bef..b06a9b7c8ef8 100644 --- a/internal/generated/snippets/shopping/merchant/conversions/apiv1/snippet_metadata.google.shopping.merchant.conversions.v1.json +++ b/internal/generated/snippets/shopping/merchant/conversions/apiv1/snippet_metadata.google.shopping.merchant.conversions.v1.json @@ -1,290 +1,290 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/conversions/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.conversions.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/conversions/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_ConversionSourcesService_CreateConversionSource_sync", - "title": "merchantapi CreateConversionSource Sample", - "description": "CreateConversionSource creates a new conversion source.", - "file": "ConversionSourcesClient/CreateConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient.CreateConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.CreateConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "CreateConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.CreateConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.CreateConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient" - }, - "method": { - "shortName": "CreateConversionSource", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.CreateConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService" - } - } + "shortName": "CreateConversionSource" }, + "description": "CreateConversionSource creates a new conversion source.", + "file": "ConversionSourcesClient/CreateConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ConversionSourcesService_CreateConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateConversionSource Sample" }, { - "regionTag": "merchantapi_v1_generated_ConversionSourcesService_DeleteConversionSource_sync", - "title": "merchantapi DeleteConversionSource Sample", - "description": "DeleteConversionSource archives an existing conversion source. If the conversion source is a\nMerchant Center Destination, it will be recoverable for 30 days. If the\nconversion source is a Google Analytics Link, it will be deleted\nimmediately and can be restored by creating a new one.", - "file": "ConversionSourcesClient/DeleteConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient.DeleteConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.DeleteConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "DeleteConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.DeleteConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.DeleteConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient" - }, - "method": { - "shortName": "DeleteConversionSource", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.DeleteConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService" - } - } + "shortName": "DeleteConversionSource" }, + "description": "DeleteConversionSource archives an existing conversion source. If the conversion source is a\nMerchant Center Destination, it will be recoverable for 30 days. If the\nconversion source is a Google Analytics Link, it will be deleted\nimmediately and can be restored by creating a new one.", + "file": "ConversionSourcesClient/DeleteConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ConversionSourcesService_DeleteConversionSource_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteConversionSource Sample" }, { - "regionTag": "merchantapi_v1_generated_ConversionSourcesService_GetConversionSource_sync", - "title": "merchantapi GetConversionSource Sample", - "description": "GetConversionSource fetches a conversion source.", - "file": "ConversionSourcesClient/GetConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient.GetConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.GetConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "GetConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.GetConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.GetConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient" - }, - "method": { - "shortName": "GetConversionSource", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.GetConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService" - } - } + "shortName": "GetConversionSource" }, + "description": "GetConversionSource fetches a conversion source.", + "file": "ConversionSourcesClient/GetConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ConversionSourcesService_GetConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetConversionSource Sample" }, { - "regionTag": "merchantapi_v1_generated_ConversionSourcesService_ListConversionSources_sync", - "title": "merchantapi ListConversionSources Sample", - "description": "ListConversionSources retrieves the list of conversion sources the caller has access to.", - "file": "ConversionSourcesClient/ListConversionSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversionSources", + "client": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient.ListConversionSources", + "method": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.ListConversionSources", + "service": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "ListConversionSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.ListConversionSourcesRequest", - "name": "req" + "name": "req", + "type": "conversionspb.ListConversionSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversionSourceIterator", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient" - }, - "method": { - "shortName": "ListConversionSources", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.ListConversionSources", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService" - } - } + "shortName": "ListConversionSources" }, + "description": "ListConversionSources retrieves the list of conversion sources the caller has access to.", + "file": "ConversionSourcesClient/ListConversionSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ConversionSourcesService_ListConversionSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListConversionSources Sample" }, { - "regionTag": "merchantapi_v1_generated_ConversionSourcesService_UndeleteConversionSource_sync", - "title": "merchantapi UndeleteConversionSource Sample", - "description": "UndeleteConversionSource re-enables an archived conversion source. Only Available for Merchant\nCenter Destination conversion sources.", - "file": "ConversionSourcesClient/UndeleteConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient.UndeleteConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.UndeleteConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "UndeleteConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.UndeleteConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.UndeleteConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient" - }, - "method": { - "shortName": "UndeleteConversionSource", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.UndeleteConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService" - } - } + "shortName": "UndeleteConversionSource" }, + "description": "UndeleteConversionSource re-enables an archived conversion source. Only Available for Merchant\nCenter Destination conversion sources.", + "file": "ConversionSourcesClient/UndeleteConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ConversionSourcesService_UndeleteConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UndeleteConversionSource Sample" }, { - "regionTag": "merchantapi_v1_generated_ConversionSourcesService_UpdateConversionSource_sync", - "title": "merchantapi UpdateConversionSource Sample", - "description": "UpdateConversionSource updates information of an existing conversion source. Available only for\nMerchant Center Destination conversion sources.", - "file": "ConversionSourcesClient/UpdateConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient.UpdateConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.UpdateConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "UpdateConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.UpdateConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.UpdateConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesClient" - }, - "method": { - "shortName": "UpdateConversionSource", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService.UpdateConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1.ConversionSourcesService" - } - } + "shortName": "UpdateConversionSource" }, + "description": "UpdateConversionSource updates information of an existing conversion source. Available only for\nMerchant Center Destination conversion sources.", + "file": "ConversionSourcesClient/UpdateConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ConversionSourcesService_UpdateConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateConversionSource Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json b/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json index 400dad1f7546..e68cd36615ad 100644 --- a/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/conversions/apiv1beta/snippet_metadata.google.shopping.merchant.conversions.v1beta.json @@ -1,290 +1,290 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/conversions/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.conversions.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/conversions/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_CreateConversionSource_sync", - "title": "merchantapi CreateConversionSource Sample", - "description": "CreateConversionSource creates a new conversion source.", - "file": "ConversionSourcesClient/CreateConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient.CreateConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.CreateConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "CreateConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.CreateConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.CreateConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient" - }, - "method": { - "shortName": "CreateConversionSource", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.CreateConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService" - } - } + "shortName": "CreateConversionSource" }, + "description": "CreateConversionSource creates a new conversion source.", + "file": "ConversionSourcesClient/CreateConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_CreateConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateConversionSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_DeleteConversionSource_sync", - "title": "merchantapi DeleteConversionSource Sample", - "description": "DeleteConversionSource archives an existing conversion source. If the conversion source is a\nMerchant Center Destination, it will be recoverable for 30 days. If the\nconversion source is a Google Analytics Link, it will be deleted\nimmediately and can be restored by creating a new one.", - "file": "ConversionSourcesClient/DeleteConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient.DeleteConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.DeleteConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "DeleteConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.DeleteConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.DeleteConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient" - }, - "method": { - "shortName": "DeleteConversionSource", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.DeleteConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService" - } - } + "shortName": "DeleteConversionSource" }, + "description": "DeleteConversionSource archives an existing conversion source. If the conversion source is a\nMerchant Center Destination, it will be recoverable for 30 days. If the\nconversion source is a Google Analytics Link, it will be deleted\nimmediately and can be restored by creating a new one.", + "file": "ConversionSourcesClient/DeleteConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_DeleteConversionSource_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteConversionSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_GetConversionSource_sync", - "title": "merchantapi GetConversionSource Sample", - "description": "GetConversionSource fetches a conversion source.", - "file": "ConversionSourcesClient/GetConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient.GetConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.GetConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "GetConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.GetConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.GetConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient" - }, - "method": { - "shortName": "GetConversionSource", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.GetConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService" - } - } + "shortName": "GetConversionSource" }, + "description": "GetConversionSource fetches a conversion source.", + "file": "ConversionSourcesClient/GetConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_GetConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetConversionSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_ListConversionSources_sync", - "title": "merchantapi ListConversionSources Sample", - "description": "ListConversionSources retrieves the list of conversion sources the caller has access to.", - "file": "ConversionSourcesClient/ListConversionSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConversionSources", + "client": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient.ListConversionSources", + "method": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.ListConversionSources", + "service": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "ListConversionSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.ListConversionSourcesRequest", - "name": "req" + "name": "req", + "type": "conversionspb.ListConversionSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConversionSourceIterator", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient" - }, - "method": { - "shortName": "ListConversionSources", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.ListConversionSources", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService" - } - } + "shortName": "ListConversionSources" }, + "description": "ListConversionSources retrieves the list of conversion sources the caller has access to.", + "file": "ConversionSourcesClient/ListConversionSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_ListConversionSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListConversionSources Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_UndeleteConversionSource_sync", - "title": "merchantapi UndeleteConversionSource Sample", - "description": "UndeleteConversionSource re-enables an archived conversion source. Only Available for Merchant\nCenter Destination conversion sources.", - "file": "ConversionSourcesClient/UndeleteConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient.UndeleteConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.UndeleteConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "UndeleteConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.UndeleteConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.UndeleteConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient" - }, - "method": { - "shortName": "UndeleteConversionSource", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.UndeleteConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService" - } - } + "shortName": "UndeleteConversionSource" }, + "description": "UndeleteConversionSource re-enables an archived conversion source. Only Available for Merchant\nCenter Destination conversion sources.", + "file": "ConversionSourcesClient/UndeleteConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_UndeleteConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UndeleteConversionSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_UpdateConversionSource_sync", - "title": "merchantapi UpdateConversionSource Sample", - "description": "UpdateConversionSource updates information of an existing conversion source. Available only for\nMerchant Center Destination conversion sources.", - "file": "ConversionSourcesClient/UpdateConversionSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConversionSource", + "client": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient", + "shortName": "ConversionSourcesClient" + }, "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient.UpdateConversionSource", + "method": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.UpdateConversionSource", + "service": { + "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService", + "shortName": "ConversionSourcesService" + }, + "shortName": "UpdateConversionSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "conversionspb.UpdateConversionSourceRequest", - "name": "req" + "name": "req", + "type": "conversionspb.UpdateConversionSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*conversionspb.ConversionSource", - "client": { - "shortName": "ConversionSourcesClient", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesClient" - }, - "method": { - "shortName": "UpdateConversionSource", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService.UpdateConversionSource", - "service": { - "shortName": "ConversionSourcesService", - "fullName": "google.shopping.merchant.conversions.v1beta.ConversionSourcesService" - } - } + "shortName": "UpdateConversionSource" }, + "description": "UpdateConversionSource updates information of an existing conversion source. Available only for\nMerchant Center Destination conversion sources.", + "file": "ConversionSourcesClient/UpdateConversionSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ConversionSourcesService_UpdateConversionSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateConversionSource Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/datasources/apiv1/snippet_metadata.google.shopping.merchant.datasources.v1.json b/internal/generated/snippets/shopping/merchant/datasources/apiv1/snippet_metadata.google.shopping.merchant.datasources.v1.json index fc44585edf36..d03cf5c3ba6d 100644 --- a/internal/generated/snippets/shopping/merchant/datasources/apiv1/snippet_metadata.google.shopping.merchant.datasources.v1.json +++ b/internal/generated/snippets/shopping/merchant/datasources/apiv1/snippet_metadata.google.shopping.merchant.datasources.v1.json @@ -1,335 +1,335 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/datasources/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.datasources.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/datasources/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_DataSourcesService_CreateDataSource_sync", - "title": "merchantapi CreateDataSource Sample", - "description": "CreateDataSource creates the new data source configuration for the given account.\nThis method always creates a new data source.", - "file": "Client/CreateDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1.Client.CreateDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.CreateDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "CreateDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.CreateDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.CreateDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1.Client" - }, - "method": { - "shortName": "CreateDataSource", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.CreateDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService" - } - } + "shortName": "CreateDataSource" }, + "description": "CreateDataSource creates the new data source configuration for the given account.\nThis method always creates a new data source.", + "file": "Client/CreateDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DataSourcesService_CreateDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateDataSource Sample" }, { - "regionTag": "merchantapi_v1_generated_DataSourcesService_DeleteDataSource_sync", - "title": "merchantapi DeleteDataSource Sample", - "description": "DeleteDataSource deletes a data source from your Merchant Center account.", - "file": "Client/DeleteDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1.Client.DeleteDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.DeleteDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "DeleteDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.DeleteDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.DeleteDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1.Client" - }, - "method": { - "shortName": "DeleteDataSource", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.DeleteDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService" - } - } + "shortName": "DeleteDataSource" }, + "description": "DeleteDataSource deletes a data source from your Merchant Center account.", + "file": "Client/DeleteDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DataSourcesService_DeleteDataSource_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteDataSource Sample" }, { - "regionTag": "merchantapi_v1_generated_DataSourcesService_FetchDataSource_sync", - "title": "merchantapi FetchDataSource Sample", - "description": "FetchDataSource performs the data fetch immediately (even outside fetch schedule) on a\ndata source from your Merchant Center Account. If you need to call\nthis method more than once per day, you should use the Products service to\nupdate your product data instead.\nThis method only works on data sources with a file input set.", - "file": "Client/FetchDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1.Client.FetchDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.FetchDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "FetchDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.FetchDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.FetchDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1.Client" - }, - "method": { - "shortName": "FetchDataSource", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.FetchDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService" - } - } + "shortName": "FetchDataSource" }, + "description": "FetchDataSource performs the data fetch immediately (even outside fetch schedule) on a\ndata source from your Merchant Center Account. If you need to call\nthis method more than once per day, you should use the Products service to\nupdate your product data instead.\nThis method only works on data sources with a file input set.", + "file": "Client/FetchDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DataSourcesService_FetchDataSource_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi FetchDataSource Sample" }, { - "regionTag": "merchantapi_v1_generated_DataSourcesService_GetDataSource_sync", - "title": "merchantapi GetDataSource Sample", - "description": "GetDataSource retrieves the data source configuration for the given account.", - "file": "Client/GetDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1.Client.GetDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.GetDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "GetDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.GetDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.GetDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1.Client" - }, - "method": { - "shortName": "GetDataSource", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.GetDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService" - } - } + "shortName": "GetDataSource" }, + "description": "GetDataSource retrieves the data source configuration for the given account.", + "file": "Client/GetDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DataSourcesService_GetDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetDataSource Sample" }, { - "regionTag": "merchantapi_v1_generated_DataSourcesService_ListDataSources_sync", - "title": "merchantapi ListDataSources Sample", - "description": "ListDataSources lists the configurations for data sources for the given account.", - "file": "Client/ListDataSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataSources", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1.Client.ListDataSources", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.ListDataSources", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "ListDataSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.ListDataSourcesRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.ListDataSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1.Client" - }, - "method": { - "shortName": "ListDataSources", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.ListDataSources", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService" - } - } + "shortName": "ListDataSources" }, + "description": "ListDataSources lists the configurations for data sources for the given account.", + "file": "Client/ListDataSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DataSourcesService_ListDataSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListDataSources Sample" }, { - "regionTag": "merchantapi_v1_generated_DataSourcesService_UpdateDataSource_sync", - "title": "merchantapi UpdateDataSource Sample", - "description": "UpdateDataSource updates the existing data source configuration. The fields that are\nset in the update mask but not provided in the resource will be deleted.", - "file": "Client/UpdateDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1.Client.UpdateDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.UpdateDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "UpdateDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.UpdateDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.UpdateDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1.Client" - }, - "method": { - "shortName": "UpdateDataSource", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService.UpdateDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1.DataSourcesService" - } - } + "shortName": "UpdateDataSource" }, + "description": "UpdateDataSource updates the existing data source configuration. The fields that are\nset in the update mask but not provided in the resource will be deleted.", + "file": "Client/UpdateDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_DataSourcesService_UpdateDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateDataSource Sample" }, { - "regionTag": "merchantapi_v1_generated_FileUploadsService_GetFileUpload_sync", - "title": "merchantapi GetFileUpload Sample", - "description": "GetFileUpload gets the latest data source file upload. Only the `latest` alias is\naccepted for a file upload.", - "file": "FileUploadsClient/GetFileUpload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFileUpload", + "client": { + "fullName": "google.shopping.merchant.datasources.v1.FileUploadsClient", + "shortName": "FileUploadsClient" + }, "fullName": "google.shopping.merchant.datasources.v1.FileUploadsClient.GetFileUpload", + "method": { + "fullName": "google.shopping.merchant.datasources.v1.FileUploadsService.GetFileUpload", + "service": { + "fullName": "google.shopping.merchant.datasources.v1.FileUploadsService", + "shortName": "FileUploadsService" + }, + "shortName": "GetFileUpload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.GetFileUploadRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.GetFileUploadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.FileUpload", - "client": { - "shortName": "FileUploadsClient", - "fullName": "google.shopping.merchant.datasources.v1.FileUploadsClient" - }, - "method": { - "shortName": "GetFileUpload", - "fullName": "google.shopping.merchant.datasources.v1.FileUploadsService.GetFileUpload", - "service": { - "shortName": "FileUploadsService", - "fullName": "google.shopping.merchant.datasources.v1.FileUploadsService" - } - } + "shortName": "GetFileUpload" }, + "description": "GetFileUpload gets the latest data source file upload. Only the `latest` alias is\naccepted for a file upload.", + "file": "FileUploadsClient/GetFileUpload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_FileUploadsService_GetFileUpload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetFileUpload Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json b/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json index 119b6d503bf5..caad71e0f143 100644 --- a/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/datasources/apiv1beta/snippet_metadata.google.shopping.merchant.datasources.v1beta.json @@ -1,335 +1,335 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/datasources/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.datasources.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/datasources/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_DataSourcesService_CreateDataSource_sync", - "title": "merchantapi CreateDataSource Sample", - "description": "CreateDataSource creates the new data source configuration for the given account.", - "file": "Client/CreateDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1beta.Client.CreateDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.CreateDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "CreateDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.CreateDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.CreateDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1beta.Client" - }, - "method": { - "shortName": "CreateDataSource", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.CreateDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService" - } - } + "shortName": "CreateDataSource" }, + "description": "CreateDataSource creates the new data source configuration for the given account.", + "file": "Client/CreateDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_DataSourcesService_CreateDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateDataSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_DataSourcesService_DeleteDataSource_sync", - "title": "merchantapi DeleteDataSource Sample", - "description": "DeleteDataSource deletes a data source from your Merchant Center account.", - "file": "Client/DeleteDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1beta.Client.DeleteDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.DeleteDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "DeleteDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.DeleteDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.DeleteDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1beta.Client" - }, - "method": { - "shortName": "DeleteDataSource", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.DeleteDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService" - } - } + "shortName": "DeleteDataSource" }, + "description": "DeleteDataSource deletes a data source from your Merchant Center account.", + "file": "Client/DeleteDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_DataSourcesService_DeleteDataSource_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteDataSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_DataSourcesService_FetchDataSource_sync", - "title": "merchantapi FetchDataSource Sample", - "description": "FetchDataSource performs the data fetch immediately (even outside fetch schedule) on a\ndata source from your Merchant Center Account. If you need to call\nthis method more than once per day, you should use the Products service to\nupdate your product data instead.\nThis method only works on data sources with a file input set.", - "file": "Client/FetchDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1beta.Client.FetchDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.FetchDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "FetchDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.FetchDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.FetchDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1beta.Client" - }, - "method": { - "shortName": "FetchDataSource", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.FetchDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService" - } - } + "shortName": "FetchDataSource" }, + "description": "FetchDataSource performs the data fetch immediately (even outside fetch schedule) on a\ndata source from your Merchant Center Account. If you need to call\nthis method more than once per day, you should use the Products service to\nupdate your product data instead.\nThis method only works on data sources with a file input set.", + "file": "Client/FetchDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_DataSourcesService_FetchDataSource_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi FetchDataSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_DataSourcesService_GetDataSource_sync", - "title": "merchantapi GetDataSource Sample", - "description": "GetDataSource retrieves the data source configuration for the given account.", - "file": "Client/GetDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1beta.Client.GetDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.GetDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "GetDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.GetDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.GetDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1beta.Client" - }, - "method": { - "shortName": "GetDataSource", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.GetDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService" - } - } + "shortName": "GetDataSource" }, + "description": "GetDataSource retrieves the data source configuration for the given account.", + "file": "Client/GetDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_DataSourcesService_GetDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetDataSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_DataSourcesService_ListDataSources_sync", - "title": "merchantapi ListDataSources Sample", - "description": "ListDataSources lists the configurations for data sources for the given account.", - "file": "Client/ListDataSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataSources", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1beta.Client.ListDataSources", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.ListDataSources", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "ListDataSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.ListDataSourcesRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.ListDataSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1beta.Client" - }, - "method": { - "shortName": "ListDataSources", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.ListDataSources", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService" - } - } + "shortName": "ListDataSources" }, + "description": "ListDataSources lists the configurations for data sources for the given account.", + "file": "Client/ListDataSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_DataSourcesService_ListDataSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListDataSources Sample" }, { - "regionTag": "merchantapi_v1beta_generated_DataSourcesService_UpdateDataSource_sync", - "title": "merchantapi UpdateDataSource Sample", - "description": "UpdateDataSource updates the existing data source configuration. The fields that are\nset in the update mask but not provided in the resource will be deleted.", - "file": "Client/UpdateDataSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataSource", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.datasources.v1beta.Client.UpdateDataSource", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.UpdateDataSource", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService", + "shortName": "DataSourcesService" + }, + "shortName": "UpdateDataSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.UpdateDataSourceRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.UpdateDataSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.DataSource", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.datasources.v1beta.Client" - }, - "method": { - "shortName": "UpdateDataSource", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.UpdateDataSource", - "service": { - "shortName": "DataSourcesService", - "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService" - } - } + "shortName": "UpdateDataSource" }, + "description": "UpdateDataSource updates the existing data source configuration. The fields that are\nset in the update mask but not provided in the resource will be deleted.", + "file": "Client/UpdateDataSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_DataSourcesService_UpdateDataSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateDataSource Sample" }, { - "regionTag": "merchantapi_v1beta_generated_FileUploadsService_GetFileUpload_sync", - "title": "merchantapi GetFileUpload Sample", - "description": "GetFileUpload gets the latest data source file upload. Only the `latest` alias is\naccepted for a file upload.", - "file": "FileUploadsClient/GetFileUpload/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFileUpload", + "client": { + "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsClient", + "shortName": "FileUploadsClient" + }, "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsClient.GetFileUpload", + "method": { + "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsService.GetFileUpload", + "service": { + "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsService", + "shortName": "FileUploadsService" + }, + "shortName": "GetFileUpload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "datasourcespb.GetFileUploadRequest", - "name": "req" + "name": "req", + "type": "datasourcespb.GetFileUploadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*datasourcespb.FileUpload", - "client": { - "shortName": "FileUploadsClient", - "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsClient" - }, - "method": { - "shortName": "GetFileUpload", - "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsService.GetFileUpload", - "service": { - "shortName": "FileUploadsService", - "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsService" - } - } + "shortName": "GetFileUpload" }, + "description": "GetFileUpload gets the latest data source file upload. Only the `latest` alias is\naccepted for a file upload.", + "file": "FileUploadsClient/GetFileUpload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_FileUploadsService_GetFileUpload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetFileUpload Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/inventories/apiv1/snippet_metadata.google.shopping.merchant.inventories.v1.json b/internal/generated/snippets/shopping/merchant/inventories/apiv1/snippet_metadata.google.shopping.merchant.inventories.v1.json index 4ab03a11e98b..9739b10f2306 100644 --- a/internal/generated/snippets/shopping/merchant/inventories/apiv1/snippet_metadata.google.shopping.merchant.inventories.v1.json +++ b/internal/generated/snippets/shopping/merchant/inventories/apiv1/snippet_metadata.google.shopping.merchant.inventories.v1.json @@ -1,289 +1,289 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/inventories/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.inventories.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/inventories/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_LocalInventoryService_DeleteLocalInventory_sync", - "title": "merchantapi DeleteLocalInventory Sample", - "description": "DeleteLocalInventory deletes the specified `LocalInventory` from the given product in your\nmerchant account. It might take a up to an hour for the\n`LocalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", - "file": "LocalInventoryClient/DeleteLocalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLocalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient", + "shortName": "LocalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient.DeleteLocalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService.DeleteLocalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService", + "shortName": "LocalInventoryService" + }, + "shortName": "DeleteLocalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.DeleteLocalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.DeleteLocalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LocalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient" - }, - "method": { - "shortName": "DeleteLocalInventory", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService.DeleteLocalInventory", - "service": { - "shortName": "LocalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService" - } - } + "shortName": "DeleteLocalInventory" }, + "description": "DeleteLocalInventory deletes the specified `LocalInventory` from the given product in your\nmerchant account. It might take a up to an hour for the\n`LocalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", + "file": "LocalInventoryClient/DeleteLocalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LocalInventoryService_DeleteLocalInventory_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteLocalInventory Sample" }, { - "regionTag": "merchantapi_v1_generated_LocalInventoryService_InsertLocalInventory_sync", - "title": "merchantapi InsertLocalInventory Sample", - "description": "InsertLocalInventory inserts a `LocalInventory` resource to a product in your merchant\naccount.\n\nReplaces the full `LocalInventory` resource if an entry with the same\n[`storeCode`][google.shopping.merchant.inventories.v1.LocalInventory.store_code]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `LocalInventory`\nresource to appear in products.", - "file": "LocalInventoryClient/InsertLocalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLocalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient", + "shortName": "LocalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient.InsertLocalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService.InsertLocalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService", + "shortName": "LocalInventoryService" + }, + "shortName": "InsertLocalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.InsertLocalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.InsertLocalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*inventoriespb.LocalInventory", - "client": { - "shortName": "LocalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient" - }, - "method": { - "shortName": "InsertLocalInventory", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService.InsertLocalInventory", - "service": { - "shortName": "LocalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService" - } - } + "shortName": "InsertLocalInventory" }, + "description": "InsertLocalInventory inserts a `LocalInventory` resource to a product in your merchant\naccount.\n\nReplaces the full `LocalInventory` resource if an entry with the same\n[`storeCode`][google.shopping.merchant.inventories.v1.LocalInventory.store_code]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `LocalInventory`\nresource to appear in products.", + "file": "LocalInventoryClient/InsertLocalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LocalInventoryService_InsertLocalInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLocalInventory Sample" }, { - "regionTag": "merchantapi_v1_generated_LocalInventoryService_ListLocalInventories_sync", - "title": "merchantapi ListLocalInventories Sample", - "description": "ListLocalInventories lists the `LocalInventory` resources for the given product in your merchant\naccount. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be used\nto obtain additional results.\n\n`LocalInventory` resources are listed per product for a given account.", - "file": "LocalInventoryClient/ListLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocalInventories", + "client": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient", + "shortName": "LocalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient.ListLocalInventories", + "method": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService.ListLocalInventories", + "service": { + "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService", + "shortName": "LocalInventoryService" + }, + "shortName": "ListLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.ListLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.ListLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocalInventoryIterator", - "client": { - "shortName": "LocalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryClient" - }, - "method": { - "shortName": "ListLocalInventories", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService.ListLocalInventories", - "service": { - "shortName": "LocalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1.LocalInventoryService" - } - } + "shortName": "ListLocalInventories" }, + "description": "ListLocalInventories lists the `LocalInventory` resources for the given product in your merchant\naccount. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be used\nto obtain additional results.\n\n`LocalInventory` resources are listed per product for a given account.", + "file": "LocalInventoryClient/ListLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LocalInventoryService_ListLocalInventories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListLocalInventories Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionalInventoryService_DeleteRegionalInventory_sync", - "title": "merchantapi DeleteRegionalInventory Sample", - "description": "DeleteRegionalInventory deletes the specified `RegionalInventory` resource from the given product\nin your merchant account. It might take up to an hour for the\n`RegionalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", - "file": "RegionalInventoryClient/DeleteRegionalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRegionalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient", + "shortName": "RegionalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient.DeleteRegionalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService.DeleteRegionalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService", + "shortName": "RegionalInventoryService" + }, + "shortName": "DeleteRegionalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.DeleteRegionalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.DeleteRegionalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegionalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient" - }, - "method": { - "shortName": "DeleteRegionalInventory", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService.DeleteRegionalInventory", - "service": { - "shortName": "RegionalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService" - } - } + "shortName": "DeleteRegionalInventory" }, + "description": "DeleteRegionalInventory deletes the specified `RegionalInventory` resource from the given product\nin your merchant account. It might take up to an hour for the\n`RegionalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", + "file": "RegionalInventoryClient/DeleteRegionalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionalInventoryService_DeleteRegionalInventory_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteRegionalInventory Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionalInventoryService_InsertRegionalInventory_sync", - "title": "merchantapi InsertRegionalInventory Sample", - "description": "InsertRegionalInventory inserts a `RegionalInventory` to a given product in your\nmerchant account.\n\nReplaces the full `RegionalInventory` resource if an entry with the same\n[`region`][google.shopping.merchant.inventories.v1.RegionalInventory.region]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `RegionalInventory`\nresource to appear in products.", - "file": "RegionalInventoryClient/InsertRegionalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertRegionalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient", + "shortName": "RegionalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient.InsertRegionalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService.InsertRegionalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService", + "shortName": "RegionalInventoryService" + }, + "shortName": "InsertRegionalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.InsertRegionalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.InsertRegionalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*inventoriespb.RegionalInventory", - "client": { - "shortName": "RegionalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient" - }, - "method": { - "shortName": "InsertRegionalInventory", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService.InsertRegionalInventory", - "service": { - "shortName": "RegionalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService" - } - } + "shortName": "InsertRegionalInventory" }, + "description": "InsertRegionalInventory inserts a `RegionalInventory` to a given product in your\nmerchant account.\n\nReplaces the full `RegionalInventory` resource if an entry with the same\n[`region`][google.shopping.merchant.inventories.v1.RegionalInventory.region]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `RegionalInventory`\nresource to appear in products.", + "file": "RegionalInventoryClient/InsertRegionalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionalInventoryService_InsertRegionalInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertRegionalInventory Sample" }, { - "regionTag": "merchantapi_v1_generated_RegionalInventoryService_ListRegionalInventories_sync", - "title": "merchantapi ListRegionalInventories Sample", - "description": "ListRegionalInventories lists the `RegionalInventory` resources for the given product in your\nmerchant account. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be\nused to obtain additional results.\n\n`RegionalInventory` resources are listed per product for a given account.", - "file": "RegionalInventoryClient/ListRegionalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRegionalInventories", + "client": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient", + "shortName": "RegionalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient.ListRegionalInventories", + "method": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService.ListRegionalInventories", + "service": { + "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService", + "shortName": "RegionalInventoryService" + }, + "shortName": "ListRegionalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.ListRegionalInventoriesRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.ListRegionalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegionalInventoryIterator", - "client": { - "shortName": "RegionalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryClient" - }, - "method": { - "shortName": "ListRegionalInventories", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService.ListRegionalInventories", - "service": { - "shortName": "RegionalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1.RegionalInventoryService" - } - } + "shortName": "ListRegionalInventories" }, + "description": "ListRegionalInventories lists the `RegionalInventory` resources for the given product in your\nmerchant account. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be\nused to obtain additional results.\n\n`RegionalInventory` resources are listed per product for a given account.", + "file": "RegionalInventoryClient/ListRegionalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_RegionalInventoryService_ListRegionalInventories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListRegionalInventories Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json index 29254f132560..abef3b9956e6 100644 --- a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json @@ -1,289 +1,289 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/inventories/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.inventories.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/inventories/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_LocalInventoryService_DeleteLocalInventory_sync", - "title": "merchantapi DeleteLocalInventory Sample", - "description": "DeleteLocalInventory deletes the specified `LocalInventory` from the given product in your\nmerchant account. It might take a up to an hour for the\n`LocalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", - "file": "LocalInventoryClient/DeleteLocalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLocalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient", + "shortName": "LocalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient.DeleteLocalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.DeleteLocalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService", + "shortName": "LocalInventoryService" + }, + "shortName": "DeleteLocalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.DeleteLocalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.DeleteLocalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LocalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient" - }, - "method": { - "shortName": "DeleteLocalInventory", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.DeleteLocalInventory", - "service": { - "shortName": "LocalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService" - } - } + "shortName": "DeleteLocalInventory" }, + "description": "DeleteLocalInventory deletes the specified `LocalInventory` from the given product in your\nmerchant account. It might take a up to an hour for the\n`LocalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", + "file": "LocalInventoryClient/DeleteLocalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LocalInventoryService_DeleteLocalInventory_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteLocalInventory Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LocalInventoryService_InsertLocalInventory_sync", - "title": "merchantapi InsertLocalInventory Sample", - "description": "InsertLocalInventory inserts a `LocalInventory` resource to a product in your merchant\naccount.\n\nReplaces the full `LocalInventory` resource if an entry with the same\n[`storeCode`][google.shopping.merchant.inventories.v1beta.LocalInventory.store_code]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `LocalInventory`\nresource to appear in products.", - "file": "LocalInventoryClient/InsertLocalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLocalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient", + "shortName": "LocalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient.InsertLocalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.InsertLocalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService", + "shortName": "LocalInventoryService" + }, + "shortName": "InsertLocalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.InsertLocalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.InsertLocalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*inventoriespb.LocalInventory", - "client": { - "shortName": "LocalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient" - }, - "method": { - "shortName": "InsertLocalInventory", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.InsertLocalInventory", - "service": { - "shortName": "LocalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService" - } - } + "shortName": "InsertLocalInventory" }, + "description": "InsertLocalInventory inserts a `LocalInventory` resource to a product in your merchant\naccount.\n\nReplaces the full `LocalInventory` resource if an entry with the same\n[`storeCode`][google.shopping.merchant.inventories.v1beta.LocalInventory.store_code]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `LocalInventory`\nresource to appear in products.", + "file": "LocalInventoryClient/InsertLocalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LocalInventoryService_InsertLocalInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLocalInventory Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LocalInventoryService_ListLocalInventories_sync", - "title": "merchantapi ListLocalInventories Sample", - "description": "ListLocalInventories lists the `LocalInventory` resources for the given product in your merchant\naccount. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be used\nto obtain additional results.\n\n`LocalInventory` resources are listed per product for a given account.", - "file": "LocalInventoryClient/ListLocalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocalInventories", + "client": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient", + "shortName": "LocalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient.ListLocalInventories", + "method": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.ListLocalInventories", + "service": { + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService", + "shortName": "LocalInventoryService" + }, + "shortName": "ListLocalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.ListLocalInventoriesRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.ListLocalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocalInventoryIterator", - "client": { - "shortName": "LocalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryClient" - }, - "method": { - "shortName": "ListLocalInventories", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.ListLocalInventories", - "service": { - "shortName": "LocalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService" - } - } + "shortName": "ListLocalInventories" }, + "description": "ListLocalInventories lists the `LocalInventory` resources for the given product in your merchant\naccount. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be used\nto obtain additional results.\n\n`LocalInventory` resources are listed per product for a given account.", + "file": "LocalInventoryClient/ListLocalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LocalInventoryService_ListLocalInventories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListLocalInventories Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionalInventoryService_DeleteRegionalInventory_sync", - "title": "merchantapi DeleteRegionalInventory Sample", - "description": "DeleteRegionalInventory deletes the specified `RegionalInventory` resource from the given product\nin your merchant account. It might take up to an hour for the\n`RegionalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", - "file": "RegionalInventoryClient/DeleteRegionalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRegionalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient", + "shortName": "RegionalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient.DeleteRegionalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.DeleteRegionalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService", + "shortName": "RegionalInventoryService" + }, + "shortName": "DeleteRegionalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.DeleteRegionalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.DeleteRegionalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "RegionalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient" - }, - "method": { - "shortName": "DeleteRegionalInventory", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.DeleteRegionalInventory", - "service": { - "shortName": "RegionalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService" - } - } + "shortName": "DeleteRegionalInventory" }, + "description": "DeleteRegionalInventory deletes the specified `RegionalInventory` resource from the given product\nin your merchant account. It might take up to an hour for the\n`RegionalInventory` to be deleted from the specific product.\nOnce you have received a successful delete response, wait for that\nperiod before attempting a delete again.", + "file": "RegionalInventoryClient/DeleteRegionalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionalInventoryService_DeleteRegionalInventory_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteRegionalInventory Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionalInventoryService_InsertRegionalInventory_sync", - "title": "merchantapi InsertRegionalInventory Sample", - "description": "InsertRegionalInventory inserts a `RegionalInventory` to a given product in your\nmerchant account.\n\nReplaces the full `RegionalInventory` resource if an entry with the same\n[`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `RegionalInventory`\nresource to appear in products.", - "file": "RegionalInventoryClient/InsertRegionalInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertRegionalInventory", + "client": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient", + "shortName": "RegionalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient.InsertRegionalInventory", + "method": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.InsertRegionalInventory", + "service": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService", + "shortName": "RegionalInventoryService" + }, + "shortName": "InsertRegionalInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.InsertRegionalInventoryRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.InsertRegionalInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*inventoriespb.RegionalInventory", - "client": { - "shortName": "RegionalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient" - }, - "method": { - "shortName": "InsertRegionalInventory", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.InsertRegionalInventory", - "service": { - "shortName": "RegionalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService" - } - } + "shortName": "InsertRegionalInventory" }, + "description": "InsertRegionalInventory inserts a `RegionalInventory` to a given product in your\nmerchant account.\n\nReplaces the full `RegionalInventory` resource if an entry with the same\n[`region`][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]\nalready exists for the product.\n\nIt might take up to 30 minutes for the new or updated `RegionalInventory`\nresource to appear in products.", + "file": "RegionalInventoryClient/InsertRegionalInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionalInventoryService_InsertRegionalInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertRegionalInventory Sample" }, { - "regionTag": "merchantapi_v1beta_generated_RegionalInventoryService_ListRegionalInventories_sync", - "title": "merchantapi ListRegionalInventories Sample", - "description": "ListRegionalInventories lists the `RegionalInventory` resources for the given product in your\nmerchant account. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be\nused to obtain additional results.\n\n`RegionalInventory` resources are listed per product for a given account.", - "file": "RegionalInventoryClient/ListRegionalInventories/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRegionalInventories", + "client": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient", + "shortName": "RegionalInventoryClient" + }, "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient.ListRegionalInventories", + "method": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.ListRegionalInventories", + "service": { + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService", + "shortName": "RegionalInventoryService" + }, + "shortName": "ListRegionalInventories" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "inventoriespb.ListRegionalInventoriesRequest", - "name": "req" + "name": "req", + "type": "inventoriespb.ListRegionalInventoriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RegionalInventoryIterator", - "client": { - "shortName": "RegionalInventoryClient", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryClient" - }, - "method": { - "shortName": "ListRegionalInventories", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.ListRegionalInventories", - "service": { - "shortName": "RegionalInventoryService", - "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService" - } - } + "shortName": "ListRegionalInventories" }, + "description": "ListRegionalInventories lists the `RegionalInventory` resources for the given product in your\nmerchant account. The response might contain fewer items than specified by\n`pageSize`. If `pageToken` was returned in previous request, it can be\nused to obtain additional results.\n\n`RegionalInventory` resources are listed per product for a given account.", + "file": "RegionalInventoryClient/ListRegionalInventories/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_RegionalInventoryService_ListRegionalInventories_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListRegionalInventories Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/issueresolution/apiv1/snippet_metadata.google.shopping.merchant.issueresolution.v1.json b/internal/generated/snippets/shopping/merchant/issueresolution/apiv1/snippet_metadata.google.shopping.merchant.issueresolution.v1.json index 64b0e1505d81..63254e4a8f8c 100644 --- a/internal/generated/snippets/shopping/merchant/issueresolution/apiv1/snippet_metadata.google.shopping.merchant.issueresolution.v1.json +++ b/internal/generated/snippets/shopping/merchant/issueresolution/apiv1/snippet_metadata.google.shopping.merchant.issueresolution.v1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/issueresolution/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.issueresolution.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/issueresolution/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_AggregateProductStatusesService_ListAggregateProductStatuses_sync", - "title": "merchantapi ListAggregateProductStatuses Sample", - "description": "ListAggregateProductStatuses lists the `AggregateProductStatuses` resources for your merchant account.\nThe response might contain fewer items than specified by `pageSize`.\nIf `pageToken` was returned in previous request, it can be used to obtain\nadditional results.", - "file": "AggregateProductStatusesClient/ListAggregateProductStatuses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAggregateProductStatuses", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesClient", + "shortName": "AggregateProductStatusesClient" + }, "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesClient.ListAggregateProductStatuses", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService.ListAggregateProductStatuses", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService", + "shortName": "AggregateProductStatusesService" + }, + "shortName": "ListAggregateProductStatuses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.ListAggregateProductStatusesRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.ListAggregateProductStatusesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AggregateProductStatusIterator", - "client": { - "shortName": "AggregateProductStatusesClient", - "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesClient" - }, - "method": { - "shortName": "ListAggregateProductStatuses", - "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService.ListAggregateProductStatuses", - "service": { - "shortName": "AggregateProductStatusesService", - "fullName": "google.shopping.merchant.issueresolution.v1.AggregateProductStatusesService" - } - } + "shortName": "ListAggregateProductStatuses" }, + "description": "ListAggregateProductStatuses lists the `AggregateProductStatuses` resources for your merchant account.\nThe response might contain fewer items than specified by `pageSize`.\nIf `pageToken` was returned in previous request, it can be used to obtain\nadditional results.", + "file": "AggregateProductStatusesClient/ListAggregateProductStatuses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AggregateProductStatusesService_ListAggregateProductStatuses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAggregateProductStatuses Sample" }, { - "regionTag": "merchantapi_v1_generated_IssueResolutionService_RenderAccountIssues_sync", - "title": "merchantapi RenderAccountIssues Sample", - "description": "RenderAccountIssues provide a list of business's account issues with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", - "file": "Client/RenderAccountIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenderAccountIssues", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.issueresolution.v1.Client.RenderAccountIssues", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService.RenderAccountIssues", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService", + "shortName": "IssueResolutionService" + }, + "shortName": "RenderAccountIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.RenderAccountIssuesRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.RenderAccountIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*issueresolutionpb.RenderAccountIssuesResponse", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.issueresolution.v1.Client" - }, - "method": { - "shortName": "RenderAccountIssues", - "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService.RenderAccountIssues", - "service": { - "shortName": "IssueResolutionService", - "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService" - } - } + "shortName": "RenderAccountIssues" }, + "description": "RenderAccountIssues provide a list of business's account issues with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", + "file": "Client/RenderAccountIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_IssueResolutionService_RenderAccountIssues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RenderAccountIssues Sample" }, { - "regionTag": "merchantapi_v1_generated_IssueResolutionService_RenderProductIssues_sync", - "title": "merchantapi RenderProductIssues Sample", - "description": "RenderProductIssues provide a list of issues for business's product with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", - "file": "Client/RenderProductIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenderProductIssues", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.issueresolution.v1.Client.RenderProductIssues", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService.RenderProductIssues", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService", + "shortName": "IssueResolutionService" + }, + "shortName": "RenderProductIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.RenderProductIssuesRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.RenderProductIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*issueresolutionpb.RenderProductIssuesResponse", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.issueresolution.v1.Client" - }, - "method": { - "shortName": "RenderProductIssues", - "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService.RenderProductIssues", - "service": { - "shortName": "IssueResolutionService", - "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService" - } - } + "shortName": "RenderProductIssues" }, + "description": "RenderProductIssues provide a list of issues for business's product with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", + "file": "Client/RenderProductIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_IssueResolutionService_RenderProductIssues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RenderProductIssues Sample" }, { - "regionTag": "merchantapi_v1_generated_IssueResolutionService_TriggerAction_sync", - "title": "merchantapi TriggerAction Sample", - "description": "TriggerAction start an action. The action can be requested by a business in\nthird-party application. Before the business can request the action, the\nthird-party application needs to show them action specific content and\ndisplay a user input form.\n\nThe action can be successfully started only once all `required` inputs are\nprovided. If any `required` input is missing, or invalid value was\nprovided, the service will return 400 error. Validation errors will contain\n[Ids][google.shopping.merchant.issueresolution.v1.InputField.id] for all\nproblematic field together with translated, human readable error messages\nthat can be shown to the user.", - "file": "Client/TriggerAction/main.go", - "language": "GO", "clientMethod": { - "shortName": "TriggerAction", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.issueresolution.v1.Client.TriggerAction", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService.TriggerAction", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService", + "shortName": "IssueResolutionService" + }, + "shortName": "TriggerAction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.TriggerActionRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.TriggerActionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*issueresolutionpb.TriggerActionResponse", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.issueresolution.v1.Client" - }, - "method": { - "shortName": "TriggerAction", - "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService.TriggerAction", - "service": { - "shortName": "IssueResolutionService", - "fullName": "google.shopping.merchant.issueresolution.v1.IssueResolutionService" - } - } + "shortName": "TriggerAction" }, + "description": "TriggerAction start an action. The action can be requested by a business in\nthird-party application. Before the business can request the action, the\nthird-party application needs to show them action specific content and\ndisplay a user input form.\n\nThe action can be successfully started only once all `required` inputs are\nprovided. If any `required` input is missing, or invalid value was\nprovided, the service will return 400 error. Validation errors will contain\n[Ids][google.shopping.merchant.issueresolution.v1.InputField.id] for all\nproblematic field together with translated, human readable error messages\nthat can be shown to the user.", + "file": "Client/TriggerAction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_IssueResolutionService_TriggerAction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi TriggerAction Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/issueresolution/apiv1beta/snippet_metadata.google.shopping.merchant.issueresolution.v1beta.json b/internal/generated/snippets/shopping/merchant/issueresolution/apiv1beta/snippet_metadata.google.shopping.merchant.issueresolution.v1beta.json index 1a25e5cd564a..ca26d76e0e12 100644 --- a/internal/generated/snippets/shopping/merchant/issueresolution/apiv1beta/snippet_metadata.google.shopping.merchant.issueresolution.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/issueresolution/apiv1beta/snippet_metadata.google.shopping.merchant.issueresolution.v1beta.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/issueresolution/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.issueresolution.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/issueresolution/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_AggregateProductStatusesService_ListAggregateProductStatuses_sync", - "title": "merchantapi ListAggregateProductStatuses Sample", - "description": "ListAggregateProductStatuses lists the `AggregateProductStatuses` resources for your merchant account.\nThe response might contain fewer items than specified by `pageSize`.\nIf `pageToken` was returned in previous request, it can be used to obtain\nadditional results.", - "file": "AggregateProductStatusesClient/ListAggregateProductStatuses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAggregateProductStatuses", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesClient", + "shortName": "AggregateProductStatusesClient" + }, "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesClient.ListAggregateProductStatuses", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService.ListAggregateProductStatuses", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService", + "shortName": "AggregateProductStatusesService" + }, + "shortName": "ListAggregateProductStatuses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.ListAggregateProductStatusesRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.ListAggregateProductStatusesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AggregateProductStatusIterator", - "client": { - "shortName": "AggregateProductStatusesClient", - "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesClient" - }, - "method": { - "shortName": "ListAggregateProductStatuses", - "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService.ListAggregateProductStatuses", - "service": { - "shortName": "AggregateProductStatusesService", - "fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService" - } - } + "shortName": "ListAggregateProductStatuses" }, + "description": "ListAggregateProductStatuses lists the `AggregateProductStatuses` resources for your merchant account.\nThe response might contain fewer items than specified by `pageSize`.\nIf `pageToken` was returned in previous request, it can be used to obtain\nadditional results.", + "file": "AggregateProductStatusesClient/ListAggregateProductStatuses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_AggregateProductStatusesService_ListAggregateProductStatuses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAggregateProductStatuses Sample" }, { - "regionTag": "merchantapi_v1beta_generated_IssueResolutionService_RenderAccountIssues_sync", - "title": "merchantapi RenderAccountIssues Sample", - "description": "RenderAccountIssues provide a list of business's account issues with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", - "file": "Client/RenderAccountIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenderAccountIssues", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.issueresolution.v1beta.Client.RenderAccountIssues", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.RenderAccountIssues", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService", + "shortName": "IssueResolutionService" + }, + "shortName": "RenderAccountIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.RenderAccountIssuesRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.RenderAccountIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*issueresolutionpb.RenderAccountIssuesResponse", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.issueresolution.v1beta.Client" - }, - "method": { - "shortName": "RenderAccountIssues", - "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.RenderAccountIssues", - "service": { - "shortName": "IssueResolutionService", - "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService" - } - } + "shortName": "RenderAccountIssues" }, + "description": "RenderAccountIssues provide a list of business's account issues with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", + "file": "Client/RenderAccountIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_IssueResolutionService_RenderAccountIssues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RenderAccountIssues Sample" }, { - "regionTag": "merchantapi_v1beta_generated_IssueResolutionService_RenderProductIssues_sync", - "title": "merchantapi RenderProductIssues Sample", - "description": "RenderProductIssues provide a list of issues for business's product with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", - "file": "Client/RenderProductIssues/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenderProductIssues", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.issueresolution.v1beta.Client.RenderProductIssues", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.RenderProductIssues", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService", + "shortName": "IssueResolutionService" + }, + "shortName": "RenderProductIssues" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.RenderProductIssuesRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.RenderProductIssuesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*issueresolutionpb.RenderProductIssuesResponse", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.issueresolution.v1beta.Client" - }, - "method": { - "shortName": "RenderProductIssues", - "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.RenderProductIssues", - "service": { - "shortName": "IssueResolutionService", - "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService" - } - } + "shortName": "RenderProductIssues" }, + "description": "RenderProductIssues provide a list of issues for business's product with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", + "file": "Client/RenderProductIssues/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_IssueResolutionService_RenderProductIssues_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RenderProductIssues Sample" }, { - "regionTag": "merchantapi_v1beta_generated_IssueResolutionService_TriggerAction_sync", - "title": "merchantapi TriggerAction Sample", - "description": "TriggerAction start an action. The action can be requested by a business in\nthird-party application. Before the business can request the action, the\nthird-party application needs to show them action specific content and\ndisplay a user input form.\n\nThe action can be successfully started only once all `required` inputs are\nprovided. If any `required` input is missing, or invalid value was\nprovided, the service will return 400 error. Validation errors will contain\n[Ids][google.shopping.merchant.issueresolution.v1beta.InputField.id] for\nall problematic field together with translated, human readable error\nmessages that can be shown to the user.", - "file": "Client/TriggerAction/main.go", - "language": "GO", "clientMethod": { - "shortName": "TriggerAction", + "client": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.issueresolution.v1beta.Client.TriggerAction", + "method": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.TriggerAction", + "service": { + "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService", + "shortName": "IssueResolutionService" + }, + "shortName": "TriggerAction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "issueresolutionpb.TriggerActionRequest", - "name": "req" + "name": "req", + "type": "issueresolutionpb.TriggerActionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*issueresolutionpb.TriggerActionResponse", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.issueresolution.v1beta.Client" - }, - "method": { - "shortName": "TriggerAction", - "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.TriggerAction", - "service": { - "shortName": "IssueResolutionService", - "fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService" - } - } + "shortName": "TriggerAction" }, + "description": "TriggerAction start an action. The action can be requested by a business in\nthird-party application. Before the business can request the action, the\nthird-party application needs to show them action specific content and\ndisplay a user input form.\n\nThe action can be successfully started only once all `required` inputs are\nprovided. If any `required` input is missing, or invalid value was\nprovided, the service will return 400 error. Validation errors will contain\n[Ids][google.shopping.merchant.issueresolution.v1beta.InputField.id] for\nall problematic field together with translated, human readable error\nmessages that can be shown to the user.", + "file": "Client/TriggerAction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_IssueResolutionService_TriggerAction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi TriggerAction Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/lfp/apiv1/snippet_metadata.google.shopping.merchant.lfp.v1.json b/internal/generated/snippets/shopping/merchant/lfp/apiv1/snippet_metadata.google.shopping.merchant.lfp.v1.json index 69302362e1bf..457b1381e34f 100644 --- a/internal/generated/snippets/shopping/merchant/lfp/apiv1/snippet_metadata.google.shopping.merchant.lfp.v1.json +++ b/internal/generated/snippets/shopping/merchant/lfp/apiv1/snippet_metadata.google.shopping.merchant.lfp.v1.json @@ -1,336 +1,336 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/lfp/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.lfp.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/lfp/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_LfpInventoryService_InsertLfpInventory_sync", - "title": "merchantapi InsertLfpInventory Sample", - "description": "InsertLfpInventory inserts a `LfpInventory` resource for the given target merchant account. If\nthe resource already exists, it will be replaced. The inventory\nautomatically expires after 30 days.", - "file": "LfpInventoryClient/InsertLfpInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLfpInventory", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryClient", + "shortName": "LfpInventoryClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryClient.InsertLfpInventory", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryService.InsertLfpInventory", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryService", + "shortName": "LfpInventoryService" + }, + "shortName": "InsertLfpInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.InsertLfpInventoryRequest", - "name": "req" + "name": "req", + "type": "lfppb.InsertLfpInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpInventory", - "client": { - "shortName": "LfpInventoryClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryClient" - }, - "method": { - "shortName": "InsertLfpInventory", - "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryService.InsertLfpInventory", - "service": { - "shortName": "LfpInventoryService", - "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryService" - } - } + "shortName": "InsertLfpInventory" }, + "description": "InsertLfpInventory inserts a `LfpInventory` resource for the given target merchant account. If\nthe resource already exists, it will be replaced. The inventory\nautomatically expires after 30 days.", + "file": "LfpInventoryClient/InsertLfpInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpInventoryService_InsertLfpInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLfpInventory Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpMerchantStateService_GetLfpMerchantState_sync", - "title": "merchantapi GetLfpMerchantState Sample", - "description": "GetLfpMerchantState gets the LFP state of a merchant", - "file": "LfpMerchantStateClient/GetLfpMerchantState/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLfpMerchantState", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateClient", + "shortName": "LfpMerchantStateClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateClient.GetLfpMerchantState", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateService.GetLfpMerchantState", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateService", + "shortName": "LfpMerchantStateService" + }, + "shortName": "GetLfpMerchantState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.GetLfpMerchantStateRequest", - "name": "req" + "name": "req", + "type": "lfppb.GetLfpMerchantStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpMerchantState", - "client": { - "shortName": "LfpMerchantStateClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateClient" - }, - "method": { - "shortName": "GetLfpMerchantState", - "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateService.GetLfpMerchantState", - "service": { - "shortName": "LfpMerchantStateService", - "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateService" - } - } + "shortName": "GetLfpMerchantState" }, + "description": "GetLfpMerchantState gets the LFP state of a merchant", + "file": "LfpMerchantStateClient/GetLfpMerchantState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpMerchantStateService_GetLfpMerchantState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetLfpMerchantState Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpSaleService_InsertLfpSale_sync", - "title": "merchantapi InsertLfpSale Sample", - "description": "InsertLfpSale inserts a `LfpSale` for the given merchant.", - "file": "LfpSaleClient/InsertLfpSale/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLfpSale", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpSaleClient", + "shortName": "LfpSaleClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpSaleClient.InsertLfpSale", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpSaleService.InsertLfpSale", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpSaleService", + "shortName": "LfpSaleService" + }, + "shortName": "InsertLfpSale" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.InsertLfpSaleRequest", - "name": "req" + "name": "req", + "type": "lfppb.InsertLfpSaleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpSale", - "client": { - "shortName": "LfpSaleClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpSaleClient" - }, - "method": { - "shortName": "InsertLfpSale", - "fullName": "google.shopping.merchant.lfp.v1.LfpSaleService.InsertLfpSale", - "service": { - "shortName": "LfpSaleService", - "fullName": "google.shopping.merchant.lfp.v1.LfpSaleService" - } - } + "shortName": "InsertLfpSale" }, + "description": "InsertLfpSale inserts a `LfpSale` for the given merchant.", + "file": "LfpSaleClient/InsertLfpSale/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpSaleService_InsertLfpSale_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLfpSale Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpStoreService_DeleteLfpStore_sync", - "title": "merchantapi DeleteLfpStore Sample", - "description": "DeleteLfpStore deletes a store for a target merchant.", - "file": "LfpStoreClient/DeleteLfpStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLfpStore", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.DeleteLfpStore", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.DeleteLfpStore", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "DeleteLfpStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.DeleteLfpStoreRequest", - "name": "req" + "name": "req", + "type": "lfppb.DeleteLfpStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient" - }, - "method": { - "shortName": "DeleteLfpStore", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.DeleteLfpStore", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService" - } - } + "shortName": "DeleteLfpStore" }, + "description": "DeleteLfpStore deletes a store for a target merchant.", + "file": "LfpStoreClient/DeleteLfpStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpStoreService_DeleteLfpStore_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteLfpStore Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpStoreService_GetLfpStore_sync", - "title": "merchantapi GetLfpStore Sample", - "description": "GetLfpStore retrieves information about a store.", - "file": "LfpStoreClient/GetLfpStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLfpStore", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.GetLfpStore", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.GetLfpStore", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "GetLfpStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.GetLfpStoreRequest", - "name": "req" + "name": "req", + "type": "lfppb.GetLfpStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpStore", - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient" - }, - "method": { - "shortName": "GetLfpStore", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.GetLfpStore", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService" - } - } + "shortName": "GetLfpStore" }, + "description": "GetLfpStore retrieves information about a store.", + "file": "LfpStoreClient/GetLfpStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpStoreService_GetLfpStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetLfpStore Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpStoreService_InsertLfpStore_sync", - "title": "merchantapi InsertLfpStore Sample", - "description": "InsertLfpStore inserts a store for the target merchant. If the store with the same store\ncode already exists, it will be replaced.", - "file": "LfpStoreClient/InsertLfpStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLfpStore", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.InsertLfpStore", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.InsertLfpStore", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "InsertLfpStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.InsertLfpStoreRequest", - "name": "req" + "name": "req", + "type": "lfppb.InsertLfpStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpStore", - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient" - }, - "method": { - "shortName": "InsertLfpStore", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.InsertLfpStore", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService" - } - } + "shortName": "InsertLfpStore" }, + "description": "InsertLfpStore inserts a store for the target merchant. If the store with the same store\ncode already exists, it will be replaced.", + "file": "LfpStoreClient/InsertLfpStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpStoreService_InsertLfpStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLfpStore Sample" }, { - "regionTag": "merchantapi_v1_generated_LfpStoreService_ListLfpStores_sync", - "title": "merchantapi ListLfpStores Sample", - "description": "ListLfpStores lists the stores of the target merchant, specified by the filter in\n`ListLfpStoresRequest`.", - "file": "LfpStoreClient/ListLfpStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLfpStores", + "client": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.ListLfpStores", + "method": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.ListLfpStores", + "service": { + "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "ListLfpStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.ListLfpStoresRequest", - "name": "req" + "name": "req", + "type": "lfppb.ListLfpStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LfpStoreIterator", - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient" - }, - "method": { - "shortName": "ListLfpStores", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.ListLfpStores", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService" - } - } + "shortName": "ListLfpStores" }, + "description": "ListLfpStores lists the stores of the target merchant, specified by the filter in\n`ListLfpStoresRequest`.", + "file": "LfpStoreClient/ListLfpStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_LfpStoreService_ListLfpStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListLfpStores Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json b/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json index 71b77c7bb985..f5420f592136 100644 --- a/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/lfp/apiv1beta/snippet_metadata.google.shopping.merchant.lfp.v1beta.json @@ -1,336 +1,336 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/lfp/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.lfp.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/lfp/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_LfpInventoryService_InsertLfpInventory_sync", - "title": "merchantapi InsertLfpInventory Sample", - "description": "InsertLfpInventory inserts a `LfpInventory` resource for the given target merchant account. If\nthe resource already exists, it will be replaced. The inventory\nautomatically expires after 30 days.", - "file": "LfpInventoryClient/InsertLfpInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLfpInventory", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryClient", + "shortName": "LfpInventoryClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryClient.InsertLfpInventory", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryService.InsertLfpInventory", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryService", + "shortName": "LfpInventoryService" + }, + "shortName": "InsertLfpInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.InsertLfpInventoryRequest", - "name": "req" + "name": "req", + "type": "lfppb.InsertLfpInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpInventory", - "client": { - "shortName": "LfpInventoryClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryClient" - }, - "method": { - "shortName": "InsertLfpInventory", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryService.InsertLfpInventory", - "service": { - "shortName": "LfpInventoryService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpInventoryService" - } - } + "shortName": "InsertLfpInventory" }, + "description": "InsertLfpInventory inserts a `LfpInventory` resource for the given target merchant account. If\nthe resource already exists, it will be replaced. The inventory\nautomatically expires after 30 days.", + "file": "LfpInventoryClient/InsertLfpInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpInventoryService_InsertLfpInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLfpInventory Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpMerchantStateService_GetLfpMerchantState_sync", - "title": "merchantapi GetLfpMerchantState Sample", - "description": "GetLfpMerchantState gets the LFP state of a merchant", - "file": "LfpMerchantStateClient/GetLfpMerchantState/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLfpMerchantState", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateClient", + "shortName": "LfpMerchantStateClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateClient.GetLfpMerchantState", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateService.GetLfpMerchantState", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateService", + "shortName": "LfpMerchantStateService" + }, + "shortName": "GetLfpMerchantState" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.GetLfpMerchantStateRequest", - "name": "req" + "name": "req", + "type": "lfppb.GetLfpMerchantStateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpMerchantState", - "client": { - "shortName": "LfpMerchantStateClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateClient" - }, - "method": { - "shortName": "GetLfpMerchantState", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateService.GetLfpMerchantState", - "service": { - "shortName": "LfpMerchantStateService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpMerchantStateService" - } - } + "shortName": "GetLfpMerchantState" }, + "description": "GetLfpMerchantState gets the LFP state of a merchant", + "file": "LfpMerchantStateClient/GetLfpMerchantState/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpMerchantStateService_GetLfpMerchantState_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetLfpMerchantState Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpSaleService_InsertLfpSale_sync", - "title": "merchantapi InsertLfpSale Sample", - "description": "InsertLfpSale inserts a `LfpSale` for the given merchant.", - "file": "LfpSaleClient/InsertLfpSale/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLfpSale", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleClient", + "shortName": "LfpSaleClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleClient.InsertLfpSale", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleService.InsertLfpSale", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleService", + "shortName": "LfpSaleService" + }, + "shortName": "InsertLfpSale" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.InsertLfpSaleRequest", - "name": "req" + "name": "req", + "type": "lfppb.InsertLfpSaleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpSale", - "client": { - "shortName": "LfpSaleClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleClient" - }, - "method": { - "shortName": "InsertLfpSale", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleService.InsertLfpSale", - "service": { - "shortName": "LfpSaleService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpSaleService" - } - } + "shortName": "InsertLfpSale" }, + "description": "InsertLfpSale inserts a `LfpSale` for the given merchant.", + "file": "LfpSaleClient/InsertLfpSale/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpSaleService_InsertLfpSale_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLfpSale Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpStoreService_DeleteLfpStore_sync", - "title": "merchantapi DeleteLfpStore Sample", - "description": "DeleteLfpStore deletes a store for a target merchant.", - "file": "LfpStoreClient/DeleteLfpStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLfpStore", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient.DeleteLfpStore", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.DeleteLfpStore", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "DeleteLfpStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.DeleteLfpStoreRequest", - "name": "req" + "name": "req", + "type": "lfppb.DeleteLfpStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient" - }, - "method": { - "shortName": "DeleteLfpStore", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.DeleteLfpStore", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService" - } - } + "shortName": "DeleteLfpStore" }, + "description": "DeleteLfpStore deletes a store for a target merchant.", + "file": "LfpStoreClient/DeleteLfpStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpStoreService_DeleteLfpStore_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteLfpStore Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpStoreService_GetLfpStore_sync", - "title": "merchantapi GetLfpStore Sample", - "description": "GetLfpStore retrieves information about a store.", - "file": "LfpStoreClient/GetLfpStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLfpStore", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient.GetLfpStore", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.GetLfpStore", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "GetLfpStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.GetLfpStoreRequest", - "name": "req" + "name": "req", + "type": "lfppb.GetLfpStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpStore", - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient" - }, - "method": { - "shortName": "GetLfpStore", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.GetLfpStore", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService" - } - } + "shortName": "GetLfpStore" }, + "description": "GetLfpStore retrieves information about a store.", + "file": "LfpStoreClient/GetLfpStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpStoreService_GetLfpStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetLfpStore Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpStoreService_InsertLfpStore_sync", - "title": "merchantapi InsertLfpStore Sample", - "description": "InsertLfpStore inserts a store for the target merchant. If the store with the same store\ncode already exists, it will be replaced.", - "file": "LfpStoreClient/InsertLfpStore/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertLfpStore", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient.InsertLfpStore", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.InsertLfpStore", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "InsertLfpStore" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.InsertLfpStoreRequest", - "name": "req" + "name": "req", + "type": "lfppb.InsertLfpStoreRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*lfppb.LfpStore", - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient" - }, - "method": { - "shortName": "InsertLfpStore", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.InsertLfpStore", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService" - } - } + "shortName": "InsertLfpStore" }, + "description": "InsertLfpStore inserts a store for the target merchant. If the store with the same store\ncode already exists, it will be replaced.", + "file": "LfpStoreClient/InsertLfpStore/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpStoreService_InsertLfpStore_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertLfpStore Sample" }, { - "regionTag": "merchantapi_v1beta_generated_LfpStoreService_ListLfpStores_sync", - "title": "merchantapi ListLfpStores Sample", - "description": "ListLfpStores lists the stores of the target merchant, specified by the filter in\n`ListLfpStoresRequest`.", - "file": "LfpStoreClient/ListLfpStores/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLfpStores", + "client": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient", + "shortName": "LfpStoreClient" + }, "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient.ListLfpStores", + "method": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.ListLfpStores", + "service": { + "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService", + "shortName": "LfpStoreService" + }, + "shortName": "ListLfpStores" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "lfppb.ListLfpStoresRequest", - "name": "req" + "name": "req", + "type": "lfppb.ListLfpStoresRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LfpStoreIterator", - "client": { - "shortName": "LfpStoreClient", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreClient" - }, - "method": { - "shortName": "ListLfpStores", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService.ListLfpStores", - "service": { - "shortName": "LfpStoreService", - "fullName": "google.shopping.merchant.lfp.v1beta.LfpStoreService" - } - } + "shortName": "ListLfpStores" }, + "description": "ListLfpStores lists the stores of the target merchant, specified by the filter in\n`ListLfpStoresRequest`.", + "file": "LfpStoreClient/ListLfpStores/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_LfpStoreService_ListLfpStores_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListLfpStores Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/notifications/apiv1/snippet_metadata.google.shopping.merchant.notifications.v1.json b/internal/generated/snippets/shopping/merchant/notifications/apiv1/snippet_metadata.google.shopping.merchant.notifications.v1.json index 62c3f83c4e11..0786acd50aee 100644 --- a/internal/generated/snippets/shopping/merchant/notifications/apiv1/snippet_metadata.google.shopping.merchant.notifications.v1.json +++ b/internal/generated/snippets/shopping/merchant/notifications/apiv1/snippet_metadata.google.shopping.merchant.notifications.v1.json @@ -1,290 +1,290 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/notifications/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.notifications.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/notifications/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_NotificationsApiService_CreateNotificationSubscription_sync", - "title": "merchantapi CreateNotificationSubscription Sample", - "description": "CreateNotificationSubscription creates a notification subscription for a business.\nFor standalone or subaccounts accounts, the business can create a\nsubscription for self. For MCAs, the business can create a\nsubscription for all managed accounts or for a specific subaccount.\n\nWe will allow the following types of notification subscriptions to exist\ntogether (per business as a subscriber per event type): \n\n1. Subscription for all managed accounts + subscription for self.\n\n2. Multiple \"partial\" subscriptions for managed accounts + subscription\nfor self.\n\nwe will not allow (per business as a subscriber per event type): \n\n1. Multiple self subscriptions.\n\n2. Multiple \"all managed accounts\" subscriptions.\n\n3. \"All managed accounts\" subscription and partial subscriptions at the\nsame time.\n\n4. Multiple partial subscriptions for the same target account.", - "file": "NotificationsApiClient/CreateNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient.CreateNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.CreateNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "CreateNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.CreateNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.CreateNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscription", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient" - }, - "method": { - "shortName": "CreateNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.CreateNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService" - } - } + "shortName": "CreateNotificationSubscription" }, + "description": "CreateNotificationSubscription creates a notification subscription for a business.\nFor standalone or subaccounts accounts, the business can create a\nsubscription for self. For MCAs, the business can create a\nsubscription for all managed accounts or for a specific subaccount.\n\nWe will allow the following types of notification subscriptions to exist\ntogether (per business as a subscriber per event type): \n\n1. Subscription for all managed accounts + subscription for self.\n\n2. Multiple \"partial\" subscriptions for managed accounts + subscription\nfor self.\n\nwe will not allow (per business as a subscriber per event type): \n\n1. Multiple self subscriptions.\n\n2. Multiple \"all managed accounts\" subscriptions.\n\n3. \"All managed accounts\" subscription and partial subscriptions at the\nsame time.\n\n4. Multiple partial subscriptions for the same target account.", + "file": "NotificationsApiClient/CreateNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_NotificationsApiService_CreateNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateNotificationSubscription Sample" }, { - "regionTag": "merchantapi_v1_generated_NotificationsApiService_DeleteNotificationSubscription_sync", - "title": "merchantapi DeleteNotificationSubscription Sample", - "description": "DeleteNotificationSubscription deletes a notification subscription for a merchant.", - "file": "NotificationsApiClient/DeleteNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient.DeleteNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.DeleteNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "DeleteNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.DeleteNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.DeleteNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient" - }, - "method": { - "shortName": "DeleteNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.DeleteNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService" - } - } + "shortName": "DeleteNotificationSubscription" }, + "description": "DeleteNotificationSubscription deletes a notification subscription for a merchant.", + "file": "NotificationsApiClient/DeleteNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_NotificationsApiService_DeleteNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteNotificationSubscription Sample" }, { - "regionTag": "merchantapi_v1_generated_NotificationsApiService_GetNotificationSubscription_sync", - "title": "merchantapi GetNotificationSubscription Sample", - "description": "GetNotificationSubscription gets notification subscriptions for an account.", - "file": "NotificationsApiClient/GetNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient.GetNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.GetNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "GetNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.GetNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.GetNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscription", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient" - }, - "method": { - "shortName": "GetNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.GetNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService" - } - } + "shortName": "GetNotificationSubscription" }, + "description": "GetNotificationSubscription gets notification subscriptions for an account.", + "file": "NotificationsApiClient/GetNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_NotificationsApiService_GetNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetNotificationSubscription Sample" }, { - "regionTag": "merchantapi_v1_generated_NotificationsApiService_GetNotificationSubscriptionHealthMetrics_sync", - "title": "merchantapi GetNotificationSubscriptionHealthMetrics Sample", - "description": "GetNotificationSubscriptionHealthMetrics retrieves notification subscription health metrics for a merchant.\nWe recommend calling this periodically (hourly or daily) to monitor health\nof your callback endpoint.", - "file": "NotificationsApiClient/GetNotificationSubscriptionHealthMetrics/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationSubscriptionHealthMetrics", + "client": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient.GetNotificationSubscriptionHealthMetrics", + "method": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.GetNotificationSubscriptionHealthMetrics", + "service": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "GetNotificationSubscriptionHealthMetrics" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.GetNotificationSubscriptionHealthMetricsRequest", - "name": "req" + "name": "req", + "type": "notificationspb.GetNotificationSubscriptionHealthMetricsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscriptionHealthMetrics", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient" - }, - "method": { - "shortName": "GetNotificationSubscriptionHealthMetrics", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.GetNotificationSubscriptionHealthMetrics", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService" - } - } + "shortName": "GetNotificationSubscriptionHealthMetrics" }, + "description": "GetNotificationSubscriptionHealthMetrics retrieves notification subscription health metrics for a merchant.\nWe recommend calling this periodically (hourly or daily) to monitor health\nof your callback endpoint.", + "file": "NotificationsApiClient/GetNotificationSubscriptionHealthMetrics/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_NotificationsApiService_GetNotificationSubscriptionHealthMetrics_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetNotificationSubscriptionHealthMetrics Sample" }, { - "regionTag": "merchantapi_v1_generated_NotificationsApiService_ListNotificationSubscriptions_sync", - "title": "merchantapi ListNotificationSubscriptions Sample", - "description": "ListNotificationSubscriptions gets all the notification subscriptions for a merchant.", - "file": "NotificationsApiClient/ListNotificationSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationSubscriptions", + "client": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient.ListNotificationSubscriptions", + "method": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.ListNotificationSubscriptions", + "service": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "ListNotificationSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.ListNotificationSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "notificationspb.ListNotificationSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationSubscriptionIterator", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient" - }, - "method": { - "shortName": "ListNotificationSubscriptions", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.ListNotificationSubscriptions", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService" - } - } + "shortName": "ListNotificationSubscriptions" }, + "description": "ListNotificationSubscriptions gets all the notification subscriptions for a merchant.", + "file": "NotificationsApiClient/ListNotificationSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_NotificationsApiService_ListNotificationSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListNotificationSubscriptions Sample" }, { - "regionTag": "merchantapi_v1_generated_NotificationsApiService_UpdateNotificationSubscription_sync", - "title": "merchantapi UpdateNotificationSubscription Sample", - "description": "UpdateNotificationSubscription updates an existing notification subscription for a merchant.", - "file": "NotificationsApiClient/UpdateNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient.UpdateNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.UpdateNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "UpdateNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.UpdateNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.UpdateNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscription", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiClient" - }, - "method": { - "shortName": "UpdateNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService.UpdateNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1.NotificationsApiService" - } - } + "shortName": "UpdateNotificationSubscription" }, + "description": "UpdateNotificationSubscription updates an existing notification subscription for a merchant.", + "file": "NotificationsApiClient/UpdateNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_NotificationsApiService_UpdateNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateNotificationSubscription Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json b/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json index bd065277517c..c34aee37b9c9 100644 --- a/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/notifications/apiv1beta/snippet_metadata.google.shopping.merchant.notifications.v1beta.json @@ -1,244 +1,244 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/notifications/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.notifications.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/notifications/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_CreateNotificationSubscription_sync", - "title": "merchantapi CreateNotificationSubscription Sample", - "description": "CreateNotificationSubscription creates a notification subscription for a merchant. We will allow the\nfollowing types of notification subscriptions to exist together (per\nmerchant as a subscriber per event type): \n1. Subscription for all managed accounts + subscription for self\n2. Multiple \"partial\" subscriptions for managed accounts + subscription\nfor self\n\nwe will not allow (per merchant as a subscriber per event type): \n1. multiple self subscriptions.\n2. multiple \"all managed accounts\" subscriptions.\n3. all and partial subscriptions at the same time.\n4. multiple partial subscriptions for the same target account", - "file": "NotificationsApiClient/CreateNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient.CreateNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.CreateNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "CreateNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.CreateNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.CreateNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscription", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient" - }, - "method": { - "shortName": "CreateNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.CreateNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService" - } - } + "shortName": "CreateNotificationSubscription" }, + "description": "CreateNotificationSubscription creates a notification subscription for a merchant. We will allow the\nfollowing types of notification subscriptions to exist together (per\nmerchant as a subscriber per event type): \n1. Subscription for all managed accounts + subscription for self\n2. Multiple \"partial\" subscriptions for managed accounts + subscription\nfor self\n\nwe will not allow (per merchant as a subscriber per event type): \n1. multiple self subscriptions.\n2. multiple \"all managed accounts\" subscriptions.\n3. all and partial subscriptions at the same time.\n4. multiple partial subscriptions for the same target account", + "file": "NotificationsApiClient/CreateNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_CreateNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateNotificationSubscription Sample" }, { - "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_DeleteNotificationSubscription_sync", - "title": "merchantapi DeleteNotificationSubscription Sample", - "description": "DeleteNotificationSubscription deletes a notification subscription for a merchant.", - "file": "NotificationsApiClient/DeleteNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient.DeleteNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.DeleteNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "DeleteNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.DeleteNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.DeleteNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient" - }, - "method": { - "shortName": "DeleteNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.DeleteNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService" - } - } + "shortName": "DeleteNotificationSubscription" }, + "description": "DeleteNotificationSubscription deletes a notification subscription for a merchant.", + "file": "NotificationsApiClient/DeleteNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_DeleteNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteNotificationSubscription Sample" }, { - "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_GetNotificationSubscription_sync", - "title": "merchantapi GetNotificationSubscription Sample", - "description": "GetNotificationSubscription gets notification subscriptions for an account.", - "file": "NotificationsApiClient/GetNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient.GetNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.GetNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "GetNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.GetNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.GetNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscription", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient" - }, - "method": { - "shortName": "GetNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.GetNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService" - } - } + "shortName": "GetNotificationSubscription" }, + "description": "GetNotificationSubscription gets notification subscriptions for an account.", + "file": "NotificationsApiClient/GetNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_GetNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetNotificationSubscription Sample" }, { - "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_ListNotificationSubscriptions_sync", - "title": "merchantapi ListNotificationSubscriptions Sample", - "description": "ListNotificationSubscriptions gets all the notification subscriptions for a merchant.", - "file": "NotificationsApiClient/ListNotificationSubscriptions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNotificationSubscriptions", + "client": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient.ListNotificationSubscriptions", + "method": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.ListNotificationSubscriptions", + "service": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "ListNotificationSubscriptions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.ListNotificationSubscriptionsRequest", - "name": "req" + "name": "req", + "type": "notificationspb.ListNotificationSubscriptionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NotificationSubscriptionIterator", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient" - }, - "method": { - "shortName": "ListNotificationSubscriptions", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.ListNotificationSubscriptions", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService" - } - } + "shortName": "ListNotificationSubscriptions" }, + "description": "ListNotificationSubscriptions gets all the notification subscriptions for a merchant.", + "file": "NotificationsApiClient/ListNotificationSubscriptions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_ListNotificationSubscriptions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListNotificationSubscriptions Sample" }, { - "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_UpdateNotificationSubscription_sync", - "title": "merchantapi UpdateNotificationSubscription Sample", - "description": "UpdateNotificationSubscription updates an existing notification subscription for a merchant.", - "file": "NotificationsApiClient/UpdateNotificationSubscription/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNotificationSubscription", + "client": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient", + "shortName": "NotificationsApiClient" + }, "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient.UpdateNotificationSubscription", + "method": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.UpdateNotificationSubscription", + "service": { + "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService", + "shortName": "NotificationsApiService" + }, + "shortName": "UpdateNotificationSubscription" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "notificationspb.UpdateNotificationSubscriptionRequest", - "name": "req" + "name": "req", + "type": "notificationspb.UpdateNotificationSubscriptionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*notificationspb.NotificationSubscription", - "client": { - "shortName": "NotificationsApiClient", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiClient" - }, - "method": { - "shortName": "UpdateNotificationSubscription", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService.UpdateNotificationSubscription", - "service": { - "shortName": "NotificationsApiService", - "fullName": "google.shopping.merchant.notifications.v1beta.NotificationsApiService" - } - } + "shortName": "UpdateNotificationSubscription" }, + "description": "UpdateNotificationSubscription updates an existing notification subscription for a merchant.", + "file": "NotificationsApiClient/UpdateNotificationSubscription/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_NotificationsApiService_UpdateNotificationSubscription_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateNotificationSubscription Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/ordertracking/apiv1/snippet_metadata.google.shopping.merchant.ordertracking.v1.json b/internal/generated/snippets/shopping/merchant/ordertracking/apiv1/snippet_metadata.google.shopping.merchant.ordertracking.v1.json index 7dbcfc867ab5..c584be779842 100644 --- a/internal/generated/snippets/shopping/merchant/ordertracking/apiv1/snippet_metadata.google.shopping.merchant.ordertracking.v1.json +++ b/internal/generated/snippets/shopping/merchant/ordertracking/apiv1/snippet_metadata.google.shopping.merchant.ordertracking.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/ordertracking/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.ordertracking.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/ordertracking/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_OrderTrackingSignalsService_CreateOrderTrackingSignal_sync", - "title": "merchantapi CreateOrderTrackingSignal Sample", - "description": "CreateOrderTrackingSignal creates new order tracking signal.", - "file": "OrderTrackingSignalsClient/CreateOrderTrackingSignal/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOrderTrackingSignal", + "client": { + "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsClient", + "shortName": "OrderTrackingSignalsClient" + }, "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsClient.CreateOrderTrackingSignal", + "method": { + "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsService.CreateOrderTrackingSignal", + "service": { + "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsService", + "shortName": "OrderTrackingSignalsService" + }, + "shortName": "CreateOrderTrackingSignal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "ordertrackingpb.CreateOrderTrackingSignalRequest", - "name": "req" + "name": "req", + "type": "ordertrackingpb.CreateOrderTrackingSignalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*ordertrackingpb.OrderTrackingSignal", - "client": { - "shortName": "OrderTrackingSignalsClient", - "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsClient" - }, - "method": { - "shortName": "CreateOrderTrackingSignal", - "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsService.CreateOrderTrackingSignal", - "service": { - "shortName": "OrderTrackingSignalsService", - "fullName": "google.shopping.merchant.ordertracking.v1.OrderTrackingSignalsService" - } - } + "shortName": "CreateOrderTrackingSignal" }, + "description": "CreateOrderTrackingSignal creates new order tracking signal.", + "file": "OrderTrackingSignalsClient/CreateOrderTrackingSignal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_OrderTrackingSignalsService_CreateOrderTrackingSignal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateOrderTrackingSignal Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/ordertracking/apiv1beta/snippet_metadata.google.shopping.merchant.ordertracking.v1beta.json b/internal/generated/snippets/shopping/merchant/ordertracking/apiv1beta/snippet_metadata.google.shopping.merchant.ordertracking.v1beta.json index 201fcb092230..b3749d2b8f7c 100644 --- a/internal/generated/snippets/shopping/merchant/ordertracking/apiv1beta/snippet_metadata.google.shopping.merchant.ordertracking.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/ordertracking/apiv1beta/snippet_metadata.google.shopping.merchant.ordertracking.v1beta.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/ordertracking/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.ordertracking.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/ordertracking/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_OrderTrackingSignalsService_CreateOrderTrackingSignal_sync", - "title": "merchantapi CreateOrderTrackingSignal Sample", - "description": "CreateOrderTrackingSignal creates new order tracking signal.", - "file": "OrderTrackingSignalsClient/CreateOrderTrackingSignal/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOrderTrackingSignal", + "client": { + "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsClient", + "shortName": "OrderTrackingSignalsClient" + }, "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsClient.CreateOrderTrackingSignal", + "method": { + "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsService.CreateOrderTrackingSignal", + "service": { + "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsService", + "shortName": "OrderTrackingSignalsService" + }, + "shortName": "CreateOrderTrackingSignal" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "ordertrackingpb.CreateOrderTrackingSignalRequest", - "name": "req" + "name": "req", + "type": "ordertrackingpb.CreateOrderTrackingSignalRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*ordertrackingpb.OrderTrackingSignal", - "client": { - "shortName": "OrderTrackingSignalsClient", - "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsClient" - }, - "method": { - "shortName": "CreateOrderTrackingSignal", - "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsService.CreateOrderTrackingSignal", - "service": { - "shortName": "OrderTrackingSignalsService", - "fullName": "google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignalsService" - } - } + "shortName": "CreateOrderTrackingSignal" }, + "description": "CreateOrderTrackingSignal creates new order tracking signal.", + "file": "OrderTrackingSignalsClient/CreateOrderTrackingSignal/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_OrderTrackingSignalsService_CreateOrderTrackingSignal_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi CreateOrderTrackingSignal Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/products/apiv1/snippet_metadata.google.shopping.merchant.products.v1.json b/internal/generated/snippets/shopping/merchant/products/apiv1/snippet_metadata.google.shopping.merchant.products.v1.json index 36955fb31809..e36bb286af35 100644 --- a/internal/generated/snippets/shopping/merchant/products/apiv1/snippet_metadata.google.shopping.merchant.products.v1.json +++ b/internal/generated/snippets/shopping/merchant/products/apiv1/snippet_metadata.google.shopping.merchant.products.v1.json @@ -1,244 +1,244 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/products/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.products.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/products/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_ProductInputsService_DeleteProductInput_sync", - "title": "merchantapi DeleteProductInput Sample", - "description": "DeleteProductInput deletes a product input from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", - "file": "ProductInputsClient/DeleteProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProductInput", + "client": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsClient", + "shortName": "ProductInputsClient" + }, "fullName": "google.shopping.merchant.products.v1.ProductInputsClient.DeleteProductInput", + "method": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsService.DeleteProductInput", + "service": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsService", + "shortName": "ProductInputsService" + }, + "shortName": "DeleteProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.DeleteProductInputRequest", - "name": "req" + "name": "req", + "type": "productspb.DeleteProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductInputsClient", - "fullName": "google.shopping.merchant.products.v1.ProductInputsClient" - }, - "method": { - "shortName": "DeleteProductInput", - "fullName": "google.shopping.merchant.products.v1.ProductInputsService.DeleteProductInput", - "service": { - "shortName": "ProductInputsService", - "fullName": "google.shopping.merchant.products.v1.ProductInputsService" - } - } + "shortName": "DeleteProductInput" }, + "description": "DeleteProductInput deletes a product input from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", + "file": "ProductInputsClient/DeleteProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProductInputsService_DeleteProductInput_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteProductInput Sample" }, { - "regionTag": "merchantapi_v1_generated_ProductInputsService_InsertProductInput_sync", - "title": "merchantapi InsertProductInput Sample", - "description": "InsertProductInput [Uploads a product input to your Merchant Center\naccount](/merchant/api/guides/products/add-manage#add_a_product). You\nmust have a products [data\nsource](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)\nto be able to insert a product. The unique identifier of the data source is\npassed as a query parameter in the request URL.\n\nIf a product input with the same contentLanguage, offerId, and dataSource\nalready exists, then the product input inserted by this method replaces\nthat entry.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", - "file": "ProductInputsClient/InsertProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertProductInput", + "client": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsClient", + "shortName": "ProductInputsClient" + }, "fullName": "google.shopping.merchant.products.v1.ProductInputsClient.InsertProductInput", + "method": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsService.InsertProductInput", + "service": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsService", + "shortName": "ProductInputsService" + }, + "shortName": "InsertProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.InsertProductInputRequest", - "name": "req" + "name": "req", + "type": "productspb.InsertProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productspb.ProductInput", - "client": { - "shortName": "ProductInputsClient", - "fullName": "google.shopping.merchant.products.v1.ProductInputsClient" - }, - "method": { - "shortName": "InsertProductInput", - "fullName": "google.shopping.merchant.products.v1.ProductInputsService.InsertProductInput", - "service": { - "shortName": "ProductInputsService", - "fullName": "google.shopping.merchant.products.v1.ProductInputsService" - } - } + "shortName": "InsertProductInput" }, + "description": "InsertProductInput [Uploads a product input to your Merchant Center\naccount](/merchant/api/guides/products/add-manage#add_a_product). You\nmust have a products [data\nsource](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)\nto be able to insert a product. The unique identifier of the data source is\npassed as a query parameter in the request URL.\n\nIf a product input with the same contentLanguage, offerId, and dataSource\nalready exists, then the product input inserted by this method replaces\nthat entry.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", + "file": "ProductInputsClient/InsertProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProductInputsService_InsertProductInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertProductInput Sample" }, { - "regionTag": "merchantapi_v1_generated_ProductInputsService_UpdateProductInput_sync", - "title": "merchantapi UpdateProductInput Sample", - "description": "UpdateProductInput updates the existing product input in your Merchant Center account.\nThe name of the product input to update is taken from the `name` field\nwithin the `ProductInput` resource.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", - "file": "ProductInputsClient/UpdateProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProductInput", + "client": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsClient", + "shortName": "ProductInputsClient" + }, "fullName": "google.shopping.merchant.products.v1.ProductInputsClient.UpdateProductInput", + "method": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsService.UpdateProductInput", + "service": { + "fullName": "google.shopping.merchant.products.v1.ProductInputsService", + "shortName": "ProductInputsService" + }, + "shortName": "UpdateProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.UpdateProductInputRequest", - "name": "req" + "name": "req", + "type": "productspb.UpdateProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productspb.ProductInput", - "client": { - "shortName": "ProductInputsClient", - "fullName": "google.shopping.merchant.products.v1.ProductInputsClient" - }, - "method": { - "shortName": "UpdateProductInput", - "fullName": "google.shopping.merchant.products.v1.ProductInputsService.UpdateProductInput", - "service": { - "shortName": "ProductInputsService", - "fullName": "google.shopping.merchant.products.v1.ProductInputsService" - } - } + "shortName": "UpdateProductInput" }, + "description": "UpdateProductInput updates the existing product input in your Merchant Center account.\nThe name of the product input to update is taken from the `name` field\nwithin the `ProductInput` resource.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", + "file": "ProductInputsClient/UpdateProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProductInputsService_UpdateProductInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateProductInput Sample" }, { - "regionTag": "merchantapi_v1_generated_ProductsService_GetProduct_sync", - "title": "merchantapi GetProduct Sample", - "description": "GetProduct retrieves the processed product from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated final product can be retrieved.", - "file": "Client/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.shopping.merchant.products.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.products.v1.Client.GetProduct", + "method": { + "fullName": "google.shopping.merchant.products.v1.ProductsService.GetProduct", + "service": { + "fullName": "google.shopping.merchant.products.v1.ProductsService", + "shortName": "ProductsService" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.GetProductRequest", - "name": "req" + "name": "req", + "type": "productspb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productspb.Product", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.products.v1.Client" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.shopping.merchant.products.v1.ProductsService.GetProduct", - "service": { - "shortName": "ProductsService", - "fullName": "google.shopping.merchant.products.v1.ProductsService" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct retrieves the processed product from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated final product can be retrieved.", + "file": "Client/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProductsService_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetProduct Sample" }, { - "regionTag": "merchantapi_v1_generated_ProductsService_ListProducts_sync", - "title": "merchantapi ListProducts Sample", - "description": "ListProducts lists the processed products in your Merchant Center account. The response\nmight contain fewer items than specified by `pageSize`. Rely on `pageToken`\nto determine if there are more items to be requested.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated processed product can be retrieved.", - "file": "Client/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.shopping.merchant.products.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.products.v1.Client.ListProducts", + "method": { + "fullName": "google.shopping.merchant.products.v1.ProductsService.ListProducts", + "service": { + "fullName": "google.shopping.merchant.products.v1.ProductsService", + "shortName": "ProductsService" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "productspb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.products.v1.Client" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.shopping.merchant.products.v1.ProductsService.ListProducts", - "service": { - "shortName": "ProductsService", - "fullName": "google.shopping.merchant.products.v1.ProductsService" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts lists the processed products in your Merchant Center account. The response\nmight contain fewer items than specified by `pageSize`. Rely on `pageToken`\nto determine if there are more items to be requested.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated processed product can be retrieved.", + "file": "Client/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ProductsService_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListProducts Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json b/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json index 0a30e7b2bc3f..2e5af292a0d7 100644 --- a/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/products/apiv1beta/snippet_metadata.google.shopping.merchant.products.v1beta.json @@ -1,244 +1,244 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/products/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.products.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/products/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync", - "title": "merchantapi DeleteProductInput Sample", - "description": "DeleteProductInput deletes a product input from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", - "file": "ProductInputsClient/DeleteProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProductInput", + "client": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient", + "shortName": "ProductInputsClient" + }, "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient.DeleteProductInput", + "method": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService.DeleteProductInput", + "service": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService", + "shortName": "ProductInputsService" + }, + "shortName": "DeleteProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.DeleteProductInputRequest", - "name": "req" + "name": "req", + "type": "productspb.DeleteProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductInputsClient", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient" - }, - "method": { - "shortName": "DeleteProductInput", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService.DeleteProductInput", - "service": { - "shortName": "ProductInputsService", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService" - } - } + "shortName": "DeleteProductInput" }, + "description": "DeleteProductInput deletes a product input from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", + "file": "ProductInputsClient/DeleteProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductInputsService_DeleteProductInput_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteProductInput Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductInputsService_InsertProductInput_sync", - "title": "merchantapi InsertProductInput Sample", - "description": "InsertProductInput [Uploads a product input to your Merchant Center\naccount](/merchant/api/guides/products/overview#upload-product-input). You\nmust have a products data source to be able to insert a product. The unique\nidentifier of the data source is passed as a query parameter in the request\nURL.\n\nIf an input with the same contentLanguage, offerId, and dataSource already\nexists, this method replaces that entry.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", - "file": "ProductInputsClient/InsertProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertProductInput", + "client": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient", + "shortName": "ProductInputsClient" + }, "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient.InsertProductInput", + "method": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService.InsertProductInput", + "service": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService", + "shortName": "ProductInputsService" + }, + "shortName": "InsertProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.InsertProductInputRequest", - "name": "req" + "name": "req", + "type": "productspb.InsertProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productspb.ProductInput", - "client": { - "shortName": "ProductInputsClient", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient" - }, - "method": { - "shortName": "InsertProductInput", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService.InsertProductInput", - "service": { - "shortName": "ProductInputsService", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService" - } - } + "shortName": "InsertProductInput" }, + "description": "InsertProductInput [Uploads a product input to your Merchant Center\naccount](/merchant/api/guides/products/overview#upload-product-input). You\nmust have a products data source to be able to insert a product. The unique\nidentifier of the data source is passed as a query parameter in the request\nURL.\n\nIf an input with the same contentLanguage, offerId, and dataSource already\nexists, this method replaces that entry.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", + "file": "ProductInputsClient/InsertProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductInputsService_InsertProductInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertProductInput Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductInputsService_UpdateProductInput_sync", - "title": "merchantapi UpdateProductInput Sample", - "description": "UpdateProductInput updates the existing product input in your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", - "file": "ProductInputsClient/UpdateProductInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProductInput", + "client": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient", + "shortName": "ProductInputsClient" + }, "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient.UpdateProductInput", + "method": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService.UpdateProductInput", + "service": { + "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService", + "shortName": "ProductInputsService" + }, + "shortName": "UpdateProductInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.UpdateProductInputRequest", - "name": "req" + "name": "req", + "type": "productspb.UpdateProductInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productspb.ProductInput", - "client": { - "shortName": "ProductInputsClient", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsClient" - }, - "method": { - "shortName": "UpdateProductInput", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService.UpdateProductInput", - "service": { - "shortName": "ProductInputsService", - "fullName": "google.shopping.merchant.products.v1beta.ProductInputsService" - } - } + "shortName": "UpdateProductInput" }, + "description": "UpdateProductInput updates the existing product input in your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the processed product can be retrieved.", + "file": "ProductInputsClient/UpdateProductInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductInputsService_UpdateProductInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpdateProductInput Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductsService_GetProduct_sync", - "title": "merchantapi GetProduct Sample", - "description": "GetProduct retrieves the processed product from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated final product can be retrieved.", - "file": "Client/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.shopping.merchant.products.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.products.v1beta.Client.GetProduct", + "method": { + "fullName": "google.shopping.merchant.products.v1beta.ProductsService.GetProduct", + "service": { + "fullName": "google.shopping.merchant.products.v1beta.ProductsService", + "shortName": "ProductsService" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.GetProductRequest", - "name": "req" + "name": "req", + "type": "productspb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productspb.Product", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.products.v1beta.Client" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.shopping.merchant.products.v1beta.ProductsService.GetProduct", - "service": { - "shortName": "ProductsService", - "fullName": "google.shopping.merchant.products.v1beta.ProductsService" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct retrieves the processed product from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated final product can be retrieved.", + "file": "Client/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductsService_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetProduct Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductsService_ListProducts_sync", - "title": "merchantapi ListProducts Sample", - "description": "ListProducts lists the processed products in your Merchant Center account. The response\nmight contain fewer items than specified by `pageSize`. Rely on `pageToken`\nto determine if there are more items to be requested.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated processed product can be retrieved.", - "file": "Client/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.shopping.merchant.products.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.products.v1beta.Client.ListProducts", + "method": { + "fullName": "google.shopping.merchant.products.v1beta.ProductsService.ListProducts", + "service": { + "fullName": "google.shopping.merchant.products.v1beta.ProductsService", + "shortName": "ProductsService" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productspb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "productspb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.products.v1beta.Client" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.shopping.merchant.products.v1beta.ProductsService.ListProducts", - "service": { - "shortName": "ProductsService", - "fullName": "google.shopping.merchant.products.v1beta.ProductsService" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts lists the processed products in your Merchant Center account. The response\nmight contain fewer items than specified by `pageSize`. Rely on `pageToken`\nto determine if there are more items to be requested.\n\nAfter inserting, updating, or deleting a product input, it may take several\nminutes before the updated processed product can be retrieved.", + "file": "Client/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductsService_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListProducts Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/productstudio/apiv1alpha/snippet_metadata.google.shopping.merchant.productstudio.v1alpha.json b/internal/generated/snippets/shopping/merchant/productstudio/apiv1alpha/snippet_metadata.google.shopping.merchant.productstudio.v1alpha.json index c52016173004..0aec3cc50ead 100644 --- a/internal/generated/snippets/shopping/merchant/productstudio/apiv1alpha/snippet_metadata.google.shopping.merchant.productstudio.v1alpha.json +++ b/internal/generated/snippets/shopping/merchant/productstudio/apiv1alpha/snippet_metadata.google.shopping.merchant.productstudio.v1alpha.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/productstudio/apiv1alpha", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.productstudio.v1alpha", "version": "v1alpha" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/productstudio/apiv1alpha", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1alpha_generated_ImageService_GenerateProductImageBackground_sync", - "title": "merchantapi GenerateProductImageBackground Sample", - "description": "GenerateProductImageBackground generateProductImageBackground generates a new image where the background\nof the original image is replaced by an AI generated scene based on\nprovided product information and a text prompt.", - "file": "ImageClient/GenerateProductImageBackground/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateProductImageBackground", + "client": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient", + "shortName": "ImageClient" + }, "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient.GenerateProductImageBackground", + "method": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService.GenerateProductImageBackground", + "service": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService", + "shortName": "ImageService" + }, + "shortName": "GenerateProductImageBackground" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productstudiopb.GenerateProductImageBackgroundRequest", - "name": "req" + "name": "req", + "type": "productstudiopb.GenerateProductImageBackgroundRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productstudiopb.GenerateProductImageBackgroundResponse", - "client": { - "shortName": "ImageClient", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient" - }, - "method": { - "shortName": "GenerateProductImageBackground", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService.GenerateProductImageBackground", - "service": { - "shortName": "ImageService", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService" - } - } + "shortName": "GenerateProductImageBackground" }, + "description": "GenerateProductImageBackground generateProductImageBackground generates a new image where the background\nof the original image is replaced by an AI generated scene based on\nprovided product information and a text prompt.", + "file": "ImageClient/GenerateProductImageBackground/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1alpha_generated_ImageService_GenerateProductImageBackground_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GenerateProductImageBackground Sample" }, { - "regionTag": "merchantapi_v1alpha_generated_ImageService_RemoveProductImageBackground_sync", - "title": "merchantapi RemoveProductImageBackground Sample", - "description": "RemoveProductImageBackground removeProductImageBackground generates a new image where the background of\nthe original image is removed.", - "file": "ImageClient/RemoveProductImageBackground/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveProductImageBackground", + "client": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient", + "shortName": "ImageClient" + }, "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient.RemoveProductImageBackground", + "method": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService.RemoveProductImageBackground", + "service": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService", + "shortName": "ImageService" + }, + "shortName": "RemoveProductImageBackground" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productstudiopb.RemoveProductImageBackgroundRequest", - "name": "req" + "name": "req", + "type": "productstudiopb.RemoveProductImageBackgroundRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productstudiopb.RemoveProductImageBackgroundResponse", - "client": { - "shortName": "ImageClient", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient" - }, - "method": { - "shortName": "RemoveProductImageBackground", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService.RemoveProductImageBackground", - "service": { - "shortName": "ImageService", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService" - } - } + "shortName": "RemoveProductImageBackground" }, + "description": "RemoveProductImageBackground removeProductImageBackground generates a new image where the background of\nthe original image is removed.", + "file": "ImageClient/RemoveProductImageBackground/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1alpha_generated_ImageService_RemoveProductImageBackground_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi RemoveProductImageBackground Sample" }, { - "regionTag": "merchantapi_v1alpha_generated_ImageService_UpscaleProductImage_sync", - "title": "merchantapi UpscaleProductImage Sample", - "description": "UpscaleProductImage upscaleProductImage generates a new image where the resolution of the\noriginal image is enhanced.", - "file": "ImageClient/UpscaleProductImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpscaleProductImage", + "client": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient", + "shortName": "ImageClient" + }, "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient.UpscaleProductImage", + "method": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService.UpscaleProductImage", + "service": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService", + "shortName": "ImageService" + }, + "shortName": "UpscaleProductImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productstudiopb.UpscaleProductImageRequest", - "name": "req" + "name": "req", + "type": "productstudiopb.UpscaleProductImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productstudiopb.UpscaleProductImageResponse", - "client": { - "shortName": "ImageClient", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageClient" - }, - "method": { - "shortName": "UpscaleProductImage", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService.UpscaleProductImage", - "service": { - "shortName": "ImageService", - "fullName": "google.shopping.merchant.productstudio.v1alpha.ImageService" - } - } + "shortName": "UpscaleProductImage" }, + "description": "UpscaleProductImage upscaleProductImage generates a new image where the resolution of the\noriginal image is enhanced.", + "file": "ImageClient/UpscaleProductImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1alpha_generated_ImageService_UpscaleProductImage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi UpscaleProductImage Sample" }, { - "regionTag": "merchantapi_v1alpha_generated_TextSuggestionsService_GenerateProductTextSuggestions_sync", - "title": "merchantapi GenerateProductTextSuggestions Sample", - "description": "GenerateProductTextSuggestions generateProductTextSuggestions generates a set of candidate text\ncompletions (e.g., product titles, descriptions) based on provided product\ninformation. This endpoint leverages GenAI models to create suggestions for\nimproving existing product text or generating new content.", - "file": "TextSuggestionsClient/GenerateProductTextSuggestions/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateProductTextSuggestions", + "client": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsClient", + "shortName": "TextSuggestionsClient" + }, "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsClient.GenerateProductTextSuggestions", + "method": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService.GenerateProductTextSuggestions", + "service": { + "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService", + "shortName": "TextSuggestionsService" + }, + "shortName": "GenerateProductTextSuggestions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "productstudiopb.GenerateProductTextSuggestionsRequest", - "name": "req" + "name": "req", + "type": "productstudiopb.GenerateProductTextSuggestionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*productstudiopb.GenerateProductTextSuggestionsResponse", - "client": { - "shortName": "TextSuggestionsClient", - "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsClient" - }, - "method": { - "shortName": "GenerateProductTextSuggestions", - "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService.GenerateProductTextSuggestions", - "service": { - "shortName": "TextSuggestionsService", - "fullName": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService" - } - } + "shortName": "GenerateProductTextSuggestions" }, + "description": "GenerateProductTextSuggestions generateProductTextSuggestions generates a set of candidate text\ncompletions (e.g., product titles, descriptions) based on provided product\ninformation. This endpoint leverages GenAI models to create suggestions for\nimproving existing product text or generating new content.", + "file": "TextSuggestionsClient/GenerateProductTextSuggestions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1alpha_generated_TextSuggestionsService_GenerateProductTextSuggestions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GenerateProductTextSuggestions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/promotions/apiv1/snippet_metadata.google.shopping.merchant.promotions.v1.json b/internal/generated/snippets/shopping/merchant/promotions/apiv1/snippet_metadata.google.shopping.merchant.promotions.v1.json index bb743fa3deb0..c6740505e21f 100644 --- a/internal/generated/snippets/shopping/merchant/promotions/apiv1/snippet_metadata.google.shopping.merchant.promotions.v1.json +++ b/internal/generated/snippets/shopping/merchant/promotions/apiv1/snippet_metadata.google.shopping.merchant.promotions.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/promotions/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.promotions.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/promotions/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_PromotionsService_GetPromotion_sync", - "title": "merchantapi GetPromotion Sample", - "description": "GetPromotion retrieves the promotion from your Merchant Center account.\n\nAfter inserting or updating a promotion input, it may take several\nminutes before the updated promotion can be retrieved.", - "file": "Client/GetPromotion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPromotion", + "client": { + "fullName": "google.shopping.merchant.promotions.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.promotions.v1.Client.GetPromotion", + "method": { + "fullName": "google.shopping.merchant.promotions.v1.PromotionsService.GetPromotion", + "service": { + "fullName": "google.shopping.merchant.promotions.v1.PromotionsService", + "shortName": "PromotionsService" + }, + "shortName": "GetPromotion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "promotionspb.GetPromotionRequest", - "name": "req" + "name": "req", + "type": "promotionspb.GetPromotionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*promotionspb.Promotion", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.promotions.v1.Client" - }, - "method": { - "shortName": "GetPromotion", - "fullName": "google.shopping.merchant.promotions.v1.PromotionsService.GetPromotion", - "service": { - "shortName": "PromotionsService", - "fullName": "google.shopping.merchant.promotions.v1.PromotionsService" - } - } + "shortName": "GetPromotion" }, + "description": "GetPromotion retrieves the promotion from your Merchant Center account.\n\nAfter inserting or updating a promotion input, it may take several\nminutes before the updated promotion can be retrieved.", + "file": "Client/GetPromotion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_PromotionsService_GetPromotion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetPromotion Sample" }, { - "regionTag": "merchantapi_v1_generated_PromotionsService_InsertPromotion_sync", - "title": "merchantapi InsertPromotion Sample", - "description": "InsertPromotion inserts a promotion for your Merchant Center account. If the promotion\nalready exists, then it updates the promotion instead.", - "file": "Client/InsertPromotion/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertPromotion", + "client": { + "fullName": "google.shopping.merchant.promotions.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.promotions.v1.Client.InsertPromotion", + "method": { + "fullName": "google.shopping.merchant.promotions.v1.PromotionsService.InsertPromotion", + "service": { + "fullName": "google.shopping.merchant.promotions.v1.PromotionsService", + "shortName": "PromotionsService" + }, + "shortName": "InsertPromotion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "promotionspb.InsertPromotionRequest", - "name": "req" + "name": "req", + "type": "promotionspb.InsertPromotionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*promotionspb.Promotion", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.promotions.v1.Client" - }, - "method": { - "shortName": "InsertPromotion", - "fullName": "google.shopping.merchant.promotions.v1.PromotionsService.InsertPromotion", - "service": { - "shortName": "PromotionsService", - "fullName": "google.shopping.merchant.promotions.v1.PromotionsService" - } - } + "shortName": "InsertPromotion" }, + "description": "InsertPromotion inserts a promotion for your Merchant Center account. If the promotion\nalready exists, then it updates the promotion instead.", + "file": "Client/InsertPromotion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_PromotionsService_InsertPromotion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertPromotion Sample" }, { - "regionTag": "merchantapi_v1_generated_PromotionsService_ListPromotions_sync", - "title": "merchantapi ListPromotions Sample", - "description": "ListPromotions lists the promotions in your Merchant Center account. The\nresponse might contain fewer items than specified by `pageSize`. Rely on\n`pageToken` to determine if there are more items to be requested.\n\nAfter inserting or updating a promotion, it may take several minutes before\nthe updated processed promotion can be retrieved.", - "file": "Client/ListPromotions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPromotions", + "client": { + "fullName": "google.shopping.merchant.promotions.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.promotions.v1.Client.ListPromotions", + "method": { + "fullName": "google.shopping.merchant.promotions.v1.PromotionsService.ListPromotions", + "service": { + "fullName": "google.shopping.merchant.promotions.v1.PromotionsService", + "shortName": "PromotionsService" + }, + "shortName": "ListPromotions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "promotionspb.ListPromotionsRequest", - "name": "req" + "name": "req", + "type": "promotionspb.ListPromotionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromotionIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.promotions.v1.Client" - }, - "method": { - "shortName": "ListPromotions", - "fullName": "google.shopping.merchant.promotions.v1.PromotionsService.ListPromotions", - "service": { - "shortName": "PromotionsService", - "fullName": "google.shopping.merchant.promotions.v1.PromotionsService" - } - } + "shortName": "ListPromotions" }, + "description": "ListPromotions lists the promotions in your Merchant Center account. The\nresponse might contain fewer items than specified by `pageSize`. Rely on\n`pageToken` to determine if there are more items to be requested.\n\nAfter inserting or updating a promotion, it may take several minutes before\nthe updated processed promotion can be retrieved.", + "file": "Client/ListPromotions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_PromotionsService_ListPromotions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListPromotions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json b/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json index 7297904977e8..39998f84b771 100644 --- a/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/promotions/apiv1beta/snippet_metadata.google.shopping.merchant.promotions.v1beta.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/promotions/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.promotions.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/promotions/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_PromotionsService_GetPromotion_sync", - "title": "merchantapi GetPromotion Sample", - "description": "GetPromotion retrieves the promotion from your Merchant Center account.\n\nAfter inserting or updating a promotion input, it may take several\nminutes before the updated promotion can be retrieved.", - "file": "Client/GetPromotion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPromotion", + "client": { + "fullName": "google.shopping.merchant.promotions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.promotions.v1beta.Client.GetPromotion", + "method": { + "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService.GetPromotion", + "service": { + "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService", + "shortName": "PromotionsService" + }, + "shortName": "GetPromotion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "promotionspb.GetPromotionRequest", - "name": "req" + "name": "req", + "type": "promotionspb.GetPromotionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*promotionspb.Promotion", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.promotions.v1beta.Client" - }, - "method": { - "shortName": "GetPromotion", - "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService.GetPromotion", - "service": { - "shortName": "PromotionsService", - "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService" - } - } + "shortName": "GetPromotion" }, + "description": "GetPromotion retrieves the promotion from your Merchant Center account.\n\nAfter inserting or updating a promotion input, it may take several\nminutes before the updated promotion can be retrieved.", + "file": "Client/GetPromotion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_PromotionsService_GetPromotion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetPromotion Sample" }, { - "regionTag": "merchantapi_v1beta_generated_PromotionsService_InsertPromotion_sync", - "title": "merchantapi InsertPromotion Sample", - "description": "InsertPromotion inserts a promotion for your Merchant Center account. If the promotion\nalready exists, then it updates the promotion instead.", - "file": "Client/InsertPromotion/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertPromotion", + "client": { + "fullName": "google.shopping.merchant.promotions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.promotions.v1beta.Client.InsertPromotion", + "method": { + "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService.InsertPromotion", + "service": { + "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService", + "shortName": "PromotionsService" + }, + "shortName": "InsertPromotion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "promotionspb.InsertPromotionRequest", - "name": "req" + "name": "req", + "type": "promotionspb.InsertPromotionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*promotionspb.Promotion", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.promotions.v1beta.Client" - }, - "method": { - "shortName": "InsertPromotion", - "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService.InsertPromotion", - "service": { - "shortName": "PromotionsService", - "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService" - } - } + "shortName": "InsertPromotion" }, + "description": "InsertPromotion inserts a promotion for your Merchant Center account. If the promotion\nalready exists, then it updates the promotion instead.", + "file": "Client/InsertPromotion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_PromotionsService_InsertPromotion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertPromotion Sample" }, { - "regionTag": "merchantapi_v1beta_generated_PromotionsService_ListPromotions_sync", - "title": "merchantapi ListPromotions Sample", - "description": "ListPromotions lists the promotions in your Merchant Center account. The\nresponse might contain fewer items than specified by `pageSize`. Rely on\n`pageToken` to determine if there are more items to be requested.\n\nAfter inserting or updating a promotion, it may take several minutes before\nthe updated processed promotion can be retrieved.", - "file": "Client/ListPromotions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPromotions", + "client": { + "fullName": "google.shopping.merchant.promotions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.promotions.v1beta.Client.ListPromotions", + "method": { + "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService.ListPromotions", + "service": { + "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService", + "shortName": "PromotionsService" + }, + "shortName": "ListPromotions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "promotionspb.ListPromotionsRequest", - "name": "req" + "name": "req", + "type": "promotionspb.ListPromotionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PromotionIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.promotions.v1beta.Client" - }, - "method": { - "shortName": "ListPromotions", - "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService.ListPromotions", - "service": { - "shortName": "PromotionsService", - "fullName": "google.shopping.merchant.promotions.v1beta.PromotionsService" - } - } + "shortName": "ListPromotions" }, + "description": "ListPromotions lists the promotions in your Merchant Center account. The\nresponse might contain fewer items than specified by `pageSize`. Rely on\n`pageToken` to determine if there are more items to be requested.\n\nAfter inserting or updating a promotion, it may take several minutes before\nthe updated processed promotion can be retrieved.", + "file": "Client/ListPromotions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_PromotionsService_ListPromotions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListPromotions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/quota/apiv1/snippet_metadata.google.shopping.merchant.quota.v1.json b/internal/generated/snippets/shopping/merchant/quota/apiv1/snippet_metadata.google.shopping.merchant.quota.v1.json index 8bba764faa1b..2cf5ea79dc58 100644 --- a/internal/generated/snippets/shopping/merchant/quota/apiv1/snippet_metadata.google.shopping.merchant.quota.v1.json +++ b/internal/generated/snippets/shopping/merchant/quota/apiv1/snippet_metadata.google.shopping.merchant.quota.v1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/quota/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.quota.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/quota/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_AccountLimitsService_GetAccountLimit_sync", - "title": "merchantapi GetAccountLimit Sample", - "description": "GetAccountLimit retrieves an account limit.", - "file": "AccountLimitsClient/GetAccountLimit/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAccountLimit", + "client": { + "fullName": "google.shopping.merchant.quota.v1.AccountLimitsClient", + "shortName": "AccountLimitsClient" + }, "fullName": "google.shopping.merchant.quota.v1.AccountLimitsClient.GetAccountLimit", + "method": { + "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService.GetAccountLimit", + "service": { + "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService", + "shortName": "AccountLimitsService" + }, + "shortName": "GetAccountLimit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "quotapb.GetAccountLimitRequest", - "name": "req" + "name": "req", + "type": "quotapb.GetAccountLimitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*quotapb.AccountLimit", - "client": { - "shortName": "AccountLimitsClient", - "fullName": "google.shopping.merchant.quota.v1.AccountLimitsClient" - }, - "method": { - "shortName": "GetAccountLimit", - "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService.GetAccountLimit", - "service": { - "shortName": "AccountLimitsService", - "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService" - } - } + "shortName": "GetAccountLimit" }, + "description": "GetAccountLimit retrieves an account limit.", + "file": "AccountLimitsClient/GetAccountLimit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountLimitsService_GetAccountLimit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetAccountLimit Sample" }, { - "regionTag": "merchantapi_v1_generated_AccountLimitsService_ListAccountLimits_sync", - "title": "merchantapi ListAccountLimits Sample", - "description": "ListAccountLimits lists the limits of an account.", - "file": "AccountLimitsClient/ListAccountLimits/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAccountLimits", + "client": { + "fullName": "google.shopping.merchant.quota.v1.AccountLimitsClient", + "shortName": "AccountLimitsClient" + }, "fullName": "google.shopping.merchant.quota.v1.AccountLimitsClient.ListAccountLimits", + "method": { + "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService.ListAccountLimits", + "service": { + "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService", + "shortName": "AccountLimitsService" + }, + "shortName": "ListAccountLimits" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "quotapb.ListAccountLimitsRequest", - "name": "req" + "name": "req", + "type": "quotapb.ListAccountLimitsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AccountLimitIterator", - "client": { - "shortName": "AccountLimitsClient", - "fullName": "google.shopping.merchant.quota.v1.AccountLimitsClient" - }, - "method": { - "shortName": "ListAccountLimits", - "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService.ListAccountLimits", - "service": { - "shortName": "AccountLimitsService", - "fullName": "google.shopping.merchant.quota.v1.AccountLimitsService" - } - } + "shortName": "ListAccountLimits" }, + "description": "ListAccountLimits lists the limits of an account.", + "file": "AccountLimitsClient/ListAccountLimits/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_AccountLimitsService_ListAccountLimits_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListAccountLimits Sample" }, { - "regionTag": "merchantapi_v1_generated_QuotaService_ListQuotaGroups_sync", - "title": "merchantapi ListQuotaGroups Sample", - "description": "ListQuotaGroups lists the daily call quota and usage per group for your Merchant\nCenter account.", - "file": "Client/ListQuotaGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaGroups", + "client": { + "fullName": "google.shopping.merchant.quota.v1.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.quota.v1.Client.ListQuotaGroups", + "method": { + "fullName": "google.shopping.merchant.quota.v1.QuotaService.ListQuotaGroups", + "service": { + "fullName": "google.shopping.merchant.quota.v1.QuotaService", + "shortName": "QuotaService" + }, + "shortName": "ListQuotaGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "quotapb.ListQuotaGroupsRequest", - "name": "req" + "name": "req", + "type": "quotapb.ListQuotaGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.quota.v1.Client" - }, - "method": { - "shortName": "ListQuotaGroups", - "fullName": "google.shopping.merchant.quota.v1.QuotaService.ListQuotaGroups", - "service": { - "shortName": "QuotaService", - "fullName": "google.shopping.merchant.quota.v1.QuotaService" - } - } + "shortName": "ListQuotaGroups" }, + "description": "ListQuotaGroups lists the daily call quota and usage per group for your Merchant\nCenter account.", + "file": "Client/ListQuotaGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_QuotaService_ListQuotaGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListQuotaGroups Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json b/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json index 9ec16d7bfc31..711e891f77a5 100644 --- a/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/quota/apiv1beta/snippet_metadata.google.shopping.merchant.quota.v1beta.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/quota/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.quota.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/quota/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_QuotaService_ListQuotaGroups_sync", - "title": "merchantapi ListQuotaGroups Sample", - "description": "ListQuotaGroups lists the daily call quota and usage per group for your Merchant\nCenter account.", - "file": "Client/ListQuotaGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListQuotaGroups", + "client": { + "fullName": "google.shopping.merchant.quota.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.shopping.merchant.quota.v1beta.Client.ListQuotaGroups", + "method": { + "fullName": "google.shopping.merchant.quota.v1beta.QuotaService.ListQuotaGroups", + "service": { + "fullName": "google.shopping.merchant.quota.v1beta.QuotaService", + "shortName": "QuotaService" + }, + "shortName": "ListQuotaGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "quotapb.ListQuotaGroupsRequest", - "name": "req" + "name": "req", + "type": "quotapb.ListQuotaGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "QuotaGroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.shopping.merchant.quota.v1beta.Client" - }, - "method": { - "shortName": "ListQuotaGroups", - "fullName": "google.shopping.merchant.quota.v1beta.QuotaService.ListQuotaGroups", - "service": { - "shortName": "QuotaService", - "fullName": "google.shopping.merchant.quota.v1beta.QuotaService" - } - } + "shortName": "ListQuotaGroups" }, + "description": "ListQuotaGroups lists the daily call quota and usage per group for your Merchant\nCenter account.", + "file": "Client/ListQuotaGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_QuotaService_ListQuotaGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListQuotaGroups Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/reports/apiv1/snippet_metadata.google.shopping.merchant.reports.v1.json b/internal/generated/snippets/shopping/merchant/reports/apiv1/snippet_metadata.google.shopping.merchant.reports.v1.json index 0400068c7e8a..d26da95beae0 100644 --- a/internal/generated/snippets/shopping/merchant/reports/apiv1/snippet_metadata.google.shopping.merchant.reports.v1.json +++ b/internal/generated/snippets/shopping/merchant/reports/apiv1/snippet_metadata.google.shopping.merchant.reports.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/reports/apiv1", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.reports.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/reports/apiv1", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1_generated_ReportService_Search_sync", - "title": "merchantapi Search Sample", - "description": "Search retrieves a report defined by a search query. The response might contain\nfewer rows than specified by `page_size`. Rely on `next_page_token` to\ndetermine if there are more rows to be requested.", - "file": "ReportClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.shopping.merchant.reports.v1.ReportClient", + "shortName": "ReportClient" + }, "fullName": "google.shopping.merchant.reports.v1.ReportClient.Search", + "method": { + "fullName": "google.shopping.merchant.reports.v1.ReportService.Search", + "service": { + "fullName": "google.shopping.merchant.reports.v1.ReportService", + "shortName": "ReportService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reportspb.SearchRequest", - "name": "req" + "name": "req", + "type": "reportspb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportRowIterator", - "client": { - "shortName": "ReportClient", - "fullName": "google.shopping.merchant.reports.v1.ReportClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.shopping.merchant.reports.v1.ReportService.Search", - "service": { - "shortName": "ReportService", - "fullName": "google.shopping.merchant.reports.v1.ReportService" - } - } + "shortName": "Search" }, + "description": "Search retrieves a report defined by a search query. The response might contain\nfewer rows than specified by `page_size`. Rely on `next_page_token` to\ndetermine if there are more rows to be requested.", + "file": "ReportClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1_generated_ReportService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi Search Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json b/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json index da6b7ff25713..e8c433c825ef 100644 --- a/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/reports/apiv1beta/snippet_metadata.google.shopping.merchant.reports.v1beta.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/reports/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.reports.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/reports/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_ReportService_Search_sync", - "title": "merchantapi Search Sample", - "description": "Search retrieves a report defined by a search query. The response might contain\nfewer rows than specified by `page_size`. Rely on `next_page_token` to\ndetermine if there are more rows to be requested.", - "file": "ReportClient/Search/main.go", - "language": "GO", "clientMethod": { - "shortName": "Search", + "client": { + "fullName": "google.shopping.merchant.reports.v1beta.ReportClient", + "shortName": "ReportClient" + }, "fullName": "google.shopping.merchant.reports.v1beta.ReportClient.Search", + "method": { + "fullName": "google.shopping.merchant.reports.v1beta.ReportService.Search", + "service": { + "fullName": "google.shopping.merchant.reports.v1beta.ReportService", + "shortName": "ReportService" + }, + "shortName": "Search" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reportspb.SearchRequest", - "name": "req" + "name": "req", + "type": "reportspb.SearchRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportRowIterator", - "client": { - "shortName": "ReportClient", - "fullName": "google.shopping.merchant.reports.v1beta.ReportClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.shopping.merchant.reports.v1beta.ReportService.Search", - "service": { - "shortName": "ReportService", - "fullName": "google.shopping.merchant.reports.v1beta.ReportService" - } - } + "shortName": "Search" }, + "description": "Search retrieves a report defined by a search query. The response might contain\nfewer rows than specified by `page_size`. Rely on `next_page_token` to\ndetermine if there are more rows to be requested.", + "file": "ReportClient/Search/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ReportService_Search_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi Search Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/shopping/merchant/reviews/apiv1beta/snippet_metadata.google.shopping.merchant.reviews.v1beta.json b/internal/generated/snippets/shopping/merchant/reviews/apiv1beta/snippet_metadata.google.shopping.merchant.reviews.v1beta.json index b267f06e2301..3fb2caed2a24 100644 --- a/internal/generated/snippets/shopping/merchant/reviews/apiv1beta/snippet_metadata.google.shopping.merchant.reviews.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/reviews/apiv1beta/snippet_metadata.google.shopping.merchant.reviews.v1beta.json @@ -1,381 +1,381 @@ { "clientLibrary": { - "name": "cloud.google.com/go/shopping/merchant/reviews/apiv1beta", - "version": "1.6.0", - "language": "GO", "apis": [ { "id": "google.shopping.merchant.reviews.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/shopping/merchant/reviews/apiv1beta", + "version": "1.6.0" }, "snippets": [ { - "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync", - "title": "merchantapi DeleteMerchantReview Sample", - "description": "DeleteMerchantReview deletes merchant review.", - "file": "MerchantReviewsClient/DeleteMerchantReview/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMerchantReview", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient", + "shortName": "MerchantReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.DeleteMerchantReview", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService", + "shortName": "MerchantReviewsService" + }, + "shortName": "DeleteMerchantReview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.DeleteMerchantReviewRequest", - "name": "req" + "name": "req", + "type": "reviewspb.DeleteMerchantReviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "MerchantReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient" - }, - "method": { - "shortName": "DeleteMerchantReview", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview", - "service": { - "shortName": "MerchantReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService" - } - } + "shortName": "DeleteMerchantReview" }, + "description": "DeleteMerchantReview deletes merchant review.", + "file": "MerchantReviewsClient/DeleteMerchantReview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteMerchantReview Sample" }, { - "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync", - "title": "merchantapi GetMerchantReview Sample", - "description": "GetMerchantReview gets a merchant review.", - "file": "MerchantReviewsClient/GetMerchantReview/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMerchantReview", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient", + "shortName": "MerchantReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.GetMerchantReview", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService", + "shortName": "MerchantReviewsService" + }, + "shortName": "GetMerchantReview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.GetMerchantReviewRequest", - "name": "req" + "name": "req", + "type": "reviewspb.GetMerchantReviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reviewspb.MerchantReview", - "client": { - "shortName": "MerchantReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient" - }, - "method": { - "shortName": "GetMerchantReview", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview", - "service": { - "shortName": "MerchantReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService" - } - } + "shortName": "GetMerchantReview" }, + "description": "GetMerchantReview gets a merchant review.", + "file": "MerchantReviewsClient/GetMerchantReview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetMerchantReview Sample" }, { - "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_sync", - "title": "merchantapi InsertMerchantReview Sample", - "description": "InsertMerchantReview inserts a review for your Merchant Center account. If the review\nalready exists, then the review is replaced with the new instance.", - "file": "MerchantReviewsClient/InsertMerchantReview/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertMerchantReview", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient", + "shortName": "MerchantReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.InsertMerchantReview", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.InsertMerchantReview", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService", + "shortName": "MerchantReviewsService" + }, + "shortName": "InsertMerchantReview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.InsertMerchantReviewRequest", - "name": "req" + "name": "req", + "type": "reviewspb.InsertMerchantReviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reviewspb.MerchantReview", - "client": { - "shortName": "MerchantReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient" - }, - "method": { - "shortName": "InsertMerchantReview", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.InsertMerchantReview", - "service": { - "shortName": "MerchantReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService" - } - } + "shortName": "InsertMerchantReview" }, + "description": "InsertMerchantReview inserts a review for your Merchant Center account. If the review\nalready exists, then the review is replaced with the new instance.", + "file": "MerchantReviewsClient/InsertMerchantReview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertMerchantReview Sample" }, { - "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync", - "title": "merchantapi ListMerchantReviews Sample", - "description": "ListMerchantReviews lists merchant reviews.", - "file": "MerchantReviewsClient/ListMerchantReviews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMerchantReviews", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient", + "shortName": "MerchantReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.ListMerchantReviews", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService", + "shortName": "MerchantReviewsService" + }, + "shortName": "ListMerchantReviews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.ListMerchantReviewsRequest", - "name": "req" + "name": "req", + "type": "reviewspb.ListMerchantReviewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MerchantReviewIterator", - "client": { - "shortName": "MerchantReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient" - }, - "method": { - "shortName": "ListMerchantReviews", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews", - "service": { - "shortName": "MerchantReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService" - } - } + "shortName": "ListMerchantReviews" }, + "description": "ListMerchantReviews lists merchant reviews.", + "file": "MerchantReviewsClient/ListMerchantReviews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListMerchantReviews Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync", - "title": "merchantapi DeleteProductReview Sample", - "description": "DeleteProductReview deletes a product review.", - "file": "ProductReviewsClient/DeleteProductReview/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProductReview", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient", + "shortName": "ProductReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.DeleteProductReview", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService", + "shortName": "ProductReviewsService" + }, + "shortName": "DeleteProductReview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.DeleteProductReviewRequest", - "name": "req" + "name": "req", + "type": "reviewspb.DeleteProductReviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient" - }, - "method": { - "shortName": "DeleteProductReview", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview", - "service": { - "shortName": "ProductReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService" - } - } + "shortName": "DeleteProductReview" }, + "description": "DeleteProductReview deletes a product review.", + "file": "ProductReviewsClient/DeleteProductReview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi DeleteProductReview Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync", - "title": "merchantapi GetProductReview Sample", - "description": "GetProductReview gets a product review.", - "file": "ProductReviewsClient/GetProductReview/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProductReview", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient", + "shortName": "ProductReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.GetProductReview", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService", + "shortName": "ProductReviewsService" + }, + "shortName": "GetProductReview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.GetProductReviewRequest", - "name": "req" + "name": "req", + "type": "reviewspb.GetProductReviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reviewspb.ProductReview", - "client": { - "shortName": "ProductReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient" - }, - "method": { - "shortName": "GetProductReview", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview", - "service": { - "shortName": "ProductReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService" - } - } + "shortName": "GetProductReview" }, + "description": "GetProductReview gets a product review.", + "file": "ProductReviewsClient/GetProductReview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi GetProductReview Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_sync", - "title": "merchantapi InsertProductReview Sample", - "description": "InsertProductReview inserts a product review.", - "file": "ProductReviewsClient/InsertProductReview/main.go", - "language": "GO", "clientMethod": { - "shortName": "InsertProductReview", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient", + "shortName": "ProductReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.InsertProductReview", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.InsertProductReview", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService", + "shortName": "ProductReviewsService" + }, + "shortName": "InsertProductReview" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.InsertProductReviewRequest", - "name": "req" + "name": "req", + "type": "reviewspb.InsertProductReviewRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*reviewspb.ProductReview", - "client": { - "shortName": "ProductReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient" - }, - "method": { - "shortName": "InsertProductReview", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.InsertProductReview", - "service": { - "shortName": "ProductReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService" - } - } + "shortName": "InsertProductReview" }, + "description": "InsertProductReview inserts a product review.", + "file": "ProductReviewsClient/InsertProductReview/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi InsertProductReview Sample" }, { - "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync", - "title": "merchantapi ListProductReviews Sample", - "description": "ListProductReviews lists product reviews.", - "file": "ProductReviewsClient/ListProductReviews/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProductReviews", + "client": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient", + "shortName": "ProductReviewsClient" + }, "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.ListProductReviews", + "method": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews", + "service": { + "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService", + "shortName": "ProductReviewsService" + }, + "shortName": "ListProductReviews" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "reviewspb.ListProductReviewsRequest", - "name": "req" + "name": "req", + "type": "reviewspb.ListProductReviewsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductReviewIterator", - "client": { - "shortName": "ProductReviewsClient", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient" - }, - "method": { - "shortName": "ListProductReviews", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews", - "service": { - "shortName": "ProductReviewsService", - "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService" - } - } + "shortName": "ListProductReviews" }, + "description": "ListProductReviews lists product reviews.", + "file": "ProductReviewsClient/ListProductReviews/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "merchantapi ListProductReviews Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/spanner/adapter/apiv1/snippet_metadata.google.spanner.adapter.v1.json b/internal/generated/snippets/spanner/adapter/apiv1/snippet_metadata.google.spanner.adapter.v1.json index 05ce426afede..c8a3736b4edc 100644 --- a/internal/generated/snippets/spanner/adapter/apiv1/snippet_metadata.google.spanner.adapter.v1.json +++ b/internal/generated/snippets/spanner/adapter/apiv1/snippet_metadata.google.spanner.adapter.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/spanner/adapter/apiv1", - "version": "1.88.0", - "language": "GO", "apis": [ { "id": "google.spanner.adapter.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/spanner/adapter/apiv1", + "version": "1.88.0" }, "snippets": [ { - "regionTag": "spanner_v1_generated_Adapter_CreateSession_sync", - "title": "spanner CreateSession Sample", - "description": "CreateSession creates a new session to be used for requests made by the adapter.\nA session identifies a specific incarnation of a database resource and is\nmeant to be reused across many `AdaptMessage` calls.", - "file": "Client/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.spanner.adapter.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.adapter.v1.Client.CreateSession", + "method": { + "fullName": "google.spanner.adapter.v1.Adapter.CreateSession", + "service": { + "fullName": "google.spanner.adapter.v1.Adapter", + "shortName": "Adapter" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "adapterpb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "adapterpb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*adapterpb.Session", - "client": { - "shortName": "Client", - "fullName": "google.spanner.adapter.v1.Client" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.spanner.adapter.v1.Adapter.CreateSession", - "service": { - "shortName": "Adapter", - "fullName": "google.spanner.adapter.v1.Adapter" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a new session to be used for requests made by the adapter.\nA session identifies a specific incarnation of a database resource and is\nmeant to be reused across many `AdaptMessage` calls.", + "file": "Client/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Adapter_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateSession Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json b/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json index 6b1bf159b5d8..300150c2de32 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json +++ b/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json @@ -1,1436 +1,1436 @@ { "clientLibrary": { - "name": "cloud.google.com/go/spanner/admin/database/apiv1", - "version": "1.88.0", - "language": "GO", "apis": [ { "id": "google.spanner.admin.database.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/spanner/admin/database/apiv1", + "version": "1.88.0" }, "snippets": [ { - "regionTag": "spanner_v1_generated_DatabaseAdmin_AddSplitPoints_sync", - "title": "spanner AddSplitPoints Sample", - "description": "AddSplitPoints adds split points to specified tables, indexes of a database.", - "file": "DatabaseAdminClient/AddSplitPoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddSplitPoints", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.AddSplitPoints", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.AddSplitPoints", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "AddSplitPoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.AddSplitPointsRequest", - "name": "req" + "name": "req", + "type": "databasepb.AddSplitPointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.AddSplitPointsResponse", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "AddSplitPoints", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.AddSplitPoints", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "AddSplitPoints" }, + "description": "AddSplitPoints adds split points to specified tables, indexes of a database.", + "file": "DatabaseAdminClient/AddSplitPoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_AddSplitPoints_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner AddSplitPoints Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_CancelOperation_sync", - "title": "spanner CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DatabaseAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DatabaseAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CancelOperation Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_CopyBackup_sync", - "title": "spanner CopyBackup Sample", - "description": "CopyBackup starts copying a Cloud Spanner Backup.\nThe returned backup [long-running operation][google.longrunning.Operation]\nwill have a name of the format\n`projects//instances//backups//operations/`\nand can be used to track copying of the backup. The operation is associated\nwith the destination backup.\nThe [metadata][google.longrunning.Operation.metadata] field type is\n[CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Backup][google.spanner.admin.database.v1.Backup], if successful.\nCancelling the returned operation will stop the copying and delete the\ndestination backup. Concurrent CopyBackup requests can run on the same\nsource backup.", - "file": "DatabaseAdminClient/CopyBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CopyBackup", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.CopyBackup", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "CopyBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.CopyBackupRequest", - "name": "req" + "name": "req", + "type": "databasepb.CopyBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CopyBackupOperation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "CopyBackup", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "CopyBackup" }, + "description": "CopyBackup starts copying a Cloud Spanner Backup.\nThe returned backup [long-running operation][google.longrunning.Operation]\nwill have a name of the format\n`projects//instances//backups//operations/`\nand can be used to track copying of the backup. The operation is associated\nwith the destination backup.\nThe [metadata][google.longrunning.Operation.metadata] field type is\n[CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Backup][google.spanner.admin.database.v1.Backup], if successful.\nCancelling the returned operation will stop the copying and delete the\ndestination backup. Concurrent CopyBackup requests can run on the same\nsource backup.", + "file": "DatabaseAdminClient/CopyBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_CopyBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CopyBackup Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_CreateBackup_sync", - "title": "spanner CreateBackup Sample", - "description": "CreateBackup starts creating a new Cloud Spanner Backup.\nThe returned backup [long-running operation][google.longrunning.Operation]\nwill have a name of the format\n`projects//instances//backups//operations/`\nand can be used to track creation of the backup. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Backup][google.spanner.admin.database.v1.Backup], if successful.\nCancelling the returned operation will stop the creation and delete the\nbackup. There can be only one pending backup creation per database. Backup\ncreation of different databases can run concurrently.", - "file": "DatabaseAdminClient/CreateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackup", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.CreateBackup", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "CreateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.CreateBackupRequest", - "name": "req" + "name": "req", + "type": "databasepb.CreateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateBackupOperation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "CreateBackup", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "CreateBackup" }, + "description": "CreateBackup starts creating a new Cloud Spanner Backup.\nThe returned backup [long-running operation][google.longrunning.Operation]\nwill have a name of the format\n`projects//instances//backups//operations/`\nand can be used to track creation of the backup. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Backup][google.spanner.admin.database.v1.Backup], if successful.\nCancelling the returned operation will stop the creation and delete the\nbackup. There can be only one pending backup creation per database. Backup\ncreation of different databases can run concurrently.", + "file": "DatabaseAdminClient/CreateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_CreateBackup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateBackup Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_CreateBackupSchedule_sync", - "title": "spanner CreateBackupSchedule Sample", - "description": "CreateBackupSchedule creates a new backup schedule.", - "file": "DatabaseAdminClient/CreateBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBackupSchedule", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.CreateBackupSchedule", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateBackupSchedule", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "CreateBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.CreateBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "databasepb.CreateBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.BackupSchedule", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "CreateBackupSchedule", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateBackupSchedule", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "CreateBackupSchedule" }, + "description": "CreateBackupSchedule creates a new backup schedule.", + "file": "DatabaseAdminClient/CreateBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_CreateBackupSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateBackupSchedule Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_CreateDatabase_sync", - "title": "spanner CreateDatabase Sample", - "description": "CreateDatabase creates a new Cloud Spanner database and starts to prepare it for serving.\nThe returned [long-running operation][google.longrunning.Operation] will\nhave a name of the format `/operations/` and\ncan be used to track preparation of the database. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Database][google.spanner.admin.database.v1.Database], if successful.", - "file": "DatabaseAdminClient/CreateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatabase", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.CreateDatabase", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "CreateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.CreateDatabaseRequest", - "name": "req" + "name": "req", + "type": "databasepb.CreateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatabaseOperation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "CreateDatabase", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "CreateDatabase" }, + "description": "CreateDatabase creates a new Cloud Spanner database and starts to prepare it for serving.\nThe returned [long-running operation][google.longrunning.Operation] will\nhave a name of the format `/operations/` and\ncan be used to track preparation of the database. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[CreateDatabaseMetadata][google.spanner.admin.database.v1.CreateDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Database][google.spanner.admin.database.v1.Database], if successful.", + "file": "DatabaseAdminClient/CreateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_CreateDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateDatabase Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_DeleteBackup_sync", - "title": "spanner DeleteBackup Sample", - "description": "DeleteBackup deletes a pending or completed\n[Backup][google.spanner.admin.database.v1.Backup].", - "file": "DatabaseAdminClient/DeleteBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackup", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.DeleteBackup", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "DeleteBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.DeleteBackupRequest", - "name": "req" + "name": "req", + "type": "databasepb.DeleteBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "DeleteBackup", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "DeleteBackup" }, + "description": "DeleteBackup deletes a pending or completed\n[Backup][google.spanner.admin.database.v1.Backup].", + "file": "DatabaseAdminClient/DeleteBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_DeleteBackup_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteBackup Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_DeleteBackupSchedule_sync", - "title": "spanner DeleteBackupSchedule Sample", - "description": "DeleteBackupSchedule deletes a backup schedule.", - "file": "DatabaseAdminClient/DeleteBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBackupSchedule", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.DeleteBackupSchedule", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackupSchedule", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "DeleteBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.DeleteBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "databasepb.DeleteBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "DeleteBackupSchedule", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackupSchedule", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "DeleteBackupSchedule" }, + "description": "DeleteBackupSchedule deletes a backup schedule.", + "file": "DatabaseAdminClient/DeleteBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_DeleteBackupSchedule_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteBackupSchedule Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_DeleteOperation_sync", - "title": "spanner DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DatabaseAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DatabaseAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteOperation Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_DropDatabase_sync", - "title": "spanner DropDatabase Sample", - "description": "DropDatabase drops (aka deletes) a Cloud Spanner database.\nCompleted backups for the database will be retained according to their\n`expire_time`.\nNote: Cloud Spanner might continue to accept requests for a few seconds\nafter the database has been deleted.", - "file": "DatabaseAdminClient/DropDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "DropDatabase", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.DropDatabase", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "DropDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.DropDatabaseRequest", - "name": "req" + "name": "req", + "type": "databasepb.DropDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "DropDatabase", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "DropDatabase" }, + "description": "DropDatabase drops (aka deletes) a Cloud Spanner database.\nCompleted backups for the database will be retained according to their\n`expire_time`.\nNote: Cloud Spanner might continue to accept requests for a few seconds\nafter the database has been deleted.", + "file": "DatabaseAdminClient/DropDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_DropDatabase_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DropDatabase Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_GetBackup_sync", - "title": "spanner GetBackup Sample", - "description": "GetBackup gets metadata on a pending or completed\n[Backup][google.spanner.admin.database.v1.Backup].", - "file": "DatabaseAdminClient/GetBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackup", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.GetBackup", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetBackup", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "GetBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.GetBackupRequest", - "name": "req" + "name": "req", + "type": "databasepb.GetBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.Backup", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "GetBackup", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetBackup", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "GetBackup" }, + "description": "GetBackup gets metadata on a pending or completed\n[Backup][google.spanner.admin.database.v1.Backup].", + "file": "DatabaseAdminClient/GetBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_GetBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetBackup Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_GetBackupSchedule_sync", - "title": "spanner GetBackupSchedule Sample", - "description": "GetBackupSchedule gets backup schedule for the input schedule name.", - "file": "DatabaseAdminClient/GetBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBackupSchedule", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.GetBackupSchedule", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetBackupSchedule", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "GetBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.GetBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "databasepb.GetBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.BackupSchedule", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "GetBackupSchedule", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetBackupSchedule", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "GetBackupSchedule" }, + "description": "GetBackupSchedule gets backup schedule for the input schedule name.", + "file": "DatabaseAdminClient/GetBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_GetBackupSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetBackupSchedule Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_GetDatabase_sync", - "title": "spanner GetDatabase Sample", - "description": "GetDatabase gets the state of a Cloud Spanner database.", - "file": "DatabaseAdminClient/GetDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatabase", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.GetDatabase", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "GetDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.GetDatabaseRequest", - "name": "req" + "name": "req", + "type": "databasepb.GetDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.Database", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "GetDatabase", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "GetDatabase" }, + "description": "GetDatabase gets the state of a Cloud Spanner database.", + "file": "DatabaseAdminClient/GetDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_GetDatabase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetDatabase Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_GetDatabaseDdl_sync", - "title": "spanner GetDatabaseDdl Sample", - "description": "GetDatabaseDdl returns the schema of a Cloud Spanner database as a list of formatted\nDDL statements. This method does not show pending schema updates, those may\nbe queried using the [Operations][google.longrunning.Operations] API.", - "file": "DatabaseAdminClient/GetDatabaseDdl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatabaseDdl", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.GetDatabaseDdl", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "GetDatabaseDdl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.GetDatabaseDdlRequest", - "name": "req" + "name": "req", + "type": "databasepb.GetDatabaseDdlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.GetDatabaseDdlResponse", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "GetDatabaseDdl", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "GetDatabaseDdl" }, + "description": "GetDatabaseDdl returns the schema of a Cloud Spanner database as a list of formatted\nDDL statements. This method does not show pending schema updates, those may\nbe queried using the [Operations][google.longrunning.Operations] API.", + "file": "DatabaseAdminClient/GetDatabaseDdl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_GetDatabaseDdl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetDatabaseDdl Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_GetIamPolicy_sync", - "title": "spanner GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for a database or backup resource.\nReturns an empty policy if a database or backup exists but does not have a\npolicy set.\n\nAuthorization requires `spanner.databases.getIamPolicy` permission on\n[resource][google.iam.v1.GetIamPolicyRequest.resource].\nFor backups, authorization requires `spanner.backups.getIamPolicy`\npermission on [resource][google.iam.v1.GetIamPolicyRequest.resource].", - "file": "DatabaseAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.GetIamPolicy", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetIamPolicy", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetIamPolicy", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for a database or backup resource.\nReturns an empty policy if a database or backup exists but does not have a\npolicy set.\n\nAuthorization requires `spanner.databases.getIamPolicy` permission on\n[resource][google.iam.v1.GetIamPolicyRequest.resource].\nFor backups, authorization requires `spanner.backups.getIamPolicy`\npermission on [resource][google.iam.v1.GetIamPolicyRequest.resource].", + "file": "DatabaseAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetIamPolicy Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_GetOperation_sync", - "title": "spanner GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DatabaseAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DatabaseAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetOperation Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_InternalUpdateGraphOperation_sync", - "title": "spanner InternalUpdateGraphOperation Sample", - "description": "InternalUpdateGraphOperation this is an internal API called by Spanner Graph jobs. You should never need\nto call this API directly.", - "file": "DatabaseAdminClient/InternalUpdateGraphOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "InternalUpdateGraphOperation", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.InternalUpdateGraphOperation", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.InternalUpdateGraphOperation", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "InternalUpdateGraphOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.InternalUpdateGraphOperationRequest", - "name": "req" + "name": "req", + "type": "databasepb.InternalUpdateGraphOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.InternalUpdateGraphOperationResponse", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "InternalUpdateGraphOperation", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.InternalUpdateGraphOperation", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "InternalUpdateGraphOperation" }, + "description": "InternalUpdateGraphOperation this is an internal API called by Spanner Graph jobs. You should never need\nto call this API directly.", + "file": "DatabaseAdminClient/InternalUpdateGraphOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_InternalUpdateGraphOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner InternalUpdateGraphOperation Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListBackupOperations_sync", - "title": "spanner ListBackupOperations Sample", - "description": "ListBackupOperations lists the backup [long-running operations][google.longrunning.Operation] in\nthe given instance. A backup operation has a name of the form\n`projects//instances//backups//operations/`.\nThe long-running operation\n[metadata][google.longrunning.Operation.metadata] field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations. Operations returned are ordered by\n`operation.metadata.value.progress.start_time` in descending order starting\nfrom the most recently started operation.", - "file": "DatabaseAdminClient/ListBackupOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupOperations", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListBackupOperations", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "ListBackupOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.ListBackupOperationsRequest", - "name": "req" + "name": "req", + "type": "databasepb.ListBackupOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListBackupOperations", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "ListBackupOperations" }, + "description": "ListBackupOperations lists the backup [long-running operations][google.longrunning.Operation] in\nthe given instance. A backup operation has a name of the form\n`projects//instances//backups//operations/`.\nThe long-running operation\n[metadata][google.longrunning.Operation.metadata] field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations. Operations returned are ordered by\n`operation.metadata.value.progress.start_time` in descending order starting\nfrom the most recently started operation.", + "file": "DatabaseAdminClient/ListBackupOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListBackupOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListBackupOperations Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListBackupSchedules_sync", - "title": "spanner ListBackupSchedules Sample", - "description": "ListBackupSchedules lists all the backup schedules for the database.", - "file": "DatabaseAdminClient/ListBackupSchedules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackupSchedules", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListBackupSchedules", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackupSchedules", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "ListBackupSchedules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.ListBackupSchedulesRequest", - "name": "req" + "name": "req", + "type": "databasepb.ListBackupSchedulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupScheduleIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListBackupSchedules", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackupSchedules", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "ListBackupSchedules" }, + "description": "ListBackupSchedules lists all the backup schedules for the database.", + "file": "DatabaseAdminClient/ListBackupSchedules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListBackupSchedules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListBackupSchedules Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListBackups_sync", - "title": "spanner ListBackups Sample", - "description": "ListBackups lists completed and pending backups.\nBackups returned are ordered by `create_time` in descending order,\nstarting from the most recent `create_time`.", - "file": "DatabaseAdminClient/ListBackups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBackups", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListBackups", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackups", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "ListBackups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.ListBackupsRequest", - "name": "req" + "name": "req", + "type": "databasepb.ListBackupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BackupIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListBackups", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackups", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "ListBackups" }, + "description": "ListBackups lists completed and pending backups.\nBackups returned are ordered by `create_time` in descending order,\nstarting from the most recent `create_time`.", + "file": "DatabaseAdminClient/ListBackups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListBackups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListBackups Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListDatabaseOperations_sync", - "title": "spanner ListDatabaseOperations Sample", - "description": "ListDatabaseOperations lists database [longrunning-operations][google.longrunning.Operation].\nA database operation has a name of the form\n`projects//instances//databases//operations/`.\nThe long-running operation\n[metadata][google.longrunning.Operation.metadata] field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations.", - "file": "DatabaseAdminClient/ListDatabaseOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabaseOperations", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseOperations", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "ListDatabaseOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.ListDatabaseOperationsRequest", - "name": "req" + "name": "req", + "type": "databasepb.ListDatabaseOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListDatabaseOperations", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "ListDatabaseOperations" }, + "description": "ListDatabaseOperations lists database [longrunning-operations][google.longrunning.Operation].\nA database operation has a name of the form\n`projects//instances//databases//operations/`.\nThe long-running operation\n[metadata][google.longrunning.Operation.metadata] field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations.", + "file": "DatabaseAdminClient/ListDatabaseOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListDatabaseOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListDatabaseOperations Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListDatabaseRoles_sync", - "title": "spanner ListDatabaseRoles Sample", - "description": "ListDatabaseRoles lists Cloud Spanner database roles.", - "file": "DatabaseAdminClient/ListDatabaseRoles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabaseRoles", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListDatabaseRoles", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "ListDatabaseRoles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.ListDatabaseRolesRequest", - "name": "req" + "name": "req", + "type": "databasepb.ListDatabaseRolesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseRoleIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListDatabaseRoles", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "ListDatabaseRoles" }, + "description": "ListDatabaseRoles lists Cloud Spanner database roles.", + "file": "DatabaseAdminClient/ListDatabaseRoles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListDatabaseRoles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListDatabaseRoles Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListDatabases_sync", - "title": "spanner ListDatabases Sample", - "description": "ListDatabases lists Cloud Spanner databases.", - "file": "DatabaseAdminClient/ListDatabases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatabases", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListDatabases", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "ListDatabases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.ListDatabasesRequest", - "name": "req" + "name": "req", + "type": "databasepb.ListDatabasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatabaseIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListDatabases", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "ListDatabases" }, + "description": "ListDatabases lists Cloud Spanner databases.", + "file": "DatabaseAdminClient/ListDatabases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListDatabases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListDatabases Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_ListOperations_sync", - "title": "spanner ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DatabaseAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DatabaseAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListOperations Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_RestoreDatabase_sync", - "title": "spanner RestoreDatabase Sample", - "description": "RestoreDatabase create a new database by restoring from a completed backup. The new\ndatabase must be in the same project and in an instance with the same\ninstance configuration as the instance containing\nthe backup. The returned database [long-running\noperation][google.longrunning.Operation] has a name of the format\n`projects//instances//databases//operations/`,\nand can be used to track the progress of the operation, and to cancel it.\nThe [metadata][google.longrunning.Operation.metadata] field type is\n[RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] type\nis [Database][google.spanner.admin.database.v1.Database], if\nsuccessful. Cancelling the returned operation will stop the restore and\ndelete the database.\nThere can be only one database being restored into an instance at a time.\nOnce the restore operation completes, a new restore operation can be\ninitiated, without waiting for the optimize operation associated with the\nfirst restore to complete.", - "file": "DatabaseAdminClient/RestoreDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "RestoreDatabase", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.RestoreDatabase", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "RestoreDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.RestoreDatabaseRequest", - "name": "req" + "name": "req", + "type": "databasepb.RestoreDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RestoreDatabaseOperation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "RestoreDatabase", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "RestoreDatabase" }, + "description": "RestoreDatabase create a new database by restoring from a completed backup. The new\ndatabase must be in the same project and in an instance with the same\ninstance configuration as the instance containing\nthe backup. The returned database [long-running\noperation][google.longrunning.Operation] has a name of the format\n`projects//instances//databases//operations/`,\nand can be used to track the progress of the operation, and to cancel it.\nThe [metadata][google.longrunning.Operation.metadata] field type is\n[RestoreDatabaseMetadata][google.spanner.admin.database.v1.RestoreDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] type\nis [Database][google.spanner.admin.database.v1.Database], if\nsuccessful. Cancelling the returned operation will stop the restore and\ndelete the database.\nThere can be only one database being restored into an instance at a time.\nOnce the restore operation completes, a new restore operation can be\ninitiated, without waiting for the optimize operation associated with the\nfirst restore to complete.", + "file": "DatabaseAdminClient/RestoreDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_RestoreDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner RestoreDatabase Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_SetIamPolicy_sync", - "title": "spanner SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on a database or backup resource.\nReplaces any existing policy.\n\nAuthorization requires `spanner.databases.setIamPolicy`\npermission on [resource][google.iam.v1.SetIamPolicyRequest.resource].\nFor backups, authorization requires `spanner.backups.setIamPolicy`\npermission on [resource][google.iam.v1.SetIamPolicyRequest.resource].", - "file": "DatabaseAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.SetIamPolicy", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.SetIamPolicy", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.SetIamPolicy", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on a database or backup resource.\nReplaces any existing policy.\n\nAuthorization requires `spanner.databases.setIamPolicy`\npermission on [resource][google.iam.v1.SetIamPolicyRequest.resource].\nFor backups, authorization requires `spanner.backups.setIamPolicy`\npermission on [resource][google.iam.v1.SetIamPolicyRequest.resource].", + "file": "DatabaseAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner SetIamPolicy Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_TestIamPermissions_sync", - "title": "spanner TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that the caller has on the specified database or backup\nresource.\n\nAttempting this RPC on a non-existent Cloud Spanner database will\nresult in a NOT_FOUND error if the user has\n`spanner.databases.list` permission on the containing Cloud\nSpanner instance. Otherwise returns an empty set of permissions.\nCalling this method on a backup that does not exist will\nresult in a NOT_FOUND error if the user has\n`spanner.backups.list` permission on the containing instance.", - "file": "DatabaseAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.TestIamPermissions", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.TestIamPermissions", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.TestIamPermissions", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that the caller has on the specified database or backup\nresource.\n\nAttempting this RPC on a non-existent Cloud Spanner database will\nresult in a NOT_FOUND error if the user has\n`spanner.databases.list` permission on the containing Cloud\nSpanner instance. Otherwise returns an empty set of permissions.\nCalling this method on a backup that does not exist will\nresult in a NOT_FOUND error if the user has\n`spanner.backups.list` permission on the containing instance.", + "file": "DatabaseAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner TestIamPermissions Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateBackup_sync", - "title": "spanner UpdateBackup Sample", - "description": "UpdateBackup updates a pending or completed\n[Backup][google.spanner.admin.database.v1.Backup].", - "file": "DatabaseAdminClient/UpdateBackup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackup", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.UpdateBackup", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "UpdateBackup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.UpdateBackupRequest", - "name": "req" + "name": "req", + "type": "databasepb.UpdateBackupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.Backup", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "UpdateBackup", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "UpdateBackup" }, + "description": "UpdateBackup updates a pending or completed\n[Backup][google.spanner.admin.database.v1.Backup].", + "file": "DatabaseAdminClient/UpdateBackup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateBackup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateBackup Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateBackupSchedule_sync", - "title": "spanner UpdateBackupSchedule Sample", - "description": "UpdateBackupSchedule updates a backup schedule.", - "file": "DatabaseAdminClient/UpdateBackupSchedule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBackupSchedule", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.UpdateBackupSchedule", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "UpdateBackupSchedule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.UpdateBackupScheduleRequest", - "name": "req" + "name": "req", + "type": "databasepb.UpdateBackupScheduleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*databasepb.BackupSchedule", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "UpdateBackupSchedule", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackupSchedule", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "UpdateBackupSchedule" }, + "description": "UpdateBackupSchedule updates a backup schedule.", + "file": "DatabaseAdminClient/UpdateBackupSchedule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateBackupSchedule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateBackupSchedule Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateDatabase_sync", - "title": "spanner UpdateDatabase Sample", - "description": "UpdateDatabase updates a Cloud Spanner database. The returned\n[long-running operation][google.longrunning.Operation] can be used to track\nthe progress of updating the database. If the named database does not\nexist, returns `NOT_FOUND`.\n\nWhile the operation is pending: \n\n* The database's\n[reconciling][google.spanner.admin.database.v1.Database.reconciling]\nfield is set to true.\n* Cancelling the operation is best-effort. If the cancellation succeeds,\nthe operation metadata's\n[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]\nis set, the updates are reverted, and the operation terminates with a\n`CANCELLED` status.\n* New UpdateDatabase requests will return a `FAILED_PRECONDITION` error\nuntil the pending operation is done (returns successfully or with\nerror).\n* Reading the database via the API continues to give the pre-request\nvalues.\n\nUpon completion of the returned operation: \n\n* The new values are in effect and readable via the API.\n* The database's\n[reconciling][google.spanner.admin.database.v1.Database.reconciling]\nfield becomes false.\n\nThe returned [long-running operation][google.longrunning.Operation] will\nhave a name of the format\n`projects//instances//databases//operations/`\nand can be used to track the database modification. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[UpdateDatabaseMetadata][google.spanner.admin.database.v1.UpdateDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Database][google.spanner.admin.database.v1.Database], if successful.", - "file": "DatabaseAdminClient/UpdateDatabase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatabase", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.UpdateDatabase", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "UpdateDatabase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.UpdateDatabaseRequest", - "name": "req" + "name": "req", + "type": "databasepb.UpdateDatabaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDatabaseOperation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "UpdateDatabase", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "UpdateDatabase" }, + "description": "UpdateDatabase updates a Cloud Spanner database. The returned\n[long-running operation][google.longrunning.Operation] can be used to track\nthe progress of updating the database. If the named database does not\nexist, returns `NOT_FOUND`.\n\nWhile the operation is pending: \n\n* The database's\n[reconciling][google.spanner.admin.database.v1.Database.reconciling]\nfield is set to true.\n* Cancelling the operation is best-effort. If the cancellation succeeds,\nthe operation metadata's\n[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]\nis set, the updates are reverted, and the operation terminates with a\n`CANCELLED` status.\n* New UpdateDatabase requests will return a `FAILED_PRECONDITION` error\nuntil the pending operation is done (returns successfully or with\nerror).\n* Reading the database via the API continues to give the pre-request\nvalues.\n\nUpon completion of the returned operation: \n\n* The new values are in effect and readable via the API.\n* The database's\n[reconciling][google.spanner.admin.database.v1.Database.reconciling]\nfield becomes false.\n\nThe returned [long-running operation][google.longrunning.Operation] will\nhave a name of the format\n`projects//instances//databases//operations/`\nand can be used to track the database modification. The\n[metadata][google.longrunning.Operation.metadata] field type is\n[UpdateDatabaseMetadata][google.spanner.admin.database.v1.UpdateDatabaseMetadata].\nThe [response][google.longrunning.Operation.response] field type is\n[Database][google.spanner.admin.database.v1.Database], if successful.", + "file": "DatabaseAdminClient/UpdateDatabase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateDatabase_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateDatabase Sample" }, { - "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateDatabaseDdl_sync", - "title": "spanner UpdateDatabaseDdl Sample", - "description": "UpdateDatabaseDdl updates the schema of a Cloud Spanner database by\ncreating/altering/dropping tables, columns, indexes, etc. The returned\n[long-running operation][google.longrunning.Operation] will have a name of\nthe format `/operations/` and can be used to\ntrack execution of the schema change(s). The\n[metadata][google.longrunning.Operation.metadata] field type is\n[UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].\nThe operation has no response.", - "file": "DatabaseAdminClient/UpdateDatabaseDdl/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatabaseDdl", + "client": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient", + "shortName": "DatabaseAdminClient" + }, "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient.UpdateDatabaseDdl", + "method": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl", + "service": { + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "shortName": "DatabaseAdmin" + }, + "shortName": "UpdateDatabaseDdl" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "databasepb.UpdateDatabaseDdlRequest", - "name": "req" + "name": "req", + "type": "databasepb.UpdateDatabaseDdlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDatabaseDdlOperation", - "client": { - "shortName": "DatabaseAdminClient", - "fullName": "google.spanner.admin.database.v1.DatabaseAdminClient" - }, - "method": { - "shortName": "UpdateDatabaseDdl", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl", - "service": { - "shortName": "DatabaseAdmin", - "fullName": "google.spanner.admin.database.v1.DatabaseAdmin" - } - } + "shortName": "UpdateDatabaseDdl" }, + "description": "UpdateDatabaseDdl updates the schema of a Cloud Spanner database by\ncreating/altering/dropping tables, columns, indexes, etc. The returned\n[long-running operation][google.longrunning.Operation] will have a name of\nthe format `/operations/` and can be used to\ntrack execution of the schema change(s). The\n[metadata][google.longrunning.Operation.metadata] field type is\n[UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata].\nThe operation has no response.", + "file": "DatabaseAdminClient/UpdateDatabaseDdl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_DatabaseAdmin_UpdateDatabaseDdl_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateDatabaseDdl Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json b/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json index 08608ae54f3b..f8a75b203f7d 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json @@ -1,1160 +1,1160 @@ { "clientLibrary": { - "name": "cloud.google.com/go/spanner/admin/instance/apiv1", - "version": "1.88.0", - "language": "GO", "apis": [ { "id": "google.spanner.admin.instance.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/spanner/admin/instance/apiv1", + "version": "1.88.0" }, "snippets": [ { - "regionTag": "spanner_v1_generated_InstanceAdmin_CancelOperation_sync", - "title": "spanner CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "InstanceAdminClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "InstanceAdminClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CancelOperation Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_CreateInstance_sync", - "title": "spanner CreateInstance Sample", - "description": "CreateInstance creates an instance and begins preparing it to begin serving. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance. The instance name is assigned by the caller. If the\nnamed instance already exists, `CreateInstance` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request: \n\n* The instance is readable via the API, with all requested attributes\nbut no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation renders the instance immediately unreadable\nvia the API.\n* The instance can be deleted.\n* All other attempts to modify the instance are rejected.\n\nUpon completion of the returned operation: \n\n* Billing for all successfully-allocated resources begins (some types\nmay have lower than the requested levels).\n* Databases can be created in the instance.\n* The instance's allocated resource levels are readable via the API.\n* The instance's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format `/operations/` and\ncan be used to track creation of the instance. The\nmetadata field type is\n[CreateInstanceMetadata][google.spanner.admin.instance.v1.CreateInstanceMetadata].\nThe response field type is\n[Instance][google.spanner.admin.instance.v1.Instance], if successful.", - "file": "InstanceAdminClient/CreateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstance", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.CreateInstance", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "CreateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.CreateInstanceRequest", - "name": "req" + "name": "req", + "type": "instancepb.CreateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "CreateInstance", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "CreateInstance" }, + "description": "CreateInstance creates an instance and begins preparing it to begin serving. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance. The instance name is assigned by the caller. If the\nnamed instance already exists, `CreateInstance` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request: \n\n* The instance is readable via the API, with all requested attributes\nbut no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation renders the instance immediately unreadable\nvia the API.\n* The instance can be deleted.\n* All other attempts to modify the instance are rejected.\n\nUpon completion of the returned operation: \n\n* Billing for all successfully-allocated resources begins (some types\nmay have lower than the requested levels).\n* Databases can be created in the instance.\n* The instance's allocated resource levels are readable via the API.\n* The instance's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format `/operations/` and\ncan be used to track creation of the instance. The\nmetadata field type is\n[CreateInstanceMetadata][google.spanner.admin.instance.v1.CreateInstanceMetadata].\nThe response field type is\n[Instance][google.spanner.admin.instance.v1.Instance], if successful.", + "file": "InstanceAdminClient/CreateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_CreateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateInstance Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_CreateInstanceConfig_sync", - "title": "spanner CreateInstanceConfig Sample", - "description": "CreateInstanceConfig creates an instance configuration and begins preparing it to be used. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance configuration. The instance configuration name is assigned by the\ncaller. If the named instance configuration already exists,\n`CreateInstanceConfig` returns `ALREADY_EXISTS`.\n\nImmediately after the request returns: \n\n* The instance configuration is readable via the API, with all requested\nattributes. The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield is set to true. Its state is `CREATING`.\n\nWhile the operation is pending: \n\n* Cancelling the operation renders the instance configuration immediately\nunreadable via the API.\n* Except for deleting the creating resource, all other attempts to modify\nthe instance configuration are rejected.\n\nUpon completion of the returned operation: \n\n* Instances can be created using the instance configuration.\n* The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield becomes false. Its state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to track\ncreation of the instance configuration. The\nmetadata field type is\n[CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata].\nThe response field type is\n[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig], if\nsuccessful.\n\nAuthorization requires `spanner.instanceConfigs.create` permission on\nthe resource\n[parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].", - "file": "InstanceAdminClient/CreateInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstanceConfig", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.CreateInstanceConfig", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "CreateInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.CreateInstanceConfigRequest", - "name": "req" + "name": "req", + "type": "instancepb.CreateInstanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstanceConfigOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "CreateInstanceConfig", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "CreateInstanceConfig" }, + "description": "CreateInstanceConfig creates an instance configuration and begins preparing it to be used. The\nreturned long-running operation\ncan be used to track the progress of preparing the new\ninstance configuration. The instance configuration name is assigned by the\ncaller. If the named instance configuration already exists,\n`CreateInstanceConfig` returns `ALREADY_EXISTS`.\n\nImmediately after the request returns: \n\n* The instance configuration is readable via the API, with all requested\nattributes. The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield is set to true. Its state is `CREATING`.\n\nWhile the operation is pending: \n\n* Cancelling the operation renders the instance configuration immediately\nunreadable via the API.\n* Except for deleting the creating resource, all other attempts to modify\nthe instance configuration are rejected.\n\nUpon completion of the returned operation: \n\n* Instances can be created using the instance configuration.\n* The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield becomes false. Its state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to track\ncreation of the instance configuration. The\nmetadata field type is\n[CreateInstanceConfigMetadata][google.spanner.admin.instance.v1.CreateInstanceConfigMetadata].\nThe response field type is\n[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig], if\nsuccessful.\n\nAuthorization requires `spanner.instanceConfigs.create` permission on\nthe resource\n[parent][google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent].", + "file": "InstanceAdminClient/CreateInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_CreateInstanceConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateInstanceConfig Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_CreateInstancePartition_sync", - "title": "spanner CreateInstancePartition Sample", - "description": "CreateInstancePartition creates an instance partition and begins preparing it to be used. The\nreturned long-running operation\ncan be used to track the progress of preparing the new instance partition.\nThe instance partition name is assigned by the caller. If the named\ninstance partition already exists, `CreateInstancePartition` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request: \n\n* The instance partition is readable via the API, with all requested\nattributes but no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation renders the instance partition immediately\nunreadable via the API.\n* The instance partition can be deleted.\n* All other attempts to modify the instance partition are rejected.\n\nUpon completion of the returned operation: \n\n* Billing for all successfully-allocated resources begins (some types\nmay have lower than the requested levels).\n* Databases can start using this instance partition.\n* The instance partition's allocated resource levels are readable via the\nAPI.\n* The instance partition's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to\ntrack creation of the instance partition. The\nmetadata field type is\n[CreateInstancePartitionMetadata][google.spanner.admin.instance.v1.CreateInstancePartitionMetadata].\nThe response field type is\n[InstancePartition][google.spanner.admin.instance.v1.InstancePartition], if\nsuccessful.", - "file": "InstanceAdminClient/CreateInstancePartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInstancePartition", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.CreateInstancePartition", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "CreateInstancePartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.CreateInstancePartitionRequest", - "name": "req" + "name": "req", + "type": "instancepb.CreateInstancePartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInstancePartitionOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "CreateInstancePartition", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "CreateInstancePartition" }, + "description": "CreateInstancePartition creates an instance partition and begins preparing it to be used. The\nreturned long-running operation\ncan be used to track the progress of preparing the new instance partition.\nThe instance partition name is assigned by the caller. If the named\ninstance partition already exists, `CreateInstancePartition` returns\n`ALREADY_EXISTS`.\n\nImmediately upon completion of this request: \n\n* The instance partition is readable via the API, with all requested\nattributes but no allocated resources. Its state is `CREATING`.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation renders the instance partition immediately\nunreadable via the API.\n* The instance partition can be deleted.\n* All other attempts to modify the instance partition are rejected.\n\nUpon completion of the returned operation: \n\n* Billing for all successfully-allocated resources begins (some types\nmay have lower than the requested levels).\n* Databases can start using this instance partition.\n* The instance partition's allocated resource levels are readable via the\nAPI.\n* The instance partition's state becomes `READY`.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to\ntrack creation of the instance partition. The\nmetadata field type is\n[CreateInstancePartitionMetadata][google.spanner.admin.instance.v1.CreateInstancePartitionMetadata].\nThe response field type is\n[InstancePartition][google.spanner.admin.instance.v1.InstancePartition], if\nsuccessful.", + "file": "InstanceAdminClient/CreateInstancePartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_CreateInstancePartition_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateInstancePartition Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteInstance_sync", - "title": "spanner DeleteInstance Sample", - "description": "DeleteInstance deletes an instance.\n\nImmediately upon completion of the request: \n\n* Billing ceases for all of the instance's reserved resources.\n\nSoon afterward: \n\n* The instance and *all of its databases* immediately and\nirrevocably disappear from the API. All data in the databases\nis permanently deleted.", - "file": "InstanceAdminClient/DeleteInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstance", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.DeleteInstance", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "DeleteInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.DeleteInstanceRequest", - "name": "req" + "name": "req", + "type": "instancepb.DeleteInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "DeleteInstance", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "DeleteInstance" }, + "description": "DeleteInstance deletes an instance.\n\nImmediately upon completion of the request: \n\n* Billing ceases for all of the instance's reserved resources.\n\nSoon afterward: \n\n* The instance and *all of its databases* immediately and\nirrevocably disappear from the API. All data in the databases\nis permanently deleted.", + "file": "InstanceAdminClient/DeleteInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteInstance_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteInstance Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteInstanceConfig_sync", - "title": "spanner DeleteInstanceConfig Sample", - "description": "DeleteInstanceConfig deletes the instance configuration. Deletion is only allowed when no\ninstances are using the configuration. If any instances are using\nthe configuration, returns `FAILED_PRECONDITION`.\n\nOnly user-managed configurations can be deleted.\n\nAuthorization requires `spanner.instanceConfigs.delete` permission on\nthe resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].", - "file": "InstanceAdminClient/DeleteInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstanceConfig", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.DeleteInstanceConfig", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstanceConfig", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "DeleteInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.DeleteInstanceConfigRequest", - "name": "req" + "name": "req", + "type": "instancepb.DeleteInstanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "DeleteInstanceConfig", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstanceConfig", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "DeleteInstanceConfig" }, + "description": "DeleteInstanceConfig deletes the instance configuration. Deletion is only allowed when no\ninstances are using the configuration. If any instances are using\nthe configuration, returns `FAILED_PRECONDITION`.\n\nOnly user-managed configurations can be deleted.\n\nAuthorization requires `spanner.instanceConfigs.delete` permission on\nthe resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].", + "file": "InstanceAdminClient/DeleteInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteInstanceConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteInstanceConfig Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteInstancePartition_sync", - "title": "spanner DeleteInstancePartition Sample", - "description": "DeleteInstancePartition deletes an existing instance partition. Requires that the\ninstance partition is not used by any database or backup and is not the\ndefault instance partition of an instance.\n\nAuthorization requires `spanner.instancePartitions.delete` permission on\nthe resource\n[name][google.spanner.admin.instance.v1.InstancePartition.name].", - "file": "InstanceAdminClient/DeleteInstancePartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInstancePartition", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.DeleteInstancePartition", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "DeleteInstancePartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.DeleteInstancePartitionRequest", - "name": "req" + "name": "req", + "type": "instancepb.DeleteInstancePartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "DeleteInstancePartition", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "DeleteInstancePartition" }, + "description": "DeleteInstancePartition deletes an existing instance partition. Requires that the\ninstance partition is not used by any database or backup and is not the\ndefault instance partition of an instance.\n\nAuthorization requires `spanner.instancePartitions.delete` permission on\nthe resource\n[name][google.spanner.admin.instance.v1.InstancePartition.name].", + "file": "InstanceAdminClient/DeleteInstancePartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteInstancePartition_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteInstancePartition Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteOperation_sync", - "title": "spanner DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "InstanceAdminClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "InstanceAdminClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteOperation Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_GetIamPolicy_sync", - "title": "spanner GetIamPolicy Sample", - "description": "GetIamPolicy gets the access control policy for an instance resource. Returns an empty\npolicy if an instance exists but does not have a policy set.\n\nAuthorization requires `spanner.instances.getIamPolicy` on\n[resource][google.iam.v1.GetIamPolicyRequest.resource].", - "file": "InstanceAdminClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.GetIamPolicy", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetIamPolicy", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetIamPolicy", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the access control policy for an instance resource. Returns an empty\npolicy if an instance exists but does not have a policy set.\n\nAuthorization requires `spanner.instances.getIamPolicy` on\n[resource][google.iam.v1.GetIamPolicyRequest.resource].", + "file": "InstanceAdminClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetIamPolicy Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_GetInstance_sync", - "title": "spanner GetInstance Sample", - "description": "GetInstance gets information about a particular instance.", - "file": "InstanceAdminClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.GetInstance", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstance", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "instancepb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*instancepb.Instance", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstance", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets information about a particular instance.", + "file": "InstanceAdminClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetInstance Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_GetInstanceConfig_sync", - "title": "spanner GetInstanceConfig Sample", - "description": "GetInstanceConfig gets information about a particular instance configuration.", - "file": "InstanceAdminClient/GetInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstanceConfig", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.GetInstanceConfig", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "GetInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.GetInstanceConfigRequest", - "name": "req" + "name": "req", + "type": "instancepb.GetInstanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*instancepb.InstanceConfig", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "GetInstanceConfig", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "GetInstanceConfig" }, + "description": "GetInstanceConfig gets information about a particular instance configuration.", + "file": "InstanceAdminClient/GetInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_GetInstanceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetInstanceConfig Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_GetInstancePartition_sync", - "title": "spanner GetInstancePartition Sample", - "description": "GetInstancePartition gets information about a particular instance partition.", - "file": "InstanceAdminClient/GetInstancePartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstancePartition", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.GetInstancePartition", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstancePartition", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "GetInstancePartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.GetInstancePartitionRequest", - "name": "req" + "name": "req", + "type": "instancepb.GetInstancePartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*instancepb.InstancePartition", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "GetInstancePartition", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstancePartition", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "GetInstancePartition" }, + "description": "GetInstancePartition gets information about a particular instance partition.", + "file": "InstanceAdminClient/GetInstancePartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_GetInstancePartition_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetInstancePartition Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_GetOperation_sync", - "title": "spanner GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "InstanceAdminClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "InstanceAdminClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetOperation Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstanceConfigOperations_sync", - "title": "spanner ListInstanceConfigOperations Sample", - "description": "ListInstanceConfigOperations lists the user-managed instance configuration long-running\noperations in the given project. An instance\nconfiguration operation has a name of the form\n`projects//instanceConfigs//operations/`.\nThe long-running operation\nmetadata field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations. Operations returned are ordered by\n`operation.metadata.value.start_time` in descending order starting\nfrom the most recently started operation.", - "file": "InstanceAdminClient/ListInstanceConfigOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstanceConfigOperations", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigOperations", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "ListInstanceConfigOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.ListInstanceConfigOperationsRequest", - "name": "req" + "name": "req", + "type": "instancepb.ListInstanceConfigOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "ListInstanceConfigOperations", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "ListInstanceConfigOperations" }, + "description": "ListInstanceConfigOperations lists the user-managed instance configuration long-running\noperations in the given project. An instance\nconfiguration operation has a name of the form\n`projects//instanceConfigs//operations/`.\nThe long-running operation\nmetadata field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations. Operations returned are ordered by\n`operation.metadata.value.start_time` in descending order starting\nfrom the most recently started operation.", + "file": "InstanceAdminClient/ListInstanceConfigOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstanceConfigOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListInstanceConfigOperations Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstanceConfigs_sync", - "title": "spanner ListInstanceConfigs Sample", - "description": "ListInstanceConfigs lists the supported instance configurations for a given project.\n\nReturns both Google-managed configurations and user-managed\nconfigurations.", - "file": "InstanceAdminClient/ListInstanceConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstanceConfigs", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.ListInstanceConfigs", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "ListInstanceConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.ListInstanceConfigsRequest", - "name": "req" + "name": "req", + "type": "instancepb.ListInstanceConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceConfigIterator", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "ListInstanceConfigs", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "ListInstanceConfigs" }, + "description": "ListInstanceConfigs lists the supported instance configurations for a given project.\n\nReturns both Google-managed configurations and user-managed\nconfigurations.", + "file": "InstanceAdminClient/ListInstanceConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstanceConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListInstanceConfigs Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstancePartitionOperations_sync", - "title": "spanner ListInstancePartitionOperations Sample", - "description": "ListInstancePartitionOperations lists instance partition long-running operations in the given instance.\nAn instance partition operation has a name of the form\n`projects//instances//instancePartitions//operations/`.\nThe long-running operation\nmetadata field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations. Operations returned are ordered by\n`operation.metadata.value.start_time` in descending order starting from the\nmost recently started operation.\n\nAuthorization requires `spanner.instancePartitionOperations.list`\npermission on the resource\n[parent][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.parent].", - "file": "InstanceAdminClient/ListInstancePartitionOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstancePartitionOperations", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.ListInstancePartitionOperations", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "ListInstancePartitionOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.ListInstancePartitionOperationsRequest", - "name": "req" + "name": "req", + "type": "instancepb.ListInstancePartitionOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "ListInstancePartitionOperations", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "ListInstancePartitionOperations" }, + "description": "ListInstancePartitionOperations lists instance partition long-running operations in the given instance.\nAn instance partition operation has a name of the form\n`projects//instances//instancePartitions//operations/`.\nThe long-running operation\nmetadata field type\n`metadata.type_url` describes the type of the metadata. Operations returned\ninclude those that have completed/failed/canceled within the last 7 days,\nand pending operations. Operations returned are ordered by\n`operation.metadata.value.start_time` in descending order starting from the\nmost recently started operation.\n\nAuthorization requires `spanner.instancePartitionOperations.list`\npermission on the resource\n[parent][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.parent].", + "file": "InstanceAdminClient/ListInstancePartitionOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstancePartitionOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListInstancePartitionOperations Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstancePartitions_sync", - "title": "spanner ListInstancePartitions Sample", - "description": "ListInstancePartitions lists all instance partitions for the given instance.", - "file": "InstanceAdminClient/ListInstancePartitions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstancePartitions", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.ListInstancePartitions", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "ListInstancePartitions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.ListInstancePartitionsRequest", - "name": "req" + "name": "req", + "type": "instancepb.ListInstancePartitionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstancePartitionIterator", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "ListInstancePartitions", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "ListInstancePartitions" }, + "description": "ListInstancePartitions lists all instance partitions for the given instance.", + "file": "InstanceAdminClient/ListInstancePartitions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstancePartitions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListInstancePartitions Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstances_sync", - "title": "spanner ListInstances Sample", - "description": "ListInstances lists all instances in the given project.", - "file": "InstanceAdminClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.ListInstances", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstances", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "instancepb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstances", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists all instances in the given project.", + "file": "InstanceAdminClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListInstances Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_ListOperations_sync", - "title": "spanner ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "InstanceAdminClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "InstanceAdminClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListOperations Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_MoveInstance_sync", - "title": "spanner MoveInstance Sample", - "description": "MoveInstance moves an instance to the target instance configuration. You can use the\nreturned long-running operation to track\nthe progress of moving the instance.\n\n`MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of\nthe following criteria: \n\n* Is undergoing a move to a different instance configuration\n* Has backups\n* Has an ongoing update\n* Contains any CMEK-enabled databases\n* Is a free trial instance\n\nWhile the operation is pending: \n\n* All other attempts to modify the instance, including changes to its\ncompute capacity, are rejected.\n* The following database and backup admin operations are rejected: \n\n* `DatabaseAdmin.CreateDatabase`\n* `DatabaseAdmin.UpdateDatabaseDdl` (disabled if default_leader is\nspecified in the request.)\n* `DatabaseAdmin.RestoreDatabase`\n* `DatabaseAdmin.CreateBackup`\n* `DatabaseAdmin.CopyBackup`\n\n* Both the source and target instance configurations are subject to\nhourly compute and storage charges.\n* The instance might experience higher read-write latencies and a higher\ntransaction abort rate. However, moving an instance doesn't cause any\ndowntime.\n\nThe returned long-running operation has\na name of the format\n`/operations/` and can be used to track\nthe move instance operation. The\nmetadata field type is\n[MoveInstanceMetadata][google.spanner.admin.instance.v1.MoveInstanceMetadata].\nThe response field type is\n[Instance][google.spanner.admin.instance.v1.Instance],\nif successful.\nCancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.MoveInstanceMetadata.cancel_time].\nCancellation is not immediate because it involves moving any data\npreviously moved to the target instance configuration back to the original\ninstance configuration. You can use this operation to track the progress of\nthe cancellation. Upon successful completion of the cancellation, the\noperation terminates with `CANCELLED` status.\n\nIf not cancelled, upon completion of the returned operation: \n\n* The instance successfully moves to the target instance\nconfiguration.\n* You are billed for compute and storage in target instance\nconfiguration.\n\nAuthorization requires the `spanner.instances.update` permission on\nthe resource [instance][google.spanner.admin.instance.v1.Instance].\n\nFor more details, see\n[Move an instance](https: //cloud.google.com/spanner/docs/move-instance).", - "file": "InstanceAdminClient/MoveInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "MoveInstance", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.MoveInstance", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.MoveInstance", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "MoveInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.MoveInstanceRequest", - "name": "req" + "name": "req", + "type": "instancepb.MoveInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MoveInstanceOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "MoveInstance", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.MoveInstance", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "MoveInstance" }, + "description": "MoveInstance moves an instance to the target instance configuration. You can use the\nreturned long-running operation to track\nthe progress of moving the instance.\n\n`MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of\nthe following criteria: \n\n* Is undergoing a move to a different instance configuration\n* Has backups\n* Has an ongoing update\n* Contains any CMEK-enabled databases\n* Is a free trial instance\n\nWhile the operation is pending: \n\n* All other attempts to modify the instance, including changes to its\ncompute capacity, are rejected.\n* The following database and backup admin operations are rejected: \n\n* `DatabaseAdmin.CreateDatabase`\n* `DatabaseAdmin.UpdateDatabaseDdl` (disabled if default_leader is\nspecified in the request.)\n* `DatabaseAdmin.RestoreDatabase`\n* `DatabaseAdmin.CreateBackup`\n* `DatabaseAdmin.CopyBackup`\n\n* Both the source and target instance configurations are subject to\nhourly compute and storage charges.\n* The instance might experience higher read-write latencies and a higher\ntransaction abort rate. However, moving an instance doesn't cause any\ndowntime.\n\nThe returned long-running operation has\na name of the format\n`/operations/` and can be used to track\nthe move instance operation. The\nmetadata field type is\n[MoveInstanceMetadata][google.spanner.admin.instance.v1.MoveInstanceMetadata].\nThe response field type is\n[Instance][google.spanner.admin.instance.v1.Instance],\nif successful.\nCancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.MoveInstanceMetadata.cancel_time].\nCancellation is not immediate because it involves moving any data\npreviously moved to the target instance configuration back to the original\ninstance configuration. You can use this operation to track the progress of\nthe cancellation. Upon successful completion of the cancellation, the\noperation terminates with `CANCELLED` status.\n\nIf not cancelled, upon completion of the returned operation: \n\n* The instance successfully moves to the target instance\nconfiguration.\n* You are billed for compute and storage in target instance\nconfiguration.\n\nAuthorization requires the `spanner.instances.update` permission on\nthe resource [instance][google.spanner.admin.instance.v1.Instance].\n\nFor more details, see\n[Move an instance](https: //cloud.google.com/spanner/docs/move-instance).", + "file": "InstanceAdminClient/MoveInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_MoveInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner MoveInstance Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_SetIamPolicy_sync", - "title": "spanner SetIamPolicy Sample", - "description": "SetIamPolicy sets the access control policy on an instance resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.instances.setIamPolicy` on\n[resource][google.iam.v1.SetIamPolicyRequest.resource].", - "file": "InstanceAdminClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.SetIamPolicy", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.SetIamPolicy", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.SetIamPolicy", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy sets the access control policy on an instance resource. Replaces any\nexisting policy.\n\nAuthorization requires `spanner.instances.setIamPolicy` on\n[resource][google.iam.v1.SetIamPolicyRequest.resource].", + "file": "InstanceAdminClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner SetIamPolicy Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_TestIamPermissions_sync", - "title": "spanner TestIamPermissions Sample", - "description": "TestIamPermissions returns permissions that the caller has on the specified instance resource.\n\nAttempting this RPC on a non-existent Cloud Spanner instance resource will\nresult in a NOT_FOUND error if the user has `spanner.instances.list`\npermission on the containing Google Cloud Project. Otherwise returns an\nempty set of permissions.", - "file": "InstanceAdminClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.TestIamPermissions", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.TestIamPermissions", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.TestIamPermissions", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions returns permissions that the caller has on the specified instance resource.\n\nAttempting this RPC on a non-existent Cloud Spanner instance resource will\nresult in a NOT_FOUND error if the user has `spanner.instances.list`\npermission on the containing Google Cloud Project. Otherwise returns an\nempty set of permissions.", + "file": "InstanceAdminClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner TestIamPermissions Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_UpdateInstance_sync", - "title": "spanner UpdateInstance Sample", - "description": "UpdateInstance updates an instance, and begins allocating or releasing resources\nas requested. The returned long-running operation can be used to track the\nprogress of updating the instance. If the named instance does not\nexist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request: \n\n* For resource types for which a decrease in the instance's allocation\nhas been requested, billing is based on the newly-requested level.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time],\nand begins restoring resources to their pre-request values. The\noperation is guaranteed to succeed at undoing all resource changes,\nafter which point it terminates with a `CANCELLED` status.\n* All other attempts to modify the instance are rejected.\n* Reading the instance via the API continues to give the pre-request\nresource levels.\n\nUpon completion of the returned operation: \n\n* Billing begins for all successfully-allocated resources (some types\nmay have lower than the requested levels).\n* All newly-reserved resources are available for serving the instance's\ntables.\n* The instance's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format `/operations/` and\ncan be used to track the instance modification. The\nmetadata field type is\n[UpdateInstanceMetadata][google.spanner.admin.instance.v1.UpdateInstanceMetadata].\nThe response field type is\n[Instance][google.spanner.admin.instance.v1.Instance], if successful.\n\nAuthorization requires `spanner.instances.update` permission on\nthe resource [name][google.spanner.admin.instance.v1.Instance.name].", - "file": "InstanceAdminClient/UpdateInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstance", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.UpdateInstance", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "UpdateInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.UpdateInstanceRequest", - "name": "req" + "name": "req", + "type": "instancepb.UpdateInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "UpdateInstance", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "UpdateInstance" }, + "description": "UpdateInstance updates an instance, and begins allocating or releasing resources\nas requested. The returned long-running operation can be used to track the\nprogress of updating the instance. If the named instance does not\nexist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request: \n\n* For resource types for which a decrease in the instance's allocation\nhas been requested, billing is based on the newly-requested level.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time],\nand begins restoring resources to their pre-request values. The\noperation is guaranteed to succeed at undoing all resource changes,\nafter which point it terminates with a `CANCELLED` status.\n* All other attempts to modify the instance are rejected.\n* Reading the instance via the API continues to give the pre-request\nresource levels.\n\nUpon completion of the returned operation: \n\n* Billing begins for all successfully-allocated resources (some types\nmay have lower than the requested levels).\n* All newly-reserved resources are available for serving the instance's\ntables.\n* The instance's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format `/operations/` and\ncan be used to track the instance modification. The\nmetadata field type is\n[UpdateInstanceMetadata][google.spanner.admin.instance.v1.UpdateInstanceMetadata].\nThe response field type is\n[Instance][google.spanner.admin.instance.v1.Instance], if successful.\n\nAuthorization requires `spanner.instances.update` permission on\nthe resource [name][google.spanner.admin.instance.v1.Instance.name].", + "file": "InstanceAdminClient/UpdateInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_UpdateInstance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateInstance Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_UpdateInstanceConfig_sync", - "title": "spanner UpdateInstanceConfig Sample", - "description": "UpdateInstanceConfig updates an instance configuration. The returned\nlong-running operation can be used to track\nthe progress of updating the instance. If the named instance configuration\ndoes not exist, returns `NOT_FOUND`.\n\nOnly user-managed configurations can be updated.\n\nImmediately after the request returns: \n\n* The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield is set to true.\n\nWhile the operation is pending: \n\n* Cancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.cancel_time].\nThe operation is guaranteed to succeed at undoing all changes, after\nwhich point it terminates with a `CANCELLED` status.\n* All other attempts to modify the instance configuration are rejected.\n* Reading the instance configuration via the API continues to give the\npre-request values.\n\nUpon completion of the returned operation: \n\n* Creating instances using the instance configuration uses the new\nvalues.\n* The new values of the instance configuration are readable via the API.\n* The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield becomes false.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to track\nthe instance configuration modification. The\nmetadata field type is\n[UpdateInstanceConfigMetadata][google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata].\nThe response field type is\n[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig], if\nsuccessful.\n\nAuthorization requires `spanner.instanceConfigs.update` permission on\nthe resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].", - "file": "InstanceAdminClient/UpdateInstanceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstanceConfig", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.UpdateInstanceConfig", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "UpdateInstanceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.UpdateInstanceConfigRequest", - "name": "req" + "name": "req", + "type": "instancepb.UpdateInstanceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstanceConfigOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "UpdateInstanceConfig", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "UpdateInstanceConfig" }, + "description": "UpdateInstanceConfig updates an instance configuration. The returned\nlong-running operation can be used to track\nthe progress of updating the instance. If the named instance configuration\ndoes not exist, returns `NOT_FOUND`.\n\nOnly user-managed configurations can be updated.\n\nImmediately after the request returns: \n\n* The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield is set to true.\n\nWhile the operation is pending: \n\n* Cancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.cancel_time].\nThe operation is guaranteed to succeed at undoing all changes, after\nwhich point it terminates with a `CANCELLED` status.\n* All other attempts to modify the instance configuration are rejected.\n* Reading the instance configuration via the API continues to give the\npre-request values.\n\nUpon completion of the returned operation: \n\n* Creating instances using the instance configuration uses the new\nvalues.\n* The new values of the instance configuration are readable via the API.\n* The instance configuration's\n[reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]\nfield becomes false.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to track\nthe instance configuration modification. The\nmetadata field type is\n[UpdateInstanceConfigMetadata][google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata].\nThe response field type is\n[InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig], if\nsuccessful.\n\nAuthorization requires `spanner.instanceConfigs.update` permission on\nthe resource [name][google.spanner.admin.instance.v1.InstanceConfig.name].", + "file": "InstanceAdminClient/UpdateInstanceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_UpdateInstanceConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateInstanceConfig Sample" }, { - "regionTag": "spanner_v1_generated_InstanceAdmin_UpdateInstancePartition_sync", - "title": "spanner UpdateInstancePartition Sample", - "description": "UpdateInstancePartition updates an instance partition, and begins allocating or releasing resources\nas requested. The returned long-running operation can be used to track the\nprogress of updating the instance partition. If the named instance\npartition does not exist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request: \n\n* For resource types for which a decrease in the instance partition's\nallocation has been requested, billing is based on the newly-requested\nlevel.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.cancel_time],\nand begins restoring resources to their pre-request values. The\noperation is guaranteed to succeed at undoing all resource changes,\nafter which point it terminates with a `CANCELLED` status.\n* All other attempts to modify the instance partition are rejected.\n* Reading the instance partition via the API continues to give the\npre-request resource levels.\n\nUpon completion of the returned operation: \n\n* Billing begins for all successfully-allocated resources (some types\nmay have lower than the requested levels).\n* All newly-reserved resources are available for serving the instance\npartition's tables.\n* The instance partition's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to\ntrack the instance partition modification. The\nmetadata field type is\n[UpdateInstancePartitionMetadata][google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata].\nThe response field type is\n[InstancePartition][google.spanner.admin.instance.v1.InstancePartition], if\nsuccessful.\n\nAuthorization requires `spanner.instancePartitions.update` permission on\nthe resource\n[name][google.spanner.admin.instance.v1.InstancePartition.name].", - "file": "InstanceAdminClient/UpdateInstancePartition/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInstancePartition", + "client": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient", + "shortName": "InstanceAdminClient" + }, "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient.UpdateInstancePartition", + "method": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition", + "service": { + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "shortName": "InstanceAdmin" + }, + "shortName": "UpdateInstancePartition" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "instancepb.UpdateInstancePartitionRequest", - "name": "req" + "name": "req", + "type": "instancepb.UpdateInstancePartitionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInstancePartitionOperation", - "client": { - "shortName": "InstanceAdminClient", - "fullName": "google.spanner.admin.instance.v1.InstanceAdminClient" - }, - "method": { - "shortName": "UpdateInstancePartition", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition", - "service": { - "shortName": "InstanceAdmin", - "fullName": "google.spanner.admin.instance.v1.InstanceAdmin" - } - } + "shortName": "UpdateInstancePartition" }, + "description": "UpdateInstancePartition updates an instance partition, and begins allocating or releasing resources\nas requested. The returned long-running operation can be used to track the\nprogress of updating the instance partition. If the named instance\npartition does not exist, returns `NOT_FOUND`.\n\nImmediately upon completion of this request: \n\n* For resource types for which a decrease in the instance partition's\nallocation has been requested, billing is based on the newly-requested\nlevel.\n\nUntil completion of the returned operation: \n\n* Cancelling the operation sets its metadata's\n[cancel_time][google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.cancel_time],\nand begins restoring resources to their pre-request values. The\noperation is guaranteed to succeed at undoing all resource changes,\nafter which point it terminates with a `CANCELLED` status.\n* All other attempts to modify the instance partition are rejected.\n* Reading the instance partition via the API continues to give the\npre-request resource levels.\n\nUpon completion of the returned operation: \n\n* Billing begins for all successfully-allocated resources (some types\nmay have lower than the requested levels).\n* All newly-reserved resources are available for serving the instance\npartition's tables.\n* The instance partition's new resource levels are readable via the API.\n\nThe returned long-running operation will\nhave a name of the format\n`/operations/` and can be used to\ntrack the instance partition modification. The\nmetadata field type is\n[UpdateInstancePartitionMetadata][google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata].\nThe response field type is\n[InstancePartition][google.spanner.admin.instance.v1.InstancePartition], if\nsuccessful.\n\nAuthorization requires `spanner.instancePartitions.update` permission on\nthe resource\n[name][google.spanner.admin.instance.v1.InstancePartition.name].", + "file": "InstanceAdminClient/UpdateInstancePartition/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_InstanceAdmin_UpdateInstancePartition_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner UpdateInstancePartition Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json b/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json index 3bcd18e11542..83e3a70e325d 100644 --- a/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json +++ b/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json @@ -1,611 +1,611 @@ { "clientLibrary": { - "name": "cloud.google.com/go/spanner/apiv1", - "version": "1.88.0", - "language": "GO", "apis": [ { "id": "google.spanner.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/spanner/apiv1", + "version": "1.88.0" }, "snippets": [ { - "regionTag": "spanner_v1_generated_Spanner_BatchCreateSessions_sync", - "title": "spanner BatchCreateSessions Sample", - "description": "BatchCreateSessions creates multiple new sessions.\n\nThis API can be used to initialize a session cache on the clients.\nSee https: //goo.gl/TgSFN2 for best practices on session cache management.", - "file": "Client/BatchCreateSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateSessions", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.BatchCreateSessions", + "method": { + "fullName": "google.spanner.v1.Spanner.BatchCreateSessions", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "BatchCreateSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.BatchCreateSessionsRequest", - "name": "req" + "name": "req", + "type": "spannerpb.BatchCreateSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.BatchCreateSessionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "BatchCreateSessions", - "fullName": "google.spanner.v1.Spanner.BatchCreateSessions", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "BatchCreateSessions" }, + "description": "BatchCreateSessions creates multiple new sessions.\n\nThis API can be used to initialize a session cache on the clients.\nSee https: //goo.gl/TgSFN2 for best practices on session cache management.", + "file": "Client/BatchCreateSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_BatchCreateSessions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner BatchCreateSessions Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_BeginTransaction_sync", - "title": "spanner BeginTransaction Sample", - "description": "BeginTransaction begins a new transaction. This step can often be skipped: \n[Read][google.spanner.v1.Spanner.Read],\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and\n[Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a\nside-effect.", - "file": "Client/BeginTransaction/main.go", - "language": "GO", "clientMethod": { - "shortName": "BeginTransaction", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.BeginTransaction", + "method": { + "fullName": "google.spanner.v1.Spanner.BeginTransaction", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "BeginTransaction" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.BeginTransactionRequest", - "name": "req" + "name": "req", + "type": "spannerpb.BeginTransactionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.Transaction", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "BeginTransaction", - "fullName": "google.spanner.v1.Spanner.BeginTransaction", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "BeginTransaction" }, + "description": "BeginTransaction begins a new transaction. This step can often be skipped: \n[Read][google.spanner.v1.Spanner.Read],\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and\n[Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a\nside-effect.", + "file": "Client/BeginTransaction/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_BeginTransaction_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner BeginTransaction Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_Commit_sync", - "title": "spanner Commit Sample", - "description": "Commit commits a transaction. The request includes the mutations to be\napplied to rows in the database.\n\n`Commit` might return an `ABORTED` error. This can occur at any time;\ncommonly, the cause is conflicts with concurrent\ntransactions. However, it can also happen for a variety of other\nreasons. If `Commit` returns `ABORTED`, the caller should retry\nthe transaction from the beginning, reusing the same session.\n\nOn very rare occasions, `Commit` might return `UNKNOWN`. This can happen,\nfor example, if the client job experiences a 1+ hour networking failure.\nAt that point, Cloud Spanner has lost track of the transaction outcome and\nwe recommend that you perform another read from the database to see the\nstate of things as they are now.", - "file": "Client/Commit/main.go", - "language": "GO", "clientMethod": { - "shortName": "Commit", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.Commit", + "method": { + "fullName": "google.spanner.v1.Spanner.Commit", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "Commit" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.CommitRequest", - "name": "req" + "name": "req", + "type": "spannerpb.CommitRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.CommitResponse", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "Commit", - "fullName": "google.spanner.v1.Spanner.Commit", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "Commit" }, + "description": "Commit commits a transaction. The request includes the mutations to be\napplied to rows in the database.\n\n`Commit` might return an `ABORTED` error. This can occur at any time;\ncommonly, the cause is conflicts with concurrent\ntransactions. However, it can also happen for a variety of other\nreasons. If `Commit` returns `ABORTED`, the caller should retry\nthe transaction from the beginning, reusing the same session.\n\nOn very rare occasions, `Commit` might return `UNKNOWN`. This can happen,\nfor example, if the client job experiences a 1+ hour networking failure.\nAt that point, Cloud Spanner has lost track of the transaction outcome and\nwe recommend that you perform another read from the database to see the\nstate of things as they are now.", + "file": "Client/Commit/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_Commit_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner Commit Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_CreateSession_sync", - "title": "spanner CreateSession Sample", - "description": "CreateSession creates a new session. A session can be used to perform\ntransactions that read and/or modify data in a Cloud Spanner database.\nSessions are meant to be reused for many consecutive\ntransactions.\n\nSessions can only execute one transaction at a time. To execute\nmultiple concurrent read-write/write-only transactions, create\nmultiple sessions. Note that standalone reads and queries use a\ntransaction internally, and count toward the one transaction\nlimit.\n\nActive sessions use additional server resources, so it's a good idea to\ndelete idle and unneeded sessions.\nAside from explicit deletes, Cloud Spanner can delete sessions when no\noperations are sent for more than an hour. If a session is deleted,\nrequests to it return `NOT_FOUND`.\n\nIdle sessions can be kept alive by sending a trivial SQL query\nperiodically, for example, `\"SELECT 1\"`.", - "file": "Client/CreateSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSession", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.CreateSession", + "method": { + "fullName": "google.spanner.v1.Spanner.CreateSession", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "CreateSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.CreateSessionRequest", - "name": "req" + "name": "req", + "type": "spannerpb.CreateSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.Session", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.spanner.v1.Spanner.CreateSession", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "CreateSession" }, + "description": "CreateSession creates a new session. A session can be used to perform\ntransactions that read and/or modify data in a Cloud Spanner database.\nSessions are meant to be reused for many consecutive\ntransactions.\n\nSessions can only execute one transaction at a time. To execute\nmultiple concurrent read-write/write-only transactions, create\nmultiple sessions. Note that standalone reads and queries use a\ntransaction internally, and count toward the one transaction\nlimit.\n\nActive sessions use additional server resources, so it's a good idea to\ndelete idle and unneeded sessions.\nAside from explicit deletes, Cloud Spanner can delete sessions when no\noperations are sent for more than an hour. If a session is deleted,\nrequests to it return `NOT_FOUND`.\n\nIdle sessions can be kept alive by sending a trivial SQL query\nperiodically, for example, `\"SELECT 1\"`.", + "file": "Client/CreateSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_CreateSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner CreateSession Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_DeleteSession_sync", - "title": "spanner DeleteSession Sample", - "description": "DeleteSession ends a session, releasing server resources associated with it. This\nasynchronously triggers the cancellation of any operations that are running\nwith this session.", - "file": "Client/DeleteSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSession", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.DeleteSession", + "method": { + "fullName": "google.spanner.v1.Spanner.DeleteSession", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "DeleteSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.DeleteSessionRequest", - "name": "req" + "name": "req", + "type": "spannerpb.DeleteSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.spanner.v1.Spanner.DeleteSession", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "DeleteSession" }, + "description": "DeleteSession ends a session, releasing server resources associated with it. This\nasynchronously triggers the cancellation of any operations that are running\nwith this session.", + "file": "Client/DeleteSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_DeleteSession_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner DeleteSession Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_ExecuteBatchDml_sync", - "title": "spanner ExecuteBatchDml Sample", - "description": "ExecuteBatchDml executes a batch of SQL DML statements. This method allows many statements\nto be run with lower latency than submitting them sequentially with\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].\n\nStatements are executed in sequential order. A request can succeed even if\na statement fails. The\n[ExecuteBatchDmlResponse.status][google.spanner.v1.ExecuteBatchDmlResponse.status]\nfield in the response provides information about the statement that failed.\nClients must inspect this field to determine whether an error occurred.\n\nExecution stops after the first failed statement; the remaining statements\nare not executed.", - "file": "Client/ExecuteBatchDml/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteBatchDml", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.ExecuteBatchDml", + "method": { + "fullName": "google.spanner.v1.Spanner.ExecuteBatchDml", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "ExecuteBatchDml" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.ExecuteBatchDmlRequest", - "name": "req" + "name": "req", + "type": "spannerpb.ExecuteBatchDmlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.ExecuteBatchDmlResponse", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "ExecuteBatchDml", - "fullName": "google.spanner.v1.Spanner.ExecuteBatchDml", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "ExecuteBatchDml" }, + "description": "ExecuteBatchDml executes a batch of SQL DML statements. This method allows many statements\nto be run with lower latency than submitting them sequentially with\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].\n\nStatements are executed in sequential order. A request can succeed even if\na statement fails. The\n[ExecuteBatchDmlResponse.status][google.spanner.v1.ExecuteBatchDmlResponse.status]\nfield in the response provides information about the statement that failed.\nClients must inspect this field to determine whether an error occurred.\n\nExecution stops after the first failed statement; the remaining statements\nare not executed.", + "file": "Client/ExecuteBatchDml/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_ExecuteBatchDml_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ExecuteBatchDml Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_ExecuteSql_sync", - "title": "spanner ExecuteSql Sample", - "description": "ExecuteSql executes an SQL statement, returning all results in a single reply. This\nmethod can't be used to return a result set larger than 10 MiB;\nif the query yields more data than that, the query fails with\na `FAILED_PRECONDITION` error.\n\nOperations inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See [Transaction][google.spanner.v1.Transaction] for more\ndetails.\n\nLarger result sets can be fetched in streaming fashion by calling\n[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]\ninstead.\n\nThe query string can be SQL or [Graph Query Language\n(GQL)](https: //cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).", - "file": "Client/ExecuteSql/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteSql", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.ExecuteSql", + "method": { + "fullName": "google.spanner.v1.Spanner.ExecuteSql", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "ExecuteSql" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.ExecuteSqlRequest", - "name": "req" + "name": "req", + "type": "spannerpb.ExecuteSqlRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.ResultSet", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "ExecuteSql", - "fullName": "google.spanner.v1.Spanner.ExecuteSql", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "ExecuteSql" }, + "description": "ExecuteSql executes an SQL statement, returning all results in a single reply. This\nmethod can't be used to return a result set larger than 10 MiB;\nif the query yields more data than that, the query fails with\na `FAILED_PRECONDITION` error.\n\nOperations inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See [Transaction][google.spanner.v1.Transaction] for more\ndetails.\n\nLarger result sets can be fetched in streaming fashion by calling\n[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]\ninstead.\n\nThe query string can be SQL or [Graph Query Language\n(GQL)](https: //cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).", + "file": "Client/ExecuteSql/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_ExecuteSql_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ExecuteSql Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_GetSession_sync", - "title": "spanner GetSession Sample", - "description": "GetSession gets a session. Returns `NOT_FOUND` if the session doesn't exist.\nThis is mainly useful for determining whether a session is still\nalive.", - "file": "Client/GetSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSession", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.GetSession", + "method": { + "fullName": "google.spanner.v1.Spanner.GetSession", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "GetSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.GetSessionRequest", - "name": "req" + "name": "req", + "type": "spannerpb.GetSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.Session", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.spanner.v1.Spanner.GetSession", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "GetSession" }, + "description": "GetSession gets a session. Returns `NOT_FOUND` if the session doesn't exist.\nThis is mainly useful for determining whether a session is still\nalive.", + "file": "Client/GetSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_GetSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner GetSession Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_ListSessions_sync", - "title": "spanner ListSessions Sample", - "description": "ListSessions lists all sessions in a given database.", - "file": "Client/ListSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSessions", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.ListSessions", + "method": { + "fullName": "google.spanner.v1.Spanner.ListSessions", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "ListSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.ListSessionsRequest", - "name": "req" + "name": "req", + "type": "spannerpb.ListSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SessionIterator", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.spanner.v1.Spanner.ListSessions", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "ListSessions" }, + "description": "ListSessions lists all sessions in a given database.", + "file": "Client/ListSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_ListSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner ListSessions Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_PartitionQuery_sync", - "title": "spanner PartitionQuery Sample", - "description": "PartitionQuery creates a set of partition tokens that can be used to execute a query\noperation in parallel. Each of the returned partition tokens can be used\nby [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to\nspecify a subset of the query result to read. The same session and\nread-only transaction must be used by the `PartitionQueryRequest` used to\ncreate the partition tokens and the `ExecuteSqlRequests` that use the\npartition tokens.\n\nPartition tokens become invalid when the session used to create them\nis deleted, is idle for too long, begins a new transaction, or becomes too\nold. When any of these happen, it isn't possible to resume the query, and\nthe whole operation must be restarted from the beginning.", - "file": "Client/PartitionQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "PartitionQuery", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.PartitionQuery", + "method": { + "fullName": "google.spanner.v1.Spanner.PartitionQuery", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "PartitionQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.PartitionQueryRequest", - "name": "req" + "name": "req", + "type": "spannerpb.PartitionQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.PartitionResponse", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "PartitionQuery", - "fullName": "google.spanner.v1.Spanner.PartitionQuery", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "PartitionQuery" }, + "description": "PartitionQuery creates a set of partition tokens that can be used to execute a query\noperation in parallel. Each of the returned partition tokens can be used\nby [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to\nspecify a subset of the query result to read. The same session and\nread-only transaction must be used by the `PartitionQueryRequest` used to\ncreate the partition tokens and the `ExecuteSqlRequests` that use the\npartition tokens.\n\nPartition tokens become invalid when the session used to create them\nis deleted, is idle for too long, begins a new transaction, or becomes too\nold. When any of these happen, it isn't possible to resume the query, and\nthe whole operation must be restarted from the beginning.", + "file": "Client/PartitionQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_PartitionQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner PartitionQuery Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_PartitionRead_sync", - "title": "spanner PartitionRead Sample", - "description": "PartitionRead creates a set of partition tokens that can be used to execute a read\noperation in parallel. Each of the returned partition tokens can be used\nby [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a\nsubset of the read result to read. The same session and read-only\ntransaction must be used by the `PartitionReadRequest` used to create the\npartition tokens and the `ReadRequests` that use the partition tokens.\nThere are no ordering guarantees on rows returned among the returned\npartition tokens, or even within each individual `StreamingRead` call\nissued with a `partition_token`.\n\nPartition tokens become invalid when the session used to create them\nis deleted, is idle for too long, begins a new transaction, or becomes too\nold. When any of these happen, it isn't possible to resume the read, and\nthe whole operation must be restarted from the beginning.", - "file": "Client/PartitionRead/main.go", - "language": "GO", "clientMethod": { - "shortName": "PartitionRead", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.PartitionRead", + "method": { + "fullName": "google.spanner.v1.Spanner.PartitionRead", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "PartitionRead" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.PartitionReadRequest", - "name": "req" + "name": "req", + "type": "spannerpb.PartitionReadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.PartitionResponse", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "PartitionRead", - "fullName": "google.spanner.v1.Spanner.PartitionRead", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "PartitionRead" }, + "description": "PartitionRead creates a set of partition tokens that can be used to execute a read\noperation in parallel. Each of the returned partition tokens can be used\nby [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a\nsubset of the read result to read. The same session and read-only\ntransaction must be used by the `PartitionReadRequest` used to create the\npartition tokens and the `ReadRequests` that use the partition tokens.\nThere are no ordering guarantees on rows returned among the returned\npartition tokens, or even within each individual `StreamingRead` call\nissued with a `partition_token`.\n\nPartition tokens become invalid when the session used to create them\nis deleted, is idle for too long, begins a new transaction, or becomes too\nold. When any of these happen, it isn't possible to resume the read, and\nthe whole operation must be restarted from the beginning.", + "file": "Client/PartitionRead/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_PartitionRead_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner PartitionRead Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_Read_sync", - "title": "spanner Read Sample", - "description": "Read reads rows from the database using key lookups and scans, as a\nsimple key/value style alternative to\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method can't be\nused to return a result set larger than 10 MiB; if the read matches more\ndata than that, the read fails with a `FAILED_PRECONDITION`\nerror.\n\nReads inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See [Transaction][google.spanner.v1.Transaction] for more\ndetails.\n\nLarger result sets can be yielded in streaming fashion by calling\n[StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.", - "file": "Client/Read/main.go", - "language": "GO", "clientMethod": { - "shortName": "Read", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.Read", + "method": { + "fullName": "google.spanner.v1.Spanner.Read", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "Read" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.ReadRequest", - "name": "req" + "name": "req", + "type": "spannerpb.ReadRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*spannerpb.ResultSet", - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "Read", - "fullName": "google.spanner.v1.Spanner.Read", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "Read" }, + "description": "Read reads rows from the database using key lookups and scans, as a\nsimple key/value style alternative to\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method can't be\nused to return a result set larger than 10 MiB; if the read matches more\ndata than that, the read fails with a `FAILED_PRECONDITION`\nerror.\n\nReads inside read-write transactions might return `ABORTED`. If\nthis occurs, the application should restart the transaction from\nthe beginning. See [Transaction][google.spanner.v1.Transaction] for more\ndetails.\n\nLarger result sets can be yielded in streaming fashion by calling\n[StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead.", + "file": "Client/Read/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_Read_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner Read Sample" }, { - "regionTag": "spanner_v1_generated_Spanner_Rollback_sync", - "title": "spanner Rollback Sample", - "description": "Rollback rolls back a transaction, releasing any locks it holds. It's a good\nidea to call this for any transaction that includes one or more\n[Read][google.spanner.v1.Spanner.Read] or\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately\ndecides not to commit.\n\n`Rollback` returns `OK` if it successfully aborts the transaction, the\ntransaction was already aborted, or the transaction isn't\nfound. `Rollback` never returns `ABORTED`.", - "file": "Client/Rollback/main.go", - "language": "GO", "clientMethod": { - "shortName": "Rollback", + "client": { + "fullName": "google.spanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.spanner.v1.Client.Rollback", + "method": { + "fullName": "google.spanner.v1.Spanner.Rollback", + "service": { + "fullName": "google.spanner.v1.Spanner", + "shortName": "Spanner" + }, + "shortName": "Rollback" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "spannerpb.RollbackRequest", - "name": "req" + "name": "req", + "type": "spannerpb.RollbackRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.spanner.v1.Client" - }, - "method": { - "shortName": "Rollback", - "fullName": "google.spanner.v1.Spanner.Rollback", - "service": { - "shortName": "Spanner", - "fullName": "google.spanner.v1.Spanner" - } - } + "shortName": "Rollback" }, + "description": "Rollback rolls back a transaction, releasing any locks it holds. It's a good\nidea to call this for any transaction that includes one or more\n[Read][google.spanner.v1.Spanner.Read] or\n[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately\ndecides not to commit.\n\n`Rollback` returns `OK` if it successfully aborts the transaction, the\ntransaction was already aborted, or the transaction isn't\nfound. `Rollback` never returns `ABORTED`.", + "file": "Client/Rollback/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner_v1_generated_Spanner_Rollback_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner Rollback Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json b/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json index e7df7b69b009..f52003daec4e 100644 --- a/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json +++ b/internal/generated/snippets/spanner/executor/apiv1/snippet_metadata.google.spanner.executor.v1.json @@ -1,57 +1,57 @@ { "clientLibrary": { - "name": "cloud.google.com/go/spanner/executor/apiv1", - "version": "1.88.0", - "language": "GO", "apis": [ { "id": "google.spanner.executor.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/spanner/executor/apiv1", + "version": "1.88.0" }, "snippets": [ { - "regionTag": "spanner-cloud-executor_v1_generated_SpannerExecutorProxy_ExecuteActionAsync_sync", - "title": "spanner-cloud-executor ExecuteActionAsync Sample", - "description": "ExecuteActionAsync executeActionAsync is a streaming call that starts executing a new Spanner\naction.\n\nFor each request, the server will reply with one or more responses, but\nonly the last response will contain status in the outcome.\n\nResponses can be matched to requests by action_id. It is allowed to have\nmultiple actions in flight--in that case, actions are be executed in\nparallel.", - "file": "SpannerExecutorProxyClient/ExecuteActionAsync/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExecuteActionAsync", + "client": { + "fullName": "google.spanner.executor.v1.SpannerExecutorProxyClient", + "shortName": "SpannerExecutorProxyClient" + }, "fullName": "google.spanner.executor.v1.SpannerExecutorProxyClient.ExecuteActionAsync", + "method": { + "fullName": "google.spanner.executor.v1.SpannerExecutorProxy.ExecuteActionAsync", + "service": { + "fullName": "google.spanner.executor.v1.SpannerExecutorProxy", + "shortName": "SpannerExecutorProxy" + }, + "shortName": "ExecuteActionAsync" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "executorpb.SpannerExecutorProxy_ExecuteActionAsyncClient", - "client": { - "shortName": "SpannerExecutorProxyClient", - "fullName": "google.spanner.executor.v1.SpannerExecutorProxyClient" - }, - "method": { - "shortName": "ExecuteActionAsync", - "fullName": "google.spanner.executor.v1.SpannerExecutorProxy.ExecuteActionAsync", - "service": { - "shortName": "SpannerExecutorProxy", - "fullName": "google.spanner.executor.v1.SpannerExecutorProxy" - } - } + "shortName": "ExecuteActionAsync" }, + "description": "ExecuteActionAsync executeActionAsync is a streaming call that starts executing a new Spanner\naction.\n\nFor each request, the server will reply with one or more responses, but\nonly the last response will contain status in the outcome.\n\nResponses can be matched to requests by action_id. It is allowed to have\nmultiple actions in flight--in that case, actions are be executed in\nparallel.", + "file": "SpannerExecutorProxyClient/ExecuteActionAsync/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "spanner-cloud-executor_v1_generated_SpannerExecutorProxy_ExecuteActionAsync_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "spanner-cloud-executor ExecuteActionAsync Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json index e1c3b48c74ee..1b171d5126c2 100644 --- a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json +++ b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json @@ -1,791 +1,791 @@ { "clientLibrary": { - "name": "cloud.google.com/go/speech/apiv1", - "version": "1.30.0", - "language": "GO", "apis": [ { "id": "google.cloud.speech.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/speech/apiv1", + "version": "1.30.0" }, "snippets": [ { - "regionTag": "speech_v1_generated_Adaptation_CreateCustomClass_sync", - "title": "speech CreateCustomClass Sample", - "description": "CreateCustomClass create a custom class.", - "file": "AdaptationClient/CreateCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomClass", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.CreateCustomClass", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.CreateCustomClass", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "CreateCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreateCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreateCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "CreateCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.CreateCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "CreateCustomClass" }, + "description": "CreateCustomClass create a custom class.", + "file": "AdaptationClient/CreateCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_CreateCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreateCustomClass Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_CreatePhraseSet_sync", - "title": "speech CreatePhraseSet Sample", - "description": "CreatePhraseSet create a set of phrase hints. Each item in the set can be a single word or\na multi-word phrase. The items in the PhraseSet are favored by the\nrecognition model when you send a call that includes the PhraseSet.", - "file": "AdaptationClient/CreatePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePhraseSet", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.CreatePhraseSet", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.CreatePhraseSet", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "CreatePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreatePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreatePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "CreatePhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.CreatePhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "CreatePhraseSet" }, + "description": "CreatePhraseSet create a set of phrase hints. Each item in the set can be a single word or\na multi-word phrase. The items in the PhraseSet are favored by the\nrecognition model when you send a call that includes the PhraseSet.", + "file": "AdaptationClient/CreatePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_CreatePhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreatePhraseSet Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_DeleteCustomClass_sync", - "title": "speech DeleteCustomClass Sample", - "description": "DeleteCustomClass delete a custom class.", - "file": "AdaptationClient/DeleteCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomClass", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.DeleteCustomClass", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.DeleteCustomClass", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "DeleteCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeleteCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeleteCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "DeleteCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.DeleteCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "DeleteCustomClass" }, + "description": "DeleteCustomClass delete a custom class.", + "file": "AdaptationClient/DeleteCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_DeleteCustomClass_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeleteCustomClass Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_DeletePhraseSet_sync", - "title": "speech DeletePhraseSet Sample", - "description": "DeletePhraseSet delete a phrase set.", - "file": "AdaptationClient/DeletePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhraseSet", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.DeletePhraseSet", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.DeletePhraseSet", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "DeletePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeletePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeletePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "DeletePhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.DeletePhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "DeletePhraseSet" }, + "description": "DeletePhraseSet delete a phrase set.", + "file": "AdaptationClient/DeletePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_DeletePhraseSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeletePhraseSet Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_GetCustomClass_sync", - "title": "speech GetCustomClass Sample", - "description": "GetCustomClass get a custom class.", - "file": "AdaptationClient/GetCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomClass", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.GetCustomClass", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.GetCustomClass", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "GetCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "GetCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.GetCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "GetCustomClass" }, + "description": "GetCustomClass get a custom class.", + "file": "AdaptationClient/GetCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_GetCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetCustomClass Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_GetOperation_sync", - "title": "speech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AdaptationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AdaptationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetOperation Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_GetPhraseSet_sync", - "title": "speech GetPhraseSet Sample", - "description": "GetPhraseSet get a phrase set.", - "file": "AdaptationClient/GetPhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhraseSet", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.GetPhraseSet", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.GetPhraseSet", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "GetPhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetPhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetPhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "GetPhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.GetPhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "GetPhraseSet" }, + "description": "GetPhraseSet get a phrase set.", + "file": "AdaptationClient/GetPhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_GetPhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetPhraseSet Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_ListCustomClasses_sync", - "title": "speech ListCustomClasses Sample", - "description": "ListCustomClasses list custom classes.", - "file": "AdaptationClient/ListCustomClasses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomClasses", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.ListCustomClasses", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.ListCustomClasses", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "ListCustomClasses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListCustomClassesRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListCustomClassesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomClassIterator", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "ListCustomClasses", - "fullName": "google.cloud.speech.v1.Adaptation.ListCustomClasses", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "ListCustomClasses" }, + "description": "ListCustomClasses list custom classes.", + "file": "AdaptationClient/ListCustomClasses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_ListCustomClasses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListCustomClasses Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_ListOperations_sync", - "title": "speech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AdaptationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AdaptationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListOperations Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_ListPhraseSet_sync", - "title": "speech ListPhraseSet Sample", - "description": "ListPhraseSet list phrase sets.", - "file": "AdaptationClient/ListPhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhraseSet", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.ListPhraseSet", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.ListPhraseSet", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "ListPhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListPhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListPhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PhraseSetIterator", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "ListPhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.ListPhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "ListPhraseSet" }, + "description": "ListPhraseSet list phrase sets.", + "file": "AdaptationClient/ListPhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_ListPhraseSet_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListPhraseSet Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_UpdateCustomClass_sync", - "title": "speech UpdateCustomClass Sample", - "description": "UpdateCustomClass update a custom class.", - "file": "AdaptationClient/UpdateCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomClass", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.UpdateCustomClass", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.UpdateCustomClass", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "UpdateCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdateCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdateCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "UpdateCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.UpdateCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "UpdateCustomClass" }, + "description": "UpdateCustomClass update a custom class.", + "file": "AdaptationClient/UpdateCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_UpdateCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdateCustomClass Sample" }, { - "regionTag": "speech_v1_generated_Adaptation_UpdatePhraseSet_sync", - "title": "speech UpdatePhraseSet Sample", - "description": "UpdatePhraseSet update a phrase set.", - "file": "AdaptationClient/UpdatePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePhraseSet", + "client": { + "fullName": "google.cloud.speech.v1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1.AdaptationClient.UpdatePhraseSet", + "method": { + "fullName": "google.cloud.speech.v1.Adaptation.UpdatePhraseSet", + "service": { + "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "UpdatePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdatePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdatePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1.AdaptationClient" - }, - "method": { - "shortName": "UpdatePhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.UpdatePhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation" - } - } + "shortName": "UpdatePhraseSet" }, + "description": "UpdatePhraseSet update a phrase set.", + "file": "AdaptationClient/UpdatePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Adaptation_UpdatePhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdatePhraseSet Sample" }, { - "regionTag": "speech_v1_generated_Speech_GetOperation_sync", - "title": "speech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.speech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Speech_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetOperation Sample" }, { - "regionTag": "speech_v1_generated_Speech_ListOperations_sync", - "title": "speech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.speech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Speech_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListOperations Sample" }, { - "regionTag": "speech_v1_generated_Speech_LongRunningRecognize_sync", - "title": "speech LongRunningRecognize Sample", - "description": "LongRunningRecognize performs asynchronous speech recognition: receive results via the\ngoogle.longrunning.Operations interface. Returns either an\n`Operation.error` or an `Operation.response` which contains\na `LongRunningRecognizeResponse` message.\nFor more information on asynchronous speech recognition, see the\n[how-to](https: //cloud.google.com/speech-to-text/docs/async-recognize).", - "file": "Client/LongRunningRecognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "LongRunningRecognize", + "client": { + "fullName": "google.cloud.speech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1.Client.LongRunningRecognize", + "method": { + "fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", + "service": { + "fullName": "google.cloud.speech.v1.Speech", + "shortName": "Speech" + }, + "shortName": "LongRunningRecognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.LongRunningRecognizeRequest", - "name": "req" + "name": "req", + "type": "speechpb.LongRunningRecognizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LongRunningRecognizeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1.Client" - }, - "method": { - "shortName": "LongRunningRecognize", - "fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1.Speech" - } - } + "shortName": "LongRunningRecognize" }, + "description": "LongRunningRecognize performs asynchronous speech recognition: receive results via the\ngoogle.longrunning.Operations interface. Returns either an\n`Operation.error` or an `Operation.response` which contains\na `LongRunningRecognizeResponse` message.\nFor more information on asynchronous speech recognition, see the\n[how-to](https: //cloud.google.com/speech-to-text/docs/async-recognize).", + "file": "Client/LongRunningRecognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Speech_LongRunningRecognize_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech LongRunningRecognize Sample" }, { - "regionTag": "speech_v1_generated_Speech_Recognize_sync", - "title": "speech Recognize Sample", - "description": "Recognize performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.", - "file": "Client/Recognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Recognize", + "client": { + "fullName": "google.cloud.speech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1.Client.Recognize", + "method": { + "fullName": "google.cloud.speech.v1.Speech.Recognize", + "service": { + "fullName": "google.cloud.speech.v1.Speech", + "shortName": "Speech" + }, + "shortName": "Recognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.RecognizeRequest", - "name": "req" + "name": "req", + "type": "speechpb.RecognizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.RecognizeResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1.Client" - }, - "method": { - "shortName": "Recognize", - "fullName": "google.cloud.speech.v1.Speech.Recognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1.Speech" - } - } + "shortName": "Recognize" }, + "description": "Recognize performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.", + "file": "Client/Recognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Speech_Recognize_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech Recognize Sample" }, { - "regionTag": "speech_v1_generated_Speech_StreamingRecognize_sync", - "title": "speech StreamingRecognize Sample", - "description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.", - "file": "Client/StreamingRecognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingRecognize", + "client": { + "fullName": "google.cloud.speech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1.Client.StreamingRecognize", + "method": { + "fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", + "service": { + "fullName": "google.cloud.speech.v1.Speech", + "shortName": "Speech" + }, + "shortName": "StreamingRecognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "speechpb.Speech_StreamingRecognizeClient", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1.Client" - }, - "method": { - "shortName": "StreamingRecognize", - "fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1.Speech" - } - } + "shortName": "StreamingRecognize" }, + "description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.", + "file": "Client/StreamingRecognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1_generated_Speech_StreamingRecognize_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech StreamingRecognize Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json index 3a7a45eb5db1..a77cf5efe019 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json +++ b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json @@ -1,791 +1,791 @@ { "clientLibrary": { - "name": "cloud.google.com/go/speech/apiv1p1beta1", - "version": "1.30.0", - "language": "GO", "apis": [ { "id": "google.cloud.speech.v1p1beta1", "version": "v1p1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/speech/apiv1p1beta1", + "version": "1.30.0" }, "snippets": [ { - "regionTag": "speech_v1p1beta1_generated_Adaptation_CreateCustomClass_sync", - "title": "speech CreateCustomClass Sample", - "description": "CreateCustomClass create a custom class.", - "file": "AdaptationClient/CreateCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomClass", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.CreateCustomClass", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreateCustomClass", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "CreateCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreateCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreateCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "CreateCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreateCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "CreateCustomClass" }, + "description": "CreateCustomClass create a custom class.", + "file": "AdaptationClient/CreateCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_CreateCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreateCustomClass Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_sync", - "title": "speech CreatePhraseSet Sample", - "description": "CreatePhraseSet create a set of phrase hints. Each item in the set can be a single word or\na multi-word phrase. The items in the PhraseSet are favored by the\nrecognition model when you send a call that includes the PhraseSet.", - "file": "AdaptationClient/CreatePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePhraseSet", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.CreatePhraseSet", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreatePhraseSet", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "CreatePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreatePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreatePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "CreatePhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreatePhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "CreatePhraseSet" }, + "description": "CreatePhraseSet create a set of phrase hints. Each item in the set can be a single word or\na multi-word phrase. The items in the PhraseSet are favored by the\nrecognition model when you send a call that includes the PhraseSet.", + "file": "AdaptationClient/CreatePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreatePhraseSet Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_sync", - "title": "speech DeleteCustomClass Sample", - "description": "DeleteCustomClass delete a custom class.", - "file": "AdaptationClient/DeleteCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomClass", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.DeleteCustomClass", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeleteCustomClass", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "DeleteCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeleteCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeleteCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "DeleteCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeleteCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "DeleteCustomClass" }, + "description": "DeleteCustomClass delete a custom class.", + "file": "AdaptationClient/DeleteCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeleteCustomClass Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_sync", - "title": "speech DeletePhraseSet Sample", - "description": "DeletePhraseSet delete a phrase set.", - "file": "AdaptationClient/DeletePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhraseSet", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.DeletePhraseSet", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeletePhraseSet", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "DeletePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeletePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeletePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "DeletePhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeletePhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "DeletePhraseSet" }, + "description": "DeletePhraseSet delete a phrase set.", + "file": "AdaptationClient/DeletePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeletePhraseSet Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_GetCustomClass_sync", - "title": "speech GetCustomClass Sample", - "description": "GetCustomClass get a custom class.", - "file": "AdaptationClient/GetCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomClass", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.GetCustomClass", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetCustomClass", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "GetCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "GetCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "GetCustomClass" }, + "description": "GetCustomClass get a custom class.", + "file": "AdaptationClient/GetCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetCustomClass Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_GetOperation_sync", - "title": "speech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AdaptationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AdaptationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetOperation Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_GetPhraseSet_sync", - "title": "speech GetPhraseSet Sample", - "description": "GetPhraseSet get a phrase set.", - "file": "AdaptationClient/GetPhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhraseSet", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.GetPhraseSet", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetPhraseSet", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "GetPhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetPhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetPhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "GetPhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetPhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "GetPhraseSet" }, + "description": "GetPhraseSet get a phrase set.", + "file": "AdaptationClient/GetPhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetPhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetPhraseSet Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_ListCustomClasses_sync", - "title": "speech ListCustomClasses Sample", - "description": "ListCustomClasses list custom classes.", - "file": "AdaptationClient/ListCustomClasses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomClasses", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.ListCustomClasses", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListCustomClasses", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "ListCustomClasses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListCustomClassesRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListCustomClassesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomClassIterator", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "ListCustomClasses", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListCustomClasses", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "ListCustomClasses" }, + "description": "ListCustomClasses list custom classes.", + "file": "AdaptationClient/ListCustomClasses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListCustomClasses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListCustomClasses Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_ListOperations_sync", - "title": "speech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AdaptationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AdaptationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListOperations Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_ListPhraseSet_sync", - "title": "speech ListPhraseSet Sample", - "description": "ListPhraseSet list phrase sets.", - "file": "AdaptationClient/ListPhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhraseSet", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.ListPhraseSet", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListPhraseSet", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "ListPhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListPhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListPhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PhraseSetIterator", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "ListPhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListPhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "ListPhraseSet" }, + "description": "ListPhraseSet list phrase sets.", + "file": "AdaptationClient/ListPhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListPhraseSet_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListPhraseSet Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_sync", - "title": "speech UpdateCustomClass Sample", - "description": "UpdateCustomClass update a custom class.", - "file": "AdaptationClient/UpdateCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomClass", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.UpdateCustomClass", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdateCustomClass", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "UpdateCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdateCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdateCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "UpdateCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdateCustomClass", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "UpdateCustomClass" }, + "description": "UpdateCustomClass update a custom class.", + "file": "AdaptationClient/UpdateCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdateCustomClass Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_sync", - "title": "speech UpdatePhraseSet Sample", - "description": "UpdatePhraseSet update a phrase set.", - "file": "AdaptationClient/UpdatePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePhraseSet", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient", + "shortName": "AdaptationClient" + }, "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient.UpdatePhraseSet", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdatePhraseSet", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "shortName": "Adaptation" + }, + "shortName": "UpdatePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdatePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdatePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "AdaptationClient", - "fullName": "google.cloud.speech.v1p1beta1.AdaptationClient" - }, - "method": { - "shortName": "UpdatePhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdatePhraseSet", - "service": { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation" - } - } + "shortName": "UpdatePhraseSet" }, + "description": "UpdatePhraseSet update a phrase set.", + "file": "AdaptationClient/UpdatePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdatePhraseSet Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Speech_GetOperation_sync", - "title": "speech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1p1beta1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1p1beta1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Speech_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetOperation Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Speech_ListOperations_sync", - "title": "speech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1p1beta1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1p1beta1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Speech_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListOperations Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Speech_LongRunningRecognize_sync", - "title": "speech LongRunningRecognize Sample", - "description": "LongRunningRecognize performs asynchronous speech recognition: receive results via the\ngoogle.longrunning.Operations interface. Returns either an\n`Operation.error` or an `Operation.response` which contains\na `LongRunningRecognizeResponse` message.\nFor more information on asynchronous speech recognition, see the\n[how-to](https: //cloud.google.com/speech-to-text/docs/async-recognize).", - "file": "Client/LongRunningRecognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "LongRunningRecognize", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1p1beta1.Client.LongRunningRecognize", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Speech.LongRunningRecognize", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Speech", + "shortName": "Speech" + }, + "shortName": "LongRunningRecognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.LongRunningRecognizeRequest", - "name": "req" + "name": "req", + "type": "speechpb.LongRunningRecognizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LongRunningRecognizeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1p1beta1.Client" - }, - "method": { - "shortName": "LongRunningRecognize", - "fullName": "google.cloud.speech.v1p1beta1.Speech.LongRunningRecognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1p1beta1.Speech" - } - } + "shortName": "LongRunningRecognize" }, + "description": "LongRunningRecognize performs asynchronous speech recognition: receive results via the\ngoogle.longrunning.Operations interface. Returns either an\n`Operation.error` or an `Operation.response` which contains\na `LongRunningRecognizeResponse` message.\nFor more information on asynchronous speech recognition, see the\n[how-to](https: //cloud.google.com/speech-to-text/docs/async-recognize).", + "file": "Client/LongRunningRecognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Speech_LongRunningRecognize_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech LongRunningRecognize Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Speech_Recognize_sync", - "title": "speech Recognize Sample", - "description": "Recognize performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.", - "file": "Client/Recognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Recognize", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1p1beta1.Client.Recognize", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Speech.Recognize", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Speech", + "shortName": "Speech" + }, + "shortName": "Recognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.RecognizeRequest", - "name": "req" + "name": "req", + "type": "speechpb.RecognizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.RecognizeResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1p1beta1.Client" - }, - "method": { - "shortName": "Recognize", - "fullName": "google.cloud.speech.v1p1beta1.Speech.Recognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1p1beta1.Speech" - } - } + "shortName": "Recognize" }, + "description": "Recognize performs synchronous speech recognition: receive results after all audio\nhas been sent and processed.", + "file": "Client/Recognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Speech_Recognize_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech Recognize Sample" }, { - "regionTag": "speech_v1p1beta1_generated_Speech_StreamingRecognize_sync", - "title": "speech StreamingRecognize Sample", - "description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.", - "file": "Client/StreamingRecognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingRecognize", + "client": { + "fullName": "google.cloud.speech.v1p1beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v1p1beta1.Client.StreamingRecognize", + "method": { + "fullName": "google.cloud.speech.v1p1beta1.Speech.StreamingRecognize", + "service": { + "fullName": "google.cloud.speech.v1p1beta1.Speech", + "shortName": "Speech" + }, + "shortName": "StreamingRecognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "speechpb.Speech_StreamingRecognizeClient", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v1p1beta1.Client" - }, - "method": { - "shortName": "StreamingRecognize", - "fullName": "google.cloud.speech.v1p1beta1.Speech.StreamingRecognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1p1beta1.Speech" - } - } + "shortName": "StreamingRecognize" }, + "description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.", + "file": "Client/StreamingRecognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v1p1beta1_generated_Speech_StreamingRecognize_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech StreamingRecognize Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json index 4f6f88a8cf54..8fec6305bb1a 100644 --- a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json +++ b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json @@ -1,1343 +1,1343 @@ { "clientLibrary": { - "name": "cloud.google.com/go/speech/apiv2", - "version": "1.30.0", - "language": "GO", "apis": [ { "id": "google.cloud.speech.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/speech/apiv2", + "version": "1.30.0" }, "snippets": [ { - "regionTag": "speech_v2_generated_Speech_BatchRecognize_sync", - "title": "speech BatchRecognize Sample", - "description": "BatchRecognize performs batch asynchronous speech recognition: send a request with N\naudio files and receive a long running operation that can be polled to see\nwhen the transcriptions are finished.", - "file": "Client/BatchRecognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchRecognize", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.BatchRecognize", + "method": { + "fullName": "google.cloud.speech.v2.Speech.BatchRecognize", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "BatchRecognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.BatchRecognizeRequest", - "name": "req" + "name": "req", + "type": "speechpb.BatchRecognizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchRecognizeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "BatchRecognize", - "fullName": "google.cloud.speech.v2.Speech.BatchRecognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "BatchRecognize" }, + "description": "BatchRecognize performs batch asynchronous speech recognition: send a request with N\naudio files and receive a long running operation that can be polled to see\nwhen the transcriptions are finished.", + "file": "Client/BatchRecognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_BatchRecognize_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech BatchRecognize Sample" }, { - "regionTag": "speech_v2_generated_Speech_CancelOperation_sync", - "title": "speech CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CancelOperation Sample" }, { - "regionTag": "speech_v2_generated_Speech_CreateCustomClass_sync", - "title": "speech CreateCustomClass Sample", - "description": "CreateCustomClass creates a [CustomClass][google.cloud.speech.v2.CustomClass].", - "file": "Client/CreateCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCustomClass", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.CreateCustomClass", + "method": { + "fullName": "google.cloud.speech.v2.Speech.CreateCustomClass", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "CreateCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreateCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreateCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCustomClassOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "CreateCustomClass", - "fullName": "google.cloud.speech.v2.Speech.CreateCustomClass", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "CreateCustomClass" }, + "description": "CreateCustomClass creates a [CustomClass][google.cloud.speech.v2.CustomClass].", + "file": "Client/CreateCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_CreateCustomClass_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreateCustomClass Sample" }, { - "regionTag": "speech_v2_generated_Speech_CreatePhraseSet_sync", - "title": "speech CreatePhraseSet Sample", - "description": "CreatePhraseSet creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].", - "file": "Client/CreatePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePhraseSet", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.CreatePhraseSet", + "method": { + "fullName": "google.cloud.speech.v2.Speech.CreatePhraseSet", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "CreatePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreatePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreatePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePhraseSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "CreatePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.CreatePhraseSet", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "CreatePhraseSet" }, + "description": "CreatePhraseSet creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].", + "file": "Client/CreatePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_CreatePhraseSet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreatePhraseSet Sample" }, { - "regionTag": "speech_v2_generated_Speech_CreateRecognizer_sync", - "title": "speech CreateRecognizer Sample", - "description": "CreateRecognizer creates a [Recognizer][google.cloud.speech.v2.Recognizer].", - "file": "Client/CreateRecognizer/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateRecognizer", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.CreateRecognizer", + "method": { + "fullName": "google.cloud.speech.v2.Speech.CreateRecognizer", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "CreateRecognizer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.CreateRecognizerRequest", - "name": "req" + "name": "req", + "type": "speechpb.CreateRecognizerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateRecognizerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "CreateRecognizer", - "fullName": "google.cloud.speech.v2.Speech.CreateRecognizer", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "CreateRecognizer" }, + "description": "CreateRecognizer creates a [Recognizer][google.cloud.speech.v2.Recognizer].", + "file": "Client/CreateRecognizer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_CreateRecognizer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech CreateRecognizer Sample" }, { - "regionTag": "speech_v2_generated_Speech_DeleteCustomClass_sync", - "title": "speech DeleteCustomClass Sample", - "description": "DeleteCustomClass deletes the [CustomClass][google.cloud.speech.v2.CustomClass].", - "file": "Client/DeleteCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCustomClass", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.DeleteCustomClass", + "method": { + "fullName": "google.cloud.speech.v2.Speech.DeleteCustomClass", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "DeleteCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeleteCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeleteCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCustomClassOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "DeleteCustomClass", - "fullName": "google.cloud.speech.v2.Speech.DeleteCustomClass", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "DeleteCustomClass" }, + "description": "DeleteCustomClass deletes the [CustomClass][google.cloud.speech.v2.CustomClass].", + "file": "Client/DeleteCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_DeleteCustomClass_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeleteCustomClass Sample" }, { - "regionTag": "speech_v2_generated_Speech_DeleteOperation_sync", - "title": "speech DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeleteOperation Sample" }, { - "regionTag": "speech_v2_generated_Speech_DeletePhraseSet_sync", - "title": "speech DeletePhraseSet Sample", - "description": "DeletePhraseSet deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].", - "file": "Client/DeletePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhraseSet", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.DeletePhraseSet", + "method": { + "fullName": "google.cloud.speech.v2.Speech.DeletePhraseSet", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "DeletePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeletePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeletePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePhraseSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "DeletePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.DeletePhraseSet", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "DeletePhraseSet" }, + "description": "DeletePhraseSet deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].", + "file": "Client/DeletePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_DeletePhraseSet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeletePhraseSet Sample" }, { - "regionTag": "speech_v2_generated_Speech_DeleteRecognizer_sync", - "title": "speech DeleteRecognizer Sample", - "description": "DeleteRecognizer deletes the [Recognizer][google.cloud.speech.v2.Recognizer].", - "file": "Client/DeleteRecognizer/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteRecognizer", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.DeleteRecognizer", + "method": { + "fullName": "google.cloud.speech.v2.Speech.DeleteRecognizer", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "DeleteRecognizer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.DeleteRecognizerRequest", - "name": "req" + "name": "req", + "type": "speechpb.DeleteRecognizerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteRecognizerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "DeleteRecognizer", - "fullName": "google.cloud.speech.v2.Speech.DeleteRecognizer", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "DeleteRecognizer" }, + "description": "DeleteRecognizer deletes the [Recognizer][google.cloud.speech.v2.Recognizer].", + "file": "Client/DeleteRecognizer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_DeleteRecognizer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech DeleteRecognizer Sample" }, { - "regionTag": "speech_v2_generated_Speech_GetConfig_sync", - "title": "speech GetConfig Sample", - "description": "GetConfig returns the requested [Config][google.cloud.speech.v2.Config].", - "file": "Client/GetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConfig", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.GetConfig", + "method": { + "fullName": "google.cloud.speech.v2.Speech.GetConfig", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "GetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetConfigRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.Config", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "GetConfig", - "fullName": "google.cloud.speech.v2.Speech.GetConfig", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "GetConfig" }, + "description": "GetConfig returns the requested [Config][google.cloud.speech.v2.Config].", + "file": "Client/GetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_GetConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetConfig Sample" }, { - "regionTag": "speech_v2_generated_Speech_GetCustomClass_sync", - "title": "speech GetCustomClass Sample", - "description": "GetCustomClass returns the requested\n[CustomClass][google.cloud.speech.v2.CustomClass].", - "file": "Client/GetCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCustomClass", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.GetCustomClass", + "method": { + "fullName": "google.cloud.speech.v2.Speech.GetCustomClass", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "GetCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.CustomClass", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "GetCustomClass", - "fullName": "google.cloud.speech.v2.Speech.GetCustomClass", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "GetCustomClass" }, + "description": "GetCustomClass returns the requested\n[CustomClass][google.cloud.speech.v2.CustomClass].", + "file": "Client/GetCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_GetCustomClass_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetCustomClass Sample" }, { - "regionTag": "speech_v2_generated_Speech_GetLocation_sync", - "title": "speech GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetLocation Sample" }, { - "regionTag": "speech_v2_generated_Speech_GetOperation_sync", - "title": "speech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetOperation Sample" }, { - "regionTag": "speech_v2_generated_Speech_GetPhraseSet_sync", - "title": "speech GetPhraseSet Sample", - "description": "GetPhraseSet returns the requested\n[PhraseSet][google.cloud.speech.v2.PhraseSet].", - "file": "Client/GetPhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhraseSet", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.GetPhraseSet", + "method": { + "fullName": "google.cloud.speech.v2.Speech.GetPhraseSet", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "GetPhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetPhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetPhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.PhraseSet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "GetPhraseSet", - "fullName": "google.cloud.speech.v2.Speech.GetPhraseSet", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "GetPhraseSet" }, + "description": "GetPhraseSet returns the requested\n[PhraseSet][google.cloud.speech.v2.PhraseSet].", + "file": "Client/GetPhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_GetPhraseSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetPhraseSet Sample" }, { - "regionTag": "speech_v2_generated_Speech_GetRecognizer_sync", - "title": "speech GetRecognizer Sample", - "description": "GetRecognizer returns the requested\n[Recognizer][google.cloud.speech.v2.Recognizer]. Fails with\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't\nexist.", - "file": "Client/GetRecognizer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetRecognizer", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.GetRecognizer", + "method": { + "fullName": "google.cloud.speech.v2.Speech.GetRecognizer", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "GetRecognizer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.GetRecognizerRequest", - "name": "req" + "name": "req", + "type": "speechpb.GetRecognizerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.Recognizer", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "GetRecognizer", - "fullName": "google.cloud.speech.v2.Speech.GetRecognizer", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "GetRecognizer" }, + "description": "GetRecognizer returns the requested\n[Recognizer][google.cloud.speech.v2.Recognizer]. Fails with\n[NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't\nexist.", + "file": "Client/GetRecognizer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_GetRecognizer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech GetRecognizer Sample" }, { - "regionTag": "speech_v2_generated_Speech_ListCustomClasses_sync", - "title": "speech ListCustomClasses Sample", - "description": "ListCustomClasses lists CustomClasses.", - "file": "Client/ListCustomClasses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCustomClasses", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.ListCustomClasses", + "method": { + "fullName": "google.cloud.speech.v2.Speech.ListCustomClasses", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "ListCustomClasses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListCustomClassesRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListCustomClassesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CustomClassIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "ListCustomClasses", - "fullName": "google.cloud.speech.v2.Speech.ListCustomClasses", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "ListCustomClasses" }, + "description": "ListCustomClasses lists CustomClasses.", + "file": "Client/ListCustomClasses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_ListCustomClasses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListCustomClasses Sample" }, { - "regionTag": "speech_v2_generated_Speech_ListLocations_sync", - "title": "speech ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListLocations Sample" }, { - "regionTag": "speech_v2_generated_Speech_ListOperations_sync", - "title": "speech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListOperations Sample" }, { - "regionTag": "speech_v2_generated_Speech_ListPhraseSets_sync", - "title": "speech ListPhraseSets Sample", - "description": "ListPhraseSets lists PhraseSets.", - "file": "Client/ListPhraseSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhraseSets", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.ListPhraseSets", + "method": { + "fullName": "google.cloud.speech.v2.Speech.ListPhraseSets", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "ListPhraseSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListPhraseSetsRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListPhraseSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PhraseSetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "ListPhraseSets", - "fullName": "google.cloud.speech.v2.Speech.ListPhraseSets", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "ListPhraseSets" }, + "description": "ListPhraseSets lists PhraseSets.", + "file": "Client/ListPhraseSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_ListPhraseSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListPhraseSets Sample" }, { - "regionTag": "speech_v2_generated_Speech_ListRecognizers_sync", - "title": "speech ListRecognizers Sample", - "description": "ListRecognizers lists Recognizers.", - "file": "Client/ListRecognizers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRecognizers", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.ListRecognizers", + "method": { + "fullName": "google.cloud.speech.v2.Speech.ListRecognizers", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "ListRecognizers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.ListRecognizersRequest", - "name": "req" + "name": "req", + "type": "speechpb.ListRecognizersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RecognizerIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "ListRecognizers", - "fullName": "google.cloud.speech.v2.Speech.ListRecognizers", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "ListRecognizers" }, + "description": "ListRecognizers lists Recognizers.", + "file": "Client/ListRecognizers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_ListRecognizers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech ListRecognizers Sample" }, { - "regionTag": "speech_v2_generated_Speech_Recognize_sync", - "title": "speech Recognize Sample", - "description": "Recognize performs synchronous Speech recognition: receive results after all audio\nhas been sent and processed.", - "file": "Client/Recognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "Recognize", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.Recognize", + "method": { + "fullName": "google.cloud.speech.v2.Speech.Recognize", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "Recognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.RecognizeRequest", - "name": "req" + "name": "req", + "type": "speechpb.RecognizeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.RecognizeResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "Recognize", - "fullName": "google.cloud.speech.v2.Speech.Recognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "Recognize" }, + "description": "Recognize performs synchronous Speech recognition: receive results after all audio\nhas been sent and processed.", + "file": "Client/Recognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_Recognize_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech Recognize Sample" }, { - "regionTag": "speech_v2_generated_Speech_StreamingRecognize_sync", - "title": "speech StreamingRecognize Sample", - "description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.", - "file": "Client/StreamingRecognize/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingRecognize", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.StreamingRecognize", + "method": { + "fullName": "google.cloud.speech.v2.Speech.StreamingRecognize", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "StreamingRecognize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "speechpb.Speech_StreamingRecognizeClient", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "StreamingRecognize", - "fullName": "google.cloud.speech.v2.Speech.StreamingRecognize", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "StreamingRecognize" }, + "description": "StreamingRecognize performs bidirectional streaming speech recognition: receive results while\nsending audio. This method is only available via the gRPC API (not REST).\n\n\nThis method is not supported for the REST transport.", + "file": "Client/StreamingRecognize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_StreamingRecognize_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech StreamingRecognize Sample" }, { - "regionTag": "speech_v2_generated_Speech_UndeleteCustomClass_sync", - "title": "speech UndeleteCustomClass Sample", - "description": "UndeleteCustomClass undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].", - "file": "Client/UndeleteCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteCustomClass", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UndeleteCustomClass", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UndeleteCustomClass", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UndeleteCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UndeleteCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.UndeleteCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteCustomClassOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UndeleteCustomClass", - "fullName": "google.cloud.speech.v2.Speech.UndeleteCustomClass", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UndeleteCustomClass" }, + "description": "UndeleteCustomClass undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].", + "file": "Client/UndeleteCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UndeleteCustomClass_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UndeleteCustomClass Sample" }, { - "regionTag": "speech_v2_generated_Speech_UndeletePhraseSet_sync", - "title": "speech UndeletePhraseSet Sample", - "description": "UndeletePhraseSet undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].", - "file": "Client/UndeletePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeletePhraseSet", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UndeletePhraseSet", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UndeletePhraseSet", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UndeletePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UndeletePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.UndeletePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeletePhraseSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UndeletePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.UndeletePhraseSet", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UndeletePhraseSet" }, + "description": "UndeletePhraseSet undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].", + "file": "Client/UndeletePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UndeletePhraseSet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UndeletePhraseSet Sample" }, { - "regionTag": "speech_v2_generated_Speech_UndeleteRecognizer_sync", - "title": "speech UndeleteRecognizer Sample", - "description": "UndeleteRecognizer undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].", - "file": "Client/UndeleteRecognizer/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeleteRecognizer", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UndeleteRecognizer", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UndeleteRecognizer", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UndeleteRecognizer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UndeleteRecognizerRequest", - "name": "req" + "name": "req", + "type": "speechpb.UndeleteRecognizerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeleteRecognizerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UndeleteRecognizer", - "fullName": "google.cloud.speech.v2.Speech.UndeleteRecognizer", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UndeleteRecognizer" }, + "description": "UndeleteRecognizer undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].", + "file": "Client/UndeleteRecognizer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UndeleteRecognizer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UndeleteRecognizer Sample" }, { - "regionTag": "speech_v2_generated_Speech_UpdateConfig_sync", - "title": "speech UpdateConfig Sample", - "description": "UpdateConfig updates the [Config][google.cloud.speech.v2.Config].", - "file": "Client/UpdateConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateConfig", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UpdateConfig", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UpdateConfig", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UpdateConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdateConfigRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdateConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*speechpb.Config", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UpdateConfig", - "fullName": "google.cloud.speech.v2.Speech.UpdateConfig", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UpdateConfig" }, + "description": "UpdateConfig updates the [Config][google.cloud.speech.v2.Config].", + "file": "Client/UpdateConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UpdateConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdateConfig Sample" }, { - "regionTag": "speech_v2_generated_Speech_UpdateCustomClass_sync", - "title": "speech UpdateCustomClass Sample", - "description": "UpdateCustomClass updates the [CustomClass][google.cloud.speech.v2.CustomClass].", - "file": "Client/UpdateCustomClass/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCustomClass", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UpdateCustomClass", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UpdateCustomClass", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UpdateCustomClass" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdateCustomClassRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdateCustomClassRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCustomClassOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UpdateCustomClass", - "fullName": "google.cloud.speech.v2.Speech.UpdateCustomClass", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UpdateCustomClass" }, + "description": "UpdateCustomClass updates the [CustomClass][google.cloud.speech.v2.CustomClass].", + "file": "Client/UpdateCustomClass/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UpdateCustomClass_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdateCustomClass Sample" }, { - "regionTag": "speech_v2_generated_Speech_UpdatePhraseSet_sync", - "title": "speech UpdatePhraseSet Sample", - "description": "UpdatePhraseSet updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].", - "file": "Client/UpdatePhraseSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePhraseSet", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UpdatePhraseSet", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UpdatePhraseSet", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UpdatePhraseSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdatePhraseSetRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdatePhraseSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePhraseSetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UpdatePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.UpdatePhraseSet", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UpdatePhraseSet" }, + "description": "UpdatePhraseSet updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].", + "file": "Client/UpdatePhraseSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UpdatePhraseSet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdatePhraseSet Sample" }, { - "regionTag": "speech_v2_generated_Speech_UpdateRecognizer_sync", - "title": "speech UpdateRecognizer Sample", - "description": "UpdateRecognizer updates the [Recognizer][google.cloud.speech.v2.Recognizer].", - "file": "Client/UpdateRecognizer/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateRecognizer", + "client": { + "fullName": "google.cloud.speech.v2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.speech.v2.Client.UpdateRecognizer", + "method": { + "fullName": "google.cloud.speech.v2.Speech.UpdateRecognizer", + "service": { + "fullName": "google.cloud.speech.v2.Speech", + "shortName": "Speech" + }, + "shortName": "UpdateRecognizer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "speechpb.UpdateRecognizerRequest", - "name": "req" + "name": "req", + "type": "speechpb.UpdateRecognizerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateRecognizerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.speech.v2.Client" - }, - "method": { - "shortName": "UpdateRecognizer", - "fullName": "google.cloud.speech.v2.Speech.UpdateRecognizer", - "service": { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech" - } - } + "shortName": "UpdateRecognizer" }, + "description": "UpdateRecognizer updates the [Recognizer][google.cloud.speech.v2.Recognizer].", + "file": "Client/UpdateRecognizer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "speech_v2_generated_Speech_UpdateRecognizer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "speech UpdateRecognizer Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json b/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json index 51a014cefb77..10ccb964c684 100644 --- a/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json +++ b/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json @@ -1,1255 +1,1255 @@ { "clientLibrary": { - "name": "cloud.google.com/go/storage/control/apiv2", - "version": "1.61.3", - "language": "GO", "apis": [ { "id": "google.storage.control.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/storage/control/apiv2", + "version": "1.61.3" }, "snippets": [ { - "regionTag": "storage_v2_generated_StorageControl_CreateAnywhereCache_sync", - "title": "storage CreateAnywhereCache Sample", - "description": "CreateAnywhereCache creates an Anywhere Cache instance.", - "file": "StorageControlClient/CreateAnywhereCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnywhereCache", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.CreateAnywhereCache", + "method": { + "fullName": "google.storage.control.v2.StorageControl.CreateAnywhereCache", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "CreateAnywhereCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.CreateAnywhereCacheRequest", - "name": "req" + "name": "req", + "type": "controlpb.CreateAnywhereCacheRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAnywhereCacheOperation", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "CreateAnywhereCache", - "fullName": "google.storage.control.v2.StorageControl.CreateAnywhereCache", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "CreateAnywhereCache" }, + "description": "CreateAnywhereCache creates an Anywhere Cache instance.", + "file": "StorageControlClient/CreateAnywhereCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_CreateAnywhereCache_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage CreateAnywhereCache Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_CreateFolder_sync", - "title": "storage CreateFolder Sample", - "description": "CreateFolder creates a new folder. This operation is only applicable to a hierarchical\nnamespace enabled bucket.", - "file": "StorageControlClient/CreateFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.CreateFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.CreateFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "CreateFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.CreateFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.CreateFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.Folder", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "CreateFolder", - "fullName": "google.storage.control.v2.StorageControl.CreateFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "CreateFolder" }, + "description": "CreateFolder creates a new folder. This operation is only applicable to a hierarchical\nnamespace enabled bucket.", + "file": "StorageControlClient/CreateFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_CreateFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage CreateFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_CreateManagedFolder_sync", - "title": "storage CreateManagedFolder Sample", - "description": "CreateManagedFolder creates a new managed folder.", - "file": "StorageControlClient/CreateManagedFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateManagedFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.CreateManagedFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.CreateManagedFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "CreateManagedFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.CreateManagedFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.CreateManagedFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.ManagedFolder", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "CreateManagedFolder", - "fullName": "google.storage.control.v2.StorageControl.CreateManagedFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "CreateManagedFolder" }, + "description": "CreateManagedFolder creates a new managed folder.", + "file": "StorageControlClient/CreateManagedFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_CreateManagedFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage CreateManagedFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_DeleteFolder_sync", - "title": "storage DeleteFolder Sample", - "description": "DeleteFolder permanently deletes an empty folder. This operation is only applicable to a\nhierarchical namespace enabled bucket.", - "file": "StorageControlClient/DeleteFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.DeleteFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.DeleteFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "DeleteFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.DeleteFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.DeleteFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "DeleteFolder", - "fullName": "google.storage.control.v2.StorageControl.DeleteFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "DeleteFolder" }, + "description": "DeleteFolder permanently deletes an empty folder. This operation is only applicable to a\nhierarchical namespace enabled bucket.", + "file": "StorageControlClient/DeleteFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_DeleteFolder_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage DeleteFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_DeleteFolderRecursive_sync", - "title": "storage DeleteFolderRecursive Sample", - "description": "DeleteFolderRecursive deletes a folder recursively. This operation is only applicable to a\nhierarchical namespace enabled bucket.", - "file": "StorageControlClient/DeleteFolderRecursive/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteFolderRecursive", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.DeleteFolderRecursive", + "method": { + "fullName": "google.storage.control.v2.StorageControl.DeleteFolderRecursive", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "DeleteFolderRecursive" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.DeleteFolderRecursiveRequest", - "name": "req" + "name": "req", + "type": "controlpb.DeleteFolderRecursiveRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteFolderRecursiveOperation", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "DeleteFolderRecursive", - "fullName": "google.storage.control.v2.StorageControl.DeleteFolderRecursive", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "DeleteFolderRecursive" }, + "description": "DeleteFolderRecursive deletes a folder recursively. This operation is only applicable to a\nhierarchical namespace enabled bucket.", + "file": "StorageControlClient/DeleteFolderRecursive/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_DeleteFolderRecursive_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage DeleteFolderRecursive Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_DeleteManagedFolder_sync", - "title": "storage DeleteManagedFolder Sample", - "description": "DeleteManagedFolder permanently deletes an empty managed folder.", - "file": "StorageControlClient/DeleteManagedFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteManagedFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.DeleteManagedFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.DeleteManagedFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "DeleteManagedFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.DeleteManagedFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.DeleteManagedFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "DeleteManagedFolder", - "fullName": "google.storage.control.v2.StorageControl.DeleteManagedFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "DeleteManagedFolder" }, + "description": "DeleteManagedFolder permanently deletes an empty managed folder.", + "file": "StorageControlClient/DeleteManagedFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_DeleteManagedFolder_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage DeleteManagedFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_DisableAnywhereCache_sync", - "title": "storage DisableAnywhereCache Sample", - "description": "DisableAnywhereCache disables an Anywhere Cache instance. A disabled instance is read-only. The\ndisablement could be revoked by calling ResumeAnywhereCache. The cache\ninstance will be deleted automatically if it remains in the disabled state\nfor at least one hour.", - "file": "StorageControlClient/DisableAnywhereCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "DisableAnywhereCache", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.DisableAnywhereCache", + "method": { + "fullName": "google.storage.control.v2.StorageControl.DisableAnywhereCache", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "DisableAnywhereCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.DisableAnywhereCacheRequest", - "name": "req" + "name": "req", + "type": "controlpb.DisableAnywhereCacheRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.AnywhereCache", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "DisableAnywhereCache", - "fullName": "google.storage.control.v2.StorageControl.DisableAnywhereCache", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "DisableAnywhereCache" }, + "description": "DisableAnywhereCache disables an Anywhere Cache instance. A disabled instance is read-only. The\ndisablement could be revoked by calling ResumeAnywhereCache. The cache\ninstance will be deleted automatically if it remains in the disabled state\nfor at least one hour.", + "file": "StorageControlClient/DisableAnywhereCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_DisableAnywhereCache_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage DisableAnywhereCache Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetAnywhereCache_sync", - "title": "storage GetAnywhereCache Sample", - "description": "GetAnywhereCache gets an Anywhere Cache instance.", - "file": "StorageControlClient/GetAnywhereCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnywhereCache", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetAnywhereCache", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetAnywhereCache", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetAnywhereCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetAnywhereCacheRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetAnywhereCacheRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.AnywhereCache", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetAnywhereCache", - "fullName": "google.storage.control.v2.StorageControl.GetAnywhereCache", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetAnywhereCache" }, + "description": "GetAnywhereCache gets an Anywhere Cache instance.", + "file": "StorageControlClient/GetAnywhereCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetAnywhereCache_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetAnywhereCache Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetFolder_sync", - "title": "storage GetFolder Sample", - "description": "GetFolder returns metadata for the specified folder. This operation is only\napplicable to a hierarchical namespace enabled bucket.", - "file": "StorageControlClient/GetFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.Folder", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetFolder", - "fullName": "google.storage.control.v2.StorageControl.GetFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetFolder" }, + "description": "GetFolder returns metadata for the specified folder. This operation is only\napplicable to a hierarchical namespace enabled bucket.", + "file": "StorageControlClient/GetFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetFolderIntelligenceConfig_sync", - "title": "storage GetFolderIntelligenceConfig Sample", - "description": "GetFolderIntelligenceConfig returns the Folder scoped singleton IntelligenceConfig resource.", - "file": "StorageControlClient/GetFolderIntelligenceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFolderIntelligenceConfig", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetFolderIntelligenceConfig", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetFolderIntelligenceConfig", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetFolderIntelligenceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetFolderIntelligenceConfigRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetFolderIntelligenceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.IntelligenceConfig", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetFolderIntelligenceConfig", - "fullName": "google.storage.control.v2.StorageControl.GetFolderIntelligenceConfig", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetFolderIntelligenceConfig" }, + "description": "GetFolderIntelligenceConfig returns the Folder scoped singleton IntelligenceConfig resource.", + "file": "StorageControlClient/GetFolderIntelligenceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetFolderIntelligenceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetFolderIntelligenceConfig Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetIamPolicy_sync", - "title": "storage GetIamPolicy Sample", - "description": "GetIamPolicy gets the IAM policy for a specified bucket.\nThe `resource` field in the request should be\n`projects/_/buckets/{bucket}` for a bucket, or\n`projects/_/buckets/{bucket}/managedFolders/{managedFolder}`\nfor a managed folder.", - "file": "StorageControlClient/GetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIamPolicy", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetIamPolicy", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetIamPolicy", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.storage.control.v2.StorageControl.GetIamPolicy", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetIamPolicy" }, + "description": "GetIamPolicy gets the IAM policy for a specified bucket.\nThe `resource` field in the request should be\n`projects/_/buckets/{bucket}` for a bucket, or\n`projects/_/buckets/{bucket}/managedFolders/{managedFolder}`\nfor a managed folder.", + "file": "StorageControlClient/GetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetIamPolicy Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetManagedFolder_sync", - "title": "storage GetManagedFolder Sample", - "description": "GetManagedFolder returns metadata for the specified managed folder.", - "file": "StorageControlClient/GetManagedFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetManagedFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetManagedFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetManagedFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetManagedFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetManagedFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetManagedFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.ManagedFolder", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetManagedFolder", - "fullName": "google.storage.control.v2.StorageControl.GetManagedFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetManagedFolder" }, + "description": "GetManagedFolder returns metadata for the specified managed folder.", + "file": "StorageControlClient/GetManagedFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetManagedFolder_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetManagedFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetOrganizationIntelligenceConfig_sync", - "title": "storage GetOrganizationIntelligenceConfig Sample", - "description": "GetOrganizationIntelligenceConfig returns the Organization scoped singleton IntelligenceConfig resource.", - "file": "StorageControlClient/GetOrganizationIntelligenceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrganizationIntelligenceConfig", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetOrganizationIntelligenceConfig", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetOrganizationIntelligenceConfig", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetOrganizationIntelligenceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetOrganizationIntelligenceConfigRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetOrganizationIntelligenceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.IntelligenceConfig", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetOrganizationIntelligenceConfig", - "fullName": "google.storage.control.v2.StorageControl.GetOrganizationIntelligenceConfig", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetOrganizationIntelligenceConfig" }, + "description": "GetOrganizationIntelligenceConfig returns the Organization scoped singleton IntelligenceConfig resource.", + "file": "StorageControlClient/GetOrganizationIntelligenceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetOrganizationIntelligenceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetOrganizationIntelligenceConfig Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetProjectIntelligenceConfig_sync", - "title": "storage GetProjectIntelligenceConfig Sample", - "description": "GetProjectIntelligenceConfig returns the Project scoped singleton IntelligenceConfig resource.", - "file": "StorageControlClient/GetProjectIntelligenceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProjectIntelligenceConfig", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetProjectIntelligenceConfig", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetProjectIntelligenceConfig", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetProjectIntelligenceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetProjectIntelligenceConfigRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetProjectIntelligenceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.IntelligenceConfig", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetProjectIntelligenceConfig", - "fullName": "google.storage.control.v2.StorageControl.GetProjectIntelligenceConfig", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetProjectIntelligenceConfig" }, + "description": "GetProjectIntelligenceConfig returns the Project scoped singleton IntelligenceConfig resource.", + "file": "StorageControlClient/GetProjectIntelligenceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetProjectIntelligenceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetProjectIntelligenceConfig Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_GetStorageLayout_sync", - "title": "storage GetStorageLayout Sample", - "description": "GetStorageLayout returns the storage layout configuration for a given bucket.", - "file": "StorageControlClient/GetStorageLayout/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStorageLayout", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.GetStorageLayout", + "method": { + "fullName": "google.storage.control.v2.StorageControl.GetStorageLayout", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "GetStorageLayout" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.GetStorageLayoutRequest", - "name": "req" + "name": "req", + "type": "controlpb.GetStorageLayoutRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.StorageLayout", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "GetStorageLayout", - "fullName": "google.storage.control.v2.StorageControl.GetStorageLayout", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "GetStorageLayout" }, + "description": "GetStorageLayout returns the storage layout configuration for a given bucket.", + "file": "StorageControlClient/GetStorageLayout/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_GetStorageLayout_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage GetStorageLayout Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_ListAnywhereCaches_sync", - "title": "storage ListAnywhereCaches Sample", - "description": "ListAnywhereCaches lists Anywhere Cache instances for a given bucket.", - "file": "StorageControlClient/ListAnywhereCaches/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnywhereCaches", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.ListAnywhereCaches", + "method": { + "fullName": "google.storage.control.v2.StorageControl.ListAnywhereCaches", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "ListAnywhereCaches" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.ListAnywhereCachesRequest", - "name": "req" + "name": "req", + "type": "controlpb.ListAnywhereCachesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnywhereCacheIterator", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "ListAnywhereCaches", - "fullName": "google.storage.control.v2.StorageControl.ListAnywhereCaches", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "ListAnywhereCaches" }, + "description": "ListAnywhereCaches lists Anywhere Cache instances for a given bucket.", + "file": "StorageControlClient/ListAnywhereCaches/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_ListAnywhereCaches_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage ListAnywhereCaches Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_ListFolders_sync", - "title": "storage ListFolders Sample", - "description": "ListFolders retrieves a list of folders. This operation is only applicable to a\nhierarchical namespace enabled bucket.", - "file": "StorageControlClient/ListFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFolders", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.ListFolders", + "method": { + "fullName": "google.storage.control.v2.StorageControl.ListFolders", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "ListFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.ListFoldersRequest", - "name": "req" + "name": "req", + "type": "controlpb.ListFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FolderIterator", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "ListFolders", - "fullName": "google.storage.control.v2.StorageControl.ListFolders", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "ListFolders" }, + "description": "ListFolders retrieves a list of folders. This operation is only applicable to a\nhierarchical namespace enabled bucket.", + "file": "StorageControlClient/ListFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_ListFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage ListFolders Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_ListManagedFolders_sync", - "title": "storage ListManagedFolders Sample", - "description": "ListManagedFolders retrieves a list of managed folders for a given bucket.", - "file": "StorageControlClient/ListManagedFolders/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagedFolders", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.ListManagedFolders", + "method": { + "fullName": "google.storage.control.v2.StorageControl.ListManagedFolders", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "ListManagedFolders" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.ListManagedFoldersRequest", - "name": "req" + "name": "req", + "type": "controlpb.ListManagedFoldersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagedFolderIterator", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "ListManagedFolders", - "fullName": "google.storage.control.v2.StorageControl.ListManagedFolders", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "ListManagedFolders" }, + "description": "ListManagedFolders retrieves a list of managed folders for a given bucket.", + "file": "StorageControlClient/ListManagedFolders/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_ListManagedFolders_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage ListManagedFolders Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_PauseAnywhereCache_sync", - "title": "storage PauseAnywhereCache Sample", - "description": "PauseAnywhereCache pauses an Anywhere Cache instance.", - "file": "StorageControlClient/PauseAnywhereCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseAnywhereCache", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.PauseAnywhereCache", + "method": { + "fullName": "google.storage.control.v2.StorageControl.PauseAnywhereCache", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "PauseAnywhereCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.PauseAnywhereCacheRequest", - "name": "req" + "name": "req", + "type": "controlpb.PauseAnywhereCacheRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.AnywhereCache", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "PauseAnywhereCache", - "fullName": "google.storage.control.v2.StorageControl.PauseAnywhereCache", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "PauseAnywhereCache" }, + "description": "PauseAnywhereCache pauses an Anywhere Cache instance.", + "file": "StorageControlClient/PauseAnywhereCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_PauseAnywhereCache_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage PauseAnywhereCache Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_RenameFolder_sync", - "title": "storage RenameFolder Sample", - "description": "RenameFolder renames a source folder to a destination folder. This operation is only\napplicable to a hierarchical namespace enabled bucket. During a rename, the\nsource and destination folders are locked until the long running operation\ncompletes.", - "file": "StorageControlClient/RenameFolder/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenameFolder", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.RenameFolder", + "method": { + "fullName": "google.storage.control.v2.StorageControl.RenameFolder", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "RenameFolder" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.RenameFolderRequest", - "name": "req" + "name": "req", + "type": "controlpb.RenameFolderRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RenameFolderOperation", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "RenameFolder", - "fullName": "google.storage.control.v2.StorageControl.RenameFolder", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "RenameFolder" }, + "description": "RenameFolder renames a source folder to a destination folder. This operation is only\napplicable to a hierarchical namespace enabled bucket. During a rename, the\nsource and destination folders are locked until the long running operation\ncompletes.", + "file": "StorageControlClient/RenameFolder/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_RenameFolder_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage RenameFolder Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_ResumeAnywhereCache_sync", - "title": "storage ResumeAnywhereCache Sample", - "description": "ResumeAnywhereCache resumes a disabled or paused Anywhere Cache instance.", - "file": "StorageControlClient/ResumeAnywhereCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeAnywhereCache", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.ResumeAnywhereCache", + "method": { + "fullName": "google.storage.control.v2.StorageControl.ResumeAnywhereCache", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "ResumeAnywhereCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.ResumeAnywhereCacheRequest", - "name": "req" + "name": "req", + "type": "controlpb.ResumeAnywhereCacheRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.AnywhereCache", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "ResumeAnywhereCache", - "fullName": "google.storage.control.v2.StorageControl.ResumeAnywhereCache", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "ResumeAnywhereCache" }, + "description": "ResumeAnywhereCache resumes a disabled or paused Anywhere Cache instance.", + "file": "StorageControlClient/ResumeAnywhereCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_ResumeAnywhereCache_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage ResumeAnywhereCache Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_SetIamPolicy_sync", - "title": "storage SetIamPolicy Sample", - "description": "SetIamPolicy updates an IAM policy for the specified bucket.\nThe `resource` field in the request should be\n`projects/_/buckets/{bucket}` for a bucket, or\n`projects/_/buckets/{bucket}/managedFolders/{managedFolder}`\nfor a managed folder.", - "file": "StorageControlClient/SetIamPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "SetIamPolicy", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.SetIamPolicy", + "method": { + "fullName": "google.storage.control.v2.StorageControl.SetIamPolicy", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.storage.control.v2.StorageControl.SetIamPolicy", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "SetIamPolicy" }, + "description": "SetIamPolicy updates an IAM policy for the specified bucket.\nThe `resource` field in the request should be\n`projects/_/buckets/{bucket}` for a bucket, or\n`projects/_/buckets/{bucket}/managedFolders/{managedFolder}`\nfor a managed folder.", + "file": "StorageControlClient/SetIamPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage SetIamPolicy Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_TestIamPermissions_sync", - "title": "storage TestIamPermissions Sample", - "description": "TestIamPermissions tests a set of permissions on the given bucket, object, or managed folder\nto see which, if any, are held by the caller.\nThe `resource` field in the request should be\n`projects/_/buckets/{bucket}` for a bucket,\n`projects/_/buckets/{bucket}/objects/{object}` for an object, or\n`projects/_/buckets/{bucket}/managedFolders/{managedFolder}`\nfor a managed folder.", - "file": "StorageControlClient/TestIamPermissions/main.go", - "language": "GO", "clientMethod": { - "shortName": "TestIamPermissions", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.TestIamPermissions", + "method": { + "fullName": "google.storage.control.v2.StorageControl.TestIamPermissions", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.storage.control.v2.StorageControl.TestIamPermissions", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "TestIamPermissions" }, + "description": "TestIamPermissions tests a set of permissions on the given bucket, object, or managed folder\nto see which, if any, are held by the caller.\nThe `resource` field in the request should be\n`projects/_/buckets/{bucket}` for a bucket,\n`projects/_/buckets/{bucket}/objects/{object}` for an object, or\n`projects/_/buckets/{bucket}/managedFolders/{managedFolder}`\nfor a managed folder.", + "file": "StorageControlClient/TestIamPermissions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage TestIamPermissions Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_UpdateAnywhereCache_sync", - "title": "storage UpdateAnywhereCache Sample", - "description": "UpdateAnywhereCache updates an Anywhere Cache instance. Mutable fields include `ttl` and\n`admission_policy`.", - "file": "StorageControlClient/UpdateAnywhereCache/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAnywhereCache", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.UpdateAnywhereCache", + "method": { + "fullName": "google.storage.control.v2.StorageControl.UpdateAnywhereCache", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "UpdateAnywhereCache" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.UpdateAnywhereCacheRequest", - "name": "req" + "name": "req", + "type": "controlpb.UpdateAnywhereCacheRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAnywhereCacheOperation", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "UpdateAnywhereCache", - "fullName": "google.storage.control.v2.StorageControl.UpdateAnywhereCache", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "UpdateAnywhereCache" }, + "description": "UpdateAnywhereCache updates an Anywhere Cache instance. Mutable fields include `ttl` and\n`admission_policy`.", + "file": "StorageControlClient/UpdateAnywhereCache/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_UpdateAnywhereCache_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage UpdateAnywhereCache Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_UpdateFolderIntelligenceConfig_sync", - "title": "storage UpdateFolderIntelligenceConfig Sample", - "description": "UpdateFolderIntelligenceConfig updates the Folder scoped singleton IntelligenceConfig resource.", - "file": "StorageControlClient/UpdateFolderIntelligenceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateFolderIntelligenceConfig", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.UpdateFolderIntelligenceConfig", + "method": { + "fullName": "google.storage.control.v2.StorageControl.UpdateFolderIntelligenceConfig", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "UpdateFolderIntelligenceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.UpdateFolderIntelligenceConfigRequest", - "name": "req" + "name": "req", + "type": "controlpb.UpdateFolderIntelligenceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.IntelligenceConfig", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "UpdateFolderIntelligenceConfig", - "fullName": "google.storage.control.v2.StorageControl.UpdateFolderIntelligenceConfig", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "UpdateFolderIntelligenceConfig" }, + "description": "UpdateFolderIntelligenceConfig updates the Folder scoped singleton IntelligenceConfig resource.", + "file": "StorageControlClient/UpdateFolderIntelligenceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_UpdateFolderIntelligenceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage UpdateFolderIntelligenceConfig Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_UpdateOrganizationIntelligenceConfig_sync", - "title": "storage UpdateOrganizationIntelligenceConfig Sample", - "description": "UpdateOrganizationIntelligenceConfig updates the Organization scoped singleton IntelligenceConfig resource.", - "file": "StorageControlClient/UpdateOrganizationIntelligenceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOrganizationIntelligenceConfig", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.UpdateOrganizationIntelligenceConfig", + "method": { + "fullName": "google.storage.control.v2.StorageControl.UpdateOrganizationIntelligenceConfig", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "UpdateOrganizationIntelligenceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.UpdateOrganizationIntelligenceConfigRequest", - "name": "req" + "name": "req", + "type": "controlpb.UpdateOrganizationIntelligenceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.IntelligenceConfig", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "UpdateOrganizationIntelligenceConfig", - "fullName": "google.storage.control.v2.StorageControl.UpdateOrganizationIntelligenceConfig", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "UpdateOrganizationIntelligenceConfig" }, + "description": "UpdateOrganizationIntelligenceConfig updates the Organization scoped singleton IntelligenceConfig resource.", + "file": "StorageControlClient/UpdateOrganizationIntelligenceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_UpdateOrganizationIntelligenceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage UpdateOrganizationIntelligenceConfig Sample" }, { - "regionTag": "storage_v2_generated_StorageControl_UpdateProjectIntelligenceConfig_sync", - "title": "storage UpdateProjectIntelligenceConfig Sample", - "description": "UpdateProjectIntelligenceConfig updates the Project scoped singleton IntelligenceConfig resource.", - "file": "StorageControlClient/UpdateProjectIntelligenceConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProjectIntelligenceConfig", + "client": { + "fullName": "google.storage.control.v2.StorageControlClient", + "shortName": "StorageControlClient" + }, "fullName": "google.storage.control.v2.StorageControlClient.UpdateProjectIntelligenceConfig", + "method": { + "fullName": "google.storage.control.v2.StorageControl.UpdateProjectIntelligenceConfig", + "service": { + "fullName": "google.storage.control.v2.StorageControl", + "shortName": "StorageControl" + }, + "shortName": "UpdateProjectIntelligenceConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "controlpb.UpdateProjectIntelligenceConfigRequest", - "name": "req" + "name": "req", + "type": "controlpb.UpdateProjectIntelligenceConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*controlpb.IntelligenceConfig", - "client": { - "shortName": "StorageControlClient", - "fullName": "google.storage.control.v2.StorageControlClient" - }, - "method": { - "shortName": "UpdateProjectIntelligenceConfig", - "fullName": "google.storage.control.v2.StorageControl.UpdateProjectIntelligenceConfig", - "service": { - "shortName": "StorageControl", - "fullName": "google.storage.control.v2.StorageControl" - } - } + "shortName": "UpdateProjectIntelligenceConfig" }, + "description": "UpdateProjectIntelligenceConfig updates the Project scoped singleton IntelligenceConfig resource.", + "file": "StorageControlClient/UpdateProjectIntelligenceConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storage_v2_generated_StorageControl_UpdateProjectIntelligenceConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storage UpdateProjectIntelligenceConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/storagebatchoperations/apiv1/snippet_metadata.google.cloud.storagebatchoperations.v1.json b/internal/generated/snippets/storagebatchoperations/apiv1/snippet_metadata.google.cloud.storagebatchoperations.v1.json index fd723c22b3c9..da8c4d2bb3da 100644 --- a/internal/generated/snippets/storagebatchoperations/apiv1/snippet_metadata.google.cloud.storagebatchoperations.v1.json +++ b/internal/generated/snippets/storagebatchoperations/apiv1/snippet_metadata.google.cloud.storagebatchoperations.v1.json @@ -1,610 +1,610 @@ { "clientLibrary": { - "name": "cloud.google.com/go/storagebatchoperations/apiv1", - "version": "0.4.0", - "language": "GO", "apis": [ { "id": "google.cloud.storagebatchoperations.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/storagebatchoperations/apiv1", + "version": "0.4.0" }, "snippets": [ { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_CancelJob_sync", - "title": "storagebatchoperations CancelJob Sample", - "description": "CancelJob cancels a batch job.", - "file": "Client/CancelJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelJob", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.CancelJob", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "CancelJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.CancelJobRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.CancelJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagebatchoperationspb.CancelJobResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "CancelJob", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "CancelJob" }, + "description": "CancelJob cancels a batch job.", + "file": "Client/CancelJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_CancelJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations CancelJob Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_CancelOperation_sync", - "title": "storagebatchoperations CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations CancelOperation Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_CreateJob_sync", - "title": "storagebatchoperations CreateJob Sample", - "description": "CreateJob creates a batch job.", - "file": "Client/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.CreateJob", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a batch job.", + "file": "Client/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_CreateJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations CreateJob Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_DeleteJob_sync", - "title": "storagebatchoperations DeleteJob Sample", - "description": "DeleteJob deletes a batch job.", - "file": "Client/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.DeleteJob", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes a batch job.", + "file": "Client/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations DeleteJob Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_DeleteOperation_sync", - "title": "storagebatchoperations DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations DeleteOperation Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetBucketOperation_sync", - "title": "storagebatchoperations GetBucketOperation Sample", - "description": "GetBucketOperation gets a BucketOperation.", - "file": "Client/GetBucketOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBucketOperation", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.GetBucketOperation", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetBucketOperation", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "GetBucketOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.GetBucketOperationRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.GetBucketOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagebatchoperationspb.BucketOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "GetBucketOperation", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetBucketOperation", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "GetBucketOperation" }, + "description": "GetBucketOperation gets a BucketOperation.", + "file": "Client/GetBucketOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetBucketOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations GetBucketOperation Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetJob_sync", - "title": "storagebatchoperations GetJob Sample", - "description": "GetJob gets a batch job.", - "file": "Client/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.GetJob", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.GetJobRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagebatchoperationspb.Job", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "GetJob" }, + "description": "GetJob gets a batch job.", + "file": "Client/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations GetJob Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetLocation_sync", - "title": "storagebatchoperations GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations GetLocation Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetOperation_sync", - "title": "storagebatchoperations GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations GetOperation Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListBucketOperations_sync", - "title": "storagebatchoperations ListBucketOperations Sample", - "description": "ListBucketOperations lists BucketOperations in a given project and job.", - "file": "Client/ListBucketOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBucketOperations", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.ListBucketOperations", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListBucketOperations", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "ListBucketOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.ListBucketOperationsRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.ListBucketOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BucketOperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "ListBucketOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListBucketOperations", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "ListBucketOperations" }, + "description": "ListBucketOperations lists BucketOperations in a given project and job.", + "file": "Client/ListBucketOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListBucketOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations ListBucketOperations Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListJobs_sync", - "title": "storagebatchoperations ListJobs Sample", - "description": "ListJobs lists Jobs in a given project.", - "file": "Client/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.ListJobs", + "method": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs", + "service": { + "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations", + "shortName": "StorageBatchOperations" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagebatchoperationspb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "storagebatchoperationspb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs", - "service": { - "shortName": "StorageBatchOperations", - "fullName": "google.cloud.storagebatchoperations.v1.StorageBatchOperations" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists Jobs in a given project.", + "file": "Client/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations ListJobs Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListLocations_sync", - "title": "storagebatchoperations ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations ListLocations Sample" }, { - "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListOperations_sync", - "title": "storagebatchoperations ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.storagebatchoperations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storagebatchoperations.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storagebatchoperations.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagebatchoperations_v1_generated_StorageBatchOperations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagebatchoperations ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json b/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json index 6d67beb1a376..216b4b75f460 100644 --- a/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json +++ b/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json @@ -1,932 +1,932 @@ { "clientLibrary": { - "name": "cloud.google.com/go/storageinsights/apiv1", - "version": "1.2.1", - "language": "GO", "apis": [ { "id": "google.cloud.storageinsights.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/storageinsights/apiv1", + "version": "1.2.1" }, "snippets": [ { - "regionTag": "storageinsights_v1_generated_StorageInsights_CancelOperation_sync", - "title": "storageinsights CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights CancelOperation Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_CreateDatasetConfig_sync", - "title": "storageinsights CreateDatasetConfig Sample", - "description": "CreateDatasetConfig creates a dataset configuration in a given project for a given location.", - "file": "Client/CreateDatasetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatasetConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.CreateDatasetConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.CreateDatasetConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "CreateDatasetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.CreateDatasetConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.CreateDatasetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "CreateDatasetConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.CreateDatasetConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "CreateDatasetConfig" }, + "description": "CreateDatasetConfig creates a dataset configuration in a given project for a given location.", + "file": "Client/CreateDatasetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_CreateDatasetConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights CreateDatasetConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_CreateReportConfig_sync", - "title": "storageinsights CreateReportConfig Sample", - "description": "CreateReportConfig creates a new ReportConfig in a given project and location.", - "file": "Client/CreateReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReportConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.CreateReportConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "CreateReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.CreateReportConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.CreateReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storageinsightspb.ReportConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "CreateReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "CreateReportConfig" }, + "description": "CreateReportConfig creates a new ReportConfig in a given project and location.", + "file": "Client/CreateReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_CreateReportConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights CreateReportConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_DeleteDatasetConfig_sync", - "title": "storageinsights DeleteDatasetConfig Sample", - "description": "DeleteDatasetConfig deletes a dataset configuration in a given project for a given location.", - "file": "Client/DeleteDatasetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatasetConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.DeleteDatasetConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.DeleteDatasetConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "DeleteDatasetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.DeleteDatasetConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.DeleteDatasetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "DeleteDatasetConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.DeleteDatasetConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "DeleteDatasetConfig" }, + "description": "DeleteDatasetConfig deletes a dataset configuration in a given project for a given location.", + "file": "Client/DeleteDatasetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_DeleteDatasetConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights DeleteDatasetConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_DeleteOperation_sync", - "title": "storageinsights DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights DeleteOperation Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_DeleteReportConfig_sync", - "title": "storageinsights DeleteReportConfig Sample", - "description": "DeleteReportConfig deletes a single ReportConfig.", - "file": "Client/DeleteReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReportConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.DeleteReportConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "DeleteReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.DeleteReportConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.DeleteReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "DeleteReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "DeleteReportConfig" }, + "description": "DeleteReportConfig deletes a single ReportConfig.", + "file": "Client/DeleteReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_DeleteReportConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights DeleteReportConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_GetDatasetConfig_sync", - "title": "storageinsights GetDatasetConfig Sample", - "description": "GetDatasetConfig gets the dataset configuration in a given project for a given location.", - "file": "Client/GetDatasetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatasetConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.GetDatasetConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetDatasetConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "GetDatasetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.GetDatasetConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.GetDatasetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storageinsightspb.DatasetConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "GetDatasetConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetDatasetConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "GetDatasetConfig" }, + "description": "GetDatasetConfig gets the dataset configuration in a given project for a given location.", + "file": "Client/GetDatasetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_GetDatasetConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights GetDatasetConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_GetLocation_sync", - "title": "storageinsights GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights GetLocation Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_GetOperation_sync", - "title": "storageinsights GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights GetOperation Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_GetReportConfig_sync", - "title": "storageinsights GetReportConfig Sample", - "description": "GetReportConfig gets details of a single ReportConfig.", - "file": "Client/GetReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReportConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.GetReportConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "GetReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.GetReportConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.GetReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storageinsightspb.ReportConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "GetReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "GetReportConfig" }, + "description": "GetReportConfig gets details of a single ReportConfig.", + "file": "Client/GetReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_GetReportConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights GetReportConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_GetReportDetail_sync", - "title": "storageinsights GetReportDetail Sample", - "description": "GetReportDetail gets details of a single ReportDetail.", - "file": "Client/GetReportDetail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReportDetail", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.GetReportDetail", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportDetail", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "GetReportDetail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.GetReportDetailRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.GetReportDetailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storageinsightspb.ReportDetail", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "GetReportDetail", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportDetail", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "GetReportDetail" }, + "description": "GetReportDetail gets details of a single ReportDetail.", + "file": "Client/GetReportDetail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_GetReportDetail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights GetReportDetail Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_LinkDataset_sync", - "title": "storageinsights LinkDataset Sample", - "description": "LinkDataset links a dataset to BigQuery in a given project for a given location.", - "file": "Client/LinkDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "LinkDataset", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.LinkDataset", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.LinkDataset", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "LinkDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.LinkDatasetRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.LinkDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LinkDatasetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "LinkDataset", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.LinkDataset", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "LinkDataset" }, + "description": "LinkDataset links a dataset to BigQuery in a given project for a given location.", + "file": "Client/LinkDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_LinkDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights LinkDataset Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_ListDatasetConfigs_sync", - "title": "storageinsights ListDatasetConfigs Sample", - "description": "ListDatasetConfigs lists the dataset configurations in a given project for a given location.", - "file": "Client/ListDatasetConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasetConfigs", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.ListDatasetConfigs", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "ListDatasetConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.ListDatasetConfigsRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.ListDatasetConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "ListDatasetConfigs", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "ListDatasetConfigs" }, + "description": "ListDatasetConfigs lists the dataset configurations in a given project for a given location.", + "file": "Client/ListDatasetConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_ListDatasetConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights ListDatasetConfigs Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_ListLocations_sync", - "title": "storageinsights ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights ListLocations Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_ListOperations_sync", - "title": "storageinsights ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights ListOperations Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_ListReportConfigs_sync", - "title": "storageinsights ListReportConfigs Sample", - "description": "ListReportConfigs lists ReportConfigs in a given project and location.", - "file": "Client/ListReportConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReportConfigs", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.ListReportConfigs", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "ListReportConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.ListReportConfigsRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.ListReportConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "ListReportConfigs", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "ListReportConfigs" }, + "description": "ListReportConfigs lists ReportConfigs in a given project and location.", + "file": "Client/ListReportConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_ListReportConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights ListReportConfigs Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_ListReportDetails_sync", - "title": "storageinsights ListReportDetails Sample", - "description": "ListReportDetails lists ReportDetails in a given project and location.", - "file": "Client/ListReportDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReportDetails", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.ListReportDetails", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportDetails", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "ListReportDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.ListReportDetailsRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.ListReportDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReportDetailIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "ListReportDetails", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportDetails", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "ListReportDetails" }, + "description": "ListReportDetails lists ReportDetails in a given project and location.", + "file": "Client/ListReportDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_ListReportDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights ListReportDetails Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_UnlinkDataset_sync", - "title": "storageinsights UnlinkDataset Sample", - "description": "UnlinkDataset unlinks a dataset from BigQuery in a given project\nfor a given location.", - "file": "Client/UnlinkDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UnlinkDataset", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.UnlinkDataset", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.UnlinkDataset", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "UnlinkDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.UnlinkDatasetRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.UnlinkDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UnlinkDatasetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "UnlinkDataset", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.UnlinkDataset", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "UnlinkDataset" }, + "description": "UnlinkDataset unlinks a dataset from BigQuery in a given project\nfor a given location.", + "file": "Client/UnlinkDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_UnlinkDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights UnlinkDataset Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_UpdateDatasetConfig_sync", - "title": "storageinsights UpdateDatasetConfig Sample", - "description": "UpdateDatasetConfig updates a dataset configuration in a given project for a given location.", - "file": "Client/UpdateDatasetConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDatasetConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.UpdateDatasetConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.UpdateDatasetConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "UpdateDatasetConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.UpdateDatasetConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.UpdateDatasetConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDatasetConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "UpdateDatasetConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.UpdateDatasetConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "UpdateDatasetConfig" }, + "description": "UpdateDatasetConfig updates a dataset configuration in a given project for a given location.", + "file": "Client/UpdateDatasetConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_UpdateDatasetConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights UpdateDatasetConfig Sample" }, { - "regionTag": "storageinsights_v1_generated_StorageInsights_UpdateReportConfig_sync", - "title": "storageinsights UpdateReportConfig Sample", - "description": "UpdateReportConfig updates the parameters of a single ReportConfig.", - "file": "Client/UpdateReportConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateReportConfig", + "client": { + "fullName": "google.cloud.storageinsights.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.storageinsights.v1.Client.UpdateReportConfig", + "method": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig", + "service": { + "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "StorageInsights" + }, + "shortName": "UpdateReportConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storageinsightspb.UpdateReportConfigRequest", - "name": "req" + "name": "req", + "type": "storageinsightspb.UpdateReportConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storageinsightspb.ReportConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.storageinsights.v1.Client" - }, - "method": { - "shortName": "UpdateReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig", - "service": { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights" - } - } + "shortName": "UpdateReportConfig" }, + "description": "UpdateReportConfig updates the parameters of a single ReportConfig.", + "file": "Client/UpdateReportConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storageinsights_v1_generated_StorageInsights_UpdateReportConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storageinsights UpdateReportConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json b/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json index 2e608f5388ea..33e2a05d9e82 100644 --- a/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json +++ b/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json @@ -1,792 +1,792 @@ { "clientLibrary": { - "name": "cloud.google.com/go/storagetransfer/apiv1", - "version": "1.13.1", - "language": "GO", "apis": [ { "id": "google.storagetransfer.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/storagetransfer/apiv1", + "version": "1.13.1" }, "snippets": [ { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_CancelOperation_sync", - "title": "storagetransfer CancelOperation Sample", - "description": "CancelOperation cancels a transfer. Use\nthe [transferOperations.get][google.longrunning.Operations.GetOperation]\nmethod to check if the cancellation succeeded or if the operation\ncompleted despite the `cancel` request.\n\nWhen you cancel an operation, the currently running transfer is\ninterrupted. For recurring transfer jobs, the next instance of the\ntransfer job will still run. For example, if your job is configured\nto run every day at 1pm and you cancel Monday's operation at 1: 05pm,\nMonday's transfer\nwill stop. However, a transfer job will still be attempted on Tuesday.\n\nThis applies only to currently running operations. If an operation is\nnot currently running, `cancel` does nothing.\n\n\n\nWhen you cancel a job, the next job computes a delta of files and may\nrepair any inconsistent state. For instance, if you run a job every\nday, and today's job found 10 new files and transferred five files\nbefore you canceled the job, tomorrow's transfer operation will\ncompute a new delta with the five files that were not copied today\nplus any new files discovered tomorrow.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation cancels a transfer. Use\nthe [transferOperations.get][google.longrunning.Operations.GetOperation]\nmethod to check if the cancellation succeeded or if the operation\ncompleted despite the `cancel` request.\n\nWhen you cancel an operation, the currently running transfer is\ninterrupted. For recurring transfer jobs, the next instance of the\ntransfer job will still run. For example, if your job is configured\nto run every day at 1pm and you cancel Monday's operation at 1: 05pm,\nMonday's transfer\nwill stop. However, a transfer job will still be attempted on Tuesday.\n\nThis applies only to currently running operations. If an operation is\nnot currently running, `cancel` does nothing.\n\n\n\nWhen you cancel a job, the next job computes a delta of files and may\nrepair any inconsistent state. For instance, if you run a job every\nday, and today's job found 10 new files and transferred five files\nbefore you canceled the job, tomorrow's transfer operation will\ncompute a new delta with the five files that were not copied today\nplus any new files discovered tomorrow.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer CancelOperation Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_CreateAgentPool_sync", - "title": "storagetransfer CreateAgentPool Sample", - "description": "CreateAgentPool creates an agent pool resource.", - "file": "Client/CreateAgentPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAgentPool", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.CreateAgentPool", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.CreateAgentPool", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "CreateAgentPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.CreateAgentPoolRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.CreateAgentPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.AgentPool", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "CreateAgentPool", - "fullName": "google.storagetransfer.v1.StorageTransferService.CreateAgentPool", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "CreateAgentPool" }, + "description": "CreateAgentPool creates an agent pool resource.", + "file": "Client/CreateAgentPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_CreateAgentPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer CreateAgentPool Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_CreateTransferJob_sync", - "title": "storagetransfer CreateTransferJob Sample", - "description": "CreateTransferJob creates a transfer job that runs periodically.", - "file": "Client/CreateTransferJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTransferJob", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.CreateTransferJob", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.CreateTransferJob", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "CreateTransferJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.CreateTransferJobRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.CreateTransferJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.TransferJob", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "CreateTransferJob", - "fullName": "google.storagetransfer.v1.StorageTransferService.CreateTransferJob", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "CreateTransferJob" }, + "description": "CreateTransferJob creates a transfer job that runs periodically.", + "file": "Client/CreateTransferJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_CreateTransferJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer CreateTransferJob Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_DeleteAgentPool_sync", - "title": "storagetransfer DeleteAgentPool Sample", - "description": "DeleteAgentPool deletes an agent pool.", - "file": "Client/DeleteAgentPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAgentPool", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.DeleteAgentPool", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.DeleteAgentPool", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "DeleteAgentPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.DeleteAgentPoolRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.DeleteAgentPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "DeleteAgentPool", - "fullName": "google.storagetransfer.v1.StorageTransferService.DeleteAgentPool", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "DeleteAgentPool" }, + "description": "DeleteAgentPool deletes an agent pool.", + "file": "Client/DeleteAgentPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_DeleteAgentPool_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer DeleteAgentPool Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_DeleteTransferJob_sync", - "title": "storagetransfer DeleteTransferJob Sample", - "description": "DeleteTransferJob deletes a transfer job. Deleting a transfer job sets its status to\n[DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].", - "file": "Client/DeleteTransferJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTransferJob", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.DeleteTransferJob", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.DeleteTransferJob", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "DeleteTransferJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.DeleteTransferJobRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.DeleteTransferJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "DeleteTransferJob", - "fullName": "google.storagetransfer.v1.StorageTransferService.DeleteTransferJob", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "DeleteTransferJob" }, + "description": "DeleteTransferJob deletes a transfer job. Deleting a transfer job sets its status to\n[DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].", + "file": "Client/DeleteTransferJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_DeleteTransferJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer DeleteTransferJob Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetAgentPool_sync", - "title": "storagetransfer GetAgentPool Sample", - "description": "GetAgentPool gets an agent pool.", - "file": "Client/GetAgentPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAgentPool", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.GetAgentPool", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.GetAgentPool", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "GetAgentPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.GetAgentPoolRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.GetAgentPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.AgentPool", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "GetAgentPool", - "fullName": "google.storagetransfer.v1.StorageTransferService.GetAgentPool", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "GetAgentPool" }, + "description": "GetAgentPool gets an agent pool.", + "file": "Client/GetAgentPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetAgentPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer GetAgentPool Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetGoogleServiceAccount_sync", - "title": "storagetransfer GetGoogleServiceAccount Sample", - "description": "GetGoogleServiceAccount returns the Google service account that is used by Storage Transfer\nService to access buckets in the project where transfers\nrun or in other projects. Each Google service account is associated\nwith one Google Cloud project. Users\nshould add this service account to the Google Cloud Storage bucket\nACLs to grant access to Storage Transfer Service. This service\naccount is created and owned by Storage Transfer Service and can\nonly be used by Storage Transfer Service.", - "file": "Client/GetGoogleServiceAccount/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGoogleServiceAccount", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.GetGoogleServiceAccount", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.GetGoogleServiceAccount", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "GetGoogleServiceAccount" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.GetGoogleServiceAccountRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.GetGoogleServiceAccountRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.GoogleServiceAccount", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "GetGoogleServiceAccount", - "fullName": "google.storagetransfer.v1.StorageTransferService.GetGoogleServiceAccount", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "GetGoogleServiceAccount" }, + "description": "GetGoogleServiceAccount returns the Google service account that is used by Storage Transfer\nService to access buckets in the project where transfers\nrun or in other projects. Each Google service account is associated\nwith one Google Cloud project. Users\nshould add this service account to the Google Cloud Storage bucket\nACLs to grant access to Storage Transfer Service. This service\naccount is created and owned by Storage Transfer Service and can\nonly be used by Storage Transfer Service.", + "file": "Client/GetGoogleServiceAccount/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetGoogleServiceAccount_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer GetGoogleServiceAccount Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetOperation_sync", - "title": "storagetransfer GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer GetOperation Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetTransferJob_sync", - "title": "storagetransfer GetTransferJob Sample", - "description": "GetTransferJob gets a transfer job.", - "file": "Client/GetTransferJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTransferJob", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.GetTransferJob", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.GetTransferJob", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "GetTransferJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.GetTransferJobRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.GetTransferJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.TransferJob", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "GetTransferJob", - "fullName": "google.storagetransfer.v1.StorageTransferService.GetTransferJob", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "GetTransferJob" }, + "description": "GetTransferJob gets a transfer job.", + "file": "Client/GetTransferJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_GetTransferJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer GetTransferJob Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_ListAgentPools_sync", - "title": "storagetransfer ListAgentPools Sample", - "description": "ListAgentPools lists agent pools.", - "file": "Client/ListAgentPools/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAgentPools", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.ListAgentPools", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.ListAgentPools", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "ListAgentPools" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.ListAgentPoolsRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.ListAgentPoolsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AgentPoolIterator", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "ListAgentPools", - "fullName": "google.storagetransfer.v1.StorageTransferService.ListAgentPools", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "ListAgentPools" }, + "description": "ListAgentPools lists agent pools.", + "file": "Client/ListAgentPools/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_ListAgentPools_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer ListAgentPools Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_ListOperations_sync", - "title": "storagetransfer ListOperations Sample", - "description": "ListOperations lists transfer operations. Operations are ordered by their creation\ntime in reverse chronological order.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations lists transfer operations. Operations are ordered by their creation\ntime in reverse chronological order.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer ListOperations Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_ListTransferJobs_sync", - "title": "storagetransfer ListTransferJobs Sample", - "description": "ListTransferJobs lists transfer jobs.", - "file": "Client/ListTransferJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTransferJobs", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.ListTransferJobs", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.ListTransferJobs", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "ListTransferJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.ListTransferJobsRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.ListTransferJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TransferJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "ListTransferJobs", - "fullName": "google.storagetransfer.v1.StorageTransferService.ListTransferJobs", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "ListTransferJobs" }, + "description": "ListTransferJobs lists transfer jobs.", + "file": "Client/ListTransferJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_ListTransferJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer ListTransferJobs Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_PauseTransferOperation_sync", - "title": "storagetransfer PauseTransferOperation Sample", - "description": "PauseTransferOperation pauses a transfer operation.", - "file": "Client/PauseTransferOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseTransferOperation", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.PauseTransferOperation", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.PauseTransferOperation", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "PauseTransferOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.PauseTransferOperationRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.PauseTransferOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "PauseTransferOperation", - "fullName": "google.storagetransfer.v1.StorageTransferService.PauseTransferOperation", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "PauseTransferOperation" }, + "description": "PauseTransferOperation pauses a transfer operation.", + "file": "Client/PauseTransferOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_PauseTransferOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer PauseTransferOperation Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_ResumeTransferOperation_sync", - "title": "storagetransfer ResumeTransferOperation Sample", - "description": "ResumeTransferOperation resumes a transfer operation that is paused.", - "file": "Client/ResumeTransferOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeTransferOperation", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.ResumeTransferOperation", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.ResumeTransferOperation", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "ResumeTransferOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.ResumeTransferOperationRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.ResumeTransferOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "ResumeTransferOperation", - "fullName": "google.storagetransfer.v1.StorageTransferService.ResumeTransferOperation", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "ResumeTransferOperation" }, + "description": "ResumeTransferOperation resumes a transfer operation that is paused.", + "file": "Client/ResumeTransferOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_ResumeTransferOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer ResumeTransferOperation Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_RunTransferJob_sync", - "title": "storagetransfer RunTransferJob Sample", - "description": "RunTransferJob starts a new operation for the specified transfer job.\nA `TransferJob` has a maximum of one active `TransferOperation`. If this\nmethod is called while a `TransferOperation` is active, an error is\nreturned.", - "file": "Client/RunTransferJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunTransferJob", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.RunTransferJob", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.RunTransferJob", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "RunTransferJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.RunTransferJobRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.RunTransferJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunTransferJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "RunTransferJob", - "fullName": "google.storagetransfer.v1.StorageTransferService.RunTransferJob", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "RunTransferJob" }, + "description": "RunTransferJob starts a new operation for the specified transfer job.\nA `TransferJob` has a maximum of one active `TransferOperation`. If this\nmethod is called while a `TransferOperation` is active, an error is\nreturned.", + "file": "Client/RunTransferJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_RunTransferJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer RunTransferJob Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_UpdateAgentPool_sync", - "title": "storagetransfer UpdateAgentPool Sample", - "description": "UpdateAgentPool updates an existing agent pool resource.", - "file": "Client/UpdateAgentPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAgentPool", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.UpdateAgentPool", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.UpdateAgentPool", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "UpdateAgentPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.UpdateAgentPoolRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.UpdateAgentPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.AgentPool", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "UpdateAgentPool", - "fullName": "google.storagetransfer.v1.StorageTransferService.UpdateAgentPool", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "UpdateAgentPool" }, + "description": "UpdateAgentPool updates an existing agent pool resource.", + "file": "Client/UpdateAgentPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_UpdateAgentPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer UpdateAgentPool Sample" }, { - "regionTag": "storagetransfer_v1_generated_StorageTransferService_UpdateTransferJob_sync", - "title": "storagetransfer UpdateTransferJob Sample", - "description": "UpdateTransferJob updates a transfer job. Updating a job's transfer spec does not affect\ntransfer operations that are running already.\n\n**Note: ** The job's [status][google.storagetransfer.v1.TransferJob.status]\nfield can be modified using this RPC (for example, to set a job's status to\n[DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],\n[DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or\n[ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).", - "file": "Client/UpdateTransferJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTransferJob", + "client": { + "fullName": "google.storagetransfer.v1.Client", + "shortName": "Client" + }, "fullName": "google.storagetransfer.v1.Client.UpdateTransferJob", + "method": { + "fullName": "google.storagetransfer.v1.StorageTransferService.UpdateTransferJob", + "service": { + "fullName": "google.storagetransfer.v1.StorageTransferService", + "shortName": "StorageTransferService" + }, + "shortName": "UpdateTransferJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "storagetransferpb.UpdateTransferJobRequest", - "name": "req" + "name": "req", + "type": "storagetransferpb.UpdateTransferJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*storagetransferpb.TransferJob", - "client": { - "shortName": "Client", - "fullName": "google.storagetransfer.v1.Client" - }, - "method": { - "shortName": "UpdateTransferJob", - "fullName": "google.storagetransfer.v1.StorageTransferService.UpdateTransferJob", - "service": { - "shortName": "StorageTransferService", - "fullName": "google.storagetransfer.v1.StorageTransferService" - } - } + "shortName": "UpdateTransferJob" }, + "description": "UpdateTransferJob updates a transfer job. Updating a job's transfer spec does not affect\ntransfer operations that are running already.\n\n**Note: ** The job's [status][google.storagetransfer.v1.TransferJob.status]\nfield can be modified using this RPC (for example, to set a job's status to\n[DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],\n[DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or\n[ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).", + "file": "Client/UpdateTransferJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "storagetransfer_v1_generated_StorageTransferService_UpdateTransferJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "storagetransfer UpdateTransferJob Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json b/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json index 5551d1c176af..c15baf0af6eb 100644 --- a/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json +++ b/internal/generated/snippets/streetview/publish/apiv1/snippet_metadata.google.streetview.publish.v1.json @@ -1,657 +1,657 @@ { "clientLibrary": { - "name": "cloud.google.com/go/streetview/publish/apiv1", - "version": "0.2.6", - "language": "GO", "apis": [ { "id": "google.streetview.publish.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/streetview/publish/apiv1", + "version": "0.2.6" }, "snippets": [ { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_BatchDeletePhotos_sync", - "title": "streetviewpublish BatchDeletePhotos Sample", - "description": "BatchDeletePhotos deletes a list of [Photos][google.streetview.publish.v1.Photo] and their\nmetadata.\n\nNote that if\n[BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]\nfails, either critical fields are missing or there is an authentication\nerror. Even if\n[BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]\nsucceeds, individual photos in the batch may have failures.\nThese failures are specified in each\n[PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]\nin\n[BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status].\nSee\n[DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto]\nfor specific failures that can occur per photo.", - "file": "StreetViewPublishClient/BatchDeletePhotos/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeletePhotos", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.BatchDeletePhotos", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "BatchDeletePhotos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.BatchDeletePhotosRequest", - "name": "req" + "name": "req", + "type": "publishpb.BatchDeletePhotosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.BatchDeletePhotosResponse", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "BatchDeletePhotos", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "BatchDeletePhotos" }, + "description": "BatchDeletePhotos deletes a list of [Photos][google.streetview.publish.v1.Photo] and their\nmetadata.\n\nNote that if\n[BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]\nfails, either critical fields are missing or there is an authentication\nerror. Even if\n[BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]\nsucceeds, individual photos in the batch may have failures.\nThese failures are specified in each\n[PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]\nin\n[BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status].\nSee\n[DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto]\nfor specific failures that can occur per photo.", + "file": "StreetViewPublishClient/BatchDeletePhotos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_BatchDeletePhotos_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish BatchDeletePhotos Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_BatchGetPhotos_sync", - "title": "streetviewpublish BatchGetPhotos Sample", - "description": "BatchGetPhotos gets the metadata of the specified\n[Photo][google.streetview.publish.v1.Photo] batch.\n\nNote that if\n[BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]\nfails, either critical fields are missing or there is an authentication\nerror. Even if\n[BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]\nsucceeds, individual photos in the batch may have failures.\nThese failures are specified in each\n[PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]\nin\n[BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results].\nSee\n[GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto]\nfor specific failures that can occur per photo.", - "file": "StreetViewPublishClient/BatchGetPhotos/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchGetPhotos", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.BatchGetPhotos", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "BatchGetPhotos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.BatchGetPhotosRequest", - "name": "req" + "name": "req", + "type": "publishpb.BatchGetPhotosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.BatchGetPhotosResponse", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "BatchGetPhotos", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "BatchGetPhotos" }, + "description": "BatchGetPhotos gets the metadata of the specified\n[Photo][google.streetview.publish.v1.Photo] batch.\n\nNote that if\n[BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]\nfails, either critical fields are missing or there is an authentication\nerror. Even if\n[BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]\nsucceeds, individual photos in the batch may have failures.\nThese failures are specified in each\n[PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]\nin\n[BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results].\nSee\n[GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto]\nfor specific failures that can occur per photo.", + "file": "StreetViewPublishClient/BatchGetPhotos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_BatchGetPhotos_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish BatchGetPhotos Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_BatchUpdatePhotos_sync", - "title": "streetviewpublish BatchUpdatePhotos Sample", - "description": "BatchUpdatePhotos updates the metadata of [Photos][google.streetview.publish.v1.Photo], such\nas pose, place association, connections, etc. Changing the pixels of photos\nis not supported.\n\nNote that if\n[BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]\nfails, either critical fields are missing or there is an authentication\nerror. Even if\n[BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]\nsucceeds, individual photos in the batch may have failures.\nThese failures are specified in each\n[PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]\nin\n[BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results].\nSee\n[UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto]\nfor specific failures that can occur per photo.\n\nOnly the fields specified in\n[updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]\nfield are used. If `updateMask` is not present, the update applies to all\nfields.\n\nThe number of\n[UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest]\nmessages in a\n[BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest]\nmust not exceed 20.\n\n> Note: To update\n[Pose.altitude][google.streetview.publish.v1.Pose.altitude],\n[Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be\nfilled as well. Otherwise, the request will fail.", - "file": "StreetViewPublishClient/BatchUpdatePhotos/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdatePhotos", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.BatchUpdatePhotos", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "BatchUpdatePhotos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.BatchUpdatePhotosRequest", - "name": "req" + "name": "req", + "type": "publishpb.BatchUpdatePhotosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.BatchUpdatePhotosResponse", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "BatchUpdatePhotos", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "BatchUpdatePhotos" }, + "description": "BatchUpdatePhotos updates the metadata of [Photos][google.streetview.publish.v1.Photo], such\nas pose, place association, connections, etc. Changing the pixels of photos\nis not supported.\n\nNote that if\n[BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]\nfails, either critical fields are missing or there is an authentication\nerror. Even if\n[BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]\nsucceeds, individual photos in the batch may have failures.\nThese failures are specified in each\n[PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]\nin\n[BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results].\nSee\n[UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto]\nfor specific failures that can occur per photo.\n\nOnly the fields specified in\n[updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]\nfield are used. If `updateMask` is not present, the update applies to all\nfields.\n\nThe number of\n[UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest]\nmessages in a\n[BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest]\nmust not exceed 20.\n\n> Note: To update\n[Pose.altitude][google.streetview.publish.v1.Pose.altitude],\n[Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be\nfilled as well. Otherwise, the request will fail.", + "file": "StreetViewPublishClient/BatchUpdatePhotos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_BatchUpdatePhotos_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish BatchUpdatePhotos Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_CreatePhoto_sync", - "title": "streetviewpublish CreatePhoto Sample", - "description": "CreatePhoto after the client finishes uploading the photo with the returned\n[UploadRef][google.streetview.publish.v1.UploadRef],\n[CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]\npublishes the uploaded [Photo][google.streetview.publish.v1.Photo] to\nStreet View on Google Maps.\n\nCurrently, the only way to set heading, pitch, and roll in CreatePhoto is\nthrough the [Photo Sphere XMP\nmetadata](https: //developers.google.com/streetview/spherical-metadata) in\nthe photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`,\n`pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if\nthe request is malformed or if the uploaded photo is not a 360 photo.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload\nreference does not exist.\n* [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]\nif the account has reached the storage limit.", - "file": "StreetViewPublishClient/CreatePhoto/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePhoto", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.CreatePhoto", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.CreatePhoto", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "CreatePhoto" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.CreatePhotoRequest", - "name": "req" + "name": "req", + "type": "publishpb.CreatePhotoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.Photo", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "CreatePhoto", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.CreatePhoto", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "CreatePhoto" }, + "description": "CreatePhoto after the client finishes uploading the photo with the returned\n[UploadRef][google.streetview.publish.v1.UploadRef],\n[CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]\npublishes the uploaded [Photo][google.streetview.publish.v1.Photo] to\nStreet View on Google Maps.\n\nCurrently, the only way to set heading, pitch, and roll in CreatePhoto is\nthrough the [Photo Sphere XMP\nmetadata](https: //developers.google.com/streetview/spherical-metadata) in\nthe photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`,\n`pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if\nthe request is malformed or if the uploaded photo is not a 360 photo.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload\nreference does not exist.\n* [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]\nif the account has reached the storage limit.", + "file": "StreetViewPublishClient/CreatePhoto/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_CreatePhoto_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish CreatePhoto Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_CreatePhotoSequence_sync", - "title": "streetviewpublish CreatePhotoSequence Sample", - "description": "CreatePhotoSequence after the client finishes uploading the\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the\nreturned [UploadRef][google.streetview.publish.v1.UploadRef],\n[CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]\nextracts a sequence of 360 photos from a video or Extensible Device\nMetadata (XDM, http: //www.xdm.org/) to be published to Street View on\nGoogle Maps.\n\n`CreatePhotoSequence` returns an [Operation][google.longrunning.Operation],\nwith the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set\nin the `Operation.name` field.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if\nthe request is malformed.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload\nreference does not exist.", - "file": "StreetViewPublishClient/CreatePhotoSequence/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePhotoSequence", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.CreatePhotoSequence", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "CreatePhotoSequence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.CreatePhotoSequenceRequest", - "name": "req" + "name": "req", + "type": "publishpb.CreatePhotoSequenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePhotoSequenceOperation", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "CreatePhotoSequence", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "CreatePhotoSequence" }, + "description": "CreatePhotoSequence after the client finishes uploading the\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the\nreturned [UploadRef][google.streetview.publish.v1.UploadRef],\n[CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]\nextracts a sequence of 360 photos from a video or Extensible Device\nMetadata (XDM, http: //www.xdm.org/) to be published to Street View on\nGoogle Maps.\n\n`CreatePhotoSequence` returns an [Operation][google.longrunning.Operation],\nwith the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set\nin the `Operation.name` field.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if\nthe request is malformed.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload\nreference does not exist.", + "file": "StreetViewPublishClient/CreatePhotoSequence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_CreatePhotoSequence_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish CreatePhotoSequence Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_DeletePhoto_sync", - "title": "streetviewpublish DeletePhoto Sample", - "description": "DeletePhoto deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested photo.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID\ndoes not exist.", - "file": "StreetViewPublishClient/DeletePhoto/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhoto", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.DeletePhoto", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.DeletePhoto", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "DeletePhoto" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.DeletePhotoRequest", - "name": "req" + "name": "req", + "type": "publishpb.DeletePhotoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "DeletePhoto", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.DeletePhoto", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "DeletePhoto" }, + "description": "DeletePhoto deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested photo.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID\ndoes not exist.", + "file": "StreetViewPublishClient/DeletePhoto/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_DeletePhoto_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish DeletePhoto Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_DeletePhotoSequence_sync", - "title": "streetviewpublish DeletePhotoSequence Sample", - "description": "DeletePhotoSequence deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and\nits metadata.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested photo sequence.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo\nsequence ID does not exist.\n* [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not\nyet finished processing.", - "file": "StreetViewPublishClient/DeletePhotoSequence/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePhotoSequence", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.DeletePhotoSequence", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequence", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "DeletePhotoSequence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.DeletePhotoSequenceRequest", - "name": "req" + "name": "req", + "type": "publishpb.DeletePhotoSequenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "DeletePhotoSequence", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequence", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "DeletePhotoSequence" }, + "description": "DeletePhotoSequence deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and\nits metadata.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested photo sequence.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo\nsequence ID does not exist.\n* [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not\nyet finished processing.", + "file": "StreetViewPublishClient/DeletePhotoSequence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_DeletePhotoSequence_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish DeletePhotoSequence Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_GetPhoto_sync", - "title": "streetviewpublish GetPhoto Sample", - "description": "GetPhoto gets the metadata of the specified\n[Photo][google.streetview.publish.v1.Photo].\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested\n[Photo][google.streetview.publish.v1.Photo].\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested\n[Photo][google.streetview.publish.v1.Photo] does not exist.\n* [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the\nrequested [Photo][google.streetview.publish.v1.Photo] is still being\nindexed.", - "file": "StreetViewPublishClient/GetPhoto/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhoto", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.GetPhoto", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.GetPhoto", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "GetPhoto" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.GetPhotoRequest", - "name": "req" + "name": "req", + "type": "publishpb.GetPhotoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.Photo", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "GetPhoto", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.GetPhoto", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "GetPhoto" }, + "description": "GetPhoto gets the metadata of the specified\n[Photo][google.streetview.publish.v1.Photo].\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested\n[Photo][google.streetview.publish.v1.Photo].\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested\n[Photo][google.streetview.publish.v1.Photo] does not exist.\n* [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the\nrequested [Photo][google.streetview.publish.v1.Photo] is still being\nindexed.", + "file": "StreetViewPublishClient/GetPhoto/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_GetPhoto_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish GetPhoto Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_GetPhotoSequence_sync", - "title": "streetviewpublish GetPhotoSequence Sample", - "description": "GetPhotoSequence gets the metadata of the specified\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the\n[Operation][google.longrunning.Operation] interface.\n\nThis method returns the following three types of responses: \n\n* `Operation.done` = false, if the processing of\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not\nfinished yet.\n* `Operation.done` = true and `Operation.error` is populated, if there was\nan error in processing.\n* `Operation.done` = true and `Operation.response` is poulated, which\ncontains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence]\nmessage.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence].\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist.", - "file": "StreetViewPublishClient/GetPhotoSequence/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPhotoSequence", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.GetPhotoSequence", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequence", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "GetPhotoSequence" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.GetPhotoSequenceRequest", - "name": "req" + "name": "req", + "type": "publishpb.GetPhotoSequenceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GetPhotoSequenceOperation", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "GetPhotoSequence", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequence", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "GetPhotoSequence" }, + "description": "GetPhotoSequence gets the metadata of the specified\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the\n[Operation][google.longrunning.Operation] interface.\n\nThis method returns the following three types of responses: \n\n* `Operation.done` = false, if the processing of\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not\nfinished yet.\n* `Operation.done` = true and `Operation.error` is populated, if there was\nan error in processing.\n* `Operation.done` = true and `Operation.response` is poulated, which\ncontains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence]\nmessage.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence].\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested\n[PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist.", + "file": "StreetViewPublishClient/GetPhotoSequence/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_GetPhotoSequence_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish GetPhotoSequence Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_ListPhotoSequences_sync", - "title": "streetviewpublish ListPhotoSequences Sample", - "description": "ListPhotoSequences lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence]\nthat belong to the user, in descending CreatePhotoSequence timestamp order.", - "file": "StreetViewPublishClient/ListPhotoSequences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhotoSequences", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.ListPhotoSequences", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "ListPhotoSequences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.ListPhotoSequencesRequest", - "name": "req" + "name": "req", + "type": "publishpb.ListPhotoSequencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "ListPhotoSequences", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "ListPhotoSequences" }, + "description": "ListPhotoSequences lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence]\nthat belong to the user, in descending CreatePhotoSequence timestamp order.", + "file": "StreetViewPublishClient/ListPhotoSequences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_ListPhotoSequences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish ListPhotoSequences Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_ListPhotos_sync", - "title": "streetviewpublish ListPhotos Sample", - "description": "ListPhotos lists all the [Photos][google.streetview.publish.v1.Photo] that belong to\nthe user.\n\n> Note: Recently created photos that are still\nbeing indexed are not returned in the response.", - "file": "StreetViewPublishClient/ListPhotos/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPhotos", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.ListPhotos", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.ListPhotos", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "ListPhotos" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.ListPhotosRequest", - "name": "req" + "name": "req", + "type": "publishpb.ListPhotosRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PhotoIterator", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "ListPhotos", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.ListPhotos", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "ListPhotos" }, + "description": "ListPhotos lists all the [Photos][google.streetview.publish.v1.Photo] that belong to\nthe user.\n\n> Note: Recently created photos that are still\nbeing indexed are not returned in the response.", + "file": "StreetViewPublishClient/ListPhotos/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_ListPhotos_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish ListPhotos Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_StartPhotoSequenceUpload_sync", - "title": "streetviewpublish StartPhotoSequenceUpload Sample", - "description": "StartPhotoSequenceUpload creates an upload session to start uploading photo sequence data.\nThe upload URL of the returned\n[UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the\ndata for the `photoSequence`.\n\nAfter the upload is complete, the\n[UploadRef][google.streetview.publish.v1.UploadRef] is used with\n[CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]\nto create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence]\nobject entry.", - "file": "StreetViewPublishClient/StartPhotoSequenceUpload/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartPhotoSequenceUpload", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.StartPhotoSequenceUpload", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUpload", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "StartPhotoSequenceUpload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "emptypb.Empty", - "name": "req" + "name": "req", + "type": "emptypb.Empty" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.UploadRef", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "StartPhotoSequenceUpload", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUpload", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "StartPhotoSequenceUpload" }, + "description": "StartPhotoSequenceUpload creates an upload session to start uploading photo sequence data.\nThe upload URL of the returned\n[UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the\ndata for the `photoSequence`.\n\nAfter the upload is complete, the\n[UploadRef][google.streetview.publish.v1.UploadRef] is used with\n[CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]\nto create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence]\nobject entry.", + "file": "StreetViewPublishClient/StartPhotoSequenceUpload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_StartPhotoSequenceUpload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish StartPhotoSequenceUpload Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_StartUpload_sync", - "title": "streetviewpublish StartUpload Sample", - "description": "StartUpload creates an upload session to start uploading photo bytes. The method uses\nthe upload URL of the returned\n[UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for\nthe [Photo][google.streetview.publish.v1.Photo].\n\nIn addition to the photo requirements shown in\nhttps: //support.google.com/maps/answer/7012050?ref_topic=6275604,\nthe photo must meet the following requirements: \n\n* Photo Sphere XMP metadata must be included in the photo metadata. See\nhttps: //developers.google.com/streetview/spherical-metadata for the\nrequired fields.\n* The pixel size of the photo must meet the size requirements listed in\nhttps: //support.google.com/maps/answer/7012050?ref_topic=6275604, and\nthe photo must be a full 360 horizontally.\n\nAfter the upload completes, the method uses\n[UploadRef][google.streetview.publish.v1.UploadRef] with\n[CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]\nto create the [Photo][google.streetview.publish.v1.Photo] object entry.", - "file": "StreetViewPublishClient/StartUpload/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartUpload", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.StartUpload", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.StartUpload", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "StartUpload" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "emptypb.Empty", - "name": "req" + "name": "req", + "type": "emptypb.Empty" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.UploadRef", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "StartUpload", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.StartUpload", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "StartUpload" }, + "description": "StartUpload creates an upload session to start uploading photo bytes. The method uses\nthe upload URL of the returned\n[UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for\nthe [Photo][google.streetview.publish.v1.Photo].\n\nIn addition to the photo requirements shown in\nhttps: //support.google.com/maps/answer/7012050?ref_topic=6275604,\nthe photo must meet the following requirements: \n\n* Photo Sphere XMP metadata must be included in the photo metadata. See\nhttps: //developers.google.com/streetview/spherical-metadata for the\nrequired fields.\n* The pixel size of the photo must meet the size requirements listed in\nhttps: //support.google.com/maps/answer/7012050?ref_topic=6275604, and\nthe photo must be a full 360 horizontally.\n\nAfter the upload completes, the method uses\n[UploadRef][google.streetview.publish.v1.UploadRef] with\n[CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]\nto create the [Photo][google.streetview.publish.v1.Photo] object entry.", + "file": "StreetViewPublishClient/StartUpload/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_StartUpload_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish StartUpload Sample" }, { - "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_UpdatePhoto_sync", - "title": "streetviewpublish UpdatePhoto Sample", - "description": "UpdatePhoto updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such\nas pose, place association, connections, etc. Changing the pixels of a\nphoto is not supported.\n\nOnly the fields specified in the\n[updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]\nfield are used. If `updateMask` is not present, the update applies to all\nfields.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested photo.\n* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if\nthe request is malformed.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested\nphoto does not exist.\n* [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the\nrequested [Photo][google.streetview.publish.v1.Photo] is still being\nindexed.", - "file": "StreetViewPublishClient/UpdatePhoto/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePhoto", + "client": { + "fullName": "google.streetview.publish.v1.StreetViewPublishClient", + "shortName": "StreetViewPublishClient" + }, "fullName": "google.streetview.publish.v1.StreetViewPublishClient.UpdatePhoto", + "method": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto", + "service": { + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "shortName": "StreetViewPublishService" + }, + "shortName": "UpdatePhoto" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "publishpb.UpdatePhotoRequest", - "name": "req" + "name": "req", + "type": "publishpb.UpdatePhotoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*publishpb.Photo", - "client": { - "shortName": "StreetViewPublishClient", - "fullName": "google.streetview.publish.v1.StreetViewPublishClient" - }, - "method": { - "shortName": "UpdatePhoto", - "fullName": "google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto", - "service": { - "shortName": "StreetViewPublishService", - "fullName": "google.streetview.publish.v1.StreetViewPublishService" - } - } + "shortName": "UpdatePhoto" }, + "description": "UpdatePhoto updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such\nas pose, place association, connections, etc. Changing the pixels of a\nphoto is not supported.\n\nOnly the fields specified in the\n[updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]\nfield are used. If `updateMask` is not present, the update applies to all\nfields.\n\nThis method returns the following error codes: \n\n* [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if\nthe requesting user did not create the requested photo.\n* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if\nthe request is malformed.\n* [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested\nphoto does not exist.\n* [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the\nrequested [Photo][google.streetview.publish.v1.Photo] is still being\nindexed.", + "file": "StreetViewPublishClient/UpdatePhoto/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "streetviewpublish_v1_generated_StreetViewPublishService_UpdatePhoto_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "streetviewpublish UpdatePhoto Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json b/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json index 26487d32d4c8..765b4b836b89 100644 --- a/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json +++ b/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json @@ -1,521 +1,521 @@ { "clientLibrary": { - "name": "cloud.google.com/go/support/apiv2", - "version": "1.5.0", - "language": "GO", "apis": [ { "id": "google.cloud.support.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/support/apiv2", + "version": "1.5.0" }, "snippets": [ { - "regionTag": "cloudsupport_v2_generated_CaseAttachmentService_ListAttachments_sync", - "title": "cloudsupport ListAttachments Sample", - "description": "ListAttachments list all the attachments associated with a support case.", - "file": "CaseAttachmentClient/ListAttachments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttachments", + "client": { + "fullName": "google.cloud.support.v2.CaseAttachmentClient", + "shortName": "CaseAttachmentClient" + }, "fullName": "google.cloud.support.v2.CaseAttachmentClient.ListAttachments", + "method": { + "fullName": "google.cloud.support.v2.CaseAttachmentService.ListAttachments", + "service": { + "fullName": "google.cloud.support.v2.CaseAttachmentService", + "shortName": "CaseAttachmentService" + }, + "shortName": "ListAttachments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ListAttachmentsRequest", - "name": "req" + "name": "req", + "type": "supportpb.ListAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttachmentIterator", - "client": { - "shortName": "CaseAttachmentClient", - "fullName": "google.cloud.support.v2.CaseAttachmentClient" - }, - "method": { - "shortName": "ListAttachments", - "fullName": "google.cloud.support.v2.CaseAttachmentService.ListAttachments", - "service": { - "shortName": "CaseAttachmentService", - "fullName": "google.cloud.support.v2.CaseAttachmentService" - } - } + "shortName": "ListAttachments" }, + "description": "ListAttachments list all the attachments associated with a support case.", + "file": "CaseAttachmentClient/ListAttachments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseAttachmentService_ListAttachments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ListAttachments Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_CloseCase_sync", - "title": "cloudsupport CloseCase Sample", - "description": "CloseCase close a case.", - "file": "CaseClient/CloseCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloseCase", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.CloseCase", + "method": { + "fullName": "google.cloud.support.v2.CaseService.CloseCase", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "CloseCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.CloseCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.CloseCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "CloseCase", - "fullName": "google.cloud.support.v2.CaseService.CloseCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "CloseCase" }, + "description": "CloseCase close a case.", + "file": "CaseClient/CloseCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_CloseCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport CloseCase Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_CreateCase_sync", - "title": "cloudsupport CreateCase Sample", - "description": "CreateCase create a new case and associate it with a parent.\n\nIt must have the following fields set: `display_name`, `description`,\n`classification`, and `priority`. If you're just testing the API and don't\nwant to route your case to an agent, set `testCase=true`.", - "file": "CaseClient/CreateCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCase", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.CreateCase", + "method": { + "fullName": "google.cloud.support.v2.CaseService.CreateCase", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "CreateCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.CreateCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.CreateCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "CreateCase", - "fullName": "google.cloud.support.v2.CaseService.CreateCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "CreateCase" }, + "description": "CreateCase create a new case and associate it with a parent.\n\nIt must have the following fields set: `display_name`, `description`,\n`classification`, and `priority`. If you're just testing the API and don't\nwant to route your case to an agent, set `testCase=true`.", + "file": "CaseClient/CreateCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_CreateCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport CreateCase Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_EscalateCase_sync", - "title": "cloudsupport EscalateCase Sample", - "description": "EscalateCase escalate a case, starting the Google Cloud Support escalation management\nprocess.\n\nThis operation is only available for some support services. Go to\nhttps: //cloud.google.com/support and look for 'Technical support\nescalations' in the feature list to find out which ones let you\ndo that.", - "file": "CaseClient/EscalateCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "EscalateCase", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.EscalateCase", + "method": { + "fullName": "google.cloud.support.v2.CaseService.EscalateCase", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "EscalateCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.EscalateCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.EscalateCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "EscalateCase", - "fullName": "google.cloud.support.v2.CaseService.EscalateCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "EscalateCase" }, + "description": "EscalateCase escalate a case, starting the Google Cloud Support escalation management\nprocess.\n\nThis operation is only available for some support services. Go to\nhttps: //cloud.google.com/support and look for 'Technical support\nescalations' in the feature list to find out which ones let you\ndo that.", + "file": "CaseClient/EscalateCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_EscalateCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport EscalateCase Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_GetCase_sync", - "title": "cloudsupport GetCase Sample", - "description": "GetCase retrieve a case.", - "file": "CaseClient/GetCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCase", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.GetCase", + "method": { + "fullName": "google.cloud.support.v2.CaseService.GetCase", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "GetCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.GetCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.GetCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "GetCase", - "fullName": "google.cloud.support.v2.CaseService.GetCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "GetCase" }, + "description": "GetCase retrieve a case.", + "file": "CaseClient/GetCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_GetCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport GetCase Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_ListCases_sync", - "title": "cloudsupport ListCases Sample", - "description": "ListCases retrieve all cases under a parent, but not its children.\n\nFor example, listing cases under an organization only returns the cases\nthat are directly parented by that organization. To retrieve cases\nunder an organization and its projects, use `cases.search`.", - "file": "CaseClient/ListCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCases", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.ListCases", + "method": { + "fullName": "google.cloud.support.v2.CaseService.ListCases", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "ListCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ListCasesRequest", - "name": "req" + "name": "req", + "type": "supportpb.ListCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaseIterator", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "ListCases", - "fullName": "google.cloud.support.v2.CaseService.ListCases", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "ListCases" }, + "description": "ListCases retrieve all cases under a parent, but not its children.\n\nFor example, listing cases under an organization only returns the cases\nthat are directly parented by that organization. To retrieve cases\nunder an organization and its projects, use `cases.search`.", + "file": "CaseClient/ListCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_ListCases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ListCases Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_SearchCaseClassifications_sync", - "title": "cloudsupport SearchCaseClassifications Sample", - "description": "SearchCaseClassifications retrieve valid classifications to use when creating a support case.\n\nClassifications are hierarchical. Each classification is a string\ncontaining all levels of the hierarchy separated by `\" > \"`. For example,\n`\"Technical Issue > Compute > Compute Engine\"`.\n\nClassification IDs returned by this endpoint are valid for at least six\nmonths. When a classification is deactivated, this endpoint immediately\nstops returning it. After six months, `case.create` requests using the\nclassification will fail.", - "file": "CaseClient/SearchCaseClassifications/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCaseClassifications", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.SearchCaseClassifications", + "method": { + "fullName": "google.cloud.support.v2.CaseService.SearchCaseClassifications", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "SearchCaseClassifications" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.SearchCaseClassificationsRequest", - "name": "req" + "name": "req", + "type": "supportpb.SearchCaseClassificationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaseClassificationIterator", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "SearchCaseClassifications", - "fullName": "google.cloud.support.v2.CaseService.SearchCaseClassifications", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "SearchCaseClassifications" }, + "description": "SearchCaseClassifications retrieve valid classifications to use when creating a support case.\n\nClassifications are hierarchical. Each classification is a string\ncontaining all levels of the hierarchy separated by `\" > \"`. For example,\n`\"Technical Issue > Compute > Compute Engine\"`.\n\nClassification IDs returned by this endpoint are valid for at least six\nmonths. When a classification is deactivated, this endpoint immediately\nstops returning it. After six months, `case.create` requests using the\nclassification will fail.", + "file": "CaseClient/SearchCaseClassifications/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_SearchCaseClassifications_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport SearchCaseClassifications Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_SearchCases_sync", - "title": "cloudsupport SearchCases Sample", - "description": "SearchCases search for cases using a query.", - "file": "CaseClient/SearchCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCases", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.SearchCases", + "method": { + "fullName": "google.cloud.support.v2.CaseService.SearchCases", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "SearchCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.SearchCasesRequest", - "name": "req" + "name": "req", + "type": "supportpb.SearchCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaseIterator", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "SearchCases", - "fullName": "google.cloud.support.v2.CaseService.SearchCases", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "SearchCases" }, + "description": "SearchCases search for cases using a query.", + "file": "CaseClient/SearchCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_SearchCases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport SearchCases Sample" }, { - "regionTag": "cloudsupport_v2_generated_CaseService_UpdateCase_sync", - "title": "cloudsupport UpdateCase Sample", - "description": "UpdateCase update a case. Only some fields can be updated.", - "file": "CaseClient/UpdateCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCase", + "client": { + "fullName": "google.cloud.support.v2.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2.CaseClient.UpdateCase", + "method": { + "fullName": "google.cloud.support.v2.CaseService.UpdateCase", + "service": { + "fullName": "google.cloud.support.v2.CaseService", + "shortName": "CaseService" + }, + "shortName": "UpdateCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.UpdateCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.UpdateCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2.CaseClient" - }, - "method": { - "shortName": "UpdateCase", - "fullName": "google.cloud.support.v2.CaseService.UpdateCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2.CaseService" - } - } + "shortName": "UpdateCase" }, + "description": "UpdateCase update a case. Only some fields can be updated.", + "file": "CaseClient/UpdateCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CaseService_UpdateCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport UpdateCase Sample" }, { - "regionTag": "cloudsupport_v2_generated_CommentService_CreateComment_sync", - "title": "cloudsupport CreateComment Sample", - "description": "CreateComment add a new comment to a case.\n\nThe comment must have the following fields set: `body`.", - "file": "CommentClient/CreateComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateComment", + "client": { + "fullName": "google.cloud.support.v2.CommentClient", + "shortName": "CommentClient" + }, "fullName": "google.cloud.support.v2.CommentClient.CreateComment", + "method": { + "fullName": "google.cloud.support.v2.CommentService.CreateComment", + "service": { + "fullName": "google.cloud.support.v2.CommentService", + "shortName": "CommentService" + }, + "shortName": "CreateComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.CreateCommentRequest", - "name": "req" + "name": "req", + "type": "supportpb.CreateCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Comment", - "client": { - "shortName": "CommentClient", - "fullName": "google.cloud.support.v2.CommentClient" - }, - "method": { - "shortName": "CreateComment", - "fullName": "google.cloud.support.v2.CommentService.CreateComment", - "service": { - "shortName": "CommentService", - "fullName": "google.cloud.support.v2.CommentService" - } - } + "shortName": "CreateComment" }, + "description": "CreateComment add a new comment to a case.\n\nThe comment must have the following fields set: `body`.", + "file": "CommentClient/CreateComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CommentService_CreateComment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport CreateComment Sample" }, { - "regionTag": "cloudsupport_v2_generated_CommentService_ListComments_sync", - "title": "cloudsupport ListComments Sample", - "description": "ListComments list all the comments associated with a case.", - "file": "CommentClient/ListComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListComments", + "client": { + "fullName": "google.cloud.support.v2.CommentClient", + "shortName": "CommentClient" + }, "fullName": "google.cloud.support.v2.CommentClient.ListComments", + "method": { + "fullName": "google.cloud.support.v2.CommentService.ListComments", + "service": { + "fullName": "google.cloud.support.v2.CommentService", + "shortName": "CommentService" + }, + "shortName": "ListComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ListCommentsRequest", - "name": "req" + "name": "req", + "type": "supportpb.ListCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommentIterator", - "client": { - "shortName": "CommentClient", - "fullName": "google.cloud.support.v2.CommentClient" - }, - "method": { - "shortName": "ListComments", - "fullName": "google.cloud.support.v2.CommentService.ListComments", - "service": { - "shortName": "CommentService", - "fullName": "google.cloud.support.v2.CommentService" - } - } + "shortName": "ListComments" }, + "description": "ListComments list all the comments associated with a case.", + "file": "CommentClient/ListComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2_generated_CommentService_ListComments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ListComments Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/support/apiv2beta/snippet_metadata.google.cloud.support.v2beta.json b/internal/generated/snippets/support/apiv2beta/snippet_metadata.google.cloud.support.v2beta.json index ef8191b0b589..c380858573b4 100644 --- a/internal/generated/snippets/support/apiv2beta/snippet_metadata.google.cloud.support.v2beta.json +++ b/internal/generated/snippets/support/apiv2beta/snippet_metadata.google.cloud.support.v2beta.json @@ -1,659 +1,659 @@ { "clientLibrary": { - "name": "cloud.google.com/go/support/apiv2beta", - "version": "1.5.0", - "language": "GO", "apis": [ { "id": "google.cloud.support.v2beta", "version": "v2beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/support/apiv2beta", + "version": "1.5.0" }, "snippets": [ { - "regionTag": "cloudsupport_v2beta_generated_CaseAttachmentService_GetAttachment_sync", - "title": "cloudsupport GetAttachment Sample", - "description": "GetAttachment retrieve an attachment.", - "file": "CaseAttachmentClient/GetAttachment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAttachment", + "client": { + "fullName": "google.cloud.support.v2beta.CaseAttachmentClient", + "shortName": "CaseAttachmentClient" + }, "fullName": "google.cloud.support.v2beta.CaseAttachmentClient.GetAttachment", + "method": { + "fullName": "google.cloud.support.v2beta.CaseAttachmentService.GetAttachment", + "service": { + "fullName": "google.cloud.support.v2beta.CaseAttachmentService", + "shortName": "CaseAttachmentService" + }, + "shortName": "GetAttachment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.GetAttachmentRequest", - "name": "req" + "name": "req", + "type": "supportpb.GetAttachmentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Attachment", - "client": { - "shortName": "CaseAttachmentClient", - "fullName": "google.cloud.support.v2beta.CaseAttachmentClient" - }, - "method": { - "shortName": "GetAttachment", - "fullName": "google.cloud.support.v2beta.CaseAttachmentService.GetAttachment", - "service": { - "shortName": "CaseAttachmentService", - "fullName": "google.cloud.support.v2beta.CaseAttachmentService" - } - } + "shortName": "GetAttachment" }, + "description": "GetAttachment retrieve an attachment.", + "file": "CaseAttachmentClient/GetAttachment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseAttachmentService_GetAttachment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport GetAttachment Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseAttachmentService_ListAttachments_sync", - "title": "cloudsupport ListAttachments Sample", - "description": "ListAttachments list all the attachments associated with a support case.", - "file": "CaseAttachmentClient/ListAttachments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAttachments", + "client": { + "fullName": "google.cloud.support.v2beta.CaseAttachmentClient", + "shortName": "CaseAttachmentClient" + }, "fullName": "google.cloud.support.v2beta.CaseAttachmentClient.ListAttachments", + "method": { + "fullName": "google.cloud.support.v2beta.CaseAttachmentService.ListAttachments", + "service": { + "fullName": "google.cloud.support.v2beta.CaseAttachmentService", + "shortName": "CaseAttachmentService" + }, + "shortName": "ListAttachments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ListAttachmentsRequest", - "name": "req" + "name": "req", + "type": "supportpb.ListAttachmentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AttachmentIterator", - "client": { - "shortName": "CaseAttachmentClient", - "fullName": "google.cloud.support.v2beta.CaseAttachmentClient" - }, - "method": { - "shortName": "ListAttachments", - "fullName": "google.cloud.support.v2beta.CaseAttachmentService.ListAttachments", - "service": { - "shortName": "CaseAttachmentService", - "fullName": "google.cloud.support.v2beta.CaseAttachmentService" - } - } + "shortName": "ListAttachments" }, + "description": "ListAttachments list all the attachments associated with a support case.", + "file": "CaseAttachmentClient/ListAttachments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseAttachmentService_ListAttachments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ListAttachments Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_CloseCase_sync", - "title": "cloudsupport CloseCase Sample", - "description": "CloseCase close a case.", - "file": "CaseClient/CloseCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CloseCase", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.CloseCase", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.CloseCase", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "CloseCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.CloseCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.CloseCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "CloseCase", - "fullName": "google.cloud.support.v2beta.CaseService.CloseCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "CloseCase" }, + "description": "CloseCase close a case.", + "file": "CaseClient/CloseCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_CloseCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport CloseCase Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_CreateCase_sync", - "title": "cloudsupport CreateCase Sample", - "description": "CreateCase create a new case and associate it with a parent.\n\nIt must have the following fields set: `display_name`, `description`,\n`classification`, and `priority`. If you're just testing the API and don't\nwant to route your case to an agent, set `testCase=true`.", - "file": "CaseClient/CreateCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCase", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.CreateCase", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.CreateCase", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "CreateCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.CreateCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.CreateCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "CreateCase", - "fullName": "google.cloud.support.v2beta.CaseService.CreateCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "CreateCase" }, + "description": "CreateCase create a new case and associate it with a parent.\n\nIt must have the following fields set: `display_name`, `description`,\n`classification`, and `priority`. If you're just testing the API and don't\nwant to route your case to an agent, set `testCase=true`.", + "file": "CaseClient/CreateCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_CreateCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport CreateCase Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_EscalateCase_sync", - "title": "cloudsupport EscalateCase Sample", - "description": "EscalateCase escalate a case, starting the Google Cloud Support escalation management\nprocess.\n\nThis operation is only available for some support services. Go to\nhttps: //cloud.google.com/support and look for 'Technical support\nescalations' in the feature list to find out which ones let you\ndo that.", - "file": "CaseClient/EscalateCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "EscalateCase", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.EscalateCase", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.EscalateCase", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "EscalateCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.EscalateCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.EscalateCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "EscalateCase", - "fullName": "google.cloud.support.v2beta.CaseService.EscalateCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "EscalateCase" }, + "description": "EscalateCase escalate a case, starting the Google Cloud Support escalation management\nprocess.\n\nThis operation is only available for some support services. Go to\nhttps: //cloud.google.com/support and look for 'Technical support\nescalations' in the feature list to find out which ones let you\ndo that.", + "file": "CaseClient/EscalateCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_EscalateCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport EscalateCase Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_GetCase_sync", - "title": "cloudsupport GetCase Sample", - "description": "GetCase retrieve a case.", - "file": "CaseClient/GetCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCase", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.GetCase", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.GetCase", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "GetCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.GetCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.GetCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "GetCase", - "fullName": "google.cloud.support.v2beta.CaseService.GetCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "GetCase" }, + "description": "GetCase retrieve a case.", + "file": "CaseClient/GetCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_GetCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport GetCase Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_ListCases_sync", - "title": "cloudsupport ListCases Sample", - "description": "ListCases retrieve all cases under a parent, but not its children.\n\nFor example, listing cases under an organization only returns the cases\nthat are directly parented by that organization. To retrieve cases\nunder an organization and its projects, use `cases.search`.", - "file": "CaseClient/ListCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCases", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.ListCases", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.ListCases", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "ListCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ListCasesRequest", - "name": "req" + "name": "req", + "type": "supportpb.ListCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaseIterator", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "ListCases", - "fullName": "google.cloud.support.v2beta.CaseService.ListCases", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "ListCases" }, + "description": "ListCases retrieve all cases under a parent, but not its children.\n\nFor example, listing cases under an organization only returns the cases\nthat are directly parented by that organization. To retrieve cases\nunder an organization and its projects, use `cases.search`.", + "file": "CaseClient/ListCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_ListCases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ListCases Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_SearchCaseClassifications_sync", - "title": "cloudsupport SearchCaseClassifications Sample", - "description": "SearchCaseClassifications retrieve valid classifications to use when creating a support case.\n\nClassifications are hierarchical. Each classification is a string\ncontaining all levels of the hierarchy separated by `\" > \"`. For example,\n`\"Technical Issue > Compute > Compute Engine\"`.\n\nClassification IDs returned by this endpoint are valid for at least six\nmonths. When a classification is deactivated, this endpoint immediately\nstops returning it. After six months, `case.create` requests using the\nclassification will fail.", - "file": "CaseClient/SearchCaseClassifications/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCaseClassifications", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.SearchCaseClassifications", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.SearchCaseClassifications", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "SearchCaseClassifications" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.SearchCaseClassificationsRequest", - "name": "req" + "name": "req", + "type": "supportpb.SearchCaseClassificationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaseClassificationIterator", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "SearchCaseClassifications", - "fullName": "google.cloud.support.v2beta.CaseService.SearchCaseClassifications", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "SearchCaseClassifications" }, + "description": "SearchCaseClassifications retrieve valid classifications to use when creating a support case.\n\nClassifications are hierarchical. Each classification is a string\ncontaining all levels of the hierarchy separated by `\" > \"`. For example,\n`\"Technical Issue > Compute > Compute Engine\"`.\n\nClassification IDs returned by this endpoint are valid for at least six\nmonths. When a classification is deactivated, this endpoint immediately\nstops returning it. After six months, `case.create` requests using the\nclassification will fail.", + "file": "CaseClient/SearchCaseClassifications/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_SearchCaseClassifications_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport SearchCaseClassifications Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_SearchCases_sync", - "title": "cloudsupport SearchCases Sample", - "description": "SearchCases search for cases using a query.", - "file": "CaseClient/SearchCases/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchCases", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.SearchCases", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.SearchCases", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "SearchCases" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.SearchCasesRequest", - "name": "req" + "name": "req", + "type": "supportpb.SearchCasesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CaseIterator", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "SearchCases", - "fullName": "google.cloud.support.v2beta.CaseService.SearchCases", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "SearchCases" }, + "description": "SearchCases search for cases using a query.", + "file": "CaseClient/SearchCases/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_SearchCases_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport SearchCases Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CaseService_UpdateCase_sync", - "title": "cloudsupport UpdateCase Sample", - "description": "UpdateCase update a case. Only some fields can be updated.", - "file": "CaseClient/UpdateCase/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCase", + "client": { + "fullName": "google.cloud.support.v2beta.CaseClient", + "shortName": "CaseClient" + }, "fullName": "google.cloud.support.v2beta.CaseClient.UpdateCase", + "method": { + "fullName": "google.cloud.support.v2beta.CaseService.UpdateCase", + "service": { + "fullName": "google.cloud.support.v2beta.CaseService", + "shortName": "CaseService" + }, + "shortName": "UpdateCase" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.UpdateCaseRequest", - "name": "req" + "name": "req", + "type": "supportpb.UpdateCaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Case", - "client": { - "shortName": "CaseClient", - "fullName": "google.cloud.support.v2beta.CaseClient" - }, - "method": { - "shortName": "UpdateCase", - "fullName": "google.cloud.support.v2beta.CaseService.UpdateCase", - "service": { - "shortName": "CaseService", - "fullName": "google.cloud.support.v2beta.CaseService" - } - } + "shortName": "UpdateCase" }, + "description": "UpdateCase update a case. Only some fields can be updated.", + "file": "CaseClient/UpdateCase/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CaseService_UpdateCase_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport UpdateCase Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CommentService_CreateComment_sync", - "title": "cloudsupport CreateComment Sample", - "description": "CreateComment add a new comment to a case.\n\nThe comment must have the following fields set: `body`.", - "file": "CommentClient/CreateComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateComment", + "client": { + "fullName": "google.cloud.support.v2beta.CommentClient", + "shortName": "CommentClient" + }, "fullName": "google.cloud.support.v2beta.CommentClient.CreateComment", + "method": { + "fullName": "google.cloud.support.v2beta.CommentService.CreateComment", + "service": { + "fullName": "google.cloud.support.v2beta.CommentService", + "shortName": "CommentService" + }, + "shortName": "CreateComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.CreateCommentRequest", - "name": "req" + "name": "req", + "type": "supportpb.CreateCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Comment", - "client": { - "shortName": "CommentClient", - "fullName": "google.cloud.support.v2beta.CommentClient" - }, - "method": { - "shortName": "CreateComment", - "fullName": "google.cloud.support.v2beta.CommentService.CreateComment", - "service": { - "shortName": "CommentService", - "fullName": "google.cloud.support.v2beta.CommentService" - } - } + "shortName": "CreateComment" }, + "description": "CreateComment add a new comment to a case.\n\nThe comment must have the following fields set: `body`.", + "file": "CommentClient/CreateComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CommentService_CreateComment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport CreateComment Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CommentService_GetComment_sync", - "title": "cloudsupport GetComment Sample", - "description": "GetComment retrieve a comment.", - "file": "CommentClient/GetComment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetComment", + "client": { + "fullName": "google.cloud.support.v2beta.CommentClient", + "shortName": "CommentClient" + }, "fullName": "google.cloud.support.v2beta.CommentClient.GetComment", + "method": { + "fullName": "google.cloud.support.v2beta.CommentService.GetComment", + "service": { + "fullName": "google.cloud.support.v2beta.CommentService", + "shortName": "CommentService" + }, + "shortName": "GetComment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.GetCommentRequest", - "name": "req" + "name": "req", + "type": "supportpb.GetCommentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*supportpb.Comment", - "client": { - "shortName": "CommentClient", - "fullName": "google.cloud.support.v2beta.CommentClient" - }, - "method": { - "shortName": "GetComment", - "fullName": "google.cloud.support.v2beta.CommentService.GetComment", - "service": { - "shortName": "CommentService", - "fullName": "google.cloud.support.v2beta.CommentService" - } - } + "shortName": "GetComment" }, + "description": "GetComment retrieve a comment.", + "file": "CommentClient/GetComment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CommentService_GetComment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport GetComment Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_CommentService_ListComments_sync", - "title": "cloudsupport ListComments Sample", - "description": "ListComments list all the comments associated with a case.", - "file": "CommentClient/ListComments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListComments", + "client": { + "fullName": "google.cloud.support.v2beta.CommentClient", + "shortName": "CommentClient" + }, "fullName": "google.cloud.support.v2beta.CommentClient.ListComments", + "method": { + "fullName": "google.cloud.support.v2beta.CommentService.ListComments", + "service": { + "fullName": "google.cloud.support.v2beta.CommentService", + "shortName": "CommentService" + }, + "shortName": "ListComments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ListCommentsRequest", - "name": "req" + "name": "req", + "type": "supportpb.ListCommentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CommentIterator", - "client": { - "shortName": "CommentClient", - "fullName": "google.cloud.support.v2beta.CommentClient" - }, - "method": { - "shortName": "ListComments", - "fullName": "google.cloud.support.v2beta.CommentService.ListComments", - "service": { - "shortName": "CommentService", - "fullName": "google.cloud.support.v2beta.CommentService" - } - } + "shortName": "ListComments" }, + "description": "ListComments list all the comments associated with a case.", + "file": "CommentClient/ListComments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_CommentService_ListComments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ListComments Sample" }, { - "regionTag": "cloudsupport_v2beta_generated_FeedService_ShowFeed_sync", - "title": "cloudsupport ShowFeed Sample", - "description": "ShowFeed show items in the feed of this case, including case emails,\nattachments, and comments.", - "file": "FeedClient/ShowFeed/main.go", - "language": "GO", "clientMethod": { - "shortName": "ShowFeed", + "client": { + "fullName": "google.cloud.support.v2beta.FeedClient", + "shortName": "FeedClient" + }, "fullName": "google.cloud.support.v2beta.FeedClient.ShowFeed", + "method": { + "fullName": "google.cloud.support.v2beta.FeedService.ShowFeed", + "service": { + "fullName": "google.cloud.support.v2beta.FeedService", + "shortName": "FeedService" + }, + "shortName": "ShowFeed" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "supportpb.ShowFeedRequest", - "name": "req" + "name": "req", + "type": "supportpb.ShowFeedRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FeedItemIterator", - "client": { - "shortName": "FeedClient", - "fullName": "google.cloud.support.v2beta.FeedClient" - }, - "method": { - "shortName": "ShowFeed", - "fullName": "google.cloud.support.v2beta.FeedService.ShowFeed", - "service": { - "shortName": "FeedService", - "fullName": "google.cloud.support.v2beta.FeedService" - } - } + "shortName": "ShowFeed" }, + "description": "ShowFeed show items in the feed of this case, including case emails,\nattachments, and comments.", + "file": "FeedClient/ShowFeed/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudsupport_v2beta_generated_FeedService_ShowFeed_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudsupport ShowFeed Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json b/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json index 32e463d861de..0261849b4497 100644 --- a/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json +++ b/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json @@ -1,1254 +1,1254 @@ { "clientLibrary": { - "name": "cloud.google.com/go/talent/apiv4", - "version": "1.8.4", - "language": "GO", "apis": [ { "id": "google.cloud.talent.v4", "version": "v4" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/talent/apiv4", + "version": "1.8.4" }, "snippets": [ { - "regionTag": "jobs_v4_generated_CompanyService_CreateCompany_sync", - "title": "jobs CreateCompany Sample", - "description": "CreateCompany creates a new company entity.", - "file": "CompanyClient/CreateCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCompany", + "client": { + "fullName": "google.cloud.talent.v4.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4.CompanyClient.CreateCompany", + "method": { + "fullName": "google.cloud.talent.v4.CompanyService.CreateCompany", + "service": { + "fullName": "google.cloud.talent.v4.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "CreateCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Company", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4.CompanyClient" - }, - "method": { - "shortName": "CreateCompany", - "fullName": "google.cloud.talent.v4.CompanyService.CreateCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4.CompanyService" - } - } + "shortName": "CreateCompany" }, + "description": "CreateCompany creates a new company entity.", + "file": "CompanyClient/CreateCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_CompanyService_CreateCompany_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateCompany Sample" }, { - "regionTag": "jobs_v4_generated_CompanyService_DeleteCompany_sync", - "title": "jobs DeleteCompany Sample", - "description": "DeleteCompany deletes specified company.\nPrerequisite: The company has no jobs associated with it.", - "file": "CompanyClient/DeleteCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCompany", + "client": { + "fullName": "google.cloud.talent.v4.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4.CompanyClient.DeleteCompany", + "method": { + "fullName": "google.cloud.talent.v4.CompanyService.DeleteCompany", + "service": { + "fullName": "google.cloud.talent.v4.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "DeleteCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.DeleteCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.DeleteCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4.CompanyClient" - }, - "method": { - "shortName": "DeleteCompany", - "fullName": "google.cloud.talent.v4.CompanyService.DeleteCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4.CompanyService" - } - } + "shortName": "DeleteCompany" }, + "description": "DeleteCompany deletes specified company.\nPrerequisite: The company has no jobs associated with it.", + "file": "CompanyClient/DeleteCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_CompanyService_DeleteCompany_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs DeleteCompany Sample" }, { - "regionTag": "jobs_v4_generated_CompanyService_GetCompany_sync", - "title": "jobs GetCompany Sample", - "description": "GetCompany retrieves specified company.", - "file": "CompanyClient/GetCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompany", + "client": { + "fullName": "google.cloud.talent.v4.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4.CompanyClient.GetCompany", + "method": { + "fullName": "google.cloud.talent.v4.CompanyService.GetCompany", + "service": { + "fullName": "google.cloud.talent.v4.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "GetCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.GetCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.GetCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Company", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4.CompanyClient" - }, - "method": { - "shortName": "GetCompany", - "fullName": "google.cloud.talent.v4.CompanyService.GetCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4.CompanyService" - } - } + "shortName": "GetCompany" }, + "description": "GetCompany retrieves specified company.", + "file": "CompanyClient/GetCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_CompanyService_GetCompany_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetCompany Sample" }, { - "regionTag": "jobs_v4_generated_CompanyService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompanyClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4.CompanyClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4.CompanyClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompanyClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_CompanyService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4_generated_CompanyService_ListCompanies_sync", - "title": "jobs ListCompanies Sample", - "description": "ListCompanies lists all companies associated with the project.", - "file": "CompanyClient/ListCompanies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCompanies", + "client": { + "fullName": "google.cloud.talent.v4.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4.CompanyClient.ListCompanies", + "method": { + "fullName": "google.cloud.talent.v4.CompanyService.ListCompanies", + "service": { + "fullName": "google.cloud.talent.v4.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "ListCompanies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.ListCompaniesRequest", - "name": "req" + "name": "req", + "type": "talentpb.ListCompaniesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompanyIterator", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4.CompanyClient" - }, - "method": { - "shortName": "ListCompanies", - "fullName": "google.cloud.talent.v4.CompanyService.ListCompanies", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4.CompanyService" - } - } + "shortName": "ListCompanies" }, + "description": "ListCompanies lists all companies associated with the project.", + "file": "CompanyClient/ListCompanies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_CompanyService_ListCompanies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs ListCompanies Sample" }, { - "regionTag": "jobs_v4_generated_CompanyService_UpdateCompany_sync", - "title": "jobs UpdateCompany Sample", - "description": "UpdateCompany updates specified company.", - "file": "CompanyClient/UpdateCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCompany", + "client": { + "fullName": "google.cloud.talent.v4.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4.CompanyClient.UpdateCompany", + "method": { + "fullName": "google.cloud.talent.v4.CompanyService.UpdateCompany", + "service": { + "fullName": "google.cloud.talent.v4.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "UpdateCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.UpdateCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.UpdateCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Company", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4.CompanyClient" - }, - "method": { - "shortName": "UpdateCompany", - "fullName": "google.cloud.talent.v4.CompanyService.UpdateCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4.CompanyService" - } - } + "shortName": "UpdateCompany" }, + "description": "UpdateCompany updates specified company.", + "file": "CompanyClient/UpdateCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_CompanyService_UpdateCompany_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs UpdateCompany Sample" }, { - "regionTag": "jobs_v4_generated_Completion_CompleteQuery_sync", - "title": "jobs CompleteQuery Sample", - "description": "CompleteQuery completes the specified prefix with keyword suggestions.\nIntended for use by a job search auto-complete search box.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.talent.v4.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.talent.v4.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.talent.v4.Completion.CompleteQuery", + "service": { + "fullName": "google.cloud.talent.v4.Completion", + "shortName": "Completion" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "talentpb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.talent.v4.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.talent.v4.Completion.CompleteQuery", - "service": { - "shortName": "Completion", - "fullName": "google.cloud.talent.v4.Completion" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified prefix with keyword suggestions.\nIntended for use by a job search auto-complete search box.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_Completion_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CompleteQuery Sample" }, { - "regionTag": "jobs_v4_generated_Completion_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.talent.v4.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.talent.v4.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_Completion_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4_generated_EventService_CreateClientEvent_sync", - "title": "jobs CreateClientEvent Sample", - "description": "CreateClientEvent report events issued when end user interacts with customer's application\nthat uses Cloud Talent Solution. You may inspect the created events in\n[self service\ntools](https: //console.cloud.google.com/talent-solution/overview).\n[Learn\nmore](https: //cloud.google.com/talent-solution/docs/management-tools)\nabout self service tools.", - "file": "EventClient/CreateClientEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateClientEvent", + "client": { + "fullName": "google.cloud.talent.v4.EventClient", + "shortName": "EventClient" + }, "fullName": "google.cloud.talent.v4.EventClient.CreateClientEvent", + "method": { + "fullName": "google.cloud.talent.v4.EventService.CreateClientEvent", + "service": { + "fullName": "google.cloud.talent.v4.EventService", + "shortName": "EventService" + }, + "shortName": "CreateClientEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateClientEventRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateClientEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.ClientEvent", - "client": { - "shortName": "EventClient", - "fullName": "google.cloud.talent.v4.EventClient" - }, - "method": { - "shortName": "CreateClientEvent", - "fullName": "google.cloud.talent.v4.EventService.CreateClientEvent", - "service": { - "shortName": "EventService", - "fullName": "google.cloud.talent.v4.EventService" - } - } + "shortName": "CreateClientEvent" }, + "description": "CreateClientEvent report events issued when end user interacts with customer's application\nthat uses Cloud Talent Solution. You may inspect the created events in\n[self service\ntools](https: //console.cloud.google.com/talent-solution/overview).\n[Learn\nmore](https: //cloud.google.com/talent-solution/docs/management-tools)\nabout self service tools.", + "file": "EventClient/CreateClientEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_EventService_CreateClientEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateClientEvent Sample" }, { - "regionTag": "jobs_v4_generated_EventService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4.EventClient", + "shortName": "EventClient" + }, "fullName": "google.cloud.talent.v4.EventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EventClient", - "fullName": "google.cloud.talent.v4.EventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_EventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4_generated_JobService_BatchCreateJobs_sync", - "title": "jobs BatchCreateJobs Sample", - "description": "BatchCreateJobs begins executing a batch create jobs operation.", - "file": "JobClient/BatchCreateJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateJobs", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.BatchCreateJobs", + "method": { + "fullName": "google.cloud.talent.v4.JobService.BatchCreateJobs", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "BatchCreateJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.BatchCreateJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.BatchCreateJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateJobsOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "BatchCreateJobs", - "fullName": "google.cloud.talent.v4.JobService.BatchCreateJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "BatchCreateJobs" }, + "description": "BatchCreateJobs begins executing a batch create jobs operation.", + "file": "JobClient/BatchCreateJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_BatchCreateJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs BatchCreateJobs Sample" }, { - "regionTag": "jobs_v4_generated_JobService_BatchDeleteJobs_sync", - "title": "jobs BatchDeleteJobs Sample", - "description": "BatchDeleteJobs begins executing a batch delete jobs operation.", - "file": "JobClient/BatchDeleteJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteJobs", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.BatchDeleteJobs", + "method": { + "fullName": "google.cloud.talent.v4.JobService.BatchDeleteJobs", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "BatchDeleteJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.BatchDeleteJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.BatchDeleteJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchDeleteJobsOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "BatchDeleteJobs", - "fullName": "google.cloud.talent.v4.JobService.BatchDeleteJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "BatchDeleteJobs" }, + "description": "BatchDeleteJobs begins executing a batch delete jobs operation.", + "file": "JobClient/BatchDeleteJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_BatchDeleteJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs BatchDeleteJobs Sample" }, { - "regionTag": "jobs_v4_generated_JobService_BatchUpdateJobs_sync", - "title": "jobs BatchUpdateJobs Sample", - "description": "BatchUpdateJobs begins executing a batch update jobs operation.", - "file": "JobClient/BatchUpdateJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateJobs", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.BatchUpdateJobs", + "method": { + "fullName": "google.cloud.talent.v4.JobService.BatchUpdateJobs", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "BatchUpdateJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.BatchUpdateJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.BatchUpdateJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateJobsOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "BatchUpdateJobs", - "fullName": "google.cloud.talent.v4.JobService.BatchUpdateJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "BatchUpdateJobs" }, + "description": "BatchUpdateJobs begins executing a batch update jobs operation.", + "file": "JobClient/BatchUpdateJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_BatchUpdateJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs BatchUpdateJobs Sample" }, { - "regionTag": "jobs_v4_generated_JobService_CreateJob_sync", - "title": "jobs CreateJob Sample", - "description": "CreateJob creates a new job.\n\nTypically, the job becomes searchable within 10 seconds, but it may take\nup to 5 minutes.", - "file": "JobClient/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.CreateJob", + "method": { + "fullName": "google.cloud.talent.v4.JobService.CreateJob", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.talent.v4.JobService.CreateJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a new job.\n\nTypically, the job becomes searchable within 10 seconds, but it may take\nup to 5 minutes.", + "file": "JobClient/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateJob Sample" }, { - "regionTag": "jobs_v4_generated_JobService_DeleteJob_sync", - "title": "jobs DeleteJob Sample", - "description": "DeleteJob deletes the specified job.\n\nTypically, the job becomes unsearchable within 10 seconds, but it may take\nup to 5 minutes.", - "file": "JobClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.DeleteJob", + "method": { + "fullName": "google.cloud.talent.v4.JobService.DeleteJob", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.talent.v4.JobService.DeleteJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes the specified job.\n\nTypically, the job becomes unsearchable within 10 seconds, but it may take\nup to 5 minutes.", + "file": "JobClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs DeleteJob Sample" }, { - "regionTag": "jobs_v4_generated_JobService_GetJob_sync", - "title": "jobs GetJob Sample", - "description": "GetJob retrieves the specified job, whose status is OPEN or recently EXPIRED\nwithin the last 90 days.", - "file": "JobClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.GetJob", + "method": { + "fullName": "google.cloud.talent.v4.JobService.GetJob", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.talent.v4.JobService.GetJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "GetJob" }, + "description": "GetJob retrieves the specified job, whose status is OPEN or recently EXPIRED\nwithin the last 90 days.", + "file": "JobClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetJob Sample" }, { - "regionTag": "jobs_v4_generated_JobService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4_generated_JobService_ListJobs_sync", - "title": "jobs ListJobs Sample", - "description": "ListJobs lists jobs by filter.", - "file": "JobClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.ListJobs", + "method": { + "fullName": "google.cloud.talent.v4.JobService.ListJobs", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.talent.v4.JobService.ListJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists jobs by filter.", + "file": "JobClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs ListJobs Sample" }, { - "regionTag": "jobs_v4_generated_JobService_SearchJobs_sync", - "title": "jobs SearchJobs Sample", - "description": "SearchJobs searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].\n\nThis call constrains the\n[visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the\ndatabase, and only returns jobs that the caller has permission to search\nagainst.", - "file": "JobClient/SearchJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchJobs", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.SearchJobs", + "method": { + "fullName": "google.cloud.talent.v4.JobService.SearchJobs", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "SearchJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.SearchJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.SearchJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.SearchJobsResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "SearchJobs", - "fullName": "google.cloud.talent.v4.JobService.SearchJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "SearchJobs" }, + "description": "SearchJobs searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].\n\nThis call constrains the\n[visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the\ndatabase, and only returns jobs that the caller has permission to search\nagainst.", + "file": "JobClient/SearchJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_SearchJobs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs SearchJobs Sample" }, { - "regionTag": "jobs_v4_generated_JobService_SearchJobsForAlert_sync", - "title": "jobs SearchJobsForAlert Sample", - "description": "SearchJobsForAlert searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].\n\nThis API call is intended for the use case of targeting passive job\nseekers (for example, job seekers who have signed up to receive email\nalerts about potential job opportunities), it has different algorithmic\nadjustments that are designed to specifically target passive job seekers.\n\nThis call constrains the\n[visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the\ndatabase, and only returns jobs the caller has permission to search\nagainst.", - "file": "JobClient/SearchJobsForAlert/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchJobsForAlert", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.SearchJobsForAlert", + "method": { + "fullName": "google.cloud.talent.v4.JobService.SearchJobsForAlert", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "SearchJobsForAlert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.SearchJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.SearchJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.SearchJobsResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "SearchJobsForAlert", - "fullName": "google.cloud.talent.v4.JobService.SearchJobsForAlert", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "SearchJobsForAlert" }, + "description": "SearchJobsForAlert searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].\n\nThis API call is intended for the use case of targeting passive job\nseekers (for example, job seekers who have signed up to receive email\nalerts about potential job opportunities), it has different algorithmic\nadjustments that are designed to specifically target passive job seekers.\n\nThis call constrains the\n[visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the\ndatabase, and only returns jobs the caller has permission to search\nagainst.", + "file": "JobClient/SearchJobsForAlert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_SearchJobsForAlert_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs SearchJobsForAlert Sample" }, { - "regionTag": "jobs_v4_generated_JobService_UpdateJob_sync", - "title": "jobs UpdateJob Sample", - "description": "UpdateJob updates specified job.\n\nTypically, updated contents become visible in search results within 10\nseconds, but it may take up to 5 minutes.", - "file": "JobClient/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.cloud.talent.v4.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4.JobClient.UpdateJob", + "method": { + "fullName": "google.cloud.talent.v4.JobService.UpdateJob", + "service": { + "fullName": "google.cloud.talent.v4.JobService", + "shortName": "JobService" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4.JobClient" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.cloud.talent.v4.JobService.UpdateJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates specified job.\n\nTypically, updated contents become visible in search results within 10\nseconds, but it may take up to 5 minutes.", + "file": "JobClient/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_JobService_UpdateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs UpdateJob Sample" }, { - "regionTag": "jobs_v4_generated_TenantService_CreateTenant_sync", - "title": "jobs CreateTenant Sample", - "description": "CreateTenant creates a new tenant entity.", - "file": "TenantClient/CreateTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTenant", + "client": { + "fullName": "google.cloud.talent.v4.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4.TenantClient.CreateTenant", + "method": { + "fullName": "google.cloud.talent.v4.TenantService.CreateTenant", + "service": { + "fullName": "google.cloud.talent.v4.TenantService", + "shortName": "TenantService" + }, + "shortName": "CreateTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Tenant", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4.TenantClient" - }, - "method": { - "shortName": "CreateTenant", - "fullName": "google.cloud.talent.v4.TenantService.CreateTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4.TenantService" - } - } + "shortName": "CreateTenant" }, + "description": "CreateTenant creates a new tenant entity.", + "file": "TenantClient/CreateTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_TenantService_CreateTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateTenant Sample" }, { - "regionTag": "jobs_v4_generated_TenantService_DeleteTenant_sync", - "title": "jobs DeleteTenant Sample", - "description": "DeleteTenant deletes specified tenant.", - "file": "TenantClient/DeleteTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTenant", + "client": { + "fullName": "google.cloud.talent.v4.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4.TenantClient.DeleteTenant", + "method": { + "fullName": "google.cloud.talent.v4.TenantService.DeleteTenant", + "service": { + "fullName": "google.cloud.talent.v4.TenantService", + "shortName": "TenantService" + }, + "shortName": "DeleteTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.DeleteTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.DeleteTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4.TenantClient" - }, - "method": { - "shortName": "DeleteTenant", - "fullName": "google.cloud.talent.v4.TenantService.DeleteTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4.TenantService" - } - } + "shortName": "DeleteTenant" }, + "description": "DeleteTenant deletes specified tenant.", + "file": "TenantClient/DeleteTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_TenantService_DeleteTenant_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs DeleteTenant Sample" }, { - "regionTag": "jobs_v4_generated_TenantService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TenantClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4.TenantClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4.TenantClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TenantClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_TenantService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4_generated_TenantService_GetTenant_sync", - "title": "jobs GetTenant Sample", - "description": "GetTenant retrieves specified tenant.", - "file": "TenantClient/GetTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTenant", + "client": { + "fullName": "google.cloud.talent.v4.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4.TenantClient.GetTenant", + "method": { + "fullName": "google.cloud.talent.v4.TenantService.GetTenant", + "service": { + "fullName": "google.cloud.talent.v4.TenantService", + "shortName": "TenantService" + }, + "shortName": "GetTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.GetTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.GetTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Tenant", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4.TenantClient" - }, - "method": { - "shortName": "GetTenant", - "fullName": "google.cloud.talent.v4.TenantService.GetTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4.TenantService" - } - } + "shortName": "GetTenant" }, + "description": "GetTenant retrieves specified tenant.", + "file": "TenantClient/GetTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_TenantService_GetTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetTenant Sample" }, { - "regionTag": "jobs_v4_generated_TenantService_ListTenants_sync", - "title": "jobs ListTenants Sample", - "description": "ListTenants lists all tenants associated with the project.", - "file": "TenantClient/ListTenants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTenants", + "client": { + "fullName": "google.cloud.talent.v4.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4.TenantClient.ListTenants", + "method": { + "fullName": "google.cloud.talent.v4.TenantService.ListTenants", + "service": { + "fullName": "google.cloud.talent.v4.TenantService", + "shortName": "TenantService" + }, + "shortName": "ListTenants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.ListTenantsRequest", - "name": "req" + "name": "req", + "type": "talentpb.ListTenantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TenantIterator", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4.TenantClient" - }, - "method": { - "shortName": "ListTenants", - "fullName": "google.cloud.talent.v4.TenantService.ListTenants", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4.TenantService" - } - } + "shortName": "ListTenants" }, + "description": "ListTenants lists all tenants associated with the project.", + "file": "TenantClient/ListTenants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_TenantService_ListTenants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs ListTenants Sample" }, { - "regionTag": "jobs_v4_generated_TenantService_UpdateTenant_sync", - "title": "jobs UpdateTenant Sample", - "description": "UpdateTenant updates specified tenant.", - "file": "TenantClient/UpdateTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTenant", + "client": { + "fullName": "google.cloud.talent.v4.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4.TenantClient.UpdateTenant", + "method": { + "fullName": "google.cloud.talent.v4.TenantService.UpdateTenant", + "service": { + "fullName": "google.cloud.talent.v4.TenantService", + "shortName": "TenantService" + }, + "shortName": "UpdateTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.UpdateTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.UpdateTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Tenant", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4.TenantClient" - }, - "method": { - "shortName": "UpdateTenant", - "fullName": "google.cloud.talent.v4.TenantService.UpdateTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4.TenantService" - } - } + "shortName": "UpdateTenant" }, + "description": "UpdateTenant updates specified tenant.", + "file": "TenantClient/UpdateTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4_generated_TenantService_UpdateTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs UpdateTenant Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json b/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json index 0d6992d9e3c2..3f181fb81868 100644 --- a/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json +++ b/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json @@ -1,1253 +1,1253 @@ { "clientLibrary": { - "name": "cloud.google.com/go/talent/apiv4beta1", - "version": "1.8.4", - "language": "GO", "apis": [ { "id": "google.cloud.talent.v4beta1", "version": "v4beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/talent/apiv4beta1", + "version": "1.8.4" }, "snippets": [ { - "regionTag": "jobs_v4beta1_generated_CompanyService_CreateCompany_sync", - "title": "jobs CreateCompany Sample", - "description": "CreateCompany creates a new company entity.", - "file": "CompanyClient/CreateCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCompany", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4beta1.CompanyClient.CreateCompany", + "method": { + "fullName": "google.cloud.talent.v4beta1.CompanyService.CreateCompany", + "service": { + "fullName": "google.cloud.talent.v4beta1.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "CreateCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Company", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4beta1.CompanyClient" - }, - "method": { - "shortName": "CreateCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.CreateCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4beta1.CompanyService" - } - } + "shortName": "CreateCompany" }, + "description": "CreateCompany creates a new company entity.", + "file": "CompanyClient/CreateCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_CompanyService_CreateCompany_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateCompany Sample" }, { - "regionTag": "jobs_v4beta1_generated_CompanyService_DeleteCompany_sync", - "title": "jobs DeleteCompany Sample", - "description": "DeleteCompany deletes specified company.\nPrerequisite: The company has no jobs associated with it.", - "file": "CompanyClient/DeleteCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCompany", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4beta1.CompanyClient.DeleteCompany", + "method": { + "fullName": "google.cloud.talent.v4beta1.CompanyService.DeleteCompany", + "service": { + "fullName": "google.cloud.talent.v4beta1.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "DeleteCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.DeleteCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.DeleteCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4beta1.CompanyClient" - }, - "method": { - "shortName": "DeleteCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.DeleteCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4beta1.CompanyService" - } - } + "shortName": "DeleteCompany" }, + "description": "DeleteCompany deletes specified company.\nPrerequisite: The company has no jobs associated with it.", + "file": "CompanyClient/DeleteCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_CompanyService_DeleteCompany_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs DeleteCompany Sample" }, { - "regionTag": "jobs_v4beta1_generated_CompanyService_GetCompany_sync", - "title": "jobs GetCompany Sample", - "description": "GetCompany retrieves specified company.", - "file": "CompanyClient/GetCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCompany", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4beta1.CompanyClient.GetCompany", + "method": { + "fullName": "google.cloud.talent.v4beta1.CompanyService.GetCompany", + "service": { + "fullName": "google.cloud.talent.v4beta1.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "GetCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.GetCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.GetCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Company", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4beta1.CompanyClient" - }, - "method": { - "shortName": "GetCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.GetCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4beta1.CompanyService" - } - } + "shortName": "GetCompany" }, + "description": "GetCompany retrieves specified company.", + "file": "CompanyClient/GetCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_CompanyService_GetCompany_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetCompany Sample" }, { - "regionTag": "jobs_v4beta1_generated_CompanyService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompanyClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4beta1.CompanyClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4beta1.CompanyClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompanyClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_CompanyService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4beta1_generated_CompanyService_ListCompanies_sync", - "title": "jobs ListCompanies Sample", - "description": "ListCompanies lists all companies associated with the project.", - "file": "CompanyClient/ListCompanies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCompanies", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4beta1.CompanyClient.ListCompanies", + "method": { + "fullName": "google.cloud.talent.v4beta1.CompanyService.ListCompanies", + "service": { + "fullName": "google.cloud.talent.v4beta1.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "ListCompanies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.ListCompaniesRequest", - "name": "req" + "name": "req", + "type": "talentpb.ListCompaniesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CompanyIterator", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4beta1.CompanyClient" - }, - "method": { - "shortName": "ListCompanies", - "fullName": "google.cloud.talent.v4beta1.CompanyService.ListCompanies", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4beta1.CompanyService" - } - } + "shortName": "ListCompanies" }, + "description": "ListCompanies lists all companies associated with the project.", + "file": "CompanyClient/ListCompanies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_CompanyService_ListCompanies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs ListCompanies Sample" }, { - "regionTag": "jobs_v4beta1_generated_CompanyService_UpdateCompany_sync", - "title": "jobs UpdateCompany Sample", - "description": "UpdateCompany updates specified company.", - "file": "CompanyClient/UpdateCompany/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCompany", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompanyClient", + "shortName": "CompanyClient" + }, "fullName": "google.cloud.talent.v4beta1.CompanyClient.UpdateCompany", + "method": { + "fullName": "google.cloud.talent.v4beta1.CompanyService.UpdateCompany", + "service": { + "fullName": "google.cloud.talent.v4beta1.CompanyService", + "shortName": "CompanyService" + }, + "shortName": "UpdateCompany" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.UpdateCompanyRequest", - "name": "req" + "name": "req", + "type": "talentpb.UpdateCompanyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Company", - "client": { - "shortName": "CompanyClient", - "fullName": "google.cloud.talent.v4beta1.CompanyClient" - }, - "method": { - "shortName": "UpdateCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.UpdateCompany", - "service": { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4beta1.CompanyService" - } - } + "shortName": "UpdateCompany" }, + "description": "UpdateCompany updates specified company.", + "file": "CompanyClient/UpdateCompany/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_CompanyService_UpdateCompany_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs UpdateCompany Sample" }, { - "regionTag": "jobs_v4beta1_generated_Completion_CompleteQuery_sync", - "title": "jobs CompleteQuery Sample", - "description": "CompleteQuery completes the specified prefix with keyword suggestions.\nIntended for use by a job search auto-complete search box.", - "file": "CompletionClient/CompleteQuery/main.go", - "language": "GO", "clientMethod": { - "shortName": "CompleteQuery", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.talent.v4beta1.CompletionClient.CompleteQuery", + "method": { + "fullName": "google.cloud.talent.v4beta1.Completion.CompleteQuery", + "service": { + "fullName": "google.cloud.talent.v4beta1.Completion", + "shortName": "Completion" + }, + "shortName": "CompleteQuery" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CompleteQueryRequest", - "name": "req" + "name": "req", + "type": "talentpb.CompleteQueryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.CompleteQueryResponse", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.talent.v4beta1.CompletionClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.talent.v4beta1.Completion.CompleteQuery", - "service": { - "shortName": "Completion", - "fullName": "google.cloud.talent.v4beta1.Completion" - } - } + "shortName": "CompleteQuery" }, + "description": "CompleteQuery completes the specified prefix with keyword suggestions.\nIntended for use by a job search auto-complete search box.", + "file": "CompletionClient/CompleteQuery/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_Completion_CompleteQuery_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CompleteQuery Sample" }, { - "regionTag": "jobs_v4beta1_generated_Completion_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "CompletionClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4beta1.CompletionClient", + "shortName": "CompletionClient" + }, "fullName": "google.cloud.talent.v4beta1.CompletionClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "CompletionClient", - "fullName": "google.cloud.talent.v4beta1.CompletionClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "CompletionClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_Completion_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4beta1_generated_EventService_CreateClientEvent_sync", - "title": "jobs CreateClientEvent Sample", - "description": "CreateClientEvent report events issued when end user interacts with customer's application\nthat uses Cloud Talent Solution. You may inspect the created events in\n[self service\ntools](https: //console.cloud.google.com/talent-solution/overview).\n[Learn\nmore](https: //cloud.google.com/talent-solution/docs/management-tools)\nabout self service tools.", - "file": "EventClient/CreateClientEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateClientEvent", + "client": { + "fullName": "google.cloud.talent.v4beta1.EventClient", + "shortName": "EventClient" + }, "fullName": "google.cloud.talent.v4beta1.EventClient.CreateClientEvent", + "method": { + "fullName": "google.cloud.talent.v4beta1.EventService.CreateClientEvent", + "service": { + "fullName": "google.cloud.talent.v4beta1.EventService", + "shortName": "EventService" + }, + "shortName": "CreateClientEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateClientEventRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateClientEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.ClientEvent", - "client": { - "shortName": "EventClient", - "fullName": "google.cloud.talent.v4beta1.EventClient" - }, - "method": { - "shortName": "CreateClientEvent", - "fullName": "google.cloud.talent.v4beta1.EventService.CreateClientEvent", - "service": { - "shortName": "EventService", - "fullName": "google.cloud.talent.v4beta1.EventService" - } - } + "shortName": "CreateClientEvent" }, + "description": "CreateClientEvent report events issued when end user interacts with customer's application\nthat uses Cloud Talent Solution. You may inspect the created events in\n[self service\ntools](https: //console.cloud.google.com/talent-solution/overview).\n[Learn\nmore](https: //cloud.google.com/talent-solution/docs/management-tools)\nabout self service tools.", + "file": "EventClient/CreateClientEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_EventService_CreateClientEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateClientEvent Sample" }, { - "regionTag": "jobs_v4beta1_generated_EventService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "EventClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4beta1.EventClient", + "shortName": "EventClient" + }, "fullName": "google.cloud.talent.v4beta1.EventClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "EventClient", - "fullName": "google.cloud.talent.v4beta1.EventClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "EventClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_EventService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_BatchCreateJobs_sync", - "title": "jobs BatchCreateJobs Sample", - "description": "BatchCreateJobs begins executing a batch create jobs operation.", - "file": "JobClient/BatchCreateJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateJobs", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.BatchCreateJobs", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.BatchCreateJobs", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "BatchCreateJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.BatchCreateJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.BatchCreateJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchCreateJobsOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "BatchCreateJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.BatchCreateJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "BatchCreateJobs" }, + "description": "BatchCreateJobs begins executing a batch create jobs operation.", + "file": "JobClient/BatchCreateJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_BatchCreateJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs BatchCreateJobs Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_BatchDeleteJobs_sync", - "title": "jobs BatchDeleteJobs Sample", - "description": "BatchDeleteJobs deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.", - "file": "JobClient/BatchDeleteJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteJobs", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.BatchDeleteJobs", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.BatchDeleteJobs", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "BatchDeleteJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.BatchDeleteJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.BatchDeleteJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "BatchDeleteJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.BatchDeleteJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "BatchDeleteJobs" }, + "description": "BatchDeleteJobs deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.", + "file": "JobClient/BatchDeleteJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_BatchDeleteJobs_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs BatchDeleteJobs Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_BatchUpdateJobs_sync", - "title": "jobs BatchUpdateJobs Sample", - "description": "BatchUpdateJobs begins executing a batch update jobs operation.", - "file": "JobClient/BatchUpdateJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateJobs", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.BatchUpdateJobs", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.BatchUpdateJobs", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "BatchUpdateJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.BatchUpdateJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.BatchUpdateJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchUpdateJobsOperation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "BatchUpdateJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.BatchUpdateJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "BatchUpdateJobs" }, + "description": "BatchUpdateJobs begins executing a batch update jobs operation.", + "file": "JobClient/BatchUpdateJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_BatchUpdateJobs_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs BatchUpdateJobs Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_CreateJob_sync", - "title": "jobs CreateJob Sample", - "description": "CreateJob creates a new job.\n\nTypically, the job becomes searchable within 10 seconds, but it may take\nup to 5 minutes.", - "file": "JobClient/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.CreateJob", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.CreateJob", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.talent.v4beta1.JobService.CreateJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a new job.\n\nTypically, the job becomes searchable within 10 seconds, but it may take\nup to 5 minutes.", + "file": "JobClient/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateJob Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_DeleteJob_sync", - "title": "jobs DeleteJob Sample", - "description": "DeleteJob deletes the specified job.\n\nTypically, the job becomes unsearchable within 10 seconds, but it may take\nup to 5 minutes.", - "file": "JobClient/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.DeleteJob", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.DeleteJob", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.talent.v4beta1.JobService.DeleteJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes the specified job.\n\nTypically, the job becomes unsearchable within 10 seconds, but it may take\nup to 5 minutes.", + "file": "JobClient/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs DeleteJob Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_GetJob_sync", - "title": "jobs GetJob Sample", - "description": "GetJob retrieves the specified job, whose status is OPEN or recently EXPIRED\nwithin the last 90 days.", - "file": "JobClient/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.GetJob", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.GetJob", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.talent.v4beta1.JobService.GetJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "GetJob" }, + "description": "GetJob retrieves the specified job, whose status is OPEN or recently EXPIRED\nwithin the last 90 days.", + "file": "JobClient/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetJob Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "JobClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "JobClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_ListJobs_sync", - "title": "jobs ListJobs Sample", - "description": "ListJobs lists jobs by filter.", - "file": "JobClient/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.ListJobs", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.ListJobs", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.ListJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists jobs by filter.", + "file": "JobClient/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs ListJobs Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_SearchJobs_sync", - "title": "jobs SearchJobs Sample", - "description": "SearchJobs searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].\n\nThis call constrains the\n[visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in\nthe database, and only returns jobs that the caller has permission to\nsearch against.", - "file": "JobClient/SearchJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchJobs", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.SearchJobs", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobs", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "SearchJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.SearchJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.SearchJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.SearchJobsResponse", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "SearchJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobs", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "SearchJobs" }, + "description": "SearchJobs searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].\n\nThis call constrains the\n[visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in\nthe database, and only returns jobs that the caller has permission to\nsearch against.", + "file": "JobClient/SearchJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_SearchJobs_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs SearchJobs Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_SearchJobsForAlert_sync", - "title": "jobs SearchJobsForAlert Sample", - "description": "SearchJobsForAlert searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].\n\nThis API call is intended for the use case of targeting passive job\nseekers (for example, job seekers who have signed up to receive email\nalerts about potential job opportunities), and has different algorithmic\nadjustments that are targeted to passive job seekers.\n\nThis call constrains the\n[visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in\nthe database, and only returns jobs the caller has permission to search\nagainst.", - "file": "JobClient/SearchJobsForAlert/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchJobsForAlert", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.SearchJobsForAlert", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobsForAlert", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "SearchJobsForAlert" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.SearchJobsRequest", - "name": "req" + "name": "req", + "type": "talentpb.SearchJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchJobsResponse_MatchingJobIterator", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "SearchJobsForAlert", - "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobsForAlert", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "SearchJobsForAlert" }, + "description": "SearchJobsForAlert searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].\n\nThis API call is intended for the use case of targeting passive job\nseekers (for example, job seekers who have signed up to receive email\nalerts about potential job opportunities), and has different algorithmic\nadjustments that are targeted to passive job seekers.\n\nThis call constrains the\n[visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in\nthe database, and only returns jobs the caller has permission to search\nagainst.", + "file": "JobClient/SearchJobsForAlert/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_SearchJobsForAlert_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs SearchJobsForAlert Sample" }, { - "regionTag": "jobs_v4beta1_generated_JobService_UpdateJob_sync", - "title": "jobs UpdateJob Sample", - "description": "UpdateJob updates specified job.\n\nTypically, updated contents become visible in search results within 10\nseconds, but it may take up to 5 minutes.", - "file": "JobClient/UpdateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateJob", + "client": { + "fullName": "google.cloud.talent.v4beta1.JobClient", + "shortName": "JobClient" + }, "fullName": "google.cloud.talent.v4beta1.JobClient.UpdateJob", + "method": { + "fullName": "google.cloud.talent.v4beta1.JobService.UpdateJob", + "service": { + "fullName": "google.cloud.talent.v4beta1.JobService", + "shortName": "JobService" + }, + "shortName": "UpdateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.UpdateJobRequest", - "name": "req" + "name": "req", + "type": "talentpb.UpdateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Job", - "client": { - "shortName": "JobClient", - "fullName": "google.cloud.talent.v4beta1.JobClient" - }, - "method": { - "shortName": "UpdateJob", - "fullName": "google.cloud.talent.v4beta1.JobService.UpdateJob", - "service": { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService" - } - } + "shortName": "UpdateJob" }, + "description": "UpdateJob updates specified job.\n\nTypically, updated contents become visible in search results within 10\nseconds, but it may take up to 5 minutes.", + "file": "JobClient/UpdateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_JobService_UpdateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs UpdateJob Sample" }, { - "regionTag": "jobs_v4beta1_generated_TenantService_CreateTenant_sync", - "title": "jobs CreateTenant Sample", - "description": "CreateTenant creates a new tenant entity.", - "file": "TenantClient/CreateTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTenant", + "client": { + "fullName": "google.cloud.talent.v4beta1.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4beta1.TenantClient.CreateTenant", + "method": { + "fullName": "google.cloud.talent.v4beta1.TenantService.CreateTenant", + "service": { + "fullName": "google.cloud.talent.v4beta1.TenantService", + "shortName": "TenantService" + }, + "shortName": "CreateTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.CreateTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.CreateTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Tenant", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4beta1.TenantClient" - }, - "method": { - "shortName": "CreateTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.CreateTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4beta1.TenantService" - } - } + "shortName": "CreateTenant" }, + "description": "CreateTenant creates a new tenant entity.", + "file": "TenantClient/CreateTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_TenantService_CreateTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs CreateTenant Sample" }, { - "regionTag": "jobs_v4beta1_generated_TenantService_DeleteTenant_sync", - "title": "jobs DeleteTenant Sample", - "description": "DeleteTenant deletes specified tenant.", - "file": "TenantClient/DeleteTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTenant", + "client": { + "fullName": "google.cloud.talent.v4beta1.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4beta1.TenantClient.DeleteTenant", + "method": { + "fullName": "google.cloud.talent.v4beta1.TenantService.DeleteTenant", + "service": { + "fullName": "google.cloud.talent.v4beta1.TenantService", + "shortName": "TenantService" + }, + "shortName": "DeleteTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.DeleteTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.DeleteTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4beta1.TenantClient" - }, - "method": { - "shortName": "DeleteTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.DeleteTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4beta1.TenantService" - } - } + "shortName": "DeleteTenant" }, + "description": "DeleteTenant deletes specified tenant.", + "file": "TenantClient/DeleteTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_TenantService_DeleteTenant_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs DeleteTenant Sample" }, { - "regionTag": "jobs_v4beta1_generated_TenantService_GetOperation_sync", - "title": "jobs GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TenantClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.talent.v4beta1.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4beta1.TenantClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4beta1.TenantClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TenantClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_TenantService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetOperation Sample" }, { - "regionTag": "jobs_v4beta1_generated_TenantService_GetTenant_sync", - "title": "jobs GetTenant Sample", - "description": "GetTenant retrieves specified tenant.", - "file": "TenantClient/GetTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTenant", + "client": { + "fullName": "google.cloud.talent.v4beta1.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4beta1.TenantClient.GetTenant", + "method": { + "fullName": "google.cloud.talent.v4beta1.TenantService.GetTenant", + "service": { + "fullName": "google.cloud.talent.v4beta1.TenantService", + "shortName": "TenantService" + }, + "shortName": "GetTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.GetTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.GetTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Tenant", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4beta1.TenantClient" - }, - "method": { - "shortName": "GetTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.GetTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4beta1.TenantService" - } - } + "shortName": "GetTenant" }, + "description": "GetTenant retrieves specified tenant.", + "file": "TenantClient/GetTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_TenantService_GetTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs GetTenant Sample" }, { - "regionTag": "jobs_v4beta1_generated_TenantService_ListTenants_sync", - "title": "jobs ListTenants Sample", - "description": "ListTenants lists all tenants associated with the project.", - "file": "TenantClient/ListTenants/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTenants", + "client": { + "fullName": "google.cloud.talent.v4beta1.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4beta1.TenantClient.ListTenants", + "method": { + "fullName": "google.cloud.talent.v4beta1.TenantService.ListTenants", + "service": { + "fullName": "google.cloud.talent.v4beta1.TenantService", + "shortName": "TenantService" + }, + "shortName": "ListTenants" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.ListTenantsRequest", - "name": "req" + "name": "req", + "type": "talentpb.ListTenantsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TenantIterator", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4beta1.TenantClient" - }, - "method": { - "shortName": "ListTenants", - "fullName": "google.cloud.talent.v4beta1.TenantService.ListTenants", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4beta1.TenantService" - } - } + "shortName": "ListTenants" }, + "description": "ListTenants lists all tenants associated with the project.", + "file": "TenantClient/ListTenants/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_TenantService_ListTenants_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs ListTenants Sample" }, { - "regionTag": "jobs_v4beta1_generated_TenantService_UpdateTenant_sync", - "title": "jobs UpdateTenant Sample", - "description": "UpdateTenant updates specified tenant.", - "file": "TenantClient/UpdateTenant/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTenant", + "client": { + "fullName": "google.cloud.talent.v4beta1.TenantClient", + "shortName": "TenantClient" + }, "fullName": "google.cloud.talent.v4beta1.TenantClient.UpdateTenant", + "method": { + "fullName": "google.cloud.talent.v4beta1.TenantService.UpdateTenant", + "service": { + "fullName": "google.cloud.talent.v4beta1.TenantService", + "shortName": "TenantService" + }, + "shortName": "UpdateTenant" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "talentpb.UpdateTenantRequest", - "name": "req" + "name": "req", + "type": "talentpb.UpdateTenantRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*talentpb.Tenant", - "client": { - "shortName": "TenantClient", - "fullName": "google.cloud.talent.v4beta1.TenantClient" - }, - "method": { - "shortName": "UpdateTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.UpdateTenant", - "service": { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4beta1.TenantService" - } - } + "shortName": "UpdateTenant" }, + "description": "UpdateTenant updates specified tenant.", + "file": "TenantClient/UpdateTenant/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "jobs_v4beta1_generated_TenantService_UpdateTenant_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "jobs UpdateTenant Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json b/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json index 5f167ecd0d16..4ef8bfb2f14a 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json +++ b/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json @@ -1,1943 +1,1943 @@ { "clientLibrary": { - "name": "cloud.google.com/go/telcoautomation/apiv1", - "version": "1.1.6", - "language": "GO", "apis": [ { "id": "google.cloud.telcoautomation.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/telcoautomation/apiv1", + "version": "1.1.6" }, "snippets": [ { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ApplyDeployment_sync", - "title": "telcoautomation ApplyDeployment Sample", - "description": "ApplyDeployment applies the deployment's YAML files to the parent orchestration cluster.", - "file": "Client/ApplyDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ApplyDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApplyDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ApplyDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ApplyDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ApplyDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ApplyDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApplyDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ApplyDeployment" }, + "description": "ApplyDeployment applies the deployment's YAML files to the parent orchestration cluster.", + "file": "Client/ApplyDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ApplyDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ApplyDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ApplyHydratedDeployment_sync", - "title": "telcoautomation ApplyHydratedDeployment Sample", - "description": "ApplyHydratedDeployment applies a hydrated deployment to a workload cluster.", - "file": "Client/ApplyHydratedDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApplyHydratedDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ApplyHydratedDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApplyHydratedDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ApplyHydratedDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ApplyHydratedDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ApplyHydratedDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.HydratedDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ApplyHydratedDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApplyHydratedDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ApplyHydratedDeployment" }, + "description": "ApplyHydratedDeployment applies a hydrated deployment to a workload cluster.", + "file": "Client/ApplyHydratedDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ApplyHydratedDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ApplyHydratedDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ApproveBlueprint_sync", - "title": "telcoautomation ApproveBlueprint Sample", - "description": "ApproveBlueprint approves a blueprint and commits a new revision.", - "file": "Client/ApproveBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "ApproveBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ApproveBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApproveBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ApproveBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ApproveBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ApproveBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Blueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ApproveBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApproveBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ApproveBlueprint" }, + "description": "ApproveBlueprint approves a blueprint and commits a new revision.", + "file": "Client/ApproveBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ApproveBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ApproveBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CancelOperation_sync", - "title": "telcoautomation CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation CancelOperation Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ComputeDeploymentStatus_sync", - "title": "telcoautomation ComputeDeploymentStatus Sample", - "description": "ComputeDeploymentStatus returns the requested deployment status.", - "file": "Client/ComputeDeploymentStatus/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeDeploymentStatus", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ComputeDeploymentStatus", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ComputeDeploymentStatus", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ComputeDeploymentStatus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ComputeDeploymentStatusRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ComputeDeploymentStatusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.ComputeDeploymentStatusResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ComputeDeploymentStatus", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ComputeDeploymentStatus", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ComputeDeploymentStatus" }, + "description": "ComputeDeploymentStatus returns the requested deployment status.", + "file": "Client/ComputeDeploymentStatus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ComputeDeploymentStatus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ComputeDeploymentStatus Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateBlueprint_sync", - "title": "telcoautomation CreateBlueprint Sample", - "description": "CreateBlueprint creates a blueprint.", - "file": "Client/CreateBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.CreateBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "CreateBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.CreateBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.CreateBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Blueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "CreateBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "CreateBlueprint" }, + "description": "CreateBlueprint creates a blueprint.", + "file": "Client/CreateBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation CreateBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateDeployment_sync", - "title": "telcoautomation CreateDeployment Sample", - "description": "CreateDeployment creates a deployment.", - "file": "Client/CreateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.CreateDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "CreateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.CreateDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.CreateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "CreateDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "CreateDeployment" }, + "description": "CreateDeployment creates a deployment.", + "file": "Client/CreateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation CreateDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateEdgeSlm_sync", - "title": "telcoautomation CreateEdgeSlm Sample", - "description": "CreateEdgeSlm creates a new EdgeSlm in a given project and location.", - "file": "Client/CreateEdgeSlm/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEdgeSlm", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.CreateEdgeSlm", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateEdgeSlm", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "CreateEdgeSlm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.CreateEdgeSlmRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.CreateEdgeSlmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEdgeSlmOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "CreateEdgeSlm", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateEdgeSlm", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "CreateEdgeSlm" }, + "description": "CreateEdgeSlm creates a new EdgeSlm in a given project and location.", + "file": "Client/CreateEdgeSlm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateEdgeSlm_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation CreateEdgeSlm Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateOrchestrationCluster_sync", - "title": "telcoautomation CreateOrchestrationCluster Sample", - "description": "CreateOrchestrationCluster creates a new OrchestrationCluster in a given project and location.", - "file": "Client/CreateOrchestrationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOrchestrationCluster", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.CreateOrchestrationCluster", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateOrchestrationCluster", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "CreateOrchestrationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.CreateOrchestrationClusterRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.CreateOrchestrationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOrchestrationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "CreateOrchestrationCluster", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateOrchestrationCluster", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "CreateOrchestrationCluster" }, + "description": "CreateOrchestrationCluster creates a new OrchestrationCluster in a given project and location.", + "file": "Client/CreateOrchestrationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_CreateOrchestrationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation CreateOrchestrationCluster Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteBlueprint_sync", - "title": "telcoautomation DeleteBlueprint Sample", - "description": "DeleteBlueprint deletes a blueprint and all its revisions.", - "file": "Client/DeleteBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.DeleteBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "DeleteBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.DeleteBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.DeleteBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "DeleteBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "DeleteBlueprint" }, + "description": "DeleteBlueprint deletes a blueprint and all its revisions.", + "file": "Client/DeleteBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteBlueprint_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation DeleteBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteEdgeSlm_sync", - "title": "telcoautomation DeleteEdgeSlm Sample", - "description": "DeleteEdgeSlm deletes a single EdgeSlm.", - "file": "Client/DeleteEdgeSlm/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEdgeSlm", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.DeleteEdgeSlm", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteEdgeSlm", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "DeleteEdgeSlm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.DeleteEdgeSlmRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.DeleteEdgeSlmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEdgeSlmOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "DeleteEdgeSlm", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteEdgeSlm", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "DeleteEdgeSlm" }, + "description": "DeleteEdgeSlm deletes a single EdgeSlm.", + "file": "Client/DeleteEdgeSlm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteEdgeSlm_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation DeleteEdgeSlm Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteOperation_sync", - "title": "telcoautomation DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation DeleteOperation Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteOrchestrationCluster_sync", - "title": "telcoautomation DeleteOrchestrationCluster Sample", - "description": "DeleteOrchestrationCluster deletes a single OrchestrationCluster.", - "file": "Client/DeleteOrchestrationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOrchestrationCluster", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.DeleteOrchestrationCluster", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteOrchestrationCluster", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "DeleteOrchestrationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.DeleteOrchestrationClusterRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.DeleteOrchestrationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteOrchestrationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "DeleteOrchestrationCluster", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteOrchestrationCluster", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "DeleteOrchestrationCluster" }, + "description": "DeleteOrchestrationCluster deletes a single OrchestrationCluster.", + "file": "Client/DeleteOrchestrationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DeleteOrchestrationCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation DeleteOrchestrationCluster Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DiscardBlueprintChanges_sync", - "title": "telcoautomation DiscardBlueprintChanges Sample", - "description": "DiscardBlueprintChanges discards the changes in a blueprint and reverts the blueprint to the last\napproved blueprint revision. No changes take place if a blueprint does not\nhave revisions.", - "file": "Client/DiscardBlueprintChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiscardBlueprintChanges", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.DiscardBlueprintChanges", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DiscardBlueprintChanges", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "DiscardBlueprintChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.DiscardBlueprintChangesRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.DiscardBlueprintChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.DiscardBlueprintChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "DiscardBlueprintChanges", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DiscardBlueprintChanges", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "DiscardBlueprintChanges" }, + "description": "DiscardBlueprintChanges discards the changes in a blueprint and reverts the blueprint to the last\napproved blueprint revision. No changes take place if a blueprint does not\nhave revisions.", + "file": "Client/DiscardBlueprintChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DiscardBlueprintChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation DiscardBlueprintChanges Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DiscardDeploymentChanges_sync", - "title": "telcoautomation DiscardDeploymentChanges Sample", - "description": "DiscardDeploymentChanges discards the changes in a deployment and reverts the deployment to the last\napproved deployment revision. No changes take place if a deployment does\nnot have revisions.", - "file": "Client/DiscardDeploymentChanges/main.go", - "language": "GO", "clientMethod": { - "shortName": "DiscardDeploymentChanges", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.DiscardDeploymentChanges", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DiscardDeploymentChanges", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "DiscardDeploymentChanges" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.DiscardDeploymentChangesRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.DiscardDeploymentChangesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.DiscardDeploymentChangesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "DiscardDeploymentChanges", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DiscardDeploymentChanges", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "DiscardDeploymentChanges" }, + "description": "DiscardDeploymentChanges discards the changes in a deployment and reverts the deployment to the last\napproved deployment revision. No changes take place if a deployment does\nnot have revisions.", + "file": "Client/DiscardDeploymentChanges/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_DiscardDeploymentChanges_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation DiscardDeploymentChanges Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetBlueprint_sync", - "title": "telcoautomation GetBlueprint Sample", - "description": "GetBlueprint returns the requested blueprint.", - "file": "Client/GetBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "GetBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.GetBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.GetBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Blueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "GetBlueprint" }, + "description": "GetBlueprint returns the requested blueprint.", + "file": "Client/GetBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetDeployment_sync", - "title": "telcoautomation GetDeployment Sample", - "description": "GetDeployment returns the requested deployment.", - "file": "Client/GetDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "GetDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.GetDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.GetDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "GetDeployment" }, + "description": "GetDeployment returns the requested deployment.", + "file": "Client/GetDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetEdgeSlm_sync", - "title": "telcoautomation GetEdgeSlm Sample", - "description": "GetEdgeSlm gets details of a single EdgeSlm.", - "file": "Client/GetEdgeSlm/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEdgeSlm", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetEdgeSlm", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetEdgeSlm", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "GetEdgeSlm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.GetEdgeSlmRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.GetEdgeSlmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.EdgeSlm", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetEdgeSlm", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetEdgeSlm", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "GetEdgeSlm" }, + "description": "GetEdgeSlm gets details of a single EdgeSlm.", + "file": "Client/GetEdgeSlm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetEdgeSlm_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetEdgeSlm Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetHydratedDeployment_sync", - "title": "telcoautomation GetHydratedDeployment Sample", - "description": "GetHydratedDeployment returns the requested hydrated deployment.", - "file": "Client/GetHydratedDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHydratedDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetHydratedDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetHydratedDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "GetHydratedDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.GetHydratedDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.GetHydratedDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.HydratedDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetHydratedDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetHydratedDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "GetHydratedDeployment" }, + "description": "GetHydratedDeployment returns the requested hydrated deployment.", + "file": "Client/GetHydratedDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetHydratedDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetHydratedDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetLocation_sync", - "title": "telcoautomation GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetLocation Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetOperation_sync", - "title": "telcoautomation GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetOperation Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetOrchestrationCluster_sync", - "title": "telcoautomation GetOrchestrationCluster Sample", - "description": "GetOrchestrationCluster gets details of a single OrchestrationCluster.", - "file": "Client/GetOrchestrationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOrchestrationCluster", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetOrchestrationCluster", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetOrchestrationCluster", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "GetOrchestrationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.GetOrchestrationClusterRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.GetOrchestrationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.OrchestrationCluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetOrchestrationCluster", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetOrchestrationCluster", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "GetOrchestrationCluster" }, + "description": "GetOrchestrationCluster gets details of a single OrchestrationCluster.", + "file": "Client/GetOrchestrationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetOrchestrationCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetOrchestrationCluster Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetPublicBlueprint_sync", - "title": "telcoautomation GetPublicBlueprint Sample", - "description": "GetPublicBlueprint returns the requested public blueprint.", - "file": "Client/GetPublicBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPublicBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.GetPublicBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetPublicBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "GetPublicBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.GetPublicBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.GetPublicBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.PublicBlueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "GetPublicBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetPublicBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "GetPublicBlueprint" }, + "description": "GetPublicBlueprint returns the requested public blueprint.", + "file": "Client/GetPublicBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_GetPublicBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation GetPublicBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListBlueprintRevisions_sync", - "title": "telcoautomation ListBlueprintRevisions Sample", - "description": "ListBlueprintRevisions list blueprint revisions of a given blueprint.", - "file": "Client/ListBlueprintRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBlueprintRevisions", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListBlueprintRevisions", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListBlueprintRevisions", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListBlueprintRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListBlueprintRevisionsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListBlueprintRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BlueprintIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListBlueprintRevisions", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListBlueprintRevisions", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListBlueprintRevisions" }, + "description": "ListBlueprintRevisions list blueprint revisions of a given blueprint.", + "file": "Client/ListBlueprintRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListBlueprintRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListBlueprintRevisions Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListBlueprints_sync", - "title": "telcoautomation ListBlueprints Sample", - "description": "ListBlueprints list all blueprints.", - "file": "Client/ListBlueprints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListBlueprints", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListBlueprints", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListBlueprints", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListBlueprints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListBlueprintsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListBlueprintsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BlueprintIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListBlueprints", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListBlueprints", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListBlueprints" }, + "description": "ListBlueprints list all blueprints.", + "file": "Client/ListBlueprints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListBlueprints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListBlueprints Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListDeploymentRevisions_sync", - "title": "telcoautomation ListDeploymentRevisions Sample", - "description": "ListDeploymentRevisions list deployment revisions of a given deployment.", - "file": "Client/ListDeploymentRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeploymentRevisions", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListDeploymentRevisions", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListDeploymentRevisions", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListDeploymentRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListDeploymentRevisionsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListDeploymentRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListDeploymentRevisions", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListDeploymentRevisions", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListDeploymentRevisions" }, + "description": "ListDeploymentRevisions list deployment revisions of a given deployment.", + "file": "Client/ListDeploymentRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListDeploymentRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListDeploymentRevisions Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListDeployments_sync", - "title": "telcoautomation ListDeployments Sample", - "description": "ListDeployments list all deployments.", - "file": "Client/ListDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDeployments", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListDeployments", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListDeployments", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListDeploymentsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListDeployments", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListDeployments" }, + "description": "ListDeployments list all deployments.", + "file": "Client/ListDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListDeployments Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListEdgeSlms_sync", - "title": "telcoautomation ListEdgeSlms Sample", - "description": "ListEdgeSlms lists EdgeSlms in a given project and location.", - "file": "Client/ListEdgeSlms/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEdgeSlms", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListEdgeSlms", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListEdgeSlms", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListEdgeSlms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListEdgeSlmsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListEdgeSlmsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EdgeSlmIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListEdgeSlms", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListEdgeSlms", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListEdgeSlms" }, + "description": "ListEdgeSlms lists EdgeSlms in a given project and location.", + "file": "Client/ListEdgeSlms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListEdgeSlms_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListEdgeSlms Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListHydratedDeployments_sync", - "title": "telcoautomation ListHydratedDeployments Sample", - "description": "ListHydratedDeployments list all hydrated deployments present under a deployment.", - "file": "Client/ListHydratedDeployments/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHydratedDeployments", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListHydratedDeployments", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListHydratedDeployments", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListHydratedDeployments" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListHydratedDeploymentsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListHydratedDeploymentsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HydratedDeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListHydratedDeployments", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListHydratedDeployments", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListHydratedDeployments" }, + "description": "ListHydratedDeployments list all hydrated deployments present under a deployment.", + "file": "Client/ListHydratedDeployments/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListHydratedDeployments_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListHydratedDeployments Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListLocations_sync", - "title": "telcoautomation ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListLocations Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListOperations_sync", - "title": "telcoautomation ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListOperations Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListOrchestrationClusters_sync", - "title": "telcoautomation ListOrchestrationClusters Sample", - "description": "ListOrchestrationClusters lists OrchestrationClusters in a given project and location.", - "file": "Client/ListOrchestrationClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOrchestrationClusters", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListOrchestrationClusters", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListOrchestrationClusters", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListOrchestrationClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListOrchestrationClustersRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListOrchestrationClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OrchestrationClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListOrchestrationClusters", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListOrchestrationClusters", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListOrchestrationClusters" }, + "description": "ListOrchestrationClusters lists OrchestrationClusters in a given project and location.", + "file": "Client/ListOrchestrationClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListOrchestrationClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListOrchestrationClusters Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListPublicBlueprints_sync", - "title": "telcoautomation ListPublicBlueprints Sample", - "description": "ListPublicBlueprints lists the blueprints in TNA's public catalog. Default page size = 20,\nMax Page Size = 100.", - "file": "Client/ListPublicBlueprints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPublicBlueprints", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ListPublicBlueprints", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListPublicBlueprints", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ListPublicBlueprints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ListPublicBlueprintsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ListPublicBlueprintsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PublicBlueprintIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ListPublicBlueprints", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListPublicBlueprints", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ListPublicBlueprints" }, + "description": "ListPublicBlueprints lists the blueprints in TNA's public catalog. Default page size = 20,\nMax Page Size = 100.", + "file": "Client/ListPublicBlueprints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ListPublicBlueprints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ListPublicBlueprints Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ProposeBlueprint_sync", - "title": "telcoautomation ProposeBlueprint Sample", - "description": "ProposeBlueprint proposes a blueprint for approval of changes.", - "file": "Client/ProposeBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "ProposeBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.ProposeBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ProposeBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "ProposeBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.ProposeBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.ProposeBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Blueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "ProposeBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ProposeBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "ProposeBlueprint" }, + "description": "ProposeBlueprint proposes a blueprint for approval of changes.", + "file": "Client/ProposeBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_ProposeBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation ProposeBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_RejectBlueprint_sync", - "title": "telcoautomation RejectBlueprint Sample", - "description": "RejectBlueprint rejects a blueprint revision proposal and flips it back to Draft state.", - "file": "Client/RejectBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "RejectBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.RejectBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RejectBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "RejectBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.RejectBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.RejectBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Blueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "RejectBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RejectBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "RejectBlueprint" }, + "description": "RejectBlueprint rejects a blueprint revision proposal and flips it back to Draft state.", + "file": "Client/RejectBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_RejectBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation RejectBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_RemoveDeployment_sync", - "title": "telcoautomation RemoveDeployment Sample", - "description": "RemoveDeployment removes the deployment by marking it as DELETING. Post which deployment and\nit's revisions gets deleted.", - "file": "Client/RemoveDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.RemoveDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RemoveDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "RemoveDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.RemoveDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.RemoveDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "RemoveDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RemoveDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "RemoveDeployment" }, + "description": "RemoveDeployment removes the deployment by marking it as DELETING. Post which deployment and\nit's revisions gets deleted.", + "file": "Client/RemoveDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_RemoveDeployment_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation RemoveDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_RollbackDeployment_sync", - "title": "telcoautomation RollbackDeployment Sample", - "description": "RollbackDeployment rollback the active deployment to the given past approved deployment\nrevision.", - "file": "Client/RollbackDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "RollbackDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.RollbackDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RollbackDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "RollbackDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.RollbackDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.RollbackDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "RollbackDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RollbackDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "RollbackDeployment" }, + "description": "RollbackDeployment rollback the active deployment to the given past approved deployment\nrevision.", + "file": "Client/RollbackDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_RollbackDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation RollbackDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_SearchBlueprintRevisions_sync", - "title": "telcoautomation SearchBlueprintRevisions Sample", - "description": "SearchBlueprintRevisions searches across blueprint revisions.", - "file": "Client/SearchBlueprintRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchBlueprintRevisions", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.SearchBlueprintRevisions", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.SearchBlueprintRevisions", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "SearchBlueprintRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.SearchBlueprintRevisionsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.SearchBlueprintRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BlueprintIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "SearchBlueprintRevisions", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.SearchBlueprintRevisions", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "SearchBlueprintRevisions" }, + "description": "SearchBlueprintRevisions searches across blueprint revisions.", + "file": "Client/SearchBlueprintRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_SearchBlueprintRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation SearchBlueprintRevisions Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_SearchDeploymentRevisions_sync", - "title": "telcoautomation SearchDeploymentRevisions Sample", - "description": "SearchDeploymentRevisions searches across deployment revisions.", - "file": "Client/SearchDeploymentRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchDeploymentRevisions", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.SearchDeploymentRevisions", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.SearchDeploymentRevisions", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "SearchDeploymentRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.SearchDeploymentRevisionsRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.SearchDeploymentRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeploymentIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "SearchDeploymentRevisions", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.SearchDeploymentRevisions", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "SearchDeploymentRevisions" }, + "description": "SearchDeploymentRevisions searches across deployment revisions.", + "file": "Client/SearchDeploymentRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_SearchDeploymentRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation SearchDeploymentRevisions Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_UpdateBlueprint_sync", - "title": "telcoautomation UpdateBlueprint Sample", - "description": "UpdateBlueprint updates a blueprint.", - "file": "Client/UpdateBlueprint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateBlueprint", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.UpdateBlueprint", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateBlueprint", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "UpdateBlueprint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.UpdateBlueprintRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.UpdateBlueprintRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Blueprint", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "UpdateBlueprint", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateBlueprint", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "UpdateBlueprint" }, + "description": "UpdateBlueprint updates a blueprint.", + "file": "Client/UpdateBlueprint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_UpdateBlueprint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation UpdateBlueprint Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_UpdateDeployment_sync", - "title": "telcoautomation UpdateDeployment Sample", - "description": "UpdateDeployment updates a deployment.", - "file": "Client/UpdateDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.UpdateDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "UpdateDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.UpdateDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.UpdateDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.Deployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "UpdateDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "UpdateDeployment" }, + "description": "UpdateDeployment updates a deployment.", + "file": "Client/UpdateDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_UpdateDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation UpdateDeployment Sample" }, { - "regionTag": "telcoautomation_v1_generated_TelcoAutomation_UpdateHydratedDeployment_sync", - "title": "telcoautomation UpdateHydratedDeployment Sample", - "description": "UpdateHydratedDeployment updates a hydrated deployment.", - "file": "Client/UpdateHydratedDeployment/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateHydratedDeployment", + "client": { + "fullName": "google.cloud.telcoautomation.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.telcoautomation.v1.Client.UpdateHydratedDeployment", + "method": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateHydratedDeployment", + "service": { + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", + "shortName": "TelcoAutomation" + }, + "shortName": "UpdateHydratedDeployment" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "telcoautomationpb.UpdateHydratedDeploymentRequest", - "name": "req" + "name": "req", + "type": "telcoautomationpb.UpdateHydratedDeploymentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*telcoautomationpb.HydratedDeployment", - "client": { - "shortName": "Client", - "fullName": "google.cloud.telcoautomation.v1.Client" - }, - "method": { - "shortName": "UpdateHydratedDeployment", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateHydratedDeployment", - "service": { - "shortName": "TelcoAutomation", - "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation" - } - } + "shortName": "UpdateHydratedDeployment" }, + "description": "UpdateHydratedDeployment updates a hydrated deployment.", + "file": "Client/UpdateHydratedDeployment/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "telcoautomation_v1_generated_TelcoAutomation_UpdateHydratedDeployment_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "telcoautomation UpdateHydratedDeployment Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json b/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json index 2957803bee83..82459c5763ec 100644 --- a/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json +++ b/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json @@ -1,379 +1,379 @@ { "clientLibrary": { - "name": "cloud.google.com/go/texttospeech/apiv1", - "version": "1.16.0", - "language": "GO", "apis": [ { "id": "google.cloud.texttospeech.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/texttospeech/apiv1", + "version": "1.16.0" }, "snippets": [ { - "regionTag": "texttospeech_v1_generated_TextToSpeech_GetOperation_sync", - "title": "texttospeech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.texttospeech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.texttospeech.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.texttospeech.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeech_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech GetOperation Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeech_ListOperations_sync", - "title": "texttospeech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.texttospeech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.texttospeech.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.texttospeech.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeech_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech ListOperations Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_sync", - "title": "texttospeech ListVoices Sample", - "description": "ListVoices returns a list of Voice supported for synthesis.", - "file": "Client/ListVoices/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVoices", + "client": { + "fullName": "google.cloud.texttospeech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.texttospeech.v1.Client.ListVoices", + "method": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", + "service": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeech", + "shortName": "TextToSpeech" + }, + "shortName": "ListVoices" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "texttospeechpb.ListVoicesRequest", - "name": "req" + "name": "req", + "type": "texttospeechpb.ListVoicesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*texttospeechpb.ListVoicesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.texttospeech.v1.Client" - }, - "method": { - "shortName": "ListVoices", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech" - } - } + "shortName": "ListVoices" }, + "description": "ListVoices returns a list of Voice supported for synthesis.", + "file": "Client/ListVoices/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeech_ListVoices_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech ListVoices Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeech_StreamingSynthesize_sync", - "title": "texttospeech StreamingSynthesize Sample", - "description": "StreamingSynthesize performs bidirectional streaming speech synthesis: receives audio while\nsending text.\n\n\nThis method is not supported for the REST transport.", - "file": "Client/StreamingSynthesize/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingSynthesize", + "client": { + "fullName": "google.cloud.texttospeech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.texttospeech.v1.Client.StreamingSynthesize", + "method": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.StreamingSynthesize", + "service": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeech", + "shortName": "TextToSpeech" + }, + "shortName": "StreamingSynthesize" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "texttospeechpb.TextToSpeech_StreamingSynthesizeClient", - "client": { - "shortName": "Client", - "fullName": "google.cloud.texttospeech.v1.Client" - }, - "method": { - "shortName": "StreamingSynthesize", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.StreamingSynthesize", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech" - } - } + "shortName": "StreamingSynthesize" }, + "description": "StreamingSynthesize performs bidirectional streaming speech synthesis: receives audio while\nsending text.\n\n\nThis method is not supported for the REST transport.", + "file": "Client/StreamingSynthesize/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeech_StreamingSynthesize_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech StreamingSynthesize Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_sync", - "title": "texttospeech SynthesizeSpeech Sample", - "description": "SynthesizeSpeech synthesizes speech synchronously: receive results after all text input\nhas been processed.", - "file": "Client/SynthesizeSpeech/main.go", - "language": "GO", "clientMethod": { - "shortName": "SynthesizeSpeech", + "client": { + "fullName": "google.cloud.texttospeech.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.texttospeech.v1.Client.SynthesizeSpeech", + "method": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", + "service": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeech", + "shortName": "TextToSpeech" + }, + "shortName": "SynthesizeSpeech" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "texttospeechpb.SynthesizeSpeechRequest", - "name": "req" + "name": "req", + "type": "texttospeechpb.SynthesizeSpeechRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*texttospeechpb.SynthesizeSpeechResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.texttospeech.v1.Client" - }, - "method": { - "shortName": "SynthesizeSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", - "service": { - "shortName": "TextToSpeech", - "fullName": "google.cloud.texttospeech.v1.TextToSpeech" - } - } + "shortName": "SynthesizeSpeech" }, + "description": "SynthesizeSpeech synthesizes speech synchronously: receive results after all text input\nhas been processed.", + "file": "Client/SynthesizeSpeech/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeech_SynthesizeSpeech_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech SynthesizeSpeech Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_GetOperation_sync", - "title": "texttospeech GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TextToSpeechLongAudioSynthesizeClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient", + "shortName": "TextToSpeechLongAudioSynthesizeClient" + }, "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TextToSpeechLongAudioSynthesizeClient", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TextToSpeechLongAudioSynthesizeClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech GetOperation Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_ListOperations_sync", - "title": "texttospeech ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient", + "shortName": "TextToSpeechLongAudioSynthesizeClient" + }, "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TextToSpeechLongAudioSynthesizeClient", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech ListOperations Sample" }, { - "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_SynthesizeLongAudio_sync", - "title": "texttospeech SynthesizeLongAudio Sample", - "description": "SynthesizeLongAudio synthesizes long form text asynchronously.", - "file": "TextToSpeechLongAudioSynthesizeClient/SynthesizeLongAudio/main.go", - "language": "GO", "clientMethod": { - "shortName": "SynthesizeLongAudio", + "client": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient", + "shortName": "TextToSpeechLongAudioSynthesizeClient" + }, "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient.SynthesizeLongAudio", + "method": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize.SynthesizeLongAudio", + "service": { + "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize", + "shortName": "TextToSpeechLongAudioSynthesize" + }, + "shortName": "SynthesizeLongAudio" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "texttospeechpb.SynthesizeLongAudioRequest", - "name": "req" + "name": "req", + "type": "texttospeechpb.SynthesizeLongAudioRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SynthesizeLongAudioOperation", - "client": { - "shortName": "TextToSpeechLongAudioSynthesizeClient", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesizeClient" - }, - "method": { - "shortName": "SynthesizeLongAudio", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize.SynthesizeLongAudio", - "service": { - "shortName": "TextToSpeechLongAudioSynthesize", - "fullName": "google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize" - } - } + "shortName": "SynthesizeLongAudio" }, + "description": "SynthesizeLongAudio synthesizes long form text asynchronously.", + "file": "TextToSpeechLongAudioSynthesizeClient/SynthesizeLongAudio/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "texttospeech_v1_generated_TextToSpeechLongAudioSynthesize_SynthesizeLongAudio_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "texttospeech SynthesizeLongAudio Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json b/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json index fd4c0c4d7202..0c7f21f44d77 100644 --- a/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json +++ b/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json @@ -1,795 +1,795 @@ { "clientLibrary": { - "name": "cloud.google.com/go/tpu/apiv1", - "version": "1.8.4", - "language": "GO", "apis": [ { "id": "google.cloud.tpu.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/tpu/apiv1", + "version": "1.8.4" }, "snippets": [ { - "regionTag": "tpu_v1_generated_Tpu_CancelOperation_sync", - "title": "tpu CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu CancelOperation Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_CreateNode_sync", - "title": "tpu CreateNode Sample", - "description": "CreateNode creates a node.", - "file": "Client/CreateNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNode", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.CreateNode", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.CreateNode", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "CreateNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.CreateNodeRequest", - "name": "req" + "name": "req", + "type": "tpupb.CreateNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNodeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "CreateNode", - "fullName": "google.cloud.tpu.v1.Tpu.CreateNode", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "CreateNode" }, + "description": "CreateNode creates a node.", + "file": "Client/CreateNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_CreateNode_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu CreateNode Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_DeleteNode_sync", - "title": "tpu DeleteNode Sample", - "description": "DeleteNode deletes a node.", - "file": "Client/DeleteNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNode", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.DeleteNode", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.DeleteNode", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "DeleteNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.DeleteNodeRequest", - "name": "req" + "name": "req", + "type": "tpupb.DeleteNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNodeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "DeleteNode", - "fullName": "google.cloud.tpu.v1.Tpu.DeleteNode", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "DeleteNode" }, + "description": "DeleteNode deletes a node.", + "file": "Client/DeleteNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_DeleteNode_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu DeleteNode Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_DeleteOperation_sync", - "title": "tpu DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu DeleteOperation Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_GetAcceleratorType_sync", - "title": "tpu GetAcceleratorType Sample", - "description": "GetAcceleratorType gets AcceleratorType.", - "file": "Client/GetAcceleratorType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAcceleratorType", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.GetAcceleratorType", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.GetAcceleratorType", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "GetAcceleratorType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.GetAcceleratorTypeRequest", - "name": "req" + "name": "req", + "type": "tpupb.GetAcceleratorTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tpupb.AcceleratorType", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "GetAcceleratorType", - "fullName": "google.cloud.tpu.v1.Tpu.GetAcceleratorType", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "GetAcceleratorType" }, + "description": "GetAcceleratorType gets AcceleratorType.", + "file": "Client/GetAcceleratorType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_GetAcceleratorType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu GetAcceleratorType Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_GetLocation_sync", - "title": "tpu GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu GetLocation Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_GetNode_sync", - "title": "tpu GetNode Sample", - "description": "GetNode gets the details of a node.", - "file": "Client/GetNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNode", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.GetNode", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.GetNode", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "GetNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.GetNodeRequest", - "name": "req" + "name": "req", + "type": "tpupb.GetNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tpupb.Node", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "GetNode", - "fullName": "google.cloud.tpu.v1.Tpu.GetNode", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "GetNode" }, + "description": "GetNode gets the details of a node.", + "file": "Client/GetNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_GetNode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu GetNode Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_GetOperation_sync", - "title": "tpu GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu GetOperation Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_GetTensorFlowVersion_sync", - "title": "tpu GetTensorFlowVersion Sample", - "description": "GetTensorFlowVersion gets TensorFlow Version.", - "file": "Client/GetTensorFlowVersion/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTensorFlowVersion", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.GetTensorFlowVersion", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.GetTensorFlowVersion", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "GetTensorFlowVersion" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.GetTensorFlowVersionRequest", - "name": "req" + "name": "req", + "type": "tpupb.GetTensorFlowVersionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tpupb.TensorFlowVersion", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "GetTensorFlowVersion", - "fullName": "google.cloud.tpu.v1.Tpu.GetTensorFlowVersion", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "GetTensorFlowVersion" }, + "description": "GetTensorFlowVersion gets TensorFlow Version.", + "file": "Client/GetTensorFlowVersion/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_GetTensorFlowVersion_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu GetTensorFlowVersion Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_ListAcceleratorTypes_sync", - "title": "tpu ListAcceleratorTypes Sample", - "description": "ListAcceleratorTypes lists accelerator types supported by this API.", - "file": "Client/ListAcceleratorTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAcceleratorTypes", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.ListAcceleratorTypes", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.ListAcceleratorTypes", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "ListAcceleratorTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.ListAcceleratorTypesRequest", - "name": "req" + "name": "req", + "type": "tpupb.ListAcceleratorTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AcceleratorTypeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "ListAcceleratorTypes", - "fullName": "google.cloud.tpu.v1.Tpu.ListAcceleratorTypes", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "ListAcceleratorTypes" }, + "description": "ListAcceleratorTypes lists accelerator types supported by this API.", + "file": "Client/ListAcceleratorTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_ListAcceleratorTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu ListAcceleratorTypes Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_ListLocations_sync", - "title": "tpu ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu ListLocations Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_ListNodes_sync", - "title": "tpu ListNodes Sample", - "description": "ListNodes lists nodes.", - "file": "Client/ListNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodes", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.ListNodes", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.ListNodes", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "ListNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.ListNodesRequest", - "name": "req" + "name": "req", + "type": "tpupb.ListNodesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "ListNodes", - "fullName": "google.cloud.tpu.v1.Tpu.ListNodes", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "ListNodes" }, + "description": "ListNodes lists nodes.", + "file": "Client/ListNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_ListNodes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu ListNodes Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_ListOperations_sync", - "title": "tpu ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu ListOperations Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_ListTensorFlowVersions_sync", - "title": "tpu ListTensorFlowVersions Sample", - "description": "ListTensorFlowVersions list TensorFlow versions supported by this API.", - "file": "Client/ListTensorFlowVersions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTensorFlowVersions", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.ListTensorFlowVersions", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.ListTensorFlowVersions", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "ListTensorFlowVersions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.ListTensorFlowVersionsRequest", - "name": "req" + "name": "req", + "type": "tpupb.ListTensorFlowVersionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TensorFlowVersionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "ListTensorFlowVersions", - "fullName": "google.cloud.tpu.v1.Tpu.ListTensorFlowVersions", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "ListTensorFlowVersions" }, + "description": "ListTensorFlowVersions list TensorFlow versions supported by this API.", + "file": "Client/ListTensorFlowVersions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_ListTensorFlowVersions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu ListTensorFlowVersions Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_ReimageNode_sync", - "title": "tpu ReimageNode Sample", - "description": "ReimageNode reimages a node's OS.", - "file": "Client/ReimageNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReimageNode", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.ReimageNode", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.ReimageNode", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "ReimageNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.ReimageNodeRequest", - "name": "req" + "name": "req", + "type": "tpupb.ReimageNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReimageNodeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "ReimageNode", - "fullName": "google.cloud.tpu.v1.Tpu.ReimageNode", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "ReimageNode" }, + "description": "ReimageNode reimages a node's OS.", + "file": "Client/ReimageNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_ReimageNode_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu ReimageNode Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_StartNode_sync", - "title": "tpu StartNode Sample", - "description": "StartNode starts a node.", - "file": "Client/StartNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartNode", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.StartNode", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.StartNode", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "StartNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.StartNodeRequest", - "name": "req" + "name": "req", + "type": "tpupb.StartNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartNodeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "StartNode", - "fullName": "google.cloud.tpu.v1.Tpu.StartNode", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "StartNode" }, + "description": "StartNode starts a node.", + "file": "Client/StartNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_StartNode_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu StartNode Sample" }, { - "regionTag": "tpu_v1_generated_Tpu_StopNode_sync", - "title": "tpu StopNode Sample", - "description": "StopNode stops a node, this operation is only available with single TPU nodes.", - "file": "Client/StopNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopNode", + "client": { + "fullName": "google.cloud.tpu.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.tpu.v1.Client.StopNode", + "method": { + "fullName": "google.cloud.tpu.v1.Tpu.StopNode", + "service": { + "fullName": "google.cloud.tpu.v1.Tpu", + "shortName": "Tpu" + }, + "shortName": "StopNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tpupb.StopNodeRequest", - "name": "req" + "name": "req", + "type": "tpupb.StopNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopNodeOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.tpu.v1.Client" - }, - "method": { - "shortName": "StopNode", - "fullName": "google.cloud.tpu.v1.Tpu.StopNode", - "service": { - "shortName": "Tpu", - "fullName": "google.cloud.tpu.v1.Tpu" - } - } + "shortName": "StopNode" }, + "description": "StopNode stops a node, this operation is only available with single TPU nodes.", + "file": "Client/StopNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "tpu_v1_generated_Tpu_StopNode_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "tpu StopNode Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json index f0efb364c26e..9e9eb1ad04bf 100644 --- a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json +++ b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json @@ -1,152 +1,152 @@ { "clientLibrary": { - "name": "cloud.google.com/go/trace/apiv1", - "version": "1.11.7", - "language": "GO", "apis": [ { "id": "google.devtools.cloudtrace.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/trace/apiv1", + "version": "1.11.7" }, "snippets": [ { - "regionTag": "cloudtrace_v1_generated_TraceService_GetTrace_sync", - "title": "cloudtrace GetTrace Sample", - "description": "GetTrace gets a single trace by its ID.", - "file": "Client/GetTrace/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTrace", + "client": { + "fullName": "google.devtools.cloudtrace.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudtrace.v1.Client.GetTrace", + "method": { + "fullName": "google.devtools.cloudtrace.v1.TraceService.GetTrace", + "service": { + "fullName": "google.devtools.cloudtrace.v1.TraceService", + "shortName": "TraceService" + }, + "shortName": "GetTrace" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tracepb.GetTraceRequest", - "name": "req" + "name": "req", + "type": "tracepb.GetTraceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tracepb.Trace", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudtrace.v1.Client" - }, - "method": { - "shortName": "GetTrace", - "fullName": "google.devtools.cloudtrace.v1.TraceService.GetTrace", - "service": { - "shortName": "TraceService", - "fullName": "google.devtools.cloudtrace.v1.TraceService" - } - } + "shortName": "GetTrace" }, + "description": "GetTrace gets a single trace by its ID.", + "file": "Client/GetTrace/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtrace_v1_generated_TraceService_GetTrace_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtrace GetTrace Sample" }, { - "regionTag": "cloudtrace_v1_generated_TraceService_ListTraces_sync", - "title": "cloudtrace ListTraces Sample", - "description": "ListTraces returns of a list of traces that match the specified filter conditions.", - "file": "Client/ListTraces/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTraces", + "client": { + "fullName": "google.devtools.cloudtrace.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudtrace.v1.Client.ListTraces", + "method": { + "fullName": "google.devtools.cloudtrace.v1.TraceService.ListTraces", + "service": { + "fullName": "google.devtools.cloudtrace.v1.TraceService", + "shortName": "TraceService" + }, + "shortName": "ListTraces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tracepb.ListTracesRequest", - "name": "req" + "name": "req", + "type": "tracepb.ListTracesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TraceIterator", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudtrace.v1.Client" - }, - "method": { - "shortName": "ListTraces", - "fullName": "google.devtools.cloudtrace.v1.TraceService.ListTraces", - "service": { - "shortName": "TraceService", - "fullName": "google.devtools.cloudtrace.v1.TraceService" - } - } + "shortName": "ListTraces" }, + "description": "ListTraces returns of a list of traces that match the specified filter conditions.", + "file": "Client/ListTraces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtrace_v1_generated_TraceService_ListTraces_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtrace ListTraces Sample" }, { - "regionTag": "cloudtrace_v1_generated_TraceService_PatchTraces_sync", - "title": "cloudtrace PatchTraces Sample", - "description": "PatchTraces sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.", - "file": "Client/PatchTraces/main.go", - "language": "GO", "clientMethod": { - "shortName": "PatchTraces", + "client": { + "fullName": "google.devtools.cloudtrace.v1.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudtrace.v1.Client.PatchTraces", + "method": { + "fullName": "google.devtools.cloudtrace.v1.TraceService.PatchTraces", + "service": { + "fullName": "google.devtools.cloudtrace.v1.TraceService", + "shortName": "TraceService" + }, + "shortName": "PatchTraces" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tracepb.PatchTracesRequest", - "name": "req" + "name": "req", + "type": "tracepb.PatchTracesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudtrace.v1.Client" - }, - "method": { - "shortName": "PatchTraces", - "fullName": "google.devtools.cloudtrace.v1.TraceService.PatchTraces", - "service": { - "shortName": "TraceService", - "fullName": "google.devtools.cloudtrace.v1.TraceService" - } - } + "shortName": "PatchTraces" }, + "description": "PatchTraces sends new traces to Stackdriver Trace or updates existing traces. If the ID\nof a trace that you send matches that of an existing trace, any fields\nin the existing trace and its spans are overwritten by the provided values,\nand any new fields provided are merged with the existing trace data. If the\nID does not match, a new trace is created.", + "file": "Client/PatchTraces/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtrace_v1_generated_TraceService_PatchTraces_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtrace PatchTraces Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json index 7c558206c7f8..73e4ff176f07 100644 --- a/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json +++ b/internal/generated/snippets/trace/apiv2/snippet_metadata.google.devtools.cloudtrace.v2.json @@ -1,106 +1,106 @@ { "clientLibrary": { - "name": "cloud.google.com/go/trace/apiv2", - "version": "1.11.7", - "language": "GO", "apis": [ { "id": "google.devtools.cloudtrace.v2", "version": "v2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/trace/apiv2", + "version": "1.11.7" }, "snippets": [ { - "regionTag": "cloudtrace_v2_generated_TraceService_BatchWriteSpans_sync", - "title": "cloudtrace BatchWriteSpans Sample", - "description": "BatchWriteSpans batch writes new spans to new or existing traces. You cannot update\nexisting spans.", - "file": "Client/BatchWriteSpans/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchWriteSpans", + "client": { + "fullName": "google.devtools.cloudtrace.v2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudtrace.v2.Client.BatchWriteSpans", + "method": { + "fullName": "google.devtools.cloudtrace.v2.TraceService.BatchWriteSpans", + "service": { + "fullName": "google.devtools.cloudtrace.v2.TraceService", + "shortName": "TraceService" + }, + "shortName": "BatchWriteSpans" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tracepb.BatchWriteSpansRequest", - "name": "req" + "name": "req", + "type": "tracepb.BatchWriteSpansRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudtrace.v2.Client" - }, - "method": { - "shortName": "BatchWriteSpans", - "fullName": "google.devtools.cloudtrace.v2.TraceService.BatchWriteSpans", - "service": { - "shortName": "TraceService", - "fullName": "google.devtools.cloudtrace.v2.TraceService" - } - } + "shortName": "BatchWriteSpans" }, + "description": "BatchWriteSpans batch writes new spans to new or existing traces. You cannot update\nexisting spans.", + "file": "Client/BatchWriteSpans/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtrace_v2_generated_TraceService_BatchWriteSpans_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtrace BatchWriteSpans Sample" }, { - "regionTag": "cloudtrace_v2_generated_TraceService_CreateSpan_sync", - "title": "cloudtrace CreateSpan Sample", - "description": "CreateSpan creates a new span.", - "file": "Client/CreateSpan/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSpan", + "client": { + "fullName": "google.devtools.cloudtrace.v2.Client", + "shortName": "Client" + }, "fullName": "google.devtools.cloudtrace.v2.Client.CreateSpan", + "method": { + "fullName": "google.devtools.cloudtrace.v2.TraceService.CreateSpan", + "service": { + "fullName": "google.devtools.cloudtrace.v2.TraceService", + "shortName": "TraceService" + }, + "shortName": "CreateSpan" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "tracepb.Span", - "name": "req" + "name": "req", + "type": "tracepb.Span" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*tracepb.Span", - "client": { - "shortName": "Client", - "fullName": "google.devtools.cloudtrace.v2.Client" - }, - "method": { - "shortName": "CreateSpan", - "fullName": "google.devtools.cloudtrace.v2.TraceService.CreateSpan", - "service": { - "shortName": "TraceService", - "fullName": "google.devtools.cloudtrace.v2.TraceService" - } - } + "shortName": "CreateSpan" }, + "description": "CreateSpan creates a new span.", + "file": "Client/CreateSpan/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "cloudtrace_v2_generated_TraceService_CreateSpan_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "cloudtrace CreateSpan Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json b/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json index 6410addd75e0..b9d38c0ec718 100644 --- a/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json +++ b/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json @@ -1,2080 +1,2080 @@ { "clientLibrary": { - "name": "cloud.google.com/go/translate/apiv3", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.translation.v3", "version": "v3" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/translate/apiv3", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "translate_v3_generated_TranslationService_AdaptiveMtTranslate_sync", - "title": "translate AdaptiveMtTranslate Sample", - "description": "AdaptiveMtTranslate translate text using Adaptive MT.", - "file": "TranslationClient/AdaptiveMtTranslate/main.go", - "language": "GO", "clientMethod": { - "shortName": "AdaptiveMtTranslate", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.AdaptiveMtTranslate", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.AdaptiveMtTranslate", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "AdaptiveMtTranslate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.AdaptiveMtTranslateRequest", - "name": "req" + "name": "req", + "type": "translatepb.AdaptiveMtTranslateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.AdaptiveMtTranslateResponse", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "AdaptiveMtTranslate", - "fullName": "google.cloud.translation.v3.TranslationService.AdaptiveMtTranslate", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "AdaptiveMtTranslate" }, + "description": "AdaptiveMtTranslate translate text using Adaptive MT.", + "file": "TranslationClient/AdaptiveMtTranslate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_AdaptiveMtTranslate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate AdaptiveMtTranslate Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_BatchTranslateDocument_sync", - "title": "translate BatchTranslateDocument Sample", - "description": "BatchTranslateDocument translates a large volume of document in asynchronous batch mode.\nThis function provides real-time output as the inputs are being processed.\nIf caller cancels a request, the partial results (for an input file, it's\nall or nothing) may still be available on the specified output location.\n\nThis call returns immediately and you can use\ngoogle.longrunning.Operation.name to poll the status of the call.", - "file": "TranslationClient/BatchTranslateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchTranslateDocument", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.BatchTranslateDocument", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.BatchTranslateDocument", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "BatchTranslateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.BatchTranslateDocumentRequest", - "name": "req" + "name": "req", + "type": "translatepb.BatchTranslateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchTranslateDocumentOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "BatchTranslateDocument", - "fullName": "google.cloud.translation.v3.TranslationService.BatchTranslateDocument", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "BatchTranslateDocument" }, + "description": "BatchTranslateDocument translates a large volume of document in asynchronous batch mode.\nThis function provides real-time output as the inputs are being processed.\nIf caller cancels a request, the partial results (for an input file, it's\nall or nothing) may still be available on the specified output location.\n\nThis call returns immediately and you can use\ngoogle.longrunning.Operation.name to poll the status of the call.", + "file": "TranslationClient/BatchTranslateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_BatchTranslateDocument_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate BatchTranslateDocument Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_BatchTranslateText_sync", - "title": "translate BatchTranslateText Sample", - "description": "BatchTranslateText translates a large volume of text in asynchronous batch mode.\nThis function provides real-time output as the inputs are being processed.\nIf caller cancels a request, the partial results (for an input file, it's\nall or nothing) may still be available on the specified output location.\n\nThis call returns immediately and you can\nuse google.longrunning.Operation.name to poll the status of the call.", - "file": "TranslationClient/BatchTranslateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchTranslateText", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.BatchTranslateText", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.BatchTranslateText", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "BatchTranslateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.BatchTranslateTextRequest", - "name": "req" + "name": "req", + "type": "translatepb.BatchTranslateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchTranslateTextOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "BatchTranslateText", - "fullName": "google.cloud.translation.v3.TranslationService.BatchTranslateText", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "BatchTranslateText" }, + "description": "BatchTranslateText translates a large volume of text in asynchronous batch mode.\nThis function provides real-time output as the inputs are being processed.\nIf caller cancels a request, the partial results (for an input file, it's\nall or nothing) may still be available on the specified output location.\n\nThis call returns immediately and you can\nuse google.longrunning.Operation.name to poll the status of the call.", + "file": "TranslationClient/BatchTranslateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_BatchTranslateText_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate BatchTranslateText Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_CancelOperation_sync", - "title": "translate CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "TranslationClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "TranslationClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate CancelOperation Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_CreateAdaptiveMtDataset_sync", - "title": "translate CreateAdaptiveMtDataset Sample", - "description": "CreateAdaptiveMtDataset creates an Adaptive MT dataset.", - "file": "TranslationClient/CreateAdaptiveMtDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAdaptiveMtDataset", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.CreateAdaptiveMtDataset", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.CreateAdaptiveMtDataset", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "CreateAdaptiveMtDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.CreateAdaptiveMtDatasetRequest", - "name": "req" + "name": "req", + "type": "translatepb.CreateAdaptiveMtDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.AdaptiveMtDataset", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "CreateAdaptiveMtDataset", - "fullName": "google.cloud.translation.v3.TranslationService.CreateAdaptiveMtDataset", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "CreateAdaptiveMtDataset" }, + "description": "CreateAdaptiveMtDataset creates an Adaptive MT dataset.", + "file": "TranslationClient/CreateAdaptiveMtDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_CreateAdaptiveMtDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate CreateAdaptiveMtDataset Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_CreateDataset_sync", - "title": "translate CreateDataset Sample", - "description": "CreateDataset creates a Dataset.", - "file": "TranslationClient/CreateDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataset", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.CreateDataset", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.CreateDataset", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "CreateDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.CreateDatasetRequest", - "name": "req" + "name": "req", + "type": "translatepb.CreateDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatasetOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "CreateDataset", - "fullName": "google.cloud.translation.v3.TranslationService.CreateDataset", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "CreateDataset" }, + "description": "CreateDataset creates a Dataset.", + "file": "TranslationClient/CreateDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_CreateDataset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate CreateDataset Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_CreateGlossary_sync", - "title": "translate CreateGlossary Sample", - "description": "CreateGlossary creates a glossary and returns the long-running operation. Returns\nNOT_FOUND, if the project doesn't exist.", - "file": "TranslationClient/CreateGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGlossary", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.CreateGlossary", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.CreateGlossary", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "CreateGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.CreateGlossaryRequest", - "name": "req" + "name": "req", + "type": "translatepb.CreateGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGlossaryOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "CreateGlossary", - "fullName": "google.cloud.translation.v3.TranslationService.CreateGlossary", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "CreateGlossary" }, + "description": "CreateGlossary creates a glossary and returns the long-running operation. Returns\nNOT_FOUND, if the project doesn't exist.", + "file": "TranslationClient/CreateGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_CreateGlossary_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate CreateGlossary Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_CreateGlossaryEntry_sync", - "title": "translate CreateGlossaryEntry Sample", - "description": "CreateGlossaryEntry creates a glossary entry.", - "file": "TranslationClient/CreateGlossaryEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGlossaryEntry", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.CreateGlossaryEntry", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.CreateGlossaryEntry", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "CreateGlossaryEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.CreateGlossaryEntryRequest", - "name": "req" + "name": "req", + "type": "translatepb.CreateGlossaryEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.GlossaryEntry", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "CreateGlossaryEntry", - "fullName": "google.cloud.translation.v3.TranslationService.CreateGlossaryEntry", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "CreateGlossaryEntry" }, + "description": "CreateGlossaryEntry creates a glossary entry.", + "file": "TranslationClient/CreateGlossaryEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_CreateGlossaryEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate CreateGlossaryEntry Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_CreateModel_sync", - "title": "translate CreateModel Sample", - "description": "CreateModel creates a Model.", - "file": "TranslationClient/CreateModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateModel", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.CreateModel", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.CreateModel", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "CreateModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.CreateModelRequest", - "name": "req" + "name": "req", + "type": "translatepb.CreateModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateModelOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "CreateModel", - "fullName": "google.cloud.translation.v3.TranslationService.CreateModel", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "CreateModel" }, + "description": "CreateModel creates a Model.", + "file": "TranslationClient/CreateModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_CreateModel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate CreateModel Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteAdaptiveMtDataset_sync", - "title": "translate DeleteAdaptiveMtDataset Sample", - "description": "DeleteAdaptiveMtDataset deletes an Adaptive MT dataset, including all its entries and associated\nmetadata.", - "file": "TranslationClient/DeleteAdaptiveMtDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAdaptiveMtDataset", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteAdaptiveMtDataset", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtDataset", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DeleteAdaptiveMtDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DeleteAdaptiveMtDatasetRequest", - "name": "req" + "name": "req", + "type": "translatepb.DeleteAdaptiveMtDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteAdaptiveMtDataset", - "fullName": "google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtDataset", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DeleteAdaptiveMtDataset" }, + "description": "DeleteAdaptiveMtDataset deletes an Adaptive MT dataset, including all its entries and associated\nmetadata.", + "file": "TranslationClient/DeleteAdaptiveMtDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteAdaptiveMtDataset_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteAdaptiveMtDataset Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteAdaptiveMtFile_sync", - "title": "translate DeleteAdaptiveMtFile Sample", - "description": "DeleteAdaptiveMtFile deletes an AdaptiveMtFile along with its sentences.", - "file": "TranslationClient/DeleteAdaptiveMtFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAdaptiveMtFile", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteAdaptiveMtFile", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtFile", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DeleteAdaptiveMtFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DeleteAdaptiveMtFileRequest", - "name": "req" + "name": "req", + "type": "translatepb.DeleteAdaptiveMtFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteAdaptiveMtFile", - "fullName": "google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtFile", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DeleteAdaptiveMtFile" }, + "description": "DeleteAdaptiveMtFile deletes an AdaptiveMtFile along with its sentences.", + "file": "TranslationClient/DeleteAdaptiveMtFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteAdaptiveMtFile_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteAdaptiveMtFile Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteDataset_sync", - "title": "translate DeleteDataset Sample", - "description": "DeleteDataset deletes a dataset and all of its contents.", - "file": "TranslationClient/DeleteDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataset", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteDataset", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DeleteDataset", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DeleteDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DeleteDatasetRequest", - "name": "req" + "name": "req", + "type": "translatepb.DeleteDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatasetOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteDataset", - "fullName": "google.cloud.translation.v3.TranslationService.DeleteDataset", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DeleteDataset" }, + "description": "DeleteDataset deletes a dataset and all of its contents.", + "file": "TranslationClient/DeleteDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteDataset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteDataset Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteGlossary_sync", - "title": "translate DeleteGlossary Sample", - "description": "DeleteGlossary deletes a glossary, or cancels glossary construction\nif the glossary isn't created yet.\nReturns NOT_FOUND, if the glossary doesn't exist.", - "file": "TranslationClient/DeleteGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGlossary", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteGlossary", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DeleteGlossary", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DeleteGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DeleteGlossaryRequest", - "name": "req" + "name": "req", + "type": "translatepb.DeleteGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGlossaryOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteGlossary", - "fullName": "google.cloud.translation.v3.TranslationService.DeleteGlossary", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DeleteGlossary" }, + "description": "DeleteGlossary deletes a glossary, or cancels glossary construction\nif the glossary isn't created yet.\nReturns NOT_FOUND, if the glossary doesn't exist.", + "file": "TranslationClient/DeleteGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteGlossary_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteGlossary Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteGlossaryEntry_sync", - "title": "translate DeleteGlossaryEntry Sample", - "description": "DeleteGlossaryEntry deletes a single entry from the glossary", - "file": "TranslationClient/DeleteGlossaryEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGlossaryEntry", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteGlossaryEntry", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DeleteGlossaryEntry", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DeleteGlossaryEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DeleteGlossaryEntryRequest", - "name": "req" + "name": "req", + "type": "translatepb.DeleteGlossaryEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteGlossaryEntry", - "fullName": "google.cloud.translation.v3.TranslationService.DeleteGlossaryEntry", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DeleteGlossaryEntry" }, + "description": "DeleteGlossaryEntry deletes a single entry from the glossary", + "file": "TranslationClient/DeleteGlossaryEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteGlossaryEntry_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteGlossaryEntry Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteModel_sync", - "title": "translate DeleteModel Sample", - "description": "DeleteModel deletes a model.", - "file": "TranslationClient/DeleteModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteModel", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteModel", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DeleteModel", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DeleteModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DeleteModelRequest", - "name": "req" + "name": "req", + "type": "translatepb.DeleteModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteModelOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteModel", - "fullName": "google.cloud.translation.v3.TranslationService.DeleteModel", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DeleteModel" }, + "description": "DeleteModel deletes a model.", + "file": "TranslationClient/DeleteModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteModel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteModel Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DeleteOperation_sync", - "title": "translate DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "TranslationClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "TranslationClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DeleteOperation Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_DetectLanguage_sync", - "title": "translate DetectLanguage Sample", - "description": "DetectLanguage detects the language of text within a request.", - "file": "TranslationClient/DetectLanguage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DetectLanguage", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.DetectLanguage", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.DetectLanguage", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "DetectLanguage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.DetectLanguageRequest", - "name": "req" + "name": "req", + "type": "translatepb.DetectLanguageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.DetectLanguageResponse", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "DetectLanguage", - "fullName": "google.cloud.translation.v3.TranslationService.DetectLanguage", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "DetectLanguage" }, + "description": "DetectLanguage detects the language of text within a request.", + "file": "TranslationClient/DetectLanguage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_DetectLanguage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate DetectLanguage Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ExportData_sync", - "title": "translate ExportData Sample", - "description": "ExportData exports dataset's data to the provided output location.", - "file": "TranslationClient/ExportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportData", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ExportData", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ExportData", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ExportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ExportDataRequest", - "name": "req" + "name": "req", + "type": "translatepb.ExportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ExportData", - "fullName": "google.cloud.translation.v3.TranslationService.ExportData", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ExportData" }, + "description": "ExportData exports dataset's data to the provided output location.", + "file": "TranslationClient/ExportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ExportData_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ExportData Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetAdaptiveMtDataset_sync", - "title": "translate GetAdaptiveMtDataset Sample", - "description": "GetAdaptiveMtDataset gets the Adaptive MT dataset.", - "file": "TranslationClient/GetAdaptiveMtDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAdaptiveMtDataset", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetAdaptiveMtDataset", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetAdaptiveMtDataset", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetAdaptiveMtDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetAdaptiveMtDatasetRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetAdaptiveMtDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.AdaptiveMtDataset", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetAdaptiveMtDataset", - "fullName": "google.cloud.translation.v3.TranslationService.GetAdaptiveMtDataset", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetAdaptiveMtDataset" }, + "description": "GetAdaptiveMtDataset gets the Adaptive MT dataset.", + "file": "TranslationClient/GetAdaptiveMtDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetAdaptiveMtDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetAdaptiveMtDataset Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetAdaptiveMtFile_sync", - "title": "translate GetAdaptiveMtFile Sample", - "description": "GetAdaptiveMtFile gets and AdaptiveMtFile", - "file": "TranslationClient/GetAdaptiveMtFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAdaptiveMtFile", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetAdaptiveMtFile", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetAdaptiveMtFile", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetAdaptiveMtFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetAdaptiveMtFileRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetAdaptiveMtFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.AdaptiveMtFile", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetAdaptiveMtFile", - "fullName": "google.cloud.translation.v3.TranslationService.GetAdaptiveMtFile", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetAdaptiveMtFile" }, + "description": "GetAdaptiveMtFile gets and AdaptiveMtFile", + "file": "TranslationClient/GetAdaptiveMtFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetAdaptiveMtFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetAdaptiveMtFile Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetDataset_sync", - "title": "translate GetDataset Sample", - "description": "GetDataset gets a Dataset.", - "file": "TranslationClient/GetDataset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataset", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetDataset", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetDataset", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetDataset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetDatasetRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetDatasetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.Dataset", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetDataset", - "fullName": "google.cloud.translation.v3.TranslationService.GetDataset", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetDataset" }, + "description": "GetDataset gets a Dataset.", + "file": "TranslationClient/GetDataset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetDataset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetDataset Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetGlossary_sync", - "title": "translate GetGlossary Sample", - "description": "GetGlossary gets a glossary. Returns NOT_FOUND, if the glossary doesn't\nexist.", - "file": "TranslationClient/GetGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGlossary", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetGlossary", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetGlossary", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetGlossaryRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.Glossary", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetGlossary", - "fullName": "google.cloud.translation.v3.TranslationService.GetGlossary", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetGlossary" }, + "description": "GetGlossary gets a glossary. Returns NOT_FOUND, if the glossary doesn't\nexist.", + "file": "TranslationClient/GetGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetGlossary_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetGlossary Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetGlossaryEntry_sync", - "title": "translate GetGlossaryEntry Sample", - "description": "GetGlossaryEntry gets a single glossary entry by the given id.", - "file": "TranslationClient/GetGlossaryEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGlossaryEntry", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetGlossaryEntry", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetGlossaryEntry", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetGlossaryEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetGlossaryEntryRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetGlossaryEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.GlossaryEntry", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetGlossaryEntry", - "fullName": "google.cloud.translation.v3.TranslationService.GetGlossaryEntry", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetGlossaryEntry" }, + "description": "GetGlossaryEntry gets a single glossary entry by the given id.", + "file": "TranslationClient/GetGlossaryEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetGlossaryEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetGlossaryEntry Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetLocation_sync", - "title": "translate GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "TranslationClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*locationpb.Location", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*locationpb.Location", + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "TranslationClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetLocation Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetModel_sync", - "title": "translate GetModel Sample", - "description": "GetModel gets a model.", - "file": "TranslationClient/GetModel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetModel", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetModel", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetModel", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetModel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetModelRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetModelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.Model", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetModel", - "fullName": "google.cloud.translation.v3.TranslationService.GetModel", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetModel" }, + "description": "GetModel gets a model.", + "file": "TranslationClient/GetModel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetModel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetModel Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetOperation_sync", - "title": "translate GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "TranslationClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "TranslationClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetOperation Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_GetSupportedLanguages_sync", - "title": "translate GetSupportedLanguages Sample", - "description": "GetSupportedLanguages returns a list of supported languages for translation.", - "file": "TranslationClient/GetSupportedLanguages/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSupportedLanguages", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.GetSupportedLanguages", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.GetSupportedLanguages", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "GetSupportedLanguages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.GetSupportedLanguagesRequest", - "name": "req" + "name": "req", + "type": "translatepb.GetSupportedLanguagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.SupportedLanguages", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "GetSupportedLanguages", - "fullName": "google.cloud.translation.v3.TranslationService.GetSupportedLanguages", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "GetSupportedLanguages" }, + "description": "GetSupportedLanguages returns a list of supported languages for translation.", + "file": "TranslationClient/GetSupportedLanguages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_GetSupportedLanguages_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate GetSupportedLanguages Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ImportAdaptiveMtFile_sync", - "title": "translate ImportAdaptiveMtFile Sample", - "description": "ImportAdaptiveMtFile imports an AdaptiveMtFile and adds all of its sentences into the\nAdaptiveMtDataset.", - "file": "TranslationClient/ImportAdaptiveMtFile/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAdaptiveMtFile", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ImportAdaptiveMtFile", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ImportAdaptiveMtFile", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ImportAdaptiveMtFile" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ImportAdaptiveMtFileRequest", - "name": "req" + "name": "req", + "type": "translatepb.ImportAdaptiveMtFileRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.ImportAdaptiveMtFileResponse", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ImportAdaptiveMtFile", - "fullName": "google.cloud.translation.v3.TranslationService.ImportAdaptiveMtFile", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ImportAdaptiveMtFile" }, + "description": "ImportAdaptiveMtFile imports an AdaptiveMtFile and adds all of its sentences into the\nAdaptiveMtDataset.", + "file": "TranslationClient/ImportAdaptiveMtFile/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ImportAdaptiveMtFile_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ImportAdaptiveMtFile Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ImportData_sync", - "title": "translate ImportData Sample", - "description": "ImportData import sentence pairs into translation Dataset.", - "file": "TranslationClient/ImportData/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportData", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ImportData", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ImportData", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ImportData" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ImportDataRequest", - "name": "req" + "name": "req", + "type": "translatepb.ImportDataRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ImportData", - "fullName": "google.cloud.translation.v3.TranslationService.ImportData", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ImportData" }, + "description": "ImportData import sentence pairs into translation Dataset.", + "file": "TranslationClient/ImportData/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ImportData_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ImportData Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListAdaptiveMtDatasets_sync", - "title": "translate ListAdaptiveMtDatasets Sample", - "description": "ListAdaptiveMtDatasets lists all Adaptive MT datasets for which the caller has read permission.", - "file": "TranslationClient/ListAdaptiveMtDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAdaptiveMtDatasets", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListAdaptiveMtDatasets", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtDatasets", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListAdaptiveMtDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListAdaptiveMtDatasetsRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListAdaptiveMtDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AdaptiveMtDatasetIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListAdaptiveMtDatasets", - "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtDatasets", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListAdaptiveMtDatasets" }, + "description": "ListAdaptiveMtDatasets lists all Adaptive MT datasets for which the caller has read permission.", + "file": "TranslationClient/ListAdaptiveMtDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListAdaptiveMtDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListAdaptiveMtDatasets Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListAdaptiveMtFiles_sync", - "title": "translate ListAdaptiveMtFiles Sample", - "description": "ListAdaptiveMtFiles lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.", - "file": "TranslationClient/ListAdaptiveMtFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAdaptiveMtFiles", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListAdaptiveMtFiles", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtFiles", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListAdaptiveMtFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListAdaptiveMtFilesRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListAdaptiveMtFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AdaptiveMtFileIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListAdaptiveMtFiles", - "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtFiles", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListAdaptiveMtFiles" }, + "description": "ListAdaptiveMtFiles lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.", + "file": "TranslationClient/ListAdaptiveMtFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListAdaptiveMtFiles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListAdaptiveMtFiles Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListAdaptiveMtSentences_sync", - "title": "translate ListAdaptiveMtSentences Sample", - "description": "ListAdaptiveMtSentences lists all AdaptiveMtSentences under a given file/dataset.", - "file": "TranslationClient/ListAdaptiveMtSentences/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAdaptiveMtSentences", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListAdaptiveMtSentences", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtSentences", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListAdaptiveMtSentences" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListAdaptiveMtSentencesRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListAdaptiveMtSentencesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AdaptiveMtSentenceIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListAdaptiveMtSentences", - "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtSentences", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListAdaptiveMtSentences" }, + "description": "ListAdaptiveMtSentences lists all AdaptiveMtSentences under a given file/dataset.", + "file": "TranslationClient/ListAdaptiveMtSentences/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListAdaptiveMtSentences_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListAdaptiveMtSentences Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListDatasets_sync", - "title": "translate ListDatasets Sample", - "description": "ListDatasets lists datasets.", - "file": "TranslationClient/ListDatasets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatasets", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListDatasets", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListDatasets", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListDatasets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListDatasetsRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListDatasetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatasetIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListDatasets", - "fullName": "google.cloud.translation.v3.TranslationService.ListDatasets", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListDatasets" }, + "description": "ListDatasets lists datasets.", + "file": "TranslationClient/ListDatasets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListDatasets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListDatasets Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListExamples_sync", - "title": "translate ListExamples Sample", - "description": "ListExamples lists sentence pairs in the dataset.", - "file": "TranslationClient/ListExamples/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExamples", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListExamples", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListExamples", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListExamples" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListExamplesRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListExamplesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExampleIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.translation.v3.TranslationService.ListExamples", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListExamples" }, + "description": "ListExamples lists sentence pairs in the dataset.", + "file": "TranslationClient/ListExamples/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListExamples_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListExamples Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListGlossaries_sync", - "title": "translate ListGlossaries Sample", - "description": "ListGlossaries lists glossaries in a project. Returns NOT_FOUND, if the project doesn't\nexist.", - "file": "TranslationClient/ListGlossaries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGlossaries", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListGlossaries", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListGlossaries", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListGlossaries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListGlossariesRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListGlossariesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GlossaryIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListGlossaries", - "fullName": "google.cloud.translation.v3.TranslationService.ListGlossaries", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListGlossaries" }, + "description": "ListGlossaries lists glossaries in a project. Returns NOT_FOUND, if the project doesn't\nexist.", + "file": "TranslationClient/ListGlossaries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListGlossaries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListGlossaries Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListGlossaryEntries_sync", - "title": "translate ListGlossaryEntries Sample", - "description": "ListGlossaryEntries list the entries for the glossary.", - "file": "TranslationClient/ListGlossaryEntries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGlossaryEntries", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListGlossaryEntries", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListGlossaryEntries", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListGlossaryEntries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListGlossaryEntriesRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListGlossaryEntriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GlossaryEntryIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListGlossaryEntries", - "fullName": "google.cloud.translation.v3.TranslationService.ListGlossaryEntries", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListGlossaryEntries" }, + "description": "ListGlossaryEntries list the entries for the glossary.", + "file": "TranslationClient/ListGlossaryEntries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListGlossaryEntries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListGlossaryEntries Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListLocations_sync", - "title": "translate ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "TranslationClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "TranslationClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListLocations Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListModels_sync", - "title": "translate ListModels Sample", - "description": "ListModels lists models.", - "file": "TranslationClient/ListModels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListModels", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListModels", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.ListModels", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "ListModels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.ListModelsRequest", - "name": "req" + "name": "req", + "type": "translatepb.ListModelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ModelIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListModels", - "fullName": "google.cloud.translation.v3.TranslationService.ListModels", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "ListModels" }, + "description": "ListModels lists models.", + "file": "TranslationClient/ListModels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListModels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListModels Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_ListOperations_sync", - "title": "translate ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "TranslationClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "TranslationClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate ListOperations Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_RomanizeText_sync", - "title": "translate RomanizeText Sample", - "description": "RomanizeText romanize input text written in non-Latin scripts to Latin text.", - "file": "TranslationClient/RomanizeText/main.go", - "language": "GO", "clientMethod": { - "shortName": "RomanizeText", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.RomanizeText", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.RomanizeText", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "RomanizeText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.RomanizeTextRequest", - "name": "req" + "name": "req", + "type": "translatepb.RomanizeTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.RomanizeTextResponse", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "RomanizeText", - "fullName": "google.cloud.translation.v3.TranslationService.RomanizeText", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "RomanizeText" }, + "description": "RomanizeText romanize input text written in non-Latin scripts to Latin text.", + "file": "TranslationClient/RomanizeText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_RomanizeText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate RomanizeText Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_TranslateDocument_sync", - "title": "translate TranslateDocument Sample", - "description": "TranslateDocument translates documents in synchronous mode.", - "file": "TranslationClient/TranslateDocument/main.go", - "language": "GO", "clientMethod": { - "shortName": "TranslateDocument", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.TranslateDocument", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.TranslateDocument", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "TranslateDocument" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.TranslateDocumentRequest", - "name": "req" + "name": "req", + "type": "translatepb.TranslateDocumentRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.TranslateDocumentResponse", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "TranslateDocument", - "fullName": "google.cloud.translation.v3.TranslationService.TranslateDocument", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "TranslateDocument" }, + "description": "TranslateDocument translates documents in synchronous mode.", + "file": "TranslationClient/TranslateDocument/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_TranslateDocument_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate TranslateDocument Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_TranslateText_sync", - "title": "translate TranslateText Sample", - "description": "TranslateText translates input text and returns translated text.", - "file": "TranslationClient/TranslateText/main.go", - "language": "GO", "clientMethod": { - "shortName": "TranslateText", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.TranslateText", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.TranslateText", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "TranslateText" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.TranslateTextRequest", - "name": "req" + "name": "req", + "type": "translatepb.TranslateTextRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.TranslateTextResponse", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "TranslateText", - "fullName": "google.cloud.translation.v3.TranslationService.TranslateText", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "TranslateText" }, + "description": "TranslateText translates input text and returns translated text.", + "file": "TranslationClient/TranslateText/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_TranslateText_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate TranslateText Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_UpdateGlossary_sync", - "title": "translate UpdateGlossary Sample", - "description": "UpdateGlossary updates a glossary. A LRO is used since the update can be async if the\nglossary's entry file is updated.", - "file": "TranslationClient/UpdateGlossary/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGlossary", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.UpdateGlossary", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.UpdateGlossary", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "UpdateGlossary" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.UpdateGlossaryRequest", - "name": "req" + "name": "req", + "type": "translatepb.UpdateGlossaryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGlossaryOperation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "UpdateGlossary", - "fullName": "google.cloud.translation.v3.TranslationService.UpdateGlossary", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "UpdateGlossary" }, + "description": "UpdateGlossary updates a glossary. A LRO is used since the update can be async if the\nglossary's entry file is updated.", + "file": "TranslationClient/UpdateGlossary/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_UpdateGlossary_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate UpdateGlossary Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_UpdateGlossaryEntry_sync", - "title": "translate UpdateGlossaryEntry Sample", - "description": "UpdateGlossaryEntry updates a glossary entry.", - "file": "TranslationClient/UpdateGlossaryEntry/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGlossaryEntry", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.UpdateGlossaryEntry", + "method": { + "fullName": "google.cloud.translation.v3.TranslationService.UpdateGlossaryEntry", + "service": { + "fullName": "google.cloud.translation.v3.TranslationService", + "shortName": "TranslationService" + }, + "shortName": "UpdateGlossaryEntry" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "translatepb.UpdateGlossaryEntryRequest", - "name": "req" + "name": "req", + "type": "translatepb.UpdateGlossaryEntryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*translatepb.GlossaryEntry", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "UpdateGlossaryEntry", - "fullName": "google.cloud.translation.v3.TranslationService.UpdateGlossaryEntry", - "service": { - "shortName": "TranslationService", - "fullName": "google.cloud.translation.v3.TranslationService" - } - } + "shortName": "UpdateGlossaryEntry" }, + "description": "UpdateGlossaryEntry updates a glossary entry.", + "file": "TranslationClient/UpdateGlossaryEntry/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_UpdateGlossaryEntry_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate UpdateGlossaryEntry Sample" }, { - "regionTag": "translate_v3_generated_TranslationService_WaitOperation_sync", - "title": "translate WaitOperation Sample", - "description": "WaitOperation is a utility method from google.longrunning.Operations.", - "file": "TranslationClient/WaitOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "WaitOperation", + "client": { + "fullName": "google.cloud.translation.v3.TranslationClient", + "shortName": "TranslationClient" + }, "fullName": "google.cloud.translation.v3.TranslationClient.WaitOperation", + "method": { + "fullName": "google.longrunning.Operations.WaitOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "WaitOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.WaitOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.WaitOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "TranslationClient", - "fullName": "google.cloud.translation.v3.TranslationClient" - }, - "method": { - "shortName": "WaitOperation", - "fullName": "google.longrunning.Operations.WaitOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "WaitOperation" }, + "description": "WaitOperation is a utility method from google.longrunning.Operations.", + "file": "TranslationClient/WaitOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "translate_v3_generated_TranslationService_WaitOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "translate WaitOperation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vectorsearch/apiv1/snippet_metadata.google.cloud.vectorsearch.v1.json b/internal/generated/snippets/vectorsearch/apiv1/snippet_metadata.google.cloud.vectorsearch.v1.json index 10251242ffc3..0d536c7d6cfa 100644 --- a/internal/generated/snippets/vectorsearch/apiv1/snippet_metadata.google.cloud.vectorsearch.v1.json +++ b/internal/generated/snippets/vectorsearch/apiv1/snippet_metadata.google.cloud.vectorsearch.v1.json @@ -1,1847 +1,1847 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vectorsearch/apiv1", - "version": "0.6.0", - "language": "GO", "apis": [ { "id": "google.cloud.vectorsearch.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vectorsearch/apiv1", + "version": "0.6.0" }, "snippets": [ { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_AggregateDataObjects_sync", - "title": "vectorsearch AggregateDataObjects Sample", - "description": "AggregateDataObjects aggregates data objects.", - "file": "DataObjectSearchClient/AggregateDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregateDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.AggregateDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.AggregateDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "AggregateDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.AggregateDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.AggregateDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.AggregateDataObjectsResponse", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "AggregateDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.AggregateDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService" - } - } + "shortName": "AggregateDataObjects" }, + "description": "AggregateDataObjects aggregates data objects.", + "file": "DataObjectSearchClient/AggregateDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_AggregateDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch AggregateDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_BatchSearchDataObjects_sync", - "title": "vectorsearch BatchSearchDataObjects Sample", - "description": "BatchSearchDataObjects batch searches data objects.", - "file": "DataObjectSearchClient/BatchSearchDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchSearchDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.BatchSearchDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.BatchSearchDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "BatchSearchDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchSearchDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchSearchDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.BatchSearchDataObjectsResponse", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "BatchSearchDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.BatchSearchDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService" - } - } + "shortName": "BatchSearchDataObjects" }, + "description": "BatchSearchDataObjects batch searches data objects.", + "file": "DataObjectSearchClient/BatchSearchDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_BatchSearchDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchSearchDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_CancelOperation_sync", - "title": "vectorsearch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CancelOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_DeleteOperation_sync", - "title": "vectorsearch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_GetLocation_sync", - "title": "vectorsearch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataObjectSearchClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataObjectSearchClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetLocation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_GetOperation_sync", - "title": "vectorsearch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_ListLocations_sync", - "title": "vectorsearch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataObjectSearchClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataObjectSearchClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListLocations Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_ListOperations_sync", - "title": "vectorsearch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListOperations Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_QueryDataObjects_sync", - "title": "vectorsearch QueryDataObjects Sample", - "description": "QueryDataObjects queries data objects.", - "file": "DataObjectSearchClient/QueryDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.QueryDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.QueryDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "QueryDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.QueryDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.QueryDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataObjectIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "QueryDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.QueryDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService" - } - } + "shortName": "QueryDataObjects" }, + "description": "QueryDataObjects queries data objects.", + "file": "DataObjectSearchClient/QueryDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_QueryDataObjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch QueryDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_SearchDataObjects_sync", - "title": "vectorsearch SearchDataObjects Sample", - "description": "SearchDataObjects searches data objects.", - "file": "DataObjectSearchClient/SearchDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient.SearchDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.SearchDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "SearchDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.SearchDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.SearchDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchClient" - }, - "method": { - "shortName": "SearchDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService.SearchDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectSearchService" - } - } + "shortName": "SearchDataObjects" }, + "description": "SearchDataObjects searches data objects.", + "file": "DataObjectSearchClient/SearchDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectSearchService_SearchDataObjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch SearchDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_BatchCreateDataObjects_sync", - "title": "vectorsearch BatchCreateDataObjects Sample", - "description": "BatchCreateDataObjects creates a batch of dataObjects.", - "file": "DataObjectClient/BatchCreateDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.BatchCreateDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.BatchCreateDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "BatchCreateDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchCreateDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchCreateDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.BatchCreateDataObjectsResponse", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "BatchCreateDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.BatchCreateDataObjects", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "BatchCreateDataObjects" }, + "description": "BatchCreateDataObjects creates a batch of dataObjects.", + "file": "DataObjectClient/BatchCreateDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_BatchCreateDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchCreateDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_BatchDeleteDataObjects_sync", - "title": "vectorsearch BatchDeleteDataObjects Sample", - "description": "BatchDeleteDataObjects deletes dataObjects in a batch.", - "file": "DataObjectClient/BatchDeleteDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.BatchDeleteDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.BatchDeleteDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "BatchDeleteDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchDeleteDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchDeleteDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "BatchDeleteDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.BatchDeleteDataObjects", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "BatchDeleteDataObjects" }, + "description": "BatchDeleteDataObjects deletes dataObjects in a batch.", + "file": "DataObjectClient/BatchDeleteDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_BatchDeleteDataObjects_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchDeleteDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_BatchUpdateDataObjects_sync", - "title": "vectorsearch BatchUpdateDataObjects Sample", - "description": "BatchUpdateDataObjects updates dataObjects in a batch.", - "file": "DataObjectClient/BatchUpdateDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.BatchUpdateDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.BatchUpdateDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "BatchUpdateDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchUpdateDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchUpdateDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.BatchUpdateDataObjectsResponse", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "BatchUpdateDataObjects", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.BatchUpdateDataObjects", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "BatchUpdateDataObjects" }, + "description": "BatchUpdateDataObjects updates dataObjects in a batch.", + "file": "DataObjectClient/BatchUpdateDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_BatchUpdateDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchUpdateDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_CancelOperation_sync", - "title": "vectorsearch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CancelOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_CreateDataObject_sync", - "title": "vectorsearch CreateDataObject Sample", - "description": "CreateDataObject creates a dataObject.", - "file": "DataObjectClient/CreateDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.CreateDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.CreateDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "CreateDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.CreateDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.CreateDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.DataObject", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "CreateDataObject", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.CreateDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "CreateDataObject" }, + "description": "CreateDataObject creates a dataObject.", + "file": "DataObjectClient/CreateDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_CreateDataObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CreateDataObject Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_DeleteDataObject_sync", - "title": "vectorsearch DeleteDataObject Sample", - "description": "DeleteDataObject deletes a dataObject.", - "file": "DataObjectClient/DeleteDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.DeleteDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.DeleteDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "DeleteDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.DeleteDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.DeleteDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "DeleteDataObject", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.DeleteDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "DeleteDataObject" }, + "description": "DeleteDataObject deletes a dataObject.", + "file": "DataObjectClient/DeleteDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_DeleteDataObject_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteDataObject Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_DeleteOperation_sync", - "title": "vectorsearch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_GetDataObject_sync", - "title": "vectorsearch GetDataObject Sample", - "description": "GetDataObject gets a data object.", - "file": "DataObjectClient/GetDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.GetDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.GetDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "GetDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.GetDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.GetDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.DataObject", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "GetDataObject", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.GetDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "GetDataObject" }, + "description": "GetDataObject gets a data object.", + "file": "DataObjectClient/GetDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_GetDataObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetDataObject Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_GetLocation_sync", - "title": "vectorsearch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataObjectClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataObjectClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetLocation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_GetOperation_sync", - "title": "vectorsearch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_ListLocations_sync", - "title": "vectorsearch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataObjectClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataObjectClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListLocations Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_ListOperations_sync", - "title": "vectorsearch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListOperations Sample" }, { - "regionTag": "vectorsearch_v1_generated_DataObjectService_UpdateDataObject_sync", - "title": "vectorsearch UpdateDataObject Sample", - "description": "UpdateDataObject updates a dataObject.", - "file": "DataObjectClient/UpdateDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1.DataObjectClient.UpdateDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService.UpdateDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "UpdateDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.UpdateDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.UpdateDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.DataObject", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1.DataObjectClient" - }, - "method": { - "shortName": "UpdateDataObject", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService.UpdateDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1.DataObjectService" - } - } + "shortName": "UpdateDataObject" }, + "description": "UpdateDataObject updates a dataObject.", + "file": "DataObjectClient/UpdateDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_DataObjectService_UpdateDataObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch UpdateDataObject Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_CancelOperation_sync", - "title": "vectorsearch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CancelOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_CreateCollection_sync", - "title": "vectorsearch CreateCollection Sample", - "description": "CreateCollection creates a new Collection in a given project and location.", - "file": "Client/CreateCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.CreateCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.CreateCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "CreateCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.CreateCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.CreateCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCollectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "CreateCollection", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.CreateCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "CreateCollection" }, + "description": "CreateCollection creates a new Collection in a given project and location.", + "file": "Client/CreateCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_CreateCollection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CreateCollection Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_CreateIndex_sync", - "title": "vectorsearch CreateIndex Sample", - "description": "CreateIndex creates a new Index in a given project and location.", - "file": "Client/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.CreateIndex", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.CreateIndex", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.CreateIndex", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates a new Index in a given project and location.", + "file": "Client/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CreateIndex Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_DeleteCollection_sync", - "title": "vectorsearch DeleteCollection Sample", - "description": "DeleteCollection deletes a single Collection.", - "file": "Client/DeleteCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.DeleteCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.DeleteCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "DeleteCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.DeleteCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.DeleteCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCollectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "DeleteCollection", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.DeleteCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "DeleteCollection" }, + "description": "DeleteCollection deletes a single Collection.", + "file": "Client/DeleteCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_DeleteCollection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteCollection Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_DeleteIndex_sync", - "title": "vectorsearch DeleteIndex Sample", - "description": "DeleteIndex deletes a single Index.", - "file": "Client/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.DeleteIndex", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.DeleteIndex", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.DeleteIndex", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex deletes a single Index.", + "file": "Client/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteIndex Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_DeleteOperation_sync", - "title": "vectorsearch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_ExportDataObjects_sync", - "title": "vectorsearch ExportDataObjects Sample", - "description": "ExportDataObjects initiates a Long-Running Operation to export DataObjects from a Collection.", - "file": "Client/ExportDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.ExportDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ExportDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ExportDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ExportDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ExportDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataObjectsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "ExportDataObjects", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ExportDataObjects", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "ExportDataObjects" }, + "description": "ExportDataObjects initiates a Long-Running Operation to export DataObjects from a Collection.", + "file": "Client/ExportDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_ExportDataObjects_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ExportDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetCollection_sync", - "title": "vectorsearch GetCollection Sample", - "description": "GetCollection gets details of a single Collection.", - "file": "Client/GetCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.GetCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.GetCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "GetCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.GetCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.GetCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.Collection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "GetCollection", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.GetCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "GetCollection" }, + "description": "GetCollection gets details of a single Collection.", + "file": "Client/GetCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetCollection Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetIndex_sync", - "title": "vectorsearch GetIndex Sample", - "description": "GetIndex gets details of a single Index.", - "file": "Client/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.GetIndex", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.GetIndex", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.Index", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.GetIndex", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets details of a single Index.", + "file": "Client/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetIndex Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetLocation_sync", - "title": "vectorsearch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetLocation Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetOperation_sync", - "title": "vectorsearch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetOperation Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_ImportDataObjects_sync", - "title": "vectorsearch ImportDataObjects Sample", - "description": "ImportDataObjects initiates a Long-Running Operation to import DataObjects into a Collection.", - "file": "Client/ImportDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.ImportDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ImportDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ImportDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ImportDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ImportDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataObjectsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "ImportDataObjects", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ImportDataObjects", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "ImportDataObjects" }, + "description": "ImportDataObjects initiates a Long-Running Operation to import DataObjects into a Collection.", + "file": "Client/ImportDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_ImportDataObjects_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ImportDataObjects Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListCollections_sync", - "title": "vectorsearch ListCollections Sample", - "description": "ListCollections lists Collections in a given project and location.", - "file": "Client/ListCollections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCollections", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.ListCollections", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ListCollections", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ListCollections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ListCollectionsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ListCollectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CollectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "ListCollections", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ListCollections", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "ListCollections" }, + "description": "ListCollections lists Collections in a given project and location.", + "file": "Client/ListCollections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListCollections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListCollections Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListIndexes_sync", - "title": "vectorsearch ListIndexes Sample", - "description": "ListIndexes lists Indexes in a given project and location.", - "file": "Client/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.ListIndexes", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ListIndexes", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.ListIndexes", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "ListIndexes" }, + "description": "ListIndexes lists Indexes in a given project and location.", + "file": "Client/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListIndexes Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListLocations_sync", - "title": "vectorsearch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListLocations Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListOperations_sync", - "title": "vectorsearch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListOperations Sample" }, { - "regionTag": "vectorsearch_v1_generated_VectorSearchService_UpdateCollection_sync", - "title": "vectorsearch UpdateCollection Sample", - "description": "UpdateCollection updates the parameters of a single Collection.", - "file": "Client/UpdateCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1.Client.UpdateCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.UpdateCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "UpdateCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.UpdateCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.UpdateCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCollectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1.Client" - }, - "method": { - "shortName": "UpdateCollection", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService.UpdateCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1.VectorSearchService" - } - } + "shortName": "UpdateCollection" }, + "description": "UpdateCollection updates the parameters of a single Collection.", + "file": "Client/UpdateCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1_generated_VectorSearchService_UpdateCollection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch UpdateCollection Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vectorsearch/apiv1beta/snippet_metadata.google.cloud.vectorsearch.v1beta.json b/internal/generated/snippets/vectorsearch/apiv1beta/snippet_metadata.google.cloud.vectorsearch.v1beta.json index 1810998231cd..43d8fe5f9857 100644 --- a/internal/generated/snippets/vectorsearch/apiv1beta/snippet_metadata.google.cloud.vectorsearch.v1beta.json +++ b/internal/generated/snippets/vectorsearch/apiv1beta/snippet_metadata.google.cloud.vectorsearch.v1beta.json @@ -1,1847 +1,1847 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vectorsearch/apiv1beta", - "version": "0.6.0", - "language": "GO", "apis": [ { "id": "google.cloud.vectorsearch.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vectorsearch/apiv1beta", + "version": "0.6.0" }, "snippets": [ { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_AggregateDataObjects_sync", - "title": "vectorsearch AggregateDataObjects Sample", - "description": "AggregateDataObjects aggregates data objects.", - "file": "DataObjectSearchClient/AggregateDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "AggregateDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.AggregateDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.AggregateDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "AggregateDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.AggregateDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.AggregateDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.AggregateDataObjectsResponse", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "AggregateDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.AggregateDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService" - } - } + "shortName": "AggregateDataObjects" }, + "description": "AggregateDataObjects aggregates data objects.", + "file": "DataObjectSearchClient/AggregateDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_AggregateDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch AggregateDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_BatchSearchDataObjects_sync", - "title": "vectorsearch BatchSearchDataObjects Sample", - "description": "BatchSearchDataObjects batch searches data objects.", - "file": "DataObjectSearchClient/BatchSearchDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchSearchDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.BatchSearchDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.BatchSearchDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "BatchSearchDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchSearchDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchSearchDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.BatchSearchDataObjectsResponse", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "BatchSearchDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.BatchSearchDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService" - } - } + "shortName": "BatchSearchDataObjects" }, + "description": "BatchSearchDataObjects batch searches data objects.", + "file": "DataObjectSearchClient/BatchSearchDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_BatchSearchDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchSearchDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_CancelOperation_sync", - "title": "vectorsearch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CancelOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_DeleteOperation_sync", - "title": "vectorsearch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_GetLocation_sync", - "title": "vectorsearch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataObjectSearchClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataObjectSearchClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetLocation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_GetOperation_sync", - "title": "vectorsearch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_ListLocations_sync", - "title": "vectorsearch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataObjectSearchClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataObjectSearchClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListLocations Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_ListOperations_sync", - "title": "vectorsearch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataObjectSearchClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataObjectSearchClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListOperations Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_QueryDataObjects_sync", - "title": "vectorsearch QueryDataObjects Sample", - "description": "QueryDataObjects queries data objects.", - "file": "DataObjectSearchClient/QueryDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "QueryDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.QueryDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.QueryDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "QueryDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.QueryDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.QueryDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataObjectIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "QueryDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.QueryDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService" - } - } + "shortName": "QueryDataObjects" }, + "description": "QueryDataObjects queries data objects.", + "file": "DataObjectSearchClient/QueryDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_QueryDataObjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch QueryDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_SearchDataObjects_sync", - "title": "vectorsearch SearchDataObjects Sample", - "description": "SearchDataObjects searches data objects.", - "file": "DataObjectSearchClient/SearchDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient", + "shortName": "DataObjectSearchClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient.SearchDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.SearchDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService", + "shortName": "DataObjectSearchService" + }, + "shortName": "SearchDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.SearchDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.SearchDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultIterator", - "client": { - "shortName": "DataObjectSearchClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchClient" - }, - "method": { - "shortName": "SearchDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService.SearchDataObjects", - "service": { - "shortName": "DataObjectSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectSearchService" - } - } + "shortName": "SearchDataObjects" }, + "description": "SearchDataObjects searches data objects.", + "file": "DataObjectSearchClient/SearchDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectSearchService_SearchDataObjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch SearchDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_BatchCreateDataObjects_sync", - "title": "vectorsearch BatchCreateDataObjects Sample", - "description": "BatchCreateDataObjects creates a batch of dataObjects.", - "file": "DataObjectClient/BatchCreateDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchCreateDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.BatchCreateDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.BatchCreateDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "BatchCreateDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchCreateDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchCreateDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.BatchCreateDataObjectsResponse", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "BatchCreateDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.BatchCreateDataObjects", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "BatchCreateDataObjects" }, + "description": "BatchCreateDataObjects creates a batch of dataObjects.", + "file": "DataObjectClient/BatchCreateDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_BatchCreateDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchCreateDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_BatchDeleteDataObjects_sync", - "title": "vectorsearch BatchDeleteDataObjects Sample", - "description": "BatchDeleteDataObjects deletes dataObjects in a batch.", - "file": "DataObjectClient/BatchDeleteDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchDeleteDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.BatchDeleteDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.BatchDeleteDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "BatchDeleteDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchDeleteDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchDeleteDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "BatchDeleteDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.BatchDeleteDataObjects", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "BatchDeleteDataObjects" }, + "description": "BatchDeleteDataObjects deletes dataObjects in a batch.", + "file": "DataObjectClient/BatchDeleteDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_BatchDeleteDataObjects_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchDeleteDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_BatchUpdateDataObjects_sync", - "title": "vectorsearch BatchUpdateDataObjects Sample", - "description": "BatchUpdateDataObjects updates dataObjects in a batch.", - "file": "DataObjectClient/BatchUpdateDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchUpdateDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.BatchUpdateDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.BatchUpdateDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "BatchUpdateDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.BatchUpdateDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.BatchUpdateDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.BatchUpdateDataObjectsResponse", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "BatchUpdateDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.BatchUpdateDataObjects", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "BatchUpdateDataObjects" }, + "description": "BatchUpdateDataObjects updates dataObjects in a batch.", + "file": "DataObjectClient/BatchUpdateDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_BatchUpdateDataObjects_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch BatchUpdateDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_CancelOperation_sync", - "title": "vectorsearch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CancelOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_CreateDataObject_sync", - "title": "vectorsearch CreateDataObject Sample", - "description": "CreateDataObject creates a dataObject.", - "file": "DataObjectClient/CreateDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.CreateDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.CreateDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "CreateDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.CreateDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.CreateDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.DataObject", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "CreateDataObject", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.CreateDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "CreateDataObject" }, + "description": "CreateDataObject creates a dataObject.", + "file": "DataObjectClient/CreateDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_CreateDataObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CreateDataObject Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_DeleteDataObject_sync", - "title": "vectorsearch DeleteDataObject Sample", - "description": "DeleteDataObject deletes a dataObject.", - "file": "DataObjectClient/DeleteDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.DeleteDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.DeleteDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "DeleteDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.DeleteDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.DeleteDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "DeleteDataObject", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.DeleteDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "DeleteDataObject" }, + "description": "DeleteDataObject deletes a dataObject.", + "file": "DataObjectClient/DeleteDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_DeleteDataObject_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteDataObject Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_DeleteOperation_sync", - "title": "vectorsearch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_GetDataObject_sync", - "title": "vectorsearch GetDataObject Sample", - "description": "GetDataObject gets a data object.", - "file": "DataObjectClient/GetDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.GetDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.GetDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "GetDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.GetDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.GetDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.DataObject", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "GetDataObject", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.GetDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "GetDataObject" }, + "description": "GetDataObject gets a data object.", + "file": "DataObjectClient/GetDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_GetDataObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetDataObject Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_GetLocation_sync", - "title": "vectorsearch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "DataObjectClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "DataObjectClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetLocation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_GetOperation_sync", - "title": "vectorsearch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_ListLocations_sync", - "title": "vectorsearch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "DataObjectClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "DataObjectClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListLocations Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_ListOperations_sync", - "title": "vectorsearch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "DataObjectClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "DataObjectClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListOperations Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_DataObjectService_UpdateDataObject_sync", - "title": "vectorsearch UpdateDataObject Sample", - "description": "UpdateDataObject updates a dataObject.", - "file": "DataObjectClient/UpdateDataObject/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataObject", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient", + "shortName": "DataObjectClient" + }, "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient.UpdateDataObject", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.UpdateDataObject", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService", + "shortName": "DataObjectService" + }, + "shortName": "UpdateDataObject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.UpdateDataObjectRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.UpdateDataObjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.DataObject", - "client": { - "shortName": "DataObjectClient", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectClient" - }, - "method": { - "shortName": "UpdateDataObject", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService.UpdateDataObject", - "service": { - "shortName": "DataObjectService", - "fullName": "google.cloud.vectorsearch.v1beta.DataObjectService" - } - } + "shortName": "UpdateDataObject" }, + "description": "UpdateDataObject updates a dataObject.", + "file": "DataObjectClient/UpdateDataObject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_DataObjectService_UpdateDataObject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch UpdateDataObject Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_CancelOperation_sync", - "title": "vectorsearch CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CancelOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_CreateCollection_sync", - "title": "vectorsearch CreateCollection Sample", - "description": "CreateCollection creates a new Collection in a given project and location.", - "file": "Client/CreateCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.CreateCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.CreateCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "CreateCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.CreateCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.CreateCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCollectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "CreateCollection", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.CreateCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "CreateCollection" }, + "description": "CreateCollection creates a new Collection in a given project and location.", + "file": "Client/CreateCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_CreateCollection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CreateCollection Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_CreateIndex_sync", - "title": "vectorsearch CreateIndex Sample", - "description": "CreateIndex creates a new Index in a given project and location.", - "file": "Client/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.CreateIndex", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.CreateIndex", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.CreateIndex", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates a new Index in a given project and location.", + "file": "Client/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch CreateIndex Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_DeleteCollection_sync", - "title": "vectorsearch DeleteCollection Sample", - "description": "DeleteCollection deletes a single Collection.", - "file": "Client/DeleteCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.DeleteCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.DeleteCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "DeleteCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.DeleteCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.DeleteCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCollectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "DeleteCollection", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.DeleteCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "DeleteCollection" }, + "description": "DeleteCollection deletes a single Collection.", + "file": "Client/DeleteCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_DeleteCollection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteCollection Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_DeleteIndex_sync", - "title": "vectorsearch DeleteIndex Sample", - "description": "DeleteIndex deletes a single Index.", - "file": "Client/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.DeleteIndex", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.DeleteIndex", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.DeleteIndex", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex deletes a single Index.", + "file": "Client/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteIndex Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_DeleteOperation_sync", - "title": "vectorsearch DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch DeleteOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ExportDataObjects_sync", - "title": "vectorsearch ExportDataObjects Sample", - "description": "ExportDataObjects initiates a Long-Running Operation to export DataObjects from a Collection.", - "file": "Client/ExportDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExportDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.ExportDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ExportDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ExportDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ExportDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ExportDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExportDataObjectsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "ExportDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ExportDataObjects", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "ExportDataObjects" }, + "description": "ExportDataObjects initiates a Long-Running Operation to export DataObjects from a Collection.", + "file": "Client/ExportDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ExportDataObjects_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ExportDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetCollection_sync", - "title": "vectorsearch GetCollection Sample", - "description": "GetCollection gets details of a single Collection.", - "file": "Client/GetCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.GetCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.GetCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "GetCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.GetCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.GetCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.Collection", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "GetCollection", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.GetCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "GetCollection" }, + "description": "GetCollection gets details of a single Collection.", + "file": "Client/GetCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetCollection Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetIndex_sync", - "title": "vectorsearch GetIndex Sample", - "description": "GetIndex gets details of a single Index.", - "file": "Client/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.GetIndex", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.GetIndex", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vectorsearchpb.Index", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.GetIndex", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets details of a single Index.", + "file": "Client/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetIndex Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetLocation_sync", - "title": "vectorsearch GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetLocation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetOperation_sync", - "title": "vectorsearch GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch GetOperation Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ImportDataObjects_sync", - "title": "vectorsearch ImportDataObjects Sample", - "description": "ImportDataObjects initiates a Long-Running Operation to import DataObjects into a Collection.", - "file": "Client/ImportDataObjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportDataObjects", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.ImportDataObjects", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ImportDataObjects", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ImportDataObjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ImportDataObjectsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ImportDataObjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportDataObjectsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "ImportDataObjects", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ImportDataObjects", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "ImportDataObjects" }, + "description": "ImportDataObjects initiates a Long-Running Operation to import DataObjects into a Collection.", + "file": "Client/ImportDataObjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ImportDataObjects_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ImportDataObjects Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListCollections_sync", - "title": "vectorsearch ListCollections Sample", - "description": "ListCollections lists Collections in a given project and location.", - "file": "Client/ListCollections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCollections", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.ListCollections", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ListCollections", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ListCollections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ListCollectionsRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ListCollectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CollectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "ListCollections", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ListCollections", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "ListCollections" }, + "description": "ListCollections lists Collections in a given project and location.", + "file": "Client/ListCollections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListCollections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListCollections Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListIndexes_sync", - "title": "vectorsearch ListIndexes Sample", - "description": "ListIndexes lists Indexes in a given project and location.", - "file": "Client/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.ListIndexes", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ListIndexes", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.ListIndexes", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "ListIndexes" }, + "description": "ListIndexes lists Indexes in a given project and location.", + "file": "Client/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListIndexes Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListLocations_sync", - "title": "vectorsearch ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListLocations Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListOperations_sync", - "title": "vectorsearch ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch ListOperations Sample" }, { - "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_UpdateCollection_sync", - "title": "vectorsearch UpdateCollection Sample", - "description": "UpdateCollection updates the parameters of a single Collection.", - "file": "Client/UpdateCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCollection", + "client": { + "fullName": "google.cloud.vectorsearch.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vectorsearch.v1beta.Client.UpdateCollection", + "method": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.UpdateCollection", + "service": { + "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService", + "shortName": "VectorSearchService" + }, + "shortName": "UpdateCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vectorsearchpb.UpdateCollectionRequest", - "name": "req" + "name": "req", + "type": "vectorsearchpb.UpdateCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCollectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vectorsearch.v1beta.Client" - }, - "method": { - "shortName": "UpdateCollection", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService.UpdateCollection", - "service": { - "shortName": "VectorSearchService", - "fullName": "google.cloud.vectorsearch.v1beta.VectorSearchService" - } - } + "shortName": "UpdateCollection" }, + "description": "UpdateCollection updates the parameters of a single Collection.", + "file": "Client/UpdateCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vectorsearch_v1beta_generated_VectorSearchService_UpdateCollection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vectorsearch UpdateCollection Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json b/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json index 1fc8c042741b..659fdf2b525c 100644 --- a/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json +++ b/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json @@ -1,1852 +1,1852 @@ { "clientLibrary": { - "name": "cloud.google.com/go/video/livestream/apiv1", - "version": "1.27.1", - "language": "GO", "apis": [ { "id": "google.cloud.video.livestream.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/video/livestream/apiv1", + "version": "1.27.1" }, "snippets": [ { - "regionTag": "livestream_v1_generated_LivestreamService_CancelOperation_sync", - "title": "livestream CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CancelOperation Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_CreateAsset_sync", - "title": "livestream CreateAsset Sample", - "description": "CreateAsset creates a Asset with the provided unique ID in the specified\nregion.", - "file": "Client/CreateAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAsset", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CreateAsset", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateAsset", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "CreateAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.CreateAssetRequest", - "name": "req" + "name": "req", + "type": "livestreampb.CreateAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAssetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CreateAsset", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateAsset", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "CreateAsset" }, + "description": "CreateAsset creates a Asset with the provided unique ID in the specified\nregion.", + "file": "Client/CreateAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CreateAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CreateAsset Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_CreateChannel_sync", - "title": "livestream CreateChannel Sample", - "description": "CreateChannel creates a channel with the provided unique ID in the specified\nregion.", - "file": "Client/CreateChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateChannel", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CreateChannel", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateChannel", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "CreateChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.CreateChannelRequest", - "name": "req" + "name": "req", + "type": "livestreampb.CreateChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateChannelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CreateChannel", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateChannel", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "CreateChannel" }, + "description": "CreateChannel creates a channel with the provided unique ID in the specified\nregion.", + "file": "Client/CreateChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CreateChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CreateChannel Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_CreateClip_sync", - "title": "livestream CreateClip Sample", - "description": "CreateClip creates a clip with the provided clip ID in the specified channel.", - "file": "Client/CreateClip/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateClip", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CreateClip", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateClip", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "CreateClip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.CreateClipRequest", - "name": "req" + "name": "req", + "type": "livestreampb.CreateClipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClipOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CreateClip", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateClip", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "CreateClip" }, + "description": "CreateClip creates a clip with the provided clip ID in the specified channel.", + "file": "Client/CreateClip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CreateClip_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CreateClip Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_CreateDvrSession_sync", - "title": "livestream CreateDvrSession Sample", - "description": "CreateDvrSession creates a DVR session with the provided unique ID in the specified channel.", - "file": "Client/CreateDvrSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDvrSession", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CreateDvrSession", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "CreateDvrSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.CreateDvrSessionRequest", - "name": "req" + "name": "req", + "type": "livestreampb.CreateDvrSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDvrSessionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CreateDvrSession", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "CreateDvrSession" }, + "description": "CreateDvrSession creates a DVR session with the provided unique ID in the specified channel.", + "file": "Client/CreateDvrSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CreateDvrSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CreateDvrSession Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_CreateEvent_sync", - "title": "livestream CreateEvent Sample", - "description": "CreateEvent creates an event with the provided unique ID in the specified channel.", - "file": "Client/CreateEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvent", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CreateEvent", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateEvent", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "CreateEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.CreateEventRequest", - "name": "req" + "name": "req", + "type": "livestreampb.CreateEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Event", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CreateEvent", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateEvent", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "CreateEvent" }, + "description": "CreateEvent creates an event with the provided unique ID in the specified channel.", + "file": "Client/CreateEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CreateEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CreateEvent Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_CreateInput_sync", - "title": "livestream CreateInput Sample", - "description": "CreateInput creates an input with the provided unique ID in the specified region.", - "file": "Client/CreateInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateInput", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.CreateInput", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateInput", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "CreateInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.CreateInputRequest", - "name": "req" + "name": "req", + "type": "livestreampb.CreateInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateInputOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "CreateInput", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateInput", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "CreateInput" }, + "description": "CreateInput creates an input with the provided unique ID in the specified region.", + "file": "Client/CreateInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_CreateInput_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream CreateInput Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteAsset_sync", - "title": "livestream DeleteAsset Sample", - "description": "DeleteAsset deletes the specified asset if it is not used.", - "file": "Client/DeleteAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAsset", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteAsset", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteAsset", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "DeleteAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.DeleteAssetRequest", - "name": "req" + "name": "req", + "type": "livestreampb.DeleteAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAssetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteAsset", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteAsset", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "DeleteAsset" }, + "description": "DeleteAsset deletes the specified asset if it is not used.", + "file": "Client/DeleteAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteAsset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteAsset Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteChannel_sync", - "title": "livestream DeleteChannel Sample", - "description": "DeleteChannel deletes the specified channel.", - "file": "Client/DeleteChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteChannel", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteChannel", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteChannel", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "DeleteChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.DeleteChannelRequest", - "name": "req" + "name": "req", + "type": "livestreampb.DeleteChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteChannelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteChannel", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteChannel", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "DeleteChannel" }, + "description": "DeleteChannel deletes the specified channel.", + "file": "Client/DeleteChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteChannel_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteChannel Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteClip_sync", - "title": "livestream DeleteClip Sample", - "description": "DeleteClip deletes the specified clip job resource. This method only deletes the clip\njob and does not delete the VOD clip stored in Cloud Storage.", - "file": "Client/DeleteClip/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteClip", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteClip", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteClip", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "DeleteClip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.DeleteClipRequest", - "name": "req" + "name": "req", + "type": "livestreampb.DeleteClipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClipOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteClip", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteClip", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "DeleteClip" }, + "description": "DeleteClip deletes the specified clip job resource. This method only deletes the clip\njob and does not delete the VOD clip stored in Cloud Storage.", + "file": "Client/DeleteClip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteClip_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteClip Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteDvrSession_sync", - "title": "livestream DeleteDvrSession Sample", - "description": "DeleteDvrSession deletes the specified DVR session.", - "file": "Client/DeleteDvrSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDvrSession", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteDvrSession", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "DeleteDvrSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.DeleteDvrSessionRequest", - "name": "req" + "name": "req", + "type": "livestreampb.DeleteDvrSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDvrSessionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteDvrSession", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "DeleteDvrSession" }, + "description": "DeleteDvrSession deletes the specified DVR session.", + "file": "Client/DeleteDvrSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteDvrSession_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteDvrSession Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteEvent_sync", - "title": "livestream DeleteEvent Sample", - "description": "DeleteEvent deletes the specified event.", - "file": "Client/DeleteEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvent", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteEvent", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteEvent", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "DeleteEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.DeleteEventRequest", - "name": "req" + "name": "req", + "type": "livestreampb.DeleteEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteEvent", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteEvent", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "DeleteEvent" }, + "description": "DeleteEvent deletes the specified event.", + "file": "Client/DeleteEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteEvent_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteEvent Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteInput_sync", - "title": "livestream DeleteInput Sample", - "description": "DeleteInput deletes the specified input.", - "file": "Client/DeleteInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteInput", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteInput", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteInput", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "DeleteInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.DeleteInputRequest", - "name": "req" + "name": "req", + "type": "livestreampb.DeleteInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteInputOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteInput", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteInput", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "DeleteInput" }, + "description": "DeleteInput deletes the specified input.", + "file": "Client/DeleteInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteInput_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteInput Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_DeleteOperation_sync", - "title": "livestream DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream DeleteOperation Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetAsset_sync", - "title": "livestream GetAsset Sample", - "description": "GetAsset returns the specified asset.", - "file": "Client/GetAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAsset", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetAsset", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetAsset", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetAssetRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Asset", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetAsset", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetAsset", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetAsset" }, + "description": "GetAsset returns the specified asset.", + "file": "Client/GetAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetAsset Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetChannel_sync", - "title": "livestream GetChannel Sample", - "description": "GetChannel returns the specified channel.", - "file": "Client/GetChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetChannel", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetChannel", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetChannel", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetChannelRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Channel", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetChannel", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetChannel", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetChannel" }, + "description": "GetChannel returns the specified channel.", + "file": "Client/GetChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetChannel_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetChannel Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetClip_sync", - "title": "livestream GetClip Sample", - "description": "GetClip returns the specified clip.", - "file": "Client/GetClip/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetClip", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetClip", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetClip", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetClip" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetClipRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetClipRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Clip", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetClip", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetClip", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetClip" }, + "description": "GetClip returns the specified clip.", + "file": "Client/GetClip/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetClip_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetClip Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetDvrSession_sync", - "title": "livestream GetDvrSession Sample", - "description": "GetDvrSession returns the specified DVR session.", - "file": "Client/GetDvrSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDvrSession", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetDvrSession", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetDvrSession", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetDvrSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetDvrSessionRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetDvrSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.DvrSession", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetDvrSession", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetDvrSession", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetDvrSession" }, + "description": "GetDvrSession returns the specified DVR session.", + "file": "Client/GetDvrSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetDvrSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetDvrSession Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetEvent_sync", - "title": "livestream GetEvent Sample", - "description": "GetEvent returns the specified event.", - "file": "Client/GetEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvent", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetEvent", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetEvent", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetEventRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Event", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetEvent", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetEvent", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetEvent" }, + "description": "GetEvent returns the specified event.", + "file": "Client/GetEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetEvent Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetInput_sync", - "title": "livestream GetInput Sample", - "description": "GetInput returns the specified input.", - "file": "Client/GetInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInput", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetInput", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetInput", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetInputRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Input", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetInput", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetInput", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetInput" }, + "description": "GetInput returns the specified input.", + "file": "Client/GetInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetInput Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetLocation_sync", - "title": "livestream GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetLocation Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetOperation_sync", - "title": "livestream GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetOperation Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_GetPool_sync", - "title": "livestream GetPool Sample", - "description": "GetPool returns the specified pool.", - "file": "Client/GetPool/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPool", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.GetPool", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetPool", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "GetPool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.GetPoolRequest", - "name": "req" + "name": "req", + "type": "livestreampb.GetPoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.Pool", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "GetPool", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetPool", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "GetPool" }, + "description": "GetPool returns the specified pool.", + "file": "Client/GetPool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_GetPool_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream GetPool Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListAssets_sync", - "title": "livestream ListAssets Sample", - "description": "ListAssets returns a list of all assets in the specified region.", - "file": "Client/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListAssets", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListAssets", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "livestreampb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListAssets", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets returns a list of all assets in the specified region.", + "file": "Client/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListAssets Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListChannels_sync", - "title": "livestream ListChannels Sample", - "description": "ListChannels returns a list of all channels in the specified region.", - "file": "Client/ListChannels/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListChannels", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListChannels", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListChannels", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "ListChannels" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.ListChannelsRequest", - "name": "req" + "name": "req", + "type": "livestreampb.ListChannelsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ChannelIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListChannels", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListChannels", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "ListChannels" }, + "description": "ListChannels returns a list of all channels in the specified region.", + "file": "Client/ListChannels/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListChannels_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListChannels Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListClips_sync", - "title": "livestream ListClips Sample", - "description": "ListClips returns a list of all clips in the specified channel.", - "file": "Client/ListClips/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClips", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListClips", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListClips", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "ListClips" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.ListClipsRequest", - "name": "req" + "name": "req", + "type": "livestreampb.ListClipsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClipIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListClips", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListClips", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "ListClips" }, + "description": "ListClips returns a list of all clips in the specified channel.", + "file": "Client/ListClips/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListClips_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListClips Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListDvrSessions_sync", - "title": "livestream ListDvrSessions Sample", - "description": "ListDvrSessions returns a list of all DVR sessions in the specified channel.", - "file": "Client/ListDvrSessions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDvrSessions", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListDvrSessions", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "ListDvrSessions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.ListDvrSessionsRequest", - "name": "req" + "name": "req", + "type": "livestreampb.ListDvrSessionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DvrSessionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListDvrSessions", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "ListDvrSessions" }, + "description": "ListDvrSessions returns a list of all DVR sessions in the specified channel.", + "file": "Client/ListDvrSessions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListDvrSessions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListDvrSessions Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListEvents_sync", - "title": "livestream ListEvents Sample", - "description": "ListEvents returns a list of all events in the specified channel.", - "file": "Client/ListEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvents", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListEvents", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListEvents", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "ListEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.ListEventsRequest", - "name": "req" + "name": "req", + "type": "livestreampb.ListEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListEvents", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListEvents", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "ListEvents" }, + "description": "ListEvents returns a list of all events in the specified channel.", + "file": "Client/ListEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListEvents_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListEvents Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListInputs_sync", - "title": "livestream ListInputs Sample", - "description": "ListInputs returns a list of all inputs in the specified region.", - "file": "Client/ListInputs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInputs", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListInputs", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListInputs", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "ListInputs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.ListInputsRequest", - "name": "req" + "name": "req", + "type": "livestreampb.ListInputsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InputIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListInputs", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListInputs", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "ListInputs" }, + "description": "ListInputs returns a list of all inputs in the specified region.", + "file": "Client/ListInputs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListInputs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListInputs Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListLocations_sync", - "title": "livestream ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListLocations Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_ListOperations_sync", - "title": "livestream ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream ListOperations Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_PreviewInput_sync", - "title": "livestream PreviewInput Sample", - "description": "PreviewInput preview the streaming content of the specified input.", - "file": "Client/PreviewInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "PreviewInput", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.PreviewInput", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.PreviewInput", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "PreviewInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.PreviewInputRequest", - "name": "req" + "name": "req", + "type": "livestreampb.PreviewInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*livestreampb.PreviewInputResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "PreviewInput", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.PreviewInput", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "PreviewInput" }, + "description": "PreviewInput preview the streaming content of the specified input.", + "file": "Client/PreviewInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_PreviewInput_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream PreviewInput Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_StartChannel_sync", - "title": "livestream StartChannel Sample", - "description": "StartChannel starts the specified channel. Part of the video pipeline will be created\nonly when the StartChannel request is received by the server.", - "file": "Client/StartChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartChannel", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.StartChannel", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartChannel", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "StartChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.StartChannelRequest", - "name": "req" + "name": "req", + "type": "livestreampb.StartChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartChannelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "StartChannel", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartChannel", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "StartChannel" }, + "description": "StartChannel starts the specified channel. Part of the video pipeline will be created\nonly when the StartChannel request is received by the server.", + "file": "Client/StartChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_StartChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream StartChannel Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_StartDistribution_sync", - "title": "livestream StartDistribution Sample", - "description": "StartDistribution starts distribution which delivers outputs to the destination indicated by\nthe Distribution configuration.", - "file": "Client/StartDistribution/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartDistribution", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.StartDistribution", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartDistribution", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "StartDistribution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.StartDistributionRequest", - "name": "req" + "name": "req", + "type": "livestreampb.StartDistributionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartDistributionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "StartDistribution", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartDistribution", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "StartDistribution" }, + "description": "StartDistribution starts distribution which delivers outputs to the destination indicated by\nthe Distribution configuration.", + "file": "Client/StartDistribution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_StartDistribution_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream StartDistribution Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_StopChannel_sync", - "title": "livestream StopChannel Sample", - "description": "StopChannel stops the specified channel. Part of the video pipeline will be released\nwhen the StopChannel request is received by the server.", - "file": "Client/StopChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopChannel", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.StopChannel", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopChannel", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "StopChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.StopChannelRequest", - "name": "req" + "name": "req", + "type": "livestreampb.StopChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopChannelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "StopChannel", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopChannel", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "StopChannel" }, + "description": "StopChannel stops the specified channel. Part of the video pipeline will be released\nwhen the StopChannel request is received by the server.", + "file": "Client/StopChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_StopChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream StopChannel Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_StopDistribution_sync", - "title": "livestream StopDistribution Sample", - "description": "StopDistribution stops the specified distribution.", - "file": "Client/StopDistribution/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopDistribution", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.StopDistribution", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopDistribution", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "StopDistribution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.StopDistributionRequest", - "name": "req" + "name": "req", + "type": "livestreampb.StopDistributionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopDistributionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "StopDistribution", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopDistribution", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "StopDistribution" }, + "description": "StopDistribution stops the specified distribution.", + "file": "Client/StopDistribution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_StopDistribution_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream StopDistribution Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_UpdateChannel_sync", - "title": "livestream UpdateChannel Sample", - "description": "UpdateChannel updates the specified channel.", - "file": "Client/UpdateChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateChannel", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.UpdateChannel", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateChannel", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "UpdateChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.UpdateChannelRequest", - "name": "req" + "name": "req", + "type": "livestreampb.UpdateChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateChannelOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "UpdateChannel", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateChannel", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "UpdateChannel" }, + "description": "UpdateChannel updates the specified channel.", + "file": "Client/UpdateChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_UpdateChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream UpdateChannel Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_UpdateDvrSession_sync", - "title": "livestream UpdateDvrSession Sample", - "description": "UpdateDvrSession updates the specified DVR session.", - "file": "Client/UpdateDvrSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDvrSession", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.UpdateDvrSession", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "UpdateDvrSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.UpdateDvrSessionRequest", - "name": "req" + "name": "req", + "type": "livestreampb.UpdateDvrSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDvrSessionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "UpdateDvrSession", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "UpdateDvrSession" }, + "description": "UpdateDvrSession updates the specified DVR session.", + "file": "Client/UpdateDvrSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_UpdateDvrSession_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream UpdateDvrSession Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_UpdateInput_sync", - "title": "livestream UpdateInput Sample", - "description": "UpdateInput updates the specified input.", - "file": "Client/UpdateInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateInput", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.UpdateInput", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateInput", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "UpdateInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.UpdateInputRequest", - "name": "req" + "name": "req", + "type": "livestreampb.UpdateInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateInputOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "UpdateInput", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateInput", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "UpdateInput" }, + "description": "UpdateInput updates the specified input.", + "file": "Client/UpdateInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_UpdateInput_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream UpdateInput Sample" }, { - "regionTag": "livestream_v1_generated_LivestreamService_UpdatePool_sync", - "title": "livestream UpdatePool Sample", - "description": "UpdatePool updates the specified pool.", - "file": "Client/UpdatePool/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePool", + "client": { + "fullName": "google.cloud.video.livestream.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.livestream.v1.Client.UpdatePool", + "method": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdatePool", + "service": { + "fullName": "google.cloud.video.livestream.v1.LivestreamService", + "shortName": "LivestreamService" + }, + "shortName": "UpdatePool" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "livestreampb.UpdatePoolRequest", - "name": "req" + "name": "req", + "type": "livestreampb.UpdatePoolRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePoolOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.livestream.v1.Client" - }, - "method": { - "shortName": "UpdatePool", - "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdatePool", - "service": { - "shortName": "LivestreamService", - "fullName": "google.cloud.video.livestream.v1.LivestreamService" - } - } + "shortName": "UpdatePool" }, + "description": "UpdatePool updates the specified pool.", + "file": "Client/UpdatePool/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "livestream_v1_generated_LivestreamService_UpdatePool_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "livestream UpdatePool Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json b/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json index 334c25df7a98..47b5077b5a3e 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json +++ b/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json @@ -1,1577 +1,1577 @@ { "clientLibrary": { - "name": "cloud.google.com/go/video/stitcher/apiv1", - "version": "1.27.1", - "language": "GO", "apis": [ { "id": "google.cloud.video.stitcher.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/video/stitcher/apiv1", + "version": "1.27.1" }, "snippets": [ { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CancelOperation_sync", - "title": "videostitcher CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "VideoStitcherClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "VideoStitcherClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CancelOperation Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateCdnKey_sync", - "title": "videostitcher CreateCdnKey Sample", - "description": "CreateCdnKey creates a new CDN key.", - "file": "VideoStitcherClient/CreateCdnKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCdnKey", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CreateCdnKey", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateCdnKey", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "CreateCdnKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.CreateCdnKeyRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.CreateCdnKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCdnKeyOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CreateCdnKey", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateCdnKey", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "CreateCdnKey" }, + "description": "CreateCdnKey creates a new CDN key.", + "file": "VideoStitcherClient/CreateCdnKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateCdnKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CreateCdnKey Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateLiveConfig_sync", - "title": "videostitcher CreateLiveConfig Sample", - "description": "CreateLiveConfig registers the live config with the provided unique ID in\nthe specified region.", - "file": "VideoStitcherClient/CreateLiveConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLiveConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CreateLiveConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateLiveConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "CreateLiveConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.CreateLiveConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.CreateLiveConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLiveConfigOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CreateLiveConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateLiveConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "CreateLiveConfig" }, + "description": "CreateLiveConfig registers the live config with the provided unique ID in\nthe specified region.", + "file": "VideoStitcherClient/CreateLiveConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateLiveConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CreateLiveConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateLiveSession_sync", - "title": "videostitcher CreateLiveSession Sample", - "description": "CreateLiveSession creates a new live session.", - "file": "VideoStitcherClient/CreateLiveSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLiveSession", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CreateLiveSession", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateLiveSession", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "CreateLiveSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.CreateLiveSessionRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.CreateLiveSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.LiveSession", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CreateLiveSession", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateLiveSession", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "CreateLiveSession" }, + "description": "CreateLiveSession creates a new live session.", + "file": "VideoStitcherClient/CreateLiveSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateLiveSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CreateLiveSession Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateSlate_sync", - "title": "videostitcher CreateSlate Sample", - "description": "CreateSlate creates a slate.", - "file": "VideoStitcherClient/CreateSlate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSlate", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CreateSlate", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateSlate", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "CreateSlate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.CreateSlateRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.CreateSlateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSlateOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CreateSlate", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateSlate", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "CreateSlate" }, + "description": "CreateSlate creates a slate.", + "file": "VideoStitcherClient/CreateSlate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateSlate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CreateSlate Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateVodConfig_sync", - "title": "videostitcher CreateVodConfig Sample", - "description": "CreateVodConfig registers the VOD config with the provided unique ID in\nthe specified region.", - "file": "VideoStitcherClient/CreateVodConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVodConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CreateVodConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateVodConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "CreateVodConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.CreateVodConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.CreateVodConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVodConfigOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CreateVodConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateVodConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "CreateVodConfig" }, + "description": "CreateVodConfig registers the VOD config with the provided unique ID in\nthe specified region.", + "file": "VideoStitcherClient/CreateVodConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateVodConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CreateVodConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateVodSession_sync", - "title": "videostitcher CreateVodSession Sample", - "description": "CreateVodSession creates a client side playback VOD session and returns the full\ntracking and playback metadata of the session.", - "file": "VideoStitcherClient/CreateVodSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVodSession", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.CreateVodSession", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateVodSession", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "CreateVodSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.CreateVodSessionRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.CreateVodSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.VodSession", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "CreateVodSession", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateVodSession", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "CreateVodSession" }, + "description": "CreateVodSession creates a client side playback VOD session and returns the full\ntracking and playback metadata of the session.", + "file": "VideoStitcherClient/CreateVodSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_CreateVodSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher CreateVodSession Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteCdnKey_sync", - "title": "videostitcher DeleteCdnKey Sample", - "description": "DeleteCdnKey deletes the specified CDN key.", - "file": "VideoStitcherClient/DeleteCdnKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCdnKey", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.DeleteCdnKey", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteCdnKey", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "DeleteCdnKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.DeleteCdnKeyRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.DeleteCdnKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCdnKeyOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "DeleteCdnKey", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteCdnKey", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "DeleteCdnKey" }, + "description": "DeleteCdnKey deletes the specified CDN key.", + "file": "VideoStitcherClient/DeleteCdnKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteCdnKey_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher DeleteCdnKey Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteLiveConfig_sync", - "title": "videostitcher DeleteLiveConfig Sample", - "description": "DeleteLiveConfig deletes the specified live config.", - "file": "VideoStitcherClient/DeleteLiveConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLiveConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.DeleteLiveConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteLiveConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "DeleteLiveConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.DeleteLiveConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.DeleteLiveConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLiveConfigOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "DeleteLiveConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteLiveConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "DeleteLiveConfig" }, + "description": "DeleteLiveConfig deletes the specified live config.", + "file": "VideoStitcherClient/DeleteLiveConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteLiveConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher DeleteLiveConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteOperation_sync", - "title": "videostitcher DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "VideoStitcherClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "VideoStitcherClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher DeleteOperation Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteSlate_sync", - "title": "videostitcher DeleteSlate Sample", - "description": "DeleteSlate deletes the specified slate.", - "file": "VideoStitcherClient/DeleteSlate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSlate", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.DeleteSlate", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteSlate", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "DeleteSlate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.DeleteSlateRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.DeleteSlateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSlateOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "DeleteSlate", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteSlate", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "DeleteSlate" }, + "description": "DeleteSlate deletes the specified slate.", + "file": "VideoStitcherClient/DeleteSlate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteSlate_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher DeleteSlate Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteVodConfig_sync", - "title": "videostitcher DeleteVodConfig Sample", - "description": "DeleteVodConfig deletes the specified VOD config.", - "file": "VideoStitcherClient/DeleteVodConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVodConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.DeleteVodConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteVodConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "DeleteVodConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.DeleteVodConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.DeleteVodConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVodConfigOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "DeleteVodConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteVodConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "DeleteVodConfig" }, + "description": "DeleteVodConfig deletes the specified VOD config.", + "file": "VideoStitcherClient/DeleteVodConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_DeleteVodConfig_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher DeleteVodConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetCdnKey_sync", - "title": "videostitcher GetCdnKey Sample", - "description": "GetCdnKey returns the specified CDN key.", - "file": "VideoStitcherClient/GetCdnKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCdnKey", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetCdnKey", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetCdnKey", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetCdnKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetCdnKeyRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetCdnKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.CdnKey", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetCdnKey", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetCdnKey", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetCdnKey" }, + "description": "GetCdnKey returns the specified CDN key.", + "file": "VideoStitcherClient/GetCdnKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetCdnKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetCdnKey Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetLiveAdTagDetail_sync", - "title": "videostitcher GetLiveAdTagDetail Sample", - "description": "GetLiveAdTagDetail returns the specified ad tag detail for the specified live session.", - "file": "VideoStitcherClient/GetLiveAdTagDetail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLiveAdTagDetail", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetLiveAdTagDetail", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveAdTagDetail", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetLiveAdTagDetail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetLiveAdTagDetailRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetLiveAdTagDetailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.LiveAdTagDetail", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetLiveAdTagDetail", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveAdTagDetail", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetLiveAdTagDetail" }, + "description": "GetLiveAdTagDetail returns the specified ad tag detail for the specified live session.", + "file": "VideoStitcherClient/GetLiveAdTagDetail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetLiveAdTagDetail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetLiveAdTagDetail Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetLiveConfig_sync", - "title": "videostitcher GetLiveConfig Sample", - "description": "GetLiveConfig returns the specified live config managed by the Video\nStitcher service.", - "file": "VideoStitcherClient/GetLiveConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLiveConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetLiveConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetLiveConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetLiveConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetLiveConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.LiveConfig", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetLiveConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetLiveConfig" }, + "description": "GetLiveConfig returns the specified live config managed by the Video\nStitcher service.", + "file": "VideoStitcherClient/GetLiveConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetLiveConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetLiveConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetLiveSession_sync", - "title": "videostitcher GetLiveSession Sample", - "description": "GetLiveSession returns the details for the specified live session.", - "file": "VideoStitcherClient/GetLiveSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLiveSession", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetLiveSession", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveSession", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetLiveSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetLiveSessionRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetLiveSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.LiveSession", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetLiveSession", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveSession", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetLiveSession" }, + "description": "GetLiveSession returns the details for the specified live session.", + "file": "VideoStitcherClient/GetLiveSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetLiveSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetLiveSession Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetOperation_sync", - "title": "videostitcher GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "VideoStitcherClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "VideoStitcherClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetOperation Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetSlate_sync", - "title": "videostitcher GetSlate Sample", - "description": "GetSlate returns the specified slate.", - "file": "VideoStitcherClient/GetSlate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSlate", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetSlate", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetSlate", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetSlate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetSlateRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetSlateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.Slate", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetSlate", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetSlate", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetSlate" }, + "description": "GetSlate returns the specified slate.", + "file": "VideoStitcherClient/GetSlate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetSlate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetSlate Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodAdTagDetail_sync", - "title": "videostitcher GetVodAdTagDetail Sample", - "description": "GetVodAdTagDetail returns the specified ad tag detail for the specified VOD session.", - "file": "VideoStitcherClient/GetVodAdTagDetail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVodAdTagDetail", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetVodAdTagDetail", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodAdTagDetail", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetVodAdTagDetail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetVodAdTagDetailRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetVodAdTagDetailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.VodAdTagDetail", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetVodAdTagDetail", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodAdTagDetail", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetVodAdTagDetail" }, + "description": "GetVodAdTagDetail returns the specified ad tag detail for the specified VOD session.", + "file": "VideoStitcherClient/GetVodAdTagDetail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodAdTagDetail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetVodAdTagDetail Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodConfig_sync", - "title": "videostitcher GetVodConfig Sample", - "description": "GetVodConfig returns the specified VOD config managed by the Video\nStitcher API service.", - "file": "VideoStitcherClient/GetVodConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVodConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetVodConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetVodConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetVodConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetVodConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.VodConfig", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetVodConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetVodConfig" }, + "description": "GetVodConfig returns the specified VOD config managed by the Video\nStitcher API service.", + "file": "VideoStitcherClient/GetVodConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetVodConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodSession_sync", - "title": "videostitcher GetVodSession Sample", - "description": "GetVodSession returns the full tracking, playback metadata, and relevant ad-ops\nlogs for the specified VOD session.", - "file": "VideoStitcherClient/GetVodSession/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVodSession", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetVodSession", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodSession", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetVodSession" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetVodSessionRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetVodSessionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.VodSession", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetVodSession", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodSession", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetVodSession" }, + "description": "GetVodSession returns the full tracking, playback metadata, and relevant ad-ops\nlogs for the specified VOD session.", + "file": "VideoStitcherClient/GetVodSession/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodSession_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetVodSession Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodStitchDetail_sync", - "title": "videostitcher GetVodStitchDetail Sample", - "description": "GetVodStitchDetail returns the specified stitching information for the specified VOD session.", - "file": "VideoStitcherClient/GetVodStitchDetail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVodStitchDetail", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.GetVodStitchDetail", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodStitchDetail", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "GetVodStitchDetail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.GetVodStitchDetailRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.GetVodStitchDetailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*stitcherpb.VodStitchDetail", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "GetVodStitchDetail", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetVodStitchDetail", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "GetVodStitchDetail" }, + "description": "GetVodStitchDetail returns the specified stitching information for the specified VOD session.", + "file": "VideoStitcherClient/GetVodStitchDetail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_GetVodStitchDetail_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher GetVodStitchDetail Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListCdnKeys_sync", - "title": "videostitcher ListCdnKeys Sample", - "description": "ListCdnKeys lists all CDN keys in the specified project and location.", - "file": "VideoStitcherClient/ListCdnKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCdnKeys", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListCdnKeys", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListCdnKeys", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListCdnKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListCdnKeysRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListCdnKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CdnKeyIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListCdnKeys", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListCdnKeys", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListCdnKeys" }, + "description": "ListCdnKeys lists all CDN keys in the specified project and location.", + "file": "VideoStitcherClient/ListCdnKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListCdnKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListCdnKeys Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListLiveAdTagDetails_sync", - "title": "videostitcher ListLiveAdTagDetails Sample", - "description": "ListLiveAdTagDetails return the list of ad tag details for the specified live session.", - "file": "VideoStitcherClient/ListLiveAdTagDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLiveAdTagDetails", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListLiveAdTagDetails", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListLiveAdTagDetails", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListLiveAdTagDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListLiveAdTagDetailsRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListLiveAdTagDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LiveAdTagDetailIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListLiveAdTagDetails", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListLiveAdTagDetails", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListLiveAdTagDetails" }, + "description": "ListLiveAdTagDetails return the list of ad tag details for the specified live session.", + "file": "VideoStitcherClient/ListLiveAdTagDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListLiveAdTagDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListLiveAdTagDetails Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListLiveConfigs_sync", - "title": "videostitcher ListLiveConfigs Sample", - "description": "ListLiveConfigs lists all live configs managed by the Video Stitcher that\nbelong to the specified project and region.", - "file": "VideoStitcherClient/ListLiveConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLiveConfigs", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListLiveConfigs", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListLiveConfigs", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListLiveConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListLiveConfigsRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListLiveConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LiveConfigIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListLiveConfigs", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListLiveConfigs", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListLiveConfigs" }, + "description": "ListLiveConfigs lists all live configs managed by the Video Stitcher that\nbelong to the specified project and region.", + "file": "VideoStitcherClient/ListLiveConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListLiveConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListLiveConfigs Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListOperations_sync", - "title": "videostitcher ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "VideoStitcherClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "VideoStitcherClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListOperations Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListSlates_sync", - "title": "videostitcher ListSlates Sample", - "description": "ListSlates lists all slates in the specified project and location.", - "file": "VideoStitcherClient/ListSlates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSlates", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListSlates", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListSlates", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListSlates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListSlatesRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListSlatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SlateIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListSlates", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListSlates", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListSlates" }, + "description": "ListSlates lists all slates in the specified project and location.", + "file": "VideoStitcherClient/ListSlates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListSlates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListSlates Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListVodAdTagDetails_sync", - "title": "videostitcher ListVodAdTagDetails Sample", - "description": "ListVodAdTagDetails return the list of ad tag details for the specified VOD session.", - "file": "VideoStitcherClient/ListVodAdTagDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVodAdTagDetails", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListVodAdTagDetails", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListVodAdTagDetails", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListVodAdTagDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListVodAdTagDetailsRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListVodAdTagDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VodAdTagDetailIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListVodAdTagDetails", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListVodAdTagDetails", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListVodAdTagDetails" }, + "description": "ListVodAdTagDetails return the list of ad tag details for the specified VOD session.", + "file": "VideoStitcherClient/ListVodAdTagDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListVodAdTagDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListVodAdTagDetails Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListVodConfigs_sync", - "title": "videostitcher ListVodConfigs Sample", - "description": "ListVodConfigs lists all VOD configs managed by the Video Stitcher API that\nbelong to the specified project and region.", - "file": "VideoStitcherClient/ListVodConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVodConfigs", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListVodConfigs", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListVodConfigs", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListVodConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListVodConfigsRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListVodConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VodConfigIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListVodConfigs", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListVodConfigs", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListVodConfigs" }, + "description": "ListVodConfigs lists all VOD configs managed by the Video Stitcher API that\nbelong to the specified project and region.", + "file": "VideoStitcherClient/ListVodConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListVodConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListVodConfigs Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListVodStitchDetails_sync", - "title": "videostitcher ListVodStitchDetails Sample", - "description": "ListVodStitchDetails returns a list of detailed stitching information of the specified VOD\nsession.", - "file": "VideoStitcherClient/ListVodStitchDetails/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVodStitchDetails", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.ListVodStitchDetails", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListVodStitchDetails", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "ListVodStitchDetails" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.ListVodStitchDetailsRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.ListVodStitchDetailsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "VodStitchDetailIterator", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "ListVodStitchDetails", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListVodStitchDetails", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "ListVodStitchDetails" }, + "description": "ListVodStitchDetails returns a list of detailed stitching information of the specified VOD\nsession.", + "file": "VideoStitcherClient/ListVodStitchDetails/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_ListVodStitchDetails_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher ListVodStitchDetails Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateCdnKey_sync", - "title": "videostitcher UpdateCdnKey Sample", - "description": "UpdateCdnKey updates the specified CDN key. Only update fields specified\nin the call method body.", - "file": "VideoStitcherClient/UpdateCdnKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCdnKey", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.UpdateCdnKey", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateCdnKey", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "UpdateCdnKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.UpdateCdnKeyRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.UpdateCdnKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateCdnKeyOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "UpdateCdnKey", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateCdnKey", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "UpdateCdnKey" }, + "description": "UpdateCdnKey updates the specified CDN key. Only update fields specified\nin the call method body.", + "file": "VideoStitcherClient/UpdateCdnKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateCdnKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher UpdateCdnKey Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateLiveConfig_sync", - "title": "videostitcher UpdateLiveConfig Sample", - "description": "UpdateLiveConfig updates the specified LiveConfig. Only update fields specified\nin the call method body.", - "file": "VideoStitcherClient/UpdateLiveConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLiveConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.UpdateLiveConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateLiveConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "UpdateLiveConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.UpdateLiveConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.UpdateLiveConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateLiveConfigOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "UpdateLiveConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateLiveConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "UpdateLiveConfig" }, + "description": "UpdateLiveConfig updates the specified LiveConfig. Only update fields specified\nin the call method body.", + "file": "VideoStitcherClient/UpdateLiveConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateLiveConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher UpdateLiveConfig Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateSlate_sync", - "title": "videostitcher UpdateSlate Sample", - "description": "UpdateSlate updates the specified slate.", - "file": "VideoStitcherClient/UpdateSlate/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSlate", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.UpdateSlate", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateSlate", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "UpdateSlate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.UpdateSlateRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.UpdateSlateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSlateOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "UpdateSlate", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateSlate", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "UpdateSlate" }, + "description": "UpdateSlate updates the specified slate.", + "file": "VideoStitcherClient/UpdateSlate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateSlate_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher UpdateSlate Sample" }, { - "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateVodConfig_sync", - "title": "videostitcher UpdateVodConfig Sample", - "description": "UpdateVodConfig updates the specified VOD config. Only update fields specified\nin the call method body.", - "file": "VideoStitcherClient/UpdateVodConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVodConfig", + "client": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient", + "shortName": "VideoStitcherClient" + }, "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient.UpdateVodConfig", + "method": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateVodConfig", + "service": { + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService", + "shortName": "VideoStitcherService" + }, + "shortName": "UpdateVodConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "stitcherpb.UpdateVodConfigRequest", - "name": "req" + "name": "req", + "type": "stitcherpb.UpdateVodConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVodConfigOperation", - "client": { - "shortName": "VideoStitcherClient", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherClient" - }, - "method": { - "shortName": "UpdateVodConfig", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.UpdateVodConfig", - "service": { - "shortName": "VideoStitcherService", - "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService" - } - } + "shortName": "UpdateVodConfig" }, + "description": "UpdateVodConfig updates the specified VOD config. Only update fields specified\nin the call method body.", + "file": "VideoStitcherClient/UpdateVodConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videostitcher_v1_generated_VideoStitcherService_UpdateVodConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videostitcher UpdateVodConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json b/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json index 692787872146..095bf0643e7d 100644 --- a/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json +++ b/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json @@ -1,381 +1,381 @@ { "clientLibrary": { - "name": "cloud.google.com/go/video/transcoder/apiv1", - "version": "1.27.1", - "language": "GO", "apis": [ { "id": "google.cloud.video.transcoder.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/video/transcoder/apiv1", + "version": "1.27.1" }, "snippets": [ { - "regionTag": "transcoder_v1_generated_TranscoderService_CreateJob_sync", - "title": "transcoder CreateJob Sample", - "description": "CreateJob creates a job in the specified region.", - "file": "Client/CreateJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJob", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.CreateJob", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJob", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "CreateJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.CreateJobRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.CreateJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*transcoderpb.Job", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJob", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "CreateJob" }, + "description": "CreateJob creates a job in the specified region.", + "file": "Client/CreateJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_CreateJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder CreateJob Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_CreateJobTemplate_sync", - "title": "transcoder CreateJobTemplate Sample", - "description": "CreateJobTemplate creates a job template in the specified region.", - "file": "Client/CreateJobTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateJobTemplate", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.CreateJobTemplate", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplate", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "CreateJobTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.CreateJobTemplateRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.CreateJobTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*transcoderpb.JobTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "CreateJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplate", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "CreateJobTemplate" }, + "description": "CreateJobTemplate creates a job template in the specified region.", + "file": "Client/CreateJobTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_CreateJobTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder CreateJobTemplate Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJob_sync", - "title": "transcoder DeleteJob Sample", - "description": "DeleteJob deletes a job.", - "file": "Client/DeleteJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJob", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.DeleteJob", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJob", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "DeleteJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.DeleteJobRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.DeleteJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJob", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "DeleteJob" }, + "description": "DeleteJob deletes a job.", + "file": "Client/DeleteJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJob_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder DeleteJob Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJobTemplate_sync", - "title": "transcoder DeleteJobTemplate Sample", - "description": "DeleteJobTemplate deletes a job template.", - "file": "Client/DeleteJobTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteJobTemplate", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.DeleteJobTemplate", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplate", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "DeleteJobTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.DeleteJobTemplateRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.DeleteJobTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "DeleteJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplate", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "DeleteJobTemplate" }, + "description": "DeleteJobTemplate deletes a job template.", + "file": "Client/DeleteJobTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJobTemplate_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder DeleteJobTemplate Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_GetJob_sync", - "title": "transcoder GetJob Sample", - "description": "GetJob returns the job data.", - "file": "Client/GetJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJob", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.GetJob", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJob", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "GetJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.GetJobRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.GetJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*transcoderpb.Job", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJob", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "GetJob" }, + "description": "GetJob returns the job data.", + "file": "Client/GetJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_GetJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder GetJob Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_GetJobTemplate_sync", - "title": "transcoder GetJobTemplate Sample", - "description": "GetJobTemplate returns the job template data.", - "file": "Client/GetJobTemplate/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetJobTemplate", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.GetJobTemplate", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplate", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "GetJobTemplate" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.GetJobTemplateRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.GetJobTemplateRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*transcoderpb.JobTemplate", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "GetJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplate", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "GetJobTemplate" }, + "description": "GetJobTemplate returns the job template data.", + "file": "Client/GetJobTemplate/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_GetJobTemplate_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder GetJobTemplate Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_ListJobTemplates_sync", - "title": "transcoder ListJobTemplates Sample", - "description": "ListJobTemplates lists job templates in the specified region.", - "file": "Client/ListJobTemplates/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobTemplates", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.ListJobTemplates", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplates", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "ListJobTemplates" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.ListJobTemplatesRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.ListJobTemplatesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobTemplateIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "ListJobTemplates", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplates", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "ListJobTemplates" }, + "description": "ListJobTemplates lists job templates in the specified region.", + "file": "Client/ListJobTemplates/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_ListJobTemplates_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder ListJobTemplates Sample" }, { - "regionTag": "transcoder_v1_generated_TranscoderService_ListJobs_sync", - "title": "transcoder ListJobs Sample", - "description": "ListJobs lists jobs in the specified region.", - "file": "Client/ListJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListJobs", + "client": { + "fullName": "google.cloud.video.transcoder.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.video.transcoder.v1.Client.ListJobs", + "method": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobs", + "service": { + "fullName": "google.cloud.video.transcoder.v1.TranscoderService", + "shortName": "TranscoderService" + }, + "shortName": "ListJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "transcoderpb.ListJobsRequest", - "name": "req" + "name": "req", + "type": "transcoderpb.ListJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "JobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.video.transcoder.v1.Client" - }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobs", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } + "shortName": "ListJobs" }, + "description": "ListJobs lists jobs in the specified region.", + "file": "Client/ListJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "transcoder_v1_generated_TranscoderService_ListJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "transcoder ListJobs Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json index 0c1c18fb2a2d..bdcc5a2ef46a 100644 --- a/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json +++ b/internal/generated/snippets/videointelligence/apiv1/snippet_metadata.google.cloud.videointelligence.v1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/videointelligence/apiv1", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.videointelligence.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/videointelligence/apiv1", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_sync", - "title": "videointelligence AnnotateVideo Sample", - "description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", - "file": "Client/AnnotateVideo/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateVideo", + "client": { + "fullName": "google.cloud.videointelligence.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.videointelligence.v1.Client.AnnotateVideo", + "method": { + "fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo", + "service": { + "fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService", + "shortName": "VideoIntelligenceService" + }, + "shortName": "AnnotateVideo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "videointelligencepb.AnnotateVideoRequest", - "name": "req" + "name": "req", + "type": "videointelligencepb.AnnotateVideoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotateVideoOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.videointelligence.v1.Client" - }, - "method": { - "shortName": "AnnotateVideo", - "fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo", - "service": { - "shortName": "VideoIntelligenceService", - "fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService" - } - } + "shortName": "AnnotateVideo" }, + "description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", + "file": "Client/AnnotateVideo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videointelligence AnnotateVideo Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json index 6453fa9a98f6..57e23827589e 100644 --- a/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json +++ b/internal/generated/snippets/videointelligence/apiv1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/videointelligence/apiv1beta2", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.videointelligence.v1beta2", "version": "v1beta2" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/videointelligence/apiv1beta2", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_sync", - "title": "videointelligence AnnotateVideo Sample", - "description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", - "file": "Client/AnnotateVideo/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateVideo", + "client": { + "fullName": "google.cloud.videointelligence.v1beta2.Client", + "shortName": "Client" + }, "fullName": "google.cloud.videointelligence.v1beta2.Client.AnnotateVideo", + "method": { + "fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo", + "service": { + "fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService", + "shortName": "VideoIntelligenceService" + }, + "shortName": "AnnotateVideo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "videointelligencepb.AnnotateVideoRequest", - "name": "req" + "name": "req", + "type": "videointelligencepb.AnnotateVideoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotateVideoOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.videointelligence.v1beta2.Client" - }, - "method": { - "shortName": "AnnotateVideo", - "fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo", - "service": { - "shortName": "VideoIntelligenceService", - "fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService" - } - } + "shortName": "AnnotateVideo" }, + "description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", + "file": "Client/AnnotateVideo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videointelligence AnnotateVideo Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json index 8fbb5ab82be2..89e3595e3262 100644 --- a/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json +++ b/internal/generated/snippets/videointelligence/apiv1p3beta1/snippet_metadata.google.cloud.videointelligence.v1p3beta1.json @@ -1,103 +1,103 @@ { "clientLibrary": { - "name": "cloud.google.com/go/videointelligence/apiv1p3beta1", - "version": "1.12.7", - "language": "GO", "apis": [ { "id": "google.cloud.videointelligence.v1p3beta1", "version": "v1p3beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/videointelligence/apiv1p3beta1", + "version": "1.12.7" }, "snippets": [ { - "regionTag": "videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_sync", - "title": "videointelligence StreamingAnnotateVideo Sample", - "description": "StreamingAnnotateVideo performs video annotation with bidirectional streaming: emitting results\nwhile sending video/audio bytes.\nThis method is only available via the gRPC API (not REST).", - "file": "StreamingVideoIntelligenceClient/StreamingAnnotateVideo/main.go", - "language": "GO", "clientMethod": { - "shortName": "StreamingAnnotateVideo", + "client": { + "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceClient", + "shortName": "StreamingVideoIntelligenceClient" + }, "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceClient.StreamingAnnotateVideo", + "method": { + "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService.StreamingAnnotateVideo", + "service": { + "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService", + "shortName": "StreamingVideoIntelligenceService" + }, + "shortName": "StreamingAnnotateVideo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "videointelligencepb.StreamingVideoIntelligenceService_StreamingAnnotateVideoClient", - "client": { - "shortName": "StreamingVideoIntelligenceClient", - "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceClient" - }, - "method": { - "shortName": "StreamingAnnotateVideo", - "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService.StreamingAnnotateVideo", - "service": { - "shortName": "StreamingVideoIntelligenceService", - "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService" - } - } + "shortName": "StreamingAnnotateVideo" }, + "description": "StreamingAnnotateVideo performs video annotation with bidirectional streaming: emitting results\nwhile sending video/audio bytes.\nThis method is only available via the gRPC API (not REST).", + "file": "StreamingVideoIntelligenceClient/StreamingAnnotateVideo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "videointelligence StreamingAnnotateVideo Sample" }, { - "regionTag": "videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_sync", - "title": "videointelligence AnnotateVideo Sample", - "description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", - "file": "Client/AnnotateVideo/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnnotateVideo", + "client": { + "fullName": "google.cloud.videointelligence.v1p3beta1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.videointelligence.v1p3beta1.Client.AnnotateVideo", + "method": { + "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService.AnnotateVideo", + "service": { + "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService", + "shortName": "VideoIntelligenceService" + }, + "shortName": "AnnotateVideo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "videointelligencepb.AnnotateVideoRequest", - "name": "req" + "name": "req", + "type": "videointelligencepb.AnnotateVideoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotateVideoOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.videointelligence.v1p3beta1.Client" - }, - "method": { - "shortName": "AnnotateVideo", - "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService.AnnotateVideo", - "service": { - "shortName": "VideoIntelligenceService", - "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService" - } - } + "shortName": "AnnotateVideo" }, + "description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", + "file": "Client/AnnotateVideo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "videointelligence AnnotateVideo Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json b/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json index 5ea5e1a0dcf1..366edaecaacb 100644 --- a/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json +++ b/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json @@ -1,1160 +1,1160 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vision/v2/apiv1", - "version": "2.9.6", - "language": "GO", "apis": [ { "id": "google.cloud.vision.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vision/v2/apiv1", + "version": "2.9.6" }, "snippets": [ { - "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync", - "title": "vision AsyncBatchAnnotateFiles Sample", - "description": "AsyncBatchAnnotateFiles run asynchronous image detection and annotation for a list of generic\nfiles, such as PDF files, which may contain multiple pages and multiple\nimages per page. Progress and results can be retrieved through the\n`google.longrunning.Operations` interface.\n`Operation.metadata` contains `OperationMetadata` (metadata).\n`Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", - "file": "ImageAnnotatorClient/AsyncBatchAnnotateFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "AsyncBatchAnnotateFiles", + "client": { + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient", + "shortName": "ImageAnnotatorClient" + }, "fullName": "google.cloud.vision.v1.ImageAnnotatorClient.AsyncBatchAnnotateFiles", + "method": { + "fullName": "google.cloud.vision.v1.ImageAnnotator.AsyncBatchAnnotateFiles", + "service": { + "fullName": "google.cloud.vision.v1.ImageAnnotator", + "shortName": "ImageAnnotator" + }, + "shortName": "AsyncBatchAnnotateFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.AsyncBatchAnnotateFilesRequest", - "name": "req" + "name": "req", + "type": "visionpb.AsyncBatchAnnotateFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AsyncBatchAnnotateFilesOperation", - "client": { - "shortName": "ImageAnnotatorClient", - "fullName": "google.cloud.vision.v1.ImageAnnotatorClient" - }, - "method": { - "shortName": "AsyncBatchAnnotateFiles", - "fullName": "google.cloud.vision.v1.ImageAnnotator.AsyncBatchAnnotateFiles", - "service": { - "shortName": "ImageAnnotator", - "fullName": "google.cloud.vision.v1.ImageAnnotator" - } - } + "shortName": "AsyncBatchAnnotateFiles" }, + "description": "AsyncBatchAnnotateFiles run asynchronous image detection and annotation for a list of generic\nfiles, such as PDF files, which may contain multiple pages and multiple\nimages per page. Progress and results can be retrieved through the\n`google.longrunning.Operations` interface.\n`Operation.metadata` contains `OperationMetadata` (metadata).\n`Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).", + "file": "ImageAnnotatorClient/AsyncBatchAnnotateFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision AsyncBatchAnnotateFiles Sample" }, { - "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateImages_sync", - "title": "vision AsyncBatchAnnotateImages Sample", - "description": "AsyncBatchAnnotateImages run asynchronous image detection and annotation for a list of images.\n\nProgress and results can be retrieved through the\n`google.longrunning.Operations` interface.\n`Operation.metadata` contains `OperationMetadata` (metadata).\n`Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).\n\nThis service will write image annotation outputs to json files in customer\nGCS bucket, each json file containing BatchAnnotateImagesResponse proto.", - "file": "ImageAnnotatorClient/AsyncBatchAnnotateImages/main.go", - "language": "GO", "clientMethod": { - "shortName": "AsyncBatchAnnotateImages", + "client": { + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient", + "shortName": "ImageAnnotatorClient" + }, "fullName": "google.cloud.vision.v1.ImageAnnotatorClient.AsyncBatchAnnotateImages", + "method": { + "fullName": "google.cloud.vision.v1.ImageAnnotator.AsyncBatchAnnotateImages", + "service": { + "fullName": "google.cloud.vision.v1.ImageAnnotator", + "shortName": "ImageAnnotator" + }, + "shortName": "AsyncBatchAnnotateImages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.AsyncBatchAnnotateImagesRequest", - "name": "req" + "name": "req", + "type": "visionpb.AsyncBatchAnnotateImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AsyncBatchAnnotateImagesOperation", - "client": { - "shortName": "ImageAnnotatorClient", - "fullName": "google.cloud.vision.v1.ImageAnnotatorClient" - }, - "method": { - "shortName": "AsyncBatchAnnotateImages", - "fullName": "google.cloud.vision.v1.ImageAnnotator.AsyncBatchAnnotateImages", - "service": { - "shortName": "ImageAnnotator", - "fullName": "google.cloud.vision.v1.ImageAnnotator" - } - } + "shortName": "AsyncBatchAnnotateImages" }, + "description": "AsyncBatchAnnotateImages run asynchronous image detection and annotation for a list of images.\n\nProgress and results can be retrieved through the\n`google.longrunning.Operations` interface.\n`Operation.metadata` contains `OperationMetadata` (metadata).\n`Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).\n\nThis service will write image annotation outputs to json files in customer\nGCS bucket, each json file containing BatchAnnotateImagesResponse proto.", + "file": "ImageAnnotatorClient/AsyncBatchAnnotateImages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateImages_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision AsyncBatchAnnotateImages Sample" }, { - "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateFiles_sync", - "title": "vision BatchAnnotateFiles Sample", - "description": "BatchAnnotateFiles service that performs image detection and annotation for a batch of files.\nNow only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported.\n\nThis service will extract at most 5 (customers can specify which 5 in\nAnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each\nfile provided and perform detection and annotation for each image\nextracted.", - "file": "ImageAnnotatorClient/BatchAnnotateFiles/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchAnnotateFiles", + "client": { + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient", + "shortName": "ImageAnnotatorClient" + }, "fullName": "google.cloud.vision.v1.ImageAnnotatorClient.BatchAnnotateFiles", + "method": { + "fullName": "google.cloud.vision.v1.ImageAnnotator.BatchAnnotateFiles", + "service": { + "fullName": "google.cloud.vision.v1.ImageAnnotator", + "shortName": "ImageAnnotator" + }, + "shortName": "BatchAnnotateFiles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.BatchAnnotateFilesRequest", - "name": "req" + "name": "req", + "type": "visionpb.BatchAnnotateFilesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.BatchAnnotateFilesResponse", - "client": { - "shortName": "ImageAnnotatorClient", - "fullName": "google.cloud.vision.v1.ImageAnnotatorClient" - }, - "method": { - "shortName": "BatchAnnotateFiles", - "fullName": "google.cloud.vision.v1.ImageAnnotator.BatchAnnotateFiles", - "service": { - "shortName": "ImageAnnotator", - "fullName": "google.cloud.vision.v1.ImageAnnotator" - } - } + "shortName": "BatchAnnotateFiles" }, + "description": "BatchAnnotateFiles service that performs image detection and annotation for a batch of files.\nNow only \"application/pdf\", \"image/tiff\" and \"image/gif\" are supported.\n\nThis service will extract at most 5 (customers can specify which 5 in\nAnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each\nfile provided and perform detection and annotation for each image\nextracted.", + "file": "ImageAnnotatorClient/BatchAnnotateFiles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateFiles_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision BatchAnnotateFiles Sample" }, { - "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateImages_sync", - "title": "vision BatchAnnotateImages Sample", - "description": "BatchAnnotateImages run image detection and annotation for a batch of images.", - "file": "ImageAnnotatorClient/BatchAnnotateImages/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchAnnotateImages", + "client": { + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient", + "shortName": "ImageAnnotatorClient" + }, "fullName": "google.cloud.vision.v1.ImageAnnotatorClient.BatchAnnotateImages", + "method": { + "fullName": "google.cloud.vision.v1.ImageAnnotator.BatchAnnotateImages", + "service": { + "fullName": "google.cloud.vision.v1.ImageAnnotator", + "shortName": "ImageAnnotator" + }, + "shortName": "BatchAnnotateImages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.BatchAnnotateImagesRequest", - "name": "req" + "name": "req", + "type": "visionpb.BatchAnnotateImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.BatchAnnotateImagesResponse", - "client": { - "shortName": "ImageAnnotatorClient", - "fullName": "google.cloud.vision.v1.ImageAnnotatorClient" - }, - "method": { - "shortName": "BatchAnnotateImages", - "fullName": "google.cloud.vision.v1.ImageAnnotator.BatchAnnotateImages", - "service": { - "shortName": "ImageAnnotator", - "fullName": "google.cloud.vision.v1.ImageAnnotator" - } - } + "shortName": "BatchAnnotateImages" }, + "description": "BatchAnnotateImages run image detection and annotation for a batch of images.", + "file": "ImageAnnotatorClient/BatchAnnotateImages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision BatchAnnotateImages Sample" }, { - "regionTag": "vision_v1_generated_ImageAnnotator_GetOperation_sync", - "title": "vision GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ImageAnnotatorClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient", + "shortName": "ImageAnnotatorClient" + }, "fullName": "google.cloud.vision.v1.ImageAnnotatorClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ImageAnnotatorClient", - "fullName": "google.cloud.vision.v1.ImageAnnotatorClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ImageAnnotatorClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ImageAnnotator_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision GetOperation Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_AddProductToProductSet_sync", - "title": "vision AddProductToProductSet Sample", - "description": "AddProductToProductSet adds a Product to the specified ProductSet. If the Product is already\npresent, no change is made.\n\nOne Product can be added to at most 100 ProductSets.\n\nPossible errors: \n\n* Returns NOT_FOUND if the Product or the ProductSet doesn't exist.", - "file": "ProductSearchClient/AddProductToProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddProductToProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.AddProductToProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.AddProductToProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "AddProductToProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.AddProductToProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.AddProductToProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "AddProductToProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.AddProductToProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "AddProductToProductSet" }, + "description": "AddProductToProductSet adds a Product to the specified ProductSet. If the Product is already\npresent, no change is made.\n\nOne Product can be added to at most 100 ProductSets.\n\nPossible errors: \n\n* Returns NOT_FOUND if the Product or the ProductSet doesn't exist.", + "file": "ProductSearchClient/AddProductToProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_AddProductToProductSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision AddProductToProductSet Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_CreateProduct_sync", - "title": "vision CreateProduct Sample", - "description": "CreateProduct creates and returns a new product resource.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if display_name is missing or longer than 4096\ncharacters.\n* Returns INVALID_ARGUMENT if description is longer than 4096 characters.\n* Returns INVALID_ARGUMENT if product_category is missing or invalid.", - "file": "ProductSearchClient/CreateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProduct", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.CreateProduct", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.CreateProduct", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "CreateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.CreateProductRequest", - "name": "req" + "name": "req", + "type": "visionpb.CreateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.Product", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "CreateProduct", - "fullName": "google.cloud.vision.v1.ProductSearch.CreateProduct", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "CreateProduct" }, + "description": "CreateProduct creates and returns a new product resource.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if display_name is missing or longer than 4096\ncharacters.\n* Returns INVALID_ARGUMENT if description is longer than 4096 characters.\n* Returns INVALID_ARGUMENT if product_category is missing or invalid.", + "file": "ProductSearchClient/CreateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_CreateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision CreateProduct Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_CreateProductSet_sync", - "title": "vision CreateProductSet Sample", - "description": "CreateProductSet creates and returns a new ProductSet resource.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if display_name is missing, or is longer than\n4096 characters.", - "file": "ProductSearchClient/CreateProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.CreateProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.CreateProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "CreateProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.CreateProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.CreateProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.ProductSet", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "CreateProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.CreateProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "CreateProductSet" }, + "description": "CreateProductSet creates and returns a new ProductSet resource.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if display_name is missing, or is longer than\n4096 characters.", + "file": "ProductSearchClient/CreateProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_CreateProductSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision CreateProductSet Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_CreateReferenceImage_sync", - "title": "vision CreateReferenceImage Sample", - "description": "CreateReferenceImage creates and returns a new ReferenceImage resource.\n\nThe `bounding_poly` field is optional. If `bounding_poly` is not specified,\nthe system will try to detect regions of interest in the image that are\ncompatible with the product_category on the parent product. If it is\nspecified, detection is ALWAYS skipped. The system converts polygons into\nnon-rotated rectangles.\n\nNote that the pipeline will resize the image if the image resolution is too\nlarge to process (above 50MP).\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096\ncharacters.\n* Returns INVALID_ARGUMENT if the product does not exist.\n* Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing\ncompatible with the parent product's product_category is detected.\n* Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.", - "file": "ProductSearchClient/CreateReferenceImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateReferenceImage", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.CreateReferenceImage", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.CreateReferenceImage", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "CreateReferenceImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.CreateReferenceImageRequest", - "name": "req" + "name": "req", + "type": "visionpb.CreateReferenceImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.ReferenceImage", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "CreateReferenceImage", - "fullName": "google.cloud.vision.v1.ProductSearch.CreateReferenceImage", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "CreateReferenceImage" }, + "description": "CreateReferenceImage creates and returns a new ReferenceImage resource.\n\nThe `bounding_poly` field is optional. If `bounding_poly` is not specified,\nthe system will try to detect regions of interest in the image that are\ncompatible with the product_category on the parent product. If it is\nspecified, detection is ALWAYS skipped. The system converts polygons into\nnon-rotated rectangles.\n\nNote that the pipeline will resize the image if the image resolution is too\nlarge to process (above 50MP).\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096\ncharacters.\n* Returns INVALID_ARGUMENT if the product does not exist.\n* Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing\ncompatible with the parent product's product_category is detected.\n* Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons.", + "file": "ProductSearchClient/CreateReferenceImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_CreateReferenceImage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision CreateReferenceImage Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_DeleteProduct_sync", - "title": "vision DeleteProduct Sample", - "description": "DeleteProduct permanently deletes a product and its reference images.\n\nMetadata of the product and all its images will be deleted right away, but\nsearch queries against ProductSets containing the product may still work\nuntil all related caches are refreshed.", - "file": "ProductSearchClient/DeleteProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProduct", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.DeleteProduct", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.DeleteProduct", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "DeleteProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.DeleteProductRequest", - "name": "req" + "name": "req", + "type": "visionpb.DeleteProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "DeleteProduct", - "fullName": "google.cloud.vision.v1.ProductSearch.DeleteProduct", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "DeleteProduct" }, + "description": "DeleteProduct permanently deletes a product and its reference images.\n\nMetadata of the product and all its images will be deleted right away, but\nsearch queries against ProductSets containing the product may still work\nuntil all related caches are refreshed.", + "file": "ProductSearchClient/DeleteProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_DeleteProduct_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision DeleteProduct Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_DeleteProductSet_sync", - "title": "vision DeleteProductSet Sample", - "description": "DeleteProductSet permanently deletes a ProductSet. Products and ReferenceImages in the\nProductSet are not deleted.\n\nThe actual image files are not deleted from Google Cloud Storage.", - "file": "ProductSearchClient/DeleteProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.DeleteProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.DeleteProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "DeleteProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.DeleteProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.DeleteProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "DeleteProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.DeleteProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "DeleteProductSet" }, + "description": "DeleteProductSet permanently deletes a ProductSet. Products and ReferenceImages in the\nProductSet are not deleted.\n\nThe actual image files are not deleted from Google Cloud Storage.", + "file": "ProductSearchClient/DeleteProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_DeleteProductSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision DeleteProductSet Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_DeleteReferenceImage_sync", - "title": "vision DeleteReferenceImage Sample", - "description": "DeleteReferenceImage permanently deletes a reference image.\n\nThe image metadata will be deleted right away, but search queries\nagainst ProductSets containing the image may still work until all related\ncaches are refreshed.\n\nThe actual image files are not deleted from Google Cloud Storage.", - "file": "ProductSearchClient/DeleteReferenceImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteReferenceImage", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.DeleteReferenceImage", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.DeleteReferenceImage", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "DeleteReferenceImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.DeleteReferenceImageRequest", - "name": "req" + "name": "req", + "type": "visionpb.DeleteReferenceImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "DeleteReferenceImage", - "fullName": "google.cloud.vision.v1.ProductSearch.DeleteReferenceImage", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "DeleteReferenceImage" }, + "description": "DeleteReferenceImage permanently deletes a reference image.\n\nThe image metadata will be deleted right away, but search queries\nagainst ProductSets containing the image may still work until all related\ncaches are refreshed.\n\nThe actual image files are not deleted from Google Cloud Storage.", + "file": "ProductSearchClient/DeleteReferenceImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_DeleteReferenceImage_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision DeleteReferenceImage Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_GetOperation_sync", - "title": "vision GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "ProductSearchClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "ProductSearchClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision GetOperation Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_GetProduct_sync", - "title": "vision GetProduct Sample", - "description": "GetProduct gets information associated with a Product.\n\nPossible errors: \n\n* Returns NOT_FOUND if the Product does not exist.", - "file": "ProductSearchClient/GetProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProduct", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.GetProduct", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.GetProduct", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "GetProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.GetProductRequest", - "name": "req" + "name": "req", + "type": "visionpb.GetProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.Product", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "GetProduct", - "fullName": "google.cloud.vision.v1.ProductSearch.GetProduct", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "GetProduct" }, + "description": "GetProduct gets information associated with a Product.\n\nPossible errors: \n\n* Returns NOT_FOUND if the Product does not exist.", + "file": "ProductSearchClient/GetProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_GetProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision GetProduct Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_GetProductSet_sync", - "title": "vision GetProductSet Sample", - "description": "GetProductSet gets information associated with a ProductSet.\n\nPossible errors: \n\n* Returns NOT_FOUND if the ProductSet does not exist.", - "file": "ProductSearchClient/GetProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.GetProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.GetProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "GetProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.GetProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.GetProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.ProductSet", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "GetProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.GetProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "GetProductSet" }, + "description": "GetProductSet gets information associated with a ProductSet.\n\nPossible errors: \n\n* Returns NOT_FOUND if the ProductSet does not exist.", + "file": "ProductSearchClient/GetProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_GetProductSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision GetProductSet Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_GetReferenceImage_sync", - "title": "vision GetReferenceImage Sample", - "description": "GetReferenceImage gets information associated with a ReferenceImage.\n\nPossible errors: \n\n* Returns NOT_FOUND if the specified image does not exist.", - "file": "ProductSearchClient/GetReferenceImage/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReferenceImage", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.GetReferenceImage", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.GetReferenceImage", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "GetReferenceImage" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.GetReferenceImageRequest", - "name": "req" + "name": "req", + "type": "visionpb.GetReferenceImageRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.ReferenceImage", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "GetReferenceImage", - "fullName": "google.cloud.vision.v1.ProductSearch.GetReferenceImage", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "GetReferenceImage" }, + "description": "GetReferenceImage gets information associated with a ReferenceImage.\n\nPossible errors: \n\n* Returns NOT_FOUND if the specified image does not exist.", + "file": "ProductSearchClient/GetReferenceImage/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_GetReferenceImage_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision GetReferenceImage Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_ImportProductSets_sync", - "title": "vision ImportProductSets Sample", - "description": "ImportProductSets asynchronous API that imports a list of reference images to specified\nproduct sets based on a list of image information.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be\nused to keep track of the progress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)\n`Operation.response` contains `ImportProductSetsResponse`. (results)\n\nThe input source of this method is a csv file on Google Cloud Storage.\nFor the format of the csv file please see\n[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].", - "file": "ProductSearchClient/ImportProductSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportProductSets", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.ImportProductSets", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.ImportProductSets", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "ImportProductSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.ImportProductSetsRequest", - "name": "req" + "name": "req", + "type": "visionpb.ImportProductSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportProductSetsOperation", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "ImportProductSets", - "fullName": "google.cloud.vision.v1.ProductSearch.ImportProductSets", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "ImportProductSets" }, + "description": "ImportProductSets asynchronous API that imports a list of reference images to specified\nproduct sets based on a list of image information.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be\nused to keep track of the progress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)\n`Operation.response` contains `ImportProductSetsResponse`. (results)\n\nThe input source of this method is a csv file on Google Cloud Storage.\nFor the format of the csv file please see\n[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].", + "file": "ProductSearchClient/ImportProductSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_ImportProductSets_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision ImportProductSets Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_ListProductSets_sync", - "title": "vision ListProductSets Sample", - "description": "ListProductSets lists ProductSets in an unspecified order.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if page_size is greater than 100, or less\nthan 1.", - "file": "ProductSearchClient/ListProductSets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProductSets", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.ListProductSets", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.ListProductSets", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "ListProductSets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.ListProductSetsRequest", - "name": "req" + "name": "req", + "type": "visionpb.ListProductSetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductSetIterator", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "ListProductSets", - "fullName": "google.cloud.vision.v1.ProductSearch.ListProductSets", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "ListProductSets" }, + "description": "ListProductSets lists ProductSets in an unspecified order.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if page_size is greater than 100, or less\nthan 1.", + "file": "ProductSearchClient/ListProductSets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_ListProductSets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision ListProductSets Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_ListProducts_sync", - "title": "vision ListProducts Sample", - "description": "ListProducts lists products in an unspecified order.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.", - "file": "ProductSearchClient/ListProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProducts", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.ListProducts", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.ListProducts", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "ListProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.ListProductsRequest", - "name": "req" + "name": "req", + "type": "visionpb.ListProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "ListProducts", - "fullName": "google.cloud.vision.v1.ProductSearch.ListProducts", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "ListProducts" }, + "description": "ListProducts lists products in an unspecified order.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.", + "file": "ProductSearchClient/ListProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_ListProducts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision ListProducts Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_ListProductsInProductSet_sync", - "title": "vision ListProductsInProductSet Sample", - "description": "ListProductsInProductSet lists the Products in a ProductSet, in an unspecified order. If the\nProductSet does not exist, the products field of the response will be\nempty.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.", - "file": "ProductSearchClient/ListProductsInProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProductsInProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.ListProductsInProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.ListProductsInProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "ListProductsInProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.ListProductsInProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.ListProductsInProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProductIterator", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "ListProductsInProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.ListProductsInProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "ListProductsInProductSet" }, + "description": "ListProductsInProductSet lists the Products in a ProductSet, in an unspecified order. If the\nProductSet does not exist, the products field of the response will be\nempty.\n\nPossible errors: \n\n* Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1.", + "file": "ProductSearchClient/ListProductsInProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_ListProductsInProductSet_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision ListProductsInProductSet Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_ListReferenceImages_sync", - "title": "vision ListReferenceImages Sample", - "description": "ListReferenceImages lists reference images.\n\nPossible errors: \n\n* Returns NOT_FOUND if the parent product does not exist.\n* Returns INVALID_ARGUMENT if the page_size is greater than 100, or less\nthan 1.", - "file": "ProductSearchClient/ListReferenceImages/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReferenceImages", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.ListReferenceImages", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.ListReferenceImages", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "ListReferenceImages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.ListReferenceImagesRequest", - "name": "req" + "name": "req", + "type": "visionpb.ListReferenceImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReferenceImageIterator", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "ListReferenceImages", - "fullName": "google.cloud.vision.v1.ProductSearch.ListReferenceImages", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "ListReferenceImages" }, + "description": "ListReferenceImages lists reference images.\n\nPossible errors: \n\n* Returns NOT_FOUND if the parent product does not exist.\n* Returns INVALID_ARGUMENT if the page_size is greater than 100, or less\nthan 1.", + "file": "ProductSearchClient/ListReferenceImages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_ListReferenceImages_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision ListReferenceImages Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_PurgeProducts_sync", - "title": "vision PurgeProducts Sample", - "description": "PurgeProducts asynchronous API to delete all Products in a ProductSet or all Products\nthat are in no ProductSet.\n\nIf a Product is a member of the specified ProductSet in addition to other\nProductSets, the Product will still be deleted.\n\nIt is recommended to not delete the specified ProductSet until after this\noperation has completed. It is also recommended to not add any of the\nProducts involved in the batch delete to a new ProductSet while this\noperation is running because those Products may still end up deleted.\n\nIt's not possible to undo the PurgeProducts operation. Therefore, it is\nrecommended to keep the csv files used in ImportProductSets (if that was\nhow you originally built the Product Set) before starting PurgeProducts, in\ncase you need to re-import the data after deletion.\n\nIf the plan is to purge all of the Products from a ProductSet and then\nre-use the empty ProductSet to re-import new Products into the empty\nProductSet, you must wait until the PurgeProducts operation has finished\nfor that ProductSet.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be\nused to keep track of the progress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)", - "file": "ProductSearchClient/PurgeProducts/main.go", - "language": "GO", "clientMethod": { - "shortName": "PurgeProducts", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.PurgeProducts", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.PurgeProducts", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "PurgeProducts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.PurgeProductsRequest", - "name": "req" + "name": "req", + "type": "visionpb.PurgeProductsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PurgeProductsOperation", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "PurgeProducts", - "fullName": "google.cloud.vision.v1.ProductSearch.PurgeProducts", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "PurgeProducts" }, + "description": "PurgeProducts asynchronous API to delete all Products in a ProductSet or all Products\nthat are in no ProductSet.\n\nIf a Product is a member of the specified ProductSet in addition to other\nProductSets, the Product will still be deleted.\n\nIt is recommended to not delete the specified ProductSet until after this\noperation has completed. It is also recommended to not add any of the\nProducts involved in the batch delete to a new ProductSet while this\noperation is running because those Products may still end up deleted.\n\nIt's not possible to undo the PurgeProducts operation. Therefore, it is\nrecommended to keep the csv files used in ImportProductSets (if that was\nhow you originally built the Product Set) before starting PurgeProducts, in\ncase you need to re-import the data after deletion.\n\nIf the plan is to purge all of the Products from a ProductSet and then\nre-use the empty ProductSet to re-import new Products into the empty\nProductSet, you must wait until the PurgeProducts operation has finished\nfor that ProductSet.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be\nused to keep track of the progress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)", + "file": "ProductSearchClient/PurgeProducts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_PurgeProducts_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision PurgeProducts Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_RemoveProductFromProductSet_sync", - "title": "vision RemoveProductFromProductSet Sample", - "description": "RemoveProductFromProductSet removes a Product from the specified ProductSet.", - "file": "ProductSearchClient/RemoveProductFromProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveProductFromProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.RemoveProductFromProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.RemoveProductFromProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "RemoveProductFromProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.RemoveProductFromProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.RemoveProductFromProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "RemoveProductFromProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.RemoveProductFromProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "RemoveProductFromProductSet" }, + "description": "RemoveProductFromProductSet removes a Product from the specified ProductSet.", + "file": "ProductSearchClient/RemoveProductFromProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_RemoveProductFromProductSet_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision RemoveProductFromProductSet Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_UpdateProduct_sync", - "title": "vision UpdateProduct Sample", - "description": "UpdateProduct makes changes to a Product resource.\nOnly the `display_name`, `description`, and `labels` fields can be updated\nright now.\n\nIf labels are updated, the change will not be reflected in queries until\nthe next index time.\n\nPossible errors: \n\n* Returns NOT_FOUND if the Product does not exist.\n* Returns INVALID_ARGUMENT if display_name is present in update_mask but is\nmissing from the request or longer than 4096 characters.\n* Returns INVALID_ARGUMENT if description is present in update_mask but is\nlonger than 4096 characters.\n* Returns INVALID_ARGUMENT if product_category is present in update_mask.", - "file": "ProductSearchClient/UpdateProduct/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProduct", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.UpdateProduct", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.UpdateProduct", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "UpdateProduct" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.UpdateProductRequest", - "name": "req" + "name": "req", + "type": "visionpb.UpdateProductRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.Product", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "UpdateProduct", - "fullName": "google.cloud.vision.v1.ProductSearch.UpdateProduct", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "UpdateProduct" }, + "description": "UpdateProduct makes changes to a Product resource.\nOnly the `display_name`, `description`, and `labels` fields can be updated\nright now.\n\nIf labels are updated, the change will not be reflected in queries until\nthe next index time.\n\nPossible errors: \n\n* Returns NOT_FOUND if the Product does not exist.\n* Returns INVALID_ARGUMENT if display_name is present in update_mask but is\nmissing from the request or longer than 4096 characters.\n* Returns INVALID_ARGUMENT if description is present in update_mask but is\nlonger than 4096 characters.\n* Returns INVALID_ARGUMENT if product_category is present in update_mask.", + "file": "ProductSearchClient/UpdateProduct/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_UpdateProduct_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision UpdateProduct Sample" }, { - "regionTag": "vision_v1_generated_ProductSearch_UpdateProductSet_sync", - "title": "vision UpdateProductSet Sample", - "description": "UpdateProductSet makes changes to a ProductSet resource.\nOnly display_name can be updated currently.\n\nPossible errors: \n\n* Returns NOT_FOUND if the ProductSet does not exist.\n* Returns INVALID_ARGUMENT if display_name is present in update_mask but\nmissing from the request or longer than 4096 characters.", - "file": "ProductSearchClient/UpdateProductSet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProductSet", + "client": { + "fullName": "google.cloud.vision.v1.ProductSearchClient", + "shortName": "ProductSearchClient" + }, "fullName": "google.cloud.vision.v1.ProductSearchClient.UpdateProductSet", + "method": { + "fullName": "google.cloud.vision.v1.ProductSearch.UpdateProductSet", + "service": { + "fullName": "google.cloud.vision.v1.ProductSearch", + "shortName": "ProductSearch" + }, + "shortName": "UpdateProductSet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.UpdateProductSetRequest", - "name": "req" + "name": "req", + "type": "visionpb.UpdateProductSetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.ProductSet", - "client": { - "shortName": "ProductSearchClient", - "fullName": "google.cloud.vision.v1.ProductSearchClient" - }, - "method": { - "shortName": "UpdateProductSet", - "fullName": "google.cloud.vision.v1.ProductSearch.UpdateProductSet", - "service": { - "shortName": "ProductSearch", - "fullName": "google.cloud.vision.v1.ProductSearch" - } - } + "shortName": "UpdateProductSet" }, + "description": "UpdateProductSet makes changes to a ProductSet resource.\nOnly display_name can be updated currently.\n\nPossible errors: \n\n* Returns NOT_FOUND if the ProductSet does not exist.\n* Returns INVALID_ARGUMENT if display_name is present in update_mask but\nmissing from the request or longer than 4096 characters.", + "file": "ProductSearchClient/UpdateProductSet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1_generated_ProductSearch_UpdateProductSet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision UpdateProductSet Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json index 60ed510f7590..6e5ec023d123 100644 --- a/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json +++ b/internal/generated/snippets/vision/apiv1p1beta1/snippet_metadata.google.cloud.vision.v1p1beta1.json @@ -1,61 +1,61 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vision/v2/apiv1p1beta1", - "version": "2.9.6", - "language": "GO", "apis": [ { "id": "google.cloud.vision.v1p1beta1", "version": "v1p1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vision/v2/apiv1p1beta1", + "version": "2.9.6" }, "snippets": [ { - "regionTag": "vision_v1p1beta1_generated_ImageAnnotator_BatchAnnotateImages_sync", - "title": "vision BatchAnnotateImages Sample", - "description": "BatchAnnotateImages run image detection and annotation for a batch of images.", - "file": "ImageAnnotatorClient/BatchAnnotateImages/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchAnnotateImages", + "client": { + "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotatorClient", + "shortName": "ImageAnnotatorClient" + }, "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotatorClient.BatchAnnotateImages", + "method": { + "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotator.BatchAnnotateImages", + "service": { + "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotator", + "shortName": "ImageAnnotator" + }, + "shortName": "BatchAnnotateImages" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionpb.BatchAnnotateImagesRequest", - "name": "req" + "name": "req", + "type": "visionpb.BatchAnnotateImagesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionpb.BatchAnnotateImagesResponse", - "client": { - "shortName": "ImageAnnotatorClient", - "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotatorClient" - }, - "method": { - "shortName": "BatchAnnotateImages", - "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotator.BatchAnnotateImages", - "service": { - "shortName": "ImageAnnotator", - "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotator" - } - } + "shortName": "BatchAnnotateImages" }, + "description": "BatchAnnotateImages run image detection and annotation for a batch of images.", + "file": "ImageAnnotatorClient/BatchAnnotateImages/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vision_v1p1beta1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vision BatchAnnotateImages Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json b/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json index 8640abb9d849..551cdf4f7cf2 100644 --- a/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json +++ b/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json @@ -1,7940 +1,7940 @@ { "clientLibrary": { - "name": "cloud.google.com/go/visionai/apiv1", - "version": "0.5.0", - "language": "GO", "apis": [ { "id": "google.cloud.visionai.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/visionai/apiv1", + "version": "0.5.0" }, "snippets": [ { - "regionTag": "visionai_v1_generated_AppPlatform_AddApplicationStreamInput_sync", - "title": "visionai AddApplicationStreamInput Sample", - "description": "AddApplicationStreamInput adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.", - "file": "AppPlatformClient/AddApplicationStreamInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddApplicationStreamInput", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.AddApplicationStreamInput", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.AddApplicationStreamInput", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "AddApplicationStreamInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.AddApplicationStreamInputRequest", - "name": "req" + "name": "req", + "type": "visionaipb.AddApplicationStreamInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddApplicationStreamInputOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "AddApplicationStreamInput", - "fullName": "google.cloud.visionai.v1.AppPlatform.AddApplicationStreamInput", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "AddApplicationStreamInput" }, + "description": "AddApplicationStreamInput adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.", + "file": "AppPlatformClient/AddApplicationStreamInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_AddApplicationStreamInput_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai AddApplicationStreamInput Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_CancelOperation_sync", - "title": "visionai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "AppPlatformClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "AppPlatformClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CancelOperation Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_CreateApplication_sync", - "title": "visionai CreateApplication Sample", - "description": "CreateApplication creates a new Application in a given project and location.", - "file": "AppPlatformClient/CreateApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApplication", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateApplication", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.CreateApplication", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "CreateApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateApplicationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApplicationOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "CreateApplication", - "fullName": "google.cloud.visionai.v1.AppPlatform.CreateApplication", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "CreateApplication" }, + "description": "CreateApplication creates a new Application in a given project and location.", + "file": "AppPlatformClient/CreateApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_CreateApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateApplication Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_CreateApplicationInstances_sync", - "title": "visionai CreateApplicationInstances Sample", - "description": "CreateApplicationInstances adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.", - "file": "AppPlatformClient/CreateApplicationInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateApplicationInstances", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateApplicationInstances", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.CreateApplicationInstances", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "CreateApplicationInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateApplicationInstancesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateApplicationInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateApplicationInstancesOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "CreateApplicationInstances", - "fullName": "google.cloud.visionai.v1.AppPlatform.CreateApplicationInstances", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "CreateApplicationInstances" }, + "description": "CreateApplicationInstances adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.", + "file": "AppPlatformClient/CreateApplicationInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_CreateApplicationInstances_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateApplicationInstances Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_CreateDraft_sync", - "title": "visionai CreateDraft Sample", - "description": "CreateDraft creates a new Draft in a given project and location.", - "file": "AppPlatformClient/CreateDraft/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDraft", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateDraft", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.CreateDraft", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "CreateDraft" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateDraftRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateDraftRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDraftOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "CreateDraft", - "fullName": "google.cloud.visionai.v1.AppPlatform.CreateDraft", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "CreateDraft" }, + "description": "CreateDraft creates a new Draft in a given project and location.", + "file": "AppPlatformClient/CreateDraft/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_CreateDraft_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateDraft Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_CreateProcessor_sync", - "title": "visionai CreateProcessor Sample", - "description": "CreateProcessor creates a new Processor in a given project and location.", - "file": "AppPlatformClient/CreateProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProcessor", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.CreateProcessor", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.CreateProcessor", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "CreateProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateProcessorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateProcessorOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "CreateProcessor", - "fullName": "google.cloud.visionai.v1.AppPlatform.CreateProcessor", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "CreateProcessor" }, + "description": "CreateProcessor creates a new Processor in a given project and location.", + "file": "AppPlatformClient/CreateProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_CreateProcessor_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateProcessor Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_DeleteApplication_sync", - "title": "visionai DeleteApplication Sample", - "description": "DeleteApplication deletes a single Application.", - "file": "AppPlatformClient/DeleteApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApplication", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteApplication", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteApplication", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "DeleteApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteApplicationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteApplicationOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "DeleteApplication", - "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteApplication", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "DeleteApplication" }, + "description": "DeleteApplication deletes a single Application.", + "file": "AppPlatformClient/DeleteApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_DeleteApplication_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteApplication Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_DeleteApplicationInstances_sync", - "title": "visionai DeleteApplicationInstances Sample", - "description": "DeleteApplicationInstances remove target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deleted. If the stream\nis not in the Application, the RPC will fail.", - "file": "AppPlatformClient/DeleteApplicationInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteApplicationInstances", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteApplicationInstances", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteApplicationInstances", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "DeleteApplicationInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteApplicationInstancesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteApplicationInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteApplicationInstancesOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "DeleteApplicationInstances", - "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteApplicationInstances", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "DeleteApplicationInstances" }, + "description": "DeleteApplicationInstances remove target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deleted. If the stream\nis not in the Application, the RPC will fail.", + "file": "AppPlatformClient/DeleteApplicationInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_DeleteApplicationInstances_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteApplicationInstances Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_DeleteDraft_sync", - "title": "visionai DeleteDraft Sample", - "description": "DeleteDraft deletes a single Draft.", - "file": "AppPlatformClient/DeleteDraft/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDraft", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteDraft", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteDraft", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "DeleteDraft" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteDraftRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteDraftRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDraftOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "DeleteDraft", - "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteDraft", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "DeleteDraft" }, + "description": "DeleteDraft deletes a single Draft.", + "file": "AppPlatformClient/DeleteDraft/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_DeleteDraft_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteDraft Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_DeleteOperation_sync", - "title": "visionai DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "AppPlatformClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "AppPlatformClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteOperation Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_DeleteProcessor_sync", - "title": "visionai DeleteProcessor Sample", - "description": "DeleteProcessor deletes a single Processor.", - "file": "AppPlatformClient/DeleteProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcessor", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeleteProcessor", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteProcessor", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "DeleteProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteProcessorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessorOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "DeleteProcessor", - "fullName": "google.cloud.visionai.v1.AppPlatform.DeleteProcessor", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "DeleteProcessor" }, + "description": "DeleteProcessor deletes a single Processor.", + "file": "AppPlatformClient/DeleteProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_DeleteProcessor_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteProcessor Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_DeployApplication_sync", - "title": "visionai DeployApplication Sample", - "description": "DeployApplication deploys a single Application.", - "file": "AppPlatformClient/DeployApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployApplication", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.DeployApplication", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.DeployApplication", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "DeployApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeployApplicationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeployApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployApplicationOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "DeployApplication", - "fullName": "google.cloud.visionai.v1.AppPlatform.DeployApplication", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "DeployApplication" }, + "description": "DeployApplication deploys a single Application.", + "file": "AppPlatformClient/DeployApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_DeployApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeployApplication Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_GetApplication_sync", - "title": "visionai GetApplication Sample", - "description": "GetApplication gets details of a single Application.", - "file": "AppPlatformClient/GetApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetApplication", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetApplication", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.GetApplication", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "GetApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetApplicationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Application", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "GetApplication", - "fullName": "google.cloud.visionai.v1.AppPlatform.GetApplication", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "GetApplication" }, + "description": "GetApplication gets details of a single Application.", + "file": "AppPlatformClient/GetApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_GetApplication_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetApplication Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_GetDraft_sync", - "title": "visionai GetDraft Sample", - "description": "GetDraft gets details of a single Draft.", - "file": "AppPlatformClient/GetDraft/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDraft", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetDraft", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.GetDraft", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "GetDraft" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetDraftRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetDraftRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Draft", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "GetDraft", - "fullName": "google.cloud.visionai.v1.AppPlatform.GetDraft", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "GetDraft" }, + "description": "GetDraft gets details of a single Draft.", + "file": "AppPlatformClient/GetDraft/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_GetDraft_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetDraft Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_GetInstance_sync", - "title": "visionai GetInstance Sample", - "description": "GetInstance gets details of a single Instance.", - "file": "AppPlatformClient/GetInstance/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetInstance", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetInstance", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.GetInstance", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "GetInstance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetInstanceRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetInstanceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Instance", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "GetInstance", - "fullName": "google.cloud.visionai.v1.AppPlatform.GetInstance", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "GetInstance" }, + "description": "GetInstance gets details of a single Instance.", + "file": "AppPlatformClient/GetInstance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_GetInstance_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetInstance Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_GetLocation_sync", - "title": "visionai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "AppPlatformClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "AppPlatformClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetLocation Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_GetOperation_sync", - "title": "visionai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "AppPlatformClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "AppPlatformClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetOperation Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_GetProcessor_sync", - "title": "visionai GetProcessor Sample", - "description": "GetProcessor gets details of a single Processor.", - "file": "AppPlatformClient/GetProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcessor", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.GetProcessor", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.GetProcessor", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "GetProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetProcessorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Processor", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "GetProcessor", - "fullName": "google.cloud.visionai.v1.AppPlatform.GetProcessor", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "GetProcessor" }, + "description": "GetProcessor gets details of a single Processor.", + "file": "AppPlatformClient/GetProcessor/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_GetProcessor_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetProcessor Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListApplications_sync", - "title": "visionai ListApplications Sample", - "description": "ListApplications lists Applications in a given project and location.", - "file": "AppPlatformClient/ListApplications/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListApplications", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListApplications", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.ListApplications", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "ListApplications" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListApplicationsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListApplicationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ApplicationIterator", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListApplications", - "fullName": "google.cloud.visionai.v1.AppPlatform.ListApplications", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "ListApplications" }, + "description": "ListApplications lists Applications in a given project and location.", + "file": "AppPlatformClient/ListApplications/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListApplications_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListApplications Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListDrafts_sync", - "title": "visionai ListDrafts Sample", - "description": "ListDrafts lists Drafts in a given project and location.", - "file": "AppPlatformClient/ListDrafts/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDrafts", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListDrafts", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.ListDrafts", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "ListDrafts" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListDraftsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListDraftsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DraftIterator", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListDrafts", - "fullName": "google.cloud.visionai.v1.AppPlatform.ListDrafts", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "ListDrafts" }, + "description": "ListDrafts lists Drafts in a given project and location.", + "file": "AppPlatformClient/ListDrafts/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListDrafts_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListDrafts Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListInstances_sync", - "title": "visionai ListInstances Sample", - "description": "ListInstances lists Instances in a given project and location.", - "file": "AppPlatformClient/ListInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListInstances", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListInstances", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.ListInstances", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "ListInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListInstancesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "InstanceIterator", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListInstances", - "fullName": "google.cloud.visionai.v1.AppPlatform.ListInstances", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "ListInstances" }, + "description": "ListInstances lists Instances in a given project and location.", + "file": "AppPlatformClient/ListInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListInstances_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListInstances Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListLocations_sync", - "title": "visionai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "AppPlatformClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "AppPlatformClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListLocations Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListOperations_sync", - "title": "visionai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "AppPlatformClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "AppPlatformClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListOperations Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListPrebuiltProcessors_sync", - "title": "visionai ListPrebuiltProcessors Sample", - "description": "ListPrebuiltProcessors listPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt\nProcessors.", - "file": "AppPlatformClient/ListPrebuiltProcessors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrebuiltProcessors", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListPrebuiltProcessors", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.ListPrebuiltProcessors", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "ListPrebuiltProcessors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListPrebuiltProcessorsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListPrebuiltProcessorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.ListPrebuiltProcessorsResponse", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListPrebuiltProcessors", - "fullName": "google.cloud.visionai.v1.AppPlatform.ListPrebuiltProcessors", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "ListPrebuiltProcessors" }, + "description": "ListPrebuiltProcessors listPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt\nProcessors.", + "file": "AppPlatformClient/ListPrebuiltProcessors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListPrebuiltProcessors_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListPrebuiltProcessors Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_ListProcessors_sync", - "title": "visionai ListProcessors Sample", - "description": "ListProcessors lists Processors in a given project and location.", - "file": "AppPlatformClient/ListProcessors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcessors", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.ListProcessors", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.ListProcessors", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "ListProcessors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListProcessorsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListProcessorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessorIterator", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "ListProcessors", - "fullName": "google.cloud.visionai.v1.AppPlatform.ListProcessors", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "ListProcessors" }, + "description": "ListProcessors lists Processors in a given project and location.", + "file": "AppPlatformClient/ListProcessors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_ListProcessors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListProcessors Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_RemoveApplicationStreamInput_sync", - "title": "visionai RemoveApplicationStreamInput Sample", - "description": "RemoveApplicationStreamInput remove target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deleted. If the stream\nis not in the Application, the RPC will fail.", - "file": "AppPlatformClient/RemoveApplicationStreamInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveApplicationStreamInput", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.RemoveApplicationStreamInput", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.RemoveApplicationStreamInput", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "RemoveApplicationStreamInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.RemoveApplicationStreamInputRequest", - "name": "req" + "name": "req", + "type": "visionaipb.RemoveApplicationStreamInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveApplicationStreamInputOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "RemoveApplicationStreamInput", - "fullName": "google.cloud.visionai.v1.AppPlatform.RemoveApplicationStreamInput", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "RemoveApplicationStreamInput" }, + "description": "RemoveApplicationStreamInput remove target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deleted. If the stream\nis not in the Application, the RPC will fail.", + "file": "AppPlatformClient/RemoveApplicationStreamInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_RemoveApplicationStreamInput_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai RemoveApplicationStreamInput Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_UndeployApplication_sync", - "title": "visionai UndeployApplication Sample", - "description": "UndeployApplication undeploys a single Application.", - "file": "AppPlatformClient/UndeployApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployApplication", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.UndeployApplication", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.UndeployApplication", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "UndeployApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UndeployApplicationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UndeployApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployApplicationOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "UndeployApplication", - "fullName": "google.cloud.visionai.v1.AppPlatform.UndeployApplication", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "UndeployApplication" }, + "description": "UndeployApplication undeploys a single Application.", + "file": "AppPlatformClient/UndeployApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_UndeployApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UndeployApplication Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplication_sync", - "title": "visionai UpdateApplication Sample", - "description": "UpdateApplication updates the parameters of a single Application.", - "file": "AppPlatformClient/UpdateApplication/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApplication", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateApplication", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplication", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "UpdateApplication" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateApplicationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateApplicationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApplicationOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "UpdateApplication", - "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplication", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "UpdateApplication" }, + "description": "UpdateApplication updates the parameters of a single Application.", + "file": "AppPlatformClient/UpdateApplication/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplication_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateApplication Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplicationInstances_sync", - "title": "visionai UpdateApplicationInstances Sample", - "description": "UpdateApplicationInstances adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.", - "file": "AppPlatformClient/UpdateApplicationInstances/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApplicationInstances", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateApplicationInstances", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplicationInstances", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "UpdateApplicationInstances" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateApplicationInstancesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateApplicationInstancesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApplicationInstancesOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "UpdateApplicationInstances", - "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplicationInstances", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "UpdateApplicationInstances" }, + "description": "UpdateApplicationInstances adds target stream input to the Application.\nIf the Application is deployed, the corresponding new Application instance\nwill be created. If the stream has already been in the Application, the RPC\nwill fail.", + "file": "AppPlatformClient/UpdateApplicationInstances/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplicationInstances_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateApplicationInstances Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplicationStreamInput_sync", - "title": "visionai UpdateApplicationStreamInput Sample", - "description": "UpdateApplicationStreamInput update target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deployed. For\nCreateOrUpdate behavior, set allow_missing to true.", - "file": "AppPlatformClient/UpdateApplicationStreamInput/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateApplicationStreamInput", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateApplicationStreamInput", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplicationStreamInput", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "UpdateApplicationStreamInput" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateApplicationStreamInputRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateApplicationStreamInputRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateApplicationStreamInputOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "UpdateApplicationStreamInput", - "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateApplicationStreamInput", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "UpdateApplicationStreamInput" }, + "description": "UpdateApplicationStreamInput update target stream input to the Application, if the Application is\ndeployed, the corresponding instance based will be deployed. For\nCreateOrUpdate behavior, set allow_missing to true.", + "file": "AppPlatformClient/UpdateApplicationStreamInput/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_UpdateApplicationStreamInput_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateApplicationStreamInput Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_UpdateDraft_sync", - "title": "visionai UpdateDraft Sample", - "description": "UpdateDraft updates the parameters of a single Draft.", - "file": "AppPlatformClient/UpdateDraft/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDraft", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateDraft", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateDraft", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "UpdateDraft" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateDraftRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateDraftRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDraftOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "UpdateDraft", - "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateDraft", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "UpdateDraft" }, + "description": "UpdateDraft updates the parameters of a single Draft.", + "file": "AppPlatformClient/UpdateDraft/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_UpdateDraft_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateDraft Sample" }, { - "regionTag": "visionai_v1_generated_AppPlatform_UpdateProcessor_sync", - "title": "visionai UpdateProcessor Sample", - "description": "UpdateProcessor updates the parameters of a single Processor.", - "file": "AppPlatformClient/UpdateProcessor/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProcessor", + "client": { + "fullName": "google.cloud.visionai.v1.AppPlatformClient", + "shortName": "AppPlatformClient" + }, "fullName": "google.cloud.visionai.v1.AppPlatformClient.UpdateProcessor", + "method": { + "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateProcessor", + "service": { + "fullName": "google.cloud.visionai.v1.AppPlatform", + "shortName": "AppPlatform" + }, + "shortName": "UpdateProcessor" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateProcessorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateProcessorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateProcessorOperation", - "client": { - "shortName": "AppPlatformClient", - "fullName": "google.cloud.visionai.v1.AppPlatformClient" - }, - "method": { - "shortName": "UpdateProcessor", - "fullName": "google.cloud.visionai.v1.AppPlatform.UpdateProcessor", - "service": { - "shortName": "AppPlatform", - "fullName": "google.cloud.visionai.v1.AppPlatform" - } - } + "shortName": "UpdateProcessor" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "UpdateProcessor updates the parameters of a single Processor.", + "file": "AppPlatformClient/UpdateProcessor/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_AppPlatform_UpdateProcessor_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateProcessor Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_CancelOperation_sync", - "title": "visionai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "HealthCheckClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "HealthCheckClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CancelOperation Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_DeleteOperation_sync", - "title": "visionai DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "HealthCheckClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "HealthCheckClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteOperation Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_GetLocation_sync", - "title": "visionai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "HealthCheckClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "HealthCheckClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetLocation Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_GetOperation_sync", - "title": "visionai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "HealthCheckClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "HealthCheckClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetOperation Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_HealthCheck_sync", - "title": "visionai HealthCheck Sample", - "description": "HealthCheck healthCheck method checks the health status of the cluster.", - "file": "HealthCheckClient/HealthCheck/main.go", - "language": "GO", "clientMethod": { - "shortName": "HealthCheck", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.HealthCheck", + "method": { + "fullName": "google.cloud.visionai.v1.HealthCheckService.HealthCheck", + "service": { + "fullName": "google.cloud.visionai.v1.HealthCheckService", + "shortName": "HealthCheckService" + }, + "shortName": "HealthCheck" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.HealthCheckRequest", - "name": "req" + "name": "req", + "type": "visionaipb.HealthCheckRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.HealthCheckResponse", - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "HealthCheck", - "fullName": "google.cloud.visionai.v1.HealthCheckService.HealthCheck", - "service": { - "shortName": "HealthCheckService", - "fullName": "google.cloud.visionai.v1.HealthCheckService" - } - } + "shortName": "HealthCheck" }, + "description": "HealthCheck healthCheck method checks the health status of the cluster.", + "file": "HealthCheckClient/HealthCheck/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_HealthCheck_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai HealthCheck Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_ListLocations_sync", - "title": "visionai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "HealthCheckClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "HealthCheckClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListLocations Sample" }, { - "regionTag": "visionai_v1_generated_HealthCheckService_ListOperations_sync", - "title": "visionai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "HealthCheckClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.visionai.v1.HealthCheckClient", + "shortName": "HealthCheckClient" + }, "fullName": "google.cloud.visionai.v1.HealthCheckClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "HealthCheckClient", - "fullName": "google.cloud.visionai.v1.HealthCheckClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "HealthCheckClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_HealthCheckService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListOperations Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_BatchRunProcess_sync", - "title": "visionai BatchRunProcess Sample", - "description": "BatchRunProcess run all of the processes to \"completion\". Max time for each process is\nthe LRO time limit.", - "file": "LiveVideoAnalyticsClient/BatchRunProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "BatchRunProcess", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.BatchRunProcess", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.BatchRunProcess", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "BatchRunProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.BatchRunProcessRequest", - "name": "req" + "name": "req", + "type": "visionaipb.BatchRunProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "BatchRunProcessOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "BatchRunProcess", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.BatchRunProcess", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "BatchRunProcess" }, + "description": "BatchRunProcess run all of the processes to \"completion\". Max time for each process is\nthe LRO time limit.", + "file": "LiveVideoAnalyticsClient/BatchRunProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_BatchRunProcess_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai BatchRunProcess Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CancelOperation_sync", - "title": "visionai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "LiveVideoAnalyticsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "LiveVideoAnalyticsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CancelOperation Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateAnalysis_sync", - "title": "visionai CreateAnalysis Sample", - "description": "CreateAnalysis creates a new Analysis in a given project and location.", - "file": "LiveVideoAnalyticsClient/CreateAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnalysis", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CreateAnalysis", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateAnalysis", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "CreateAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateAnalysisRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateAnalysisOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "CreateAnalysis", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateAnalysis", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "CreateAnalysis" }, + "description": "CreateAnalysis creates a new Analysis in a given project and location.", + "file": "LiveVideoAnalyticsClient/CreateAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateAnalysis_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateAnalysis Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateOperator_sync", - "title": "visionai CreateOperator Sample", - "description": "CreateOperator creates a new Operator in a given project and location.", - "file": "LiveVideoAnalyticsClient/CreateOperator/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateOperator", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CreateOperator", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateOperator", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "CreateOperator" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateOperatorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateOperatorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateOperatorOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "CreateOperator", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateOperator", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "CreateOperator" }, + "description": "CreateOperator creates a new Operator in a given project and location.", + "file": "LiveVideoAnalyticsClient/CreateOperator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateOperator_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateOperator Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateProcess_sync", - "title": "visionai CreateProcess Sample", - "description": "CreateProcess creates a new Process in a given project and location.", - "file": "LiveVideoAnalyticsClient/CreateProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateProcess", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.CreateProcess", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateProcess", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "CreateProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateProcessRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateProcessOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "CreateProcess", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateProcess", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "CreateProcess" }, + "description": "CreateProcess creates a new Process in a given project and location.", + "file": "LiveVideoAnalyticsClient/CreateProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_CreateProcess_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateProcess Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteAnalysis_sync", - "title": "visionai DeleteAnalysis Sample", - "description": "DeleteAnalysis deletes a single Analysis.", - "file": "LiveVideoAnalyticsClient/DeleteAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAnalysis", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteAnalysis", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteAnalysis", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "DeleteAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteAnalysisRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAnalysisOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "DeleteAnalysis", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteAnalysis", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "DeleteAnalysis" }, + "description": "DeleteAnalysis deletes a single Analysis.", + "file": "LiveVideoAnalyticsClient/DeleteAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteAnalysis_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteAnalysis Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteOperation_sync", - "title": "visionai DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "LiveVideoAnalyticsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "LiveVideoAnalyticsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteOperation Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteOperator_sync", - "title": "visionai DeleteOperator Sample", - "description": "DeleteOperator deletes a single Operator.", - "file": "LiveVideoAnalyticsClient/DeleteOperator/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperator", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteOperator", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteOperator", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "DeleteOperator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteOperatorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteOperatorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteOperatorOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "DeleteOperator", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteOperator", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "DeleteOperator" }, + "description": "DeleteOperator deletes a single Operator.", + "file": "LiveVideoAnalyticsClient/DeleteOperator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteOperator_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteOperator Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteProcess_sync", - "title": "visionai DeleteProcess Sample", - "description": "DeleteProcess deletes a single Process.", - "file": "LiveVideoAnalyticsClient/DeleteProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteProcess", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.DeleteProcess", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteProcess", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "DeleteProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteProcessRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteProcessOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "DeleteProcess", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteProcess", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "DeleteProcess" }, + "description": "DeleteProcess deletes a single Process.", + "file": "LiveVideoAnalyticsClient/DeleteProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_DeleteProcess_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteProcess Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetAnalysis_sync", - "title": "visionai GetAnalysis Sample", - "description": "GetAnalysis gets details of a single Analysis.", - "file": "LiveVideoAnalyticsClient/GetAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnalysis", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetAnalysis", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetAnalysis", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "GetAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetAnalysisRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Analysis", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "GetAnalysis", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetAnalysis", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "GetAnalysis" }, + "description": "GetAnalysis gets details of a single Analysis.", + "file": "LiveVideoAnalyticsClient/GetAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetAnalysis_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetAnalysis Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetLocation_sync", - "title": "visionai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "LiveVideoAnalyticsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "LiveVideoAnalyticsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetLocation Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetOperation_sync", - "title": "visionai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "LiveVideoAnalyticsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "LiveVideoAnalyticsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetOperation Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetOperator_sync", - "title": "visionai GetOperator Sample", - "description": "GetOperator gets details of a single Operator.", - "file": "LiveVideoAnalyticsClient/GetOperator/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperator", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetOperator", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetOperator", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "GetOperator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetOperatorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetOperatorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Operator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "GetOperator", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetOperator", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "GetOperator" }, + "description": "GetOperator gets details of a single Operator.", + "file": "LiveVideoAnalyticsClient/GetOperator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetOperator_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetOperator Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetProcess_sync", - "title": "visionai GetProcess Sample", - "description": "GetProcess gets details of a single Process.", - "file": "LiveVideoAnalyticsClient/GetProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetProcess", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.GetProcess", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetProcess", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "GetProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetProcessRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Process", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "GetProcess", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetProcess", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "GetProcess" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetProcess gets details of a single Process.", + "file": "LiveVideoAnalyticsClient/GetProcess/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_GetProcess_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetProcess Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListAnalyses_sync", - "title": "visionai ListAnalyses Sample", - "description": "ListAnalyses lists Analyses in a given project and location.", - "file": "LiveVideoAnalyticsClient/ListAnalyses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnalyses", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListAnalyses", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListAnalyses", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "ListAnalyses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListAnalysesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListAnalysesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalysisIterator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ListAnalyses", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListAnalyses", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "ListAnalyses" }, + "description": "ListAnalyses lists Analyses in a given project and location.", + "file": "LiveVideoAnalyticsClient/ListAnalyses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListAnalyses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListAnalyses Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListLocations_sync", - "title": "visionai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "LiveVideoAnalyticsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "LiveVideoAnalyticsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListLocations Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListOperations_sync", - "title": "visionai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "LiveVideoAnalyticsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "LiveVideoAnalyticsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListOperations Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListOperators_sync", - "title": "visionai ListOperators Sample", - "description": "ListOperators lists Operators in a given project and location.", - "file": "LiveVideoAnalyticsClient/ListOperators/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperators", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListOperators", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListOperators", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "ListOperators" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListOperatorsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListOperatorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperatorIterator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ListOperators", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListOperators", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "ListOperators" }, + "description": "ListOperators lists Operators in a given project and location.", + "file": "LiveVideoAnalyticsClient/ListOperators/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListOperators_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListOperators Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListProcesses_sync", - "title": "visionai ListProcesses Sample", - "description": "ListProcesses lists Processes in a given project and location.", - "file": "LiveVideoAnalyticsClient/ListProcesses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListProcesses", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListProcesses", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListProcesses", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "ListProcesses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListProcessesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListProcessesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ProcessIterator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ListProcesses", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListProcesses", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "ListProcesses" }, + "description": "ListProcesses lists Processes in a given project and location.", + "file": "LiveVideoAnalyticsClient/ListProcesses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListProcesses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListProcesses Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListPublicOperators_sync", - "title": "visionai ListPublicOperators Sample", - "description": "ListPublicOperators listPublicOperators returns all the operators in public registry.", - "file": "LiveVideoAnalyticsClient/ListPublicOperators/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPublicOperators", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ListPublicOperators", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListPublicOperators", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "ListPublicOperators" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListPublicOperatorsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListPublicOperatorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperatorIterator", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ListPublicOperators", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListPublicOperators", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "ListPublicOperators" }, + "description": "ListPublicOperators listPublicOperators returns all the operators in public registry.", + "file": "LiveVideoAnalyticsClient/ListPublicOperators/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ListPublicOperators_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListPublicOperators Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ResolveOperatorInfo_sync", - "title": "visionai ResolveOperatorInfo Sample", - "description": "ResolveOperatorInfo resolveOperatorInfo returns the operator information based on the request.", - "file": "LiveVideoAnalyticsClient/ResolveOperatorInfo/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResolveOperatorInfo", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.ResolveOperatorInfo", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ResolveOperatorInfo", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "ResolveOperatorInfo" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ResolveOperatorInfoRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ResolveOperatorInfoRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.ResolveOperatorInfoResponse", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "ResolveOperatorInfo", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ResolveOperatorInfo", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "ResolveOperatorInfo" }, + "description": "ResolveOperatorInfo resolveOperatorInfo returns the operator information based on the request.", + "file": "LiveVideoAnalyticsClient/ResolveOperatorInfo/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_ResolveOperatorInfo_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ResolveOperatorInfo Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateAnalysis_sync", - "title": "visionai UpdateAnalysis Sample", - "description": "UpdateAnalysis updates the parameters of a single Analysis.", - "file": "LiveVideoAnalyticsClient/UpdateAnalysis/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAnalysis", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.UpdateAnalysis", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateAnalysis", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "UpdateAnalysis" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateAnalysisRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateAnalysisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateAnalysisOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "UpdateAnalysis", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateAnalysis", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "UpdateAnalysis" }, + "description": "UpdateAnalysis updates the parameters of a single Analysis.", + "file": "LiveVideoAnalyticsClient/UpdateAnalysis/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateAnalysis_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateAnalysis Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateOperator_sync", - "title": "visionai UpdateOperator Sample", - "description": "UpdateOperator updates the parameters of a single Operator.", - "file": "LiveVideoAnalyticsClient/UpdateOperator/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateOperator", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.UpdateOperator", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateOperator", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "UpdateOperator" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateOperatorRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateOperatorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateOperatorOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "UpdateOperator", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateOperator", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "UpdateOperator" }, + "description": "UpdateOperator updates the parameters of a single Operator.", + "file": "LiveVideoAnalyticsClient/UpdateOperator/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateOperator_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateOperator Sample" }, { - "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateProcess_sync", - "title": "visionai UpdateProcess Sample", - "description": "UpdateProcess updates the parameters of a single Process.", - "file": "LiveVideoAnalyticsClient/UpdateProcess/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateProcess", + "client": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient", + "shortName": "LiveVideoAnalyticsClient" + }, "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient.UpdateProcess", + "method": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateProcess", + "service": { + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", + "shortName": "LiveVideoAnalytics" + }, + "shortName": "UpdateProcess" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateProcessRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateProcessRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateProcessOperation", - "client": { - "shortName": "LiveVideoAnalyticsClient", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalyticsClient" - }, - "method": { - "shortName": "UpdateProcess", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateProcess", - "service": { - "shortName": "LiveVideoAnalytics", - "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics" - } - } + "shortName": "UpdateProcess" }, + "description": "UpdateProcess updates the parameters of a single Process.", + "file": "LiveVideoAnalyticsClient/UpdateProcess/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_LiveVideoAnalytics_UpdateProcess_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateProcess Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_AcquireLease_sync", - "title": "visionai AcquireLease Sample", - "description": "AcquireLease acquireLease acquires a lease.", - "file": "StreamingClient/AcquireLease/main.go", - "language": "GO", "clientMethod": { - "shortName": "AcquireLease", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.AcquireLease", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.visionai.v1.StreamingService.AcquireLease", + "service": { + "fullName": "google.cloud.visionai.v1.StreamingService", + "shortName": "StreamingService" + }, + "shortName": "AcquireLease" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.AcquireLeaseRequest", - "name": "req" + "name": "req", + "type": "visionaipb.AcquireLeaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Lease", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "AcquireLease", - "fullName": "google.cloud.visionai.v1.StreamingService.AcquireLease", - "service": { - "shortName": "StreamingService", - "fullName": "google.cloud.visionai.v1.StreamingService" - } - } + "shortName": "AcquireLease" }, + "description": "AcquireLease acquireLease acquires a lease.", + "file": "StreamingClient/AcquireLease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_AcquireLease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai AcquireLease Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_CancelOperation_sync", - "title": "visionai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "StreamingClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "StreamingClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CancelOperation Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_DeleteOperation_sync", - "title": "visionai DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "StreamingClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "StreamingClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteOperation Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_GetLocation_sync", - "title": "visionai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "StreamingClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "StreamingClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetLocation Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_GetOperation_sync", - "title": "visionai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "StreamingClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "StreamingClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetOperation Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_ListLocations_sync", - "title": "visionai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "StreamingClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "StreamingClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListLocations Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_ListOperations_sync", - "title": "visionai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "StreamingClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "StreamingClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListOperations Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_ReceiveEvents_sync", - "title": "visionai ReceiveEvents Sample", - "description": "ReceiveEvents receive events given the stream name.\n\n\nThis method is not supported for the REST transport.", - "file": "StreamingClient/ReceiveEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReceiveEvents", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.ReceiveEvents", + "method": { + "fullName": "google.cloud.visionai.v1.StreamingService.ReceiveEvents", + "service": { + "fullName": "google.cloud.visionai.v1.StreamingService", + "shortName": "StreamingService" + }, + "shortName": "ReceiveEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "visionaipb.StreamingService_ReceiveEventsClient", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "ReceiveEvents", - "fullName": "google.cloud.visionai.v1.StreamingService.ReceiveEvents", - "service": { - "shortName": "StreamingService", - "fullName": "google.cloud.visionai.v1.StreamingService" - } - } + "shortName": "ReceiveEvents" }, + "description": "ReceiveEvents receive events given the stream name.\n\n\nThis method is not supported for the REST transport.", + "file": "StreamingClient/ReceiveEvents/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_ReceiveEvents_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ReceiveEvents Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_ReceivePackets_sync", - "title": "visionai ReceivePackets Sample", - "description": "ReceivePackets receive packets from the series.\n\n\nThis method is not supported for the REST transport.", - "file": "StreamingClient/ReceivePackets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReceivePackets", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.ReceivePackets", + "method": { + "fullName": "google.cloud.visionai.v1.StreamingService.ReceivePackets", + "service": { + "fullName": "google.cloud.visionai.v1.StreamingService", + "shortName": "StreamingService" + }, + "shortName": "ReceivePackets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "visionaipb.StreamingService_ReceivePacketsClient", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "ReceivePackets", - "fullName": "google.cloud.visionai.v1.StreamingService.ReceivePackets", - "service": { - "shortName": "StreamingService", - "fullName": "google.cloud.visionai.v1.StreamingService" - } - } + "shortName": "ReceivePackets" }, + "description": "ReceivePackets receive packets from the series.\n\n\nThis method is not supported for the REST transport.", + "file": "StreamingClient/ReceivePackets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_ReceivePackets_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ReceivePackets Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_ReleaseLease_sync", - "title": "visionai ReleaseLease Sample", - "description": "ReleaseLease rleaseLease releases a lease.", - "file": "StreamingClient/ReleaseLease/main.go", - "language": "GO", "clientMethod": { - "shortName": "ReleaseLease", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.ReleaseLease", + "method": { + "fullName": "google.cloud.visionai.v1.StreamingService.ReleaseLease", + "service": { + "fullName": "google.cloud.visionai.v1.StreamingService", + "shortName": "StreamingService" + }, + "shortName": "ReleaseLease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ReleaseLeaseRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ReleaseLeaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.ReleaseLeaseResponse", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "ReleaseLease", - "fullName": "google.cloud.visionai.v1.StreamingService.ReleaseLease", - "service": { - "shortName": "StreamingService", - "fullName": "google.cloud.visionai.v1.StreamingService" - } - } + "shortName": "ReleaseLease" }, + "description": "ReleaseLease rleaseLease releases a lease.", + "file": "StreamingClient/ReleaseLease/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_ReleaseLease_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ReleaseLease Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_RenewLease_sync", - "title": "visionai RenewLease Sample", - "description": "RenewLease renewLease renews a lease.", - "file": "StreamingClient/RenewLease/main.go", - "language": "GO", "clientMethod": { - "shortName": "RenewLease", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.RenewLease", + "method": { + "fullName": "google.cloud.visionai.v1.StreamingService.RenewLease", + "service": { + "fullName": "google.cloud.visionai.v1.StreamingService", + "shortName": "StreamingService" + }, + "shortName": "RenewLease" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.RenewLeaseRequest", - "name": "req" + "name": "req", + "type": "visionaipb.RenewLeaseRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Lease", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "RenewLease", - "fullName": "google.cloud.visionai.v1.StreamingService.RenewLease", - "service": { - "shortName": "StreamingService", - "fullName": "google.cloud.visionai.v1.StreamingService" - } - } + "shortName": "RenewLease" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "RenewLease renewLease renews a lease.", + "file": "StreamingClient/RenewLease/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_RenewLease_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai RenewLease Sample" }, { - "regionTag": "visionai_v1_generated_StreamingService_SendPackets_sync", - "title": "visionai SendPackets Sample", - "description": "SendPackets send packets to the series.\n\n\nThis method is not supported for the REST transport.", - "file": "StreamingClient/SendPackets/main.go", - "language": "GO", "clientMethod": { - "shortName": "SendPackets", + "client": { + "fullName": "google.cloud.visionai.v1.StreamingClient", + "shortName": "StreamingClient" + }, "fullName": "google.cloud.visionai.v1.StreamingClient.SendPackets", + "method": { + "fullName": "google.cloud.visionai.v1.StreamingService.SendPackets", + "service": { + "fullName": "google.cloud.visionai.v1.StreamingService", + "shortName": "StreamingService" + }, + "shortName": "SendPackets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "visionaipb.StreamingService_SendPacketsClient", - "client": { - "shortName": "StreamingClient", - "fullName": "google.cloud.visionai.v1.StreamingClient" - }, - "method": { - "shortName": "SendPackets", - "fullName": "google.cloud.visionai.v1.StreamingService.SendPackets", - "service": { - "shortName": "StreamingService", - "fullName": "google.cloud.visionai.v1.StreamingService" - } - } + "shortName": "SendPackets" }, + "description": "SendPackets send packets to the series.\n\n\nThis method is not supported for the REST transport.", + "file": "StreamingClient/SendPackets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamingService_SendPackets_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai SendPackets Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_CancelOperation_sync", - "title": "visionai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "StreamsClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "StreamsClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CancelOperation Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_CreateCluster_sync", - "title": "visionai CreateCluster Sample", - "description": "CreateCluster creates a new Cluster in a given project and location.", - "file": "StreamsClient/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.CreateCluster", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.CreateCluster", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.visionai.v1.StreamsService.CreateCluster", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new Cluster in a given project and location.", + "file": "StreamsClient/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateCluster Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_CreateEvent_sync", - "title": "visionai CreateEvent Sample", - "description": "CreateEvent creates a new Event in a given project and location.", - "file": "StreamsClient/CreateEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvent", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.CreateEvent", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.CreateEvent", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "CreateEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateEventRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEventOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "CreateEvent", - "fullName": "google.cloud.visionai.v1.StreamsService.CreateEvent", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "CreateEvent" }, + "description": "CreateEvent creates a new Event in a given project and location.", + "file": "StreamsClient/CreateEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_CreateEvent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateEvent Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_CreateSeries_sync", - "title": "visionai CreateSeries Sample", - "description": "CreateSeries creates a new Series in a given project and location.", - "file": "StreamsClient/CreateSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSeries", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.CreateSeries", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.CreateSeries", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "CreateSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateSeriesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSeriesOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "CreateSeries", - "fullName": "google.cloud.visionai.v1.StreamsService.CreateSeries", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "CreateSeries" }, + "description": "CreateSeries creates a new Series in a given project and location.", + "file": "StreamsClient/CreateSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_CreateSeries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateSeries Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_CreateStream_sync", - "title": "visionai CreateStream Sample", - "description": "CreateStream creates a new Stream in a given project and location.", - "file": "StreamsClient/CreateStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateStream", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.CreateStream", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.CreateStream", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "CreateStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateStreamRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateStreamOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "CreateStream", - "fullName": "google.cloud.visionai.v1.StreamsService.CreateStream", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "CreateStream" }, + "description": "CreateStream creates a new Stream in a given project and location.", + "file": "StreamsClient/CreateStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_CreateStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai CreateStream Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_DeleteCluster_sync", - "title": "visionai DeleteCluster Sample", - "description": "DeleteCluster deletes a single Cluster.", - "file": "StreamsClient/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteCluster", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.DeleteCluster", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.visionai.v1.StreamsService.DeleteCluster", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a single Cluster.", + "file": "StreamsClient/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteCluster Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_DeleteEvent_sync", - "title": "visionai DeleteEvent Sample", - "description": "DeleteEvent deletes a single Event.", - "file": "StreamsClient/DeleteEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvent", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteEvent", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.DeleteEvent", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "DeleteEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteEventRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEventOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "DeleteEvent", - "fullName": "google.cloud.visionai.v1.StreamsService.DeleteEvent", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "DeleteEvent" }, + "description": "DeleteEvent deletes a single Event.", + "file": "StreamsClient/DeleteEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_DeleteEvent_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteEvent Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_DeleteOperation_sync", - "title": "visionai DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "StreamsClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "StreamsClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteOperation Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_DeleteSeries_sync", - "title": "visionai DeleteSeries Sample", - "description": "DeleteSeries deletes a single Series.", - "file": "StreamsClient/DeleteSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSeries", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteSeries", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.DeleteSeries", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "DeleteSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteSeriesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSeriesOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "DeleteSeries", - "fullName": "google.cloud.visionai.v1.StreamsService.DeleteSeries", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "DeleteSeries" }, + "description": "DeleteSeries deletes a single Series.", + "file": "StreamsClient/DeleteSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_DeleteSeries_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteSeries Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_DeleteStream_sync", - "title": "visionai DeleteStream Sample", - "description": "DeleteStream deletes a single Stream.", - "file": "StreamsClient/DeleteStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteStream", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.DeleteStream", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.DeleteStream", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "DeleteStream" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteStreamRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteStreamOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "DeleteStream", - "fullName": "google.cloud.visionai.v1.StreamsService.DeleteStream", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "DeleteStream" }, + "description": "DeleteStream deletes a single Stream.", + "file": "StreamsClient/DeleteStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_DeleteStream_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai DeleteStream Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GenerateStreamHlsToken_sync", - "title": "visionai GenerateStreamHlsToken Sample", - "description": "GenerateStreamHlsToken generate the JWT auth token required to get the stream HLS contents.", - "file": "StreamsClient/GenerateStreamHlsToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateStreamHlsToken", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GenerateStreamHlsToken", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.GenerateStreamHlsToken", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "GenerateStreamHlsToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GenerateStreamHlsTokenRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GenerateStreamHlsTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.GenerateStreamHlsTokenResponse", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GenerateStreamHlsToken", - "fullName": "google.cloud.visionai.v1.StreamsService.GenerateStreamHlsToken", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "GenerateStreamHlsToken" }, + "description": "GenerateStreamHlsToken generate the JWT auth token required to get the stream HLS contents.", + "file": "StreamsClient/GenerateStreamHlsToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GenerateStreamHlsToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GenerateStreamHlsToken Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetCluster_sync", - "title": "visionai GetCluster Sample", - "description": "GetCluster gets details of a single Cluster.", - "file": "StreamsClient/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetCluster", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.GetCluster", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Cluster", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.visionai.v1.StreamsService.GetCluster", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster gets details of a single Cluster.", + "file": "StreamsClient/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetCluster Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetEvent_sync", - "title": "visionai GetEvent Sample", - "description": "GetEvent gets details of a single Event.", - "file": "StreamsClient/GetEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvent", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetEvent", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.GetEvent", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "GetEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetEventRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Event", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetEvent", - "fullName": "google.cloud.visionai.v1.StreamsService.GetEvent", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "GetEvent" }, + "description": "GetEvent gets details of a single Event.", + "file": "StreamsClient/GetEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetEvent_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetEvent Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetLocation_sync", - "title": "visionai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "StreamsClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "StreamsClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetLocation Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetOperation_sync", - "title": "visionai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "StreamsClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "StreamsClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetOperation Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetSeries_sync", - "title": "visionai GetSeries Sample", - "description": "GetSeries gets details of a single Series.", - "file": "StreamsClient/GetSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSeries", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetSeries", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.GetSeries", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "GetSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetSeriesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Series", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetSeries", - "fullName": "google.cloud.visionai.v1.StreamsService.GetSeries", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "GetSeries" }, + "description": "GetSeries gets details of a single Series.", + "file": "StreamsClient/GetSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetSeries_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetSeries Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetStream_sync", - "title": "visionai GetStream Sample", - "description": "GetStream gets details of a single Stream.", - "file": "StreamsClient/GetStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStream", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetStream", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.GetStream", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "GetStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetStreamRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Stream", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetStream", - "fullName": "google.cloud.visionai.v1.StreamsService.GetStream", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "GetStream" }, + "description": "GetStream gets details of a single Stream.", + "file": "StreamsClient/GetStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetStream_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetStream Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_GetStreamThumbnail_sync", - "title": "visionai GetStreamThumbnail Sample", - "description": "GetStreamThumbnail gets the thumbnail (image snapshot) of a single Stream.", - "file": "StreamsClient/GetStreamThumbnail/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetStreamThumbnail", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.GetStreamThumbnail", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.GetStreamThumbnail", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "GetStreamThumbnail" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetStreamThumbnailRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetStreamThumbnailRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GetStreamThumbnailOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "GetStreamThumbnail", - "fullName": "google.cloud.visionai.v1.StreamsService.GetStreamThumbnail", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "GetStreamThumbnail" }, + "description": "GetStreamThumbnail gets the thumbnail (image snapshot) of a single Stream.", + "file": "StreamsClient/GetStreamThumbnail/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_GetStreamThumbnail_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai GetStreamThumbnail Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_ListClusters_sync", - "title": "visionai ListClusters Sample", - "description": "ListClusters lists Clusters in a given project and location.", - "file": "StreamsClient/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.ListClusters", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.ListClusters", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.visionai.v1.StreamsService.ListClusters", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists Clusters in a given project and location.", + "file": "StreamsClient/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListClusters Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_ListEvents_sync", - "title": "visionai ListEvents Sample", - "description": "ListEvents lists Events in a given project and location.", - "file": "StreamsClient/ListEvents/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvents", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.ListEvents", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.ListEvents", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "ListEvents" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListEventsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListEventsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EventIterator", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "ListEvents", - "fullName": "google.cloud.visionai.v1.StreamsService.ListEvents", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "ListEvents" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "ListEvents lists Events in a given project and location.", + "file": "StreamsClient/ListEvents/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_ListEvents_sync", + "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListEvents Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_ListLocations_sync", - "title": "visionai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "StreamsClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "StreamsClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListLocations Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_ListOperations_sync", - "title": "visionai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "StreamsClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "StreamsClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListOperations Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_ListSeries_sync", - "title": "visionai ListSeries Sample", - "description": "ListSeries lists Series in a given project and location.", - "file": "StreamsClient/ListSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSeries", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.ListSeries", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.ListSeries", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "ListSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListSeriesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SeriesIterator", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "ListSeries", - "fullName": "google.cloud.visionai.v1.StreamsService.ListSeries", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "ListSeries" }, + "description": "ListSeries lists Series in a given project and location.", + "file": "StreamsClient/ListSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_ListSeries_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListSeries Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_ListStreams_sync", - "title": "visionai ListStreams Sample", - "description": "ListStreams lists Streams in a given project and location.", - "file": "StreamsClient/ListStreams/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListStreams", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.ListStreams", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.ListStreams", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "ListStreams" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListStreamsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListStreamsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StreamIterator", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "ListStreams", - "fullName": "google.cloud.visionai.v1.StreamsService.ListStreams", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "ListStreams" }, + "description": "ListStreams lists Streams in a given project and location.", + "file": "StreamsClient/ListStreams/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_ListStreams_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai ListStreams Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_MaterializeChannel_sync", - "title": "visionai MaterializeChannel Sample", - "description": "MaterializeChannel materialize a channel.", - "file": "StreamsClient/MaterializeChannel/main.go", - "language": "GO", "clientMethod": { - "shortName": "MaterializeChannel", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.MaterializeChannel", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.MaterializeChannel", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "MaterializeChannel" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.MaterializeChannelRequest", - "name": "req" + "name": "req", + "type": "visionaipb.MaterializeChannelRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MaterializeChannelOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "MaterializeChannel", - "fullName": "google.cloud.visionai.v1.StreamsService.MaterializeChannel", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "MaterializeChannel" }, + "description": "MaterializeChannel materialize a channel.", + "file": "StreamsClient/MaterializeChannel/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_MaterializeChannel_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai MaterializeChannel Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_UpdateCluster_sync", - "title": "visionai UpdateCluster Sample", - "description": "UpdateCluster updates the parameters of a single Cluster.", - "file": "StreamsClient/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateCluster", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.UpdateCluster", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.visionai.v1.StreamsService.UpdateCluster", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster updates the parameters of a single Cluster.", + "file": "StreamsClient/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateCluster Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_UpdateEvent_sync", - "title": "visionai UpdateEvent Sample", - "description": "UpdateEvent updates the parameters of a single Event.", - "file": "StreamsClient/UpdateEvent/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEvent", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateEvent", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.UpdateEvent", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "UpdateEvent" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateEventRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateEventRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEventOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "UpdateEvent", - "fullName": "google.cloud.visionai.v1.StreamsService.UpdateEvent", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "UpdateEvent" }, + "description": "UpdateEvent updates the parameters of a single Event.", + "file": "StreamsClient/UpdateEvent/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_UpdateEvent_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateEvent Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_UpdateSeries_sync", - "title": "visionai UpdateSeries Sample", - "description": "UpdateSeries updates the parameters of a single Event.", - "file": "StreamsClient/UpdateSeries/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSeries", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateSeries", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.UpdateSeries", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "UpdateSeries" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateSeriesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateSeriesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSeriesOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "UpdateSeries", - "fullName": "google.cloud.visionai.v1.StreamsService.UpdateSeries", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "UpdateSeries" }, + "description": "UpdateSeries updates the parameters of a single Event.", + "file": "StreamsClient/UpdateSeries/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_UpdateSeries_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateSeries Sample" }, { - "regionTag": "visionai_v1_generated_StreamsService_UpdateStream_sync", - "title": "visionai UpdateStream Sample", - "description": "UpdateStream updates the parameters of a single Stream.", - "file": "StreamsClient/UpdateStream/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateStream", + "client": { + "fullName": "google.cloud.visionai.v1.StreamsClient", + "shortName": "StreamsClient" + }, "fullName": "google.cloud.visionai.v1.StreamsClient.UpdateStream", + "method": { + "fullName": "google.cloud.visionai.v1.StreamsService.UpdateStream", + "service": { + "fullName": "google.cloud.visionai.v1.StreamsService", + "shortName": "StreamsService" + }, + "shortName": "UpdateStream" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateStreamRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateStreamRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateStreamOperation", - "client": { - "shortName": "StreamsClient", - "fullName": "google.cloud.visionai.v1.StreamsClient" - }, - "method": { - "shortName": "UpdateStream", - "fullName": "google.cloud.visionai.v1.StreamsService.UpdateStream", - "service": { - "shortName": "StreamsService", - "fullName": "google.cloud.visionai.v1.StreamsService" - } - } + "shortName": "UpdateStream" }, + "description": "UpdateStream updates the parameters of a single Stream.", + "file": "StreamsClient/UpdateStream/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "visionai_v1_generated_StreamsService_UpdateStream_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "visionai UpdateStream Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_AddCollectionItem_sync", - "title": "warehouse-visionai AddCollectionItem Sample", - "description": "AddCollectionItem adds an item into a Collection.", - "file": "WarehouseClient/AddCollectionItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddCollectionItem", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.AddCollectionItem", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.AddCollectionItem", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "AddCollectionItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.AddCollectionItemRequest", - "name": "req" + "name": "req", + "type": "visionaipb.AddCollectionItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.AddCollectionItemResponse", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "AddCollectionItem", - "fullName": "google.cloud.visionai.v1.Warehouse.AddCollectionItem", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "AddCollectionItem" }, + "description": "AddCollectionItem adds an item into a Collection.", + "file": "WarehouseClient/AddCollectionItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_AddCollectionItem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai AddCollectionItem Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_AnalyzeAsset_sync", - "title": "warehouse-visionai AnalyzeAsset Sample", - "description": "AnalyzeAsset analyze asset to power search capability.", - "file": "WarehouseClient/AnalyzeAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.AnalyzeAsset", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "AnalyzeAsset" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.AnalyzeAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.AnalyzeAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalyzeAssetOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "AnalyzeAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "AnalyzeAsset" }, + "description": "AnalyzeAsset analyze asset to power search capability.", + "file": "WarehouseClient/AnalyzeAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_AnalyzeAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai AnalyzeAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_AnalyzeCorpus_sync", - "title": "warehouse-visionai AnalyzeCorpus Sample", - "description": "AnalyzeCorpus analyzes a corpus.", - "file": "WarehouseClient/AnalyzeCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "AnalyzeCorpus", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.AnalyzeCorpus", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeCorpus", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "AnalyzeCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.AnalyzeCorpusRequest", - "name": "req" + "name": "req", + "type": "visionaipb.AnalyzeCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnalyzeCorpusOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "AnalyzeCorpus", - "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeCorpus", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "AnalyzeCorpus" }, + "description": "AnalyzeCorpus analyzes a corpus.", + "file": "WarehouseClient/AnalyzeCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_AnalyzeCorpus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai AnalyzeCorpus Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CancelOperation_sync", - "title": "warehouse-visionai CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "WarehouseClient/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "WarehouseClient/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CancelOperation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ClipAsset_sync", - "title": "warehouse-visionai ClipAsset Sample", - "description": "ClipAsset supported by STREAM_VIDEO corpus type.\nGenerates clips for downloading. The api takes in a time range, and\ngenerates a clip of the first content available after start_time and\nbefore end_time, which may overflow beyond these bounds.\nReturned clips are truncated if the total size of the clips are larger\nthan 100MB.", - "file": "WarehouseClient/ClipAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "ClipAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ClipAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ClipAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ClipAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ClipAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ClipAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.ClipAssetResponse", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ClipAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.ClipAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ClipAsset" }, + "description": "ClipAsset supported by STREAM_VIDEO corpus type.\nGenerates clips for downloading. The api takes in a time range, and\ngenerates a clip of the first content available after start_time and\nbefore end_time, which may overflow beyond these bounds.\nReturned clips are truncated if the total size of the clips are larger\nthan 100MB.", + "file": "WarehouseClient/ClipAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ClipAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ClipAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateAnnotation_sync", - "title": "warehouse-visionai CreateAnnotation Sample", - "description": "CreateAnnotation creates annotation inside asset.", - "file": "WarehouseClient/CreateAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAnnotation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateAnnotation", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateAnnotation", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateAnnotationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Annotation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateAnnotation", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateAnnotation", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateAnnotation" }, + "description": "CreateAnnotation creates annotation inside asset.", + "file": "WarehouseClient/CreateAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateAnnotation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateAsset_sync", - "title": "warehouse-visionai CreateAsset Sample", - "description": "CreateAsset creates an asset inside corpus.", - "file": "WarehouseClient/CreateAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Asset", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateAsset" }, + "description": "CreateAsset creates an asset inside corpus.", + "file": "WarehouseClient/CreateAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateCollection_sync", - "title": "warehouse-visionai CreateCollection Sample", - "description": "CreateCollection creates a collection.", - "file": "WarehouseClient/CreateCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCollection", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateCollection", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateCollection", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateCollectionRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCollectionOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateCollection", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateCollection", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateCollection" }, + "description": "CreateCollection creates a collection.", + "file": "WarehouseClient/CreateCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateCollection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateCollection Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateCorpus_sync", - "title": "warehouse-visionai CreateCorpus Sample", - "description": "CreateCorpus creates a corpus inside a project.", - "file": "WarehouseClient/CreateCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCorpus", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateCorpus", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateCorpus", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateCorpusRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCorpusOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateCorpus", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateCorpus", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateCorpus" }, + "description": "CreateCorpus creates a corpus inside a project.", + "file": "WarehouseClient/CreateCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateCorpus_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateCorpus Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateDataSchema_sync", - "title": "warehouse-visionai CreateDataSchema Sample", - "description": "CreateDataSchema creates data schema inside corpus.", - "file": "WarehouseClient/CreateDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDataSchema", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateDataSchema", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateDataSchema", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateDataSchemaRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.DataSchema", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateDataSchema", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateDataSchema", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateDataSchema" }, + "description": "CreateDataSchema creates data schema inside corpus.", + "file": "WarehouseClient/CreateDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateDataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateDataSchema Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateIndex_sync", - "title": "warehouse-visionai CreateIndex Sample", - "description": "CreateIndex creates an Index under the corpus.", - "file": "WarehouseClient/CreateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndex", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateIndex", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndex", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateIndexRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateIndex", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndex", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateIndex" }, + "description": "CreateIndex creates an Index under the corpus.", + "file": "WarehouseClient/CreateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateIndex Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateIndexEndpoint_sync", - "title": "warehouse-visionai CreateIndexEndpoint Sample", - "description": "CreateIndexEndpoint creates an IndexEndpoint.", - "file": "WarehouseClient/CreateIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateIndexEndpoint", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateIndexEndpoint", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndexEndpoint", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateIndexEndpointOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateIndexEndpoint", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndexEndpoint", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateIndexEndpoint" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "CreateIndexEndpoint creates an IndexEndpoint.", + "file": "WarehouseClient/CreateIndexEndpoint/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateIndexEndpoint_sync", + "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateIndexEndpoint Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateSearchConfig_sync", - "title": "warehouse-visionai CreateSearchConfig Sample", - "description": "CreateSearchConfig creates a search configuration inside a corpus.\n\nPlease follow the rules below to create a valid CreateSearchConfigRequest.\n--- General Rules ---\n1. Request.search_config_id must not be associated with an existing\nSearchConfig.\n2. Request must contain at least one non-empty search_criteria_property or\nfacet_property.\n3. mapped_fields must not be empty, and must map to existing UGA keys.\n4. All mapped_fields must be of the same type.\n5. All mapped_fields must share the same granularity.\n6. All mapped_fields must share the same semantic SearchConfig match\noptions.\nFor property-specific rules, please reference the comments for\nFacetProperty and SearchCriteriaProperty.", - "file": "WarehouseClient/CreateSearchConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSearchConfig", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateSearchConfig", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchConfig", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateSearchConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateSearchConfigRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateSearchConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.SearchConfig", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateSearchConfig", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchConfig", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateSearchConfig" }, + "description": "CreateSearchConfig creates a search configuration inside a corpus.\n\nPlease follow the rules below to create a valid CreateSearchConfigRequest.\n--- General Rules ---\n1. Request.search_config_id must not be associated with an existing\nSearchConfig.\n2. Request must contain at least one non-empty search_criteria_property or\nfacet_property.\n3. mapped_fields must not be empty, and must map to existing UGA keys.\n4. All mapped_fields must be of the same type.\n5. All mapped_fields must share the same granularity.\n6. All mapped_fields must share the same semantic SearchConfig match\noptions.\nFor property-specific rules, please reference the comments for\nFacetProperty and SearchCriteriaProperty.", + "file": "WarehouseClient/CreateSearchConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateSearchConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateSearchConfig Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateSearchHypernym_sync", - "title": "warehouse-visionai CreateSearchHypernym Sample", - "description": "CreateSearchHypernym creates a SearchHypernym inside a corpus.", - "file": "WarehouseClient/CreateSearchHypernym/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSearchHypernym", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.CreateSearchHypernym", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchHypernym", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "CreateSearchHypernym" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.CreateSearchHypernymRequest", - "name": "req" + "name": "req", + "type": "visionaipb.CreateSearchHypernymRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.SearchHypernym", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "CreateSearchHypernym", - "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchHypernym", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "CreateSearchHypernym" }, + "description": "CreateSearchHypernym creates a SearchHypernym inside a corpus.", + "file": "WarehouseClient/CreateSearchHypernym/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_CreateSearchHypernym_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai CreateSearchHypernym Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteAnnotation_sync", - "title": "warehouse-visionai DeleteAnnotation Sample", - "description": "DeleteAnnotation deletes annotation inside asset.", - "file": "WarehouseClient/DeleteAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAnnotation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteAnnotation", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAnnotation", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteAnnotationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteAnnotation", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAnnotation", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteAnnotation" }, + "description": "DeleteAnnotation deletes annotation inside asset.", + "file": "WarehouseClient/DeleteAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteAnnotation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteAnnotation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteAsset_sync", - "title": "warehouse-visionai DeleteAsset Sample", - "description": "DeleteAsset deletes asset inside corpus.", - "file": "WarehouseClient/DeleteAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteAssetOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteAsset" }, + "description": "DeleteAsset deletes asset inside corpus.", + "file": "WarehouseClient/DeleteAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteAsset_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteCollection_sync", - "title": "warehouse-visionai DeleteCollection Sample", - "description": "DeleteCollection deletes a collection.", - "file": "WarehouseClient/DeleteCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCollection", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteCollection", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCollection", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteCollectionRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteCollectionOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteCollection", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCollection", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteCollection" }, + "description": "DeleteCollection deletes a collection.", + "file": "WarehouseClient/DeleteCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteCollection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteCollection Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteCorpus_sync", - "title": "warehouse-visionai DeleteCorpus Sample", - "description": "DeleteCorpus deletes a corpus only if its empty.\nReturns empty response.", - "file": "WarehouseClient/DeleteCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCorpus", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteCorpus", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCorpus", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteCorpusRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteCorpus", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCorpus", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteCorpus" }, + "description": "DeleteCorpus deletes a corpus only if its empty.\nReturns empty response.", + "file": "WarehouseClient/DeleteCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteCorpus_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteCorpus Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteDataSchema_sync", - "title": "warehouse-visionai DeleteDataSchema Sample", - "description": "DeleteDataSchema deletes data schema inside corpus.", - "file": "WarehouseClient/DeleteDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDataSchema", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteDataSchema", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteDataSchema", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteDataSchemaRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteDataSchema", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteDataSchema", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteDataSchema" }, + "description": "DeleteDataSchema deletes data schema inside corpus.", + "file": "WarehouseClient/DeleteDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteDataSchema_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteDataSchema Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteIndex_sync", - "title": "warehouse-visionai DeleteIndex Sample", - "description": "DeleteIndex delete a single Index. In order to delete an index, the caller must\nmake sure that it is not deployed to any index endpoint.", - "file": "WarehouseClient/DeleteIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndex", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteIndex", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndex", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteIndexRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteIndex", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndex", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteIndex" }, + "description": "DeleteIndex delete a single Index. In order to delete an index, the caller must\nmake sure that it is not deployed to any index endpoint.", + "file": "WarehouseClient/DeleteIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteIndex_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteIndex Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteIndexEndpoint_sync", - "title": "warehouse-visionai DeleteIndexEndpoint Sample", - "description": "DeleteIndexEndpoint deletes an IndexEndpoint.", - "file": "WarehouseClient/DeleteIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteIndexEndpoint", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteIndexEndpoint", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndexEndpoint", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteIndexEndpointOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteIndexEndpoint", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndexEndpoint", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteIndexEndpoint" }, + "description": "DeleteIndexEndpoint deletes an IndexEndpoint.", + "file": "WarehouseClient/DeleteIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteIndexEndpoint Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteOperation_sync", - "title": "warehouse-visionai DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "WarehouseClient/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "WarehouseClient/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteOperation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteSearchConfig_sync", - "title": "warehouse-visionai DeleteSearchConfig Sample", - "description": "DeleteSearchConfig deletes a search configuration inside a corpus.\n\nFor a DeleteSearchConfigRequest to be valid,\nRequest.search_configuration.name must already exist.", - "file": "WarehouseClient/DeleteSearchConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSearchConfig", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteSearchConfig", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchConfig", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteSearchConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteSearchConfigRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteSearchConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteSearchConfig", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchConfig", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteSearchConfig" }, + "description": "DeleteSearchConfig deletes a search configuration inside a corpus.\n\nFor a DeleteSearchConfigRequest to be valid,\nRequest.search_configuration.name must already exist.", + "file": "WarehouseClient/DeleteSearchConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteSearchConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteSearchConfig Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteSearchHypernym_sync", - "title": "warehouse-visionai DeleteSearchHypernym Sample", - "description": "DeleteSearchHypernym deletes a SearchHypernym inside a corpus.", - "file": "WarehouseClient/DeleteSearchHypernym/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSearchHypernym", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeleteSearchHypernym", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchHypernym", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeleteSearchHypernym" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeleteSearchHypernymRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeleteSearchHypernymRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeleteSearchHypernym", - "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchHypernym", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeleteSearchHypernym" }, + "description": "DeleteSearchHypernym deletes a SearchHypernym inside a corpus.", + "file": "WarehouseClient/DeleteSearchHypernym/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeleteSearchHypernym_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeleteSearchHypernym Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeployIndex_sync", - "title": "warehouse-visionai DeployIndex Sample", - "description": "DeployIndex deploys an Index to IndexEndpoint.", - "file": "WarehouseClient/DeployIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeployIndex", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.DeployIndex", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.DeployIndex", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "DeployIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.DeployIndexRequest", - "name": "req" + "name": "req", + "type": "visionaipb.DeployIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeployIndexOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "DeployIndex", - "fullName": "google.cloud.visionai.v1.Warehouse.DeployIndex", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "DeployIndex" }, + "description": "DeployIndex deploys an Index to IndexEndpoint.", + "file": "WarehouseClient/DeployIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_DeployIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai DeployIndex Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GenerateHlsUri_sync", - "title": "warehouse-visionai GenerateHlsUri Sample", - "description": "GenerateHlsUri generates a uri for an HLS manifest. The api takes in a collection of time\nranges, and generates a URI for an HLS manifest that covers all the\nrequested time ranges.", - "file": "WarehouseClient/GenerateHlsUri/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateHlsUri", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GenerateHlsUri", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GenerateHlsUri", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GenerateHlsUri" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GenerateHlsUriRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GenerateHlsUriRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.GenerateHlsUriResponse", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GenerateHlsUri", - "fullName": "google.cloud.visionai.v1.Warehouse.GenerateHlsUri", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GenerateHlsUri" }, + "description": "GenerateHlsUri generates a uri for an HLS manifest. The api takes in a collection of time\nranges, and generates a URI for an HLS manifest that covers all the\nrequested time ranges.", + "file": "WarehouseClient/GenerateHlsUri/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GenerateHlsUri_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GenerateHlsUri Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GenerateRetrievalUrl_sync", - "title": "warehouse-visionai GenerateRetrievalUrl Sample", - "description": "GenerateRetrievalUrl generates a signed url for downloading the asset.\nFor video warehouse, please see comment of UploadAsset about how to allow\nretrieval of cloud storage files in a different project.", - "file": "WarehouseClient/GenerateRetrievalUrl/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateRetrievalUrl", - "fullName": "google.cloud.visionai.v1.WarehouseClient.GenerateRetrievalUrl", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "visionaipb.GenerateRetrievalUrlRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*visionaipb.GenerateRetrievalUrlResponse", "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" }, + "fullName": "google.cloud.visionai.v1.WarehouseClient.GenerateRetrievalUrl", "method": { - "shortName": "GenerateRetrievalUrl", "fullName": "google.cloud.visionai.v1.Warehouse.GenerateRetrievalUrl", "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GenerateRetrievalUrl" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "visionaipb.GenerateRetrievalUrlRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*visionaipb.GenerateRetrievalUrlResponse", + "shortName": "GenerateRetrievalUrl" }, + "description": "GenerateRetrievalUrl generates a signed url for downloading the asset.\nFor video warehouse, please see comment of UploadAsset about how to allow\nretrieval of cloud storage files in a different project.", + "file": "WarehouseClient/GenerateRetrievalUrl/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GenerateRetrievalUrl_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GenerateRetrievalUrl Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetAnnotation_sync", - "title": "warehouse-visionai GetAnnotation Sample", - "description": "GetAnnotation reads annotation inside asset.", - "file": "WarehouseClient/GetAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAnnotation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetAnnotation", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetAnnotation", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetAnnotationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Annotation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetAnnotation", - "fullName": "google.cloud.visionai.v1.Warehouse.GetAnnotation", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetAnnotation" }, + "description": "GetAnnotation reads annotation inside asset.", + "file": "WarehouseClient/GetAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetAnnotation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetAsset_sync", - "title": "warehouse-visionai GetAsset Sample", - "description": "GetAsset reads an asset inside corpus.", - "file": "WarehouseClient/GetAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Asset", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.GetAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetAsset" }, + "description": "GetAsset reads an asset inside corpus.", + "file": "WarehouseClient/GetAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetCollection_sync", - "title": "warehouse-visionai GetCollection Sample", - "description": "GetCollection gets a collection.", - "file": "WarehouseClient/GetCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCollection", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetCollection", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetCollection", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetCollectionRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Collection", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetCollection", - "fullName": "google.cloud.visionai.v1.Warehouse.GetCollection", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetCollection" }, + "description": "GetCollection gets a collection.", + "file": "WarehouseClient/GetCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetCollection Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetCorpus_sync", - "title": "warehouse-visionai GetCorpus Sample", - "description": "GetCorpus gets corpus details inside a project.", - "file": "WarehouseClient/GetCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCorpus", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetCorpus", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetCorpus", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetCorpusRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Corpus", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetCorpus", - "fullName": "google.cloud.visionai.v1.Warehouse.GetCorpus", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetCorpus" }, + "description": "GetCorpus gets corpus details inside a project.", + "file": "WarehouseClient/GetCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetCorpus Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetDataSchema_sync", - "title": "warehouse-visionai GetDataSchema Sample", - "description": "GetDataSchema gets data schema inside corpus.", - "file": "WarehouseClient/GetDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDataSchema", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetDataSchema", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetDataSchema", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetDataSchemaRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.DataSchema", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetDataSchema", - "fullName": "google.cloud.visionai.v1.Warehouse.GetDataSchema", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetDataSchema" }, + "description": "GetDataSchema gets data schema inside corpus.", + "file": "WarehouseClient/GetDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetDataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetDataSchema Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetIndex_sync", - "title": "warehouse-visionai GetIndex Sample", - "description": "GetIndex gets the details of a single Index under a Corpus.", - "file": "WarehouseClient/GetIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndex", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetIndex", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetIndex", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetIndexRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Index", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetIndex", - "fullName": "google.cloud.visionai.v1.Warehouse.GetIndex", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetIndex" }, + "description": "GetIndex gets the details of a single Index under a Corpus.", + "file": "WarehouseClient/GetIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetIndex_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetIndex Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetIndexEndpoint_sync", - "title": "warehouse-visionai GetIndexEndpoint Sample", - "description": "GetIndexEndpoint gets an IndexEndpoint.", - "file": "WarehouseClient/GetIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetIndexEndpoint", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetIndexEndpoint", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetIndexEndpoint", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.IndexEndpoint", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetIndexEndpoint", - "fullName": "google.cloud.visionai.v1.Warehouse.GetIndexEndpoint", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetIndexEndpoint" }, + "description": "GetIndexEndpoint gets an IndexEndpoint.", + "file": "WarehouseClient/GetIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetIndexEndpoint Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetLocation_sync", - "title": "warehouse-visionai GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "WarehouseClient/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "WarehouseClient/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetLocation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetOperation_sync", - "title": "warehouse-visionai GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "WarehouseClient/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "WarehouseClient/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetOperation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetSearchConfig_sync", - "title": "warehouse-visionai GetSearchConfig Sample", - "description": "GetSearchConfig gets a search configuration inside a corpus.", - "file": "WarehouseClient/GetSearchConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSearchConfig", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetSearchConfig", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchConfig", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetSearchConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetSearchConfigRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetSearchConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.SearchConfig", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetSearchConfig", - "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchConfig", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetSearchConfig" }, + "description": "GetSearchConfig gets a search configuration inside a corpus.", + "file": "WarehouseClient/GetSearchConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetSearchConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetSearchConfig Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetSearchHypernym_sync", - "title": "warehouse-visionai GetSearchHypernym Sample", - "description": "GetSearchHypernym gets a SearchHypernym inside a corpus.", - "file": "WarehouseClient/GetSearchHypernym/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSearchHypernym", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.GetSearchHypernym", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchHypernym", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "GetSearchHypernym" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.GetSearchHypernymRequest", - "name": "req" + "name": "req", + "type": "visionaipb.GetSearchHypernymRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.SearchHypernym", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "GetSearchHypernym", - "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchHypernym", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "GetSearchHypernym" }, + "description": "GetSearchHypernym gets a SearchHypernym inside a corpus.", + "file": "WarehouseClient/GetSearchHypernym/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_GetSearchHypernym_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai GetSearchHypernym Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ImportAssets_sync", - "title": "warehouse-visionai ImportAssets Sample", - "description": "ImportAssets imports assets (images plus annotations) from a meta file on cloud storage.\nEach row in the meta file is corresponding to an image (specified by a\ncloud storage uri) and its annotations.", - "file": "WarehouseClient/ImportAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ImportAssets", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ImportAssets", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ImportAssets", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ImportAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ImportAssetsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ImportAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImportAssetsOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ImportAssets", - "fullName": "google.cloud.visionai.v1.Warehouse.ImportAssets", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ImportAssets" }, + "description": "ImportAssets imports assets (images plus annotations) from a meta file on cloud storage.\nEach row in the meta file is corresponding to an image (specified by a\ncloud storage uri) and its annotations.", + "file": "WarehouseClient/ImportAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ImportAssets_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ImportAssets Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_IndexAsset_sync", - "title": "warehouse-visionai IndexAsset Sample", - "description": "IndexAsset index one asset for search.\nSupported corpus type: Corpus.Type.VIDEO_ON_DEMAND", - "file": "WarehouseClient/IndexAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "IndexAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.IndexAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.IndexAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "IndexAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.IndexAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.IndexAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexAssetOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "IndexAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.IndexAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "IndexAsset" }, + "description": "IndexAsset index one asset for search.\nSupported corpus type: Corpus.Type.VIDEO_ON_DEMAND", + "file": "WarehouseClient/IndexAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_IndexAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai IndexAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_IngestAsset_sync", - "title": "warehouse-visionai IngestAsset Sample", - "description": "IngestAsset ingests data for the asset. It is not allowed to ingest a data chunk which\nis already expired according to TTL.\nThis method is only available via the gRPC API (not HTTP since\nbi-directional streaming is not supported via HTTP).\n\n\nThis method is not supported for the REST transport.", - "file": "WarehouseClient/IngestAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "IngestAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.IngestAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.IngestAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "IngestAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "visionaipb.Warehouse_IngestAssetClient", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "IngestAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.IngestAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "IngestAsset" }, + "description": "IngestAsset ingests data for the asset. It is not allowed to ingest a data chunk which\nis already expired according to TTL.\nThis method is only available via the gRPC API (not HTTP since\nbi-directional streaming is not supported via HTTP).\n\n\nThis method is not supported for the REST transport.", + "file": "WarehouseClient/IngestAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_IngestAsset_sync", "segments": [ { - "start": 18, "end": 69, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai IngestAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListAnnotations_sync", - "title": "warehouse-visionai ListAnnotations Sample", - "description": "ListAnnotations lists a list of annotations inside asset.", - "file": "WarehouseClient/ListAnnotations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAnnotations", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListAnnotations", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListAnnotations", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListAnnotations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListAnnotationsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListAnnotationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AnnotationIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListAnnotations", - "fullName": "google.cloud.visionai.v1.Warehouse.ListAnnotations", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListAnnotations" }, + "description": "ListAnnotations lists a list of annotations inside asset.", + "file": "WarehouseClient/ListAnnotations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListAnnotations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListAnnotations Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListAssets_sync", - "title": "warehouse-visionai ListAssets Sample", - "description": "ListAssets lists an list of assets inside corpus.", - "file": "WarehouseClient/ListAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListAssets", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListAssets", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListAssets", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListAssetsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AssetIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListAssets", - "fullName": "google.cloud.visionai.v1.Warehouse.ListAssets", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListAssets" }, + "description": "ListAssets lists an list of assets inside corpus.", + "file": "WarehouseClient/ListAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListAssets Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListCollections_sync", - "title": "warehouse-visionai ListCollections Sample", - "description": "ListCollections lists collections inside a corpus.", - "file": "WarehouseClient/ListCollections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCollections", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListCollections", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListCollections", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListCollections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListCollectionsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListCollectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CollectionIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListCollections", - "fullName": "google.cloud.visionai.v1.Warehouse.ListCollections", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListCollections" }, + "description": "ListCollections lists collections inside a corpus.", + "file": "WarehouseClient/ListCollections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListCollections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListCollections Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListCorpora_sync", - "title": "warehouse-visionai ListCorpora Sample", - "description": "ListCorpora lists all corpora in a project.", - "file": "WarehouseClient/ListCorpora/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCorpora", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListCorpora", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListCorpora", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListCorpora" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListCorporaRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListCorporaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CorpusIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListCorpora", - "fullName": "google.cloud.visionai.v1.Warehouse.ListCorpora", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListCorpora" }, + "description": "ListCorpora lists all corpora in a project.", + "file": "WarehouseClient/ListCorpora/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListCorpora_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListCorpora Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListDataSchemas_sync", - "title": "warehouse-visionai ListDataSchemas Sample", - "description": "ListDataSchemas lists a list of data schemas inside corpus.", - "file": "WarehouseClient/ListDataSchemas/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDataSchemas", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListDataSchemas", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListDataSchemas", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListDataSchemas" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListDataSchemasRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListDataSchemasRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DataSchemaIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListDataSchemas", - "fullName": "google.cloud.visionai.v1.Warehouse.ListDataSchemas", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListDataSchemas" }, + "description": "ListDataSchemas lists a list of data schemas inside corpus.", + "file": "WarehouseClient/ListDataSchemas/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListDataSchemas_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListDataSchemas Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListIndexEndpoints_sync", - "title": "warehouse-visionai ListIndexEndpoints Sample", - "description": "ListIndexEndpoints lists all IndexEndpoints in a project.", - "file": "WarehouseClient/ListIndexEndpoints/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexEndpoints", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListIndexEndpoints", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexEndpoints", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListIndexEndpoints" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListIndexEndpointsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListIndexEndpointsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexEndpointIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListIndexEndpoints", - "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexEndpoints", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListIndexEndpoints" }, + "description": "ListIndexEndpoints lists all IndexEndpoints in a project.", + "file": "WarehouseClient/ListIndexEndpoints/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListIndexEndpoints_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListIndexEndpoints Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListIndexes_sync", - "title": "warehouse-visionai ListIndexes Sample", - "description": "ListIndexes list all Indexes in a given Corpus.", - "file": "WarehouseClient/ListIndexes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListIndexes", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListIndexes", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexes", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListIndexes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListIndexesRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListIndexesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "IndexIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListIndexes", - "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexes", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "IndexIterator", + "shortName": "ListIndexes" }, + "description": "ListIndexes list all Indexes in a given Corpus.", + "file": "WarehouseClient/ListIndexes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListIndexes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListIndexes Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListLocations_sync", - "title": "warehouse-visionai ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "WarehouseClient/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "WarehouseClient/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListLocations Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListOperations_sync", - "title": "warehouse-visionai ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "WarehouseClient/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "WarehouseClient/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListOperations Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListSearchConfigs_sync", - "title": "warehouse-visionai ListSearchConfigs Sample", - "description": "ListSearchConfigs lists all search configurations inside a corpus.", - "file": "WarehouseClient/ListSearchConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSearchConfigs", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListSearchConfigs", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchConfigs", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListSearchConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListSearchConfigsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListSearchConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchConfigIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListSearchConfigs", - "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchConfigs", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListSearchConfigs" }, + "description": "ListSearchConfigs lists all search configurations inside a corpus.", + "file": "WarehouseClient/ListSearchConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListSearchConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListSearchConfigs Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListSearchHypernyms_sync", - "title": "warehouse-visionai ListSearchHypernyms Sample", - "description": "ListSearchHypernyms lists SearchHypernyms inside a corpus.", - "file": "WarehouseClient/ListSearchHypernyms/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSearchHypernyms", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ListSearchHypernyms", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchHypernyms", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ListSearchHypernyms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ListSearchHypernymsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ListSearchHypernymsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchHypernymIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ListSearchHypernyms", - "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchHypernyms", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ListSearchHypernyms" }, + "description": "ListSearchHypernyms lists SearchHypernyms inside a corpus.", + "file": "WarehouseClient/ListSearchHypernyms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ListSearchHypernyms_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ListSearchHypernyms Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_RemoveCollectionItem_sync", - "title": "warehouse-visionai RemoveCollectionItem Sample", - "description": "RemoveCollectionItem removes an item from a collection.", - "file": "WarehouseClient/RemoveCollectionItem/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveCollectionItem", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.RemoveCollectionItem", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.RemoveCollectionItem", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "RemoveCollectionItem" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.RemoveCollectionItemRequest", - "name": "req" + "name": "req", + "type": "visionaipb.RemoveCollectionItemRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.RemoveCollectionItemResponse", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "RemoveCollectionItem", - "fullName": "google.cloud.visionai.v1.Warehouse.RemoveCollectionItem", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "RemoveCollectionItem" }, + "description": "RemoveCollectionItem removes an item from a collection.", + "file": "WarehouseClient/RemoveCollectionItem/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_RemoveCollectionItem_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai RemoveCollectionItem Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_RemoveIndexAsset_sync", - "title": "warehouse-visionai RemoveIndexAsset Sample", - "description": "RemoveIndexAsset remove one asset's index data for search.\nSupported corpus type: Corpus.Type.VIDEO_ON_DEMAND", - "file": "WarehouseClient/RemoveIndexAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveIndexAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.RemoveIndexAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.RemoveIndexAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "RemoveIndexAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.RemoveIndexAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.RemoveIndexAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveIndexAssetOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "RemoveIndexAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.RemoveIndexAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "RemoveIndexAsset" }, + "description": "RemoveIndexAsset remove one asset's index data for search.\nSupported corpus type: Corpus.Type.VIDEO_ON_DEMAND", + "file": "WarehouseClient/RemoveIndexAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_RemoveIndexAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai RemoveIndexAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_SearchAssets_sync", - "title": "warehouse-visionai SearchAssets Sample", - "description": "SearchAssets search media asset.", - "file": "WarehouseClient/SearchAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchAssets", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.SearchAssets", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.SearchAssets", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "SearchAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.SearchAssetsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.SearchAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultItemIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "SearchAssets", - "fullName": "google.cloud.visionai.v1.Warehouse.SearchAssets", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "SearchAssets" }, + "description": "SearchAssets search media asset.", + "file": "WarehouseClient/SearchAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_SearchAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai SearchAssets Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_SearchIndexEndpoint_sync", - "title": "warehouse-visionai SearchIndexEndpoint Sample", - "description": "SearchIndexEndpoint search a deployed index endpoint (IMAGE corpus type only).", - "file": "WarehouseClient/SearchIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchIndexEndpoint", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.SearchIndexEndpoint", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.SearchIndexEndpoint", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "SearchIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.SearchIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "visionaipb.SearchIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SearchResultItemIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "SearchIndexEndpoint", - "fullName": "google.cloud.visionai.v1.Warehouse.SearchIndexEndpoint", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "SearchIndexEndpoint" }, + "description": "SearchIndexEndpoint search a deployed index endpoint (IMAGE corpus type only).", + "file": "WarehouseClient/SearchIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_SearchIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai SearchIndexEndpoint Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UndeployIndex_sync", - "title": "warehouse-visionai UndeployIndex Sample", - "description": "UndeployIndex undeploys an Index from IndexEndpoint.", - "file": "WarehouseClient/UndeployIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeployIndex", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UndeployIndex", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UndeployIndex", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UndeployIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UndeployIndexRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UndeployIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeployIndexOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UndeployIndex", - "fullName": "google.cloud.visionai.v1.Warehouse.UndeployIndex", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UndeployIndex" }, + "description": "UndeployIndex undeploys an Index from IndexEndpoint.", + "file": "WarehouseClient/UndeployIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UndeployIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UndeployIndex Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateAnnotation_sync", - "title": "warehouse-visionai UpdateAnnotation Sample", - "description": "UpdateAnnotation updates annotation inside asset.", - "file": "WarehouseClient/UpdateAnnotation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAnnotation", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateAnnotation", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAnnotation", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateAnnotation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateAnnotationRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateAnnotationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Annotation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateAnnotation", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAnnotation", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateAnnotation" }, + "description": "UpdateAnnotation updates annotation inside asset.", + "file": "WarehouseClient/UpdateAnnotation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateAnnotation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateAnnotation Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateAsset_sync", - "title": "warehouse-visionai UpdateAsset Sample", - "description": "UpdateAsset updates an asset inside corpus.", - "file": "WarehouseClient/UpdateAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Asset", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateAsset" }, + "description": "UpdateAsset updates an asset inside corpus.", + "file": "WarehouseClient/UpdateAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateAsset_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateCollection_sync", - "title": "warehouse-visionai UpdateCollection Sample", - "description": "UpdateCollection updates a collection.", - "file": "WarehouseClient/UpdateCollection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCollection", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateCollection", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCollection", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateCollection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateCollectionRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateCollectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Collection", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateCollection", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCollection", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateCollection" }, + "description": "UpdateCollection updates a collection.", + "file": "WarehouseClient/UpdateCollection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateCollection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateCollection Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateCorpus_sync", - "title": "warehouse-visionai UpdateCorpus Sample", - "description": "UpdateCorpus updates a corpus in a project.", - "file": "WarehouseClient/UpdateCorpus/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCorpus", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateCorpus", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCorpus", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateCorpus" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateCorpusRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateCorpusRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.Corpus", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateCorpus", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCorpus", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateCorpus" }, + "description": "UpdateCorpus updates a corpus in a project.", + "file": "WarehouseClient/UpdateCorpus/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateCorpus_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateCorpus Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateDataSchema_sync", - "title": "warehouse-visionai UpdateDataSchema Sample", - "description": "UpdateDataSchema updates data schema inside corpus.", - "file": "WarehouseClient/UpdateDataSchema/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDataSchema", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateDataSchema", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateDataSchema", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateDataSchema" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateDataSchemaRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateDataSchemaRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.DataSchema", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateDataSchema", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateDataSchema", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateDataSchema" }, + "description": "UpdateDataSchema updates data schema inside corpus.", + "file": "WarehouseClient/UpdateDataSchema/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateDataSchema_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateDataSchema Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateIndex_sync", - "title": "warehouse-visionai UpdateIndex Sample", - "description": "UpdateIndex updates an Index under the corpus.\nUsers can perform a metadata-only update or trigger a full index rebuild\nwith different update_mask values.", - "file": "WarehouseClient/UpdateIndex/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIndex", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateIndex", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndex", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateIndex" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateIndexRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateIndexRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateIndexOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateIndex", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndex", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateIndex" }, + "description": "UpdateIndex updates an Index under the corpus.\nUsers can perform a metadata-only update or trigger a full index rebuild\nwith different update_mask values.", + "file": "WarehouseClient/UpdateIndex/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateIndex_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateIndex Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateIndexEndpoint_sync", - "title": "warehouse-visionai UpdateIndexEndpoint Sample", - "description": "UpdateIndexEndpoint updates an IndexEndpoint.", - "file": "WarehouseClient/UpdateIndexEndpoint/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateIndexEndpoint", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateIndexEndpoint", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndexEndpoint", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateIndexEndpoint" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateIndexEndpointRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateIndexEndpointRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateIndexEndpointOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateIndexEndpoint", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndexEndpoint", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateIndexEndpoint" }, + "description": "UpdateIndexEndpoint updates an IndexEndpoint.", + "file": "WarehouseClient/UpdateIndexEndpoint/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateIndexEndpoint_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateIndexEndpoint Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateSearchConfig_sync", - "title": "warehouse-visionai UpdateSearchConfig Sample", - "description": "UpdateSearchConfig updates a search configuration inside a corpus.\n\nPlease follow the rules below to create a valid UpdateSearchConfigRequest.\n--- General Rules ---\n1. Request.search_configuration.name must already exist.\n2. Request must contain at least one non-empty search_criteria_property or\nfacet_property.\n3. mapped_fields must not be empty, and must map to existing UGA keys.\n4. All mapped_fields must be of the same type.\n5. All mapped_fields must share the same granularity.\n6. All mapped_fields must share the same semantic SearchConfig match\noptions.\nFor property-specific rules, please reference the comments for\nFacetProperty and SearchCriteriaProperty.", - "file": "WarehouseClient/UpdateSearchConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSearchConfig", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateSearchConfig", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchConfig", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateSearchConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateSearchConfigRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateSearchConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.SearchConfig", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateSearchConfig", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchConfig", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateSearchConfig" }, + "description": "UpdateSearchConfig updates a search configuration inside a corpus.\n\nPlease follow the rules below to create a valid UpdateSearchConfigRequest.\n--- General Rules ---\n1. Request.search_configuration.name must already exist.\n2. Request must contain at least one non-empty search_criteria_property or\nfacet_property.\n3. mapped_fields must not be empty, and must map to existing UGA keys.\n4. All mapped_fields must be of the same type.\n5. All mapped_fields must share the same granularity.\n6. All mapped_fields must share the same semantic SearchConfig match\noptions.\nFor property-specific rules, please reference the comments for\nFacetProperty and SearchCriteriaProperty.", + "file": "WarehouseClient/UpdateSearchConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateSearchConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateSearchConfig Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateSearchHypernym_sync", - "title": "warehouse-visionai UpdateSearchHypernym Sample", - "description": "UpdateSearchHypernym updates a SearchHypernym inside a corpus.", - "file": "WarehouseClient/UpdateSearchHypernym/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSearchHypernym", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UpdateSearchHypernym", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchHypernym", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UpdateSearchHypernym" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UpdateSearchHypernymRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UpdateSearchHypernymRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*visionaipb.SearchHypernym", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UpdateSearchHypernym", - "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchHypernym", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UpdateSearchHypernym" }, + "description": "UpdateSearchHypernym updates a SearchHypernym inside a corpus.", + "file": "WarehouseClient/UpdateSearchHypernym/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UpdateSearchHypernym_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UpdateSearchHypernym Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_UploadAsset_sync", - "title": "warehouse-visionai UploadAsset Sample", - "description": "UploadAsset upload asset by specifing the asset Cloud Storage uri.\nFor video warehouse, it requires users who call this API have read access\nto the cloud storage file. Once it is uploaded, it can be retrieved by\nGenerateRetrievalUrl API which by default, only can retrieve cloud storage\nfiles from the same project of the warehouse. To allow retrieval cloud\nstorage files that are in a separate project, it requires to find the\nvision ai service account (Go to IAM, check checkbox to show \"Include\nGoogle-provided role grants\", search for \"Cloud Vision AI Service Agent\")\nand grant the read access of the cloud storage files to that service\naccount.", - "file": "WarehouseClient/UploadAsset/main.go", - "language": "GO", "clientMethod": { - "shortName": "UploadAsset", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.UploadAsset", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.UploadAsset", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "UploadAsset" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.UploadAssetRequest", - "name": "req" + "name": "req", + "type": "visionaipb.UploadAssetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UploadAssetOperation", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "UploadAsset", - "fullName": "google.cloud.visionai.v1.Warehouse.UploadAsset", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "UploadAsset" }, + "description": "UploadAsset upload asset by specifing the asset Cloud Storage uri.\nFor video warehouse, it requires users who call this API have read access\nto the cloud storage file. Once it is uploaded, it can be retrieved by\nGenerateRetrievalUrl API which by default, only can retrieve cloud storage\nfiles from the same project of the warehouse. To allow retrieval cloud\nstorage files that are in a separate project, it requires to find the\nvision ai service account (Go to IAM, check checkbox to show \"Include\nGoogle-provided role grants\", search for \"Cloud Vision AI Service Agent\")\nand grant the read access of the cloud storage files to that service\naccount.", + "file": "WarehouseClient/UploadAsset/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_UploadAsset_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai UploadAsset Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ViewCollectionItems_sync", - "title": "warehouse-visionai ViewCollectionItems Sample", - "description": "ViewCollectionItems view items inside a collection.", - "file": "WarehouseClient/ViewCollectionItems/main.go", - "language": "GO", "clientMethod": { - "shortName": "ViewCollectionItems", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ViewCollectionItems", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ViewCollectionItems", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ViewCollectionItems" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ViewCollectionItemsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ViewCollectionItemsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CollectionItemIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ViewCollectionItems", - "fullName": "google.cloud.visionai.v1.Warehouse.ViewCollectionItems", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ViewCollectionItems" }, + "description": "ViewCollectionItems view items inside a collection.", + "file": "WarehouseClient/ViewCollectionItems/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ViewCollectionItems_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ViewCollectionItems Sample" }, { - "regionTag": "warehouse-visionai_v1_generated_Warehouse_ViewIndexedAssets_sync", - "title": "warehouse-visionai ViewIndexedAssets Sample", - "description": "ViewIndexedAssets lists assets inside an index.", - "file": "WarehouseClient/ViewIndexedAssets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ViewIndexedAssets", + "client": { + "fullName": "google.cloud.visionai.v1.WarehouseClient", + "shortName": "WarehouseClient" + }, "fullName": "google.cloud.visionai.v1.WarehouseClient.ViewIndexedAssets", + "method": { + "fullName": "google.cloud.visionai.v1.Warehouse.ViewIndexedAssets", + "service": { + "fullName": "google.cloud.visionai.v1.Warehouse", + "shortName": "Warehouse" + }, + "shortName": "ViewIndexedAssets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "visionaipb.ViewIndexedAssetsRequest", - "name": "req" + "name": "req", + "type": "visionaipb.ViewIndexedAssetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "IndexedAssetIterator", - "client": { - "shortName": "WarehouseClient", - "fullName": "google.cloud.visionai.v1.WarehouseClient" - }, - "method": { - "shortName": "ViewIndexedAssets", - "fullName": "google.cloud.visionai.v1.Warehouse.ViewIndexedAssets", - "service": { - "shortName": "Warehouse", - "fullName": "google.cloud.visionai.v1.Warehouse" - } - } + "shortName": "ViewIndexedAssets" }, + "description": "ViewIndexedAssets lists assets inside an index.", + "file": "WarehouseClient/ViewIndexedAssets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "warehouse-visionai_v1_generated_Warehouse_ViewIndexedAssets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "warehouse-visionai ViewIndexedAssets Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json b/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json index 2bc471eae1c4..36c7a36d96a9 100644 --- a/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json +++ b/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json @@ -1,3141 +1,3141 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vmmigration/apiv1", - "version": "1.10.0", - "language": "GO", "apis": [ { "id": "google.cloud.vmmigration.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vmmigration/apiv1", + "version": "1.10.0" }, "snippets": [ { - "regionTag": "vmmigration_v1_generated_VmMigration_AddGroupMigration_sync", - "title": "vmmigration AddGroupMigration Sample", - "description": "AddGroupMigration adds a MigratingVm to a Group.", - "file": "Client/AddGroupMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "AddGroupMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.AddGroupMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.AddGroupMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "AddGroupMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.AddGroupMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.AddGroupMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "AddGroupMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "AddGroupMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.AddGroupMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "AddGroupMigration" }, + "description": "AddGroupMigration adds a MigratingVm to a Group.", + "file": "Client/AddGroupMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_AddGroupMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration AddGroupMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CancelCloneJob_sync", - "title": "vmmigration CancelCloneJob Sample", - "description": "CancelCloneJob initiates the cancellation of a running clone job.", - "file": "Client/CancelCloneJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelCloneJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CancelCloneJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelCloneJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CancelCloneJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CancelCloneJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CancelCloneJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelCloneJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CancelCloneJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelCloneJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CancelCloneJob" }, + "description": "CancelCloneJob initiates the cancellation of a running clone job.", + "file": "Client/CancelCloneJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelCloneJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CancelCloneJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CancelCutoverJob_sync", - "title": "vmmigration CancelCutoverJob Sample", - "description": "CancelCutoverJob initiates the cancellation of a running cutover job.", - "file": "Client/CancelCutoverJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelCutoverJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CancelCutoverJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelCutoverJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CancelCutoverJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CancelCutoverJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CancelCutoverJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelCutoverJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CancelCutoverJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelCutoverJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CancelCutoverJob" }, + "description": "CancelCutoverJob initiates the cancellation of a running cutover job.", + "file": "Client/CancelCutoverJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelCutoverJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CancelCutoverJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CancelDiskMigrationJob_sync", - "title": "vmmigration CancelDiskMigrationJob Sample", - "description": "CancelDiskMigrationJob cancels the disk migration job.", - "file": "Client/CancelDiskMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelDiskMigrationJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CancelDiskMigrationJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelDiskMigrationJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CancelDiskMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CancelDiskMigrationJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CancelDiskMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelDiskMigrationJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CancelDiskMigrationJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelDiskMigrationJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CancelDiskMigrationJob" }, + "description": "CancelDiskMigrationJob cancels the disk migration job.", + "file": "Client/CancelDiskMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelDiskMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CancelDiskMigrationJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CancelImageImportJob_sync", - "title": "vmmigration CancelImageImportJob Sample", - "description": "CancelImageImportJob initiates the cancellation of a running ImageImportJob.", - "file": "Client/CancelImageImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelImageImportJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CancelImageImportJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelImageImportJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CancelImageImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CancelImageImportJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CancelImageImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CancelImageImportJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CancelImageImportJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CancelImageImportJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CancelImageImportJob" }, + "description": "CancelImageImportJob initiates the cancellation of a running ImageImportJob.", + "file": "Client/CancelImageImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelImageImportJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CancelImageImportJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CancelOperation_sync", - "title": "vmmigration CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CancelOperation Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateCloneJob_sync", - "title": "vmmigration CreateCloneJob Sample", - "description": "CreateCloneJob initiates a Clone of a specific migrating VM.", - "file": "Client/CreateCloneJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCloneJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateCloneJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateCloneJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateCloneJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateCloneJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateCloneJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCloneJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateCloneJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateCloneJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateCloneJob" }, + "description": "CreateCloneJob initiates a Clone of a specific migrating VM.", + "file": "Client/CreateCloneJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateCloneJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateCloneJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateCutoverJob_sync", - "title": "vmmigration CreateCutoverJob Sample", - "description": "CreateCutoverJob initiates a Cutover of a specific migrating VM.\nThe returned LRO is completed when the cutover job resource is created\nand the job is initiated.", - "file": "Client/CreateCutoverJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCutoverJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateCutoverJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateCutoverJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateCutoverJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateCutoverJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateCutoverJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateCutoverJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateCutoverJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateCutoverJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateCutoverJob" }, + "description": "CreateCutoverJob initiates a Cutover of a specific migrating VM.\nThe returned LRO is completed when the cutover job resource is created\nand the job is initiated.", + "file": "Client/CreateCutoverJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateCutoverJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateCutoverJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_sync", - "title": "vmmigration CreateDatacenterConnector Sample", - "description": "CreateDatacenterConnector creates a new DatacenterConnector in a given Source.", - "file": "Client/CreateDatacenterConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDatacenterConnector", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateDatacenterConnector", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateDatacenterConnector", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateDatacenterConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateDatacenterConnectorRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateDatacenterConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDatacenterConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateDatacenterConnector", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateDatacenterConnector", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateDatacenterConnector" }, + "description": "CreateDatacenterConnector creates a new DatacenterConnector in a given Source.", + "file": "Client/CreateDatacenterConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateDatacenterConnector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateDatacenterConnector Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateDiskMigrationJob_sync", - "title": "vmmigration CreateDiskMigrationJob Sample", - "description": "CreateDiskMigrationJob creates a new disk migration job in a given Source.", - "file": "Client/CreateDiskMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateDiskMigrationJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateDiskMigrationJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateDiskMigrationJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateDiskMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateDiskMigrationJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateDiskMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateDiskMigrationJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateDiskMigrationJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateDiskMigrationJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateDiskMigrationJob" }, + "description": "CreateDiskMigrationJob creates a new disk migration job in a given Source.", + "file": "Client/CreateDiskMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateDiskMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateDiskMigrationJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateGroup_sync", - "title": "vmmigration CreateGroup Sample", - "description": "CreateGroup creates a new Group in a given project and location.", - "file": "Client/CreateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateGroup", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateGroup", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateGroup", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateGroupRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateGroup", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateGroup", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateGroup" }, + "description": "CreateGroup creates a new Group in a given project and location.", + "file": "Client/CreateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateGroup Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateImageImport_sync", - "title": "vmmigration CreateImageImport Sample", - "description": "CreateImageImport creates a new ImageImport in a given project.", - "file": "Client/CreateImageImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateImageImport", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateImageImport", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateImageImport", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateImageImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateImageImportRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateImageImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateImageImportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateImageImport", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateImageImport", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateImageImport" }, + "description": "CreateImageImport creates a new ImageImport in a given project.", + "file": "Client/CreateImageImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateImageImport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateImageImport Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateMigratingVm_sync", - "title": "vmmigration CreateMigratingVm Sample", - "description": "CreateMigratingVm creates a new MigratingVm in a given Source.", - "file": "Client/CreateMigratingVm/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateMigratingVm", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateMigratingVm", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateMigratingVm", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateMigratingVm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateMigratingVmRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateMigratingVmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateMigratingVmOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateMigratingVm", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateMigratingVm", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateMigratingVm" }, + "description": "CreateMigratingVm creates a new MigratingVm in a given Source.", + "file": "Client/CreateMigratingVm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateMigratingVm_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateMigratingVm Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateSource_sync", - "title": "vmmigration CreateSource Sample", - "description": "CreateSource creates a new Source in a given project and location.", - "file": "Client/CreateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSource", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateSource", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateSource", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateSourceRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateSource", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateSource", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateSource" }, + "description": "CreateSource creates a new Source in a given project and location.", + "file": "Client/CreateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateSource Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateTargetProject_sync", - "title": "vmmigration CreateTargetProject Sample", - "description": "CreateTargetProject creates a new TargetProject in a given project.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", - "file": "Client/CreateTargetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateTargetProject", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateTargetProject", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateTargetProject", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateTargetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateTargetProjectRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateTargetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateTargetProjectOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateTargetProject", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateTargetProject", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateTargetProject" }, + "description": "CreateTargetProject creates a new TargetProject in a given project.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", + "file": "Client/CreateTargetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateTargetProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateTargetProject Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_CreateUtilizationReport_sync", - "title": "vmmigration CreateUtilizationReport Sample", - "description": "CreateUtilizationReport creates a new UtilizationReport.", - "file": "Client/CreateUtilizationReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateUtilizationReport", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.CreateUtilizationReport", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateUtilizationReport", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "CreateUtilizationReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.CreateUtilizationReportRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.CreateUtilizationReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateUtilizationReportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "CreateUtilizationReport", - "fullName": "google.cloud.vmmigration.v1.VmMigration.CreateUtilizationReport", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "CreateUtilizationReport" }, + "description": "CreateUtilizationReport creates a new UtilizationReport.", + "file": "Client/CreateUtilizationReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_CreateUtilizationReport_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration CreateUtilizationReport Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_sync", - "title": "vmmigration DeleteDatacenterConnector Sample", - "description": "DeleteDatacenterConnector deletes a single DatacenterConnector.", - "file": "Client/DeleteDatacenterConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDatacenterConnector", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteDatacenterConnector", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteDatacenterConnector", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteDatacenterConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteDatacenterConnectorRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteDatacenterConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDatacenterConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteDatacenterConnector", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteDatacenterConnector", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteDatacenterConnector" }, + "description": "DeleteDatacenterConnector deletes a single DatacenterConnector.", + "file": "Client/DeleteDatacenterConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDatacenterConnector_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteDatacenterConnector Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDiskMigrationJob_sync", - "title": "vmmigration DeleteDiskMigrationJob Sample", - "description": "DeleteDiskMigrationJob deletes a single DiskMigrationJob.", - "file": "Client/DeleteDiskMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteDiskMigrationJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteDiskMigrationJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteDiskMigrationJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteDiskMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteDiskMigrationJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteDiskMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteDiskMigrationJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteDiskMigrationJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteDiskMigrationJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteDiskMigrationJob" }, + "description": "DeleteDiskMigrationJob deletes a single DiskMigrationJob.", + "file": "Client/DeleteDiskMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteDiskMigrationJob_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteDiskMigrationJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteGroup_sync", - "title": "vmmigration DeleteGroup Sample", - "description": "DeleteGroup deletes a single Group.", - "file": "Client/DeleteGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteGroup", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteGroup", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteGroup", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteGroupRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteGroup", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteGroup", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteGroup" }, + "description": "DeleteGroup deletes a single Group.", + "file": "Client/DeleteGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteGroup_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteGroup Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteImageImport_sync", - "title": "vmmigration DeleteImageImport Sample", - "description": "DeleteImageImport deletes a single ImageImport.", - "file": "Client/DeleteImageImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteImageImport", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteImageImport", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteImageImport", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteImageImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteImageImportRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteImageImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteImageImportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteImageImport", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteImageImport", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteImageImport" }, + "description": "DeleteImageImport deletes a single ImageImport.", + "file": "Client/DeleteImageImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteImageImport_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteImageImport Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteMigratingVm_sync", - "title": "vmmigration DeleteMigratingVm Sample", - "description": "DeleteMigratingVm deletes a single MigratingVm.", - "file": "Client/DeleteMigratingVm/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteMigratingVm", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteMigratingVm", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteMigratingVm", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteMigratingVm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteMigratingVmRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteMigratingVmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteMigratingVmOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteMigratingVm", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteMigratingVm", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteMigratingVm" }, + "description": "DeleteMigratingVm deletes a single MigratingVm.", + "file": "Client/DeleteMigratingVm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteMigratingVm_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteMigratingVm Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteOperation_sync", - "title": "vmmigration DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteOperation Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteSource_sync", - "title": "vmmigration DeleteSource Sample", - "description": "DeleteSource deletes a single Source.", - "file": "Client/DeleteSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteSource", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteSource", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteSource", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteSourceRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteSource", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteSource", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteSource" }, + "description": "DeleteSource deletes a single Source.", + "file": "Client/DeleteSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteSource_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteSource Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteTargetProject_sync", - "title": "vmmigration DeleteTargetProject Sample", - "description": "DeleteTargetProject deletes a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", - "file": "Client/DeleteTargetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteTargetProject", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteTargetProject", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteTargetProject", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteTargetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteTargetProjectRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteTargetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteTargetProjectOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteTargetProject", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteTargetProject", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteTargetProject" }, + "description": "DeleteTargetProject deletes a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", + "file": "Client/DeleteTargetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteTargetProject_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteTargetProject Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_sync", - "title": "vmmigration DeleteUtilizationReport Sample", - "description": "DeleteUtilizationReport deletes a single Utilization Report.", - "file": "Client/DeleteUtilizationReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteUtilizationReport", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.DeleteUtilizationReport", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteUtilizationReport", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "DeleteUtilizationReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.DeleteUtilizationReportRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.DeleteUtilizationReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteUtilizationReportOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "DeleteUtilizationReport", - "fullName": "google.cloud.vmmigration.v1.VmMigration.DeleteUtilizationReport", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "DeleteUtilizationReport" }, + "description": "DeleteUtilizationReport deletes a single Utilization Report.", + "file": "Client/DeleteUtilizationReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_DeleteUtilizationReport_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration DeleteUtilizationReport Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ExtendMigration_sync", - "title": "vmmigration ExtendMigration Sample", - "description": "ExtendMigration extend the migrating VM time to live.", - "file": "Client/ExtendMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "ExtendMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ExtendMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ExtendMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ExtendMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ExtendMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ExtendMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExtendMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ExtendMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ExtendMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ExtendMigration" }, + "description": "ExtendMigration extend the migrating VM time to live.", + "file": "Client/ExtendMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ExtendMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ExtendMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_FetchInventory_sync", - "title": "vmmigration FetchInventory Sample", - "description": "FetchInventory list remote source's inventory of VMs.\nThe remote source is the onprem vCenter (remote in the sense it's not in\nCompute Engine). The inventory describes the list of existing VMs in that\nsource. Note that this operation lists the VMs on the remote source, as\nopposed to listing the MigratingVms resources in the vmmigration service.", - "file": "Client/FetchInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchInventory", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.FetchInventory", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.FetchInventory", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "FetchInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.FetchInventoryRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.FetchInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.FetchInventoryResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "FetchInventory", - "fullName": "google.cloud.vmmigration.v1.VmMigration.FetchInventory", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "FetchInventory" }, + "description": "FetchInventory list remote source's inventory of VMs.\nThe remote source is the onprem vCenter (remote in the sense it's not in\nCompute Engine). The inventory describes the list of existing VMs in that\nsource. Note that this operation lists the VMs on the remote source, as\nopposed to listing the MigratingVms resources in the vmmigration service.", + "file": "Client/FetchInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_FetchInventory_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration FetchInventory Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_FetchStorageInventory_sync", - "title": "vmmigration FetchStorageInventory Sample", - "description": "FetchStorageInventory list remote source's inventory of storage resources.\nThe remote source is another cloud vendor (e.g. AWS, Azure).\nThe inventory describes the list of existing storage resources in that\nsource. Note that this operation lists the resources on the remote source,\nas opposed to listing the MigratingVms resources in the vmmigration\nservice.", - "file": "Client/FetchStorageInventory/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchStorageInventory", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.FetchStorageInventory", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.FetchStorageInventory", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "FetchStorageInventory" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.FetchStorageInventoryRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.FetchStorageInventoryRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceStorageResourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "FetchStorageInventory", - "fullName": "google.cloud.vmmigration.v1.VmMigration.FetchStorageInventory", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "FetchStorageInventory" }, + "description": "FetchStorageInventory list remote source's inventory of storage resources.\nThe remote source is another cloud vendor (e.g. AWS, Azure).\nThe inventory describes the list of existing storage resources in that\nsource. Note that this operation lists the resources on the remote source,\nas opposed to listing the MigratingVms resources in the vmmigration\nservice.", + "file": "Client/FetchStorageInventory/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_FetchStorageInventory_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration FetchStorageInventory Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_FinalizeMigration_sync", - "title": "vmmigration FinalizeMigration Sample", - "description": "FinalizeMigration marks a migration as completed, deleting migration resources that are no\nlonger being used. Only applicable after cutover is done.", - "file": "Client/FinalizeMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "FinalizeMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.FinalizeMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.FinalizeMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "FinalizeMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.FinalizeMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.FinalizeMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FinalizeMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "FinalizeMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.FinalizeMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "FinalizeMigration" }, + "description": "FinalizeMigration marks a migration as completed, deleting migration resources that are no\nlonger being used. Only applicable after cutover is done.", + "file": "Client/FinalizeMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_FinalizeMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration FinalizeMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetCloneJob_sync", - "title": "vmmigration GetCloneJob Sample", - "description": "GetCloneJob gets details of a single CloneJob.", - "file": "Client/GetCloneJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCloneJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetCloneJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetCloneJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetCloneJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetCloneJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetCloneJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.CloneJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetCloneJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetCloneJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetCloneJob" }, + "description": "GetCloneJob gets details of a single CloneJob.", + "file": "Client/GetCloneJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetCloneJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetCloneJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetCutoverJob_sync", - "title": "vmmigration GetCutoverJob Sample", - "description": "GetCutoverJob gets details of a single CutoverJob.", - "file": "Client/GetCutoverJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCutoverJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetCutoverJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetCutoverJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetCutoverJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetCutoverJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetCutoverJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.CutoverJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetCutoverJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetCutoverJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetCutoverJob" }, + "description": "GetCutoverJob gets details of a single CutoverJob.", + "file": "Client/GetCutoverJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetCutoverJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetCutoverJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetDatacenterConnector_sync", - "title": "vmmigration GetDatacenterConnector Sample", - "description": "GetDatacenterConnector gets details of a single DatacenterConnector.", - "file": "Client/GetDatacenterConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDatacenterConnector", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetDatacenterConnector", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetDatacenterConnector", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetDatacenterConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetDatacenterConnectorRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetDatacenterConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.DatacenterConnector", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetDatacenterConnector", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetDatacenterConnector", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetDatacenterConnector" }, - "origin": "API_DEFINITION", - "segments": [ + "description": "GetDatacenterConnector gets details of a single DatacenterConnector.", + "file": "Client/GetDatacenterConnector/main.go", + "language": "GO", + "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetDatacenterConnector_sync", + "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetDatacenterConnector Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetDiskMigrationJob_sync", - "title": "vmmigration GetDiskMigrationJob Sample", - "description": "GetDiskMigrationJob gets details of a single DiskMigrationJob.", - "file": "Client/GetDiskMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDiskMigrationJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetDiskMigrationJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetDiskMigrationJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetDiskMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetDiskMigrationJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetDiskMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.DiskMigrationJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetDiskMigrationJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetDiskMigrationJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetDiskMigrationJob" }, + "description": "GetDiskMigrationJob gets details of a single DiskMigrationJob.", + "file": "Client/GetDiskMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetDiskMigrationJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetDiskMigrationJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetGroup_sync", - "title": "vmmigration GetGroup Sample", - "description": "GetGroup gets details of a single Group.", - "file": "Client/GetGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetGroup", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetGroup", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetGroup", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetGroupRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.Group", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetGroup", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetGroup", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetGroup" }, + "description": "GetGroup gets details of a single Group.", + "file": "Client/GetGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetGroup_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetGroup Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetImageImport_sync", - "title": "vmmigration GetImageImport Sample", - "description": "GetImageImport gets details of a single ImageImport.", - "file": "Client/GetImageImport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetImageImport", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetImageImport", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetImageImport", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetImageImport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetImageImportRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetImageImportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.ImageImport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetImageImport", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetImageImport", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetImageImport" }, + "description": "GetImageImport gets details of a single ImageImport.", + "file": "Client/GetImageImport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetImageImport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetImageImport Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetImageImportJob_sync", - "title": "vmmigration GetImageImportJob Sample", - "description": "GetImageImportJob gets details of a single ImageImportJob.", - "file": "Client/GetImageImportJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetImageImportJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetImageImportJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetImageImportJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetImageImportJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetImageImportJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetImageImportJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.ImageImportJob", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetImageImportJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetImageImportJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetImageImportJob" }, + "description": "GetImageImportJob gets details of a single ImageImportJob.", + "file": "Client/GetImageImportJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetImageImportJob_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetImageImportJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetLocation_sync", - "title": "vmmigration GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetLocation Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetMigratingVm_sync", - "title": "vmmigration GetMigratingVm Sample", - "description": "GetMigratingVm gets details of a single MigratingVm.", - "file": "Client/GetMigratingVm/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetMigratingVm", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetMigratingVm", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetMigratingVm", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetMigratingVm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetMigratingVmRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetMigratingVmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.MigratingVm", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetMigratingVm", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetMigratingVm", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetMigratingVm" }, + "description": "GetMigratingVm gets details of a single MigratingVm.", + "file": "Client/GetMigratingVm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetMigratingVm_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetMigratingVm Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetOperation_sync", - "title": "vmmigration GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetOperation Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetReplicationCycle_sync", - "title": "vmmigration GetReplicationCycle Sample", - "description": "GetReplicationCycle gets details of a single ReplicationCycle.", - "file": "Client/GetReplicationCycle/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetReplicationCycle", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetReplicationCycle", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetReplicationCycle", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetReplicationCycle" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetReplicationCycleRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetReplicationCycleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.ReplicationCycle", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetReplicationCycle", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetReplicationCycle", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetReplicationCycle" }, + "description": "GetReplicationCycle gets details of a single ReplicationCycle.", + "file": "Client/GetReplicationCycle/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetReplicationCycle_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetReplicationCycle Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetSource_sync", - "title": "vmmigration GetSource Sample", - "description": "GetSource gets details of a single Source.", - "file": "Client/GetSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSource", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetSource", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetSource", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetSourceRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.Source", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetSource", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetSource", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetSource" }, + "description": "GetSource gets details of a single Source.", + "file": "Client/GetSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetSource_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetSource Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetTargetProject_sync", - "title": "vmmigration GetTargetProject Sample", - "description": "GetTargetProject gets details of a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", - "file": "Client/GetTargetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetTargetProject", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetTargetProject", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetTargetProject", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetTargetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetTargetProjectRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetTargetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.TargetProject", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetTargetProject", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetTargetProject", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetTargetProject" }, + "description": "GetTargetProject gets details of a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", + "file": "Client/GetTargetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetTargetProject_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetTargetProject Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_GetUtilizationReport_sync", - "title": "vmmigration GetUtilizationReport Sample", - "description": "GetUtilizationReport gets a single Utilization Report.", - "file": "Client/GetUtilizationReport/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetUtilizationReport", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.GetUtilizationReport", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.GetUtilizationReport", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "GetUtilizationReport" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.GetUtilizationReportRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.GetUtilizationReportRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmmigrationpb.UtilizationReport", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "GetUtilizationReport", - "fullName": "google.cloud.vmmigration.v1.VmMigration.GetUtilizationReport", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "GetUtilizationReport" }, + "description": "GetUtilizationReport gets a single Utilization Report.", + "file": "Client/GetUtilizationReport/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_GetUtilizationReport_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration GetUtilizationReport Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListCloneJobs_sync", - "title": "vmmigration ListCloneJobs Sample", - "description": "ListCloneJobs lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are\nlisted.", - "file": "Client/ListCloneJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCloneJobs", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListCloneJobs", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListCloneJobs", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListCloneJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListCloneJobsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListCloneJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CloneJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListCloneJobs", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListCloneJobs", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListCloneJobs" }, + "description": "ListCloneJobs lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are\nlisted.", + "file": "Client/ListCloneJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListCloneJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListCloneJobs Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListCutoverJobs_sync", - "title": "vmmigration ListCutoverJobs Sample", - "description": "ListCutoverJobs lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs\nare listed.", - "file": "Client/ListCutoverJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCutoverJobs", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListCutoverJobs", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListCutoverJobs", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListCutoverJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListCutoverJobsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListCutoverJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CutoverJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListCutoverJobs", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListCutoverJobs", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListCutoverJobs" }, + "description": "ListCutoverJobs lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs\nare listed.", + "file": "Client/ListCutoverJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListCutoverJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListCutoverJobs Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_sync", - "title": "vmmigration ListDatacenterConnectors Sample", - "description": "ListDatacenterConnectors lists DatacenterConnectors in a given Source.", - "file": "Client/ListDatacenterConnectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDatacenterConnectors", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListDatacenterConnectors", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListDatacenterConnectors", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListDatacenterConnectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListDatacenterConnectorsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListDatacenterConnectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DatacenterConnectorIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListDatacenterConnectors", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListDatacenterConnectors", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListDatacenterConnectors" }, + "description": "ListDatacenterConnectors lists DatacenterConnectors in a given Source.", + "file": "Client/ListDatacenterConnectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListDatacenterConnectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListDatacenterConnectors Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListDiskMigrationJobs_sync", - "title": "vmmigration ListDiskMigrationJobs Sample", - "description": "ListDiskMigrationJobs lists DiskMigrationJobs in a given Source.", - "file": "Client/ListDiskMigrationJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListDiskMigrationJobs", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListDiskMigrationJobs", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListDiskMigrationJobs", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListDiskMigrationJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListDiskMigrationJobsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListDiskMigrationJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } - ], - "resultType": "DiskMigrationJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListDiskMigrationJobs", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListDiskMigrationJobs", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + ], + "resultType": "DiskMigrationJobIterator", + "shortName": "ListDiskMigrationJobs" }, + "description": "ListDiskMigrationJobs lists DiskMigrationJobs in a given Source.", + "file": "Client/ListDiskMigrationJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListDiskMigrationJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListDiskMigrationJobs Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListGroups_sync", - "title": "vmmigration ListGroups Sample", - "description": "ListGroups lists Groups in a given project and location.", - "file": "Client/ListGroups/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListGroups", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListGroups", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListGroups", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListGroups" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListGroupsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListGroupsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GroupIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListGroups", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListGroups", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListGroups" }, + "description": "ListGroups lists Groups in a given project and location.", + "file": "Client/ListGroups/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListGroups_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListGroups Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListImageImportJobs_sync", - "title": "vmmigration ListImageImportJobs Sample", - "description": "ListImageImportJobs lists ImageImportJobs in a given project.", - "file": "Client/ListImageImportJobs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListImageImportJobs", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListImageImportJobs", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListImageImportJobs", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListImageImportJobs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListImageImportJobsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListImageImportJobsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImageImportJobIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListImageImportJobs", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListImageImportJobs", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListImageImportJobs" }, + "description": "ListImageImportJobs lists ImageImportJobs in a given project.", + "file": "Client/ListImageImportJobs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListImageImportJobs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListImageImportJobs Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListImageImports_sync", - "title": "vmmigration ListImageImports Sample", - "description": "ListImageImports lists ImageImports in a given project.", - "file": "Client/ListImageImports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListImageImports", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListImageImports", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListImageImports", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListImageImports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListImageImportsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListImageImportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ImageImportIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListImageImports", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListImageImports", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListImageImports" }, + "description": "ListImageImports lists ImageImports in a given project.", + "file": "Client/ListImageImports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListImageImports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListImageImports Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListLocations_sync", - "title": "vmmigration ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListLocations Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListMigratingVms_sync", - "title": "vmmigration ListMigratingVms Sample", - "description": "ListMigratingVms lists MigratingVms in a given Source.", - "file": "Client/ListMigratingVms/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListMigratingVms", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListMigratingVms", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListMigratingVms", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListMigratingVms" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListMigratingVmsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListMigratingVmsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "MigratingVmIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListMigratingVms", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListMigratingVms", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListMigratingVms" }, + "description": "ListMigratingVms lists MigratingVms in a given Source.", + "file": "Client/ListMigratingVms/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListMigratingVms_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListMigratingVms Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListOperations_sync", - "title": "vmmigration ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListOperations Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListReplicationCycles_sync", - "title": "vmmigration ListReplicationCycles Sample", - "description": "ListReplicationCycles lists ReplicationCycles in a given MigratingVM.", - "file": "Client/ListReplicationCycles/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListReplicationCycles", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListReplicationCycles", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListReplicationCycles", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListReplicationCycles" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListReplicationCyclesRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListReplicationCyclesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ReplicationCycleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListReplicationCycles", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListReplicationCycles", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListReplicationCycles" }, + "description": "ListReplicationCycles lists ReplicationCycles in a given MigratingVM.", + "file": "Client/ListReplicationCycles/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListReplicationCycles_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListReplicationCycles Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListSources_sync", - "title": "vmmigration ListSources Sample", - "description": "ListSources lists Sources in a given project and location.", - "file": "Client/ListSources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSources", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListSources", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListSources", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListSources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListSourcesRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListSourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListSources", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListSources", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListSources" }, + "description": "ListSources lists Sources in a given project and location.", + "file": "Client/ListSources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListSources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListSources Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListTargetProjects_sync", - "title": "vmmigration ListTargetProjects Sample", - "description": "ListTargetProjects lists TargetProjects in a given project.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", - "file": "Client/ListTargetProjects/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListTargetProjects", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListTargetProjects", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListTargetProjects", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListTargetProjects" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListTargetProjectsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListTargetProjectsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "TargetProjectIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListTargetProjects", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListTargetProjects", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListTargetProjects" }, + "description": "ListTargetProjects lists TargetProjects in a given project.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", + "file": "Client/ListTargetProjects/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListTargetProjects_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListTargetProjects Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ListUtilizationReports_sync", - "title": "vmmigration ListUtilizationReports Sample", - "description": "ListUtilizationReports lists Utilization Reports of the given Source.", - "file": "Client/ListUtilizationReports/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUtilizationReports", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ListUtilizationReports", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ListUtilizationReports", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ListUtilizationReports" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ListUtilizationReportsRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ListUtilizationReportsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UtilizationReportIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ListUtilizationReports", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ListUtilizationReports", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ListUtilizationReports" }, + "description": "ListUtilizationReports lists Utilization Reports of the given Source.", + "file": "Client/ListUtilizationReports/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ListUtilizationReports_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ListUtilizationReports Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_PauseMigration_sync", - "title": "vmmigration PauseMigration Sample", - "description": "PauseMigration pauses a migration for a VM. If cycle tasks are running they will be\ncancelled, preserving source task data. Further replication cycles will not\nbe triggered while the VM is paused.", - "file": "Client/PauseMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "PauseMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.PauseMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.PauseMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "PauseMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.PauseMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.PauseMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PauseMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "PauseMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.PauseMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "PauseMigration" }, + "description": "PauseMigration pauses a migration for a VM. If cycle tasks are running they will be\ncancelled, preserving source task data. Further replication cycles will not\nbe triggered while the VM is paused.", + "file": "Client/PauseMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_PauseMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration PauseMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_RemoveGroupMigration_sync", - "title": "vmmigration RemoveGroupMigration Sample", - "description": "RemoveGroupMigration removes a MigratingVm from a Group.", - "file": "Client/RemoveGroupMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "RemoveGroupMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.RemoveGroupMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.RemoveGroupMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "RemoveGroupMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.RemoveGroupMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.RemoveGroupMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RemoveGroupMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "RemoveGroupMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.RemoveGroupMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "RemoveGroupMigration" }, + "description": "RemoveGroupMigration removes a MigratingVm from a Group.", + "file": "Client/RemoveGroupMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_RemoveGroupMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration RemoveGroupMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_ResumeMigration_sync", - "title": "vmmigration ResumeMigration Sample", - "description": "ResumeMigration resumes a migration for a VM. When called on a paused migration, will start\nthe process of uploading data and creating snapshots; when called on a\ncompleted cut-over migration, will update the migration to active state and\nstart the process of uploading data and creating snapshots.", - "file": "Client/ResumeMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResumeMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.ResumeMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.ResumeMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "ResumeMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.ResumeMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.ResumeMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResumeMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "ResumeMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.ResumeMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "ResumeMigration" }, + "description": "ResumeMigration resumes a migration for a VM. When called on a paused migration, will start\nthe process of uploading data and creating snapshots; when called on a\ncompleted cut-over migration, will update the migration to active state and\nstart the process of uploading data and creating snapshots.", + "file": "Client/ResumeMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_ResumeMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration ResumeMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_RunDiskMigrationJob_sync", - "title": "vmmigration RunDiskMigrationJob Sample", - "description": "RunDiskMigrationJob runs the disk migration job.", - "file": "Client/RunDiskMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunDiskMigrationJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.RunDiskMigrationJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.RunDiskMigrationJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "RunDiskMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.RunDiskMigrationJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.RunDiskMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunDiskMigrationJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "RunDiskMigrationJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.RunDiskMigrationJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "RunDiskMigrationJob" }, + "description": "RunDiskMigrationJob runs the disk migration job.", + "file": "Client/RunDiskMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_RunDiskMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration RunDiskMigrationJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_StartMigration_sync", - "title": "vmmigration StartMigration Sample", - "description": "StartMigration starts migration for a VM. Starts the process of uploading\ndata and creating snapshots, in replication cycles scheduled by the policy.", - "file": "Client/StartMigration/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartMigration", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.StartMigration", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.StartMigration", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "StartMigration" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.StartMigrationRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.StartMigrationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartMigrationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "StartMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration.StartMigration", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "StartMigration" }, + "description": "StartMigration starts migration for a VM. Starts the process of uploading\ndata and creating snapshots, in replication cycles scheduled by the policy.", + "file": "Client/StartMigration/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_StartMigration_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration StartMigration Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_UpdateDiskMigrationJob_sync", - "title": "vmmigration UpdateDiskMigrationJob Sample", - "description": "UpdateDiskMigrationJob updates the parameters of a single DiskMigrationJob.", - "file": "Client/UpdateDiskMigrationJob/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDiskMigrationJob", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.UpdateDiskMigrationJob", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateDiskMigrationJob", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "UpdateDiskMigrationJob" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.UpdateDiskMigrationJobRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.UpdateDiskMigrationJobRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDiskMigrationJobOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "UpdateDiskMigrationJob", - "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateDiskMigrationJob", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "UpdateDiskMigrationJob" }, + "description": "UpdateDiskMigrationJob updates the parameters of a single DiskMigrationJob.", + "file": "Client/UpdateDiskMigrationJob/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateDiskMigrationJob_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration UpdateDiskMigrationJob Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_UpdateGroup_sync", - "title": "vmmigration UpdateGroup Sample", - "description": "UpdateGroup updates the parameters of a single Group.", - "file": "Client/UpdateGroup/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateGroup", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.UpdateGroup", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateGroup", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "UpdateGroup" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.UpdateGroupRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.UpdateGroupRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateGroupOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "UpdateGroup", - "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateGroup", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "UpdateGroup" }, + "description": "UpdateGroup updates the parameters of a single Group.", + "file": "Client/UpdateGroup/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateGroup_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration UpdateGroup Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_UpdateMigratingVm_sync", - "title": "vmmigration UpdateMigratingVm Sample", - "description": "UpdateMigratingVm updates the parameters of a single MigratingVm.", - "file": "Client/UpdateMigratingVm/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateMigratingVm", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.UpdateMigratingVm", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateMigratingVm", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "UpdateMigratingVm" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.UpdateMigratingVmRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.UpdateMigratingVmRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateMigratingVmOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "UpdateMigratingVm", - "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateMigratingVm", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "UpdateMigratingVm" }, + "description": "UpdateMigratingVm updates the parameters of a single MigratingVm.", + "file": "Client/UpdateMigratingVm/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateMigratingVm_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration UpdateMigratingVm Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_UpdateSource_sync", - "title": "vmmigration UpdateSource Sample", - "description": "UpdateSource updates the parameters of a single Source.", - "file": "Client/UpdateSource/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSource", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.UpdateSource", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateSource", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "UpdateSource" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.UpdateSourceRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.UpdateSourceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSourceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "UpdateSource", - "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateSource", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "UpdateSource" }, + "description": "UpdateSource updates the parameters of a single Source.", + "file": "Client/UpdateSource/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateSource_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration UpdateSource Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_UpdateTargetProject_sync", - "title": "vmmigration UpdateTargetProject Sample", - "description": "UpdateTargetProject updates the parameters of a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", - "file": "Client/UpdateTargetProject/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateTargetProject", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.UpdateTargetProject", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateTargetProject", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "UpdateTargetProject" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.UpdateTargetProjectRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.UpdateTargetProjectRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateTargetProjectOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "UpdateTargetProject", - "fullName": "google.cloud.vmmigration.v1.VmMigration.UpdateTargetProject", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "UpdateTargetProject" }, + "description": "UpdateTargetProject updates the parameters of a single TargetProject.\n\nNOTE: TargetProject is a global resource; hence the only supported value\nfor location is `global`.", + "file": "Client/UpdateTargetProject/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_UpdateTargetProject_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration UpdateTargetProject Sample" }, { - "regionTag": "vmmigration_v1_generated_VmMigration_UpgradeAppliance_sync", - "title": "vmmigration UpgradeAppliance Sample", - "description": "UpgradeAppliance upgrades the appliance relate to this DatacenterConnector to the in-place\nupdateable version.", - "file": "Client/UpgradeAppliance/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpgradeAppliance", + "client": { + "fullName": "google.cloud.vmmigration.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmmigration.v1.Client.UpgradeAppliance", + "method": { + "fullName": "google.cloud.vmmigration.v1.VmMigration.UpgradeAppliance", + "service": { + "fullName": "google.cloud.vmmigration.v1.VmMigration", + "shortName": "VmMigration" + }, + "shortName": "UpgradeAppliance" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmmigrationpb.UpgradeApplianceRequest", - "name": "req" + "name": "req", + "type": "vmmigrationpb.UpgradeApplianceRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpgradeApplianceOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmmigration.v1.Client" - }, - "method": { - "shortName": "UpgradeAppliance", - "fullName": "google.cloud.vmmigration.v1.VmMigration.UpgradeAppliance", - "service": { - "shortName": "VmMigration", - "fullName": "google.cloud.vmmigration.v1.VmMigration" - } - } + "shortName": "UpgradeAppliance" }, + "description": "UpgradeAppliance upgrades the appliance relate to this DatacenterConnector to the in-place\nupdateable version.", + "file": "Client/UpgradeAppliance/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmmigration_v1_generated_VmMigration_UpgradeAppliance_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmmigration UpgradeAppliance Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json b/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json index 42f9dcc01301..df717c154578 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json +++ b/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json @@ -1,3786 +1,3786 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vmwareengine/apiv1", - "version": "1.3.6", - "language": "GO", "apis": [ { "id": "google.cloud.vmwareengine.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vmwareengine/apiv1", + "version": "1.3.6" }, "snippets": [ { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateCluster_sync", - "title": "vmwareengine CreateCluster Sample", - "description": "CreateCluster creates a new cluster in a given private cloud.\nCreating a new cluster provides additional nodes for\nuse in the parent private cloud and requires sufficient [node\nquota](https: //cloud.google.com/vmware-engine/quotas).", - "file": "Client/CreateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateCluster", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateCluster", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateCluster", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateClusterRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateCluster", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateCluster" }, + "description": "CreateCluster creates a new cluster in a given private cloud.\nCreating a new cluster provides additional nodes for\nuse in the parent private cloud and requires sufficient [node\nquota](https: //cloud.google.com/vmware-engine/quotas).", + "file": "Client/CreateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateCluster Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateExternalAccessRule_sync", - "title": "vmwareengine CreateExternalAccessRule Sample", - "description": "CreateExternalAccessRule creates a new external access rule in a given network policy.", - "file": "Client/CreateExternalAccessRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExternalAccessRule", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateExternalAccessRule", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAccessRule", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateExternalAccessRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateExternalAccessRuleRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateExternalAccessRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateExternalAccessRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateExternalAccessRule", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAccessRule", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateExternalAccessRule" }, + "description": "CreateExternalAccessRule creates a new external access rule in a given network policy.", + "file": "Client/CreateExternalAccessRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateExternalAccessRule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateExternalAccessRule Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateExternalAddress_sync", - "title": "vmwareengine CreateExternalAddress Sample", - "description": "CreateExternalAddress creates a new `ExternalAddress` resource in a given private cloud. The\nnetwork policy that corresponds to the private cloud must have the external\nIP address network service enabled (`NetworkPolicy.external_ip`).", - "file": "Client/CreateExternalAddress/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExternalAddress", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateExternalAddress", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAddress", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateExternalAddress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateExternalAddressRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateExternalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateExternalAddressOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateExternalAddress", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAddress", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateExternalAddress" }, + "description": "CreateExternalAddress creates a new `ExternalAddress` resource in a given private cloud. The\nnetwork policy that corresponds to the private cloud must have the external\nIP address network service enabled (`NetworkPolicy.external_ip`).", + "file": "Client/CreateExternalAddress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateExternalAddress_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateExternalAddress Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateHcxActivationKey_sync", - "title": "vmwareengine CreateHcxActivationKey Sample", - "description": "CreateHcxActivationKey creates a new HCX activation key in a given private cloud.", - "file": "Client/CreateHcxActivationKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateHcxActivationKey", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateHcxActivationKey", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateHcxActivationKey", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateHcxActivationKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateHcxActivationKeyRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateHcxActivationKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateHcxActivationKeyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateHcxActivationKey", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateHcxActivationKey", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateHcxActivationKey" }, + "description": "CreateHcxActivationKey creates a new HCX activation key in a given private cloud.", + "file": "Client/CreateHcxActivationKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateHcxActivationKey_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateHcxActivationKey Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateLoggingServer_sync", - "title": "vmwareengine CreateLoggingServer Sample", - "description": "CreateLoggingServer create a new logging server for a given private cloud.", - "file": "Client/CreateLoggingServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateLoggingServer", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateLoggingServer", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateLoggingServer", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateLoggingServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateLoggingServerRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateLoggingServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateLoggingServerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateLoggingServer", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateLoggingServer", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateLoggingServer" }, + "description": "CreateLoggingServer create a new logging server for a given private cloud.", + "file": "Client/CreateLoggingServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateLoggingServer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateLoggingServer Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateManagementDnsZoneBinding_sync", - "title": "vmwareengine CreateManagementDnsZoneBinding Sample", - "description": "CreateManagementDnsZoneBinding creates a new `ManagementDnsZoneBinding` resource in a private cloud.\nThis RPC creates the DNS binding and the resource that represents the\nDNS binding of the consumer VPC network to the management DNS zone. A\nmanagement DNS zone is the Cloud DNS cross-project binding zone that\nVMware Engine creates for each private cloud. It contains FQDNs and\ncorresponding IP addresses for the private cloud's ESXi hosts and\nmanagement VM appliances like vCenter and NSX Manager.", - "file": "Client/CreateManagementDnsZoneBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateManagementDnsZoneBinding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateManagementDnsZoneBinding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateManagementDnsZoneBinding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateManagementDnsZoneBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateManagementDnsZoneBindingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateManagementDnsZoneBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateManagementDnsZoneBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateManagementDnsZoneBinding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateManagementDnsZoneBinding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateManagementDnsZoneBinding" }, + "description": "CreateManagementDnsZoneBinding creates a new `ManagementDnsZoneBinding` resource in a private cloud.\nThis RPC creates the DNS binding and the resource that represents the\nDNS binding of the consumer VPC network to the management DNS zone. A\nmanagement DNS zone is the Cloud DNS cross-project binding zone that\nVMware Engine creates for each private cloud. It contains FQDNs and\ncorresponding IP addresses for the private cloud's ESXi hosts and\nmanagement VM appliances like vCenter and NSX Manager.", + "file": "Client/CreateManagementDnsZoneBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateManagementDnsZoneBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateManagementDnsZoneBinding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateNetworkPeering_sync", - "title": "vmwareengine CreateNetworkPeering Sample", - "description": "CreateNetworkPeering creates a new network peering between the peer network and VMware Engine\nnetwork provided in a `NetworkPeering` resource. NetworkPeering is a\nglobal resource and location can only be global.", - "file": "Client/CreateNetworkPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNetworkPeering", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateNetworkPeering", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPeering", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateNetworkPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateNetworkPeeringRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateNetworkPeeringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNetworkPeeringOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateNetworkPeering", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPeering", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateNetworkPeering" }, + "description": "CreateNetworkPeering creates a new network peering between the peer network and VMware Engine\nnetwork provided in a `NetworkPeering` resource. NetworkPeering is a\nglobal resource and location can only be global.", + "file": "Client/CreateNetworkPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateNetworkPeering_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateNetworkPeering Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateNetworkPolicy_sync", - "title": "vmwareengine CreateNetworkPolicy Sample", - "description": "CreateNetworkPolicy creates a new network policy in a given VMware Engine network of a\nproject and location (region). A new network policy cannot be created if\nanother network policy already exists in the same scope.", - "file": "Client/CreateNetworkPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateNetworkPolicy", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateNetworkPolicy", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPolicy", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateNetworkPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateNetworkPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateNetworkPolicy", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPolicy", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateNetworkPolicy" }, + "description": "CreateNetworkPolicy creates a new network policy in a given VMware Engine network of a\nproject and location (region). A new network policy cannot be created if\nanother network policy already exists in the same scope.", + "file": "Client/CreateNetworkPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateNetworkPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateNetworkPolicy Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreatePrivateCloud_sync", - "title": "vmwareengine CreatePrivateCloud Sample", - "description": "CreatePrivateCloud creates a new `PrivateCloud` resource in a given project and location.\nPrivate clouds of type `STANDARD` and\n`TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are\nregional.\nCreating a private cloud also creates a [management\ncluster](https: //cloud.google.com/vmware-engine/docs/concepts-vmware-components)\nfor that private cloud.", - "file": "Client/CreatePrivateCloud/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrivateCloud", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreatePrivateCloud", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreatePrivateCloud", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreatePrivateCloud" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreatePrivateCloudRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreatePrivateCloudRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrivateCloudOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreatePrivateCloud", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreatePrivateCloud", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreatePrivateCloud" }, + "description": "CreatePrivateCloud creates a new `PrivateCloud` resource in a given project and location.\nPrivate clouds of type `STANDARD` and\n`TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are\nregional.\nCreating a private cloud also creates a [management\ncluster](https: //cloud.google.com/vmware-engine/docs/concepts-vmware-components)\nfor that private cloud.", + "file": "Client/CreatePrivateCloud/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreatePrivateCloud_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreatePrivateCloud Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreatePrivateConnection_sync", - "title": "vmwareengine CreatePrivateConnection Sample", - "description": "CreatePrivateConnection creates a new private connection that can be used for accessing private\nClouds.", - "file": "Client/CreatePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreatePrivateConnection", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreatePrivateConnection", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreatePrivateConnection", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreatePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreatePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreatePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreatePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreatePrivateConnection", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreatePrivateConnection" }, + "description": "CreatePrivateConnection creates a new private connection that can be used for accessing private\nClouds.", + "file": "Client/CreatePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreatePrivateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreatePrivateConnection Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateVmwareEngineNetwork_sync", - "title": "vmwareengine CreateVmwareEngineNetwork Sample", - "description": "CreateVmwareEngineNetwork creates a new VMware Engine network that can be used by a private cloud.", - "file": "Client/CreateVmwareEngineNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateVmwareEngineNetwork", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.CreateVmwareEngineNetwork", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateVmwareEngineNetwork", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "CreateVmwareEngineNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.CreateVmwareEngineNetworkRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.CreateVmwareEngineNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateVmwareEngineNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "CreateVmwareEngineNetwork", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateVmwareEngineNetwork", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "CreateVmwareEngineNetwork" }, + "description": "CreateVmwareEngineNetwork creates a new VMware Engine network that can be used by a private cloud.", + "file": "Client/CreateVmwareEngineNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_CreateVmwareEngineNetwork_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine CreateVmwareEngineNetwork Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteCluster_sync", - "title": "vmwareengine DeleteCluster Sample", - "description": "DeleteCluster deletes a `Cluster` resource. To avoid unintended data loss, migrate or\ngracefully shut down any workloads running on the cluster before deletion.\nYou cannot delete the management cluster of a private cloud using this\nmethod.", - "file": "Client/DeleteCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteCluster", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteCluster", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteCluster", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteClusterRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteCluster", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteCluster" }, + "description": "DeleteCluster deletes a `Cluster` resource. To avoid unintended data loss, migrate or\ngracefully shut down any workloads running on the cluster before deletion.\nYou cannot delete the management cluster of a private cloud using this\nmethod.", + "file": "Client/DeleteCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteCluster_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteCluster Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteExternalAccessRule_sync", - "title": "vmwareengine DeleteExternalAccessRule Sample", - "description": "DeleteExternalAccessRule deletes a single external access rule.", - "file": "Client/DeleteExternalAccessRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExternalAccessRule", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteExternalAccessRule", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAccessRule", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteExternalAccessRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteExternalAccessRuleRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteExternalAccessRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExternalAccessRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteExternalAccessRule", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAccessRule", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteExternalAccessRule" }, + "description": "DeleteExternalAccessRule deletes a single external access rule.", + "file": "Client/DeleteExternalAccessRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteExternalAccessRule_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteExternalAccessRule Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteExternalAddress_sync", - "title": "vmwareengine DeleteExternalAddress Sample", - "description": "DeleteExternalAddress deletes a single external IP address. When you delete an external IP\naddress, connectivity between the external IP address and the corresponding\ninternal IP address is lost.", - "file": "Client/DeleteExternalAddress/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExternalAddress", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteExternalAddress", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAddress", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteExternalAddress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteExternalAddressRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteExternalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExternalAddressOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteExternalAddress", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAddress", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteExternalAddress" }, + "description": "DeleteExternalAddress deletes a single external IP address. When you delete an external IP\naddress, connectivity between the external IP address and the corresponding\ninternal IP address is lost.", + "file": "Client/DeleteExternalAddress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteExternalAddress_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteExternalAddress Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteLoggingServer_sync", - "title": "vmwareengine DeleteLoggingServer Sample", - "description": "DeleteLoggingServer deletes a single logging server.", - "file": "Client/DeleteLoggingServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteLoggingServer", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteLoggingServer", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteLoggingServer", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteLoggingServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteLoggingServerRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteLoggingServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteLoggingServerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteLoggingServer", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteLoggingServer", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteLoggingServer" }, + "description": "DeleteLoggingServer deletes a single logging server.", + "file": "Client/DeleteLoggingServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteLoggingServer_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteLoggingServer Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteManagementDnsZoneBinding_sync", - "title": "vmwareengine DeleteManagementDnsZoneBinding Sample", - "description": "DeleteManagementDnsZoneBinding deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone\nbinding is deleted, the corresponding consumer VPC network is no longer\nbound to the management DNS zone.", - "file": "Client/DeleteManagementDnsZoneBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteManagementDnsZoneBinding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteManagementDnsZoneBinding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteManagementDnsZoneBinding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteManagementDnsZoneBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteManagementDnsZoneBindingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteManagementDnsZoneBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteManagementDnsZoneBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteManagementDnsZoneBinding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteManagementDnsZoneBinding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteManagementDnsZoneBinding" }, + "description": "DeleteManagementDnsZoneBinding deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone\nbinding is deleted, the corresponding consumer VPC network is no longer\nbound to the management DNS zone.", + "file": "Client/DeleteManagementDnsZoneBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteManagementDnsZoneBinding_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteManagementDnsZoneBinding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteNetworkPeering_sync", - "title": "vmwareengine DeleteNetworkPeering Sample", - "description": "DeleteNetworkPeering deletes a `NetworkPeering` resource. When a network peering is deleted for\na VMware Engine network, the peer network becomes inaccessible to that\nVMware Engine network. NetworkPeering is a global resource and location can\nonly be global.", - "file": "Client/DeleteNetworkPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNetworkPeering", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteNetworkPeering", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPeering", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteNetworkPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteNetworkPeeringRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteNetworkPeeringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNetworkPeeringOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteNetworkPeering", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPeering", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteNetworkPeering" }, + "description": "DeleteNetworkPeering deletes a `NetworkPeering` resource. When a network peering is deleted for\na VMware Engine network, the peer network becomes inaccessible to that\nVMware Engine network. NetworkPeering is a global resource and location can\nonly be global.", + "file": "Client/DeleteNetworkPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteNetworkPeering_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteNetworkPeering Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteNetworkPolicy_sync", - "title": "vmwareengine DeleteNetworkPolicy Sample", - "description": "DeleteNetworkPolicy deletes a `NetworkPolicy` resource. A network policy cannot be deleted\nwhen `NetworkService.state` is set to `RECONCILING` for either its external\nIP or internet access service.", - "file": "Client/DeleteNetworkPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteNetworkPolicy", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteNetworkPolicy", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPolicy", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteNetworkPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteNetworkPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteNetworkPolicy", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPolicy", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteNetworkPolicy" }, + "description": "DeleteNetworkPolicy deletes a `NetworkPolicy` resource. A network policy cannot be deleted\nwhen `NetworkService.state` is set to `RECONCILING` for either its external\nIP or internet access service.", + "file": "Client/DeleteNetworkPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteNetworkPolicy_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteNetworkPolicy Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteOperation_sync", - "title": "vmwareengine DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteOperation Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeletePrivateCloud_sync", - "title": "vmwareengine DeletePrivateCloud Sample", - "description": "DeletePrivateCloud schedules a `PrivateCloud` resource for deletion.\n\nA `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state`\nset to `DELETED` and `expireTime` set to the time when deletion is final\nand can no longer be reversed. The delete operation is marked as done\nas soon as the `PrivateCloud` is successfully scheduled for deletion\n(this also applies when `delayHours` is set to zero), and the operation is\nnot kept in pending state until `PrivateCloud` is purged.\n`PrivateCloud` can be restored using `UndeletePrivateCloud` method before\nthe `expireTime` elapses. When `expireTime` is reached, deletion is final\nand all private cloud resources are irreversibly removed and billing stops.\nDuring the final removal process, `PrivateCloud.state` is set to `PURGING`.\n`PrivateCloud` can be polled using standard `GET` method for the whole\nperiod of deletion and purging. It will not be returned only\nwhen it is completely purged.", - "file": "Client/DeletePrivateCloud/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrivateCloud", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeletePrivateCloud", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateCloud", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeletePrivateCloud" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeletePrivateCloudRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeletePrivateCloudRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrivateCloudOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeletePrivateCloud", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateCloud", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeletePrivateCloud" }, + "description": "DeletePrivateCloud schedules a `PrivateCloud` resource for deletion.\n\nA `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state`\nset to `DELETED` and `expireTime` set to the time when deletion is final\nand can no longer be reversed. The delete operation is marked as done\nas soon as the `PrivateCloud` is successfully scheduled for deletion\n(this also applies when `delayHours` is set to zero), and the operation is\nnot kept in pending state until `PrivateCloud` is purged.\n`PrivateCloud` can be restored using `UndeletePrivateCloud` method before\nthe `expireTime` elapses. When `expireTime` is reached, deletion is final\nand all private cloud resources are irreversibly removed and billing stops.\nDuring the final removal process, `PrivateCloud.state` is set to `PURGING`.\n`PrivateCloud` can be polled using standard `GET` method for the whole\nperiod of deletion and purging. It will not be returned only\nwhen it is completely purged.", + "file": "Client/DeletePrivateCloud/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeletePrivateCloud_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeletePrivateCloud Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeletePrivateConnection_sync", - "title": "vmwareengine DeletePrivateConnection Sample", - "description": "DeletePrivateConnection deletes a `PrivateConnection` resource. When a private connection is\ndeleted for a VMware Engine network, the connected network becomes\ninaccessible to that VMware Engine network.", - "file": "Client/DeletePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeletePrivateConnection", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeletePrivateConnection", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateConnection", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeletePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeletePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeletePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeletePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateConnection", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeletePrivateConnection" }, + "description": "DeletePrivateConnection deletes a `PrivateConnection` resource. When a private connection is\ndeleted for a VMware Engine network, the connected network becomes\ninaccessible to that VMware Engine network.", + "file": "Client/DeletePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeletePrivateConnection_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeletePrivateConnection Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteVmwareEngineNetwork_sync", - "title": "vmwareengine DeleteVmwareEngineNetwork Sample", - "description": "DeleteVmwareEngineNetwork deletes a `VmwareEngineNetwork` resource. You can only delete a VMware\nEngine network after all resources that refer to it are deleted. For\nexample, a private cloud, a network peering, and a network policy can all\nrefer to the same VMware Engine network.", - "file": "Client/DeleteVmwareEngineNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteVmwareEngineNetwork", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.DeleteVmwareEngineNetwork", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteVmwareEngineNetwork", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "DeleteVmwareEngineNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.DeleteVmwareEngineNetworkRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.DeleteVmwareEngineNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteVmwareEngineNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "DeleteVmwareEngineNetwork", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteVmwareEngineNetwork", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "DeleteVmwareEngineNetwork" }, + "description": "DeleteVmwareEngineNetwork deletes a `VmwareEngineNetwork` resource. You can only delete a VMware\nEngine network after all resources that refer to it are deleted. For\nexample, a private cloud, a network peering, and a network policy can all\nrefer to the same VMware Engine network.", + "file": "Client/DeleteVmwareEngineNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_DeleteVmwareEngineNetwork_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine DeleteVmwareEngineNetwork Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_FetchNetworkPolicyExternalAddresses_sync", - "title": "vmwareengine FetchNetworkPolicyExternalAddresses Sample", - "description": "FetchNetworkPolicyExternalAddresses lists external IP addresses assigned to VMware workload VMs within the\nscope of the given network policy.", - "file": "Client/FetchNetworkPolicyExternalAddresses/main.go", - "language": "GO", "clientMethod": { - "shortName": "FetchNetworkPolicyExternalAddresses", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.FetchNetworkPolicyExternalAddresses", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.FetchNetworkPolicyExternalAddresses", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "FetchNetworkPolicyExternalAddresses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.FetchNetworkPolicyExternalAddressesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.FetchNetworkPolicyExternalAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExternalAddressIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "FetchNetworkPolicyExternalAddresses", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.FetchNetworkPolicyExternalAddresses", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "FetchNetworkPolicyExternalAddresses" }, + "description": "FetchNetworkPolicyExternalAddresses lists external IP addresses assigned to VMware workload VMs within the\nscope of the given network policy.", + "file": "Client/FetchNetworkPolicyExternalAddresses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_FetchNetworkPolicyExternalAddresses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine FetchNetworkPolicyExternalAddresses Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetCluster_sync", - "title": "vmwareengine GetCluster Sample", - "description": "GetCluster retrieves a `Cluster` resource by its resource name.", - "file": "Client/GetCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetCluster", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetCluster", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetCluster", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetClusterRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.Cluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetCluster", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetCluster" }, + "description": "GetCluster retrieves a `Cluster` resource by its resource name.", + "file": "Client/GetCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetCluster Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetDnsBindPermission_sync", - "title": "vmwareengine GetDnsBindPermission Sample", - "description": "GetDnsBindPermission gets all the principals having bind permission on the intranet VPC\nassociated with the consumer project granted by the Grant API.\nDnsBindPermission is a global resource and location can only be global.", - "file": "Client/GetDnsBindPermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDnsBindPermission", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetDnsBindPermission", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetDnsBindPermission", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetDnsBindPermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetDnsBindPermissionRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetDnsBindPermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.DnsBindPermission", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetDnsBindPermission", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetDnsBindPermission", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetDnsBindPermission" }, + "description": "GetDnsBindPermission gets all the principals having bind permission on the intranet VPC\nassociated with the consumer project granted by the Grant API.\nDnsBindPermission is a global resource and location can only be global.", + "file": "Client/GetDnsBindPermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetDnsBindPermission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetDnsBindPermission Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetDnsForwarding_sync", - "title": "vmwareengine GetDnsForwarding Sample", - "description": "GetDnsForwarding gets details of the `DnsForwarding` config.", - "file": "Client/GetDnsForwarding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetDnsForwarding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetDnsForwarding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetDnsForwarding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetDnsForwarding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetDnsForwardingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetDnsForwardingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.DnsForwarding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetDnsForwarding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetDnsForwarding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetDnsForwarding" }, + "description": "GetDnsForwarding gets details of the `DnsForwarding` config.", + "file": "Client/GetDnsForwarding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetDnsForwarding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetDnsForwarding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetExternalAccessRule_sync", - "title": "vmwareengine GetExternalAccessRule Sample", - "description": "GetExternalAccessRule gets details of a single external access rule.", - "file": "Client/GetExternalAccessRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExternalAccessRule", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetExternalAccessRule", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAccessRule", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetExternalAccessRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetExternalAccessRuleRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetExternalAccessRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.ExternalAccessRule", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetExternalAccessRule", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAccessRule", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetExternalAccessRule" }, + "description": "GetExternalAccessRule gets details of a single external access rule.", + "file": "Client/GetExternalAccessRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetExternalAccessRule_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetExternalAccessRule Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetExternalAddress_sync", - "title": "vmwareengine GetExternalAddress Sample", - "description": "GetExternalAddress gets details of a single external IP address.", - "file": "Client/GetExternalAddress/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExternalAddress", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetExternalAddress", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAddress", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetExternalAddress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetExternalAddressRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetExternalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.ExternalAddress", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetExternalAddress", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAddress", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetExternalAddress" }, + "description": "GetExternalAddress gets details of a single external IP address.", + "file": "Client/GetExternalAddress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetExternalAddress_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetExternalAddress Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetHcxActivationKey_sync", - "title": "vmwareengine GetHcxActivationKey Sample", - "description": "GetHcxActivationKey retrieves a `HcxActivationKey` resource by its resource name.", - "file": "Client/GetHcxActivationKey/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetHcxActivationKey", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetHcxActivationKey", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetHcxActivationKey", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetHcxActivationKey" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetHcxActivationKeyRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetHcxActivationKeyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.HcxActivationKey", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetHcxActivationKey", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetHcxActivationKey", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetHcxActivationKey" }, + "description": "GetHcxActivationKey retrieves a `HcxActivationKey` resource by its resource name.", + "file": "Client/GetHcxActivationKey/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetHcxActivationKey_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetHcxActivationKey Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetIamPolicy_sync", - "title": "vmwareengine 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", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetIamPolicy Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetLocation_sync", - "title": "vmwareengine GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetLocation Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetLoggingServer_sync", - "title": "vmwareengine GetLoggingServer Sample", - "description": "GetLoggingServer gets details of a logging server.", - "file": "Client/GetLoggingServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLoggingServer", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetLoggingServer", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetLoggingServer", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetLoggingServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetLoggingServerRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetLoggingServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.LoggingServer", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetLoggingServer", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetLoggingServer", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetLoggingServer" }, + "description": "GetLoggingServer gets details of a logging server.", + "file": "Client/GetLoggingServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetLoggingServer_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetLoggingServer Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetManagementDnsZoneBinding_sync", - "title": "vmwareengine GetManagementDnsZoneBinding Sample", - "description": "GetManagementDnsZoneBinding retrieves a 'ManagementDnsZoneBinding' resource by its resource name.", - "file": "Client/GetManagementDnsZoneBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetManagementDnsZoneBinding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetManagementDnsZoneBinding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetManagementDnsZoneBinding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetManagementDnsZoneBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetManagementDnsZoneBindingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetManagementDnsZoneBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.ManagementDnsZoneBinding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetManagementDnsZoneBinding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetManagementDnsZoneBinding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetManagementDnsZoneBinding" }, + "description": "GetManagementDnsZoneBinding retrieves a 'ManagementDnsZoneBinding' resource by its resource name.", + "file": "Client/GetManagementDnsZoneBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetManagementDnsZoneBinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetManagementDnsZoneBinding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNetworkPeering_sync", - "title": "vmwareengine GetNetworkPeering Sample", - "description": "GetNetworkPeering retrieves a `NetworkPeering` resource by its resource name. The resource\ncontains details of the network peering, such as peered\nnetworks, import and export custom route configurations, and peering state.\nNetworkPeering is a global resource and location can only be global.", - "file": "Client/GetNetworkPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNetworkPeering", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetNetworkPeering", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPeering", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetNetworkPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetNetworkPeeringRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetNetworkPeeringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.NetworkPeering", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetNetworkPeering", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPeering", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetNetworkPeering" }, + "description": "GetNetworkPeering retrieves a `NetworkPeering` resource by its resource name. The resource\ncontains details of the network peering, such as peered\nnetworks, import and export custom route configurations, and peering state.\nNetworkPeering is a global resource and location can only be global.", + "file": "Client/GetNetworkPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNetworkPeering_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetNetworkPeering Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNetworkPolicy_sync", - "title": "vmwareengine GetNetworkPolicy Sample", - "description": "GetNetworkPolicy retrieves a `NetworkPolicy` resource by its resource name.", - "file": "Client/GetNetworkPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNetworkPolicy", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetNetworkPolicy", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPolicy", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetNetworkPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.NetworkPolicy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetNetworkPolicy", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPolicy", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetNetworkPolicy" }, + "description": "GetNetworkPolicy retrieves a `NetworkPolicy` resource by its resource name.", + "file": "Client/GetNetworkPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNetworkPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetNetworkPolicy Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNode_sync", - "title": "vmwareengine GetNode Sample", - "description": "GetNode gets details of a single node.", - "file": "Client/GetNode/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNode", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetNode", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNode", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetNode" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetNodeRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetNodeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.Node", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetNode", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNode", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetNode" }, + "description": "GetNode gets details of a single node.", + "file": "Client/GetNode/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNode_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetNode Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNodeType_sync", - "title": "vmwareengine GetNodeType Sample", - "description": "GetNodeType gets details of a single `NodeType`.", - "file": "Client/GetNodeType/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetNodeType", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetNodeType", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNodeType", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetNodeType" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetNodeTypeRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetNodeTypeRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.NodeType", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetNodeType", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNodeType", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetNodeType" }, + "description": "GetNodeType gets details of a single `NodeType`.", + "file": "Client/GetNodeType/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetNodeType_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetNodeType Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetOperation_sync", - "title": "vmwareengine GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetOperation Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetPrivateCloud_sync", - "title": "vmwareengine GetPrivateCloud Sample", - "description": "GetPrivateCloud retrieves a `PrivateCloud` resource by its resource name.", - "file": "Client/GetPrivateCloud/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrivateCloud", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetPrivateCloud", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetPrivateCloud", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetPrivateCloud" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetPrivateCloudRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetPrivateCloudRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.PrivateCloud", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetPrivateCloud", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetPrivateCloud", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetPrivateCloud" }, + "description": "GetPrivateCloud retrieves a `PrivateCloud` resource by its resource name.", + "file": "Client/GetPrivateCloud/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetPrivateCloud_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetPrivateCloud Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetPrivateConnection_sync", - "title": "vmwareengine GetPrivateConnection Sample", - "description": "GetPrivateConnection retrieves a `PrivateConnection` resource by its resource name. The resource\ncontains details of the private connection, such as connected\nnetwork, routing mode and state.", - "file": "Client/GetPrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.vmwareengine.v1.Client.GetPrivateConnection", - "parameters": [ - { - "type": "context.Context", - "name": "ctx" - }, - { - "type": "vmwareenginepb.GetPrivateConnectionRequest", - "name": "req" - }, - { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "*vmwareenginepb.PrivateConnection", "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" }, + "fullName": "google.cloud.vmwareengine.v1.Client.GetPrivateConnection", "method": { - "shortName": "GetPrivateConnection", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetPrivateConnection", "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetPrivateConnection" + }, + "parameters": [ + { + "name": "ctx", + "type": "context.Context" + }, + { + "name": "req", + "type": "vmwareenginepb.GetPrivateConnectionRequest" + }, + { + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "*vmwareenginepb.PrivateConnection", + "shortName": "GetPrivateConnection" }, + "description": "GetPrivateConnection retrieves a `PrivateConnection` resource by its resource name. The resource\ncontains details of the private connection, such as connected\nnetwork, routing mode and state.", + "file": "Client/GetPrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetPrivateConnection_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetPrivateConnection Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetSubnet_sync", - "title": "vmwareengine GetSubnet Sample", - "description": "GetSubnet gets details of a single subnet.", - "file": "Client/GetSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetSubnet", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetSubnet", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetSubnet", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetSubnetRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.Subnet", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetSubnet", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetSubnet", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetSubnet" }, + "description": "GetSubnet gets details of a single subnet.", + "file": "Client/GetSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetSubnet_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetSubnet Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetVmwareEngineNetwork_sync", - "title": "vmwareengine GetVmwareEngineNetwork Sample", - "description": "GetVmwareEngineNetwork retrieves a `VmwareEngineNetwork` resource by its resource name. The\nresource contains details of the VMware Engine network, such as its VMware\nEngine network type, peered networks in a service project, and state\n(for example, `CREATING`, `ACTIVE`, `DELETING`).", - "file": "Client/GetVmwareEngineNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetVmwareEngineNetwork", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GetVmwareEngineNetwork", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetVmwareEngineNetwork", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GetVmwareEngineNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GetVmwareEngineNetworkRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GetVmwareEngineNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.VmwareEngineNetwork", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GetVmwareEngineNetwork", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetVmwareEngineNetwork", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GetVmwareEngineNetwork" }, + "description": "GetVmwareEngineNetwork retrieves a `VmwareEngineNetwork` resource by its resource name. The\nresource contains details of the VMware Engine network, such as its VMware\nEngine network type, peered networks in a service project, and state\n(for example, `CREATING`, `ACTIVE`, `DELETING`).", + "file": "Client/GetVmwareEngineNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GetVmwareEngineNetwork_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GetVmwareEngineNetwork Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_GrantDnsBindPermission_sync", - "title": "vmwareengine GrantDnsBindPermission Sample", - "description": "GrantDnsBindPermission grants the bind permission to the customer provided principal(user /\nservice account) to bind their DNS zone with the intranet VPC associated\nwith the project. DnsBindPermission is a global resource and location can\nonly be global.", - "file": "Client/GrantDnsBindPermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "GrantDnsBindPermission", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.GrantDnsBindPermission", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GrantDnsBindPermission", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "GrantDnsBindPermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.GrantDnsBindPermissionRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.GrantDnsBindPermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "GrantDnsBindPermissionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "GrantDnsBindPermission", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GrantDnsBindPermission", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "GrantDnsBindPermission" }, + "description": "GrantDnsBindPermission grants the bind permission to the customer provided principal(user /\nservice account) to bind their DNS zone with the intranet VPC associated\nwith the project. DnsBindPermission is a global resource and location can\nonly be global.", + "file": "Client/GrantDnsBindPermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_GrantDnsBindPermission_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine GrantDnsBindPermission Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListClusters_sync", - "title": "vmwareengine ListClusters Sample", - "description": "ListClusters lists `Cluster` resources in a given private cloud.", - "file": "Client/ListClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListClusters", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListClusters", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListClusters", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListClustersRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListClusters", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListClusters" }, + "description": "ListClusters lists `Cluster` resources in a given private cloud.", + "file": "Client/ListClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListClusters Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListExternalAccessRules_sync", - "title": "vmwareengine ListExternalAccessRules Sample", - "description": "ListExternalAccessRules lists `ExternalAccessRule` resources in the specified network policy.", - "file": "Client/ListExternalAccessRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExternalAccessRules", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListExternalAccessRules", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAccessRules", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListExternalAccessRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListExternalAccessRulesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListExternalAccessRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExternalAccessRuleIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListExternalAccessRules", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAccessRules", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListExternalAccessRules" }, + "description": "ListExternalAccessRules lists `ExternalAccessRule` resources in the specified network policy.", + "file": "Client/ListExternalAccessRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListExternalAccessRules_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListExternalAccessRules Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListExternalAddresses_sync", - "title": "vmwareengine ListExternalAddresses Sample", - "description": "ListExternalAddresses lists external IP addresses assigned to VMware workload VMs in a given\nprivate cloud.", - "file": "Client/ListExternalAddresses/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExternalAddresses", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListExternalAddresses", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAddresses", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListExternalAddresses" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListExternalAddressesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListExternalAddressesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExternalAddressIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListExternalAddresses", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAddresses", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListExternalAddresses" }, + "description": "ListExternalAddresses lists external IP addresses assigned to VMware workload VMs in a given\nprivate cloud.", + "file": "Client/ListExternalAddresses/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListExternalAddresses_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListExternalAddresses Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListHcxActivationKeys_sync", - "title": "vmwareengine ListHcxActivationKeys Sample", - "description": "ListHcxActivationKeys lists `HcxActivationKey` resources in a given private cloud.", - "file": "Client/ListHcxActivationKeys/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListHcxActivationKeys", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListHcxActivationKeys", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListHcxActivationKeys" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListHcxActivationKeysRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListHcxActivationKeysRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "HcxActivationKeyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListHcxActivationKeys", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListHcxActivationKeys" }, + "description": "ListHcxActivationKeys lists `HcxActivationKey` resources in a given private cloud.", + "file": "Client/ListHcxActivationKeys/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListHcxActivationKeys_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListHcxActivationKeys Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListLocations_sync", - "title": "vmwareengine ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListLocations Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListLoggingServers_sync", - "title": "vmwareengine ListLoggingServers Sample", - "description": "ListLoggingServers lists logging servers configured for a given private\ncloud.", - "file": "Client/ListLoggingServers/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLoggingServers", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListLoggingServers", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListLoggingServers", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListLoggingServers" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListLoggingServersRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListLoggingServersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LoggingServerIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListLoggingServers", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListLoggingServers", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListLoggingServers" }, + "description": "ListLoggingServers lists logging servers configured for a given private\ncloud.", + "file": "Client/ListLoggingServers/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListLoggingServers_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListLoggingServers Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListManagementDnsZoneBindings_sync", - "title": "vmwareengine ListManagementDnsZoneBindings Sample", - "description": "ListManagementDnsZoneBindings lists Consumer VPCs bound to Management DNS Zone of a given private cloud.", - "file": "Client/ListManagementDnsZoneBindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListManagementDnsZoneBindings", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListManagementDnsZoneBindings", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListManagementDnsZoneBindings", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListManagementDnsZoneBindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListManagementDnsZoneBindingsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListManagementDnsZoneBindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ManagementDnsZoneBindingIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListManagementDnsZoneBindings", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListManagementDnsZoneBindings", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListManagementDnsZoneBindings" }, + "description": "ListManagementDnsZoneBindings lists Consumer VPCs bound to Management DNS Zone of a given private cloud.", + "file": "Client/ListManagementDnsZoneBindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListManagementDnsZoneBindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListManagementDnsZoneBindings Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNetworkPeerings_sync", - "title": "vmwareengine ListNetworkPeerings Sample", - "description": "ListNetworkPeerings lists `NetworkPeering` resources in a given project. NetworkPeering is a\nglobal resource and location can only be global.", - "file": "Client/ListNetworkPeerings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkPeerings", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListNetworkPeerings", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPeerings", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListNetworkPeerings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListNetworkPeeringsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListNetworkPeeringsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkPeeringIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListNetworkPeerings", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPeerings", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListNetworkPeerings" }, + "description": "ListNetworkPeerings lists `NetworkPeering` resources in a given project. NetworkPeering is a\nglobal resource and location can only be global.", + "file": "Client/ListNetworkPeerings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNetworkPeerings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListNetworkPeerings Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNetworkPolicies_sync", - "title": "vmwareengine ListNetworkPolicies Sample", - "description": "ListNetworkPolicies lists `NetworkPolicy` resources in a specified project and location.", - "file": "Client/ListNetworkPolicies/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNetworkPolicies", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListNetworkPolicies", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPolicies", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListNetworkPolicies" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListNetworkPoliciesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListNetworkPoliciesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NetworkPolicyIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListNetworkPolicies", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPolicies", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListNetworkPolicies" }, + "description": "ListNetworkPolicies lists `NetworkPolicy` resources in a specified project and location.", + "file": "Client/ListNetworkPolicies/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNetworkPolicies_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListNetworkPolicies Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNodeTypes_sync", - "title": "vmwareengine ListNodeTypes Sample", - "description": "ListNodeTypes lists node types", - "file": "Client/ListNodeTypes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodeTypes", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListNodeTypes", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListNodeTypes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListNodeTypesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListNodeTypesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeTypeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListNodeTypes", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListNodeTypes" }, + "description": "ListNodeTypes lists node types", + "file": "Client/ListNodeTypes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNodeTypes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListNodeTypes Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNodes_sync", - "title": "vmwareengine ListNodes Sample", - "description": "ListNodes lists nodes in a given cluster.", - "file": "Client/ListNodes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListNodes", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListNodes", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNodes", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListNodes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListNodesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListNodesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "NodeIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListNodes", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNodes", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListNodes" }, + "description": "ListNodes lists nodes in a given cluster.", + "file": "Client/ListNodes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListNodes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListNodes Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListOperations_sync", - "title": "vmwareengine ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListOperations Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPeeringRoutes_sync", - "title": "vmwareengine ListPeeringRoutes Sample", - "description": "ListPeeringRoutes lists the network peering routes exchanged over a peering connection.\nNetworkPeering is a global resource and location can only be global.", - "file": "Client/ListPeeringRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPeeringRoutes", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListPeeringRoutes", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPeeringRoutes", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListPeeringRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListPeeringRoutesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListPeeringRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PeeringRouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListPeeringRoutes", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPeeringRoutes", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListPeeringRoutes" }, + "description": "ListPeeringRoutes lists the network peering routes exchanged over a peering connection.\nNetworkPeering is a global resource and location can only be global.", + "file": "Client/ListPeeringRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPeeringRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListPeeringRoutes Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPrivateClouds_sync", - "title": "vmwareengine ListPrivateClouds Sample", - "description": "ListPrivateClouds lists `PrivateCloud` resources in a given project and location.", - "file": "Client/ListPrivateClouds/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrivateClouds", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListPrivateClouds", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListPrivateClouds" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListPrivateCloudsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListPrivateCloudsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrivateCloudIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListPrivateClouds", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListPrivateClouds" }, + "description": "ListPrivateClouds lists `PrivateCloud` resources in a given project and location.", + "file": "Client/ListPrivateClouds/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPrivateClouds_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListPrivateClouds Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPrivateConnectionPeeringRoutes_sync", - "title": "vmwareengine ListPrivateConnectionPeeringRoutes Sample", - "description": "ListPrivateConnectionPeeringRoutes lists the private connection routes exchanged over a peering connection.", - "file": "Client/ListPrivateConnectionPeeringRoutes/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrivateConnectionPeeringRoutes", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListPrivateConnectionPeeringRoutes", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnectionPeeringRoutes", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListPrivateConnectionPeeringRoutes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListPrivateConnectionPeeringRoutesRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListPrivateConnectionPeeringRoutesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PeeringRouteIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListPrivateConnectionPeeringRoutes", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnectionPeeringRoutes", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListPrivateConnectionPeeringRoutes" }, + "description": "ListPrivateConnectionPeeringRoutes lists the private connection routes exchanged over a peering connection.", + "file": "Client/ListPrivateConnectionPeeringRoutes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPrivateConnectionPeeringRoutes_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListPrivateConnectionPeeringRoutes Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPrivateConnections_sync", - "title": "vmwareengine ListPrivateConnections Sample", - "description": "ListPrivateConnections lists `PrivateConnection` resources in a given project and location.", - "file": "Client/ListPrivateConnections/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListPrivateConnections", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListPrivateConnections", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListPrivateConnections" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListPrivateConnectionsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListPrivateConnectionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "PrivateConnectionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListPrivateConnections" }, + "description": "ListPrivateConnections lists `PrivateConnection` resources in a given project and location.", + "file": "Client/ListPrivateConnections/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListPrivateConnections_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListPrivateConnections Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListSubnets_sync", - "title": "vmwareengine ListSubnets Sample", - "description": "ListSubnets lists subnets in a given private cloud.", - "file": "Client/ListSubnets/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListSubnets", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListSubnets", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListSubnets" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListSubnetsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListSubnetsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubnetIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListSubnets", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ListSubnets" }, + "description": "ListSubnets lists subnets in a given private cloud.", + "file": "Client/ListSubnets/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListSubnets_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListSubnets Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListVmwareEngineNetworks_sync", - "title": "vmwareengine ListVmwareEngineNetworks Sample", - "description": "ListVmwareEngineNetworks lists `VmwareEngineNetwork` resources in a given project and location.", - "file": "Client/ListVmwareEngineNetworks/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListVmwareEngineNetworks", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ListVmwareEngineNetworks", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListVmwareEngineNetworks", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ListVmwareEngineNetworks" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ListVmwareEngineNetworksRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ListVmwareEngineNetworksRequest" }, { - "type": "...gax.CallOption", - "name": "opts" - } - ], - "resultType": "VmwareEngineNetworkIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ListVmwareEngineNetworks", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListVmwareEngineNetworks", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" + "name": "opts", + "type": "...gax.CallOption" } - } + ], + "resultType": "VmwareEngineNetworkIterator", + "shortName": "ListVmwareEngineNetworks" }, + "description": "ListVmwareEngineNetworks lists `VmwareEngineNetwork` resources in a given project and location.", + "file": "Client/ListVmwareEngineNetworks/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ListVmwareEngineNetworks_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ListVmwareEngineNetworks Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_RepairManagementDnsZoneBinding_sync", - "title": "vmwareengine RepairManagementDnsZoneBinding Sample", - "description": "RepairManagementDnsZoneBinding retries to create a `ManagementDnsZoneBinding` resource that is\nin failed state.", - "file": "Client/RepairManagementDnsZoneBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "RepairManagementDnsZoneBinding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.RepairManagementDnsZoneBinding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.RepairManagementDnsZoneBinding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "RepairManagementDnsZoneBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.RepairManagementDnsZoneBindingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.RepairManagementDnsZoneBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RepairManagementDnsZoneBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "RepairManagementDnsZoneBinding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.RepairManagementDnsZoneBinding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "RepairManagementDnsZoneBinding" }, + "description": "RepairManagementDnsZoneBinding retries to create a `ManagementDnsZoneBinding` resource that is\nin failed state.", + "file": "Client/RepairManagementDnsZoneBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_RepairManagementDnsZoneBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine RepairManagementDnsZoneBinding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ResetNsxCredentials_sync", - "title": "vmwareengine ResetNsxCredentials Sample", - "description": "ResetNsxCredentials resets credentials of the NSX appliance.", - "file": "Client/ResetNsxCredentials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetNsxCredentials", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ResetNsxCredentials", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ResetNsxCredentials", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ResetNsxCredentials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ResetNsxCredentialsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ResetNsxCredentialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetNsxCredentialsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ResetNsxCredentials", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ResetNsxCredentials", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ResetNsxCredentials" }, + "description": "ResetNsxCredentials resets credentials of the NSX appliance.", + "file": "Client/ResetNsxCredentials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ResetNsxCredentials_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ResetNsxCredentials Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ResetVcenterCredentials_sync", - "title": "vmwareengine ResetVcenterCredentials Sample", - "description": "ResetVcenterCredentials resets credentials of the Vcenter appliance.", - "file": "Client/ResetVcenterCredentials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ResetVcenterCredentials", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ResetVcenterCredentials", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ResetVcenterCredentials", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ResetVcenterCredentials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ResetVcenterCredentialsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ResetVcenterCredentialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ResetVcenterCredentialsOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ResetVcenterCredentials", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ResetVcenterCredentials", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ResetVcenterCredentials" }, + "description": "ResetVcenterCredentials resets credentials of the Vcenter appliance.", + "file": "Client/ResetVcenterCredentials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ResetVcenterCredentials_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ResetVcenterCredentials Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_RevokeDnsBindPermission_sync", - "title": "vmwareengine RevokeDnsBindPermission Sample", - "description": "RevokeDnsBindPermission revokes the bind permission from the customer provided principal(user /\nservice account) on the intranet VPC associated with the consumer project.\nDnsBindPermission is a global resource and location can only be global.", - "file": "Client/RevokeDnsBindPermission/main.go", - "language": "GO", "clientMethod": { - "shortName": "RevokeDnsBindPermission", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.RevokeDnsBindPermission", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.RevokeDnsBindPermission", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "RevokeDnsBindPermission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.RevokeDnsBindPermissionRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.RevokeDnsBindPermissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RevokeDnsBindPermissionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "RevokeDnsBindPermission", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.RevokeDnsBindPermission", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "RevokeDnsBindPermission" }, + "description": "RevokeDnsBindPermission revokes the bind permission from the customer provided principal(user /\nservice account) on the intranet VPC associated with the consumer project.\nDnsBindPermission is a global resource and location can only be global.", + "file": "Client/RevokeDnsBindPermission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_RevokeDnsBindPermission_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine RevokeDnsBindPermission Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_SetIamPolicy_sync", - "title": "vmwareengine 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", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine SetIamPolicy Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ShowNsxCredentials_sync", - "title": "vmwareengine ShowNsxCredentials Sample", - "description": "ShowNsxCredentials gets details of credentials for NSX appliance.", - "file": "Client/ShowNsxCredentials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ShowNsxCredentials", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ShowNsxCredentials", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ShowNsxCredentials", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ShowNsxCredentials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ShowNsxCredentialsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ShowNsxCredentialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.Credentials", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ShowNsxCredentials", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ShowNsxCredentials", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ShowNsxCredentials" }, + "description": "ShowNsxCredentials gets details of credentials for NSX appliance.", + "file": "Client/ShowNsxCredentials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ShowNsxCredentials_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ShowNsxCredentials Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_ShowVcenterCredentials_sync", - "title": "vmwareengine ShowVcenterCredentials Sample", - "description": "ShowVcenterCredentials gets details of credentials for Vcenter appliance.", - "file": "Client/ShowVcenterCredentials/main.go", - "language": "GO", "clientMethod": { - "shortName": "ShowVcenterCredentials", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.ShowVcenterCredentials", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ShowVcenterCredentials", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "ShowVcenterCredentials" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.ShowVcenterCredentialsRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.ShowVcenterCredentialsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vmwareenginepb.Credentials", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "ShowVcenterCredentials", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ShowVcenterCredentials", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "ShowVcenterCredentials" }, + "description": "ShowVcenterCredentials gets details of credentials for Vcenter appliance.", + "file": "Client/ShowVcenterCredentials/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_ShowVcenterCredentials_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine ShowVcenterCredentials Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_TestIamPermissions_sync", - "title": "vmwareengine 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", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine TestIamPermissions Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UndeletePrivateCloud_sync", - "title": "vmwareengine UndeletePrivateCloud Sample", - "description": "UndeletePrivateCloud restores a private cloud that was previously scheduled for deletion by\n`DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has\n`PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to\nthe time when deletion can no longer be reversed.", - "file": "Client/UndeletePrivateCloud/main.go", - "language": "GO", "clientMethod": { - "shortName": "UndeletePrivateCloud", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UndeletePrivateCloud", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UndeletePrivateCloud", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UndeletePrivateCloud" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UndeletePrivateCloudRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UndeletePrivateCloudRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UndeletePrivateCloudOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UndeletePrivateCloud", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UndeletePrivateCloud", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UndeletePrivateCloud" }, + "description": "UndeletePrivateCloud restores a private cloud that was previously scheduled for deletion by\n`DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has\n`PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to\nthe time when deletion can no longer be reversed.", + "file": "Client/UndeletePrivateCloud/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UndeletePrivateCloud_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UndeletePrivateCloud Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateCluster_sync", - "title": "vmwareengine UpdateCluster Sample", - "description": "UpdateCluster modifies a `Cluster` resource. Only fields specified in `updateMask` are\napplied.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", - "file": "Client/UpdateCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateCluster", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateCluster", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateCluster", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateClusterRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateCluster", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateCluster" }, + "description": "UpdateCluster modifies a `Cluster` resource. Only fields specified in `updateMask` are\napplied.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", + "file": "Client/UpdateCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateCluster Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateDnsForwarding_sync", - "title": "vmwareengine UpdateDnsForwarding Sample", - "description": "UpdateDnsForwarding updates the parameters of the `DnsForwarding` config, like associated\ndomains. Only fields specified in `update_mask` are applied.", - "file": "Client/UpdateDnsForwarding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateDnsForwarding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateDnsForwarding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateDnsForwarding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateDnsForwarding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateDnsForwardingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateDnsForwardingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateDnsForwardingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateDnsForwarding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateDnsForwarding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateDnsForwarding" }, + "description": "UpdateDnsForwarding updates the parameters of the `DnsForwarding` config, like associated\ndomains. Only fields specified in `update_mask` are applied.", + "file": "Client/UpdateDnsForwarding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateDnsForwarding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateDnsForwarding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateExternalAccessRule_sync", - "title": "vmwareengine UpdateExternalAccessRule Sample", - "description": "UpdateExternalAccessRule updates the parameters of a single external access rule.\nOnly fields specified in `update_mask` are applied.", - "file": "Client/UpdateExternalAccessRule/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExternalAccessRule", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateExternalAccessRule", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAccessRule", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateExternalAccessRule" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateExternalAccessRuleRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateExternalAccessRuleRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateExternalAccessRuleOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateExternalAccessRule", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAccessRule", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateExternalAccessRule" }, + "description": "UpdateExternalAccessRule updates the parameters of a single external access rule.\nOnly fields specified in `update_mask` are applied.", + "file": "Client/UpdateExternalAccessRule/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateExternalAccessRule_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateExternalAccessRule Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateExternalAddress_sync", - "title": "vmwareengine UpdateExternalAddress Sample", - "description": "UpdateExternalAddress updates the parameters of a single external IP address.\nOnly fields specified in `update_mask` are applied.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", - "file": "Client/UpdateExternalAddress/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateExternalAddress", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateExternalAddress", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAddress", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateExternalAddress" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateExternalAddressRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateExternalAddressRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateExternalAddressOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateExternalAddress", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAddress", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateExternalAddress" }, + "description": "UpdateExternalAddress updates the parameters of a single external IP address.\nOnly fields specified in `update_mask` are applied.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", + "file": "Client/UpdateExternalAddress/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateExternalAddress_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateExternalAddress Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateLoggingServer_sync", - "title": "vmwareengine UpdateLoggingServer Sample", - "description": "UpdateLoggingServer updates the parameters of a single logging server.\nOnly fields specified in `update_mask` are applied.", - "file": "Client/UpdateLoggingServer/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateLoggingServer", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateLoggingServer", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateLoggingServer", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateLoggingServer" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateLoggingServerRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateLoggingServerRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateLoggingServerOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateLoggingServer", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateLoggingServer", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateLoggingServer" }, + "description": "UpdateLoggingServer updates the parameters of a single logging server.\nOnly fields specified in `update_mask` are applied.", + "file": "Client/UpdateLoggingServer/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateLoggingServer_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateLoggingServer Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateManagementDnsZoneBinding_sync", - "title": "vmwareengine UpdateManagementDnsZoneBinding Sample", - "description": "UpdateManagementDnsZoneBinding updates a `ManagementDnsZoneBinding` resource.\nOnly fields specified in `update_mask` are applied.", - "file": "Client/UpdateManagementDnsZoneBinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateManagementDnsZoneBinding", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateManagementDnsZoneBinding", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateManagementDnsZoneBinding", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateManagementDnsZoneBinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateManagementDnsZoneBindingRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateManagementDnsZoneBindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateManagementDnsZoneBindingOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateManagementDnsZoneBinding", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateManagementDnsZoneBinding", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateManagementDnsZoneBinding" }, + "description": "UpdateManagementDnsZoneBinding updates a `ManagementDnsZoneBinding` resource.\nOnly fields specified in `update_mask` are applied.", + "file": "Client/UpdateManagementDnsZoneBinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateManagementDnsZoneBinding_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateManagementDnsZoneBinding Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateNetworkPeering_sync", - "title": "vmwareengine UpdateNetworkPeering Sample", - "description": "UpdateNetworkPeering modifies a `NetworkPeering` resource. Only the `description` field can be\nupdated. Only fields specified in `updateMask` are applied. NetworkPeering\nis a global resource and location can only be global.", - "file": "Client/UpdateNetworkPeering/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNetworkPeering", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateNetworkPeering", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPeering", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateNetworkPeering" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateNetworkPeeringRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateNetworkPeeringRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateNetworkPeeringOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateNetworkPeering", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPeering", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateNetworkPeering" }, + "description": "UpdateNetworkPeering modifies a `NetworkPeering` resource. Only the `description` field can be\nupdated. Only fields specified in `updateMask` are applied. NetworkPeering\nis a global resource and location can only be global.", + "file": "Client/UpdateNetworkPeering/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateNetworkPeering_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateNetworkPeering Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateNetworkPolicy_sync", - "title": "vmwareengine UpdateNetworkPolicy Sample", - "description": "UpdateNetworkPolicy modifies a `NetworkPolicy` resource. Only the following fields can be\nupdated: `internet_access`, `external_ip`, `edge_services_cidr`.\nOnly fields specified in `updateMask` are applied. When updating a network\npolicy, the external IP network service can only be disabled if there are\nno external IP addresses present in the scope of the policy. Also, a\n`NetworkService` cannot be updated when `NetworkService.state` is set\nto `RECONCILING`.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", - "file": "Client/UpdateNetworkPolicy/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateNetworkPolicy", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateNetworkPolicy", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPolicy", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateNetworkPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateNetworkPolicyRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateNetworkPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateNetworkPolicyOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateNetworkPolicy", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPolicy", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateNetworkPolicy" }, + "description": "UpdateNetworkPolicy modifies a `NetworkPolicy` resource. Only the following fields can be\nupdated: `internet_access`, `external_ip`, `edge_services_cidr`.\nOnly fields specified in `updateMask` are applied. When updating a network\npolicy, the external IP network service can only be disabled if there are\nno external IP addresses present in the scope of the policy. Also, a\n`NetworkService` cannot be updated when `NetworkService.state` is set\nto `RECONCILING`.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", + "file": "Client/UpdateNetworkPolicy/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateNetworkPolicy_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateNetworkPolicy Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdatePrivateCloud_sync", - "title": "vmwareengine UpdatePrivateCloud Sample", - "description": "UpdatePrivateCloud modifies a `PrivateCloud` resource. Only the following fields can be\nupdated: `description`.\nOnly fields specified in `updateMask` are applied.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", - "file": "Client/UpdatePrivateCloud/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePrivateCloud", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdatePrivateCloud", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateCloud", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdatePrivateCloud" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdatePrivateCloudRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdatePrivateCloudRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePrivateCloudOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdatePrivateCloud", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateCloud", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdatePrivateCloud" }, + "description": "UpdatePrivateCloud modifies a `PrivateCloud` resource. Only the following fields can be\nupdated: `description`.\nOnly fields specified in `updateMask` are applied.\n\nDuring operation processing, the resource is temporarily in the `ACTIVE`\nstate before the operation fully completes. For that period of time, you\ncan't update the resource. Use the operation status to determine when the\nprocessing fully completes.", + "file": "Client/UpdatePrivateCloud/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdatePrivateCloud_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdatePrivateCloud Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdatePrivateConnection_sync", - "title": "vmwareengine UpdatePrivateConnection Sample", - "description": "UpdatePrivateConnection modifies a `PrivateConnection` resource. Only `description` and\n`routing_mode` fields can be updated. Only fields specified in `updateMask`\nare applied.", - "file": "Client/UpdatePrivateConnection/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdatePrivateConnection", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdatePrivateConnection", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateConnection", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdatePrivateConnection" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdatePrivateConnectionRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdatePrivateConnectionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdatePrivateConnectionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdatePrivateConnection", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateConnection", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdatePrivateConnection" }, + "description": "UpdatePrivateConnection modifies a `PrivateConnection` resource. Only `description` and\n`routing_mode` fields can be updated. Only fields specified in `updateMask`\nare applied.", + "file": "Client/UpdatePrivateConnection/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdatePrivateConnection_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdatePrivateConnection Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateSubnet_sync", - "title": "vmwareengine UpdateSubnet Sample", - "description": "UpdateSubnet updates the parameters of a single subnet. Only fields specified in\n`update_mask` are applied.\n\n*Note*: This API is synchronous and always returns a successful\n`google.longrunning.Operation` (LRO). The returned LRO will only have\n`done` and `response` fields.", - "file": "Client/UpdateSubnet/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateSubnet", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateSubnet", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateSubnet", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateSubnet" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateSubnetRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateSubnetRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateSubnetOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateSubnet", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateSubnet", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateSubnet" }, + "description": "UpdateSubnet updates the parameters of a single subnet. Only fields specified in\n`update_mask` are applied.\n\n*Note*: This API is synchronous and always returns a successful\n`google.longrunning.Operation` (LRO). The returned LRO will only have\n`done` and `response` fields.", + "file": "Client/UpdateSubnet/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateSubnet_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateSubnet Sample" }, { - "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateVmwareEngineNetwork_sync", - "title": "vmwareengine UpdateVmwareEngineNetwork Sample", - "description": "UpdateVmwareEngineNetwork modifies a VMware Engine network resource. Only the following fields can be\nupdated: `description`. Only fields specified in `updateMask` are\napplied.", - "file": "Client/UpdateVmwareEngineNetwork/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateVmwareEngineNetwork", + "client": { + "fullName": "google.cloud.vmwareengine.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vmwareengine.v1.Client.UpdateVmwareEngineNetwork", + "method": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateVmwareEngineNetwork", + "service": { + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine", + "shortName": "VmwareEngine" + }, + "shortName": "UpdateVmwareEngineNetwork" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vmwareenginepb.UpdateVmwareEngineNetworkRequest", - "name": "req" + "name": "req", + "type": "vmwareenginepb.UpdateVmwareEngineNetworkRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateVmwareEngineNetworkOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vmwareengine.v1.Client" - }, - "method": { - "shortName": "UpdateVmwareEngineNetwork", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateVmwareEngineNetwork", - "service": { - "shortName": "VmwareEngine", - "fullName": "google.cloud.vmwareengine.v1.VmwareEngine" - } - } + "shortName": "UpdateVmwareEngineNetwork" }, + "description": "UpdateVmwareEngineNetwork modifies a VMware Engine network resource. Only the following fields can be\nupdated: `description`. Only fields specified in `updateMask` are\napplied.", + "file": "Client/UpdateVmwareEngineNetwork/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vmwareengine_v1_generated_VmwareEngine_UpdateVmwareEngineNetwork_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vmwareengine UpdateVmwareEngineNetwork Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json b/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json index acc17f150edc..2184cf884309 100644 --- a/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json +++ b/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json @@ -1,337 +1,337 @@ { "clientLibrary": { - "name": "cloud.google.com/go/vpcaccess/apiv1", - "version": "1.8.7", - "language": "GO", "apis": [ { "id": "google.cloud.vpcaccess.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/vpcaccess/apiv1", + "version": "1.8.7" }, "snippets": [ { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_CreateConnector_sync", - "title": "vpcaccess CreateConnector Sample", - "description": "CreateConnector creates a Serverless VPC Access connector, returns an operation.", - "file": "Client/CreateConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateConnector", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.CreateConnector", + "method": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.CreateConnector", + "service": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService", + "shortName": "VpcAccessService" + }, + "shortName": "CreateConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vpcaccesspb.CreateConnectorRequest", - "name": "req" + "name": "req", + "type": "vpcaccesspb.CreateConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "CreateConnector", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.CreateConnector", - "service": { - "shortName": "VpcAccessService", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService" - } - } + "shortName": "CreateConnector" }, + "description": "CreateConnector creates a Serverless VPC Access connector, returns an operation.", + "file": "Client/CreateConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_CreateConnector_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess CreateConnector Sample" }, { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_DeleteConnector_sync", - "title": "vpcaccess DeleteConnector Sample", - "description": "DeleteConnector deletes a Serverless VPC Access connector. Returns NOT_FOUND if the\nresource does not exist.", - "file": "Client/DeleteConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteConnector", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.DeleteConnector", + "method": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.DeleteConnector", + "service": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService", + "shortName": "VpcAccessService" + }, + "shortName": "DeleteConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vpcaccesspb.DeleteConnectorRequest", - "name": "req" + "name": "req", + "type": "vpcaccesspb.DeleteConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteConnectorOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "DeleteConnector", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.DeleteConnector", - "service": { - "shortName": "VpcAccessService", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService" - } - } + "shortName": "DeleteConnector" }, + "description": "DeleteConnector deletes a Serverless VPC Access connector. Returns NOT_FOUND if the\nresource does not exist.", + "file": "Client/DeleteConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_DeleteConnector_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess DeleteConnector Sample" }, { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_GetConnector_sync", - "title": "vpcaccess GetConnector Sample", - "description": "GetConnector gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource\ndoes not exist.", - "file": "Client/GetConnector/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetConnector", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.GetConnector", + "method": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.GetConnector", + "service": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService", + "shortName": "VpcAccessService" + }, + "shortName": "GetConnector" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vpcaccesspb.GetConnectorRequest", - "name": "req" + "name": "req", + "type": "vpcaccesspb.GetConnectorRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*vpcaccesspb.Connector", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "GetConnector", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.GetConnector", - "service": { - "shortName": "VpcAccessService", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService" - } - } + "shortName": "GetConnector" }, + "description": "GetConnector gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource\ndoes not exist.", + "file": "Client/GetConnector/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_GetConnector_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess GetConnector Sample" }, { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_GetOperation_sync", - "title": "vpcaccess GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess GetOperation Sample" }, { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_ListConnectors_sync", - "title": "vpcaccess ListConnectors Sample", - "description": "ListConnectors lists Serverless VPC Access connectors.", - "file": "Client/ListConnectors/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListConnectors", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.ListConnectors", + "method": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.ListConnectors", + "service": { + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService", + "shortName": "VpcAccessService" + }, + "shortName": "ListConnectors" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "vpcaccesspb.ListConnectorsRequest", - "name": "req" + "name": "req", + "type": "vpcaccesspb.ListConnectorsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ConnectorIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "ListConnectors", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.ListConnectors", - "service": { - "shortName": "VpcAccessService", - "fullName": "google.cloud.vpcaccess.v1.VpcAccessService" - } - } + "shortName": "ListConnectors" }, + "description": "ListConnectors lists Serverless VPC Access connectors.", + "file": "Client/ListConnectors/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_ListConnectors_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess ListConnectors Sample" }, { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_ListLocations_sync", - "title": "vpcaccess ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess ListLocations Sample" }, { - "regionTag": "vpcaccess_v1_generated_VpcAccessService_ListOperations_sync", - "title": "vpcaccess ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.vpcaccess.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.vpcaccess.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.vpcaccess.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "vpcaccess_v1_generated_VpcAccessService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "vpcaccess ListOperations Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json b/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json index d0627579aaa7..18cf482f2bad 100644 --- a/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json +++ b/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json @@ -1,427 +1,427 @@ { "clientLibrary": { - "name": "cloud.google.com/go/webrisk/apiv1", - "version": "1.11.2", - "language": "GO", "apis": [ { "id": "google.cloud.webrisk.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/webrisk/apiv1", + "version": "1.11.2" }, "snippets": [ { - "regionTag": "webrisk_v1_generated_WebRiskService_CancelOperation_sync", - "title": "webrisk CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk CancelOperation Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_ComputeThreatListDiff_sync", - "title": "webrisk ComputeThreatListDiff Sample", - "description": "ComputeThreatListDiff gets the most recent threat list diffs. These diffs should be applied to\na local database of hashes to keep it up-to-date. If the local database is\nempty or excessively out-of-date, a complete snapshot of the database will\nbe returned. This Method only updates a single ThreatList at a time. To\nupdate multiple ThreatList databases, this method needs to be called once\nfor each list.", - "file": "Client/ComputeThreatListDiff/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeThreatListDiff", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.ComputeThreatListDiff", + "method": { + "fullName": "google.cloud.webrisk.v1.WebRiskService.ComputeThreatListDiff", + "service": { + "fullName": "google.cloud.webrisk.v1.WebRiskService", + "shortName": "WebRiskService" + }, + "shortName": "ComputeThreatListDiff" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.ComputeThreatListDiffRequest", - "name": "req" + "name": "req", + "type": "webriskpb.ComputeThreatListDiffRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.ComputeThreatListDiffResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "ComputeThreatListDiff", - "fullName": "google.cloud.webrisk.v1.WebRiskService.ComputeThreatListDiff", - "service": { - "shortName": "WebRiskService", - "fullName": "google.cloud.webrisk.v1.WebRiskService" - } - } + "shortName": "ComputeThreatListDiff" }, + "description": "ComputeThreatListDiff gets the most recent threat list diffs. These diffs should be applied to\na local database of hashes to keep it up-to-date. If the local database is\nempty or excessively out-of-date, a complete snapshot of the database will\nbe returned. This Method only updates a single ThreatList at a time. To\nupdate multiple ThreatList databases, this method needs to be called once\nfor each list.", + "file": "Client/ComputeThreatListDiff/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_ComputeThreatListDiff_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk ComputeThreatListDiff Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_CreateSubmission_sync", - "title": "webrisk CreateSubmission Sample", - "description": "CreateSubmission creates a Submission of a URI suspected of containing phishing content to\nbe reviewed. If the result verifies the existence of malicious phishing\ncontent, the site will be added to the [Google's Social Engineering\nlists](https: //support.google.com/webmasters/answer/6350487/) in order to\nprotect users that could get exposed to this threat in the future. Only\nallowlisted projects can use this method during Early Access. Please reach\nout to Sales or your customer engineer to obtain access.", - "file": "Client/CreateSubmission/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateSubmission", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.CreateSubmission", + "method": { + "fullName": "google.cloud.webrisk.v1.WebRiskService.CreateSubmission", + "service": { + "fullName": "google.cloud.webrisk.v1.WebRiskService", + "shortName": "WebRiskService" + }, + "shortName": "CreateSubmission" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.CreateSubmissionRequest", - "name": "req" + "name": "req", + "type": "webriskpb.CreateSubmissionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.Submission", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "CreateSubmission", - "fullName": "google.cloud.webrisk.v1.WebRiskService.CreateSubmission", - "service": { - "shortName": "WebRiskService", - "fullName": "google.cloud.webrisk.v1.WebRiskService" - } - } + "shortName": "CreateSubmission" }, + "description": "CreateSubmission creates a Submission of a URI suspected of containing phishing content to\nbe reviewed. If the result verifies the existence of malicious phishing\ncontent, the site will be added to the [Google's Social Engineering\nlists](https: //support.google.com/webmasters/answer/6350487/) in order to\nprotect users that could get exposed to this threat in the future. Only\nallowlisted projects can use this method during Early Access. Please reach\nout to Sales or your customer engineer to obtain access.", + "file": "Client/CreateSubmission/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_CreateSubmission_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk CreateSubmission Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_DeleteOperation_sync", - "title": "webrisk DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk DeleteOperation Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_GetOperation_sync", - "title": "webrisk GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk GetOperation Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_ListOperations_sync", - "title": "webrisk ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk ListOperations Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_SearchHashes_sync", - "title": "webrisk SearchHashes Sample", - "description": "SearchHashes gets the full hashes that match the requested hash prefix.\nThis is used after a hash prefix is looked up in a threatList\nand there is a match. The client side threatList only holds partial hashes\nso the client must query this method to determine if there is a full\nhash match of a threat.", - "file": "Client/SearchHashes/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchHashes", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.SearchHashes", + "method": { + "fullName": "google.cloud.webrisk.v1.WebRiskService.SearchHashes", + "service": { + "fullName": "google.cloud.webrisk.v1.WebRiskService", + "shortName": "WebRiskService" + }, + "shortName": "SearchHashes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.SearchHashesRequest", - "name": "req" + "name": "req", + "type": "webriskpb.SearchHashesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.SearchHashesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "SearchHashes", - "fullName": "google.cloud.webrisk.v1.WebRiskService.SearchHashes", - "service": { - "shortName": "WebRiskService", - "fullName": "google.cloud.webrisk.v1.WebRiskService" - } - } + "shortName": "SearchHashes" }, + "description": "SearchHashes gets the full hashes that match the requested hash prefix.\nThis is used after a hash prefix is looked up in a threatList\nand there is a match. The client side threatList only holds partial hashes\nso the client must query this method to determine if there is a full\nhash match of a threat.", + "file": "Client/SearchHashes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_SearchHashes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk SearchHashes Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_SearchUris_sync", - "title": "webrisk SearchUris Sample", - "description": "SearchUris this method is used to check whether a URI is on a given threatList.\nMultiple threatLists may be searched in a single query.\nThe response will list all requested threatLists the URI was found to\nmatch. If the URI is not found on any of the requested ThreatList an\nempty response will be returned.", - "file": "Client/SearchUris/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchUris", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.SearchUris", + "method": { + "fullName": "google.cloud.webrisk.v1.WebRiskService.SearchUris", + "service": { + "fullName": "google.cloud.webrisk.v1.WebRiskService", + "shortName": "WebRiskService" + }, + "shortName": "SearchUris" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.SearchUrisRequest", - "name": "req" + "name": "req", + "type": "webriskpb.SearchUrisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.SearchUrisResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "SearchUris", - "fullName": "google.cloud.webrisk.v1.WebRiskService.SearchUris", - "service": { - "shortName": "WebRiskService", - "fullName": "google.cloud.webrisk.v1.WebRiskService" - } - } + "shortName": "SearchUris" }, + "description": "SearchUris this method is used to check whether a URI is on a given threatList.\nMultiple threatLists may be searched in a single query.\nThe response will list all requested threatLists the URI was found to\nmatch. If the URI is not found on any of the requested ThreatList an\nempty response will be returned.", + "file": "Client/SearchUris/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_SearchUris_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk SearchUris Sample" }, { - "regionTag": "webrisk_v1_generated_WebRiskService_SubmitUri_sync", - "title": "webrisk SubmitUri Sample", - "description": "SubmitUri submits a URI suspected of containing malicious content to be reviewed.\nReturns a google.longrunning.Operation which, once the review is complete,\nis updated with its result. You can use the [Pub/Sub API]\n(https: //cloud.google.com/pubsub) to receive notifications for the returned\nOperation. If the result verifies the existence of malicious content, the\nsite will be added to the [Google's Social Engineering lists]\n(https: //support.google.com/webmasters/answer/6350487/) in order to\nprotect users that could get exposed to this threat in the future. Only\nallowlisted projects can use this method during Early Access. Please reach\nout to Sales or your customer engineer to obtain access.", - "file": "Client/SubmitUri/main.go", - "language": "GO", "clientMethod": { - "shortName": "SubmitUri", + "client": { + "fullName": "google.cloud.webrisk.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.webrisk.v1.Client.SubmitUri", + "method": { + "fullName": "google.cloud.webrisk.v1.WebRiskService.SubmitUri", + "service": { + "fullName": "google.cloud.webrisk.v1.WebRiskService", + "shortName": "WebRiskService" + }, + "shortName": "SubmitUri" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.SubmitUriRequest", - "name": "req" + "name": "req", + "type": "webriskpb.SubmitUriRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "SubmitUriOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.webrisk.v1.Client" - }, - "method": { - "shortName": "SubmitUri", - "fullName": "google.cloud.webrisk.v1.WebRiskService.SubmitUri", - "service": { - "shortName": "WebRiskService", - "fullName": "google.cloud.webrisk.v1.WebRiskService" - } - } + "shortName": "SubmitUri" }, + "description": "SubmitUri submits a URI suspected of containing malicious content to be reviewed.\nReturns a google.longrunning.Operation which, once the review is complete,\nis updated with its result. You can use the [Pub/Sub API]\n(https: //cloud.google.com/pubsub) to receive notifications for the returned\nOperation. If the result verifies the existence of malicious content, the\nsite will be added to the [Google's Social Engineering lists]\n(https: //support.google.com/webmasters/answer/6350487/) in order to\nprotect users that could get exposed to this threat in the future. Only\nallowlisted projects can use this method during Early Access. Please reach\nout to Sales or your customer engineer to obtain access.", + "file": "Client/SubmitUri/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1_generated_WebRiskService_SubmitUri_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk SubmitUri Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json index d65954d279d6..cfe653ba159d 100644 --- a/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json +++ b/internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json @@ -1,153 +1,153 @@ { "clientLibrary": { - "name": "cloud.google.com/go/webrisk/apiv1beta1", - "version": "1.11.2", - "language": "GO", "apis": [ { "id": "google.cloud.webrisk.v1beta1", "version": "v1beta1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/webrisk/apiv1beta1", + "version": "1.11.2" }, "snippets": [ { - "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_ComputeThreatListDiff_sync", - "title": "webrisk ComputeThreatListDiff Sample", - "description": "ComputeThreatListDiff gets the most recent threat list diffs.", - "file": "WebRiskServiceV1Beta1Client/ComputeThreatListDiff/main.go", - "language": "GO", "clientMethod": { - "shortName": "ComputeThreatListDiff", + "client": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client", + "shortName": "WebRiskServiceV1Beta1Client" + }, "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client.ComputeThreatListDiff", + "method": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.ComputeThreatListDiff", + "service": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", + "shortName": "WebRiskServiceV1Beta1" + }, + "shortName": "ComputeThreatListDiff" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.ComputeThreatListDiffRequest", - "name": "req" + "name": "req", + "type": "webriskpb.ComputeThreatListDiffRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.ComputeThreatListDiffResponse", - "client": { - "shortName": "WebRiskServiceV1Beta1Client", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client" - }, - "method": { - "shortName": "ComputeThreatListDiff", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.ComputeThreatListDiff", - "service": { - "shortName": "WebRiskServiceV1Beta1", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1" - } - } + "shortName": "ComputeThreatListDiff" }, + "description": "ComputeThreatListDiff gets the most recent threat list diffs.", + "file": "WebRiskServiceV1Beta1Client/ComputeThreatListDiff/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_ComputeThreatListDiff_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk ComputeThreatListDiff Sample" }, { - "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_SearchHashes_sync", - "title": "webrisk SearchHashes Sample", - "description": "SearchHashes gets the full hashes that match the requested hash prefix.\nThis is used after a hash prefix is looked up in a threatList\nand there is a match. The client side threatList only holds partial hashes\nso the client must query this method to determine if there is a full\nhash match of a threat.", - "file": "WebRiskServiceV1Beta1Client/SearchHashes/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchHashes", + "client": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client", + "shortName": "WebRiskServiceV1Beta1Client" + }, "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client.SearchHashes", + "method": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchHashes", + "service": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", + "shortName": "WebRiskServiceV1Beta1" + }, + "shortName": "SearchHashes" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.SearchHashesRequest", - "name": "req" + "name": "req", + "type": "webriskpb.SearchHashesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.SearchHashesResponse", - "client": { - "shortName": "WebRiskServiceV1Beta1Client", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client" - }, - "method": { - "shortName": "SearchHashes", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchHashes", - "service": { - "shortName": "WebRiskServiceV1Beta1", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1" - } - } + "shortName": "SearchHashes" }, + "description": "SearchHashes gets the full hashes that match the requested hash prefix.\nThis is used after a hash prefix is looked up in a threatList\nand there is a match. The client side threatList only holds partial hashes\nso the client must query this method to determine if there is a full\nhash match of a threat.", + "file": "WebRiskServiceV1Beta1Client/SearchHashes/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_SearchHashes_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk SearchHashes Sample" }, { - "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_SearchUris_sync", - "title": "webrisk SearchUris Sample", - "description": "SearchUris this method is used to check whether a URI is on a given threatList.", - "file": "WebRiskServiceV1Beta1Client/SearchUris/main.go", - "language": "GO", "clientMethod": { - "shortName": "SearchUris", + "client": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client", + "shortName": "WebRiskServiceV1Beta1Client" + }, "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client.SearchUris", + "method": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchUris", + "service": { + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", + "shortName": "WebRiskServiceV1Beta1" + }, + "shortName": "SearchUris" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "webriskpb.SearchUrisRequest", - "name": "req" + "name": "req", + "type": "webriskpb.SearchUrisRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*webriskpb.SearchUrisResponse", - "client": { - "shortName": "WebRiskServiceV1Beta1Client", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client" - }, - "method": { - "shortName": "SearchUris", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchUris", - "service": { - "shortName": "WebRiskServiceV1Beta1", - "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1" - } - } + "shortName": "SearchUris" }, + "description": "SearchUris this method is used to check whether a URI is on a given threatList.", + "file": "WebRiskServiceV1Beta1Client/SearchUris/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_SearchUris_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "webrisk SearchUris Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json b/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json index 63be359e9ea4..d1592baa422f 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json +++ b/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json @@ -1,612 +1,612 @@ { "clientLibrary": { - "name": "cloud.google.com/go/websecurityscanner/apiv1", - "version": "1.7.7", - "language": "GO", "apis": [ { "id": "google.cloud.websecurityscanner.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/websecurityscanner/apiv1", + "version": "1.7.7" }, "snippets": [ { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_CreateScanConfig_sync", - "title": "websecurityscanner CreateScanConfig Sample", - "description": "CreateScanConfig creates a new ScanConfig.", - "file": "Client/CreateScanConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateScanConfig", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.CreateScanConfig", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.CreateScanConfig", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "CreateScanConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.CreateScanConfigRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.CreateScanConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ScanConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "CreateScanConfig", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.CreateScanConfig", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "CreateScanConfig" }, + "description": "CreateScanConfig creates a new ScanConfig.", + "file": "Client/CreateScanConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_CreateScanConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner CreateScanConfig Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_DeleteScanConfig_sync", - "title": "websecurityscanner DeleteScanConfig Sample", - "description": "DeleteScanConfig deletes an existing ScanConfig and its child resources.", - "file": "Client/DeleteScanConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteScanConfig", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.DeleteScanConfig", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.DeleteScanConfig", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "DeleteScanConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.DeleteScanConfigRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.DeleteScanConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "DeleteScanConfig", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.DeleteScanConfig", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "DeleteScanConfig" }, + "description": "DeleteScanConfig deletes an existing ScanConfig and its child resources.", + "file": "Client/DeleteScanConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_DeleteScanConfig_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner DeleteScanConfig Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_GetFinding_sync", - "title": "websecurityscanner GetFinding Sample", - "description": "GetFinding gets a Finding.", - "file": "Client/GetFinding/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetFinding", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.GetFinding", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetFinding", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "GetFinding" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.GetFindingRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.GetFindingRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.Finding", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "GetFinding", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetFinding", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "GetFinding" }, + "description": "GetFinding gets a Finding.", + "file": "Client/GetFinding/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_GetFinding_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner GetFinding Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_GetScanConfig_sync", - "title": "websecurityscanner GetScanConfig Sample", - "description": "GetScanConfig gets a ScanConfig.", - "file": "Client/GetScanConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetScanConfig", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.GetScanConfig", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanConfig", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "GetScanConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.GetScanConfigRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.GetScanConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ScanConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "GetScanConfig", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanConfig", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "GetScanConfig" }, + "description": "GetScanConfig gets a ScanConfig.", + "file": "Client/GetScanConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_GetScanConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner GetScanConfig Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_GetScanRun_sync", - "title": "websecurityscanner GetScanRun Sample", - "description": "GetScanRun gets a ScanRun.", - "file": "Client/GetScanRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetScanRun", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.GetScanRun", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanRun", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "GetScanRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.GetScanRunRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.GetScanRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ScanRun", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "GetScanRun", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanRun", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "GetScanRun" }, + "description": "GetScanRun gets a ScanRun.", + "file": "Client/GetScanRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_GetScanRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner GetScanRun Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_sync", - "title": "websecurityscanner ListCrawledUrls Sample", - "description": "ListCrawledUrls list CrawledUrls under a given ScanRun.", - "file": "Client/ListCrawledUrls/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListCrawledUrls", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.ListCrawledUrls", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListCrawledUrls", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "ListCrawledUrls" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.ListCrawledUrlsRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.ListCrawledUrlsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CrawledUrlIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "ListCrawledUrls", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListCrawledUrls", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "ListCrawledUrls" }, + "description": "ListCrawledUrls list CrawledUrls under a given ScanRun.", + "file": "Client/ListCrawledUrls/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListCrawledUrls_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner ListCrawledUrls Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListFindingTypeStats_sync", - "title": "websecurityscanner ListFindingTypeStats Sample", - "description": "ListFindingTypeStats list all FindingTypeStats under a given ScanRun.", - "file": "Client/ListFindingTypeStats/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindingTypeStats", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.ListFindingTypeStats", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingTypeStats", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "ListFindingTypeStats" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.ListFindingTypeStatsRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.ListFindingTypeStatsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ListFindingTypeStatsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "ListFindingTypeStats", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingTypeStats", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "ListFindingTypeStats" }, + "description": "ListFindingTypeStats list all FindingTypeStats under a given ScanRun.", + "file": "Client/ListFindingTypeStats/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListFindingTypeStats_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner ListFindingTypeStats Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_sync", - "title": "websecurityscanner ListFindings Sample", - "description": "ListFindings list Findings under a given ScanRun.", - "file": "Client/ListFindings/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListFindings", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.ListFindings", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindings", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "ListFindings" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.ListFindingsRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.ListFindingsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "FindingIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "ListFindings", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindings", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "ListFindings" }, + "description": "ListFindings list Findings under a given ScanRun.", + "file": "Client/ListFindings/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListFindings_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner ListFindings Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_sync", - "title": "websecurityscanner ListScanConfigs Sample", - "description": "ListScanConfigs lists ScanConfigs under a given project.", - "file": "Client/ListScanConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListScanConfigs", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.ListScanConfigs", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanConfigs", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "ListScanConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.ListScanConfigsRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.ListScanConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScanConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "ListScanConfigs", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanConfigs", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "ListScanConfigs" }, + "description": "ListScanConfigs lists ScanConfigs under a given project.", + "file": "Client/ListScanConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListScanConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner ListScanConfigs Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_sync", - "title": "websecurityscanner ListScanRuns Sample", - "description": "ListScanRuns lists ScanRuns under a given ScanConfig, in descending order of ScanRun\nstop time.", - "file": "Client/ListScanRuns/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListScanRuns", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.ListScanRuns", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanRuns", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "ListScanRuns" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.ListScanRunsRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.ListScanRunsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScanRunIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "ListScanRuns", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanRuns", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "ListScanRuns" }, + "description": "ListScanRuns lists ScanRuns under a given ScanConfig, in descending order of ScanRun\nstop time.", + "file": "Client/ListScanRuns/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_ListScanRuns_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner ListScanRuns Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_StartScanRun_sync", - "title": "websecurityscanner StartScanRun Sample", - "description": "StartScanRun start a ScanRun according to the given ScanConfig.", - "file": "Client/StartScanRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartScanRun", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.StartScanRun", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.StartScanRun", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "StartScanRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.StartScanRunRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.StartScanRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ScanRun", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "StartScanRun", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.StartScanRun", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "StartScanRun" }, + "description": "StartScanRun start a ScanRun according to the given ScanConfig.", + "file": "Client/StartScanRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_StartScanRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner StartScanRun Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_StopScanRun_sync", - "title": "websecurityscanner StopScanRun Sample", - "description": "StopScanRun stops a ScanRun. The stopped ScanRun is returned.", - "file": "Client/StopScanRun/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopScanRun", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.StopScanRun", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.StopScanRun", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "StopScanRun" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.StopScanRunRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.StopScanRunRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ScanRun", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "StopScanRun", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.StopScanRun", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "StopScanRun" }, + "description": "StopScanRun stops a ScanRun. The stopped ScanRun is returned.", + "file": "Client/StopScanRun/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_StopScanRun_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner StopScanRun Sample" }, { - "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_UpdateScanConfig_sync", - "title": "websecurityscanner UpdateScanConfig Sample", - "description": "UpdateScanConfig updates a ScanConfig. This method support partial update of a ScanConfig.", - "file": "Client/UpdateScanConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateScanConfig", + "client": { + "fullName": "google.cloud.websecurityscanner.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.websecurityscanner.v1.Client.UpdateScanConfig", + "method": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.UpdateScanConfig", + "service": { + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "shortName": "WebSecurityScanner" + }, + "shortName": "UpdateScanConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "websecurityscannerpb.UpdateScanConfigRequest", - "name": "req" + "name": "req", + "type": "websecurityscannerpb.UpdateScanConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*websecurityscannerpb.ScanConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.websecurityscanner.v1.Client" - }, - "method": { - "shortName": "UpdateScanConfig", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.UpdateScanConfig", - "service": { - "shortName": "WebSecurityScanner", - "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner" - } - } + "shortName": "UpdateScanConfig" }, + "description": "UpdateScanConfig updates a ScanConfig. This method support partial update of a ScanConfig.", + "file": "Client/UpdateScanConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "websecurityscanner_v1_generated_WebSecurityScanner_UpdateScanConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "websecurityscanner UpdateScanConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json b/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json index 3e1081748dcb..6b321547220c 100644 --- a/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json +++ b/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json @@ -1,520 +1,520 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workflows/apiv1", - "version": "1.14.3", - "language": "GO", "apis": [ { "id": "google.cloud.workflows.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workflows/apiv1", + "version": "1.14.3" }, "snippets": [ { - "regionTag": "workflows_v1_generated_Workflows_CreateWorkflow_sync", - "title": "workflows CreateWorkflow Sample", - "description": "CreateWorkflow creates a new workflow. If a workflow with the specified name already\nexists in the specified project and location, the long running operation\nreturns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", - "file": "Client/CreateWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.CreateWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1.Workflows.CreateWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1.Workflows", + "shortName": "Workflows" + }, + "shortName": "CreateWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.CreateWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.CreateWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkflowOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "CreateWorkflow", - "fullName": "google.cloud.workflows.v1.Workflows.CreateWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1.Workflows" - } - } + "shortName": "CreateWorkflow" }, + "description": "CreateWorkflow creates a new workflow. If a workflow with the specified name already\nexists in the specified project and location, the long running operation\nreturns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", + "file": "Client/CreateWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_CreateWorkflow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows CreateWorkflow Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_DeleteOperation_sync", - "title": "workflows DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows DeleteOperation Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_DeleteWorkflow_sync", - "title": "workflows DeleteWorkflow Sample", - "description": "DeleteWorkflow deletes a workflow with the specified name.\nThis method also cancels and deletes all running executions of the\nworkflow.", - "file": "Client/DeleteWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.DeleteWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1.Workflows.DeleteWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1.Workflows", + "shortName": "Workflows" + }, + "shortName": "DeleteWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.DeleteWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.DeleteWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkflowOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "DeleteWorkflow", - "fullName": "google.cloud.workflows.v1.Workflows.DeleteWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1.Workflows" - } - } + "shortName": "DeleteWorkflow" }, + "description": "DeleteWorkflow deletes a workflow with the specified name.\nThis method also cancels and deletes all running executions of the\nworkflow.", + "file": "Client/DeleteWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_DeleteWorkflow_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows DeleteWorkflow Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_GetLocation_sync", - "title": "workflows GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows GetLocation Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_GetOperation_sync", - "title": "workflows GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows GetOperation Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_GetWorkflow_sync", - "title": "workflows GetWorkflow Sample", - "description": "GetWorkflow gets details of a single workflow.", - "file": "Client/GetWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.GetWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1.Workflows.GetWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1.Workflows", + "shortName": "Workflows" + }, + "shortName": "GetWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.GetWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.GetWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workflowspb.Workflow", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "GetWorkflow", - "fullName": "google.cloud.workflows.v1.Workflows.GetWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1.Workflows" - } - } + "shortName": "GetWorkflow" }, + "description": "GetWorkflow gets details of a single workflow.", + "file": "Client/GetWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_GetWorkflow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows GetWorkflow Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_ListLocations_sync", - "title": "workflows ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListLocations Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_ListOperations_sync", - "title": "workflows ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListOperations Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_ListWorkflowRevisions_sync", - "title": "workflows ListWorkflowRevisions Sample", - "description": "ListWorkflowRevisions lists revisions for a given workflow.", - "file": "Client/ListWorkflowRevisions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflowRevisions", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.ListWorkflowRevisions", + "method": { + "fullName": "google.cloud.workflows.v1.Workflows.ListWorkflowRevisions", + "service": { + "fullName": "google.cloud.workflows.v1.Workflows", + "shortName": "Workflows" + }, + "shortName": "ListWorkflowRevisions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.ListWorkflowRevisionsRequest", - "name": "req" + "name": "req", + "type": "workflowspb.ListWorkflowRevisionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "ListWorkflowRevisions", - "fullName": "google.cloud.workflows.v1.Workflows.ListWorkflowRevisions", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1.Workflows" - } - } + "shortName": "ListWorkflowRevisions" }, + "description": "ListWorkflowRevisions lists revisions for a given workflow.", + "file": "Client/ListWorkflowRevisions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_ListWorkflowRevisions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListWorkflowRevisions Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_ListWorkflows_sync", - "title": "workflows ListWorkflows Sample", - "description": "ListWorkflows lists workflows in a given project and location.\nThe default order is not specified.", - "file": "Client/ListWorkflows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflows", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.ListWorkflows", + "method": { + "fullName": "google.cloud.workflows.v1.Workflows.ListWorkflows", + "service": { + "fullName": "google.cloud.workflows.v1.Workflows", + "shortName": "Workflows" + }, + "shortName": "ListWorkflows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.ListWorkflowsRequest", - "name": "req" + "name": "req", + "type": "workflowspb.ListWorkflowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "ListWorkflows", - "fullName": "google.cloud.workflows.v1.Workflows.ListWorkflows", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1.Workflows" - } - } + "shortName": "ListWorkflows" }, + "description": "ListWorkflows lists workflows in a given project and location.\nThe default order is not specified.", + "file": "Client/ListWorkflows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_ListWorkflows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListWorkflows Sample" }, { - "regionTag": "workflows_v1_generated_Workflows_UpdateWorkflow_sync", - "title": "workflows UpdateWorkflow Sample", - "description": "UpdateWorkflow updates an existing workflow.\nRunning this method has no impact on already running executions of the\nworkflow. A new revision of the workflow might be created as a result of a\nsuccessful update operation. In that case, the new revision is used\nin new workflow executions.", - "file": "Client/UpdateWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1.Client.UpdateWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1.Workflows.UpdateWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1.Workflows", + "shortName": "Workflows" + }, + "shortName": "UpdateWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.UpdateWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.UpdateWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkflowOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1.Client" - }, - "method": { - "shortName": "UpdateWorkflow", - "fullName": "google.cloud.workflows.v1.Workflows.UpdateWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1.Workflows" - } - } + "shortName": "UpdateWorkflow" }, + "description": "UpdateWorkflow updates an existing workflow.\nRunning this method has no impact on already running executions of the\nworkflow. A new revision of the workflow might be created as a result of a\nsuccessful update operation. In that case, the new revision is used\nin new workflow executions.", + "file": "Client/UpdateWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1_generated_Workflows_UpdateWorkflow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows UpdateWorkflow Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json b/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json index 4a3c87e4cb63..5c0cd5a69331 100644 --- a/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json +++ b/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json @@ -1,474 +1,474 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workflows/apiv1beta", - "version": "1.14.3", - "language": "GO", "apis": [ { "id": "google.cloud.workflows.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workflows/apiv1beta", + "version": "1.14.3" }, "snippets": [ { - "regionTag": "workflows_v1beta_generated_Workflows_CreateWorkflow_sync", - "title": "workflows CreateWorkflow Sample", - "description": "CreateWorkflow creates a new workflow. If a workflow with the specified name already\nexists in the specified project and location, the long running operation\nwill return [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", - "file": "Client/CreateWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.CreateWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1beta.Workflows.CreateWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1beta.Workflows", + "shortName": "Workflows" + }, + "shortName": "CreateWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.CreateWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.CreateWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkflowOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "CreateWorkflow", - "fullName": "google.cloud.workflows.v1beta.Workflows.CreateWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1beta.Workflows" - } - } + "shortName": "CreateWorkflow" }, + "description": "CreateWorkflow creates a new workflow. If a workflow with the specified name already\nexists in the specified project and location, the long running operation\nwill return [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.", + "file": "Client/CreateWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_CreateWorkflow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows CreateWorkflow Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_DeleteOperation_sync", - "title": "workflows DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows DeleteOperation Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_DeleteWorkflow_sync", - "title": "workflows DeleteWorkflow Sample", - "description": "DeleteWorkflow deletes a workflow with the specified name.\nThis method also cancels and deletes all running executions of the\nworkflow.", - "file": "Client/DeleteWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.DeleteWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1beta.Workflows.DeleteWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1beta.Workflows", + "shortName": "Workflows" + }, + "shortName": "DeleteWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.DeleteWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.DeleteWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkflowOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "DeleteWorkflow", - "fullName": "google.cloud.workflows.v1beta.Workflows.DeleteWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1beta.Workflows" - } - } + "shortName": "DeleteWorkflow" }, + "description": "DeleteWorkflow deletes a workflow with the specified name.\nThis method also cancels and deletes all running executions of the\nworkflow.", + "file": "Client/DeleteWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_DeleteWorkflow_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows DeleteWorkflow Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_GetLocation_sync", - "title": "workflows GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows GetLocation Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_GetOperation_sync", - "title": "workflows GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows GetOperation Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_GetWorkflow_sync", - "title": "workflows GetWorkflow Sample", - "description": "GetWorkflow gets details of a single Workflow.", - "file": "Client/GetWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.GetWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1beta.Workflows.GetWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1beta.Workflows", + "shortName": "Workflows" + }, + "shortName": "GetWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.GetWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.GetWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workflowspb.Workflow", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "GetWorkflow", - "fullName": "google.cloud.workflows.v1beta.Workflows.GetWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1beta.Workflows" - } - } + "shortName": "GetWorkflow" }, + "description": "GetWorkflow gets details of a single Workflow.", + "file": "Client/GetWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_GetWorkflow_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows GetWorkflow Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_ListLocations_sync", - "title": "workflows ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListLocations Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_ListOperations_sync", - "title": "workflows ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListOperations Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_ListWorkflows_sync", - "title": "workflows ListWorkflows Sample", - "description": "ListWorkflows lists Workflows in a given project and location.\nThe default order is not specified.", - "file": "Client/ListWorkflows/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkflows", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.ListWorkflows", + "method": { + "fullName": "google.cloud.workflows.v1beta.Workflows.ListWorkflows", + "service": { + "fullName": "google.cloud.workflows.v1beta.Workflows", + "shortName": "Workflows" + }, + "shortName": "ListWorkflows" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.ListWorkflowsRequest", - "name": "req" + "name": "req", + "type": "workflowspb.ListWorkflowsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkflowIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "ListWorkflows", - "fullName": "google.cloud.workflows.v1beta.Workflows.ListWorkflows", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1beta.Workflows" - } - } + "shortName": "ListWorkflows" }, + "description": "ListWorkflows lists Workflows in a given project and location.\nThe default order is not specified.", + "file": "Client/ListWorkflows/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_ListWorkflows_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows ListWorkflows Sample" }, { - "regionTag": "workflows_v1beta_generated_Workflows_UpdateWorkflow_sync", - "title": "workflows UpdateWorkflow Sample", - "description": "UpdateWorkflow updates an existing workflow.\nRunning this method has no impact on already running executions of the\nworkflow. A new revision of the workflow may be created as a result of a\nsuccessful update operation. In that case, such revision will be used\nin new workflow executions.", - "file": "Client/UpdateWorkflow/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkflow", + "client": { + "fullName": "google.cloud.workflows.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.v1beta.Client.UpdateWorkflow", + "method": { + "fullName": "google.cloud.workflows.v1beta.Workflows.UpdateWorkflow", + "service": { + "fullName": "google.cloud.workflows.v1beta.Workflows", + "shortName": "Workflows" + }, + "shortName": "UpdateWorkflow" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workflowspb.UpdateWorkflowRequest", - "name": "req" + "name": "req", + "type": "workflowspb.UpdateWorkflowRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkflowOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.v1beta.Client" - }, - "method": { - "shortName": "UpdateWorkflow", - "fullName": "google.cloud.workflows.v1beta.Workflows.UpdateWorkflow", - "service": { - "shortName": "Workflows", - "fullName": "google.cloud.workflows.v1beta.Workflows" - } - } + "shortName": "UpdateWorkflow" }, + "description": "UpdateWorkflow updates an existing workflow.\nRunning this method has no impact on already running executions of the\nworkflow. A new revision of the workflow may be created as a result of a\nsuccessful update operation. In that case, such revision will be used\nin new workflow executions.", + "file": "Client/UpdateWorkflow/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflows_v1beta_generated_Workflows_UpdateWorkflow_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflows UpdateWorkflow Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json b/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json index 296ee35bd9c8..4e0b0f53274f 100644 --- a/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json +++ b/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workflows/executions/apiv1", - "version": "1.14.3", - "language": "GO", "apis": [ { "id": "google.cloud.workflows.executions.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workflows/executions/apiv1", + "version": "1.14.3" }, "snippets": [ { - "regionTag": "workflowexecutions_v1_generated_Executions_CancelExecution_sync", - "title": "workflowexecutions CancelExecution Sample", - "description": "CancelExecution cancels an execution of the given name.", - "file": "Client/CancelExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelExecution", + "client": { + "fullName": "google.cloud.workflows.executions.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1.Client.CancelExecution", + "method": { + "fullName": "google.cloud.workflows.executions.v1.Executions.CancelExecution", + "service": { + "fullName": "google.cloud.workflows.executions.v1.Executions", + "shortName": "Executions" + }, + "shortName": "CancelExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.CancelExecutionRequest", - "name": "req" + "name": "req", + "type": "executionspb.CancelExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*executionspb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1.Client" - }, - "method": { - "shortName": "CancelExecution", - "fullName": "google.cloud.workflows.executions.v1.Executions.CancelExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1.Executions" - } - } + "shortName": "CancelExecution" }, + "description": "CancelExecution cancels an execution of the given name.", + "file": "Client/CancelExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1_generated_Executions_CancelExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions CancelExecution Sample" }, { - "regionTag": "workflowexecutions_v1_generated_Executions_CreateExecution_sync", - "title": "workflowexecutions CreateExecution Sample", - "description": "CreateExecution creates a new execution using the latest revision of the given workflow.", - "file": "Client/CreateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExecution", + "client": { + "fullName": "google.cloud.workflows.executions.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1.Client.CreateExecution", + "method": { + "fullName": "google.cloud.workflows.executions.v1.Executions.CreateExecution", + "service": { + "fullName": "google.cloud.workflows.executions.v1.Executions", + "shortName": "Executions" + }, + "shortName": "CreateExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.CreateExecutionRequest", - "name": "req" + "name": "req", + "type": "executionspb.CreateExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*executionspb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1.Client" - }, - "method": { - "shortName": "CreateExecution", - "fullName": "google.cloud.workflows.executions.v1.Executions.CreateExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1.Executions" - } - } + "shortName": "CreateExecution" }, + "description": "CreateExecution creates a new execution using the latest revision of the given workflow.", + "file": "Client/CreateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1_generated_Executions_CreateExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions CreateExecution Sample" }, { - "regionTag": "workflowexecutions_v1_generated_Executions_GetExecution_sync", - "title": "workflowexecutions GetExecution Sample", - "description": "GetExecution returns an execution of the given name.", - "file": "Client/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.workflows.executions.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1.Client.GetExecution", + "method": { + "fullName": "google.cloud.workflows.executions.v1.Executions.GetExecution", + "service": { + "fullName": "google.cloud.workflows.executions.v1.Executions", + "shortName": "Executions" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "executionspb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*executionspb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1.Client" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.workflows.executions.v1.Executions.GetExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1.Executions" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution returns an execution of the given name.", + "file": "Client/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1_generated_Executions_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions GetExecution Sample" }, { - "regionTag": "workflowexecutions_v1_generated_Executions_ListExecutions_sync", - "title": "workflowexecutions ListExecutions Sample", - "description": "ListExecutions returns a list of executions which belong to the workflow with\nthe given name. The method returns executions of all workflow\nrevisions. Returned executions are ordered by their start time (newest\nfirst).", - "file": "Client/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.workflows.executions.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1.Client.ListExecutions", + "method": { + "fullName": "google.cloud.workflows.executions.v1.Executions.ListExecutions", + "service": { + "fullName": "google.cloud.workflows.executions.v1.Executions", + "shortName": "Executions" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "executionspb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1.Client" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.workflows.executions.v1.Executions.ListExecutions", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1.Executions" - } - } + "shortName": "ListExecutions" }, + "description": "ListExecutions returns a list of executions which belong to the workflow with\nthe given name. The method returns executions of all workflow\nrevisions. Returned executions are ordered by their start time (newest\nfirst).", + "file": "Client/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1_generated_Executions_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions ListExecutions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json b/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json index 14dbad6b6137..fcdae473c4b6 100644 --- a/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json +++ b/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json @@ -1,199 +1,199 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workflows/executions/apiv1beta", - "version": "1.14.3", - "language": "GO", "apis": [ { "id": "google.cloud.workflows.executions.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workflows/executions/apiv1beta", + "version": "1.14.3" }, "snippets": [ { - "regionTag": "workflowexecutions_v1beta_generated_Executions_CancelExecution_sync", - "title": "workflowexecutions CancelExecution Sample", - "description": "CancelExecution cancels an execution of the given name.", - "file": "Client/CancelExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelExecution", + "client": { + "fullName": "google.cloud.workflows.executions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1beta.Client.CancelExecution", + "method": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions.CancelExecution", + "service": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions", + "shortName": "Executions" + }, + "shortName": "CancelExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.CancelExecutionRequest", - "name": "req" + "name": "req", + "type": "executionspb.CancelExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*executionspb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1beta.Client" - }, - "method": { - "shortName": "CancelExecution", - "fullName": "google.cloud.workflows.executions.v1beta.Executions.CancelExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1beta.Executions" - } - } + "shortName": "CancelExecution" }, + "description": "CancelExecution cancels an execution of the given name.", + "file": "Client/CancelExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1beta_generated_Executions_CancelExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions CancelExecution Sample" }, { - "regionTag": "workflowexecutions_v1beta_generated_Executions_CreateExecution_sync", - "title": "workflowexecutions CreateExecution Sample", - "description": "CreateExecution creates a new execution using the latest revision of the given workflow.", - "file": "Client/CreateExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateExecution", + "client": { + "fullName": "google.cloud.workflows.executions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1beta.Client.CreateExecution", + "method": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions.CreateExecution", + "service": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions", + "shortName": "Executions" + }, + "shortName": "CreateExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.CreateExecutionRequest", - "name": "req" + "name": "req", + "type": "executionspb.CreateExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*executionspb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1beta.Client" - }, - "method": { - "shortName": "CreateExecution", - "fullName": "google.cloud.workflows.executions.v1beta.Executions.CreateExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1beta.Executions" - } - } + "shortName": "CreateExecution" }, + "description": "CreateExecution creates a new execution using the latest revision of the given workflow.", + "file": "Client/CreateExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1beta_generated_Executions_CreateExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions CreateExecution Sample" }, { - "regionTag": "workflowexecutions_v1beta_generated_Executions_GetExecution_sync", - "title": "workflowexecutions GetExecution Sample", - "description": "GetExecution returns an execution of the given name.", - "file": "Client/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.workflows.executions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1beta.Client.GetExecution", + "method": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions.GetExecution", + "service": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions", + "shortName": "Executions" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "executionspb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*executionspb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1beta.Client" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.workflows.executions.v1beta.Executions.GetExecution", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1beta.Executions" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution returns an execution of the given name.", + "file": "Client/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1beta_generated_Executions_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions GetExecution Sample" }, { - "regionTag": "workflowexecutions_v1beta_generated_Executions_ListExecutions_sync", - "title": "workflowexecutions ListExecutions Sample", - "description": "ListExecutions returns a list of executions which belong to the workflow with\nthe given name. The method returns executions of all workflow\nrevisions. Returned executions are ordered by their start time (newest\nfirst).", - "file": "Client/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.workflows.executions.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workflows.executions.v1beta.Client.ListExecutions", + "method": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions.ListExecutions", + "service": { + "fullName": "google.cloud.workflows.executions.v1beta.Executions", + "shortName": "Executions" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "executionspb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "executionspb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workflows.executions.v1beta.Client" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.workflows.executions.v1beta.Executions.ListExecutions", - "service": { - "shortName": "Executions", - "fullName": "google.cloud.workflows.executions.v1beta.Executions" - } - } + "shortName": "ListExecutions" }, + "description": "ListExecutions returns a list of executions which belong to the workflow with\nthe given name. The method returns executions of all workflow\nrevisions. Returned executions are ordered by their start time (newest\nfirst).", + "file": "Client/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workflowexecutions_v1beta_generated_Executions_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workflowexecutions ListExecutions Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workloadmanager/apiv1/snippet_metadata.google.cloud.workloadmanager.v1.json b/internal/generated/snippets/workloadmanager/apiv1/snippet_metadata.google.cloud.workloadmanager.v1.json index e967bfac6764..22b917a8ff1f 100644 --- a/internal/generated/snippets/workloadmanager/apiv1/snippet_metadata.google.cloud.workloadmanager.v1.json +++ b/internal/generated/snippets/workloadmanager/apiv1/snippet_metadata.google.cloud.workloadmanager.v1.json @@ -1,841 +1,841 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workloadmanager/apiv1", - "version": "0.1.0", - "language": "GO", "apis": [ { "id": "google.cloud.workloadmanager.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workloadmanager/apiv1", + "version": "0.1.0" }, "snippets": [ { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_CancelOperation_sync", - "title": "workloadmanager CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager CancelOperation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_CreateEvaluation_sync", - "title": "workloadmanager CreateEvaluation Sample", - "description": "CreateEvaluation creates a new Evaluation in a given project and location.", - "file": "Client/CreateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateEvaluation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.CreateEvaluation", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.CreateEvaluation", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "CreateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.CreateEvaluationRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.CreateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateEvaluationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.CreateEvaluation", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "CreateEvaluation" }, + "description": "CreateEvaluation creates a new Evaluation in a given project and location.", + "file": "Client/CreateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_CreateEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager CreateEvaluation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_DeleteEvaluation_sync", - "title": "workloadmanager DeleteEvaluation Sample", - "description": "DeleteEvaluation deletes a single Evaluation.", - "file": "Client/DeleteEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteEvaluation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.DeleteEvaluation", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.DeleteEvaluation", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "DeleteEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.DeleteEvaluationRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.DeleteEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteEvaluationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "DeleteEvaluation", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.DeleteEvaluation", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "DeleteEvaluation" }, + "description": "DeleteEvaluation deletes a single Evaluation.", + "file": "Client/DeleteEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_DeleteEvaluation_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager DeleteEvaluation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_DeleteExecution_sync", - "title": "workloadmanager DeleteExecution Sample", - "description": "DeleteExecution deletes a single Execution.", - "file": "Client/DeleteExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteExecution", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.DeleteExecution", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.DeleteExecution", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "DeleteExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.DeleteExecutionRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.DeleteExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteExecutionOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "DeleteExecution", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.DeleteExecution", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "DeleteExecution" }, + "description": "DeleteExecution deletes a single Execution.", + "file": "Client/DeleteExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_DeleteExecution_sync", "segments": [ { - "start": 18, "end": 56, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager DeleteExecution Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_DeleteOperation_sync", - "title": "workloadmanager DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager DeleteOperation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetEvaluation_sync", - "title": "workloadmanager GetEvaluation Sample", - "description": "GetEvaluation gets details of a single Evaluation.", - "file": "Client/GetEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetEvaluation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.GetEvaluation", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.GetEvaluation", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "GetEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.GetEvaluationRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.GetEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workloadmanagerpb.Evaluation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.GetEvaluation", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "GetEvaluation" }, + "description": "GetEvaluation gets details of a single Evaluation.", + "file": "Client/GetEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetEvaluation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager GetEvaluation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetExecution_sync", - "title": "workloadmanager GetExecution Sample", - "description": "GetExecution gets details of a single Execution.", - "file": "Client/GetExecution/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetExecution", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.GetExecution", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.GetExecution", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "GetExecution" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.GetExecutionRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.GetExecutionRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workloadmanagerpb.Execution", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "GetExecution", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.GetExecution", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "GetExecution" }, + "description": "GetExecution gets details of a single Execution.", + "file": "Client/GetExecution/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetExecution_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager GetExecution Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetLocation_sync", - "title": "workloadmanager GetLocation Sample", - "description": "GetLocation gets information about a location.", - "file": "Client/GetLocation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetLocation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.GetLocation", + "method": { + "fullName": "google.cloud.location.Locations.GetLocation", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "GetLocation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.GetLocationRequest", - "name": "req" + "name": "req", + "type": "locationpb.GetLocationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*locationpb.Location", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "GetLocation", - "fullName": "google.cloud.location.Locations.GetLocation", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "GetLocation" }, + "description": "GetLocation gets information about a location.", + "file": "Client/GetLocation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetLocation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager GetLocation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetOperation_sync", - "title": "workloadmanager GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager GetOperation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListEvaluations_sync", - "title": "workloadmanager ListEvaluations Sample", - "description": "ListEvaluations lists Evaluations in a given project and location.", - "file": "Client/ListEvaluations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListEvaluations", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListEvaluations", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListEvaluations", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "ListEvaluations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.ListEvaluationsRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.ListEvaluationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "EvaluationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListEvaluations", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "ListEvaluations" }, + "description": "ListEvaluations lists Evaluations in a given project and location.", + "file": "Client/ListEvaluations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListEvaluations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListEvaluations Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListExecutionResults_sync", - "title": "workloadmanager ListExecutionResults Sample", - "description": "ListExecutionResults lists the result of a single evaluation.", - "file": "Client/ListExecutionResults/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutionResults", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListExecutionResults", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListExecutionResults", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "ListExecutionResults" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.ListExecutionResultsRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.ListExecutionResultsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionResultIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListExecutionResults", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListExecutionResults", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "ListExecutionResults" }, + "description": "ListExecutionResults lists the result of a single evaluation.", + "file": "Client/ListExecutionResults/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListExecutionResults_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListExecutionResults Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListExecutions_sync", - "title": "workloadmanager ListExecutions Sample", - "description": "ListExecutions lists Executions in a given project and location.", - "file": "Client/ListExecutions/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListExecutions", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListExecutions", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListExecutions", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "ListExecutions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.ListExecutionsRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.ListExecutionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ExecutionIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListExecutions", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListExecutions", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "ListExecutions" }, + "description": "ListExecutions lists Executions in a given project and location.", + "file": "Client/ListExecutions/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListExecutions_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListExecutions Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListLocations_sync", - "title": "workloadmanager ListLocations Sample", - "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", - "file": "Client/ListLocations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListLocations", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListLocations", + "method": { + "fullName": "google.cloud.location.Locations.ListLocations", + "service": { + "fullName": "google.cloud.location.Locations", + "shortName": "Locations" + }, + "shortName": "ListLocations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "locationpb.ListLocationsRequest", - "name": "req" + "name": "req", + "type": "locationpb.ListLocationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "LocationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListLocations", - "fullName": "google.cloud.location.Locations.ListLocations", - "service": { - "shortName": "Locations", - "fullName": "google.cloud.location.Locations" - } - } + "shortName": "ListLocations" }, + "description": "ListLocations lists information about the supported locations for this service.\nThis method can be called in two ways: \n\n* **List all public locations: ** Use the path `GET /v1/locations`.\n* **List project-visible locations: ** Use the path\n`GET /v1/projects/{project_id}/locations`. This may include public\nlocations as well as private or other locations specifically visible\nto the project.", + "file": "Client/ListLocations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListLocations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListLocations Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListOperations_sync", - "title": "workloadmanager ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListOperations Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListRules_sync", - "title": "workloadmanager ListRules Sample", - "description": "ListRules lists rules in a given project.", - "file": "Client/ListRules/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListRules", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListRules", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListRules", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "ListRules" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.ListRulesRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.ListRulesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workloadmanagerpb.ListRulesResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListRules", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListRules", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "ListRules" }, + "description": "ListRules lists rules in a given project.", + "file": "Client/ListRules/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListRules_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListRules Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListScannedResources_sync", - "title": "workloadmanager ListScannedResources Sample", - "description": "ListScannedResources list all scanned resources for a single Execution.", - "file": "Client/ListScannedResources/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListScannedResources", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.ListScannedResources", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListScannedResources", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "ListScannedResources" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.ListScannedResourcesRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.ListScannedResourcesRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "ScannedResourceIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "ListScannedResources", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.ListScannedResources", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "ListScannedResources" }, + "description": "ListScannedResources list all scanned resources for a single Execution.", + "file": "Client/ListScannedResources/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_ListScannedResources_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager ListScannedResources Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_RunEvaluation_sync", - "title": "workloadmanager RunEvaluation Sample", - "description": "RunEvaluation creates a new Execution in a given project and location.", - "file": "Client/RunEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "RunEvaluation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.RunEvaluation", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.RunEvaluation", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "RunEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.RunEvaluationRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.RunEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "RunEvaluationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "RunEvaluation", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.RunEvaluation", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "RunEvaluation" }, + "description": "RunEvaluation creates a new Execution in a given project and location.", + "file": "Client/RunEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_RunEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager RunEvaluation Sample" }, { - "regionTag": "workloadmanager_v1_generated_WorkloadManager_UpdateEvaluation_sync", - "title": "workloadmanager UpdateEvaluation Sample", - "description": "UpdateEvaluation updates the parameters of a single Evaluation.", - "file": "Client/UpdateEvaluation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateEvaluation", + "client": { + "fullName": "google.cloud.workloadmanager.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workloadmanager.v1.Client.UpdateEvaluation", + "method": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.UpdateEvaluation", + "service": { + "fullName": "google.cloud.workloadmanager.v1.WorkloadManager", + "shortName": "WorkloadManager" + }, + "shortName": "UpdateEvaluation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workloadmanagerpb.UpdateEvaluationRequest", - "name": "req" + "name": "req", + "type": "workloadmanagerpb.UpdateEvaluationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateEvaluationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workloadmanager.v1.Client" - }, - "method": { - "shortName": "UpdateEvaluation", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager.UpdateEvaluation", - "service": { - "shortName": "WorkloadManager", - "fullName": "google.cloud.workloadmanager.v1.WorkloadManager" - } - } + "shortName": "UpdateEvaluation" }, + "description": "UpdateEvaluation updates the parameters of a single Evaluation.", + "file": "Client/UpdateEvaluation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workloadmanager_v1_generated_WorkloadManager_UpdateEvaluation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workloadmanager UpdateEvaluation Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json b/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json index f8b5f52cc042..91b69acdf977 100644 --- a/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json +++ b/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json @@ -1,1255 +1,1255 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workstations/apiv1", - "version": "1.1.6", - "language": "GO", "apis": [ { "id": "google.cloud.workstations.v1", "version": "v1" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workstations/apiv1", + "version": "1.1.6" }, "snippets": [ { - "regionTag": "workstations_v1_generated_Workstations_CancelOperation_sync", - "title": "workstations CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CancelOperation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_CreateWorkstation_sync", - "title": "workstations CreateWorkstation Sample", - "description": "CreateWorkstation creates a new workstation.", - "file": "Client/CreateWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.CreateWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "CreateWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.CreateWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.CreateWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "CreateWorkstation", - "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "CreateWorkstation" }, + "description": "CreateWorkstation creates a new workstation.", + "file": "Client/CreateWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_CreateWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CreateWorkstation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_CreateWorkstationCluster_sync", - "title": "workstations CreateWorkstationCluster Sample", - "description": "CreateWorkstationCluster creates a new workstation cluster.", - "file": "Client/CreateWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.CreateWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "CreateWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.CreateWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.CreateWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkstationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "CreateWorkstationCluster", - "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "CreateWorkstationCluster" }, + "description": "CreateWorkstationCluster creates a new workstation cluster.", + "file": "Client/CreateWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_CreateWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CreateWorkstationCluster Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_CreateWorkstationConfig_sync", - "title": "workstations CreateWorkstationConfig Sample", - "description": "CreateWorkstationConfig creates a new workstation configuration.", - "file": "Client/CreateWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.CreateWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "CreateWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.CreateWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.CreateWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkstationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "CreateWorkstationConfig", - "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "CreateWorkstationConfig" }, + "description": "CreateWorkstationConfig creates a new workstation configuration.", + "file": "Client/CreateWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_CreateWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CreateWorkstationConfig Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_DeleteOperation_sync", - "title": "workstations DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteOperation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_DeleteWorkstation_sync", - "title": "workstations DeleteWorkstation Sample", - "description": "DeleteWorkstation deletes the specified workstation.", - "file": "Client/DeleteWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.DeleteWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "DeleteWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.DeleteWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.DeleteWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "DeleteWorkstation", - "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "DeleteWorkstation" }, + "description": "DeleteWorkstation deletes the specified workstation.", + "file": "Client/DeleteWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_DeleteWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteWorkstation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_DeleteWorkstationCluster_sync", - "title": "workstations DeleteWorkstationCluster Sample", - "description": "DeleteWorkstationCluster deletes the specified workstation cluster.", - "file": "Client/DeleteWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.DeleteWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "DeleteWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.DeleteWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.DeleteWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkstationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "DeleteWorkstationCluster", - "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "DeleteWorkstationCluster" }, + "description": "DeleteWorkstationCluster deletes the specified workstation cluster.", + "file": "Client/DeleteWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_DeleteWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteWorkstationCluster Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_DeleteWorkstationConfig_sync", - "title": "workstations DeleteWorkstationConfig Sample", - "description": "DeleteWorkstationConfig deletes the specified workstation configuration.", - "file": "Client/DeleteWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.DeleteWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "DeleteWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.DeleteWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.DeleteWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkstationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "DeleteWorkstationConfig", - "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "DeleteWorkstationConfig" }, + "description": "DeleteWorkstationConfig deletes the specified workstation configuration.", + "file": "Client/DeleteWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_DeleteWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteWorkstationConfig Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_GenerateAccessToken_sync", - "title": "workstations GenerateAccessToken Sample", - "description": "GenerateAccessToken returns a short-lived credential that can be used to send authenticated and\nauthorized traffic to a workstation.", - "file": "Client/GenerateAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAccessToken", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.GenerateAccessToken", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.GenerateAccessToken", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "GenerateAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GenerateAccessTokenRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GenerateAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.GenerateAccessTokenResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "GenerateAccessToken", - "fullName": "google.cloud.workstations.v1.Workstations.GenerateAccessToken", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "GenerateAccessToken" }, + "description": "GenerateAccessToken returns a short-lived credential that can be used to send authenticated and\nauthorized traffic to a workstation.", + "file": "Client/GenerateAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_GenerateAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GenerateAccessToken Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_GetIamPolicy_sync", - "title": "workstations 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", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetIamPolicy Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_GetOperation_sync", - "title": "workstations GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetOperation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_GetWorkstation_sync", - "title": "workstations GetWorkstation Sample", - "description": "GetWorkstation returns the requested workstation.", - "file": "Client/GetWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.GetWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "GetWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GetWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GetWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.Workstation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "GetWorkstation", - "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "GetWorkstation" }, + "description": "GetWorkstation returns the requested workstation.", + "file": "Client/GetWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_GetWorkstation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetWorkstation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_GetWorkstationCluster_sync", - "title": "workstations GetWorkstationCluster Sample", - "description": "GetWorkstationCluster returns the requested workstation cluster.", - "file": "Client/GetWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.GetWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "GetWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GetWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GetWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.WorkstationCluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "GetWorkstationCluster", - "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "GetWorkstationCluster" }, + "description": "GetWorkstationCluster returns the requested workstation cluster.", + "file": "Client/GetWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_GetWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetWorkstationCluster Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_GetWorkstationConfig_sync", - "title": "workstations GetWorkstationConfig Sample", - "description": "GetWorkstationConfig returns the requested workstation configuration.", - "file": "Client/GetWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.GetWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "GetWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GetWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GetWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.WorkstationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "GetWorkstationConfig", - "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "GetWorkstationConfig" }, + "description": "GetWorkstationConfig returns the requested workstation configuration.", + "file": "Client/GetWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_GetWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetWorkstationConfig Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_ListOperations_sync", - "title": "workstations ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListOperations Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_ListUsableWorkstationConfigs_sync", - "title": "workstations ListUsableWorkstationConfigs Sample", - "description": "ListUsableWorkstationConfigs returns all workstation configurations in the specified cluster on which\nthe caller has the \"workstations.workstation.create\" permission.", - "file": "Client/ListUsableWorkstationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsableWorkstationConfigs", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.ListUsableWorkstationConfigs", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.ListUsableWorkstationConfigs", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListUsableWorkstationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListUsableWorkstationConfigsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListUsableWorkstationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "ListUsableWorkstationConfigs", - "fullName": "google.cloud.workstations.v1.Workstations.ListUsableWorkstationConfigs", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "ListUsableWorkstationConfigs" }, + "description": "ListUsableWorkstationConfigs returns all workstation configurations in the specified cluster on which\nthe caller has the \"workstations.workstation.create\" permission.", + "file": "Client/ListUsableWorkstationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_ListUsableWorkstationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListUsableWorkstationConfigs Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_ListUsableWorkstations_sync", - "title": "workstations ListUsableWorkstations Sample", - "description": "ListUsableWorkstations returns all workstations using the specified workstation configuration\non which the caller has the \"workstations.workstations.use\" permission.", - "file": "Client/ListUsableWorkstations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsableWorkstations", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.ListUsableWorkstations", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.ListUsableWorkstations", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListUsableWorkstations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListUsableWorkstationsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListUsableWorkstationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "ListUsableWorkstations", - "fullName": "google.cloud.workstations.v1.Workstations.ListUsableWorkstations", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "ListUsableWorkstations" }, + "description": "ListUsableWorkstations returns all workstations using the specified workstation configuration\non which the caller has the \"workstations.workstations.use\" permission.", + "file": "Client/ListUsableWorkstations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_ListUsableWorkstations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListUsableWorkstations Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_ListWorkstationClusters_sync", - "title": "workstations ListWorkstationClusters Sample", - "description": "ListWorkstationClusters returns all workstation clusters in the specified location.", - "file": "Client/ListWorkstationClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkstationClusters", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.ListWorkstationClusters", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstationClusters", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListWorkstationClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListWorkstationClustersRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListWorkstationClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "ListWorkstationClusters", - "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstationClusters", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "ListWorkstationClusters" }, + "description": "ListWorkstationClusters returns all workstation clusters in the specified location.", + "file": "Client/ListWorkstationClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_ListWorkstationClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListWorkstationClusters Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_ListWorkstationConfigs_sync", - "title": "workstations ListWorkstationConfigs Sample", - "description": "ListWorkstationConfigs returns all workstation configurations in the specified cluster.", - "file": "Client/ListWorkstationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkstationConfigs", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.ListWorkstationConfigs", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstationConfigs", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListWorkstationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListWorkstationConfigsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListWorkstationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "ListWorkstationConfigs", - "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstationConfigs", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "ListWorkstationConfigs" }, + "description": "ListWorkstationConfigs returns all workstation configurations in the specified cluster.", + "file": "Client/ListWorkstationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_ListWorkstationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListWorkstationConfigs Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_ListWorkstations_sync", - "title": "workstations ListWorkstations Sample", - "description": "ListWorkstations returns all Workstations using the specified workstation configuration.", - "file": "Client/ListWorkstations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkstations", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.ListWorkstations", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstations", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListWorkstations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListWorkstationsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListWorkstationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "ListWorkstations", - "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstations", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "ListWorkstations" }, + "description": "ListWorkstations returns all Workstations using the specified workstation configuration.", + "file": "Client/ListWorkstations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_ListWorkstations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListWorkstations Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_SetIamPolicy_sync", - "title": "workstations 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", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations SetIamPolicy Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_StartWorkstation_sync", - "title": "workstations StartWorkstation Sample", - "description": "StartWorkstation starts running a workstation so that users can connect to it.", - "file": "Client/StartWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.StartWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.StartWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "StartWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.StartWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.StartWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "StartWorkstation", - "fullName": "google.cloud.workstations.v1.Workstations.StartWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "StartWorkstation" }, + "description": "StartWorkstation starts running a workstation so that users can connect to it.", + "file": "Client/StartWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_StartWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations StartWorkstation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_StopWorkstation_sync", - "title": "workstations StopWorkstation Sample", - "description": "StopWorkstation stops running a workstation, reducing costs.", - "file": "Client/StopWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.StopWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.StopWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "StopWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.StopWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.StopWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "StopWorkstation", - "fullName": "google.cloud.workstations.v1.Workstations.StopWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "StopWorkstation" }, + "description": "StopWorkstation stops running a workstation, reducing costs.", + "file": "Client/StopWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_StopWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations StopWorkstation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_TestIamPermissions_sync", - "title": "workstations 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", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations TestIamPermissions Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_UpdateWorkstation_sync", - "title": "workstations UpdateWorkstation Sample", - "description": "UpdateWorkstation updates an existing workstation.", - "file": "Client/UpdateWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.UpdateWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "UpdateWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.UpdateWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.UpdateWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "UpdateWorkstation", - "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "UpdateWorkstation" }, + "description": "UpdateWorkstation updates an existing workstation.", + "file": "Client/UpdateWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_UpdateWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations UpdateWorkstation Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_UpdateWorkstationCluster_sync", - "title": "workstations UpdateWorkstationCluster Sample", - "description": "UpdateWorkstationCluster updates an existing workstation cluster.", - "file": "Client/UpdateWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.UpdateWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "UpdateWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.UpdateWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.UpdateWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkstationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "UpdateWorkstationCluster", - "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "UpdateWorkstationCluster" }, + "description": "UpdateWorkstationCluster updates an existing workstation cluster.", + "file": "Client/UpdateWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_UpdateWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations UpdateWorkstationCluster Sample" }, { - "regionTag": "workstations_v1_generated_Workstations_UpdateWorkstationConfig_sync", - "title": "workstations UpdateWorkstationConfig Sample", - "description": "UpdateWorkstationConfig updates an existing workstation configuration.", - "file": "Client/UpdateWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1.Client.UpdateWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1.Workstations", + "shortName": "Workstations" + }, + "shortName": "UpdateWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.UpdateWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.UpdateWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkstationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1.Client" - }, - "method": { - "shortName": "UpdateWorkstationConfig", - "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1.Workstations" - } - } + "shortName": "UpdateWorkstationConfig" }, + "description": "UpdateWorkstationConfig updates an existing workstation configuration.", + "file": "Client/UpdateWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1_generated_Workstations_UpdateWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations UpdateWorkstationConfig Sample" } ] } \ No newline at end of file diff --git a/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json b/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json index e178c1e5e42a..f7106ee60942 100644 --- a/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json +++ b/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json @@ -1,1255 +1,1255 @@ { "clientLibrary": { - "name": "cloud.google.com/go/workstations/apiv1beta", - "version": "1.1.6", - "language": "GO", "apis": [ { "id": "google.cloud.workstations.v1beta", "version": "v1beta" } - ] + ], + "language": "GO", + "name": "cloud.google.com/go/workstations/apiv1beta", + "version": "1.1.6" }, "snippets": [ { - "regionTag": "workstations_v1beta_generated_Workstations_CancelOperation_sync", - "title": "workstations CancelOperation Sample", - "description": "CancelOperation is a utility method from google.longrunning.Operations.", - "file": "Client/CancelOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CancelOperation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.CancelOperation", + "method": { + "fullName": "google.longrunning.Operations.CancelOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "CancelOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.CancelOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.CancelOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "CancelOperation", - "fullName": "google.longrunning.Operations.CancelOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "CancelOperation" }, + "description": "CancelOperation is a utility method from google.longrunning.Operations.", + "file": "Client/CancelOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_CancelOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CancelOperation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_CreateWorkstation_sync", - "title": "workstations CreateWorkstation Sample", - "description": "CreateWorkstation creates a new workstation.", - "file": "Client/CreateWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.CreateWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.CreateWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "CreateWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.CreateWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.CreateWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "CreateWorkstation", - "fullName": "google.cloud.workstations.v1beta.Workstations.CreateWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "CreateWorkstation" }, + "description": "CreateWorkstation creates a new workstation.", + "file": "Client/CreateWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_CreateWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CreateWorkstation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_CreateWorkstationCluster_sync", - "title": "workstations CreateWorkstationCluster Sample", - "description": "CreateWorkstationCluster creates a new workstation cluster.", - "file": "Client/CreateWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.CreateWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.CreateWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "CreateWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.CreateWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.CreateWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkstationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "CreateWorkstationCluster", - "fullName": "google.cloud.workstations.v1beta.Workstations.CreateWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "CreateWorkstationCluster" }, + "description": "CreateWorkstationCluster creates a new workstation cluster.", + "file": "Client/CreateWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_CreateWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CreateWorkstationCluster Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_CreateWorkstationConfig_sync", - "title": "workstations CreateWorkstationConfig Sample", - "description": "CreateWorkstationConfig creates a new workstation configuration.", - "file": "Client/CreateWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "CreateWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.CreateWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.CreateWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "CreateWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.CreateWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.CreateWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "CreateWorkstationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "CreateWorkstationConfig", - "fullName": "google.cloud.workstations.v1beta.Workstations.CreateWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "CreateWorkstationConfig" }, + "description": "CreateWorkstationConfig creates a new workstation configuration.", + "file": "Client/CreateWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_CreateWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations CreateWorkstationConfig Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_DeleteOperation_sync", - "title": "workstations DeleteOperation Sample", - "description": "DeleteOperation is a utility method from google.longrunning.Operations.", - "file": "Client/DeleteOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteOperation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.DeleteOperation", + "method": { + "fullName": "google.longrunning.Operations.DeleteOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "DeleteOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.DeleteOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.DeleteOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "DeleteOperation", - "fullName": "google.longrunning.Operations.DeleteOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "DeleteOperation" }, + "description": "DeleteOperation is a utility method from google.longrunning.Operations.", + "file": "Client/DeleteOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_DeleteOperation_sync", "segments": [ { - "start": 18, "end": 51, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteOperation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_DeleteWorkstation_sync", - "title": "workstations DeleteWorkstation Sample", - "description": "DeleteWorkstation deletes the specified workstation.", - "file": "Client/DeleteWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.DeleteWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.DeleteWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "DeleteWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.DeleteWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.DeleteWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "DeleteWorkstation", - "fullName": "google.cloud.workstations.v1beta.Workstations.DeleteWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "DeleteWorkstation" }, + "description": "DeleteWorkstation deletes the specified workstation.", + "file": "Client/DeleteWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_DeleteWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteWorkstation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_DeleteWorkstationCluster_sync", - "title": "workstations DeleteWorkstationCluster Sample", - "description": "DeleteWorkstationCluster deletes the specified workstation cluster.", - "file": "Client/DeleteWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.DeleteWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.DeleteWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "DeleteWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.DeleteWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.DeleteWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkstationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "DeleteWorkstationCluster", - "fullName": "google.cloud.workstations.v1beta.Workstations.DeleteWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "DeleteWorkstationCluster" }, + "description": "DeleteWorkstationCluster deletes the specified workstation cluster.", + "file": "Client/DeleteWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_DeleteWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteWorkstationCluster Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_DeleteWorkstationConfig_sync", - "title": "workstations DeleteWorkstationConfig Sample", - "description": "DeleteWorkstationConfig deletes the specified workstation configuration.", - "file": "Client/DeleteWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "DeleteWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.DeleteWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.DeleteWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "DeleteWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.DeleteWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.DeleteWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "DeleteWorkstationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "DeleteWorkstationConfig", - "fullName": "google.cloud.workstations.v1beta.Workstations.DeleteWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "DeleteWorkstationConfig" }, + "description": "DeleteWorkstationConfig deletes the specified workstation configuration.", + "file": "Client/DeleteWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_DeleteWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations DeleteWorkstationConfig Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_GenerateAccessToken_sync", - "title": "workstations GenerateAccessToken Sample", - "description": "GenerateAccessToken returns a short-lived credential that can be used to send authenticated and\nauthorized traffic to a workstation.", - "file": "Client/GenerateAccessToken/main.go", - "language": "GO", "clientMethod": { - "shortName": "GenerateAccessToken", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.GenerateAccessToken", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.GenerateAccessToken", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "GenerateAccessToken" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GenerateAccessTokenRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GenerateAccessTokenRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.GenerateAccessTokenResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "GenerateAccessToken", - "fullName": "google.cloud.workstations.v1beta.Workstations.GenerateAccessToken", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "GenerateAccessToken" }, + "description": "GenerateAccessToken returns a short-lived credential that can be used to send authenticated and\nauthorized traffic to a workstation.", + "file": "Client/GenerateAccessToken/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_GenerateAccessToken_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GenerateAccessToken Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_GetIamPolicy_sync", - "title": "workstations 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", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.GetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "GetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.GetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.GetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "GetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "GetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_GetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetIamPolicy Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_GetOperation_sync", - "title": "workstations GetOperation Sample", - "description": "GetOperation is a utility method from google.longrunning.Operations.", - "file": "Client/GetOperation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetOperation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.GetOperation", + "method": { + "fullName": "google.longrunning.Operations.GetOperation", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "GetOperation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.GetOperationRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.GetOperationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*longrunningpb.Operation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "GetOperation", - "fullName": "google.longrunning.Operations.GetOperation", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "GetOperation" }, + "description": "GetOperation is a utility method from google.longrunning.Operations.", + "file": "Client/GetOperation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_GetOperation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetOperation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_GetWorkstation_sync", - "title": "workstations GetWorkstation Sample", - "description": "GetWorkstation returns the requested workstation.", - "file": "Client/GetWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.GetWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.GetWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "GetWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GetWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GetWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.Workstation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "GetWorkstation", - "fullName": "google.cloud.workstations.v1beta.Workstations.GetWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "GetWorkstation" }, + "description": "GetWorkstation returns the requested workstation.", + "file": "Client/GetWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_GetWorkstation_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetWorkstation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_GetWorkstationCluster_sync", - "title": "workstations GetWorkstationCluster Sample", - "description": "GetWorkstationCluster returns the requested workstation cluster.", - "file": "Client/GetWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.GetWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.GetWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "GetWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GetWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GetWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.WorkstationCluster", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "GetWorkstationCluster", - "fullName": "google.cloud.workstations.v1beta.Workstations.GetWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "GetWorkstationCluster" }, + "description": "GetWorkstationCluster returns the requested workstation cluster.", + "file": "Client/GetWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_GetWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetWorkstationCluster Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_GetWorkstationConfig_sync", - "title": "workstations GetWorkstationConfig Sample", - "description": "GetWorkstationConfig returns the requested workstation configuration.", - "file": "Client/GetWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "GetWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.GetWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.GetWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "GetWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.GetWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.GetWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*workstationspb.WorkstationConfig", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "GetWorkstationConfig", - "fullName": "google.cloud.workstations.v1beta.Workstations.GetWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "GetWorkstationConfig" }, + "description": "GetWorkstationConfig returns the requested workstation configuration.", + "file": "Client/GetWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_GetWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations GetWorkstationConfig Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_ListOperations_sync", - "title": "workstations ListOperations Sample", - "description": "ListOperations is a utility method from google.longrunning.Operations.", - "file": "Client/ListOperations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListOperations", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.ListOperations", + "method": { + "fullName": "google.longrunning.Operations.ListOperations", + "service": { + "fullName": "google.longrunning.Operations", + "shortName": "Operations" + }, + "shortName": "ListOperations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "longrunningpb.ListOperationsRequest", - "name": "req" + "name": "req", + "type": "longrunningpb.ListOperationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "OperationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "ListOperations", - "fullName": "google.longrunning.Operations.ListOperations", - "service": { - "shortName": "Operations", - "fullName": "google.longrunning.Operations" - } - } + "shortName": "ListOperations" }, + "description": "ListOperations is a utility method from google.longrunning.Operations.", + "file": "Client/ListOperations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_ListOperations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListOperations Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_ListUsableWorkstationConfigs_sync", - "title": "workstations ListUsableWorkstationConfigs Sample", - "description": "ListUsableWorkstationConfigs returns all workstation configurations in the specified cluster on which\nthe caller has the \"workstations.workstation.create\" permission.", - "file": "Client/ListUsableWorkstationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsableWorkstationConfigs", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.ListUsableWorkstationConfigs", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.ListUsableWorkstationConfigs", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListUsableWorkstationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListUsableWorkstationConfigsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListUsableWorkstationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "ListUsableWorkstationConfigs", - "fullName": "google.cloud.workstations.v1beta.Workstations.ListUsableWorkstationConfigs", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "ListUsableWorkstationConfigs" }, + "description": "ListUsableWorkstationConfigs returns all workstation configurations in the specified cluster on which\nthe caller has the \"workstations.workstation.create\" permission.", + "file": "Client/ListUsableWorkstationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_ListUsableWorkstationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListUsableWorkstationConfigs Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_ListUsableWorkstations_sync", - "title": "workstations ListUsableWorkstations Sample", - "description": "ListUsableWorkstations returns all workstations using the specified workstation configuration\non which the caller has the \"workstations.workstations.use\" permission.", - "file": "Client/ListUsableWorkstations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListUsableWorkstations", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.ListUsableWorkstations", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.ListUsableWorkstations", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListUsableWorkstations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListUsableWorkstationsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListUsableWorkstationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "ListUsableWorkstations", - "fullName": "google.cloud.workstations.v1beta.Workstations.ListUsableWorkstations", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "ListUsableWorkstations" }, + "description": "ListUsableWorkstations returns all workstations using the specified workstation configuration\non which the caller has the \"workstations.workstations.use\" permission.", + "file": "Client/ListUsableWorkstations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_ListUsableWorkstations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListUsableWorkstations Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_ListWorkstationClusters_sync", - "title": "workstations ListWorkstationClusters Sample", - "description": "ListWorkstationClusters returns all workstation clusters in the specified location.", - "file": "Client/ListWorkstationClusters/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkstationClusters", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.ListWorkstationClusters", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.ListWorkstationClusters", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListWorkstationClusters" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListWorkstationClustersRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListWorkstationClustersRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationClusterIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "ListWorkstationClusters", - "fullName": "google.cloud.workstations.v1beta.Workstations.ListWorkstationClusters", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "ListWorkstationClusters" }, + "description": "ListWorkstationClusters returns all workstation clusters in the specified location.", + "file": "Client/ListWorkstationClusters/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_ListWorkstationClusters_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListWorkstationClusters Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_ListWorkstationConfigs_sync", - "title": "workstations ListWorkstationConfigs Sample", - "description": "ListWorkstationConfigs returns all workstation configurations in the specified cluster.", - "file": "Client/ListWorkstationConfigs/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkstationConfigs", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.ListWorkstationConfigs", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.ListWorkstationConfigs", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListWorkstationConfigs" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListWorkstationConfigsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListWorkstationConfigsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationConfigIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "ListWorkstationConfigs", - "fullName": "google.cloud.workstations.v1beta.Workstations.ListWorkstationConfigs", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "ListWorkstationConfigs" }, + "description": "ListWorkstationConfigs returns all workstation configurations in the specified cluster.", + "file": "Client/ListWorkstationConfigs/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_ListWorkstationConfigs_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListWorkstationConfigs Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_ListWorkstations_sync", - "title": "workstations ListWorkstations Sample", - "description": "ListWorkstations returns all Workstations using the specified workstation configuration.", - "file": "Client/ListWorkstations/main.go", - "language": "GO", "clientMethod": { - "shortName": "ListWorkstations", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.ListWorkstations", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.ListWorkstations", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "ListWorkstations" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.ListWorkstationsRequest", - "name": "req" + "name": "req", + "type": "workstationspb.ListWorkstationsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "WorkstationIterator", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "ListWorkstations", - "fullName": "google.cloud.workstations.v1beta.Workstations.ListWorkstations", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "ListWorkstations" }, + "description": "ListWorkstations returns all Workstations using the specified workstation configuration.", + "file": "Client/ListWorkstations/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_ListWorkstations_sync", "segments": [ { - "start": 18, "end": 66, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations ListWorkstations Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_SetIamPolicy_sync", - "title": "workstations 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", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.SetIamPolicy", + "method": { + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "SetIamPolicy" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.SetIamPolicyRequest", - "name": "req" + "name": "req", + "type": "iampb.SetIamPolicyRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.Policy", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "SetIamPolicy", - "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "SetIamPolicy" }, + "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", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_SetIamPolicy_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations SetIamPolicy Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_StartWorkstation_sync", - "title": "workstations StartWorkstation Sample", - "description": "StartWorkstation starts running a workstation so that users can connect to it.", - "file": "Client/StartWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "StartWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.StartWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.StartWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "StartWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.StartWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.StartWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StartWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "StartWorkstation", - "fullName": "google.cloud.workstations.v1beta.Workstations.StartWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "StartWorkstation" }, + "description": "StartWorkstation starts running a workstation so that users can connect to it.", + "file": "Client/StartWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_StartWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations StartWorkstation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_StopWorkstation_sync", - "title": "workstations StopWorkstation Sample", - "description": "StopWorkstation stops running a workstation, reducing costs.", - "file": "Client/StopWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "StopWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.StopWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.StopWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "StopWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.StopWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.StopWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "StopWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "StopWorkstation", - "fullName": "google.cloud.workstations.v1beta.Workstations.StopWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "StopWorkstation" }, + "description": "StopWorkstation stops running a workstation, reducing costs.", + "file": "Client/StopWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_StopWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations StopWorkstation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_TestIamPermissions_sync", - "title": "workstations 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", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.TestIamPermissions", + "method": { + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "service": { + "fullName": "google.iam.v1.IAMPolicy", + "shortName": "IAMPolicy" + }, + "shortName": "TestIamPermissions" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "iampb.TestIamPermissionsRequest", - "name": "req" + "name": "req", + "type": "iampb.TestIamPermissionsRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "*iampb.TestIamPermissionsResponse", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "TestIamPermissions", - "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", - "service": { - "shortName": "IAMPolicy", - "fullName": "google.iam.v1.IAMPolicy" - } - } + "shortName": "TestIamPermissions" }, + "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", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_TestIamPermissions_sync", "segments": [ { - "start": 18, "end": 53, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations TestIamPermissions Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_UpdateWorkstation_sync", - "title": "workstations UpdateWorkstation Sample", - "description": "UpdateWorkstation updates an existing workstation.", - "file": "Client/UpdateWorkstation/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkstation", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.UpdateWorkstation", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.UpdateWorkstation", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "UpdateWorkstation" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.UpdateWorkstationRequest", - "name": "req" + "name": "req", + "type": "workstationspb.UpdateWorkstationRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkstationOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "UpdateWorkstation", - "fullName": "google.cloud.workstations.v1beta.Workstations.UpdateWorkstation", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "UpdateWorkstation" }, + "description": "UpdateWorkstation updates an existing workstation.", + "file": "Client/UpdateWorkstation/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_UpdateWorkstation_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations UpdateWorkstation Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_UpdateWorkstationCluster_sync", - "title": "workstations UpdateWorkstationCluster Sample", - "description": "UpdateWorkstationCluster updates an existing workstation cluster.", - "file": "Client/UpdateWorkstationCluster/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkstationCluster", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.UpdateWorkstationCluster", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.UpdateWorkstationCluster", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "UpdateWorkstationCluster" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.UpdateWorkstationClusterRequest", - "name": "req" + "name": "req", + "type": "workstationspb.UpdateWorkstationClusterRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkstationClusterOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "UpdateWorkstationCluster", - "fullName": "google.cloud.workstations.v1beta.Workstations.UpdateWorkstationCluster", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "UpdateWorkstationCluster" }, + "description": "UpdateWorkstationCluster updates an existing workstation cluster.", + "file": "Client/UpdateWorkstationCluster/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_UpdateWorkstationCluster_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations UpdateWorkstationCluster Sample" }, { - "regionTag": "workstations_v1beta_generated_Workstations_UpdateWorkstationConfig_sync", - "title": "workstations UpdateWorkstationConfig Sample", - "description": "UpdateWorkstationConfig updates an existing workstation configuration.", - "file": "Client/UpdateWorkstationConfig/main.go", - "language": "GO", "clientMethod": { - "shortName": "UpdateWorkstationConfig", + "client": { + "fullName": "google.cloud.workstations.v1beta.Client", + "shortName": "Client" + }, "fullName": "google.cloud.workstations.v1beta.Client.UpdateWorkstationConfig", + "method": { + "fullName": "google.cloud.workstations.v1beta.Workstations.UpdateWorkstationConfig", + "service": { + "fullName": "google.cloud.workstations.v1beta.Workstations", + "shortName": "Workstations" + }, + "shortName": "UpdateWorkstationConfig" + }, "parameters": [ { - "type": "context.Context", - "name": "ctx" + "name": "ctx", + "type": "context.Context" }, { - "type": "workstationspb.UpdateWorkstationConfigRequest", - "name": "req" + "name": "req", + "type": "workstationspb.UpdateWorkstationConfigRequest" }, { - "type": "...gax.CallOption", - "name": "opts" + "name": "opts", + "type": "...gax.CallOption" } ], "resultType": "UpdateWorkstationConfigOperation", - "client": { - "shortName": "Client", - "fullName": "google.cloud.workstations.v1beta.Client" - }, - "method": { - "shortName": "UpdateWorkstationConfig", - "fullName": "google.cloud.workstations.v1beta.Workstations.UpdateWorkstationConfig", - "service": { - "shortName": "Workstations", - "fullName": "google.cloud.workstations.v1beta.Workstations" - } - } + "shortName": "UpdateWorkstationConfig" }, + "description": "UpdateWorkstationConfig updates an existing workstation configuration.", + "file": "Client/UpdateWorkstationConfig/main.go", + "language": "GO", "origin": "API_DEFINITION", + "regionTag": "workstations_v1beta_generated_Workstations_UpdateWorkstationConfig_sync", "segments": [ { - "start": 18, "end": 58, + "start": 18, "type": "FULL" } - ] + ], + "title": "workstations UpdateWorkstationConfig Sample" } ] } \ No newline at end of file